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