Event sent from the generic buttons when the button is activated.
Default class constructor. |
|
Returns the object associated with this event. |
|
Returns the button toggle status as |
|
Sets the event object for the event. |
|
Set the button toggle status as ‘down’ or ‘up’. |
Event sent from the generic buttons when the button is activated.
Default class constructor.
eventType (integer) – the event type;
id (integer) – the event identifier.
Returns the object associated with this event.
An instance of GenButton
.
Returns the button toggle status as True
if the button is down, False
otherwise.
bool
Sets the event object for the event.
btn – the button object, an instance of GenButton
.
Set the button toggle status as ‘down’ or ‘up’.
isDown (bool) – True
if the button is clicked, False
otherwise.