Event sent from the generic buttons when the button is activated.
Default class constructor. |
|
Returns the object associated with this event. |
|
Returns |
|
Sets the event object for the event. |
|
Sets the button event as pressed. |
SButtonEvent
(wx.CommandEvent)¶Event sent from the generic buttons when the button is activated.
__init__
(self, eventType, eventId)¶Default class constructor.
eventType – the event type;
eventId – the event identifier.
GetButtonObj
(self)¶Returns the object associated with this event.
GetIsDown
(self)¶Returns True
if the button event is “pressed”.
SetButtonObj
(self, btn)¶Sets the event object for the event.
btn – the button object.
SetIsDown
(self, isDown)¶Sets the button event as pressed.
isDown – True
to set the event as “pressed”, False
otherwise.