1wxWindow(3) Erlang Module Definition wxWindow(3)
2
3
4
6 wxWindow - See external documentation: wxWindow.
7
9 See external documentation: wxWindow.
10
11 This class is derived (and can use functions) from:
12 wxEvtHandler
13
15 wxWindow():
16
17
18 An object reference, The representation is internal and can be
19 changed without notice. It can't be used for comparsion stored on
20 disc or distributed for use on other nodes.
21
23 new() -> wxWindow()
24
25 See external documentation.
26
27 new(Parent, Id) -> wxWindow()
28
29 Types:
30
31 Parent = wxWindow()
32 Id = integer()
33
34 Equivalent to new(Parent, Id, []).
35
36 new(Parent, Id, Options::[Option]) -> wxWindow()
37
38 Types:
39
40 Parent = wxWindow()
41 Id = integer()
42 Option = {pos, {X::integer(), Y::integer()}} | {size,
43 {W::integer(), H::integer()}} | {style, integer()}
44
45 See external documentation.
46
47 cacheBestSize(This, Size) -> ok
48
49 Types:
50
51 This = wxWindow()
52 Size = {W::integer(), H::integer()}
53
54 See external documentation.
55
56 captureMouse(This) -> ok
57
58 Types:
59
60 This = wxWindow()
61
62 See external documentation.
63
64 center(This) -> ok
65
66 Types:
67
68 This = wxWindow()
69
70 Equivalent to center(This, []).
71
72 center(This, Options::[Option]) -> ok
73
74 Types:
75
76 This = wxWindow()
77 Option = {dir, integer()}
78
79 See external documentation.
80
81 centerOnParent(This) -> ok
82
83 Types:
84
85 This = wxWindow()
86
87 Equivalent to centerOnParent(This, []).
88
89 centerOnParent(This, Options::[Option]) -> ok
90
91 Types:
92
93 This = wxWindow()
94 Option = {dir, integer()}
95
96 See external documentation.
97
98 centre(This) -> ok
99
100 Types:
101
102 This = wxWindow()
103
104 Equivalent to centre(This, []).
105
106 centre(This, Options::[Option]) -> ok
107
108 Types:
109
110 This = wxWindow()
111 Option = {dir, integer()}
112
113 See external documentation.
114
115 centreOnParent(This) -> ok
116
117 Types:
118
119 This = wxWindow()
120
121 Equivalent to centreOnParent(This, []).
122
123 centreOnParent(This, Options::[Option]) -> ok
124
125 Types:
126
127 This = wxWindow()
128 Option = {dir, integer()}
129
130 See external documentation.
131
132 clearBackground(This) -> ok
133
134 Types:
135
136 This = wxWindow()
137
138 See external documentation.
139
140 clientToScreen(This, Pt) -> {X::integer(), Y::integer()}
141
142 Types:
143
144 This = wxWindow()
145 Pt = {X::integer(), Y::integer()}
146
147 See external documentation.
148
149 clientToScreen(This, X, Y) -> {X::integer(), Y::integer()}
150
151 Types:
152
153 This = wxWindow()
154 X = integer()
155 Y = integer()
156
157 See external documentation.
158
159 close(This) -> boolean()
160
161 Types:
162
163 This = wxWindow()
164
165 Equivalent to close(This, []).
166
167 close(This, Options::[Option]) -> boolean()
168
169 Types:
170
171 This = wxWindow()
172 Option = {force, boolean()}
173
174 See external documentation.
175
176 convertDialogToPixels(This, Sz) -> {W::integer(), H::integer()}
177
178 Types:
179
180 This = wxWindow()
181 Sz = {W::integer(), H::integer()}
182
183 See external documentation.
184
185 convertPixelsToDialog(This, Sz) -> {W::integer(), H::integer()}
186
187 Types:
188
189 This = wxWindow()
190 Sz = {W::integer(), H::integer()}
191
192 See external documentation.
193
194 Destroy(This) -> boolean()
195
196 Types:
197
198 This = wxWindow()
199
200 See external documentation.
201
202 destroyChildren(This) -> boolean()
203
204 Types:
205
206 This = wxWindow()
207
208 See external documentation.
209
210 disable(This) -> boolean()
211
212 Types:
213
214 This = wxWindow()
215
216 See external documentation.
217
218 dragAcceptFiles(This, Accept) -> ok
219
220 Types:
221
222 This = wxWindow()
223 Accept = boolean()
224
225 See external documentation.
226
227 enable(This) -> boolean()
228
229 Types:
230
231 This = wxWindow()
232
233 Equivalent to enable(This, []).
234
235 enable(This, Options::[Option]) -> boolean()
236
237 Types:
238
239 This = wxWindow()
240 Option = {enable, boolean()}
241
242 See external documentation.
243
244 findFocus() -> wxWindow()
245
246 See external documentation.
247
248 findWindow(This, Winid) -> wxWindow()
249 findWindow(This, Name) -> wxWindow()
250
251 Types:
252
253 This = wxWindow()
254 Winid = integer()
255 This = wxWindow()
256 Name = unicode:chardata()
257
258 See external documentation.
259 Also:
260 findWindow(This, Name) -> wxWindow() when
261 This::wxWindow(), Name::unicode:chardata().
262
263
264 findWindowById(Winid) -> wxWindow()
265
266 Types:
267
268 Winid = integer()
269
270 Equivalent to findWindowById(Winid, []).
271
272 findWindowById(Winid, Options::[Option]) -> wxWindow()
273
274 Types:
275
276 Winid = integer()
277 Option = {parent, wxWindow()}
278
279 See external documentation.
280
281 findWindowByName(Name) -> wxWindow()
282
283 Types:
284
285 Name = unicode:chardata()
286
287 Equivalent to findWindowByName(Name, []).
288
289 findWindowByName(Name, Options::[Option]) -> wxWindow()
290
291 Types:
292
293 Name = unicode:chardata()
294 Option = {parent, wxWindow()}
295
296 See external documentation.
297
298 findWindowByLabel(Label) -> wxWindow()
299
300 Types:
301
302 Label = unicode:chardata()
303
304 Equivalent to findWindowByLabel(Label, []).
305
306 findWindowByLabel(Label, Options::[Option]) -> wxWindow()
307
308 Types:
309
310 Label = unicode:chardata()
311 Option = {parent, wxWindow()}
312
313 See external documentation.
314
315 fit(This) -> ok
316
317 Types:
318
319 This = wxWindow()
320
321 See external documentation.
322
323 fitInside(This) -> ok
324
325 Types:
326
327 This = wxWindow()
328
329 See external documentation.
330
331 freeze(This) -> ok
332
333 Types:
334
335 This = wxWindow()
336
337 See external documentation.
338
339 getAcceleratorTable(This) -> wxAcceleratorTable:wxAcceleratorTable()
340
341 Types:
342
343 This = wxWindow()
344
345 See external documentation.
346
347 getBackgroundColour(This) -> wx:wx_colour4()
348
349 Types:
350
351 This = wxWindow()
352
353 See external documentation.
354
355 getBackgroundStyle(This) -> wx:wx_enum()
356
357 Types:
358
359 This = wxWindow()
360
361 See external documentation.
362 Res = ?wxBG_STYLE_SYSTEM | ?wxBG_STYLE_COLOUR | ?wxBG_STYLE_CUS‐
363 TOM
364
365 getBestSize(This) -> {W::integer(), H::integer()}
366
367 Types:
368
369 This = wxWindow()
370
371 See external documentation.
372
373 getCaret(This) -> wxCaret:wxCaret()
374
375 Types:
376
377 This = wxWindow()
378
379 See external documentation.
380
381 getCapture() -> wxWindow()
382
383 See external documentation.
384
385 getCharHeight(This) -> integer()
386
387 Types:
388
389 This = wxWindow()
390
391 See external documentation.
392
393 getCharWidth(This) -> integer()
394
395 Types:
396
397 This = wxWindow()
398
399 See external documentation.
400
401 getChildren(This) -> [wxWindow()]
402
403 Types:
404
405 This = wxWindow()
406
407 See external documentation.
408
409 getClientSize(This) -> {W::integer(), H::integer()}
410
411 Types:
412
413 This = wxWindow()
414
415 See external documentation.
416
417 getContainingSizer(This) -> wxSizer:wxSizer()
418
419 Types:
420
421 This = wxWindow()
422
423 See external documentation.
424
425 getCursor(This) -> wxCursor:wxCursor()
426
427 Types:
428
429 This = wxWindow()
430
431 See external documentation.
432
433 getDropTarget(This) -> wx:wx_object()
434
435 Types:
436
437 This = wxWindow()
438
439 See external documentation.
440
441 getEventHandler(This) -> wxEvtHandler:wxEvtHandler()
442
443 Types:
444
445 This = wxWindow()
446
447 See external documentation.
448
449 getExtraStyle(This) -> integer()
450
451 Types:
452
453 This = wxWindow()
454
455 See external documentation.
456
457 getFont(This) -> wxFont:wxFont()
458
459 Types:
460
461 This = wxWindow()
462
463 See external documentation.
464
465 getForegroundColour(This) -> wx:wx_colour4()
466
467 Types:
468
469 This = wxWindow()
470
471 See external documentation.
472
473 getGrandParent(This) -> wxWindow()
474
475 Types:
476
477 This = wxWindow()
478
479 See external documentation.
480
481 getHandle(This) -> integer()
482
483 Types:
484
485 This = wxWindow()
486
487 See external documentation.
488
489 getHelpText(This) -> unicode:charlist()
490
491 Types:
492
493 This = wxWindow()
494
495 See external documentation.
496
497 getId(This) -> integer()
498
499 Types:
500
501 This = wxWindow()
502
503 See external documentation.
504
505 getLabel(This) -> unicode:charlist()
506
507 Types:
508
509 This = wxWindow()
510
511 See external documentation.
512
513 getMaxSize(This) -> {W::integer(), H::integer()}
514
515 Types:
516
517 This = wxWindow()
518
519 See external documentation.
520
521 getMinSize(This) -> {W::integer(), H::integer()}
522
523 Types:
524
525 This = wxWindow()
526
527 See external documentation.
528
529 getName(This) -> unicode:charlist()
530
531 Types:
532
533 This = wxWindow()
534
535 See external documentation.
536
537 getParent(This) -> wxWindow()
538
539 Types:
540
541 This = wxWindow()
542
543 See external documentation.
544
545 getPosition(This) -> {X::integer(), Y::integer()}
546
547 Types:
548
549 This = wxWindow()
550
551 See external documentation.
552
553 getRect(This) -> {X::integer(), Y::integer(), W::integer(), H::inte‐
554 ger()}
555
556 Types:
557
558 This = wxWindow()
559
560 See external documentation.
561
562 getScreenPosition(This) -> {X::integer(), Y::integer()}
563
564 Types:
565
566 This = wxWindow()
567
568 See external documentation.
569
570 getScreenRect(This) -> {X::integer(), Y::integer(), W::integer(),
571 H::integer()}
572
573 Types:
574
575 This = wxWindow()
576
577 See external documentation.
578
579 getScrollPos(This, Orient) -> integer()
580
581 Types:
582
583 This = wxWindow()
584 Orient = integer()
585
586 See external documentation.
587
588 getScrollRange(This, Orient) -> integer()
589
590 Types:
591
592 This = wxWindow()
593 Orient = integer()
594
595 See external documentation.
596
597 getScrollThumb(This, Orient) -> integer()
598
599 Types:
600
601 This = wxWindow()
602 Orient = integer()
603
604 See external documentation.
605
606 getSize(This) -> {W::integer(), H::integer()}
607
608 Types:
609
610 This = wxWindow()
611
612 See external documentation.
613
614 getSizer(This) -> wxSizer:wxSizer()
615
616 Types:
617
618 This = wxWindow()
619
620 See external documentation.
621
622 getTextExtent(This, String) -> Result
623
624 Types:
625
626 Result = {X::integer(), Y::integer(), Descent::integer(),
627 ExternalLeading::integer()}
628 This = wxWindow()
629 String = unicode:chardata()
630
631 Equivalent to getTextExtent(This, String, []).
632
633 getTextExtent(This, String, Options::[Option]) -> Result
634
635 Types:
636
637 Result = {X::integer(), Y::integer(), Descent::integer(),
638 ExternalLeading::integer()}
639 This = wxWindow()
640 String = unicode:chardata()
641 Option = {theFont, wxFont:wxFont()}
642
643 See external documentation.
644
645 getToolTip(This) -> wxToolTip:wxToolTip()
646
647 Types:
648
649 This = wxWindow()
650
651 See external documentation.
652
653 getUpdateRegion(This) -> wxRegion:wxRegion()
654
655 Types:
656
657 This = wxWindow()
658
659 See external documentation.
660
661 getVirtualSize(This) -> {W::integer(), H::integer()}
662
663 Types:
664
665 This = wxWindow()
666
667 See external documentation.
668
669 getWindowStyleFlag(This) -> integer()
670
671 Types:
672
673 This = wxWindow()
674
675 See external documentation.
676
677 getWindowVariant(This) -> wx:wx_enum()
678
679 Types:
680
681 This = wxWindow()
682
683 See external documentation.
684 Res = ?wxWINDOW_VARIANT_NORMAL | ?wxWINDOW_VARIANT_SMALL |
685 ?wxWINDOW_VARIANT_MINI | ?wxWINDOW_VARIANT_LARGE | ?wxWIN‐
686 DOW_VARIANT_MAX
687
688 hasCapture(This) -> boolean()
689
690 Types:
691
692 This = wxWindow()
693
694 See external documentation.
695
696 hasScrollbar(This, Orient) -> boolean()
697
698 Types:
699
700 This = wxWindow()
701 Orient = integer()
702
703 See external documentation.
704
705 hasTransparentBackground(This) -> boolean()
706
707 Types:
708
709 This = wxWindow()
710
711 See external documentation.
712
713 hide(This) -> boolean()
714
715 Types:
716
717 This = wxWindow()
718
719 See external documentation.
720
721 inheritAttributes(This) -> ok
722
723 Types:
724
725 This = wxWindow()
726
727 See external documentation.
728
729 initDialog(This) -> ok
730
731 Types:
732
733 This = wxWindow()
734
735 See external documentation.
736
737 invalidateBestSize(This) -> ok
738
739 Types:
740
741 This = wxWindow()
742
743 See external documentation.
744
745 isEnabled(This) -> boolean()
746
747 Types:
748
749 This = wxWindow()
750
751 See external documentation.
752
753 isExposed(This, Pt) -> boolean()
754 isExposed(This, Rect) -> boolean()
755
756 Types:
757
758 This = wxWindow()
759 Pt = {X::integer(), Y::integer()}
760 This = wxWindow()
761 Rect = {X::integer(), Y::integer(), W::integer(), H::inte‐
762 ger()}
763
764 See external documentation.
765 Also:
766 isExposed(This, Rect) -> boolean() when
767 This::wxWindow(), Rect::{X::integer(), Y::integer(), W::inte‐
768 ger(), H::integer()}.
769
770
771 isExposed(This, X, Y) -> boolean()
772
773 Types:
774
775 This = wxWindow()
776 X = integer()
777 Y = integer()
778
779 See external documentation.
780
781 isExposed(This, X, Y, W, H) -> boolean()
782
783 Types:
784
785 This = wxWindow()
786 X = integer()
787 Y = integer()
788 W = integer()
789 H = integer()
790
791 See external documentation.
792
793 isRetained(This) -> boolean()
794
795 Types:
796
797 This = wxWindow()
798
799 See external documentation.
800
801 isShown(This) -> boolean()
802
803 Types:
804
805 This = wxWindow()
806
807 See external documentation.
808
809 isTopLevel(This) -> boolean()
810
811 Types:
812
813 This = wxWindow()
814
815 See external documentation.
816
817 isShownOnScreen(This) -> boolean()
818
819 Types:
820
821 This = wxWindow()
822
823 See external documentation.
824
825 layout(This) -> boolean()
826
827 Types:
828
829 This = wxWindow()
830
831 See external documentation.
832
833 lineDown(This) -> boolean()
834
835 Types:
836
837 This = wxWindow()
838
839 See external documentation.
840
841 lineUp(This) -> boolean()
842
843 Types:
844
845 This = wxWindow()
846
847 See external documentation.
848
849 lower(This) -> ok
850
851 Types:
852
853 This = wxWindow()
854
855 See external documentation.
856
857 makeModal(This) -> ok
858
859 Types:
860
861 This = wxWindow()
862
863 Equivalent to makeModal(This, []).
864
865 makeModal(This, Options::[Option]) -> ok
866
867 Types:
868
869 This = wxWindow()
870 Option = {modal, boolean()}
871
872 See external documentation.
873
874 move(This, Pt) -> ok
875
876 Types:
877
878 This = wxWindow()
879 Pt = {X::integer(), Y::integer()}
880
881 Equivalent to move(This, Pt, []).
882
883 move(This, X, Y) -> ok
884 move(This, Pt, Y::[Option]) -> ok
885
886 Types:
887
888 This = wxWindow()
889 X = integer()
890 Y = integer()
891 This = wxWindow()
892 Pt = {X::integer(), Y::integer()}
893 Option = {flags, integer()}
894
895 See external documentation.
896 Also:
897 move(This, Pt, [Option]) -> 'ok' when
898 This::wxWindow(), Pt::{X::integer(), Y::integer()},
899 Option :: {'flags', integer()}.
900
901
902 move(This, X, Y, Options::[Option]) -> ok
903
904 Types:
905
906 This = wxWindow()
907 X = integer()
908 Y = integer()
909 Option = {flags, integer()}
910
911 See external documentation.
912
913 moveAfterInTabOrder(This, Win) -> ok
914
915 Types:
916
917 This = wxWindow()
918 Win = wxWindow()
919
920 See external documentation.
921
922 moveBeforeInTabOrder(This, Win) -> ok
923
924 Types:
925
926 This = wxWindow()
927 Win = wxWindow()
928
929 See external documentation.
930
931 navigate(This) -> boolean()
932
933 Types:
934
935 This = wxWindow()
936
937 Equivalent to navigate(This, []).
938
939 navigate(This, Options::[Option]) -> boolean()
940
941 Types:
942
943 This = wxWindow()
944 Option = {flags, integer()}
945
946 See external documentation.
947
948 pageDown(This) -> boolean()
949
950 Types:
951
952 This = wxWindow()
953
954 See external documentation.
955
956 pageUp(This) -> boolean()
957
958 Types:
959
960 This = wxWindow()
961
962 See external documentation.
963
964 popEventHandler(This) -> wxEvtHandler:wxEvtHandler()
965
966 Types:
967
968 This = wxWindow()
969
970 Equivalent to popEventHandler(This, []).
971
972 popEventHandler(This, Options::[Option]) -> wxEvtHandler:wxEvtHandler()
973
974 Types:
975
976 This = wxWindow()
977 Option = {deleteHandler, boolean()}
978
979 See external documentation.
980
981 popupMenu(This, Menu) -> boolean()
982
983 Types:
984
985 This = wxWindow()
986 Menu = wxMenu:wxMenu()
987
988 Equivalent to popupMenu(This, Menu, []).
989
990 popupMenu(This, Menu, Options::[Option]) -> boolean()
991
992 Types:
993
994 This = wxWindow()
995 Menu = wxMenu:wxMenu()
996 Option = {pos, {X::integer(), Y::integer()}}
997
998 See external documentation.
999
1000 popupMenu(This, Menu, X, Y) -> boolean()
1001
1002 Types:
1003
1004 This = wxWindow()
1005 Menu = wxMenu:wxMenu()
1006 X = integer()
1007 Y = integer()
1008
1009 See external documentation.
1010
1011 raise(This) -> ok
1012
1013 Types:
1014
1015 This = wxWindow()
1016
1017 See external documentation.
1018
1019 refresh(This) -> ok
1020
1021 Types:
1022
1023 This = wxWindow()
1024
1025 Equivalent to refresh(This, []).
1026
1027 refresh(This, Options::[Option]) -> ok
1028
1029 Types:
1030
1031 This = wxWindow()
1032 Option = {eraseBackground, boolean()} | {rect, {X::integer(),
1033 Y::integer(), W::integer(), H::integer()}}
1034
1035 See external documentation.
1036
1037 refreshRect(This, Rect) -> ok
1038
1039 Types:
1040
1041 This = wxWindow()
1042 Rect = {X::integer(), Y::integer(), W::integer(), H::inte‐
1043 ger()}
1044
1045 Equivalent to refreshRect(This, Rect, []).
1046
1047 refreshRect(This, Rect, Options::[Option]) -> ok
1048
1049 Types:
1050
1051 This = wxWindow()
1052 Rect = {X::integer(), Y::integer(), W::integer(), H::inte‐
1053 ger()}
1054 Option = {eraseBackground, boolean()}
1055
1056 See external documentation.
1057
1058 releaseMouse(This) -> ok
1059
1060 Types:
1061
1062 This = wxWindow()
1063
1064 See external documentation.
1065
1066 removeChild(This, Child) -> ok
1067
1068 Types:
1069
1070 This = wxWindow()
1071 Child = wxWindow()
1072
1073 See external documentation.
1074
1075 reparent(This, NewParent) -> boolean()
1076
1077 Types:
1078
1079 This = wxWindow()
1080 NewParent = wxWindow()
1081
1082 See external documentation.
1083
1084 screenToClient(This) -> {X::integer(), Y::integer()}
1085
1086 Types:
1087
1088 This = wxWindow()
1089
1090 See external documentation.
1091
1092 screenToClient(This, Pt) -> {X::integer(), Y::integer()}
1093
1094 Types:
1095
1096 This = wxWindow()
1097 Pt = {X::integer(), Y::integer()}
1098
1099 See external documentation.
1100
1101 scrollLines(This, Lines) -> boolean()
1102
1103 Types:
1104
1105 This = wxWindow()
1106 Lines = integer()
1107
1108 See external documentation.
1109
1110 scrollPages(This, Pages) -> boolean()
1111
1112 Types:
1113
1114 This = wxWindow()
1115 Pages = integer()
1116
1117 See external documentation.
1118
1119 scrollWindow(This, Dx, Dy) -> ok
1120
1121 Types:
1122
1123 This = wxWindow()
1124 Dx = integer()
1125 Dy = integer()
1126
1127 Equivalent to scrollWindow(This, Dx, Dy, []).
1128
1129 scrollWindow(This, Dx, Dy, Options::[Option]) -> ok
1130
1131 Types:
1132
1133 This = wxWindow()
1134 Dx = integer()
1135 Dy = integer()
1136 Option = {rect, {X::integer(), Y::integer(), W::integer(),
1137 H::integer()}}
1138
1139 See external documentation.
1140
1141 setAcceleratorTable(This, Accel) -> ok
1142
1143 Types:
1144
1145 This = wxWindow()
1146 Accel = wxAcceleratorTable:wxAcceleratorTable()
1147
1148 See external documentation.
1149
1150 setAutoLayout(This, AutoLayout) -> ok
1151
1152 Types:
1153
1154 This = wxWindow()
1155 AutoLayout = boolean()
1156
1157 See external documentation.
1158
1159 setBackgroundColour(This, Colour) -> boolean()
1160
1161 Types:
1162
1163 This = wxWindow()
1164 Colour = wx:wx_colour()
1165
1166 See external documentation.
1167
1168 setBackgroundStyle(This, Style) -> boolean()
1169
1170 Types:
1171
1172 This = wxWindow()
1173 Style = wx:wx_enum()
1174
1175 See external documentation.
1176 Style = ?wxBG_STYLE_SYSTEM | ?wxBG_STYLE_COLOUR |
1177 ?wxBG_STYLE_CUSTOM
1178
1179 setCaret(This, Caret) -> ok
1180
1181 Types:
1182
1183 This = wxWindow()
1184 Caret = wxCaret:wxCaret()
1185
1186 See external documentation.
1187
1188 setClientSize(This, Size) -> ok
1189 setClientSize(This, Rect) -> ok
1190
1191 Types:
1192
1193 This = wxWindow()
1194 Size = {W::integer(), H::integer()}
1195 This = wxWindow()
1196 Rect = {X::integer(), Y::integer(), W::integer(), H::inte‐
1197 ger()}
1198
1199 See external documentation.
1200 Also:
1201 setClientSize(This, Rect) -> 'ok' when
1202 This::wxWindow(), Rect::{X::integer(), Y::integer(), W::inte‐
1203 ger(), H::integer()}.
1204
1205
1206 setClientSize(This, Width, Height) -> ok
1207
1208 Types:
1209
1210 This = wxWindow()
1211 Width = integer()
1212 Height = integer()
1213
1214 See external documentation.
1215
1216 setContainingSizer(This, Sizer) -> ok
1217
1218 Types:
1219
1220 This = wxWindow()
1221 Sizer = wxSizer:wxSizer()
1222
1223 See external documentation.
1224
1225 setCursor(This, Cursor) -> boolean()
1226
1227 Types:
1228
1229 This = wxWindow()
1230 Cursor = wxCursor:wxCursor()
1231
1232 See external documentation.
1233
1234 setMaxSize(This, MaxSize) -> ok
1235
1236 Types:
1237
1238 This = wxWindow()
1239 MaxSize = {W::integer(), H::integer()}
1240
1241 See external documentation.
1242
1243 setMinSize(This, MinSize) -> ok
1244
1245 Types:
1246
1247 This = wxWindow()
1248 MinSize = {W::integer(), H::integer()}
1249
1250 See external documentation.
1251
1252 setOwnBackgroundColour(This, Colour) -> ok
1253
1254 Types:
1255
1256 This = wxWindow()
1257 Colour = wx:wx_colour()
1258
1259 See external documentation.
1260
1261 setOwnFont(This, Font) -> ok
1262
1263 Types:
1264
1265 This = wxWindow()
1266 Font = wxFont:wxFont()
1267
1268 See external documentation.
1269
1270 setOwnForegroundColour(This, Colour) -> ok
1271
1272 Types:
1273
1274 This = wxWindow()
1275 Colour = wx:wx_colour()
1276
1277 See external documentation.
1278
1279 setDropTarget(This, DropTarget) -> ok
1280
1281 Types:
1282
1283 This = wxWindow()
1284 DropTarget = wx:wx_object()
1285
1286 See external documentation.
1287
1288 setExtraStyle(This, ExStyle) -> ok
1289
1290 Types:
1291
1292 This = wxWindow()
1293 ExStyle = integer()
1294
1295 See external documentation.
1296
1297 setFocus(This) -> ok
1298
1299 Types:
1300
1301 This = wxWindow()
1302
1303 See external documentation.
1304
1305 setFocusFromKbd(This) -> ok
1306
1307 Types:
1308
1309 This = wxWindow()
1310
1311 See external documentation.
1312
1313 setFont(This, Font) -> boolean()
1314
1315 Types:
1316
1317 This = wxWindow()
1318 Font = wxFont:wxFont()
1319
1320 See external documentation.
1321
1322 setForegroundColour(This, Colour) -> boolean()
1323
1324 Types:
1325
1326 This = wxWindow()
1327 Colour = wx:wx_colour()
1328
1329 See external documentation.
1330
1331 setHelpText(This, Text) -> ok
1332
1333 Types:
1334
1335 This = wxWindow()
1336 Text = unicode:chardata()
1337
1338 See external documentation.
1339
1340 setId(This, Winid) -> ok
1341
1342 Types:
1343
1344 This = wxWindow()
1345 Winid = integer()
1346
1347 See external documentation.
1348
1349 setLabel(This, Label) -> ok
1350
1351 Types:
1352
1353 This = wxWindow()
1354 Label = unicode:chardata()
1355
1356 See external documentation.
1357
1358 setName(This, Name) -> ok
1359
1360 Types:
1361
1362 This = wxWindow()
1363 Name = unicode:chardata()
1364
1365 See external documentation.
1366
1367 setPalette(This, Pal) -> ok
1368
1369 Types:
1370
1371 This = wxWindow()
1372 Pal = wxPalette:wxPalette()
1373
1374 See external documentation.
1375
1376 setScrollbar(This, Orient, Pos, ThumbVisible, Range) -> ok
1377
1378 Types:
1379
1380 This = wxWindow()
1381 Orient = integer()
1382 Pos = integer()
1383 ThumbVisible = integer()
1384 Range = integer()
1385
1386 Equivalent to setScrollbar(This, Orient, Pos, ThumbVisible,
1387 Range, []).
1388
1389 setScrollbar(This, Orient, Pos, ThumbVisible, Range, Options::[Option])
1390 -> ok
1391
1392 Types:
1393
1394 This = wxWindow()
1395 Orient = integer()
1396 Pos = integer()
1397 ThumbVisible = integer()
1398 Range = integer()
1399 Option = {refresh, boolean()}
1400
1401 See external documentation.
1402
1403 setScrollPos(This, Orient, Pos) -> ok
1404
1405 Types:
1406
1407 This = wxWindow()
1408 Orient = integer()
1409 Pos = integer()
1410
1411 Equivalent to setScrollPos(This, Orient, Pos, []).
1412
1413 setScrollPos(This, Orient, Pos, Options::[Option]) -> ok
1414
1415 Types:
1416
1417 This = wxWindow()
1418 Orient = integer()
1419 Pos = integer()
1420 Option = {refresh, boolean()}
1421
1422 See external documentation.
1423
1424 setSize(This, Rect) -> ok
1425 setSize(This, Size) -> ok
1426
1427 Types:
1428
1429 This = wxWindow()
1430 Rect = {X::integer(), Y::integer(), W::integer(), H::inte‐
1431 ger()}
1432 This = wxWindow()
1433 Size = {W::integer(), H::integer()}
1434
1435 See external documentation.
1436 Also:
1437 setSize(This, Size) -> 'ok' when
1438 This::wxWindow(), Size::{W::integer(), H::integer()}.
1439
1440
1441 setSize(This, Width, Height) -> ok
1442 setSize(This, Rect, Height::[Option]) -> ok
1443
1444 Types:
1445
1446 This = wxWindow()
1447 Width = integer()
1448 Height = integer()
1449 This = wxWindow()
1450 Rect = {X::integer(), Y::integer(), W::integer(), H::inte‐
1451 ger()}
1452 Option = {sizeFlags, integer()}
1453
1454 See external documentation.
1455 Also:
1456 setSize(This, Rect, [Option]) -> 'ok' when
1457 This::wxWindow(), Rect::{X::integer(), Y::integer(), W::inte‐
1458 ger(), H::integer()},
1459 Option :: {'sizeFlags', integer()}.
1460
1461
1462 setSize(This, X, Y, Width, Height) -> ok
1463
1464 Types:
1465
1466 This = wxWindow()
1467 X = integer()
1468 Y = integer()
1469 Width = integer()
1470 Height = integer()
1471
1472 Equivalent to setSize(This, X, Y, Width, Height, []).
1473
1474 setSize(This, X, Y, Width, Height, Options::[Option]) -> ok
1475
1476 Types:
1477
1478 This = wxWindow()
1479 X = integer()
1480 Y = integer()
1481 Width = integer()
1482 Height = integer()
1483 Option = {sizeFlags, integer()}
1484
1485 See external documentation.
1486
1487 setSizeHints(This, MinSize) -> ok
1488
1489 Types:
1490
1491 This = wxWindow()
1492 MinSize = {W::integer(), H::integer()}
1493
1494 Equivalent to setSizeHints(This, MinSize, []).
1495
1496 setSizeHints(This, MinW, MinH) -> ok
1497 setSizeHints(This, MinSize, MinH::[Option]) -> ok
1498
1499 Types:
1500
1501 This = wxWindow()
1502 MinW = integer()
1503 MinH = integer()
1504 This = wxWindow()
1505 MinSize = {W::integer(), H::integer()}
1506 Option = {maxSize, {W::integer(), H::integer()}} | {incSize,
1507 {W::integer(), H::integer()}}
1508
1509 See external documentation.
1510 Also:
1511 setSizeHints(This, MinSize, [Option]) -> 'ok' when
1512 This::wxWindow(), MinSize::{W::integer(), H::integer()},
1513 Option :: {'maxSize', {W::integer(), H::integer()}}
1514 | {'incSize', {W::integer(), H::integer()}}.
1515
1516
1517 setSizeHints(This, MinW, MinH, Options::[Option]) -> ok
1518
1519 Types:
1520
1521 This = wxWindow()
1522 MinW = integer()
1523 MinH = integer()
1524 Option = {maxW, integer()} | {maxH, integer()} | {incW, inte‐
1525 ger()} | {incH, integer()}
1526
1527 See external documentation.
1528
1529 setSizer(This, Sizer) -> ok
1530
1531 Types:
1532
1533 This = wxWindow()
1534 Sizer = wxSizer:wxSizer()
1535
1536 Equivalent to setSizer(This, Sizer, []).
1537
1538 setSizer(This, Sizer, Options::[Option]) -> ok
1539
1540 Types:
1541
1542 This = wxWindow()
1543 Sizer = wxSizer:wxSizer()
1544 Option = {deleteOld, boolean()}
1545
1546 See external documentation.
1547
1548 setSizerAndFit(This, Sizer) -> ok
1549
1550 Types:
1551
1552 This = wxWindow()
1553 Sizer = wxSizer:wxSizer()
1554
1555 Equivalent to setSizerAndFit(This, Sizer, []).
1556
1557 setSizerAndFit(This, Sizer, Options::[Option]) -> ok
1558
1559 Types:
1560
1561 This = wxWindow()
1562 Sizer = wxSizer:wxSizer()
1563 Option = {deleteOld, boolean()}
1564
1565 See external documentation.
1566
1567 setThemeEnabled(This, EnableTheme) -> ok
1568
1569 Types:
1570
1571 This = wxWindow()
1572 EnableTheme = boolean()
1573
1574 See external documentation.
1575
1576 setToolTip(This, Tip) -> ok
1577 setToolTip(This, Tip) -> ok
1578
1579 Types:
1580
1581 This = wxWindow()
1582 Tip = unicode:chardata()
1583 This = wxWindow()
1584 Tip = wxToolTip:wxToolTip()
1585
1586 See external documentation.
1587 Also:
1588 setToolTip(This, Tip) -> 'ok' when
1589 This::wxWindow(), Tip::wxToolTip:wxToolTip().
1590
1591
1592 setVirtualSize(This, Size) -> ok
1593
1594 Types:
1595
1596 This = wxWindow()
1597 Size = {W::integer(), H::integer()}
1598
1599 See external documentation.
1600
1601 setVirtualSize(This, X, Y) -> ok
1602
1603 Types:
1604
1605 This = wxWindow()
1606 X = integer()
1607 Y = integer()
1608
1609 See external documentation.
1610
1611 setVirtualSizeHints(This, MinSize) -> ok
1612
1613 Types:
1614
1615 This = wxWindow()
1616 MinSize = {W::integer(), H::integer()}
1617
1618 Equivalent to setVirtualSizeHints(This, MinSize, []).
1619
1620 setVirtualSizeHints(This, MinW, MinH) -> ok
1621 setVirtualSizeHints(This, MinSize, MinH::[Option]) -> ok
1622
1623 Types:
1624
1625 This = wxWindow()
1626 MinW = integer()
1627 MinH = integer()
1628 This = wxWindow()
1629 MinSize = {W::integer(), H::integer()}
1630 Option = {maxSize, {W::integer(), H::integer()}}
1631
1632 See external documentation.
1633 Also:
1634 setVirtualSizeHints(This, MinSize, [Option]) -> 'ok' when
1635 This::wxWindow(), MinSize::{W::integer(), H::integer()},
1636 Option :: {'maxSize', {W::integer(), H::integer()}}.
1637
1638
1639 setVirtualSizeHints(This, MinW, MinH, Options::[Option]) -> ok
1640
1641 Types:
1642
1643 This = wxWindow()
1644 MinW = integer()
1645 MinH = integer()
1646 Option = {maxW, integer()} | {maxH, integer()}
1647
1648 See external documentation.
1649
1650 setWindowStyle(This, Style) -> ok
1651
1652 Types:
1653
1654 This = wxWindow()
1655 Style = integer()
1656
1657 See external documentation.
1658
1659 setWindowStyleFlag(This, Style) -> ok
1660
1661 Types:
1662
1663 This = wxWindow()
1664 Style = integer()
1665
1666 See external documentation.
1667
1668 setWindowVariant(This, Variant) -> ok
1669
1670 Types:
1671
1672 This = wxWindow()
1673 Variant = wx:wx_enum()
1674
1675 See external documentation.
1676 Variant = ?wxWINDOW_VARIANT_NORMAL | ?wxWINDOW_VARIANT_SMALL |
1677 ?wxWINDOW_VARIANT_MINI | ?wxWINDOW_VARIANT_LARGE | ?wxWIN‐
1678 DOW_VARIANT_MAX
1679
1680 shouldInheritColours(This) -> boolean()
1681
1682 Types:
1683
1684 This = wxWindow()
1685
1686 See external documentation.
1687
1688 show(This) -> boolean()
1689
1690 Types:
1691
1692 This = wxWindow()
1693
1694 Equivalent to show(This, []).
1695
1696 show(This, Options::[Option]) -> boolean()
1697
1698 Types:
1699
1700 This = wxWindow()
1701 Option = {show, boolean()}
1702
1703 See external documentation.
1704
1705 thaw(This) -> ok
1706
1707 Types:
1708
1709 This = wxWindow()
1710
1711 See external documentation.
1712
1713 transferDataFromWindow(This) -> boolean()
1714
1715 Types:
1716
1717 This = wxWindow()
1718
1719 See external documentation.
1720
1721 transferDataToWindow(This) -> boolean()
1722
1723 Types:
1724
1725 This = wxWindow()
1726
1727 See external documentation.
1728
1729 update(This) -> ok
1730
1731 Types:
1732
1733 This = wxWindow()
1734
1735 See external documentation.
1736
1737 updateWindowUI(This) -> ok
1738
1739 Types:
1740
1741 This = wxWindow()
1742
1743 Equivalent to updateWindowUI(This, []).
1744
1745 updateWindowUI(This, Options::[Option]) -> ok
1746
1747 Types:
1748
1749 This = wxWindow()
1750 Option = {flags, integer()}
1751
1752 See external documentation.
1753
1754 validate(This) -> boolean()
1755
1756 Types:
1757
1758 This = wxWindow()
1759
1760 See external documentation.
1761
1762 warpPointer(This, X, Y) -> ok
1763
1764 Types:
1765
1766 This = wxWindow()
1767 X = integer()
1768 Y = integer()
1769
1770 See external documentation.
1771
1772 setTransparent(This, Alpha) -> boolean()
1773
1774 Types:
1775
1776 This = wxWindow()
1777 Alpha = integer()
1778
1779 See external documentation.
1780
1781 canSetTransparent(This) -> boolean()
1782
1783 Types:
1784
1785 This = wxWindow()
1786
1787 See external documentation.
1788
1789 isDoubleBuffered(This) -> boolean()
1790
1791 Types:
1792
1793 This = wxWindow()
1794
1795 See external documentation.
1796
1797 setDoubleBuffered(This, On) -> ok
1798
1799 Types:
1800
1801 This = wxWindow()
1802 On = boolean()
1803
1804 See external documentation.
1805
1806 getContentScaleFactor(This) -> number()
1807
1808 Types:
1809
1810 This = wxWindow()
1811
1812 See external documentation.
1813
1814 getDPI(This) -> {W::integer(), H::integer()}
1815
1816 Types:
1817
1818 This = wxWindow()
1819
1820 See external documentation.
1821
1822 fromDIP(This, Sz) -> {W::integer(), H::integer()}
1823
1824 Types:
1825
1826 This = wxWindow()
1827 Sz = {W::integer(), H::integer()}
1828
1829 See external documentation.
1830
1831 toDIP(This, Sz) -> {W::integer(), H::integer()}
1832
1833 Types:
1834
1835 This = wxWindow()
1836 Sz = {W::integer(), H::integer()}
1837
1838 See external documentation.
1839
1840 destroy(This::wxWindow()) -> ok
1841
1842 Destroys this object, do not use object again
1843
1845 <>
1846
1847
1848
1849 wx 1.9.3 wxWindow(3)