wx.grid.GridCellBoolEditor

Inheritance diagram for wx.grid.GridCellBoolEditor:



Class API

Methods

__init__()
No docstrings available for this method.

IsTrueValue(value)

Returns True if the given value is equal to the string representation of the truth value we currently use.

Parameters:

  • value (string)

Returns:

bool

See also

UseStringValues


UseStringValues(valueTrue="1", valueFalse="")

This method allows to customize the values returned by GetValue() method for the cell using this editor.

The default values of the arguments are used, i.e. "1" is returned if the cell is checked and an empty string otherwise, using this method allows to change this.

Parameters:

  • valueTrue (string)
  • valueFalse (string)