~statik/ubuntu/maverick/erlang/erlang-merge-testing

« back to all changes in this revision

Viewing changes to lib/wx/src/gen/wxTextCtrl.erl

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2009-05-01 10:14:38 UTC
  • mfrom: (3.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20090501101438-6qlr6rsdxgyzrg2z
Tags: 1:13.b-dfsg-2
* Cleaned up patches: removed unneeded patch which helped to support
  different SCTP library versions, made sure that changes for m68k
  architecture applied only when building on this architecture.
* Removed duplicated information from binary packages descriptions.
* Don't require libsctp-dev build-dependency on solaris-i386 architecture
  which allows to build Erlang on Nexenta (thanks to Tim Spriggs for
  the suggestion).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
%%
 
2
%% %CopyrightBegin%
 
3
%% 
 
4
%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
 
5
%% 
 
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/.
 
11
%% 
 
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
 
15
%% under the License.
 
16
%% 
 
17
%% %CopyrightEnd%
 
18
%% This file is generated DO NOT EDIT
 
19
 
 
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}
 
25
%% </p>
 
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.
 
29
 
 
30
-module(wxTextCtrl).
 
31
-include("wxe.hrl").
 
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]).
 
41
 
 
42
%% inherited exports
 
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]).
 
79
 
 
80
%% @hidden
 
81
parent_class(wxControl) -> true;
 
82
parent_class(wxWindow) -> true;
 
83
parent_class(wxEvtHandler) -> true;
 
84
parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
 
85
 
 
86
%% @spec () -> wxTextCtrl()
 
87
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlwxtextctrl">external documentation</a>.
 
88
new() ->
 
89
  wxe_util:construct(?wxTextCtrl_new_0,
 
90
  <<>>).
 
91
 
 
92
%% @spec (Parent::wxWindow:wxWindow(), Id::integer()) -> wxTextCtrl()
 
93
%% @equiv new(Parent,Id, [])
 
94
new(Parent,Id)
 
95
 when is_record(Parent, wx_ref),is_integer(Id) ->
 
96
  new(Parent,Id, []).
 
97
 
 
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>>).
 
113
 
 
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>>).
 
122
 
 
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,
 
128
  <<ThisRef:32/?UI>>).
 
129
 
 
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,
 
135
  <<ThisRef:32/?UI>>).
 
136
 
 
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,
 
142
  <<ThisRef:32/?UI>>).
 
143
 
 
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,
 
149
  <<ThisRef:32/?UI>>).
 
150
 
 
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,
 
156
  <<ThisRef:32/?UI>>).
 
157
 
 
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,
 
163
  <<ThisRef:32/?UI>>).
 
164
 
 
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,
 
170
  <<ThisRef:32/?UI>>).
 
171
 
 
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, []).
 
177
 
 
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>>).
 
194
 
 
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,
 
200
  <<ThisRef:32/?UI>>).
 
201
 
 
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,
 
207
  <<ThisRef:32/?UI>>).
 
208
 
 
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>>).
 
216
 
 
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,
 
222
  <<ThisRef:32/?UI>>).
 
223
 
 
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,
 
229
  <<ThisRef:32/?UI>>).
 
230
 
 
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,
 
236
  <<ThisRef:32/?UI>>).
 
237
 
 
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>>).
 
245
 
 
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>>).
 
253
 
 
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,
 
259
  <<ThisRef:32/?UI>>).
 
260
 
 
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>>).
 
268
 
 
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,
 
274
  <<ThisRef:32/?UI>>).
 
275
 
 
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,
 
281
  <<ThisRef:32/?UI>>).
 
282
 
 
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>>).
 
291
 
 
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,
 
297
  <<ThisRef:32/?UI>>).
 
298
 
 
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,
 
304
  <<ThisRef:32/?UI>>).
 
305
 
 
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,
 
311
  <<ThisRef:32/?UI>>).
 
312
 
 
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,
 
318
  <<ThisRef:32/?UI>>).
 
319
 
 
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,
 
325
  <<ThisRef:32/?UI>>).
 
326
 
 
327
%% @spec (This::wxTextCtrl(), File::string()) -> bool()
 
328
%% @equiv loadFile(This,File, [])
 
329
loadFile(This,File)
 
330
 when is_record(This, wx_ref),is_list(File) ->
 
331
  loadFile(This,File, []).
 
332
 
 
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>>).
 
345
 
 
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,
 
351
  <<ThisRef:32/?UI>>).
 
352
 
 
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,
 
358
  <<ThisRef:32/?UI>>).
 
359
 
 
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>>).
 
367
 
 
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,
 
373
  <<ThisRef:32/?UI>>).
 
