1wxGridCellBoolEditor(3) Erlang Module Definition wxGridCellBoolEditor(3)
2
3
4
6 wxGridCellBoolEditor - Functions for wxGridCellBoolEditor class
7
9 Grid cell editor for boolean data.
10
11 See: wxGridCellEditor, wxGridCellAutoWrapStringEditor (not implemented
12 in wx), wxGridCellChoiceEditor, wxGridCellEnumEditor (not implemented
13 in wx), wxGridCellFloatEditor, wxGridCellNumberEditor, wxGridCellTextE‐
14 ditor, wxGridCellDateEditor (not implemented in wx)
15
16 This class is derived (and can use functions) from: wxGridCellEditor
17
18 wxWidgets docs: wxGridCellBoolEditor
19
21 wxGridCellBoolEditor() = wx:wx_object()
22
24 new() -> wxGridCellBoolEditor()
25
26 Default constructor.
27
28 isTrueValue(Value) -> boolean()
29
30 Types:
31
32 Value = unicode:chardata()
33
34 Returns true if the given value is equal to the string represen‐
35 tation of the truth value we currently use (see useStringVal‐
36 ues/1).
37
38 useStringValues() -> ok
39
40 useStringValues(Options :: [Option]) -> ok
41
42 Types:
43
44 Option =
45 {valueTrue, unicode:chardata()} |
46 {valueFalse, unicode:chardata()}
47
48 This method allows you to customize the values returned by wx‐
49 GridCellNumberEditor:getValue/1 for the cell using this editor.
50
51 By default, the default values of the arguments are used, i.e.
52 "1" is returned if the cell is checked and an empty string oth‐
53 erwise.
54
55 destroy(This :: wxGridCellBoolEditor()) -> ok
56
57 Destroys the object.
58
59
60
61wxWidgets team. wx 2.1 wxGridCellBoolEditor(3)