Event sent from GradientButton
when the button is activated.
Default class constructor. |
|
Returns the object associated with this event. |
|
Sets the event object for the event. |
GradientButtonEvent
(wx.PyCommandEvent)¶Event sent from GradientButton
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.
SetButtonObj
(self, btn)¶Sets the event object for the event.
btn – the button object, an instance of GradientButton
.