Пример #1
0
 def __init__(self, *args, **kwargs):
     default_style = (wx.aui.AUI_NB_TOP | wx.aui.AUI_NB_TAB_MOVE
                      | wx.aui.AUI_NB_SCROLL_BUTTONS
                      | wx.aui.AUI_NB_CLOSE_BUTTON)
     kwargs['style'] = default_style | kwargs.get('style', 0)
     # internal page registry which maps target to page_id
     AuiNotebookPlusWithTargetBindingPage.__init__(self, *args, **kwargs)
Пример #2
0
 def __init__(self, *args, **kwargs):
     default_style = (wx.aui.AUI_NB_TOP|wx.aui.AUI_NB_TAB_MOVE|
                      wx.aui.AUI_NB_SCROLL_BUTTONS|wx.aui.AUI_NB_CLOSE_BUTTON)
     kwargs['style'] = default_style|kwargs.get('style', 0)
     # internal page registry which maps target to page_id
     AuiNotebookPlusWithTargetBindingPage.__init__(self, *args, **kwargs)
Пример #3
0
 def __init__(self, *args, **kwargs):
     style = wx.aui.AUI_NB_TOP | wx.aui.AUI_NB_TAB_MOVE | wx.aui.AUI_NB_CLOSE_BUTTON
     style |= kwargs.pop('style', 0)
     kwargs['style'] = style
     AuiNotebookPlusWithTargetBindingPage.__init__(self, *args, **kwargs)
Пример #4
0
 def __init__(self, *args, **kwargs):
     style = wx.aui.AUI_NB_TOP | wx.aui.AUI_NB_TAB_MOVE | wx.aui.AUI_NB_CLOSE_BUTTON
     style |= kwargs.pop("style", 0)
     kwargs["style"] = style
     AuiNotebookPlusWithTargetBindingPage.__init__(self, *args, **kwargs)