atk 2.2.0-x86-mingw32 → 2.2.1-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
@@ -21,6 +21,8 @@
|
|
21
21
|
#error "Only <atk/atk.h> can be included directly."
|
22
22
|
#endif
|
23
23
|
|
24
|
+
#include <atk/atkversion.h>
|
25
|
+
|
24
26
|
#ifndef __ATK_NO_OP_OBJECT_H__
|
25
27
|
#define __ATK_NO_OP_OBJECT_H__
|
26
28
|
|
@@ -41,6 +43,7 @@ struct _AtkNoOpObject
|
|
41
43
|
AtkObject parent;
|
42
44
|
};
|
43
45
|
|
46
|
+
ATK_AVAILABLE_IN_ALL
|
44
47
|
GType atk_no_op_object_get_type (void);
|
45
48
|
|
46
49
|
struct _AtkNoOpObjectClass
|
@@ -48,6 +51,7 @@ struct _AtkNoOpObjectClass
|
|
48
51
|
AtkObjectClass parent_class;
|
49
52
|
};
|
50
53
|
|
54
|
+
ATK_AVAILABLE_IN_ALL
|
51
55
|
AtkObject *atk_no_op_object_new (GObject *obj);
|
52
56
|
|
53
57
|
G_END_DECLS
|
@@ -48,8 +48,10 @@ struct _AtkNoOpObjectFactoryClass
|
|
48
48
|
AtkObjectFactoryClass parent_class;
|
49
49
|
};
|
50
50
|
|
51
|
+
ATK_AVAILABLE_IN_ALL
|
51
52
|
GType atk_no_op_object_factory_get_type(void);
|
52
53
|
|
54
|
+
ATK_AVAILABLE_IN_ALL
|
53
55
|
AtkObjectFactory *atk_no_op_object_factory_new(void);
|
54
56
|
|
55
57
|
G_END_DECLS
|
@@ -25,6 +25,8 @@
|
|
25
25
|
#define __ATK_OBJECT_H__
|
26
26
|
|
27
27
|
#include <glib-object.h>
|
28
|
+
|
29
|
+
#include <atk/atkversion.h>
|
28
30
|
#include <atk/atkstate.h>
|
29
31
|
#include <atk/atkrelationtype.h>
|
30
32
|
|
@@ -153,8 +155,57 @@ G_BEGIN_DECLS
|
|
153
155
|
*@ATK_ROLE_NOTIFICATION: A transitory object designed to present a message to the user, typically at the desktop level rather than inside a particular application. @Since: ATK-2.1.0
|
154
156
|
*@ATK_ROLE_INFO_BAR: An object designed to present a message to the user within an existing window. @Since: ATK-2.1.0
|
155
157
|
*@ATK_ROLE_LEVEL_BAR: A bar that serves as a level indicator to, for instance, show the strength of a password or the state of a battery. @Since: ATK-2.7.3
|
158
|
+
*@ATK_ROLE_TITLE_BAR: A bar that serves as the title of a window or a
|
159
|
+
* dialog. @Since: ATK-2.12
|
160
|
+
*@ATK_ROLE_BLOCK_QUOTE: An object which contains a text section
|
161
|
+
* that is quoted from another source. @Since: ATK-2.12
|
162
|
+
*@ATK_ROLE_AUDIO: An object which represents an audio element. @Since: ATK-2.12
|
163
|
+
*@ATK_ROLE_VIDEO: An object which represents a video element. @Since: ATK-2.12
|
164
|
+
*@ATK_ROLE_DEFINITION: A definition of a term or concept. @Since: ATK-2.12
|
165
|
+
*@ATK_ROLE_ARTICLE: A section of a page that consists of a
|
166
|
+
* composition that forms an independent part of a document, page, or
|
167
|
+
* site. Examples: A blog entry, a news story, a forum post. @Since:
|
168
|
+
* ATK-2.12
|
169
|
+
*@ATK_ROLE_LANDMARK: A region of a web page intended as a
|
170
|
+
* navigational landmark. This is designed to allow Assistive
|
171
|
+
* Technologies to provide quick navigation among key regions within a
|
172
|
+
* document. @Since: ATK-2.12
|
173
|
+
*@ATK_ROLE_LOG: A text widget or container holding log content, such
|
174
|
+
* as chat history and error logs. In this role there is a
|
175
|
+
* relationship between the arrival of new items in the log and the
|
176
|
+
* reading order. The log contains a meaningful sequence and new
|
177
|
+
* information is added only to the end of the log, not at arbitrary
|
178
|
+
* points. @Since: ATK-2.12
|
179
|
+
*@ATK_ROLE_MARQUEE: A container where non-essential information
|
180
|
+
* changes frequently. Common usages of marquee include stock tickers
|
181
|
+
* and ad banners. The primary difference between a marquee and a log
|
182
|
+
* is that logs usually have a meaningful order or sequence of
|
183
|
+
* important content changes. @Since: ATK-2.12
|
184
|
+
*@ATK_ROLE_MATH: A text widget or container that holds a mathematical
|
185
|
+
* expression. @Since: ATK-2.12
|
186
|
+
*@ATK_ROLE_RATING: A widget whose purpose is to display a rating,
|
187
|
+
* such as the number of stars associated with a song in a media
|
188
|
+
* player. Objects of this role should also implement
|
189
|
+
* AtkValue. @Since: ATK-2.12
|
190
|
+
*@ATK_ROLE_TIMER: An object containing a numerical counter which
|
191
|
+
* indicates an amount of elapsed time from a start point, or the time
|
192
|
+
* remaining until an end point. @Since: ATK-2.12
|
193
|
+
*@ATK_ROLE_DESCRIPTION_LIST: An object that represents a list of
|
194
|
+
* term-value groups. A term-value group represents a individual
|
195
|
+
* description and consist of one or more names
|
196
|
+
* (ATK_ROLE_DESCRIPTION_TERM) followed by one or more values
|
197
|
+
* (ATK_ROLE_DESCRIPTION_VALUE). For each list, there should not be
|
198
|
+
* more than one group with the same term name. @Since: ATK-2.12
|
199
|
+
*@ATK_ROLE_DESCRIPTION_TERM: An object that represents the term, or
|
200
|
+
* name, part of a term-description group in a description
|
201
|
+
* list. @Since: ATK-2.12
|
202
|
+
*@ATK_ROLE_DESCRIPTION_VALUE: An object that represents the
|
203
|
+
* description, definition or value of a term-description group in a
|
204
|
+
* description list. The values within a group are alternatives,
|
205
|
+
* meaning that you can have several ATK_ROLE_DESCRIPTION_VALUE for a
|
206
|
+
* given ATK_ROLE_DESCRIPTION_TERM. @Since: ATK-2.12
|
156
207
|
*@ATK_ROLE_LAST_DEFINED: not a valid role, used for finding end of the enumeration
|
157
|
-
*
|
208
|
+
*
|
158
209
|
* Describes the role of an object
|
159
210
|
*
|
160
211
|
* These are the built-in enumerated roles that UI components can have in
|
@@ -238,7 +289,7 @@ typedef enum
|
|
238
289
|
ATK_ROLE_RULER,
|
239
290
|
ATK_ROLE_APPLICATION,
|
240
291
|
ATK_ROLE_AUTOCOMPLETE,
|
241
|
-
ATK_ROLE_EDITBAR,
|
292
|
+
ATK_ROLE_EDITBAR, /*<nick=edit-bar>*/
|
242
293
|
ATK_ROLE_EMBEDDED,
|
243
294
|
ATK_ROLE_ENTRY,
|
244
295
|
ATK_ROLE_CHART,
|
@@ -265,6 +316,21 @@ typedef enum
|
|
265
316
|
ATK_ROLE_NOTIFICATION,
|
266
317
|
ATK_ROLE_INFO_BAR,
|
267
318
|
ATK_ROLE_LEVEL_BAR,
|
319
|
+
ATK_ROLE_TITLE_BAR,
|
320
|
+
ATK_ROLE_BLOCK_QUOTE,
|
321
|
+
ATK_ROLE_AUDIO,
|
322
|
+
ATK_ROLE_VIDEO,
|
323
|
+
ATK_ROLE_DEFINITION,
|
324
|
+
ATK_ROLE_ARTICLE,
|
325
|
+
ATK_ROLE_LANDMARK,
|
326
|
+
ATK_ROLE_LOG,
|
327
|
+
ATK_ROLE_MARQUEE,
|
328
|
+
ATK_ROLE_MATH,
|
329
|
+
ATK_ROLE_RATING,
|
330
|
+
ATK_ROLE_TIMER,
|
331
|
+
ATK_ROLE_DESCRIPTION_LIST,
|
332
|
+
ATK_ROLE_DESCRIPTION_TERM,
|
333
|
+
ATK_ROLE_DESCRIPTION_VALUE,
|
268
334
|
ATK_ROLE_LAST_DEFINED
|
269
335
|
} AtkRole;
|
270
336
|
|
@@ -301,20 +367,29 @@ typedef enum
|
|
301
367
|
* AtkAttributeSet:
|
302
368
|
*
|
303
369
|
* This is a singly-linked list (a #GSList) of #AtkAttribute. It is
|
304
|
-
* used by atk_text_get_run_attributes(),
|
305
|
-
*
|
370
|
+
* used by atk_text_get_run_attributes(),
|
371
|
+
* atk_text_get_default_attributes(),
|
372
|
+
* atk_editable_text_set_run_attributes(),
|
373
|
+
* atk_document_get_attributes() and atk_object_get_attributes()
|
306
374
|
**/
|
307
375
|
typedef GSList AtkAttributeSet;
|
308
376
|
|
309
377
|
/**
|
310
378
|
* AtkAttribute:
|
311
|
-
* @name: The attribute name.
|
312
|
-
* @value: the value of the attribute, represented as a string.
|
313
|
-
* Call atk_text_attr_get_value() for those which are strings.
|
314
|
-
* For values which are numbers, the string representation of the number
|
315
|
-
* is in value.
|
379
|
+
* @name: The attribute name.
|
380
|
+
* @value: the value of the attribute, represented as a string.
|
316
381
|
*
|
317
|
-
*
|
382
|
+
* AtkAttribute is a string name/value pair representing a generic
|
383
|
+
* attribute. This can be used to expose additional information from
|
384
|
+
* an accessible object as a whole (see atk_object_get_attributes())
|
385
|
+
* or an document (see atk_document_get_attributes()). In the case of
|
386
|
+
* text attributes (see atk_text_get_default_attributes()),
|
387
|
+
* #AtkTextAttribute enum defines all the possible text attribute
|
388
|
+
* names. You can use atk_text_attribute_get_name() to get the string
|
389
|
+
* name from the enum value. See also atk_text_attribute_for_name()
|
390
|
+
* and atk_text_attribute_get_value() for more information.
|
391
|
+
*
|
392
|
+
* A string name/value pair representing a generic attribute.
|
318
393
|
**/
|
319
394
|
typedef struct _AtkAttribute AtkAttribute;
|
320
395
|
|
@@ -347,20 +422,13 @@ typedef struct _AtkStateSet AtkStateSet;
|
|
347
422
|
|
348
423
|
/**
|
349
424
|
* AtkPropertyValues:
|
350
|
-
* @property_name: The name of the ATK property which
|
351
|
-
* @old_value:
|
425
|
+
* @property_name: The name of the ATK property which has changed.
|
426
|
+
* @old_value: NULL. This field is not used anymore.
|
352
427
|
* @new_value: The new value of the named property.
|
353
428
|
*
|
354
|
-
* Note:
|
355
|
-
*
|
356
|
-
*
|
357
|
-
* Currently, the only property for which old_value is used is
|
358
|
-
* accessible-state; for instance if there is a focus state the
|
359
|
-
* property change handler will be called for the object which lost the focus
|
360
|
-
* with the old_value containing an #AtkState value corresponding to focused
|
361
|
-
* and the property change handler will be called for the object which
|
362
|
-
* received the focus with the new_value containing an #AtkState value
|
363
|
-
* corresponding to focused.
|
429
|
+
* Note: @old_value field of #AtkPropertyValues will not contain a
|
430
|
+
* valid value. This is a field defined with the purpose of contain
|
431
|
+
* the previous value of the property, but is not used anymore.
|
364
432
|
*
|
365
433
|
**/
|
366
434
|
struct _AtkPropertyValues
|
@@ -404,6 +472,8 @@ typedef gboolean (*AtkFunction) (gpointer user_data);
|
|
404
472
|
* An AtkPropertyChangeHandler is a function which is executed when an
|
405
473
|
* AtkObject's property changes value. It is specified in a call to
|
406
474
|
* atk_object_connect_property_change_handler().
|
475
|
+
*
|
476
|
+
* Deprecated: Since 2.12.
|
407
477
|
*/
|
408
478
|
typedef void (*AtkPropertyChangeHandler) (AtkObject* obj, AtkPropertyValues* vals);
|
409
479
|
|
@@ -423,6 +493,13 @@ struct _AtkObject
|
|
423
493
|
|
424
494
|
/**
|
425
495
|
* AtkObjectClass:
|
496
|
+
* @connect_property_change_handler: specifies a function to be called
|
497
|
+
* when a property changes value. This virtual function is
|
498
|
+
* deprecated since 2.12 and it should not be overriden. Connect
|
499
|
+
* directly to property-change or notify signal instead.
|
500
|
+
* @remove_property_change_handler: removes a property changed handler
|
501
|
+
* as returned by @connect_property_change_handler. This virtual
|
502
|
+
* function is deprecated sice 2.12 and it should not be overriden.
|
426
503
|
* @focus_event: The signal handler which is executed when there is a
|
427
504
|
* focus event for an object. This virtual function is deprecated
|
428
505
|
* since 2.9.4 and it should not be overriden. Use
|
@@ -563,6 +640,7 @@ void (* initialize) (AtkObject
|
|
563
640
|
AtkFunction pad1;
|
564
641
|
};
|
565
642
|
|
643
|
+
ATK_AVAILABLE_IN_ALL
|
566
644
|
GType atk_object_get_type (void);
|
567
645
|
|
568
646
|
/**
|
@@ -578,65 +656,94 @@ struct _AtkImplementorIface
|
|
578
656
|
|
579
657
|
AtkObject* (*ref_accessible) (AtkImplementor *implementor);
|
580
658
|
};
|
581
|
-
GType atk_implementor_get_type (void);
|
582
659
|
|
660
|
+
ATK_AVAILABLE_IN_ALL
|
661
|
+
GType atk_implementor_get_type (void);
|
662
|
+
ATK_AVAILABLE_IN_ALL
|
583
663
|
AtkObject* atk_implementor_ref_accessible (AtkImplementor *implementor);
|
584
664
|
|
585
665
|
/*
|
586
666
|
* Properties directly supported by AtkObject
|
587
667
|
*/
|
588
668
|
|
669
|
+
ATK_AVAILABLE_IN_ALL
|
589
670
|
const gchar* atk_object_get_name (AtkObject *accessible);
|
671
|
+
ATK_AVAILABLE_IN_ALL
|
590
672
|
const gchar* atk_object_get_description (AtkObject *accessible);
|
673
|
+
ATK_AVAILABLE_IN_ALL
|
591
674
|
AtkObject* atk_object_get_parent (AtkObject *accessible);
|
675
|
+
ATK_AVAILABLE_IN_ALL
|
676
|
+
AtkObject* atk_object_peek_parent (AtkObject *accessible);
|
677
|
+
ATK_AVAILABLE_IN_ALL
|
592
678
|
gint atk_object_get_n_accessible_children (AtkObject *accessible);
|
679
|
+
ATK_AVAILABLE_IN_ALL
|
593
680
|
AtkObject* atk_object_ref_accessible_child (AtkObject *accessible,
|
594
681
|
gint i);
|
682
|
+
ATK_AVAILABLE_IN_ALL
|
595
683
|
AtkRelationSet* atk_object_ref_relation_set (AtkObject *accessible);
|
684
|
+
ATK_AVAILABLE_IN_ALL
|
596
685
|
AtkRole atk_object_get_role (AtkObject *accessible);
|
597
686
|
|
598
|
-
|
687
|
+
ATK_DEPRECATED_FOR(atk_component_get_layer)
|
599
688
|
AtkLayer atk_object_get_layer (AtkObject *accessible);
|
600
|
-
|
689
|
+
ATK_DEPRECATED_FOR(atk_component_get_mdi_zorder)
|
601
690
|
gint atk_object_get_mdi_zorder (AtkObject *accessible);
|
602
691
|
|
692
|
+
ATK_AVAILABLE_IN_ALL
|
603
693
|
AtkAttributeSet* atk_object_get_attributes (AtkObject *accessible);
|
694
|
+
ATK_AVAILABLE_IN_ALL
|
604
695
|
AtkStateSet* atk_object_ref_state_set (AtkObject *accessible);
|
696
|
+
ATK_AVAILABLE_IN_ALL
|
605
697
|
gint atk_object_get_index_in_parent (AtkObject *accessible);
|
698
|
+
ATK_AVAILABLE_IN_ALL
|
606
699
|
void atk_object_set_name (AtkObject *accessible,
|
607
700
|
const gchar *name);
|
701
|
+
ATK_AVAILABLE_IN_ALL
|
608
702
|
void atk_object_set_description (AtkObject *accessible,
|
609
703
|
const gchar *description);
|
704
|
+
ATK_AVAILABLE_IN_ALL
|
610
705
|
void atk_object_set_parent (AtkObject *accessible,
|
611
706
|
AtkObject *parent);
|
707
|
+
ATK_AVAILABLE_IN_ALL
|
612
708
|
void atk_object_set_role (AtkObject *accessible,
|
613
709
|
AtkRole role);
|
614
710
|
|
615
711
|
|
712
|
+
ATK_DEPRECATED_IN_2_12
|
616
713
|
guint atk_object_connect_property_change_handler (AtkObject *accessible,
|
617
714
|
AtkPropertyChangeHandler *handler);
|
715
|
+
ATK_DEPRECATED_IN_2_12
|
618
716
|
void atk_object_remove_property_change_handler (AtkObject *accessible,
|
619
717
|
guint handler_id);
|
620
718
|
|
719
|
+
ATK_AVAILABLE_IN_ALL
|
621
720
|
void atk_object_notify_state_change (AtkObject *accessible,
|
622
721
|
AtkState state,
|
623
722
|
gboolean value);
|
723
|
+
ATK_AVAILABLE_IN_ALL
|
624
724
|
void atk_object_initialize (AtkObject *accessible,
|
625
725
|
gpointer data);
|
626
|
-
|
726
|
+
|
727
|
+
ATK_AVAILABLE_IN_ALL
|
627
728
|
const gchar* atk_role_get_name (AtkRole role);
|
729
|
+
ATK_AVAILABLE_IN_ALL
|
628
730
|
AtkRole atk_role_for_name (const gchar *name);
|
629
731
|
|
630
732
|
|
631
733
|
/* NEW in 1.1: convenience API */
|
734
|
+
ATK_AVAILABLE_IN_ALL
|
632
735
|
gboolean atk_object_add_relationship (AtkObject *object,
|
633
736
|
AtkRelationType relationship,
|
634
737
|
AtkObject *target);
|
738
|
+
ATK_AVAILABLE_IN_ALL
|
635
739
|
gboolean atk_object_remove_relationship (AtkObject *object,
|
636
740
|
AtkRelationType relationship,
|
637
741
|
AtkObject *target);
|
742
|
+
ATK_AVAILABLE_IN_ALL
|
638
743
|
const gchar* atk_role_get_localized_name (AtkRole role);
|
744
|
+
ATK_DEPRECATED_IN_2_12
|
639
745
|
AtkRole atk_role_register (const gchar *name);
|
746
|
+
ATK_AVAILABLE_IN_2_8
|
640
747
|
const gchar* atk_object_get_object_locale (AtkObject *accessible);
|
641
748
|
|
642
749
|
G_END_DECLS
|
@@ -56,10 +56,15 @@ struct _AtkObjectFactoryClass
|
|
56
56
|
AtkFunction pad2;
|
57
57
|
};
|
58
58
|
|
59
|
+
ATK_AVAILABLE_IN_ALL
|
59
60
|
GType atk_object_factory_get_type(void);
|
60
61
|
|
62
|
+
|
63
|
+
ATK_AVAILABLE_IN_ALL
|
61
64
|
AtkObject* atk_object_factory_create_accessible (AtkObjectFactory *factory, GObject *obj);
|
65
|
+
ATK_AVAILABLE_IN_ALL
|
62
66
|
void atk_object_factory_invalidate (AtkObjectFactory *factory);
|
67
|
+
ATK_AVAILABLE_IN_ALL
|
63
68
|
GType atk_object_factory_get_accessible_type (AtkObjectFactory *factory);
|
64
69
|
|
65
70
|
G_END_DECLS
|
@@ -24,6 +24,8 @@
|
|
24
24
|
#ifndef __ATK_PLUG_H__
|
25
25
|
#define __ATK_PLUG_H__
|
26
26
|
|
27
|
+
#include <atk/atkversion.h>
|
28
|
+
|
27
29
|
G_BEGIN_DECLS
|
28
30
|
|
29
31
|
#define ATK_TYPE_PLUG (atk_plug_get_type ())
|
@@ -41,6 +43,7 @@ struct _AtkPlug
|
|
41
43
|
AtkObject parent;
|
42
44
|
};
|
43
45
|
|
46
|
+
ATK_AVAILABLE_IN_ALL
|
44
47
|
GType atk_plug_get_type (void);
|
45
48
|
|
46
49
|
struct _AtkPlugClass
|
@@ -53,7 +56,9 @@ struct _AtkPlugClass
|
|
53
56
|
gchar* (* get_object_id) (AtkPlug* obj);
|
54
57
|
};
|
55
58
|
|
59
|
+
ATK_AVAILABLE_IN_ALL
|
56
60
|
AtkObject* atk_plug_new (void);
|
61
|
+
ATK_AVAILABLE_IN_ALL
|
57
62
|
gchar* atk_plug_get_id (AtkPlug* plug);
|
58
63
|
|
59
64
|
G_END_DECLS
|
@@ -0,0 +1,59 @@
|
|
1
|
+
/* ATK - Accessibility Toolkit
|
2
|
+
* Copyright 2014 Igalia S.L.
|
3
|
+
*
|
4
|
+
* Author: Alejandro Piñeiro Iglesias <apinheiro@igalia.com>
|
5
|
+
*
|
6
|
+
* This library is free software; you can redistribute it and/or
|
7
|
+
* modify it under the terms of the GNU Library General Public
|
8
|
+
* License as published by the Free Software Foundation; either
|
9
|
+
* version 2 of the License, or (at your option) any later version.
|
10
|
+
*
|
11
|
+
* This library is distributed in the hope that it will be useful,
|
12
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
14
|
+
* Library General Public License for more details.
|
15
|
+
*
|
16
|
+
* You should have received a copy of the GNU Library General Public
|
17
|
+
* License along with this library; if not, write to the
|
18
|
+
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
19
|
+
* Boston, MA 02111-1307, USA.
|
20
|
+
*/
|
21
|
+
#if defined(ATK_DISABLE_SINGLE_INCLUDES) && !defined (__ATK_H_INSIDE__) && !defined (ATK_COMPILATION)
|
22
|
+
#error "Only <atk/atk.h> can be included directly."
|
23
|
+
#endif
|
24
|
+
|
25
|
+
#ifndef __ATK_RANGE_H__
|
26
|
+
#define __ATK_RANGE_H__
|
27
|
+
|
28
|
+
#include <glib-object.h>
|
29
|
+
#include <atk/atkversion.h>
|
30
|
+
|
31
|
+
G_BEGIN_DECLS
|
32
|
+
|
33
|
+
#define ATK_TYPE_RANGE (atk_range_get_type ())
|
34
|
+
|
35
|
+
typedef struct _AtkRange AtkRange;
|
36
|
+
|
37
|
+
/* AtkRange methods */
|
38
|
+
ATK_AVAILABLE_IN_2_12
|
39
|
+
GType atk_range_get_type (void);
|
40
|
+
|
41
|
+
ATK_AVAILABLE_IN_2_12
|
42
|
+
AtkRange* atk_range_copy (AtkRange *src);
|
43
|
+
ATK_AVAILABLE_IN_2_12
|
44
|
+
void atk_range_free (AtkRange *range);
|
45
|
+
|
46
|
+
ATK_AVAILABLE_IN_2_12
|
47
|
+
gdouble atk_range_get_lower_limit (AtkRange *range);
|
48
|
+
ATK_AVAILABLE_IN_2_12
|
49
|
+
gdouble atk_range_get_upper_limit (AtkRange *range);
|
50
|
+
ATK_AVAILABLE_IN_2_12
|
51
|
+
const gchar* atk_range_get_description (AtkRange *range);
|
52
|
+
ATK_AVAILABLE_IN_2_12
|
53
|
+
AtkRange* atk_range_new (gdouble lower_limit,
|
54
|
+
gdouble upper_limit,
|
55
|
+
const gchar *description);
|
56
|
+
|
57
|
+
G_END_DECLS
|
58
|
+
|
59
|
+
#endif /* __ATK_RANGE_H__ */
|
@@ -27,21 +27,6 @@
|
|
27
27
|
#include <glib-object.h>
|
28
28
|
#include "atkobjectfactory.h"
|
29
29
|
|
30
|
-
/**
|
31
|
-
* SECTION:atkobjectregistry
|
32
|
-
* @Short_description: An object used to store the GType of the
|
33
|
-
* factories used to create an accessible object for an object of a
|
34
|
-
* particular GType.
|
35
|
-
* @Title:AtkObjectRegistry
|
36
|
-
*
|
37
|
-
* The AtkRegistry is normally used to create appropriate ATK "peers"
|
38
|
-
* for user interface components. Application developers usually need
|
39
|
-
* only interact with the AtkRegistry by associating appropriate ATK
|
40
|
-
* implementation classes with GObject classes via the
|
41
|
-
* atk_registry_set_factory_type call, passing the appropriate GType
|
42
|
-
* for application custom widget classes.
|
43
|
-
*/
|
44
|
-
|
45
30
|
G_BEGIN_DECLS
|
46
31
|
|
47
32
|
#define ATK_TYPE_REGISTRY (atk_registry_get_type ())
|
@@ -67,15 +52,20 @@ typedef struct _AtkRegistry AtkRegistry;
|
|
67
52
|
typedef struct _AtkRegistryClass AtkRegistryClass;
|
68
53
|
|
69
54
|
|
55
|
+
ATK_AVAILABLE_IN_ALL
|
70
56
|
GType atk_registry_get_type (void);
|
57
|
+
ATK_AVAILABLE_IN_ALL
|
71
58
|
void atk_registry_set_factory_type (AtkRegistry *registry,
|
72
59
|
GType type,
|
73
60
|
GType factory_type);
|
61
|
+
ATK_AVAILABLE_IN_ALL
|
74
62
|
GType atk_registry_get_factory_type (AtkRegistry *registry,
|
75
63
|
GType type);
|
64
|
+
ATK_AVAILABLE_IN_ALL
|
76
65
|
AtkObjectFactory* atk_registry_get_factory (AtkRegistry *registry,
|
77
66
|
GType type);
|
78
67
|
|
68
|
+
ATK_AVAILABLE_IN_ALL
|
79
69
|
AtkRegistry* atk_get_default_registry (void);
|
80
70
|
|
81
71
|
G_END_DECLS
|