%% %% %CopyrightBegin% %% %% Copyright Ericsson AB 2009-2010. 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 %% compliance with the License. You should have received a copy of the %% Erlang Public License along with this software. If not, it can be %% retrieved online at http://www.erlang.org/. %% %% Software distributed under the License is distributed on an "AS IS" %% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See %% the License for the specific language governing rights and limitations %% under the License. %% %% %CopyrightEnd% %% This file is generated DO NOT EDIT %% @doc See external documentation: wxAuiManagerEvent. %%
Use {@link wxEvtHandler:connect/3.} with EventType:
%%
aui_pane_button, aui_pane_close, aui_pane_maximize, aui_pane_restore, aui_render, aui_find_manager
%% See also the message variant {@link wxEvtHandler:wxAuiManager(). #wxAuiManager{}} event record type. %% %%

This class is derived (and can use functions) from: %%
{@link wxEvent} %%

%% @type wxAuiManagerEvent(). An object reference, The representation is internal %% and can be changed without notice. It can't be used for comparsion %% stored on disc or distributed for use on other nodes. -module(wxAuiManagerEvent). -include("wxe.hrl"). -export([canVeto/1,getButton/1,getDC/1,getManager/1,getPane/1,getVeto/1,setButton/2, setCanVeto/2,setDC/2,setManager/2,setPane/2,veto/1,veto/2]). %% inherited exports -export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1, resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]). %% @hidden parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). %% @spec (This::wxAuiManagerEvent(), Mgr::wxAuiManager:wxAuiManager()) -> ok %% @doc See external documentation. setManager(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=MgrT,ref=MgrRef}) -> ?CLASS(ThisT,wxAuiManagerEvent), ?CLASS(MgrT,wxAuiManager), wxe_util:cast(?wxAuiManagerEvent_SetManager, <>). %% @spec (This::wxAuiManagerEvent()) -> wxAuiManager:wxAuiManager() %% @doc See external documentation. getManager(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiManagerEvent), wxe_util:call(?wxAuiManagerEvent_GetManager, <>). %% @spec (This::wxAuiManagerEvent(), P::wxAuiPaneInfo:wxAuiPaneInfo()) -> ok %% @doc See external documentation. setPane(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PT,ref=PRef}) -> ?CLASS(ThisT,wxAuiManagerEvent), ?CLASS(PT,wxAuiPaneInfo), wxe_util:cast(?wxAuiManagerEvent_SetPane, <>). %% @spec (This::wxAuiManagerEvent()) -> wxAuiPaneInfo:wxAuiPaneInfo() %% @doc See external documentation. getPane(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiManagerEvent), wxe_util:call(?wxAuiManagerEvent_GetPane, <>). %% @spec (This::wxAuiManagerEvent(), B::integer()) -> ok %% @doc See external documentation. setButton(#wx_ref{type=ThisT,ref=ThisRef},B) when is_integer(B) -> ?CLASS(ThisT,wxAuiManagerEvent), wxe_util:cast(?wxAuiManagerEvent_SetButton, <>). %% @spec (This::wxAuiManagerEvent()) -> integer() %% @doc See external documentation. getButton(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiManagerEvent), wxe_util:call(?wxAuiManagerEvent_GetButton, <>). %% @spec (This::wxAuiManagerEvent(), Pdc::wxDC:wxDC()) -> ok %% @doc See external documentation. setDC(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PdcT,ref=PdcRef}) -> ?CLASS(ThisT,wxAuiManagerEvent), ?CLASS(PdcT,wxDC), wxe_util:cast(?wxAuiManagerEvent_SetDC, <>). %% @spec (This::wxAuiManagerEvent()) -> wxDC:wxDC() %% @doc See external documentation. getDC(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiManagerEvent), wxe_util:call(?wxAuiManagerEvent_GetDC, <>). %% @spec (This::wxAuiManagerEvent()) -> ok %% @equiv veto(This, []) veto(This) when is_record(This, wx_ref) -> veto(This, []). %% @spec (This::wxAuiManagerEvent(), [Option]) -> ok %% Option = {veto, bool()} %% @doc See external documentation. veto(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxAuiManagerEvent), MOpts = fun({veto, Veto}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Veto)):32/?UI>>|Acc]; (BadOpt, _) -> erlang:error({badoption, BadOpt}) end, BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)), wxe_util:cast(?wxAuiManagerEvent_Veto, <>). %% @spec (This::wxAuiManagerEvent()) -> bool() %% @doc See external documentation. getVeto(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiManagerEvent), wxe_util:call(?wxAuiManagerEvent_GetVeto, <>). %% @spec (This::wxAuiManagerEvent(), Can_veto::bool()) -> ok %% @doc See external documentation. setCanVeto(#wx_ref{type=ThisT,ref=ThisRef},Can_veto) when is_boolean(Can_veto) -> ?CLASS(ThisT,wxAuiManagerEvent), wxe_util:cast(?wxAuiManagerEvent_SetCanVeto, <>). %% @spec (This::wxAuiManagerEvent()) -> bool() %% @doc See external documentation. canVeto(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiManagerEvent), wxe_util:call(?wxAuiManagerEvent_CanVeto, <>). %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden skip(This, Options) -> wxEvent:skip(This, Options). %% @hidden skip(This) -> wxEvent:skip(This). %% @hidden shouldPropagate(This) -> wxEvent:shouldPropagate(This). %% @hidden resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel). %% @hidden isCommandEvent(This) -> wxEvent:isCommandEvent(This). %% @hidden getTimestamp(This) -> wxEvent:getTimestamp(This). %% @hidden getSkipped(This) -> wxEvent:getSkipped(This). %% @hidden getId(This) -> wxEvent:getId(This).