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