wx.lib.agw.aui.framemanager.AuiFloatingFrame¶
AuiFloatingFrame is the frame class that holds floating panes.
Class Hierarchy¶
Known Superclasses¶
Methods Summary¶
Default class constructor. Used internally, do not call it in your code! |
|
Copies all the attributes of the input pane into another |
|
Actually starts the fading out of the floating pane. |
|
Starts the flying in and out of a floating pane. |
|
Returns the |
|
Handles the |
|
Handles the |
|
Handles the |
|
Handles the |
|
Handles the |
|
Handles the |
|
Handles the |
|
Handles the |
|
The user has just finished moving the floating pane. |
|
The user has just started moving the floating pane. |
|
The user is moving the floating pane. |
|
Handles the |
|
Sets all the properties of a pane. |
Class API¶
- class AuiFloatingFrame(wx.MiniFrame)¶
AuiFloatingFrame is the frame class that holds floating panes.
Methods¶
- __init__(self, parent, owner_mgr, pane=None, id=wx.ID_ANY, title='', style=wx.FRAME_TOOL_WINDOW | wx.FRAME_FLOAT_ON_PARENT | wx.FRAME_NO_TASKBAR | wx.CLIP_CHILDREN)¶
Default class constructor. Used internally, do not call it in your code!
- Parameters:
parent – the
AuiManager
parent;owner_mgr – the
AuiManager
that manages the floating pane;pane – the
AuiPaneInfo
pane that is about to float;id (integer) – the window identifier. It may take a value of -1 to indicate a default value.
title (string) – the caption to be displayed on the frame’s title bar.
style (integer) – the window style.
- CopyAttributes(self, pane)¶
Copies all the attributes of the input pane into another
AuiPaneInfo
.- Parameters:
pane – the source
AuiPaneInfo
from where to copy attributes.
- FadeOut(self)¶
Actually starts the fading out of the floating pane.
- FlyOut(self)¶
Starts the flying in and out of a floating pane.
- GetOwnerManager(self)¶
Returns the
AuiManager
that manages the pane.
- OnActivate(self, event)¶
Handles the
wx.EVT_ACTIVATE
event forAuiFloatingFrame
.- Parameters:
event – a
ActivateEvent
to be processed.
- OnCheckFlyTimer(self, event)¶
Handles the
wx.EVT_TIMER
event forAuiFloatingFrame
.- Parameters:
event – a
TimerEvent
to be processed.
Note
This is used solely for “fly-out” panes.
- OnClose(self, event)¶
Handles the
wx.EVT_CLOSE
event forAuiFloatingFrame
.- Parameters:
event – a
CloseEvent
to be processed.
- OnFindManager(self, event)¶
Handles the
EVT_AUI_FIND_MANAGER
event forAuiFloatingFrame
.- Parameters:
event – a
AuiManagerEvent
event to be processed.
- OnFlyTimer(self, event)¶
Handles the
wx.EVT_TIMER
event forAuiFloatingFrame
.- Parameters:
event – a
TimerEvent
to be processed.
- OnIdle(self, event)¶
Handles the
wx.EVT_IDLE
event forAuiFloatingFrame
.- Parameters:
event – a
IdleEvent
event to be processed.
Note
This event is only processed on wxMAC if
AuiManager
is using theAUI_MGR_USE_NATIVE_MINIFRAMES
style.
- OnMove(self, event)¶
Handles the
wx.EVT_MOVE
event forAuiFloatingFrame
.- Parameters:
event – a
MoveEvent
to be processed.
Note
This event is not processed on wxMAC or if
AuiManager
is not using theAUI_MGR_USE_NATIVE_MINIFRAMES
style.
- OnMoveEvent(self, event)¶
Handles the
wx.EVT_MOVE
andwx.EVT_MOVING
events forAuiFloatingFrame
.- Parameters:
event – a
MoveEvent
to be processed.
Note
This event is only processed on wxMAC or if
AuiManager
is using theAUI_MGR_USE_NATIVE_MINIFRAMES
style.
- OnMoveFinished(self)¶
The user has just finished moving the floating pane.
Note
This method is used only on wxMAC if
AuiManager
is using theAUI_MGR_USE_NATIVE_MINIFRAMES
style.
- OnMoveStart(self, event)¶
The user has just started moving the floating pane.
- Parameters:
event – an instance of
MouseEvent
.
Note
This event is only processed on wxMAC if
AuiManager
is using theAUI_MGR_USE_NATIVE_MINIFRAMES
style.
- OnMoving(self, rect, direction)¶
The user is moving the floating pane.
- Parameters:
rect (wx.Rect) – the pane client rectangle;
direction (integer) – the direction in which the pane is moving, can be one of
wx.NORTH
,wx.SOUTH
,wx.EAST
orwx.WEST
.
Note
This event is only processed on wxMAC if
AuiManager
is using theAUI_MGR_USE_NATIVE_MINIFRAMES
style.
- OnSize(self, event)¶
Handles the
wx.EVT_SIZE
event forAuiFloatingFrame
.- Parameters:
event – a
wx.SizeEvent
to be processed.
- SetPaneWindow(self, pane)¶
Sets all the properties of a pane.
- Parameters:
pane – the
AuiPaneInfo
to analyze.