~elementary-os/elementaryos/os-patch-at-spi2-core-xenial

« back to all changes in this revision

Viewing changes to doc/libatspi/html/libatspi-atspi-component.html

  • Committer: RabbitBot
  • Date: 2016-11-16 09:38:52 UTC
  • Revision ID: rabbitbot@elementary.io-20161116093852-xn6hcgpg5y25xooo
Initial import, version 2.18.3-4ubuntu1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
2
<html>
 
3
<head>
 
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 
5
<title>atspi-component: libatspi Reference Manual</title>
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
 
7
<link rel="home" href="index.html" title="libatspi Reference Manual">
 
8
<link rel="up" href="ch01.html" title="API reference">
 
9
<link rel="prev" href="libatspi-atspi-hypertext.html" title="atspi-hypertext">
 
10
<link rel="next" href="libatspi-atspi-registry.html" title="atspi-registry">
 
11
<meta name="generator" content="GTK-Doc V1.24.1 (XML mode)">
 
12
<link rel="stylesheet" href="style.css" type="text/css">
 
13
</head>
 
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
 
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="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="#libatspi-atspi-component.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
 
19
                  <a href="#libatspi-atspi-component.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_implementations">  <span class="dim">|</span> 
 
20
                  <a href="#libatspi-atspi-component.implementations" class="shortcut">Known Implementations</a></span>
 
21
</td>
 
22
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
 
23
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
 
24
<td><a accesskey="p" href="libatspi-atspi-hypertext.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
 
25
<td><a accesskey="n" href="libatspi-atspi-registry.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
 
26
</tr></table>
 
27
<div class="refentry">
 
28
<a name="libatspi-atspi-component"></a><div class="titlepage"></div>
 
29
<div class="refnamediv"><table width="100%"><tr>
 
30
<td valign="top">
 
31
<h2><span class="refentrytitle"><a name="libatspi-atspi-component.top_of_page"></a>atspi-component</span></h2>
 
32
<p>atspi-component —  An interface implemented by objects which have onscreen visual
 
33
 representations.</p>
 
34
</td>
 
35
<td class="gallery_image" valign="top" align="right"></td>
 
36
</tr></table></div>
 
37
<div class="refsect1">
 
38
<a name="libatspi-atspi-component.functions"></a><h2>Functions</h2>
 
39
<div class="informaltable"><table width="100%" border="0">
 
40
<colgroup>
 
41
<col width="150px" class="functions_return">
 
42
<col class="functions_name">
 
43
</colgroup>
 
44
<tbody>
 
45
<tr>
 
46
<td class="define_keyword">#define</td>
 
47
<td class="function_name"><a class="link" href="libatspi-atspi-component.html#ATSPI-TYPE-RECT:CAPS" title="ATSPI_TYPE_RECT">ATSPI_TYPE_RECT</a></td>
 
48
</tr>
 
49
<tr>
 
50
<td class="function_type">
 
51
<a class="link" href="libatspi-atspi-component.html#AtspiRect"><span class="returnvalue">AtspiRect</span></a> *
 
52
</td>
 
53
<td class="function_name">
 
54
<a class="link" href="libatspi-atspi-component.html#atspi-rect-copy" title="atspi_rect_copy ()">atspi_rect_copy</a> <span class="c_punctuation">()</span>
 
55
</td>
 
56
</tr>
 
57
<tr>
 
58
<td class="define_keyword">#define</td>
 
59
<td class="function_name"><a class="link" href="libatspi-atspi-component.html#ATSPI-TYPE-POINT:CAPS" title="ATSPI_TYPE_POINT">ATSPI_TYPE_POINT</a></td>
 
60
</tr>
 
61
<tr>
 
62
<td class="function_type">
 
63
<span class="returnvalue">GType</span>
 
64
</td>
 
65
<td class="function_name">
 
66
<a class="link" href="libatspi-atspi-component.html#atspi-point-get-type" title="atspi_point_get_type ()">atspi_point_get_type</a> <span class="c_punctuation">()</span>
 
67
</td>
 
68
</tr>
 
69
<tr>
 
70
<td class="function_type">
 
71
<a class="link" href="libatspi-atspi-component.html#AtspiPoint"><span class="returnvalue">AtspiPoint</span></a> *
 
72
</td>
 
73
<td class="function_name">
 
74
<a class="link" href="libatspi-atspi-component.html#atspi-point-copy" title="atspi_point_copy ()">atspi_point_copy</a> <span class="c_punctuation">()</span>
 
75
</td>
 
76
</tr>
 
77
<tr>
 
78
<td class="function_type">
 
79
<span class="returnvalue">GType</span>
 
80
</td>
 
81
<td class="function_name">
 
