From a181c06152a3c935fdf63659322020fb7625b577 Mon Sep 17 00:00:00 2001 From: Dan Gudmundsson Date: Thu, 16 Feb 2012 11:04:18 +0100 Subject: [wx] Generated types for all wx classes --- lib/wx/src/gen/wxAuiPaneInfo.erl | 332 ++++++++++++++++++++++++++------------- 1 file changed, 221 insertions(+), 111 deletions(-) (limited to 'lib/wx/src/gen/wxAuiPaneInfo.erl') diff --git a/lib/wx/src/gen/wxAuiPaneInfo.erl b/lib/wx/src/gen/wxAuiPaneInfo.erl index b15f91c675..47e86947d4 100644 --- a/lib/wx/src/gen/wxAuiPaneInfo.erl +++ b/lib/wx/src/gen/wxAuiPaneInfo.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -44,54 +44,63 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxAuiPaneInfo/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxAuiPaneInfo() +-type wxAuiPaneInfo() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxAuiPaneInfo(). new() -> wxe_util:construct(?wxAuiPaneInfo_new_0, <<>>). -%% @spec (C::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec new(C) -> wxAuiPaneInfo() when + C::wxAuiPaneInfo(). new(#wx_ref{type=CT,ref=CRef}) -> ?CLASS(CT,wxAuiPaneInfo), wxe_util:construct(?wxAuiPaneInfo_new_1, <>). -%% @spec (This::wxAuiPaneInfo(), Size::{W::integer(), H::integer()}) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec bestSize(This, Size) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), Size::{W::integer(), H::integer()}. bestSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH}) when is_integer(SizeW),is_integer(SizeH) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_BestSize_1, <>). -%% @spec (This::wxAuiPaneInfo(), X::integer(), Y::integer()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec bestSize(This, X, Y) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), X::integer(), Y::integer(). bestSize(#wx_ref{type=ThisT,ref=ThisRef},X,Y) when is_integer(X),is_integer(Y) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_BestSize_2, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec bottom(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). bottom(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_Bottom, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @equiv bottomDockable(This, []) +-spec bottomDockable(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). + bottomDockable(This) when is_record(This, wx_ref) -> bottomDockable(This, []). -%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo() -%% Option = {b, bool()} %% @doc See external documentation. +-spec bottomDockable(This, [Option]) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), + Option :: {b, boolean()}. bottomDockable(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxAuiPaneInfo), @@ -101,8 +110,9 @@ bottomDockable(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxAuiPaneInfo_BottomDockable, <>). -%% @spec (This::wxAuiPaneInfo(), C::string()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec caption(This, C) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), C::string(). caption(#wx_ref{type=ThisT,ref=ThisRef},C) when is_list(C) -> ?CLASS(ThisT,wxAuiPaneInfo), @@ -110,15 +120,18 @@ caption(#wx_ref{type=ThisT,ref=ThisRef},C) wxe_util:call(?wxAuiPaneInfo_Caption, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @equiv captionVisible(This, []) +-spec captionVisible(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). + captionVisible(This) when is_record(This, wx_ref) -> captionVisible(This, []). -%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo() -%% Option = {visible, bool()} %% @doc See external documentation. +-spec captionVisible(This, [Option]) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), + Option :: {visible, boolean()}. captionVisible(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxAuiPaneInfo), @@ -128,29 +141,34 @@ captionVisible(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxAuiPaneInfo_CaptionVisible, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec centre(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). centre(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_Centre, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec centrePane(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). centrePane(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_CentrePane, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @equiv closeButton(This, []) +-spec closeButton(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). + closeButton(This) when is_record(This, wx_ref) -> closeButton(This, []). -%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo() -%% Option = {visible, bool()} %% @doc See external documentation. +-spec closeButton(This, [Option]) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), + Option :: {visible, boolean()}. closeButton(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxAuiPaneInfo), @@ -160,22 +178,26 @@ closeButton(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxAuiPaneInfo_CloseButton, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec defaultPane(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). defaultPane(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_DefaultPane, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @equiv destroyOnClose(This, []) +-spec destroyOnClose(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). + destroyOnClose(This) when is_record(This, wx_ref) -> destroyOnClose(This, []). -%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo() -%% Option = {b, bool()} %% @doc See external documentation. +-spec destroyOnClose(This, [Option]) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), + Option :: {b, boolean()}. destroyOnClose(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxAuiPaneInfo), @@ -185,30 +207,35 @@ destroyOnClose(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxAuiPaneInfo_DestroyOnClose, <>). -%% @spec (This::wxAuiPaneInfo(), Direction::integer()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec direction(This, Direction) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), Direction::integer(). direction(#wx_ref{type=ThisT,ref=ThisRef},Direction) when is_integer(Direction) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_Direction, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec dock(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). dock(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_Dock, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @equiv dockable(This, []) +-spec dockable(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). + dockable(This) when is_record(This, wx_ref) -> dockable(This, []). -%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo() -%% Option = {b, bool()} %% @doc See external documentation. +-spec dockable(This, [Option]) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), + Option :: {b, boolean()}. dockable(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxAuiPaneInfo), @@ -218,29 +245,34 @@ dockable(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxAuiPaneInfo_Dockable, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec fixed(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). fixed(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_Fixed, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec float(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). float(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_Float, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @equiv floatable(This, []) +-spec floatable(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). + floatable(This) when is_record(This, wx_ref) -> floatable(This, []). -%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo() -%% Option = {b, bool()} %% @doc See external documentation. +-spec floatable(This, [Option]) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), + Option :: {b, boolean()}. floatable(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxAuiPaneInfo), @@ -250,47 +282,54 @@ floatable(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxAuiPaneInfo_Floatable, <>). -%% @spec (This::wxAuiPaneInfo(), Pos::{X::integer(), Y::integer()}) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec floatingPosition(This, Pos) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), Pos::{X::integer(), Y::integer()}. floatingPosition(#wx_ref{type=ThisT,ref=ThisRef},{PosX,PosY}) when is_integer(PosX),is_integer(PosY) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_FloatingPosition_1, <>). -%% @spec (This::wxAuiPaneInfo(), X::integer(), Y::integer()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec floatingPosition(This, X, Y) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), X::integer(), Y::integer(). floatingPosition(#wx_ref{type=ThisT,ref=ThisRef},X,Y) when is_integer(X),is_integer(Y) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_FloatingPosition_2, <>). -%% @spec (This::wxAuiPaneInfo(), Size::{W::integer(), H::integer()}) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec floatingSize(This, Size) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), Size::{W::integer(), H::integer()}. floatingSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH}) when is_integer(SizeW),is_integer(SizeH) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_FloatingSize_1, <>). -%% @spec (This::wxAuiPaneInfo(), X::integer(), Y::integer()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec floatingSize(This, X, Y) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), X::integer(), Y::integer(). floatingSize(#wx_ref{type=ThisT,ref=ThisRef},X,Y) when is_integer(X),is_integer(Y) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_FloatingSize_2, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @equiv gripper(This, []) +-spec gripper(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). + gripper(This) when is_record(This, wx_ref) -> gripper(This, []). -%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo() -%% Option = {visible, bool()} %% @doc See external documentation. +-spec gripper(This, [Option]) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), + Option :: {visible, boolean()}. gripper(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxAuiPaneInfo), @@ -300,15 +339,18 @@ gripper(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxAuiPaneInfo_Gripper, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @equiv gripperTop(This, []) +-spec gripperTop(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). + gripperTop(This) when is_record(This, wx_ref) -> gripperTop(This, []). -%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo() -%% Option = {attop, bool()} %% @doc See external documentation. +-spec gripperTop(This, [Option]) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), + Option :: {attop, boolean()}. gripperTop(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxAuiPaneInfo), @@ -318,192 +360,220 @@ gripperTop(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxAuiPaneInfo_GripperTop, <>). -%% @spec (This::wxAuiPaneInfo()) -> bool() %% @doc See external documentation. +-spec hasBorder(This) -> boolean() when + This::wxAuiPaneInfo(). hasBorder(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_HasBorder, <>). -%% @spec (This::wxAuiPaneInfo()) -> bool() %% @doc See external documentation. +-spec hasCaption(This) -> boolean() when + This::wxAuiPaneInfo(). hasCaption(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_HasCaption, <>). -%% @spec (This::wxAuiPaneInfo()) -> bool() %% @doc See external documentation. +-spec hasCloseButton(This) -> boolean() when + This::wxAuiPaneInfo(). hasCloseButton(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_HasCloseButton, <>). -%% @spec (This::wxAuiPaneInfo(), Flag::integer()) -> bool() %% @doc See external documentation. +-spec hasFlag(This, Flag) -> boolean() when + This::wxAuiPaneInfo(), Flag::integer(). hasFlag(#wx_ref{type=ThisT,ref=ThisRef},Flag) when is_integer(Flag) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_HasFlag, <>). -%% @spec (This::wxAuiPaneInfo()) -> bool() %% @doc See external documentation. +-spec hasGripper(This) -> boolean() when + This::wxAuiPaneInfo(). hasGripper(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_HasGripper, <>). -%% @spec (This::wxAuiPaneInfo()) -> bool() %% @doc See external documentation. +-spec hasGripperTop(This) -> boolean() when + This::wxAuiPaneInfo(). hasGripperTop(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_HasGripperTop, <>). -%% @spec (This::wxAuiPaneInfo()) -> bool() %% @doc See external documentation. +-spec hasMaximizeButton(This) -> boolean() when + This::wxAuiPaneInfo(). hasMaximizeButton(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_HasMaximizeButton, <>). -%% @spec (This::wxAuiPaneInfo()) -> bool() %% @doc See external documentation. +-spec hasMinimizeButton(This) -> boolean() when + This::wxAuiPaneInfo(). hasMinimizeButton(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_HasMinimizeButton, <>). -%% @spec (This::wxAuiPaneInfo()) -> bool() %% @doc See external documentation. +-spec hasPinButton(This) -> boolean() when + This::wxAuiPaneInfo(). hasPinButton(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_HasPinButton, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec hide(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). hide(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_Hide, <>). -%% @spec (This::wxAuiPaneInfo()) -> bool() %% @doc See external documentation. +-spec isBottomDockable(This) -> boolean() when + This::wxAuiPaneInfo(). isBottomDockable(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_IsBottomDockable, <>). -%% @spec (This::wxAuiPaneInfo()) -> bool() %% @doc See external documentation. +-spec isDocked(This) -> boolean() when + This::wxAuiPaneInfo(). isDocked(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_IsDocked, <>). -%% @spec (This::wxAuiPaneInfo()) -> bool() %% @doc See external documentation. +-spec isFixed(This) -> boolean() when + This::wxAuiPaneInfo(). isFixed(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_IsFixed, <>). -%% @spec (This::wxAuiPaneInfo()) -> bool() %% @doc See external documentation. +-spec isFloatable(This) -> boolean() when + This::wxAuiPaneInfo(). isFloatable(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_IsFloatable, <>). -%% @spec (This::wxAuiPaneInfo()) -> bool() %% @doc See external documentation. +-spec isFloating(This) -> boolean() when + This::wxAuiPaneInfo(). isFloating(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_IsFloating, <>). -%% @spec (This::wxAuiPaneInfo()) -> bool() %% @doc See external documentation. +-spec isLeftDockable(This) -> boolean() when + This::wxAuiPaneInfo(). isLeftDockable(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_IsLeftDockable, <>). -%% @spec (This::wxAuiPaneInfo()) -> bool() %% @doc See external documentation. +-spec isMovable(This) -> boolean() when + This::wxAuiPaneInfo(). isMovable(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_IsMovable, <>). -%% @spec (This::wxAuiPaneInfo()) -> bool() %% @doc See external documentation. +-spec isOk(This) -> boolean() when + This::wxAuiPaneInfo(). isOk(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_IsOk, <>). -%% @spec (This::wxAuiPaneInfo()) -> bool() %% @doc See external documentation. +-spec isResizable(This) -> boolean() when + This::wxAuiPaneInfo(). isResizable(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_IsResizable, <>). -%% @spec (This::wxAuiPaneInfo()) -> bool() %% @doc See external documentation. +-spec isRightDockable(This) -> boolean() when + This::wxAuiPaneInfo(). isRightDockable(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_IsRightDockable, <>). -%% @spec (This::wxAuiPaneInfo()) -> bool() %% @doc See external documentation. +-spec isShown(This) -> boolean() when + This::wxAuiPaneInfo(). isShown(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_IsShown, <>). -%% @spec (This::wxAuiPaneInfo()) -> bool() %% @doc See external documentation. +-spec isToolbar(This) -> boolean() when + This::wxAuiPaneInfo(). isToolbar(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_IsToolbar, <>). -%% @spec (This::wxAuiPaneInfo()) -> bool() %% @doc See external documentation. +-spec isTopDockable(This) -> boolean() when + This::wxAuiPaneInfo(). isTopDockable(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_IsTopDockable, <>). -%% @spec (This::wxAuiPaneInfo(), Layer::integer()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec layer(This, Layer) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), Layer::integer(). layer(#wx_ref{type=ThisT,ref=ThisRef},Layer) when is_integer(Layer) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_Layer, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec left(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). left(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_Left, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @equiv leftDockable(This, []) +-spec leftDockable(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). + leftDockable(This) when is_record(This, wx_ref) -> leftDockable(This, []). -%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo() -%% Option = {b, bool()} %% @doc See external documentation. +-spec leftDockable(This, [Option]) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), + Option :: {b, boolean()}. leftDockable(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxAuiPaneInfo), @@ -513,31 +583,36 @@ leftDockable(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxAuiPaneInfo_LeftDockable, <>). -%% @spec (This::wxAuiPaneInfo(), Size::{W::integer(), H::integer()}) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec maxSize(This, Size) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), Size::{W::integer(), H::integer()}. maxSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH}) when is_integer(SizeW),is_integer(SizeH) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_MaxSize_1, <>). -%% @spec (This::wxAuiPaneInfo(), X::integer(), Y::integer()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec maxSize(This, X, Y) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), X::integer(), Y::integer(). maxSize(#wx_ref{type=ThisT,ref=ThisRef},X,Y) when is_integer(X),is_integer(Y) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_MaxSize_2, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @equiv maximizeButton(This, []) +-spec maximizeButton(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). + maximizeButton(This) when is_record(This, wx_ref) -> maximizeButton(This, []). -%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo() -%% Option = {visible, bool()} %% @doc See external documentation. +-spec maximizeButton(This, [Option]) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), + Option :: {visible, boolean()}. maximizeButton(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxAuiPaneInfo), @@ -547,31 +622,36 @@ maximizeButton(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxAuiPaneInfo_MaximizeButton, <>). -%% @spec (This::wxAuiPaneInfo(), Size::{W::integer(), H::integer()}) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec minSize(This, Size) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), Size::{W::integer(), H::integer()}. minSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH}) when is_integer(SizeW),is_integer(SizeH) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_MinSize_1, <>). -%% @spec (This::wxAuiPaneInfo(), X::integer(), Y::integer()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec minSize(This, X, Y) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), X::integer(), Y::integer(). minSize(#wx_ref{type=ThisT,ref=ThisRef},X,Y) when is_integer(X),is_integer(Y) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_MinSize_2, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @equiv minimizeButton(This, []) +-spec minimizeButton(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). + minimizeButton(This) when is_record(This, wx_ref) -> minimizeButton(This, []). -%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo() -%% Option = {visible, bool()} %% @doc See external documentation. +-spec minimizeButton(This, [Option]) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), + Option :: {visible, boolean()}. minimizeButton(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxAuiPaneInfo), @@ -581,15 +661,18 @@ minimizeButton(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxAuiPaneInfo_MinimizeButton, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @equiv movable(This, []) +-spec movable(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). + movable(This) when is_record(This, wx_ref) -> movable(This, []). -%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo() -%% Option = {b, bool()} %% @doc See external documentation. +-spec movable(This, [Option]) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), + Option :: {b, boolean()}. movable(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxAuiPaneInfo), @@ -599,8 +682,9 @@ movable(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxAuiPaneInfo_Movable, <>). -%% @spec (This::wxAuiPaneInfo(), N::string()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec name(This, N) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), N::string(). name(#wx_ref{type=ThisT,ref=ThisRef},N) when is_list(N) -> ?CLASS(ThisT,wxAuiPaneInfo), @@ -608,15 +692,18 @@ name(#wx_ref{type=ThisT,ref=ThisRef},N) wxe_util:call(?wxAuiPaneInfo_Name, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @equiv paneBorder(This, []) +-spec paneBorder(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). + paneBorder(This) when is_record(This, wx_ref) -> paneBorder(This, []). -%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo() -%% Option = {visible, bool()} %% @doc See external documentation. +-spec paneBorder(This, [Option]) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), + Option :: {visible, boolean()}. paneBorder(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxAuiPaneInfo), @@ -626,15 +713,18 @@ paneBorder(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxAuiPaneInfo_PaneBorder, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @equiv pinButton(This, []) +-spec pinButton(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). + pinButton(This) when is_record(This, wx_ref) -> pinButton(This, []). -%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo() -%% Option = {visible, bool()} %% @doc See external documentation. +-spec pinButton(This, [Option]) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), + Option :: {visible, boolean()}. pinButton(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxAuiPaneInfo), @@ -644,23 +734,27 @@ pinButton(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxAuiPaneInfo_PinButton, <>). -%% @spec (This::wxAuiPaneInfo(), Pos::integer()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec position(This, Pos) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), Pos::integer(). position(#wx_ref{type=ThisT,ref=ThisRef},Pos) when is_integer(Pos) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_Position, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @equiv resizable(This, []) +-spec resizable(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). + resizable(This) when is_record(This, wx_ref) -> resizable(This, []). -%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo() -%% Option = {resizable, bool()} %% @doc See external documentation. +-spec resizable(This, [Option]) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), + Option :: {resizable, boolean()}. resizable(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxAuiPaneInfo), @@ -670,22 +764,26 @@ resizable(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxAuiPaneInfo_Resizable, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec right(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). right(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_Right, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @equiv rightDockable(This, []) +-spec rightDockable(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). + rightDockable(This) when is_record(This, wx_ref) -> rightDockable(This, []). -%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo() -%% Option = {b, bool()} %% @doc See external documentation. +-spec rightDockable(This, [Option]) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), + Option :: {b, boolean()}. rightDockable(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxAuiPaneInfo), @@ -695,39 +793,45 @@ rightDockable(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxAuiPaneInfo_RightDockable, <>). -%% @spec (This::wxAuiPaneInfo(), Row::integer()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec row(This, Row) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), Row::integer(). row(#wx_ref{type=ThisT,ref=ThisRef},Row) when is_integer(Row) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_Row, <>). -%% @spec (This::wxAuiPaneInfo(), Source::wxAuiPaneInfo()) -> ok %% @doc See external documentation. +-spec safeSet(This, Source) -> ok when + This::wxAuiPaneInfo(), Source::wxAuiPaneInfo(). safeSet(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=SourceT,ref=SourceRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), ?CLASS(SourceT,wxAuiPaneInfo), wxe_util:cast(?wxAuiPaneInfo_SafeSet, <>). -%% @spec (This::wxAuiPaneInfo(), Flag::integer(), Option_state::bool()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec setFlag(This, Flag, Option_state) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), Flag::integer(), Option_state::boolean(). setFlag(#wx_ref{type=ThisT,ref=ThisRef},Flag,Option_state) when is_integer(Flag),is_boolean(Option_state) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_SetFlag, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @equiv show(This, []) +-spec show(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). + show(This) when is_record(This, wx_ref) -> show(This, []). -%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo() -%% Option = {show, bool()} %% @doc See external documentation. +-spec show(This, [Option]) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), + Option :: {show, boolean()}. show(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxAuiPaneInfo), @@ -737,29 +841,34 @@ show(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxAuiPaneInfo_Show, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec toolbarPane(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). toolbarPane(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_ToolbarPane, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec top(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). top(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_Top, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @equiv topDockable(This, []) +-spec topDockable(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). + topDockable(This) when is_record(This, wx_ref) -> topDockable(This, []). -%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo() -%% Option = {b, bool()} %% @doc See external documentation. +-spec topDockable(This, [Option]) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), + Option :: {b, boolean()}. topDockable(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxAuiPaneInfo), @@ -769,16 +878,17 @@ topDockable(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxAuiPaneInfo_TopDockable, <>). -%% @spec (This::wxAuiPaneInfo(), W::wxWindow:wxWindow()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec window(This, W) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), W::wxWindow:wxWindow(). window(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WT,ref=WRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), ?CLASS(WT,wxWindow), wxe_util:call(?wxAuiPaneInfo_Window, <>). -%% @spec (This::wxAuiPaneInfo()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxAuiPaneInfo) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxAuiPaneInfo), wxe_util:destroy(?wxAuiPaneInfo_destruct,Obj), -- cgit v1.2.3