wx.lib.agw.gradientbutton.GradientButtonEvent¶
Event sent from GradientButton
when the button is activated.
Class Hierarchy¶
Known Superclasses¶
Methods Summary¶
Default class constructor. |
|
Returns the object associated with this event. |
|
Sets the event object for the event. |
Class API¶
- class GradientButtonEvent(wx.PyCommandEvent)¶
Event sent from
GradientButton
when the button is activated.
Methods¶
- __init__(self, eventType, eventId)¶
Default class constructor.
- Parameters:
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.
- Parameters:
btn – the button object, an instance of
GradientButton
.