Esempio n. 1
0
 def _setvalign(self,value):
      vals = ["top","cap","half","base","bottom"]
      value = VCS_validation_functions.checkInStringsListInt(self,'valign',value,vals)
      setTomember(self,'valign',vals[value])
Esempio n. 2
0
 def _setpath(self,value):
      vals = ["right","left","up","down"]
      value = VCS_validation_functions.checkInStringsListInt(self,'path',value,vals)
      setTomember(self,'path',vals[value])
Esempio n. 3
0
 def _sethalign(self,value):
      vals = ["left","center","right"]
      value = VCS_validation_functions.checkInStringsListInt(self,'halign',value,vals)
      setTomember(self,'halign',vals[value])
Esempio n. 4
0
 def _sethalign(self,value):
      vals = ["left","center","right"]
      self._halign = VCS_validation_functions.checkInStringsListInt(self,'halign',value,vals)
Esempio n. 5
0
 def _setvalign(self,value):
      vals = ["top","cap","half","base","bottom"]
      self._valign = VCS_validation_functions.checkInStringsListInt(self,'valign',value,vals)
Esempio n. 6
0
 def _setvalign(self, value):
     vals = ["top", "cap", "half", "base", "bottom"]
     value = VCS_validation_functions.checkInStringsListInt(
         self, 'valign', value, vals)
     setTomember(self, 'valign', vals[value])
Esempio n. 7
0
 def _setpath(self,value):
      vals = ["right","left","up","down"]
      self._path = VCS_validation_functions.checkInStringsListInt(self,'path',value,vals)
Esempio n. 8
0
 def _sethalign(self, value):
     vals = ["left", "center", "right"]
     value = VCS_validation_functions.checkInStringsListInt(
         self, 'halign', value, vals)
     setTomember(self, 'halign', vals[value])
Esempio n. 9
0
 def _setpath(self, value):
     vals = ["right", "left", "up", "down"]
     value = VCS_validation_functions.checkInStringsListInt(
         self, 'path', value, vals)
     setTomember(self, 'path', vals[value])
Esempio n. 10
0
 def _setvalign(self, value):
     vals = ["top", "cap", "half", "base", "bottom"]
     self._valign = VCS_validation_functions.checkInStringsListInt(
         self, 'valign', value, vals)
Esempio n. 11
0
 def _sethalign(self, value):
     vals = ["left", "center", "right"]
     self._halign = VCS_validation_functions.checkInStringsListInt(
         self, 'halign', value, vals)
Esempio n. 12
0
 def _setpath(self, value):
     vals = ["right", "left", "up", "down"]
     self._path = VCS_validation_functions.checkInStringsListInt(
         self, 'path', value, vals)