 
       wx.lib.agw.aui.framemanager.AuiManagerEvent¶
  wx.lib.agw.aui.framemanager.AuiManagerEvent¶A specialized command event class for events sent by AuiManager.
 Methods Summary¶
 Methods Summary¶| __init__ | Default class constructor. | 
| CanVeto | Returns whether the event can be vetoed and has been vetoed. | 
| GetButton | Returns the associated AuiPaneButtoninstance (if any). | 
| GetDC | Returns the associated wx.DCdevice context (if any). | 
| GetManager | Returns the associated AuiManager(if any). | 
| GetPane | Returns the associated AuiPaneInfostructure (if any). | 
| GetVeto | Returns whether the event has been vetoed or not. | 
| SetButton | Associates a AuiPaneButtoninstance to this event. | 
| SetCanVeto | Sets whether the event can be vetoed or not. | 
| SetDC | Associates a wx.DCdevice context to this event. | 
| SetManager | Associates a AuiManagerto the current event. | 
| SetPane | Associates a AuiPaneInfoinstance to this event. | 
| Veto | Prevents the change announced by this event from happening. | 
 Class API¶
 Class API¶AuiManagerEvent(wx.PyCommandEvent)¶A specialized command event class for events sent by AuiManager.
__init__(self, eventType, id=1)¶Default class constructor.
| Parameters: | 
 | 
|---|
CanVeto(self)¶Returns whether the event can be vetoed and has been vetoed.
GetButton(self)¶Returns the associated AuiPaneButton instance (if any).
GetManager(self)¶Returns the associated AuiManager (if any).
GetPane(self)¶Returns the associated AuiPaneInfo structure (if any).
GetVeto(self)¶Returns whether the event has been vetoed or not.
SetButton(self, b)¶Associates a AuiPaneButton instance to this event.
| Parameters: | b – a AuiPaneButtoninstance. | 
|---|
SetCanVeto(self, can_veto)¶Sets whether the event can be vetoed or not.
| Parameters: | can_veto (bool) – Trueif the event can be vetoed,Falseotherwise. | 
|---|
SetDC(self, pdc)¶Associates a wx.DC device context to this event.
| Parameters: | pdc – a wx.DCdevice context object. | 
|---|
SetManager(self, mgr)¶Associates a AuiManager to the current event.
| Parameters: | mgr – an instance of AuiManager. | 
|---|
SetPane(self, p)¶Associates a AuiPaneInfo instance to this event.
| Parameters: | p – a AuiPaneInfoinstance. | 
|---|
Veto(self, veto=True)¶Prevents the change announced by this event from happening.
It is in general a good idea to notify the user about the reasons for vetoing the change because otherwise the applications behaviour (which just refuses to do what the user wants) might be quite surprising.
| Parameters: | veto (bool) – Trueto veto the event,Falseotherwise. | 
|---|