Common base class for row and column headers renderers.
New in version 2.9.1.
wx.grid.
GridHeaderLabelsRenderer
(GridCornerHeaderRenderer)¶Common base class for row and column headers renderers.
DrawLabel
(self, grid, dc, value, rect, horizAlign, vertAlign, textOrientation)¶Called by the grid to draw the specified label.
Notice that the base class DrawBorder
method is called before this one.
The default implementation uses wx.grid.Grid.GetLabelTextColour
and wx.grid.Grid.GetLabelFont
to draw the label.
Parameters: |
|
---|