phoenix_title wx.lib.agw.aui.framemanager.AuiPaneInfo

AuiPaneInfo specifies all the parameters for a pane. 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_hierarchy Class Hierarchy

Inheritance diagram for class AuiPaneInfo:

method_summary Methods Summary

__init__

Default class constructor.

BestSize

Sets the ideal size for the pane. The docking manager will attempt to use

BestSize1

Sets the best size of the pane.

BestSize2

Sets the best size of the pane.

Bottom

Sets the pane dock position to the bottom of the frame.

BottomDockable

Indicates whether a pane can be docked at the bottom of the frame.

BottomSnappable

Indicates whether a pane can be snapped at the bottom of the main frame.

Caption

Sets the caption of the pane.

CaptionVisible

Indicates that a pane caption should be visible. If visible is False, no pane

Center

Sets the pane to the center position of the frame.

CenterPane

Specifies that the pane should adopt the default center pane settings.

Centre

Sets the pane to the center position of the frame.

CentrePane

Specifies that the pane should adopt the default center pane settings.

CloseButton

Indicates that a close button should be drawn for the pane.

CountButtons

Returns the number of visible buttons in the docked pane.

DefaultPane

Specifies that the pane should adopt the default pane settings.

DestroyOnClose

Indicates whether a pane should be destroyed when it is closed.

Direction

Determines the direction of the docked pane. It is functionally the

Dock

Indicates that a pane should be docked. It is the opposite of Float.

dock_direction_get

Getter for the dock_direction.

dock_direction_set

Setter for the dock_direction.

Dockable

Specifies whether a frame can be docked or not. It is the same as specifying

DockFixed

Causes the containing dock to have no resize sash. This is useful

Fixed

Forces a pane to be fixed size so that it cannot be resized.

Float

Indicates that a pane should be floated. It is the opposite of Dock.

Floatable

Sets whether the user will be able to undock a pane and turn it

FloatingPosition

Sets the position of the floating pane.

FloatingSize

Sets the size of the floating pane.

FlyOut

Indicates whether a pane, when floating, has a “fly-out” effect

GetMinimizeMode

Returns the minimization style for this pane.

Gripper

Indicates that a gripper should be drawn for the pane.

GripperTop

Indicates that a gripper should be drawn at the top of the pane.

HasBorder

Returns True if the pane displays a border.

HasCaption

Returns True if the pane displays a caption.

HasCaptionLeft

Returns True if the pane displays a caption on the left (rotated by 90 degrees).

HasCloseButton

Returns True if the pane displays a button to close the pane.

HasFlag

Returns True if the the property specified by flag is active for the pane.

HasGripper

Returns True if the pane displays a gripper.

HasGripperTop

Returns True if the pane displays a gripper at the top.

HasMaximizeButton

Returns True if the pane displays a button to maximize the pane.

HasMinimizeButton

Returns True if the pane displays a button to minimize the pane.

HasNotebook

Returns whether a pane has a AuiNotebook or not.

HasPinButton

Returns True if the pane displays a button to float the pane.

Hide

Indicates that a pane should be hidden.

Icon

Specifies whether an icon is drawn on the left of the caption text when

IsBottomDockable

Returns True if the pane can be docked at the bottom

IsBottomSnappable

Returns True if the pane can be snapped at the bottom of the managed frame.

IsDestroyOnClose

Returns True if the pane should be destroyed when it is closed.

IsDockable

Returns True if the pane can be docked.

IsDocked

Returns True if the pane is docked.

IsFixed

Returns True if the pane cannot be resized.

IsFloatable

Returns True if the pane can be undocked and displayed as a

IsFloating

Returns True if the pane is floating.

IsFlyOut

Returns True if the floating pane has a “fly-out” effect.

IsHorizontal

Returns True if the pane dock_direction is horizontal.

IsLeftDockable

Returns True if the pane can be docked at the left

IsLeftSnappable

Returns True if the pane can be snapped on the left of the managed frame.

IsMaximized

Returns True if the pane is maximized.

IsMinimized

Returns True if the pane is minimized.