374
 
 
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>>).
 
382
 
 
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>>).
 
391
 
 
392
%% @spec (This::wxTextCtrl()) -> bool()
 
393
%% @equiv saveFile(This, [])
 
394
saveFile(This)
 
395
 when is_record(This, wx_ref) ->
 
396
  saveFile(This, []).
 
397
 
 
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>>).
 
410
 
 
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>>).
 
418
 
 
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>>).
 
426
 
 
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>>).
 
434
 
 
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,
 
440
  <<ThisRef:32/?UI>>).
 
441
 
 
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>>).
 
449
 
 
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>>).
 
457
 
 
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>>).
 
466
 
 
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>>).
 
475
 
 
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>>).
 
483
 
 
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,
 
489
  <<ThisRef:32/?UI>>).
 
490
 
 
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>>).
 
499
 
 
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>>).
 
507
 
 
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),
 
513
  ok.
 
514
 %% From wxControl 
 
515
%% @hidden
 
516
setLabel(This,Label) -> wxControl:setLabel(This,Label).
 
517
%% @hidden
 
518
getLabel(This) -> wxControl:getLabel(This).
 
519
 %% From wxWindow 
 
520
%% @hidden
 
521
warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
 
522
%% @hidden
 
523
validate(This) -> wxWindow:validate(This).
 
524
%% @hidden
 
525
updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
 
526
%% @hidden
 
527
updateWindowUI(This) -> wxWindow:updateWindowUI(This).
 
528
%% @hidden
 
529
update(This) -> wxWindow:update(This).
 
530
%% @hidden
 
531
transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
 
532
%% @hidden
 
533
transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
 
534
%% @hidden
 
535
thaw(This) -> wxWindow:thaw(This).
 
536
%% @hidden
 
537
show(This, Options) -> wxWindow:show(This, Options).
 
538
%% @hidden
 
539
show(This) -> wxWindow:show(This).
 
540
%% @hidden
 
541
shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
 
542
%% @hidden
 
543
setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
 
544
%% @hidden
 
545
setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
 
546
%% @hidden
 
547
setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
 
548
%% @hidden
 
549
setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
 
550
%% @hidden
 
551
setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
 
552
%% @hidden
 
553
setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
 
554
%% @hidden
 
555
setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
 
556
%% @hidden
 
557
setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
 
558
%% @hidden
 
559
setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
 
560
%% @hidden
 
561
setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
 
562
%% @hidden
 
563
setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
 
564
%% @hidden
 
565
setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
 
566
%% @hidden
 
567
setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
 
568
%% @hidden
 
569
setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
 
570
%% @hidden
 
571
setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
 
572
%% @hidden
 
573
setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
 
574
%% @hidden
 
575
setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
 
576
%% @hidden
 
577
setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
 
578
%% @hidden
 
579
setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
 
580
%% @hidden
 
581
setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
 
582
%% @hidden
 
583
setSize(This,Rect) -> wxWindow:setSize(This,Rect).
 
584
%% @hidden
 
585
setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
 
586
%% @hidden
 
587
setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
 
588
%% @hidden
 
589
setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
 
590
%% @hidden
 
591
setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
 
592
%% @hidden
 
593
setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
 
594
%% @hidden
 
595
setName(This,Name) -> wxWindow:setName(This,Name).
 
596
%% @hidden
 
597
setId(This,Winid) -> wxWindow:setId(This,Winid).
 
598
%% @hidden
 
599
setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
 
600
%% @hidden
 
601
setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
 
602
%% @hidden
 
603
setFont(This,Font) -> wxWindow:setFont(This,Font).
 
604
%% @hidden
 
605
setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
 
606
%% @hidden
 
607
setFocus(This) -> wxWindow:setFocus(This).
 
608
%% @hidden
 
609
setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
 
610
%% @hidden
 
611
setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
 
612
%% @hidden
 
613
setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
 
614
%% @hidden
 
615
setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
 
616
%% @hidden
 
617
setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
 
618
%% @hidden
 
619
setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
 
620
%% @hidden
 
621
setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
 
622
%% @hidden
 
623
setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
 
624
%% @hidden
 
625
setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
 
626
%% @hidden
 
627
setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
 
628
%% @hidden
 
629
setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
 
630
%% @hidden
 
631
setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
 
632
%% @hidden
 
633
setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
 
634
%% @hidden
 
635
setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
 
636
%% @hidden
 
637
setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
 
638
%% @hidden
 
639
setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
 
640
%% @hidden
 
641
scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
 
642
%% @hidden
 
643
scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
 
644
%% @hidden
 
645
scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
 
646
%% @hidden
 
647
scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
 
