atk 1.1.9-x86-mingw32 → 1.2.0-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +12 -1
- data/lib/1.8/atk.so +0 -0
- data/lib/1.9/atk.so +0 -0
- data/vendor/local/bin/libatk-1.0-0.dll +0 -0
- data/vendor/local/include/atk-1.0/atk/atk.h +1 -0
- data/vendor/local/include/atk-1.0/atk/atkaction.h +8 -8
- data/vendor/local/include/atk-1.0/atk/atkdocument.h +6 -6
- data/vendor/local/include/atk-1.0/atk/atkhyperlink.h +1 -0
- data/vendor/local/include/atk-1.0/atk/atkimage.h +4 -4
- data/vendor/local/include/atk-1.0/atk/atkmisc.h +24 -1
- data/vendor/local/include/atk-1.0/atk/atkobject.h +35 -7
- data/vendor/local/include/atk-1.0/atk/atkrelation.h +1 -1
- data/vendor/local/include/atk-1.0/atk/atkrelationset.h +3 -0
- data/vendor/local/include/atk-1.0/atk/atkstate.h +1 -1
- data/vendor/local/include/atk-1.0/atk/atkstreamablecontent.h +6 -6
- data/vendor/local/include/atk-1.0/atk/atktable.h +5 -8
- data/vendor/local/include/atk-1.0/atk/atktext.h +4 -2
- data/vendor/local/include/atk-1.0/atk/atkutil.h +75 -66
- data/vendor/local/include/atk-1.0/atk/atkwindow.h +54 -0
- data/vendor/local/lib/atk-1.0.def +2 -0
- data/vendor/local/lib/libatk-1.0.dll.a +0 -0
- data/vendor/local/lib/libatk-1.0.la +41 -0
- data/vendor/local/lib/pkgconfig/atk.pc +1 -1
- data/vendor/local/share/gtk-doc/html/atk/AtkAction.html +330 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkComponent.html +639 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkDocument.html +343 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkEditableText.html +328 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkGObjectAccessible.html +128 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkHyperlink.html +400 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkHypertext.html +215 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkImage.html +238 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkNoOpObject.html +109 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkNoOpObjectFactory.html +94 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkObject.html +1960 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkObjectFactory.html +166 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkRegistry.html +201 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkRelation.html +443 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkRelationSet.html +313 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkSelection.html +330 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkStateSet.html +395 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkStreamableContent.html +213 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkTable.html +1210 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkText.html +1745 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkUtil.html +743 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkValue.html +216 -0
- data/vendor/local/share/gtk-doc/html/atk/api-index-1-12.html +51 -0
- data/vendor/local/share/gtk-doc/html/atk/api-index-1-13.html +31 -0
- data/vendor/local/share/gtk-doc/html/atk/api-index-1-18.html +31 -0
- data/vendor/local/share/gtk-doc/html/atk/api-index-1-20.html +35 -0
- data/vendor/local/share/gtk-doc/html/atk/api-index-1-22.html +45 -0
- data/vendor/local/share/gtk-doc/html/atk/api-index-1-24.html +31 -0
- data/vendor/local/share/gtk-doc/html/atk/api-index-1-26.html +31 -0
- data/vendor/local/share/gtk-doc/html/atk/api-index-1-28.html +31 -0
- data/vendor/local/share/gtk-doc/html/atk/api-index-1-3.html +41 -0
- data/vendor/local/share/gtk-doc/html/atk/api-index-1-30.html +39 -0
- data/vendor/local/share/gtk-doc/html/atk/api-index-1-32.html +30 -0
- data/vendor/local/share/gtk-doc/html/atk/api-index-1-4.html +35 -0
- data/vendor/local/share/gtk-doc/html/atk/api-index-1-6.html +35 -0
- data/vendor/local/share/gtk-doc/html/atk/api-index-deprecated.html +41 -0
- data/vendor/local/share/gtk-doc/html/atk/api-index-full.html +651 -0
- data/vendor/local/share/gtk-doc/html/atk/atk-AtkHyperlinkImpl.html +107 -0
- data/vendor/local/share/gtk-doc/html/atk/atk-AtkPlug.html +81 -0
- data/vendor/local/share/gtk-doc/html/atk/atk-AtkSocket.html +130 -0
- data/vendor/local/share/gtk-doc/html/atk/atk-AtkState.html +430 -0
- data/vendor/local/share/gtk-doc/html/atk/atk.devhelp2 +573 -0
- data/vendor/local/share/gtk-doc/html/atk/atk.html +121 -0
- data/vendor/local/share/gtk-doc/html/atk/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/atk/index.html +136 -0
- data/vendor/local/share/gtk-doc/html/atk/index.sgml +688 -0
- data/vendor/local/share/gtk-doc/html/atk/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/atk/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/atk/style.css +266 -0
- data/vendor/local/share/gtk-doc/html/atk/up.png +0 -0
- data/vendor/local/share/license/atk/AUTHORS +5 -0
- data/vendor/local/share/license/atk/COPYING +482 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/km/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/zu/LC_MESSAGES/atk10.mo +0 -0
- metadata +65 -14
- data/vendor/local/lib/atk-1.0.lib +0 -0
- data/vendor/local/manifest/atk-dev_1.32.0-2_win32.mft +0 -37
- data/vendor/local/manifest/atk_1.32.0-2_win32.mft +0 -95
- data/vendor/local/src/dieterv/packaging/atk_1.32.0-2_win32.log +0 -740
- data/vendor/local/src/dieterv/packaging/atk_1.32.0-2_win32.sh +0 -76
@@ -0,0 +1,743 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>AtkUtil</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
|
7
|
+
<link rel="home" href="index.html" title="ATK - Accessibility Toolkit">
|
8
|
+
<link rel="up" href="atk.html" title="ATK Library">
|
9
|
+
<link rel="prev" href="AtkText.html" title="AtkText">
|
10
|
+
<link rel="next" href="AtkValue.html" title="AtkValue">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
14
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
16
|
+
<tr valign="middle">
|
17
|
+
<td><a accesskey="p" href="AtkText.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
+
<td><a accesskey="u" href="atk.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
+
<th width="100%" align="center">ATK - Accessibility Toolkit</th>
|
21
|
+
<td><a accesskey="n" href="AtkValue.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
+
</tr>
|
23
|
+
<tr><td colspan="5" class="shortcuts">
|
24
|
+
<a href="#AtkUtil.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#AtkUtil.description" class="shortcut">Description</a>
|
27
|
+
|
|
28
|
+
<a href="#AtkUtil.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
|
+
</td></tr>
|
30
|
+
</table>
|
31
|
+
<div class="refentry">
|
32
|
+
<a name="AtkUtil"></a><div class="titlepage"></div>
|
33
|
+
<div class="refnamediv"><table width="100%"><tr>
|
34
|
+
<td valign="top">
|
35
|
+
<h2><span class="refentrytitle"><a name="AtkUtil.top_of_page"></a>AtkUtil</span></h2>
|
36
|
+
<p>AtkUtil — A set of ATK utility functions for event and toolkit support.</p>
|
37
|
+
</td>
|
38
|
+
<td valign="top" align="right"></td>
|
39
|
+
</tr></table></div>
|
40
|
+
<div class="refsynopsisdiv">
|
41
|
+
<a name="AtkUtil.synopsis"></a><h2>Synopsis</h2>
|
42
|
+
<pre class="synopsis">struct <a class="link" href="AtkUtil.html#AtkUtil-struct" title="struct AtkUtil">AtkUtil</a>;
|
43
|
+
enum <a class="link" href="AtkUtil.html#AtkCoordType" title="enum AtkCoordType">AtkCoordType</a>;
|
44
|
+
<span class="returnvalue">guint</span> <a class="link" href="AtkUtil.html#atk-add-focus-tracker" title="atk_add_focus_tracker ()">atk_add_focus_tracker</a> (<em class="parameter"><code><a class="link" href="AtkUtil.html#AtkEventListener" title="AtkEventListener ()"><span class="type">AtkEventListener</span></a> focus_tracker</code></em>);
|
45
|
+
<span class="returnvalue">void</span> <a class="link" href="AtkUtil.html#atk-remove-focus-tracker" title="atk_remove_focus_tracker ()">atk_remove_focus_tracker</a> (<em class="parameter"><code><span class="type">guint</span> tracker_id</code></em>);
|
46
|
+
<span class="returnvalue">void</span> <a class="link" href="AtkUtil.html#atk-focus-tracker-init" title="atk_focus_tracker_init ()">atk_focus_tracker_init</a> (<em class="parameter"><code><a class="link" href="AtkUtil.html#AtkEventListenerInit" title="AtkEventListenerInit ()"><span class="type">AtkEventListenerInit</span></a> init</code></em>);
|
47
|
+
<span class="returnvalue">void</span> <a class="link" href="AtkUtil.html#atk-focus-tracker-notify" title="atk_focus_tracker_notify ()">atk_focus_tracker_notify</a> (<em class="parameter"><code><a class="link" href="AtkObject.html" title="AtkObject"><span class="type">AtkObject</span></a> *object</code></em>);
|
48
|
+
<span class="returnvalue">void</span> (<a class="link" href="AtkUtil.html#AtkEventListener" title="AtkEventListener ()">*AtkEventListener</a>) (<em class="parameter"><code><a class="link" href="AtkObject.html" title="AtkObject"><span class="type">AtkObject</span></a> *obj</code></em>);
|
49
|
+
<span class="returnvalue">void</span> (<a class="link" href="AtkUtil.html#AtkEventListenerInit" title="AtkEventListenerInit ()">*AtkEventListenerInit</a>) (<em class="parameter"><code><span class="type">void</span></code></em>);
|
50
|
+
<span class="returnvalue">guint</span> <a class="link" href="AtkUtil.html#atk-add-global-event-listener" title="atk_add_global_event_listener ()">atk_add_global_event_listener</a> (<em class="parameter"><code><span class="type">GSignalEmissionHook</span> listener</code></em>,
|
51
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *event_type</code></em>);
|
52
|
+
<span class="returnvalue">void</span> <a class="link" href="AtkUtil.html#atk-remove-global-event-listener" title="atk_remove_global_event_listener ()">atk_remove_global_event_listener</a> (<em class="parameter"><code><span class="type">guint</span> listener_id</code></em>);
|
53
|
+
struct <a class="link" href="AtkUtil.html#AtkKeyEventStruct" title="struct AtkKeyEventStruct">AtkKeyEventStruct</a>;
|
54
|
+
enum <a class="link" href="AtkUtil.html#AtkKeyEventType" title="enum AtkKeyEventType">AtkKeyEventType</a>;
|
55
|
+
<span class="returnvalue">gint</span> (<a class="link" href="AtkUtil.html#AtkKeySnoopFunc" title="AtkKeySnoopFunc ()">*AtkKeySnoopFunc</a>) (<em class="parameter"><code><a class="link" href="AtkUtil.html#AtkKeyEventStruct" title="struct AtkKeyEventStruct"><span class="type">AtkKeyEventStruct</span></a> *event</code></em>,
|
56
|
+
<em class="parameter"><code><span class="type">gpointer</span> func_data</code></em>);
|
57
|
+
<span class="returnvalue">guint</span> <a class="link" href="AtkUtil.html#atk-add-key-event-listener" title="atk_add_key_event_listener ()">atk_add_key_event_listener</a> (<em class="parameter"><code><a class="link" href="AtkUtil.html#AtkKeySnoopFunc" title="AtkKeySnoopFunc ()"><span class="type">AtkKeySnoopFunc</span></a> listener</code></em>,
|
58
|
+
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);
|
59
|
+
<span class="returnvalue">void</span> <a class="link" href="AtkUtil.html#atk-remove-key-event-listener" title="atk_remove_key_event_listener ()">atk_remove_key_event_listener</a> (<em class="parameter"><code><span class="type">guint</span> listener_id</code></em>);
|
60
|
+
<a class="link" href="AtkObject.html" title="AtkObject"><span class="returnvalue">AtkObject</span></a> * <a class="link" href="AtkUtil.html#atk-get-root" title="atk_get_root ()">atk_get_root</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
61
|
+
<a class="link" href="AtkObject.html" title="AtkObject"><span class="returnvalue">AtkObject</span></a> * <a class="link" href="AtkUtil.html#atk-get-focus-object" title="atk_get_focus_object ()">atk_get_focus_object</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
62
|
+
const <span class="returnvalue">gchar</span> * <a class="link" href="AtkUtil.html#atk-get-toolkit-name" title="atk_get_toolkit_name ()">atk_get_toolkit_name</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
63
|
+
const <span class="returnvalue">gchar</span> * <a class="link" href="AtkUtil.html#atk-get-toolkit-version" title="atk_get_toolkit_version ()">atk_get_toolkit_version</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
64
|
+
const <span class="returnvalue">gchar</span> * <a class="link" href="AtkUtil.html#atk-get-version" title="atk_get_version ()">atk_get_version</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
65
|
+
#define <a class="link" href="AtkUtil.html#ATK-DEFINE-TYPE:CAPS" title="ATK_DEFINE_TYPE()">ATK_DEFINE_TYPE</a> (TN,
|
66
|
+
t_n,
|
67
|
+
T_P)
|
68
|
+
#define <a class="link" href="AtkUtil.html#ATK-DEFINE-TYPE-EXTENDED:CAPS" title="ATK_DEFINE_TYPE_EXTENDED()">ATK_DEFINE_TYPE_EXTENDED</a> (TN,
|
69
|
+
t_n,
|
70
|
+
T_P,
|
71
|
+
_f_,
|
72
|
+
_C_)
|
73
|
+
#define <a class="link" href="AtkUtil.html#ATK-DEFINE-TYPE-WITH-CODE:CAPS" title="ATK_DEFINE_TYPE_WITH_CODE()">ATK_DEFINE_TYPE_WITH_CODE</a> (TN,
|
74
|
+
t_n,
|
75
|
+
T_P,
|
76
|
+
_C_)
|
77
|
+
#define <a class="link" href="AtkUtil.html#ATK-DEFINE-ABSTRACT-TYPE:CAPS" title="ATK_DEFINE_ABSTRACT_TYPE()">ATK_DEFINE_ABSTRACT_TYPE</a> (TN,
|
78
|
+
t_n,
|
79
|
+
T_P)
|
80
|
+
#define <a class="link" href="AtkUtil.html#ATK-DEFINE-ABSTRACT-TYPE-WITH-CODE:CAPS" title="ATK_DEFINE_ABSTRACT_TYPE_WITH_CODE()">ATK_DEFINE_ABSTRACT_TYPE_WITH_CODE</a> (TN,
|
81
|
+
t_n,
|
82
|
+
T_P,
|
83
|
+
_C_)
|
84
|
+
</pre>
|
85
|
+
</div>
|
86
|
+
<div class="refsect1">
|
87
|
+
<a name="AtkUtil.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
88
|
+
<pre class="synopsis">
|
89
|
+
GObject
|
90
|
+
+----AtkUtil
|
91
|
+
</pre>
|
92
|
+
</div>
|
93
|
+
<div class="refsect1">
|
94
|
+
<a name="AtkUtil.description"></a><h2>Description</h2>
|
95
|
+
<p>
|
96
|
+
A set of ATK utility functions which are used to support event registration of
|
97
|
+
various types, and obtaining the 'root' accessible of a process and
|
98
|
+
information about the current ATK implementation and toolkit version.
|
99
|
+
</p>
|
100
|
+
</div>
|
101
|
+
<div class="refsect1">
|
102
|
+
<a name="AtkUtil.details"></a><h2>Details</h2>
|
103
|
+
<div class="refsect2">
|
104
|
+
<a name="AtkUtil-struct"></a><h3>struct AtkUtil</h3>
|
105
|
+
<pre class="programlisting">struct AtkUtil;</pre>
|
106
|
+
<p>
|
107
|
+
The AtkUtil struct does not contain any fields.
|
108
|
+
</p>
|
109
|
+
</div>
|
110
|
+
<hr>
|
111
|
+
<div class="refsect2">
|
112
|
+
<a name="AtkCoordType"></a><h3>enum AtkCoordType</h3>
|
113
|
+
<pre class="programlisting">typedef enum {
|
114
|
+
ATK_XY_SCREEN,
|
115
|
+
ATK_XY_WINDOW
|
116
|
+
} AtkCoordType;
|
117
|
+
</pre>
|
118
|
+
<p>
|
119
|
+
Specifies how xy coordinates are to be interpreted. Used by functions such
|
120
|
+
as <a class="link" href="AtkComponent.html#atk-component-get-position" title="atk_component_get_position ()"><code class="function">atk_component_get_position()</code></a> and <a class="link" href="AtkText.html#atk-text-get-character-extents" title="atk_text_get_character_extents ()"><code class="function">atk_text_get_character_extents()</code></a>
|
121
|
+
</p>
|
122
|
+
<div class="variablelist"><table border="0">
|
123
|
+
<col align="left" valign="top">
|
124
|
+
<tbody>
|
125
|
+
<tr>
|
126
|
+
<td><p><a name="ATK-XY-SCREEN:CAPS"></a><span class="term"><code class="literal">ATK_XY_SCREEN</code></span></p></td>
|
127
|
+
<td>specifies xy coordinates relative to the screen
|
128
|
+
</td>
|
129
|
+
</tr>
|
130
|
+
<tr>
|
131
|
+
<td><p><a name="ATK-XY-WINDOW:CAPS"></a><span class="term"><code class="literal">ATK_XY_WINDOW</code></span></p></td>
|
132
|
+
<td>specifies xy coordinates relative to the widget's
|
133
|
+
top-level window
|
134
|
+
</td>
|
135
|
+
</tr>
|
136
|
+
</tbody>
|
137
|
+
</table></div>
|
138
|
+
</div>
|
139
|
+
<hr>
|
140
|
+
<div class="refsect2">
|
141
|
+
<a name="atk-add-focus-tracker"></a><h3>atk_add_focus_tracker ()</h3>
|
142
|
+
<pre class="programlisting"><span class="returnvalue">guint</span> atk_add_focus_tracker (<em class="parameter"><code><a class="link" href="AtkUtil.html#AtkEventListener" title="AtkEventListener ()"><span class="type">AtkEventListener</span></a> focus_tracker</code></em>);</pre>
|
143
|
+
<p>
|
144
|
+
Adds the specified function to the list of functions to be called
|
145
|
+
when an object receives focus.
|
146
|
+
</p>
|
147
|
+
<div class="variablelist"><table border="0">
|
148
|
+
<col align="left" valign="top">
|
149
|
+
<tbody>
|
150
|
+
<tr>
|
151
|
+
<td><p><span class="term"><em class="parameter"><code>focus_tracker</code></em> :</span></p></td>
|
152
|
+
<td>Function to be added to the list of functions to be called
|
153
|
+
when an object receives focus.</td>
|
154
|
+
</tr>
|
155
|
+
<tr>
|
156
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
157
|
+
<td>added focus tracker id, or 0 on failure.</td>
|
158
|
+
</tr>
|
159
|
+
</tbody>
|
160
|
+
</table></div>
|
161
|
+
</div>
|
162
|
+
<hr>
|
163
|
+
<div class="refsect2">
|
164
|
+
<a name="atk-remove-focus-tracker"></a><h3>atk_remove_focus_tracker ()</h3>
|
165
|
+
<pre class="programlisting"><span class="returnvalue">void</span> atk_remove_focus_tracker (<em class="parameter"><code><span class="type">guint</span> tracker_id</code></em>);</pre>
|
166
|
+
<p>
|
167
|
+
Removes the specified focus tracker from the list of functions
|
168
|
+
to be called when any object receives focus.
|
169
|
+
</p>
|
170
|
+
<div class="variablelist"><table border="0">
|
171
|
+
<col align="left" valign="top">
|
172
|
+
<tbody><tr>
|
173
|
+
<td><p><span class="term"><em class="parameter"><code>tracker_id</code></em> :</span></p></td>
|
174
|
+
<td>the id of the focus tracker to remove</td>
|
175
|
+
</tr></tbody>
|
176
|
+
</table></div>
|
177
|
+
</div>
|
178
|
+
<hr>
|
179
|
+
<div class="refsect2">
|
180
|
+
<a name="atk-focus-tracker-init"></a><h3>atk_focus_tracker_init ()</h3>
|
181
|
+
<pre class="programlisting"><span class="returnvalue">void</span> atk_focus_tracker_init (<em class="parameter"><code><a class="link" href="AtkUtil.html#AtkEventListenerInit" title="AtkEventListenerInit ()"><span class="type">AtkEventListenerInit</span></a> init</code></em>);</pre>
|
182
|
+
<p>
|
183
|
+
Specifies the function to be called for focus tracker initialization.
|
184
|
+
This function should be called by an implementation of the
|
185
|
+
ATK interface if any specific work needs to be done to enable
|
186
|
+
focus tracking.
|
187
|
+
</p>
|
188
|
+
<div class="variablelist"><table border="0">
|
189
|
+
<col align="left" valign="top">
|
190
|
+
<tbody><tr>
|
191
|
+
<td><p><span class="term"><em class="parameter"><code>init</code></em> :</span></p></td>
|
192
|
+
<td>Function to be called for focus tracker initialization</td>
|
193
|
+
</tr></tbody>
|
194
|
+
</table></div>
|
195
|
+
</div>
|
196
|
+
<hr>
|
197
|
+
<div class="refsect2">
|
198
|
+
<a name="atk-focus-tracker-notify"></a><h3>atk_focus_tracker_notify ()</h3>
|
199
|
+
<pre class="programlisting"><span class="returnvalue">void</span> atk_focus_tracker_notify (<em class="parameter"><code><a class="link" href="AtkObject.html" title="AtkObject"><span class="type">AtkObject</span></a> *object</code></em>);</pre>
|
200
|
+
<p>
|
201
|
+
Cause the focus tracker functions which have been specified to be
|
202
|
+
executed for the object.
|
203
|
+
</p>
|
204
|
+
<div class="variablelist"><table border="0">
|
205
|
+
<col align="left" valign="top">
|
206
|
+
<tbody><tr>
|
207
|
+
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
208
|
+
<td>an <a class="link" href="AtkObject.html" title="AtkObject"><span class="type">AtkObject</span></a>
|
209
|
+
</td>
|
210
|
+
</tr></tbody>
|
211
|
+
</table></div>
|
212
|
+
</div>
|
213
|
+
<hr>
|
214
|
+
<div class="refsect2">
|
215
|
+
<a name="AtkEventListener"></a><h3>AtkEventListener ()</h3>
|
216
|
+
<pre class="programlisting"><span class="returnvalue">void</span> (*AtkEventListener) (<em class="parameter"><code><a class="link" href="AtkObject.html" title="AtkObject"><span class="type">AtkObject</span></a> *obj</code></em>);</pre>
|
217
|
+
<p>
|
218
|
+
A function which is called when an object emits a matching event,
|
219
|
+
as used in <a class="link" href="AtkUtil.html#atk-add-focus-tracker" title="atk_add_focus_tracker ()"><span class="type">atk_add_focus_tracker</span></a>.
|
220
|
+
Currently the only events for which object-specific handlers are
|
221
|
+
supported are events of type "focus:". Most clients of ATK will prefer to
|
222
|
+
attach signal handlers for the various ATK signals instead.
|
223
|
+
</p>
|
224
|
+
<p>
|
225
|
+
see atk_add_focus_tracker.
|
226
|
+
</p>
|
227
|
+
<div class="variablelist"><table border="0">
|
228
|
+
<col align="left" valign="top">
|
229
|
+
<tbody><tr>
|
230
|
+
<td><p><span class="term"><em class="parameter"><code>obj</code></em> :</span></p></td>
|
231
|
+
<td>An <a class="link" href="AtkObject.html" title="AtkObject"><span class="type">AtkObject</span></a> instance for whom the callback will be called when
|
232
|
+
the specified event (e.g. 'focus:') takes place.</td>
|
233
|
+
</tr></tbody>
|
234
|
+
</table></div>
|
235
|
+
</div>
|
236
|
+
<hr>
|
237
|
+
<div class="refsect2">
|
238
|
+
<a name="AtkEventListenerInit"></a><h3>AtkEventListenerInit ()</h3>
|
239
|
+
<pre class="programlisting"><span class="returnvalue">void</span> (*AtkEventListenerInit) (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
240
|
+
<p>
|
241
|
+
An <a class="link" href="AtkUtil.html#AtkEventListenerInit" title="AtkEventListenerInit ()"><span class="type">AtkEventListenerInit</span></a> function is a special function that is
|
242
|
+
called in order to initialize the per-object event registration system
|
243
|
+
used by <a class="link" href="AtkUtil.html#AtkEventListener" title="AtkEventListener ()"><span class="type">AtkEventListener</span></a>, if any preparation is required.
|
244
|
+
</p>
|
245
|
+
<p>
|
246
|
+
see atk_focus_tracker_init.
|
247
|
+
</p>
|
248
|
+
</div>
|
249
|
+
<hr>
|
250
|
+
<div class="refsect2">
|
251
|
+
<a name="atk-add-global-event-listener"></a><h3>atk_add_global_event_listener ()</h3>
|
252
|
+
<pre class="programlisting"><span class="returnvalue">guint</span> atk_add_global_event_listener (<em class="parameter"><code><span class="type">GSignalEmissionHook</span> listener</code></em>,
|
253
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *event_type</code></em>);</pre>
|
254
|
+
<p>
|
255
|
+
Adds the specified function to the list of functions to be called
|
256
|
+
when an ATK event of type event_type occurs.
|
257
|
+
</p>
|
258
|
+
<p>
|
259
|
+
The format of event_type is the following:
|
260
|
+
"ATK:<atk_type>:<atk_event>
|
261
|
+
</p>
|
262
|
+
<p>
|
263
|
+
Where "ATK" works as the namespace, <atk_interface> is the name of
|
264
|
+
the ATK type (interface or object) and <atk_event> is the name of
|
265
|
+
the signal defined on that interface.
|
266
|
+
</p>
|
267
|
+
<p>
|
268
|
+
For example:
|
269
|
+
ATK:AtkObject:state-change
|
270
|
+
ATK:AtkText:text-selection-changed
|
271
|
+
</p>
|
272
|
+
<p>
|
273
|
+
Toolkit implementor note: Atk provides a default implementation for
|
274
|
+
this virtual method, and that implementation should be enough for
|
275
|
+
most of the cases. You should have a really good reason to
|
276
|
+
reimplement this method.
|
277
|
+
</p>
|
278
|
+
<div class="variablelist"><table border="0">
|
279
|
+
<col align="left" valign="top">
|
280
|
+
<tbody>
|
281
|
+
<tr>
|
282
|
+
<td><p><span class="term"><em class="parameter"><code>listener</code></em> :</span></p></td>
|
283
|
+
<td>the listener to notify</td>
|
284
|
+
</tr>
|
285
|
+
<tr>
|
286
|
+
<td><p><span class="term"><em class="parameter"><code>event_type</code></em> :</span></p></td>
|
287
|
+
<td>the type of event for which notification is requested</td>
|
288
|
+
</tr>
|
289
|
+
<tr>
|
290
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
291
|
+
<td>added event listener id, or 0 on failure.</td>
|
292
|
+
</tr>
|
293
|
+
</tbody>
|
294
|
+
</table></div>
|
295
|
+
</div>
|
296
|
+
<hr>
|
297
|
+
<div class="refsect2">
|
298
|
+
<a name="atk-remove-global-event-listener"></a><h3>atk_remove_global_event_listener ()</h3>
|
299
|
+
<pre class="programlisting"><span class="returnvalue">void</span> atk_remove_global_event_listener (<em class="parameter"><code><span class="type">guint</span> listener_id</code></em>);</pre>
|
300
|
+
<p>
|
301
|
+
<em class="parameter"><code>listener_id</code></em> is the value returned by <a class="link" href="AtkUtil.html#atk-add-global-event-listener" title="atk_add_global_event_listener ()"><span class="type">atk_add_global_event_listener</span></a>
|
302
|
+
when you registered that event listener.
|
303
|
+
</p>
|
304
|
+
<p>
|
305
|
+
Toolkit implementor note: Atk provides a default implementation for
|
306
|
+
this virtual method, and that implementation should be enough for
|
307
|
+
most of the cases. You should have a really good reason to
|
308
|
+
reimplement this method.
|
309
|
+
</p>
|
310
|
+
<p>
|
311
|
+
Removes the specified event listener
|
312
|
+
</p>
|
313
|
+
<div class="variablelist"><table border="0">
|
314
|
+
<col align="left" valign="top">
|
315
|
+
<tbody><tr>
|
316
|
+
<td><p><span class="term"><em class="parameter"><code>listener_id</code></em> :</span></p></td>
|
317
|
+
<td>the id of the event listener to remove</td>
|
318
|
+
</tr></tbody>
|
319
|
+
</table></div>
|
320
|
+
</div>
|
321
|
+
<hr>
|
322
|
+
<div class="refsect2">
|
323
|
+
<a name="AtkKeyEventStruct"></a><h3>struct AtkKeyEventStruct</h3>
|
324
|
+
<pre class="programlisting">struct AtkKeyEventStruct {
|
325
|
+
gint type;
|
326
|
+
guint state;
|
327
|
+
guint keyval;
|
328
|
+
gint length;
|
329
|
+
gchar *string;
|
330
|
+
guint16 keycode;
|
331
|
+
guint32 timestamp;
|
332
|
+
};
|
333
|
+
</pre>
|
334
|
+
<p>
|
335
|
+
Encapsulates information about a key event.
|
336
|
+
</p>
|
337
|
+
<div class="variablelist"><table border="0">
|
338
|
+
<col align="left" valign="top">
|
339
|
+
<tbody>
|
340
|
+
<tr>
|
341
|
+
<td><p><span class="term"><span class="type">gint</span> <em class="structfield"><code><a name="AtkKeyEventStruct.type"></a>type</code></em>;</span></p></td>
|
342
|
+
<td>An AtkKeyEventType, generally one of ATK_KEY_EVENT_PRESS or ATK_KEY_EVENT_RELEASE</td>
|
343
|
+
</tr>
|
344
|
+
<tr>
|
345
|
+
<td><p><span class="term"><span class="type">guint</span> <em class="structfield"><code><a name="AtkKeyEventStruct.state"></a>state</code></em>;</span></p></td>
|
346
|
+
<td>A bitmask representing the state of the modifier keys immediately after the event takes place.
|
347
|
+
The meaning of the bits is currently defined to match the bitmask used by GDK in
|
348
|
+
GdkEventType.state, see
|
349
|
+
http://developer.gnome.org/doc/API/2.0/gdk/gdk-Event-Structures.html<span class="type">GdkEventKey</span>
|
350
|
+
</td>
|
351
|
+
</tr>
|
352
|
+
<tr>
|
353
|
+
<td><p><span class="term"><span class="type">guint</span> <em class="structfield"><code><a name="AtkKeyEventStruct.keyval"></a>keyval</code></em>;</span></p></td>
|
354
|
+
<td>A guint representing a keysym value corresponding to those used by GDK and X11: see
|
355
|
+
/usr/X11/include/keysymdef.h.</td>
|
356
|
+
</tr>
|
357
|
+
<tr>
|
358
|
+
<td><p><span class="term"><span class="type">gint</span> <em class="structfield"><code><a name="AtkKeyEventStruct.length"></a>length</code></em>;</span></p></td>
|
359
|
+
<td>The length of member <span class="type">string</span>.</td>
|
360
|
+
</tr>
|
361
|
+
<tr>
|
362
|
+
<td><p><span class="term"><span class="type">gchar</span> *<em class="structfield"><code><a name="AtkKeyEventStruct.string"></a>string</code></em>;</span></p></td>
|
363
|
+
<td>A string containing one of the following: either a string approximating the text that would
|
364
|
+
result from this keypress, if the key is a control or graphic character, or a symbolic name for this keypress.
|
365
|
+
Alphanumeric and printable keys will have the symbolic key name in this string member, for instance "A". "0",
|
366
|
+
"semicolon", "aacute". Keypad keys have the prefix "KP".</td>
|
367
|
+
</tr>
|
368
|
+
<tr>
|
369
|
+
<td><p><span class="term"><span class="type">guint16</span> <em class="structfield"><code><a name="AtkKeyEventStruct.keycode"></a>keycode</code></em>;</span></p></td>
|
370
|
+
<td>The raw hardware code that generated the key event. This field is raraly useful.</td>
|
371
|
+
</tr>
|
372
|
+
<tr>
|
373
|
+
<td><p><span class="term"><span class="type">guint32</span> <em class="structfield"><code><a name="AtkKeyEventStruct.timestamp"></a>timestamp</code></em>;</span></p></td>
|
374
|
+
<td>A timestamp in milliseconds indicating when the event occurred.
|
375
|
+
These timestamps are relative to a starting point which should be considered arbitrary,
|
376
|
+
and only used to compare the dispatch times of events to one another.</td>
|
377
|
+
</tr>
|
378
|
+
</tbody>
|
379
|
+
</table></div>
|
380
|
+
</div>
|
381
|
+
<hr>
|
382
|
+
<div class="refsect2">
|
383
|
+
<a name="AtkKeyEventType"></a><h3>enum AtkKeyEventType</h3>
|
384
|
+
<pre class="programlisting">typedef enum {
|
385
|
+
ATK_KEY_EVENT_PRESS,
|
386
|
+
ATK_KEY_EVENT_RELEASE,
|
387
|
+
ATK_KEY_EVENT_LAST_DEFINED
|
388
|
+
} AtkKeyEventType;
|
389
|
+
</pre>
|
390
|
+
<p>
|
391
|
+
Specifies the type of a keyboard evemt.
|
392
|
+
</p>
|
393
|
+
<div class="variablelist"><table border="0">
|
394
|
+
<col align="left" valign="top">
|
395
|
+
<tbody>
|
396
|
+
<tr>
|
397
|
+
<td><p><a name="ATK-KEY-EVENT-PRESS:CAPS"></a><span class="term"><code class="literal">ATK_KEY_EVENT_PRESS</code></span></p></td>
|
398
|
+
<td>specifies a key press event
|
399
|
+
</td>
|
400
|
+
</tr>
|
401
|
+
<tr>
|
402
|
+
<td><p><a name="ATK-KEY-EVENT-RELEASE:CAPS"></a><span class="term"><code class="literal">ATK_KEY_EVENT_RELEASE</code></span></p></td>
|
403
|
+
<td>specifies a key release event
|
404
|
+
</td>
|
405
|
+
</tr>
|
406
|
+
<tr>
|
407
|
+
<td><p><a name="ATK-KEY-EVENT-LAST-DEFINED:CAPS"></a><span class="term"><code class="literal">ATK_KEY_EVENT_LAST_DEFINED</code></span></p></td>
|
408
|
+
<td>Not a valid value; specifies end of enumeration
|
409
|
+
</td>
|
410
|
+
</tr>
|
411
|
+
</tbody>
|
412
|
+
</table></div>
|
413
|
+
</div>
|
414
|
+
<hr>
|
415
|
+
<div class="refsect2">
|
416
|
+
<a name="AtkKeySnoopFunc"></a><h3>AtkKeySnoopFunc ()</h3>
|
417
|
+
<pre class="programlisting"><span class="returnvalue">gint</span> (*AtkKeySnoopFunc) (<em class="parameter"><code><a class="link" href="AtkUtil.html#AtkKeyEventStruct" title="struct AtkKeyEventStruct"><span class="type">AtkKeyEventStruct</span></a> *event</code></em>,
|
418
|
+
<em class="parameter"><code><span class="type">gpointer</span> func_data</code></em>);</pre>
|
419
|
+
<p>
|
420
|
+
An <a class="link" href="AtkUtil.html#AtkKeySnoopFunc" title="AtkKeySnoopFunc ()"><span class="type">AtkKeySnoopFunc</span></a> is a type of callback which is called whenever a key event occurs,
|
421
|
+
if registered via atk_add_key_event_listener. It allows for pre-emptive
|
422
|
+
interception of key events via the return code as described below.
|
423
|
+
</p>
|
424
|
+
<div class="variablelist"><table border="0">
|
425
|
+
<col align="left" valign="top">
|
426
|
+
<tbody>
|
427
|
+
<tr>
|
428
|
+
<td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td>
|
429
|
+
<td>an AtkKeyEventStruct containing information about the key event for which
|
430
|
+
notification is being given.</td>
|
431
|
+
</tr>
|
432
|
+
<tr>
|
433
|
+
<td><p><span class="term"><em class="parameter"><code>func_data</code></em> :</span></p></td>
|
434
|
+
<td>a block of data which will be passed to the event listener, on notification.</td>
|
435
|
+
</tr>
|
436
|
+
<tr>
|
437
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
438
|
+
<td>TRUE (nonzero) if the event emission should be stopped and the event
|
439
|
+
discarded without being passed to the normal GUI recipient; FALSE (zero) if the
|
440
|
+
event dispatch to the client application should proceed as normal.
|
441
|
+
see atk_add_key_event_listener.</td>
|
442
|
+
</tr>
|
443
|
+
</tbody>
|
444
|
+
</table></div>
|
445
|
+
</div>
|
446
|
+
<hr>
|
447
|
+
<div class="refsect2">
|
448
|
+
<a name="atk-add-key-event-listener"></a><h3>atk_add_key_event_listener ()</h3>
|
449
|
+
<pre class="programlisting"><span class="returnvalue">guint</span> atk_add_key_event_listener (<em class="parameter"><code><a class="link" href="AtkUtil.html#AtkKeySnoopFunc" title="AtkKeySnoopFunc ()"><span class="type">AtkKeySnoopFunc</span></a> listener</code></em>,
|
450
|
+
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre>
|
451
|
+
<p>
|
452
|
+
Adds the specified function to the list of functions to be called
|
453
|
+
when a key event occurs. The <em class="parameter"><code>data</code></em> element will be passed to the
|
454
|
+
<a class="link" href="AtkUtil.html#AtkKeySnoopFunc" title="AtkKeySnoopFunc ()"><span class="type">AtkKeySnoopFunc</span></a> (<em class="parameter"><code>listener</code></em>) as the <em class="parameter"><code>func_data</code></em> param, on notification.
|
455
|
+
</p>
|
456
|
+
<div class="variablelist"><table border="0">
|
457
|
+
<col align="left" valign="top">
|
458
|
+
<tbody>
|
459
|
+
<tr>
|
460
|
+
<td><p><span class="term"><em class="parameter"><code>listener</code></em> :</span></p></td>
|
461
|
+
<td>the listener to notify</td>
|
462
|
+
</tr>
|
463
|
+
<tr>
|
464
|
+
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
465
|
+
<td>a <span class="type">gpointer</span> that points to a block of data that should be sent to the registered listeners,
|
466
|
+
along with the event notification, when it occurs.</td>
|
467
|
+
</tr>
|
468
|
+
<tr>
|
469
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
470
|
+
<td>added event listener id, or 0 on failure.</td>
|
471
|
+
</tr>
|
472
|
+
</tbody>
|
473
|
+
</table></div>
|
474
|
+
</div>
|
475
|
+
<hr>
|
476
|
+
<div class="refsect2">
|
477
|
+
<a name="atk-remove-key-event-listener"></a><h3>atk_remove_key_event_listener ()</h3>
|
478
|
+
<pre class="programlisting"><span class="returnvalue">void</span> atk_remove_key_event_listener (<em class="parameter"><code><span class="type">guint</span> listener_id</code></em>);</pre>
|
479
|
+
<p>
|
480
|
+
<em class="parameter"><code>listener_id</code></em> is the value returned by <a class="link" href="AtkUtil.html#atk-add-key-event-listener" title="atk_add_key_event_listener ()"><span class="type">atk_add_key_event_listener</span></a>
|
481
|
+
when you registered that event listener.
|
482
|
+
</p>
|
483
|
+
<p>
|
484
|
+
Removes the specified event listener.
|
485
|
+
</p>
|
486
|
+
<div class="variablelist"><table border="0">
|
487
|
+
<col align="left" valign="top">
|
488
|
+
<tbody><tr>
|
489
|
+
<td><p><span class="term"><em class="parameter"><code>listener_id</code></em> :</span></p></td>
|
490
|
+
<td>the id of the event listener to remove</td>
|
491
|
+
</tr></tbody>
|
492
|
+
</table></div>
|
493
|
+
</div>
|
494
|
+
<hr>
|
495
|
+
<div class="refsect2">
|
496
|
+
<a name="atk-get-root"></a><h3>atk_get_root ()</h3>
|
497
|
+
<pre class="programlisting"><a class="link" href="AtkObject.html" title="AtkObject"><span class="returnvalue">AtkObject</span></a> * atk_get_root (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
498
|
+
<p>
|
499
|
+
Gets the root accessible container for the current application.
|
500
|
+
</p>
|
501
|
+
<div class="variablelist"><table border="0">
|
502
|
+
<col align="left" valign="top">
|
503
|
+
<tbody><tr>
|
504
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
505
|
+
<td>the root accessible container for the current
|
506
|
+
application. <span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span>
|
507
|
+
</td>
|
508
|
+
</tr></tbody>
|
509
|
+
</table></div>
|
510
|
+
</div>
|
511
|
+
<hr>
|
512
|
+
<div class="refsect2">
|
513
|
+
<a name="atk-get-focus-object"></a><h3>atk_get_focus_object ()</h3>
|
514
|
+
<pre class="programlisting"><a class="link" href="AtkObject.html" title="AtkObject"><span class="returnvalue">AtkObject</span></a> * atk_get_focus_object (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
515
|
+
<p>
|
516
|
+
Gets the currently focused object.
|
517
|
+
</p>
|
518
|
+
<div class="variablelist"><table border="0">
|
519
|
+
<col align="left" valign="top">
|
520
|
+
<tbody><tr>
|
521
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
522
|
+
<td>the currently focused object for the current
|
523
|
+
application. <span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span>
|
524
|
+
</td>
|
525
|
+
</tr></tbody>
|
526
|
+
</table></div>
|
527
|
+
<p class="since">Since 1.6</p>
|
528
|
+
</div>
|
529
|
+
<hr>
|
530
|
+
<div class="refsect2">
|
531
|
+
<a name="atk-get-toolkit-name"></a><h3>atk_get_toolkit_name ()</h3>
|
532
|
+
<pre class="programlisting">const <span class="returnvalue">gchar</span> * atk_get_toolkit_name (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
533
|
+
<p>
|
534
|
+
Gets name string for the GUI toolkit implementing ATK for this application.
|
535
|
+
</p>
|
536
|
+
<div class="variablelist"><table border="0">
|
537
|
+
<col align="left" valign="top">
|
538
|
+
<tbody><tr>
|
539
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
540
|
+
<td>name string for the GUI toolkit implementing ATK for this application</td>
|
541
|
+
</tr></tbody>
|
542
|
+
</table></div>
|
543
|
+
</div>
|
544
|
+
<hr>
|
545
|
+
<div class="refsect2">
|
546
|
+
<a name="atk-get-toolkit-version"></a><h3>atk_get_toolkit_version ()</h3>
|
547
|
+
<pre class="programlisting">const <span class="returnvalue">gchar</span> * atk_get_toolkit_version (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
548
|
+
<p>
|
549
|
+
Gets version string for the GUI toolkit implementing ATK for this application.
|
550
|
+
</p>
|
551
|
+
<div class="variablelist"><table border="0">
|
552
|
+
<col align="left" valign="top">
|
553
|
+
<tbody><tr>
|
554
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
555
|
+
<td>version string for the GUI toolkit implementing ATK for this application</td>
|
556
|
+
</tr></tbody>
|
557
|
+
</table></div>
|
558
|
+
</div>
|
559
|
+
<hr>
|
560
|
+
<div class="refsect2">
|
561
|
+
<a name="atk-get-version"></a><h3>atk_get_version ()</h3>
|
562
|
+
<pre class="programlisting">const <span class="returnvalue">gchar</span> * atk_get_version (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
563
|
+
<p>
|
564
|
+
Gets the current version for ATK.
|
565
|
+
</p>
|
566
|
+
<div class="variablelist"><table border="0">
|
567
|
+
<col align="left" valign="top">
|
568
|
+
<tbody><tr>
|
569
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
570
|
+
<td>version string for ATK</td>
|
571
|
+
</tr></tbody>
|
572
|
+
</table></div>
|
573
|
+
<p class="since">Since 1.20</p>
|
574
|
+
</div>
|
575
|
+
<hr>
|
576
|
+
<div class="refsect2">
|
577
|
+
<a name="ATK-DEFINE-TYPE:CAPS"></a><h3>ATK_DEFINE_TYPE()</h3>
|
578
|
+
<pre class="programlisting">#define ATK_DEFINE_TYPE(TN, t_n, T_P) ATK_DEFINE_TYPE_EXTENDED (TN, t_n, T_P, 0, {})
|
579
|
+
</pre>
|
580
|
+
<p>
|
581
|
+
A convenience macro for type ATK implementations, which declares a class
|
582
|
+
initialization function, an instance initialization function (see <span class="type">GTypeInfo</span>
|
583
|
+
for information about these) and a static variable named
|
584
|
+
<em class="parameter"><code>t_n</code></em> _parent_class pointing to the parent class. Furthermore, it
|
585
|
+
defines a <code class="function">_get_type()</code> function.
|
586
|
+
</p>
|
587
|
+
<div class="variablelist"><table border="0">
|
588
|
+
<col align="left" valign="top">
|
589
|
+
<tbody>
|
590
|
+
<tr>
|
591
|
+
<td><p><span class="term"><em class="parameter"><code>TN</code></em> :</span></p></td>
|
592
|
+
<td>The name of the new type, in Camel case.</td>
|
593
|
+
</tr>
|
594
|
+
<tr>
|
595
|
+
<td><p><span class="term"><em class="parameter"><code>t_n</code></em> :</span></p></td>
|
596
|
+
<td>The name of the new type, in lowercase, with words separated by '_'.</td>
|
597
|
+
</tr>
|
598
|
+
<tr>
|
599
|
+
<td><p><span class="term"><em class="parameter"><code>T_P</code></em> :</span></p></td>
|
600
|
+
<td>The <span class="type">GType</span> of the parent type.</td>
|
601
|
+
</tr>
|
602
|
+
</tbody>
|
603
|
+
</table></div>
|
604
|
+
<p class="since">Since 1.22</p>
|
605
|
+
</div>
|
606
|
+
<hr>
|
607
|
+
<div class="refsect2">
|
608
|
+
<a name="ATK-DEFINE-TYPE-EXTENDED:CAPS"></a><h3>ATK_DEFINE_TYPE_EXTENDED()</h3>
|
609
|
+
<pre class="programlisting">#define ATK_DEFINE_TYPE_EXTENDED(TN, t_n, T_P, _f_, _C_) _ATK_DEFINE_TYPE_EXTENDED_BEGIN (TN, t_n, T_P, _f_) {_C_;} _ATK_DEFINE_TYPE_EXTENDED_END()
|
610
|
+
</pre>
|
611
|
+
<p>
|
612
|
+
The most general convenience macro for ATK type implementations, on which
|
613
|
+
<a class="link" href="AtkUtil.html#ATK-DEFINE-TYPE:CAPS" title="ATK_DEFINE_TYPE()"><code class="function">ATK_DEFINE_TYPE()</code></a>, etc are based.
|
614
|
+
</p>
|
615
|
+
<div class="variablelist"><table border="0">
|
616
|
+
<col align="left" valign="top">
|
617
|
+
<tbody>
|
618
|
+
<tr>
|
619
|
+
<td><p><span class="term"><em class="parameter"><code>TN</code></em> :</span></p></td>
|
620
|
+
<td>The name of the new type, in Camel case.</td>
|
621
|
+
</tr>
|
622
|
+
<tr>
|
623
|
+
<td><p><span class="term"><em class="parameter"><code>t_n</code></em> :</span></p></td>
|
624
|
+
<td>The name of the new type, in lowercase, with words separated by '_'.</td>
|
625
|
+
</tr>
|
626
|
+
<tr>
|
627
|
+
<td><p><span class="term"><em class="parameter"><code>T_P</code></em> :</span></p></td>
|
628
|
+
<td>The <span class="type">GType</span> of the parent type.</td>
|
629
|
+
</tr>
|
630
|
+
<tr>
|
631
|
+
<td><p><span class="term"><em class="parameter"><code>_f_</code></em> :</span></p></td>
|
632
|
+
<td>
|
633
|
+
<span class="type">GTypeFlags</span> to pass to <code class="function">g_type_register_static()</code>
|
634
|
+
</td>
|
635
|
+
</tr>
|
636
|
+
<tr>
|
637
|
+
<td><p><span class="term"><em class="parameter"><code>_C_</code></em> :</span></p></td>
|
638
|
+
<td>Custom code that gets inserted in the <code class="function">_get_type()</code> function.</td>
|
639
|
+
</tr>
|
640
|
+
</tbody>
|
641
|
+
</table></div>
|
642
|
+
<p class="since">Since 1.22</p>
|
643
|
+
</div>
|
644
|
+
<hr>
|
645
|
+
<div class="refsect2">
|
646
|
+
<a name="ATK-DEFINE-TYPE-WITH-CODE:CAPS"></a><h3>ATK_DEFINE_TYPE_WITH_CODE()</h3>
|
647
|
+
<pre class="programlisting">#define ATK_DEFINE_TYPE_WITH_CODE(TN, t_n, T_P, _C_) _ATK_DEFINE_TYPE_EXTENDED_BEGIN (TN, t_n, T_P, 0) {_C_;} _ATK_DEFINE_TYPE_EXTENDED_END()
|
648
|
+
</pre>
|
649
|
+
<p>
|
650
|
+
A convenience macro for ATK type implementations.
|
651
|
+
Similar to <a class="link" href="AtkUtil.html#ATK-DEFINE-TYPE:CAPS" title="ATK_DEFINE_TYPE()"><code class="function">ATK_DEFINE_TYPE()</code></a>, but allows you to insert custom code into the
|
652
|
+
<code class="function">_get_type()</code> function, e.g. interface implementations via <code class="function">G_IMPLEMENT_INTERFACE()</code>.
|
653
|
+
</p>
|
654
|
+
<div class="variablelist"><table border="0">
|
655
|
+
<col align="left" valign="top">
|
656
|
+
<tbody>
|
657
|
+
<tr>
|
658
|
+
<td><p><span class="term"><em class="parameter"><code>TN</code></em> :</span></p></td>
|
659
|
+
<td>The name of the new type, in Camel case.</td>
|
660
|
+
</tr>
|
661
|
+
<tr>
|
662
|
+
<td><p><span class="term"><em class="parameter"><code>t_n</code></em> :</span></p></td>
|
663
|
+
<td>The name of the new type in lowercase, with words separated by '_'.</td>
|
664
|
+
</tr>
|
665
|
+
<tr>
|
666
|
+
<td><p><span class="term"><em class="parameter"><code>T_P</code></em> :</span></p></td>
|
667
|
+
<td>The <span class="type">GType</span> of the parent type.</td>
|
668
|
+
</tr>
|
669
|
+
<tr>
|
670
|
+
<td><p><span class="term"><em class="parameter"><code>_C_</code></em> :</span></p></td>
|
671
|
+
<td>Custom code that gets inserted in the <code class="function">_get_type()</code> function.</td>
|
672
|
+
</tr>
|
673
|
+
</tbody>
|
674
|
+
</table></div>
|
675
|
+
<p class="since">Since 1.22</p>
|
676
|
+
</div>
|
677
|
+
<hr>
|
678
|
+
<div class="refsect2">
|
679
|
+
<a name="ATK-DEFINE-ABSTRACT-TYPE:CAPS"></a><h3>ATK_DEFINE_ABSTRACT_TYPE()</h3>
|
680
|
+
<pre class="programlisting">#define ATK_DEFINE_ABSTRACT_TYPE(TN, t_n, T_P) ATK_DEFINE_TYPE_EXTENDED (TN, t_n, T_P, G_TYPE_FLAG_ABSTRACT, {})
|
681
|
+
</pre>
|
682
|
+
<p>
|
683
|
+
A convenience macro for ATK type implementations.
|
684
|
+
Similar to <a class="link" href="AtkUtil.html#ATK-DEFINE-TYPE:CAPS" title="ATK_DEFINE_TYPE()"><code class="function">ATK_DEFINE_TYPE()</code></a>, but defines an abstract type.
|
685
|
+
</p>
|
686
|
+
<div class="variablelist"><table border="0">
|
687
|
+
<col align="left" valign="top">
|
688
|
+
<tbody>
|
689
|
+
<tr>
|
690
|
+
<td><p><span class="term"><em class="parameter"><code>TN</code></em> :</span></p></td>
|
691
|
+
<td>The name of the new type, in Camel case.</td>
|
692
|
+
</tr>
|
693
|
+
<tr>
|
694
|
+
<td><p><span class="term"><em class="parameter"><code>t_n</code></em> :</span></p></td>
|
695
|
+
<td>The name of the new type, in lowercase, with words separated by '_'.</td>
|
696
|
+
</tr>
|
697
|
+
<tr>
|
698
|
+
<td><p><span class="term"><em class="parameter"><code>T_P</code></em> :</span></p></td>
|
699
|
+
<td>The <span class="type">GType</span> of the parent type.</td>
|
700
|
+
</tr>
|
701
|
+
</tbody>
|
702
|
+
</table></div>
|
703
|
+
<p class="since">Since 1.22</p>
|
704
|
+
</div>
|
705
|
+
<hr>
|
706
|
+
<div class="refsect2">
|
707
|
+
<a name="ATK-DEFINE-ABSTRACT-TYPE-WITH-CODE:CAPS"></a><h3>ATK_DEFINE_ABSTRACT_TYPE_WITH_CODE()</h3>
|
708
|
+
<pre class="programlisting">#define ATK_DEFINE_ABSTRACT_TYPE_WITH_CODE(TN, t_n, T_P, _C_) _ATK_DEFINE_TYPE_EXTENDED_BEGIN (TN, t_n, T_P, G_TYPE_FLAG_ABSTRACT) {_C_;} _ATK_DEFINE_TYPE_EXTENDED_END()
|
709
|
+
</pre>
|
710
|
+
<p>
|
711
|
+
A convenience macro for ATK type implementations.
|
712
|
+
Similar to <a class="link" href="AtkUtil.html#ATK-DEFINE-TYPE-WITH-CODE:CAPS" title="ATK_DEFINE_TYPE_WITH_CODE()"><code class="function">ATK_DEFINE_TYPE_WITH_CODE()</code></a>, but defines an abstract type.
|
713
|
+
</p>
|
714
|
+
<div class="variablelist"><table border="0">
|
715
|
+
<col align="left" valign="top">
|
716
|
+
<tbody>
|
717
|
+
<tr>
|
718
|
+
<td><p><span class="term"><em class="parameter"><code>TN</code></em> :</span></p></td>
|
719
|
+
<td>The name of the new type, in Camel case.</td>
|
720
|
+
</tr>
|
721
|
+
<tr>
|
722
|
+
<td><p><span class="term"><em class="parameter"><code>t_n</code></em> :</span></p></td>
|
723
|
+
<td>The name of the new type, in lowercase, with words separated by '_'.</td>
|
724
|
+
</tr>
|
725
|
+
<tr>
|
726
|
+
<td><p><span class="term"><em class="parameter"><code>T_P</code></em> :</span></p></td>
|
727
|
+
<td>The <span class="type">GType</span> of the parent type.</td>
|
728
|
+
</tr>
|
729
|
+
<tr>
|
730
|
+
<td><p><span class="term"><em class="parameter"><code>_C_</code></em> :</span></p></td>
|
731
|
+
<td>Custom code that gets inserted in the <code class="function">_get_type()</code> function.</td>
|
732
|
+
</tr>
|
733
|
+
</tbody>
|
734
|
+
</table></div>
|
735
|
+
<p class="since">Since 1.22</p>
|
736
|
+
</div>
|
737
|
+
</div>
|
738
|
+
</div>
|
739
|
+
<div class="footer">
|
740
|
+
<hr>
|
741
|
+
Generated by GTK-Doc V1.18.1</div>
|
742
|
+
</body>
|
743
|
+
</html>
|