IsMovable

Returns True if the docked frame can be undocked or moved to

IsNotebookControl

Returns whether the pane is a notebook control (AuiNotebook).

IsNotebookDockable

Returns True if a pane can be docked on top to another to create a

IsNotebookPage

Returns whether the pane is a notebook page in a AuiNotebook.

IsOk

Returns True if the AuiPaneInfo structure is valid.

IsResizeable

Returns True if the pane can be resized.

IsRightDockable

Returns True if the pane can be docked at the right

IsRightSnappable

Returns True if the pane can be snapped on the right of the managed frame.

IsShown

Returns True if the pane is currently shown.

IsSnappable

Returns True if the pane can be snapped.

IsToolbar

Returns True if the pane contains a toolbar.

IsTopDockable

Returns True if the pane can be docked at the top

IsTopSnappable

Returns True if the pane can be snapped at the top of the managed frame.

IsVertical

Returns True if the pane dock_direction is vertical.

Layer

Determines the layer of the docked pane.

Left

Sets the pane dock position to the left side of the frame.

LeftDockable

Indicates whether a pane can be docked on the left of the frame.

LeftSnappable

Indicates whether a pane can be snapped on the left of the main frame.

Maximize

Makes the pane take up the full area.

MaximizeButton

Indicates that a maximize button should be drawn for the pane.

MaxSize

Sets the maximum size of the pane.

MaxSize1

Sets the maximum size of the pane.

MaxSize2

Sets the maximum size of the pane.

Minimize

Makes the pane minimized in a AuiToolBar.

MinimizeButton

Indicates that a minimize button should be drawn for the pane.

MinimizeMode

Sets the expected minimized mode if the minimize button is visible.

MinimizeTarget

Minimizes the panes using a AuiPaneInfo as a target. As AuiPaneInfo properties

MinSize

Sets the minimum size of the pane.

MinSize1

Sets the minimum size of the pane.

MinSize2

Sets the minimum size of the pane.

Movable

Indicates whether a pane can be moved.

Name

Sets the name of the pane so it can be referenced in lookup functions.

NotebookControl

Forces a pane to be a notebook control (AuiNotebook).

NotebookDockable

Indicates whether a pane can be docked in an automatic AuiNotebook.

NotebookPage

Forces a pane to be a notebook page, so that the pane can be

PaneBorder

Indicates that a border should be drawn for the pane.

PinButton

Indicates that a pin button should be drawn for the pane.

Position

Determines the position of the docked pane.

ResetButtons

Resets all the buttons and recreates them from scratch depending on the

Resizable

Allows a pane to be resizable if resizable is True, and forces

Restore

Is the reverse of Maximize and Minimize.

Right

Sets the pane dock position to the right side of the frame.

RightDockable

Indicates whether a pane can be docked on the right of the frame.

RightSnappable

Indicates whether a pane can be snapped on the right of the main frame.

Row

Determines the row of the docked pane.

SetDockPos

Copies the source pane members that pertain to docking position to self.

SetFlag

Turns the property given by flag on or off with the option_state

SetNameFromNotebookId

Sets the pane name once docked in a AuiNotebook using the notebook id.

Show

Indicates that a pane should be shown.

Snappable

Indicates whether a pane can be snapped on the main frame. This is

ToolbarPane

Specifies that the pane should adopt the default toolbar pane settings.

Top

Sets the pane dock position to the top of the frame.

TopDockable

Indicates whether a pane can be docked at the top of the frame.

TopSnappable

Indicates whether a pane can be snapped at the top of the main frame.

Transparent

Makes the pane transparent when floating.

Window

Associate a wx.Window derived window to this pane.


property_summary Properties Summary

dock_direction

Getter for the dock_direction.


api Class API

class AuiPaneInfo(object)

AuiPaneInfo specifies all the parameters for a pane. 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.


Methods

__init__(self)

Default class constructor.



BestSize(self, arg1=None, arg2=None)

Sets the ideal size for the pane. The docking manager will attempt to use this size as much as possible when docking or floating the pane.

