This class can be mixed with wx.grid.Grid to add the ability to plugin label renderer objects for the row, column and corner labels, similar to how the cell renderers work in the main Grid class.
__init__ |
|
SetColLabelRenderer |
Register a renderer to be used for drawing the label for the |
SetCornerLabelRenderer |
Sets the renderer that should be used for drawing the area in |
SetDefaultColLabelRenderer |
Set the column label renderer that should be used for any |
SetDefaultRowLabelRenderer |
Set the row label renderer that should be used for any row |
SetRowLabelRenderer |
Register a renderer to be used for drawing the label for the |
GridWithLabelRenderersMixin
(object)¶This class can be mixed with wx.grid.Grid to add the ability to plugin label renderer objects for the row, column and corner labels, similar to how the cell renderers work in the main Grid class.
__init__
(self)¶SetColLabelRenderer
(self, col, renderer)¶Register a renderer to be used for drawing the label for the given column.
SetCornerLabelRenderer
(self, renderer)¶Sets the renderer that should be used for drawing the area in
the upper left corner of the Grid, between the row labels and
the column labels. Defaults to an instance of
GridDefaultCornerLabelRenderer
SetDefaultColLabelRenderer
(self, renderer)¶Set the column label renderer that should be used for any
column that does not have an explicitly set renderer.
Defaults to an instance of GridDefaultColLabelRenderer
.
SetDefaultRowLabelRenderer
(self, renderer)¶Set the row label renderer that should be used for any row
that does not have an explicitly set renderer. Defaults to
an instance of GridDefaultRowLabelRenderer
.
SetRowLabelRenderer
(self, row, renderer)¶Register a renderer to be used for drawing the label for the given row.