effects" such as transparent window dragging as well as frame
animation.
-**PyAUI adheres to the following principles**
+**wx.aui adheres to the following principles**
- Use native floating frames to obtain a native look and feel for
all platforms;
size=(800, 600), style=wx.DEFAULT_FRAME_STYLE):
wx.Frame.__init__(self, parent, id, title, pos, size, style)
- self._mgr = wx.aui.FrameManager(self)
+ self._mgr = wx.aui.AuiManager(self)
# create several text controls
text1 = wx.TextCtrl(self, -1, 'Pane 1 - sample text',
AUI_MGR_ALLOW_ACTIVE_PANE = _aui.AUI_MGR_ALLOW_ACTIVE_PANE
AUI_MGR_TRANSPARENT_DRAG = _aui.AUI_MGR_TRANSPARENT_DRAG
AUI_MGR_TRANSPARENT_HINT = _aui.AUI_MGR_TRANSPARENT_HINT
-AUI_MGR_TRANSPARENT_HINT_FADE = _aui.AUI_MGR_TRANSPARENT_HINT_FADE
-AUI_MGR_DISABLE_VENETIAN_BLINDS = _aui.AUI_MGR_DISABLE_VENETIAN_BLINDS
-AUI_MGR_DISABLE_VENETIAN_BLINDS_FADE = _aui.AUI_MGR_DISABLE_VENETIAN_BLINDS_FADE
+AUI_MGR_VENETIAN_BLINDS_HINT = _aui.AUI_MGR_VENETIAN_BLINDS_HINT
+AUI_MGR_RECTANGLE_HINT = _aui.AUI_MGR_RECTANGLE_HINT
+AUI_MGR_HINT_FADE = _aui.AUI_MGR_HINT_FADE
+AUI_MGR_NO_VENETIAN_BLINDS_FADE = _aui.AUI_MGR_NO_VENETIAN_BLINDS_FADE
AUI_MGR_DEFAULT = _aui.AUI_MGR_DEFAULT
-AUI_ART_SASH_SIZE = _aui.AUI_ART_SASH_SIZE
-AUI_ART_CAPTION_SIZE = _aui.AUI_ART_CAPTION_SIZE
-AUI_ART_GRIPPER_SIZE = _aui.AUI_ART_GRIPPER_SIZE
-AUI_ART_PANE_BORDER_SIZE = _aui.AUI_ART_PANE_BORDER_SIZE
-AUI_ART_PANE_BUTTON_SIZE = _aui.AUI_ART_PANE_BUTTON_SIZE
-AUI_ART_BACKGROUND_COLOUR = _aui.AUI_ART_BACKGROUND_COLOUR
-AUI_ART_SASH_COLOUR = _aui.AUI_ART_SASH_COLOUR
-AUI_ART_ACTIVE_CAPTION_COLOUR = _aui.AUI_ART_ACTIVE_CAPTION_COLOUR
-AUI_ART_ACTIVE_CAPTION_GRADIENT_COLOUR = _aui.AUI_ART_ACTIVE_CAPTION_GRADIENT_COLOUR
-AUI_ART_INACTIVE_CAPTION_COLOUR = _aui.AUI_ART_INACTIVE_CAPTION_COLOUR
-AUI_ART_INACTIVE_CAPTION_GRADIENT_COLOUR = _aui.AUI_ART_INACTIVE_CAPTION_GRADIENT_COLOUR
-AUI_ART_ACTIVE_CAPTION_TEXT_COLOUR = _aui.AUI_ART_ACTIVE_CAPTION_TEXT_COLOUR
-AUI_ART_INACTIVE_CAPTION_TEXT_COLOUR = _aui.AUI_ART_INACTIVE_CAPTION_TEXT_COLOUR
-AUI_ART_BORDER_COLOUR = _aui.AUI_ART_BORDER_COLOUR
-AUI_ART_GRIPPER_COLOUR = _aui.AUI_ART_GRIPPER_COLOUR
-AUI_ART_CAPTION_FONT = _aui.AUI_ART_CAPTION_FONT
-AUI_ART_GRADIENT_TYPE = _aui.AUI_ART_GRADIENT_TYPE
+AUI_DOCKART_SASH_SIZE = _aui.AUI_DOCKART_SASH_SIZE
+AUI_DOCKART_CAPTION_SIZE = _aui.AUI_DOCKART_CAPTION_SIZE
+AUI_DOCKART_GRIPPER_SIZE = _aui.AUI_DOCKART_GRIPPER_SIZE
+AUI_DOCKART_PANE_BORDER_SIZE = _aui.AUI_DOCKART_PANE_BORDER_SIZE
+AUI_DOCKART_PANE_BUTTON_SIZE = _aui.AUI_DOCKART_PANE_BUTTON_SIZE
+AUI_DOCKART_BACKGROUND_COLOUR = _aui.AUI_DOCKART_BACKGROUND_COLOUR
+AUI_DOCKART_SASH_COLOUR = _aui.AUI_DOCKART_SASH_COLOUR
+AUI_DOCKART_ACTIVE_CAPTION_COLOUR = _aui.AUI_DOCKART_ACTIVE_CAPTION_COLOUR
+AUI_DOCKART_ACTIVE_CAPTION_GRADIENT_COLOUR = _aui.AUI_DOCKART_ACTIVE_CAPTION_GRADIENT_COLOUR
+AUI_DOCKART_INACTIVE_CAPTION_COLOUR = _aui.AUI_DOCKART_INACTIVE_CAPTION_COLOUR
+AUI_DOCKART_INACTIVE_CAPTION_GRADIENT_COLOUR = _aui.AUI_DOCKART_INACTIVE_CAPTION_GRADIENT_COLOUR
+AUI_DOCKART_ACTIVE_CAPTION_TEXT_COLOUR = _aui.AUI_DOCKART_ACTIVE_CAPTION_TEXT_COLOUR
+AUI_DOCKART_INACTIVE_CAPTION_TEXT_COLOUR = _aui.AUI_DOCKART_INACTIVE_CAPTION_TEXT_COLOUR
+AUI_DOCKART_BORDER_COLOUR = _aui.AUI_DOCKART_BORDER_COLOUR
+AUI_DOCKART_GRIPPER_COLOUR = _aui.AUI_DOCKART_GRIPPER_COLOUR
+AUI_DOCKART_CAPTION_FONT = _aui.AUI_DOCKART_CAPTION_FONT
+AUI_DOCKART_GRADIENT_TYPE = _aui.AUI_DOCKART_GRADIENT_TYPE
AUI_GRADIENT_NONE = _aui.AUI_GRADIENT_NONE
AUI_GRADIENT_VERTICAL = _aui.AUI_GRADIENT_VERTICAL
AUI_GRADIENT_HORIZONTAL = _aui.AUI_GRADIENT_HORIZONTAL
AUI_BUTTON_STATE_NORMAL = _aui.AUI_BUTTON_STATE_NORMAL
AUI_BUTTON_STATE_HOVER = _aui.AUI_BUTTON_STATE_HOVER
AUI_BUTTON_STATE_PRESSED = _aui.AUI_BUTTON_STATE_PRESSED
+AUI_BUTTON_STATE_DISABLED = _aui.AUI_BUTTON_STATE_DISABLED
+AUI_BUTTON_STATE_HIDDEN = _aui.AUI_BUTTON_STATE_HIDDEN
+AUI_BUTTON_STATE_CHECKED = _aui.AUI_BUTTON_STATE_CHECKED
+AUI_BUTTON_CLOSE = _aui.AUI_BUTTON_CLOSE
+AUI_BUTTON_MAXIMIZE_RESTORE = _aui.AUI_BUTTON_MAXIMIZE_RESTORE
+AUI_BUTTON_MINIMIZE = _aui.AUI_BUTTON_MINIMIZE
+AUI_BUTTON_PIN = _aui.AUI_BUTTON_PIN
+AUI_BUTTON_OPTIONS = _aui.AUI_BUTTON_OPTIONS
+AUI_BUTTON_WINDOWLIST = _aui.AUI_BUTTON_WINDOWLIST
+AUI_BUTTON_LEFT = _aui.AUI_BUTTON_LEFT
+AUI_BUTTON_RIGHT = _aui.AUI_BUTTON_RIGHT
+AUI_BUTTON_UP = _aui.AUI_BUTTON_UP
+AUI_BUTTON_DOWN = _aui.AUI_BUTTON_DOWN
+AUI_BUTTON_CUSTOM1 = _aui.AUI_BUTTON_CUSTOM1
+AUI_BUTTON_CUSTOM2 = _aui.AUI_BUTTON_CUSTOM2
+AUI_BUTTON_CUSTOM3 = _aui.AUI_BUTTON_CUSTOM3
AUI_INSERT_PANE = _aui.AUI_INSERT_PANE
AUI_INSERT_ROW = _aui.AUI_INSERT_ROW
AUI_INSERT_DOCK = _aui.AUI_INSERT_DOCK
-class PaneInfo(object):
- """
- PaneInfo specifies all the parameters for a pane for the
- `FrameManager`. These parameters specify where the pane is on the
- screen, whether it is docked or floating, or hidden. In addition,
- these parameters specify the pane's docked position, floating
- position, preferred size, minimum size, caption text among many other
- parameters.
-
- """
+class AuiPaneInfo(object):
+ """Proxy of C++ AuiPaneInfo 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) -> PaneInfo
-
- PaneInfo specifies all the parameters for a pane for the
- `FrameManager`. These parameters specify where the pane is on the
- screen, whether it is docked or floating, or hidden. In addition,
- these parameters specify the pane's docked position, floating
- position, preferred size, minimum size, caption text among many other
- parameters.
-
- """
- _aui.PaneInfo_swiginit(self,_aui.new_PaneInfo(*args, **kwargs))
- __swig_destroy__ = _aui.delete_PaneInfo
+ """__init__(self) -> AuiPaneInfo"""
+ _aui.AuiPaneInfo_swiginit(self,_aui.new_AuiPaneInfo(*args, **kwargs))
+ __swig_destroy__ = _aui.delete_AuiPaneInfo
__del__ = lambda self : None;
def SafeSet(*args, **kwargs):
- """SafeSet(self, PaneInfo source)"""
- return _aui.PaneInfo_SafeSet(*args, **kwargs)
+ """SafeSet(self, AuiPaneInfo source)"""
+ return _aui.AuiPaneInfo_SafeSet(*args, **kwargs)
def IsOk(*args, **kwargs):
- """
- IsOk(self) -> bool
-
- IsOk returns ``True`` if the PaneInfo structure is valid.
-
- """
- return _aui.PaneInfo_IsOk(*args, **kwargs)
+ """IsOk(self) -> bool"""
+ return _aui.AuiPaneInfo_IsOk(*args, **kwargs)
def IsFixed(*args, **kwargs):
- """
- IsFixed(self) -> bool
-
- IsFixed returns ``True`` if the pane cannot be resized.
-
- """
- return _aui.PaneInfo_IsFixed(*args, **kwargs)
+ """IsFixed(self) -> bool"""
+ return _aui.AuiPaneInfo_IsFixed(*args, **kwargs)
def IsResizable(*args, **kwargs):
- """
- IsResizable(self) -> bool
-
- IsResizeable returns ``True`` if the pane can be resized.
-
- """
- return _aui.PaneInfo_IsResizable(*args, **kwargs)
+ """IsResizable(self) -> bool"""
+ return _aui.AuiPaneInfo_IsResizable(*args, **kwargs)
def IsShown(*args, **kwargs):
- """
- IsShown(self) -> bool
-
- IsShown returns ``True`` if the pane should be drawn on the screen.
-
- """
- return _aui.PaneInfo_IsShown(*args, **kwargs)
+ """IsShown(self) -> bool"""
+ return _aui.AuiPaneInfo_IsShown(*args, **kwargs)
def IsFloating(*args, **kwargs):
- """
- IsFloating(self) -> bool
-
- IsFloating returns ``True`` if the pane is floating.
-
- """
- return _aui.PaneInfo_IsFloating(*args, **kwargs)
+ """IsFloating(self) -> bool"""
+ return _aui.AuiPaneInfo_IsFloating(*args, **kwargs)
def IsDocked(*args, **kwargs):
- """
- IsDocked(self) -> bool
-
- IsDocked returns ``True`` if the pane is docked.
-
- """
- return _aui.PaneInfo_IsDocked(*args, **kwargs)
+ """IsDocked(self) -> bool"""
+ return _aui.AuiPaneInfo_IsDocked(*args, **kwargs)
def IsToolbar(*args, **kwargs):
- """
- IsToolbar(self) -> bool
-
- IsToolbar returns ``True`` if the pane contains a toolbar.
-
- """
- return _aui.PaneInfo_IsToolbar(*args, **kwargs)
+ """IsToolbar(self) -> bool"""
+ return _aui.AuiPaneInfo_IsToolbar(*args, **kwargs)
def IsTopDockable(*args, **kwargs):
- """
- IsTopDockable(self) -> bool
-
- IsTopDockable returns ``True`` if the pane can be docked at the top of
- the managed frame.
-
- """
- return _aui.PaneInfo_IsTopDockable(*args, **kwargs)
+ """IsTopDockable(self) -> bool"""
+ return _aui.AuiPaneInfo_IsTopDockable(*args, **kwargs)
def IsBottomDockable(*args, **kwargs):
- """
- IsBottomDockable(self) -> bool
-
- IsBottomDockable returns ``True`` if the pane can be docked at the
- bottom of the managed frame.
-
- """
- return _aui.PaneInfo_IsBottomDockable(*args, **kwargs)
+ """IsBottomDockable(self) -> bool"""
+ return _aui.AuiPaneInfo_IsBottomDockable(*args, **kwargs)
def IsLeftDockable(*args, **kwargs):
- """
- IsLeftDockable(self) -> bool
-
- IsLeftDockable returns ``True`` if the pane can be docked on the left
- of the managed frame.
-
- """
- return _aui.PaneInfo_IsLeftDockable(*args, **kwargs)
+ """IsLeftDockable(self) -> bool"""
+ return _aui.AuiPaneInfo_IsLeftDockable(*args, **kwargs)
def IsRightDockable(*args, **kwargs):
- """
- IsRightDockable(self) -> bool
-
- IsRightDockable returns ``True`` if the pane can be docked on the
- right of the managed frame.
-
- """
- return _aui.PaneInfo_IsRightDockable(*args, **kwargs)
+ """IsRightDockable(self) -> bool"""
+ return _aui.AuiPaneInfo_IsRightDockable(*args, **kwargs)
def IsFloatable(*args, **kwargs):
- """
- IsFloatable(self) -> bool
-
- IsFloatable returns ``True`` if the pane can be undocked and displayed
- as a floating window.
-
- """
- return _aui.PaneInfo_IsFloatable(*args, **kwargs)
+ """IsFloatable(self) -> bool"""
+ return _aui.AuiPaneInfo_IsFloatable(*args, **kwargs)
def IsMovable(*args, **kwargs):
- """
- IsMovable(self) -> bool
+ """IsMovable(self) -> bool"""
+ return _aui.AuiPaneInfo_IsMovable(*args, **kwargs)
- IsMoveable returns ``True`` if the docked frame can be undocked or moved
- to another dock position.
+ def IsDestroyOnClose(*args, **kwargs):
+ """IsDestroyOnClose(self) -> bool"""
+ return _aui.AuiPaneInfo_IsDestroyOnClose(*args, **kwargs)
- """
- return _aui.PaneInfo_IsMovable(*args, **kwargs)
+ def IsMaximized(*args, **kwargs):
+ """IsMaximized(self) -> bool"""
+ return _aui.AuiPaneInfo_IsMaximized(*args, **kwargs)
def HasCaption(*args, **kwargs):
- """
- HasCaption(self) -> bool
-
- HasCaption returns ``True`` if the pane displays a caption.
-
- """
- return _aui.PaneInfo_HasCaption(*args, **kwargs)
+ """HasCaption(self) -> bool"""
+ return _aui.AuiPaneInfo_HasCaption(*args, **kwargs)
def HasGripper(*args, **kwargs):
- """
- HasGripper(self) -> bool
-
- HasGripper returns ``True`` if the pane displays a gripper.
-
- """
- return _aui.PaneInfo_HasGripper(*args, **kwargs)
+ """HasGripper(self) -> bool"""
+ return _aui.AuiPaneInfo_HasGripper(*args, **kwargs)
def HasBorder(*args, **kwargs):
- """
- HasBorder(self) -> bool
-
- HasBorder returns ``True`` if the pane displays a border.
-
- """
- return _aui.PaneInfo_HasBorder(*args, **kwargs)
+ """HasBorder(self) -> bool"""
+ return _aui.AuiPaneInfo_HasBorder(*args, **kwargs)
def HasCloseButton(*args, **kwargs):
- """
- HasCloseButton(self) -> bool
-
- HasCloseButton returns ``True`` if the pane displays a button to close
- the pane.
-
- """
- return _aui.PaneInfo_HasCloseButton(*args, **kwargs)
+ """HasCloseButton(self) -> bool"""
+ return _aui.AuiPaneInfo_HasCloseButton(*args, **kwargs)
def HasMaximizeButton(*args, **kwargs):
- """
- HasMaximizeButton(self) -> bool
-
- HasMaximizeButton returns ``True`` if the pane displays a button to
- maximize the pane.
-
- """
- return _aui.PaneInfo_HasMaximizeButton(*args, **kwargs)
+ """HasMaximizeButton(self) -> bool"""
+ return _aui.AuiPaneInfo_HasMaximizeButton(*args, **kwargs)
def HasMinimizeButton(*args, **kwargs):
- """
- HasMinimizeButton(self) -> bool
-
- HasMinimizeButton returns ``True`` if the pane displays a button to
- minimize the pane.
-
- """
- return _aui.PaneInfo_HasMinimizeButton(*args, **kwargs)
+ """HasMinimizeButton(self) -> bool"""
+ return _aui.AuiPaneInfo_HasMinimizeButton(*args, **kwargs)
def HasPinButton(*args, **kwargs):
- """
- HasPinButton(self) -> bool
-
- HasPinButton returns ``True`` if the pane displays a button to float
- the pane.
-
- """
- return _aui.PaneInfo_HasPinButton(*args, **kwargs)
+ """HasPinButton(self) -> bool"""
+ return _aui.AuiPaneInfo_HasPinButton(*args, **kwargs)
def HasGripperTop(*args, **kwargs):
"""HasGripperTop(self) -> bool"""
- return _aui.PaneInfo_HasGripperTop(*args, **kwargs)
+ return _aui.AuiPaneInfo_HasGripperTop(*args, **kwargs)
def Window(*args, **kwargs):
- """Window(self, Window w) -> PaneInfo"""
- return _aui.PaneInfo_Window(*args, **kwargs)
+ """Window(self, Window w) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_Window(*args, **kwargs)
def Name(*args, **kwargs):
- """
- Name(self, String n) -> PaneInfo
-
- Name sets the name of the pane so it can be referenced in lookup
- functions.
-
- """
- return _aui.PaneInfo_Name(*args, **kwargs)
+ """Name(self, String n) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_Name(*args, **kwargs)
def Caption(*args, **kwargs):
- """
- Caption(self, String c) -> PaneInfo
-
- Caption sets the caption of the pane.
-
- """
- return _aui.PaneInfo_Caption(*args, **kwargs)
+ """Caption(self, String c) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_Caption(*args, **kwargs)
def Left(*args, **kwargs):
- """
- Left(self) -> PaneInfo
-
- Left sets the pane dock position to the left side of the frame.
-
- """
- return _aui.PaneInfo_Left(*args, **kwargs)
+ """Left(self) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_Left(*args, **kwargs)
def Right(*args, **kwargs):
- """
- Right(self) -> PaneInfo
-
- Right sets the pane dock position to the right side of the frame.
-
- """
- return _aui.PaneInfo_Right(*args, **kwargs)
+ """Right(self) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_Right(*args, **kwargs)
def Top(*args, **kwargs):
- """
- Top(self) -> PaneInfo
-
- Top sets the pane dock position to the top of the frame.
-
- """
- return _aui.PaneInfo_Top(*args, **kwargs)
+ """Top(self) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_Top(*args, **kwargs)
def Bottom(*args, **kwargs):
- """
- Bottom(self) -> PaneInfo
-
- Bottom sets the pane dock position to the bottom of the frame.
-
- """
- return _aui.PaneInfo_Bottom(*args, **kwargs)
+ """Bottom(self) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_Bottom(*args, **kwargs)
def Center(*args, **kwargs):
- """
- Center(self) -> PaneInfo
-
- Center sets the pane to the center position of the frame.
-
- """
- return _aui.PaneInfo_Center(*args, **kwargs)
+ """Center(self) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_Center(*args, **kwargs)
def Centre(*args, **kwargs):
- """
- Centre(self) -> PaneInfo
-
- Centre sets the pane to the center position of the frame.
-
- """
- return _aui.PaneInfo_Centre(*args, **kwargs)
+ """Centre(self) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_Centre(*args, **kwargs)
def Direction(*args, **kwargs):
- """
- Direction(self, int direction) -> PaneInfo
-
- Direction determines the direction of the docked pane.
-
- """
- return _aui.PaneInfo_Direction(*args, **kwargs)
+ """Direction(self, int direction) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_Direction(*args, **kwargs)
def Layer(*args, **kwargs):
- """
- Layer(self, int layer) -> PaneInfo
-
- Layer determines the layer of the docked pane.
-
- """
- return _aui.PaneInfo_Layer(*args, **kwargs)
+ """Layer(self, int layer) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_Layer(*args, **kwargs)
def Row(*args, **kwargs):
- """
- Row(self, int row) -> PaneInfo
-
- Row determines the row of the docked pane.
-
- """
- return _aui.PaneInfo_Row(*args, **kwargs)
+ """Row(self, int row) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_Row(*args, **kwargs)
def Position(*args, **kwargs):
- """
- Position(self, int pos) -> PaneInfo
-
- Position determines the position of the docked pane.
-
- """
- return _aui.PaneInfo_Position(*args, **kwargs)
+ """Position(self, int pos) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_Position(*args, **kwargs)
def BestSize(*args, **kwargs):
- """
- BestSize(self, Size size) -> PaneInfo
-
- BestSize sets the ideal size for the pane.
-
- """
- return _aui.PaneInfo_BestSize(*args, **kwargs)
+ """BestSize(self, Size size) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_BestSize(*args, **kwargs)
def MinSize(*args, **kwargs):
- """
- MinSize(self, Size size) -> PaneInfo
-
- MinSize sets the minimum size of the pane.
-
- """
- return _aui.PaneInfo_MinSize(*args, **kwargs)
+ """MinSize(self, Size size) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_MinSize(*args, **kwargs)
def MaxSize(*args, **kwargs):
- """
- MaxSize(self, Size size) -> PaneInfo
-
- MaxSize sets the maximum size of the pane.
-
- """
- return _aui.PaneInfo_MaxSize(*args, **kwargs)
+ """MaxSize(self, Size size) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_MaxSize(*args, **kwargs)
def FloatingPosition(*args, **kwargs):
- """
- FloatingPosition(self, Point pos) -> PaneInfo
-
- FloatingPosition sets the position of the floating pane.
-
- """
- return _aui.PaneInfo_FloatingPosition(*args, **kwargs)
+ """FloatingPosition(self, Point pos) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_FloatingPosition(*args, **kwargs)
def FloatingSize(*args, **kwargs):
- """
- FloatingSize(self, Size size) -> PaneInfo
-
- FloatingSize sets the size of the floating pane.
-
- """
- return _aui.PaneInfo_FloatingSize(*args, **kwargs)
+ """FloatingSize(self, Size size) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_FloatingSize(*args, **kwargs)
def Fixed(*args, **kwargs):
- """
- Fixed(self) -> PaneInfo
-
- Fixed forces a pane to be fixed size so that it cannot be resized.
-
- """
- return _aui.PaneInfo_Fixed(*args, **kwargs)
+ """Fixed(self) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_Fixed(*args, **kwargs)
def Resizable(*args, **kwargs):
- """
- Resizable(self, bool resizable=True) -> PaneInfo
-
- Resized allows a pane to be resized if resizable is true, and forces
- it to be a fixed size if resizeable is false.
-
- """
- return _aui.PaneInfo_Resizable(*args, **kwargs)
+ """Resizable(self, bool resizable=True) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_Resizable(*args, **kwargs)
def Dock(*args, **kwargs):
- """
- Dock(self) -> PaneInfo
-
- Dock indicates that a pane should be docked.
-
- """
- return _aui.PaneInfo_Dock(*args, **kwargs)
+ """Dock(self) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_Dock(*args, **kwargs)
def Float(*args, **kwargs):
- """
- Float(self) -> PaneInfo
-
- Float indicates that a pane should be floated.
-
- """
- return _aui.PaneInfo_Float(*args, **kwargs)
+ """Float(self) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_Float(*args, **kwargs)
def Hide(*args, **kwargs):
- """
- Hide(self) -> PaneInfo
-
- Hide indicates that a pane should be hidden.
-
- """
- return _aui.PaneInfo_Hide(*args, **kwargs)
+ """Hide(self) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_Hide(*args, **kwargs)
def Show(*args, **kwargs):
- """
- Show(self, bool show=True) -> PaneInfo
-
- Show indicates that a pane should be shown.
-
- """
- return _aui.PaneInfo_Show(*args, **kwargs)
+ """Show(self, bool show=True) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_Show(*args, **kwargs)
def CaptionVisible(*args, **kwargs):
- """
- CaptionVisible(self, bool visible=True) -> PaneInfo
+ """CaptionVisible(self, bool visible=True) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_CaptionVisible(*args, **kwargs)
- CaptionVisible indicates that a pane caption should be visible.
+ def Maximize(*args, **kwargs):
+ """Maximize(self) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_Maximize(*args, **kwargs)
- """
- return _aui.PaneInfo_CaptionVisible(*args, **kwargs)
+ def Restore(*args, **kwargs):
+ """Restore(self) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_Restore(*args, **kwargs)
def PaneBorder(*args, **kwargs):
- """
- PaneBorder(self, bool visible=True) -> PaneInfo
-
- PaneBorder indicates that a border should be drawn for the pane.
-
- """
- return _aui.PaneInfo_PaneBorder(*args, **kwargs)
+ """PaneBorder(self, bool visible=True) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_PaneBorder(*args, **kwargs)
def Gripper(*args, **kwargs):
- """
- Gripper(self, bool visible=True) -> PaneInfo
-
- Gripper indicates that a gripper should be drawn for the pane..
-
- """
- return _aui.PaneInfo_Gripper(*args, **kwargs)
+ """Gripper(self, bool visible=True) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_Gripper(*args, **kwargs)
def GripperTop(*args, **kwargs):
- """GripperTop(self, bool attop=True) -> PaneInfo"""
- return _aui.PaneInfo_GripperTop(*args, **kwargs)
+ """GripperTop(self, bool attop=True) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_GripperTop(*args, **kwargs)
def CloseButton(*args, **kwargs):
- """
- CloseButton(self, bool visible=True) -> PaneInfo
-
- CloseButton indicates that a close button should be drawn for the
- pane.
-
- """
- return _aui.PaneInfo_CloseButton(*args, **kwargs)
+ """CloseButton(self, bool visible=True) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_CloseButton(*args, **kwargs)
def MaximizeButton(*args, **kwargs):
- """
- MaximizeButton(self, bool visible=True) -> PaneInfo
-
- MaximizeButton indicates that a maximize button should be drawn for
- the pane.
-
- """
- return _aui.PaneInfo_MaximizeButton(*args, **kwargs)
+ """MaximizeButton(self, bool visible=True) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_MaximizeButton(*args, **kwargs)
def MinimizeButton(*args, **kwargs):
- """
- MinimizeButton(self, bool visible=True) -> PaneInfo
-
- MinimizeButton indicates that a minimize button should be drawn for
- the pane.
-
- """
- return _aui.PaneInfo_MinimizeButton(*args, **kwargs)
+ """MinimizeButton(self, bool visible=True) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_MinimizeButton(*args, **kwargs)
def PinButton(*args, **kwargs):
- """
- PinButton(self, bool visible=True) -> PaneInfo
-
- PinButton indicates that a pin button should be drawn for the pane.
-
- """
- return _aui.PaneInfo_PinButton(*args, **kwargs)
+ """PinButton(self, bool visible=True) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_PinButton(*args, **kwargs)
def DestroyOnClose(*args, **kwargs):
- """
- DestroyOnClose(self, bool b=True) -> PaneInfo
-
- DestroyOnClose indicates whether a pane should be detroyed when it is
- closed.
-
- """
- return _aui.PaneInfo_DestroyOnClose(*args, **kwargs)
+ """DestroyOnClose(self, bool b=True) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_DestroyOnClose(*args, **kwargs)
def TopDockable(*args, **kwargs):
- """
- TopDockable(self, bool b=True) -> PaneInfo
-
- TopDockable indicates whether a pane can be docked at the top of the
- frame.
-
- """
- return _aui.PaneInfo_TopDockable(*args, **kwargs)
+ """TopDockable(self, bool b=True) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_TopDockable(*args, **kwargs)
def BottomDockable(*args, **kwargs):
- """
- BottomDockable(self, bool b=True) -> PaneInfo
-
- BottomDockable indicates whether a pane can be docked at the bottom of
- the frame.
-
- """
- return _aui.PaneInfo_BottomDockable(*args, **kwargs)
+ """BottomDockable(self, bool b=True) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_BottomDockable(*args, **kwargs)
def LeftDockable(*args, **kwargs):
- """
- LeftDockable(self, bool b=True) -> PaneInfo
-
- LeftDockable indicates whether a pane can be docked on the left of the
- frame.
-
- """
- return _aui.PaneInfo_LeftDockable(*args, **kwargs)
+ """LeftDockable(self, bool b=True) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_LeftDockable(*args, **kwargs)
def RightDockable(*args, **kwargs):
- """
- RightDockable(self, bool b=True) -> PaneInfo
-
- RightDockable indicates whether a pane can be docked on the right of
- the frame.
-
- """
- return _aui.PaneInfo_RightDockable(*args, **kwargs)
+ """RightDockable(self, bool b=True) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_RightDockable(*args, **kwargs)
def Floatable(*args, **kwargs):
- """
- Floatable(self, bool b=True) -> PaneInfo
-
- Floatable indicates whether a frame can be floated.
-
- """
- return _aui.PaneInfo_Floatable(*args, **kwargs)
+ """Floatable(self, bool b=True) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_Floatable(*args, **kwargs)
def Movable(*args, **kwargs):
- """
- Movable(self, bool b=True) -> PaneInfo
-
- Movable indicates whether a frame can be moved.
-
- """
- return _aui.PaneInfo_Movable(*args, **kwargs)
+ """Movable(self, bool b=True) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_Movable(*args, **kwargs)
def Dockable(*args, **kwargs):
- """
- Dockable(self, bool b=True) -> PaneInfo
-
- Dockable indicates whether a pane can be docked at any position of the
- frame.
-
- """
- return _aui.PaneInfo_Dockable(*args, **kwargs)
+ """Dockable(self, bool b=True) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_Dockable(*args, **kwargs)
def DefaultPane(*args, **kwargs):
- """
- DefaultPane(self) -> PaneInfo
-
- DefaultPane specifies that the pane should adopt the default pane
- settings.
-
- """
- return _aui.PaneInfo_DefaultPane(*args, **kwargs)
+ """DefaultPane(self) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_DefaultPane(*args, **kwargs)
def CentrePane(*args, **kwargs):
- """
- CentrePane(self) -> PaneInfo
-
- CentrePane specifies that the pane should adopt the default center
- pane settings.
-
- """
- return _aui.PaneInfo_CentrePane(*args, **kwargs)
+ """CentrePane(self) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_CentrePane(*args, **kwargs)
def CenterPane(*args, **kwargs):
- """
- CenterPane(self) -> PaneInfo
-
- CenterPane specifies that the pane should adopt the default center
- pane settings.
-
- """
- return _aui.PaneInfo_CenterPane(*args, **kwargs)
+ """CenterPane(self) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_CenterPane(*args, **kwargs)
def ToolbarPane(*args, **kwargs):
- """
- ToolbarPane(self) -> PaneInfo
-
- ToolbarPane specifies that the pane should adopt the default toolbar
- pane settings.
-
- """
- return _aui.PaneInfo_ToolbarPane(*args, **kwargs)
+ """ToolbarPane(self) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_ToolbarPane(*args, **kwargs)
def SetFlag(*args, **kwargs):
- """
- SetFlag(self, int flag, bool option_state) -> PaneInfo
-
- SetFlag turns the property given by flag on or off with the
- option_state parameter.
-
- """
- return _aui.PaneInfo_SetFlag(*args, **kwargs)
+ """SetFlag(self, int flag, bool option_state) -> AuiPaneInfo"""
+ return _aui.AuiPaneInfo_SetFlag(*args, **kwargs)
def HasFlag(*args, **kwargs):
- """
- HasFlag(self, int flag) -> bool
-
- HasFlag returns ``True`` if the the property specified by flag is
- active for the pane.
-
- """
- return _aui.PaneInfo_HasFlag(*args, **kwargs)
-
- optionFloating = _aui.PaneInfo_optionFloating
- optionHidden = _aui.PaneInfo_optionHidden
- optionLeftDockable = _aui.PaneInfo_optionLeftDockable
- optionRightDockable = _aui.PaneInfo_optionRightDockable
- optionTopDockable = _aui.PaneInfo_optionTopDockable
- optionBottomDockable = _aui.PaneInfo_optionBottomDockable
- optionFloatable = _aui.PaneInfo_optionFloatable
- optionMovable = _aui.PaneInfo_optionMovable
- optionResizable = _aui.PaneInfo_optionResizable
- optionPaneBorder = _aui.PaneInfo_optionPaneBorder
- optionCaption = _aui.PaneInfo_optionCaption
- optionGripper = _aui.PaneInfo_optionGripper
- optionDestroyOnClose = _aui.PaneInfo_optionDestroyOnClose
- optionToolbar = _aui.PaneInfo_optionToolbar
- optionActive = _aui.PaneInfo_optionActive
- optionGripperTop = _aui.PaneInfo_optionGripperTop
- buttonClose = _aui.PaneInfo_buttonClose
- buttonMaximize = _aui.PaneInfo_buttonMaximize
- buttonMinimize = _aui.PaneInfo_buttonMinimize
- buttonPin = _aui.PaneInfo_buttonPin
- buttonCustom1 = _aui.PaneInfo_buttonCustom1
- buttonCustom2 = _aui.PaneInfo_buttonCustom2
- buttonCustom3 = _aui.PaneInfo_buttonCustom3
- actionPane = _aui.PaneInfo_actionPane
- name = property(_aui.PaneInfo_name_get, _aui.PaneInfo_name_set)
- caption = property(_aui.PaneInfo_caption_get, _aui.PaneInfo_caption_set)
- window = property(_aui.PaneInfo_window_get, _aui.PaneInfo_window_set)
- frame = property(_aui.PaneInfo_frame_get, _aui.PaneInfo_frame_set)
- state = property(_aui.PaneInfo_state_get, _aui.PaneInfo_state_set)
- dock_direction = property(_aui.PaneInfo_dock_direction_get, _aui.PaneInfo_dock_direction_set)
- dock_layer = property(_aui.PaneInfo_dock_layer_get, _aui.PaneInfo_dock_layer_set)
- dock_row = property(_aui.PaneInfo_dock_row_get, _aui.PaneInfo_dock_row_set)
- dock_pos = property(_aui.PaneInfo_dock_pos_get, _aui.PaneInfo_dock_pos_set)
- best_size = property(_aui.PaneInfo_best_size_get, _aui.PaneInfo_best_size_set)
- min_size = property(_aui.PaneInfo_min_size_get, _aui.PaneInfo_min_size_set)
- max_size = property(_aui.PaneInfo_max_size_get, _aui.PaneInfo_max_size_set)
- floating_pos = property(_aui.PaneInfo_floating_pos_get, _aui.PaneInfo_floating_pos_set)
- floating_size = property(_aui.PaneInfo_floating_size_get, _aui.PaneInfo_floating_size_set)
- dock_proportion = property(_aui.PaneInfo_dock_proportion_get, _aui.PaneInfo_dock_proportion_set)
- buttons = property(_aui.PaneInfo_buttons_get, _aui.PaneInfo_buttons_set)
- rect = property(_aui.PaneInfo_rect_get, _aui.PaneInfo_rect_set)
-_aui.PaneInfo_swigregister(PaneInfo)
+ """HasFlag(self, int flag) -> bool"""
+ return _aui.AuiPaneInfo_HasFlag(*args, **kwargs)
+
+ optionFloating = _aui.AuiPaneInfo_optionFloating
+ optionHidden = _aui.AuiPaneInfo_optionHidden
+ optionLeftDockable = _aui.AuiPaneInfo_optionLeftDockable
+ optionRightDockable = _aui.AuiPaneInfo_optionRightDockable
+ optionTopDockable = _aui.AuiPaneInfo_optionTopDockable
+ optionBottomDockable = _aui.AuiPaneInfo_optionBottomDockable
+ optionFloatable = _aui.AuiPaneInfo_optionFloatable
+ optionMovable = _aui.AuiPaneInfo_optionMovable
+ optionResizable = _aui.AuiPaneInfo_optionResizable
+ optionPaneBorder = _aui.AuiPaneInfo_optionPaneBorder
+ optionCaption = _aui.AuiPaneInfo_optionCaption
+ optionGripper = _aui.AuiPaneInfo_optionGripper
+ optionDestroyOnClose = _aui.AuiPaneInfo_optionDestroyOnClose
+ optionToolbar = _aui.AuiPaneInfo_optionToolbar
+ optionActive = _aui.AuiPaneInfo_optionActive
+ optionGripperTop = _aui.AuiPaneInfo_optionGripperTop
+ optionMaximized = _aui.AuiPaneInfo_optionMaximized
+ buttonClose = _aui.AuiPaneInfo_buttonClose
+ buttonMaximize = _aui.AuiPaneInfo_buttonMaximize
+ buttonMinimize = _aui.AuiPaneInfo_buttonMinimize
+ buttonPin = _aui.AuiPaneInfo_buttonPin
+ 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)
+ window = property(_aui.AuiPaneInfo_window_get, _aui.AuiPaneInfo_window_set)
+ frame = property(_aui.AuiPaneInfo_frame_get, _aui.AuiPaneInfo_frame_set)
+ state = property(_aui.AuiPaneInfo_state_get, _aui.AuiPaneInfo_state_set)
+ dock_direction = property(_aui.AuiPaneInfo_dock_direction_get, _aui.AuiPaneInfo_dock_direction_set)
+ dock_layer = property(_aui.AuiPaneInfo_dock_layer_get, _aui.AuiPaneInfo_dock_layer_set)
+ dock_row = property(_aui.AuiPaneInfo_dock_row_get, _aui.AuiPaneInfo_dock_row_set)
+ dock_pos = property(_aui.AuiPaneInfo_dock_pos_get, _aui.AuiPaneInfo_dock_pos_set)
+ best_size = property(_aui.AuiPaneInfo_best_size_get, _aui.AuiPaneInfo_best_size_set)
+ min_size = property(_aui.AuiPaneInfo_min_size_get, _aui.AuiPaneInfo_min_size_set)
+ max_size = property(_aui.AuiPaneInfo_max_size_get, _aui.AuiPaneInfo_max_size_set)
+ floating_pos = property(_aui.AuiPaneInfo_floating_pos_get, _aui.AuiPaneInfo_floating_pos_set)
+ floating_size = property(_aui.AuiPaneInfo_floating_size_get, _aui.AuiPaneInfo_floating_size_set)
+ dock_proportion = property(_aui.AuiPaneInfo_dock_proportion_get, _aui.AuiPaneInfo_dock_proportion_set)
+ buttons = property(_aui.AuiPaneInfo_buttons_get, _aui.AuiPaneInfo_buttons_set)
+ rect = property(_aui.AuiPaneInfo_rect_get, _aui.AuiPaneInfo_rect_set)
+_aui.AuiPaneInfo_swigregister(AuiPaneInfo)
cvar = _aui.cvar
-class FrameManager(_core.EvtHandler):
- """
- FrameManager manages the panes associated with it for a particular
- `wx.Frame`, using a pane's `PaneInfo` information to determine each
- pane's docking and floating behavior. FrameManager uses wxWidgets'
- sizer mechanism to plan the layout of each frame. It uses a
- replaceable `DockArt` class to do all drawing, so all drawing is
- localized in one area, and may be customized depending on an
- application's specific needs.
-
- """
+class AuiManager(_core.EvtHandler):
+ """Proxy of C++ AuiManager 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 managed_wnd=None, int flags=AUI_MGR_DEFAULT) -> FrameManager
-
- Constructor.
-
- :param managed_wnd: Specifies the `wx.Window` which should be
- managed. If not set in the call to this constructor then
- `SetManagedWindow` should be called later.
-
- :param flags: Specifies options which allow the frame management
- behavior to be modified.
-
- """
- _aui.FrameManager_swiginit(self,_aui.new_FrameManager(*args, **kwargs))
- __swig_destroy__ = _aui.delete_FrameManager
+ """__init__(self, Window managed_wnd=None, int flags=AUI_MGR_DEFAULT) -> AuiManager"""
+ _aui.AuiManager_swiginit(self,_aui.new_AuiManager(*args, **kwargs))
+ __swig_destroy__ = _aui.delete_AuiManager
__del__ = lambda self : None;
def UnInit(*args, **kwargs):
- """
- UnInit(self)
-
- UnInit uninitializes the framework and should be called before a
- managed frame is destroyed. UnInit is usually called in the managed
- window's destructor.
-
- """
- return _aui.FrameManager_UnInit(*args, **kwargs)
+ """UnInit(self)"""
+ return _aui.AuiManager_UnInit(*args, **kwargs)
def SetFlags(*args, **kwargs):
- """
- SetFlags(self, int flags)
-
- SetFlags is used to specify the FrameManager's behavioral
- settings. The flags parameter is described in the docs for `__init__`
-
- """
- return _aui.FrameManager_SetFlags(*args, **kwargs)
+ """SetFlags(self, int flags)"""
+ return _aui.AuiManager_SetFlags(*args, **kwargs)
def GetFlags(*args, **kwargs):
- """
- GetFlags(self) -> int
-
- GetFlags returns the current FrameManager's flags.
-
- """
- return _aui.FrameManager_GetFlags(*args, **kwargs)
+ """GetFlags(self) -> int"""
+ return _aui.AuiManager_GetFlags(*args, **kwargs)
def SetManagedWindow(*args, **kwargs):
- """
- SetManagedWindow(self, Window managed_wnd)
-
- SetManagedWindow is called to specify the window which is to be
- managed by the FrameManager. It is normally a `wx.Frame` but it is
- possible to also allow docking within any container window. This only
- needs to be called if the window was not given to the manager in the
- constructor.
-
- """
- return _aui.FrameManager_SetManagedWindow(*args, **kwargs)
+ """SetManagedWindow(self, Window managed_wnd)"""
+ return _aui.AuiManager_SetManagedWindow(*args, **kwargs)
def GetManagedWindow(*args, **kwargs):
- """
- GetManagedWindow(self) -> Window
+ """GetManagedWindow(self) -> Window"""
+ return _aui.AuiManager_GetManagedWindow(*args, **kwargs)
- GetManagedWindow returns the window currently being managed by the
- FrameManager.
-
- """
- return _aui.FrameManager_GetManagedWindow(*args, **kwargs)
+ def GetManager(*args, **kwargs):
+ """GetManager(Window window) -> AuiManager"""
+ return _aui.AuiManager_GetManager(*args, **kwargs)
+ GetManager = staticmethod(GetManager)
def SetArtProvider(*args, **kwargs):
- """
- SetArtProvider(self, DockArt art_provider)
-
- SetArtProvider instructs FrameManager to use the art provider
- specified for all drawing calls. This allows plugable look-and-feel
- features. The previous art provider object, if any, will be destroyed
- by FrameManager.
-
- :note: If you wish to use a custom `DockArt` class to override drawing
- or metrics then you shoudl derive your class from the `PyDockArt`
- class, which has been instrumented for reflecting virtual calls to
- Python methods.
-
- """
- return _aui.FrameManager_SetArtProvider(*args, **kwargs)
+ """SetArtProvider(self, AuiDockArt art_provider)"""
+ return _aui.AuiManager_SetArtProvider(*args, **kwargs)
def GetArtProvider(*args, **kwargs):
- """
- GetArtProvider(self) -> DockArt
-
- GetArtProvider returns the current art provider being used.
-
- """
- return _aui.FrameManager_GetArtProvider(*args, **kwargs)
+ """GetArtProvider(self) -> AuiDockArt"""
+ return _aui.AuiManager_GetArtProvider(*args, **kwargs)
def _GetPaneByWidget(*args, **kwargs):
- """_GetPaneByWidget(self, Window window) -> PaneInfo"""
- return _aui.FrameManager__GetPaneByWidget(*args, **kwargs)
+ """_GetPaneByWidget(self, Window window) -> AuiPaneInfo"""
+ return _aui.AuiManager__GetPaneByWidget(*args, **kwargs)
def _GetPaneByName(*args, **kwargs):
- """_GetPaneByName(self, String name) -> PaneInfo"""
- return _aui.FrameManager__GetPaneByName(*args, **kwargs)
+ """_GetPaneByName(self, String name) -> AuiPaneInfo"""
+ return _aui.AuiManager__GetPaneByName(*args, **kwargs)
def GetAllPanes(*args, **kwargs):
- """
- GetAllPanes(self) -> list
-
- GetAllPanes returns a list of `PaneInfo` objects for all panes managed
- by the frame manager.
-
- """
- return _aui.FrameManager_GetAllPanes(*args, **kwargs)
+ """GetAllPanes(self) -> wxAuiPaneInfoArray"""
+ return _aui.AuiManager_GetAllPanes(*args, **kwargs)
def _AddPane1(*args, **kwargs):
- """_AddPane1(self, Window window, PaneInfo pane_info) -> bool"""
- return _aui.FrameManager__AddPane1(*args, **kwargs)
+ """_AddPane1(self, Window window, AuiPaneInfo pane_info) -> bool"""
+ return _aui.AuiManager__AddPane1(*args, **kwargs)
- def AddPaneAtPos(*args, **kwargs):
- """AddPaneAtPos(self, Window window, PaneInfo pane_info, Point drop_pos) -> bool"""
- return _aui.FrameManager_AddPaneAtPos(*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"""
- return _aui.FrameManager__AddPane2(*args, **kwargs)
+ return _aui.AuiManager__AddPane2(*args, **kwargs)
def InsertPane(*args, **kwargs):
- """
- InsertPane(self, Window window, PaneInfo insert_location, int insert_level=AUI_INSERT_PANE) -> bool
-
- InsertPane is used to insert either a previously unmanaged pane window
- into the frame manager, or to insert a currently managed pane
- somewhere else. InsertPane will push all panes, rows, or docks aside
- and insert the window into the position specified by
- ``insert_location``. Because ``insert_location`` can specify either a pane,
- dock row, or dock layer, the ``insert_level`` parameter is used to
- disambiguate this. The parameter ``insert_level`` can take a value of
- ``AUI_INSERT_PANE``, ``AUI_INSERT_ROW`` or ``AUI_INSERT_DOCK``.
-
- """
- return _aui.FrameManager_InsertPane(*args, **kwargs)
+ """InsertPane(self, Window window, AuiPaneInfo insert_location, int insert_level=AUI_INSERT_PANE) -> bool"""
+ return _aui.AuiManager_InsertPane(*args, **kwargs)
def DetachPane(*args, **kwargs):
- """
- DetachPane(self, Window window) -> bool
-
- DetachPane tells the FrameManager to stop managing the pane specified
- by window. The window, if in a floated frame, is reparented to the
- frame managed by FrameManager.
+ """DetachPane(self, Window window) -> bool"""
+ return _aui.AuiManager_DetachPane(*args, **kwargs)
- """
- return _aui.FrameManager_DetachPane(*args, **kwargs)
+ def Update(*args, **kwargs):
+ """Update(self)"""
+ return _aui.AuiManager_Update(*args, **kwargs)
def SavePaneInfo(*args, **kwargs):
- """SavePaneInfo(self, PaneInfo pane) -> String"""
- return _aui.FrameManager_SavePaneInfo(*args, **kwargs)
+ """SavePaneInfo(self, AuiPaneInfo pane) -> String"""
+ return _aui.AuiManager_SavePaneInfo(*args, **kwargs)
def LoadPaneInfo(*args, **kwargs):
- """LoadPaneInfo(self, String pane_part, PaneInfo pane)"""
- return _aui.FrameManager_LoadPaneInfo(*args, **kwargs)
+ """LoadPaneInfo(self, String pane_part, AuiPaneInfo pane)"""
+ return _aui.AuiManager_LoadPaneInfo(*args, **kwargs)
def SavePerspective(*args, **kwargs):
- """
- SavePerspective(self) -> String
+ """SavePerspective(self) -> String"""
+ return _aui.AuiManager_SavePerspective(*args, **kwargs)
- SavePerspective saves the entire user interface layout into an encoded
- string, which can then be stored someplace by the application. When a
- perspective is restored using `LoadPerspective`, the entire user
- interface will return to the state it was when the perspective was
- saved.
+ def LoadPerspective(*args, **kwargs):
+ """LoadPerspective(self, String perspective, bool update=True) -> bool"""
+ return _aui.AuiManager_LoadPerspective(*args, **kwargs)
- """
- return _aui.FrameManager_SavePerspective(*args, **kwargs)
+ def SetDockSizeConstraint(*args, **kwargs):
+ """SetDockSizeConstraint(self, double width_pct, double height_pct)"""
+ return _aui.AuiManager_SetDockSizeConstraint(*args, **kwargs)
- def LoadPerspective(*args, **kwargs):
- """
- LoadPerspective(self, String perspective, bool update=True) -> bool
+ def GetDockSizeConstraint(*args, **kwargs):
+ """GetDockSizeConstraint(self, double width_pct, double height_pct)"""
+ return _aui.AuiManager_GetDockSizeConstraint(*args, **kwargs)
- LoadPerspective loads a saved perspective. If ``update`` is ``True``,
- `Update` is automatically invoked, thus realizing the saved
- perspective on screen.
+ def ClosePane(*args, **kwargs):
+ """ClosePane(self, AuiPaneInfo pane_info)"""
+ return _aui.AuiManager_ClosePane(*args, **kwargs)
- """
- return _aui.FrameManager_LoadPerspective(*args, **kwargs)
+ def MaximizePane(*args, **kwargs):
+ """MaximizePane(self, AuiPaneInfo pane_info)"""
+ return _aui.AuiManager_MaximizePane(*args, **kwargs)
- def Update(*args, **kwargs):
- """
- Update(self)
+ def RestorePane(*args, **kwargs):
+ """RestorePane(self, AuiPaneInfo pane_info)"""
+ return _aui.AuiManager_RestorePane(*args, **kwargs)
- Update shoudl be called called after any number of changes are made to
- any of the managed panes. Update must be invoked after `AddPane` or
- `InsertPane` are called in order to "realize" or "commit" the
- changes. In addition, any number of changes may be made to `PaneInfo`
- structures (retrieved with `GetPane` or `GetAllPanes`), but to realize
- the changes, Update must be called. This construction allows pane
- flicker to be avoided by updating the whole layout at one time.
+ def RestoreMaximizedPane(*args, **kwargs):
+ """RestoreMaximizedPane(self)"""
+ return _aui.AuiManager_RestoreMaximizedPane(*args, **kwargs)
- """
- return _aui.FrameManager_Update(*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)
def DrawHintRect(*args, **kwargs):
"""DrawHintRect(self, Window pane_window, Point pt, Point offset)"""
- return _aui.FrameManager_DrawHintRect(*args, **kwargs)
+ return _aui.AuiManager_DrawHintRect(*args, **kwargs)
def ShowHint(*args, **kwargs):
"""ShowHint(self, Rect rect)"""
- return _aui.FrameManager_ShowHint(*args, **kwargs)
+ return _aui.AuiManager_ShowHint(*args, **kwargs)
def HideHint(*args, **kwargs):
"""HideHint(self)"""
- return _aui.FrameManager_HideHint(*args, **kwargs)
+ return _aui.AuiManager_HideHint(*args, **kwargs)
def OnRender(*args, **kwargs):
- """OnRender(self, FrameManagerEvent evt)"""
- return _aui.FrameManager_OnRender(*args, **kwargs)
+ """OnRender(self, AuiManagerEvent evt)"""
+ return _aui.AuiManager_OnRender(*args, **kwargs)
def OnPaneButton(*args, **kwargs):
- """OnPaneButton(self, FrameManagerEvent evt)"""
- return _aui.FrameManager_OnPaneButton(*args, **kwargs)
+ """OnPaneButton(self, AuiManagerEvent evt)"""
+ return _aui.AuiManager_OnPaneButton(*args, **kwargs)
def GetPane(self, item):
"""
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:
GetFrame = wx._deprecated(GetManagedWindow,
"GetFrame is deprecated, use `GetManagedWindow` instead.")
-_aui.FrameManager_swigregister(FrameManager)
+ 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.AuiManager_swigregister(AuiManager)
+
+def AuiManager_GetManager(*args, **kwargs):
+ """AuiManager_GetManager(Window window) -> AuiManager"""
+ return _aui.AuiManager_GetManager(*args, **kwargs)
-class FrameManagerEvent(_core.Event):
- """Proxy of C++ FrameManagerEvent class"""
+class AuiManagerEvent(_core.Event):
+ """Proxy of C++ AuiManagerEvent 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, EventType type=wxEVT_NULL) -> FrameManagerEvent"""
- _aui.FrameManagerEvent_swiginit(self,_aui.new_FrameManagerEvent(*args, **kwargs))
+ """__init__(self, EventType type=wxEVT_NULL) -> AuiManagerEvent"""
+ _aui.AuiManagerEvent_swiginit(self,_aui.new_AuiManagerEvent(*args, **kwargs))
def Clone(*args, **kwargs):
"""Clone(self) -> Event"""
- return _aui.FrameManagerEvent_Clone(*args, **kwargs)
+ return _aui.AuiManagerEvent_Clone(*args, **kwargs)
+
+ def SetManager(*args, **kwargs):
+ """SetManager(self, AuiManager mgr)"""
+ return _aui.AuiManagerEvent_SetManager(*args, **kwargs)
def SetPane(*args, **kwargs):
- """SetPane(self, PaneInfo p)"""
- return _aui.FrameManagerEvent_SetPane(*args, **kwargs)
+ """SetPane(self, AuiPaneInfo p)"""
+ return _aui.AuiManagerEvent_SetPane(*args, **kwargs)
def SetButton(*args, **kwargs):
"""SetButton(self, int b)"""
- return _aui.FrameManagerEvent_SetButton(*args, **kwargs)
+ return _aui.AuiManagerEvent_SetButton(*args, **kwargs)
def SetDC(*args, **kwargs):
"""SetDC(self, DC pdc)"""
- return _aui.FrameManagerEvent_SetDC(*args, **kwargs)
+ return _aui.AuiManagerEvent_SetDC(*args, **kwargs)
+
+ def GetManager(*args, **kwargs):
+ """GetManager(self) -> AuiManager"""
+ return _aui.AuiManagerEvent_GetManager(*args, **kwargs)
def GetPane(*args, **kwargs):
- """GetPane(self) -> PaneInfo"""
- return _aui.FrameManagerEvent_GetPane(*args, **kwargs)
+ """GetPane(self) -> AuiPaneInfo"""
+ return _aui.AuiManagerEvent_GetPane(*args, **kwargs)
def GetButton(*args, **kwargs):
"""GetButton(self) -> int"""
- return _aui.FrameManagerEvent_GetButton(*args, **kwargs)
+ return _aui.AuiManagerEvent_GetButton(*args, **kwargs)
def GetDC(*args, **kwargs):
"""GetDC(self) -> DC"""
- return _aui.FrameManagerEvent_GetDC(*args, **kwargs)
+ return _aui.AuiManagerEvent_GetDC(*args, **kwargs)
def Veto(*args, **kwargs):
"""Veto(self, bool veto=True)"""
- return _aui.FrameManagerEvent_Veto(*args, **kwargs)
+ return _aui.AuiManagerEvent_Veto(*args, **kwargs)
def GetVeto(*args, **kwargs):
"""GetVeto(self) -> bool"""
- return _aui.FrameManagerEvent_GetVeto(*args, **kwargs)
+ return _aui.AuiManagerEvent_GetVeto(*args, **kwargs)
def SetCanVeto(*args, **kwargs):
"""SetCanVeto(self, bool can_veto)"""
- return _aui.FrameManagerEvent_SetCanVeto(*args, **kwargs)
+ return _aui.AuiManagerEvent_SetCanVeto(*args, **kwargs)
def CanVeto(*args, **kwargs):
"""CanVeto(self) -> bool"""
- return _aui.FrameManagerEvent_CanVeto(*args, **kwargs)
-
- pane = property(_aui.FrameManagerEvent_pane_get, _aui.FrameManagerEvent_pane_set)
- button = property(_aui.FrameManagerEvent_button_get, _aui.FrameManagerEvent_button_set)
- 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)
-_aui.FrameManagerEvent_swigregister(FrameManagerEvent)
-
-class DockInfo(object):
- """Proxy of C++ DockInfo class"""
+ return _aui.AuiManagerEvent_CanVeto(*args, **kwargs)
+
+ manager = property(_aui.AuiManagerEvent_manager_get, _aui.AuiManagerEvent_manager_set)
+ pane = property(_aui.AuiManagerEvent_pane_get, _aui.AuiManagerEvent_pane_set)
+ button = property(_aui.AuiManagerEvent_button_get, _aui.AuiManagerEvent_button_set)
+ veto_flag = property(_aui.AuiManagerEvent_veto_flag_get, _aui.AuiManagerEvent_veto_flag_set)
+ canveto_flag = property(_aui.AuiManagerEvent_canveto_flag_get, _aui.AuiManagerEvent_canveto_flag_set)
+ dc = property(_aui.AuiManagerEvent_dc_get, _aui.AuiManagerEvent_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.AuiManagerEvent_swigregister(AuiManagerEvent)
+
+class AuiDockInfo(object):
+ """Proxy of C++ AuiDockInfo 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) -> DockInfo"""
- _aui.DockInfo_swiginit(self,_aui.new_DockInfo(*args, **kwargs))
+ """__init__(self) -> AuiDockInfo"""
+ _aui.AuiDockInfo_swiginit(self,_aui.new_AuiDockInfo(*args, **kwargs))
def IsOk(*args, **kwargs):
"""IsOk(self) -> bool"""
- return _aui.DockInfo_IsOk(*args, **kwargs)
+ return _aui.AuiDockInfo_IsOk(*args, **kwargs)
def IsHorizontal(*args, **kwargs):
"""IsHorizontal(self) -> bool"""
- return _aui.DockInfo_IsHorizontal(*args, **kwargs)
+ return _aui.AuiDockInfo_IsHorizontal(*args, **kwargs)
def IsVertical(*args, **kwargs):
"""IsVertical(self) -> bool"""
- return _aui.DockInfo_IsVertical(*args, **kwargs)
-
- panes = property(_aui.DockInfo_panes_get, _aui.DockInfo_panes_set)
- rect = property(_aui.DockInfo_rect_get, _aui.DockInfo_rect_set)
- dock_direction = property(_aui.DockInfo_dock_direction_get, _aui.DockInfo_dock_direction_set)
- dock_layer = property(_aui.DockInfo_dock_layer_get, _aui.DockInfo_dock_layer_set)
- dock_row = property(_aui.DockInfo_dock_row_get, _aui.DockInfo_dock_row_set)
- size = property(_aui.DockInfo_size_get, _aui.DockInfo_size_set)
- min_size = property(_aui.DockInfo_min_size_get, _aui.DockInfo_min_size_set)
- 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)
-_aui.DockInfo_swigregister(DockInfo)
-
-class DockUIPart(object):
- """Proxy of C++ DockUIPart class"""
+ return _aui.AuiDockInfo_IsVertical(*args, **kwargs)
+
+ panes = property(_aui.AuiDockInfo_panes_get, _aui.AuiDockInfo_panes_set)
+ rect = property(_aui.AuiDockInfo_rect_get, _aui.AuiDockInfo_rect_set)
+ dock_direction = property(_aui.AuiDockInfo_dock_direction_get, _aui.AuiDockInfo_dock_direction_set)
+ dock_layer = property(_aui.AuiDockInfo_dock_layer_get, _aui.AuiDockInfo_dock_layer_set)
+ dock_row = property(_aui.AuiDockInfo_dock_row_get, _aui.AuiDockInfo_dock_row_set)
+ size = property(_aui.AuiDockInfo_size_get, _aui.AuiDockInfo_size_set)
+ min_size = property(_aui.AuiDockInfo_min_size_get, _aui.AuiDockInfo_min_size_set)
+ 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)
+
+class AuiDockUIPart(object):
+ """Proxy of C++ AuiDockUIPart 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
- typeCaption = _aui.DockUIPart_typeCaption
- typeGripper = _aui.DockUIPart_typeGripper
- typeDock = _aui.DockUIPart_typeDock
- typeDockSizer = _aui.DockUIPart_typeDockSizer
- typePane = _aui.DockUIPart_typePane
- typePaneSizer = _aui.DockUIPart_typePaneSizer
- typeBackground = _aui.DockUIPart_typeBackground
- typePaneBorder = _aui.DockUIPart_typePaneBorder
- typePaneButton = _aui.DockUIPart_typePaneButton
- type = property(_aui.DockUIPart_type_get, _aui.DockUIPart_type_set)
- orientation = property(_aui.DockUIPart_orientation_get, _aui.DockUIPart_orientation_set)
- dock = property(_aui.DockUIPart_dock_get, _aui.DockUIPart_dock_set)
- pane = property(_aui.DockUIPart_pane_get, _aui.DockUIPart_pane_set)
- button = property(_aui.DockUIPart_button_get, _aui.DockUIPart_button_set)
- 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)
-_aui.DockUIPart_swigregister(DockUIPart)
-
-class PaneButton(object):
- """Proxy of C++ PaneButton class"""
+ typeCaption = _aui.AuiDockUIPart_typeCaption
+ typeGripper = _aui.AuiDockUIPart_typeGripper
+ typeDock = _aui.AuiDockUIPart_typeDock
+ typeDockSizer = _aui.AuiDockUIPart_typeDockSizer
+ typePane = _aui.AuiDockUIPart_typePane
+ typePaneSizer = _aui.AuiDockUIPart_typePaneSizer
+ typeBackground = _aui.AuiDockUIPart_typeBackground
+ typePaneBorder = _aui.AuiDockUIPart_typePaneBorder
+ typePaneButton = _aui.AuiDockUIPart_typePaneButton
+ type = property(_aui.AuiDockUIPart_type_get, _aui.AuiDockUIPart_type_set)
+ orientation = property(_aui.AuiDockUIPart_orientation_get, _aui.AuiDockUIPart_orientation_set)
+ dock = property(_aui.AuiDockUIPart_dock_get, _aui.AuiDockUIPart_dock_set)
+ pane = property(_aui.AuiDockUIPart_pane_get, _aui.AuiDockUIPart_pane_set)
+ button = property(_aui.AuiDockUIPart_button_get, _aui.AuiDockUIPart_button_set)
+ cont_sizer = property(_aui.AuiDockUIPart_cont_sizer_get, _aui.AuiDockUIPart_cont_sizer_set)
+ sizer_item = property(_aui.AuiDockUIPart_sizer_item_get, _aui.AuiDockUIPart_sizer_item_set)
+ rect = property(_aui.AuiDockUIPart_rect_get, _aui.AuiDockUIPart_rect_set)
+ __swig_destroy__ = _aui.delete_AuiDockUIPart
+ __del__ = lambda self : None;
+_aui.AuiDockUIPart_swigregister(AuiDockUIPart)
+
+class AuiPaneButton(object):
+ """Proxy of C++ AuiPaneButton 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
- button_id = property(_aui.PaneButton_button_id_get, _aui.PaneButton_button_id_set)
-_aui.PaneButton_swigregister(PaneButton)
+ button_id = property(_aui.AuiPaneButton_button_id_get, _aui.AuiPaneButton_button_id_set)
+ __swig_destroy__ = _aui.delete_AuiPaneButton
+ __del__ = lambda self : None;
+_aui.AuiPaneButton_swigregister(AuiPaneButton)
-wxEVT_AUI_PANEBUTTON = _aui.wxEVT_AUI_PANEBUTTON
-wxEVT_AUI_PANECLOSE = _aui.wxEVT_AUI_PANECLOSE
+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
-EVT_AUI_PANEBUTTON = wx.PyEventBinder( wxEVT_AUI_PANEBUTTON )
-EVT_AUI_PANECLOSE = wx.PyEventBinder( wxEVT_AUI_PANECLOSE )
+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_FIND_MANAGER = wx.PyEventBinder( wxEVT_AUI_FIND_MANAGER )
-class DockArt(object):
- """
- DockArt is an art provider class which does all of the drawing for
- `FrameManager`. This allows the library caller to customize or replace the
- dock art and drawing routines by deriving a new class from `PyDockArt`. The
- active dock art class can be set via `FrameManager.SetArtProvider`.
-
- """
+class AuiDockArt(object):
+ """Proxy of C++ AuiDockArt 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
- __swig_destroy__ = _aui.delete_DockArt
+ __swig_destroy__ = _aui.delete_AuiDockArt
__del__ = lambda self : None;
def GetMetric(*args, **kwargs):
"""GetMetric(self, int id) -> int"""
- return _aui.DockArt_GetMetric(*args, **kwargs)
+ return _aui.AuiDockArt_GetMetric(*args, **kwargs)
def SetMetric(*args, **kwargs):
"""SetMetric(self, int id, int new_val)"""
- return _aui.DockArt_SetMetric(*args, **kwargs)
+ return _aui.AuiDockArt_SetMetric(*args, **kwargs)
def SetFont(*args, **kwargs):
"""SetFont(self, int id, Font font)"""
- return _aui.DockArt_SetFont(*args, **kwargs)
+ return _aui.AuiDockArt_SetFont(*args, **kwargs)
def GetFont(*args, **kwargs):
"""GetFont(self, int id) -> Font"""
- return _aui.DockArt_GetFont(*args, **kwargs)
+ return _aui.AuiDockArt_GetFont(*args, **kwargs)
def GetColour(*args, **kwargs):
"""GetColour(self, int id) -> Colour"""
- return _aui.DockArt_GetColour(*args, **kwargs)
+ return _aui.AuiDockArt_GetColour(*args, **kwargs)
def SetColour(*args, **kwargs):
"""SetColour(self, int id, wxColor colour)"""
- return _aui.DockArt_SetColour(*args, **kwargs)
+ return _aui.AuiDockArt_SetColour(*args, **kwargs)
def GetColor(*args, **kwargs):
"""GetColor(self, int id) -> Colour"""
- return _aui.DockArt_GetColor(*args, **kwargs)
+ return _aui.AuiDockArt_GetColor(*args, **kwargs)
def SetColor(*args, **kwargs):
"""SetColor(self, int id, Colour color)"""
- return _aui.DockArt_SetColor(*args, **kwargs)
+ return _aui.AuiDockArt_SetColor(*args, **kwargs)
def DrawSash(*args, **kwargs):
"""DrawSash(self, DC dc, Window window, int orientation, Rect rect)"""
- return _aui.DockArt_DrawSash(*args, **kwargs)
+ return _aui.AuiDockArt_DrawSash(*args, **kwargs)
def DrawBackground(*args, **kwargs):
"""DrawBackground(self, DC dc, Window window, int orientation, Rect rect)"""
- return _aui.DockArt_DrawBackground(*args, **kwargs)
+ return _aui.AuiDockArt_DrawBackground(*args, **kwargs)
def DrawCaption(*args, **kwargs):
- """DrawCaption(self, DC dc, Window window, String text, Rect rect, PaneInfo pane)"""
- return _aui.DockArt_DrawCaption(*args, **kwargs)
+ """DrawCaption(self, DC dc, Window window, String text, Rect rect, AuiPaneInfo pane)"""
+ return _aui.AuiDockArt_DrawCaption(*args, **kwargs)
def DrawGripper(*args, **kwargs):
- """DrawGripper(self, DC dc, Window window, Rect rect, PaneInfo pane)"""
- return _aui.DockArt_DrawGripper(*args, **kwargs)
+ """DrawGripper(self, DC dc, Window window, Rect rect, AuiPaneInfo pane)"""
+ return _aui.AuiDockArt_DrawGripper(*args, **kwargs)
def DrawBorder(*args, **kwargs):
- """DrawBorder(self, DC dc, Window window, Rect rect, PaneInfo pane)"""
- return _aui.DockArt_DrawBorder(*args, **kwargs)
+ """DrawBorder(self, DC dc, Window window, Rect rect, AuiPaneInfo pane)"""
+ return _aui.AuiDockArt_DrawBorder(*args, **kwargs)
def DrawPaneButton(*args, **kwargs):
"""
DrawPaneButton(self, DC dc, Window window, int button, int button_state,
- Rect rect, PaneInfo pane)
+ Rect rect, AuiPaneInfo pane)
"""
- return _aui.DockArt_DrawPaneButton(*args, **kwargs)
+ return _aui.AuiDockArt_DrawPaneButton(*args, **kwargs)
-_aui.DockArt_swigregister(DockArt)
+_aui.AuiDockArt_swigregister(AuiDockArt)
-class DefaultDockArt(DockArt):
- """
- DefaultDockArt is the type of art class constructed by default for the
- `FrameManager`.
- """
+class AuiDefaultDockArt(AuiDockArt):
+ """Proxy of C++ AuiDefaultDockArt 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) -> DefaultDockArt
-
- DefaultDockArt is the type of art class constructed by default for the
- `FrameManager`.
- """
- _aui.DefaultDockArt_swiginit(self,_aui.new_DefaultDockArt(*args, **kwargs))
-_aui.DefaultDockArt_swigregister(DefaultDockArt)
+ """__init__(self) -> AuiDefaultDockArt"""
+ _aui.AuiDefaultDockArt_swiginit(self,_aui.new_AuiDefaultDockArt(*args, **kwargs))
+_aui.AuiDefaultDockArt_swigregister(AuiDefaultDockArt)
-class FloatingPane(_windows.MiniFrame):
- """Proxy of C++ FloatingPane class"""
+class AuiFloatingFrame(_windows.MiniFrame):
+ """Proxy of C++ AuiFloatingFrame 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
+ __init__(self, Window parent, AuiManager owner_mgr, AuiPaneInfo pane,
+ int id=ID_ANY, long style=wxRESIZE_BORDER|wxSYSTEM_MENU|wxCAPTION|wxFRAME_NO_TASKBAR|wxFRAME_FLOAT_ON_PARENT|wxCLIP_CHILDREN) -> AuiFloatingFrame
"""
- _aui.FloatingPane_swiginit(self,_aui.new_FloatingPane(*args, **kwargs))
- __swig_destroy__ = _aui.delete_FloatingPane
+ _aui.AuiFloatingFrame_swiginit(self,_aui.new_AuiFloatingFrame(*args, **kwargs))
+ __swig_destroy__ = _aui.delete_AuiFloatingFrame
__del__ = lambda self : None;
def SetPaneWindow(*args, **kwargs):
- """SetPaneWindow(self, PaneInfo pane)"""
- return _aui.FloatingPane_SetPaneWindow(*args, **kwargs)
-
-_aui.FloatingPane_swigregister(FloatingPane)
-
+ """SetPaneWindow(self, AuiPaneInfo pane)"""
+ return _aui.AuiFloatingFrame_SetPaneWindow(*args, **kwargs)
+
+ def GetOwnerManager(*args, **kwargs):
+ """GetOwnerManager(self) -> AuiManager"""
+ return _aui.AuiFloatingFrame_GetOwnerManager(*args, **kwargs)
+
+_aui.AuiFloatingFrame_swigregister(AuiFloatingFrame)
+
+AUI_NB_TOP = _aui.AUI_NB_TOP
+AUI_NB_LEFT = _aui.AUI_NB_LEFT
+AUI_NB_RIGHT = _aui.AUI_NB_RIGHT
+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_TAB_EXTERNAL_MOVE = _aui.AUI_NB_TAB_EXTERNAL_MOVE
+AUI_NB_TAB_FIXED_WIDTH = _aui.AUI_NB_TAB_FIXED_WIDTH
+AUI_NB_SCROLL_BUTTONS = _aui.AUI_NB_SCROLL_BUTTONS
+AUI_NB_WINDOWLIST_BUTTON = _aui.AUI_NB_WINDOWLIST_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
class AuiNotebookEvent(_core.NotifyEvent):
"""Proxy of C++ AuiNotebookEvent class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
"""SetSelection(self, int s)"""
return _aui.AuiNotebookEvent_SetSelection(*args, **kwargs)
- def SetOldSelection(*args, **kwargs):
- """SetOldSelection(self, int s)"""
- return _aui.AuiNotebookEvent_SetOldSelection(*args, **kwargs)
-
def GetSelection(*args, **kwargs):
"""
GetSelection(self) -> int
"""
return _aui.AuiNotebookEvent_GetSelection(*args, **kwargs)
+ def SetOldSelection(*args, **kwargs):
+ """SetOldSelection(self, int s)"""
+ return _aui.AuiNotebookEvent_SetOldSelection(*args, **kwargs)
+
def GetOldSelection(*args, **kwargs):
"""GetOldSelection(self) -> int"""
return _aui.AuiNotebookEvent_GetOldSelection(*args, **kwargs)
+ def SetDragSource(*args, **kwargs):
+ """SetDragSource(self, AuiNotebook s)"""
+ return _aui.AuiNotebookEvent_SetDragSource(*args, **kwargs)
+
+ def GetDragSource(*args, **kwargs):
+ """GetDragSource(self) -> AuiNotebook"""
+ return _aui.AuiNotebookEvent_GetDragSource(*args, **kwargs)
+
old_selection = property(_aui.AuiNotebookEvent_old_selection_get, _aui.AuiNotebookEvent_old_selection_set)
selection = property(_aui.AuiNotebookEvent_selection_get, _aui.AuiNotebookEvent_selection_set)
+ drag_source = property(_aui.AuiNotebookEvent_drag_source_get, _aui.AuiNotebookEvent_drag_source_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):
__repr__ = _swig_repr
id = property(_aui.AuiTabContainerButton_id_get, _aui.AuiTabContainerButton_id_set)
cur_state = property(_aui.AuiTabContainerButton_cur_state_get, _aui.AuiTabContainerButton_cur_state_set)
+ location = property(_aui.AuiTabContainerButton_location_get, _aui.AuiTabContainerButton_location_set)
bitmap = property(_aui.AuiTabContainerButton_bitmap_get, _aui.AuiTabContainerButton_bitmap_set)
+ dis_bitmap = property(_aui.AuiTabContainerButton_dis_bitmap_get, _aui.AuiTabContainerButton_dis_bitmap_set)
rect = property(_aui.AuiTabContainerButton_rect_get, _aui.AuiTabContainerButton_rect_set)
_aui.AuiTabContainerButton_swigregister(AuiTabContainerButton)
+class AuiTabArt(object):
+ """Proxy of C++ AuiTabArt 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
+ __swig_destroy__ = _aui.delete_AuiTabArt
+ __del__ = lambda self : None;
+ def Clone(*args, **kwargs):
+ """Clone(self) -> AuiTabArt"""
+ return _aui.AuiTabArt_Clone(*args, **kwargs)
+
+ def SetFlags(*args, **kwargs):
+ """SetFlags(self, int flags)"""
+ return _aui.AuiTabArt_SetFlags(*args, **kwargs)
+
+ def SetSizingInfo(*args, **kwargs):
+ """SetSizingInfo(self, Size tab_ctrl_size, size_t tab_count)"""
+ return _aui.AuiTabArt_SetSizingInfo(*args, **kwargs)
+
+ def SetNormalFont(*args, **kwargs):
+ """SetNormalFont(self, Font font)"""
+ return _aui.AuiTabArt_SetNormalFont(*args, **kwargs)
+
+ def SetSelectedFont(*args, **kwargs):
+ """SetSelectedFont(self, Font font)"""
+ return _aui.AuiTabArt_SetSelectedFont(*args, **kwargs)
+
+ def SetMeasuringFont(*args, **kwargs):
+ """SetMeasuringFont(self, Font font)"""
+ return _aui.AuiTabArt_SetMeasuringFont(*args, **kwargs)
+
+ def DrawBackground(*args, **kwargs):
+ """DrawBackground(self, DC dc, Window wnd, Rect rect)"""
+ return _aui.AuiTabArt_DrawBackground(*args, **kwargs)
+
+ def DrawTab(*args, **kwargs):
+ """
+ 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, Rect out_rect)
+ """
+ return _aui.AuiTabArt_DrawButton(*args, **kwargs)
+
+ def GetTabSize(*args, **kwargs):
+ """
+ GetTabSize(self, DC dc, Window wnd, String caption, Bitmap bitmap, bool active,
+ int close_button_state, int x_extent) -> Size
+ """
+ return _aui.AuiTabArt_GetTabSize(*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"""
+ return _aui.AuiTabArt_GetBestTabCtrlSize(*args, **kwargs)
+
+_aui.AuiTabArt_swigregister(AuiTabArt)
+
+class AuiDefaultTabArt(AuiTabArt):
+ """Proxy of C++ AuiDefaultTabArt 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) -> AuiDefaultTabArt"""
+ _aui.AuiDefaultTabArt_swiginit(self,_aui.new_AuiDefaultTabArt(*args, **kwargs))
+ __swig_destroy__ = _aui.delete_AuiDefaultTabArt
+ __del__ = lambda self : None;
+_aui.AuiDefaultTabArt_swigregister(AuiDefaultTabArt)
+
+class AuiSimpleTabArt(AuiTabArt):
+ """Proxy of C++ AuiSimpleTabArt 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) -> AuiSimpleTabArt"""
+ _aui.AuiSimpleTabArt_swiginit(self,_aui.new_AuiSimpleTabArt(*args, **kwargs))
+ __swig_destroy__ = _aui.delete_AuiSimpleTabArt
+ __del__ = lambda self : None;
+_aui.AuiSimpleTabArt_swigregister(AuiSimpleTabArt)
+
class AuiTabContainer(object):
"""Proxy of C++ AuiTabContainer class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
_aui.AuiTabContainer_swiginit(self,_aui.new_AuiTabContainer(*args, **kwargs))
__swig_destroy__ = _aui.delete_AuiTabContainer
__del__ = lambda self : None;
+ def SetArtProvider(*args, **kwargs):
+ """SetArtProvider(self, AuiTabArt art)"""
+ return _aui.AuiTabContainer_SetArtProvider(*args, **kwargs)
+
+ def GetArtProvider(*args, **kwargs):
+ """GetArtProvider(self) -> AuiTabArt"""
+ return _aui.AuiTabContainer_GetArtProvider(*args, **kwargs)
+
+ def SetFlags(*args, **kwargs):
+ """SetFlags(self, int flags)"""
+ return _aui.AuiTabContainer_SetFlags(*args, **kwargs)
+
+ def GetFlags(*args, **kwargs):
+ """GetFlags(self) -> int"""
+ return _aui.AuiTabContainer_GetFlags(*args, **kwargs)
+
def AddPage(*args, **kwargs):
"""AddPage(self, Window page, AuiNotebookPage info) -> bool"""
return _aui.AuiTabContainer_AddPage(*args, **kwargs)
"""InsertPage(self, Window page, AuiNotebookPage info, size_t idx) -> bool"""
return _aui.AuiTabContainer_InsertPage(*args, **kwargs)
+ def MovePage(*args, **kwargs):
+ """MovePage(self, Window page, size_t new_idx) -> bool"""
+ return _aui.AuiTabContainer_MovePage(*args, **kwargs)
+
def RemovePage(*args, **kwargs):
"""RemovePage(self, Window page) -> bool"""
return _aui.AuiTabContainer_RemovePage(*args, **kwargs)
"""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, Bitmap bmp)"""
+ """
+ AddButton(self, int id, int location, Bitmap normal_bitmap=wxNullBitmap,
+ Bitmap disabled_bitmap=wxNullBitmap)
+ """
return _aui.AuiTabContainer_AddButton(*args, **kwargs)
+ def GetTabOffset(*args, **kwargs):
+ """GetTabOffset(self) -> size_t"""
+ return _aui.AuiTabContainer_GetTabOffset(*args, **kwargs)
+
+ def SetTabOffset(*args, **kwargs):
+ """SetTabOffset(self, size_t offset)"""
+ return _aui.AuiTabContainer_SetTabOffset(*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):
_aui.AuiTabCtrl_swiginit(self,_aui.new_AuiTabCtrl(*args, **kwargs))
self._setOORInfo(self)
+ __swig_destroy__ = _aui.delete_AuiTabCtrl
+ __del__ = lambda self : None;
_aui.AuiTabCtrl_swigregister(AuiTabCtrl)
-class AuiMultiNotebook(_core.Control):
- """Proxy of C++ AuiMultiNotebook class"""
+class AuiNotebook(_core.Control):
+ """Proxy of C++ AuiNotebook 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 id=ID_ANY, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=0) -> AuiMultiNotebook
+ Size size=DefaultSize, long style=AUI_NB_DEFAULT_STYLE) -> AuiNotebook
"""
- _aui.AuiMultiNotebook_swiginit(self,_aui.new_AuiMultiNotebook(*args, **kwargs))
+ _aui.AuiNotebook_swiginit(self,_aui.new_AuiNotebook(*args, **kwargs))
self._setOORInfo(self)
+ __swig_destroy__ = _aui.delete_AuiNotebook
+ __del__ = lambda self : None;
def Create(*args, **kwargs):
"""
Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
Do the 2nd phase and create the GUI control.
"""
- return _aui.AuiMultiNotebook_Create(*args, **kwargs)
+ 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.AuiMultiNotebook_AddPage(*args, **kwargs)
+ return _aui.AuiNotebook_AddPage(*args, **kwargs)
def InsertPage(*args, **kwargs):
"""
InsertPage(self, size_t page_idx, Window page, String caption, bool select=False,
Bitmap bitmap=wxNullBitmap) -> bool
"""
- return _aui.AuiMultiNotebook_InsertPage(*args, **kwargs)
+ return _aui.AuiNotebook_InsertPage(*args, **kwargs)
def DeletePage(*args, **kwargs):
"""DeletePage(self, size_t page) -> bool"""
- return _aui.AuiMultiNotebook_DeletePage(*args, **kwargs)
+ return _aui.AuiNotebook_DeletePage(*args, **kwargs)
def RemovePage(*args, **kwargs):
"""RemovePage(self, size_t page) -> bool"""
- return _aui.AuiMultiNotebook_RemovePage(*args, **kwargs)
+ 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.AuiMultiNotebook_SetPageText(*args, **kwargs)
+ 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.AuiMultiNotebook_SetSelection(*args, **kwargs)
+ return _aui.AuiNotebook_SetSelection(*args, **kwargs)
def GetSelection(*args, **kwargs):
"""GetSelection(self) -> int"""
- return _aui.AuiMultiNotebook_GetSelection(*args, **kwargs)
+ return _aui.AuiNotebook_GetSelection(*args, **kwargs)
- def GetPageCount(*args, **kwargs):
- """GetPageCount(self) -> size_t"""
- return _aui.AuiMultiNotebook_GetPageCount(*args, **kwargs)
+ def Split(*args, **kwargs):
+ """Split(self, size_t page, int direction)"""
+ return _aui.AuiNotebook_Split(*args, **kwargs)
- def GetPage(*args, **kwargs):
- """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.AuiNotebook_swigregister(AuiNotebook)
-_aui.AuiMultiNotebook_swigregister(AuiMultiNotebook)
-
-def PreAuiMultiNotebook(*args, **kwargs):
- """PreAuiMultiNotebook() -> AuiMultiNotebook"""
- val = _aui.new_PreAuiMultiNotebook(*args, **kwargs)
+def PreAuiNotebook(*args, **kwargs):
+ """PreAuiNotebook() -> AuiNotebook"""
+ val = _aui.new_PreAuiNotebook(*args, **kwargs)
self._setOORInfo(self)
return val
+wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSE = _aui.wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSE
wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED = _aui.wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED
wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING = _aui.wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING
wxEVT_COMMAND_AUINOTEBOOK_BUTTON = _aui.wxEVT_COMMAND_AUINOTEBOOK_BUTTON
wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG = _aui.wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG
wxEVT_COMMAND_AUINOTEBOOK_END_DRAG = _aui.wxEVT_COMMAND_AUINOTEBOOK_END_DRAG
wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION = _aui.wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION
+wxEVT_COMMAND_AUINOTEBOOK_ALLOW_DND = _aui.wxEVT_COMMAND_AUINOTEBOOK_ALLOW_DND
+EVT_AUINOTEBOOK_PAGE_CLOSE = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSE, 1 )
EVT_AUINOTEBOOK_PAGE_CHANGED = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED, 1 )
EVT_AUINOTEBOOK_PAGE_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING, 1 )
EVT_AUINOTEBOOK_BUTTON = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_BUTTON, 1 )
EVT_AUINOTEBOOK_BEGIN_DRAG = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG, 1 )
EVT_AUINOTEBOOK_END_DRAG = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_END_DRAG, 1 )
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 PyAuiDockArt(AuiDefaultDockArt):
+ """
+ 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.
+ """
+ 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
+_aui.PyAuiDockArt_swigregister(PyAuiDockArt)
-class PyDockArt(DefaultDockArt):
+class PyAuiTabArt(AuiDefaultTabArt):
"""
- This version of the `DockArt` class has been instrumented to be
+ 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.
"""
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
-_aui.PyDockArt_swigregister(PyDockArt)
+_aui.PyAuiTabArt_swigregister(PyAuiTabArt)