This method is split in 2 versions depending on the input type. If arg1 is a wx.Size object, then BestSize1 is called. Otherwise, BestSize2 is called.

Parameters
  • arg1 – a wx.Size object, a (x, y) tuple or a x coordinate.

  • arg2 – a y coordinate (only if arg1 is a x coordinate, otherwise unused).



BestSize1(self, size)

Sets the best size of the pane.

See also

BestSize for an explanation of input parameters.



BestSize2(self, x, y)

Sets the best size of the pane.

See also

BestSize for an explanation of input parameters.



Bottom(self)

Sets the pane dock position to the bottom of the frame.

Note

This is the same thing as calling Direction with AUI_DOCK_BOTTOM as parameter.



BottomDockable(self, b=True)

Indicates whether a pane can be docked at the bottom of the frame.

Parameters

b (bool) – whether the pane can be docked at the bottom or not.



BottomSnappable(self, b=True)

Indicates whether a pane can be snapped at the bottom of the main frame.

Parameters

b (bool) – whether the pane can be snapped at the bottom of the main frame or not.



Caption(self, caption)

Sets the caption of the pane.

Parameters

caption (string) – a string specifying the pane caption.



CaptionVisible(self, visible=True, left=False)

Indicates that a pane caption should be visible. If visible is False, no pane caption is drawn.

Parameters
  • visible (bool) – whether the caption should be visible or not;

  • left (bool) – whether the caption should be drawn on the left (rotated by 90 degrees) or not.



Center(self)

Sets the pane to the center position of the frame.

The centre pane is the space in the middle after all border panes (left, top, right, bottom) are subtracted from the layout.

Note

This is the same thing as calling Direction with AUI_DOCK_CENTER as parameter.



CenterPane(self)

Specifies that the pane should adopt the default center pane settings.

Centre panes usually do not have caption bars. This function provides an easy way of preparing a pane to be displayed in the center dock position.



Centre(self)

Sets the pane to the center position of the frame.

The centre pane is the space in the middle after all border panes (left, top, right, bottom) are subtracted from the layout.

Note

This is the same thing as calling Direction with AUI_DOCK_CENTRE as parameter.



CentrePane(self)

Specifies that the pane should adopt the default center pane settings.

Centre panes usually do not have caption bars. This function provides an easy way of preparing a pane to be displayed in the center dock position.



CloseButton(self, visible=True)

Indicates that a close button should be drawn for the pane.

Parameters

visible (bool) – whether the close button should be visible or not.



CountButtons(self)

Returns the number of visible buttons in the docked pane.



DefaultPane(self)

Specifies that the pane should adopt the default pane settings.



DestroyOnClose(self, b=True)

Indicates whether a pane should be destroyed when it is closed.

Normally a pane is simply hidden when the close button is clicked. Setting b to True will cause the window to be destroyed when the user clicks the pane’s close button.

Parameters

b (bool) – whether the pane should be destroyed when it is closed or not.



Direction(self, direction)

Determines the direction of the docked pane. It is functionally the same as calling Left, Right, Top or Bottom, except that docking direction may be specified programmatically via the parameter direction.

Parameters

direction (integer) – the direction of the docked pane.

See also

dock_direction_set for a list of valid docking directions.



Dock(self)

Indicates that a pane should be docked. It is the opposite of Float.



dock_direction_get(self)

Getter for the dock_direction.

See also

dock_direction_set for a set of valid docking directions.



dock_direction_set(self, value)

Setter for the dock_direction.

Parameters

value (integer) – the docking direction. This can be one of the following bits:

Dock Flag

Value

Description

AUI_DOCK_NONE

0

No docking direction.

AUI_DOCK_TOP

1

Top docking direction.

AUI_DOCK_RIGHT

2

Right docking direction.

AUI_DOCK_BOTTOM

3

Bottom docking direction.

AUI_DOCK_LEFT

4

Left docking direction.

AUI_DOCK_CENTER

5

Center docking direction.

AUI_DOCK_CENTRE

5

Centre docking direction.

AUI_DOCK_NOTEBOOK_PAGE

6

