X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eccab1a711f3fed5d27e026f2f4c496bc6b9a38b..b7681018cbe62b5b69943c991aff63e1770b65b9:/wxPython/src/msw/aui.py?ds=sidebyside diff --git a/wxPython/src/msw/aui.py b/wxPython/src/msw/aui.py index 4de1f4c3e8..aa3523992b 100644 --- a/wxPython/src/msw/aui.py +++ b/wxPython/src/msw/aui.py @@ -638,21 +638,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 +658,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) @@ -902,18 +914,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"""