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).
See also
Class Hierarchy¶
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¶
- class wx.aui.AuiManagerEvent(Event)¶
Possible constructors:
AuiManagerEvent(type=wxEVT_NULL) -> None
Event used to indicate various actions taken with AuiManager.
Methods¶
- __init__(self, type=wxEVT_NULL)¶
Constructor.
- Parameters:
type (wx.EventType)
- Return type:
None
- GetButton(self)¶
- Return type:
int
- Returns:
The
ID
of the button that was clicked.
- GetManager(self)¶
- Return type:
- Returns:
The wx.aui.AuiManager this event is associated with.
- GetPane(self)¶
- Return type:
- Returns:
The pane this event is associated with.
- SetButton(self, button)¶
Sets the
ID
of the button clicked that triggered this event.- Parameters:
button (int)
- Return type:
None
- SetCanVeto(self, can_veto)¶
Sets whether or not this event can be vetoed.
- Parameters:
can_veto (bool)
- Return type:
None
- SetManager(self, manager)¶
Sets the wx.aui.AuiManager this event is associated with.
- Parameters:
manager (wx.aui.AuiManager)
- Return type:
None
- SetPane(self, pane)¶
Sets the pane this event is associated with.
- Parameters:
pane (wx.aui.AuiPaneInfo)
- Return type:
None
- Veto(self, veto=True)¶
Cancels the action indicated by this event if
CanVeto
isTrue
.- Parameters:
veto (bool)
- Return type:
None
Properties¶
- Manager¶
See
GetManager
andSetManager