4
%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
6
%% The contents of this file are subject to the Erlang Public License,
7
%% Version 1.1, (the "License"); you may not use this file except in
8
%% compliance with the License. You should have received a copy of the
9
%% Erlang Public License along with this software. If not, it can be
10
%% retrieved online at http://www.erlang.org/.
12
%% Software distributed under the License is distributed on an "AS IS"
13
%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14
%% the License for the specific language governing rights and limitations
18
%% This file is generated DO NOT EDIT
20
%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsashevent.html">wxSashEvent</a>.
21
%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
22
%% <dd><em>sash_dragged</em></dd></dl>
23
%% See also the message variant {@link wxEvtHandler:wxSash(). #wxSash{}} event record type.
25
%% <p>This class is derived (and can use functions) from:
26
%% <br />{@link wxCommandEvent}
27
%% <br />{@link wxEvent}
29
%% @type wxSashEvent(). An object reference, The representation is internal
30
%% and can be changed without notice. It can't be used for comparsion
31
%% stored on disc or distributed for use on other nodes.
35
-export([getDragRect/1,getDragStatus/1,getEdge/1]).
38
-export([getClientData/1,getExtraLong/1,getId/1,getInt/1,getSelection/1,getSkipped/1,
39
getString/1,getTimestamp/1,isChecked/1,isCommandEvent/1,isSelection/1,
40
parent_class/1,resumePropagation/2,setInt/2,setString/2,shouldPropagate/1,
41
skip/1,skip/2,stopPropagation/1]).
44
parent_class(wxCommandEvent) -> true;
45
parent_class(wxEvent) -> true;
46
parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
48
%% @spec (This::wxSashEvent()) -> WxSashEdgePosition
49
%% WxSashEdgePosition = integer()
50
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsashevent.html#wxsasheventgetedge">external documentation</a>.
51
%%<br /> WxSashEdgePosition is one of ?wxSASH_TOP | ?wxSASH_RIGHT | ?wxSASH_BOTTOM | ?wxSASH_LEFT | ?wxSASH_NONE
52
getEdge(#wx_ref{type=ThisT,ref=ThisRef}) ->
53
?CLASS(ThisT,wxSashEvent),
54
wxe_util:call(?wxSashEvent_GetEdge,
57
%% @spec (This::wxSashEvent()) -> {X::integer(),Y::integer(),W::integer(),H::integer()}
58
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsashevent.html#wxsasheventgetdragrect">external documentation</a>.
59
getDragRect(#wx_ref{type=ThisT,ref=ThisRef}) ->
60
?CLASS(ThisT,wxSashEvent),
61
wxe_util:call(?wxSashEvent_GetDragRect,
64
%% @spec (This::wxSashEvent()) -> WxSashDragStatus
65
%% WxSashDragStatus = integer()
66
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsashevent.html#wxsasheventgetdragstatus">external documentation</a>.
67
%%<br /> WxSashDragStatus is one of ?wxSASH_STATUS_OK | ?wxSASH_STATUS_OUT_OF_RANGE
68
getDragStatus(#wx_ref{type=ThisT,ref=ThisRef}) ->
69
?CLASS(ThisT,wxSashEvent),
70
wxe_util:call(?wxSashEvent_GetDragStatus,
73
%% From wxCommandEvent
75
setString(This,S) -> wxCommandEvent:setString(This,S).
77
setInt(This,I) -> wxCommandEvent:setInt(This,I).
79
isSelection(This) -> wxCommandEvent:isSelection(This).
81
isChecked(This) -> wxCommandEvent:isChecked(This).
83
getString(This) -> wxCommandEvent:getString(This).
85
getSelection(This) -> wxCommandEvent:getSelection(This).
87
getInt(This) -> wxCommandEvent:getInt(This).
89
getExtraLong(This) -> wxCommandEvent:getExtraLong(This).
91
getClientData(This) -> wxCommandEvent:getClientData(This).
94
stopPropagation(This) -> wxEvent:stopPropagation(This).
96
skip(This, Options) -> wxEvent:skip(This, Options).
98
skip(This) -> wxEvent:skip(This).
100
shouldPropagate(This) -> wxEvent:shouldPropagate(This).
102
resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
104
isCommandEvent(This) -> wxEvent:isCommandEvent(This).
106
getTimestamp(This) -> wxEvent:getTimestamp(This).
108
getSkipped(This) -> wxEvent:getSkipped(This).
110
getId(This) -> wxEvent:getId(This).