82
<a class="link" href="libatspi-atspi-component.html#atspi-component-get-type" title="atspi_component_get_type ()">atspi_component_get_type</a> <span class="c_punctuation">()</span>
 
83
</td>
 
84
</tr>
 
85
<tr>
 
86
<td class="function_type">
 
87
<span class="returnvalue">gboolean</span>
 
88
</td>
 
89
<td class="function_name">
 
90
<a class="link" href="libatspi-atspi-component.html#atspi-component-contains" title="atspi_component_contains ()">atspi_component_contains</a> <span class="c_punctuation">()</span>
 
91
</td>
 
92
</tr>
 
93
<tr>
 
94
<td class="function_type">
 
95
<a class="link" href="AtspiAccessible.html" title="AtspiAccessible"><span class="returnvalue">AtspiAccessible</span></a> *
 
96
</td>
 
97
<td class="function_name">
 
98
<a class="link" href="libatspi-atspi-component.html#atspi-component-get-accessible-at-point" title="atspi_component_get_accessible_at_point ()">atspi_component_get_accessible_at_point</a> <span class="c_punctuation">()</span>
 
99
</td>
 
100
</tr>
 
101
<tr>
 
102
<td class="function_type">
 
103
<a class="link" href="libatspi-atspi-component.html#AtspiRect"><span class="returnvalue">AtspiRect</span></a> *
 
104
</td>
 
105
<td class="function_name">
 
106
<a class="link" href="libatspi-atspi-component.html#atspi-component-get-extents" title="atspi_component_get_extents ()">atspi_component_get_extents</a> <span class="c_punctuation">()</span>
 
107
</td>
 
108
</tr>
 
109
<tr>
 
110
<td class="function_type">
 
111
<a class="link" href="libatspi-atspi-component.html#AtspiPoint"><span class="returnvalue">AtspiPoint</span></a> *
 
112
</td>
 
113
<td class="function_name">
 
114
<a class="link" href="libatspi-atspi-component.html#atspi-component-get-position" title="atspi_component_get_position ()">atspi_component_get_position</a> <span class="c_punctuation">()</span>
 
115
</td>
 
116
</tr>
 
117
<tr>
 
118
<td class="function_type">
 
119
<a class="link" href="libatspi-atspi-component.html#AtspiPoint"><span class="returnvalue">AtspiPoint</span></a> *
 
120
</td>
 
121
<td class="function_name">
 
122
<a class="link" href="libatspi-atspi-component.html#atspi-component-get-size" title="atspi_component_get_size ()">atspi_component_get_size</a> <span class="c_punctuation">()</span>
 
123
</td>
 
124
</tr>
 
125
<tr>
 
126
<td class="function_type">
 
127
<a class="link" href="libatspi-atspi-constants.html#AtspiComponentLayer" title="enum AtspiComponentLayer"><span class="returnvalue">AtspiComponentLayer</span></a>
 
128
</td>
 
129
<td class="function_name">
 
130
<a class="link" href="libatspi-atspi-component.html#atspi-component-get-layer" title="atspi_component_get_layer ()">atspi_component_get_layer</a> <span class="c_punctuation">()</span>
 
131
</td>
 
132
</tr>
 
133
<tr>
 
134
<td class="function_type">
 
135
<span class="returnvalue">gshort</span>
 
136
</td>
 
137
<td class="function_name">
 
138
<a class="link" href="libatspi-atspi-component.html#atspi-component-get-mdi-z-order" title="atspi_component_get_mdi_z_order ()">atspi_component_get_mdi_z_order</a> <span class="c_punctuation">()</span>
 
139
</td>
 
140
</tr>
 
141
<tr>
 
142
<td class="function_type">
 
143
<span class="returnvalue">gboolean</span>
 
144
</td>
 
145
<td class="function_name">
 
146
<a class="link" href="libatspi-atspi-component.html#atspi-component-grab-focus" title="atspi_component_grab_focus ()">atspi_component_grab_focus</a> <span class="c_punctuation">()</span>
 
147
</td>
 
148
</tr>
 
149
<tr>
 
150
<td class="function_type">
 
151
<span class="returnvalue">gdouble</span>
 
152
</td>
 
153
<td class="function_name">
 
154
<a class="link" href="libatspi-atspi-component.html#atspi-component-get-alpha" title="atspi_component_get_alpha ()">atspi_component_get_alpha</a> <span class="c_punctuation">()</span>
 
155
</td>
 
156
</tr>
 
157
</tbody>
 
158
</table></div>
 
159
</div>
 
160
<a name="AtspiRect"></a><a name="AtspiPoint"></a><a name="AtspiComponent"></a><div class="refsect1">
 
161
<a name="libatspi-atspi-component.other"></a><h2>Types and Values</h2>
 
162
<div class="informaltable"><table width="100%" border="0">
 
