X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34d71f81f4810c55092005c113039a8857422185..26ee65c723cf55822c540506f064ec11d9b26858:/wxPython/src/gtk/aui.py diff --git a/wxPython/src/gtk/aui.py b/wxPython/src/gtk/aui.py index 2976048dd5..13e292c270 100644 --- a/wxPython/src/gtk/aui.py +++ b/wxPython/src/gtk/aui.py @@ -154,8 +154,6 @@ import _core import _windows wx = _core __docfilter__ = wx.__DocFilter(globals()) -USE_AUI = _aui.USE_AUI -USE_MENUS = _aui.USE_MENUS AUI_DOCK_NONE = _aui.AUI_DOCK_NONE AUI_DOCK_TOP = _aui.AUI_DOCK_TOP AUI_DOCK_RIGHT = _aui.AUI_DOCK_RIGHT @@ -1437,6 +1435,10 @@ class AuiNotebook(_core.Control): """Split(self, size_t page, int direction)""" return _aui.AuiNotebook_Split(*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`") _aui.AuiNotebook_swigregister(AuiNotebook) @@ -1493,10 +1495,6 @@ class AuiMDIParentFrame(_windows.Frame): """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) @@ -1513,18 +1511,10 @@ class AuiMDIParentFrame(_windows.Frame): """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) @@ -1549,6 +1539,18 @@ class AuiMDIParentFrame(_windows.Frame): """ActivatePrevious(self)""" return _aui.AuiMDIParentFrame_ActivatePrevious(*args, **kwargs) + def GetNotebook(*args, **kwargs): + """GetNotebook(self) -> AuiNotebook""" + return _aui.AuiMDIParentFrame_GetNotebook(*args, **kwargs) + + def GetActiveChild(*args, **kwargs): + """GetActiveChild(self) -> AuiMDIChildFrame""" + return _aui.AuiMDIParentFrame_GetActiveChild(*args, **kwargs) + + def GetClientWindow(*args, **kwargs): + """GetClientWindow(self) -> AuiMDIClientWindow""" + return _aui.AuiMDIParentFrame_GetClientWindow(*args, **kwargs) + _aui.AuiMDIParentFrame_swigregister(AuiMDIParentFrame) def PreAuiMDIParentFrame(*args, **kwargs): @@ -1717,8 +1719,18 @@ class PyAuiDockArt(AuiDefaultDockArt): methods to the Python methods implemented in the derived class. """ thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" __repr__ = _swig_repr + def __init__(self, *args, **kwargs): + """ + __init__(self) -> PyAuiDockArt + + This version of the `AuiDockArt` class has been instrumented to be + subclassable in Python and to reflect all calls to the C++ base class + methods to the Python methods implemented in the derived class. + """ + _aui.PyAuiDockArt_swiginit(self,_aui.new_PyAuiDockArt(*args, **kwargs)) + PyAuiDockArt._setCallbackInfo(self, self, PyAuiDockArt) + _aui.PyAuiDockArt_swigregister(PyAuiDockArt) class PyAuiTabArt(AuiDefaultTabArt): @@ -1728,8 +1740,18 @@ class PyAuiTabArt(AuiDefaultTabArt): methods to the Python methods implemented in the derived class. """ thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" __repr__ = _swig_repr + def __init__(self, *args, **kwargs): + """ + __init__(self) -> PyAuiTabArt + + This version of the `TabArt` class has been instrumented to be + subclassable in Python and to reflect all calls to the C++ base class + methods to the Python methods implemented in the derived class. + """ + _aui.PyAuiTabArt_swiginit(self,_aui.new_PyAuiTabArt(*args, **kwargs)) + PyAuiTabArt._setCallbackInfo(self, self, PyAuiTabArt) + _aui.PyAuiTabArt_swigregister(PyAuiTabArt)