4
%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
6
%% The contents of this file are subject to the Erlang Public License,
7
%% Version 1.1, (the "License"); you may not use this file except in
8
%% compliance with the License. You should have received a copy of the
9
%% Erlang Public License along with this software. If not, it can be
10
%% retrieved online at http://www.erlang.org/.
12
%% Software distributed under the License is distributed on an "AS IS"
13
%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14
%% the License for the specific language governing rights and limitations
18
%% This file is generated DO NOT EDIT
20
%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html">wxTextCtrl</a>.
21
%% <p>This class is derived (and can use functions) from:
22
%% <br />{@link wxControl}
23
%% <br />{@link wxWindow}
24
%% <br />{@link wxEvtHandler}
26
%% @type wxTextCtrl(). An object reference, The representation is internal
27
%% and can be changed without notice. It can't be used for comparsion
28
%% stored on disc or distributed for use on other nodes.
32
-export([appendText/2,canCopy/1,canCut/1,canPaste/1,canRedo/1,canUndo/1,clear/1,
33
copy/1,create/3,create/4,cut/1,destroy/1,discardEdits/1,emulateKeyPress/2,
34
getDefaultStyle/1,getInsertionPoint/1,getLastPosition/1,getLineLength/2,
35
getLineText/2,getNumberOfLines/1,getRange/3,getSelection/1,getStringSelection/1,
36
getStyle/3,getValue/1,isEditable/1,isModified/1,isMultiLine/1,isSingleLine/1,
37
loadFile/2,loadFile/3,markDirty/1,new/0,new/2,new/3,paste/1,positionToXY/2,
38
redo/1,remove/3,replace/4,saveFile/1,saveFile/2,setDefaultStyle/2,setEditable/2,
39
setInsertionPoint/2,setInsertionPointEnd/1,setMaxLength/2,setSelection/3,
40
setStyle/4,setValue/2,showPosition/2,undo/1,writeText/2,xYToPosition/3]).
43
-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
44
centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
45
clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
46
connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
47
destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
48
enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
49
getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
50
getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
51
getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
52
getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
53
getId/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,getParent/1,
54
getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,
55
getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,
56
getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
57
getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
58
hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
59
isExposed/2,isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,
60
layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,
61
move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,
62
navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
63
popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
64
refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,screenToClient/1,
65
screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
66
setAcceleratorTable/2,setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,
67
setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
68
setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
69
setForegroundColour/2,setHelpText/2,setId/2,setLabel/2,setMaxSize/2,
70
setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,
71
setPalette/2,setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,
72
setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
73
setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
74
setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
75
setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
76
setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
77
show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
78
update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
81
parent_class(wxControl) -> true;
82
parent_class(wxWindow) -> true;
83
parent_class(wxEvtHandler) -> true;
84
parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
86
%% @spec () -> wxTextCtrl()
87
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlwxtextctrl">external documentation</a>.
89
wxe_util:construct(?wxTextCtrl_new_0,
92
%% @spec (Parent::wxWindow:wxWindow(), Id::integer()) -> wxTextCtrl()
93
%% @equiv new(Parent,Id, [])
95
when is_record(Parent, wx_ref),is_integer(Id) ->
98
%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> wxTextCtrl()
99
%% Option = {value, string()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()} | {validator, wx:wx()}
100
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlwxtextctrl">external documentation</a>.
101
new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options)
102
when is_integer(Id),is_list(Options) ->
103
?CLASS(ParentT,wxWindow),
104
MOpts = fun({value, Value}, Acc) -> Value_UC = unicode:characters_to_binary([Value,0]),[<<1:32/?UI,(byte_size(Value_UC)):32/?UI,(Value_UC)/binary, 0:(((8- ((0+byte_size(Value_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
105
({pos, {PosX,PosY}}, Acc) -> [<<2:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
106
({size, {SizeW,SizeH}}, Acc) -> [<<3:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
107
({style, Style}, Acc) -> [<<4:32/?UI,Style:32/?UI>>|Acc];
108
({validator, #wx_ref{type=ValidatorT,ref=ValidatorRef}}, Acc) -> ?CLASS(ValidatorT,wx),[<<5:32/?UI,ValidatorRef:32/?UI>>|Acc];
109
(BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
110
BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
111
wxe_util:construct(?wxTextCtrl_new_3,
112
<<ParentRef:32/?UI,Id:32/?UI, BinOpt/binary>>).
114
%% @spec (This::wxTextCtrl(), Text::string()) -> ok
115
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlappendtext">external documentation</a>.
116
appendText(#wx_ref{type=ThisT,ref=ThisRef},Text)
117
when is_list(Text) ->
118
?CLASS(ThisT,wxTextCtrl),
119
Text_UC = unicode:characters_to_binary([Text,0]),
120
wxe_util:cast(?wxTextCtrl_AppendText,
121
<<ThisRef:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((0+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8>>).
123
%% @spec (This::wxTextCtrl()) -> bool()
124
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlcancopy">external documentation</a>.
125
canCopy(#wx_ref{type=ThisT,ref=ThisRef}) ->
126
?CLASS(ThisT,wxTextCtrl),
127
wxe_util:call(?wxTextCtrl_CanCopy,
130
%% @spec (This::wxTextCtrl()) -> bool()
131
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlcancut">external documentation</a>.
132
canCut(#wx_ref{type=ThisT,ref=ThisRef}) ->
133
?CLASS(ThisT,wxTextCtrl),
134
wxe_util:call(?wxTextCtrl_CanCut,
137
%% @spec (This::wxTextCtrl()) -> bool()
138
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlcanpaste">external documentation</a>.
139
canPaste(#wx_ref{type=ThisT,ref=ThisRef}) ->
140
?CLASS(ThisT,wxTextCtrl),
141
wxe_util:call(?wxTextCtrl_CanPaste,
144
%% @spec (This::wxTextCtrl()) -> bool()
145
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlcanredo">external documentation</a>.
146
canRedo(#wx_ref{type=ThisT,ref=ThisRef}) ->
147
?CLASS(ThisT,wxTextCtrl),
148
wxe_util:call(?wxTextCtrl_CanRedo,
151
%% @spec (This::wxTextCtrl()) -> bool()
152
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlcanundo">external documentation</a>.
153
canUndo(#wx_ref{type=ThisT,ref=ThisRef}) ->
154
?CLASS(ThisT,wxTextCtrl),
155
wxe_util:call(?wxTextCtrl_CanUndo,
158
%% @spec (This::wxTextCtrl()) -> ok
159
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlclear">external documentation</a>.
160
clear(#wx_ref{type=ThisT,ref=ThisRef}) ->
161
?CLASS(ThisT,wxTextCtrl),
162
wxe_util:cast(?wxTextCtrl_Clear,
165
%% @spec (This::wxTextCtrl()) -> ok
166
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlcopy">external documentation</a>.
167
copy(#wx_ref{type=ThisT,ref=ThisRef}) ->
168
?CLASS(ThisT,wxTextCtrl),
169
wxe_util:cast(?wxTextCtrl_Copy,
172
%% @spec (This::wxTextCtrl(), Parent::wxWindow:wxWindow(), Id::integer()) -> bool()
173
%% @equiv create(This,Parent,Id, [])
174
create(This,Parent,Id)
175
when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id) ->
176
create(This,Parent,Id, []).
178
%% @spec (This::wxTextCtrl(), Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> bool()
179
%% Option = {value, string()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()} | {validator, wx:wx()}
180
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlcreate">external documentation</a>.
181
create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id, Options)
182
when is_integer(Id),is_list(Options) ->
183
?CLASS(ThisT,wxTextCtrl),
184
?CLASS(ParentT,wxWindow),
185
MOpts = fun({value, Value}, Acc) -> Value_UC = unicode:characters_to_binary([Value,0]),[<<1:32/?UI,(byte_size(Value_UC)):32/?UI,(Value_UC)/binary, 0:(((8- ((0+byte_size(Value_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
186
({pos, {PosX,PosY}}, Acc) -> [<<2:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
187
({size, {SizeW,SizeH}}, Acc) -> [<<3:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
188
({style, Style}, Acc) -> [<<4:32/?UI,Style:32/?UI>>|Acc];
189
({validator, #wx_ref{type=ValidatorT,ref=ValidatorRef}}, Acc) -> ?CLASS(ValidatorT,wx),[<<5:32/?UI,ValidatorRef:32/?UI>>|Acc];
190
(BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
191
BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
192
wxe_util:call(?wxTextCtrl_Create,
193
<<ThisRef:32/?UI,ParentRef:32/?UI,Id:32/?UI, 0:32,BinOpt/binary>>).
195
%% @spec (This::wxTextCtrl()) -> ok
196
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlcut">external documentation</a>.
197
cut(#wx_ref{type=ThisT,ref=ThisRef}) ->
198
?CLASS(ThisT,wxTextCtrl),
199
wxe_util:cast(?wxTextCtrl_Cut,
202
%% @spec (This::wxTextCtrl()) -> ok
203
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrldiscardedits">external documentation</a>.
204
discardEdits(#wx_ref{type=ThisT,ref=ThisRef}) ->
205
?CLASS(ThisT,wxTextCtrl),
206
wxe_util:cast(?wxTextCtrl_DiscardEdits,
209
%% @spec (This::wxTextCtrl(), Event::wxKeyEvent:wxKeyEvent()) -> bool()
210
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlemulatekeypress">external documentation</a>.
211
emulateKeyPress(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=EventT,ref=EventRef}) ->
212
?CLASS(ThisT,wxTextCtrl),
213
?CLASS(EventT,wxKeyEvent),
214
wxe_util:call(?wxTextCtrl_EmulateKeyPress,
215
<<ThisRef:32/?UI,EventRef:32/?UI>>).
217
%% @spec (This::wxTextCtrl()) -> wxTextAttr:wxTextAttr()
218
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlgetdefaultstyle">external documentation</a>.
219
getDefaultStyle(#wx_ref{type=ThisT,ref=ThisRef}) ->
220
?CLASS(ThisT,wxTextCtrl),
221
wxe_util:call(?wxTextCtrl_GetDefaultStyle,
224
%% @spec (This::wxTextCtrl()) -> integer()
225
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlgetinsertionpoint">external documentation</a>.
226
getInsertionPoint(#wx_ref{type=ThisT,ref=ThisRef}) ->
227
?CLASS(ThisT,wxTextCtrl),
228
wxe_util:call(?wxTextCtrl_GetInsertionPoint,
231
%% @spec (This::wxTextCtrl()) -> integer()
232
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlgetlastposition">external documentation</a>.
233
getLastPosition(#wx_ref{type=ThisT,ref=ThisRef}) ->
234
?CLASS(ThisT,wxTextCtrl),
235
wxe_util:call(?wxTextCtrl_GetLastPosition,
238
%% @spec (This::wxTextCtrl(), LineNo::integer()) -> integer()
239
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlgetlinelength">external documentation</a>.
240
getLineLength(#wx_ref{type=ThisT,ref=ThisRef},LineNo)
241
when is_integer(LineNo) ->
242
?CLASS(ThisT,wxTextCtrl),
243
wxe_util:call(?wxTextCtrl_GetLineLength,
244
<<ThisRef:32/?UI,LineNo:32/?UI>>).
246
%% @spec (This::wxTextCtrl(), LineNo::integer()) -> string()
247
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlgetlinetext">external documentation</a>.
248
getLineText(#wx_ref{type=ThisT,ref=ThisRef},LineNo)
249
when is_integer(LineNo) ->
250
?CLASS(ThisT,wxTextCtrl),
251
wxe_util:call(?wxTextCtrl_GetLineText,
252
<<ThisRef:32/?UI,LineNo:32/?UI>>).
254
%% @spec (This::wxTextCtrl()) -> integer()
255
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlgetnumberoflines">external documentation</a>.
256
getNumberOfLines(#wx_ref{type=ThisT,ref=ThisRef}) ->
257
?CLASS(ThisT,wxTextCtrl),
258
wxe_util:call(?wxTextCtrl_GetNumberOfLines,
261
%% @spec (This::wxTextCtrl(), From::integer(), To::integer()) -> string()
262
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlgetrange">external documentation</a>.
263
getRange(#wx_ref{type=ThisT,ref=ThisRef},From,To)
264
when is_integer(From),is_integer(To) ->
265
?CLASS(ThisT,wxTextCtrl),
266
wxe_util:call(?wxTextCtrl_GetRange,
267
<<ThisRef:32/?UI,From:32/?UI,To:32/?UI>>).
269
%% @spec (This::wxTextCtrl()) -> {From::integer(),To::integer()}
270
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlgetselection">external documentation</a>.
271
getSelection(#wx_ref{type=ThisT,ref=ThisRef}) ->
272
?CLASS(ThisT,wxTextCtrl),
273
wxe_util:call(?wxTextCtrl_GetSelection,
276
%% @spec (This::wxTextCtrl()) -> string()
277
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlgetstringselection">external documentation</a>.
278
getStringSelection(#wx_ref{type=ThisT,ref=ThisRef}) ->
279
?CLASS(ThisT,wxTextCtrl),
280
wxe_util:call(?wxTextCtrl_GetStringSelection,
283
%% @spec (This::wxTextCtrl(), Position::integer(), Style::wxTextAttr:wxTextAttr()) -> bool()
284
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlgetstyle">external documentation</a>.
285
getStyle(#wx_ref{type=ThisT,ref=ThisRef},Position,#wx_ref{type=StyleT,ref=StyleRef})
286
when is_integer(Position) ->
287
?CLASS(ThisT,wxTextCtrl),
288
?CLASS(StyleT,wxTextAttr),
289
wxe_util:call(?wxTextCtrl_GetStyle,
290
<<ThisRef:32/?UI,Position:32/?UI,StyleRef:32/?UI>>).
292
%% @spec (This::wxTextCtrl()) -> string()
293
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlgetvalue">external documentation</a>.
294
getValue(#wx_ref{type=ThisT,ref=ThisRef}) ->
295
?CLASS(ThisT,wxTextCtrl),
296
wxe_util:call(?wxTextCtrl_GetValue,
299
%% @spec (This::wxTextCtrl()) -> bool()
300
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrliseditable">external documentation</a>.
301
isEditable(#wx_ref{type=ThisT,ref=ThisRef}) ->
302
?CLASS(ThisT,wxTextCtrl),
303
wxe_util:call(?wxTextCtrl_IsEditable,
306
%% @spec (This::wxTextCtrl()) -> bool()
307
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlismodified">external documentation</a>.
308
isModified(#wx_ref{type=ThisT,ref=ThisRef}) ->
309
?CLASS(ThisT,wxTextCtrl),
310
wxe_util:call(?wxTextCtrl_IsModified,
313
%% @spec (This::wxTextCtrl()) -> bool()
314
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlismultiline">external documentation</a>.
315
isMultiLine(#wx_ref{type=ThisT,ref=ThisRef}) ->
316
?CLASS(ThisT,wxTextCtrl),
317
wxe_util:call(?wxTextCtrl_IsMultiLine,
320
%% @spec (This::wxTextCtrl()) -> bool()
321
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlissingleline">external documentation</a>.
322
isSingleLine(#wx_ref{type=ThisT,ref=ThisRef}) ->
323
?CLASS(ThisT,wxTextCtrl),
324
wxe_util:call(?wxTextCtrl_IsSingleLine,
327
%% @spec (This::wxTextCtrl(), File::string()) -> bool()
328
%% @equiv loadFile(This,File, [])
330
when is_record(This, wx_ref),is_list(File) ->
331
loadFile(This,File, []).
333
%% @spec (This::wxTextCtrl(), File::string(), [Option]) -> bool()
334
%% Option = {fileType, integer()}
335
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlloadfile">external documentation</a>.
336
loadFile(#wx_ref{type=ThisT,ref=ThisRef},File, Options)
337
when is_list(File),is_list(Options) ->
338
?CLASS(ThisT,wxTextCtrl),
339
File_UC = unicode:characters_to_binary([File,0]),
340
MOpts = fun({fileType, FileType}, Acc) -> [<<1:32/?UI,FileType:32/?UI>>|Acc];
341
(BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
342
BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
343
wxe_util:call(?wxTextCtrl_LoadFile,
344
<<ThisRef:32/?UI,(byte_size(File_UC)):32/?UI,(File_UC)/binary, 0:(((8- ((0+byte_size(File_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
346
%% @spec (This::wxTextCtrl()) -> ok
347
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlmarkdirty">external documentation</a>.
348
markDirty(#wx_ref{type=ThisT,ref=ThisRef}) ->
349
?CLASS(ThisT,wxTextCtrl),
350
wxe_util:cast(?wxTextCtrl_MarkDirty,
353
%% @spec (This::wxTextCtrl()) -> ok
354
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlpaste">external documentation</a>.
355
paste(#wx_ref{type=ThisT,ref=ThisRef}) ->
356
?CLASS(ThisT,wxTextCtrl),
357
wxe_util:cast(?wxTextCtrl_Paste,
360
%% @spec (This::wxTextCtrl(), Pos::integer()) -> {bool(),X::integer(),Y::integer()}
361
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlpositiontoxy">external documentation</a>.
362
positionToXY(#wx_ref{type=ThisT,ref=ThisRef},Pos)
363
when is_integer(Pos) ->
364
?CLASS(ThisT,wxTextCtrl),
365
wxe_util:call(?wxTextCtrl_PositionToXY,
366
<<ThisRef:32/?UI,Pos:32/?UI>>).
368
%% @spec (This::wxTextCtrl()) -> ok
369
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlredo">external documentation</a>.
370
redo(#wx_ref{type=ThisT,ref=ThisRef}) ->
371
?CLASS(ThisT,wxTextCtrl),
372
wxe_util:cast(?wxTextCtrl_Redo,
375
%% @spec (This::wxTextCtrl(), From::integer(), To::integer()) -> ok
376
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlremove">external documentation</a>.
377
remove(#wx_ref{type=ThisT,ref=ThisRef},From,To)
378
when is_integer(From),is_integer(To) ->
379
?CLASS(ThisT,wxTextCtrl),
380
wxe_util:cast(?wxTextCtrl_Remove,
381
<<ThisRef:32/?UI,From:32/?UI,To:32/?UI>>).
383
%% @spec (This::wxTextCtrl(), From::integer(), To::integer(), Value::string()) -> ok
384
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlreplace">external documentation</a>.
385
replace(#wx_ref{type=ThisT,ref=ThisRef},From,To,Value)
386
when is_integer(From),is_integer(To),is_list(Value) ->
387
?CLASS(ThisT,wxTextCtrl),
388
Value_UC = unicode:characters_to_binary([Value,0]),
389
wxe_util:cast(?wxTextCtrl_Replace,
390
<<ThisRef:32/?UI,From:32/?UI,To:32/?UI,(byte_size(Value_UC)):32/?UI,(Value_UC)/binary, 0:(((8- ((0+byte_size(Value_UC)) band 16#7)) band 16#7))/unit:8>>).
392
%% @spec (This::wxTextCtrl()) -> bool()
393
%% @equiv saveFile(This, [])
395
when is_record(This, wx_ref) ->
398
%% @spec (This::wxTextCtrl(), [Option]) -> bool()
399
%% Option = {file, string()} | {fileType, integer()}
400
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlsavefile">external documentation</a>.
401
saveFile(#wx_ref{type=ThisT,ref=ThisRef}, Options)
402
when is_list(Options) ->
403
?CLASS(ThisT,wxTextCtrl),
404
MOpts = fun({file, File}, Acc) -> File_UC = unicode:characters_to_binary([File,0]),[<<1:32/?UI,(byte_size(File_UC)):32/?UI,(File_UC)/binary, 0:(((8- ((0+byte_size(File_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
405
({fileType, FileType}, Acc) -> [<<2:32/?UI,FileType:32/?UI>>|Acc];
406
(BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
407
BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
408
wxe_util:call(?wxTextCtrl_SaveFile,
409
<<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
411
%% @spec (This::wxTextCtrl(), Style::wxTextAttr:wxTextAttr()) -> bool()
412
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlsetdefaultstyle">external documentation</a>.
413
setDefaultStyle(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=StyleT,ref=StyleRef}) ->
414
?CLASS(ThisT,wxTextCtrl),
415
?CLASS(StyleT,wxTextAttr),
416
wxe_util:call(?wxTextCtrl_SetDefaultStyle,
417
<<ThisRef:32/?UI,StyleRef:32/?UI>>).
419
%% @spec (This::wxTextCtrl(), Editable::bool()) -> ok
420
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlseteditable">external documentation</a>.
421
setEditable(#wx_ref{type=ThisT,ref=ThisRef},Editable)
422
when is_boolean(Editable) ->
423
?CLASS(ThisT,wxTextCtrl),
424
wxe_util:cast(?wxTextCtrl_SetEditable,
425
<<ThisRef:32/?UI,(wxe_util:from_bool(Editable)):32/?UI>>).
427
%% @spec (This::wxTextCtrl(), Pos::integer()) -> ok
428
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlsetinsertionpoint">external documentation</a>.
429
setInsertionPoint(#wx_ref{type=ThisT,ref=ThisRef},Pos)
430
when is_integer(Pos) ->
431
?CLASS(ThisT,wxTextCtrl),
432
wxe_util:cast(?wxTextCtrl_SetInsertionPoint,
433
<<ThisRef:32/?UI,Pos:32/?UI>>).
435
%% @spec (This::wxTextCtrl()) -> ok
436
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlsetinsertionpointend">external documentation</a>.
437
setInsertionPointEnd(#wx_ref{type=ThisT,ref=ThisRef}) ->
438
?CLASS(ThisT,wxTextCtrl),
439
wxe_util:cast(?wxTextCtrl_SetInsertionPointEnd,
442
%% @spec (This::wxTextCtrl(), Len::integer()) -> ok
443
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlsetmaxlength">external documentation</a>.
444
setMaxLength(#wx_ref{type=ThisT,ref=ThisRef},Len)
445
when is_integer(Len) ->
446
?CLASS(ThisT,wxTextCtrl),
447
wxe_util:cast(?wxTextCtrl_SetMaxLength,
448
<<ThisRef:32/?UI,Len:32/?UI>>).
450
%% @spec (This::wxTextCtrl(), From::integer(), To::integer()) -> ok
451
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlsetselection">external documentation</a>.
452
setSelection(#wx_ref{type=ThisT,ref=ThisRef},From,To)
453
when is_integer(From),is_integer(To) ->
454
?CLASS(ThisT,wxTextCtrl),
455
wxe_util:cast(?wxTextCtrl_SetSelection,
456
<<ThisRef:32/?UI,From:32/?UI,To:32/?UI>>).
458
%% @spec (This::wxTextCtrl(), Start::integer(), End::integer(), Style::wxTextAttr:wxTextAttr()) -> bool()
459
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlsetstyle">external documentation</a>.
460
setStyle(#wx_ref{type=ThisT,ref=ThisRef},Start,End,#wx_ref{type=StyleT,ref=StyleRef})
461
when is_integer(Start),is_integer(End) ->
462
?CLASS(ThisT,wxTextCtrl),
463
?CLASS(StyleT,wxTextAttr),
464
wxe_util:call(?wxTextCtrl_SetStyle,
465
<<ThisRef:32/?UI,Start:32/?UI,End:32/?UI,StyleRef:32/?UI>>).
467
%% @spec (This::wxTextCtrl(), Value::string()) -> ok
468
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlsetvalue">external documentation</a>.
469
setValue(#wx_ref{type=ThisT,ref=ThisRef},Value)
470
when is_list(Value) ->
471
?CLASS(ThisT,wxTextCtrl),
472
Value_UC = unicode:characters_to_binary([Value,0]),
473
wxe_util:cast(?wxTextCtrl_SetValue,
474
<<ThisRef:32/?UI,(byte_size(Value_UC)):32/?UI,(Value_UC)/binary, 0:(((8- ((0+byte_size(Value_UC)) band 16#7)) band 16#7))/unit:8>>).
476
%% @spec (This::wxTextCtrl(), Pos::integer()) -> ok
477
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlshowposition">external documentation</a>.
478
showPosition(#wx_ref{type=ThisT,ref=ThisRef},Pos)
479
when is_integer(Pos) ->
480
?CLASS(ThisT,wxTextCtrl),
481
wxe_util:cast(?wxTextCtrl_ShowPosition,
482
<<ThisRef:32/?UI,Pos:32/?UI>>).
484
%% @spec (This::wxTextCtrl()) -> ok
485
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlundo">external documentation</a>.
486
undo(#wx_ref{type=ThisT,ref=ThisRef}) ->
487
?CLASS(ThisT,wxTextCtrl),
488
wxe_util:cast(?wxTextCtrl_Undo,
491
%% @spec (This::wxTextCtrl(), Text::string()) -> ok
492
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlwritetext">external documentation</a>.
493
writeText(#wx_ref{type=ThisT,ref=ThisRef},Text)
494
when is_list(Text) ->
495
?CLASS(ThisT,wxTextCtrl),
496
Text_UC = unicode:characters_to_binary([Text,0]),
497
wxe_util:cast(?wxTextCtrl_WriteText,
498
<<ThisRef:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((0+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8>>).
500
%% @spec (This::wxTextCtrl(), X::integer(), Y::integer()) -> integer()
501
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlxytoposition">external documentation</a>.
502
xYToPosition(#wx_ref{type=ThisT,ref=ThisRef},X,Y)
503
when is_integer(X),is_integer(Y) ->
504
?CLASS(ThisT,wxTextCtrl),
505
wxe_util:call(?wxTextCtrl_XYToPosition,
506
<<ThisRef:32/?UI,X:32/?UI,Y:32/?UI>>).
508
%% @spec (This::wxTextCtrl()) -> ok
509
%% @doc Destroys this object, do not use object again
510
destroy(Obj=#wx_ref{type=Type}) ->
511
?CLASS(Type,wxTextCtrl),
512
wxe_util:destroy(?DESTROY_OBJECT,Obj),
516
setLabel(This,Label) -> wxControl:setLabel(This,Label).
518
getLabel(This) -> wxControl:getLabel(This).
521
warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
523
validate(This) -> wxWindow:validate(This).
525
updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
527
updateWindowUI(This) -> wxWindow:updateWindowUI(This).
529
update(This) -> wxWindow:update(This).
531
transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
533
transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
535
thaw(This) -> wxWindow:thaw(This).
537
show(This, Options) -> wxWindow:show(This, Options).
539
show(This) -> wxWindow:show(This).
541
shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
543
setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
545
setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
547
setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
549
setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
551
setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
553
setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
555
setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
557
setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
559
setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
561
setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
563
setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
565
setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
567
setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
569
setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
571
setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
573
setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
575
setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
577
setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
579
setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
581
setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
583
setSize(This,Rect) -> wxWindow:setSize(This,Rect).
585
setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
587
setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
589
setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
591
setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
593
setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
595
setName(This,Name) -> wxWindow:setName(This,Name).
597
setId(This,Winid) -> wxWindow:setId(This,Winid).
599
setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
601
setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
603
setFont(This,Font) -> wxWindow:setFont(This,Font).
605
setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
607
setFocus(This) -> wxWindow:setFocus(This).
609
setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
611
setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
613
setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
615
setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
617
setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
619
setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
621
setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
623
setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
625
setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
627
setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
629
setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
631
setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
633
setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
635
setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
637
setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
639
setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
641
scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
643
scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
645
scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
647
scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
649
screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
651
screenToClient(This) -> wxWindow:screenToClient(This).
653
reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
655
removeChild(This,Child) -> wxWindow:removeChild(This,Child).
657
releaseMouse(This) -> wxWindow:releaseMouse(This).
659
refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
661
refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
663
refresh(This, Options) -> wxWindow:refresh(This, Options).
665
refresh(This) -> wxWindow:refresh(This).
667
raise(This) -> wxWindow:raise(This).
669
popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
671
popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
673
popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
675
popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
677
popEventHandler(This) -> wxWindow:popEventHandler(This).
679
pageUp(This) -> wxWindow:pageUp(This).
681
pageDown(This) -> wxWindow:pageDown(This).
683
navigate(This, Options) -> wxWindow:navigate(This, Options).
685
navigate(This) -> wxWindow:navigate(This).
687
moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
689
moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
691
move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
693
move(This,X,Y) -> wxWindow:move(This,X,Y).
695
move(This,Pt) -> wxWindow:move(This,Pt).
697
makeModal(This, Options) -> wxWindow:makeModal(This, Options).
699
makeModal(This) -> wxWindow:makeModal(This).
701
lower(This) -> wxWindow:lower(This).
703
lineUp(This) -> wxWindow:lineUp(This).
705
lineDown(This) -> wxWindow:lineDown(This).
707
layout(This) -> wxWindow:layout(This).
709
isTopLevel(This) -> wxWindow:isTopLevel(This).
711
isShown(This) -> wxWindow:isShown(This).
713
isRetained(This) -> wxWindow:isRetained(This).
715
isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
717
isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
719
isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
721
isEnabled(This) -> wxWindow:isEnabled(This).
723
invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
725
initDialog(This) -> wxWindow:initDialog(This).
727
inheritAttributes(This) -> wxWindow:inheritAttributes(This).
729
hide(This) -> wxWindow:hide(This).
731
hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
733
hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
735
hasCapture(This) -> wxWindow:hasCapture(This).
737
getWindowVariant(This) -> wxWindow:getWindowVariant(This).
739
getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
741
getVirtualSize(This) -> wxWindow:getVirtualSize(This).
743
getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
745
getToolTip(This) -> wxWindow:getToolTip(This).
747
getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
749
getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
751
getSizer(This) -> wxWindow:getSizer(This).
753
getSize(This) -> wxWindow:getSize(This).
755
getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
757
getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
759
getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
761
getScreenRect(This) -> wxWindow:getScreenRect(This).
763
getScreenPosition(This) -> wxWindow:getScreenPosition(This).
765
getRect(This) -> wxWindow:getRect(This).
767
getPosition(This) -> wxWindow:getPosition(This).
769
getParent(This) -> wxWindow:getParent(This).
771
getName(This) -> wxWindow:getName(This).
773
getMinSize(This) -> wxWindow:getMinSize(This).
775
getMaxSize(This) -> wxWindow:getMaxSize(This).
777
getId(This) -> wxWindow:getId(This).
779
getHelpText(This) -> wxWindow:getHelpText(This).
781
getHandle(This) -> wxWindow:getHandle(This).
783
getGrandParent(This) -> wxWindow:getGrandParent(This).
785
getForegroundColour(This) -> wxWindow:getForegroundColour(This).
787
getFont(This) -> wxWindow:getFont(This).
789
getExtraStyle(This) -> wxWindow:getExtraStyle(This).
791
getEventHandler(This) -> wxWindow:getEventHandler(This).
793
getDropTarget(This) -> wxWindow:getDropTarget(This).
795
getCursor(This) -> wxWindow:getCursor(This).
797
getContainingSizer(This) -> wxWindow:getContainingSizer(This).
799
getClientSize(This) -> wxWindow:getClientSize(This).
801
getChildren(This) -> wxWindow:getChildren(This).
803
getCharWidth(This) -> wxWindow:getCharWidth(This).
805
getCharHeight(This) -> wxWindow:getCharHeight(This).
807
getCaret(This) -> wxWindow:getCaret(This).
809
getBestSize(This) -> wxWindow:getBestSize(This).
811
getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
813
getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
815
getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
817
freeze(This) -> wxWindow:freeze(This).
819
fitInside(This) -> wxWindow:fitInside(This).
821
fit(This) -> wxWindow:fit(This).
823
findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
825
enable(This, Options) -> wxWindow:enable(This, Options).
827
enable(This) -> wxWindow:enable(This).
829
disable(This) -> wxWindow:disable(This).
831
destroyChildren(This) -> wxWindow:destroyChildren(This).
833
convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
835
convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
837
close(This, Options) -> wxWindow:close(This, Options).
839
close(This) -> wxWindow:close(This).
841
clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
843
clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
845
clearBackground(This) -> wxWindow:clearBackground(This).
847
centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
849
centreOnParent(This) -> wxWindow:centreOnParent(This).
851
centre(This, Options) -> wxWindow:centre(This, Options).
853
centre(This) -> wxWindow:centre(This).
855
centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
857
centerOnParent(This) -> wxWindow:centerOnParent(This).
859
center(This, Options) -> wxWindow:center(This, Options).
861
center(This) -> wxWindow:center(This).
863
captureMouse(This) -> wxWindow:captureMouse(This).
865
cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
868
disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
870
disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
872
disconnect(This) -> wxEvtHandler:disconnect(This).
874
connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
876
connect(This,EventType) -> wxEvtHandler:connect(This,EventType).