AUI updates.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -611,12 +611,13 @@ class AuiManager(_core.EvtHandler):
|
||||
"""GetAllPanes(self) -> wxAuiPaneInfoArray"""
|
||||
return _aui.AuiManager_GetAllPanes(*args, **kwargs)
|
||||
|
||||
def AddPane(*args):
|
||||
"""
|
||||
AddPane(self, Window window, AuiPaneInfo pane_info) -> bool
|
||||
AddPane(self, Window window, AuiPaneInfo pane_info, Point drop_pos) -> bool
|
||||
"""
|
||||
return _aui.AuiManager_AddPane(*args)
|
||||
def _AddPane1(*args, **kwargs):
|
||||
"""_AddPane1(self, Window window, AuiPaneInfo pane_info) -> bool"""
|
||||
return _aui.AuiManager__AddPane1(*args, **kwargs)
|
||||
|
||||
def AddPane(*args, **kwargs):
|
||||
"""AddPane(self, Window window, AuiPaneInfo pane_info, Point drop_pos) -> bool"""
|
||||
return _aui.AuiManager_AddPane(*args, **kwargs)
|
||||
|
||||
def _AddPane2(*args, **kwargs):
|
||||
"""_AddPane2(self, Window window, int direction=LEFT, String caption=wxEmptyString) -> bool"""
|
||||
@@ -726,7 +727,7 @@ class AuiManager(_core.EvtHandler):
|
||||
pane info, and defaults to ``wx.LEFT``. The pane caption may
|
||||
also be specified as an extra parameter in this form.
|
||||
"""
|
||||
if type(info) == PaneInfo:
|
||||
if type(info) == AuiPaneInfo:
|
||||
return self._AddPane1(window, info)
|
||||
else:
|
||||
|
||||
@@ -990,8 +991,8 @@ AUI_NB_BOTTOM = _aui.AUI_NB_BOTTOM
|
||||
AUI_NB_TAB_SPLIT = _aui.AUI_NB_TAB_SPLIT
|
||||
AUI_NB_TAB_MOVE = _aui.AUI_NB_TAB_MOVE
|
||||
AUI_NB_SCROLL_BUTTONS = _aui.AUI_NB_SCROLL_BUTTONS
|
||||
AUI_NB_CLOSE_BUTTON = _aui.AUI_NB_CLOSE_BUTTON
|
||||
AUI_NB_PAGELIST_BUTTON = _aui.AUI_NB_PAGELIST_BUTTON
|
||||
AUI_NB_CLOSE_BUTTON = _aui.AUI_NB_CLOSE_BUTTON
|
||||
AUI_NB_CLOSE_ON_ACTIVE_TAB = _aui.AUI_NB_CLOSE_ON_ACTIVE_TAB
|
||||
AUI_NB_CLOSE_ON_ALL_TABS = _aui.AUI_NB_CLOSE_ON_ALL_TABS
|
||||
AUI_NB_DEFAULT_STYLE = _aui.AUI_NB_DEFAULT_STYLE
|
||||
@@ -1020,8 +1021,9 @@ class AuiTabArt(object):
|
||||
|
||||
def DrawTab(*args, **kwargs):
|
||||
"""
|
||||
DrawTab(self, DC dc, Rect in_rect, String caption, bool active, bool with_close_button,
|
||||
Rect out_rect, int x_extent)
|
||||
DrawTab(self, DC dc, Rect in_rect, String caption, bool active, int close_button_state,
|
||||
Rect out_tab_rect, Rect out_button_rect,
|
||||
int x_extent)
|
||||
"""
|
||||
return _aui.AuiTabArt_DrawTab(*args, **kwargs)
|
||||
|
||||
@@ -1034,7 +1036,7 @@ class AuiTabArt(object):
|
||||
|
||||
def GetTabSize(*args, **kwargs):
|
||||
"""
|
||||
GetTabSize(self, DC dc, String caption, bool active, bool with_close_button,
|
||||
GetTabSize(self, DC dc, String caption, bool active, int close_button_state,
|
||||
int x_extent) -> Size
|
||||
"""
|
||||
return _aui.AuiTabArt_GetTabSize(*args, **kwargs)
|
||||
@@ -1219,6 +1221,10 @@ class AuiTabContainer(object):
|
||||
"""SetRect(self, Rect rect)"""
|
||||
return _aui.AuiTabContainer_SetRect(*args, **kwargs)
|
||||
|
||||
def RemoveButton(*args, **kwargs):
|
||||
"""RemoveButton(self, int id)"""
|
||||
return _aui.AuiTabContainer_RemoveButton(*args, **kwargs)
|
||||
|
||||
def AddButton(*args, **kwargs):
|
||||
"""
|
||||
AddButton(self, int id, int location, Bitmap normal_bitmap=wxNullBitmap,
|
||||
|
Reference in New Issue
Block a user