1wxTreebook(3) Erlang Module Definition wxTreebook(3)
2
3
4
6 wxTreebook - See external documentation: wxTreebook.
7
9 See external documentation: wxTreebook.
10
11 This class is derived (and can use functions) from:
12 wxControl
13 wxWindow
14 wxEvtHandler
15
17 wxTreebook():
18
19
20 An object reference, The representation is internal and can be
21 changed without notice. It can't be used for comparsion stored on
22 disc or distributed for use on other nodes.
23
25 new() -> wxTreebook()
26
27 See external documentation.
28
29 new(Parent, Id) -> wxTreebook()
30
31 Types:
32
33 Parent = wxWindow:wxWindow()
34 Id = integer()
35
36 Equivalent to new(Parent, Id, []).
37
38 new(Parent, Id, Options::[Option]) -> wxTreebook()
39
40 Types:
41
42 Parent = wxWindow:wxWindow()
43 Id = integer()
44 Option = {pos, {X::integer(), Y::integer()}} | {size,
45 {W::integer(), H::integer()}} | {style, integer()}
46
47 See external documentation.
48
49 addPage(This, Page, Text) -> boolean()
50
51 Types:
52
53 This = wxTreebook()
54 Page = wxWindow:wxWindow()
55 Text = unicode:chardata()
56
57 Equivalent to addPage(This, Page, Text, []).
58
59 addPage(This, Page, Text, Options::[Option]) -> boolean()
60
61 Types:
62
63 This = wxTreebook()
64 Page = wxWindow:wxWindow()
65 Text = unicode:chardata()
66 Option = {bSelect, boolean()} | {imageId, integer()}
67
68 See external documentation.
69
70 advanceSelection(This) -> ok
71
72 Types:
73
74 This = wxTreebook()
75
76 Equivalent to advanceSelection(This, []).
77
78 advanceSelection(This, Options::[Option]) -> ok
79
80 Types:
81
82 This = wxTreebook()
83 Option = {forward, boolean()}
84
85 See external documentation.
86
87 assignImageList(This, ImageList) -> ok
88
89 Types:
90
91 This = wxTreebook()
92 ImageList = wxImageList:wxImageList()
93
94 See external documentation.
95
96 create(This, Parent, Id) -> boolean()
97
98 Types:
99
100 This = wxTreebook()
101 Parent = wxWindow:wxWindow()
102 Id = integer()
103
104 Equivalent to create(This, Parent, Id, []).
105
106 create(This, Parent, Id, Options::[Option]) -> boolean()
107
108 Types:
109
110 This = wxTreebook()
111 Parent = wxWindow:wxWindow()
112 Id = integer()
113 Option = {pos, {X::integer(), Y::integer()}} | {size,
114 {W::integer(), H::integer()}} | {style, integer()}
115
116 See external documentation.
117
118 deleteAllPages(This) -> boolean()
119
120 Types:
121
122 This = wxTreebook()
123
124 See external documentation.
125
126 deletePage(This, Pos) -> boolean()
127
128 Types:
129
130 This = wxTreebook()
131 Pos = integer()
132
133 See external documentation.
134
135 removePage(This, N) -> boolean()
136
137 Types:
138
139 This = wxTreebook()
140 N = integer()
141
142 See external documentation.
143
144 getCurrentPage(This) -> wxWindow:wxWindow()
145
146 Types:
147
148 This = wxTreebook()
149
150 See external documentation.
151
152 getImageList(This) -> wxImageList:wxImageList()
153
154 Types:
155
156 This = wxTreebook()
157
158 See external documentation.
159
160 getPage(This, N) -> wxWindow:wxWindow()
161
162 Types:
163
164 This = wxTreebook()
165 N = integer()
166
167 See external documentation.
168
169 getPageCount(This) -> integer()
170
171 Types:
172
173 This = wxTreebook()
174
175 See external documentation.
176
177 getPageImage(This, N) -> integer()
178
179 Types:
180
181 This = wxTreebook()
182 N = integer()
183
184 See external documentation.
185
186 getPageText(This, N) -> unicode:charlist()
187
188 Types:
189
190 This = wxTreebook()
191 N = integer()
192
193 See external documentation.
194
195 getSelection(This) -> integer()
196
197 Types:
198
199 This = wxTreebook()
200
201 See external documentation.
202
203 expandNode(This, Pos) -> boolean()
204
205 Types:
206
207 This = wxTreebook()
208 Pos = integer()
209
210 Equivalent to expandNode(This, Pos, []).
211
212 expandNode(This, Pos, Options::[Option]) -> boolean()
213
214 Types:
215
216 This = wxTreebook()
217 Pos = integer()
218 Option = {expand, boolean()}
219
220 See external documentation.
221
222 isNodeExpanded(This, Pos) -> boolean()
223
224 Types:
225
226 This = wxTreebook()
227 Pos = integer()
228
229 See external documentation.
230
231 hitTest(This, Pt) -> Result
232
233 Types:
234
235 Result = {Res::integer(), Flags::integer()}
236 This = wxTreebook()
237 Pt = {X::integer(), Y::integer()}
238
239 See external documentation.
240
241 insertPage(This, Pos, Page, Text) -> boolean()
242
243 Types:
244
245 This = wxTreebook()
246 Pos = integer()
247 Page = wxWindow:wxWindow()
248 Text = unicode:chardata()
249
250 Equivalent to insertPage(This, Pos, Page, Text, []).
251
252 insertPage(This, Pos, Page, Text, Options::[Option]) -> boolean()
253
254 Types:
255
256 This = wxTreebook()
257 Pos = integer()
258 Page = wxWindow:wxWindow()
259 Text = unicode:chardata()
260 Option = {bSelect, boolean()} | {imageId, integer()}
261
262 See external documentation.
263
264 insertSubPage(This, Pos, Page, Text) -> boolean()
265
266 Types:
267
268 This = wxTreebook()
269 Pos = integer()
270 Page = wxWindow:wxWindow()
271 Text = unicode:chardata()
272
273 Equivalent to insertSubPage(This, Pos, Page, Text, []).
274
275 insertSubPage(This, Pos, Page, Text, Options::[Option]) -> boolean()
276
277 Types:
278
279 This = wxTreebook()
280 Pos = integer()
281 Page = wxWindow:wxWindow()
282 Text = unicode:chardata()
283 Option = {bSelect, boolean()} | {imageId, integer()}
284
285 See external documentation.
286
287 setImageList(This, ImageList) -> ok
288
289 Types:
290
291 This = wxTreebook()
292 ImageList = wxImageList:wxImageList()
293
294 See external documentation.
295
296 setPageSize(This, Size) -> ok
297
298 Types:
299
300 This = wxTreebook()
301 Size = {W::integer(), H::integer()}
302
303 See external documentation.
304
305 setPageImage(This, N, ImageId) -> boolean()
306
307 Types:
308
309 This = wxTreebook()
310 N = integer()
311 ImageId = integer()
312
313 See external documentation.
314
315 setPageText(This, N, StrText) -> boolean()
316
317 Types:
318
319 This = wxTreebook()
320 N = integer()
321 StrText = unicode:chardata()
322
323 See external documentation.
324
325 setSelection(This, N) -> integer()
326
327 Types:
328
329 This = wxTreebook()
330 N = integer()
331
332 See external documentation.
333
334 changeSelection(This, N) -> integer()
335
336 Types:
337
338 This = wxTreebook()
339 N = integer()
340
341 See external documentation.
342
343 destroy(This::wxTreebook()) -> ok
344
345 Destroys this object, do not use object again
346
348 <>
349
350
351
352 wx 1.9.3 wxTreebook(3)