.. include:: headings.inc .. currentmodule:: lib.buttons .. highlight:: python .. _lib.buttons.GenButtonEvent: ========================================================================================================================================== |phoenix_title| **GenButtonEvent** ========================================================================================================================================== Event sent from the generic buttons when the button is activated. | |class_hierarchy| Inheritance Diagram ===================================== Inheritance diagram for class **GenButtonEvent** .. raw:: html

Inheritance diagram of GenButtonEvent

| |super_classes| Known Superclasses ================================== :class:`PyCommandEvent` | |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~lib.buttons.GenButtonEvent.__init__` :meth:`~lib.buttons.GenButtonEvent.GetButtonObj` :meth:`~lib.buttons.GenButtonEvent.GetIsDown` :meth:`~lib.buttons.GenButtonEvent.SetButtonObj` :meth:`~lib.buttons.GenButtonEvent.SetIsDown` ================================================================================ ================================================================================ | |api| Class API =============== .. class:: GenButtonEvent(PyCommandEvent) Event sent from the generic buttons when the button is activated. .. method:: __init__(self, eventType, id) .. method:: GetButtonObj(self) .. method:: GetIsDown(self) .. method:: SetButtonObj(self, btn) .. method:: SetIsDown(self, isDown)