atk 2.2.0-x86-mingw32 → 2.2.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/lib/2.0/atk.so +0 -0
- data/vendor/local/bin/libatk-1.0-0.dll +0 -0
- data/vendor/local/include/atk-1.0/atk/atk-enum-types.h +16 -0
- data/vendor/local/include/atk-1.0/atk/atk.h +3 -0
- data/vendor/local/include/atk-1.0/atk/atkaction.h +8 -1
- data/vendor/local/include/atk-1.0/atk/atkcomponent.h +20 -2
- data/vendor/local/include/atk-1.0/atk/atkdocument.h +29 -2
- data/vendor/local/include/atk-1.0/atk/atkeditabletext.h +8 -0
- data/vendor/local/include/atk-1.0/atk/atkgobjectaccessible.h +3 -0
- data/vendor/local/include/atk-1.0/atk/atkhyperlink.h +9 -1
- data/vendor/local/include/atk-1.0/atk/atkhyperlinkimpl.h +2 -0
- data/vendor/local/include/atk-1.0/atk/atkhypertext.h +4 -0
- data/vendor/local/include/atk-1.0/atk/atkimage.h +6 -0
- data/vendor/local/include/atk-1.0/atk/atkmisc.h +19 -19
- data/vendor/local/include/atk-1.0/atk/atknoopobject.h +4 -0
- data/vendor/local/include/atk-1.0/atk/atknoopobjectfactory.h +2 -0
- data/vendor/local/include/atk-1.0/atk/atkobject.h +133 -26
- data/vendor/local/include/atk-1.0/atk/atkobjectfactory.h +5 -0
- data/vendor/local/include/atk-1.0/atk/atkplug.h +5 -0
- data/vendor/local/include/atk-1.0/atk/atkrange.h +59 -0
- data/vendor/local/include/atk-1.0/atk/atkregistry.h +5 -15
- data/vendor/local/include/atk-1.0/atk/atkrelation.h +10 -0
- data/vendor/local/include/atk-1.0/atk/atkrelationset.h +10 -0
- data/vendor/local/include/atk-1.0/atk/atkselection.h +8 -0
- data/vendor/local/include/atk-1.0/atk/atksocket.h +6 -0
- data/vendor/local/include/atk-1.0/atk/atkstate.h +14 -2
- data/vendor/local/include/atk-1.0/atk/atkstateset.h +12 -0
- data/vendor/local/include/atk-1.0/atk/atkstreamablecontent.h +6 -1
- data/vendor/local/include/atk-1.0/atk/atktable.h +30 -6
- data/vendor/local/include/atk-1.0/atk/atktablecell.h +104 -0
- data/vendor/local/include/atk-1.0/atk/atktext.h +30 -5
- data/vendor/local/include/atk-1.0/atk/atkutil.h +35 -4
- data/vendor/local/include/atk-1.0/atk/atkvalue.h +88 -17
- data/vendor/local/include/atk-1.0/atk/atkversion.h +281 -2
- data/vendor/local/include/atk-1.0/atk/atkwindow.h +1 -0
- data/vendor/local/lib/girepository-1.0/Atk-1.0.typelib +0 -0
- data/vendor/local/lib/libatk-1.0.dll.a +0 -0
- data/vendor/local/lib/libatk-1.0.la +3 -3
- data/vendor/local/lib/pkgconfig/atk.pc +1 -1
- data/vendor/local/share/gir-1.0/Atk-1.0.gir +3410 -899
- data/vendor/local/share/gtk-doc/html/atk/AtkAction.html +343 -233
- data/vendor/local/share/gtk-doc/html/atk/AtkComponent.html +872 -578
- data/vendor/local/share/gtk-doc/html/atk/AtkDocument.html +558 -251
- data/vendor/local/share/gtk-doc/html/atk/AtkEditableText.html +298 -192
- data/vendor/local/share/gtk-doc/html/atk/AtkGObjectAccessible.html +117 -75
- data/vendor/local/share/gtk-doc/html/atk/AtkHyperlink.html +434 -273
- data/vendor/local/share/gtk-doc/html/atk/AtkHypertext.html +195 -119
- data/vendor/local/share/gtk-doc/html/atk/AtkImage.html +224 -143
- data/vendor/local/share/gtk-doc/html/atk/AtkMisc.html +191 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkNoOpObject.html +83 -59
- data/vendor/local/share/gtk-doc/html/atk/AtkNoOpObjectFactory.html +66 -49
- data/vendor/local/share/gtk-doc/html/atk/AtkObject.html +2398 -1337
- data/vendor/local/share/gtk-doc/html/atk/AtkObjectFactory.html +154 -96
- data/vendor/local/share/gtk-doc/html/atk/AtkRegistry.html +192 -118
- data/vendor/local/share/gtk-doc/html/atk/AtkRelation.html +496 -278
- data/vendor/local/share/gtk-doc/html/atk/AtkRelationSet.html +294 -193
- data/vendor/local/share/gtk-doc/html/atk/AtkSelection.html +333 -201
- data/vendor/local/share/gtk-doc/html/atk/AtkStateSet.html +403 -256
- data/vendor/local/share/gtk-doc/html/atk/AtkStreamableContent.html +192 -130
- data/vendor/local/share/gtk-doc/html/atk/AtkTable.html +1363 -776
- data/vendor/local/share/gtk-doc/html/atk/AtkTableCell.html +497 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkText.html +1975 -1446
- data/vendor/local/share/gtk-doc/html/atk/AtkUtil.html +862 -524
- data/vendor/local/share/gtk-doc/html/atk/AtkValue.html +638 -108
- data/vendor/local/share/gtk-doc/html/atk/AtkWindow.html +302 -175
- data/vendor/local/share/gtk-doc/html/atk/accessibles.html +49 -0
- data/vendor/local/share/gtk-doc/html/atk/api-index-1-12.html +18 -18
- data/vendor/local/share/gtk-doc/html/atk/api-index-1-13.html +21 -11
- data/vendor/local/share/gtk-doc/html/atk/api-index-1-20.html +11 -11
- data/vendor/local/share/gtk-doc/html/atk/api-index-1-22.html +10 -10
- data/vendor/local/share/gtk-doc/html/atk/api-index-1-3.html +11 -11
- data/vendor/local/share/gtk-doc/html/atk/api-index-1-30.html +15 -15
- data/vendor/local/share/gtk-doc/html/atk/api-index-1-4.html +9 -9
- data/vendor/local/share/gtk-doc/html/atk/api-index-1-6.html +11 -11
- data/vendor/local/share/gtk-doc/html/atk/api-index-1-9.html +39 -0
- data/vendor/local/share/gtk-doc/html/atk/api-index-2-10.html +35 -0
- data/vendor/local/share/gtk-doc/html/atk/api-index-2-12.html +78 -0
- data/vendor/local/share/gtk-doc/html/atk/api-index-2-2.html +53 -0
- data/vendor/local/share/gtk-doc/html/atk/api-index-2-8.html +47 -0
- data/vendor/local/share/gtk-doc/html/atk/api-index-deprecated.html +75 -25
- data/vendor/local/share/gtk-doc/html/atk/api-index-full.html +358 -288
- data/vendor/local/share/gtk-doc/html/atk/atk-AtkHyperlinkImpl.html +82 -60
- data/vendor/local/share/gtk-doc/html/atk/atk-AtkPlug.html +99 -52
- data/vendor/local/share/gtk-doc/html/atk/atk-AtkRange.html +328 -0
- data/vendor/local/share/gtk-doc/html/atk/atk-AtkSocket.html +139 -91
- data/vendor/local/share/gtk-doc/html/atk/atk-AtkState.html +355 -226
- data/vendor/local/share/gtk-doc/html/atk/atk-Versioning-Utilities.html +203 -142
- data/vendor/local/share/gtk-doc/html/atk/atk.devhelp2 +378 -547
- data/vendor/local/share/gtk-doc/html/atk/atkobject.html +33 -0
- data/vendor/local/share/gtk-doc/html/atk/data.html +49 -0
- data/vendor/local/share/gtk-doc/html/atk/deprecated.html +33 -0
- data/vendor/local/share/gtk-doc/html/atk/index.html +70 -46
- data/vendor/local/share/gtk-doc/html/atk/index.sgml +419 -519
- data/vendor/local/share/gtk-doc/html/atk/{atk.html → interfaces.html} +17 -60
- data/vendor/local/share/gtk-doc/html/atk/overview.html +47 -0
- data/vendor/local/share/gtk-doc/html/atk/style.css +260 -105
- data/vendor/local/share/gtk-doc/html/atk/toolkit.html +33 -0
- data/vendor/local/share/gtk-doc/html/atk/utilities.html +28 -14
- data/vendor/local/share/license/atk/AUTHORS +18 -5
- data/vendor/local/share/locale/an/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/as/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/es/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/fi/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/he/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/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/nb/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/sk/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/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
- metadata +27 -19
- data/lib/1.9/atk.so +0 -0
- data/lib/2.1/atk.so +0 -0
- data/vendor/local/lib/atk-1.0.def +0 -248
- data/vendor/local/share/gtk-doc/html/atk/api-index-1-18.html +0 -31
- data/vendor/local/share/gtk-doc/html/atk/api-index-1-24.html +0 -31
- data/vendor/local/share/gtk-doc/html/atk/api-index-1-26.html +0 -31
- data/vendor/local/share/gtk-doc/html/atk/api-index-1-28.html +0 -31
- data/vendor/local/share/gtk-doc/html/atk/api-index-1-32.html +0 -30
@@ -2,30 +2,26 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
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.
|
5
|
+
<title>ATK - Accessibility Toolkit: AtkComponent</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="ATK - Accessibility Toolkit">
|
8
|
-
<link rel="up" href="
|
8
|
+
<link rel="up" href="interfaces.html" title="ATK Interfaces">
|
9
9
|
<link rel="prev" href="AtkAction.html" title="AtkAction">
|
10
10
|
<link rel="next" href="AtkDocument.html" title="AtkDocument">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.21.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
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="
|
16
|
-
<td width="100%" align="left">
|
17
|
-
<a href="#" class="shortcut">Top</a>
|
18
|
-
|
19
|
-
<a href="#AtkComponent.
|
20
|
-
|
21
|
-
<a href="#AtkComponent.
|
22
|
-
|
|
23
|
-
<a href="#AtkComponent.implementations" class="shortcut">Known Implementations</a>
|
24
|
-
|
|
25
|
-
<a href="#AtkComponent.signals" class="shortcut">Signals</a>
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
|
+
<td width="100%" align="left" class="shortcuts">
|
17
|
+
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
18
|
+
<a href="#AtkComponent.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#AtkComponent.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_implementations"> <span class="dim">|</span>
|
20
|
+
<a href="#AtkComponent.implementations" class="shortcut">Known Implementations</a></span><span id="nav_signals"> <span class="dim">|</span>
|
21
|
+
<a href="#AtkComponent.signals" class="shortcut">Signals</a></span>
|
26
22
|
</td>
|
27
23
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
28
|
-
<td><a accesskey="u" href="
|
24
|
+
<td><a accesskey="u" href="interfaces.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
29
25
|
<td><a accesskey="p" href="AtkAction.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
30
26
|
<td><a accesskey="n" href="AtkDocument.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
31
27
|
</tr></table>
|
@@ -38,815 +34,1113 @@
|
|
38
34
|
which occupy a physical area on the screen.
|
39
35
|
which the user can activate/interact with.</p>
|
40
36
|
</td>
|
41
|
-
<td valign="top" align="right"></td>
|
37
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
42
38
|
</tr></table></div>
|
43
|
-
<div class="refsynopsisdiv">
|
44
|
-
<a name="AtkComponent.synopsis"></a><h2>Synopsis</h2>
|
45
|
-
<pre class="synopsis"> <a class="link" href="AtkComponent.html#AtkComponent-struct" title="AtkComponent">AtkComponent</a>;
|
46
|
-
struct <a class="link" href="AtkComponent.html#AtkComponentIface" title="struct AtkComponentIface">AtkComponentIface</a>;
|
47
|
-
<span class="returnvalue">void</span> (<a class="link" href="AtkComponent.html#AtkFocusHandler" title="AtkFocusHandler ()">*AtkFocusHandler</a>) (<em class="parameter"><code><a class="link" href="AtkObject.html" title="AtkObject"><span class="type">AtkObject</span></a> *object</code></em>,
|
48
|
-
<em class="parameter"><code><span class="type">gboolean</span> focus_in</code></em>);
|
49
|
-
struct <a class="link" href="AtkComponent.html#AtkRectangle" title="struct AtkRectangle">AtkRectangle</a>;
|
50
|
-
<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>,
|
51
|
-
<em class="parameter"><code><a class="link" href="AtkComponent.html#AtkFocusHandler" title="AtkFocusHandler ()"><span class="type">AtkFocusHandler</span></a> handler</code></em>);
|
52
|
-
<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>,
|
53
|
-
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
54
|
-
<em class="parameter"><code><span class="type">gint</span> y</code></em>,
|
55
|
-
<em class="parameter"><code><a class="link" href="AtkUtil.html#AtkCoordType" title="enum AtkCoordType"><span class="type">AtkCoordType</span></a> coord_type</code></em>);
|
56
|
-
<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>,
|
57
|
-
<em class="parameter"><code><span class="type">gint</span> *x</code></em>,
|
58
|
-
<em class="parameter"><code><span class="type">gint</span> *y</code></em>,
|
59
|
-
<em class="parameter"><code><span class="type">gint</span> *width</code></em>,
|
60
|
-
<em class="parameter"><code><span class="type">gint</span> *height</code></em>,
|
61
|
-
<em class="parameter"><code><a class="link" href="AtkUtil.html#AtkCoordType" title="enum AtkCoordType"><span class="type">AtkCoordType</span></a> coord_type</code></em>);
|
62
|
-
<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>);
|
63
|
-
<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>);
|
64
|
-
<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>,
|
65
|
-
<em class="parameter"><code><span class="type">gint</span> *x</code></em>,
|
66
|
-
<em class="parameter"><code><span class="type">gint</span> *y</code></em>,
|
67
|
-
<em class="parameter"><code><a class="link" href="AtkUtil.html#AtkCoordType" title="enum AtkCoordType"><span class="type">AtkCoordType</span></a> coord_type</code></em>);
|
68
|
-
<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>,
|
69
|
-
<em class="parameter"><code><span class="type">gint</span> *width</code></em>,
|
70
|
-
<em class="parameter"><code><span class="type">gint</span> *height</code></em>);
|
71
|
-
<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>);
|
72
|
-
<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>
|
73
|
-
(<em class="parameter"><code><a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a> *component</code></em>,
|
74
|
-
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
75
|
-
<em class="parameter"><code><span class="type">gint</span> y</code></em>,
|
76
|
-
<em class="parameter"><code><a class="link" href="AtkUtil.html#AtkCoordType" title="enum AtkCoordType"><span class="type">AtkCoordType</span></a> coord_type</code></em>);
|
77
|
-
<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>,
|
78
|
-
<em class="parameter"><code><span class="type">guint</span> handler_id</code></em>);
|
79
|
-
<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>,
|
80
|
-
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
81
|
-
<em class="parameter"><code><span class="type">gint</span> y</code></em>,
|
82
|
-
<em class="parameter"><code><span class="type">gint</span> width</code></em>,
|
83
|
-
<em class="parameter"><code><span class="type">gint</span> height</code></em>,
|
84
|
-
<em class="parameter"><code><a class="link" href="AtkUtil.html#AtkCoordType" title="enum AtkCoordType"><span class="type">AtkCoordType</span></a> coord_type</code></em>);
|
85
|
-
<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>,
|
86
|
-
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
87
|
-
<em class="parameter"><code><span class="type">gint</span> y</code></em>,
|
88
|
-
<em class="parameter"><code><a class="link" href="AtkUtil.html#AtkCoordType" title="enum AtkCoordType"><span class="type">AtkCoordType</span></a> coord_type</code></em>);
|
89
|
-
<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>,
|
90
|
-
<em class="parameter"><code><span class="type">gint</span> width</code></em>,
|
91
|
-
<em class="parameter"><code><span class="type">gint</span> height</code></em>);
|
92
|
-
<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>);
|
93
|
-
</pre>
|
94
|
-
</div>
|
95
|
-
<div class="refsect1">
|
96
|
-
<a name="AtkComponent.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
97
|
-
<pre class="synopsis">
|
98
|
-
GInterface
|
99
|
-
+----AtkComponent
|
100
|
-
</pre>
|
101
|
-
</div>
|
102
|
-
<div class="refsect1">
|
103
|
-
<a name="AtkComponent.implementations"></a><h2>Known Implementations</h2>
|
104
|
-
<p>
|
105
|
-
AtkComponent is implemented by
|
106
|
-
<a class="link" href="AtkNoOpObject.html" title="AtkNoOpObject">AtkNoOpObject</a>.</p>
|
107
|
-
</div>
|
108
|
-
<div class="refsect1">
|
109
|
-
<a name="AtkComponent.signals"></a><h2>Signals</h2>
|
110
|
-
<pre class="synopsis">
|
111
|
-
"<a class="link" href="AtkComponent.html#AtkComponent-bounds-changed" title='The "bounds-changed" signal'>bounds-changed</a>" : <code class="literal">Run Last</code>
|
112
|
-
</pre>
|
113
|
-
</div>
|
114
|
-
<div class="refsect1">
|
115
|
-
<a name="AtkComponent.description"></a><h2>Description</h2>
|
116
|
-
<p>
|
117
|
-
<a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a> should be implemented by most if not all UI elements
|
118
|
-
with an actual on-screen presence, i.e. components which can be
|
119
|
-
said to have a screen-coordinate bounding box. Virtually all
|
120
|
-
widgets will need to have <a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a> implementations provided
|
121
|
-
for their corresponding <a class="link" href="AtkObject.html" title="AtkObject"><span class="type">AtkObject</span></a> class. In short, only UI
|
122
|
-
elements which are *not* GUI elements will omit this ATK interface.
|
123
|
-
</p>
|
124
|
-
<p>
|
125
|
-
A possible exception might be textual information with a
|
126
|
-
transparent background, in which case text glyph bounding box
|
127
|
-
information is provided by <a class="link" href="AtkText.html" title="AtkText"><span class="type">AtkText</span></a>.
|
128
|
-
</p>
|
129
|
-
</div>
|
130
39
|
<div class="refsect1">
|
131
|
-
<a name="AtkComponent.
|
132
|
-
<div class="
|
133
|
-
<
|
134
|
-
<
|
135
|
-
<
|
136
|
-
</
|
137
|
-
</div>
|
138
|
-
<hr>
|
139
|
-
<div class="refsect2">
|
140
|
-
<a name="AtkComponentIface"></a><h3>struct AtkComponentIface</h3>
|
141
|
-
<pre class="programlisting">struct AtkComponentIface {
|
142
|
-
GTypeInterface parent;
|
143
|
-
|
144
|
-
guint (* add_focus_handler) (AtkComponent *component,
|
145
|
-
AtkFocusHandler handler);
|
146
|
-
|
147
|
-
gboolean (* contains) (AtkComponent *component,
|
148
|
-
gint x,
|
149
|
-
gint y,
|
150
|
-
AtkCoordType coord_type);
|
151
|
-
|
152
|
-
AtkObject* (* ref_accessible_at_point) (AtkComponent *component,
|
153
|
-
gint x,
|
154
|
-
gint y,
|
155
|
-
AtkCoordType coord_type);
|
156
|
-
void (* get_extents) (AtkComponent *component,
|
157
|
-
gint *x,
|
158
|
-
gint *y,
|
159
|
-
gint *width,
|
160
|
-
gint *height,
|
161
|
-
AtkCoordType coord_type);
|
162
|
-
void (* get_position) (AtkComponent *component,
|
163
|
-
gint *x,
|
164
|
-
gint *y,
|
165
|
-
AtkCoordType coord_type);
|
166
|
-
void (* get_size) (AtkComponent *component,
|
167
|
-
gint *width,
|
168
|
-
gint *height);
|
169
|
-
gboolean (* grab_focus) (AtkComponent *component);
|
170
|
-
void (* remove_focus_handler) (AtkComponent *component,
|
171
|
-
guint handler_id);
|
172
|
-
gboolean (* set_extents) (AtkComponent *component,
|
173
|
-
gint x,
|
174
|
-
gint y,
|
175
|
-
gint width,
|
176
|
-
gint height,
|
177
|
-
AtkCoordType coord_type);
|
178
|
-
gboolean (* set_position) (AtkComponent *component,
|
179
|
-
gint x,
|
180
|
-
gint y,
|
181
|
-
AtkCoordType coord_type);
|
182
|
-
gboolean (* set_size) (AtkComponent *component,
|
183
|
-
gint width,
|
184
|
-
gint height);
|
185
|
-
|
186
|
-
AtkLayer (* get_layer) (AtkComponent *component);
|
187
|
-
gint (* get_mdi_zorder) (AtkComponent *component);
|
188
|
-
|
189
|
-
/*
|
190
|
-
* signal handlers
|
191
|
-
*/
|
192
|
-
void (* bounds_changed) (AtkComponent *component,
|
193
|
-
AtkRectangle *bounds);
|
194
|
-
gdouble (* get_alpha) (AtkComponent *component);
|
195
|
-
};
|
196
|
-
</pre>
|
197
|
-
<div class="variablelist"><table border="0">
|
198
|
-
<col align="left" valign="top">
|
40
|
+
<a name="AtkComponent.functions"></a><h2>Functions</h2>
|
41
|
+
<div class="informaltable"><table width="100%" border="0">
|
42
|
+
<colgroup>
|
43
|
+
<col width="150px" class="functions_return">
|
44
|
+
<col class="functions_name">
|
45
|
+
</colgroup>
|
199
46
|
<tbody>
|
200
47
|
<tr>
|
201
|
-
<td
|
202
|
-
<
|
203
|
-
</
|
204
|
-
<
|
205
|
-
<
|
206
|
-
|
207
|
-
and it should not be overriden. See
|
208
|
-
<a class="link" href="AtkComponent.html#atk-component-add-focus-handler" title="atk_component_add_focus_handler ()"><code class="function">atk_component_add_focus_handler()</code></a> for more information.</td>
|
48
|
+
<td class="function_type">
|
49
|
+
<span class="returnvalue">void</span>
|
50
|
+
</td>
|
51
|
+
<td class="function_name">
|
52
|
+
<span class="c_punctuation">(</span><a class="link" href="AtkComponent.html#AtkFocusHandler" title="AtkFocusHandler ()">*AtkFocusHandler</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
|
53
|
+
</td>
|
209
54
|
</tr>
|
210
55
|
<tr>
|
211
|
-
<td
|
212
|
-
<
|
56
|
+
<td class="function_type">
|
57
|
+
<span class="returnvalue">guint</span>
|
58
|
+
</td>
|
59
|
+
<td class="function_name">
|
60
|
+
<a class="link" href="AtkComponent.html#atk-component-add-focus-handler" title="atk_component_add_focus_handler ()">atk_component_add_focus_handler</a> <span class="c_punctuation">()</span>
|
61
|
+
</td>
|
213
62
|
</tr>
|
214
63
|
<tr>
|
215
|
-
<td
|
216
|
-
<
|
64
|
+
<td class="function_type">
|
65
|
+
<span class="returnvalue">gboolean</span>
|
66
|
+
</td>
|
67
|
+
<td class="function_name">
|
68
|
+
<a class="link" href="AtkComponent.html#atk-component-contains" title="atk_component_contains ()">atk_component_contains</a> <span class="c_punctuation">()</span>
|
69
|
+
</td>
|
217
70
|
</tr>
|
218
71
|
<tr>
|
219
|
-
<td
|
220
|
-
<
|
72
|
+
<td class="function_type">
|
73
|
+
<span class="returnvalue">void</span>
|
74
|
+
</td>
|
75
|
+
<td class="function_name">
|
76
|
+
<a class="link" href="AtkComponent.html#atk-component-get-extents" title="atk_component_get_extents ()">atk_component_get_extents</a> <span class="c_punctuation">()</span>
|
77
|
+
</td>
|
221
78
|
</tr>
|
222
79
|
<tr>
|
223
|
-
<td
|
224
|
-
<
|
80
|
+
<td class="function_type">
|
81
|
+
<a class="link" href="AtkObject.html#AtkLayer" title="enum AtkLayer"><span class="returnvalue">AtkLayer</span></a>
|
82
|
+
</td>
|
83
|
+
<td class="function_name">
|
84
|
+
<a class="link" href="AtkComponent.html#atk-component-get-layer" title="atk_component_get_layer ()">atk_component_get_layer</a> <span class="c_punctuation">()</span>
|
85
|
+
</td>
|
225
86
|
</tr>
|
226
87
|
<tr>
|
227
|
-
<td
|
228
|
-
<
|
88
|
+
<td class="function_type">
|
89
|
+
<span class="returnvalue">gint</span>
|
90
|
+
</td>
|
91
|
+
<td class="function_name">
|
92
|
+
<a class="link" href="AtkComponent.html#atk-component-get-mdi-zorder" title="atk_component_get_mdi_zorder ()">atk_component_get_mdi_zorder</a> <span class="c_punctuation">()</span>
|
93
|
+
</td>
|
229
94
|
</tr>
|
230
95
|
<tr>
|
231
|
-
<td
|
232
|
-
<
|
96
|
+
<td class="function_type">
|
97
|
+
<span class="returnvalue">void</span>
|
98
|
+
</td>
|
99
|
+
<td class="function_name">
|
100
|
+
<a class="link" href="AtkComponent.html#atk-component-get-position" title="atk_component_get_position ()">atk_component_get_position</a> <span class="c_punctuation">()</span>
|
101
|
+
</td>
|
233
102
|
</tr>
|
234
103
|
<tr>
|
235
|
-
<td
|
236
|
-
<
|
237
|
-
|
238
|
-
<
|
104
|
+
<td class="function_type">
|
105
|
+
<span class="returnvalue">void</span>
|
106
|
+
</td>
|
107
|
+
<td class="function_name">
|
108
|
+
<a class="link" href="AtkComponent.html#atk-component-get-size" title="atk_component_get_size ()">atk_component_get_size</a> <span class="c_punctuation">()</span>
|
109
|
+
</td>
|
239
110
|
</tr>
|
240
111
|
<tr>
|
241
|
-
<td
|
242
|
-
<
|
112
|
+
<td class="function_type">
|
113
|
+
<span class="returnvalue">gboolean</span>
|
114
|
+
</td>
|
115
|
+
<td class="function_name">
|
116
|
+
<a class="link" href="AtkComponent.html#atk-component-grab-focus" title="atk_component_grab_focus ()">atk_component_grab_focus</a> <span class="c_punctuation">()</span>
|
117
|
+
</td>
|
243
118
|
</tr>
|
244
119
|
<tr>
|
245
|
-
<td
|
246
|
-
<
|
120
|
+
<td class="function_type">
|
121
|
+
<a class="link" href="AtkObject.html" title="AtkObject"><span class="returnvalue">AtkObject</span></a> *
|
122
|
+
</td>
|
123
|
+
<td class="function_name">
|
124
|
+
<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> <span class="c_punctuation">()</span>
|
125
|
+
</td>
|
247
126
|
</tr>
|
248
127
|
<tr>
|
249
|
-
<td
|
250
|
-
<
|
128
|
+
<td class="function_type">
|
129
|
+
<span class="returnvalue">void</span>
|
130
|
+
</td>
|
131
|
+
<td class="function_name">
|
132
|
+
<a class="link" href="AtkComponent.html#atk-component-remove-focus-handler" title="atk_component_remove_focus_handler ()">atk_component_remove_focus_handler</a> <span class="c_punctuation">()</span>
|
133
|
+
</td>
|
251
134
|
</tr>
|
252
135
|
<tr>
|
253
|
-
<td
|
254
|
-
<
|
136
|
+
<td class="function_type">
|
137
|
+
<span class="returnvalue">gboolean</span>
|
138
|
+
</td>
|
139
|
+
<td class="function_name">
|
140
|
+
<a class="link" href="AtkComponent.html#atk-component-set-extents" title="atk_component_set_extents ()">atk_component_set_extents</a> <span class="c_punctuation">()</span>
|
141
|
+
</td>
|
255
142
|
</tr>
|
256
143
|
<tr>
|
257
|
-
<td
|
258
|
-
<
|
144
|
+
<td class="function_type">
|
145
|
+
<span class="returnvalue">gboolean</span>
|
146
|
+
</td>
|
147
|
+
<td class="function_name">
|
148
|
+
<a class="link" href="AtkComponent.html#atk-component-set-position" title="atk_component_set_position ()">atk_component_set_position</a> <span class="c_punctuation">()</span>
|
149
|
+
</td>
|
259
150
|
</tr>
|
260
151
|
<tr>
|
261
|
-
<td
|
262
|
-
<
|
152
|
+
<td class="function_type">
|
153
|
+
<span class="returnvalue">gboolean</span>
|
154
|
+
</td>
|
155
|
+
<td class="function_name">
|
156
|
+
<a class="link" href="AtkComponent.html#atk-component-set-size" title="atk_component_set_size ()">atk_component_set_size</a> <span class="c_punctuation">()</span>
|
157
|
+
</td>
|
263
158
|
</tr>
|
264
159
|
<tr>
|
265
|
-
<td
|
266
|
-
<
|
160
|
+
<td class="function_type">
|
161
|
+
<span class="returnvalue">gdouble</span>
|
162
|
+
</td>
|
163
|
+
<td class="function_name">
|
164
|
+
<a class="link" href="AtkComponent.html#atk-component-get-alpha" title="atk_component_get_alpha ()">atk_component_get_alpha</a> <span class="c_punctuation">()</span>
|
165
|
+
</td>
|
267
166
|
</tr>
|
268
167
|
</tbody>
|
269
168
|
</table></div>
|
270
169
|
</div>
|
271
|
-
<
|
272
|
-
<
|
273
|
-
<
|
274
|
-
<
|
275
|
-
|
276
|
-
<
|
277
|
-
<
|
278
|
-
|
279
|
-
<
|
280
|
-
<
|
281
|
-
|
170
|
+
<div class="refsect1">
|
171
|
+
<a name="AtkComponent.signals"></a><h2>Signals</h2>
|
172
|
+
<div class="informaltable"><table border="0">
|
173
|
+
<colgroup>
|
174
|
+
<col width="150px" class="signals_return">
|
175
|
+
<col width="300px" class="signals_name">
|
176
|
+
<col width="200px" class="signals_flags">
|
177
|
+
</colgroup>
|
178
|
+
<tbody><tr>
|
179
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
180
|
+
<td class="signal_name"><a class="link" href="AtkComponent.html#AtkComponent-bounds-changed" title="The “bounds-changed” signal">bounds-changed</a></td>
|
181
|
+
<td class="signal_flags">Run Last</td>
|
182
|
+
</tr></tbody>
|
183
|
+
</table></div>
|
282
184
|
</div>
|
283
|
-
<
|
284
|
-
|
285
|
-
<
|
286
|
-
<
|
287
|
-
|
288
|
-
<
|
289
|
-
|
185
|
+
<div class="refsect1">
|
186
|
+
<a name="AtkComponent.other"></a><h2>Types and Values</h2>
|
187
|
+
<div class="informaltable"><table width="100%" border="0">
|
188
|
+
<colgroup>
|
189
|
+
<col width="150px" class="name">
|
190
|
+
<col class="description">
|
191
|
+
</colgroup>
|
290
192
|
<tbody>
|
291
193
|
<tr>
|
292
|
-
<td
|
293
|
-
<td
|
194
|
+
<td class="datatype_keyword"> </td>
|
195
|
+
<td class="function_name"><a class="link" href="AtkComponent.html#AtkComponent-struct" title="AtkComponent">AtkComponent</a></td>
|
294
196
|
</tr>
|
295
197
|
<tr>
|
296
|
-
<td
|
297
|
-
<td
|
198
|
+
<td class="datatype_keyword">struct</td>
|
199
|
+
<td class="function_name"><a class="link" href="AtkComponent.html#AtkComponentIface" title="struct AtkComponentIface">AtkComponentIface</a></td>
|
200
|
+
</tr>
|
201
|
+
<tr>
|
202
|
+
<td class="datatype_keyword">struct</td>
|
203
|
+
<td class="function_name"><a class="link" href="AtkComponent.html#AtkRectangle" title="struct AtkRectangle">AtkRectangle</a></td>
|
298
204
|
</tr>
|
299
205
|
</tbody>
|
300
206
|
</table></div>
|
301
207
|
</div>
|
302
|
-
<
|
303
|
-
<
|
304
|
-
<
|
305
|
-
<
|
306
|
-
gint x;
|
307
|
-
gint y;
|
308
|
-
gint width;
|
309
|
-
gint height;
|
310
|
-
};
|
208
|
+
<div class="refsect1">
|
209
|
+
<a name="AtkComponent.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
210
|
+
<pre class="screen"> GInterface
|
211
|
+
<span class="lineart">╰──</span> AtkComponent
|
311
212
|
</pre>
|
213
|
+
</div>
|
214
|
+
<div class="refsect1">
|
215
|
+
<a name="AtkComponent.implementations"></a><h2>Known Implementations</h2>
|
312
216
|
<p>
|
313
|
-
|
314
|
-
|
315
|
-
</
|
316
|
-
<div class="
|
317
|
-
<
|
217
|
+
AtkComponent is implemented by
|
218
|
+
<a class="link" href="AtkNoOpObject.html" title="AtkNoOpObject">AtkNoOpObject</a>.</p>
|
219
|
+
</div>
|
220
|
+
<div class="refsect1">
|
221
|
+
<a name="AtkComponent.description"></a><h2>Description</h2>
|
222
|
+
<p><a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a> should be implemented by most if not all UI elements
|
223
|
+
with an actual on-screen presence, i.e. components which can be
|
224
|
+
said to have a screen-coordinate bounding box. Virtually all
|
225
|
+
widgets will need to have <a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a> implementations provided
|
226
|
+
for their corresponding <a class="link" href="AtkObject.html" title="AtkObject"><span class="type">AtkObject</span></a> class. In short, only UI
|
227
|
+
elements which are *not* GUI elements will omit this ATK interface.</p>
|
228
|
+
<p>A possible exception might be textual information with a
|
229
|
+
transparent background, in which case text glyph bounding box
|
230
|
+
information is provided by <a class="link" href="AtkText.html" title="AtkText"><span class="type">AtkText</span></a>.</p>
|
231
|
+
</div>
|
232
|
+
<div class="refsect1">
|
233
|
+
<a name="AtkComponent.functions_details"></a><h2>Functions</h2>
|
234
|
+
<div class="refsect2">
|
235
|
+
<a name="AtkFocusHandler"></a><h3>AtkFocusHandler ()</h3>
|
236
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
237
|
+
<span class="c_punctuation">(</span>*AtkFocusHandler<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="AtkObject.html" title="AtkObject"><span class="type">AtkObject</span></a> *object</code></em>,
|
238
|
+
<em class="parameter"><code><span class="type">gboolean</span> focus_in</code></em>);</pre>
|
239
|
+
<div class="warning">
|
240
|
+
<p><code class="literal">AtkFocusHandler</code> is deprecated and should not be used in newly-written code.</p>
|
241
|
+
<p>This type is deprecated since ATK version 2.9.4. as
|
242
|
+
<a class="link" href="AtkComponent.html#atk-component-add-focus-handler" title="atk_component_add_focus_handler ()"><code class="function">atk_component_add_focus_handler()</code></a> and
|
243
|
+
<a class="link" href="AtkComponent.html#atk-component-remove-focus-handler" title="atk_component_remove_focus_handler ()"><code class="function">atk_component_remove_focus_handler()</code></a> are deprecated. See those
|
244
|
+
methods for more information.</p>
|
245
|
+
</div>
|
246
|
+
<p>The type of callback function used for
|
247
|
+
<a class="link" href="AtkComponent.html#atk-component-add-focus-handler" title="atk_component_add_focus_handler ()"><code class="function">atk_component_add_focus_handler()</code></a> and
|
248
|
+
<a class="link" href="AtkComponent.html#atk-component-remove-focus-handler" title="atk_component_remove_focus_handler ()"><code class="function">atk_component_remove_focus_handler()</code></a></p>
|
249
|
+
<div class="refsect3">
|
250
|
+
<a name="id-1.5.3.9.2.6"></a><h4>Parameters</h4>
|
251
|
+
<div class="informaltable"><table width="100%" border="0">
|
252
|
+
<colgroup>
|
253
|
+
<col width="150px" class="parameters_name">
|
254
|
+
<col class="parameters_description">
|
255
|
+
<col width="200px" class="parameters_annotations">
|
256
|
+
</colgroup>
|
318
257
|
<tbody>
|
319
258
|
<tr>
|
320
|
-
<td
|
321
|
-
<td>
|
322
|
-
</
|
323
|
-
<tr>
|
324
|
-
<td><p><span class="term"><span class="type">gint</span> <em class="structfield"><code><a name="AtkRectangle.y"></a>y</code></em>;</span></p></td>
|
325
|
-
<td>Y coordinate of the top side of the rectangle.</td>
|
259
|
+
<td class="parameter_name"><p>object</p></td>
|
260
|
+
<td class="parameter_description"><p>the <a class="link" href="AtkObject.html" title="AtkObject"><span class="type">AtkObject</span></a> that receives/lose the focus</p></td>
|
261
|
+
<td class="parameter_annotations"> </td>
|
326
262
|
</tr>
|
327
263
|
<tr>
|
328
|
-
<td
|
329
|
-
<td>
|
330
|
-
</
|
331
|
-
<tr>
|
332
|
-
<td><p><span class="term"><span class="type">gint</span> <em class="structfield"><code><a name="AtkRectangle.height"></a>height</code></em>;</span></p></td>
|
333
|
-
<td>height of the rectangle.</td>
|
264
|
+
<td class="parameter_name"><p>focus_in</p></td>
|
265
|
+
<td class="parameter_description"><p>TRUE if the object receives the focus</p></td>
|
266
|
+
<td class="parameter_annotations"> </td>
|
334
267
|
</tr>
|
335
268
|
</tbody>
|
336
269
|
</table></div>
|
337
270
|
</div>
|
271
|
+
</div>
|
338
272
|
<hr>
|
339
273
|
<div class="refsect2">
|
340
|
-
<a name="atk-component-add-focus-handler"></a><h3>atk_component_add_focus_handler
|
341
|
-
<pre class="programlisting"><span class="returnvalue">guint</span>
|
342
|
-
|
274
|
+
<a name="atk-component-add-focus-handler"></a><h3>atk_component_add_focus_handler ()</h3>
|
275
|
+
<pre class="programlisting"><span class="returnvalue">guint</span>
|
276
|
+
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>,
|
277
|
+
<em class="parameter"><code><a class="link" href="AtkComponent.html#AtkFocusHandler" title="AtkFocusHandler ()"><span class="type">AtkFocusHandler</span></a> handler</code></em>);</pre>
|
343
278
|
<div class="warning">
|
344
|
-
<
|
345
|
-
<p
|
279
|
+
<p><code class="literal">atk_component_add_focus_handler</code> is deprecated and should not be used in newly-written code.</p>
|
280
|
+
<p>This method is deprecated since ATK version 2.9.4. If
|
346
281
|
you need to track when an object gains or lose the focus, use
|
347
282
|
state-changed:focused notification instead.</p>
|
348
283
|
</div>
|
349
|
-
<p>
|
350
|
-
Add the specified handler to the set of functions to be called
|
284
|
+
<p>Add the specified handler to the set of functions to be called
|
351
285
|
when this object receives focus events (in or out). If the handler is
|
352
|
-
already added it is not added again
|
353
|
-
|
354
|
-
<
|
355
|
-
<
|
286
|
+
already added it is not added again</p>
|
287
|
+
<div class="refsect3">
|
288
|
+
<a name="id-1.5.3.9.3.6"></a><h4>Parameters</h4>
|
289
|
+
<div class="informaltable"><table width="100%" border="0">
|
290
|
+
<colgroup>
|
291
|
+
<col width="150px" class="parameters_name">
|
292
|
+
<col class="parameters_description">
|
293
|
+
<col width="200px" class="parameters_annotations">
|
294
|
+
</colgroup>
|
356
295
|
<tbody>
|
357
296
|
<tr>
|
358
|
-
<td
|
359
|
-
<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>
|
297
|
+
<td class="parameter_name"><p>component</p></td>
|
298
|
+
<td class="parameter_description"><p>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>
|
299
|
+
to</p></td>
|
300
|
+
<td class="parameter_annotations"> </td>
|
360
301
|
</tr>
|
361
302
|
<tr>
|
362
|
-
<td
|
363
|
-
<td>The <a class="link" href="AtkComponent.html#AtkFocusHandler" title="AtkFocusHandler
|
364
|
-
</td>
|
365
|
-
</
|
366
|
-
<tr>
|
367
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
368
|
-
<td>a handler id which can be used in <a class="link" href="AtkComponent.html#atk-component-remove-focus-handler" title="atk_component_remove_focus_handler ()"><code class="function">atk_component_remove_focus_handler()</code></a>
|
369
|
-
or zero if the handler was already added.</td>
|
303
|
+
<td class="parameter_name"><p>handler</p></td>
|
304
|
+
<td class="parameter_description"><p>The <a class="link" href="AtkComponent.html#AtkFocusHandler" title="AtkFocusHandler ()"><span class="type">AtkFocusHandler</span></a> to be attached to <em class="parameter"><code>component</code></em>
|
305
|
+
</p></td>
|
306
|
+
<td class="parameter_annotations"> </td>
|
370
307
|
</tr>
|
371
308
|
</tbody>
|
372
309
|
</table></div>
|
373
310
|
</div>
|
311
|
+
<div class="refsect3">
|
312
|
+
<a name="id-1.5.3.9.3.7"></a><h4>Returns</h4>
|
313
|
+
<p> a handler id which can be used in <a class="link" href="AtkComponent.html#atk-component-remove-focus-handler" title="atk_component_remove_focus_handler ()"><code class="function">atk_component_remove_focus_handler()</code></a>
|
314
|
+
or zero if the handler was already added.</p>
|
315
|
+
<p></p>
|
316
|
+
</div>
|
317
|
+
</div>
|
374
318
|
<hr>
|
375
319
|
<div class="refsect2">
|
376
|
-
<a name="atk-component-contains"></a><h3>atk_component_contains
|
377
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
<
|
382
|
-
Checks whether the specified point is within the extent of the <em class="parameter"><code>component</code></em
|
383
|
-
|
384
|
-
<
|
385
|
-
|
320
|
+
<a name="atk-component-contains"></a><h3>atk_component_contains ()</h3>
|
321
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
322
|
+
atk_component_contains (<em class="parameter"><code><a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a> *component</code></em>,
|
323
|
+
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
324
|
+
<em class="parameter"><code><span class="type">gint</span> y</code></em>,
|
325
|
+
<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>
|
326
|
+
<p>Checks whether the specified point is within the extent of the <em class="parameter"><code>component</code></em>
|
327
|
+
.</p>
|
328
|
+
<p>Toolkit implementor note: ATK provides a default implementation for
|
329
|
+
this virtual method. In general there are little reason to
|
330
|
+
re-implement it.</p>
|
331
|
+
<div class="refsect3">
|
332
|
+
<a name="id-1.5.3.9.4.6"></a><h4>Parameters</h4>
|
333
|
+
<div class="informaltable"><table width="100%" border="0">
|
334
|
+
<colgroup>
|
335
|
+
<col width="150px" class="parameters_name">
|
336
|
+
<col class="parameters_description">
|
337
|
+
<col width="200px" class="parameters_annotations">
|
338
|
+
</colgroup>
|
386
339
|
<tbody>
|
387
340
|
<tr>
|
388
|
-
<td
|
389
|
-
<td>the <a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a>
|
390
|
-
</td>
|
391
|
-
</tr>
|
392
|
-
<tr>
|
393
|
-
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
394
|
-
<td>x coordinate</td>
|
341
|
+
<td class="parameter_name"><p>component</p></td>
|
342
|
+
<td class="parameter_description"><p>the <a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a></p></td>
|
343
|
+
<td class="parameter_annotations"> </td>
|
395
344
|
</tr>
|
396
345
|
<tr>
|
397
|
-
<td
|
398
|
-
<td>
|
346
|
+
<td class="parameter_name"><p>x</p></td>
|
347
|
+
<td class="parameter_description"><p>x coordinate</p></td>
|
348
|
+
<td class="parameter_annotations"> </td>
|
399
349
|
</tr>
|
400
350
|
<tr>
|
401
|
-
<td
|
402
|
-
<td>
|
403
|
-
|
351
|
+
<td class="parameter_name"><p>y</p></td>
|
352
|
+
<td class="parameter_description"><p>y coordinate</p></td>
|
353
|
+
<td class="parameter_annotations"> </td>
|
404
354
|
</tr>
|
405
355
|
<tr>
|
406
|
-
<td
|
407
|
-
<td>
|
408
|
-
|
409
|
-
|
356
|
+
<td class="parameter_name"><p>coord_type</p></td>
|
357
|
+
<td class="parameter_description"><p>specifies whether the coordinates are relative to the screen
|
358
|
+
or to the components top level window</p></td>
|
359
|
+
<td class="parameter_annotations"> </td>
|
410
360
|
</tr>
|
411
361
|
</tbody>
|
412
362
|
</table></div>
|
413
363
|
</div>
|
364
|
+
<div class="refsect3">
|
365
|
+
<a name="id-1.5.3.9.4.7"></a><h4>Returns</h4>
|
366
|
+
<p> <code class="literal">TRUE</code> or <code class="literal">FALSE</code> indicating whether the specified point is within
|
367
|
+
the extent of the <em class="parameter"><code>component</code></em>
|
368
|
+
or not</p>
|
369
|
+
<p></p>
|
370
|
+
</div>
|
371
|
+
</div>
|
414
372
|
<hr>
|
415
373
|
<div class="refsect2">
|
416
|
-
<a name="atk-component-get-extents"></a><h3>atk_component_get_extents
|
417
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
<
|
424
|
-
Gets the rectangle which gives the extent of the <em class="parameter"><code>component</code></em
|
425
|
-
|
426
|
-
<div class="
|
427
|
-
<
|
374
|
+
<a name="atk-component-get-extents"></a><h3>atk_component_get_extents ()</h3>
|
375
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
376
|
+
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>,
|
377
|
+
<em class="parameter"><code><span class="type">gint</span> *x</code></em>,
|
378
|
+
<em class="parameter"><code><span class="type">gint</span> *y</code></em>,
|
379
|
+
<em class="parameter"><code><span class="type">gint</span> *width</code></em>,
|
380
|
+
<em class="parameter"><code><span class="type">gint</span> *height</code></em>,
|
381
|
+
<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>
|
382
|
+
<p>Gets the rectangle which gives the extent of the <em class="parameter"><code>component</code></em>
|
383
|
+
.</p>
|
384
|
+
<div class="refsect3">
|
385
|
+
<a name="id-1.5.3.9.5.5"></a><h4>Parameters</h4>
|
386
|
+
<div class="informaltable"><table width="100%" border="0">
|
387
|
+
<colgroup>
|
388
|
+
<col width="150px" class="parameters_name">
|
389
|
+
<col class="parameters_description">
|
390
|
+
<col width="200px" class="parameters_annotations">
|
391
|
+
</colgroup>
|
428
392
|
<tbody>
|
429
393
|
<tr>
|
430
|
-
<td
|
431
|
-
<td>an <a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a>
|
432
|
-
</td>
|
394
|
+
<td class="parameter_name"><p>component</p></td>
|
395
|
+
<td class="parameter_description"><p>an <a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a></p></td>
|
396
|
+
<td class="parameter_annotations"> </td>
|
433
397
|
</tr>
|
434
398
|
<tr>
|
435
|
-
<td
|
436
|
-
<td>address of <span class="type">gint</span> to put x coordinate</td>
|
399
|
+
<td class="parameter_name"><p>x</p></td>
|
400
|
+
<td class="parameter_description"><p>address of <span class="type">gint</span> to put x coordinate</p></td>
|
401
|
+
<td class="parameter_annotations"> </td>
|
437
402
|
</tr>
|
438
403
|
<tr>
|
439
|
-
<td
|
440
|
-
<td>address of <span class="type">gint</span> to put y coordinate</td>
|
404
|
+
<td class="parameter_name"><p>y</p></td>
|
405
|
+
<td class="parameter_description"><p>address of <span class="type">gint</span> to put y coordinate</p></td>
|
406
|
+
<td class="parameter_annotations"> </td>
|
441
407
|
</tr>
|
442
408
|
<tr>
|
443
|
-
<td
|
444
|
-
<td>address of <span class="type">gint</span> to put width</td>
|
409
|
+
<td class="parameter_name"><p>width</p></td>
|
410
|
+
<td class="parameter_description"><p>address of <span class="type">gint</span> to put width</p></td>
|
411
|
+
<td class="parameter_annotations"> </td>
|
445
412
|
</tr>
|
446
413
|
<tr>
|
447
|
-
<td
|
448
|
-
<td>address of <span class="type">gint</span> to put height</td>
|
414
|
+
<td class="parameter_name"><p>height</p></td>
|
415
|
+
<td class="parameter_description"><p>address of <span class="type">gint</span> to put height</p></td>
|
416
|
+
<td class="parameter_annotations"> </td>
|
449
417
|
</tr>
|
450
418
|
<tr>
|
451
|
-
<td
|
452
|
-
<td>specifies whether the coordinates are relative to the screen
|
453
|
-
or to the components top level window</td>
|
419
|
+
<td class="parameter_name"><p>coord_type</p></td>
|
420
|
+
<td class="parameter_description"><p>specifies whether the coordinates are relative to the screen
|
421
|
+
or to the components top level window</p></td>
|
422
|
+
<td class="parameter_annotations"> </td>
|
454
423
|
</tr>
|
455
424
|
</tbody>
|
456
425
|
</table></div>
|
457
426
|
</div>
|
427
|
+
</div>
|
458
428
|
<hr>
|
459
429
|
<div class="refsect2">
|
460
|
-
<a name="atk-component-get-layer"></a><h3>atk_component_get_layer
|
461
|
-
<pre class="programlisting"><a class="link" href="AtkObject.html#AtkLayer" title="enum AtkLayer"><span class="returnvalue">AtkLayer</span></a>
|
462
|
-
<
|
463
|
-
Gets the layer of the component
|
464
|
-
|
465
|
-
<
|
466
|
-
<
|
467
|
-
<
|
468
|
-
<
|
469
|
-
<
|
470
|
-
<
|
471
|
-
</
|
472
|
-
|
473
|
-
<
|
474
|
-
<td><p
|
475
|
-
<td
|
476
|
-
</tr>
|
477
|
-
</tbody>
|
430
|
+
<a name="atk-component-get-layer"></a><h3>atk_component_get_layer ()</h3>
|
431
|
+
<pre class="programlisting"><a class="link" href="AtkObject.html#AtkLayer" title="enum AtkLayer"><span class="returnvalue">AtkLayer</span></a>
|
432
|
+
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>
|
433
|
+
<p>Gets the layer of the component.</p>
|
434
|
+
<div class="refsect3">
|
435
|
+
<a name="id-1.5.3.9.6.5"></a><h4>Parameters</h4>
|
436
|
+
<div class="informaltable"><table width="100%" border="0">
|
437
|
+
<colgroup>
|
438
|
+
<col width="150px" class="parameters_name">
|
439
|
+
<col class="parameters_description">
|
440
|
+
<col width="200px" class="parameters_annotations">
|
441
|
+
</colgroup>
|
442
|
+
<tbody><tr>
|
443
|
+
<td class="parameter_name"><p>component</p></td>
|
444
|
+
<td class="parameter_description"><p>an <a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a></p></td>
|
445
|
+
<td class="parameter_annotations"> </td>
|
446
|
+
</tr></tbody>
|
478
447
|
</table></div>
|
479
448
|
</div>
|
449
|
+
<div class="refsect3">
|
450
|
+
<a name="id-1.5.3.9.6.6"></a><h4>Returns</h4>
|
451
|
+
<p> an <a class="link" href="AtkObject.html#AtkLayer" title="enum AtkLayer"><span class="type">AtkLayer</span></a> which is the layer of the component</p>
|
452
|
+
<p></p>
|
453
|
+
</div>
|
454
|
+
</div>
|
480
455
|
<hr>
|
481
456
|
<div class="refsect2">
|
482
|
-
<a name="atk-component-get-mdi-zorder"></a><h3>atk_component_get_mdi_zorder
|
483
|
-
<pre class="programlisting"><span class="returnvalue">gint</span>
|
484
|
-
<
|
485
|
-
Gets the zorder of the component. The value G_MININT will be returned
|
486
|
-
if the layer of the component is not ATK_LAYER_MDI or ATK_LAYER_WINDOW
|
487
|
-
|
488
|
-
<
|
489
|
-
<
|
490
|
-
<
|
491
|
-
<
|
492
|
-
<
|
493
|
-
<
|
494
|
-
</
|
495
|
-
|
496
|
-
<
|
497
|
-
<td><p
|
498
|
-
<td>
|
499
|
-
|
500
|
-
container.</td>
|
501
|
-
</tr>
|
502
|
-
</tbody>
|
457
|
+
<a name="atk-component-get-mdi-zorder"></a><h3>atk_component_get_mdi_zorder ()</h3>
|
458
|
+
<pre class="programlisting"><span class="returnvalue">gint</span>
|
459
|
+
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>
|
460
|
+
<p>Gets the zorder of the component. The value G_MININT will be returned
|
461
|
+
if the layer of the component is not ATK_LAYER_MDI or ATK_LAYER_WINDOW.</p>
|
462
|
+
<div class="refsect3">
|
463
|
+
<a name="id-1.5.3.9.7.5"></a><h4>Parameters</h4>
|
464
|
+
<div class="informaltable"><table width="100%" border="0">
|
465
|
+
<colgroup>
|
466
|
+
<col width="150px" class="parameters_name">
|
467
|
+
<col class="parameters_description">
|
468
|
+
<col width="200px" class="parameters_annotations">
|
469
|
+
</colgroup>
|
470
|
+
<tbody><tr>
|
471
|
+
<td class="parameter_name"><p>component</p></td>
|
472
|
+
<td class="parameter_description"><p>an <a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a></p></td>
|
473
|
+
<td class="parameter_annotations"> </td>
|
474
|
+
</tr></tbody>
|
503
475
|
</table></div>
|
504
476
|
</div>
|
477
|
+
<div class="refsect3">
|
478
|
+
<a name="id-1.5.3.9.7.6"></a><h4>Returns</h4>
|
479
|
+
<p> a gint which is the zorder of the component, i.e. the depth at
|
480
|
+
which the component is shown in relation to other components in the same
|
481
|
+
container.</p>
|
482
|
+
<p></p>
|
483
|
+
</div>
|
484
|
+
</div>
|
505
485
|
<hr>
|
506
486
|
<div class="refsect2">
|
507
|
-
<a name="atk-component-get-position"></a><h3>atk_component_get_position
|
508
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
<
|
513
|
-
|
514
|
-
|
515
|
-
</p>
|
516
|
-
|
517
|
-
<
|
487
|
+
<a name="atk-component-get-position"></a><h3>atk_component_get_position ()</h3>
|
488
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
489
|
+
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>,
|
490
|
+
<em class="parameter"><code><span class="type">gint</span> *x</code></em>,
|
491
|
+
<em class="parameter"><code><span class="type">gint</span> *y</code></em>,
|
492
|
+
<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>
|
493
|
+
<div class="warning">
|
494
|
+
<p><code class="literal">atk_component_get_position</code> is deprecated and should not be used in newly-written code.</p>
|
495
|
+
<p>Since 2.12. Use <a class="link" href="AtkComponent.html#atk-component-get-extents" title="atk_component_get_extents ()"><code class="function">atk_component_get_extents()</code></a> instead.</p>
|
496
|
+
</div>
|
497
|
+
<p>Gets the position of <em class="parameter"><code>component</code></em>
|
498
|
+
in the form of
|
499
|
+
a point specifying <em class="parameter"><code>component</code></em>
|
500
|
+
's top-left corner.</p>
|
501
|
+
<div class="refsect3">
|
502
|
+
<a name="id-1.5.3.9.8.6"></a><h4>Parameters</h4>
|
503
|
+
<div class="informaltable"><table width="100%" border="0">
|
504
|
+
<colgroup>
|
505
|
+
<col width="150px" class="parameters_name">
|
506
|
+
<col class="parameters_description">
|
507
|
+
<col width="200px" class="parameters_annotations">
|
508
|
+
</colgroup>
|
518
509
|
<tbody>
|
519
510
|
<tr>
|
520
|
-
<td
|
521
|
-
<td>an <a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a>
|
522
|
-
</td>
|
511
|
+
<td class="parameter_name"><p>component</p></td>
|
512
|
+
<td class="parameter_description"><p>an <a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a></p></td>
|
513
|
+
<td class="parameter_annotations"> </td>
|
523
514
|
</tr>
|
524
515
|
<tr>
|
525
|
-
<td
|
526
|
-
<td>address of <span class="type">gint</span> to put x coordinate position</td>
|
516
|
+
<td class="parameter_name"><p>x</p></td>
|
517
|
+
<td class="parameter_description"><p>address of <span class="type">gint</span> to put x coordinate position</p></td>
|
518
|
+
<td class="parameter_annotations"> </td>
|
527
519
|
</tr>
|
528
520
|
<tr>
|
529
|
-
<td
|
530
|
-
<td>address of <span class="type">gint</span> to put y coordinate position</td>
|
521
|
+
<td class="parameter_name"><p>y</p></td>
|
522
|
+
<td class="parameter_description"><p>address of <span class="type">gint</span> to put y coordinate position</p></td>
|
523
|
+
<td class="parameter_annotations"> </td>
|
531
524
|
</tr>
|
532
525
|
<tr>
|
533
|
-
<td
|
534
|
-
<td>specifies whether the coordinates are relative to the screen
|
535
|
-
or to the components top level window</td>
|
526
|
+
<td class="parameter_name"><p>coord_type</p></td>
|
527
|
+
<td class="parameter_description"><p>specifies whether the coordinates are relative to the screen
|
528
|
+
or to the components top level window</p></td>
|
529
|
+
<td class="parameter_annotations"> </td>
|
536
530
|
</tr>
|
537
531
|
</tbody>
|
538
532
|
</table></div>
|
539
533
|
</div>
|
534
|
+
</div>
|
540
535
|
<hr>
|
541
536
|
<div class="refsect2">
|
542
|
-
<a name="atk-component-get-size"></a><h3>atk_component_get_size
|
543
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
544
|
-
|
545
|
-
|
546
|
-
<
|
547
|
-
|
548
|
-
</p>
|
549
|
-
<
|
550
|
-
|
537
|
+
<a name="atk-component-get-size"></a><h3>atk_component_get_size ()</h3>
|
538
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
539
|
+
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>,
|
540
|
+
<em class="parameter"><code><span class="type">gint</span> *width</code></em>,
|
541
|
+
<em class="parameter"><code><span class="type">gint</span> *height</code></em>);</pre>
|
542
|
+
<div class="warning">
|
543
|
+
<p><code class="literal">atk_component_get_size</code> is deprecated and should not be used in newly-written code.</p>
|
544
|
+
<p>Since 2.12. Use <a class="link" href="AtkComponent.html#atk-component-get-extents" title="atk_component_get_extents ()"><code class="function">atk_component_get_extents()</code></a> instead.</p>
|
545
|
+
</div>
|
546
|
+
<p>Gets the size of the <em class="parameter"><code>component</code></em>
|
547
|
+
in terms of width and height.</p>
|
548
|
+
<div class="refsect3">
|
549
|
+
<a name="id-1.5.3.9.9.6"></a><h4>Parameters</h4>
|
550
|
+
<div class="informaltable"><table width="100%" border="0">
|
551
|
+
<colgroup>
|
552
|
+
<col width="150px" class="parameters_name">
|
553
|
+
<col class="parameters_description">
|
554
|
+
<col width="200px" class="parameters_annotations">
|
555
|
+
</colgroup>
|
551
556
|
<tbody>
|
552
557
|
<tr>
|
553
|
-
<td
|
554
|
-
<td>an <a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a>
|
555
|
-
</td>
|
558
|
+
<td class="parameter_name"><p>component</p></td>
|
559
|
+
<td class="parameter_description"><p>an <a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a></p></td>
|
560
|
+
<td class="parameter_annotations"> </td>
|
556
561
|
</tr>
|
557
562
|
<tr>
|
558
|
-
<td
|
559
|
-
<td>address of <span class="type">gint</span> to put width of <em class="parameter"><code>component</code></em>
|
560
|
-
</td>
|
563
|
+
<td class="parameter_name"><p>width</p></td>
|
564
|
+
<td class="parameter_description"><p>address of <span class="type">gint</span> to put width of <em class="parameter"><code>component</code></em>
|
565
|
+
</p></td>
|
566
|
+
<td class="parameter_annotations"> </td>
|
561
567
|
</tr>
|
562
568
|
<tr>
|
563
|
-
<td
|
564
|
-
<td>address of <span class="type">gint</span> to put height of <em class="parameter"><code>component</code></em>
|
565
|
-
</td>
|
569
|
+
<td class="parameter_name"><p>height</p></td>
|
570
|
+
<td class="parameter_description"><p>address of <span class="type">gint</span> to put height of <em class="parameter"><code>component</code></em>
|
571
|
+
</p></td>
|
572
|
+
<td class="parameter_annotations"> </td>
|
566
573
|
</tr>
|
567
574
|
</tbody>
|
568
575
|
</table></div>
|
569
576
|
</div>
|
577
|
+
</div>
|
570
578
|
<hr>
|
571
579
|
<div class="refsect2">
|
572
|
-
<a name="atk-component-grab-focus"></a><h3>atk_component_grab_focus
|
573
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
574
|
-
<
|
575
|
-
Grabs focus for this <em class="parameter"><code>component</code></em
|
576
|
-
|
577
|
-
<div class="
|
578
|
-
<
|
579
|
-
<
|
580
|
-
<
|
581
|
-
<
|
582
|
-
<
|
583
|
-
|
584
|
-
</
|
585
|
-
<tr>
|
586
|
-
<td
|
587
|
-
<td>
|
588
|
-
<
|
589
|
-
</tr>
|
590
|
-
</tbody>
|
580
|
+
<a name="atk-component-grab-focus"></a><h3>atk_component_grab_focus ()</h3>
|
581
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
582
|
+
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>
|
583
|
+
<p>Grabs focus for this <em class="parameter"><code>component</code></em>
|
584
|
+
.</p>
|
585
|
+
<div class="refsect3">
|
586
|
+
<a name="id-1.5.3.9.10.5"></a><h4>Parameters</h4>
|
587
|
+
<div class="informaltable"><table width="100%" border="0">
|
588
|
+
<colgroup>
|
589
|
+
<col width="150px" class="parameters_name">
|
590
|
+
<col class="parameters_description">
|
591
|
+
<col width="200px" class="parameters_annotations">
|
592
|
+
</colgroup>
|
593
|
+
<tbody><tr>
|
594
|
+
<td class="parameter_name"><p>component</p></td>
|
595
|
+
<td class="parameter_description"><p>an <a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a></p></td>
|
596
|
+
<td class="parameter_annotations"> </td>
|
597
|
+
</tr></tbody>
|
591
598
|
</table></div>
|
592
599
|
</div>
|
600
|
+
<div class="refsect3">
|
601
|
+
<a name="id-1.5.3.9.10.6"></a><h4>Returns</h4>
|
602
|
+
<p> <code class="literal">TRUE</code> if successful, <code class="literal">FALSE</code> otherwise.</p>
|
603
|
+
<p></p>
|
604
|
+
</div>
|
605
|
+
</div>
|
593
606
|
<hr>
|
594
607
|
<div class="refsect2">
|
595
|
-
<a name="atk-component-ref-accessible-at-point"></a><h3>atk_component_ref_accessible_at_point
|
596
|
-
<pre class="programlisting"><a class="link" href="AtkObject.html" title="AtkObject"><span class="returnvalue">AtkObject</span></a>
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
<p>
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
<div class="
|
606
|
-
<
|
608
|
+
<a name="atk-component-ref-accessible-at-point"></a><h3>atk_component_ref_accessible_at_point ()</h3>
|
609
|
+
<pre class="programlisting"><a class="link" href="AtkObject.html" title="AtkObject"><span class="returnvalue">AtkObject</span></a> *
|
610
|
+
atk_component_ref_accessible_at_point (<em class="parameter"><code><a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a> *component</code></em>,
|
611
|
+
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
612
|
+
<em class="parameter"><code><span class="type">gint</span> y</code></em>,
|
613
|
+
<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>
|
614
|
+
<p>Gets a reference to the accessible child, if one exists, at the
|
615
|
+
coordinate point specified by <em class="parameter"><code>x</code></em>
|
616
|
+
and <em class="parameter"><code>y</code></em>
|
617
|
+
.</p>
|
618
|
+
<div class="refsect3">
|
619
|
+
<a name="id-1.5.3.9.11.5"></a><h4>Parameters</h4>
|
620
|
+
<div class="informaltable"><table width="100%" border="0">
|
621
|
+
<colgroup>
|
622
|
+
<col width="150px" class="parameters_name">
|
623
|
+
<col class="parameters_description">
|
624
|
+
<col width="200px" class="parameters_annotations">
|
625
|
+
</colgroup>
|
607
626
|
<tbody>
|
608
627
|
<tr>
|
609
|
-
<td
|
610
|
-
<td>the <a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a>
|
611
|
-
</td>
|
612
|
-
</tr>
|
613
|
-
<tr>
|
614
|
-
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
615
|
-
<td>x coordinate</td>
|
628
|
+
<td class="parameter_name"><p>component</p></td>
|
629
|
+
<td class="parameter_description"><p>the <a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a></p></td>
|
630
|
+
<td class="parameter_annotations"> </td>
|
616
631
|
</tr>
|
617
632
|
<tr>
|
618
|
-
<td
|
619
|
-
<td>
|
633
|
+
<td class="parameter_name"><p>x</p></td>
|
634
|
+
<td class="parameter_description"><p>x coordinate</p></td>
|
635
|
+
<td class="parameter_annotations"> </td>
|
620
636
|
</tr>
|
621
637
|
<tr>
|
622
|
-
<td
|
623
|
-
<td>
|
624
|
-
|
638
|
+
<td class="parameter_name"><p>y</p></td>
|
639
|
+
<td class="parameter_description"><p>y coordinate</p></td>
|
640
|
+
<td class="parameter_annotations"> </td>
|
625
641
|
</tr>
|
626
642
|
<tr>
|
627
|
-
<td
|
628
|
-
<td>
|
629
|
-
</td>
|
643
|
+
<td class="parameter_name"><p>coord_type</p></td>
|
644
|
+
<td class="parameter_description"><p>specifies whether the coordinates are relative to the screen
|
645
|
+
or to the components top level window</p></td>
|
646
|
+
<td class="parameter_annotations"> </td>
|
630
647
|
</tr>
|
631
648
|
</tbody>
|
632
649
|
</table></div>
|
633
650
|
</div>
|
651
|
+
<div class="refsect3">
|
652
|
+
<a name="id-1.5.3.9.11.6"></a><h4>Returns</h4>
|
653
|
+
<p> a reference to the accessible
|
654
|
+
child, if one exists. </p>
|
655
|
+
<p><span class="annotation">[<a href="http://foldoc.org/nullable"><span class="acronym">nullable</span></a>][<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span></p>
|
656
|
+
</div>
|
657
|
+
</div>
|
634
658
|
<hr>
|
635
659
|
<div class="refsect2">
|
636
|
-
<a name="atk-component-remove-focus-handler"></a><h3>atk_component_remove_focus_handler
|
637
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
638
|
-
|
660
|
+
<a name="atk-component-remove-focus-handler"></a><h3>atk_component_remove_focus_handler ()</h3>
|
661
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
662
|
+
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>,
|
663
|
+
<em class="parameter"><code><span class="type">guint</span> handler_id</code></em>);</pre>
|
639
664
|
<div class="warning">
|
640
|
-
<
|
641
|
-
<p
|
665
|
+
<p><code class="literal">atk_component_remove_focus_handler</code> is deprecated and should not be used in newly-written code.</p>
|
666
|
+
<p>This method is deprecated since ATK version 2.9.4. If
|
642
667
|
you need to track when an object gains or lose the focus, use
|
643
668
|
state-changed:focused notification instead.</p>
|
644
669
|
</div>
|
645
|
-
<p>
|
646
|
-
|
670
|
+
<p>Remove the handler specified by <em class="parameter"><code>handler_id</code></em>
|
671
|
+
from the list of
|
647
672
|
functions to be executed when this object receives focus events
|
648
|
-
(in or out)
|
649
|
-
|
650
|
-
<
|
651
|
-
<
|
673
|
+
(in or out).</p>
|
674
|
+
<div class="refsect3">
|
675
|
+
<a name="id-1.5.3.9.12.6"></a><h4>Parameters</h4>
|
676
|
+
<div class="informaltable"><table width="100%" border="0">
|
677
|
+
<colgroup>
|
678
|
+
<col width="150px" class="parameters_name">
|
679
|
+
<col class="parameters_description">
|
680
|
+
<col width="200px" class="parameters_annotations">
|
681
|
+
</colgroup>
|
652
682
|
<tbody>
|
653
683
|
<tr>
|
654
|
-
<td
|
655
|
-
<td>the <a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a> to remove the focus handler from</td>
|
684
|
+
<td class="parameter_name"><p>component</p></td>
|
685
|
+
<td class="parameter_description"><p>the <a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a> to remove the focus handler from</p></td>
|
686
|
+
<td class="parameter_annotations"> </td>
|
656
687
|
</tr>
|
657
688
|
<tr>
|
658
|
-
<td
|
659
|
-
<td>the handler id of the focus handler to be removed
|
689
|
+
<td class="parameter_name"><p>handler_id</p></td>
|
690
|
+
<td class="parameter_description"><p>the handler id of the focus handler to be removed
|
660
691
|
from <em class="parameter"><code>component</code></em>
|
661
|
-
</td>
|
692
|
+
</p></td>
|
693
|
+
<td class="parameter_annotations"> </td>
|
662
694
|
</tr>
|
663
695
|
</tbody>
|
664
696
|
</table></div>
|
665
697
|
</div>
|
698
|
+
</div>
|
666
699
|
<hr>
|
667
700
|
<div class="refsect2">
|
668
|
-
<a name="atk-component-set-extents"></a><h3>atk_component_set_extents
|
669
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
<
|
676
|
-
Sets the extents of <em class="parameter"><code>component</code></em
|
677
|
-
|
678
|
-
<div class="
|
679
|
-
<
|
701
|
+
<a name="atk-component-set-extents"></a><h3>atk_component_set_extents ()</h3>
|
702
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
703
|
+
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>,
|
704
|
+
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
705
|
+
<em class="parameter"><code><span class="type">gint</span> y</code></em>,
|
706
|
+
<em class="parameter"><code><span class="type">gint</span> width</code></em>,
|
707
|
+
<em class="parameter"><code><span class="type">gint</span> height</code></em>,
|
708
|
+
<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>
|
709
|
+
<p>Sets the extents of <em class="parameter"><code>component</code></em>
|
710
|
+
.</p>
|
711
|
+
<div class="refsect3">
|
712
|
+
<a name="id-1.5.3.9.13.5"></a><h4>Parameters</h4>
|
713
|
+
<div class="informaltable"><table width="100%" border="0">
|
714
|
+
<colgroup>
|
715
|
+
<col width="150px" class="parameters_name">
|
716
|
+
<col class="parameters_description">
|
717
|
+
<col width="200px" class="parameters_annotations">
|
718
|
+
</colgroup>
|
680
719
|
<tbody>
|
681
720
|
<tr>
|
682
|
-
<td
|
683
|
-
<td>an <a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a>
|
684
|
-
</td>
|
721
|
+
<td class="parameter_name"><p>component</p></td>
|
722
|
+
<td class="parameter_description"><p>an <a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a></p></td>
|
723
|
+
<td class="parameter_annotations"> </td>
|
685
724
|
</tr>
|
686
725
|
<tr>
|
687
|
-
<td
|
688
|
-
<td>x coordinate</td>
|
726
|
+
<td class="parameter_name"><p>x</p></td>
|
727
|
+
<td class="parameter_description"><p>x coordinate</p></td>
|
728
|
+
<td class="parameter_annotations"> </td>
|
689
729
|
</tr>
|
690
730
|
<tr>
|
691
|
-
<td
|
692
|
-
<td>y coordinate</td>
|
731
|
+
<td class="parameter_name"><p>y</p></td>
|
732
|
+
<td class="parameter_description"><p>y coordinate</p></td>
|
733
|
+
<td class="parameter_annotations"> </td>
|
693
734
|
</tr>
|
694
735
|
<tr>
|
695
|
-
<td
|
696
|
-
<td>width to set for <em class="parameter"><code>component</code></em>
|
697
|
-
</td>
|
698
|
-
</
|
699
|
-
<tr>
|
700
|
-
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
701
|
-
<td>height to set for <em class="parameter"><code>component</code></em>
|
702
|
-
</td>
|
736
|
+
<td class="parameter_name"><p>width</p></td>
|
737
|
+
<td class="parameter_description"><p>width to set for <em class="parameter"><code>component</code></em>
|
738
|
+
</p></td>
|
739
|
+
<td class="parameter_annotations"> </td>
|
703
740
|
</tr>
|
704
741
|
<tr>
|
705
|
-
<td
|
706
|
-
<td>
|
707
|
-
|
742
|
+
<td class="parameter_name"><p>height</p></td>
|
743
|
+
<td class="parameter_description"><p>height to set for <em class="parameter"><code>component</code></em>
|
744
|
+
</p></td>
|
745
|
+
<td class="parameter_annotations"> </td>
|
708
746
|
</tr>
|
709
747
|
<tr>
|
710
|
-
<td
|
711
|
-
<td>
|
712
|
-
|
748
|
+
<td class="parameter_name"><p>coord_type</p></td>
|
749
|
+
<td class="parameter_description"><p>specifies whether the coordinates are relative to the screen
|
750
|
+
or to the components top level window</p></td>
|
751
|
+
<td class="parameter_annotations"> </td>
|
713
752
|
</tr>
|
714
753
|
</tbody>
|
715
754
|
</table></div>
|
716
755
|
</div>
|
756
|
+
<div class="refsect3">
|
757
|
+
<a name="id-1.5.3.9.13.6"></a><h4>Returns</h4>
|
758
|
+
<p> <code class="literal">TRUE</code> or <code class="literal">FALSE</code> whether the extents were set or not</p>
|
759
|
+
<p></p>
|
760
|
+
</div>
|
761
|
+
</div>
|
717
762
|
<hr>
|
718
763
|
<div class="refsect2">
|
719
|
-
<a name="atk-component-set-position"></a><h3>atk_component_set_position
|
720
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
<
|
725
|
-
Sets the postition of <em class="parameter"><code>component</code></em
|
726
|
-
|
727
|
-
<div class="
|
728
|
-
<
|
764
|
+
<a name="atk-component-set-position"></a><h3>atk_component_set_position ()</h3>
|
765
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
766
|
+
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>,
|
767
|
+
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
768
|
+
<em class="parameter"><code><span class="type">gint</span> y</code></em>,
|
769
|
+
<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>
|
770
|
+
<p>Sets the postition of <em class="parameter"><code>component</code></em>
|
771
|
+
.</p>
|
772
|
+
<div class="refsect3">
|
773
|
+
<a name="id-1.5.3.9.14.5"></a><h4>Parameters</h4>
|
774
|
+
<div class="informaltable"><table width="100%" border="0">
|
775
|
+
<colgroup>
|
776
|
+
<col width="150px" class="parameters_name">
|
777
|
+
<col class="parameters_description">
|
778
|
+
<col width="200px" class="parameters_annotations">
|
779
|
+
</colgroup>
|
729
780
|
<tbody>
|
730
781
|
<tr>
|
731
|
-
<td
|
732
|
-
<td>an <a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a>
|
733
|
-
</td>
|
782
|
+
<td class="parameter_name"><p>component</p></td>
|
783
|
+
<td class="parameter_description"><p>an <a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a></p></td>
|
784
|
+
<td class="parameter_annotations"> </td>
|
785
|
+
</tr>
|
786
|
+
<tr>
|
787
|
+
<td class="parameter_name"><p>x</p></td>
|
788
|
+
<td class="parameter_description"><p>x coordinate</p></td>
|
789
|
+
<td class="parameter_annotations"> </td>
|
790
|
+
</tr>
|
791
|
+
<tr>
|
792
|
+
<td class="parameter_name"><p>y</p></td>
|
793
|
+
<td class="parameter_description"><p>y coordinate</p></td>
|
794
|
+
<td class="parameter_annotations"> </td>
|
734
795
|
</tr>
|
735
796
|
<tr>
|
736
|
-
<td
|
737
|
-
<td>
|
797
|
+
<td class="parameter_name"><p>coord_type</p></td>
|
798
|
+
<td class="parameter_description"><p>specifies whether the coordinates are relative to the screen
|
799
|
+
or to the components top level window</p></td>
|
800
|
+
<td class="parameter_annotations"> </td>
|
738
801
|
</tr>
|
802
|
+
</tbody>
|
803
|
+
</table></div>
|
804
|
+
</div>
|
805
|
+
<div class="refsect3">
|
806
|
+
<a name="id-1.5.3.9.14.6"></a><h4>Returns</h4>
|
807
|
+
<p> <code class="literal">TRUE</code> or <code class="literal">FALSE</code> whether or not the position was set or not</p>
|
808
|
+
<p></p>
|
809
|
+
</div>
|
810
|
+
</div>
|
811
|
+
<hr>
|
812
|
+
<div class="refsect2">
|
813
|
+
<a name="atk-component-set-size"></a><h3>atk_component_set_size ()</h3>
|
814
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
815
|
+
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>,
|
816
|
+
<em class="parameter"><code><span class="type">gint</span> width</code></em>,
|
817
|
+
<em class="parameter"><code><span class="type">gint</span> height</code></em>);</pre>
|
818
|
+
<p>Set the size of the <em class="parameter"><code>component</code></em>
|
819
|
+
in terms of width and height.</p>
|
820
|
+
<div class="refsect3">
|
821
|
+
<a name="id-1.5.3.9.15.5"></a><h4>Parameters</h4>
|
822
|
+
<div class="informaltable"><table width="100%" border="0">
|
823
|
+
<colgroup>
|
824
|
+
<col width="150px" class="parameters_name">
|
825
|
+
<col class="parameters_description">
|
826
|
+
<col width="200px" class="parameters_annotations">
|
827
|
+
</colgroup>
|
828
|
+
<tbody>
|
739
829
|
<tr>
|
740
|
-
<td
|
741
|
-
<td>
|
830
|
+
<td class="parameter_name"><p>component</p></td>
|
831
|
+
<td class="parameter_description"><p>an <a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a></p></td>
|
832
|
+
<td class="parameter_annotations"> </td>
|
742
833
|
</tr>
|
743
834
|
<tr>
|
744
|
-
<td
|
745
|
-
<td>
|
746
|
-
|
835
|
+
<td class="parameter_name"><p>width</p></td>
|
836
|
+
<td class="parameter_description"><p>width to set for <em class="parameter"><code>component</code></em>
|
837
|
+
</p></td>
|
838
|
+
<td class="parameter_annotations"> </td>
|
747
839
|
</tr>
|
748
840
|
<tr>
|
749
|
-
<td
|
750
|
-
<td>
|
751
|
-
|
841
|
+
<td class="parameter_name"><p>height</p></td>
|
842
|
+
<td class="parameter_description"><p>height to set for <em class="parameter"><code>component</code></em>
|
843
|
+
</p></td>
|
844
|
+
<td class="parameter_annotations"> </td>
|
752
845
|
</tr>
|
753
846
|
</tbody>
|
754
847
|
</table></div>
|
755
848
|
</div>
|
849
|
+
<div class="refsect3">
|
850
|
+
<a name="id-1.5.3.9.15.6"></a><h4>Returns</h4>
|
851
|
+
<p> <code class="literal">TRUE</code> or <code class="literal">FALSE</code> whether the size was set or not</p>
|
852
|
+
<p></p>
|
853
|
+
</div>
|
854
|
+
</div>
|
756
855
|
<hr>
|
757
856
|
<div class="refsect2">
|
758
|
-
<a name="atk-component-
|
759
|
-
<pre class="programlisting"><span class="returnvalue">
|
760
|
-
|
761
|
-
|
857
|
+
<a name="atk-component-get-alpha"></a><h3>atk_component_get_alpha ()</h3>
|
858
|
+
<pre class="programlisting"><span class="returnvalue">gdouble</span>
|
859
|
+
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>
|
860
|
+
<p>Returns the alpha value (i.e. the opacity) for this
|
861
|
+
<em class="parameter"><code>component</code></em>
|
862
|
+
, on a scale from 0 (fully transparent) to 1.0
|
863
|
+
(fully opaque).</p>
|
864
|
+
<div class="refsect3">
|
865
|
+
<a name="id-1.5.3.9.16.5"></a><h4>Parameters</h4>
|
866
|
+
<div class="informaltable"><table width="100%" border="0">
|
867
|
+
<colgroup>
|
868
|
+
<col width="150px" class="parameters_name">
|
869
|
+
<col class="parameters_description">
|
870
|
+
<col width="200px" class="parameters_annotations">
|
871
|
+
</colgroup>
|
872
|
+
<tbody><tr>
|
873
|
+
<td class="parameter_name"><p>component</p></td>
|
874
|
+
<td class="parameter_description"><p>an <a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a></p></td>
|
875
|
+
<td class="parameter_annotations"> </td>
|
876
|
+
</tr></tbody>
|
877
|
+
</table></div>
|
878
|
+
</div>
|
879
|
+
<div class="refsect3">
|
880
|
+
<a name="id-1.5.3.9.16.6"></a><h4>Returns</h4>
|
881
|
+
<p> An alpha value from 0 to 1.0, inclusive.</p>
|
882
|
+
<p></p>
|
883
|
+
</div>
|
884
|
+
<p class="since">Since 1.12</p>
|
885
|
+
</div>
|
886
|
+
</div>
|
887
|
+
<div class="refsect1">
|
888
|
+
<a name="AtkComponent.other_details"></a><h2>Types and Values</h2>
|
889
|
+
<div class="refsect2">
|
890
|
+
<a name="AtkComponent-struct"></a><h3>AtkComponent</h3>
|
891
|
+
<pre class="programlisting">typedef struct _AtkComponent AtkComponent;</pre>
|
762
892
|
<p>
|
763
|
-
Set the size of the <em class="parameter"><code>component</code></em> in terms of width and height.
|
764
893
|
</p>
|
765
|
-
|
766
|
-
<
|
894
|
+
</div>
|
895
|
+
<hr>
|
896
|
+
<div class="refsect2">
|
897
|
+
<a name="AtkComponentIface"></a><h3>struct AtkComponentIface</h3>
|
898
|
+
<pre class="programlisting">struct AtkComponentIface {
|
899
|
+
GTypeInterface parent;
|
900
|
+
|
901
|
+
guint (* add_focus_handler) (AtkComponent *component,
|
902
|
+
AtkFocusHandler handler);
|
903
|
+
|
904
|
+
gboolean (* contains) (AtkComponent *component,
|
905
|
+
gint x,
|
906
|
+
gint y,
|
907
|
+
AtkCoordType coord_type);
|
908
|
+
|
909
|
+
AtkObject* (* ref_accessible_at_point) (AtkComponent *component,
|
910
|
+
gint x,
|
911
|
+
gint y,
|
912
|
+
AtkCoordType coord_type);
|
913
|
+
void (* get_extents) (AtkComponent *component,
|
914
|
+
gint *x,
|
915
|
+
gint *y,
|
916
|
+
gint *width,
|
917
|
+
gint *height,
|
918
|
+
AtkCoordType coord_type);
|
919
|
+
void (* get_position) (AtkComponent *component,
|
920
|
+
gint *x,
|
921
|
+
gint *y,
|
922
|
+
AtkCoordType coord_type);
|
923
|
+
void (* get_size) (AtkComponent *component,
|
924
|
+
gint *width,
|
925
|
+
gint *height);
|
926
|
+
gboolean (* grab_focus) (AtkComponent *component);
|
927
|
+
void (* remove_focus_handler) (AtkComponent *component,
|
928
|
+
guint handler_id);
|
929
|
+
gboolean (* set_extents) (AtkComponent *component,
|
930
|
+
gint x,
|
931
|
+
gint y,
|
932
|
+
gint width,
|
933
|
+
gint height,
|
934
|
+
AtkCoordType coord_type);
|
935
|
+
gboolean (* set_position) (AtkComponent *component,
|
936
|
+
gint x,
|
937
|
+
gint y,
|
938
|
+
AtkCoordType coord_type);
|
939
|
+
gboolean (* set_size) (AtkComponent *component,
|
940
|
+
gint width,
|
941
|
+
gint height);
|
942
|
+
|
943
|
+
AtkLayer (* get_layer) (AtkComponent *component);
|
944
|
+
gint (* get_mdi_zorder) (AtkComponent *component);
|
945
|
+
|
946
|
+
/*
|
947
|
+
* signal handlers
|
948
|
+
*/
|
949
|
+
void (* bounds_changed) (AtkComponent *component,
|
950
|
+
AtkRectangle *bounds);
|
951
|
+
gdouble (* get_alpha) (AtkComponent *component);
|
952
|
+
};
|
953
|
+
</pre>
|
954
|
+
<div class="refsect3">
|
955
|
+
<a name="id-1.5.3.10.3.4"></a><h4>Members</h4>
|
956
|
+
<div class="informaltable"><table width="100%" border="0">
|
957
|
+
<colgroup>
|
958
|
+
<col width="300px" class="struct_members_name">
|
959
|
+
<col class="struct_members_description">
|
960
|
+
<col width="200px" class="struct_members_annotations">
|
961
|
+
</colgroup>
|
767
962
|
<tbody>
|
768
963
|
<tr>
|
769
|
-
<td><p><span class="
|
770
|
-
<td
|
771
|
-
</td>
|
964
|
+
<td class="struct_member_name"><p><span class="type">GTypeInterface</span> <em class="structfield"><code><a name="AtkComponentIface.parent"></a>parent</code></em>;</p></td>
|
965
|
+
<td class="struct_member_description"> </td>
|
966
|
+
<td class="struct_member_annotations"> </td>
|
772
967
|
</tr>
|
773
968
|
<tr>
|
774
|
-
<td
|
775
|
-
<td
|
776
|
-
|
969
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="AtkComponentIface.add-focus-handler"></a>add_focus_handler</code></em> ()</p></td>
|
970
|
+
<td class="struct_member_description"><p>This virtual function is deprecated since 2.9.4
|
971
|
+
and it should not be overriden. See
|
972
|
+
<a class="link" href="AtkComponent.html#atk-component-add-focus-handler" title="atk_component_add_focus_handler ()"><code class="function">atk_component_add_focus_handler()</code></a> for more information.</p></td>
|
973
|
+
<td class="struct_member_annotations"> </td>
|
777
974
|
</tr>
|
778
975
|
<tr>
|
779
|
-
<td
|
780
|
-
<td
|
781
|
-
</td>
|
976
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="AtkComponentIface.contains"></a>contains</code></em> ()</p></td>
|
977
|
+
<td class="struct_member_description"> </td>
|
978
|
+
<td class="struct_member_annotations"> </td>
|
979
|
+
</tr>
|
980
|
+
<tr>
|
981
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="AtkComponentIface.ref-accessible-at-point"></a>ref_accessible_at_point</code></em> ()</p></td>
|
982
|
+
<td class="struct_member_description"> </td>
|
983
|
+
<td class="struct_member_annotations"> </td>
|
984
|
+
</tr>
|
985
|
+
<tr>
|
986
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="AtkComponentIface.get-extents"></a>get_extents</code></em> ()</p></td>
|
987
|
+
<td class="struct_member_description"> </td>
|
988
|
+
<td class="struct_member_annotations"> </td>
|
989
|
+
</tr>
|
990
|
+
<tr>
|
991
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="AtkComponentIface.get-position"></a>get_position</code></em> ()</p></td>
|
992
|
+
<td class="struct_member_description"><p>This virtual function is deprecated since 2.12 and
|
993
|
+
it should not be overriden. Use <em class="parameter"><code>get_extents</code></em>
|
994
|
+
instead.</p></td>
|
995
|
+
<td class="struct_member_annotations"> </td>
|
996
|
+
</tr>
|
997
|
+
<tr>
|
998
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="AtkComponentIface.get-size"></a>get_size</code></em> ()</p></td>
|
999
|
+
<td class="struct_member_description"><p>This virtual function is deprecated since 2.12 and it
|
1000
|
+
should not be overriden. Use <em class="parameter"><code>get_extents</code></em>
|
1001
|
+
instead.</p></td>
|
1002
|
+
<td class="struct_member_annotations"> </td>
|
1003
|
+
</tr>
|
1004
|
+
<tr>
|
1005
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="AtkComponentIface.grab-focus"></a>grab_focus</code></em> ()</p></td>
|
1006
|
+
<td class="struct_member_description"> </td>
|
1007
|
+
<td class="struct_member_annotations"> </td>
|
1008
|
+
</tr>
|
1009
|
+
<tr>
|
1010
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="AtkComponentIface.remove-focus-handler"></a>remove_focus_handler</code></em> ()</p></td>
|
1011
|
+
<td class="struct_member_description"><p>This virtual function is deprecated since
|
1012
|
+
2.9.4 and it should not be overriden. See
|
1013
|
+
<a class="link" href="AtkComponent.html#atk-component-remove-focus-handler" title="atk_component_remove_focus_handler ()"><code class="function">atk_component_remove_focus_handler()</code></a> for more information.</p></td>
|
1014
|
+
<td class="struct_member_annotations"> </td>
|
1015
|
+
</tr>
|
1016
|
+
<tr>
|
1017
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="AtkComponentIface.set-extents"></a>set_extents</code></em> ()</p></td>
|
1018
|
+
<td class="struct_member_description"> </td>
|
1019
|
+
<td class="struct_member_annotations"> </td>
|
1020
|
+
</tr>
|
1021
|
+
<tr>
|
1022
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="AtkComponentIface.set-position"></a>set_position</code></em> ()</p></td>
|
1023
|
+
<td class="struct_member_description"> </td>
|
1024
|
+
<td class="struct_member_annotations"> </td>
|
1025
|
+
</tr>
|
1026
|
+
<tr>
|
1027
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="AtkComponentIface.set-size"></a>set_size</code></em> ()</p></td>
|
1028
|
+
<td class="struct_member_description"> </td>
|
1029
|
+
<td class="struct_member_annotations"> </td>
|
1030
|
+
</tr>
|
1031
|
+
<tr>
|
1032
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="AtkComponentIface.get-layer"></a>get_layer</code></em> ()</p></td>
|
1033
|
+
<td class="struct_member_description"> </td>
|
1034
|
+
<td class="struct_member_annotations"> </td>
|
782
1035
|
</tr>
|
783
1036
|
<tr>
|
784
|
-
<td><p><
|
785
|
-
<td>
|
786
|
-
<
|
1037
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="AtkComponentIface.get-mdi-zorder"></a>get_mdi_zorder</code></em> ()</p></td>
|
1038
|
+
<td class="struct_member_description"> </td>
|
1039
|
+
<td class="struct_member_annotations"> </td>
|
1040
|
+
</tr>
|
1041
|
+
<tr>
|
1042
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="AtkComponentIface.bounds-changed"></a>bounds_changed</code></em> ()</p></td>
|
1043
|
+
<td class="struct_member_description"> </td>
|
1044
|
+
<td class="struct_member_annotations"> </td>
|
1045
|
+
</tr>
|
1046
|
+
<tr>
|
1047
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="AtkComponentIface.get-alpha"></a>get_alpha</code></em> ()</p></td>
|
1048
|
+
<td class="struct_member_description"> </td>
|
1049
|
+
<td class="struct_member_annotations"> </td>
|
787
1050
|
</tr>
|
788
1051
|
</tbody>
|
789
1052
|
</table></div>
|
790
1053
|
</div>
|
1054
|
+
</div>
|
791
1055
|
<hr>
|
792
1056
|
<div class="refsect2">
|
793
|
-
<a name="
|
794
|
-
<pre class="programlisting"
|
795
|
-
|
796
|
-
|
797
|
-
|
798
|
-
|
799
|
-
|
800
|
-
|
801
|
-
<
|
1057
|
+
<a name="AtkRectangle"></a><h3>struct AtkRectangle</h3>
|
1058
|
+
<pre class="programlisting">struct AtkRectangle {
|
1059
|
+
gint x;
|
1060
|
+
gint y;
|
1061
|
+
gint width;
|
1062
|
+
gint height;
|
1063
|
+
};
|
1064
|
+
</pre>
|
1065
|
+
<p>A data structure for holding a rectangle. Those coordinates are
|
1066
|
+
relative to the component top-level parent.</p>
|
1067
|
+
<div class="refsect3">
|
1068
|
+
<a name="id-1.5.3.10.4.5"></a><h4>Members</h4>
|
1069
|
+
<div class="informaltable"><table width="100%" border="0">
|
1070
|
+
<colgroup>
|
1071
|
+
<col width="300px" class="struct_members_name">
|
1072
|
+
<col class="struct_members_description">
|
1073
|
+
<col width="200px" class="struct_members_annotations">
|
1074
|
+
</colgroup>
|
802
1075
|
<tbody>
|
803
1076
|
<tr>
|
804
|
-
<td><p><span class="
|
805
|
-
<td
|
806
|
-
</td>
|
1077
|
+
<td class="struct_member_name"><p><span class="type">gint</span> <em class="structfield"><code><a name="AtkRectangle.x"></a>x</code></em>;</p></td>
|
1078
|
+
<td class="struct_member_description"><p>X coordinate of the left side of the rectangle.</p></td>
|
1079
|
+
<td class="struct_member_annotations"> </td>
|
1080
|
+
</tr>
|
1081
|
+
<tr>
|
1082
|
+
<td class="struct_member_name"><p><span class="type">gint</span> <em class="structfield"><code><a name="AtkRectangle.y"></a>y</code></em>;</p></td>
|
1083
|
+
<td class="struct_member_description"><p>Y coordinate of the top side of the rectangle.</p></td>
|
1084
|
+
<td class="struct_member_annotations"> </td>
|
1085
|
+
</tr>
|
1086
|
+
<tr>
|
1087
|
+
<td class="struct_member_name"><p><span class="type">gint</span> <em class="structfield"><code><a name="AtkRectangle.width"></a>width</code></em>;</p></td>
|
1088
|
+
<td class="struct_member_description"><p>width of the rectangle.</p></td>
|
1089
|
+
<td class="struct_member_annotations"> </td>
|
807
1090
|
</tr>
|
808
1091
|
<tr>
|
809
|
-
<td><p><span class="
|
810
|
-
<td>
|
1092
|
+
<td class="struct_member_name"><p><span class="type">gint</span> <em class="structfield"><code><a name="AtkRectangle.height"></a>height</code></em>;</p></td>
|
1093
|
+
<td class="struct_member_description"><p>height of the rectangle.</p></td>
|
1094
|
+
<td class="struct_member_annotations"> </td>
|
811
1095
|
</tr>
|
812
1096
|
</tbody>
|
813
1097
|
</table></div>
|
814
|
-
|
1098
|
+
</div>
|
815
1099
|
</div>
|
816
1100
|
</div>
|
817
1101
|
<div class="refsect1">
|
818
1102
|
<a name="AtkComponent.signal-details"></a><h2>Signal Details</h2>
|
819
1103
|
<div class="refsect2">
|
820
|
-
<a name="AtkComponent-bounds-changed"></a><h3>The <code class="literal"
|
821
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
822
|
-
|
823
|
-
|
824
|
-
<
|
825
|
-
The 'bounds-changed" signal is emitted when the bposition or
|
826
|
-
size of the component changes
|
827
|
-
|
828
|
-
<
|
829
|
-
<
|
1104
|
+
<a name="AtkComponent-bounds-changed"></a><h3>The <code class="literal">“bounds-changed”</code> signal</h3>
|
1105
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1106
|
+
user_function (<a class="link" href="AtkComponent.html" title="AtkComponent"><span class="type">AtkComponent</span></a> *atkcomponent,
|
1107
|
+
<a class="link" href="AtkComponent.html#AtkRectangle" title="struct AtkRectangle"><span class="type">AtkRectangle</span></a> *arg1,
|
1108
|
+
<span class="type">gpointer</span> user_data)</pre>
|
1109
|
+
<p>The 'bounds-changed" signal is emitted when the bposition or
|
1110
|
+
size of the component changes.</p>
|
1111
|
+
<div class="refsect3">
|
1112
|
+
<a name="id-1.5.3.11.2.5"></a><h4>Parameters</h4>
|
1113
|
+
<div class="informaltable"><table width="100%" border="0">
|
1114
|
+
<colgroup>
|
1115
|
+
<col width="150px" class="parameters_name">
|
1116
|
+
<col class="parameters_description">
|
1117
|
+
<col width="200px" class="parameters_annotations">
|
1118
|
+
</colgroup>
|
830
1119
|
<tbody>
|
831
1120
|
<tr>
|
832
|
-
<td
|
833
|
-
<td>the object which received the signal.</td>
|
1121
|
+
<td class="parameter_name"><p>atkcomponent</p></td>
|
1122
|
+
<td class="parameter_description"><p>the object which received the signal.</p></td>
|
1123
|
+
<td class="parameter_annotations"> </td>
|
834
1124
|
</tr>
|
835
1125
|
<tr>
|
836
|
-
<td
|
837
|
-
<td>The AtkRectangle giving the new position and size.</td>
|
1126
|
+
<td class="parameter_name"><p>arg1</p></td>
|
1127
|
+
<td class="parameter_description"><p>The AtkRectangle giving the new position and size.</p></td>
|
1128
|
+
<td class="parameter_annotations"> </td>
|
838
1129
|
</tr>
|
839
1130
|
<tr>
|
840
|
-
<td
|
841
|
-
<td>user data set when the signal handler was connected.</td>
|
1131
|
+
<td class="parameter_name"><p>user_data</p></td>
|
1132
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
1133
|
+
<td class="parameter_annotations"> </td>
|
842
1134
|
</tr>
|
843
1135
|
</tbody>
|
844
1136
|
</table></div>
|
845
1137
|
</div>
|
1138
|
+
<p>Flags: Run Last</p>
|
1139
|
+
</div>
|
846
1140
|
</div>
|
847
1141
|
</div>
|
848
1142
|
<div class="footer">
|
849
1143
|
<hr>
|
850
|
-
Generated by GTK-Doc V1.
|
1144
|
+
Generated by GTK-Doc V1.21.1</div>
|
851
1145
|
</body>
|
852
1146
|
</html>
|