phoenix_title wx.lib.agw.aquabutton.AquaButtonEvent

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


class_hierarchy Class Hierarchy

Inheritance diagram for class AquaButtonEvent:

super_classes Known Superclasses

wx.PyCommandEvent


method_summary Methods Summary

__init__

Default class constructor.

GetButtonObj

Returns the object associated with this event.

SetButtonObj

Sets the event object for the event.


api Class API

class AquaButtonEvent(wx.PyCommandEvent)

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


Methods

__init__(self, eventType, eventId)

Default class constructor.

Parameters
  • eventType (integer) – the event type;

  • eventId (integer) – the event identifier.



GetButtonObj(self)

Returns the object associated with this event.

Returns

An instance of AquaButton.



SetButtonObj(self, btn)

Sets the event object for the event.

Parameters

btn – the button object, an instance of AquaButton.