Base class for activatable editors.
Inheriting from this class makes it simpler to implement editors that support only activation, but not in-place editing, as they only need to implement TryActivate
, DoActivate
and Clone
methods, but not all the other pure virtual methods of wx.grid.GridCellEditor.
New in version 4.1/wxWidgets-3.1.4.
Same method as in wx.grid.GridCellEditor, but pure virtual. |
|
Same method as in wx.grid.GridCellEditor, but pure virtual. |
wx.grid.
GridCellActivatableEditor
(GridCellEditor)¶Base class for activatable editors.
DoActivate
(self, row, col, grid)¶Same method as in wx.grid.GridCellEditor, but pure virtual.
row (int) –
col (int) –
grid (wx.grid.Grid) –
TryActivate
(self, row, col, grid, actSource)¶Same method as in wx.grid.GridCellEditor, but pure virtual.
Note that the implementation of this method must never return wx.grid.GridActivationResult.DoEdit
for the editors inheriting from this class, as it doesn’t support normal editing.
row (int) –
col (int) –
grid (wx.grid.Grid) –
actSource (wx.grid.GridActivationSource) –