atk 1.1.9-x86-mingw32 → 1.2.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- 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,639 @@
|
|
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>AtkComponent</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="AtkAction.html" title="AtkAction">
|
10
|
+
<link rel="next" href="AtkDocument.html" title="AtkDocument">
|
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="AtkAction.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="AtkDocument.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="#AtkComponent.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#AtkComponent.description" class="shortcut">Description</a>
|
27
|
+
|
|
28
|
+
<a href="#AtkComponent.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
|
+
|
|
30
|
+
<a href="#AtkComponent.implementations" class="shortcut">Known Implementations</a>
|
31
|
+
|
|
32
|
+
<a href="#AtkComponent.signals" class="shortcut">Signals</a>
|
33
|
+
</td></tr>
|
34
|
+
</table>
|
35
|
+
<div class="refentry">
|
36
|
+
<a name="AtkComponent"></a><div class="titlepage"></div>
|
37
|
+
<div class="refnamediv"><table width="100%"><tr>
|
38
|
+
<td valign="top">
|
39
|
+
<h2><span class="refentrytitle"><a name="AtkComponent.top_of_page"></a>AtkComponent</span></h2>
|
40
|
+
<p>AtkComponent — The ATK interface provided by UI components which occupy a physical area on
|
41
|
+
the screen.</p>
|
42
|
+
</td>
|
43
|
+
<td valign="top" align="right"></td>
|
44
|
+
</tr></table></div>
|
45
|
+
<div class="refsynopsisdiv">
|
46
|
+
<a name="AtkComponent.synopsis"></a><h2>Synopsis</h2>
|
47
|
+
<pre class="synopsis"> <a class="link" href="AtkComponent.html#AtkComponent-struct" title="AtkComponent">AtkComponent</a>;
|
48
|
+
<span class="returnvalue">guint</span> <a class="link" href="AtkComponent.html#atk-component-add-focus-handler" title="atk_component_add_focus_handler ()">atk_component_add_focus_handler</a> (<em class="parameter"><code><a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a> *component</code></em>,
|
49
|
+
<em class="parameter"><code><span class="type">AtkFocusHandler</span> handler</code></em>);
|
50
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="AtkComponent.html#atk-component-contains" title="atk_component_contains ()">atk_component_contains</a> (<em class="parameter"><code><a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a> *component</code></em>,
|
51
|
+
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
52
|
+
<em class="parameter"><code><span class="type">gint</span> y</code></em>,
|
53
|
+
<em class="parameter"><code><a class="link" href="AtkUtil.html#AtkCoordType" title="enum AtkCoordType"><span class="type">AtkCoordType</span></a> coord_type</code></em>);
|
54
|
+
<span class="returnvalue">void</span> <a class="link" href="AtkComponent.html#atk-component-get-extents" title="atk_component_get_extents ()">atk_component_get_extents</a> (<em class="parameter"><code><a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a> *component</code></em>,
|
55
|
+
<em class="parameter"><code><span class="type">gint</span> *x</code></em>,
|
56
|
+
<em class="parameter"><code><span class="type">gint</span> *y</code></em>,
|
57
|
+
<em class="parameter"><code><span class="type">gint</span> *width</code></em>,
|
58
|
+
<em class="parameter"><code><span class="type">gint</span> *height</code></em>,
|
59
|
+
<em class="parameter"><code><a class="link" href="AtkUtil.html#AtkCoordType" title="enum AtkCoordType"><span class="type">AtkCoordType</span></a> coord_type</code></em>);
|
60
|
+
<a class="link" href="AtkObject.html#AtkLayer" title="enum AtkLayer"><span class="returnvalue">AtkLayer</span></a> <a class="link" href="AtkComponent.html#atk-component-get-layer" title="atk_component_get_layer ()">atk_component_get_layer</a> (<em class="parameter"><code><a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a> *component</code></em>);
|
61
|
+
<span class="returnvalue">gint</span> <a class="link" href="AtkComponent.html#atk-component-get-mdi-zorder" title="atk_component_get_mdi_zorder ()">atk_component_get_mdi_zorder</a> (<em class="parameter"><code><a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a> *component</code></em>);
|
62
|
+
<span class="returnvalue">void</span> <a class="link" href="AtkComponent.html#atk-component-get-position" title="atk_component_get_position ()">atk_component_get_position</a> (<em class="parameter"><code><a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a> *component</code></em>,
|
63
|
+
<em class="parameter"><code><span class="type">gint</span> *x</code></em>,
|
64
|
+
<em class="parameter"><code><span class="type">gint</span> *y</code></em>,
|
65
|
+
<em class="parameter"><code><a class="link" href="AtkUtil.html#AtkCoordType" title="enum AtkCoordType"><span class="type">AtkCoordType</span></a> coord_type</code></em>);
|
66
|
+
<span class="returnvalue">void</span> <a class="link" href="AtkComponent.html#atk-component-get-size" title="atk_component_get_size ()">atk_component_get_size</a> (<em class="parameter"><code><a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a> *component</code></em>,
|
67
|
+
<em class="parameter"><code><span class="type">gint</span> *width</code></em>,
|
68
|
+
<em class="parameter"><code><span class="type">gint</span> *height</code></em>);
|
69
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="AtkComponent.html#atk-component-grab-focus" title="atk_component_grab_focus ()">atk_component_grab_focus</a> (<em class="parameter"><code><a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a> *component</code></em>);
|
70
|
+
<a class="link" href="AtkObject.html" title="AtkObject"><span class="returnvalue">AtkObject</span></a> * <a class="link" href="AtkComponent.html#atk-component-ref-accessible-at-point" title="atk_component_ref_accessible_at_point ()">atk_component_ref_accessible_at_point</a>
|
71
|
+
(<em class="parameter"><code><a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a> *component</code></em>,
|
72
|
+
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
73
|
+
<em class="parameter"><code><span class="type">gint</span> y</code></em>,
|
74
|
+
<em class="parameter"><code><a class="link" href="AtkUtil.html#AtkCoordType" title="enum AtkCoordType"><span class="type">AtkCoordType</span></a> coord_type</code></em>);
|
75
|
+
<span class="returnvalue">void</span> <a class="link" href="AtkComponent.html#atk-component-remove-focus-handler" title="atk_component_remove_focus_handler ()">atk_component_remove_focus_handler</a> (<em class="parameter"><code><a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a> *component</code></em>,
|
76
|
+
<em class="parameter"><code><span class="type">guint</span> handler_id</code></em>);
|
77
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="AtkComponent.html#atk-component-set-extents" title="atk_component_set_extents ()">atk_component_set_extents</a> (<em class="parameter"><code><a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a> *component</code></em>,
|
78
|
+
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
79
|
+
<em class="parameter"><code><span class="type">gint</span> y</code></em>,
|
80
|
+
<em class="parameter"><code><span class="type">gint</span> width</code></em>,
|
81
|
+
<em class="parameter"><code><span class="type">gint</span> height</code></em>,
|
82
|
+
<em class="parameter"><code><a class="link" href="AtkUtil.html#AtkCoordType" title="enum AtkCoordType"><span class="type">AtkCoordType</span></a> coord_type</code></em>);
|
83
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="AtkComponent.html#atk-component-set-position" title="atk_component_set_position ()">atk_component_set_position</a> (<em class="parameter"><code><a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a> *component</code></em>,
|
84
|
+
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
85
|
+
<em class="parameter"><code><span class="type">gint</span> y</code></em>,
|
86
|
+
<em class="parameter"><code><a class="link" href="AtkUtil.html#AtkCoordType" title="enum AtkCoordType"><span class="type">AtkCoordType</span></a> coord_type</code></em>);
|
87
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="AtkComponent.html#atk-component-set-size" title="atk_component_set_size ()">atk_component_set_size</a> (<em class="parameter"><code><a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a> *component</code></em>,
|
88
|
+
<em class="parameter"><code><span class="type">gint</span> width</code></em>,
|
89
|
+
<em class="parameter"><code><span class="type">gint</span> height</code></em>);
|
90
|
+
<span class="returnvalue">gdouble</span> <a class="link" href="AtkComponent.html#atk-component-get-alpha" title="atk_component_get_alpha ()">atk_component_get_alpha</a> (<em class="parameter"><code><a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a> *component</code></em>);
|
91
|
+
</pre>
|
92
|
+
</div>
|
93
|
+
<div class="refsect1">
|
94
|
+
<a name="AtkComponent.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
95
|
+
<pre class="synopsis">
|
96
|
+
GInterface
|
97
|
+
+----AtkComponent
|
98
|
+
</pre>
|
99
|
+
</div>
|
100
|
+
<div class="refsect1">
|
101
|
+
<a name="AtkComponent.implementations"></a><h2>Known Implementations</h2>
|
102
|
+
<p>
|
103
|
+
AtkComponent is implemented by
|
104
|
+
<a class="link" href="AtkNoOpObject.html" title="AtkNoOpObject">AtkNoOpObject</a>.</p>
|
105
|
+
</div>
|
106
|
+
<div class="refsect1">
|
107
|
+
<a name="AtkComponent.signals"></a><h2>Signals</h2>
|
108
|
+
<pre class="synopsis">
|
109
|
+
"<a class="link" href="AtkComponent.html#AtkComponent-bounds-changed" title='The "bounds-changed" signal'>bounds-changed</a>" : <code class="literal">Run Last</code>
|
110
|
+
</pre>
|
111
|
+
</div>
|
112
|
+
<div class="refsect1">
|
113
|
+
<a name="AtkComponent.description"></a><h2>Description</h2>
|
114
|
+
<p>
|
115
|
+
<a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a> should be implemented by most if not all UI elements with
|
116
|
+
an actual on-screen presence, i.e. components which can be said to have
|
117
|
+
a screen-coordinate bounding box. Virtually all widgets will need to
|
118
|
+
have <a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a> implementations provided for their corresponding
|
119
|
+
<a class="link" href="AtkObject.html" title="AtkObject"><span class="type">AtkObject</span></a> class. In short, only UI elements which are *not* GUI
|
120
|
+
elements will omit this ATK interface.
|
121
|
+
</p>
|
122
|
+
<p>
|
123
|
+
A possible exception might be textual information with a transparent
|
124
|
+
background, in which case text glyph bounding box information is
|
125
|
+
provided by <a class="link" href="AtkText.html" title="AtkText"><span class="type">AtkText</span></a>.
|
126
|
+
</p>
|
127
|
+
</div>
|
128
|
+
<div class="refsect1">
|
129
|
+
<a name="AtkComponent.details"></a><h2>Details</h2>
|
130
|
+
<div class="refsect2">
|
131
|
+
<a name="AtkComponent-struct"></a><h3>AtkComponent</h3>
|
132
|
+
<pre class="programlisting">typedef struct _AtkComponent AtkComponent;</pre>
|
133
|
+
<p>
|
134
|
+
The AtkComponent structure does not contain any fields.
|
135
|
+
</p>
|
136
|
+
</div>
|
137
|
+
<hr>
|
138
|
+
<div class="refsect2">
|
139
|
+
<a name="atk-component-add-focus-handler"></a><h3>atk_component_add_focus_handler ()</h3>
|
140
|
+
<pre class="programlisting"><span class="returnvalue">guint</span> atk_component_add_focus_handler (<em class="parameter"><code><a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a> *component</code></em>,
|
141
|
+
<em class="parameter"><code><span class="type">AtkFocusHandler</span> handler</code></em>);</pre>
|
142
|
+
<p>
|
143
|
+
Add the specified handler to the set of functions to be called
|
144
|
+
when this object receives focus events (in or out). If the handler is
|
145
|
+
already added it is not added again
|
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>component</code></em> :</span></p></td>
|
152
|
+
<td>The <a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a> to attach the <em class="parameter"><code>handler</code></em> to</td>
|
153
|
+
</tr>
|
154
|
+
<tr>
|
155
|
+
<td><p><span class="term"><em class="parameter"><code>handler</code></em> :</span></p></td>
|
156
|
+
<td>The <span class="type">AtkFocusHandler</span> to be attached to <em class="parameter"><code>component</code></em>
|
157
|
+
</td>
|
158
|
+
</tr>
|
159
|
+
<tr>
|
160
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
161
|
+
<td>a handler id which can be used in atk_component_remove_focus_handler
|
162
|
+
or zero if the handler was already added.</td>
|
163
|
+
</tr>
|
164
|
+
</tbody>
|
165
|
+
</table></div>
|
166
|
+
</div>
|
167
|
+
<hr>
|
168
|
+
<div class="refsect2">
|
169
|
+
<a name="atk-component-contains"></a><h3>atk_component_contains ()</h3>
|
170
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> atk_component_contains (<em class="parameter"><code><a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a> *component</code></em>,
|
171
|
+
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
172
|
+
<em class="parameter"><code><span class="type">gint</span> y</code></em>,
|
173
|
+
<em class="parameter"><code><a class="link" href="AtkUtil.html#AtkCoordType" title="enum AtkCoordType"><span class="type">AtkCoordType</span></a> coord_type</code></em>);</pre>
|
174
|
+
<p>
|
175
|
+
Checks whether the specified point is within the extent of the <em class="parameter"><code>component</code></em>.
|
176
|
+
</p>
|
177
|
+
<div class="variablelist"><table border="0">
|
178
|
+
<col align="left" valign="top">
|
179
|
+
<tbody>
|
180
|
+
<tr>
|
181
|
+
<td><p><span class="term"><em class="parameter"><code>component</code></em> :</span></p></td>
|
182
|
+
<td>the <a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a>
|
183
|
+
</td>
|
184
|
+
</tr>
|
185
|
+
<tr>
|
186
|
+
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
187
|
+
<td>x coordinate</td>
|
188
|
+
</tr>
|
189
|
+
<tr>
|
190
|
+
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
191
|
+
<td>y coordinate</td>
|
192
|
+
</tr>
|
193
|
+
<tr>
|
194
|
+
<td><p><span class="term"><em class="parameter"><code>coord_type</code></em> :</span></p></td>
|
195
|
+
<td>specifies whether the coordinates are relative to the screen
|
196
|
+
or to the components top level window</td>
|
197
|
+
</tr>
|
198
|
+
<tr>
|
199
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
200
|
+
<td>
|
201
|
+
<code class="literal">TRUE</code> or <code class="literal">FALSE</code> indicating whether the specified point is within
|
202
|
+
the extent of the <em class="parameter"><code>component</code></em> or not</td>
|
203
|
+
</tr>
|
204
|
+
</tbody>
|
205
|
+
</table></div>
|
206
|
+
</div>
|
207
|
+
<hr>
|
208
|
+
<div class="refsect2">
|
209
|
+
<a name="atk-component-get-extents"></a><h3>atk_component_get_extents ()</h3>
|
210
|
+
<pre class="programlisting"><span class="returnvalue">void</span> atk_component_get_extents (<em class="parameter"><code><a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a> *component</code></em>,
|
211
|
+
<em class="parameter"><code><span class="type">gint</span> *x</code></em>,
|
212
|
+
<em class="parameter"><code><span class="type">gint</span> *y</code></em>,
|
213
|
+
<em class="parameter"><code><span class="type">gint</span> *width</code></em>,
|
214
|
+
<em class="parameter"><code><span class="type">gint</span> *height</code></em>,
|
215
|
+
<em class="parameter"><code><a class="link" href="AtkUtil.html#AtkCoordType" title="enum AtkCoordType"><span class="type">AtkCoordType</span></a> coord_type</code></em>);</pre>
|
216
|
+
<p>
|
217
|
+
Gets the rectangle which gives the extent of the <em class="parameter"><code>component</code></em>.
|
218
|
+
</p>
|
219
|
+
<div class="variablelist"><table border="0">
|
220
|
+
<col align="left" valign="top">
|
221
|
+
<tbody>
|
222
|
+
<tr>
|
223
|
+
<td><p><span class="term"><em class="parameter"><code>component</code></em> :</span></p></td>
|
224
|
+
<td>an <a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a>
|
225
|
+
</td>
|
226
|
+
</tr>
|
227
|
+
<tr>
|
228
|
+
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
229
|
+
<td>address of <span class="type">gint</span> to put x coordinate</td>
|
230
|
+
</tr>
|
231
|
+
<tr>
|
232
|
+
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
233
|
+
<td>address of <span class="type">gint</span> to put y coordinate</td>
|
234
|
+
</tr>
|
235
|
+
<tr>
|
236
|
+
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
237
|
+
<td>address of <span class="type">gint</span> to put width</td>
|
238
|
+
</tr>
|
239
|
+
<tr>
|
240
|
+
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
241
|
+
<td>address of <span class="type">gint</span> to put height</td>
|
242
|
+
</tr>
|
243
|
+
<tr>
|
244
|
+
<td><p><span class="term"><em class="parameter"><code>coord_type</code></em> :</span></p></td>
|
245
|
+
<td>specifies whether the coordinates are relative to the screen
|
246
|
+
or to the components top level window</td>
|
247
|
+
</tr>
|
248
|
+
</tbody>
|
249
|
+
</table></div>
|
250
|
+
</div>
|
251
|
+
<hr>
|
252
|
+
<div class="refsect2">
|
253
|
+
<a name="atk-component-get-layer"></a><h3>atk_component_get_layer ()</h3>
|
254
|
+
<pre class="programlisting"><a class="link" href="AtkObject.html#AtkLayer" title="enum AtkLayer"><span class="returnvalue">AtkLayer</span></a> atk_component_get_layer (<em class="parameter"><code><a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a> *component</code></em>);</pre>
|
255
|
+
<p>
|
256
|
+
Gets the layer of the component.
|
257
|
+
</p>
|
258
|
+
<div class="variablelist"><table border="0">
|
259
|
+
<col align="left" valign="top">
|
260
|
+
<tbody>
|
261
|
+
<tr>
|
262
|
+
<td><p><span class="term"><em class="parameter"><code>component</code></em> :</span></p></td>
|
263
|
+
<td>an <a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a>
|
264
|
+
</td>
|
265
|
+
</tr>
|
266
|
+
<tr>
|
267
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
268
|
+
<td>an <a class="link" href="AtkObject.html#AtkLayer" title="enum AtkLayer"><span class="type">AtkLayer</span></a> which is the layer of the component</td>
|
269
|
+
</tr>
|
270
|
+
</tbody>
|
271
|
+
</table></div>
|
272
|
+
</div>
|
273
|
+
<hr>
|
274
|
+
<div class="refsect2">
|
275
|
+
<a name="atk-component-get-mdi-zorder"></a><h3>atk_component_get_mdi_zorder ()</h3>
|
276
|
+
<pre class="programlisting"><span class="returnvalue">gint</span> atk_component_get_mdi_zorder (<em class="parameter"><code><a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a> *component</code></em>);</pre>
|
277
|
+
<p>
|
278
|
+
Gets the zorder of the component. The value G_MININT will be returned
|
279
|
+
if the layer of the component is not ATK_LAYER_MDI or ATK_LAYER_WINDOW.
|
280
|
+
</p>
|
281
|
+
<div class="variablelist"><table border="0">
|
282
|
+
<col align="left" valign="top">
|
283
|
+
<tbody>
|
284
|
+
<tr>
|
285
|
+
<td><p><span class="term"><em class="parameter"><code>component</code></em> :</span></p></td>
|
286
|
+
<td>an <a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a>
|
287
|
+
</td>
|
288
|
+
</tr>
|
289
|
+
<tr>
|
290
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
291
|
+
<td>a gint which is the zorder of the component, i.e. the depth at
|
292
|
+
which the component is shown in relation to other components in the same
|
293
|
+
container.</td>
|
294
|
+
</tr>
|
295
|
+
</tbody>
|
296
|
+
</table></div>
|
297
|
+
</div>
|
298
|
+
<hr>
|
299
|
+
<div class="refsect2">
|
300
|
+
<a name="atk-component-get-position"></a><h3>atk_component_get_position ()</h3>
|
301
|
+
<pre class="programlisting"><span class="returnvalue">void</span> atk_component_get_position (<em class="parameter"><code><a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a> *component</code></em>,
|
302
|
+
<em class="parameter"><code><span class="type">gint</span> *x</code></em>,
|
303
|
+
<em class="parameter"><code><span class="type">gint</span> *y</code></em>,
|
304
|
+
<em class="parameter"><code><a class="link" href="AtkUtil.html#AtkCoordType" title="enum AtkCoordType"><span class="type">AtkCoordType</span></a> coord_type</code></em>);</pre>
|
305
|
+
<p>
|
306
|
+
Gets the position of <em class="parameter"><code>component</code></em> in the form of
|
307
|
+
a point specifying <em class="parameter"><code>component</code></em>'s top-left corner.
|
308
|
+
</p>
|
309
|
+
<div class="variablelist"><table border="0">
|
310
|
+
<col align="left" valign="top">
|
311
|
+
<tbody>
|
312
|
+
<tr>
|
313
|
+
<td><p><span class="term"><em class="parameter"><code>component</code></em> :</span></p></td>
|
314
|
+
<td>an <a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a>
|
315
|
+
</td>
|
316
|
+
</tr>
|
317
|
+
<tr>
|
318
|
+
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
319
|
+
<td>address of <span class="type">gint</span> to put x coordinate position</td>
|
320
|
+
</tr>
|
321
|
+
<tr>
|
322
|
+
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
323
|
+
<td>address of <span class="type">gint</span> to put y coordinate position</td>
|
324
|
+
</tr>
|
325
|
+
<tr>
|
326
|
+
<td><p><span class="term"><em class="parameter"><code>coord_type</code></em> :</span></p></td>
|
327
|
+
<td>specifies whether the coordinates are relative to the screen
|
328
|
+
or to the components top level window</td>
|
329
|
+
</tr>
|
330
|
+
</tbody>
|
331
|
+
</table></div>
|
332
|
+
</div>
|
333
|
+
<hr>
|
334
|
+
<div class="refsect2">
|
335
|
+
<a name="atk-component-get-size"></a><h3>atk_component_get_size ()</h3>
|
336
|
+
<pre class="programlisting"><span class="returnvalue">void</span> atk_component_get_size (<em class="parameter"><code><a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a> *component</code></em>,
|
337
|
+
<em class="parameter"><code><span class="type">gint</span> *width</code></em>,
|
338
|
+
<em class="parameter"><code><span class="type">gint</span> *height</code></em>);</pre>
|
339
|
+
<p>
|
340
|
+
Gets the size of the <em class="parameter"><code>component</code></em> in terms of width and height.
|
341
|
+
</p>
|
342
|
+
<div class="variablelist"><table border="0">
|
343
|
+
<col align="left" valign="top">
|
344
|
+
<tbody>
|
345
|
+
<tr>
|
346
|
+
<td><p><span class="term"><em class="parameter"><code>component</code></em> :</span></p></td>
|
347
|
+
<td>an <a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a>
|
348
|
+
</td>
|
349
|
+
</tr>
|
350
|
+
<tr>
|
351
|
+
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
352
|
+
<td>address of <span class="type">gint</span> to put width of <em class="parameter"><code>component</code></em>
|
353
|
+
</td>
|
354
|
+
</tr>
|
355
|
+
<tr>
|
356
|
+
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
357
|
+
<td>address of <span class="type">gint</span> to put height of <em class="parameter"><code>component</code></em>
|
358
|
+
</td>
|
359
|
+
</tr>
|
360
|
+
</tbody>
|
361
|
+
</table></div>
|
362
|
+
</div>
|
363
|
+
<hr>
|
364
|
+
<div class="refsect2">
|
365
|
+
<a name="atk-component-grab-focus"></a><h3>atk_component_grab_focus ()</h3>
|
366
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> atk_component_grab_focus (<em class="parameter"><code><a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a> *component</code></em>);</pre>
|
367
|
+
<p>
|
368
|
+
Grabs focus for this <em class="parameter"><code>component</code></em>.
|
369
|
+
</p>
|
370
|
+
<div class="variablelist"><table border="0">
|
371
|
+
<col align="left" valign="top">
|
372
|
+
<tbody>
|
373
|
+
<tr>
|
374
|
+
<td><p><span class="term"><em class="parameter"><code>component</code></em> :</span></p></td>
|
375
|
+
<td>an <a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a>
|
376
|
+
</td>
|
377
|
+
</tr>
|
378
|
+
<tr>
|
379
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
380
|
+
<td>
|
381
|
+
<code class="literal">TRUE</code> if successful, <code class="literal">FALSE</code> otherwise.</td>
|
382
|
+
</tr>
|
383
|
+
</tbody>
|
384
|
+
</table></div>
|
385
|
+
</div>
|
386
|
+
<hr>
|
387
|
+
<div class="refsect2">
|
388
|
+
<a name="atk-component-ref-accessible-at-point"></a><h3>atk_component_ref_accessible_at_point ()</h3>
|
389
|
+
<pre class="programlisting"><a class="link" href="AtkObject.html" title="AtkObject"><span class="returnvalue">AtkObject</span></a> * atk_component_ref_accessible_at_point
|
390
|
+
(<em class="parameter"><code><a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a> *component</code></em>,
|
391
|
+
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
392
|
+
<em class="parameter"><code><span class="type">gint</span> y</code></em>,
|
393
|
+
<em class="parameter"><code><a class="link" href="AtkUtil.html#AtkCoordType" title="enum AtkCoordType"><span class="type">AtkCoordType</span></a> coord_type</code></em>);</pre>
|
394
|
+
<p>
|
395
|
+
Gets a reference to the accessible child, if one exists, at the
|
396
|
+
coordinate point specified by <em class="parameter"><code>x</code></em> and <em class="parameter"><code>y</code></em>.
|
397
|
+
</p>
|
398
|
+
<div class="variablelist"><table border="0">
|
399
|
+
<col align="left" valign="top">
|
400
|
+
<tbody>
|
401
|
+
<tr>
|
402
|
+
<td><p><span class="term"><em class="parameter"><code>component</code></em> :</span></p></td>
|
403
|
+
<td>the <a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a>
|
404
|
+
</td>
|
405
|
+
</tr>
|
406
|
+
<tr>
|
407
|
+
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
408
|
+
<td>x coordinate</td>
|
409
|
+
</tr>
|
410
|
+
<tr>
|
411
|
+
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
412
|
+
<td>y coordinate</td>
|
413
|
+
</tr>
|
414
|
+
<tr>
|
415
|
+
<td><p><span class="term"><em class="parameter"><code>coord_type</code></em> :</span></p></td>
|
416
|
+
<td>specifies whether the coordinates are relative to the screen
|
417
|
+
or to the components top level window</td>
|
418
|
+
</tr>
|
419
|
+
<tr>
|
420
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
421
|
+
<td>a reference to the accessible child, if one exists. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
|
422
|
+
</td>
|
423
|
+
</tr>
|
424
|
+
</tbody>
|
425
|
+
</table></div>
|
426
|
+
</div>
|
427
|
+
<hr>
|
428
|
+
<div class="refsect2">
|
429
|
+
<a name="atk-component-remove-focus-handler"></a><h3>atk_component_remove_focus_handler ()</h3>
|
430
|
+
<pre class="programlisting"><span class="returnvalue">void</span> atk_component_remove_focus_handler (<em class="parameter"><code><a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a> *component</code></em>,
|
431
|
+
<em class="parameter"><code><span class="type">guint</span> handler_id</code></em>);</pre>
|
432
|
+
<p>
|
433
|
+
Remove the handler specified by <em class="parameter"><code>handler_id</code></em> from the list of
|
434
|
+
functions to be executed when this object receives focus events
|
435
|
+
(in or out).
|
436
|
+
</p>
|
437
|
+
<div class="variablelist"><table border="0">
|
438
|
+
<col align="left" valign="top">
|
439
|
+
<tbody>
|
440
|
+
<tr>
|
441
|
+
<td><p><span class="term"><em class="parameter"><code>component</code></em> :</span></p></td>
|
442
|
+
<td>the <a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a> to remove the focus handler from</td>
|
443
|
+
</tr>
|
444
|
+
<tr>
|
445
|
+
<td><p><span class="term"><em class="parameter"><code>handler_id</code></em> :</span></p></td>
|
446
|
+
<td>the handler id of the focus handler to be removed
|
447
|
+
from <em class="parameter"><code>component</code></em>
|
448
|
+
</td>
|
449
|
+
</tr>
|
450
|
+
</tbody>
|
451
|
+
</table></div>
|
452
|
+
</div>
|
453
|
+
<hr>
|
454
|
+
<div class="refsect2">
|
455
|
+
<a name="atk-component-set-extents"></a><h3>atk_component_set_extents ()</h3>
|
456
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> atk_component_set_extents (<em class="parameter"><code><a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a> *component</code></em>,
|
457
|
+
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
458
|
+
<em class="parameter"><code><span class="type">gint</span> y</code></em>,
|
459
|
+
<em class="parameter"><code><span class="type">gint</span> width</code></em>,
|
460
|
+
<em class="parameter"><code><span class="type">gint</span> height</code></em>,
|
461
|
+
<em class="parameter"><code><a class="link" href="AtkUtil.html#AtkCoordType" title="enum AtkCoordType"><span class="type">AtkCoordType</span></a> coord_type</code></em>);</pre>
|
462
|
+
<p>
|
463
|
+
Sets the extents of <em class="parameter"><code>component</code></em>.
|
464
|
+
</p>
|
465
|
+
<div class="variablelist"><table border="0">
|
466
|
+
<col align="left" valign="top">
|
467
|
+
<tbody>
|
468
|
+
<tr>
|
469
|
+
<td><p><span class="term"><em class="parameter"><code>component</code></em> :</span></p></td>
|
470
|
+
<td>an <a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a>
|
471
|
+
</td>
|
472
|
+
</tr>
|
473
|
+
<tr>
|
474
|
+
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
475
|
+
<td>x coordinate</td>
|
476
|
+
</tr>
|
477
|
+
<tr>
|
478
|
+
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
479
|
+
<td>y coordinate</td>
|
480
|
+
</tr>
|
481
|
+
<tr>
|
482
|
+
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
483
|
+
<td>width to set for <em class="parameter"><code>component</code></em>
|
484
|
+
</td>
|
485
|
+
</tr>
|
486
|
+
<tr>
|
487
|
+
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
488
|
+
<td>height to set for <em class="parameter"><code>component</code></em>
|
489
|
+
</td>
|
490
|
+
</tr>
|
491
|
+
<tr>
|
492
|
+
<td><p><span class="term"><em class="parameter"><code>coord_type</code></em> :</span></p></td>
|
493
|
+
<td>specifies whether the coordinates are relative to the screen
|
494
|
+
or to the components top level window</td>
|
495
|
+
</tr>
|
496
|
+
<tr>
|
497
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
498
|
+
<td>
|
499
|
+
<code class="literal">TRUE</code> or <code class="literal">FALSE</code> whether the extents were set or not</td>
|
500
|
+
</tr>
|
501
|
+
</tbody>
|
502
|
+
</table></div>
|
503
|
+
</div>
|
504
|
+
<hr>
|
505
|
+
<div class="refsect2">
|
506
|
+
<a name="atk-component-set-position"></a><h3>atk_component_set_position ()</h3>
|
507
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> atk_component_set_position (<em class="parameter"><code><a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a> *component</code></em>,
|
508
|
+
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
509
|
+
<em class="parameter"><code><span class="type">gint</span> y</code></em>,
|
510
|
+
<em class="parameter"><code><a class="link" href="AtkUtil.html#AtkCoordType" title="enum AtkCoordType"><span class="type">AtkCoordType</span></a> coord_type</code></em>);</pre>
|
511
|
+
<p>
|
512
|
+
Sets the postition of <em class="parameter"><code>component</code></em>.
|
513
|
+
</p>
|
514
|
+
<div class="variablelist"><table border="0">
|
515
|
+
<col align="left" valign="top">
|
516
|
+
<tbody>
|
517
|
+
<tr>
|
518
|
+
<td><p><span class="term"><em class="parameter"><code>component</code></em> :</span></p></td>
|
519
|
+
<td>an <a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a>
|
520
|
+
</td>
|
521
|
+
</tr>
|
522
|
+
<tr>
|
523
|
+
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
524
|
+
<td>x coordinate</td>
|
525
|
+
</tr>
|
526
|
+
<tr>
|
527
|
+
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
528
|
+
<td>y coordinate</td>
|
529
|
+
</tr>
|
530
|
+
<tr>
|
531
|
+
<td><p><span class="term"><em class="parameter"><code>coord_type</code></em> :</span></p></td>
|
532
|
+
<td>specifies whether the coordinates are relative to the screen
|
533
|
+
or to the components top level window</td>
|
534
|
+
</tr>
|
535
|
+
<tr>
|
536
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
537
|
+
<td>
|
538
|
+
<code class="literal">TRUE</code> or <code class="literal">FALSE</code> whether or not the position was set or not</td>
|
539
|
+
</tr>
|
540
|
+
</tbody>
|
541
|
+
</table></div>
|
542
|
+
</div>
|
543
|
+
<hr>
|
544
|
+
<div class="refsect2">
|
545
|
+
<a name="atk-component-set-size"></a><h3>atk_component_set_size ()</h3>
|
546
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> atk_component_set_size (<em class="parameter"><code><a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a> *component</code></em>,
|
547
|
+
<em class="parameter"><code><span class="type">gint</span> width</code></em>,
|
548
|
+
<em class="parameter"><code><span class="type">gint</span> height</code></em>);</pre>
|
549
|
+
<p>
|
550
|
+
Set the size of the <em class="parameter"><code>component</code></em> in terms of width and height.
|
551
|
+
</p>
|
552
|
+
<div class="variablelist"><table border="0">
|
553
|
+
<col align="left" valign="top">
|
554
|
+
<tbody>
|
555
|
+
<tr>
|
556
|
+
<td><p><span class="term"><em class="parameter"><code>component</code></em> :</span></p></td>
|
557
|
+
<td>an <a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a>
|
558
|
+
</td>
|
559
|
+
</tr>
|
560
|
+
<tr>
|
561
|
+
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
562
|
+
<td>width to set for <em class="parameter"><code>component</code></em>
|
563
|
+
</td>
|
564
|
+
</tr>
|
565
|
+
<tr>
|
566
|
+
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
567
|
+
<td>height to set for <em class="parameter"><code>component</code></em>
|
568
|
+
</td>
|
569
|
+
</tr>
|
570
|
+
<tr>
|
571
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
572
|
+
<td>
|
573
|
+
<code class="literal">TRUE</code> or <code class="literal">FALSE</code> whether the size was set or not</td>
|
574
|
+
</tr>
|
575
|
+
</tbody>
|
576
|
+
</table></div>
|
577
|
+
</div>
|
578
|
+
<hr>
|
579
|
+
<div class="refsect2">
|
580
|
+
<a name="atk-component-get-alpha"></a><h3>atk_component_get_alpha ()</h3>
|
581
|
+
<pre class="programlisting"><span class="returnvalue">gdouble</span> atk_component_get_alpha (<em class="parameter"><code><a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a> *component</code></em>);</pre>
|
582
|
+
<p>
|
583
|
+
Returns the alpha value (i.e. the opacity) for this
|
584
|
+
<em class="parameter"><code>component</code></em>, on a scale from 0 (fully transparent) to 1.0
|
585
|
+
(fully opaque).
|
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>component</code></em> :</span></p></td>
|
592
|
+
<td>an <a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a>
|
593
|
+
</td>
|
594
|
+
</tr>
|
595
|
+
<tr>
|
596
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
597
|
+
<td>An alpha value from 0 to 1.0, inclusive.</td>
|
598
|
+
</tr>
|
599
|
+
</tbody>
|
600
|
+
</table></div>
|
601
|
+
<p class="since">Since 1.12</p>
|
602
|
+
</div>
|
603
|
+
</div>
|
604
|
+
<div class="refsect1">
|
605
|
+
<a name="AtkComponent.signal-details"></a><h2>Signal Details</h2>
|
606
|
+
<div class="refsect2">
|
607
|
+
<a name="AtkComponent-bounds-changed"></a><h3>The <code class="literal">"bounds-changed"</code> signal</h3>
|
608
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a> *atkcomponent,
|
609
|
+
<span class="type">AtkRectangle</span> *arg1,
|
610
|
+
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
|
611
|
+
<p>
|
612
|
+
The 'bounds-changed" signal is emitted when the bposition or size of the
|
613
|
+
a component changes.
|
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>atkcomponent</code></em> :</span></p></td>
|
620
|
+
<td>the object which received the signal.</td>
|
621
|
+
</tr>
|
622
|
+
<tr>
|
623
|
+
<td><p><span class="term"><em class="parameter"><code>arg1</code></em> :</span></p></td>
|
624
|
+
<td>The AtkRectangle giving the new position and size.</td>
|
625
|
+
</tr>
|
626
|
+
<tr>
|
627
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
628
|
+
<td>user data set when the signal handler was connected.</td>
|
629
|
+
</tr>
|
630
|
+
</tbody>
|
631
|
+
</table></div>
|
632
|
+
</div>
|
633
|
+
</div>
|
634
|
+
</div>
|
635
|
+
<div class="footer">
|
636
|
+
<hr>
|
637
|
+
Generated by GTK-Doc V1.18.1</div>
|
638
|
+
</body>
|
639
|
+
</html>
|