X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/10044bf187c95e9f8f6323f75750663acb73e325..b876c1e435dea63446e48edd63f83694826b7fcf:/wxPython/src/gtk/aui.py diff --git a/wxPython/src/gtk/aui.py b/wxPython/src/gtk/aui.py index ecc477bddf..54e6c6d6ef 100644 --- a/wxPython/src/gtk/aui.py +++ b/wxPython/src/gtk/aui.py @@ -350,6 +350,10 @@ class PaneInfo(object): """ return _aui.PaneInfo_IsMovable(*args, **kwargs) + def IsDestroyOnClose(*args, **kwargs): + """IsDestroyOnClose(self) -> bool""" + return _aui.PaneInfo_IsDestroyOnClose(*args, **kwargs) + def HasCaption(*args, **kwargs): """ HasCaption(self) -> bool @@ -1052,6 +1056,10 @@ class FrameManager(_core.EvtHandler): """ return _aui.FrameManager_DetachPane(*args, **kwargs) + def ClosePane(*args, **kwargs): + """ClosePane(self, PaneInfo pane_info)""" + return _aui.FrameManager_ClosePane(*args, **kwargs) + def SavePaneInfo(*args, **kwargs): """SavePaneInfo(self, PaneInfo pane) -> String""" return _aui.FrameManager_SavePaneInfo(*args, **kwargs) @@ -1099,6 +1107,10 @@ class FrameManager(_core.EvtHandler): """ return _aui.FrameManager_Update(*args, **kwargs) + def CreateFloatingFrame(*args, **kwargs): + """CreateFloatingFrame(self, Window parent, PaneInfo p) -> FloatingPane""" + return _aui.FrameManager_CreateFloatingFrame(*args, **kwargs) + def DrawHintRect(*args, **kwargs): """DrawHintRect(self, Window pane_window, Point pt, Point offset)""" return _aui.FrameManager_DrawHintRect(*args, **kwargs) @@ -1170,6 +1182,10 @@ class FrameManager(_core.EvtHandler): GetFrame = wx._deprecated(GetManagedWindow, "GetFrame is deprecated, use `GetManagedWindow` instead.") + AllPanes = property(GetAllPanes,doc="See `GetAllPanes`") + ArtProvider = property(GetArtProvider,SetArtProvider,doc="See `GetArtProvider` and `SetArtProvider`") + Flags = property(GetFlags,SetFlags,doc="See `GetFlags` and `SetFlags`") + ManagedWindow = property(GetManagedWindow,SetManagedWindow,doc="See `GetManagedWindow` and `SetManagedWindow`") _aui.FrameManager_swigregister(FrameManager) class FrameManagerEvent(_core.Event): @@ -1228,6 +1244,9 @@ class FrameManagerEvent(_core.Event): veto_flag = property(_aui.FrameManagerEvent_veto_flag_get, _aui.FrameManagerEvent_veto_flag_set) canveto_flag = property(_aui.FrameManagerEvent_canveto_flag_get, _aui.FrameManagerEvent_canveto_flag_set) dc = property(_aui.FrameManagerEvent_dc_get, _aui.FrameManagerEvent_dc_set) + Button = property(GetButton,SetButton,doc="See `GetButton` and `SetButton`") + DC = property(GetDC,SetDC,doc="See `GetDC` and `SetDC`") + Pane = property(GetPane,SetPane,doc="See `GetPane` and `SetPane`") _aui.FrameManagerEvent_swigregister(FrameManagerEvent) class DockInfo(object): @@ -1259,6 +1278,8 @@ class DockInfo(object): resizable = property(_aui.DockInfo_resizable_get, _aui.DockInfo_resizable_set) toolbar = property(_aui.DockInfo_toolbar_get, _aui.DockInfo_toolbar_set) fixed = property(_aui.DockInfo_fixed_get, _aui.DockInfo_fixed_set) + __swig_destroy__ = _aui.delete_DockInfo + __del__ = lambda self : None; _aui.DockInfo_swigregister(DockInfo) class DockUIPart(object): @@ -1283,6 +1304,8 @@ class DockUIPart(object): cont_sizer = property(_aui.DockUIPart_cont_sizer_get, _aui.DockUIPart_cont_sizer_set) sizer_item = property(_aui.DockUIPart_sizer_item_get, _aui.DockUIPart_sizer_item_set) rect = property(_aui.DockUIPart_rect_get, _aui.DockUIPart_rect_set) + __swig_destroy__ = _aui.delete_DockUIPart + __del__ = lambda self : None; _aui.DockUIPart_swigregister(DockUIPart) class PaneButton(object): @@ -1291,6 +1314,8 @@ class PaneButton(object): def __init__(self): raise AttributeError, "No constructor defined" __repr__ = _swig_repr button_id = property(_aui.PaneButton_button_id_get, _aui.PaneButton_button_id_set) + __swig_destroy__ = _aui.delete_PaneButton + __del__ = lambda self : None; _aui.PaneButton_swigregister(PaneButton) wxEVT_AUI_PANEBUTTON = _aui.wxEVT_AUI_PANEBUTTON @@ -1346,27 +1371,30 @@ class DockArt(object): return _aui.DockArt_SetColor(*args, **kwargs) def DrawSash(*args, **kwargs): - """DrawSash(self, DC dc, int orientation, Rect rect)""" + """DrawSash(self, DC dc, Window window, int orientation, Rect rect)""" return _aui.DockArt_DrawSash(*args, **kwargs) def DrawBackground(*args, **kwargs): - """DrawBackground(self, DC dc, int orientation, Rect rect)""" + """DrawBackground(self, DC dc, Window window, int orientation, Rect rect)""" return _aui.DockArt_DrawBackground(*args, **kwargs) def DrawCaption(*args, **kwargs): - """DrawCaption(self, DC dc, String text, Rect rect, PaneInfo pane)""" + """DrawCaption(self, DC dc, Window window, String text, Rect rect, PaneInfo pane)""" return _aui.DockArt_DrawCaption(*args, **kwargs) def DrawGripper(*args, **kwargs): - """DrawGripper(self, DC dc, Rect rect, PaneInfo pane)""" + """DrawGripper(self, DC dc, Window window, Rect rect, PaneInfo pane)""" return _aui.DockArt_DrawGripper(*args, **kwargs) def DrawBorder(*args, **kwargs): - """DrawBorder(self, DC dc, Rect rect, PaneInfo pane)""" + """DrawBorder(self, DC dc, Window window, Rect rect, PaneInfo pane)""" return _aui.DockArt_DrawBorder(*args, **kwargs) def DrawPaneButton(*args, **kwargs): - """DrawPaneButton(self, DC dc, int button, int button_state, Rect rect, PaneInfo pane)""" + """ + DrawPaneButton(self, DC dc, Window window, int button, int button_state, + Rect rect, PaneInfo pane) + """ return _aui.DockArt_DrawPaneButton(*args, **kwargs) _aui.DockArt_swigregister(DockArt) @@ -1388,14 +1416,14 @@ class DefaultDockArt(DockArt): _aui.DefaultDockArt_swiginit(self,_aui.new_DefaultDockArt(*args, **kwargs)) _aui.DefaultDockArt_swigregister(DefaultDockArt) -class FloatingPane(_windows.Frame): +class FloatingPane(_windows.MiniFrame): """Proxy of C++ FloatingPane 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, FrameManager owner_mgr, PaneInfo pane, - int id=ID_ANY) -> FloatingPane + int id=ID_ANY, long style=wxRESIZE_BORDER|wxSYSTEM_MENU|wxCAPTION|wxFRAME_NO_TASKBAR|wxFRAME_FLOAT_ON_PARENT|wxCLIP_CHILDREN) -> FloatingPane """ _aui.FloatingPane_swiginit(self,_aui.new_FloatingPane(*args, **kwargs)) __swig_destroy__ = _aui.delete_FloatingPane @@ -1436,6 +1464,8 @@ class AuiNotebookEvent(_core.NotifyEvent): old_selection = property(_aui.AuiNotebookEvent_old_selection_get, _aui.AuiNotebookEvent_old_selection_set) selection = property(_aui.AuiNotebookEvent_selection_get, _aui.AuiNotebookEvent_selection_set) + OldSelection = property(GetOldSelection,SetOldSelection,doc="See `GetOldSelection` and `SetOldSelection`") + Selection = property(GetSelection,SetSelection,doc="See `GetSelection` and `SetSelection`") _aui.AuiNotebookEvent_swigregister(AuiNotebookEvent) class AuiNotebookPage(object): @@ -1549,6 +1579,9 @@ class AuiTabContainer(object): """AddButton(self, int id, Bitmap bmp)""" return _aui.AuiTabContainer_AddButton(*args, **kwargs) + ActivePage = property(GetActivePage,SetActivePage,doc="See `GetActivePage` and `SetActivePage`") + PageCount = property(GetPageCount,doc="See `GetPageCount`") + Pages = property(GetPages,doc="See `GetPages`") _aui.AuiTabContainer_swigregister(AuiTabContainer) class AuiTabCtrl(_core.Control,AuiTabContainer): @@ -1625,6 +1658,8 @@ class AuiMultiNotebook(_core.Control): """GetPage(self, size_t page_idx) -> Window""" return _aui.AuiMultiNotebook_GetPage(*args, **kwargs) + PageCount = property(GetPageCount,doc="See `GetPageCount`") + Selection = property(GetSelection,SetSelection,doc="See `GetSelection` and `SetSelection`") _aui.AuiMultiNotebook_swigregister(AuiMultiNotebook) def PreAuiMultiNotebook(*args, **kwargs):