AGW Logo

agw_title AquaButtonEvent

Event sent from the AquaButton buttons when the button is activated.

hierarchy Inheritance Diagram

Inheritance diagram for: AquaButtonEvent

Inheritance diagram of AquaButtonEvent


method_summary Methods Summary

__init__Default class constructor.
GetButtonObjReturns the object associated with this event.
SetButtonObjSets the event object for the event.

API Class API

class AquaButtonEvent(wx.PyCommandEvent)[source]

Event sent from the AquaButton buttons when the button is activated.



__init__(eventType, eventId)[source]

Default class constructor.

Parameters:
  • eventType (integer) – the event type;
  • eventId (integer) – the event identifier.


GetButtonObj()[source]

Returns the object associated with this event.

Returns:An instance of AquaButton.


SetButtonObj(btn)[source]

Sets the event object for the event.

Parameters:btn – the button object, an instance of AquaButton.
Tree

Table Of Contents

Previous topic

AquaButton

Next topic

AquaToggleButton