.. include:: headings.inc .. _HeaderColumnSimple: ========================================================================================================================================== |phoenix_title| **HeaderColumnSimple** ========================================================================================================================================== Simple container for the information about the column. This is a concrete class implementing all :ref:`SettableHeaderColumn` class methods in a trivial way, i.e. by just storing the information in the object itself. It is used by and with `HeaderCtrlSimple`, e.g. :: header = wx.HeaderCtrlSimple() # Fill in the constructor col = wx.HeaderColumnSimple("Title") col.SetWidth(100) col.SetSortable(100) header.AppendColumn(col) | |class_hierarchy| Inheritance Diagram ===================================== Inheritance diagram for class **HeaderColumnSimple** .. raw:: html

Inheritance diagram of HeaderColumnSimple

| |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~HeaderColumnSimple.__init__` Constructor for a column header. :meth:`~HeaderColumnSimple.GetAlignment` Trivial implementations of the base class pure virtual functions. :meth:`~HeaderColumnSimple.GetBitmap` Trivial implementations of the base class pure virtual functions. :meth:`~HeaderColumnSimple.GetFlags` Trivial implementations of the base class pure virtual functions. :meth:`~HeaderColumnSimple.GetMinWidth` Trivial implementations of the base class pure virtual functions. :meth:`~HeaderColumnSimple.GetTitle` Trivial implementations of the base class pure virtual functions. :meth:`~HeaderColumnSimple.GetWidth` Trivial implementations of the base class pure virtual functions. :meth:`~HeaderColumnSimple.IsSortKey` Trivial implementations of the base class pure virtual functions. :meth:`~HeaderColumnSimple.IsSortOrderAscending` Trivial implementations of the base class pure virtual functions. :meth:`~HeaderColumnSimple.SetAlignment` Trivial implementations of the base class pure virtual functions. :meth:`~HeaderColumnSimple.SetBitmap` Trivial implementations of the base class pure virtual functions. :meth:`~HeaderColumnSimple.SetFlags` Trivial implementations of the base class pure virtual functions. :meth:`~HeaderColumnSimple.SetMinWidth` Trivial implementations of the base class pure virtual functions. :meth:`~HeaderColumnSimple.SetSortOrder` Trivial implementations of the base class pure virtual functions. :meth:`~HeaderColumnSimple.SetTitle` Trivial implementations of the base class pure virtual functions. :meth:`~HeaderColumnSimple.SetWidth` Trivial implementations of the base class pure virtual functions. ================================================================================ ================================================================================ | |property_summary| Properties Summary ===================================== ================================================================================ ================================================================================ :attr:`~HeaderColumnSimple.Alignment` See :meth:`~HeaderColumnSimple.GetAlignment` and :meth:`~HeaderColumnSimple.SetAlignment` :attr:`~HeaderColumnSimple.Bitmap` See :meth:`~HeaderColumnSimple.GetBitmap` and :meth:`~HeaderColumnSimple.SetBitmap` :attr:`~HeaderColumnSimple.Flags` See :meth:`~HeaderColumnSimple.GetFlags` and :meth:`~HeaderColumnSimple.SetFlags` :attr:`~HeaderColumnSimple.MinWidth` See :meth:`~HeaderColumnSimple.GetMinWidth` and :meth:`~HeaderColumnSimple.SetMinWidth` :attr:`~HeaderColumnSimple.Title` See :meth:`~HeaderColumnSimple.GetTitle` and :meth:`~HeaderColumnSimple.SetTitle` :attr:`~HeaderColumnSimple.Width` See :meth:`~HeaderColumnSimple.GetWidth` and :meth:`~HeaderColumnSimple.SetWidth` ================================================================================ ================================================================================ | |api| Class API =============== .. class:: HeaderColumnSimple(SettableHeaderColumn) Simple container for the information about the column. **Possible constructors**:: HeaderColumnSimple(title, width=COL_WIDTH_DEFAULT, align=ALIGN_NOT, flags=COL_DEFAULT_FLAGS) HeaderColumnSimple(bitmap, width=COL_WIDTH_DEFAULT, align=ALIGN_CENTER, flags=COL_DEFAULT_FLAGS) .. method:: __init__(self, *args, **kw) Constructor for a column header. The first constructor creates a header showing the given text `title` while the second one creates one showing the specified `bitmap` image. |overload| **Overloaded Implementations**: **~~~** **__init__** `(self, title, width=COL_WIDTH_DEFAULT, align=ALIGN_NOT, flags=COL_DEFAULT_FLAGS)` :param `title`: :type `title`: string :param `width`: :type `width`: int :param `align`: :type `align`: Alignment :param `flags`: :type `flags`: int **~~~** **__init__** `(self, bitmap, width=COL_WIDTH_DEFAULT, align=ALIGN_CENTER, flags=COL_DEFAULT_FLAGS)` :param `bitmap`: :type `bitmap`: Bitmap :param `width`: :type `width`: int :param `align`: :type `align`: Alignment :param `flags`: :type `flags`: int **~~~** .. method:: GetAlignment(self) Trivial implementations of the base class pure virtual functions. :rtype: :ref:`Alignment` .. method:: GetBitmap(self) Trivial implementations of the base class pure virtual functions. :rtype: :ref:`Bitmap` .. method:: GetFlags(self) Trivial implementations of the base class pure virtual functions. :rtype: `int` .. method:: GetMinWidth(self) Trivial implementations of the base class pure virtual functions. :rtype: `int` .. method:: GetTitle(self) Trivial implementations of the base class pure virtual functions. :rtype: `string` .. method:: GetWidth(self) Trivial implementations of the base class pure virtual functions. :rtype: `int` .. method:: IsSortKey(self) Trivial implementations of the base class pure virtual functions. :rtype: `bool` .. method:: IsSortOrderAscending(self) Trivial implementations of the base class pure virtual functions. :rtype: `bool` .. method:: SetAlignment(self, align) Trivial implementations of the base class pure virtual functions. :param `align`: :type `align`: Alignment .. method:: SetBitmap(self, bitmap) Trivial implementations of the base class pure virtual functions. :param `bitmap`: :type `bitmap`: Bitmap .. method:: SetFlags(self, flags) Trivial implementations of the base class pure virtual functions. :param `flags`: :type `flags`: int .. method:: SetMinWidth(self, minWidth) Trivial implementations of the base class pure virtual functions. :param `minWidth`: :type `minWidth`: int .. method:: SetSortOrder(self, ascending) Trivial implementations of the base class pure virtual functions. :param `ascending`: :type `ascending`: bool .. method:: SetTitle(self, title) Trivial implementations of the base class pure virtual functions. :param `title`: :type `title`: string .. method:: SetWidth(self, width) Trivial implementations of the base class pure virtual functions. :param `width`: :type `width`: int .. attribute:: Alignment See :meth:`~HeaderColumnSimple.GetAlignment` and :meth:`~HeaderColumnSimple.SetAlignment` .. attribute:: Bitmap See :meth:`~HeaderColumnSimple.GetBitmap` and :meth:`~HeaderColumnSimple.SetBitmap` .. attribute:: Flags See :meth:`~HeaderColumnSimple.GetFlags` and :meth:`~HeaderColumnSimple.SetFlags` .. attribute:: MinWidth See :meth:`~HeaderColumnSimple.GetMinWidth` and :meth:`~HeaderColumnSimple.SetMinWidth` .. attribute:: Title See :meth:`~HeaderColumnSimple.GetTitle` and :meth:`~HeaderColumnSimple.SetTitle` .. attribute:: Width See :meth:`~HeaderColumnSimple.GetWidth` and :meth:`~HeaderColumnSimple.SetWidth`