示例#1
0
文件: panel.py 项目: ecell/ecell4-vis
 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
文件: panel.py 项目: ecell/ecell4-vis
 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
文件: panel.py 项目: ecell/ecell4-vis
 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
文件: panel.py 项目: ecell/ecell4-vis
 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)