648
%% @hidden
 
649
screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
 
650
%% @hidden
 
651
screenToClient(This) -> wxWindow:screenToClient(This).
 
652
%% @hidden
 
653
reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
 
654
%% @hidden
 
655
removeChild(This,Child) -> wxWindow:removeChild(This,Child).
 
656
%% @hidden
 
657
releaseMouse(This) -> wxWindow:releaseMouse(This).
 
658
%% @hidden
 
659
refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
 
660
%% @hidden
 
661
refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
 
662
%% @hidden
 
663
refresh(This, Options) -> wxWindow:refresh(This, Options).
 
664
%% @hidden
 
665
refresh(This) -> wxWindow:refresh(This).
 
666
%% @hidden
 
667
raise(This) -> wxWindow:raise(This).
 
668
%% @hidden
 
669
popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
 
670
%% @hidden
 
671
popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
 
672
%% @hidden
 
673
popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
 
674
%% @hidden
 
675
popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
 
676
%% @hidden
 
677
popEventHandler(This) -> wxWindow:popEventHandler(This).
 
678
%% @hidden
 
679
pageUp(This) -> wxWindow:pageUp(This).
 
680
%% @hidden
 
681
pageDown(This) -> wxWindow:pageDown(This).
 
682
%% @hidden
 
683
navigate(This, Options) -> wxWindow:navigate(This, Options).
 
684
%% @hidden
 
685
navigate(This) -> wxWindow:navigate(This).
 
686
%% @hidden
 
687
moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
 
688
%% @hidden
 
689
moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
 
690
%% @hidden
 
691
move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
 
692
%% @hidden
 
693
move(This,X,Y) -> wxWindow:move(This,X,Y).
 
694
%% @hidden
 
695
move(This,Pt) -> wxWindow:move(This,Pt).
 
696
%% @hidden
 
697
makeModal(This, Options) -> wxWindow:makeModal(This, Options).
 
698
%% @hidden
 
699
makeModal(This) -> wxWindow:makeModal(This).
 
700
%% @hidden
 
701
lower(This) -> wxWindow:lower(This).
 
702
%% @hidden
 
703
lineUp(This) -> wxWindow:lineUp(This).
 
704
%% @hidden
 
705
lineDown(This) -> wxWindow:lineDown(This).
 
706
%% @hidden
 
707
layout(This) -> wxWindow:layout(This).
 
708
%% @hidden
 
709
isTopLevel(This) -> wxWindow:isTopLevel(This).
 
710
%% @hidden
 
711
isShown(This) -> wxWindow:isShown(This).
 
712
%% @hidden
 
713
isRetained(This) -> wxWindow:isRetained(This).
 
714
%% @hidden
 
715
isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
 
716
%% @hidden
 
717
isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
 
718
%% @hidden
 
719
isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
 
720
%% @hidden
 
721
isEnabled(This) -> wxWindow:isEnabled(This).
 
722
%% @hidden
 
723
invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
 
724
%% @hidden
 
725
initDialog(This) -> wxWindow:initDialog(This).
 
726
%% @hidden
 
727
inheritAttributes(This) -> wxWindow:inheritAttributes(This).
 
728
%% @hidden
 
729
hide(This) -> wxWindow:hide(This).
 
730
%% @hidden
 
731
hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
 
732
%% @hidden
 
733
hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
 
734
%% @hidden
 
735
hasCapture(This) -> wxWindow:hasCapture(This).
 
736
%% @hidden
 
737
getWindowVariant(This) -> wxWindow:getWindowVariant(This).
 
738
%% @hidden
 
739
getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
 
740
%% @hidden
 
741
getVirtualSize(This) -> wxWindow:getVirtualSize(This).
 
742
%% @hidden
 
743
getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
 
744
%% @hidden
 
745
getToolTip(This) -> wxWindow:getToolTip(This).
 
746
%% @hidden
 
747
getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
 
748
%% @hidden
 
749
getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
 
750
%% @hidden
 
751
getSizer(This) -> wxWindow:getSizer(This).
 
752
%% @hidden
 
753
getSize(This) -> wxWindow:getSize(This).
 
754
%% @hidden
 
755
getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
 
756
%% @hidden
 
757
getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
 
758
%% @hidden
 
759
getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
 
760
%% @hidden
 
761
getScreenRect(This) -> wxWindow:getScreenRect(This).
 
762
%% @hidden
 
763
getScreenPosition(This) -> wxWindow:getScreenPosition(This).
 
764
%% @hidden
 
765
getRect(This) -> wxWindow:getRect(This).
 
766
%% @hidden
 
767
getPosition(This) -> wxWindow:getPosition(This).
 
