X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eccab1a711f3fed5d27e026f2f4c496bc6b9a38b..627ddac99ee82dcd930029815ad696c64375182d:/wxPython/src/gtk/aui.py?ds=sidebyside diff --git a/wxPython/src/gtk/aui.py b/wxPython/src/gtk/aui.py index 4de1f4c3e8..6e572081bf 100644 --- a/wxPython/src/gtk/aui.py +++ b/wxPython/src/gtk/aui.py @@ -154,7 +154,6 @@ import _core import _windows wx = _core __docfilter__ = wx.__DocFilter(globals()) -USE_AUI = _aui.USE_AUI AUI_DOCK_NONE = _aui.AUI_DOCK_NONE AUI_DOCK_TOP = _aui.AUI_DOCK_TOP AUI_DOCK_RIGHT = _aui.AUI_DOCK_RIGHT @@ -482,14 +481,6 @@ class AuiPaneInfo(object): """Movable(self, bool b=True) -> AuiPaneInfo""" return _aui.AuiPaneInfo_Movable(*args, **kwargs) - def SaveHidden(*args, **kwargs): - """SaveHidden(self) -> AuiPaneInfo""" - return _aui.AuiPaneInfo_SaveHidden(*args, **kwargs) - - def RestoreHidden(*args, **kwargs): - """RestoreHidden(self) -> AuiPaneInfo""" - return _aui.AuiPaneInfo_RestoreHidden(*args, **kwargs) - def Dockable(*args, **kwargs): """Dockable(self, bool b=True) -> AuiPaneInfo""" return _aui.AuiPaneInfo_Dockable(*args, **kwargs) @@ -535,7 +526,6 @@ class AuiPaneInfo(object): optionActive = _aui.AuiPaneInfo_optionActive optionGripperTop = _aui.AuiPaneInfo_optionGripperTop optionMaximized = _aui.AuiPaneInfo_optionMaximized - optionSavedHidden = _aui.AuiPaneInfo_optionSavedHidden buttonClose = _aui.AuiPaneInfo_buttonClose buttonMaximize = _aui.AuiPaneInfo_buttonMaximize buttonMinimize = _aui.AuiPaneInfo_buttonMinimize @@ -543,6 +533,7 @@ class AuiPaneInfo(object): buttonCustom1 = _aui.AuiPaneInfo_buttonCustom1 buttonCustom2 = _aui.AuiPaneInfo_buttonCustom2 buttonCustom3 = _aui.AuiPaneInfo_buttonCustom3 + savedHiddenState = _aui.AuiPaneInfo_savedHiddenState actionPane = _aui.AuiPaneInfo_actionPane name = property(_aui.AuiPaneInfo_name_get, _aui.AuiPaneInfo_name_set) caption = property(_aui.AuiPaneInfo_caption_get, _aui.AuiPaneInfo_caption_set) @@ -638,21 +629,9 @@ class AuiManager(_core.EvtHandler): """DetachPane(self, Window window) -> bool""" return _aui.AuiManager_DetachPane(*args, **kwargs) - def ClosePane(*args, **kwargs): - """ClosePane(self, AuiPaneInfo pane_info)""" - return _aui.AuiManager_ClosePane(*args, **kwargs) - - def MaximizePane(*args, **kwargs): - """MaximizePane(self, AuiPaneInfo pane_info)""" - return _aui.AuiManager_MaximizePane(*args, **kwargs) - - def RestorePane(*args, **kwargs): - """RestorePane(self, AuiPaneInfo pane_info)""" - return _aui.AuiManager_RestorePane(*args, **kwargs) - - def RestoreMaximizedPane(*args, **kwargs): - """RestoreMaximizedPane(self)""" - return _aui.AuiManager_RestoreMaximizedPane(*args, **kwargs) + def Update(*args, **kwargs): + """Update(self)""" + return _aui.AuiManager_Update(*args, **kwargs) def SavePaneInfo(*args, **kwargs): """SavePaneInfo(self, AuiPaneInfo pane) -> String""" @@ -670,14 +649,38 @@ class AuiManager(_core.EvtHandler): """LoadPerspective(self, String perspective, bool update=True) -> bool""" return _aui.AuiManager_LoadPerspective(*args, **kwargs) - def Update(*args, **kwargs): - """Update(self)""" - return _aui.AuiManager_Update(*args, **kwargs) + def SetDockSizeConstraint(*args, **kwargs): + """SetDockSizeConstraint(self, double width_pct, double height_pct)""" + return _aui.AuiManager_SetDockSizeConstraint(*args, **kwargs) + + def GetDockSizeConstraint(*args, **kwargs): + """GetDockSizeConstraint(self, double width_pct, double height_pct)""" + return _aui.AuiManager_GetDockSizeConstraint(*args, **kwargs) + + def ClosePane(*args, **kwargs): + """ClosePane(self, AuiPaneInfo pane_info)""" + return _aui.AuiManager_ClosePane(*args, **kwargs) + + def MaximizePane(*args, **kwargs): + """MaximizePane(self, AuiPaneInfo pane_info)""" + return _aui.AuiManager_MaximizePane(*args, **kwargs) + + def RestorePane(*args, **kwargs): + """RestorePane(self, AuiPaneInfo pane_info)""" + return _aui.AuiManager_RestorePane(*args, **kwargs) + + def RestoreMaximizedPane(*args, **kwargs): + """RestoreMaximizedPane(self)""" + return _aui.AuiManager_RestoreMaximizedPane(*args, **kwargs) def CreateFloatingFrame(*args, **kwargs): """CreateFloatingFrame(self, Window parent, AuiPaneInfo p) -> AuiFloatingFrame""" return _aui.AuiManager_CreateFloatingFrame(*args, **kwargs) + def StartPaneDrag(*args, **kwargs): + """StartPaneDrag(self, Window pane_window, Point offset)""" + return _aui.AuiManager_StartPaneDrag(*args, **kwargs) + def CalculateHintRect(*args, **kwargs): """CalculateHintRect(self, Window pane_window, Point pt, Point offset) -> Rect""" return _aui.AuiManager_CalculateHintRect(*args, **kwargs) @@ -862,6 +865,7 @@ class AuiDockInfo(object): resizable = property(_aui.AuiDockInfo_resizable_get, _aui.AuiDockInfo_resizable_set) toolbar = property(_aui.AuiDockInfo_toolbar_get, _aui.AuiDockInfo_toolbar_set) fixed = property(_aui.AuiDockInfo_fixed_get, _aui.AuiDockInfo_fixed_set) + reserved1 = property(_aui.AuiDockInfo_reserved1_get, _aui.AuiDockInfo_reserved1_set) __swig_destroy__ = _aui.delete_AuiDockInfo __del__ = lambda self : None; _aui.AuiDockInfo_swigregister(AuiDockInfo) @@ -902,18 +906,18 @@ class AuiPaneButton(object): __del__ = lambda self : None; _aui.AuiPaneButton_swigregister(AuiPaneButton) -wxEVT_AUI_PANEBUTTON = _aui.wxEVT_AUI_PANEBUTTON -wxEVT_AUI_PANECLOSE = _aui.wxEVT_AUI_PANECLOSE -wxEVT_AUI_PANEMAXIMIZE = _aui.wxEVT_AUI_PANEMAXIMIZE -wxEVT_AUI_PANERESTORE = _aui.wxEVT_AUI_PANERESTORE +wxEVT_AUI_PANE_BUTTON = _aui.wxEVT_AUI_PANE_BUTTON +wxEVT_AUI_PANE_CLOSE = _aui.wxEVT_AUI_PANE_CLOSE +wxEVT_AUI_PANE_MAXIMIZE = _aui.wxEVT_AUI_PANE_MAXIMIZE +wxEVT_AUI_PANE_RESTORE = _aui.wxEVT_AUI_PANE_RESTORE wxEVT_AUI_RENDER = _aui.wxEVT_AUI_RENDER -wxEVT_AUI_FINDMANAGER = _aui.wxEVT_AUI_FINDMANAGER -EVT_AUI_PANEBUTTON = wx.PyEventBinder( wxEVT_AUI_PANEBUTTON ) -EVT_AUI_PANECLOSE = wx.PyEventBinder( wxEVT_AUI_PANECLOSE ) -EVT_AUI_PANEMAXIMIZE = wx.PyEventBinder( wxEVT_AUI_PANEMAXIMIZE ) -EVT_AUI_PANERESTORE = wx.PyEventBinder( wxEVT_AUI_PANERESTORE ) +wxEVT_AUI_FIND_MANAGER = _aui.wxEVT_AUI_FIND_MANAGER +EVT_AUI_PANE_BUTTON = wx.PyEventBinder( wxEVT_AUI_PANE_BUTTON ) +EVT_AUI_PANE_CLOSE = wx.PyEventBinder( wxEVT_AUI_PANE_CLOSE ) +EVT_AUI_PANE_MAXIMIZE = wx.PyEventBinder( wxEVT_AUI_PANE_MAXIMIZE ) +EVT_AUI_PANE_RESTORE = wx.PyEventBinder( wxEVT_AUI_PANE_RESTORE ) EVT_AUI_RENDER = wx.PyEventBinder( wxEVT_AUI_RENDER ) -EVT_AUI_FINDMANAGER = wx.PyEventBinder( wxEVT_AUI_FINDMANAGER ) +EVT_AUI_FIND_MANAGER = wx.PyEventBinder( wxEVT_AUI_FIND_MANAGER ) class AuiDockArt(object): """Proxy of C++ AuiDockArt class""" @@ -943,7 +947,7 @@ class AuiDockArt(object): return _aui.AuiDockArt_GetColour(*args, **kwargs) def SetColour(*args, **kwargs): - """SetColour(self, int id, wxColor colour)""" + """SetColour(self, int id, Colour colour)""" return _aui.AuiDockArt_SetColour(*args, **kwargs) def GetColor(*args, **kwargs): @@ -1133,25 +1137,19 @@ class AuiTabArt(object): def DrawTab(*args, **kwargs): """ - DrawTab(self, DC dc, Window wnd, Rect in_rect, String caption, Bitmap bitmap, - bool active, int close_button_state, - Rect out_tab_rect, Rect out_button_rect, - int x_extent) + DrawTab(self, DC dc, Window wnd, AuiNotebookPage pane, Rect in_rect, + int close_button_state, Rect out_tab_rect, + Rect out_button_rect, int x_extent) """ return _aui.AuiTabArt_DrawTab(*args, **kwargs) def DrawButton(*args, **kwargs): """ DrawButton(self, DC dc, Window wnd, Rect in_rect, int bitmap_id, int button_state, - int orientation, Bitmap bitmap_override, - Rect out_rect) + int orientation, Rect out_rect) """ return _aui.AuiTabArt_DrawButton(*args, **kwargs) - def GetIndentSize(*args, **kwargs): - """GetIndentSize(self) -> int""" - return _aui.AuiTabArt_GetIndentSize(*args, **kwargs) - def GetTabSize(*args, **kwargs): """ GetTabSize(self, DC dc, Window wnd, String caption, Bitmap bitmap, bool active, @@ -1159,9 +1157,13 @@ class AuiTabArt(object): """ return _aui.AuiTabArt_GetTabSize(*args, **kwargs) - def ShowWindowList(*args, **kwargs): - """ShowWindowList(self, Window wnd, wxArrayString items, int active_idx) -> int""" - return _aui.AuiTabArt_ShowWindowList(*args, **kwargs) + def ShowDropDown(*args, **kwargs): + """ShowDropDown(self, Window wnd, wxAuiNotebookPageArray items, int active_idx) -> int""" + return _aui.AuiTabArt_ShowDropDown(*args, **kwargs) + + def GetIndentSize(*args, **kwargs): + """GetIndentSize(self) -> int""" + return _aui.AuiTabArt_GetIndentSize(*args, **kwargs) def GetBestTabCtrlSize(*args, **kwargs): """GetBestTabCtrlSize(self, Window wnd, wxAuiNotebookPageArray pages, Size required_bmp_size) -> int""" @@ -1358,6 +1360,22 @@ class AuiNotebook(_core.Control): """ return _aui.AuiNotebook_Create(*args, **kwargs) + def SetArtProvider(*args, **kwargs): + """SetArtProvider(self, AuiTabArt art)""" + return _aui.AuiNotebook_SetArtProvider(*args, **kwargs) + + def GetArtProvider(*args, **kwargs): + """GetArtProvider(self) -> AuiTabArt""" + return _aui.AuiNotebook_GetArtProvider(*args, **kwargs) + + def SetUniformBitmapSize(*args, **kwargs): + """SetUniformBitmapSize(self, Size size)""" + return _aui.AuiNotebook_SetUniformBitmapSize(*args, **kwargs) + + def SetTabCtrlHeight(*args, **kwargs): + """SetTabCtrlHeight(self, int height)""" + return _aui.AuiNotebook_SetTabCtrlHeight(*args, **kwargs) + def AddPage(*args, **kwargs): """AddPage(self, Window page, String caption, bool select=False, Bitmap bitmap=wxNullBitmap) -> bool""" return _aui.AuiNotebook_AddPage(*args, **kwargs) @@ -1377,14 +1395,34 @@ class AuiNotebook(_core.Control): """RemovePage(self, size_t page) -> bool""" return _aui.AuiNotebook_RemovePage(*args, **kwargs) + def GetPageCount(*args, **kwargs): + """GetPageCount(self) -> size_t""" + return _aui.AuiNotebook_GetPageCount(*args, **kwargs) + + def GetPage(*args, **kwargs): + """GetPage(self, size_t page_idx) -> Window""" + return _aui.AuiNotebook_GetPage(*args, **kwargs) + + def GetPageIndex(*args, **kwargs): + """GetPageIndex(self, Window page_wnd) -> int""" + return _aui.AuiNotebook_GetPageIndex(*args, **kwargs) + def SetPageText(*args, **kwargs): """SetPageText(self, size_t page, String text) -> bool""" return _aui.AuiNotebook_SetPageText(*args, **kwargs) + def GetPageText(*args, **kwargs): + """GetPageText(self, size_t page_idx) -> String""" + return _aui.AuiNotebook_GetPageText(*args, **kwargs) + def SetPageBitmap(*args, **kwargs): """SetPageBitmap(self, size_t page, Bitmap bitmap) -> bool""" return _aui.AuiNotebook_SetPageBitmap(*args, **kwargs) + def GetPageBitmap(*args, **kwargs): + """GetPageBitmap(self, size_t page_idx) -> Bitmap""" + return _aui.AuiNotebook_GetPageBitmap(*args, **kwargs) + def SetSelection(*args, **kwargs): """SetSelection(self, size_t new_page) -> size_t""" return _aui.AuiNotebook_SetSelection(*args, **kwargs) @@ -1393,33 +1431,13 @@ class AuiNotebook(_core.Control): """GetSelection(self) -> int""" return _aui.AuiNotebook_GetSelection(*args, **kwargs) - def GetPageCount(*args, **kwargs): - """GetPageCount(self) -> size_t""" - return _aui.AuiNotebook_GetPageCount(*args, **kwargs) - - def GetPage(*args, **kwargs): - """GetPage(self, size_t page_idx) -> Window""" - return _aui.AuiNotebook_GetPage(*args, **kwargs) - - def GetPageIndex(*args, **kwargs): - """GetPageIndex(self, Window page_wnd) -> int""" - return _aui.AuiNotebook_GetPageIndex(*args, **kwargs) - - def SetArtProvider(*args, **kwargs): - """SetArtProvider(self, AuiTabArt art)""" - return _aui.AuiNotebook_SetArtProvider(*args, **kwargs) + def Split(*args, **kwargs): + """Split(self, size_t page, int direction)""" + return _aui.AuiNotebook_Split(*args, **kwargs) - def GetArtProvider(*args, **kwargs): - """GetArtProvider(self) -> AuiTabArt""" - return _aui.AuiNotebook_GetArtProvider(*args, **kwargs) - - def SetUniformBitmapSize(*args, **kwargs): - """SetUniformBitmapSize(self, Size size)""" - return _aui.AuiNotebook_SetUniformBitmapSize(*args, **kwargs) - - def SetTabCtrlHeight(*args, **kwargs): - """SetTabCtrlHeight(self, int height)""" - return _aui.AuiNotebook_SetTabCtrlHeight(*args, **kwargs) + def GetAuiManager(*args, **kwargs): + """GetAuiManager(self) -> AuiManager""" + return _aui.AuiNotebook_GetAuiManager(*args, **kwargs) PageCount = property(GetPageCount,doc="See `GetPageCount`") Selection = property(GetSelection,SetSelection,doc="See `GetSelection` and `SetSelection`") @@ -1428,7 +1446,7 @@ _aui.AuiNotebook_swigregister(AuiNotebook) def PreAuiNotebook(*args, **kwargs): """PreAuiNotebook() -> AuiNotebook""" val = _aui.new_PreAuiNotebook(*args, **kwargs) - self._setOORInfo(self) + val._setOORInfo(val) return val wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSE = _aui.wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSE @@ -1448,6 +1466,252 @@ EVT_AUINOTEBOOK_END_DRAG = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_END_DRAG, EVT_AUINOTEBOOK_DRAG_MOTION = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION, 1 ) EVT_AUINOTEBOOK_ALLOW_DND = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_ALLOW_DND, 1 ) +class AuiMDIParentFrame(_windows.Frame): + """Proxy of C++ AuiMDIParentFrame class""" + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') + __repr__ = _swig_repr + def __init__(self, *args, **kwargs): + """ + __init__(self, Window parent, int winid, String title, Point pos=DefaultPosition, + Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL, + String name=wxFrameNameStr) -> AuiMDIParentFrame + """ + _aui.AuiMDIParentFrame_swiginit(self,_aui.new_AuiMDIParentFrame(*args, **kwargs)) + self._setOORInfo(self) + + def Create(*args, **kwargs): + """ + Create(self, Window parent, int winid, String title, Point pos=DefaultPosition, + Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL, + String name=wxFrameNameStr) -> bool + """ + return _aui.AuiMDIParentFrame_Create(*args, **kwargs) + + def SetArtProvider(*args, **kwargs): + """SetArtProvider(self, AuiTabArt provider)""" + return _aui.AuiMDIParentFrame_SetArtProvider(*args, **kwargs) + + def GetArtProvider(*args, **kwargs): + """GetArtProvider(self) -> AuiTabArt""" + return _aui.AuiMDIParentFrame_GetArtProvider(*args, **kwargs) + + def GetNotebook(*args, **kwargs): + """GetNotebook(self) -> AuiNotebook""" + return _aui.AuiMDIParentFrame_GetNotebook(*args, **kwargs) + + def GetWindowMenu(*args, **kwargs): + """GetWindowMenu(self) -> Menu""" + return _aui.AuiMDIParentFrame_GetWindowMenu(*args, **kwargs) + + def SetWindowMenu(*args, **kwargs): + """SetWindowMenu(self, Menu pMenu)""" + return _aui.AuiMDIParentFrame_SetWindowMenu(*args, **kwargs) + + def SetChildMenuBar(*args, **kwargs): + """SetChildMenuBar(self, AuiMDIChildFrame pChild)""" + return _aui.AuiMDIParentFrame_SetChildMenuBar(*args, **kwargs) + + def ProcessEvent(*args, **kwargs): + """ProcessEvent(self, Event event) -> bool""" + return _aui.AuiMDIParentFrame_ProcessEvent(*args, **kwargs) + + def GetActiveChild(*args, **kwargs): + """GetActiveChild(self) -> AuiMDIChildFrame""" + return _aui.AuiMDIParentFrame_GetActiveChild(*args, **kwargs) + + def SetActiveChild(*args, **kwargs): + """SetActiveChild(self, AuiMDIChildFrame pChildFrame)""" + return _aui.AuiMDIParentFrame_SetActiveChild(*args, **kwargs) + + def GetClientWindow(*args, **kwargs): + """GetClientWindow(self) -> AuiMDIClientWindow""" + return _aui.AuiMDIParentFrame_GetClientWindow(*args, **kwargs) + + def OnCreateClient(*args, **kwargs): + """OnCreateClient(self) -> AuiMDIClientWindow""" + return _aui.AuiMDIParentFrame_OnCreateClient(*args, **kwargs) + + def Cascade(*args, **kwargs): + """Cascade(self)""" + return _aui.AuiMDIParentFrame_Cascade(*args, **kwargs) + + def Tile(*args, **kwargs): + """Tile(self, int orient=HORIZONTAL)""" + return _aui.AuiMDIParentFrame_Tile(*args, **kwargs) + + def ArrangeIcons(*args, **kwargs): + """ArrangeIcons(self)""" + return _aui.AuiMDIParentFrame_ArrangeIcons(*args, **kwargs) + + def ActivateNext(*args, **kwargs): + """ActivateNext(self)""" + return _aui.AuiMDIParentFrame_ActivateNext(*args, **kwargs) + + def ActivatePrevious(*args, **kwargs): + """ActivatePrevious(self)""" + return _aui.AuiMDIParentFrame_ActivatePrevious(*args, **kwargs) + +_aui.AuiMDIParentFrame_swigregister(AuiMDIParentFrame) + +def PreAuiMDIParentFrame(*args, **kwargs): + """PreAuiMDIParentFrame() -> AuiMDIParentFrame""" + val = _aui.new_PreAuiMDIParentFrame(*args, **kwargs) + val._setOORInfo(val) + return val + +class AuiMDIChildFrame(_windows.Panel): + """Proxy of C++ AuiMDIChildFrame class""" + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') + __repr__ = _swig_repr + def __init__(self, *args, **kwargs): + """ + __init__(self, AuiMDIParentFrame parent, int winid, String title, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=DEFAULT_FRAME_STYLE, String name=wxFrameNameStr) -> AuiMDIChildFrame + """ + _aui.AuiMDIChildFrame_swiginit(self,_aui.new_AuiMDIChildFrame(*args, **kwargs)) + self._setOORInfo(self) + + def Create(*args, **kwargs): + """ + Create(self, AuiMDIParentFrame parent, int winid, String title, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=DEFAULT_FRAME_STYLE, String name=wxFrameNameStr) -> bool + """ + return _aui.AuiMDIChildFrame_Create(*args, **kwargs) + + def SetMenuBar(*args, **kwargs): + """SetMenuBar(self, MenuBar menu_bar)""" + return _aui.AuiMDIChildFrame_SetMenuBar(*args, **kwargs) + + def GetMenuBar(*args, **kwargs): + """GetMenuBar(self) -> MenuBar""" + return _aui.AuiMDIChildFrame_GetMenuBar(*args, **kwargs) + + def SetTitle(*args, **kwargs): + """SetTitle(self, String title)""" + return _aui.AuiMDIChildFrame_SetTitle(*args, **kwargs) + + def GetTitle(*args, **kwargs): + """GetTitle(self) -> String""" + return _aui.AuiMDIChildFrame_GetTitle(*args, **kwargs) + + def SetIcons(*args, **kwargs): + """SetIcons(self, wxIconBundle icons)""" + return _aui.AuiMDIChildFrame_SetIcons(*args, **kwargs) + + def GetIcons(*args, **kwargs): + """GetIcons(self) -> wxIconBundle""" + return _aui.AuiMDIChildFrame_GetIcons(*args, **kwargs) + + def SetIcon(*args, **kwargs): + """SetIcon(self, Icon icon)""" + return _aui.AuiMDIChildFrame_SetIcon(*args, **kwargs) + + def GetIcon(*args, **kwargs): + """GetIcon(self) -> Icon""" + return _aui.AuiMDIChildFrame_GetIcon(*args, **kwargs) + + def Activate(*args, **kwargs): + """Activate(self)""" + return _aui.AuiMDIChildFrame_Activate(*args, **kwargs) + + def DoSetSizeHints(*args, **kwargs): + """ + DoSetSizeHints(self, int minW, int minH, int maxW=wxDefaultCoord, int maxH=wxDefaultCoord, + int incW=wxDefaultCoord, int incH=wxDefaultCoord) + """ + return _aui.AuiMDIChildFrame_DoSetSizeHints(*args, **kwargs) + + def Maximize(*args, **kwargs): + """Maximize(self, bool maximize=True)""" + return _aui.AuiMDIChildFrame_Maximize(*args, **kwargs) + + def Restore(*args, **kwargs): + """Restore(self)""" + return _aui.AuiMDIChildFrame_Restore(*args, **kwargs) + + def Iconize(*args, **kwargs): + """Iconize(self, bool iconize=True)""" + return _aui.AuiMDIChildFrame_Iconize(*args, **kwargs) + + def IsMaximized(*args, **kwargs): + """IsMaximized(self) -> bool""" + return _aui.AuiMDIChildFrame_IsMaximized(*args, **kwargs) + + def IsIconized(*args, **kwargs): + """IsIconized(self) -> bool""" + return _aui.AuiMDIChildFrame_IsIconized(*args, **kwargs) + + def ShowFullScreen(*args, **kwargs): + """ShowFullScreen(self, bool show, long style) -> bool""" + return _aui.AuiMDIChildFrame_ShowFullScreen(*args, **kwargs) + + def IsFullScreen(*args, **kwargs): + """IsFullScreen(self) -> bool""" + return _aui.AuiMDIChildFrame_IsFullScreen(*args, **kwargs) + + def OnMenuHighlight(*args, **kwargs): + """OnMenuHighlight(self, MenuEvent evt)""" + return _aui.AuiMDIChildFrame_OnMenuHighlight(*args, **kwargs) + + def OnActivate(*args, **kwargs): + """OnActivate(self, ActivateEvent evt)""" + return _aui.AuiMDIChildFrame_OnActivate(*args, **kwargs) + + def OnCloseWindow(*args, **kwargs): + """OnCloseWindow(self, CloseEvent evt)""" + return _aui.AuiMDIChildFrame_OnCloseWindow(*args, **kwargs) + + def SetMDIParentFrame(*args, **kwargs): + """SetMDIParentFrame(self, AuiMDIParentFrame parent)""" + return _aui.AuiMDIChildFrame_SetMDIParentFrame(*args, **kwargs) + + def GetMDIParentFrame(*args, **kwargs): + """GetMDIParentFrame(self) -> AuiMDIParentFrame""" + return _aui.AuiMDIChildFrame_GetMDIParentFrame(*args, **kwargs) + + def ApplyMDIChildFrameRect(*args, **kwargs): + """ApplyMDIChildFrameRect(self)""" + return _aui.AuiMDIChildFrame_ApplyMDIChildFrameRect(*args, **kwargs) + + def DoShow(*args, **kwargs): + """DoShow(self, bool show)""" + return _aui.AuiMDIChildFrame_DoShow(*args, **kwargs) + +_aui.AuiMDIChildFrame_swigregister(AuiMDIChildFrame) + +def PreAuiMDIChildFrame(*args, **kwargs): + """PreAuiMDIChildFrame() -> AuiMDIChildFrame""" + val = _aui.new_PreAuiMDIChildFrame(*args, **kwargs) + val._setOORInfo(val) + return val + +class AuiMDIClientWindow(AuiNotebook): + """Proxy of C++ AuiMDIClientWindow class""" + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') + __repr__ = _swig_repr + def __init__(self, *args, **kwargs): + """__init__(self, AuiMDIParentFrame parent, long style=0) -> AuiMDIClientWindow""" + _aui.AuiMDIClientWindow_swiginit(self,_aui.new_AuiMDIClientWindow(*args, **kwargs)) + self._setOORInfo(self) + + def CreateClient(*args, **kwargs): + """CreateClient(self, AuiMDIParentFrame parent, long style=wxVSCROLL|wxHSCROLL) -> bool""" + return _aui.AuiMDIClientWindow_CreateClient(*args, **kwargs) + + def SetSelection(*args, **kwargs): + """SetSelection(self, size_t page) -> int""" + return _aui.AuiMDIClientWindow_SetSelection(*args, **kwargs) + +_aui.AuiMDIClientWindow_swigregister(AuiMDIClientWindow) + +def PreAuiMDIClientWindow(*args, **kwargs): + """PreAuiMDIClientWindow() -> AuiMDIClientWindow""" + val = _aui.new_PreAuiMDIClientWindow(*args, **kwargs) + val._setOORInfo(val) + return val + class PyAuiDockArt(AuiDefaultDockArt): """ This version of the `AuiDockArt` class has been instrumented to be