
wx.lib.agw.xlsgrid.XLSRenderer¶This class is responsible for actually drawing the cell in the grid.
Class Hierarchy¶
Inheritance diagram for class XLSRenderer:

Known Superclasses¶
Methods Summary¶Default class constructor. |
|
Draw the given cell on the provided dc inside the given rectangle using |
Class API¶XLSRenderer(gridlib.GridCellRenderer)¶This class is responsible for actually drawing the cell in the grid.
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.
grid – an instance of grid.Grid;
attr – an instance of grid.GridCellAttr;
dc – an instance of wx.DC;
rect – an instance of wx.Rect, representing the cell rectangle;
row – the row in which this cell lives;
col – the column in which this cell lives;
isSelected – True if the cell is selected, False otherwise.