~ubuntu-branches/debian/squeeze/erlang/squeeze

« back to all changes in this revision

Viewing changes to lib/wx/src/gen/wxNavigationKeyEvent.erl

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2009-05-07 15:07:37 UTC
  • mfrom: (1.2.1 upstream) (5.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20090507150737-i4yb5elwinm7r0hc
Tags: 1:13.b-dfsg1-1
* Removed another bunch of non-free RFCs from original tarball
  (closes: #527053).
* Fixed build-dependencies list by adding missing comma. This requires
  libsctp-dev again. Also, added libsctp1 dependency to erlang-base and
  erlang-base-hipe packages because the shared library is loaded via
  dlopen now and cannot be added using dh_slibdeps (closes: #526682).
* Weakened dependency of erlang-webtool on erlang-observer to recommends
  to avoid circular dependencies (closes: #526627).
* Added solaris-i386 to HiPE enabled architectures.
* Made script sources in /usr/lib/erlang/erts-*/bin directory executable,
  which is more convenient if a user wants to create a target Erlang system.
* Shortened extended description line for erlang-dev package to make it
  fit 80x25 terminals.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
%%
 
2
%% %CopyrightBegin%
 
3
%% 
 
4
%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
 
5
%% 
 
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/.
 
11
%% 
 
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
 
15
%% under the License.
 
16
%% 
 
17
%% %CopyrightEnd%
 
18
%% This file is generated DO NOT EDIT
 
19
 
 
20
%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnavigationkeyevent.html">wxNavigationKeyEvent</a>.
 
21
%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
 
22
%% <dd><em>navigation_key</em></dd></dl>
 
23
%% See also the message variant {@link wxEvtHandler:wxNavigationKey(). #wxNavigationKey{}} event record type.
 
24
%%
 
25
%% <p>This class is derived (and can use functions) from: 
 
26
%% <br />{@link wxEvent}
 
27
%% </p>
 
28
%% @type wxNavigationKeyEvent().  An object reference, The representation is internal
 
29
%% and can be changed without notice. It can't be used for comparsion
 
30
%% stored on disc or distributed for use on other nodes.
 
31
 
 
32
-module(wxNavigationKeyEvent).
 
33
-include("wxe.hrl").
 
34
-export([getCurrentFocus/1,getDirection/1,isFromTab/1,isWindowChange/1,setCurrentFocus/2,
 
35
  setDirection/2,setFromTab/2,setWindowChange/2]).
 
36
 
 
37
%% inherited exports
 
38
-export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1,
 
39
  resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]).
 
40
 
 
41
%% @hidden
 
42
parent_class(wxEvent) -> true;
 
43
parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
 
44
 
 
45
%% @spec (This::wxNavigationKeyEvent()) -> bool()
 
46
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnavigationkeyevent.html#wxnavigationkeyeventgetdirection">external documentation</a>.
 
47
getDirection(#wx_ref{type=ThisT,ref=ThisRef}) ->
 
48
  ?CLASS(ThisT,wxNavigationKeyEvent),
 
49
  wxe_util:call(?wxNavigationKeyEvent_GetDirection,
 
50
  <<ThisRef:32/?UI>>).
 
51
 
 
52
%% @spec (This::wxNavigationKeyEvent(), BForward::bool()) -> ok
 
53
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnavigationkeyevent.html#wxnavigationkeyeventsetdirection">external documentation</a>.
 
54
setDirection(#wx_ref{type=ThisT,ref=ThisRef},BForward)
 
55
 when is_boolean(BForward) ->
 
56
  ?CLASS(ThisT,wxNavigationKeyEvent),
 
57
  wxe_util:cast(?wxNavigationKeyEvent_SetDirection,
 
58
  <<ThisRef:32/?UI,(wxe_util:from_bool(BForward)):32/?UI>>).
 
59
 
 
60
%% @spec (This::wxNavigationKeyEvent()) -> bool()
 
61
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnavigationkeyevent.html#wxnavigationkeyeventiswindowchange">external documentation</a>.
 
62
isWindowChange(#wx_ref{type=ThisT,ref=ThisRef}) ->
 
63
  ?CLASS(ThisT,wxNavigationKeyEvent),
 
64
  wxe_util:call(?wxNavigationKeyEvent_IsWindowChange,
 
65
  <<ThisRef:32/?UI>>).
 
66
 
 
67
%% @spec (This::wxNavigationKeyEvent(), BIs::bool()) -> ok
 
68
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnavigationkeyevent.html#wxnavigationkeyeventsetwindowchange">external documentation</a>.
 
69
setWindowChange(#wx_ref{type=ThisT,ref=ThisRef},BIs)
 
70
 when is_boolean(BIs) ->
 
71
  ?CLASS(ThisT,wxNavigationKeyEvent),
 
72
  wxe_util:cast(?wxNavigationKeyEvent_SetWindowChange,
 
73
  <<ThisRef:32/?UI,(wxe_util:from_bool(BIs)):32/?UI>>).
 
74
 
 
75
%% @spec (This::wxNavigationKeyEvent()) -> bool()
 
76
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnavigationkeyevent.html#wxnavigationkeyeventisfromtab">external documentation</a>.
 
77
isFromTab(#wx_ref{type=ThisT,ref=ThisRef}) ->
 
78
  ?CLASS(ThisT,wxNavigationKeyEvent),
 
79
  wxe_util:call(?wxNavigationKeyEvent_IsFromTab,
 
80
  <<ThisRef:32/?UI>>).
 
81
 
 
82
%% @spec (This::wxNavigationKeyEvent(), BIs::bool()) -> ok
 
83
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnavigationkeyevent.html#wxnavigationkeyeventsetfromtab">external documentation</a>.
 
84
setFromTab(#wx_ref{type=ThisT,ref=ThisRef},BIs)
 
85
 when is_boolean(BIs) ->
 
86
  ?CLASS(ThisT,wxNavigationKeyEvent),
 
87
  wxe_util:cast(?wxNavigationKeyEvent_SetFromTab,
 
88
  <<ThisRef:32/?UI,(wxe_util:from_bool(BIs)):32/?UI>>).
 
89
 
 
90
%% @spec (This::wxNavigationKeyEvent()) -> wxWindow:wxWindow()
 
91
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnavigationkeyevent.html#wxnavigationkeyeventgetcurrentfocus">external documentation</a>.
 
92
getCurrentFocus(#wx_ref{type=ThisT,ref=ThisRef}) ->
 
93
  ?CLASS(ThisT,wxNavigationKeyEvent),
 
94
  wxe_util:call(?wxNavigationKeyEvent_GetCurrentFocus,
 
95
  <<ThisRef:32/?UI>>).
 
96
 
 
97
%% @spec (This::wxNavigationKeyEvent(), Win::wxWindow:wxWindow()) -> ok
 
98
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnavigationkeyevent.html#wxnavigationkeyeventsetcurrentfocus">external documentation</a>.
 
99
setCurrentFocus(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WinT,ref=WinRef}) ->
 
100
  ?CLASS(ThisT,wxNavigationKeyEvent),
 
101
  ?CLASS(WinT,wxWindow),
 
102
  wxe_util:cast(?wxNavigationKeyEvent_SetCurrentFocus,
 
103
  <<ThisRef:32/?UI,WinRef:32/?UI>>).
 
104
 
 
105
 %% From wxEvent 
 
106
%% @hidden
 
107
stopPropagation(This) -> wxEvent:stopPropagation(This).
 
108
%% @hidden
 
109
skip(This, Options) -> wxEvent:skip(This, Options).
 
110
%% @hidden
 
111
skip(This) -> wxEvent:skip(This).
 
112
%% @hidden
 
113
shouldPropagate(This) -> wxEvent:shouldPropagate(This).
 
114
%% @hidden
 
115
resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
 
116
%% @hidden
 
117
isCommandEvent(This) -> wxEvent:isCommandEvent(This).
 
118
%% @hidden
 
119
getTimestamp(This) -> wxEvent:getTimestamp(This).
 
120
%% @hidden
 
121
getSkipped(This) -> wxEvent:getSkipped(This).
 
122
%% @hidden
 
123
getId(This) -> wxEvent:getId(This).