Пример #1
0
 def properties(self):
     props = CollectionDTC.properties(self)
     props.update({'Page': ('NoneRoute', None, None),
                   'Text': ('IndexRoute', wx.Notebook.GetPageText.im_func, wx.Notebook.SetPageText.im_func),
                   'Selected' : ('CompnRoute', self.GetPageSelected, self.SetPageSelected),
                   'ImageId': ('IndexRoute', wx.Notebook.GetPageImage.im_func, wx.Notebook.SetPageImage.im_func)})
     return props
Пример #2
0
 def properties(self):
     props = CollectionDTC.properties(self)
     props.update({'Page': ('NoneRoute', None, None),
                   'Text': ('IndexRoute', wx.Notebook.GetPageText.im_func, wx.Notebook.SetPageText.im_func),
                   'Selected' : ('CompnRoute', self.GetPageSelected, self.SetPageSelected),
                   'ImageId': ('IndexRoute', wx.Notebook.GetPageImage.im_func, wx.Notebook.SetPageImage.im_func)})
     return props
Пример #3
0
    def properties(self):
        props = CollectionDTC.properties(self)
        props.update({'Bitmap':    ('CompnRoute', None, self.setBitmap),
                      'Mask':      ('NoneRoute', None, None),
#                      'Icon':      ('CompnRoute', None, self.setBitmap),
                    })
        return props
Пример #4
0
 def properties(self):
     props = CollectionDTC.properties(self)
     props.update({
         'Position': ('NoneRoute', None, None),
         'Item': ('NoneRoute', None, None),
         'Bitmap': ('CompnRoute', self.GetItemBitmap, self.SetItemBitmap)
     })
     return props
Пример #5
0
    def properties(self):
        props = CollectionDTC.properties(self)
        props.update({'Column':  ('NoneRoute', None, None),
                      'Heading': ('NoneRoute', None, None),
#                      'Format':  ('IndexRoute', None, None),
                      'Width':   ('IndexRoute', wx.ListCtrl.GetColumnWidth,
                                                wx.ListCtrl.SetColumnWidth)})
        return props
Пример #6
0
 def properties(self):
     props = CollectionDTC.properties(self)
     props.update({
         'Number': ('NoneRoute', None, None),
         'Text': ('CompnRoute', self.GetText, self.SetText),
         'Width': ('NoneRoute', None, None)
     })
     return props
Пример #7
0
 def properties(self):
     props = CollectionDTC.properties(self)
     props.update({
         'Column': ('NoneRoute', None, None),
         'Heading': ('NoneRoute', None, None),
         #                      'Format':  ('IndexRoute', None, None),
         'Width': ('IndexRoute', wx.ListCtrl.GetColumnWidth,
                   wx.ListCtrl.SetColumnWidth)
     })
     return props
Пример #8
0
 def properties(self):
     props = CollectionDTC.properties(self)
     props.update({'Number':  ('NoneRoute', None, None),
                   'Text':  ('CompnRoute', self.GetText, self.SetText),
                   'Width': ('NoneRoute', None, None)})
     return props
 def properties(self):
     props = CollectionDTC.properties(self)
     props.update({'Position': ('NoneRoute', None, None),
                   'Item':     ('NoneRoute', None, None),
                   'Bitmap':   ('CompnRoute', self.GetItemBitmap, self.SetItemBitmap)})
     return props