This is the description of standalone Python functions in the aui.framemanager module.
AuiManager_HasLiveResize | Static function which returns if the input manager should have “live resize” behaviour. |
AuiManager_UseNativeMiniframes | Static function which returns if the input manager should use native wx.MiniFrame as |
CheckEdgeDrop | Checks on which edge of a window the drop action has taken place. |
CheckOutOfWindow | Checks if a point is outside the window rectangle. |
CopyDocksAndPanes | This utility function creates shallow copies of the dock and pane info. |
CopyDocksAndPanes2 | This utility function creates full copies of the dock and pane info. |
DoInsertDockLayer | This is an internal function that inserts a new dock layer by incrementing all existing dock layer values by one. |
DoInsertDockRow | This is an internal function that inserts a new dock row by incrementing all existing dock row values by one. |
DoInsertPane | This is an internal function that inserts a new pane by incrementing all existing dock position values by one. |
DrawResizeHint | Draws a resize hint while a sash is dragged. |
EscapeDelimiters | Changes ; into \ and | into \| in the input string. |
FindDocks | This is an internal function that returns a list of docks which meet the specified conditions in the parameters and returns a sorted array (sorted by layer and then row). |
FindOppositeDocks | This is an internal function that returns a list of docks which is related to the opposite direction. |
FindPaneInDock | This method looks up a specified window pointer inside a dock. |
GetInternalFrameRect | Returns the window rectangle excluding toolbars. |
GetManager | This function will return the aui manager for a given window. |
GetMaxLayer | This is an internal function which returns the highest layer inside the specified dock. |
GetMaxRow | This is an internal function which returns the highest layer inside the specified dock. |
GetNotebookRoot | Returns the AuiPaneInfo which has the specified notebook_id. |
GetToolBarDockOffsets | Returns the toolbar dock offsets (top-left and bottom-right). |
IsDifferentDockingPosition | Returns whether pane1 and pane2 are in a different docking position based on pane status, docking direction, docking layer and docking row. |
PaneSortFunc | This function is used to sort panes by dock position. |
RefreshDockingGuides | Refreshes the docking guide windows. |
RemovePaneFromDocks | Removes a pane window from all docks with a possible exception specified by parameter exc. |
RenumberDockRows | Takes a dock and assigns sequential numbers to existing rows. |
SetActivePane | Sets the active pane, as well as cycles through every other pane and makes sure that all others’ active flags are turned off. |
ShowDockingGuides | Shows or hide the docking guide windows. |
Static function which returns if the input manager should have “live resize” behaviour.
Parameters: | manager – an instance of AuiManager. |
---|
Note
This method always returns True on wxMac as this platform doesn’t have the ability to use wx.ScreenDC to draw sashes.
Static function which returns if the input manager should use native wx.MiniFrame as floating panes.
Parameters: | manager – an instance of AuiManager. |
---|
Note
This method always returns True on wxMac as this platform doesn’t have the ability to use custom drawn miniframes.
Checks on which edge of a window the drop action has taken place.
Parameters: |
|
---|
Checks if a point is outside the window rectangle.
Parameters: |
---|
This utility function creates shallow copies of the dock and pane info. AuiDockInfo usually contain pointers to AuiPaneInfo classes, thus this function is necessary to reliably reconstruct that relationship in the new dock info and pane info arrays.
Parameters: |
|
---|
This utility function creates full copies of the dock and pane info. AuiDockInfo usually contain pointers to AuiPaneInfo classes, thus this function is necessary to reliably reconstruct that relationship in the new dock info and pane info arrays.
Parameters: |
|
---|
This is an internal function that inserts a new dock layer by incrementing all existing dock layer values by one.
Parameters: |
|
---|
This is an internal function that inserts a new dock row by incrementing all existing dock row values by one.
Parameters: |
|
---|
This is an internal function that inserts a new pane by incrementing all existing dock position values by one.
Parameters: |
|
---|
Draws a resize hint while a sash is dragged.
Parameters: | rect – a wx.Rect rectangle which specifies the sash dimensions. |
---|
Changes ; into \ and | into \| in the input string.
Parameters: | s – the string to be analyzed. |
---|
Note
This is an internal functions which is used for saving perspectives.
This is an internal function that returns a list of docks which meet the specified conditions in the parameters and returns a sorted array (sorted by layer and then row).
Parameters: |
|
---|
This is an internal function that returns a list of docks which is related to the opposite direction.
Parameters: |
|
---|
This method looks up a specified window pointer inside a dock. If found, the corresponding AuiPaneInfo pointer is returned, otherwise None.
Parameters: |
|
---|
Returns the window rectangle excluding toolbars.
Parameters: |
|
---|
This function will return the aui manager for a given window.
Parameters: | window – this parameter should be any child window or grand-child window (and so on) of the frame/window managed by AuiManager. The window does not need to be managed by the manager itself, nor does it even need to be a child or sub-child of a managed window. It must however be inside the window hierarchy underneath the managed window. |
---|
This is an internal function which returns the highest layer inside the specified dock.
Parameters: |
|
---|
This is an internal function which returns the highest layer inside the specified dock.
Parameters: |
|
---|
Returns the AuiPaneInfo which has the specified notebook_id.
Parameters: |
|
---|
Returns the toolbar dock offsets (top-left and bottom-right).
Parameters: | docks – a list of AuiDockInfo to analyze. |
---|
Returns whether pane1 and pane2 are in a different docking position based on pane status, docking direction, docking layer and docking row.
Parameters: |
|
---|
This function is used to sort panes by dock position.
Parameters: |
|
---|
Refreshes the docking guide windows.
Parameters: | guides – a list of AuiDockingGuideInfo classes; |
---|
Removes a pane window from all docks with a possible exception specified by parameter exc.
Parameters: |
|
---|
Takes a dock and assigns sequential numbers to existing rows. Basically it takes out the gaps so if a dock has rows with numbers 0, 2, 5, they will become 0, 1, 2.
Parameters: | docks – a list of AuiDockInfo structures. |
---|
Sets the active pane, as well as cycles through every other pane and makes sure that all others’ active flags are turned off.
Parameters: |
|
---|
Shows or hide the docking guide windows.
Parameters: |
|
---|