~ubuntu-branches/debian/squeeze/erlang/squeeze

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2009-05-07 15:07:37 UTC
  • mfrom: (1.2.1 upstream) (5.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20090507150737-i4yb5elwinm7r0hc
Tags: 1:13.b-dfsg1-1
* Removed another bunch of non-free RFCs from original tarball
  (closes: #527053).
* Fixed build-dependencies list by adding missing comma. This requires
  libsctp-dev again. Also, added libsctp1 dependency to erlang-base and
  erlang-base-hipe packages because the shared library is loaded via
  dlopen now and cannot be added using dh_slibdeps (closes: #526682).
* Weakened dependency of erlang-webtool on erlang-observer to recommends
  to avoid circular dependencies (closes: #526627).
* Added solaris-i386 to HiPE enabled architectures.
* Made script sources in /usr/lib/erlang/erts-*/bin directory executable,
  which is more convenient if a user wants to create a target Erlang system.
* Shortened extended description line for erlang-dev package to make it
  fit 80x25 terminals.

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_wxtoolbar.html">wxToolBar</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 wxToolBar().  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(wxToolBar).
 
31
-include("wxe.hrl").
 
32
-export([addCheckTool/4,addCheckTool/5,addControl/2,addRadioTool/4,addRadioTool/5,
 
33
  addSeparator/1,addTool/4,addTool/5,deleteTool/2,deleteToolByPos/2,
 
34
  enableTool/3,findById/2,findControl/2,findToolForPosition/3,getMargins/1,
 
35
  getToolBitmapSize/1,getToolEnabled/2,getToolLongHelp/2,getToolPacking/1,
 
36
  getToolPos/2,getToolSeparation/1,getToolShortHelp/2,getToolSize/1,
 
37
  getToolState/2,insertControl/3,insertSeparator/2,insertTool/3,insertTool/4,
 
38
  insertTool/5,insertTool/6,realize/1,removeTool/2,setMargins/3,setToolBitmapSize/2,
 
39
  setToolLongHelp/3,setToolPacking/2,setToolSeparation/2,setToolShortHelp/3,
 
40
  toggleTool/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 (This::wxToolBar(), Control::wxControl:wxControl()) -> wx:wx()
 
87
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbaraddcontrol">external documentation</a>.
 
88
addControl(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ControlT,ref=ControlRef}) ->
 
89
  ?CLASS(ThisT,wxToolBar),
 
90
  ?CLASS(ControlT,wxControl),
 
91
  wxe_util:call(?wxToolBar_AddControl,
 
92
  <<ThisRef:32/?UI,ControlRef:32/?UI>>).
 
93
 
 
94
%% @spec (This::wxToolBar()) -> wx:wx()
 
95
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbaraddseparator">external documentation</a>.
 
96
addSeparator(#wx_ref{type=ThisT,ref=ThisRef}) ->
 
97
  ?CLASS(ThisT,wxToolBar),
 
98
  wxe_util:call(?wxToolBar_AddSeparator,
 
99
  <<ThisRef:32/?UI>>).
 
100
 
 
101
%% @spec (This::wxToolBar(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap()) -> wx:wx()
 
102
%% @equiv addTool(This,Toolid,Label,Bitmap, [])
 
103
addTool(This,Toolid,Label,Bitmap)
 
104
 when is_record(This, wx_ref),is_integer(Toolid),is_list(Label),is_record(Bitmap, wx_ref) ->
 
105
  addTool(This,Toolid,Label,Bitmap, []).
 
106
 
 
107
%% @spec (This::wxToolBar(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap(), [Option]) -> wx:wx()
 
108
%% Option = {shortHelp, string()} | {kind, WxItemKind}
 
109
%% WxItemKind = integer()
 
110
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbaraddtool">external documentation</a>.
 
111
%%<br /> WxItemKind is one of ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX
 
112
addTool(#wx_ref{type=ThisT,ref=ThisRef},Toolid,Label,#wx_ref{type=BitmapT,ref=BitmapRef}, Options)
 
113
 when is_integer(Toolid),is_list(Label),is_list(Options) ->
 
114
  ?CLASS(ThisT,wxToolBar),
 
115
  Label_UC = unicode:characters_to_binary([Label,0]),
 
116
  ?CLASS(BitmapT,wxBitmap),
 
117
  MOpts = fun({shortHelp, ShortHelp}, Acc) ->   ShortHelp_UC = unicode:characters_to_binary([ShortHelp,0]),[<<1:32/?UI,(byte_size(ShortHelp_UC)):32/?UI,(ShortHelp_UC)/binary, 0:(((8- ((0+byte_size(ShortHelp_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
 
118
          ({kind, Kind}, Acc) -> [<<2:32/?UI,Kind:32/?UI>>|Acc];
 
119
          (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
 
120
  BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
 
121
  wxe_util:call(?wxToolBar_AddTool,
 
122
  <<ThisRef:32/?UI,Toolid:32/?UI,(byte_size(Label_UC)):32/?UI,(Label_UC)/binary, 0:(((8- ((4+byte_size(Label_UC)) band 16#7)) band 16#7))/unit:8,BitmapRef:32/?UI, 0:32,BinOpt/binary>>).
 
123
 
 
124
%% @spec (This::wxToolBar(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap()) -> wx:wx()
 
125
%% @equiv addCheckTool(This,Toolid,Label,Bitmap, [])
 
126
addCheckTool(This,Toolid,Label,Bitmap)
 
127
 when is_record(This, wx_ref),is_integer(Toolid),is_list(Label),is_record(Bitmap, wx_ref) ->
 
128
  addCheckTool(This,Toolid,Label,Bitmap, []).
 
129
 
 
130
%% @spec (This::wxToolBar(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap(), [Option]) -> wx:wx()
 
131
%% Option = {bmpDisabled, wxBitmap:wxBitmap()} | {shortHelp, string()} | {longHelp, string()} | {data, wx:wx()}
 
132
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbaraddchecktool">external documentation</a>.
 
133
addCheckTool(#wx_ref{type=ThisT,ref=ThisRef},Toolid,Label,#wx_ref{type=BitmapT,ref=BitmapRef}, Options)
 
134
 when is_integer(Toolid),is_list(Label),is_list(Options) ->
 
135
  ?CLASS(ThisT,wxToolBar),
 
136
  Label_UC = unicode:characters_to_binary([Label,0]),
 
137
  ?CLASS(BitmapT,wxBitmap),
 
138
  MOpts = fun({bmpDisabled, #wx_ref{type=BmpDisabledT,ref=BmpDisabledRef}}, Acc) ->   ?CLASS(BmpDisabledT,wxBitmap),[<<1:32/?UI,BmpDisabledRef:32/?UI>>|Acc];
 
139
          ({shortHelp, ShortHelp}, Acc) ->   ShortHelp_UC = unicode:characters_to_binary([ShortHelp,0]),[<<2:32/?UI,(byte_size(ShortHelp_UC)):32/?UI,(ShortHelp_UC)/binary, 0:(((8- ((0+byte_size(ShortHelp_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
 
140
          ({longHelp, LongHelp}, Acc) ->   LongHelp_UC = unicode:characters_to_binary([LongHelp,0]),[<<3:32/?UI,(byte_size(LongHelp_UC)):32/?UI,(LongHelp_UC)/binary, 0:(((8- ((0+byte_size(LongHelp_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
 
141
          ({data, #wx_ref{type=DataT,ref=DataRef}}, Acc) ->   ?CLASS(DataT,wx),[<<4:32/?UI,DataRef:32/?UI>>|Acc];
 
142
          (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
 
143
  BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
 
144
  wxe_util:call(?wxToolBar_AddCheckTool,
 
145
  <<ThisRef:32/?UI,Toolid:32/?UI,(byte_size(Label_UC)):32/?UI,(Label_UC)/binary, 0:(((8- ((4+byte_size(Label_UC)) band 16#7)) band 16#7))/unit:8,BitmapRef:32/?UI, 0:32,BinOpt/binary>>).
 
146
 
 
147
%% @spec (This::wxToolBar(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap()) -> wx:wx()
 
148
%% @equiv addRadioTool(This,Toolid,Label,Bitmap, [])
 
149
addRadioTool(This,Toolid,Label,Bitmap)
 
150
 when is_record(This, wx_ref),is_integer(Toolid),is_list(Label),is_record(Bitmap, wx_ref) ->
 
151
  addRadioTool(This,Toolid,Label,Bitmap, []).
 
152
 
 
153
%% @spec (This::wxToolBar(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap(), [Option]) -> wx:wx()
 
154
%% Option = {bmpDisabled, wxBitmap:wxBitmap()} | {shortHelp, string()} | {longHelp, string()} | {data, wx:wx()}
 
155
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbaraddradiotool">external documentation</a>.
 
156
addRadioTool(#wx_ref{type=ThisT,ref=ThisRef},Toolid,Label,#wx_ref{type=BitmapT,ref=BitmapRef}, Options)
 
157
 when is_integer(Toolid),is_list(Label),is_list(Options) ->
 
158
  ?CLASS(ThisT,wxToolBar),
 
159
  Label_UC = unicode:characters_to_binary([Label,0]),
 
160
  ?CLASS(BitmapT,wxBitmap),
 
161
  MOpts = fun({bmpDisabled, #wx_ref{type=BmpDisabledT,ref=BmpDisabledRef}}, Acc) ->   ?CLASS(BmpDisabledT,wxBitmap),[<<1:32/?UI,BmpDisabledRef:32/?UI>>|Acc];
 
162
          ({shortHelp, ShortHelp}, Acc) ->   ShortHelp_UC = unicode:characters_to_binary([ShortHelp,0]),[<<2:32/?UI,(byte_size(ShortHelp_UC)):32/?UI,(ShortHelp_UC)/binary, 0:(((8- ((0+byte_size(ShortHelp_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
 
163
          ({longHelp, LongHelp}, Acc) ->   LongHelp_UC = unicode:characters_to_binary([LongHelp,0]),[<<3:32/?UI,(byte_size(LongHelp_UC)):32/?UI,(LongHelp_UC)/binary, 0:(((8- ((0+byte_size(LongHelp_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
 
164
          ({data, #wx_ref{type=DataT,ref=DataRef}}, Acc) ->   ?CLASS(DataT,wx),[<<4:32/?UI,DataRef:32/?UI>>|Acc];
 
165
          (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
 
166
  BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
 
167
  wxe_util:call(?wxToolBar_AddRadioTool,
 
168
  <<ThisRef:32/?UI,Toolid:32/?UI,(byte_size(Label_UC)):32/?UI,(Label_UC)/binary, 0:(((8- ((4+byte_size(Label_UC)) band 16#7)) band 16#7))/unit:8,BitmapRef:32/?UI, 0:32,BinOpt/binary>>).
 
169
 
 
170
%% @spec (This::wxToolBar(), Toolid::integer()) -> bool()
 
171
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbardeletetool">external documentation</a>.
 
172
deleteTool(#wx_ref{type=ThisT,ref=ThisRef},Toolid)
 
173
 when is_integer(Toolid) ->
 
174
  ?CLASS(ThisT,wxToolBar),
 
175
  wxe_util:call(?wxToolBar_DeleteTool,
 
176
  <<ThisRef:32/?UI,Toolid:32/?UI>>).
 
177
 
 
178
%% @spec (This::wxToolBar(), Pos::integer()) -> bool()
 
179
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbardeletetoolbypos">external documentation</a>.
 
180
deleteToolByPos(#wx_ref{type=ThisT,ref=ThisRef},Pos)
 
181
 when is_integer(Pos) ->
 
182
  ?CLASS(ThisT,wxToolBar),
 
183
  wxe_util:call(?wxToolBar_DeleteToolByPos,
 
184
  <<ThisRef:32/?UI,Pos:32/?UI>>).
 
185
 
 
186
%% @spec (This::wxToolBar(), Toolid::integer(), Enable::bool()) -> ok
 
187
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbarenabletool">external documentation</a>.
 
188
enableTool(#wx_ref{type=ThisT,ref=ThisRef},Toolid,Enable)
 
189
 when is_integer(Toolid),is_boolean(Enable) ->
 
190
  ?CLASS(ThisT,wxToolBar),
 
191
  wxe_util:cast(?wxToolBar_EnableTool,
 
192
  <<ThisRef:32/?UI,Toolid:32/?UI,(wxe_util:from_bool(Enable)):32/?UI>>).
 
193
 
 
194
%% @spec (This::wxToolBar(), Toolid::integer()) -> wx:wx()
 
195
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbarfindbyid">external documentation</a>.
 
196
findById(#wx_ref{type=ThisT,ref=ThisRef},Toolid)
 
197
 when is_integer(Toolid) ->
 
198
  ?CLASS(ThisT,wxToolBar),
 
199
  wxe_util:call(?wxToolBar_FindById,
 
200
  <<ThisRef:32/?UI,Toolid:32/?UI>>).
 
201
 
 
202
%% @spec (This::wxToolBar(), Toolid::integer()) -> wxControl:wxControl()
 
203
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbarfindcontrol">external documentation</a>.
 
204
findControl(#wx_ref{type=ThisT,ref=ThisRef},Toolid)
 
205
 when is_integer(Toolid) ->
 
206
  ?CLASS(ThisT,wxToolBar),
 
207
  wxe_util:call(?wxToolBar_FindControl,
 
208
  <<ThisRef:32/?UI,Toolid:32/?UI>>).
 
209
 
 
210
%% @spec (This::wxToolBar(), X::integer(), Y::integer()) -> wx:wx()
 
211
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbarfindtoolforposition">external documentation</a>.
 
212
findToolForPosition(#wx_ref{type=ThisT,ref=ThisRef},X,Y)
 
213
 when is_integer(X),is_integer(Y) ->
 
214
  ?CLASS(ThisT,wxToolBar),
 
215
  wxe_util:call(?wxToolBar_FindToolForPosition,
 
216
  <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI>>).
 
217
 
 
218
%% @spec (This::wxToolBar()) -> {W::integer(),H::integer()}
 
219
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbargettoolsize">external documentation</a>.
 
220
getToolSize(#wx_ref{type=ThisT,ref=ThisRef}) ->
 
221
  ?CLASS(ThisT,wxToolBar),
 
222
  wxe_util:call(?wxToolBar_GetToolSize,
 
223
  <<ThisRef:32/?UI>>).
 
224
 
 
225
%% @spec (This::wxToolBar()) -> {W::integer(),H::integer()}
 
226
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbargettoolbitmapsize">external documentation</a>.
 
227
getToolBitmapSize(#wx_ref{type=ThisT,ref=ThisRef}) ->
 
228
  ?CLASS(ThisT,wxToolBar),
 
229
  wxe_util:call(?wxToolBar_GetToolBitmapSize,
 
230
  <<ThisRef:32/?UI>>).
 
231
 
 
232
%% @spec (This::wxToolBar()) -> {W::integer(),H::integer()}
 
233
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbargetmargins">external documentation</a>.
 
234
getMargins(#wx_ref{type=ThisT,ref=ThisRef}) ->
 
235
  ?CLASS(ThisT,wxToolBar),
 
236
  wxe_util:call(?wxToolBar_GetMargins,
 
237
  <<ThisRef:32/?UI>>).
 
238
 
 
239
%% @spec (This::wxToolBar(), Toolid::integer()) -> bool()
 
240
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbargettoolenabled">external documentation</a>.
 
241
getToolEnabled(#wx_ref{type=ThisT,ref=ThisRef},Toolid)
 
242
 when is_integer(Toolid) ->
 
243
  ?CLASS(ThisT,wxToolBar),
 
244
  wxe_util:call(?wxToolBar_GetToolEnabled,
 
245
  <<ThisRef:32/?UI,Toolid:32/?UI>>).
 
246
 
 
247
%% @spec (This::wxToolBar(), Toolid::integer()) -> string()
 
248
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbargettoollonghelp">external documentation</a>.
 
249
getToolLongHelp(#wx_ref{type=ThisT,ref=ThisRef},Toolid)
 
250
 when is_integer(Toolid) ->
 
251
  ?CLASS(ThisT,wxToolBar),
 
252
  wxe_util:call(?wxToolBar_GetToolLongHelp,
 
253
  <<ThisRef:32/?UI,Toolid:32/?UI>>).
 
254
 
 
255
%% @spec (This::wxToolBar()) -> integer()
 
256
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbargettoolpacking">external documentation</a>.
 
257
getToolPacking(#wx_ref{type=ThisT,ref=ThisRef}) ->
 
258
  ?CLASS(ThisT,wxToolBar),
 
259
  wxe_util:call(?wxToolBar_GetToolPacking,
 
260
  <<ThisRef:32/?UI>>).
 
261
 
 
262
%% @spec (This::wxToolBar(), Id::integer()) -> integer()
 
263
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbargettoolpos">external documentation</a>.
 
264
getToolPos(#wx_ref{type=ThisT,ref=ThisRef},Id)
 
265
 when is_integer(Id) ->
 
266
  ?CLASS(ThisT,wxToolBar),
 
267
  wxe_util:call(?wxToolBar_GetToolPos,
 
268
  <<ThisRef:32/?UI,Id:32/?UI>>).
 
269
 
 
270
%% @spec (This::wxToolBar()) -> integer()
 
271
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbargettoolseparation">external documentation</a>.
 
272
getToolSeparation(#wx_ref{type=ThisT,ref=ThisRef}) ->
 
273
  ?CLASS(ThisT,wxToolBar),
 
274
  wxe_util:call(?wxToolBar_GetToolSeparation,
 
275
  <<ThisRef:32/?UI>>).
 
276
 
 
277
%% @spec (This::wxToolBar(), Toolid::integer()) -> string()
 
278
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbargettoolshorthelp">external documentation</a>.
 
279
getToolShortHelp(#wx_ref{type=ThisT,ref=ThisRef},Toolid)
 
280
 when is_integer(Toolid) ->
 
281
  ?CLASS(ThisT,wxToolBar),
 
282
  wxe_util:call(?wxToolBar_GetToolShortHelp,
 
283
  <<ThisRef:32/?UI,Toolid:32/?UI>>).
 
284
 
 
285
%% @spec (This::wxToolBar(), Toolid::integer()) -> bool()
 
286
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbargettoolstate">external documentation</a>.
 
287
getToolState(#wx_ref{type=ThisT,ref=ThisRef},Toolid)
 
288
 when is_integer(Toolid) ->
 
289
  ?CLASS(ThisT,wxToolBar),
 
290
  wxe_util:call(?wxToolBar_GetToolState,
 
291
  <<ThisRef:32/?UI,Toolid:32/?UI>>).
 
292
 
 
293
%% @spec (This::wxToolBar(), Pos::integer(), Control::wxControl:wxControl()) -> wx:wx()
 
294
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbarinsertcontrol">external documentation</a>.
 
295
insertControl(#wx_ref{type=ThisT,ref=ThisRef},Pos,#wx_ref{type=ControlT,ref=ControlRef})
 
296
 when is_integer(Pos) ->
 
297
  ?CLASS(ThisT,wxToolBar),
 
298
  ?CLASS(ControlT,wxControl),
 
299
  wxe_util:call(?wxToolBar_InsertControl,
 
300
  <<ThisRef:32/?UI,Pos:32/?UI,ControlRef:32/?UI>>).
 
301
 
 
302
%% @spec (This::wxToolBar(), Pos::integer()) -> wx:wx()
 
303
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbarinsertseparator">external documentation</a>.
 
304
insertSeparator(#wx_ref{type=ThisT,ref=ThisRef},Pos)
 
305
 when is_integer(Pos) ->
 
306
  ?CLASS(ThisT,wxToolBar),
 
307
  wxe_util:call(?wxToolBar_InsertSeparator,
 
308
  <<ThisRef:32/?UI,Pos:32/?UI>>).
 
309
 
 
310
%% @spec (This::wxToolBar(), Pos::integer(), Tool::wx:wx()) -> wx:wx()
 
311
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbarinserttool">external documentation</a>.
 
312
insertTool(#wx_ref{type=ThisT,ref=ThisRef},Pos,#wx_ref{type=ToolT,ref=ToolRef})
 
313
 when is_integer(Pos) ->
 
314
  ?CLASS(ThisT,wxToolBar),
 
315
  ?CLASS(ToolT,wx),
 
316
  wxe_util:call(?wxToolBar_InsertTool_2,
 
317
  <<ThisRef:32/?UI,Pos:32/?UI,ToolRef:32/?UI>>).
 
318
 
 
319
%% @spec (This::wxToolBar(), Pos::integer(), Toolid::integer(), Bitmap::wxBitmap:wxBitmap()) -> wx:wx()
 
320
%% @equiv insertTool(This,Pos,Toolid,Bitmap, [])
 
321
insertTool(This,Pos,Toolid,Bitmap)
 
322
 when is_record(This, wx_ref),is_integer(Pos),is_integer(Toolid),is_record(Bitmap, wx_ref) ->
 
323
  insertTool(This,Pos,Toolid,Bitmap, []).
 
324
 
 
325
%% @spec (This::wxToolBar(),Pos::integer(),Toolid::integer(),X::string()|term(),X::term()) -> wx:wx()
 
326
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbarinserttool">external documentation</a>.
 
327
%% <br /> Alternatives: 
 
328
%% <p><c>
 
329
%% insertTool(This::wxToolBar(), Pos::integer(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap()) -> insertTool(This,Pos,Toolid,Label,Bitmap, []) </c></p>
 
330
%% <p><c>
 
331
%% insertTool(This::wxToolBar(), Pos::integer(), Toolid::integer(), Bitmap::wxBitmap:wxBitmap(), [Option]) -> wx:wx() </c>
 
332
%%<br /> Option = {bmpDisabled, wxBitmap:wxBitmap()} | {toggle, bool()} | {clientData, wx:wx()} | {shortHelp, string()} | {longHelp, string()}
 
333
%% </p>
 
334
 
 
335
insertTool(This,Pos,Toolid,Label,Bitmap)
 
336
 when is_record(This, wx_ref),is_integer(Pos),is_integer(Toolid),is_list(Label),is_record(Bitmap, wx_ref) ->
 
337
  insertTool(This,Pos,Toolid,Label,Bitmap, []);
 
338
insertTool(#wx_ref{type=ThisT,ref=ThisRef},Pos,Toolid,#wx_ref{type=BitmapT,ref=BitmapRef}, Options)
 
339
 when is_integer(Pos),is_integer(Toolid),is_list(Options) ->
 
340
  ?CLASS(ThisT,wxToolBar),
 
341
  ?CLASS(BitmapT,wxBitmap),
 
342
  MOpts = fun({bmpDisabled, #wx_ref{type=BmpDisabledT,ref=BmpDisabledRef}}, Acc) ->   ?CLASS(BmpDisabledT,wxBitmap),[<<1:32/?UI,BmpDisabledRef:32/?UI>>|Acc];
 
343
          ({toggle, Toggle}, Acc) -> [<<2:32/?UI,(wxe_util:from_bool(Toggle)):32/?UI>>|Acc];
 
344
          ({clientData, #wx_ref{type=ClientDataT,ref=ClientDataRef}}, Acc) ->   ?CLASS(ClientDataT,wx),[<<3:32/?UI,ClientDataRef:32/?UI>>|Acc];
 
345
          ({shortHelp, ShortHelp}, Acc) ->   ShortHelp_UC = unicode:characters_to_binary([ShortHelp,0]),[<<4:32/?UI,(byte_size(ShortHelp_UC)):32/?UI,(ShortHelp_UC)/binary, 0:(((8- ((0+byte_size(ShortHelp_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
 
346
          ({longHelp, LongHelp}, Acc) ->   LongHelp_UC = unicode:characters_to_binary([LongHelp,0]),[<<5:32/?UI,(byte_size(LongHelp_UC)):32/?UI,(LongHelp_UC)/binary, 0:(((8- ((0+byte_size(LongHelp_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
 
347
          (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
 
348
  BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
 
349
  wxe_util:call(?wxToolBar_InsertTool_4,
 
350
  <<ThisRef:32/?UI,Pos:32/?UI,Toolid:32/?UI,BitmapRef:32/?UI, BinOpt/binary>>).
 
351
 
 
352
%% @spec (This::wxToolBar(), Pos::integer(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap(), [Option]) -> wx:wx()
 
353
%% Option = {bmpDisabled, wxBitmap:wxBitmap()} | {kind, WxItemKind} | {shortHelp, string()} | {longHelp, string()} | {clientData, wx:wx()}
 
354
%% WxItemKind = integer()
 
355
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbarinserttool">external documentation</a>.
 
356
%%<br /> WxItemKind is one of ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX
 
357
insertTool(#wx_ref{type=ThisT,ref=ThisRef},Pos,Toolid,Label,#wx_ref{type=BitmapT,ref=BitmapRef}, Options)
 
358
 when is_integer(Pos),is_integer(Toolid),is_list(Label),is_list(Options) ->
 
359
  ?CLASS(ThisT,wxToolBar),
 
360
  Label_UC = unicode:characters_to_binary([Label,0]),
 
361
  ?CLASS(BitmapT,wxBitmap),
 
362
  MOpts = fun({bmpDisabled, #wx_ref{type=BmpDisabledT,ref=BmpDisabledRef}}, Acc) ->   ?CLASS(BmpDisabledT,wxBitmap),[<<1:32/?UI,BmpDisabledRef:32/?UI>>|Acc];
 
363
          ({kind, Kind}, Acc) -> [<<2:32/?UI,Kind:32/?UI>>|Acc];
 
364
          ({shortHelp, ShortHelp}, Acc) ->   ShortHelp_UC = unicode:characters_to_binary([ShortHelp,0]),[<<3:32/?UI,(byte_size(ShortHelp_UC)):32/?UI,(ShortHelp_UC)/binary, 0:(((8- ((0+byte_size(ShortHelp_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
 
365
          ({longHelp, LongHelp}, Acc) ->   LongHelp_UC = unicode:characters_to_binary([LongHelp,0]),[<<4:32/?UI,(byte_size(LongHelp_UC)):32/?UI,(LongHelp_UC)/binary, 0:(((8- ((0+byte_size(LongHelp_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
 
366
          ({clientData, #wx_ref{type=ClientDataT,ref=ClientDataRef}}, Acc) ->   ?CLASS(ClientDataT,wx),[<<5:32/?UI,ClientDataRef:32/?UI>>|Acc];
 
367
          (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
 
368
  BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
 
369
  wxe_util:call(?wxToolBar_InsertTool_5,
 
370
  <<ThisRef:32/?UI,Pos:32/?UI,Toolid:32/?UI,(byte_size(Label_UC)):32/?UI,(Label_UC)/binary, 0:(((8- ((0+byte_size(Label_UC)) band 16#7)) band 16#7))/unit:8,BitmapRef:32/?UI, 0:32,BinOpt/binary>>).
 
371
 
 
372
%% @spec (This::wxToolBar()) -> bool()
 
373
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbarrealize">external documentation</a>.
 
374
realize(#wx_ref{type=ThisT,ref=ThisRef}) ->
 
375
  ?CLASS(ThisT,wxToolBar),
 
376
  wxe_util:call(?wxToolBar_Realize,
 
377
  <<ThisRef:32/?UI>>).
 
378
 
 
379
%% @spec (This::wxToolBar(), Toolid::integer()) -> wx:wx()
 
380
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbarremovetool">external documentation</a>.
 
381
removeTool(#wx_ref{type=ThisT,ref=ThisRef},Toolid)
 
382
 when is_integer(Toolid) ->
 
383
  ?CLASS(ThisT,wxToolBar),
 
384
  wxe_util:call(?wxToolBar_RemoveTool,
 
385
  <<ThisRef:32/?UI,Toolid:32/?UI>>).
 
386
 
 
387
%% @spec (This::wxToolBar(), X::integer(), Y::integer()) -> ok
 
388
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbarsetmargins">external documentation</a>.
 
389
setMargins(#wx_ref{type=ThisT,ref=ThisRef},X,Y)
 
390
 when is_integer(X),is_integer(Y) ->
 
391
  ?CLASS(ThisT,wxToolBar),
 
392
  wxe_util:cast(?wxToolBar_SetMargins,
 
393
  <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI>>).
 
394
 
 
395
%% @spec (This::wxToolBar(), Size::{W::integer(),H::integer()}) -> ok
 
396
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbarsettoolbitmapsize">external documentation</a>.
 
397
setToolBitmapSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH})
 
398
 when is_integer(SizeW),is_integer(SizeH) ->
 
399
  ?CLASS(ThisT,wxToolBar),
 
400
  wxe_util:cast(?wxToolBar_SetToolBitmapSize,
 
401
  <<ThisRef:32/?UI,SizeW:32/?UI,SizeH:32/?UI>>).
 
402
 
 
403
%% @spec (This::wxToolBar(), Toolid::integer(), HelpString::string()) -> ok
 
404
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbarsettoollonghelp">external documentation</a>.
 
405
setToolLongHelp(#wx_ref{type=ThisT,ref=ThisRef},Toolid,HelpString)
 
406
 when is_integer(Toolid),is_list(HelpString) ->
 
407
  ?CLASS(ThisT,wxToolBar),
 
408
  HelpString_UC = unicode:characters_to_binary([HelpString,0]),
 
409
  wxe_util:cast(?wxToolBar_SetToolLongHelp,
 
410
  <<ThisRef:32/?UI,Toolid:32/?UI,(byte_size(HelpString_UC)):32/?UI,(HelpString_UC)/binary, 0:(((8- ((4+byte_size(HelpString_UC)) band 16#7)) band 16#7))/unit:8>>).
 
411
 
 
412
%% @spec (This::wxToolBar(), Packing::integer()) -> ok
 
413
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbarsettoolpacking">external documentation</a>.
 
414
setToolPacking(#wx_ref{type=ThisT,ref=ThisRef},Packing)
 
415
 when is_integer(Packing) ->
 
416
  ?CLASS(ThisT,wxToolBar),
 
417
  wxe_util:cast(?wxToolBar_SetToolPacking,
 
418
  <<ThisRef:32/?UI,Packing:32/?UI>>).
 
419
 
 
420
%% @spec (This::wxToolBar(), Id::integer(), HelpString::string()) -> ok
 
421
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbarsettoolshorthelp">external documentation</a>.
 
422
setToolShortHelp(#wx_ref{type=ThisT,ref=ThisRef},Id,HelpString)
 
423
 when is_integer(Id),is_list(HelpString) ->
 
424
  ?CLASS(ThisT,wxToolBar),
 
425
  HelpString_UC = unicode:characters_to_binary([HelpString,0]),
 
426
  wxe_util:cast(?wxToolBar_SetToolShortHelp,
 
427
  <<ThisRef:32/?UI,Id:32/?UI,(byte_size(HelpString_UC)):32/?UI,(HelpString_UC)/binary, 0:(((8- ((4+byte_size(HelpString_UC)) band 16#7)) band 16#7))/unit:8>>).
 
428
 
 
429
%% @spec (This::wxToolBar(), Separation::integer()) -> ok
 
430
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbarsettoolseparation">external documentation</a>.
 
431
setToolSeparation(#wx_ref{type=ThisT,ref=ThisRef},Separation)
 
432
 when is_integer(Separation) ->
 
433
  ?CLASS(ThisT,wxToolBar),
 
434
  wxe_util:cast(?wxToolBar_SetToolSeparation,
 
435
  <<ThisRef:32/?UI,Separation:32/?UI>>).
 
436
 
 
437
%% @spec (This::wxToolBar(), Toolid::integer(), Toggle::bool()) -> ok
 
438
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbartoggletool">external documentation</a>.
 
439
toggleTool(#wx_ref{type=ThisT,ref=ThisRef},Toolid,Toggle)
 
440
 when is_integer(Toolid),is_boolean(Toggle) ->
 
441
  ?CLASS(ThisT,wxToolBar),
 
442
  wxe_util:cast(?wxToolBar_ToggleTool,
 
443
  <<ThisRef:32/?UI,Toolid:32/?UI,(wxe_util:from_bool(Toggle)):32/?UI>>).
 
444
 
 
445
 %% From wxControl 
 
446
%% @hidden
 
447
setLabel(This,Label) -> wxControl:setLabel(This,Label).
 
448
%% @hidden
 
449
getLabel(This) -> wxControl:getLabel(This).
 
450
 %% From wxWindow 
 
451
%% @hidden
 
452
warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
 
453
%% @hidden
 
454
validate(This) -> wxWindow:validate(This).
 
455
%% @hidden
 
456
updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
 
457
%% @hidden
 
458
updateWindowUI(This) -> wxWindow:updateWindowUI(This).
 
459
%% @hidden
 
460
update(This) -> wxWindow:update(This).
 
461
%% @hidden
 
462
transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
 
463
%% @hidden
 
464
transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
 
465
%% @hidden
 
466
thaw(This) -> wxWindow:thaw(This).
 
467
%% @hidden
 
468
show(This, Options) -> wxWindow:show(This, Options).
 
469
%% @hidden
 
470
show(This) -> wxWindow:show(This).
 
471
%% @hidden
 
472
shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
 
473
%% @hidden
 
474
setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
 
475
%% @hidden
 
476
setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
 
477
%% @hidden
 
478
setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
 
479
%% @hidden
 
480
setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
 
481
%% @hidden
 
482
setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
 
483
%% @hidden
 
484
setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
 
485
%% @hidden
 
486
setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
 
487
%% @hidden
 
488
setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
 
489
%% @hidden
 
490
setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
 
491
%% @hidden
 
492
setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
 
493
%% @hidden
 
494
setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
 
495
%% @hidden
 
496
setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
 
497
%% @hidden
 
498
setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
 
499
%% @hidden
 
500
setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
 
501
%% @hidden
 
502
setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
 
503
%% @hidden
 
504
setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
 
505
%% @hidden
 
506
setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
 
507
%% @hidden
 
508
setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
 
509
%% @hidden
 
510
setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
 
511
%% @hidden
 
512
setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
 
513
%% @hidden
 
514
setSize(This,Rect) -> wxWindow:setSize(This,Rect).
 
515
%% @hidden
 
516
setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
 
517
%% @hidden
 
518
setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
 
519
%% @hidden
 
520
setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
 
521
%% @hidden
 
522
setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
 
523
%% @hidden
 
524
setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
 
525
%% @hidden
 
526
setName(This,Name) -> wxWindow:setName(This,Name).
 
527
%% @hidden
 
528
setId(This,Winid) -> wxWindow:setId(This,Winid).
 
529
%% @hidden
 
530
setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
 
531
%% @hidden
 
532
setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
 
533
%% @hidden
 
534
setFont(This,Font) -> wxWindow:setFont(This,Font).
 
535
%% @hidden
 
536
setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
 
537
%% @hidden
 
538
setFocus(This) -> wxWindow:setFocus(This).
 
539
%% @hidden
 
540
setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
 
541
%% @hidden
 
542
setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
 
543
%% @hidden
 
544
setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
 
545
%% @hidden
 
546
setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
 
547
%% @hidden
 
548
setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
 
549
%% @hidden
 
550
setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
 
551
%% @hidden
 
552
setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
 
553
%% @hidden
 
554
setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
 
555
%% @hidden
 
556
setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
 
557
%% @hidden
 
558
setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
 
559
%% @hidden
 
560
setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
 
561
%% @hidden
 
562
setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
 
563
%% @hidden
 
564
setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
 
565
%% @hidden
 
566
setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
 
567
%% @hidden
 
568
setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
 
569
%% @hidden
 
570
setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
 
571
%% @hidden
 
572
scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
 
573
%% @hidden
 
574
scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
 
575
%% @hidden
 
576
scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
 
577
%% @hidden
 
578
scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
 
579
%% @hidden
 
580
screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
 
581
%% @hidden
 
582
screenToClient(This) -> wxWindow:screenToClient(This).
 
583
%% @hidden
 
584
reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
 
585
%% @hidden
 
586
removeChild(This,Child) -> wxWindow:removeChild(This,Child).
 
587
%% @hidden
 
588
releaseMouse(This) -> wxWindow:releaseMouse(This).
 
589
%% @hidden
 
590
refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
 
591
%% @hidden
 
592
refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
 
593
%% @hidden
 
594
refresh(This, Options) -> wxWindow:refresh(This, Options).
 
595
%% @hidden
 
596
refresh(This) -> wxWindow:refresh(This).
 
597
%% @hidden
 
598
raise(This) -> wxWindow:raise(This).
 
599
%% @hidden
 
600
popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
 
601
%% @hidden
 
602
popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
 
603
%% @hidden
 
604
popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
 
605
%% @hidden
 
606
popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
 
607
%% @hidden
 
608
popEventHandler(This) -> wxWindow:popEventHandler(This).
 
609
%% @hidden
 
610
pageUp(This) -> wxWindow:pageUp(This).
 
611
%% @hidden
 
612
pageDown(This) -> wxWindow:pageDown(This).
 
613
%% @hidden
 
614
navigate(This, Options) -> wxWindow:navigate(This, Options).
 
615
%% @hidden
 
616
navigate(This) -> wxWindow:navigate(This).
 
617
%% @hidden
 
618
moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
 
619
%% @hidden
 
620
moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
 
621
%% @hidden
 
622
move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
 
623
%% @hidden
 
624
move(This,X,Y) -> wxWindow:move(This,X,Y).
 
625
%% @hidden
 
626
move(This,Pt) -> wxWindow:move(This,Pt).
 
627
%% @hidden
 
628
makeModal(This, Options) -> wxWindow:makeModal(This, Options).
 
629
%% @hidden
 
630
makeModal(This) -> wxWindow:makeModal(This).
 
631
%% @hidden
 
632
lower(This) -> wxWindow:lower(This).
 
633
%% @hidden
 
634
lineUp(This) -> wxWindow:lineUp(This).
 
635
%% @hidden
 
636
lineDown(This) -> wxWindow:lineDown(This).
 
637
%% @hidden
 
638
layout(This) -> wxWindow:layout(This).
 
639
%% @hidden
 
640
isTopLevel(This) -> wxWindow:isTopLevel(This).
 
641
%% @hidden
 
642
isShown(This) -> wxWindow:isShown(This).
 
643
%% @hidden
 
644
isRetained(This) -> wxWindow:isRetained(This).
 
645
%% @hidden
 
646
isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
 
647
%% @hidden
 
648
isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
 
649
%% @hidden
 
650
isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
 
651
%% @hidden
 
652
isEnabled(This) -> wxWindow:isEnabled(This).
 
653
%% @hidden
 
654
invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
 
655
%% @hidden
 
656
initDialog(This) -> wxWindow:initDialog(This).
 
657
%% @hidden
 
658
inheritAttributes(This) -> wxWindow:inheritAttributes(This).
 
659
%% @hidden
 
660
hide(This) -> wxWindow:hide(This).
 
661
%% @hidden
 
662
hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
 
663
%% @hidden
 
664
hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
 
665
%% @hidden
 
666
hasCapture(This) -> wxWindow:hasCapture(This).
 
667
%% @hidden
 
668
getWindowVariant(This) -> wxWindow:getWindowVariant(This).
 
669
%% @hidden
 
670
getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
 
671
%% @hidden
 
672
getVirtualSize(This) -> wxWindow:getVirtualSize(This).
 
673
%% @hidden
 
674
getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
 
675
%% @hidden
 
676
getToolTip(This) -> wxWindow:getToolTip(This).
 
677
%% @hidden
 
678
getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
 
679
%% @hidden
 
680
getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
 
681
%% @hidden
 
682
getSizer(This) -> wxWindow:getSizer(This).
 
683
%% @hidden
 
684
getSize(This) -> wxWindow:getSize(This).
 
685
%% @hidden
 
686
getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
 
687
%% @hidden
 
688
getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
 
689
%% @hidden
 
690
getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
 
691
%% @hidden
 
692
getScreenRect(This) -> wxWindow:getScreenRect(This).
 
693
%% @hidden
 
694
getScreenPosition(This) -> wxWindow:getScreenPosition(This).
 
695
%% @hidden
 
696
getRect(This) -> wxWindow:getRect(This).
 
697
%% @hidden
 
698
getPosition(This) -> wxWindow:getPosition(This).
 
699
%% @hidden
 
700
getParent(This) -> wxWindow:getParent(This).
 
701
%% @hidden
 
702
getName(This) -> wxWindow:getName(This).
 
703
%% @hidden
 
704
getMinSize(This) -> wxWindow:getMinSize(This).
 
705
%% @hidden
 
706
getMaxSize(This) -> wxWindow:getMaxSize(This).
 
707
%% @hidden
 
708
getId(This) -> wxWindow:getId(This).
 
709
%% @hidden
 
710
getHelpText(This) -> wxWindow:getHelpText(This).
 
711
%% @hidden
 
712
getHandle(This) -> wxWindow:getHandle(This).
 
713
%% @hidden
 
714
getGrandParent(This) -> wxWindow:getGrandParent(This).
 
715
%% @hidden
 
716
getForegroundColour(This) -> wxWindow:getForegroundColour(This).
 
717
%% @hidden
 
718
getFont(This) -> wxWindow:getFont(This).
 
719
%% @hidden
 
720
getExtraStyle(This) -> wxWindow:getExtraStyle(This).
 
721
%% @hidden
 
722
getEventHandler(This) -> wxWindow:getEventHandler(This).
 
723
%% @hidden
 
724
getDropTarget(This) -> wxWindow:getDropTarget(This).
 
725
%% @hidden
 
726
getCursor(This) -> wxWindow:getCursor(This).
 
727
%% @hidden
 
728
getContainingSizer(This) -> wxWindow:getContainingSizer(This).
 
729
%% @hidden
 
730
getClientSize(This) -> wxWindow:getClientSize(This).
 
731
%% @hidden
 
732
getChildren(This) -> wxWindow:getChildren(This).
 
733
%% @hidden
 
734
getCharWidth(This) -> wxWindow:getCharWidth(This).
 
735
%% @hidden
 
736
getCharHeight(This) -> wxWindow:getCharHeight(This).
 
737
%% @hidden
 
738
getCaret(This) -> wxWindow:getCaret(This).
 
739
%% @hidden
 
740
getBestSize(This) -> wxWindow:getBestSize(This).
 
741
%% @hidden
 
742
getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
 
743
%% @hidden
 
744
getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
 
745
%% @hidden
 
746
getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
 
747
%% @hidden
 
748
freeze(This) -> wxWindow:freeze(This).
 
749
%% @hidden
 
750
fitInside(This) -> wxWindow:fitInside(This).
 
751
%% @hidden
 
752
fit(This) -> wxWindow:fit(This).
 
753
%% @hidden
 
754
findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
 
755
%% @hidden
 
756
enable(This, Options) -> wxWindow:enable(This, Options).
 
757
%% @hidden
 
758
enable(This) -> wxWindow:enable(This).
 
759
%% @hidden
 
760
disable(This) -> wxWindow:disable(This).
 
761
%% @hidden
 
762
destroyChildren(This) -> wxWindow:destroyChildren(This).
 
763
%% @hidden
 
764
convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
 
765
%% @hidden
 
766
convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
 
767
%% @hidden
 
768
close(This, Options) -> wxWindow:close(This, Options).
 
769
%% @hidden
 
770
close(This) -> wxWindow:close(This).
 
771
%% @hidden
 
772
clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
 
773
%% @hidden
 
774
clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
 
775
%% @hidden
 
776
clearBackground(This) -> wxWindow:clearBackground(This).
 
777
%% @hidden
 
778
centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
 
779
%% @hidden
 
780
centreOnParent(This) -> wxWindow:centreOnParent(This).
 
781
%% @hidden
 
782
centre(This, Options) -> wxWindow:centre(This, Options).
 
783
%% @hidden
 
784
centre(This) -> wxWindow:centre(This).
 
785
%% @hidden
 
786
centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
 
787
%% @hidden
 
788
centerOnParent(This) -> wxWindow:centerOnParent(This).
 
789
%% @hidden
 
790
center(This, Options) -> wxWindow:center(This, Options).
 
791
%% @hidden
 
792
center(This) -> wxWindow:center(This).
 
793
%% @hidden
 
794
captureMouse(This) -> wxWindow:captureMouse(This).
 
795
%% @hidden
 
796
cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
 
797
 %% From wxEvtHandler 
 
798
%% @hidden
 
799
disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
 
800
%% @hidden
 
801
disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
 
802
%% @hidden
 
803
disconnect(This) -> wxEvtHandler:disconnect(This).
 
804
%% @hidden
 
805
connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
 
806
%% @hidden
 
807
connect(This,EventType) -> wxEvtHandler:connect(This,EventType).