1wxWindow(3)                Erlang Module Definition                wxWindow(3)
2
3
4

NAME

6       wxWindow - See external documentation: wxWindow.
7

DESCRIPTION

9       See external documentation: wxWindow.
10
11       This class is derived (and can use functions) from:
12       wxEvtHandler
13

DATA TYPES

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

EXPORTS

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       isShownOnScreen(This) -> boolean()
811
812              Types:
813
814                 This = wxWindow()
815
816              See external documentation.
817
818       layout(This) -> boolean()
819
820              Types:
821
822                 This = wxWindow()
823
824              See external documentation.
825
826       lineDown(This) -> boolean()
827
828              Types:
829
830                 This = wxWindow()
831
832              See external documentation.
833
834       lineUp(This) -> boolean()
835
836              Types:
837
838                 This = wxWindow()
839
840              See external documentation.
841
842       lower(This) -> ok
843
844              Types:
845
846                 This = wxWindow()
847
848              See external documentation.
849
850       makeModal(This) -> ok
851
852              Types:
853
854                 This = wxWindow()
855
856              Equivalent to makeModal(This, []).
857
858       makeModal(This, Options::[Option]) -> ok
859
860              Types:
861
862                 This = wxWindow()
863                 Option = {modal, boolean()}
864
865              See external documentation.
866
867       move(This, Pt) -> ok
868
869              Types:
870
871                 This = wxWindow()
872                 Pt = {X::integer(), Y::integer()}
873
874              Equivalent to move(This, Pt, []).
875
876       move(This, X, Y) -> ok
877
878              Types:
879
880                 This = wxWindow()
881                 X = integer()
882                 Y = integer()
883
884              See external documentation.
885              Also:
886              move(This, Pt, [Option]) -> 'ok' when
887              This::wxWindow(), Pt::{X::integer(), Y::integer()},
888              Option :: {'flags', integer()}.
889
890
891       move(This, X, Y, Options::[Option]) -> ok
892
893              Types:
894
895                 This = wxWindow()
896                 X = integer()
897                 Y = integer()
898                 Option = {flags, integer()}
899
900              See external documentation.
901
902       moveAfterInTabOrder(This, Win) -> ok
903
904              Types:
905
906                 This = wxWindow()
907                 Win = wxWindow()
908
909              See external documentation.
910
911       moveBeforeInTabOrder(This, Win) -> ok
912
913              Types:
914
915                 This = wxWindow()
916                 Win = wxWindow()
917
918              See external documentation.
919
920       navigate(This) -> boolean()
921
922              Types:
923
924                 This = wxWindow()
925
926              Equivalent to navigate(This, []).
927
928       navigate(This, Options::[Option]) -> boolean()
929
930              Types:
931
932                 This = wxWindow()
933                 Option = {flags, integer()}
934
935              See external documentation.
936
937       pageDown(This) -> boolean()
938
939              Types:
940
941                 This = wxWindow()
942
943              See external documentation.
944
945       pageUp(This) -> boolean()
946
947              Types:
948
949                 This = wxWindow()
950
951              See external documentation.
952
953       popEventHandler(This) -> wxEvtHandler:wxEvtHandler()
954
955              Types:
956
957                 This = wxWindow()
958
959              Equivalent to popEventHandler(This, []).
960
961       popEventHandler(This, Options::[Option]) -> wxEvtHandler:wxEvtHandler()
962
963              Types:
964
965                 This = wxWindow()
966                 Option = {deleteHandler, boolean()}
967
968              See external documentation.
969
970       popupMenu(This, Menu) -> boolean()
971
972              Types:
973
974                 This = wxWindow()
975                 Menu = wxMenu:wxMenu()
976
977              Equivalent to popupMenu(This, Menu, []).
978
979       popupMenu(This, Menu, Options::[Option]) -> boolean()
980
981              Types:
982
983                 This = wxWindow()
984                 Menu = wxMenu:wxMenu()
985                 Option = {pos, {X::integer(), Y::integer()}}
986
987              See external documentation.
988
989       popupMenu(This, Menu, X, Y) -> boolean()
990
991              Types:
992
993                 This = wxWindow()
994                 Menu = wxMenu:wxMenu()
995                 X = integer()
996                 Y = integer()
997
998              See external documentation.
999
1000       raise(This) -> ok
1001
1002              Types:
1003
1004                 This = wxWindow()
1005
1006              See external documentation.
1007
1008       refresh(This) -> ok
1009
1010              Types:
1011
1012                 This = wxWindow()
1013
1014              Equivalent to refresh(This, []).
1015
1016       refresh(This, Options::[Option]) -> ok
1017
1018              Types:
1019
1020                 This = wxWindow()
1021                 Option = {eraseBackground, boolean()} | {rect, {X::integer(),
1022                 Y::integer(), W::integer(), H::integer()}}
1023
1024              See external documentation.
1025
1026       refreshRect(This, Rect) -> ok
1027
1028              Types:
1029
1030                 This = wxWindow()
1031                 Rect  =  {X::integer(),  Y::integer(), W::integer(), H::inte‐
1032                 ger()}
1033
1034              Equivalent to refreshRect(This, Rect, []).
1035
1036       refreshRect(This, Rect, Options::[Option]) -> ok
1037
1038              Types:
1039
1040                 This = wxWindow()
1041                 Rect = {X::integer(),  Y::integer(),  W::integer(),  H::inte‐
1042                 ger()}
1043                 Option = {eraseBackground, boolean()}
1044
1045              See external documentation.
1046
1047       releaseMouse(This) -> ok
1048
1049              Types:
1050
1051                 This = wxWindow()
1052
1053              See external documentation.
1054
1055       removeChild(This, Child) -> ok
1056
1057              Types:
1058
1059                 This = wxWindow()
1060                 Child = wxWindow()
1061
1062              See external documentation.
1063
1064       reparent(This, NewParent) -> boolean()
1065
1066              Types:
1067
1068                 This = wxWindow()
1069                 NewParent = wxWindow()
1070
1071              See external documentation.
1072
1073       screenToClient(This) -> {X::integer(), Y::integer()}
1074
1075              Types:
1076
1077                 This = wxWindow()
1078
1079              See external documentation.
1080
1081       screenToClient(This, Pt) -> {X::integer(), Y::integer()}
1082
1083              Types:
1084
1085                 This = wxWindow()
1086                 Pt = {X::integer(), Y::integer()}
1087
1088              See external documentation.
1089
1090       scrollLines(This, Lines) -> boolean()
1091
1092              Types:
1093
1094                 This = wxWindow()
1095                 Lines = integer()
1096
1097              See external documentation.
1098
1099       scrollPages(This, Pages) -> boolean()
1100
1101              Types:
1102
1103                 This = wxWindow()
1104                 Pages = integer()
1105
1106              See external documentation.
1107
1108       scrollWindow(This, Dx, Dy) -> ok
1109
1110              Types:
1111
1112                 This = wxWindow()
1113                 Dx = integer()
1114                 Dy = integer()
1115
1116              Equivalent to scrollWindow(This, Dx, Dy, []).
1117
1118       scrollWindow(This, Dx, Dy, Options::[Option]) -> ok
1119
1120              Types:
1121
1122                 This = wxWindow()
1123                 Dx = integer()
1124                 Dy = integer()
1125                 Option  =  {rect,  {X::integer(), Y::integer(), W::integer(),
1126                 H::integer()}}
1127
1128              See external documentation.
1129
1130       setAcceleratorTable(This, Accel) -> ok
1131
1132              Types:
1133
1134                 This = wxWindow()
1135                 Accel = wxAcceleratorTable:wxAcceleratorTable()
1136
1137              See external documentation.
1138
1139       setAutoLayout(This, AutoLayout) -> ok
1140
1141              Types:
1142
1143                 This = wxWindow()
1144                 AutoLayout = boolean()
1145
1146              See external documentation.
1147
1148       setBackgroundColour(This, Colour) -> boolean()
1149
1150              Types:
1151
1152                 This = wxWindow()
1153                 Colour = wx:wx_colour()
1154
1155              See external documentation.
1156
1157       setBackgroundStyle(This, Style) -> boolean()
1158
1159              Types:
1160
1161                 This = wxWindow()
1162                 Style = wx:wx_enum()
1163
1164              See external documentation.
1165              Style    =    ?wxBG_STYLE_SYSTEM    |    ?wxBG_STYLE_COLOUR    |
1166              ?wxBG_STYLE_CUSTOM
1167
1168       setCaret(This, Caret) -> ok
1169
1170              Types:
1171
1172                 This = wxWindow()
1173                 Caret = wxCaret:wxCaret()
1174
1175              See external documentation.
1176
1177       setClientSize(This, Size) -> ok
1178
1179              Types:
1180
1181                 This = wxWindow()
1182                 Size = {W::integer(), H::integer()}
1183
1184              See external documentation.
1185              Also:
1186              setClientSize(This, Rect) -> 'ok' when
1187              This::wxWindow(),  Rect::{X::integer(),  Y::integer(),  W::inte‐
1188              ger(), H::integer()}.
1189
1190
1191       setClientSize(This, Width, Height) -> ok
1192
1193              Types:
1194
1195                 This = wxWindow()
1196                 Width = integer()
1197                 Height = integer()
1198
1199              See external documentation.
1200
1201       setContainingSizer(This, Sizer) -> ok
1202
1203              Types:
1204
1205                 This = wxWindow()
1206                 Sizer = wxSizer:wxSizer()
1207
1208              See external documentation.
1209
1210       setCursor(This, Cursor) -> boolean()
1211
1212              Types:
1213
1214                 This = wxWindow()
1215                 Cursor = wxCursor:wxCursor()
1216
1217              See external documentation.
1218
1219       setMaxSize(This, MaxSize) -> ok
1220
1221              Types:
1222
1223                 This = wxWindow()
1224                 MaxSize = {W::integer(), H::integer()}
1225
1226              See external documentation.
1227
1228       setMinSize(This, MinSize) -> ok
1229
1230              Types:
1231
1232                 This = wxWindow()
1233                 MinSize = {W::integer(), H::integer()}
1234
1235              See external documentation.
1236
1237       setOwnBackgroundColour(This, Colour) -> ok
1238
1239              Types:
1240
1241                 This = wxWindow()
1242                 Colour = wx:wx_colour()
1243
1244              See external documentation.
1245
1246       setOwnFont(This, Font) -> ok
1247
1248              Types:
1249
1250                 This = wxWindow()
1251                 Font = wxFont:wxFont()
1252
1253              See external documentation.
1254
1255       setOwnForegroundColour(This, Colour) -> ok
1256
1257              Types:
1258
1259                 This = wxWindow()
1260                 Colour = wx:wx_colour()
1261
1262              See external documentation.
1263
1264       setDropTarget(This, DropTarget) -> ok
1265
1266              Types:
1267
1268                 This = wxWindow()
1269                 DropTarget = wx:wx_object()
1270
1271              See external documentation.
1272
1273       setExtraStyle(This, ExStyle) -> ok
1274
1275              Types:
1276
1277                 This = wxWindow()
1278                 ExStyle = integer()
1279
1280              See external documentation.
1281
1282       setFocus(This) -> ok
1283
1284              Types:
1285
1286                 This = wxWindow()
1287
1288              See external documentation.
1289
1290       setFocusFromKbd(This) -> ok
1291
1292              Types:
1293
1294                 This = wxWindow()
1295
1296              See external documentation.
1297
1298       setFont(This, Font) -> boolean()
1299
1300              Types:
1301
1302                 This = wxWindow()
1303                 Font = wxFont:wxFont()
1304
1305              See external documentation.
1306
1307       setForegroundColour(This, Colour) -> boolean()
1308
1309              Types:
1310
1311                 This = wxWindow()
1312                 Colour = wx:wx_colour()
1313
1314              See external documentation.
1315
1316       setHelpText(This, Text) -> ok
1317
1318              Types:
1319
1320                 This = wxWindow()
1321                 Text = unicode:chardata()
1322
1323              See external documentation.
1324
1325       setId(This, Winid) -> ok
1326
1327              Types:
1328
1329                 This = wxWindow()
1330                 Winid = integer()
1331
1332              See external documentation.
1333
1334       setLabel(This, Label) -> ok
1335
1336              Types:
1337
1338                 This = wxWindow()
1339                 Label = unicode:chardata()
1340
1341              See external documentation.
1342
1343       setName(This, Name) -> ok
1344
1345              Types:
1346
1347                 This = wxWindow()
1348                 Name = unicode:chardata()
1349
1350              See external documentation.
1351
1352       setPalette(This, Pal) -> ok
1353
1354              Types:
1355
1356                 This = wxWindow()
1357                 Pal = wxPalette:wxPalette()
1358
1359              See external documentation.
1360
1361       setScrollbar(This, Orient, Pos, ThumbVisible, Range) -> ok
1362
1363              Types:
1364
1365                 This = wxWindow()
1366                 Orient = integer()
1367                 Pos = integer()
1368                 ThumbVisible = integer()
1369                 Range = integer()
1370
1371              Equivalent  to  setScrollbar(This,  Orient,  Pos,  ThumbVisible,
1372              Range, []).
1373
1374       setScrollbar(This, Orient, Pos, ThumbVisible, Range, Options::[Option])
1375       -> ok
1376
1377              Types:
1378
1379                 This = wxWindow()
1380                 Orient = integer()
1381                 Pos = integer()
1382                 ThumbVisible = integer()
1383                 Range = integer()
1384                 Option = {refresh, boolean()}
1385
1386              See external documentation.
1387
1388       setScrollPos(This, Orient, Pos) -> ok
1389
1390              Types:
1391
1392                 This = wxWindow()
1393                 Orient = integer()
1394                 Pos = integer()
1395
1396              Equivalent to setScrollPos(This, Orient, Pos, []).
1397
1398       setScrollPos(This, Orient, Pos, Options::[Option]) -> ok
1399
1400              Types:
1401
1402                 This = wxWindow()
1403                 Orient = integer()
1404                 Pos = integer()
1405                 Option = {refresh, boolean()}
1406
1407              See external documentation.
1408
1409       setSize(This, Rect) -> ok
1410
1411              Types:
1412
1413                 This = wxWindow()
1414                 Rect = {X::integer(),  Y::integer(),  W::integer(),  H::inte‐
1415                 ger()}
1416
1417              See external documentation.
1418              Also:
1419              setSize(This, Size) -> 'ok' when
1420              This::wxWindow(), Size::{W::integer(), H::integer()}.
1421
1422
1423       setSize(This, Width, Height) -> ok
1424
1425              Types:
1426
1427                 This = wxWindow()
1428                 Width = integer()
1429                 Height = integer()
1430
1431              See external documentation.
1432              Also:
1433              setSize(This, Rect, [Option]) -> 'ok' when
1434              This::wxWindow(),  Rect::{X::integer(),  Y::integer(),  W::inte‐
1435              ger(), H::integer()},
1436              Option :: {'sizeFlags', integer()}.
1437
1438
1439       setSize(This, X, Y, Width, Height) -> ok
1440
1441              Types:
1442
1443                 This = wxWindow()
1444                 X = integer()
1445                 Y = integer()
1446                 Width = integer()
1447                 Height = integer()
1448
1449              Equivalent to setSize(This, X, Y, Width, Height, []).
1450
1451       setSize(This, X, Y, Width, Height, Options::[Option]) -> ok
1452
1453              Types:
1454
1455                 This = wxWindow()
1456                 X = integer()
1457                 Y = integer()
1458                 Width = integer()
1459                 Height = integer()
1460                 Option = {sizeFlags, integer()}
1461
1462              See external documentation.
1463
1464       setSizeHints(This, MinSize) -> ok
1465
1466              Types:
1467
1468                 This = wxWindow()
1469                 MinSize = {W::integer(), H::integer()}
1470
1471              Equivalent to setSizeHints(This, MinSize, []).
1472
1473       setSizeHints(This, MinW, MinH) -> ok
1474
1475              Types:
1476
1477                 This = wxWindow()
1478                 MinW = integer()
1479                 MinH = integer()
1480
1481              See external documentation.
1482              Also:
1483              setSizeHints(This, MinSize, [Option]) -> 'ok' when
1484              This::wxWindow(), MinSize::{W::integer(), H::integer()},
1485              Option :: {'maxSize', {W::integer(), H::integer()}}
1486              | {'incSize', {W::integer(), H::integer()}}.
1487
1488
1489       setSizeHints(This, MinW, MinH, Options::[Option]) -> ok
1490
1491              Types:
1492
1493                 This = wxWindow()
1494                 MinW = integer()
1495                 MinH = integer()
1496                 Option = {maxW, integer()} | {maxH, integer()} | {incW, inte‐
1497                 ger()} | {incH, integer()}
1498
1499              See external documentation.
1500
1501       setSizer(This, Sizer) -> ok
1502
1503              Types:
1504
1505                 This = wxWindow()
1506                 Sizer = wxSizer:wxSizer()
1507
1508              Equivalent to setSizer(This, Sizer, []).
1509
1510       setSizer(This, Sizer, Options::[Option]) -> ok
1511
1512              Types:
1513
1514                 This = wxWindow()
1515                 Sizer = wxSizer:wxSizer()
1516                 Option = {deleteOld, boolean()}
1517
1518              See external documentation.
1519
1520       setSizerAndFit(This, Sizer) -> ok
1521
1522              Types:
1523
1524                 This = wxWindow()
1525                 Sizer = wxSizer:wxSizer()
1526
1527              Equivalent to setSizerAndFit(This, Sizer, []).
1528
1529       setSizerAndFit(This, Sizer, Options::[Option]) -> ok
1530
1531              Types:
1532
1533                 This = wxWindow()
1534                 Sizer = wxSizer:wxSizer()
1535                 Option = {deleteOld, boolean()}
1536
1537              See external documentation.
1538
1539       setThemeEnabled(This, EnableTheme) -> ok
1540
1541              Types:
1542
1543                 This = wxWindow()
1544                 EnableTheme = boolean()
1545
1546              See external documentation.
1547
1548       setToolTip(This, Tip) -> ok
1549
1550              Types:
1551
1552                 This = wxWindow()
1553                 Tip = unicode:chardata()
1554
1555              See external documentation.
1556              Also:
1557              setToolTip(This, Tip) -> 'ok' when
1558              This::wxWindow(), Tip::wxToolTip:wxToolTip().
1559
1560
1561       setVirtualSize(This, Size) -> ok
1562
1563              Types:
1564
1565                 This = wxWindow()
1566                 Size = {W::integer(), H::integer()}
1567
1568              See external documentation.
1569
1570       setVirtualSize(This, X, Y) -> ok
1571
1572              Types:
1573
1574                 This = wxWindow()
1575                 X = integer()
1576                 Y = integer()
1577
1578              See external documentation.
1579
1580       setVirtualSizeHints(This, MinSize) -> ok
1581
1582              Types:
1583
1584                 This = wxWindow()
1585                 MinSize = {W::integer(), H::integer()}
1586
1587              Equivalent to setVirtualSizeHints(This, MinSize, []).
1588
1589       setVirtualSizeHints(This, MinW, MinH) -> ok
1590
1591              Types:
1592
1593                 This = wxWindow()
1594                 MinW = integer()
1595                 MinH = integer()
1596
1597              See external documentation.
1598              Also:
1599              setVirtualSizeHints(This, MinSize, [Option]) -> 'ok' when
1600              This::wxWindow(), MinSize::{W::integer(), H::integer()},
1601              Option :: {'maxSize', {W::integer(), H::integer()}}.
1602
1603
1604       setVirtualSizeHints(This, MinW, MinH, Options::[Option]) -> ok
1605
1606              Types:
1607
1608                 This = wxWindow()
1609                 MinW = integer()
1610                 MinH = integer()
1611                 Option = {maxW, integer()} | {maxH, integer()}
1612
1613              See external documentation.
1614
1615       setWindowStyle(This, Style) -> ok
1616
1617              Types:
1618
1619                 This = wxWindow()
1620                 Style = integer()
1621
1622              See external documentation.
1623
1624       setWindowStyleFlag(This, Style) -> ok
1625
1626              Types:
1627
1628                 This = wxWindow()
1629                 Style = integer()
1630
1631              See external documentation.
1632
1633       setWindowVariant(This, Variant) -> ok
1634
1635              Types:
1636
1637                 This = wxWindow()
1638                 Variant = wx:wx_enum()
1639
1640              See external documentation.
1641              Variant  =  ?wxWINDOW_VARIANT_NORMAL | ?wxWINDOW_VARIANT_SMALL |
1642              ?wxWINDOW_VARIANT_MINI  |  ?wxWINDOW_VARIANT_LARGE   |   ?wxWIN‐
1643              DOW_VARIANT_MAX
1644
1645       shouldInheritColours(This) -> boolean()
1646
1647              Types:
1648
1649                 This = wxWindow()
1650
1651              See external documentation.
1652
1653       show(This) -> boolean()
1654
1655              Types:
1656
1657                 This = wxWindow()
1658
1659              Equivalent to show(This, []).
1660
1661       show(This, Options::[Option]) -> boolean()
1662
1663              Types:
1664
1665                 This = wxWindow()
1666                 Option = {show, boolean()}
1667
1668              See external documentation.
1669
1670       thaw(This) -> ok
1671
1672              Types:
1673
1674                 This = wxWindow()
1675
1676              See external documentation.
1677
1678       transferDataFromWindow(This) -> boolean()
1679
1680              Types:
1681
1682                 This = wxWindow()
1683
1684              See external documentation.
1685
1686       transferDataToWindow(This) -> boolean()
1687
1688              Types:
1689
1690                 This = wxWindow()
1691
1692              See external documentation.
1693
1694       update(This) -> ok
1695
1696              Types:
1697
1698                 This = wxWindow()
1699
1700              See external documentation.
1701
1702       updateWindowUI(This) -> ok
1703
1704              Types:
1705
1706                 This = wxWindow()
1707
1708              Equivalent to updateWindowUI(This, []).
1709
1710       updateWindowUI(This, Options::[Option]) -> ok
1711
1712              Types:
1713
1714                 This = wxWindow()
1715                 Option = {flags, integer()}
1716
1717              See external documentation.
1718
1719       validate(This) -> boolean()
1720
1721              Types:
1722
1723                 This = wxWindow()
1724
1725              See external documentation.
1726
1727       warpPointer(This, X, Y) -> ok
1728
1729              Types:
1730
1731                 This = wxWindow()
1732                 X = integer()
1733                 Y = integer()
1734
1735              See external documentation.
1736
1737       setTransparent(This, Alpha) -> boolean()
1738
1739              Types:
1740
1741                 This = wxWindow()
1742                 Alpha = integer()
1743
1744              See external documentation.
1745
1746       canSetTransparent(This) -> boolean()
1747
1748              Types:
1749
1750                 This = wxWindow()
1751
1752              See external documentation.
1753
1754       isDoubleBuffered(This) -> boolean()
1755
1756              Types:
1757
1758                 This = wxWindow()
1759
1760              See external documentation.
1761
1762       setDoubleBuffered(This, On) -> ok
1763
1764              Types:
1765
1766                 This = wxWindow()
1767                 On = boolean()
1768
1769              See external documentation.
1770
1771       getContentScaleFactor(This) -> number()
1772
1773              Types:
1774
1775                 This = wxWindow()
1776
1777              See external documentation.
1778
1779       getDPI(This) -> {W::integer(), H::integer()}
1780
1781              Types:
1782
1783                 This = wxWindow()
1784
1785              See external documentation.
1786
1787       fromDIP(This, Sz) -> {W::integer(), H::integer()}
1788
1789              Types:
1790
1791                 This = wxWindow()
1792                 Sz = {W::integer(), H::integer()}
1793
1794              See external documentation.
1795
1796       toDIP(This, Sz) -> {W::integer(), H::integer()}
1797
1798              Types:
1799
1800                 This = wxWindow()
1801                 Sz = {W::integer(), H::integer()}
1802
1803              See external documentation.
1804
1805       destroy(This::wxWindow()) -> ok
1806
1807              Destroys this object, do not use object again
1808

AUTHORS

1810       <>
1811
1812
1813
1814                                    wx 1.9                         wxWindow(3)
Impressum