1%%
2%% %CopyrightBegin%
3%%
4%% Copyright Ericsson AB 2008-2020. All Rights Reserved.
5%%
6%% Licensed under the Apache License, Version 2.0 (the "License");
7%% you may not use this file except in compliance with the License.
8%% You may obtain a copy of the License at
9%%
10%%     http://www.apache.org/licenses/LICENSE-2.0
11%%
12%% Unless required by applicable law or agreed to in writing, software
13%% distributed under the License is distributed on an "AS IS" BASIS,
14%% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15%% See the License for the specific language governing permissions and
16%% limitations under the License.
17%%
18%% %CopyrightEnd%
19%% This file is generated DO NOT EDIT
20
21-module(wxGridEvent).
22-include("wxe.hrl").
23-export([altDown/1,controlDown/1,getCol/1,getPosition/1,getRow/1,metaDown/1,
24  selecting/1,shiftDown/1]).
25
26%% inherited exports
27-export([allow/1,getClientData/1,getExtraLong/1,getId/1,getInt/1,getSelection/1,
28  getSkipped/1,getString/1,getTimestamp/1,isAllowed/1,isChecked/1,isCommandEvent/1,
29  isSelection/1,parent_class/1,resumePropagation/2,setInt/2,setString/2,
30  shouldPropagate/1,skip/1,skip/2,stopPropagation/1,veto/1]).
31
32-type wxGridEvent() :: wx:wx_object().
33-include("wx.hrl").
34-type wxGridEventType() :: 'grid_cell_left_click' | 'grid_cell_right_click' | 'grid_cell_left_dclick' | 'grid_cell_right_dclick' | 'grid_label_left_click' | 'grid_label_right_click' | 'grid_label_left_dclick' | 'grid_label_right_dclick' | 'grid_row_size' | 'grid_col_size' | 'grid_range_select' | 'grid_cell_changed' | 'grid_select_cell' | 'grid_editor_shown' | 'grid_editor_hidden' | 'grid_editor_created' | 'grid_cell_begin_drag'.
35-export_type([wxGridEvent/0, wxGrid/0, wxGridEventType/0]).
36%% @hidden
37parent_class(wxNotifyEvent) -> true;
38parent_class(wxCommandEvent) -> true;
39parent_class(wxEvent) -> true;
40parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
41
42%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxgridevent.html#wxgrideventaltdown">external documentation</a>.
43-spec altDown(This) -> boolean() when
44	This::wxGridEvent().
45altDown(#wx_ref{type=ThisT}=This) ->
46  ?CLASS(ThisT,wxGridEvent),
47  wxe_util:queue_cmd(This,?get_env(),?wxGridEvent_AltDown),
48  wxe_util:rec(?wxGridEvent_AltDown).
49
50%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxgridevent.html#wxgrideventcontroldown">external documentation</a>.
51-spec controlDown(This) -> boolean() when
52	This::wxGridEvent().
53controlDown(#wx_ref{type=ThisT}=This) ->
54  ?CLASS(ThisT,wxGridEvent),
55  wxe_util:queue_cmd(This,?get_env(),?wxGridEvent_ControlDown),
56  wxe_util:rec(?wxGridEvent_ControlDown).
57
58%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxgridevent.html#wxgrideventgetcol">external documentation</a>.
59-spec getCol(This) -> integer() when
60	This::wxGridEvent().
61getCol(#wx_ref{type=ThisT}=This) ->
62  ?CLASS(ThisT,wxGridEvent),
63  wxe_util:queue_cmd(This,?get_env(),?wxGridEvent_GetCol),
64  wxe_util:rec(?wxGridEvent_GetCol).
65
66%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxgridevent.html#wxgrideventgetposition">external documentation</a>.
67-spec getPosition(This) -> {X::integer(), Y::integer()} when
68	This::wxGridEvent().
69getPosition(#wx_ref{type=ThisT}=This) ->
70  ?CLASS(ThisT,wxGridEvent),
71  wxe_util:queue_cmd(This,?get_env(),?wxGridEvent_GetPosition),
72  wxe_util:rec(?wxGridEvent_GetPosition).
73
74%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxgridevent.html#wxgrideventgetrow">external documentation</a>.
75-spec getRow(This) -> integer() when
76	This::wxGridEvent().
77getRow(#wx_ref{type=ThisT}=This) ->
78  ?CLASS(ThisT,wxGridEvent),
79  wxe_util:queue_cmd(This,?get_env(),?wxGridEvent_GetRow),
80  wxe_util:rec(?wxGridEvent_GetRow).
81
82%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxgridevent.html#wxgrideventmetadown">external documentation</a>.
83-spec metaDown(This) -> boolean() when
84	This::wxGridEvent().
85metaDown(#wx_ref{type=ThisT}=This) ->
86  ?CLASS(ThisT,wxGridEvent),
87  wxe_util:queue_cmd(This,?get_env(),?wxGridEvent_MetaDown),
88  wxe_util:rec(?wxGridEvent_MetaDown).
89
90%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxgridevent.html#wxgrideventselecting">external documentation</a>.
91-spec selecting(This) -> boolean() when
92	This::wxGridEvent().
93selecting(#wx_ref{type=ThisT}=This) ->
94  ?CLASS(ThisT,wxGridEvent),
95  wxe_util:queue_cmd(This,?get_env(),?wxGridEvent_Selecting),
96  wxe_util:rec(?wxGridEvent_Selecting).
97
98%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxgridevent.html#wxgrideventshiftdown">external documentation</a>.
99-spec shiftDown(This) -> boolean() when
100	This::wxGridEvent().
101shiftDown(#wx_ref{type=ThisT}=This) ->
102  ?CLASS(ThisT,wxGridEvent),
103  wxe_util:queue_cmd(This,?get_env(),?wxGridEvent_ShiftDown),
104  wxe_util:rec(?wxGridEvent_ShiftDown).
105
106 %% From wxNotifyEvent
107%% @hidden
108veto(This) -> wxNotifyEvent:veto(This).
109%% @hidden
110isAllowed(This) -> wxNotifyEvent:isAllowed(This).
111%% @hidden
112allow(This) -> wxNotifyEvent:allow(This).
113 %% From wxCommandEvent
114%% @hidden
115setString(This,String) -> wxCommandEvent:setString(This,String).
116%% @hidden
117setInt(This,IntCommand) -> wxCommandEvent:setInt(This,IntCommand).
118%% @hidden
119isSelection(This) -> wxCommandEvent:isSelection(This).
120%% @hidden
121isChecked(This) -> wxCommandEvent:isChecked(This).
122%% @hidden
123getString(This) -> wxCommandEvent:getString(This).
124%% @hidden
125getSelection(This) -> wxCommandEvent:getSelection(This).
126%% @hidden
127getInt(This) -> wxCommandEvent:getInt(This).
128%% @hidden
129getExtraLong(This) -> wxCommandEvent:getExtraLong(This).
130%% @hidden
131getClientData(This) -> wxCommandEvent:getClientData(This).
132 %% From wxEvent
133%% @hidden
134stopPropagation(This) -> wxEvent:stopPropagation(This).
135%% @hidden
136skip(This, Options) -> wxEvent:skip(This, Options).
137%% @hidden
138skip(This) -> wxEvent:skip(This).
139%% @hidden
140shouldPropagate(This) -> wxEvent:shouldPropagate(This).
141%% @hidden
142resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
143%% @hidden
144isCommandEvent(This) -> wxEvent:isCommandEvent(This).
145%% @hidden
146getTimestamp(This) -> wxEvent:getTimestamp(This).
147%% @hidden
148getSkipped(This) -> wxEvent:getSkipped(This).
149%% @hidden
150getId(This) -> wxEvent:getId(This).
151