From 84adefa331c4159d432d22840663c38f155cd4c1 Mon Sep 17 00:00:00 2001 From: Erlang/OTP Date: Fri, 20 Nov 2009 14:54:40 +0000 Subject: The R13B03 release. --- lib/wx/src/gen/wxStyledTextEvent.erl | 252 +++++++++++++++++++++++++++++++++++ 1 file changed, 252 insertions(+) create mode 100644 lib/wx/src/gen/wxStyledTextEvent.erl (limited to 'lib/wx/src/gen/wxStyledTextEvent.erl') diff --git a/lib/wx/src/gen/wxStyledTextEvent.erl b/lib/wx/src/gen/wxStyledTextEvent.erl new file mode 100644 index 0000000000..ed5788b6fd --- /dev/null +++ b/lib/wx/src/gen/wxStyledTextEvent.erl @@ -0,0 +1,252 @@ +%% +%% %CopyrightBegin% +%% +%% Copyright Ericsson AB 2008-2009. 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: wxStyledTextEvent. +%%
Use {@link wxEvtHandler:connect/3.} with EventType:
+%%
stc_change, stc_styleneeded, stc_charadded, stc_savepointreached, stc_savepointleft, stc_romodifyattempt, stc_key, stc_doubleclick, stc_updateui, stc_modified, stc_macrorecord, stc_marginclick, stc_needshown, stc_painted, stc_userlistselection, stc_uridropped, stc_dwellstart, stc_dwellend, stc_start_drag, stc_drag_over, stc_do_drop, stc_zoom, stc_hotspot_click, stc_hotspot_dclick, stc_calltip_click, stc_autocomp_selection
+%% See also the message variant {@link wxEvtHandler:wxStyledText(). #wxStyledText{}} event record type. +%% +%%

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

+%% @type wxStyledTextEvent(). 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(wxStyledTextEvent). +-include("wxe.hrl"). +-export([getAlt/1,getControl/1,getDragAllowMove/1,getDragResult/1,getDragText/1, + getFoldLevelNow/1,getFoldLevelPrev/1,getKey/1,getLParam/1,getLength/1, + getLine/1,getLinesAdded/1,getListType/1,getMargin/1,getMessage/1,getModificationType/1, + getModifiers/1,getPosition/1,getShift/1,getText/1,getWParam/1,getX/1, + getY/1]). + +%% inherited exports +-export([getClientData/1,getExtraLong/1,getId/1,getInt/1,getSelection/1,getSkipped/1, + getString/1,getTimestamp/1,isChecked/1,isCommandEvent/1,isSelection/1, + parent_class/1,resumePropagation/2,setInt/2,setString/2,shouldPropagate/1, + skip/1,skip/2,stopPropagation/1]). + +%% @hidden +parent_class(wxCommandEvent) -> true; +parent_class(wxEvent) -> true; +parent_class(_Class) -> erlang:error({badtype, ?MODULE}). + +%% @spec (This::wxStyledTextEvent()) -> integer() +%% @doc See external documentation. +getPosition(#wx_ref{type=ThisT,ref=ThisRef}) -> + ?CLASS(ThisT,wxStyledTextEvent), + wxe_util:call(?wxStyledTextEvent_GetPosition, + <>). + +%% @spec (This::wxStyledTextEvent()) -> integer() +%% @doc See external documentation. +getKey(#wx_ref{type=ThisT,ref=ThisRef}) -> + ?CLASS(ThisT,wxStyledTextEvent), + wxe_util:call(?wxStyledTextEvent_GetKey, + <>). + +%% @spec (This::wxStyledTextEvent()) -> integer() +%% @doc See external documentation. +getModifiers(#wx_ref{type=ThisT,ref=ThisRef}) -> + ?CLASS(ThisT,wxStyledTextEvent), + wxe_util:call(?wxStyledTextEvent_GetModifiers, + <>). + +%% @spec (This::wxStyledTextEvent()) -> integer() +%% @doc See external documentation. +getModificationType(#wx_ref{type=ThisT,ref=ThisRef}) -> + ?CLASS(ThisT,wxStyledTextEvent), + wxe_util:call(?wxStyledTextEvent_GetModificationType, + <>). + +%% @spec (This::wxStyledTextEvent()) -> string() +%% @doc See external documentation. +getText(#wx_ref{type=ThisT,ref=ThisRef}) -> + ?CLASS(ThisT,wxStyledTextEvent), + wxe_util:call(?wxStyledTextEvent_GetText, + <>). + +%% @spec (This::wxStyledTextEvent()) -> integer() +%% @doc See external documentation. +getLength(#wx_ref{type=ThisT,ref=ThisRef}) -> + ?CLASS(ThisT,wxStyledTextEvent), + wxe_util:call(?wxStyledTextEvent_GetLength, + <>). + +%% @spec (This::wxStyledTextEvent()) -> integer() +%% @doc See external documentation. +getLinesAdded(#wx_ref{type=ThisT,ref=ThisRef}) -> + ?CLASS(ThisT,wxStyledTextEvent), + wxe_util:call(?wxStyledTextEvent_GetLinesAdded, + <>). + +%% @spec (This::wxStyledTextEvent()) -> integer() +%% @doc See external documentation. +getLine(#wx_ref{type=ThisT,ref=ThisRef}) -> + ?CLASS(ThisT,wxStyledTextEvent), + wxe_util:call(?wxStyledTextEvent_GetLine, + <>). + +%% @spec (This::wxStyledTextEvent()) -> integer() +%% @doc See external documentation. +getFoldLevelNow(#wx_ref{type=ThisT,ref=ThisRef}) -> + ?CLASS(ThisT,wxStyledTextEvent), + wxe_util:call(?wxStyledTextEvent_GetFoldLevelNow, + <>). + +%% @spec (This::wxStyledTextEvent()) -> integer() +%% @doc See external documentation. +getFoldLevelPrev(#wx_ref{type=ThisT,ref=ThisRef}) -> + ?CLASS(ThisT,wxStyledTextEvent), + wxe_util:call(?wxStyledTextEvent_GetFoldLevelPrev, + <>). + +%% @spec (This::wxStyledTextEvent()) -> integer() +%% @doc See external documentation. +getMargin(#wx_ref{type=ThisT,ref=ThisRef}) -> + ?CLASS(ThisT,wxStyledTextEvent), + wxe_util:call(?wxStyledTextEvent_GetMargin, + <>). + +%% @spec (This::wxStyledTextEvent()) -> integer() +%% @doc See external documentation. +getMessage(#wx_ref{type=ThisT,ref=ThisRef}) -> + ?CLASS(ThisT,wxStyledTextEvent), + wxe_util:call(?wxStyledTextEvent_GetMessage, + <>). + +%% @spec (This::wxStyledTextEvent()) -> integer() +%% @doc See external documentation. +getWParam(#wx_ref{type=ThisT,ref=ThisRef}) -> + ?CLASS(ThisT,wxStyledTextEvent), + wxe_util:call(?wxStyledTextEvent_GetWParam, + <>). + +%% @spec (This::wxStyledTextEvent()) -> integer() +%% @doc See external documentation. +getLParam(#wx_ref{type=ThisT,ref=ThisRef}) -> + ?CLASS(ThisT,wxStyledTextEvent), + wxe_util:call(?wxStyledTextEvent_GetLParam, + <>). + +%% @spec (This::wxStyledTextEvent()) -> integer() +%% @doc See external documentation. +getListType(#wx_ref{type=ThisT,ref=ThisRef}) -> + ?CLASS(ThisT,wxStyledTextEvent), + wxe_util:call(?wxStyledTextEvent_GetListType, + <>). + +%% @spec (This::wxStyledTextEvent()) -> integer() +%% @doc See external documentation. +getX(#wx_ref{type=ThisT,ref=ThisRef}) -> + ?CLASS(ThisT,wxStyledTextEvent), + wxe_util:call(?wxStyledTextEvent_GetX, + <>). + +%% @spec (This::wxStyledTextEvent()) -> integer() +%% @doc See external documentation. +getY(#wx_ref{type=ThisT,ref=ThisRef}) -> + ?CLASS(ThisT,wxStyledTextEvent), + wxe_util:call(?wxStyledTextEvent_GetY, + <>). + +%% @spec (This::wxStyledTextEvent()) -> string() +%% @doc See external documentation. +getDragText(#wx_ref{type=ThisT,ref=ThisRef}) -> + ?CLASS(ThisT,wxStyledTextEvent), + wxe_util:call(?wxStyledTextEvent_GetDragText, + <>). + +%% @spec (This::wxStyledTextEvent()) -> bool() +%% @doc See external documentation. +getDragAllowMove(#wx_ref{type=ThisT,ref=ThisRef}) -> + ?CLASS(ThisT,wxStyledTextEvent), + wxe_util:call(?wxStyledTextEvent_GetDragAllowMove, + <>). + +%% @spec (This::wxStyledTextEvent()) -> WxDragResult +%% WxDragResult = integer() +%% @doc See external documentation. +%%
WxDragResult is one of ?wxDragError | ?wxDragNone | ?wxDragCopy | ?wxDragMove | ?wxDragLink | ?wxDragCancel +getDragResult(#wx_ref{type=ThisT,ref=ThisRef}) -> + ?CLASS(ThisT,wxStyledTextEvent), + wxe_util:call(?wxStyledTextEvent_GetDragResult, + <>). + +%% @spec (This::wxStyledTextEvent()) -> bool() +%% @doc See external documentation. +getShift(#wx_ref{type=ThisT,ref=ThisRef}) -> + ?CLASS(ThisT,wxStyledTextEvent), + wxe_util:call(?wxStyledTextEvent_GetShift, + <>). + +%% @spec (This::wxStyledTextEvent()) -> bool() +%% @doc See external documentation. +getControl(#wx_ref{type=ThisT,ref=ThisRef}) -> + ?CLASS(ThisT,wxStyledTextEvent), + wxe_util:call(?wxStyledTextEvent_GetControl, + <>). + +%% @spec (This::wxStyledTextEvent()) -> bool() +%% @doc See external documentation. +getAlt(#wx_ref{type=ThisT,ref=ThisRef}) -> + ?CLASS(ThisT,wxStyledTextEvent), + wxe_util:call(?wxStyledTextEvent_GetAlt, + <>). + + %% From wxCommandEvent +%% @hidden +setString(This,S) -> wxCommandEvent:setString(This,S). +%% @hidden +setInt(This,I) -> wxCommandEvent:setInt(This,I). +%% @hidden +isSelection(This) -> wxCommandEvent:isSelection(This). +%% @hidden +isChecked(This) -> wxCommandEvent:isChecked(This). +%% @hidden +getString(This) -> wxCommandEvent:getString(This). +%% @hidden +getSelection(This) -> wxCommandEvent:getSelection(This). +%% @hidden +getInt(This) -> wxCommandEvent:getInt(This). +%% @hidden +getExtraLong(This) -> wxCommandEvent:getExtraLong(This). +%% @hidden +getClientData(This) -> wxCommandEvent:getClientData(This). + %% 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). -- cgit v1.2.3