XLSRenderer
This class is responsible for actually drawing the cell in the grid.
Inheritance Diagram
Inheritance diagram for: XLSRenderer
Methods Summary
__init__ | Default class constructor. |
Draw | Draw the given cell on the provided dc inside the given rectangle using |
Class API
-
class XLSRenderer(gridlib.PyGridCellRenderer)[source]
This class is responsible for actually drawing the cell in the grid.
-
__init__(cell)[source]
Default class constructor.
Parameters: | cell – an instance of XLSCell. |
-
Draw(grid, attr, dc, rect, row, col, isSelected)[source]
Draw the given cell on the provided dc inside the given rectangle using
default or selected state corresponding to the isSelected value.
Parameters: |
- grid – an instance of wx.grid.Grid;
- attr – an instance of wx.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.
|
Tree