示例#1
0
 def properties(self):
     props = WindowDTC.properties(self)
     props.update({'Editable': ('CtrlRoute',
                   wx.grid.Grid.IsEditable, wx.grid.Grid.EnableEditing),
                   'GridLinesEnabled': ('CtrlRoute',
                   wx.grid.Grid.GridLinesEnabled, wx.grid.Grid.EnableGridLines)})
     return props
示例#2
0
 def properties(self):
     props = WindowDTC.properties(self)
     props.update({
         'Bitmap': ('CtrlRoute', wx.BitmapButton.GetBitmapLabel,
                    wx.BitmapButton.SetBitmapLabel)
     })
     return props
示例#3
0
 def properties(self):
     import wx.richtext
     props = WindowDTC.properties(self)
     props.update({
         'Editable': ('CtrlRoute', wx.richtext.RichTextCtrl.IsEditable,
                      wx.richtext.RichTextCtrl.SetEditable)
     })
     return props
示例#4
0
 def properties(self):
     props = WindowDTC.properties(self)
     props.update({
         'MaxLength': ('CompnRoute', self.GetMaxLength, self.SetMaxLength),
         'Editable':
         ('CtrlRoute', wx.TextCtrl.IsEditable, wx.TextCtrl.SetEditable)
     })
     return props
示例#5
0
    def properties(self):
        props = WindowDTC.properties(self)
        props['Columns'] =  ('NoneRoute', None, None)

        prop = ('NameRoute', self.GetImageList, self.SetImageList)
        for name in self.listTypeNameMap.keys():
            props[name] = prop

        return props
示例#6
0
    def properties(self):
        props = WindowDTC.properties(self)
        props['Columns'] = ('NoneRoute', None, None)

        prop = ('NameRoute', self.GetImageList, self.SetImageList)
        for name in self.listTypeNameMap.keys():
            props[name] = prop

        return props
示例#7
0
 def properties(self):
     props = WindowDTC.properties(self)
     props.update({
         'Editable':
         ('CtrlRoute', wx.grid.Grid.IsEditable, wx.grid.Grid.EnableEditing),
         'GridLinesEnabled': ('CtrlRoute', wx.grid.Grid.GridLinesEnabled,
                              wx.grid.Grid.EnableGridLines)
     })
     return props
 def properties(self):
     props = WindowDTC.properties(self)
     props['Default'] = ('CompnRoute', self.GetDefault, self.SetDefault)
     props['Id'] = ('CompnRoute', self.GetId, self.SetId)
     return props
 def properties(self):
     props = WindowDTC.properties(self)
     props['Range'] = ('CompnRoute', self.GetRange, self.SetRange)
     return props
 def properties(self):
     props = WindowDTC.properties(self)
     props.update({'Bitmap': ('CtrlRoute', wx.BitmapButton.GetBitmapLabel,
                                           wx.BitmapButton.SetBitmapLabel)})
     return props
示例#11
0
 def properties(self):
     props = WindowDTC.properties(self)
     props['Default'] = ('CompnRoute', self.GetDefault, self.SetDefault)
     props['Id'] = ('CompnRoute', self.GetId, self.SetId)
     return props
示例#12
0
 def properties(self):
     props = WindowDTC.properties(self)
     props['Range'] = ('CompnRoute', self.GetRange, self.SetRange)
     return props
 def properties(self):
     import wx.richtext
     props = WindowDTC.properties(self)
     props.update({'Editable':  ('CtrlRoute', wx.richtext.RichTextCtrl.IsEditable, wx.richtext.RichTextCtrl.SetEditable)})
     return props
示例#14
0
 def properties(self):
     props = WindowDTC.properties(self)
     props.update({'Borders':  ('CompnRoute', self.GetBorders, self.SetBorders)})
     return props
示例#15
0
 def properties(self):
     props = WindowDTC.properties(self)
     del props['Sizer']
     return props
 def properties(self):
     props = WindowDTC.properties(self)
     props.update({'MaxLength': ('CompnRoute', self.GetMaxLength, self.SetMaxLength),
                   'Editable':  ('CtrlRoute', wx.TextCtrl.IsEditable, wx.TextCtrl.SetEditable)})
     return props