Automatic AuiNotebooks docking style.



Dockable(self, b=True)

Specifies whether a frame can be docked or not. It is the same as specifying TopDockable . BottomDockable . LeftDockable . RightDockable .

Parameters

b (bool) – whether the frame can be docked or not.



DockFixed(self, b=True)

Causes the containing dock to have no resize sash. This is useful for creating panes that span the entire width or height of a dock, but should not be resizable in the other direction.

Parameters

b (bool) – whether the pane will have a resize sash or not.



Fixed(self)

Forces a pane to be fixed size so that it cannot be resized. After calling Fixed, IsFixed will return True.



Float(self)

Indicates that a pane should be floated. It is the opposite of Dock.



Floatable(self, b=True)

Sets whether the user will be able to undock a pane and turn it into a floating window.

Parameters

b (bool) – whether the pane can be floated or not.



FloatingPosition(self, pos)

Sets the position of the floating pane.

Parameters

pos – a wx.Point or a tuple indicating the pane floating position.



FloatingSize(self, size)

Sets the size of the floating pane.

Parameters

size – a wx.Size or a tuple indicating the pane floating size.



FlyOut(self, b=True)

Indicates whether a pane, when floating, has a “fly-out” effect (i.e., floating panes which only show themselves when moused over).

Parameters

b (bool) – whether the pane can be snapped on the main frame or not.



GetMinimizeMode(self)

Returns the minimization style for this pane.

Possible return values are:

Minimize Mode Flag

Hex Value

Description

AUI_MINIMIZE_POS_SMART

0x01

Minimizes the pane on the closest tool bar

AUI_MINIMIZE_POS_TOP

0x02

Minimizes the pane on the top tool bar

AUI_MINIMIZE_POS_LEFT

0x03

Minimizes the pane on its left tool bar

AUI_MINIMIZE_POS_RIGHT

0x04

Minimizes the pane on its right tool bar

AUI_MINIMIZE_POS_BOTTOM

0x05

Minimizes the pane on its bottom tool bar

AUI_MINIMIZE_POS_TOOLBAR

0x06

Minimizes the pane on a target AuiToolBar

AUI_MINIMIZE_POS_MASK

0x17

Mask to filter the position flags

AUI_MINIMIZE_CAPT_HIDE

0x0

Hides the caption of the minimized pane

AUI_MINIMIZE_CAPT_SMART

0x08

Displays the caption in the best rotation (horizontal or clockwise)

AUI_MINIMIZE_CAPT_HORZ

0x10

Displays the caption horizontally

AUI_MINIMIZE_CAPT_MASK

0x18

Mask to filter the caption flags

The flags can be filtered with the following masks:

Minimize Mask Flag

Hex Value

Description

AUI_MINIMIZE_POS_MASK

0x17

Filters the position flags

AUI_MINIMIZE_CAPT_MASK

0x18

Filters the caption flags



Gripper(self, visible=True)

Indicates that a gripper should be drawn for the pane.

Parameters

visible (bool) – whether the gripper should be visible or not.



GripperTop(self, attop=True)

Indicates that a gripper should be drawn at the top of the pane.

Parameters

attop (bool) – whether the gripper should be drawn at the top or not.



HasBorder(self)

Returns True if the pane displays a border.



HasCaption(self)

Returns True if the pane displays a caption.



HasCaptionLeft(self)

Returns True if the pane displays a caption on the left (rotated by 90 degrees).



HasCloseButton(self)

Returns True if the pane displays a button to close the pane.



HasFlag(self, flag)

Returns True if the the property specified by flag is active for the pane.

Parameters

flag (integer) – the property to check for activity.



HasGripper(self)

Returns True if the pane displays a gripper.



HasGripperTop(self)

Returns True if the pane displays a gripper at the top.



HasMaximizeButton(self)

Returns True if the pane displays a button to maximize the pane.



HasMinimizeButton(self)

Returns True if the pane displays a button to minimize the pane.



HasNotebook(self)

Returns whether a pane has a AuiNotebook or not.



HasPinButton(self)

