1wxSizer(3) Erlang Module Definition wxSizer(3)
2
3
4
6 wxSizer - See external documentation: wxSizer.
7
9 See external documentation: wxSizer.
10
12 wxSizer():
13
14
15 An object reference, The representation is internal and can be
16 changed without notice. It can't be used for comparsion stored on
17 disc or distributed for use on other nodes.
18
20 add(This, Window) -> wxSizerItem:wxSizerItem()
21
22 Types:
23
24 This = wxSizer()
25 Window = wxWindow:wxWindow() | wxSizer()
26
27 Equivalent to add(This, Window, []).
28
29 add(This, Width, Height) -> wxSizerItem:wxSizerItem()
30
31 Types:
32
33 This = wxSizer()
34 Width = integer()
35 Height = integer()
36
37 See external documentation.
38 Also:
39 add(This, Window, [Option]) -> wxSizerItem:wxSizerItem() when
40 This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(),
41 Option :: {'proportion', integer()}
42 | {'flag', integer()}
43 | {'border', integer()}
44 | {'userData', wx:wx_object()};
45 (This, Window, Flags) -> wxSizerItem:wxSizerItem() when
46 This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(),
47 Flags::wxSizerFlags:wxSizerFlags().
48
49
50 add(This, Width, Height, Options::[Option]) ->
51 wxSizerItem:wxSizerItem()
52
53 Types:
54
55 This = wxSizer()
56 Width = integer()
57 Height = integer()
58 Option = {proportion, integer()} | {flag, integer()} | {bor‐
59 der, integer()} | {userData, wx:wx_object()}
60
61 See external documentation.
62
63 addSpacer(This, Size) -> wxSizerItem:wxSizerItem()
64
65 Types:
66
67 This = wxSizer()
68 Size = integer()
69
70 See external documentation.
71
72 addStretchSpacer(This) -> wxSizerItem:wxSizerItem()
73
74 Types:
75
76 This = wxSizer()
77
78 Equivalent to addStretchSpacer(This, []).
79
80 addStretchSpacer(This, Options::[Option]) -> wxSizerItem:wxSizerItem()
81
82 Types:
83
84 This = wxSizer()
85 Option = {prop, integer()}
86
87 See external documentation.
88
89 calcMin(This) -> {W::integer(), H::integer()}
90
91 Types:
92
93 This = wxSizer()
94
95 See external documentation.
96
97 clear(This) -> ok
98
99 Types:
100
101 This = wxSizer()
102
103 Equivalent to clear(This, []).
104
105 clear(This, Options::[Option]) -> ok
106
107 Types:
108
109 This = wxSizer()
110 Option = {delete_windows, boolean()}
111
112 See external documentation.
113
114 detach(This, Index) -> boolean()
115
116 Types:
117
118 This = wxSizer()
119 Index = integer()
120
121 See external documentation.
122 Also:
123 detach(This, Window) -> boolean() when
124 This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer().
125
126
127 fit(This, Window) -> {W::integer(), H::integer()}
128
129 Types:
130
131 This = wxSizer()
132 Window = wxWindow:wxWindow()
133
134 See external documentation.
135
136 fitInside(This, Window) -> ok
137
138 Types:
139
140 This = wxSizer()
141 Window = wxWindow:wxWindow()
142
143 See external documentation.
144
145 getChildren(This) -> [wxSizerItem:wxSizerItem()]
146
147 Types:
148
149 This = wxSizer()
150
151 See external documentation.
152
153 getItem(This, Window) -> wxSizerItem:wxSizerItem()
154
155 Types:
156
157 This = wxSizer()
158 Window = wxWindow:wxWindow() | wxSizer()
159
160 See external documentation.
161 Also:
162 getItem(This, Index) -> wxSizerItem:wxSizerItem() when
163 This::wxSizer(), Index::integer().
164
165
166 getItem(This, Window, Options::[Option]) -> wxSizerItem:wxSizerItem()
167
168 Types:
169
170 This = wxSizer()
171 Window = wxWindow:wxWindow() | wxSizer()
172 Option = {recursive, boolean()}
173
174 See external documentation.
175
176 getSize(This) -> {W::integer(), H::integer()}
177
178 Types:
179
180 This = wxSizer()
181
182 See external documentation.
183
184 getPosition(This) -> {X::integer(), Y::integer()}
185
186 Types:
187
188 This = wxSizer()
189
190 See external documentation.
191
192 getMinSize(This) -> {W::integer(), H::integer()}
193
194 Types:
195
196 This = wxSizer()
197
198 See external documentation.
199
200 hide(This, Window) -> boolean()
201
202 Types:
203
204 This = wxSizer()
205 Window = wxWindow:wxWindow() | wxSizer()
206
207 See external documentation.
208 Also:
209 hide(This, Index) -> boolean() when
210 This::wxSizer(), Index::integer().
211
212
213 hide(This, Window, Options::[Option]) -> boolean()
214
215 Types:
216
217 This = wxSizer()
218 Window = wxWindow:wxWindow() | wxSizer()
219 Option = {recursive, boolean()}
220
221 See external documentation.
222
223 insert(This, Index, Item) -> wxSizerItem:wxSizerItem()
224
225 Types:
226
227 This = wxSizer()
228 Index = integer()
229 Item = wxSizerItem:wxSizerItem()
230
231 See external documentation.
232
233 insert(This, Index, Width, Height) -> wxSizerItem:wxSizerItem()
234
235 Types:
236
237 This = wxSizer()
238 Index = integer()
239 Width = integer()
240 Height = integer()
241
242 See external documentation.
243 Also:
244 insert(This, Index, Window, [Option]) ->
245 wxSizerItem:wxSizerItem() when
246 This::wxSizer(), Index::integer(), Window::wxWindow:wxWindow() |
247 wxSizer(),
248 Option :: {'proportion', integer()}
249 | {'flag', integer()}
250 | {'border', integer()}
251 | {'userData', wx:wx_object()};
252 (This, Index, Window, Flags) -> wxSizerItem:wxSizerItem() when
253 This::wxSizer(), Index::integer(), Window::wxWindow:wxWindow() |
254 wxSizer(), Flags::wxSizerFlags:wxSizerFlags().
255
256
257 insert(This, Index, Width, Height, Options::[Option]) ->
258 wxSizerItem:wxSizerItem()
259
260 Types:
261
262 This = wxSizer()
263 Index = integer()
264 Width = integer()
265 Height = integer()
266 Option = {proportion, integer()} | {flag, integer()} | {bor‐
267 der, integer()} | {userData, wx:wx_object()}
268
269 See external documentation.
270
271 insertSpacer(This, Index, Size) -> wxSizerItem:wxSizerItem()
272
273 Types:
274
275 This = wxSizer()
276 Index = integer()
277 Size = integer()
278
279 See external documentation.
280
281 insertStretchSpacer(This, Index) -> wxSizerItem:wxSizerItem()
282
283 Types:
284
285 This = wxSizer()
286 Index = integer()
287
288 Equivalent to insertStretchSpacer(This, Index, []).
289
290 insertStretchSpacer(This, Index, Options::[Option]) ->
291 wxSizerItem:wxSizerItem()
292
293 Types:
294
295 This = wxSizer()
296 Index = integer()
297 Option = {prop, integer()}
298
299 See external documentation.
300
301 isShown(This, Index) -> boolean()
302
303 Types:
304
305 This = wxSizer()
306 Index = integer()
307
308 See external documentation.
309 Also:
310 isShown(This, Window) -> boolean() when
311 This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer().
312
313
314 layout(This) -> ok
315
316 Types:
317
318 This = wxSizer()
319
320 See external documentation.
321
322 prepend(This, Item) -> wxSizerItem:wxSizerItem()
323
324 Types:
325
326 This = wxSizer()
327 Item = wxSizerItem:wxSizerItem()
328
329 See external documentation.
330
331 prepend(This, Width, Height) -> wxSizerItem:wxSizerItem()
332
333 Types:
334
335 This = wxSizer()
336 Width = integer()
337 Height = integer()
338
339 See external documentation.
340 Also:
341 prepend(This, Window, [Option]) -> wxSizerItem:wxSizerItem()
342 when
343 This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(),
344 Option :: {'proportion', integer()}
345 | {'flag', integer()}
346 | {'border', integer()}
347 | {'userData', wx:wx_object()};
348 (This, Window, Flags) -> wxSizerItem:wxSizerItem() when
349 This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(),
350 Flags::wxSizerFlags:wxSizerFlags().
351
352
353 prepend(This, Width, Height, Options::[Option]) ->
354 wxSizerItem:wxSizerItem()
355
356 Types:
357
358 This = wxSizer()
359 Width = integer()
360 Height = integer()
361 Option = {proportion, integer()} | {flag, integer()} | {bor‐
362 der, integer()} | {userData, wx:wx_object()}
363
364 See external documentation.
365
366 prependSpacer(This, Size) -> wxSizerItem:wxSizerItem()
367
368 Types:
369
370 This = wxSizer()
371 Size = integer()
372
373 See external documentation.
374
375 prependStretchSpacer(This) -> wxSizerItem:wxSizerItem()
376
377 Types:
378
379 This = wxSizer()
380
381 Equivalent to prependStretchSpacer(This, []).
382
383 prependStretchSpacer(This, Options::[Option]) ->
384 wxSizerItem:wxSizerItem()
385
386 Types:
387
388 This = wxSizer()
389 Option = {prop, integer()}
390
391 See external documentation.
392
393 recalcSizes(This) -> ok
394
395 Types:
396
397 This = wxSizer()
398
399 See external documentation.
400
401 remove(This, Index) -> boolean()
402
403 Types:
404
405 This = wxSizer()
406 Index = integer()
407
408 See external documentation.
409 Also:
410 remove(This, Sizer) -> boolean() when
411 This::wxSizer(), Sizer::wxSizer().
412
413
414 replace(This, Oldwin, Newwin) -> boolean()
415
416 Types:
417
418 This = wxSizer()
419 Oldwin = wxWindow:wxWindow() | wxSizer()
420 Newwin = wxWindow:wxWindow() | wxSizer()
421
422 See external documentation.
423 Also:
424 replace(This, Index, Newitem) -> boolean() when
425 This::wxSizer(), Index::integer(),
426 Newitem::wxSizerItem:wxSizerItem().
427
428
429 replace(This, Oldwin, Newwin, Options::[Option]) -> boolean()
430
431 Types:
432
433 This = wxSizer()
434 Oldwin = wxWindow:wxWindow() | wxSizer()
435 Newwin = wxWindow:wxWindow() | wxSizer()
436 Option = {recursive, boolean()}
437
438 See external documentation.
439
440 setDimension(This, X, Y, Width, Height) -> ok
441
442 Types:
443
444 This = wxSizer()
445 X = integer()
446 Y = integer()
447 Width = integer()
448 Height = integer()
449
450 See external documentation.
451
452 setMinSize(This, Size) -> ok
453
454 Types:
455
456 This = wxSizer()
457 Size = {W::integer(), H::integer()}
458
459 See external documentation.
460
461 setMinSize(This, Width, Height) -> ok
462
463 Types:
464
465 This = wxSizer()
466 Width = integer()
467 Height = integer()
468
469 See external documentation.
470
471 setItemMinSize(This, Index, Size) -> boolean()
472
473 Types:
474
475 This = wxSizer()
476 Index = integer()
477 Size = {W::integer(), H::integer()}
478
479 See external documentation.
480 Also:
481 setItemMinSize(This, Window, Size) -> boolean() when
482 This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(),
483 Size::{W::integer(), H::integer()}.
484
485
486 setItemMinSize(This, Index, Width, Height) -> boolean()
487
488 Types:
489
490 This = wxSizer()
491 Index = integer()
492 Width = integer()
493 Height = integer()
494
495 See external documentation.
496 Also:
497 setItemMinSize(This, Window, Width, Height) -> boolean() when
498 This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(),
499 Width::integer(), Height::integer().
500
501
502 setSizeHints(This, Window) -> ok
503
504 Types:
505
506 This = wxSizer()
507 Window = wxWindow:wxWindow()
508
509 See external documentation.
510
511 setVirtualSizeHints(This, Window) -> ok
512
513 Types:
514
515 This = wxSizer()
516 Window = wxWindow:wxWindow()
517
518 See external documentation.
519
520 show(This, Index) -> boolean()
521
522 Types:
523
524 This = wxSizer()
525 Index = integer()
526
527 See external documentation.
528 Also:
529 show(This, Window) -> boolean() when
530 This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer();
531 (This, Show) -> 'ok' when
532 This::wxSizer(), Show::boolean().
533
534
535 show(This, Index, Options::[Option]) -> boolean()
536
537 Types:
538
539 This = wxSizer()
540 Index = integer()
541 Option = {show, boolean()}
542
543 See external documentation.
544 Also:
545 show(This, Window, [Option]) -> boolean() when
546 This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(),
547 Option :: {'show', boolean()}
548 | {'recursive', boolean()}.
549
550
552 <>
553
554
555
556 wx 1.9 wxSizer(3)