%% %% %CopyrightBegin% %% %% Copyright Ericsson AB 2008-2011. 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: wxPageSetupDialogData. %% @type wxPageSetupDialogData(). 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(wxPageSetupDialogData). -include("wxe.hrl"). -export([destroy/1,enableHelp/2,enableMargins/2,enableOrientation/2,enablePaper/2, enablePrinter/2,getDefaultInfo/1,getDefaultMinMargins/1,getEnableHelp/1, getEnableMargins/1,getEnableOrientation/1,getEnablePaper/1,getEnablePrinter/1, getMarginBottomRight/1,getMarginTopLeft/1,getMinMarginBottomRight/1, getMinMarginTopLeft/1,getPaperId/1,getPaperSize/1,getPrintData/1, isOk/1,new/0,new/1,setDefaultInfo/2,setDefaultMinMargins/2,setMarginBottomRight/2, setMarginTopLeft/2,setMinMarginBottomRight/2,setMinMarginTopLeft/2, setPaperId/2,setPaperSize/2,setPrintData/2]). %% inherited exports -export([parent_class/1]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). %% @spec () -> wxPageSetupDialogData() %% @doc See external documentation. new() -> wxe_util:construct(?wxPageSetupDialogData_new_0, <<>>). %% @spec (PrintData::wxPrintData:wxPrintData() | wxPageSetupDialogData()) -> wxPageSetupDialogData() %% @doc See external documentation. new(#wx_ref{type=PrintDataT,ref=PrintDataRef}) -> PrintDataOP = case ?CLASS_T(PrintDataT,wxPrintData) of true -> ?wxPageSetupDialogData_new_1_1; _ -> ?CLASS(PrintDataT,wxPageSetupDialogData), ?wxPageSetupDialogData_new_1_0 end, wxe_util:construct(PrintDataOP, <>). %% @spec (This::wxPageSetupDialogData(), Flag::bool()) -> ok %% @doc See external documentation. enableHelp(#wx_ref{type=ThisT,ref=ThisRef},Flag) when is_boolean(Flag) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:cast(?wxPageSetupDialogData_EnableHelp, <>). %% @spec (This::wxPageSetupDialogData(), Flag::bool()) -> ok %% @doc See external documentation. enableMargins(#wx_ref{type=ThisT,ref=ThisRef},Flag) when is_boolean(Flag) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:cast(?wxPageSetupDialogData_EnableMargins, <>). %% @spec (This::wxPageSetupDialogData(), Flag::bool()) -> ok %% @doc See external documentation. enableOrientation(#wx_ref{type=ThisT,ref=ThisRef},Flag) when is_boolean(Flag) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:cast(?wxPageSetupDialogData_EnableOrientation, <>). %% @spec (This::wxPageSetupDialogData(), Flag::bool()) -> ok %% @doc See external documentation. enablePaper(#wx_ref{type=ThisT,ref=ThisRef},Flag) when is_boolean(Flag) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:cast(?wxPageSetupDialogData_EnablePaper, <>). %% @spec (This::wxPageSetupDialogData(), Flag::bool()) -> ok %% @doc See external documentation. enablePrinter(#wx_ref{type=ThisT,ref=ThisRef},Flag) when is_boolean(Flag) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:cast(?wxPageSetupDialogData_EnablePrinter, <>). %% @spec (This::wxPageSetupDialogData()) -> bool() %% @doc See external documentation. getDefaultMinMargins(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:call(?wxPageSetupDialogData_GetDefaultMinMargins, <>). %% @spec (This::wxPageSetupDialogData()) -> bool() %% @doc See external documentation. getEnableMargins(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:call(?wxPageSetupDialogData_GetEnableMargins, <>). %% @spec (This::wxPageSetupDialogData()) -> bool() %% @doc See external documentation. getEnableOrientation(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:call(?wxPageSetupDialogData_GetEnableOrientation, <>). %% @spec (This::wxPageSetupDialogData()) -> bool() %% @doc See external documentation. getEnablePaper(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:call(?wxPageSetupDialogData_GetEnablePaper, <>). %% @spec (This::wxPageSetupDialogData()) -> bool() %% @doc See external documentation. getEnablePrinter(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:call(?wxPageSetupDialogData_GetEnablePrinter, <>). %% @spec (This::wxPageSetupDialogData()) -> bool() %% @doc See external documentation. getEnableHelp(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:call(?wxPageSetupDialogData_GetEnableHelp, <>). %% @spec (This::wxPageSetupDialogData()) -> bool() %% @doc See external documentation. getDefaultInfo(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:call(?wxPageSetupDialogData_GetDefaultInfo, <>). %% @spec (This::wxPageSetupDialogData()) -> {X::integer(), Y::integer()} %% @doc See external documentation. getMarginTopLeft(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:call(?wxPageSetupDialogData_GetMarginTopLeft, <>). %% @spec (This::wxPageSetupDialogData()) -> {X::integer(), Y::integer()} %% @doc See external documentation. getMarginBottomRight(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:call(?wxPageSetupDialogData_GetMarginBottomRight, <>). %% @spec (This::wxPageSetupDialogData()) -> {X::integer(), Y::integer()} %% @doc See external documentation. getMinMarginTopLeft(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:call(?wxPageSetupDialogData_GetMinMarginTopLeft, <>). %% @spec (This::wxPageSetupDialogData()) -> {X::integer(), Y::integer()} %% @doc See external documentation. getMinMarginBottomRight(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:call(?wxPageSetupDialogData_GetMinMarginBottomRight, <>). %% @spec (This::wxPageSetupDialogData()) -> integer() %% @doc See external documentation. getPaperId(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:call(?wxPageSetupDialogData_GetPaperId, <>). %% @spec (This::wxPageSetupDialogData()) -> {W::integer(), H::integer()} %% @doc See external documentation. getPaperSize(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:call(?wxPageSetupDialogData_GetPaperSize, <>). %% @spec (This::wxPageSetupDialogData()) -> wxPrintData:wxPrintData() %% @doc See external documentation. getPrintData(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:call(?wxPageSetupDialogData_GetPrintData, <>). %% @spec (This::wxPageSetupDialogData()) -> bool() %% @doc See external documentation. isOk(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:call(?wxPageSetupDialogData_IsOk, <>). %% @spec (This::wxPageSetupDialogData(), Flag::bool()) -> ok %% @doc See external documentation. setDefaultInfo(#wx_ref{type=ThisT,ref=ThisRef},Flag) when is_boolean(Flag) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:cast(?wxPageSetupDialogData_SetDefaultInfo, <>). %% @spec (This::wxPageSetupDialogData(), Flag::bool()) -> ok %% @doc See external documentation. setDefaultMinMargins(#wx_ref{type=ThisT,ref=ThisRef},Flag) when is_boolean(Flag) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:cast(?wxPageSetupDialogData_SetDefaultMinMargins, <>). %% @spec (This::wxPageSetupDialogData(), Pt::{X::integer(), Y::integer()}) -> ok %% @doc See external documentation. setMarginTopLeft(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY}) when is_integer(PtX),is_integer(PtY) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:cast(?wxPageSetupDialogData_SetMarginTopLeft, <>). %% @spec (This::wxPageSetupDialogData(), Pt::{X::integer(), Y::integer()}) -> ok %% @doc See external documentation. setMarginBottomRight(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY}) when is_integer(PtX),is_integer(PtY) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:cast(?wxPageSetupDialogData_SetMarginBottomRight, <>). %% @spec (This::wxPageSetupDialogData(), Pt::{X::integer(), Y::integer()}) -> ok %% @doc See external documentation. setMinMarginTopLeft(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY}) when is_integer(PtX),is_integer(PtY) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:cast(?wxPageSetupDialogData_SetMinMarginTopLeft, <>). %% @spec (This::wxPageSetupDialogData(), Pt::{X::integer(), Y::integer()}) -> ok %% @doc See external documentation. setMinMarginBottomRight(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY}) when is_integer(PtX),is_integer(PtY) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:cast(?wxPageSetupDialogData_SetMinMarginBottomRight, <>). %% @spec (This::wxPageSetupDialogData(), Id::integer()) -> ok %% @doc See external documentation. setPaperId(#wx_ref{type=ThisT,ref=ThisRef},Id) when is_integer(Id) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:cast(?wxPageSetupDialogData_SetPaperId, <>). %% @spec (This::wxPageSetupDialogData(),X::integer()|term()) -> ok %% @doc See external documentation. %%
Alternatives: %%

%% setPaperSize(This::wxPageSetupDialogData(), Id::integer()) -> ok %%

%%

%% setPaperSize(This::wxPageSetupDialogData(), Sz::{W::integer(), H::integer()}) -> ok %%

setPaperSize(#wx_ref{type=ThisT,ref=ThisRef},Id) when is_integer(Id) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:cast(?wxPageSetupDialogData_SetPaperSize_1_0, <>); setPaperSize(#wx_ref{type=ThisT,ref=ThisRef},{SzW,SzH}) when is_integer(SzW),is_integer(SzH) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:cast(?wxPageSetupDialogData_SetPaperSize_1_1, <>). %% @spec (This::wxPageSetupDialogData(), PrintData::wxPrintData:wxPrintData()) -> ok %% @doc See external documentation. setPrintData(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PrintDataT,ref=PrintDataRef}) -> ?CLASS(ThisT,wxPageSetupDialogData), ?CLASS(PrintDataT,wxPrintData), wxe_util:cast(?wxPageSetupDialogData_SetPrintData, <>). %% @spec (This::wxPageSetupDialogData()) -> ok %% @doc Destroys this object, do not use object again destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxPageSetupDialogData), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok.