本文整理汇总了Python中BaseCompanions.WindowDTC.__init__方法的典型用法代码示例。如果您正苦于以下问题:Python WindowDTC.__init__方法的具体用法?Python WindowDTC.__init__怎么用?Python WindowDTC.__init__使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类BaseCompanions.WindowDTC
的用法示例。
在下文中一共展示了WindowDTC.__init__方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: __init__
# 需要导入模块: from BaseCompanions import WindowDTC [as 别名]
# 或者: from BaseCompanions.WindowDTC import __init__ [as 别名]
def __init__(self, name, designer, parent, ctrlClass):
WindowDTC.__init__(self, name, designer, parent, ctrlClass)
self.editors['DefaultFilter'] = IntConstrPropEdit
self.windowStyles = ['wx.DIRCTRL_DIR_ONLY', 'wx.DIRCTRL_SELECT_FIRST',
'wx.DIRCTRL_SHOW_FILTERS', 'wx.DIRCTRL_3D_INTERNAL',
'wx.DIRCTRL_EDIT_LABELS'] + self.windowStyles
self.compositeCtrl = True
示例2: __init__
# 需要导入模块: from BaseCompanions import WindowDTC [as 别名]
# 或者: from BaseCompanions.WindowDTC import __init__ [as 别名]
def __init__(self, name, designer, parent, ctrlClass):
WindowDTC.__init__(self, name, designer, parent, ctrlClass)
self.editors['Default'] = BoolPropEdit
self.editors['Id'] = ButtonIdConstrPropEdit
self.windowStyles = ['wx.BU_LEFT', 'wx.BU_TOP', 'wx.BU_RIGHT',
'wx.BU_BOTTOM', 'wx.BU_EXACTFIT'] + self.windowStyles
self.customPropEvaluators['Default'] = self.EvalDefault
示例3: __init__
# 需要导入模块: from BaseCompanions import WindowDTC [as 别名]
# 或者: from BaseCompanions.WindowDTC import __init__ [as 别名]
def __init__(self, name, designer, parent, ctrlClass):
WindowDTC.__init__(self, name, designer, parent, ctrlClass)
self.editors.update(
{'BackSpaceUnIndents': BoolPropEdit,
'BufferedDraw': BoolPropEdit,
'CaretLineVisible': BoolPropEdit,
'EndAtLastLine': BoolPropEdit,
'IndentationGuides': BoolPropEdit,
'MouseDownCaptures': BoolPropEdit,
'Overtype': BoolPropEdit,
'ReadOnly': BoolPropEdit,
'UndoCollection': BoolPropEdit,
'UseHorizontalScrollBar': BoolPropEdit,
'UseTabs': BoolPropEdit,
'ViewEOL': BoolPropEdit,
'ViewWhiteSpace': BoolPropEdit,
'EOLMode': EnumPropEdit,
'EdgeMode': EnumPropEdit,
'Lexer': EnumPropEdit,
'PrintColourMode': EnumPropEdit,
'WrapMode': EnumPropEdit,
})
self.options.update({'EOLMode' : stcEOLMode,
'EdgeMode' : stcEdgeMode,
'Lexer': stcLexer,
'PrintColourMode': stcPrintColourMode,
'WrapMode': stcWrapMode,
})
self.names.update({'EOLMode' : stcEOLModeNames,
'EdgeMode' : stcEdgeModeNames,
'Lexer': stcLexerNames,
'PrintColourMode': stcPrintColourModeNames,
'WrapMode': stcWrapModeNames,
})
示例4: __init__
# 需要导入模块: from BaseCompanions import WindowDTC [as 别名]
# 或者: from BaseCompanions.WindowDTC import __init__ [as 别名]
def __init__(self, name, designer, parent, ctrlClass):
WindowDTC.__init__(self, name, designer, parent, ctrlClass)