1%% 2%% %CopyrightBegin% 3%% 4%% Copyright Ericsson AB 2008-2016. All Rights Reserved. 5%% 6%% Licensed under the Apache License, Version 2.0 (the "License"); 7%% you may not use this file except in compliance with the License. 8%% You may obtain a copy of the License at 9%% 10%% http://www.apache.org/licenses/LICENSE-2.0 11%% 12%% Unless required by applicable law or agreed to in writing, software 13%% distributed under the License is distributed on an "AS IS" BASIS, 14%% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15%% See the License for the specific language governing permissions and 16%% limitations under the License. 17%% 18%% %CopyrightEnd% 19%% This file is generated DO NOT EDIT 20 21%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html">wxAuiPaneInfo</a>. 22%% @type wxAuiPaneInfo(). An object reference, The representation is internal 23%% and can be changed without notice. It can't be used for comparsion 24%% stored on disc or distributed for use on other nodes. 25 26-module(wxAuiPaneInfo). 27-include("wxe.hrl"). 28-export([bestSize/2,bestSize/3,bottom/1,bottomDockable/1,bottomDockable/2,caption/2, 29 captionVisible/1,captionVisible/2,centre/1,centrePane/1,closeButton/1, 30 closeButton/2,defaultPane/1,destroy/1,destroyOnClose/1,destroyOnClose/2, 31 direction/2,dock/1,dockable/1,dockable/2,fixed/1,float/1,floatable/1, 32 floatable/2,floatingPosition/2,floatingPosition/3,floatingSize/2, 33 floatingSize/3,getDirection/1,getFloatingPosition/1,getFloatingSize/1, 34 getFrame/1,getLayer/1,getPosition/1,getRow/1,getWindow/1,gripper/1, 35 gripper/2,gripperTop/1,gripperTop/2,hasBorder/1,hasCaption/1,hasCloseButton/1, 36 hasFlag/2,hasGripper/1,hasGripperTop/1,hasMaximizeButton/1,hasMinimizeButton/1, 37 hasPinButton/1,hide/1,isBottomDockable/1,isDocked/1,isFixed/1,isFloatable/1, 38 isFloating/1,isLeftDockable/1,isMovable/1,isOk/1,isResizable/1,isRightDockable/1, 39 isShown/1,isToolbar/1,isTopDockable/1,layer/2,left/1,leftDockable/1, 40 leftDockable/2,maxSize/2,maxSize/3,maximizeButton/1,maximizeButton/2, 41 minSize/2,minSize/3,minimizeButton/1,minimizeButton/2,movable/1,movable/2, 42 name/2,new/0,new/1,paneBorder/1,paneBorder/2,pinButton/1,pinButton/2, 43 position/2,resizable/1,resizable/2,right/1,rightDockable/1,rightDockable/2, 44 row/2,safeSet/2,setFlag/3,show/1,show/2,toolbarPane/1,top/1,topDockable/1, 45 topDockable/2,window/2]). 46 47%% inherited exports 48-export([parent_class/1]). 49 50-export_type([wxAuiPaneInfo/0]). 51%% @hidden 52parent_class(_Class) -> erlang:error({badtype, ?MODULE}). 53 54-type wxAuiPaneInfo() :: wx:wx_object(). 55%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfowxauipaneinfo">external documentation</a>. 56-spec new() -> wxAuiPaneInfo(). 57new() -> 58 wxe_util:construct(?wxAuiPaneInfo_new_0, 59 <<>>). 60 61%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfowxauipaneinfo">external documentation</a>. 62-spec new(C) -> wxAuiPaneInfo() when 63 C::wxAuiPaneInfo(). 64new(#wx_ref{type=CT,ref=CRef}) -> 65 ?CLASS(CT,wxAuiPaneInfo), 66 wxe_util:construct(?wxAuiPaneInfo_new_1, 67 <<CRef:32/?UI>>). 68 69%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfobestsize">external documentation</a>. 70-spec bestSize(This, Size) -> wxAuiPaneInfo() when 71 This::wxAuiPaneInfo(), Size::{W::integer(), H::integer()}. 72bestSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH}) 73 when is_integer(SizeW),is_integer(SizeH) -> 74 ?CLASS(ThisT,wxAuiPaneInfo), 75 wxe_util:call(?wxAuiPaneInfo_BestSize_1, 76 <<ThisRef:32/?UI,SizeW:32/?UI,SizeH:32/?UI>>). 77 78%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfobestsize">external documentation</a>. 79-spec bestSize(This, X, Y) -> wxAuiPaneInfo() when 80 This::wxAuiPaneInfo(), X::integer(), Y::integer(). 81bestSize(#wx_ref{type=ThisT,ref=ThisRef},X,Y) 82 when is_integer(X),is_integer(Y) -> 83 ?CLASS(ThisT,wxAuiPaneInfo), 84 wxe_util:call(?wxAuiPaneInfo_BestSize_2, 85 <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI>>). 86 87%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfobottom">external documentation</a>. 88-spec bottom(This) -> wxAuiPaneInfo() when 89 This::wxAuiPaneInfo(). 90bottom(#wx_ref{type=ThisT,ref=ThisRef}) -> 91 ?CLASS(ThisT,wxAuiPaneInfo), 92 wxe_util:call(?wxAuiPaneInfo_Bottom, 93 <<ThisRef:32/?UI>>). 94 95%% @equiv bottomDockable(This, []) 96-spec bottomDockable(This) -> wxAuiPaneInfo() when 97 This::wxAuiPaneInfo(). 98 99bottomDockable(This) 100 when is_record(This, wx_ref) -> 101 bottomDockable(This, []). 102 103%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfobottomdockable">external documentation</a>. 104-spec bottomDockable(This, [Option]) -> wxAuiPaneInfo() when 105 This::wxAuiPaneInfo(), 106 Option :: {'b', boolean()}. 107bottomDockable(#wx_ref{type=ThisT,ref=ThisRef}, Options) 108 when is_list(Options) -> 109 ?CLASS(ThisT,wxAuiPaneInfo), 110 MOpts = fun({b, B}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(B)):32/?UI>>|Acc]; 111 (BadOpt, _) -> erlang:error({badoption, BadOpt}) end, 112 BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)), 113 wxe_util:call(?wxAuiPaneInfo_BottomDockable, 114 <<ThisRef:32/?UI, 0:32,BinOpt/binary>>). 115 116%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfocaption">external documentation</a>. 117-spec caption(This, C) -> wxAuiPaneInfo() when 118 This::wxAuiPaneInfo(), C::unicode:chardata(). 119caption(#wx_ref{type=ThisT,ref=ThisRef},C) 120 when ?is_chardata(C) -> 121 ?CLASS(ThisT,wxAuiPaneInfo), 122 C_UC = unicode:characters_to_binary([C,0]), 123 wxe_util:call(?wxAuiPaneInfo_Caption, 124 <<ThisRef:32/?UI,(byte_size(C_UC)):32/?UI,(C_UC)/binary, 0:(((8- ((0+byte_size(C_UC)) band 16#7)) band 16#7))/unit:8>>). 125 126%% @equiv captionVisible(This, []) 127-spec captionVisible(This) -> wxAuiPaneInfo() when 128 This::wxAuiPaneInfo(). 129 130captionVisible(This) 131 when is_record(This, wx_ref) -> 132 captionVisible(This, []). 133 134%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfocaptionvisible">external documentation</a>. 135-spec captionVisible(This, [Option]) -> wxAuiPaneInfo() when 136 This::wxAuiPaneInfo(), 137 Option :: {'visible', boolean()}. 138captionVisible(#wx_ref{type=ThisT,ref=ThisRef}, Options) 139 when is_list(Options) -> 140 ?CLASS(ThisT,wxAuiPaneInfo), 141 MOpts = fun({visible, Visible}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Visible)):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(?wxAuiPaneInfo_CaptionVisible, 145 <<ThisRef:32/?UI, 0:32,BinOpt/binary>>). 146 147%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfocentre">external documentation</a>. 148-spec centre(This) -> wxAuiPaneInfo() when 149 This::wxAuiPaneInfo(). 150centre(#wx_ref{type=ThisT,ref=ThisRef}) -> 151 ?CLASS(ThisT,wxAuiPaneInfo), 152 wxe_util:call(?wxAuiPaneInfo_Centre, 153 <<ThisRef:32/?UI>>). 154 155%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfocentrepane">external documentation</a>. 156-spec centrePane(This) -> wxAuiPaneInfo() when 157 This::wxAuiPaneInfo(). 158centrePane(#wx_ref{type=ThisT,ref=ThisRef}) -> 159 ?CLASS(ThisT,wxAuiPaneInfo), 160 wxe_util:call(?wxAuiPaneInfo_CentrePane, 161 <<ThisRef:32/?UI>>). 162 163%% @equiv closeButton(This, []) 164-spec closeButton(This) -> wxAuiPaneInfo() when 165 This::wxAuiPaneInfo(). 166 167closeButton(This) 168 when is_record(This, wx_ref) -> 169 closeButton(This, []). 170 171%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfoclosebutton">external documentation</a>. 172-spec closeButton(This, [Option]) -> wxAuiPaneInfo() when 173 This::wxAuiPaneInfo(), 174 Option :: {'visible', boolean()}. 175closeButton(#wx_ref{type=ThisT,ref=ThisRef}, Options) 176 when is_list(Options) -> 177 ?CLASS(ThisT,wxAuiPaneInfo), 178 MOpts = fun({visible, Visible}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Visible)):32/?UI>>|Acc]; 179 (BadOpt, _) -> erlang:error({badoption, BadOpt}) end, 180 BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)), 181 wxe_util:call(?wxAuiPaneInfo_CloseButton, 182 <<ThisRef:32/?UI, 0:32,BinOpt/binary>>). 183 184%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfodefaultpane">external documentation</a>. 185-spec defaultPane(This) -> wxAuiPaneInfo() when 186 This::wxAuiPaneInfo(). 187defaultPane(#wx_ref{type=ThisT,ref=ThisRef}) -> 188 ?CLASS(ThisT,wxAuiPaneInfo), 189 wxe_util:call(?wxAuiPaneInfo_DefaultPane, 190 <<ThisRef:32/?UI>>). 191 192%% @equiv destroyOnClose(This, []) 193-spec destroyOnClose(This) -> wxAuiPaneInfo() when 194 This::wxAuiPaneInfo(). 195 196destroyOnClose(This) 197 when is_record(This, wx_ref) -> 198 destroyOnClose(This, []). 199 200%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfodestroyonclose">external documentation</a>. 201-spec destroyOnClose(This, [Option]) -> wxAuiPaneInfo() when 202 This::wxAuiPaneInfo(), 203 Option :: {'b', boolean()}. 204destroyOnClose(#wx_ref{type=ThisT,ref=ThisRef}, Options) 205 when is_list(Options) -> 206 ?CLASS(ThisT,wxAuiPaneInfo), 207 MOpts = fun({b, B}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(B)):32/?UI>>|Acc]; 208 (BadOpt, _) -> erlang:error({badoption, BadOpt}) end, 209 BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)), 210 wxe_util:call(?wxAuiPaneInfo_DestroyOnClose, 211 <<ThisRef:32/?UI, 0:32,BinOpt/binary>>). 212 213%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfodirection">external documentation</a>. 214-spec direction(This, Direction) -> wxAuiPaneInfo() when 215 This::wxAuiPaneInfo(), Direction::integer(). 216direction(#wx_ref{type=ThisT,ref=ThisRef},Direction) 217 when is_integer(Direction) -> 218 ?CLASS(ThisT,wxAuiPaneInfo), 219 wxe_util:call(?wxAuiPaneInfo_Direction, 220 <<ThisRef:32/?UI,Direction:32/?UI>>). 221 222%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfodock">external documentation</a>. 223-spec dock(This) -> wxAuiPaneInfo() when 224 This::wxAuiPaneInfo(). 225dock(#wx_ref{type=ThisT,ref=ThisRef}) -> 226 ?CLASS(ThisT,wxAuiPaneInfo), 227 wxe_util:call(?wxAuiPaneInfo_Dock, 228 <<ThisRef:32/?UI>>). 229 230%% @equiv dockable(This, []) 231-spec dockable(This) -> wxAuiPaneInfo() when 232 This::wxAuiPaneInfo(). 233 234dockable(This) 235 when is_record(This, wx_ref) -> 236 dockable(This, []). 237 238%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfodockable">external documentation</a>. 239-spec dockable(This, [Option]) -> wxAuiPaneInfo() when 240 This::wxAuiPaneInfo(), 241 Option :: {'b', boolean()}. 242dockable(#wx_ref{type=ThisT,ref=ThisRef}, Options) 243 when is_list(Options) -> 244 ?CLASS(ThisT,wxAuiPaneInfo), 245 MOpts = fun({b, B}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(B)):32/?UI>>|Acc]; 246 (BadOpt, _) -> erlang:error({badoption, BadOpt}) end, 247 BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)), 248 wxe_util:call(?wxAuiPaneInfo_Dockable, 249 <<ThisRef:32/?UI, 0:32,BinOpt/binary>>). 250 251%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfofixed">external documentation</a>. 252-spec fixed(This) -> wxAuiPaneInfo() when 253 This::wxAuiPaneInfo(). 254fixed(#wx_ref{type=ThisT,ref=ThisRef}) -> 255 ?CLASS(ThisT,wxAuiPaneInfo), 256 wxe_util:call(?wxAuiPaneInfo_Fixed, 257 <<ThisRef:32/?UI>>). 258 259%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfofloat">external documentation</a>. 260-spec float(This) -> wxAuiPaneInfo() when 261 This::wxAuiPaneInfo(). 262float(#wx_ref{type=ThisT,ref=ThisRef}) -> 263 ?CLASS(ThisT,wxAuiPaneInfo), 264 wxe_util:call(?wxAuiPaneInfo_Float, 265 <<ThisRef:32/?UI>>). 266 267%% @equiv floatable(This, []) 268-spec floatable(This) -> wxAuiPaneInfo() when 269 This::wxAuiPaneInfo(). 270 271floatable(This) 272 when is_record(This, wx_ref) -> 273 floatable(This, []). 274 275%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfofloatable">external documentation</a>. 276-spec floatable(This, [Option]) -> wxAuiPaneInfo() when 277 This::wxAuiPaneInfo(), 278 Option :: {'b', boolean()}. 279floatable(#wx_ref{type=ThisT,ref=ThisRef}, Options) 280 when is_list(Options) -> 281 ?CLASS(ThisT,wxAuiPaneInfo), 282 MOpts = fun({b, B}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(B)):32/?UI>>|Acc]; 283 (BadOpt, _) -> erlang:error({badoption, BadOpt}) end, 284 BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)), 285 wxe_util:call(?wxAuiPaneInfo_Floatable, 286 <<ThisRef:32/?UI, 0:32,BinOpt/binary>>). 287 288%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfofloatingposition">external documentation</a>. 289-spec floatingPosition(This, Pos) -> wxAuiPaneInfo() when 290 This::wxAuiPaneInfo(), Pos::{X::integer(), Y::integer()}. 291floatingPosition(#wx_ref{type=ThisT,ref=ThisRef},{PosX,PosY}) 292 when is_integer(PosX),is_integer(PosY) -> 293 ?CLASS(ThisT,wxAuiPaneInfo), 294 wxe_util:call(?wxAuiPaneInfo_FloatingPosition_1, 295 <<ThisRef:32/?UI,PosX:32/?UI,PosY:32/?UI>>). 296 297%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfofloatingposition">external documentation</a>. 298-spec floatingPosition(This, X, Y) -> wxAuiPaneInfo() when 299 This::wxAuiPaneInfo(), X::integer(), Y::integer(). 300floatingPosition(#wx_ref{type=ThisT,ref=ThisRef},X,Y) 301 when is_integer(X),is_integer(Y) -> 302 ?CLASS(ThisT,wxAuiPaneInfo), 303 wxe_util:call(?wxAuiPaneInfo_FloatingPosition_2, 304 <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI>>). 305 306%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfofloatingsize">external documentation</a>. 307-spec floatingSize(This, Size) -> wxAuiPaneInfo() when 308 This::wxAuiPaneInfo(), Size::{W::integer(), H::integer()}. 309floatingSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH}) 310 when is_integer(SizeW),is_integer(SizeH) -> 311 ?CLASS(ThisT,wxAuiPaneInfo), 312 wxe_util:call(?wxAuiPaneInfo_FloatingSize_1, 313 <<ThisRef:32/?UI,SizeW:32/?UI,SizeH:32/?UI>>). 314 315%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfofloatingsize">external documentation</a>. 316-spec floatingSize(This, X, Y) -> wxAuiPaneInfo() when 317 This::wxAuiPaneInfo(), X::integer(), Y::integer(). 318floatingSize(#wx_ref{type=ThisT,ref=ThisRef},X,Y) 319 when is_integer(X),is_integer(Y) -> 320 ?CLASS(ThisT,wxAuiPaneInfo), 321 wxe_util:call(?wxAuiPaneInfo_FloatingSize_2, 322 <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI>>). 323 324%% @equiv gripper(This, []) 325-spec gripper(This) -> wxAuiPaneInfo() when 326 This::wxAuiPaneInfo(). 327 328gripper(This) 329 when is_record(This, wx_ref) -> 330 gripper(This, []). 331 332%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfogripper">external documentation</a>. 333-spec gripper(This, [Option]) -> wxAuiPaneInfo() when 334 This::wxAuiPaneInfo(), 335 Option :: {'visible', boolean()}. 336gripper(#wx_ref{type=ThisT,ref=ThisRef}, Options) 337 when is_list(Options) -> 338 ?CLASS(ThisT,wxAuiPaneInfo), 339 MOpts = fun({visible, Visible}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Visible)):32/?UI>>|Acc]; 340 (BadOpt, _) -> erlang:error({badoption, BadOpt}) end, 341 BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)), 342 wxe_util:call(?wxAuiPaneInfo_Gripper, 343 <<ThisRef:32/?UI, 0:32,BinOpt/binary>>). 344 345%% @equiv gripperTop(This, []) 346-spec gripperTop(This) -> wxAuiPaneInfo() when 347 This::wxAuiPaneInfo(). 348 349gripperTop(This) 350 when is_record(This, wx_ref) -> 351 gripperTop(This, []). 352 353%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfogrippertop">external documentation</a>. 354-spec gripperTop(This, [Option]) -> wxAuiPaneInfo() when 355 This::wxAuiPaneInfo(), 356 Option :: {'attop', boolean()}. 357gripperTop(#wx_ref{type=ThisT,ref=ThisRef}, Options) 358 when is_list(Options) -> 359 ?CLASS(ThisT,wxAuiPaneInfo), 360 MOpts = fun({attop, Attop}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Attop)):32/?UI>>|Acc]; 361 (BadOpt, _) -> erlang:error({badoption, BadOpt}) end, 362 BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)), 363 wxe_util:call(?wxAuiPaneInfo_GripperTop, 364 <<ThisRef:32/?UI, 0:32,BinOpt/binary>>). 365 366%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfohasborder">external documentation</a>. 367-spec hasBorder(This) -> boolean() when 368 This::wxAuiPaneInfo(). 369hasBorder(#wx_ref{type=ThisT,ref=ThisRef}) -> 370 ?CLASS(ThisT,wxAuiPaneInfo), 371 wxe_util:call(?wxAuiPaneInfo_HasBorder, 372 <<ThisRef:32/?UI>>). 373 374%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfohascaption">external documentation</a>. 375-spec hasCaption(This) -> boolean() when 376 This::wxAuiPaneInfo(). 377hasCaption(#wx_ref{type=ThisT,ref=ThisRef}) -> 378 ?CLASS(ThisT,wxAuiPaneInfo), 379 wxe_util:call(?wxAuiPaneInfo_HasCaption, 380 <<ThisRef:32/?UI>>). 381 382%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfohasclosebutton">external documentation</a>. 383-spec hasCloseButton(This) -> boolean() when 384 This::wxAuiPaneInfo(). 385hasCloseButton(#wx_ref{type=ThisT,ref=ThisRef}) -> 386 ?CLASS(ThisT,wxAuiPaneInfo), 387 wxe_util:call(?wxAuiPaneInfo_HasCloseButton, 388 <<ThisRef:32/?UI>>). 389 390%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfohasflag">external documentation</a>. 391-spec hasFlag(This, Flag) -> boolean() when 392 This::wxAuiPaneInfo(), Flag::integer(). 393hasFlag(#wx_ref{type=ThisT,ref=ThisRef},Flag) 394 when is_integer(Flag) -> 395 ?CLASS(ThisT,wxAuiPaneInfo), 396 wxe_util:call(?wxAuiPaneInfo_HasFlag, 397 <<ThisRef:32/?UI,Flag:32/?UI>>). 398 399%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfohasgripper">external documentation</a>. 400-spec hasGripper(This) -> boolean() when 401 This::wxAuiPaneInfo(). 402hasGripper(#wx_ref{type=ThisT,ref=ThisRef}) -> 403 ?CLASS(ThisT,wxAuiPaneInfo), 404 wxe_util:call(?wxAuiPaneInfo_HasGripper, 405 <<ThisRef:32/?UI>>). 406 407%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfohasgrippertop">external documentation</a>. 408-spec hasGripperTop(This) -> boolean() when 409 This::wxAuiPaneInfo(). 410hasGripperTop(#wx_ref{type=ThisT,ref=ThisRef}) -> 411 ?CLASS(ThisT,wxAuiPaneInfo), 412 wxe_util:call(?wxAuiPaneInfo_HasGripperTop, 413 <<ThisRef:32/?UI>>). 414 415%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfohasmaximizebutton">external documentation</a>. 416-spec hasMaximizeButton(This) -> boolean() when 417 This::wxAuiPaneInfo(). 418hasMaximizeButton(#wx_ref{type=ThisT,ref=ThisRef}) -> 419 ?CLASS(ThisT,wxAuiPaneInfo), 420 wxe_util:call(?wxAuiPaneInfo_HasMaximizeButton, 421 <<ThisRef:32/?UI>>). 422 423%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfohasminimizebutton">external documentation</a>. 424-spec hasMinimizeButton(This) -> boolean() when 425 This::wxAuiPaneInfo(). 426hasMinimizeButton(#wx_ref{type=ThisT,ref=ThisRef}) -> 427 ?CLASS(ThisT,wxAuiPaneInfo), 428 wxe_util:call(?wxAuiPaneInfo_HasMinimizeButton, 429 <<ThisRef:32/?UI>>). 430 431%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfohaspinbutton">external documentation</a>. 432-spec hasPinButton(This) -> boolean() when 433 This::wxAuiPaneInfo(). 434hasPinButton(#wx_ref{type=ThisT,ref=ThisRef}) -> 435 ?CLASS(ThisT,wxAuiPaneInfo), 436 wxe_util:call(?wxAuiPaneInfo_HasPinButton, 437 <<ThisRef:32/?UI>>). 438 439%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfohide">external documentation</a>. 440-spec hide(This) -> wxAuiPaneInfo() when 441 This::wxAuiPaneInfo(). 442hide(#wx_ref{type=ThisT,ref=ThisRef}) -> 443 ?CLASS(ThisT,wxAuiPaneInfo), 444 wxe_util:call(?wxAuiPaneInfo_Hide, 445 <<ThisRef:32/?UI>>). 446 447%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfoisbottomdockable">external documentation</a>. 448-spec isBottomDockable(This) -> boolean() when 449 This::wxAuiPaneInfo(). 450isBottomDockable(#wx_ref{type=ThisT,ref=ThisRef}) -> 451 ?CLASS(ThisT,wxAuiPaneInfo), 452 wxe_util:call(?wxAuiPaneInfo_IsBottomDockable, 453 <<ThisRef:32/?UI>>). 454 455%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfoisdocked">external documentation</a>. 456-spec isDocked(This) -> boolean() when 457 This::wxAuiPaneInfo(). 458isDocked(#wx_ref{type=ThisT,ref=ThisRef}) -> 459 ?CLASS(ThisT,wxAuiPaneInfo), 460 wxe_util:call(?wxAuiPaneInfo_IsDocked, 461 <<ThisRef:32/?UI>>). 462 463%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfoisfixed">external documentation</a>. 464-spec isFixed(This) -> boolean() when 465 This::wxAuiPaneInfo(). 466isFixed(#wx_ref{type=ThisT,ref=ThisRef}) -> 467 ?CLASS(ThisT,wxAuiPaneInfo), 468 wxe_util:call(?wxAuiPaneInfo_IsFixed, 469 <<ThisRef:32/?UI>>). 470 471%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfoisfloatable">external documentation</a>. 472-spec isFloatable(This) -> boolean() when 473 This::wxAuiPaneInfo(). 474isFloatable(#wx_ref{type=ThisT,ref=ThisRef}) -> 475 ?CLASS(ThisT,wxAuiPaneInfo), 476 wxe_util:call(?wxAuiPaneInfo_IsFloatable, 477 <<ThisRef:32/?UI>>). 478 479%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfoisfloating">external documentation</a>. 480-spec isFloating(This) -> boolean() when 481 This::wxAuiPaneInfo(). 482isFloating(#wx_ref{type=ThisT,ref=ThisRef}) -> 483 ?CLASS(ThisT,wxAuiPaneInfo), 484 wxe_util:call(?wxAuiPaneInfo_IsFloating, 485 <<ThisRef:32/?UI>>). 486 487%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfoisleftdockable">external documentation</a>. 488-spec isLeftDockable(This) -> boolean() when 489 This::wxAuiPaneInfo(). 490isLeftDockable(#wx_ref{type=ThisT,ref=ThisRef}) -> 491 ?CLASS(ThisT,wxAuiPaneInfo), 492 wxe_util:call(?wxAuiPaneInfo_IsLeftDockable, 493 <<ThisRef:32/?UI>>). 494 495%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfoismovable">external documentation</a>. 496-spec isMovable(This) -> boolean() when 497 This::wxAuiPaneInfo(). 498isMovable(#wx_ref{type=ThisT,ref=ThisRef}) -> 499 ?CLASS(ThisT,wxAuiPaneInfo), 500 wxe_util:call(?wxAuiPaneInfo_IsMovable, 501 <<ThisRef:32/?UI>>). 502 503%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfoisok">external documentation</a>. 504-spec isOk(This) -> boolean() when 505 This::wxAuiPaneInfo(). 506isOk(#wx_ref{type=ThisT,ref=ThisRef}) -> 507 ?CLASS(ThisT,wxAuiPaneInfo), 508 wxe_util:call(?wxAuiPaneInfo_IsOk, 509 <<ThisRef:32/?UI>>). 510 511%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfoisresizable">external documentation</a>. 512-spec isResizable(This) -> boolean() when 513 This::wxAuiPaneInfo(). 514isResizable(#wx_ref{type=ThisT,ref=ThisRef}) -> 515 ?CLASS(ThisT,wxAuiPaneInfo), 516 wxe_util:call(?wxAuiPaneInfo_IsResizable, 517 <<ThisRef:32/?UI>>). 518 519%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfoisrightdockable">external documentation</a>. 520-spec isRightDockable(This) -> boolean() when 521 This::wxAuiPaneInfo(). 522isRightDockable(#wx_ref{type=ThisT,ref=ThisRef}) -> 523 ?CLASS(ThisT,wxAuiPaneInfo), 524 wxe_util:call(?wxAuiPaneInfo_IsRightDockable, 525 <<ThisRef:32/?UI>>). 526 527%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfoisshown">external documentation</a>. 528-spec isShown(This) -> boolean() when 529 This::wxAuiPaneInfo(). 530isShown(#wx_ref{type=ThisT,ref=ThisRef}) -> 531 ?CLASS(ThisT,wxAuiPaneInfo), 532 wxe_util:call(?wxAuiPaneInfo_IsShown, 533 <<ThisRef:32/?UI>>). 534 535%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfoistoolbar">external documentation</a>. 536-spec isToolbar(This) -> boolean() when 537 This::wxAuiPaneInfo(). 538isToolbar(#wx_ref{type=ThisT,ref=ThisRef}) -> 539 ?CLASS(ThisT,wxAuiPaneInfo), 540 wxe_util:call(?wxAuiPaneInfo_IsToolbar, 541 <<ThisRef:32/?UI>>). 542 543%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfoistopdockable">external documentation</a>. 544-spec isTopDockable(This) -> boolean() when 545 This::wxAuiPaneInfo(). 546isTopDockable(#wx_ref{type=ThisT,ref=ThisRef}) -> 547 ?CLASS(ThisT,wxAuiPaneInfo), 548 wxe_util:call(?wxAuiPaneInfo_IsTopDockable, 549 <<ThisRef:32/?UI>>). 550 551%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfolayer">external documentation</a>. 552-spec layer(This, Layer) -> wxAuiPaneInfo() when 553 This::wxAuiPaneInfo(), Layer::integer(). 554layer(#wx_ref{type=ThisT,ref=ThisRef},Layer) 555 when is_integer(Layer) -> 556 ?CLASS(ThisT,wxAuiPaneInfo), 557 wxe_util:call(?wxAuiPaneInfo_Layer, 558 <<ThisRef:32/?UI,Layer:32/?UI>>). 559 560%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfoleft">external documentation</a>. 561-spec left(This) -> wxAuiPaneInfo() when 562 This::wxAuiPaneInfo(). 563left(#wx_ref{type=ThisT,ref=ThisRef}) -> 564 ?CLASS(ThisT,wxAuiPaneInfo), 565 wxe_util:call(?wxAuiPaneInfo_Left, 566 <<ThisRef:32/?UI>>). 567 568%% @equiv leftDockable(This, []) 569-spec leftDockable(This) -> wxAuiPaneInfo() when 570 This::wxAuiPaneInfo(). 571 572leftDockable(This) 573 when is_record(This, wx_ref) -> 574 leftDockable(This, []). 575 576%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfoleftdockable">external documentation</a>. 577-spec leftDockable(This, [Option]) -> wxAuiPaneInfo() when 578 This::wxAuiPaneInfo(), 579 Option :: {'b', boolean()}. 580leftDockable(#wx_ref{type=ThisT,ref=ThisRef}, Options) 581 when is_list(Options) -> 582 ?CLASS(ThisT,wxAuiPaneInfo), 583 MOpts = fun({b, B}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(B)):32/?UI>>|Acc]; 584 (BadOpt, _) -> erlang:error({badoption, BadOpt}) end, 585 BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)), 586 wxe_util:call(?wxAuiPaneInfo_LeftDockable, 587 <<ThisRef:32/?UI, 0:32,BinOpt/binary>>). 588 589%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfomaxsize">external documentation</a>. 590-spec maxSize(This, Size) -> wxAuiPaneInfo() when 591 This::wxAuiPaneInfo(), Size::{W::integer(), H::integer()}. 592maxSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH}) 593 when is_integer(SizeW),is_integer(SizeH) -> 594 ?CLASS(ThisT,wxAuiPaneInfo), 595 wxe_util:call(?wxAuiPaneInfo_MaxSize_1, 596 <<ThisRef:32/?UI,SizeW:32/?UI,SizeH:32/?UI>>). 597 598%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfomaxsize">external documentation</a>. 599-spec maxSize(This, X, Y) -> wxAuiPaneInfo() when 600 This::wxAuiPaneInfo(), X::integer(), Y::integer(). 601maxSize(#wx_ref{type=ThisT,ref=ThisRef},X,Y) 602 when is_integer(X),is_integer(Y) -> 603 ?CLASS(ThisT,wxAuiPaneInfo), 604 wxe_util:call(?wxAuiPaneInfo_MaxSize_2, 605 <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI>>). 606 607%% @equiv maximizeButton(This, []) 608-spec maximizeButton(This) -> wxAuiPaneInfo() when 609 This::wxAuiPaneInfo(). 610 611maximizeButton(This) 612 when is_record(This, wx_ref) -> 613 maximizeButton(This, []). 614 615%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfomaximizebutton">external documentation</a>. 616-spec maximizeButton(This, [Option]) -> wxAuiPaneInfo() when 617 This::wxAuiPaneInfo(), 618 Option :: {'visible', boolean()}. 619maximizeButton(#wx_ref{type=ThisT,ref=ThisRef}, Options) 620 when is_list(Options) -> 621 ?CLASS(ThisT,wxAuiPaneInfo), 622 MOpts = fun({visible, Visible}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Visible)):32/?UI>>|Acc]; 623 (BadOpt, _) -> erlang:error({badoption, BadOpt}) end, 624 BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)), 625 wxe_util:call(?wxAuiPaneInfo_MaximizeButton, 626 <<ThisRef:32/?UI, 0:32,BinOpt/binary>>). 627 628%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfominsize">external documentation</a>. 629-spec minSize(This, Size) -> wxAuiPaneInfo() when 630 This::wxAuiPaneInfo(), Size::{W::integer(), H::integer()}. 631minSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH}) 632 when is_integer(SizeW),is_integer(SizeH) -> 633 ?CLASS(ThisT,wxAuiPaneInfo), 634 wxe_util:call(?wxAuiPaneInfo_MinSize_1, 635 <<ThisRef:32/?UI,SizeW:32/?UI,SizeH:32/?UI>>). 636 637%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfominsize">external documentation</a>. 638-spec minSize(This, X, Y) -> wxAuiPaneInfo() when 639 This::wxAuiPaneInfo(), X::integer(), Y::integer(). 640minSize(#wx_ref{type=ThisT,ref=ThisRef},X,Y) 641 when is_integer(X),is_integer(Y) -> 642 ?CLASS(ThisT,wxAuiPaneInfo), 643 wxe_util:call(?wxAuiPaneInfo_MinSize_2, 644 <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI>>). 645 646%% @equiv minimizeButton(This, []) 647-spec minimizeButton(This) -> wxAuiPaneInfo() when 648 This::wxAuiPaneInfo(). 649 650minimizeButton(This) 651 when is_record(This, wx_ref) -> 652 minimizeButton(This, []). 653 654%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfominimizebutton">external documentation</a>. 655-spec minimizeButton(This, [Option]) -> wxAuiPaneInfo() when 656 This::wxAuiPaneInfo(), 657 Option :: {'visible', boolean()}. 658minimizeButton(#wx_ref{type=ThisT,ref=ThisRef}, Options) 659 when is_list(Options) -> 660 ?CLASS(ThisT,wxAuiPaneInfo), 661 MOpts = fun({visible, Visible}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Visible)):32/?UI>>|Acc]; 662 (BadOpt, _) -> erlang:error({badoption, BadOpt}) end, 663 BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)), 664 wxe_util:call(?wxAuiPaneInfo_MinimizeButton, 665 <<ThisRef:32/?UI, 0:32,BinOpt/binary>>). 666 667%% @equiv movable(This, []) 668-spec movable(This) -> wxAuiPaneInfo() when 669 This::wxAuiPaneInfo(). 670 671movable(This) 672 when is_record(This, wx_ref) -> 673 movable(This, []). 674 675%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfomovable">external documentation</a>. 676-spec movable(This, [Option]) -> wxAuiPaneInfo() when 677 This::wxAuiPaneInfo(), 678 Option :: {'b', boolean()}. 679movable(#wx_ref{type=ThisT,ref=ThisRef}, Options) 680 when is_list(Options) -> 681 ?CLASS(ThisT,wxAuiPaneInfo), 682 MOpts = fun({b, B}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(B)):32/?UI>>|Acc]; 683 (BadOpt, _) -> erlang:error({badoption, BadOpt}) end, 684 BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)), 685 wxe_util:call(?wxAuiPaneInfo_Movable, 686 <<ThisRef:32/?UI, 0:32,BinOpt/binary>>). 687 688%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfoname">external documentation</a>. 689-spec name(This, N) -> wxAuiPaneInfo() when 690 This::wxAuiPaneInfo(), N::unicode:chardata(). 691name(#wx_ref{type=ThisT,ref=ThisRef},N) 692 when ?is_chardata(N) -> 693 ?CLASS(ThisT,wxAuiPaneInfo), 694 N_UC = unicode:characters_to_binary([N,0]), 695 wxe_util:call(?wxAuiPaneInfo_Name, 696 <<ThisRef:32/?UI,(byte_size(N_UC)):32/?UI,(N_UC)/binary, 0:(((8- ((0+byte_size(N_UC)) band 16#7)) band 16#7))/unit:8>>). 697 698%% @equiv paneBorder(This, []) 699-spec paneBorder(This) -> wxAuiPaneInfo() when 700 This::wxAuiPaneInfo(). 701 702paneBorder(This) 703 when is_record(This, wx_ref) -> 704 paneBorder(This, []). 705 706%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfopaneborder">external documentation</a>. 707-spec paneBorder(This, [Option]) -> wxAuiPaneInfo() when 708 This::wxAuiPaneInfo(), 709 Option :: {'visible', boolean()}. 710paneBorder(#wx_ref{type=ThisT,ref=ThisRef}, Options) 711 when is_list(Options) -> 712 ?CLASS(ThisT,wxAuiPaneInfo), 713 MOpts = fun({visible, Visible}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Visible)):32/?UI>>|Acc]; 714 (BadOpt, _) -> erlang:error({badoption, BadOpt}) end, 715 BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)), 716 wxe_util:call(?wxAuiPaneInfo_PaneBorder, 717 <<ThisRef:32/?UI, 0:32,BinOpt/binary>>). 718 719%% @equiv pinButton(This, []) 720-spec pinButton(This) -> wxAuiPaneInfo() when 721 This::wxAuiPaneInfo(). 722 723pinButton(This) 724 when is_record(This, wx_ref) -> 725 pinButton(This, []). 726 727%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfopinbutton">external documentation</a>. 728-spec pinButton(This, [Option]) -> wxAuiPaneInfo() when 729 This::wxAuiPaneInfo(), 730 Option :: {'visible', boolean()}. 731pinButton(#wx_ref{type=ThisT,ref=ThisRef}, Options) 732 when is_list(Options) -> 733 ?CLASS(ThisT,wxAuiPaneInfo), 734 MOpts = fun({visible, Visible}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Visible)):32/?UI>>|Acc]; 735 (BadOpt, _) -> erlang:error({badoption, BadOpt}) end, 736 BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)), 737 wxe_util:call(?wxAuiPaneInfo_PinButton, 738 <<ThisRef:32/?UI, 0:32,BinOpt/binary>>). 739 740%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfoposition">external documentation</a>. 741-spec position(This, Pos) -> wxAuiPaneInfo() when 742 This::wxAuiPaneInfo(), Pos::integer(). 743position(#wx_ref{type=ThisT,ref=ThisRef},Pos) 744 when is_integer(Pos) -> 745 ?CLASS(ThisT,wxAuiPaneInfo), 746 wxe_util:call(?wxAuiPaneInfo_Position, 747 <<ThisRef:32/?UI,Pos:32/?UI>>). 748 749%% @equiv resizable(This, []) 750-spec resizable(This) -> wxAuiPaneInfo() when 751 This::wxAuiPaneInfo(). 752 753resizable(This) 754 when is_record(This, wx_ref) -> 755 resizable(This, []). 756 757%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinforesizable">external documentation</a>. 758-spec resizable(This, [Option]) -> wxAuiPaneInfo() when 759 This::wxAuiPaneInfo(), 760 Option :: {'resizable', boolean()}. 761resizable(#wx_ref{type=ThisT,ref=ThisRef}, Options) 762 when is_list(Options) -> 763 ?CLASS(ThisT,wxAuiPaneInfo), 764 MOpts = fun({resizable, Resizable}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Resizable)):32/?UI>>|Acc]; 765 (BadOpt, _) -> erlang:error({badoption, BadOpt}) end, 766 BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)), 767 wxe_util:call(?wxAuiPaneInfo_Resizable, 768 <<ThisRef:32/?UI, 0:32,BinOpt/binary>>). 769 770%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinforight">external documentation</a>. 771-spec right(This) -> wxAuiPaneInfo() when 772 This::wxAuiPaneInfo(). 773right(#wx_ref{type=ThisT,ref=ThisRef}) -> 774 ?CLASS(ThisT,wxAuiPaneInfo), 775 wxe_util:call(?wxAuiPaneInfo_Right, 776 <<ThisRef:32/?UI>>). 777 778%% @equiv rightDockable(This, []) 779-spec rightDockable(This) -> wxAuiPaneInfo() when 780 This::wxAuiPaneInfo(). 781 782rightDockable(This) 783 when is_record(This, wx_ref) -> 784 rightDockable(This, []). 785 786%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinforightdockable">external documentation</a>. 787-spec rightDockable(This, [Option]) -> wxAuiPaneInfo() when 788 This::wxAuiPaneInfo(), 789 Option :: {'b', boolean()}. 790rightDockable(#wx_ref{type=ThisT,ref=ThisRef}, Options) 791 when is_list(Options) -> 792 ?CLASS(ThisT,wxAuiPaneInfo), 793 MOpts = fun({b, B}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(B)):32/?UI>>|Acc]; 794 (BadOpt, _) -> erlang:error({badoption, BadOpt}) end, 795 BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)), 796 wxe_util:call(?wxAuiPaneInfo_RightDockable, 797 <<ThisRef:32/?UI, 0:32,BinOpt/binary>>). 798 799%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinforow">external documentation</a>. 800-spec row(This, Row) -> wxAuiPaneInfo() when 801 This::wxAuiPaneInfo(), Row::integer(). 802row(#wx_ref{type=ThisT,ref=ThisRef},Row) 803 when is_integer(Row) -> 804 ?CLASS(ThisT,wxAuiPaneInfo), 805 wxe_util:call(?wxAuiPaneInfo_Row, 806 <<ThisRef:32/?UI,Row:32/?UI>>). 807 808%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfosafeset">external documentation</a>. 809-spec safeSet(This, Source) -> 'ok' when 810 This::wxAuiPaneInfo(), Source::wxAuiPaneInfo(). 811safeSet(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=SourceT,ref=SourceRef}) -> 812 ?CLASS(ThisT,wxAuiPaneInfo), 813 ?CLASS(SourceT,wxAuiPaneInfo), 814 wxe_util:cast(?wxAuiPaneInfo_SafeSet, 815 <<ThisRef:32/?UI,SourceRef:32/?UI>>). 816 817%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfosetflag">external documentation</a>. 818-spec setFlag(This, Flag, Option_state) -> wxAuiPaneInfo() when 819 This::wxAuiPaneInfo(), Flag::integer(), Option_state::boolean(). 820setFlag(#wx_ref{type=ThisT,ref=ThisRef},Flag,Option_state) 821 when is_integer(Flag),is_boolean(Option_state) -> 822 ?CLASS(ThisT,wxAuiPaneInfo), 823 wxe_util:call(?wxAuiPaneInfo_SetFlag, 824 <<ThisRef:32/?UI,Flag:32/?UI,(wxe_util:from_bool(Option_state)):32/?UI>>). 825 826%% @equiv show(This, []) 827-spec show(This) -> wxAuiPaneInfo() when 828 This::wxAuiPaneInfo(). 829 830show(This) 831 when is_record(This, wx_ref) -> 832 show(This, []). 833 834%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfoshow">external documentation</a>. 835-spec show(This, [Option]) -> wxAuiPaneInfo() when 836 This::wxAuiPaneInfo(), 837 Option :: {'show', boolean()}. 838show(#wx_ref{type=ThisT,ref=ThisRef}, Options) 839 when is_list(Options) -> 840 ?CLASS(ThisT,wxAuiPaneInfo), 841 MOpts = fun({show, Show}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Show)):32/?UI>>|Acc]; 842 (BadOpt, _) -> erlang:error({badoption, BadOpt}) end, 843 BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)), 844 wxe_util:call(?wxAuiPaneInfo_Show, 845 <<ThisRef:32/?UI, 0:32,BinOpt/binary>>). 846 847%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfotoolbarpane">external documentation</a>. 848-spec toolbarPane(This) -> wxAuiPaneInfo() when 849 This::wxAuiPaneInfo(). 850toolbarPane(#wx_ref{type=ThisT,ref=ThisRef}) -> 851 ?CLASS(ThisT,wxAuiPaneInfo), 852 wxe_util:call(?wxAuiPaneInfo_ToolbarPane, 853 <<ThisRef:32/?UI>>). 854 855%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfotop">external documentation</a>. 856-spec top(This) -> wxAuiPaneInfo() when 857 This::wxAuiPaneInfo(). 858top(#wx_ref{type=ThisT,ref=ThisRef}) -> 859 ?CLASS(ThisT,wxAuiPaneInfo), 860 wxe_util:call(?wxAuiPaneInfo_Top, 861 <<ThisRef:32/?UI>>). 862 863%% @equiv topDockable(This, []) 864-spec topDockable(This) -> wxAuiPaneInfo() when 865 This::wxAuiPaneInfo(). 866 867topDockable(This) 868 when is_record(This, wx_ref) -> 869 topDockable(This, []). 870 871%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfotopdockable">external documentation</a>. 872-spec topDockable(This, [Option]) -> wxAuiPaneInfo() when 873 This::wxAuiPaneInfo(), 874 Option :: {'b', boolean()}. 875topDockable(#wx_ref{type=ThisT,ref=ThisRef}, Options) 876 when is_list(Options) -> 877 ?CLASS(ThisT,wxAuiPaneInfo), 878 MOpts = fun({b, B}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(B)):32/?UI>>|Acc]; 879 (BadOpt, _) -> erlang:error({badoption, BadOpt}) end, 880 BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)), 881 wxe_util:call(?wxAuiPaneInfo_TopDockable, 882 <<ThisRef:32/?UI, 0:32,BinOpt/binary>>). 883 884%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfowindow">external documentation</a>. 885-spec window(This, W) -> wxAuiPaneInfo() when 886 This::wxAuiPaneInfo(), W::wxWindow:wxWindow(). 887window(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WT,ref=WRef}) -> 888 ?CLASS(ThisT,wxAuiPaneInfo), 889 ?CLASS(WT,wxWindow), 890 wxe_util:call(?wxAuiPaneInfo_Window, 891 <<ThisRef:32/?UI,WRef:32/?UI>>). 892 893%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfogetwindow">external documentation</a>. 894-spec getWindow(This) -> wxWindow:wxWindow() when 895 This::wxAuiPaneInfo(). 896getWindow(#wx_ref{type=ThisT,ref=ThisRef}) -> 897 ?CLASS(ThisT,wxAuiPaneInfo), 898 wxe_util:call(?wxAuiPaneInfo_GetWindow, 899 <<ThisRef:32/?UI>>). 900 901%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfogetframe">external documentation</a>. 902-spec getFrame(This) -> wxFrame:wxFrame() when 903 This::wxAuiPaneInfo(). 904getFrame(#wx_ref{type=ThisT,ref=ThisRef}) -> 905 ?CLASS(ThisT,wxAuiPaneInfo), 906 wxe_util:call(?wxAuiPaneInfo_GetFrame, 907 <<ThisRef:32/?UI>>). 908 909%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfogetdirection">external documentation</a>. 910-spec getDirection(This) -> integer() when 911 This::wxAuiPaneInfo(). 912getDirection(#wx_ref{type=ThisT,ref=ThisRef}) -> 913 ?CLASS(ThisT,wxAuiPaneInfo), 914 wxe_util:call(?wxAuiPaneInfo_GetDirection, 915 <<ThisRef:32/?UI>>). 916 917%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfogetlayer">external documentation</a>. 918-spec getLayer(This) -> integer() when 919 This::wxAuiPaneInfo(). 920getLayer(#wx_ref{type=ThisT,ref=ThisRef}) -> 921 ?CLASS(ThisT,wxAuiPaneInfo), 922 wxe_util:call(?wxAuiPaneInfo_GetLayer, 923 <<ThisRef:32/?UI>>). 924 925%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfogetrow">external documentation</a>. 926-spec getRow(This) -> integer() when 927 This::wxAuiPaneInfo(). 928getRow(#wx_ref{type=ThisT,ref=ThisRef}) -> 929 ?CLASS(ThisT,wxAuiPaneInfo), 930 wxe_util:call(?wxAuiPaneInfo_GetRow, 931 <<ThisRef:32/?UI>>). 932 933%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfogetposition">external documentation</a>. 934-spec getPosition(This) -> integer() when 935 This::wxAuiPaneInfo(). 936getPosition(#wx_ref{type=ThisT,ref=ThisRef}) -> 937 ?CLASS(ThisT,wxAuiPaneInfo), 938 wxe_util:call(?wxAuiPaneInfo_GetPosition, 939 <<ThisRef:32/?UI>>). 940 941%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfogetfloatingposition">external documentation</a>. 942-spec getFloatingPosition(This) -> {X::integer(), Y::integer()} when 943 This::wxAuiPaneInfo(). 944getFloatingPosition(#wx_ref{type=ThisT,ref=ThisRef}) -> 945 ?CLASS(ThisT,wxAuiPaneInfo), 946 wxe_util:call(?wxAuiPaneInfo_GetFloatingPosition, 947 <<ThisRef:32/?UI>>). 948 949%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxauipaneinfo.html#wxauipaneinfogetfloatingsize">external documentation</a>. 950-spec getFloatingSize(This) -> {W::integer(), H::integer()} when 951 This::wxAuiPaneInfo(). 952getFloatingSize(#wx_ref{type=ThisT,ref=ThisRef}) -> 953 ?CLASS(ThisT,wxAuiPaneInfo), 954 wxe_util:call(?wxAuiPaneInfo_GetFloatingSize, 955 <<ThisRef:32/?UI>>). 956 957%% @doc Destroys this object, do not use object again 958-spec destroy(This::wxAuiPaneInfo()) -> 'ok'. 959destroy(Obj=#wx_ref{type=Type}) -> 960 ?CLASS(Type,wxAuiPaneInfo), 961 wxe_util:destroy(?wxAuiPaneInfo_destruct,Obj), 962 ok. 963