1wxChoice(3) Erlang Module Definition wxChoice(3)
2
3
4
6 wxChoice - See external documentation: wxChoice.
7
9 See external documentation: wxChoice.
10
11 This class is derived (and can use functions) from:
12 wxControlWithItems
13 wxControl
14 wxWindow
15 wxEvtHandler
16
18 wxChoice():
19
20
21 An object reference, The representation is internal and can be
22 changed without notice. It can't be used for comparsion stored on
23 disc or distributed for use on other nodes.
24
26 new() -> wxChoice()
27
28 See external documentation.
29
30 new(Parent, Id) -> wxChoice()
31
32 Types:
33
34 Parent = wxWindow:wxWindow()
35 Id = integer()
36
37 Equivalent to new(Parent, Id, []).
38
39 new(Parent, Id, Options::[Option]) -> wxChoice()
40
41 Types:
42
43 Parent = wxWindow:wxWindow()
44 Id = integer()
45 Option = {pos, {X::integer(), Y::integer()}} | {size,
46 {W::integer(), H::integer()}} | {choices, [unicode:char‐
47 data()]} | {style, integer()} | {validator, wx:wx_object()}
48
49 See external documentation.
50
51 create(This, Parent, Id, Pos, Size, Choices) -> boolean()
52
53 Types:
54
55 This = wxChoice()
56 Parent = wxWindow:wxWindow()
57 Id = integer()
58 Pos = {X::integer(), Y::integer()}
59 Size = {W::integer(), H::integer()}
60 Choices = [unicode:chardata()]
61
62 Equivalent to create(This, Parent, Id, Pos, Size, Choices, []).
63
64 create(This, Parent, Id, Pos, Size, Choices, Options::[Option]) ->
65 boolean()
66
67 Types:
68
69 This = wxChoice()
70 Parent = wxWindow:wxWindow()
71 Id = integer()
72 Pos = {X::integer(), Y::integer()}
73 Size = {W::integer(), H::integer()}
74 Choices = [unicode:chardata()]
75 Option = {style, integer()} | {validator, wx:wx_object()}
76
77 See external documentation.
78
79 delete(This, N) -> ok
80
81 Types:
82
83 This = wxChoice()
84 N = integer()
85
86 See external documentation.
87
88 getColumns(This) -> integer()
89
90 Types:
91
92 This = wxChoice()
93
94 See external documentation.
95
96 setColumns(This) -> ok
97
98 Types:
99
100 This = wxChoice()
101
102 Equivalent to setColumns(This, []).
103
104 setColumns(This, Options::[Option]) -> ok
105
106 Types:
107
108 This = wxChoice()
109 Option = {n, integer()}
110
111 See external documentation.
112
113 destroy(This::wxChoice()) -> ok
114
115 Destroys this object, do not use object again
116
118 <>
119
120
121
122 wx 1.9.3 wxChoice(3)