AGW Logo

agw_title GradientButtonEvent

Event sent from GradientButton when the button is activated.

hierarchy Inheritance Diagram

Inheritance diagram for: GradientButtonEvent

Inheritance diagram of GradientButtonEvent


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 GradientButtonEvent(wx.PyCommandEvent)[source]

Event sent from GradientButton when the button is activated.



__init__(eventType, eventId)[source]

Default class constructor.

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


GetButtonObj()[source]

Returns the object associated with this event.



SetButtonObj(btn)[source]

Sets the event object for the event.

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

Table Of Contents

Previous topic

GradientButton

Next topic

SVN Revision 68362 For gradientbutton