.. include:: headings.inc .. currentmodule:: lib.buttons .. highlight:: python .. _lib.buttons.GenBitmapTextButton: ========================================================================================================================================== |phoenix_title| **GenBitmapTextButton** ========================================================================================================================================== A generic bitmapped button with text label | |class_hierarchy| Inheritance Diagram ===================================== Inheritance diagram for class **GenBitmapTextButton** .. raw:: html

Inheritance diagram of GenBitmapTextButton

| |sub_classes| Known Subclasses ============================== :class:`lib.buttons.GenBitmapTextToggleButton`, :class:`lib.buttons.ThemedGenBitmapTextButton` | |super_classes| Known Superclasses ================================== :class:`lib.buttons.GenBitmapButton` | |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~lib.buttons.GenBitmapTextButton.__init__` :meth:`~lib.buttons.GenBitmapTextButton.DrawLabel` ================================================================================ ================================================================================ | |api| Class API =============== .. class:: GenBitmapTextButton(GenBitmapButton) A generic bitmapped button with text label .. method:: __init__(self, parent, id=-1, bitmap=NullBitmap, label='', pos = DefaultPosition, size = DefaultSize, style = 0, validator = DefaultValidator, name = "genbutton") .. method:: DrawLabel(self, dc, width, height, dx=0, dy=0)