.. wxPython Phoenix documentation This file was generated by Phoenix's sphinx generator and associated tools, do not edit by hand. Copyright: (c) 2011-2018 by Total Control Software License: wxWindows License .. include:: headings.inc .. _wx.grid.GridHeaderLabelsRenderer: ========================================================================================================================================== |phoenix_title| **wx.grid.GridHeaderLabelsRenderer** ========================================================================================================================================== Common base class for row and column headers renderers. .. versionadded:: 2.9.1 .. seealso:: :ref:`wx.grid.GridColumnHeaderRenderer`, :ref:`wx.grid.GridRowHeaderRenderer` | |class_hierarchy| Class Hierarchy ================================= .. raw:: html
Inheritance diagram for class GridHeaderLabelsRenderer:

| |sub_classes| Known Subclasses ============================== :ref:`wx.grid.GridColumnHeaderRenderer`, :ref:`wx.grid.GridRowHeaderRenderer` | |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~wx.grid.GridHeaderLabelsRenderer.DrawLabel` Called by the grid to draw the specified label. ================================================================================ ================================================================================ | |api| Class API =============== .. class:: wx.grid.GridHeaderLabelsRenderer(GridCornerHeaderRenderer) Common base class for row and column headers renderers. .. method:: DrawLabel(self, grid, dc, value, rect, horizAlign, vertAlign, textOrientation) Called by the grid to draw the specified label. Notice that the base class :meth:`~wx.grid.GridCornerHeaderRenderer.DrawBorder` method is called before this one. The default implementation uses :meth:`wx.grid.Grid.GetLabelTextColour` and :meth:`wx.grid.Grid.GetLabelFont` to draw the label. :param `grid`: :type `grid`: wx.grid.Grid :param `dc`: :type `dc`: wx.DC :param `value`: :type `value`: string :param `rect`: :type `rect`: wx.Rect :param `horizAlign`: :type `horizAlign`: int :param `vertAlign`: :type `vertAlign`: int :param `textOrientation`: :type `textOrientation`: int