Returns True if the pane displays a button to float the pane.



Hide(self)

Indicates that a pane should be hidden.

Calling Show(False) achieve the same effect.



Icon(self, icon)

Specifies whether an icon is drawn on the left of the caption text when the pane is docked. If icon is None or NullIcon, no icon is drawn on the caption space.

Parameters

icon (Icon or None) – an icon to draw on the caption space, or None.



IsBottomDockable(self)

Returns True if the pane can be docked at the bottom of the managed frame.



IsBottomSnappable(self)

Returns True if the pane can be snapped at the bottom of the managed frame.



IsDestroyOnClose(self)

Returns True if the pane should be destroyed when it is closed.

Normally a pane is simply hidden when the close button is clicked. Calling DestroyOnClose with a True input parameter will cause the window to be destroyed when the user clicks the pane’s close button.



IsDockable(self)

Returns True if the pane can be docked.



IsDocked(self)

Returns True if the pane is docked.



IsFixed(self)

Returns True if the pane cannot be resized.



IsFloatable(self)

Returns True if the pane can be undocked and displayed as a floating window.



IsFloating(self)

Returns True if the pane is floating.



IsFlyOut(self)

Returns True if the floating pane has a “fly-out” effect.



IsHorizontal(self)

Returns True if the pane dock_direction is horizontal.



IsLeftDockable(self)

Returns True if the pane can be docked at the left of the managed frame.



IsLeftSnappable(self)

Returns True if the pane can be snapped on the left of the managed frame.



IsMaximized(self)

Returns True if the pane is maximized.



IsMinimized(self)

Returns True if the pane is minimized.



IsMovable(self)

Returns True if the docked frame can be undocked or moved to another dock position.



IsNotebookControl(self)

Returns whether the pane is a notebook control (AuiNotebook).



IsNotebookDockable(self)

Returns True if a pane can be docked on top to another to create a AuiNotebook.



IsNotebookPage(self)

Returns whether the pane is a notebook page in a AuiNotebook.



IsOk(self)

Returns True if the AuiPaneInfo structure is valid.

Note

A pane structure is valid if it has an associated window.



IsResizeable(self)

Returns True if the pane can be resized.



IsRightDockable(self)

Returns True if the pane can be docked at the right of the managed frame.



IsRightSnappable(self)

Returns True if the pane can be snapped on the right of the managed frame.



IsShown(self)

Returns True if the pane is currently shown.



IsSnappable(self)

Returns True if the pane can be snapped.



IsToolbar(self)

Returns True if the pane contains a toolbar.



IsTopDockable(self)

Returns True if the pane can be docked at the top of the managed frame.



IsTopSnappable(self)

Returns True if the pane can be snapped at the top of the managed frame.



IsVertical(self)

Returns True if the pane dock_direction is vertical.



Layer(self, layer)

Determines the layer of the docked pane.

The dock layer is similar to an onion, the inner-most layer being layer 0. Each shell moving in the outward direction has a higher layer number. This allows for more complex docking layout formation.

Parameters

layer (integer) – the layer of the docked pane.



Left(self)

Sets the pane dock position to the left side of the frame.

Note

This is the same thing as calling Direction with AUI_DOCK_LEFT as parameter.



LeftDockable(self, b=True)

Indicates whether a pane can be docked on the left of the frame.

Parameters

b (bool) – whether the pane can be docked at the left or not.



LeftSnappable(self, b=True)

Indicates whether a pane can be snapped on the left of the main frame.

Parameters

b (bool) – whether the pane can be snapped at the left of the main frame or not.



Maximize(self)

Makes the pane take up the full area.



MaximizeButton(self, visible=True)

Indicates that a maximize button should be drawn for the pane.

Parameters

visible (bool) – whether the maximize button should be visible or not.



MaxSize(self, arg1=None, arg2=None)

Sets the maximum size of the pane.

This method is split in 2 versions depending on the input type. If arg1 is a wx.Size object, then MaxSize1 is called. Otherwise, MaxSize2 is called.

