phoenix_title wx.grid.GridCellActivatableEditor

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.


class_hierarchy Class Hierarchy

Inheritance diagram for class GridCellActivatableEditor:

method_summary Methods Summary

DoActivate

Same method as in wx.grid.GridCellEditor, but pure virtual.

TryActivate

Same method as in wx.grid.GridCellEditor, but pure virtual.


api Class API

class wx.grid.GridCellActivatableEditor(GridCellEditor)

Base class for activatable editors.


Methods

DoActivate(self, row, col, grid)

Same method as in wx.grid.GridCellEditor, but pure virtual.

Parameters:


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.

Parameters:
Return type:

wx.grid.GridActivationResult