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>AtkDocument</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
5
|
+
<title>ATK - Accessibility Toolkit: AtkDocument</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="AtkComponent.html" title="AtkComponent">
|
10
10
|
<link rel="next" href="AtkEditableText.html" title="AtkEditableText">
|
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="#AtkDocument.
|
20
|
-
|
21
|
-
<a href="#AtkDocument.
|
22
|
-
|
|
23
|
-
<a href="#AtkDocument.implementations" class="shortcut">Known Implementations</a>
|
24
|
-
|
|
25
|
-
<a href="#AtkDocument.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="#AtkDocument.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#AtkDocument.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_implementations"> <span class="dim">|</span>
|
20
|
+
<a href="#AtkDocument.implementations" class="shortcut">Known Implementations</a></span><span id="nav_signals"> <span class="dim">|</span>
|
21
|
+
<a href="#AtkDocument.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="AtkComponent.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
30
26
|
<td><a accesskey="n" href="AtkEditableText.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
31
27
|
</tr></table>
|
@@ -37,291 +33,534 @@
|
|
37
33
|
<p>AtkDocument — The ATK interface which represents the toplevel
|
38
34
|
container for document content.</p>
|
39
35
|
</td>
|
40
|
-
<td valign="top" align="right"></td>
|
36
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
41
37
|
</tr></table></div>
|
42
|
-
<div class="refsynopsisdiv">
|
43
|
-
<a name="AtkDocument.synopsis"></a><h2>Synopsis</h2>
|
44
|
-
<pre class="synopsis"> <a class="link" href="AtkDocument.html#AtkDocument-struct" title="AtkDocument">AtkDocument</a>;
|
45
|
-
struct <a class="link" href="AtkDocument.html#AtkDocumentIface" title="struct AtkDocumentIface">AtkDocumentIface</a>;
|
46
|
-
const <span class="returnvalue">gchar</span> * <a class="link" href="AtkDocument.html#atk-document-get-document-type" title="atk_document_get_document_type ()">atk_document_get_document_type</a> (<em class="parameter"><code><a class="link" href="AtkDocument.html" title="AtkDocument"><span class="type">AtkDocument</span></a> *document</code></em>);
|
47
|
-
<span class="returnvalue">gpointer</span> <a class="link" href="AtkDocument.html#atk-document-get-document" title="atk_document_get_document ()">atk_document_get_document</a> (<em class="parameter"><code><a class="link" href="AtkDocument.html" title="AtkDocument"><span class="type">AtkDocument</span></a> *document</code></em>);
|
48
|
-
const <span class="returnvalue">gchar</span> * <a class="link" href="AtkDocument.html#atk-document-get-attribute-value" title="atk_document_get_attribute_value ()">atk_document_get_attribute_value</a> (<em class="parameter"><code><a class="link" href="AtkDocument.html" title="AtkDocument"><span class="type">AtkDocument</span></a> *document</code></em>,
|
49
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *attribute_name</code></em>);
|
50
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="AtkDocument.html#atk-document-set-attribute-value" title="atk_document_set_attribute_value ()">atk_document_set_attribute_value</a> (<em class="parameter"><code><a class="link" href="AtkDocument.html" title="AtkDocument"><span class="type">AtkDocument</span></a> *document</code></em>,
|
51
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *attribute_name</code></em>,
|
52
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *attribute_value</code></em>);
|
53
|
-
<a class="link" href="AtkText.html#AtkAttributeSet" title="AtkAttributeSet"><span class="returnvalue">AtkAttributeSet</span></a> * <a class="link" href="AtkDocument.html#atk-document-get-attributes" title="atk_document_get_attributes ()">atk_document_get_attributes</a> (<em class="parameter"><code><a class="link" href="AtkDocument.html" title="AtkDocument"><span class="type">AtkDocument</span></a> *document</code></em>);
|
54
|
-
const <span class="returnvalue">gchar</span> * <a class="link" href="AtkDocument.html#atk-document-get-locale" title="atk_document_get_locale ()">atk_document_get_locale</a> (<em class="parameter"><code><a class="link" href="AtkDocument.html" title="AtkDocument"><span class="type">AtkDocument</span></a> *document</code></em>);
|
55
|
-
</pre>
|
56
|
-
</div>
|
57
|
-
<div class="refsect1">
|
58
|
-
<a name="AtkDocument.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
59
|
-
<pre class="synopsis">
|
60
|
-
GInterface
|
61
|
-
+----AtkDocument
|
62
|
-
</pre>
|
63
|
-
</div>
|
64
|
-
<div class="refsect1">
|
65
|
-
<a name="AtkDocument.implementations"></a><h2>Known Implementations</h2>
|
66
|
-
<p>
|
67
|
-
AtkDocument is implemented by
|
68
|
-
<a class="link" href="AtkNoOpObject.html" title="AtkNoOpObject">AtkNoOpObject</a>.</p>
|
69
|
-
</div>
|
70
|
-
<div class="refsect1">
|
71
|
-
<a name="AtkDocument.signals"></a><h2>Signals</h2>
|
72
|
-
<pre class="synopsis">
|
73
|
-
"<a class="link" href="AtkDocument.html#AtkDocument-load-complete" title='The "load-complete" signal'>load-complete</a>" : <code class="literal">Run Last</code>
|
74
|
-
"<a class="link" href="AtkDocument.html#AtkDocument-load-stopped" title='The "load-stopped" signal'>load-stopped</a>" : <code class="literal">Run Last</code>
|
75
|
-
"<a class="link" href="AtkDocument.html#AtkDocument-reload" title='The "reload" signal'>reload</a>" : <code class="literal">Run Last</code>
|
76
|
-
</pre>
|
77
|
-
</div>
|
78
|
-
<div class="refsect1">
|
79
|
-
<a name="AtkDocument.description"></a><h2>Description</h2>
|
80
|
-
<p>
|
81
|
-
The AtkDocument interface should be supported by any object whose
|
82
|
-
content is a representation or view of a document. The AtkDocument
|
83
|
-
interface should appear on the toplevel container for the document
|
84
|
-
content; however AtkDocument instances may be nested (i.e. an
|
85
|
-
AtkDocument may be a descendant of another AtkDocument) in those
|
86
|
-
cases where one document contains "embedded content" which can
|
87
|
-
reasonably be considered a document in its own right.
|
88
|
-
</p>
|
89
|
-
</div>
|
90
38
|
<div class="refsect1">
|
91
|
-
<a name="AtkDocument.
|
92
|
-
<div class="
|
93
|
-
<
|
94
|
-
<
|
95
|
-
<
|
96
|
-
</
|
97
|
-
</div>
|
98
|
-
<hr>
|
99
|
-
<div class="refsect2">
|
100
|
-
<a name="AtkDocumentIface"></a><h3>struct AtkDocumentIface</h3>
|
101
|
-
<pre class="programlisting">struct AtkDocumentIface {
|
102
|
-
GTypeInterface parent;
|
103
|
-
const gchar* ( *get_document_type) (AtkDocument *document);
|
104
|
-
gpointer ( *get_document) (AtkDocument *document);
|
105
|
-
|
106
|
-
const gchar* ( *get_document_locale) (AtkDocument *document);
|
107
|
-
AtkAttributeSet * ( *get_document_attributes) (AtkDocument *document);
|
108
|
-
const gchar* ( *get_document_attribute_value) (AtkDocument *document,
|
109
|
-
const gchar *attribute_name);
|
110
|
-
gboolean ( *set_document_attribute) (AtkDocument *document,
|
111
|
-
const gchar *attribute_name,
|
112
|
-
const gchar *attribute_value);
|
113
|
-
};
|
114
|
-
</pre>
|
115
|
-
<div class="variablelist"><table border="0">
|
116
|
-
<col align="left" valign="top">
|
39
|
+
<a name="AtkDocument.functions"></a><h2>Functions</h2>
|
40
|
+
<div class="informaltable"><table width="100%" border="0">
|
41
|
+
<colgroup>
|
42
|
+
<col width="150px" class="functions_return">
|
43
|
+
<col class="functions_name">
|
44
|
+
</colgroup>
|
117
45
|
<tbody>
|
118
46
|
<tr>
|
119
|
-
<td
|
120
|
-
|
47
|
+
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
48
|
+
</td>
|
49
|
+
<td class="function_name">
|
50
|
+
<a class="link" href="AtkDocument.html#atk-document-get-document-type" title="atk_document_get_document_type ()">atk_document_get_document_type</a> <span class="c_punctuation">()</span>
|
51
|
+
</td>
|
121
52
|
</tr>
|
122
53
|
<tr>
|
123
|
-
<td
|
124
|
-
<
|
54
|
+
<td class="function_type">
|
55
|
+
<span class="returnvalue">gpointer</span>
|
56
|
+
</td>
|
57
|
+
<td class="function_name">
|
58
|
+
<a class="link" href="AtkDocument.html#atk-document-get-document" title="atk_document_get_document ()">atk_document_get_document</a> <span class="c_punctuation">()</span>
|
59
|
+
</td>
|
125
60
|
</tr>
|
126
61
|
<tr>
|
127
|
-
<td
|
128
|
-
|
62
|
+
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
63
|
+
</td>
|
64
|
+
<td class="function_name">
|
65
|
+
<a class="link" href="AtkDocument.html#atk-document-get-attribute-value" title="atk_document_get_attribute_value ()">atk_document_get_attribute_value</a> <span class="c_punctuation">()</span>
|
66
|
+
</td>
|
129
67
|
</tr>
|
130
68
|
<tr>
|
131
|
-
<td
|
132
|
-
<
|
133
|
-
|
69
|
+
<td class="function_type">
|
70
|
+
<span class="returnvalue">gboolean</span>
|
71
|
+
</td>
|
72
|
+
<td class="function_name">
|
73
|
+
<a class="link" href="AtkDocument.html#atk-document-set-attribute-value" title="atk_document_set_attribute_value ()">atk_document_set_attribute_value</a> <span class="c_punctuation">()</span>
|
74
|
+
</td>
|
134
75
|
</tr>
|
135
76
|
<tr>
|
136
|
-
<td
|
137
|
-
<
|
77
|
+
<td class="function_type">
|
78
|
+
<a class="link" href="AtkObject.html#AtkAttributeSet" title="AtkAttributeSet"><span class="returnvalue">AtkAttributeSet</span></a> *
|
79
|
+
</td>
|
80
|
+
<td class="function_name">
|
81
|
+
<a class="link" href="AtkDocument.html#atk-document-get-attributes" title="atk_document_get_attributes ()">atk_document_get_attributes</a> <span class="c_punctuation">()</span>
|
82
|
+
</td>
|
83
|
+
</tr>
|
84
|
+
<tr>
|
85
|
+
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
86
|
+
</td>
|
87
|
+
<td class="function_name">
|
88
|
+
<a class="link" href="AtkDocument.html#atk-document-get-locale" title="atk_document_get_locale ()">atk_document_get_locale</a> <span class="c_punctuation">()</span>
|
89
|
+
</td>
|
138
90
|
</tr>
|
139
91
|
<tr>
|
140
|
-
<td
|
141
|
-
<
|
92
|
+
<td class="function_type">
|
93
|
+
<span class="returnvalue">gint</span>
|
94
|
+
</td>
|
95
|
+
<td class="function_name">
|
96
|
+
<a class="link" href="AtkDocument.html#atk-document-get-current-page-number" title="atk_document_get_current_page_number ()">atk_document_get_current_page_number</a> <span class="c_punctuation">()</span>
|
97
|
+
</td>
|
142
98
|
</tr>
|
143
99
|
<tr>
|
144
|
-
<td
|
145
|
-
<
|
100
|
+
<td class="function_type">
|
101
|
+
<span class="returnvalue">gint</span>
|
102
|
+
</td>
|
103
|
+
<td class="function_name">
|
104
|
+
<a class="link" href="AtkDocument.html#atk-document-get-page-count" title="atk_document_get_page_count ()">atk_document_get_page_count</a> <span class="c_punctuation">()</span>
|
105
|
+
</td>
|
146
106
|
</tr>
|
147
107
|
</tbody>
|
148
108
|
</table></div>
|
149
109
|
</div>
|
150
|
-
<
|
151
|
-
<
|
152
|
-
<
|
153
|
-
<
|
154
|
-
<
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
<col align="left" valign="top">
|
110
|
+
<div class="refsect1">
|
111
|
+
<a name="AtkDocument.signals"></a><h2>Signals</h2>
|
112
|
+
<div class="informaltable"><table border="0">
|
113
|
+
<colgroup>
|
114
|
+
<col width="150px" class="signals_return">
|
115
|
+
<col width="300px" class="signals_name">
|
116
|
+
<col width="200px" class="signals_flags">
|
117
|
+
</colgroup>
|
159
118
|
<tbody>
|
160
119
|
<tr>
|
161
|
-
<td
|
162
|
-
<td
|
120
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
121
|
+
<td class="signal_name"><a class="link" href="AtkDocument.html#AtkDocument-load-complete" title="The “load-complete” signal">load-complete</a></td>
|
122
|
+
<td class="signal_flags">Run Last</td>
|
123
|
+
</tr>
|
124
|
+
<tr>
|
125
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
126
|
+
<td class="signal_name"><a class="link" href="AtkDocument.html#AtkDocument-load-stopped" title="The “load-stopped” signal">load-stopped</a></td>
|
127
|
+
<td class="signal_flags">Run Last</td>
|
128
|
+
</tr>
|
129
|
+
<tr>
|
130
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
131
|
+
<td class="signal_name"><a class="link" href="AtkDocument.html#AtkDocument-page-changed" title="The “page-changed” signal">page-changed</a></td>
|
132
|
+
<td class="signal_flags">Run Last</td>
|
163
133
|
</tr>
|
164
134
|
<tr>
|
165
|
-
<td
|
166
|
-
<td
|
135
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
136
|
+
<td class="signal_name"><a class="link" href="AtkDocument.html#AtkDocument-reload" title="The “reload” signal">reload</a></td>
|
137
|
+
<td class="signal_flags">Run Last</td>
|
167
138
|
</tr>
|
168
139
|
</tbody>
|
169
140
|
</table></div>
|
170
141
|
</div>
|
171
|
-
<
|
172
|
-
<
|
173
|
-
<
|
174
|
-
<
|
175
|
-
<
|
176
|
-
|
177
|
-
|
178
|
-
how to cast this pointer.
|
179
|
-
</p>
|
180
|
-
<div class="variablelist"><table border="0">
|
181
|
-
<col align="left" valign="top">
|
142
|
+
<div class="refsect1">
|
143
|
+
<a name="AtkDocument.other"></a><h2>Types and Values</h2>
|
144
|
+
<div class="informaltable"><table width="100%" border="0">
|
145
|
+
<colgroup>
|
146
|
+
<col width="150px" class="name">
|
147
|
+
<col class="description">
|
148
|
+
</colgroup>
|
182
149
|
<tbody>
|
183
150
|
<tr>
|
184
|
-
<td
|
185
|
-
<td
|
151
|
+
<td class="datatype_keyword"> </td>
|
152
|
+
<td class="function_name"><a class="link" href="AtkDocument.html#AtkDocument-struct" title="AtkDocument">AtkDocument</a></td>
|
186
153
|
</tr>
|
187
154
|
<tr>
|
188
|
-
<td
|
189
|
-
<td
|
190
|
-
</td>
|
155
|
+
<td class="datatype_keyword">struct</td>
|
156
|
+
<td class="function_name"><a class="link" href="AtkDocument.html#AtkDocumentIface" title="struct AtkDocumentIface">AtkDocumentIface</a></td>
|
191
157
|
</tr>
|
192
158
|
</tbody>
|
193
159
|
</table></div>
|
194
160
|
</div>
|
161
|
+
<div class="refsect1">
|
162
|
+
<a name="AtkDocument.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
163
|
+
<pre class="screen"> GInterface
|
164
|
+
<span class="lineart">╰──</span> AtkDocument
|
165
|
+
</pre>
|
166
|
+
</div>
|
167
|
+
<div class="refsect1">
|
168
|
+
<a name="AtkDocument.implementations"></a><h2>Known Implementations</h2>
|
169
|
+
<p>
|
170
|
+
AtkDocument is implemented by
|
171
|
+
<a class="link" href="AtkNoOpObject.html" title="AtkNoOpObject">AtkNoOpObject</a>.</p>
|
172
|
+
</div>
|
173
|
+
<div class="refsect1">
|
174
|
+
<a name="AtkDocument.description"></a><h2>Description</h2>
|
175
|
+
<p>The AtkDocument interface should be supported by any object whose
|
176
|
+
content is a representation or view of a document. The AtkDocument
|
177
|
+
interface should appear on the toplevel container for the document
|
178
|
+
content; however AtkDocument instances may be nested (i.e. an
|
179
|
+
AtkDocument may be a descendant of another AtkDocument) in those
|
180
|
+
cases where one document contains "embedded content" which can
|
181
|
+
reasonably be considered a document in its own right.</p>
|
182
|
+
</div>
|
183
|
+
<div class="refsect1">
|
184
|
+
<a name="AtkDocument.functions_details"></a><h2>Functions</h2>
|
185
|
+
<div class="refsect2">
|
186
|
+
<a name="atk-document-get-document-type"></a><h3>atk_document_get_document_type ()</h3>
|
187
|
+
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
188
|
+
atk_document_get_document_type (<em class="parameter"><code><a class="link" href="AtkDocument.html" title="AtkDocument"><span class="type">AtkDocument</span></a> *document</code></em>);</pre>
|
189
|
+
<div class="warning">
|
190
|
+
<p><code class="literal">atk_document_get_document_type</code> is deprecated and should not be used in newly-written code.</p>
|
191
|
+
<p>Since 2.12. Please use <a class="link" href="AtkDocument.html#atk-document-get-attributes" title="atk_document_get_attributes ()"><code class="function">atk_document_get_attributes()</code></a> to
|
192
|
+
ask for the document type if it applies.</p>
|
193
|
+
</div>
|
194
|
+
<p>Gets a string indicating the document type.</p>
|
195
|
+
<div class="refsect3">
|
196
|
+
<a name="id-1.5.4.9.2.6"></a><h4>Parameters</h4>
|
197
|
+
<div class="informaltable"><table width="100%" border="0">
|
198
|
+
<colgroup>
|
199
|
+
<col width="150px" class="parameters_name">
|
200
|
+
<col class="parameters_description">
|
201
|
+
<col width="200px" class="parameters_annotations">
|
202
|
+
</colgroup>
|
203
|
+
<tbody><tr>
|
204
|
+
<td class="parameter_name"><p>document</p></td>
|
205
|
+
<td class="parameter_description"><p>a <span class="type">GObject</span> instance that implements AtkDocumentIface</p></td>
|
206
|
+
<td class="parameter_annotations"> </td>
|
207
|
+
</tr></tbody>
|
208
|
+
</table></div>
|
209
|
+
</div>
|
210
|
+
<div class="refsect3">
|
211
|
+
<a name="id-1.5.4.9.2.7"></a><h4>Returns</h4>
|
212
|
+
<p> a string indicating the document type</p>
|
213
|
+
<p></p>
|
214
|
+
</div>
|
215
|
+
</div>
|
216
|
+
<hr>
|
217
|
+
<div class="refsect2">
|
218
|
+
<a name="atk-document-get-document"></a><h3>atk_document_get_document ()</h3>
|
219
|
+
<pre class="programlisting"><span class="returnvalue">gpointer</span>
|
220
|
+
atk_document_get_document (<em class="parameter"><code><a class="link" href="AtkDocument.html" title="AtkDocument"><span class="type">AtkDocument</span></a> *document</code></em>);</pre>
|
221
|
+
<div class="warning">
|
222
|
+
<p><code class="literal">atk_document_get_document</code> is deprecated and should not be used in newly-written code.</p>
|
223
|
+
<p>Since 2.12. <em class="parameter"><code>document</code></em>
|
224
|
+
is already a representation of
|
225
|
+
the document. Use it directly, or one of his children, as an
|
226
|
+
instance of the DOM.</p>
|
227
|
+
</div>
|
228
|
+
<p>Gets a <code class="literal">gpointer</code> that points to an instance of the DOM. It is
|
229
|
+
up to the caller to check atk_document_get_type to determine
|
230
|
+
how to cast this pointer.</p>
|
231
|
+
<div class="refsect3">
|
232
|
+
<a name="id-1.5.4.9.3.6"></a><h4>Parameters</h4>
|
233
|
+
<div class="informaltable"><table width="100%" border="0">
|
234
|
+
<colgroup>
|
235
|
+
<col width="150px" class="parameters_name">
|
236
|
+
<col class="parameters_description">
|
237
|
+
<col width="200px" class="parameters_annotations">
|
238
|
+
</colgroup>
|
239
|
+
<tbody><tr>
|
240
|
+
<td class="parameter_name"><p>document</p></td>
|
241
|
+
<td class="parameter_description"><p>a <span class="type">GObject</span> instance that implements AtkDocumentIface</p></td>
|
242
|
+
<td class="parameter_annotations"> </td>
|
243
|
+
</tr></tbody>
|
244
|
+
</table></div>
|
245
|
+
</div>
|
246
|
+
<div class="refsect3">
|
247
|
+
<a name="id-1.5.4.9.3.7"></a><h4>Returns</h4>
|
248
|
+
<p> a <code class="literal">gpointer</code> that points to an instance of the DOM. </p>
|
249
|
+
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span></p>
|
250
|
+
</div>
|
251
|
+
</div>
|
195
252
|
<hr>
|
196
253
|
<div class="refsect2">
|
197
|
-
<a name="atk-document-get-attribute-value"></a><h3>atk_document_get_attribute_value
|
198
|
-
<pre class="programlisting">const <span class="returnvalue">gchar</span>
|
199
|
-
|
200
|
-
<
|
201
|
-
<
|
254
|
+
<a name="atk-document-get-attribute-value"></a><h3>atk_document_get_attribute_value ()</h3>
|
255
|
+
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
256
|
+
atk_document_get_attribute_value (<em class="parameter"><code><a class="link" href="AtkDocument.html" title="AtkDocument"><span class="type">AtkDocument</span></a> *document</code></em>,
|
257
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *attribute_name</code></em>);</pre>
|
258
|
+
<div class="refsect3">
|
259
|
+
<a name="id-1.5.4.9.4.4"></a><h4>Parameters</h4>
|
260
|
+
<div class="informaltable"><table width="100%" border="0">
|
261
|
+
<colgroup>
|
262
|
+
<col width="150px" class="parameters_name">
|
263
|
+
<col class="parameters_description">
|
264
|
+
<col width="200px" class="parameters_annotations">
|
265
|
+
</colgroup>
|
202
266
|
<tbody>
|
203
267
|
<tr>
|
204
|
-
<td
|
205
|
-
<td>a <span class="type">GObject</span> instance that implements AtkDocumentIface</td>
|
206
|
-
</
|
207
|
-
<tr>
|
208
|
-
<td><p><span class="term"><em class="parameter"><code>attribute_name</code></em> :</span></p></td>
|
209
|
-
<td>a character string representing the name of the attribute
|
210
|
-
whose value is being queried.</td>
|
268
|
+
<td class="parameter_name"><p>document</p></td>
|
269
|
+
<td class="parameter_description"><p>a <span class="type">GObject</span> instance that implements AtkDocumentIface</p></td>
|
270
|
+
<td class="parameter_annotations"> </td>
|
211
271
|
</tr>
|
212
272
|
<tr>
|
213
|
-
<td
|
214
|
-
<td>a string
|
215
|
-
|
216
|
-
|
217
|
-
Virtual: get_document_attribute_value</td>
|
273
|
+
<td class="parameter_name"><p>attribute_name</p></td>
|
274
|
+
<td class="parameter_description"><p>a character string representing the name of the attribute
|
275
|
+
whose value is being queried.</p></td>
|
276
|
+
<td class="parameter_annotations"> </td>
|
218
277
|
</tr>
|
219
278
|
</tbody>
|
220
279
|
</table></div>
|
280
|
+
</div>
|
281
|
+
<div class="refsect3">
|
282
|
+
<a name="id-1.5.4.9.4.5"></a><h4>Returns</h4>
|
283
|
+
<p> a string value associated with the named
|
284
|
+
attribute for this document, or NULL if a value for
|
285
|
+
<span class="type">attribute_name</span> has not been specified for this document. </p>
|
286
|
+
<p><span class="annotation">[<a href="http://foldoc.org/nullable"><span class="acronym">nullable</span></a>]</span></p>
|
287
|
+
</div>
|
221
288
|
<p class="since">Since 1.12</p>
|
222
289
|
</div>
|
223
290
|
<hr>
|
224
291
|
<div class="refsect2">
|
225
|
-
<a name="atk-document-set-attribute-value"></a><h3>atk_document_set_attribute_value
|
226
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
227
|
-
|
228
|
-
|
229
|
-
<
|
230
|
-
<
|
292
|
+
<a name="atk-document-set-attribute-value"></a><h3>atk_document_set_attribute_value ()</h3>
|
293
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
294
|
+
atk_document_set_attribute_value (<em class="parameter"><code><a class="link" href="AtkDocument.html" title="AtkDocument"><span class="type">AtkDocument</span></a> *document</code></em>,
|
295
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *attribute_name</code></em>,
|
296
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *attribute_value</code></em>);</pre>
|
297
|
+
<div class="refsect3">
|
298
|
+
<a name="id-1.5.4.9.5.4"></a><h4>Parameters</h4>
|
299
|
+
<div class="informaltable"><table width="100%" border="0">
|
300
|
+
<colgroup>
|
301
|
+
<col width="150px" class="parameters_name">
|
302
|
+
<col class="parameters_description">
|
303
|
+
<col width="200px" class="parameters_annotations">
|
304
|
+
</colgroup>
|
231
305
|
<tbody>
|
232
306
|
<tr>
|
233
|
-
<td
|
234
|
-
<td>a <span class="type">GObject</span> instance that implements AtkDocumentIface</td>
|
235
|
-
</
|
236
|
-
<tr>
|
237
|
-
<td><p><span class="term"><em class="parameter"><code>attribute_name</code></em> :</span></p></td>
|
238
|
-
<td>a character string representing the name of the attribute
|
239
|
-
whose value is being set.</td>
|
307
|
+
<td class="parameter_name"><p>document</p></td>
|
308
|
+
<td class="parameter_description"><p>a <span class="type">GObject</span> instance that implements AtkDocumentIface</p></td>
|
309
|
+
<td class="parameter_annotations"> </td>
|
240
310
|
</tr>
|
241
311
|
<tr>
|
242
|
-
<td
|
243
|
-
<td>a string
|
312
|
+
<td class="parameter_name"><p>attribute_name</p></td>
|
313
|
+
<td class="parameter_description"><p>a character string representing the name of the attribute
|
314
|
+
whose value is being set.</p></td>
|
315
|
+
<td class="parameter_annotations"> </td>
|
244
316
|
</tr>
|
245
317
|
<tr>
|
246
|
-
<td
|
247
|
-
<td
|
248
|
-
|
249
|
-
allow the attribute to be modified).
|
250
|
-
Virtual: set_document_attribute</td>
|
318
|
+
<td class="parameter_name"><p>attribute_value</p></td>
|
319
|
+
<td class="parameter_description"><p>a string value to be associated with <span class="type">attribute_name</span>.</p></td>
|
320
|
+
<td class="parameter_annotations"> </td>
|
251
321
|
</tr>
|
252
322
|
</tbody>
|
253
323
|
</table></div>
|
324
|
+
</div>
|
325
|
+
<div class="refsect3">
|
326
|
+
<a name="id-1.5.4.9.5.5"></a><h4>Returns</h4>
|
327
|
+
<p> TRUE if <span class="type">value</span> is successfully associated with <span class="type">attribute_name</span>
|
328
|
+
for this document, FALSE otherwise (e.g. if the document does not
|
329
|
+
allow the attribute to be modified).</p>
|
330
|
+
<p></p>
|
331
|
+
</div>
|
254
332
|
<p class="since">Since 1.12</p>
|
255
333
|
</div>
|
256
334
|
<hr>
|
257
335
|
<div class="refsect2">
|
258
|
-
<a name="atk-document-get-attributes"></a><h3>atk_document_get_attributes
|
259
|
-
<pre class="programlisting"><a class="link" href="
|
260
|
-
<
|
261
|
-
Gets an AtkAttributeSet which describes document-wide
|
262
|
-
attributes as name-value pairs
|
263
|
-
|
264
|
-
<
|
265
|
-
<
|
266
|
-
<
|
267
|
-
<
|
268
|
-
<
|
269
|
-
<
|
270
|
-
</
|
271
|
-
<tr>
|
272
|
-
<td
|
273
|
-
<td>
|
274
|
-
|
275
|
-
|
276
|
-
Virtual: get_document_attributes. <span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span>
|
277
|
-
</td>
|
278
|
-
</tr>
|
279
|
-
</tbody>
|
336
|
+
<a name="atk-document-get-attributes"></a><h3>atk_document_get_attributes ()</h3>
|
337
|
+
<pre class="programlisting"><a class="link" href="AtkObject.html#AtkAttributeSet" title="AtkAttributeSet"><span class="returnvalue">AtkAttributeSet</span></a> *
|
338
|
+
atk_document_get_attributes (<em class="parameter"><code><a class="link" href="AtkDocument.html" title="AtkDocument"><span class="type">AtkDocument</span></a> *document</code></em>);</pre>
|
339
|
+
<p>Gets an AtkAttributeSet which describes document-wide
|
340
|
+
attributes as name-value pairs.</p>
|
341
|
+
<div class="refsect3">
|
342
|
+
<a name="id-1.5.4.9.6.5"></a><h4>Parameters</h4>
|
343
|
+
<div class="informaltable"><table width="100%" border="0">
|
344
|
+
<colgroup>
|
345
|
+
<col width="150px" class="parameters_name">
|
346
|
+
<col class="parameters_description">
|
347
|
+
<col width="200px" class="parameters_annotations">
|
348
|
+
</colgroup>
|
349
|
+
<tbody><tr>
|
350
|
+
<td class="parameter_name"><p>document</p></td>
|
351
|
+
<td class="parameter_description"><p>a <span class="type">GObject</span> instance that implements AtkDocumentIface</p></td>
|
352
|
+
<td class="parameter_annotations"> </td>
|
353
|
+
</tr></tbody>
|
280
354
|
</table></div>
|
355
|
+
</div>
|
356
|
+
<div class="refsect3">
|
357
|
+
<a name="id-1.5.4.9.6.6"></a><h4>Returns</h4>
|
358
|
+
<p> An AtkAttributeSet containing the explicitly
|
359
|
+
set name-value-pair attributes associated with this document
|
360
|
+
as a whole. </p>
|
361
|
+
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span></p>
|
362
|
+
</div>
|
281
363
|
<p class="since">Since 1.12</p>
|
282
364
|
</div>
|
283
365
|
<hr>
|
284
366
|
<div class="refsect2">
|
285
|
-
<a name="atk-document-get-locale"></a><h3>atk_document_get_locale
|
286
|
-
<pre class="programlisting">const <span class="returnvalue">gchar</span>
|
367
|
+
<a name="atk-document-get-locale"></a><h3>atk_document_get_locale ()</h3>
|
368
|
+
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
369
|
+
atk_document_get_locale (<em class="parameter"><code><a class="link" href="AtkDocument.html" title="AtkDocument"><span class="type">AtkDocument</span></a> *document</code></em>);</pre>
|
287
370
|
<div class="warning">
|
288
|
-
<
|
289
|
-
<p
|
290
|
-
2.7.90. Please use <a class="link" href="AtkObject.html#atk-object-get-object-locale" title="atk_object_get_object_locale
|
371
|
+
<p><code class="literal">atk_document_get_locale</code> is deprecated and should not be used in newly-written code.</p>
|
372
|
+
<p>This method is deprecated since ATK version
|
373
|
+
2.7.90. Please use <a class="link" href="AtkObject.html#atk-object-get-object-locale" title="atk_object_get_object_locale ()"><code class="function">atk_object_get_object_locale()</code></a> instead.</p>
|
291
374
|
</div>
|
292
|
-
<p>
|
293
|
-
Gets a UTF-8 string indicating the POSIX-style LC_MESSAGES locale
|
375
|
+
<p>Gets a UTF-8 string indicating the POSIX-style LC_MESSAGES locale
|
294
376
|
of the content of this document instance. Individual
|
295
377
|
text substrings or images within this document may have
|
296
378
|
a different locale, see atk_text_get_attributes and
|
297
|
-
atk_image_get_image_locale
|
379
|
+
atk_image_get_image_locale.</p>
|
380
|
+
<div class="refsect3">
|
381
|
+
<a name="id-1.5.4.9.7.6"></a><h4>Parameters</h4>
|
382
|
+
<div class="informaltable"><table width="100%" border="0">
|
383
|
+
<colgroup>
|
384
|
+
<col width="150px" class="parameters_name">
|
385
|
+
<col class="parameters_description">
|
386
|
+
<col width="200px" class="parameters_annotations">
|
387
|
+
</colgroup>
|
388
|
+
<tbody><tr>
|
389
|
+
<td class="parameter_name"><p>document</p></td>
|
390
|
+
<td class="parameter_description"><p>a <span class="type">GObject</span> instance that implements AtkDocumentIface</p></td>
|
391
|
+
<td class="parameter_annotations"> </td>
|
392
|
+
</tr></tbody>
|
393
|
+
</table></div>
|
394
|
+
</div>
|
395
|
+
<div class="refsect3">
|
396
|
+
<a name="id-1.5.4.9.7.7"></a><h4>Returns</h4>
|
397
|
+
<p> a UTF-8 string indicating the POSIX-style LC_MESSAGES
|
398
|
+
locale of the document content as a whole, or NULL if
|
399
|
+
the document content does not specify a locale.</p>
|
400
|
+
<p></p>
|
401
|
+
</div>
|
402
|
+
</div>
|
403
|
+
<hr>
|
404
|
+
<div class="refsect2">
|
405
|
+
<a name="atk-document-get-current-page-number"></a><h3>atk_document_get_current_page_number ()</h3>
|
406
|
+
<pre class="programlisting"><span class="returnvalue">gint</span>
|
407
|
+
atk_document_get_current_page_number (<em class="parameter"><code><a class="link" href="AtkDocument.html" title="AtkDocument"><span class="type">AtkDocument</span></a> *document</code></em>);</pre>
|
408
|
+
<div class="refsect3">
|
409
|
+
<a name="id-1.5.4.9.8.4"></a><h4>Parameters</h4>
|
410
|
+
<div class="informaltable"><table width="100%" border="0">
|
411
|
+
<colgroup>
|
412
|
+
<col width="150px" class="parameters_name">
|
413
|
+
<col class="parameters_description">
|
414
|
+
<col width="200px" class="parameters_annotations">
|
415
|
+
</colgroup>
|
416
|
+
<tbody><tr>
|
417
|
+
<td class="parameter_name"><p>document</p></td>
|
418
|
+
<td class="parameter_description"><p>the <a class="link" href="AtkDocument.html" title="AtkDocument"><span class="type">AtkDocument</span></a></p></td>
|
419
|
+
<td class="parameter_annotations"> </td>
|
420
|
+
</tr></tbody>
|
421
|
+
</table></div>
|
422
|
+
</div>
|
423
|
+
<div class="refsect3">
|
424
|
+
<a name="id-1.5.4.9.8.5"></a><h4>Returns</h4>
|
425
|
+
<p> current page number inside <em class="parameter"><code>document</code></em>
|
426
|
+
. -1 if not
|
427
|
+
implemented, not know by the implementor or irrelevant.</p>
|
428
|
+
<p></p>
|
429
|
+
</div>
|
430
|
+
<p class="since">Since 2.12</p>
|
431
|
+
</div>
|
432
|
+
<hr>
|
433
|
+
<div class="refsect2">
|
434
|
+
<a name="atk-document-get-page-count"></a><h3>atk_document_get_page_count ()</h3>
|
435
|
+
<pre class="programlisting"><span class="returnvalue">gint</span>
|
436
|
+
atk_document_get_page_count (<em class="parameter"><code><a class="link" href="AtkDocument.html" title="AtkDocument"><span class="type">AtkDocument</span></a> *document</code></em>);</pre>
|
437
|
+
<div class="refsect3">
|
438
|
+
<a name="id-1.5.4.9.9.4"></a><h4>Parameters</h4>
|
439
|
+
<div class="informaltable"><table width="100%" border="0">
|
440
|
+
<colgroup>
|
441
|
+
<col width="150px" class="parameters_name">
|
442
|
+
<col class="parameters_description">
|
443
|
+
<col width="200px" class="parameters_annotations">
|
444
|
+
</colgroup>
|
445
|
+
<tbody><tr>
|
446
|
+
<td class="parameter_name"><p>document</p></td>
|
447
|
+
<td class="parameter_description"><p>the <a class="link" href="AtkDocument.html" title="AtkDocument"><span class="type">AtkDocument</span></a></p></td>
|
448
|
+
<td class="parameter_annotations"> </td>
|
449
|
+
</tr></tbody>
|
450
|
+
</table></div>
|
451
|
+
</div>
|
452
|
+
<div class="refsect3">
|
453
|
+
<a name="id-1.5.4.9.9.5"></a><h4>Returns</h4>
|
454
|
+
<p> total page count of <em class="parameter"><code>document</code></em>
|
455
|
+
. -1 if not implemented, not
|
456
|
+
know by the implementor or irrelevant.</p>
|
457
|
+
<p></p>
|
458
|
+
</div>
|
459
|
+
<p class="since">Since 2.12</p>
|
460
|
+
</div>
|
461
|
+
</div>
|
462
|
+
<div class="refsect1">
|
463
|
+
<a name="AtkDocument.other_details"></a><h2>Types and Values</h2>
|
464
|
+
<div class="refsect2">
|
465
|
+
<a name="AtkDocument-struct"></a><h3>AtkDocument</h3>
|
466
|
+
<pre class="programlisting">typedef struct _AtkDocument AtkDocument;</pre>
|
467
|
+
<p>
|
298
468
|
</p>
|
299
|
-
|
300
|
-
<
|
469
|
+
</div>
|
470
|
+
<hr>
|
471
|
+
<div class="refsect2">
|
472
|
+
<a name="AtkDocumentIface"></a><h3>struct AtkDocumentIface</h3>
|
473
|
+
<pre class="programlisting">struct AtkDocumentIface {
|
474
|
+
GTypeInterface parent;
|
475
|
+
const gchar* ( *get_document_type) (AtkDocument *document);
|
476
|
+
gpointer ( *get_document) (AtkDocument *document);
|
477
|
+
|
478
|
+
const gchar* ( *get_document_locale) (AtkDocument *document);
|
479
|
+
AtkAttributeSet * ( *get_document_attributes) (AtkDocument *document);
|
480
|
+
const gchar* ( *get_document_attribute_value) (AtkDocument *document,
|
481
|
+
const gchar *attribute_name);
|
482
|
+
gboolean ( *set_document_attribute) (AtkDocument *document,
|
483
|
+
const gchar *attribute_name,
|
484
|
+
const gchar *attribute_value);
|
485
|
+
gint ( *get_current_page_number) (AtkDocument *document);
|
486
|
+
gint ( *get_page_count) (AtkDocument *document);
|
487
|
+
};
|
488
|
+
</pre>
|
489
|
+
<div class="refsect3">
|
490
|
+
<a name="id-1.5.4.10.3.4"></a><h4>Members</h4>
|
491
|
+
<div class="informaltable"><table width="100%" border="0">
|
492
|
+
<colgroup>
|
493
|
+
<col width="300px" class="struct_members_name">
|
494
|
+
<col class="struct_members_description">
|
495
|
+
<col width="200px" class="struct_members_annotations">
|
496
|
+
</colgroup>
|
301
497
|
<tbody>
|
302
498
|
<tr>
|
303
|
-
<td><p><span class="
|
304
|
-
<td
|
499
|
+
<td class="struct_member_name"><p><span class="type">GTypeInterface</span> <em class="structfield"><code><a name="AtkDocumentIface.parent"></a>parent</code></em>;</p></td>
|
500
|
+
<td class="struct_member_description"> </td>
|
501
|
+
<td class="struct_member_annotations"> </td>
|
305
502
|
</tr>
|
306
503
|
<tr>
|
307
|
-
<td><p><
|
308
|
-
<td>a
|
309
|
-
|
310
|
-
|
311
|
-
|
504
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="AtkDocumentIface.get-document-type"></a>get_document_type</code></em> ()</p></td>
|
505
|
+
<td class="struct_member_description"><p>gets a string indicating the document
|
506
|
+
type. This virtual function is deprecated since 2.12 and it
|
507
|
+
should not be overriden.</p></td>
|
508
|
+
<td class="struct_member_annotations"> </td>
|
509
|
+
</tr>
|
510
|
+
<tr>
|
511
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="AtkDocumentIface.get-document"></a>get_document</code></em> ()</p></td>
|
512
|
+
<td class="struct_member_description"><p>a <span class="type">GObject</span> instance that implements
|
513
|
+
AtkDocumentIface. This virtual method is deprecated since 2.12
|
514
|
+
and it should not be overriden.</p></td>
|
515
|
+
<td class="struct_member_annotations"> </td>
|
516
|
+
</tr>
|
517
|
+
<tr>
|
518
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="AtkDocumentIface.get-document-locale"></a>get_document_locale</code></em> ()</p></td>
|
519
|
+
<td class="struct_member_description"><p>gets locale. This virtual function is
|
520
|
+
deprecated since 2.7.90 and it should not be overriden.</p></td>
|
521
|
+
<td class="struct_member_annotations"> </td>
|
522
|
+
</tr>
|
523
|
+
<tr>
|
524
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="AtkDocumentIface.get-document-attributes"></a>get_document_attributes</code></em> ()</p></td>
|
525
|
+
<td class="struct_member_description"><p>gets an AtkAttributeSet which describes
|
526
|
+
document-wide attributes as name-value pairs.</p></td>
|
527
|
+
<td class="struct_member_annotations"> </td>
|
528
|
+
</tr>
|
529
|
+
<tr>
|
530
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="AtkDocumentIface.get-document-attribute-value"></a>get_document_attribute_value</code></em> ()</p></td>
|
531
|
+
<td class="struct_member_description"><p>returns a string value assocciated
|
532
|
+
with the named attribute for this document, or NULL</p></td>
|
533
|
+
<td class="struct_member_annotations"> </td>
|
534
|
+
</tr>
|
535
|
+
<tr>
|
536
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="AtkDocumentIface.set-document-attribute"></a>set_document_attribute</code></em> ()</p></td>
|
537
|
+
<td class="struct_member_description"><p>sets the value of an attribute. Returns
|
538
|
+
TRUE on success, FALSE otherwise</p></td>
|
539
|
+
<td class="struct_member_annotations"> </td>
|
540
|
+
</tr>
|
541
|
+
<tr>
|
542
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="AtkDocumentIface.get-current-page-number"></a>get_current_page_number</code></em> ()</p></td>
|
543
|
+
<td class="struct_member_description"><p>gets the current page number. Since 2.12</p></td>
|
544
|
+
<td class="struct_member_annotations"> </td>
|
545
|
+
</tr>
|
546
|
+
<tr>
|
547
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="AtkDocumentIface.get-page-count"></a>get_page_count</code></em> ()</p></td>
|
548
|
+
<td class="struct_member_description"><p>gets the page count of the document. Since 2.12</p></td>
|
549
|
+
<td class="struct_member_annotations"> </td>
|
312
550
|
</tr>
|
313
551
|
</tbody>
|
314
552
|
</table></div>
|
315
553
|
</div>
|
316
554
|
</div>
|
555
|
+
</div>
|
317
556
|
<div class="refsect1">
|
318
557
|
<a name="AtkDocument.signal-details"></a><h2>Signal Details</h2>
|
319
558
|
<div class="refsect2">
|
320
|
-
<a name="AtkDocument-load-complete"></a><h3>The <code class="literal"
|
321
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
322
|
-
|
323
|
-
<
|
324
|
-
The 'load-complete' signal is emitted when a pending load of
|
559
|
+
<a name="AtkDocument-load-complete"></a><h3>The <code class="literal">“load-complete”</code> signal</h3>
|
560
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
561
|
+
user_function (<a class="link" href="AtkDocument.html" title="AtkDocument"><span class="type">AtkDocument</span></a> *atkdocument,
|
562
|
+
<span class="type">gpointer</span> user_data)</pre>
|
563
|
+
<p>The 'load-complete' signal is emitted when a pending load of
|
325
564
|
a static document has completed. This signal is to be
|
326
565
|
expected by ATK clients if and when AtkDocument implementors
|
327
566
|
expose ATK_STATE_BUSY. If the state of an AtkObject which
|
@@ -329,79 +568,147 @@ implements AtkDocument does not include ATK_STATE_BUSY, it
|
|
329
568
|
should be safe for clients to assume that the AtkDocument's
|
330
569
|
static contents are fully loaded into the container.
|
331
570
|
(Dynamic document contents should be exposed via other
|
332
|
-
signals.)
|
333
|
-
|
334
|
-
<
|
335
|
-
<
|
571
|
+
signals.)</p>
|
572
|
+
<div class="refsect3">
|
573
|
+
<a name="id-1.5.4.11.2.5"></a><h4>Parameters</h4>
|
574
|
+
<div class="informaltable"><table width="100%" border="0">
|
575
|
+
<colgroup>
|
576
|
+
<col width="150px" class="parameters_name">
|
577
|
+
<col class="parameters_description">
|
578
|
+
<col width="200px" class="parameters_annotations">
|
579
|
+
</colgroup>
|
336
580
|
<tbody>
|
337
581
|
<tr>
|
338
|
-
<td
|
339
|
-
<td>the object which received the signal.</td>
|
582
|
+
<td class="parameter_name"><p>atkdocument</p></td>
|
583
|
+
<td class="parameter_description"><p>the object which received the signal.</p></td>
|
584
|
+
<td class="parameter_annotations"> </td>
|
340
585
|
</tr>
|
341
586
|
<tr>
|
342
|
-
<td
|
343
|
-
<td>user data set when the signal handler was connected.</td>
|
587
|
+
<td class="parameter_name"><p>user_data</p></td>
|
588
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
589
|
+
<td class="parameter_annotations"> </td>
|
344
590
|
</tr>
|
345
591
|
</tbody>
|
346
592
|
</table></div>
|
347
593
|
</div>
|
594
|
+
<p>Flags: Run Last</p>
|
595
|
+
</div>
|
348
596
|
<hr>
|
349
597
|
<div class="refsect2">
|
350
|
-
<a name="AtkDocument-load-stopped"></a><h3>The <code class="literal"
|
351
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
352
|
-
|
353
|
-
<
|
354
|
-
The 'load-stopped' signal is emitted when a pending load of
|
598
|
+
<a name="AtkDocument-load-stopped"></a><h3>The <code class="literal">“load-stopped”</code> signal</h3>
|
599
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
600
|
+
user_function (<a class="link" href="AtkDocument.html" title="AtkDocument"><span class="type">AtkDocument</span></a> *atkdocument,
|
601
|
+
<span class="type">gpointer</span> user_data)</pre>
|
602
|
+
<p>The 'load-stopped' signal is emitted when a pending load of
|
355
603
|
document contents is cancelled, paused, or otherwise
|
356
604
|
interrupted by the user or application logic. It should not
|
357
605
|
however be emitted while waiting for a resource (for instance
|
358
606
|
while blocking on a file or network read) unless a
|
359
|
-
user-significant timeout has occurred
|
360
|
-
|
361
|
-
<
|
362
|
-
<
|
607
|
+
user-significant timeout has occurred.</p>
|
608
|
+
<div class="refsect3">
|
609
|
+
<a name="id-1.5.4.11.3.5"></a><h4>Parameters</h4>
|
610
|
+
<div class="informaltable"><table width="100%" border="0">
|
611
|
+
<colgroup>
|
612
|
+
<col width="150px" class="parameters_name">
|
613
|
+
<col class="parameters_description">
|
614
|
+
<col width="200px" class="parameters_annotations">
|
615
|
+
</colgroup>
|
363
616
|
<tbody>
|
364
617
|
<tr>
|
365
|
-
<td
|
366
|
-
<td>the object which received the signal.</td>
|
618
|
+
<td class="parameter_name"><p>atkdocument</p></td>
|
619
|
+
<td class="parameter_description"><p>the object which received the signal.</p></td>
|
620
|
+
<td class="parameter_annotations"> </td>
|
367
621
|
</tr>
|
368
622
|
<tr>
|
369
|
-
<td
|
370
|
-
<td>user data set when the signal handler was connected.</td>
|
623
|
+
<td class="parameter_name"><p>user_data</p></td>
|
624
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
625
|
+
<td class="parameter_annotations"> </td>
|
371
626
|
</tr>
|
372
627
|
</tbody>
|
373
628
|
</table></div>
|
374
629
|
</div>
|
630
|
+
<p>Flags: Run Last</p>
|
631
|
+
</div>
|
375
632
|
<hr>
|
376
633
|
<div class="refsect2">
|
377
|
-
<a name="AtkDocument-
|
378
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
379
|
-
|
380
|
-
<
|
381
|
-
|
634
|
+
<a name="AtkDocument-page-changed"></a><h3>The <code class="literal">“page-changed”</code> signal</h3>
|
635
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
636
|
+
user_function (<a class="link" href="AtkDocument.html" title="AtkDocument"><span class="type">AtkDocument</span></a> *atkdocument,
|
637
|
+
<span class="type">gint</span> page_number,
|
638
|
+
<span class="type">gpointer</span> user_data)</pre>
|
639
|
+
<p>The 'page-changed' signal is emitted when the current page of
|
640
|
+
a document changes, e.g. pressing page up/down in a document
|
641
|
+
viewer.</p>
|
642
|
+
<div class="refsect3">
|
643
|
+
<a name="id-1.5.4.11.4.5"></a><h4>Parameters</h4>
|
644
|
+
<div class="informaltable"><table width="100%" border="0">
|
645
|
+
<colgroup>
|
646
|
+
<col width="150px" class="parameters_name">
|
647
|
+
<col class="parameters_description">
|
648
|
+
<col width="200px" class="parameters_annotations">
|
649
|
+
</colgroup>
|
650
|
+
<tbody>
|
651
|
+
<tr>
|
652
|
+
<td class="parameter_name"><p>atkdocument</p></td>
|
653
|
+
<td class="parameter_description"><p>the object on which the signal was emitted</p></td>
|
654
|
+
<td class="parameter_annotations"> </td>
|
655
|
+
</tr>
|
656
|
+
<tr>
|
657
|
+
<td class="parameter_name"><p>page_number</p></td>
|
658
|
+
<td class="parameter_description"><p>the new page number. If this value is unknown
|
659
|
+
or not applicable, -1 should be provided.</p></td>
|
660
|
+
<td class="parameter_annotations"> </td>
|
661
|
+
</tr>
|
662
|
+
<tr>
|
663
|
+
<td class="parameter_name"><p>user_data</p></td>
|
664
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
665
|
+
<td class="parameter_annotations"> </td>
|
666
|
+
</tr>
|
667
|
+
</tbody>
|
668
|
+
</table></div>
|
669
|
+
</div>
|
670
|
+
<p>Flags: Run Last</p>
|
671
|
+
<p class="since">Since 2.12</p>
|
672
|
+
</div>
|
673
|
+
<hr>
|
674
|
+
<div class="refsect2">
|
675
|
+
<a name="AtkDocument-reload"></a><h3>The <code class="literal">“reload”</code> signal</h3>
|
676
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
677
|
+
user_function (<a class="link" href="AtkDocument.html" title="AtkDocument"><span class="type">AtkDocument</span></a> *atkdocument,
|
678
|
+
<span class="type">gpointer</span> user_data)</pre>
|
679
|
+
<p>The 'reload' signal is emitted when the contents of a
|
382
680
|
document is refreshed from its source. Once 'reload' has
|
383
681
|
been emitted, a matching 'load-complete' or 'load-stopped'
|
384
682
|
signal should follow, which clients may await before
|
385
|
-
interrogating ATK for the latest document content
|
386
|
-
|
387
|
-
<
|
388
|
-
<
|
683
|
+
interrogating ATK for the latest document content.</p>
|
684
|
+
<div class="refsect3">
|
685
|
+
<a name="id-1.5.4.11.5.5"></a><h4>Parameters</h4>
|
686
|
+
<div class="informaltable"><table width="100%" border="0">
|
687
|
+
<colgroup>
|
688
|
+
<col width="150px" class="parameters_name">
|
689
|
+
<col class="parameters_description">
|
690
|
+
<col width="200px" class="parameters_annotations">
|
691
|
+
</colgroup>
|
389
692
|
<tbody>
|
390
693
|
<tr>
|
391
|
-
<td
|
392
|
-
<td>the object which received the signal.</td>
|
694
|
+
<td class="parameter_name"><p>atkdocument</p></td>
|
695
|
+
<td class="parameter_description"><p>the object which received the signal.</p></td>
|
696
|
+
<td class="parameter_annotations"> </td>
|
393
697
|
</tr>
|
394
698
|
<tr>
|
395
|
-
<td
|
396
|
-
<td>user data set when the signal handler was connected.</td>
|
699
|
+
<td class="parameter_name"><p>user_data</p></td>
|
700
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
701
|
+
<td class="parameter_annotations"> </td>
|
397
702
|
</tr>
|
398
703
|
</tbody>
|
399
704
|
</table></div>
|
400
705
|
</div>
|
706
|
+
<p>Flags: Run Last</p>
|
707
|
+
</div>
|
401
708
|
</div>
|
402
709
|
</div>
|
403
710
|
<div class="footer">
|
404
711
|
<hr>
|
405
|
-
Generated by GTK-Doc V1.
|
712
|
+
Generated by GTK-Doc V1.21.1</div>
|
406
713
|
</body>
|
407
714
|
</html>
|