768
%% @hidden
 
769
getParent(This) -> wxWindow:getParent(This).
 
770
%% @hidden
 
771
getName(This) -> wxWindow:getName(This).
 
772
%% @hidden
 
773
getMinSize(This) -> wxWindow:getMinSize(This).
 
774
%% @hidden
 
775
getMaxSize(This) -> wxWindow:getMaxSize(This).
 
776
%% @hidden
 
777
getId(This) -> wxWindow:getId(This).
 
778
%% @hidden
 
779
getHelpText(This) -> wxWindow:getHelpText(This).
 
780
%% @hidden
 
781
getHandle(This) -> wxWindow:getHandle(This).
 
782
%% @hidden
 
783
getGrandParent(This) -> wxWindow:getGrandParent(This).
 
784
%% @hidden
 
785
getForegroundColour(This) -> wxWindow:getForegroundColour(This).
 
786
%% @hidden
 
787
getFont(This) -> wxWindow:getFont(This).
 
788
%% @hidden
 
789
getExtraStyle(This) -> wxWindow:getExtraStyle(This).
 
790
%% @hidden
 
791
getEventHandler(This) -> wxWindow:getEventHandler(This).
 
792
%% @hidden
 
793
getDropTarget(This) -> wxWindow:getDropTarget(This).
 
794
%% @hidden
 
795
getCursor(This) -> wxWindow:getCursor(This).
 
796
%% @hidden
 
797
getContainingSizer(This) -> wxWindow:getContainingSizer(This).
 
798
%% @hidden
 
799
getClientSize(This) -> wxWindow:getClientSize(This).
 
800
%% @hidden
 
801
getChildren(This) -> wxWindow:getChildren(This).
 
802
%% @hidden
 
803
getCharWidth(This) -> wxWindow:getCharWidth(This).
 
804
%% @hidden
 
805
getCharHeight(This) -> wxWindow:getCharHeight(This).
 
806
%% @hidden
 
807
getCaret(This) -> wxWindow:getCaret(This).
 
808
%% @hidden
 
809
getBestSize(This) -> wxWindow:getBestSize(This).
 
810
%% @hidden
 
811
getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
 
812
%% @hidden
 
813
getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
 
814
%% @hidden
 
815
getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
 
816
%% @hidden
 
817
freeze(This) -> wxWindow:freeze(This).
 
818
%% @hidden
 
819
fitInside(This) -> wxWindow:fitInside(This).
 
820
%% @hidden
 
821
fit(This) -> wxWindow:fit(This).
 
822
%% @hidden
 
823
findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
 
824
%% @hidden
 
825
enable(This, Options) -> wxWindow:enable(This, Options).
 
826
%% @hidden
 
827
enable(This) -> wxWindow:enable(This).
 
828
%% @hidden
 
829
disable(This) -> wxWindow:disable(This).
 
830
%% @hidden
 
831
destroyChildren(This) -> wxWindow:destroyChildren(This).
 
832
%% @hidden
 
833
convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
 
834
%% @hidden
 
835
convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
 
836
%% @hidden
 
837
close(This, Options) -> wxWindow:close(This, Options).
 
838
%% @hidden
 
839
close(This) -> wxWindow:close(This).
 
840
%% @hidden
 
841
clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
 
842
%% @hidden
 
843
clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
 
844
%% @hidden
 
845
clearBackground(This) -> wxWindow:clearBackground(This).
 
846
%% @hidden
 
847
centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
 
848
%% @hidden
 
849
centreOnParent(This) -> wxWindow:centreOnParent(This).
 
850
%% @hidden
 
851
centre(This, Options) -> wxWindow:centre(This, Options).
 
852
%% @hidden
 
853
centre(This) -> wxWindow:centre(This).
 
854
%% @hidden
 
855
centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
 
856
%% @hidden
 
857
centerOnParent(This) -> wxWindow:centerOnParent(This).
 
858
%% @hidden
 
859
center(This, Options) -> wxWindow:center(This, Options).
 
860
%% @hidden
 
861
center(This) -> wxWindow:center(This).
 
862
%% @hidden
 
863
captureMouse(This) -> wxWindow:captureMouse(This).
 
864
%% @hidden
 
865
cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
 
866
 %% From wxEvtHandler 
 
867
%% @hidden
 
868
disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
 
869
%% @hidden
 
870
disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
 
871
%% @hidden
 
872
disconnect(This) -> wxEvtHandler:disconnect(This).
 
873
%% @hidden
 
874
connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
 
875
%% @hidden
 
876
connect(This,EventType) -> wxEvtHandler:connect(This,EventType).