wx.lib.agw.shapedbutton.SButtonEvent¶
Event sent from the generic buttons when the button is activated.
Class Hierarchy¶
Known Superclasses¶
Methods Summary¶
Default class constructor. |
|
Returns the object associated with this event. |
|
Returns |
|
Sets the event object for the event. |
|
Sets the button event as pressed. |
Class API¶
- class SButtonEvent(wx.CommandEvent)¶
Event sent from the generic buttons 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.
- GetIsDown(self)¶
Returns
True
if the button event is “pressed”.
- SetButtonObj(self, btn)¶
Sets the event object for the event.
- Parameters:
btn – the button object.
- SetIsDown(self, isDown)¶
Sets the button event as pressed.
- Parameters:
isDown –
True
to set the event as “pressed”,False
otherwise.