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

NAME

6       wxListBox - See external documentation: wxListBox.
7

DESCRIPTION

9       See external documentation: wxListBox.
10
11       This class is derived (and can use functions) from:
12       wxControlWithItems
13       wxControl
14       wxWindow
15       wxEvtHandler
16

DATA TYPES

18         wxListBox():
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

EXPORTS

26       new() -> wxListBox()
27
28              See external documentation.
29
30       new(Parent, Id) -> wxListBox()
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]) -> wxListBox()
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 = wxListBox()
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 = wxListBox()
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       deselect(This, N) -> ok
80
81              Types:
82
83                 This = wxListBox()
84                 N = integer()
85
86              See external documentation.
87
88       getSelections(This) -> Result
89
90              Types:
91
92                 Result = {Res::integer(), ASelections::[integer()]}
93                 This = wxListBox()
94
95              See external documentation.
96
97       insertItems(This, Items, Pos) -> ok
98
99              Types:
100
101                 This = wxListBox()
102                 Items = [unicode:chardata()]
103                 Pos = integer()
104
105              See external documentation.
106
107       isSelected(This, N) -> boolean()
108
109              Types:
110
111                 This = wxListBox()
112                 N = integer()
113
114              See external documentation.
115
116       set(This, Items) -> ok
117
118              Types:
119
120                 This = wxListBox()
121                 Items = [unicode:chardata()]
122
123              See external documentation.
124
125       hitTest(This, Point) -> integer()
126
127              Types:
128
129                 This = wxListBox()
130                 Point = {X::integer(), Y::integer()}
131
132              See external documentation.
133
134       setFirstItem(This, N) -> ok
135
136              Types:
137
138                 This = wxListBox()
139                 N = integer()
140
141              See external documentation.
142              Also:
143              setFirstItem(This, S) -> 'ok' when
144              This::wxListBox(), S::unicode:chardata().
145
146
147       destroy(This::wxListBox()) -> ok
148
149              Destroys this object, do not use object again
150

AUTHORS

152       <>
153
154
155
156                                   wx 1.8.9                       wxListBox(3)
Impressum