163
<colgroup>
 
164
<col width="150px" class="name">
 
165
<col class="description">
 
166
</colgroup>
 
167
<tbody>
 
168
<tr>
 
169
<td class="datatype_keyword">struct</td>
 
170
<td class="function_name"><a class="link" href="libatspi-atspi-component.html#AtspiRect-struct" title="struct AtspiRect">AtspiRect</a></td>
 
171
</tr>
 
172
<tr>
 
173
<td class="datatype_keyword">struct</td>
 
174
<td class="function_name"><a class="link" href="libatspi-atspi-component.html#AtspiPoint-struct" title="struct AtspiPoint">AtspiPoint</a></td>
 
175
</tr>
 
176
<tr>
 
177
<td class="datatype_keyword"> </td>
 
178
<td class="function_name"><a class="link" href="libatspi-atspi-component.html#AtspiComponent-struct" title="AtspiComponent">AtspiComponent</a></td>
 
179
</tr>
 
180
</tbody>
 
181
</table></div>
 
182
</div>
 
183
<div class="refsect1">
 
184
<a name="libatspi-atspi-component.object-hierarchy"></a><h2>Object Hierarchy</h2>
 
185
<pre class="screen">    <a href="/opt/gnome/share/gtk-doc/html/gobject/gobject-Boxed-Types.html">GBoxed</a>
 
186
    <span class="lineart">├──</span> AtspiPoint
 
187
    <span class="lineart">╰──</span> AtspiRect
 
188
    <a href="/opt/gnome/share/gtk-doc/html/gobject/GTypeModule.html">GInterface</a>
 
189
    <span class="lineart">╰──</span> AtspiComponent
 
190
</pre>
 
191
</div>
 
192
<div class="refsect1">
 
193
<a name="libatspi-atspi-component.implementations"></a><h2>Known Implementations</h2>
 
194
<p>
 
195
AtspiComponent is implemented by
 
196
 <a class="link" href="AtspiAccessible.html" title="AtspiAccessible">AtspiAccessible</a>.</p>
 
197
</div>
 
198
<div class="refsect1">
 
199
<a name="libatspi-atspi-component.description"></a><h2>Description</h2>
 
200
<p>
 
201
  The Component interface is implemented by objects which occupy on-screen
 
202
  space, e.g. objects which have onscreen visual representations. The methods
 
203
  in Component allow clients to identify where the objects lie in the onscreen
 
204
  coordinate system, their relative size, stacking order, and position. It
 
205
  also provides a mechanism whereby keyboard focus may be transferred to
 
206
  specific user interface elements programmatically.  This is a 2D API.
 
207
  Coordinates of 3D objects are projected into the 2-dimensional screen view
 
208
  for purposes of this interface.
 
209
</p>
 
210
</div>
 
211
<div class="refsect1">
 
212
<a name="libatspi-atspi-component.functions_details"></a><h2>Functions</h2>
 
213
<div class="refsect2">
 
214
<a name="ATSPI-TYPE-RECT:CAPS"></a><h3>ATSPI_TYPE_RECT</h3>
 
215
<pre class="programlisting">#define ATSPI_TYPE_RECT (atspi_rect_get_type ())
 
216
</pre>
 
217
<p>The <span class="type">GType</span> for a boxed type holding a <a class="link" href="libatspi-atspi-component.html#AtspiRect"><span class="type">AtspiRect</span></a>.</p>
 
218
</div>
 
219
<hr>
 
220
<div class="refsect2">
 
221
<a name="atspi-rect-copy"></a><h3>atspi_rect_copy ()</h3>
 
222
<pre class="programlisting"><a class="link" href="libatspi-atspi-component.html#AtspiRect"><span class="returnvalue">AtspiRect</span></a> *
 
223
atspi_rect_copy (<em class="parameter"><code><a class="link" href="libatspi-atspi-component.html#AtspiRect"><span class="type">AtspiRect</span></a> *src</code></em>);</pre>
 
224
<p>
 
225
</p>
 
226
</div>
 
227
<hr>
 
228
<div class="refsect2">
 
229
<a name="ATSPI-TYPE-POINT:CAPS"></a><h3>ATSPI_TYPE_POINT</h3>
 
230
<pre class="programlisting">#define ATSPI_TYPE_POINT (atspi_point_get_type ())
 
231
</pre>
 
232
<p>The <span class="type">GType</span> for a boxed type holding a <a class="link" href="libatspi-atspi-component.html#AtspiPoint"><span class="type">AtspiPoint</span></a>.</p>
 
233
</div>
 
234
<hr>
 
235
<div class="refsect2">
 
236
<a name="atspi-point-get-type"></a><h3>atspi_point_get_type ()</h3>
 
237
<pre class="programlisting"><span class="returnvalue">GType</span>
 
