Inheritance diagram for AuiManagerEvent:
Bases: wx._core.PyCommandEvent
A specialized command event class for events sent by L{AuiManager}.
Default class constructor.
Parameters: |
|
---|
Returns a copy of the event.
Any event that is posted to the wxPython event system for later action (via L{wx.EvtHandler.AddPendingEvent} or L{wx.PostEvent}) must implement this method. All wxPython events fully implement this method, but any derived events implemented by the user should also implement this method just in case they (or some event derived from them) are ever posted.
All wxPython events implement a copy constructor, so the easiest way of implementing the Clone function is to implement a copy constructor for a new event (call it MyEvent) and then define the Clone function like this:
def Clone(self):
return MyEvent(self)
Associates a L{AuiPaneButton} instance to this event.
Parameter: | b – a L{AuiPaneButton} instance. |
---|
Sets whether the event can be vetoed or not.
Parameter: | can_veto – a bool flag. |
---|
Associates a L{wx.DC} device context to this event.
Parameter: | pdc – a L{wx.DC} device context object. |
---|
Associates a L{AuiManager} to the current event.
Parameter: | mgr – an instance of L{AuiManager}. |
---|
Associates a L{AuiPaneInfo} instance to this event.
Parameter: | p – a L{AuiPaneInfo} instance. |
---|
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.
Parameter: | veto – whether to veto the event or not. |
---|