Parameters
  • arg1 – a wx.Size object, a (x, y) tuple or a x coordinate.

  • arg2 – a y coordinate (only if arg1 is a x coordinate, otherwise unused).



MaxSize1(self, size)

Sets the maximum size of the pane.

See also

MaxSize for an explanation of input parameters.



MaxSize2(self, x, y)

Sets the maximum size of the pane.

See also

MaxSize for an explanation of input parameters.



Minimize(self)

Makes the pane minimized in a AuiToolBar.

Clicking on the minimize button causes a new AuiToolBar to be created and added to the frame manager, (currently the implementation is such that panes at West will have a toolbar at the right, panes at South will have toolbars at the bottom etc…) and the pane is hidden in the manager.

Clicking on the restore button on the newly created toolbar will result in the toolbar being removed and the original pane being restored.



MinimizeButton(self, visible=True)

Indicates that a minimize button should be drawn for the pane.

Parameters

visible (bool) – whether the minimize button should be visible or not.



MinimizeMode(self, mode)

Sets the expected minimized mode if the minimize button is visible.

Parameters

mode (integer) – the minimized pane can have a specific position in the work space:

Minimize Mode Flag

Hex Value

Description

AUI_MINIMIZE_POS_SMART

0x01

Minimizes the pane on the closest tool bar

AUI_MINIMIZE_POS_TOP

0x02

Minimizes the pane on the top tool bar

AUI_MINIMIZE_POS_LEFT

0x03

Minimizes the pane on its left tool bar

AUI_MINIMIZE_POS_RIGHT

0x04

Minimizes the pane on its right tool bar

AUI_MINIMIZE_POS_BOTTOM

0x05

Minimizes the pane on its bottom tool bar

AUI_MINIMIZE_POS_TOOLBAR

0x06

Minimizes the pane on a target AuiToolBar

The caption of the minimized pane can be displayed in different modes:

Caption Mode Flag

Hex Value

Description

AUI_MINIMIZE_CAPT_HIDE

0x0

Hides the caption of the minimized pane

AUI_MINIMIZE_CAPT_SMART

0x08

Displays the caption in the best rotation (horizontal in the top and in the bottom tool bar or clockwise in the right and in the left tool bar)

AUI_MINIMIZE_CAPT_HORZ

0x10

Displays the caption horizontally

Note

In order to use the AUI_MINIMIZE_POS_TOOLBAR flag, the instance of AuiManager you pass as an input for MinimizeTarget must have a real name and not the randomly generated one. Remember to set the Name property of the toolbar pane before calling this method.



MinimizeTarget(self, toolbarPane)

Minimizes the panes using a AuiPaneInfo as a target. As AuiPaneInfo properties need to be copied back and forth every time the perspective has changed, we only store the toobar name.

Parameters

toolbarPane – an instance of AuiPaneInfo, containing a AuiToolBar.

Note

In order to use this functionality (and with the AUI_MINIMIZE_POS_TOOLBAR flag set), the instance of AuiPaneInfo you pass as an input must have a real name and not the randomly generated one. Remember to set the Name property of the toolbar pane before calling this method.



MinSize(self, arg1=None, arg2=None)

Sets the minimum size of the pane.

This method is split in 2 versions depending on the input type. If arg1 is a wx.Size object, then MinSize1 is called. Otherwise, MinSize2 is called.

Parameters
  • arg1 – a wx.Size object, a (x, y) tuple or or a x coordinate.

  • arg2 – a y coordinate (only if arg1 is a x coordinate, otherwise unused).



MinSize1(self, size)

Sets the minimum size of the pane.

See also

MinSize for an explanation of input parameters.



MinSize2(self, x, y)

Sets the minimum size of the pane.

See also

MinSize for an explanation of input parameters.



Movable(self, b=True)

Indicates whether a pane can be moved.

Parameters

b (bool) – whether the pane can be moved or not.



Name(self, name)

Sets the name of the pane so it can be referenced in lookup functions.

If a name is not specified by the user, a random name is assigned to the pane when it is added to the manager.

Parameters

name – a string specifying the pane name.

Warning