238
atspi_point_get_type ();</pre>
 
239
<p>
 
240
</p>
 
241
</div>
 
242
<hr>
 
243
<div class="refsect2">
 
244
<a name="atspi-point-copy"></a><h3>atspi_point_copy ()</h3>
 
245
<pre class="programlisting"><a class="link" href="libatspi-atspi-component.html#AtspiPoint"><span class="returnvalue">AtspiPoint</span></a> *
 
246
atspi_point_copy (<em class="parameter"><code><a class="link" href="libatspi-atspi-component.html#AtspiPoint"><span class="type">AtspiPoint</span></a> *src</code></em>);</pre>
 
247
<p>
 
248
</p>
 
249
</div>
 
250
<hr>
 
251
<div class="refsect2">
 
252
<a name="atspi-component-get-type"></a><h3>atspi_component_get_type ()</h3>
 
253
<pre class="programlisting"><span class="returnvalue">GType</span>
 
254
atspi_component_get_type ();</pre>
 
255
<p>
 
256
</p>
 
257
</div>
 
258
<hr>
 
259
<div class="refsect2">
 
260
<a name="atspi-component-contains"></a><h3>atspi_component_contains ()</h3>
 
261
<pre class="programlisting"><span class="returnvalue">gboolean</span>
 
262
atspi_component_contains (<em class="parameter"><code><a class="link" href="libatspi-atspi-component.html#AtspiComponent"><span class="type">AtspiComponent</span></a> *obj</code></em>,
 
263
                          <em class="parameter"><code><span class="type">gint</span> x</code></em>,
 
264
                          <em class="parameter"><code><span class="type">gint</span> y</code></em>,
 
265
                          <em class="parameter"><code><a class="link" href="libatspi-atspi-constants.html#AtspiCoordType" title="enum AtspiCoordType"><span class="type">AtspiCoordType</span></a> ctype</code></em>,
 
266
                          <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
 
267
<p>Queries whether a given <a class="link" href="libatspi-atspi-component.html#AtspiComponent"><span class="type">AtspiComponent</span></a> contains a particular point.</p>
 
268
<div class="refsect3">
 
269
<a name="id-1.2.22.11.8.5"></a><h4>Parameters</h4>
 
270
<div class="informaltable"><table width="100%" border="0">
 
271
<colgroup>
 
272
<col width="150px" class="parameters_name">
 
273
<col class="parameters_description">
 
274
<col width="200px" class="parameters_annotations">
 
275
</colgroup>
 
276
<tbody>
 
277
<tr>
 
278
<td class="parameter_name"><p>obj</p></td>
 
279
<td class="parameter_description"><p>a pointer to the <a class="link" href="libatspi-atspi-component.html#AtspiComponent"><span class="type">AtspiComponent</span></a> to query.</p></td>
 
280
<td class="parameter_annotations"> </td>
 
281
</tr>
 
282
<tr>
 
283
<td class="parameter_name"><p>x</p></td>
 
284
<td class="parameter_description"><p>a <span class="type">gint</span> specifying the x coordinate in question.</p></td>
 
285
<td class="parameter_annotations"> </td>
 
286
</tr>
 
287
<tr>
 
288
<td class="parameter_name"><p>y</p></td>
 
289
<td class="parameter_description"><p>a <span class="type">gint</span> specifying the y coordinate in question.</p></td>
 
290
<td class="parameter_annotations"> </td>
 
291
</tr>
 
292
<tr>
 
293
<td class="parameter_name"><p>ctype</p></td>
 
294
<td class="parameter_description"><p>the desired coordinate system of the point (<em class="parameter"><code>x</code></em>
 
295
, <em class="parameter"><code>y</code></em>
 
296
)
 
297
(e.g. CSPI_COORD_TYPE_WINDOW, CSPI_COORD_TYPE_SCREEN).</p></td>
 
298
<td class="parameter_annotations"> </td>
 
299
</tr>
 
300
</tbody>
 
301
</table></div>
 
302
</div>
 
303
<div class="refsect3">
 
304
<a name="id-1.2.22.11.8.6"></a><h4>Returns</h4>
 
305
<p> <span class="type">TRUE</span> if the specified component contains the point (<em class="parameter"><code>x</code></em>
 
306
, <em class="parameter"><code>y</code></em>
 
307
),
 
308
<span class="type">FALSE</span> otherwise.</p>
 
309
</div>
 
310
</div>
 
311
<hr>
 
312
<div class="refsect2">
 
313
<a name="atspi-component-get-accessible-at-point"></a><h3>atspi_component_get_accessible_at_point ()</h3>
 
314
<pre class="programlisting"><a class="link" href="AtspiAccessible.html" title="AtspiAccessible"><span class="returnvalue">AtspiAccessible</span></a> *
 
315
atspi_component_get_accessible_at_point
 
316
                               (<em class="parameter"><code><a class="link" href="libatspi-atspi-component.html#AtspiComponent"><span class="type">AtspiComponent</span></a> *obj</code></em>,
 
317
                                <em class="parameter"><code><span class="type">gint</span> x</code></em>,
 
318
                                <em class="parameter"><code><span class="type">gint</span> y</code></em>,
 
319
                                <em class="parameter"><code><a class="link" href="libatspi-atspi-constants.html#AtspiCoordType" title="enum AtspiCoordType"><span class="type">AtspiCoordType</span></a> ctype</code></em>,
 
320
                                <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
 
321
<p>Gets the accessible child at a given coordinate within an <a class="link" href="libatspi-atspi-component.html#AtspiComponent"><span class="type">AtspiComponent</span></a>.</p>
 
322
<div class="refsect3">
 
323
<a name="id-1.2.22.11.9.5"></a><h4>Parameters</h4>
 
324
<div class="informaltable"><table width="100%" border="0">
 
325
<colgroup>
 
326
<col width="150px" class="parameters_name">
 
327
<col class="parameters_description">
 
328
<col width="200px" class="parameters_annotations">
 
329
</colgroup>
 
330
<tbody>
 
331
<tr>
 
332
<td class="parameter_name"><p>obj</p></td>
 
333
<td class="parameter_description"><p>a pointer to the <a class="link" href="libatspi-atspi-component.html#AtspiComponent"><span class="type">AtspiComponent</span></a> to query.</p></td>
 
334
<td class="parameter_annotations"> </td>
 
335
</tr>
 
336
<tr>
 
337
<td class="parameter_name"><p>x</p></td>
 
338
<td class="parameter_description"><p>a <span class="type">gint</span> specifying the x coordinate of the point in question.</p></td>
 
339
<td class="parameter_annotations"> </td>
 
340
</tr>
 
341
<tr>
 
342
<td class="parameter_name"><p>y</p></td>
 
343
<td class="parameter_description"><p>a <span class="type">gint</span> specifying the y coordinate of the point in question.</p></td>
 
344
<td class="parameter_annotations"> </td>
 
345
</tr>
 
346
<tr>
 
347
<td class="parameter_name"><p>ctype</p></td>
 
348
<td class="parameter_description"><p>the coordinate system of the point (<em class="parameter"><code>x</code></em>
 
349
, <em class="parameter"><code>y</code></em>
 
350
)
 
351
(e.g. ATSPI_COORD_TYPE_WINDOW, ATSPI_COORD_TYPE_SCREEN).</p></td>
 
352
<td class="parameter_annotations"> </td>
 
353
</tr>
 
354
</tbody>
 
355
</table></div>
 
356
</div>
 
357
<div class="refsect3">
 
358
<a name="id-1.2.22.11.9.6"></a><h4>Returns</h4>
 
359
<p> a pointer to an
 
360
<a class="link" href="AtspiAccessible.html" title="AtspiAccessible"><span class="type">AtspiAccessible</span></a> child of the specified component which
 
361
contains the point (<em class="parameter"><code>x</code></em>
 
362
, <em class="parameter"><code>y</code></em>
 
363
), or NULL if no child contains
 
364
the point. </p>
 
365
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
 
366
</div>
 
367
</div>
 
368
<hr>
 
369
<div class="refsect2">
 
370
<a name="atspi-component-get-extents"></a><h3>atspi_component_get_extents ()</h3>
 
371
<pre class="programlisting"><a class="link" href="libatspi-atspi-component.html#AtspiRect"><span class="returnvalue">AtspiRect</span></a> *
 
372
atspi_component_get_extents (<em class="parameter"><code><a class="link" href="libatspi-atspi-component.html#AtspiComponent"><span class="type">AtspiComponent</span></a> *obj</code></em>,
 
373
                             <em class="parameter"><code><a class="link" href="libatspi-atspi-constants.html#AtspiCoordType" title="enum AtspiCoordType"><span class="type">AtspiCoordType</span></a> ctype</code></em>,
 
374
                             <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
 
375
<p>Gets the bounding box of the specified <a class="link" href="libatspi-atspi-component.html#AtspiComponent"><span class="type">AtspiComponent</span></a>.</p>
 
376
<div class="refsect3">
 
377
<a name="id-1.2.22.11.10.5"></a><h4>Parameters</h4>
 
378
<div class="informaltable"><table width="100%" border="0">
 
379
<colgroup>
 
380
<col width="150px" class="parameters_name">
 
381
<col class="parameters_description">
 
382
<col width="200px" class="parameters_annotations">
 
383
</colgroup>
 
384
<tbody>
 
385
<tr>
 
386
<td class="parameter_name"><p>obj</p></td>
 
387
<td class="parameter_description"><p>a pointer to the <a class="link" href="libatspi-atspi-component.html#AtspiComponent"><span class="type">AtspiComponent</span></a> to query.</p></td>
 
388
<td class="parameter_annotations"> </td>
 
389
</tr>
 
390
<tr>
 
391
<td class="parameter_name"><p>ctype</p></td>
 
392
<td class="parameter_description"><p>the desired coordinate system into which to return the results,
 
393
(e.g. ATSPI_COORD_TYPE_WINDOW, ATSPI_COORD_TYPE_SCREEN).</p></td>
 
394
<td class="parameter_annotations"> </td>
 
395
</tr>
 
396
</tbody>
 
397
</table></div>
 
398
</div>
 
399
<div class="refsect3">
 
400
<a name="id-1.2.22.11.10.6"></a><h4>Returns</h4>
 
401
<p> An <a class="link" href="libatspi-atspi-component.html#AtspiRect"><span class="type">AtspiRect</span></a> giving the accessible's extents.</p>
 
402
</div>
 
403
</div>
 
404
<hr>
 
405
<div class="refsect2">
 
406
<a name="atspi-component-get-position"></a><h3>atspi_component_get_position ()</h3>
 
407
<pre class="programlisting"><a class="link" href="libatspi-atspi-component.html#AtspiPoint"><span class="returnvalue">AtspiPoint</span></a> *
 
408
atspi_component_get_position (<em class="parameter"><code><a class="link" href="libatspi-atspi-component.html#AtspiComponent"><span class="type">AtspiComponent</span></a> *obj</code></em>,
 
409
                              <em class="parameter"><code><a class="link" href="libatspi-atspi-constants.html#AtspiCoordType" title="enum AtspiCoordType"><span class="type">AtspiCoordType</span></a> ctype</code></em>,
 
410
                              <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
 
411
<p>Gets the minimum x and y coordinates of the specified <a class="link" href="libatspi-atspi-component.html#AtspiComponent"><span class="type">AtspiComponent</span></a>.</p>
 
412
<div class="refsect3">
 
413
<a name="id-1.2.22.11.11.5"></a><h4>Parameters</h4>
 
414
<div class="informaltable"><table width="100%" border="0">
 
415
<colgroup>
 
416
<col width="150px" class="parameters_name">
 
417
<col class="parameters_description">
 
418
<col width="200px" class="parameters_annotations">
 
419
</colgroup>
 
420
<tbody>
 
421
<tr>
 
422
<td class="parameter_name"><p>obj</p></td>
 
423
<td class="parameter_description"><p>a pointer to the <a class="link" href="libatspi-atspi-component.html#AtspiComponent"><span class="type">AtspiComponent</span></a> to query.</p></td>
 
424
<td class="parameter_annotations"> </td>
 
425
</tr>
 
426
<tr>
 
427
<td class="parameter_name"><p>ctype</p></td>
 
428
<td class="parameter_description"><p>the desired coordinate system into which to return the results,
 
429
(e.g. ATSPI_COORD_TYPE_WINDOW, ATSPI_COORD_TYPE_SCREEN).</p></td>
 
430
<td class="parameter_annotations"> </td>
 
431
</tr>
 
432
</tbody>
 
433
</table></div>
 
434
</div>
 
435
<div class="refsect3">
 
436
<a name="id-1.2.22.11.11.6"></a><h4>Returns</h4>
 
437
<p> An <a class="link" href="libatspi-atspi-component.html#AtspiPoint"><span class="type">AtspiPoint</span></a> giving the <em class="parameter"><code>obj</code></em>
 
438
's position.</p>
 
439
</div>
 
440
</div>
 
441
<hr>
 
442
<div class="refsect2">
 
443
<a name="atspi-component-get-size"></a><h3>atspi_component_get_size ()</h3>
 
444
<pre class="programlisting"><a class="link" href="libatspi-atspi-component.html#AtspiPoint"><span class="returnvalue">AtspiPoint</span></a> *
 
445
atspi_component_get_size (<em class="parameter"><code><a class="link" href="libatspi-atspi-component.html#AtspiComponent"><span class="type">AtspiComponent</span></a> *obj</code></em>,
 
446
                          <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
 
447
<p>Gets the size of the specified <a class="link" href="libatspi-atspi-component.html#AtspiComponent"><span class="type">AtspiComponent</span></a>.</p>
 
448
<div class="refsect3">
 
449
<a name="id-1.2.22.11.12.5"></a><h4>Parameters</h4>
 
450
<div class="informaltable"><table width="100%" border="0">
 
451
<colgroup>
 
452
<col width="150px" class="parameters_name">
 
453
<col class="parameters_description">
 
454
<col width="200px" class="parameters_annotations">
 
455
</colgroup>
 
456
<tbody><tr>
 
457
<td class="parameter_name"><p>obj</p></td>
 
458
<td class="parameter_description"><p>a pointer to the <a class="link" href="libatspi-atspi-component.html#AtspiComponent"><span class="type">AtspiComponent</span></a> to query.</p></td>
 
459
<td class="parameter_annotations"> </td>
 
460
</tr></tbody>
 
461
</table></div>
 
462
</div>
 
463
<div class="refsect3">
 
464
<a name="id-1.2.22.11.12.6"></a><h4>Returns</h4>
 
465
<p> An <a class="link" href="libatspi-atspi-component.html#AtspiPoint"><span class="type">AtspiPoint</span></a> giving the <em class="parameter"><code>obj</code></em>
 
466
's size.</p>
 
467
</div>
 
468
</div>
 
469
<hr>
 
470
<div class="refsect2">
 
471
<a name="atspi-component-get-layer"></a><h3>atspi_component_get_layer ()</h3>
 
472
<pre class="programlisting"><a class="link" href="libatspi-atspi-constants.html#AtspiComponentLayer" title="enum AtspiComponentLayer"><span class="returnvalue">AtspiComponentLayer</span></a>
 
473
atspi_component_get_layer (<em class="parameter"><code><a class="link" href="libatspi-atspi-component.html#AtspiComponent"><span class="type">AtspiComponent</span></a> *obj</code></em>,
 
474
                           <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
 
475
<p>Queries which layer the component is painted into, to help determine its 
 
476
     visibility in terms of stacking order.</p>
 
477
<div class="refsect3">
 
478
<a name="id-1.2.22.11.13.5"></a><h4>Parameters</h4>
 
479
<div class="informaltable"><table width="100%" border="0">
 
480
<colgroup>
 
481
<col width="150px" class="parameters_name">
 
482
<col class="parameters_description">
 
483
<col width="200px" class="parameters_annotations">
 
484
</colgroup>
 
485
<tbody><tr>
 
486
<td class="parameter_name"><p>obj</p></td>
 
487
<td class="parameter_description"><p>a pointer to the <a class="link" href="libatspi-atspi-component.html#AtspiComponent"><span class="type">AtspiComponent</span></a> to query.</p></td>
 
488
<td class="parameter_annotations"> </td>
 
489
</tr></tbody>
 
490
</table></div>
 
491
</div>
 
492
<div class="refsect3">
 
493
<a name="id-1.2.22.11.13.6"></a><h4>Returns</h4>
 
494
<p> the <a class="link" href="libatspi-atspi-constants.html#AtspiComponentLayer" title="enum AtspiComponentLayer"><span class="type">AtspiComponentLayer</span></a> into which this component is painted.</p>
 
495
</div>
 
496
</div>
 
497
<hr>
 
498
<div class="refsect2">
 
499
<a name="atspi-component-get-mdi-z-order"></a><h3>atspi_component_get_mdi_z_order ()</h3>
 
500
<pre class="programlisting"><span class="returnvalue">gshort</span>
 
501
atspi_component_get_mdi_z_order (<em class="parameter"><code><a class="link" href="libatspi-atspi-component.html#AtspiComponent"><span class="type">AtspiComponent</span></a> *obj</code></em>,
 
502
                                 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
 
503
<p>Queries the z stacking order of a component which is in the MDI or window
 
504
      layer. (Bigger z-order numbers mean nearer the top)</p>
 
505
<div class="refsect3">
 
506
<a name="id-1.2.22.11.14.5"></a><h4>Parameters</h4>
 
507
<div class="informaltable"><table width="100%" border="0">
 
508
<colgroup>
 
509
<col width="150px" class="parameters_name">
 
510
<col class="parameters_description">
 
511
<col width="200px" class="parameters_annotations">
 
512
</colgroup>
 
513
<tbody><tr>
 
514
<td class="parameter_name"><p>obj</p></td>
 
515
<td class="parameter_description"><p>a pointer to the <a class="link" href="libatspi-atspi-component.html#AtspiComponent"><span class="type">AtspiComponent</span></a> to query.</p></td>
 
516
<td class="parameter_annotations"> </td>
 
517
</tr></tbody>
 
518
</table></div>
 
519
</div>
 
520
<div class="refsect3">
 
521
<a name="id-1.2.22.11.14.6"></a><h4>Returns</h4>
 
522
<p> a <span class="type">gshort</span> indicating the stacking order of the component
 
523
in the MDI layer, or -1 if the component is not in the MDI layer.</p>
 
524
</div>
 
525
</div>
 
526
<hr>
 
527
<div class="refsect2">
 
528
<a name="atspi-component-grab-focus"></a><h3>atspi_component_grab_focus ()</h3>
 
529
<pre class="programlisting"><span class="returnvalue">gboolean</span>
 
530
atspi_component_grab_focus (<em class="parameter"><code><a class="link" href="libatspi-atspi-component.html#AtspiComponent"><span class="type">AtspiComponent</span></a> *obj</code></em>,
 
531
                            <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
 
532
<p>Attempts to set the keyboard input focus to the specified
 
533
        <a class="link" href="libatspi-atspi-component.html#AtspiComponent"><span class="type">AtspiComponent</span></a>.</p>
 
534
<div class="refsect3">
 
535
<a name="id-1.2.22.11.15.5"></a><h4>Parameters</h4>
 
536
<div class="informaltable"><table width="100%" border="0">
 
537
<colgroup>
 
538
<col width="150px" class="parameters_name">
 
539
<col class="parameters_description">
 
540
<col width="200px" class="parameters_annotations">
 
541
</colgroup>
 
542
<tbody><tr>
 
543
<td class="parameter_name"><p>obj</p></td>
 
544
<td class="parameter_description"><p>a pointer to the <a class="link" href="libatspi-atspi-component.html#AtspiComponent"><span class="type">AtspiComponent</span></a> on which to operate.</p></td>
 
545
<td class="parameter_annotations"> </td>
 
546
</tr></tbody>
 
547
</table></div>
 
548
</div>
 
549
<div class="refsect3">
 
550
<a name="id-1.2.22.11.15.6"></a><h4>Returns</h4>
 
551
<p> <span class="type">TRUE</span> if successful, <span class="type">FALSE</span> otherwise.</p>
 
552
</div>
 
553
</div>
 
554
<hr>
 
555
<div class="refsect2">
 
556
<a name="atspi-component-get-alpha"></a><h3>atspi_component_get_alpha ()</h3>
 
557
<pre class="programlisting"><span class="returnvalue">gdouble</span>
 
558
atspi_component_get_alpha (<em class="parameter"><code><a class="link" href="libatspi-atspi-component.html#AtspiComponent"><span class="type">AtspiComponent</span></a> *obj</code></em>,
 
559
                           <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
 
560
<p>Gets the opacity/alpha value of a component, if alpha blending is in use.</p>
 
561
<div class="refsect3">
 
562
<a name="id-1.2.22.11.16.5"></a><h4>Parameters</h4>
 
563
<div class="informaltable"><table width="100%" border="0">
 
564
<colgroup>
 
565
<col width="150px" class="parameters_name">
 
566
<col class="parameters_description">
 
567
<col width="200px" class="parameters_annotations">
 
568
</colgroup>
 
569
<tbody><tr>
 
570
<td class="parameter_name"><p>obj</p></td>
 
571
<td class="parameter_description"><p>The <a class="link" href="libatspi-atspi-component.html#AtspiComponent"><span class="type">AtspiComponent</span></a> to be queried.</p></td>
 
572
<td class="parameter_annotations"> </td>
 
573
</tr></tbody>
 
574
</table></div>
 
575
</div>
 
576
<div class="refsect3">
 
577
<a name="id-1.2.22.11.16.6"></a><h4>Returns</h4>
 
578
<p> the opacity value of a component, as a <span class="type">gdouble</span> between 0.0 and 1.0. </p>
 
579
</div>
 
580
</div>
 
581
</div>
 
582
<div class="refsect1">
 
583
<a name="libatspi-atspi-component.other_details"></a><h2>Types and Values</h2>
 
584
<div class="refsect2">
 
585
<a name="AtspiRect-struct"></a><h3>struct AtspiRect</h3>
 
586
<pre class="programlisting">struct AtspiRect {
 
587
  gint x;
 
588
  gint y;
 
589
  gint width;
 
590
  gint height;
 
591
};
 
592
</pre>
 
593
<p>
 
594
</p>
 
595
</div>
 
596
<hr>
 
597
<div class="refsect2">
 
598
<a name="AtspiPoint-struct"></a><h3>struct AtspiPoint</h3>
 
599
<pre class="programlisting">struct AtspiPoint {
 
600
  gint x;
 
601
  gint y;
 
602
};
 
603
</pre>
 
604
<p>
 
605
</p>
 
606
</div>
 
607
<hr>
 
608
<div class="refsect2">
 
609
<a name="AtspiComponent-struct"></a><h3>AtspiComponent</h3>
 
610
<pre class="programlisting">typedef struct _AtspiComponent AtspiComponent;</pre>
 
611
<p>
 
612
</p>
 
613
</div>
 
614
</div>
 
615
</div>
 
616
<div class="footer">
 
617
<hr>Generated by GTK-Doc V1.24.1</div>
 
618
</body>
 
619
</html>
 
 
b'\\ No newline at end of file'