.. include:: headings.inc .. module:: lib.buttons .. currentmodule:: lib.buttons .. highlight:: python .. _lib.buttons: ========================================================================================================================================== |phoenix_title| **buttons** ========================================================================================================================================== This module implements various forms of generic buttons, meaning that they are not built on native controls but are self-drawn. They act like normal buttons but you are able to better control how they look, bevel width, colours, etc. | |class_hierarchy| Inheritance Diagram ===================================== Inheritance diagram for module **buttons** .. raw:: html

Inheritance diagram of buttons

| |class_summary| Classes Summary =============================== ================================================================================ ================================================================================ :ref:`lib.buttons.__ThemedMixin` Use the native renderer to draw the bezel, also handle mouse-overs :ref:`lib.buttons.__ToggleMixin` :ref:`lib.buttons.GenBitmapButton` A generic bitmap button. :ref:`lib.buttons.GenBitmapTextButton` A generic bitmapped button with text label :ref:`lib.buttons.GenBitmapTextToggleButton` A generic toggle bitmap button with text label :ref:`lib.buttons.GenBitmapToggleButton` A generic toggle bitmap button :ref:`lib.buttons.GenButton` A generic button, and base class for the other generic buttons. :ref:`lib.buttons.GenButtonEvent` Event sent from the generic buttons when the button is activated. :ref:`lib.buttons.GenToggleButton` A generic toggle button :ref:`lib.buttons.ThemedGenBitmapButton` A themed generic bitmap button. :ref:`lib.buttons.ThemedGenBitmapTextButton` A themed generic bitmapped button with text label :ref:`lib.buttons.ThemedGenBitmapTextToggleButton` A themed generic toggle bitmap button with text label :ref:`lib.buttons.ThemedGenBitmapToggleButton` A themed generic toggle bitmap button :ref:`lib.buttons.ThemedGenButton` A themed generic button :ref:`lib.buttons.ThemedGenToggleButton` A themed generic toggle button ================================================================================ ================================================================================ | .. toctree:: :maxdepth: 1 :hidden: lib.buttons.__ThemedMixin lib.buttons.__ToggleMixin lib.buttons.GenBitmapButton lib.buttons.GenBitmapTextButton lib.buttons.GenBitmapTextToggleButton lib.buttons.GenBitmapToggleButton lib.buttons.GenButton lib.buttons.GenButtonEvent lib.buttons.GenToggleButton lib.buttons.ThemedGenBitmapButton lib.buttons.ThemedGenBitmapTextButton lib.buttons.ThemedGenBitmapTextToggleButton lib.buttons.ThemedGenBitmapToggleButton lib.buttons.ThemedGenButton lib.buttons.ThemedGenToggleButton