1wxGridCellChoiceEditor(3)  Erlang Module Definition  wxGridCellChoiceEditor(3)
2
3
4

NAME

6       wxGridCellChoiceEditor - Functions for wxGridCellChoiceEditor class
7

DESCRIPTION

9       Grid  cell  editor  for  string data providing the user a choice from a
10       list of strings.
11
12       See: wxGridCellEditor, wxGridCellAutoWrapStringEditor (not  implemented
13       in  wx), wxGridCellBoolEditor, wxGridCellEnumEditor (not implemented in
14       wx), wxGridCellFloatEditor, wxGridCellNumberEditor,  wxGridCellTextEdi‐
15       tor, wxGridCellDateEditor (not implemented in wx)
16
17       This class is derived (and can use functions) from: wxGridCellEditor
18
19       wxWidgets docs: wxGridCellChoiceEditor
20

DATA TYPES

22       wxGridCellChoiceEditor() = wx:wx_object()
23

EXPORTS

25       new(Choices) -> wxGridCellChoiceEditor()
26
27              Types:
28
29                 Choices = [unicode:chardata()]
30
31       new(Choices, Options :: [Option]) -> wxGridCellChoiceEditor()
32
33              Types:
34
35                 Choices = [unicode:chardata()]
36                 Option = {allowOthers, boolean()}
37
38              Choice cell renderer ctor.
39
40       setParameters(This, Params) -> ok
41
42              Types:
43
44                 This = wxGridCellChoiceEditor()
45                 Params = unicode:chardata()
46
47              Parameters string format is "item1[,item2[...,itemN]]".
48
49              This  method  can  be  called  before the editor is used for the
50              first time, or later, in which case it replaces  the  previously
51              specified strings with the new ones.
52
53       destroy(This :: wxGridCellChoiceEditor()) -> ok
54
55              Destroys the object.
56
57
58
59wxWidgets team.                    wx 2.2.1          wxGridCellChoiceEditor(3)
Impressum