 
       wx.lib.buttons.GenButtonEvent¶
  wx.lib.buttons.GenButtonEvent¶Event sent from the generic buttons when the button is activated.
 Methods Summary¶
 Methods Summary¶| __init__ | Default class constructor. | 
| GetButtonObj | Returns the object associated with this event. | 
| GetIsDown | Returns the button toggle status as Trueif the button is down,False | 
| SetButtonObj | Sets the event object for the event. | 
| SetIsDown | Set the button toggle status as ‘down’ or ‘up’. | 
 Class API¶
 Class API¶Event sent from the generic buttons when the button is activated.
Default class constructor.
| Parameters: | 
 | 
|---|
Returns the object associated with this event.
| Returns: | An instance of GenButton. | 
|---|
Returns the button toggle status as True if the button is down, False
otherwise.
| Return type: | bool | 
|---|
Sets the event object for the event.
| Parameters: | btn – the button object, an instance of GenButton. | 
|---|
Set the button toggle status as ‘down’ or ‘up’.
| Parameters: | isDown (bool) – Trueif the button is clicked,Falseotherwise. | 
|---|