Table Of Contents

Previous topic

GradientButton

Next topic

hyperlink

This Page

phoenix_title GradientButtonEvent

Event sent from GradientButton when the button is activated.


class_hierarchy Inheritance Diagram

Inheritance diagram for class GradientButtonEvent

Inheritance diagram of GradientButtonEvent


super_classes Known Superclasses

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 GradientButtonEvent(PyCommandEvent)

Event sent from GradientButton when the button is activated.


Methods



__init__(self, eventType, eventId)

Default class constructor.

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


GetButtonObj(self)

Returns the object associated with this event.



SetButtonObj(self, btn)

Sets the event object for the event.

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