wx.aui.AuiManagerEvent¶Event used to indicate various actions taken with wx.aui.AuiManager.
See wx.aui.AuiManager for available event types.
^^
Events Emitted by this Class¶Handlers bound for the following event types will receive a wx.aui.AuiManagerEvent parameter.
EVT_AUI_PANE_BUTTON: Triggered when any button is pressed for any docked panes.
EVT_AUI_PANE_CLOSE: Triggered when a docked or floating pane is closed.
EVT_AUI_PANE_MAXIMIZE: Triggered when a pane is maximized.
EVT_AUI_PANE_RESTORE: Triggered when a pane is restored.
EVT_AUI_PANE_ACTIVATED: Triggered when a pane is made ‘active’. This event is new since wxWidgets 2.9.4.
EVT_AUI_RENDER: This event can be caught to override the default renderer in order to custom draw your wx.aui.AuiManager window (not recommended). ^^
Class Hierarchy¶
Inheritance diagram for class AuiManagerEvent:
Methods Summary¶Constructor. |
|
Sets the |
|
Sets whether or not this event can be vetoed. |
|
Sets the wx.aui.AuiManager this event is associated with. |
|
Sets the pane this event is associated with. |
|
Cancels the action indicated by this event if |
Properties Summary¶See |
|
Class API¶wx.aui.AuiManagerEvent(Event)¶Possible constructors:
AuiManagerEvent(type: EventType=wxEVT_NULL) -> None
Event used to indicate various actions taken with AuiManager.
__init__(self, type: EventType=wxEVT_NULL)¶Constructor.
type (wx.EventType) –
None
GetButton(self)¶int
The ID of the button that was clicked.
GetManager(self)¶The wx.aui.AuiManager this event is associated with.
GetPane(self)¶The pane this event is associated with.
SetButton(self, button : int)¶Sets the ID of the button clicked that triggered this event.
button (int) –
None
SetCanVeto(self, can_veto : bool)¶Sets whether or not this event can be vetoed.
can_veto (bool) –
None
SetManager(self, manager : AuiManager)¶Sets the wx.aui.AuiManager this event is associated with.
manager (wx.aui.AuiManager) –
None
SetPane(self, pane : AuiPaneInfo)¶Sets the pane this event is associated with.
pane (wx.aui.AuiPaneInfo) –
None
Veto(self, veto: bool=True)¶Cancels the action indicated by this event if CanVeto is True.
veto (bool) –
None
Manager¶See GetManager and SetManager