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
AuiManagerparent;owner_mgr – the
AuiManagerthat manages the floating pane;pane – the
AuiPaneInfopane 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
AuiPaneInfofrom 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
AuiManagerthat manages the pane.
- OnActivate(self, event)¶
Handles the
wx.EVT_ACTIVATEevent forAuiFloatingFrame.- Parameters:
event – a
ActivateEventto be processed.
- OnCheckFlyTimer(self, event)¶
Handles the
wx.EVT_TIMERevent forAuiFloatingFrame.- Parameters:
event – a
TimerEventto be processed.
Note
This is used solely for “fly-out” panes.
- OnClose(self, event)¶
Handles the
wx.EVT_CLOSEevent forAuiFloatingFrame.- Parameters:
event – a
CloseEventto be processed.
- OnFindManager(self, event)¶
Handles the
EVT_AUI_FIND_MANAGERevent forAuiFloatingFrame.- Parameters:
event – a
AuiManagerEventevent to be processed.
- OnFlyTimer(self, event)¶
Handles the
wx.EVT_TIMERevent forAuiFloatingFrame.- Parameters:
event – a
TimerEventto be processed.
- OnIdle(self, event)¶
Handles the
wx.EVT_IDLEevent forAuiFloatingFrame.- Parameters:
event – a
IdleEventevent to be processed.
Note
This event is only processed on wxMAC if
AuiManageris using theAUI_MGR_USE_NATIVE_MINIFRAMESstyle.
- OnMove(self, event)¶
Handles the
wx.EVT_MOVEevent forAuiFloatingFrame.- Parameters:
event – a
MoveEventto be processed.
Note
This event is not processed on wxMAC or if
AuiManageris not using theAUI_MGR_USE_NATIVE_MINIFRAMESstyle.
- OnMoveEvent(self, event)¶
Handles the
wx.EVT_MOVEandwx.EVT_MOVINGevents forAuiFloatingFrame.- Parameters:
event – a
MoveEventto be processed.
Note
This event is only processed on wxMAC or if
AuiManageris using theAUI_MGR_USE_NATIVE_MINIFRAMESstyle.
- OnMoveFinished(self)¶
The user has just finished moving the floating pane.
Note
This method is used only on wxMAC if
AuiManageris using theAUI_MGR_USE_NATIVE_MINIFRAMESstyle.
- 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
AuiManageris using theAUI_MGR_USE_NATIVE_MINIFRAMESstyle.
- 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.EASTorwx.WEST.
Note
This event is only processed on wxMAC if
AuiManageris using theAUI_MGR_USE_NATIVE_MINIFRAMESstyle.
- OnSize(self, event)¶
Handles the
wx.EVT_SIZEevent forAuiFloatingFrame.- Parameters:
event – a
wx.SizeEventto be processed.
- SetPaneWindow(self, pane)¶
Sets all the properties of a pane.
- Parameters:
pane – the
AuiPaneInfoto analyze.