def __init__(self, name, designer, parent, ctrlClass): ContainerDTC.__init__(self, name, designer, parent, ctrlClass) self.editors.update({'Tools': CollectionPropEdit}) self.subCompanions['Tools'] = ToolBarToolsCDTC self.windowStyles = ['wx.TB_FLAT', 'wx.TB_DOCKABLE', 'wx.TB_HORIZONTAL', 'wx.TB_VERTICAL', 'wx.TB_3DBUTTONS', 'wx.TB_TEXT', 'wx.TB_NOICONS', 'wx.TB_NODIVIDER', 'wx.TB_NOALIGN', ] + self.windowStyles
def __init__(self, name, designer, parent, ctrlClass): ContainerDTC.__init__(self, name, designer, parent, ctrlClass) self.editors.update({ 'Pages': CollectionPropEdit, 'ImageList': ImageListClassLinkPropEdit }) self.subCompanions['Pages'] = BookCtrlPagesCDTC self.letClickThru = True
def __init__(self, name, designer, frameCtrl): ContainerDTC.__init__(self, name, designer, None, None) self.control = frameCtrl self.editors['Flags'] = FlagsConstrPropEdit # XXX should rather be enumerated self.windowStyles = ['wx.SIMPLE_BORDER', 'wx.DOUBLE_BORDER', 'wx.SUNKEN_BORDER', 'wx.RAISED_BORDER', 'wx.STATIC_BORDER', 'wx.NO_BORDER']
def __init__(self, name, designer, parent, ctrlClass): ContainerDTC.__init__(self, name, designer, parent, ctrlClass) self.editors.update({'SplitMode': EnumPropEdit, 'Window1' : SplitterWindow1LinkPropEdit, 'Window2' : SplitterWindow2LinkPropEdit}) self.options['SplitMode'] = splitterWindowSplitMode self.names['SplitMode'] = splitterWindowSplitModeNames self.windowStyles = ['wx.SP_3D', 'wx.SP_3DSASH', 'wx.SP_3DBORDER', 'wx.SP_BORDER', 'wx.SP_NOBORDER', 'wx.SP_PERMIT_UNSPLIT', 'wx.SP_LIVE_UPDATE', ] + self.windowStyles self.win1 = None self.win2 = None
def __init__(self, name, designer, parent, ctrlClass): ContainerDTC.__init__(self, name, designer, parent, ctrlClass) self.editors.update({'SashVisibleLeft' : SashVisiblePropEdit, 'SashVisibleTop' : SashVisiblePropEdit, 'SashVisibleRight' : SashVisiblePropEdit, 'SashVisibleBottom' : SashVisiblePropEdit}) self.windowStyles = ['wx.SW_3D', 'wx.SW_3DSASH', 'wx.SW_3DBORDER', 'wx.SW_BORDER'] + self.windowStyles self.edgeNameMap = {'SashVisibleLeft' : wx.SASH_LEFT, 'SashVisibleTop' : wx.SASH_TOP, 'SashVisibleRight' : wx.SASH_RIGHT, 'SashVisibleBottom': wx.SASH_BOTTOM} for name in self.edgeNameMap.keys() + ['SashVisible']: self.customPropEvaluators[name] = self.EvalSashVisible
def __init__(self, name, designer, frameCtrl): ContainerDTC.__init__(self, name, designer, None, None) self.control = frameCtrl
def __init__(self, name, designer, parent, ctrlClass): ContainerDTC.__init__(self, name, designer, parent, ctrlClass) self.editors['DefaultItem'] = ButtonClassLinkPropEdit self.windowStyles.insert(0, 'wx.TAB_TRAVERSAL')
def __init__(self, name, designer, parent, ctrlClass): ContainerDTC.__init__(self, name, designer, parent, ctrlClass) self.editors.update({'Pages': CollectionPropEdit, 'ImageList': ImageListClassLinkPropEdit}) self.subCompanions['Pages'] = BookCtrlPagesCDTC self.letClickThru = True
def __init__(self, name, designer, parent, ctrlClass): ContainerDTC.__init__(self, name, designer, parent, ctrlClass) self.editors['TargetWindow'] = WindowClassLinkPropEdit
def __init__(self, name, designer, parent, ctrlClass): ContainerDTC.__init__(self, name, designer, parent, ctrlClass) self.windowStyles = ['wx.CP_DEFAULT_STYLE', 'wx.CP_NO_TLW_RESIZE'] +self.windowStyles
def __init__(self, name, designer, parent, ctrlClass): ContainerDTC.__init__(self, name, designer, parent, ctrlClass) self.editors['Fields'] = CollectionPropEdit self.subCompanions['Fields'] = StatusBarFieldsCDTC self.windowStyles = ['wx.ST_SIZEGRIP'] + self.windowStyles