本文整理汇总了Python中BaseCompanions.CollectionDTC.properties方法的典型用法代码示例。如果您正苦于以下问题:Python CollectionDTC.properties方法的具体用法?Python CollectionDTC.properties怎么用?Python CollectionDTC.properties使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类BaseCompanions.CollectionDTC
的用法示例。
在下文中一共展示了CollectionDTC.properties方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: properties
# 需要导入模块: from BaseCompanions import CollectionDTC [as 别名]
# 或者: from BaseCompanions.CollectionDTC import properties [as 别名]
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: properties
# 需要导入模块: from BaseCompanions import CollectionDTC [as 别名]
# 或者: from BaseCompanions.CollectionDTC import properties [as 别名]
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
示例3: properties
# 需要导入模块: from BaseCompanions import CollectionDTC [as 别名]
# 或者: from BaseCompanions.CollectionDTC import properties [as 别名]
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
示例4: properties
# 需要导入模块: from BaseCompanions import CollectionDTC [as 别名]
# 或者: from BaseCompanions.CollectionDTC import properties [as 别名]
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