If you are using AuiManager.SavePerspective and AuiManager.LoadPerspective, you will have to specify a name for your pane using Name, as perspectives containing randomly generated names can not be properly restored.



NotebookControl(self, id)

Forces a pane to be a notebook control (AuiNotebook).

Parameters

id (integer) – the notebook id.



NotebookDockable(self, b=True)

Indicates whether a pane can be docked in an automatic AuiNotebook.

Parameters

b (bool) – whether the pane can be docked in a notebook or not.



NotebookPage(self, id, tab_position=1000)

Forces a pane to be a notebook page, so that the pane can be docked on top to another to create a AuiNotebook.

Parameters
  • id (integer) – the notebook id;

  • tab_position (integer) – the tab number of the pane once docked in a notebook.



PaneBorder(self, visible=True)

Indicates that a border should be drawn for the pane.

Parameters

visible (bool) – whether the pane border should be visible or not.



PinButton(self, visible=True)

Indicates that a pin button should be drawn for the pane.

Parameters

visible (bool) – whether the pin button should be visible or not.



Position(self, pos)

Determines the position of the docked pane.

Parameters

pos (integer) – the position of the docked pane.



ResetButtons(self)

Resets all the buttons and recreates them from scratch depending on the AuiManager flags.



Resizable(self, resizable=True)

Allows a pane to be resizable if resizable is True, and forces it to be a fixed size if resizeable is False.

If resizable is False, this is simply an antonym for Fixed.

Parameters

resizable (bool) – whether the pane will be resizeable or not.



Restore(self)

Is the reverse of Maximize and Minimize.



Right(self)

Sets the pane dock position to the right side of the frame.

Note

This is the same thing as calling Direction with AUI_DOCK_RIGHT as parameter.



RightDockable(self, b=True)

Indicates whether a pane can be docked on the right of the frame.

Parameters

b (bool) – whether the pane can be docked at the right or not.



RightSnappable(self, b=True)

Indicates whether a pane can be snapped on the right of the main frame.

Parameters

b (bool) – whether the pane can be snapped at the right of the main frame or not.



Row(self, row)

Determines the row of the docked pane.

Parameters

row (integer) – the row of the docked pane.



SetDockPos(self, source)

Copies the source pane members that pertain to docking position to self.

Parameters

source – the source pane from where to copy the attributes, an instance of AuiPaneInfo.



SetFlag(self, flag, option_state)

Turns the property given by flag on or off with the option_state parameter.

Parameters
  • flag (integer) – the property to set;

  • option_state (bool) – either True or False.



SetNameFromNotebookId(self)

Sets the pane name once docked in a AuiNotebook using the notebook id.



Show(self, show=True)

Indicates that a pane should be shown.

Parameters

show (bool) – whether the pane should be shown or not.



Snappable(self, b=True)

Indicates whether a pane can be snapped on the main frame. This is equivalent as calling TopSnappable . BottomSnappable . LeftSnappable . RightSnappable .

Parameters

b (bool) – whether the pane can be snapped on the main frame or not.



ToolbarPane(self)

Specifies that the pane should adopt the default toolbar pane settings.



Top(self)

Sets the pane dock position to the top of the frame.

Note

This is the same thing as calling Direction with AUI_DOCK_TOP as parameter.



TopDockable(self, b=True)

Indicates whether a pane can be docked at the top of the frame.

Parameters

b (bool) – whether the pane can be docked at the top or not.



TopSnappable(self, b=True)

Indicates whether a pane can be snapped at the top of the main frame.

Parameters

b (bool) – whether the pane can be snapped at the top of the main frame or not.



Transparent(self, alpha)

Makes the pane transparent when floating.

Parameters

alpha (integer) – a value between 0 and 255 for pane transparency.



Window(self, w)

Associate a wx.Window derived window to this pane.

This normally does not need to be specified, as the window pointer is automatically assigned to the AuiPaneInfo structure as soon as it is added to the manager.

Parameters

w – a wx.Window derived window.


Properties

dock_direction

Getter for the dock_direction.

See also

dock_direction_set for a set of valid docking directions.