Example #1
0
 def __init__(self, name, designer, parent, ctrlClass):
     ChoicedDTC.__init__(self, name, designer, parent, ctrlClass)
     self.editors['Choices'] = ChoicesConstrPropEdit
     self.windowStyles = [
         'wx.LB_SINGLE', 'wx.LB_MULTIPLE', 'wx.LB_EXTENDED',
         'wx.LB_HSCROLL', 'wx.LB_ALWAYS_SB', 'wx.LB_NEEDED_SB', 'wx.LB_SORT'
     ] + self.windowStyles
Example #2
0
 def events(self):
     return ChoicedDTC.events(self) + ['ChoiceEvent']
Example #3
0
 def __init__(self, name, designer, parent, ctrlClass):
     ChoicedDTC.__init__(self, name, designer, parent, ctrlClass)
     self.windowStyles = ['wx.CB_SIMPLE', 'wx.CB_DROPDOWN', 'wx.CB_READONLY',
                          'wx.CB_SORT', 'wx.TE_PROCESS_ENTER'] + self.windowStyles
Example #4
0
 def events(self):
     return ChoicedDTC.events(self) + ['RadioBoxEvent']
Example #5
0
 def __init__(self, name, designer, parent, ctrlClass):
     ChoicedDTC.__init__(self, name, designer, parent, ctrlClass)
     self.editors['MajorDimension'] = MajorDimensionConstrPropEdit
     self.windowStyles = ['wx.RA_SPECIFY_ROWS', 'wx.RA_SPECIFY_COLS'] + self.windowStyles
Example #6
0
 def events(self):
     return ChoicedDTC.events(self) + ['ListBoxEvent']
Example #7
0
 def __init__(self, name, designer, parent, ctrlClass):
     ChoicedDTC.__init__(self, name, designer, parent, ctrlClass)
     self.editors['Choices'] = ChoicesConstrPropEdit
     self.windowStyles = ['wx.LB_SINGLE', 'wx.LB_MULTIPLE', 'wx.LB_EXTENDED',
                          'wx.LB_HSCROLL', 'wx.LB_ALWAYS_SB', 'wx.LB_NEEDED_SB',
                          'wx.LB_SORT'] + self.windowStyles
Example #8
0
 def events(self):
     return ChoicedDTC.events(self) + ['RadioBoxEvent']
Example #9
0
 def __init__(self, name, designer, parent, ctrlClass):
     ChoicedDTC.__init__(self, name, designer, parent, ctrlClass)
     self.editors['MajorDimension'] = MajorDimensionConstrPropEdit
     self.windowStyles = ['wx.RA_SPECIFY_ROWS', 'wx.RA_SPECIFY_COLS'
                          ] + self.windowStyles
Example #10
0
 def events(self):
     return ChoicedDTC.events(self) + ['ListBoxEvent']