---
name: "wxGridCellBoolEditor"
section: "3erl"
platform: "linux"
package: "erlang-manpages"
version: "1:25.2.3+dfsg-1+deb12u4"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/wxGridCellBoolEditor"
---

# wxGridCellBoolEditor(3erl)

Functions for wxGridCellBoolEditor class

## NAME

wxGridCellBoolEditor - Functions for wxGridCellBoolEditor class

## DESCRIPTION

Grid cell editor for boolean data.

See: *wxGridCellEditor*, *wxGridCellAutoWrapStringEditor* (not implemented in wx), *wxGridCellChoiceEditor*, *wxGridCellEnumEditor* (not implemented in wx), *wxGridCellFloatEditor*, *wxGridCellNumberEditor*, *wxGridCellTextEditor*, *wxGridCellDateEditor* (not implemented in wx)

This class is derived (and can use functions) from: *wxGridCellEditor*

wxWidgets docs: wxGridCellBoolEditor

## DATA TYPES

```
wxGridCellBoolEditor() = wx:wx_object()
```

## EXPORTS

```
new() -> wxGridCellBoolEditor()
```

Default constructor.

```
isTrueValue(Value) -> boolean()
```

Types:

Value = unicode:chardata()\

Returns true if the given *value* is equal to the string representation of the truth value we currently use (see *useStringValues/1*).

```
useStringValues() -> ok
```

```
useStringValues(Options :: [Option]) -> ok
```

Types:

Option = \
\
     {valueTrue, unicode:chardata()} \|\
\
     {valueFalse, unicode:chardata()}\

This method allows you to customize the values returned by *wxGridCellNumberEditor:getValue/1* for the cell using this editor.

By default, the default values of the arguments are used, i.e. *"1"* is returned if the cell is checked and an empty string otherwise.

```
destroy(This :: wxGridCellBoolEditor()) -> ok
```

Destroys the object.
