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

Inheritance diagram of GenStaticBitmap

| |super_classes| Known Superclasses ================================== :class:`PyControl` | |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~lib.statbmp.GenStaticBitmap.__init__` :meth:`~lib.statbmp.GenStaticBitmap.AcceptsFocus` Overridden base class virtual. :meth:`~lib.statbmp.GenStaticBitmap.DoGetBestSize` Overridden base class virtual. Determines the best size of the :meth:`~lib.statbmp.GenStaticBitmap.GetBitmap` :meth:`~lib.statbmp.GenStaticBitmap.GetDefaultAttributes` Overridden base class virtual. By default we should use :meth:`~lib.statbmp.GenStaticBitmap.OnEraseBackground` :meth:`~lib.statbmp.GenStaticBitmap.OnPaint` :meth:`~lib.statbmp.GenStaticBitmap.SetBitmap` :meth:`~lib.statbmp.GenStaticBitmap.ShouldInheritColours` Overridden base class virtual. If the parent has non-default ================================================================================ ================================================================================ | |api| Class API =============== .. class:: GenStaticBitmap(PyControl) .. method:: __init__(self, parent, ID, bitmap, pos = DefaultPosition, size = DefaultSize, style = 0, name = "genstatbmp") .. method:: AcceptsFocus(self) Overridden base class virtual. .. method:: DoGetBestSize(self) Overridden base class virtual. Determines the best size of the control based on the bitmap size. .. method:: GetBitmap(self) .. method:: GetDefaultAttributes(self) Overridden base class virtual. By default we should use the same font/colour attributes as the native StaticBitmap. .. method:: OnEraseBackground(self, event) .. method:: OnPaint(self, event) .. method:: SetBitmap(self, bitmap) .. method:: ShouldInheritColours(self) Overridden base class virtual. If the parent has non-default colours then we want this control to inherit them.