.. wxPython Phoenix documentation This file was generated by Phoenix's sphinx generator and associated tools, do not edit by hand. Copyright: (c) 2011-2020 by Total Control Software License: wxWindows License .. include:: headings.inc .. currentmodule:: wx.lib.agw.xlsgrid .. highlight:: python .. _wx.lib.agw.xlsgrid.XLSRenderer: ========================================================================================================================================== |phoenix_title| **wx.lib.agw.xlsgrid.XLSRenderer** ========================================================================================================================================== This class is responsible for actually drawing the cell in the grid. | |class_hierarchy| Class Hierarchy ================================= .. raw:: html
Inheritance diagram for class XLSRenderer:
| |super_classes| Known Superclasses ================================== :class:`wx.grid.GridCellRenderer` | |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~wx.lib.agw.xlsgrid.XLSRenderer.__init__` Default class constructor. :meth:`~wx.lib.agw.xlsgrid.XLSRenderer.Draw` Draw the given cell on the provided `dc` inside the given rectangle using ================================================================================ ================================================================================ | |api| Class API =============== .. class:: XLSRenderer(gridlib.GridCellRenderer) This class is responsible for actually drawing the cell in the grid. .. method:: __init__(self, cell) Default class constructor. :param `cell`: an instance of :class:`XLSCell`. .. method:: Draw(self, grid, attr, dc, rect, row, col, isSelected) Draw the given cell on the provided `dc` inside the given rectangle using default or selected state corresponding to the `isSelected` value. :param `grid`: an instance of :class:`grid.Grid`; :param `attr`: an instance of :class:`grid.GridCellAttr`; :param `dc`: an instance of :class:`wx.DC`; :param `rect`: an instance of :class:`wx.Rect`, representing the cell rectangle; :param `row`: the row in which this cell lives; :param `col`: the column in which this cell lives; :param `isSelected`: ``True`` if the cell is selected, ``False`` otherwise.