.. include:: headings.inc .. currentmodule:: lib.buttons .. highlight:: python .. _lib.buttons.__ToggleMixin: ========================================================================================================================================== |phoenix_title| **__ToggleMixin** ========================================================================================================================================== | |class_hierarchy| Inheritance Diagram ===================================== Inheritance diagram for class **__ToggleMixin** .. raw:: html

Inheritance diagram of __ToggleMixin

| |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~lib.buttons.__ToggleMixin.GetToggle` :meth:`~lib.buttons.__ToggleMixin.OnKeyDown` :meth:`~lib.buttons.__ToggleMixin.OnKeyUp` :meth:`~lib.buttons.__ToggleMixin.OnLeftDown` :meth:`~lib.buttons.__ToggleMixin.OnLeftUp` :meth:`~lib.buttons.__ToggleMixin.OnMotion` :meth:`~lib.buttons.__ToggleMixin.SetToggle` ================================================================================ ================================================================================ | |api| Class API =============== .. class:: __ToggleMixin: def SetToggle(self, flag) .. method:: GetToggle(self) .. method:: OnKeyDown(self, event) .. method:: OnKeyUp(self, event) .. method:: OnLeftDown(self, event) .. method:: OnLeftUp(self, event) .. method:: OnMotion(self, event) .. method:: SetToggle(self, flag)