atk 2.2.4-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README +30 -0
- data/Rakefile +31 -0
- data/ext/atk/atk.def +2 -0
- data/ext/atk/depend +11 -0
- data/ext/atk/extconf.rb +81 -0
- data/ext/atk/rbatk.c +66 -0
- data/ext/atk/rbatk.h +47 -0
- data/ext/atk/rbatkaction.c +85 -0
- data/ext/atk/rbatkcomponent.c +175 -0
- data/ext/atk/rbatkconversions.h +70 -0
- data/ext/atk/rbatkdocument.c +96 -0
- data/ext/atk/rbatkeditabletext.c +177 -0
- data/ext/atk/rbatkgobjectaccessible.c +46 -0
- data/ext/atk/rbatkhyperlink.c +71 -0
- data/ext/atk/rbatkhypertext.c +53 -0
- data/ext/atk/rbatkimage.c +68 -0
- data/ext/atk/rbatkimplementor.c +38 -0
- data/ext/atk/rbatknoopobject.c +40 -0
- data/ext/atk/rbatknoopobjectfactory.c +40 -0
- data/ext/atk/rbatkobject.c +153 -0
- data/ext/atk/rbatkobjectfactory.c +53 -0
- data/ext/atk/rbatkobjectrole.c +50 -0
- data/ext/atk/rbatkprivate.h +48 -0
- data/ext/atk/rbatkregistry.c +63 -0
- data/ext/atk/rbatkrelation.c +98 -0
- data/ext/atk/rbatkrelationset.c +95 -0
- data/ext/atk/rbatkrelationtype.c +38 -0
- data/ext/atk/rbatkselection.c +87 -0
- data/ext/atk/rbatkstate.c +51 -0
- data/ext/atk/rbatkstateset.c +180 -0
- data/ext/atk/rbatkstreamablecontent.c +57 -0
- data/ext/atk/rbatktable.c +271 -0
- data/ext/atk/rbatktext.c +318 -0
- data/ext/atk/rbatktextattribute.c +54 -0
- data/ext/atk/rbatktextrange.c +92 -0
- data/ext/atk/rbatktextrectangle.c +149 -0
- data/ext/atk/rbatkutil.c +122 -0
- data/ext/atk/rbatkvalue.c +78 -0
- data/extconf.rb +49 -0
- data/lib/2.0/atk.so +0 -0
- data/lib/2.1/atk.so +0 -0
- data/lib/2.2/atk.so +0 -0
- data/lib/atk.rb +21 -0
- data/test/atk-test-utils.rb +21 -0
- data/test/run-test.rb +45 -0
- data/test/test-text-rectangle.rb +26 -0
- data/vendor/local/bin/libatk-1.0-0.dll +0 -0
- data/vendor/local/include/atk-1.0/atk/atk-enum-types.h +63 -0
- data/vendor/local/include/atk-1.0/atk/atk.h +61 -0
- data/vendor/local/include/atk-1.0/atk/atkaction.h +117 -0
- data/vendor/local/include/atk-1.0/atk/atkcomponent.h +225 -0
- data/vendor/local/include/atk-1.0/atk/atkdocument.h +113 -0
- data/vendor/local/include/atk-1.0/atk/atkeditabletext.h +109 -0
- data/vendor/local/include/atk-1.0/atk/atkgobjectaccessible.h +68 -0
- data/vendor/local/include/atk-1.0/atk/atkhyperlink.h +114 -0
- data/vendor/local/include/atk-1.0/atk/atkhyperlinkimpl.h +68 -0
- data/vendor/local/include/atk-1.0/atk/atkhypertext.h +78 -0
- data/vendor/local/include/atk-1.0/atk/atkimage.h +90 -0
- data/vendor/local/include/atk-1.0/atk/atkmisc.h +112 -0
- data/vendor/local/include/atk-1.0/atk/atknoopobject.h +59 -0
- data/vendor/local/include/atk-1.0/atk/atknoopobjectfactory.h +59 -0
- data/vendor/local/include/atk-1.0/atk/atkobject.h +751 -0
- data/vendor/local/include/atk-1.0/atk/atkobjectfactory.h +72 -0
- data/vendor/local/include/atk-1.0/atk/atkplug.h +66 -0
- data/vendor/local/include/atk-1.0/atk/atkrange.h +59 -0
- data/vendor/local/include/atk-1.0/atk/atkregistry.h +74 -0
- data/vendor/local/include/atk-1.0/atk/atkrelation.h +99 -0
- data/vendor/local/include/atk-1.0/atk/atkrelationset.h +91 -0
- data/vendor/local/include/atk-1.0/atk/atkrelationtype.h +83 -0
- data/vendor/local/include/atk-1.0/atk/atkselection.h +100 -0
- data/vendor/local/include/atk-1.0/atk/atksocket.h +71 -0
- data/vendor/local/include/atk-1.0/atk/atkstate.h +190 -0
- data/vendor/local/include/atk-1.0/atk/atkstateset.h +92 -0
- data/vendor/local/include/atk-1.0/atk/atkstreamablecontent.h +110 -0
- data/vendor/local/include/atk-1.0/atk/atktable.h +233 -0
- data/vendor/local/include/atk-1.0/atk/atktablecell.h +104 -0
- data/vendor/local/include/atk-1.0/atk/atktext.h +453 -0
- data/vendor/local/include/atk-1.0/atk/atkutil.h +357 -0
- data/vendor/local/include/atk-1.0/atk/atkvalue.h +163 -0
- data/vendor/local/include/atk-1.0/atk/atkversion.h +394 -0
- data/vendor/local/include/atk-1.0/atk/atkwindow.h +53 -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 +41 -0
- data/vendor/local/lib/pkgconfig/atk.pc +11 -0
- data/vendor/local/share/gir-1.0/Atk-1.0.gir +15525 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkAction.html +477 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkComponent.html +1146 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkDocument.html +714 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkEditableText.html +429 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkGObjectAccessible.html +166 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkHyperlink.html +570 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkHypertext.html +286 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkImage.html +319 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkMisc.html +191 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkNoOpObject.html +130 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkNoOpObjectFactory.html +107 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkObject.html +3056 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkObjectFactory.html +214 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkRegistry.html +265 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkRelation.html +659 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkRelationSet.html +413 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkSelection.html +453 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkStateSet.html +539 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkStreamableContent.html +274 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkTable.html +1790 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkTableCell.html +497 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkText.html +2547 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkUtil.html +1111 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkValue.html +743 -0
- data/vendor/local/share/gtk-doc/html/atk/AtkWindow.html +452 -0
- 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 +51 -0
- data/vendor/local/share/gtk-doc/html/atk/api-index-1-13.html +41 -0
- data/vendor/local/share/gtk-doc/html/atk/api-index-1-20.html +35 -0
- data/vendor/local/share/gtk-doc/html/atk/api-index-1-22.html +45 -0
- data/vendor/local/share/gtk-doc/html/atk/api-index-1-3.html +41 -0
- data/vendor/local/share/gtk-doc/html/atk/api-index-1-30.html +41 -0
- data/vendor/local/share/gtk-doc/html/atk/api-index-1-4.html +35 -0
- data/vendor/local/share/gtk-doc/html/atk/api-index-1-6.html +35 -0
- data/vendor/local/share/gtk-doc/html/atk/api-index-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 +119 -0
- data/vendor/local/share/gtk-doc/html/atk/api-index-full.html +775 -0
- data/vendor/local/share/gtk-doc/html/atk/atk-AtkHyperlinkImpl.html +142 -0
- data/vendor/local/share/gtk-doc/html/atk/atk-AtkPlug.html +147 -0
- data/vendor/local/share/gtk-doc/html/atk/atk-AtkRange.html +328 -0
- data/vendor/local/share/gtk-doc/html/atk/atk-AtkSocket.html +207 -0
- data/vendor/local/share/gtk-doc/html/atk/atk-AtkState.html +556 -0
- data/vendor/local/share/gtk-doc/html/atk/atk-Versioning-Utilities.html +293 -0
- data/vendor/local/share/gtk-doc/html/atk/atk.devhelp2 +441 -0
- 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/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/atk/index.html +175 -0
- data/vendor/local/share/gtk-doc/html/atk/index.sgml +632 -0
- data/vendor/local/share/gtk-doc/html/atk/interfaces.html +89 -0
- data/vendor/local/share/gtk-doc/html/atk/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/atk/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/atk/overview.html +47 -0
- data/vendor/local/share/gtk-doc/html/atk/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/atk/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/atk/style.css +476 -0
- data/vendor/local/share/gtk-doc/html/atk/toolkit.html +33 -0
- data/vendor/local/share/gtk-doc/html/atk/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/atk/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/atk/utilities.html +47 -0
- data/vendor/local/share/license/atk/AUTHORS +18 -0
- data/vendor/local/share/license/atk/COPYING +482 -0
- data/vendor/local/share/locale/af/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/am/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/an/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/be@latin/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/bs/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/cy/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/dz/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/hy/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/is/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ka/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/km/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ku/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/li/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/mai/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ps/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/ro/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/rw/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/si/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/sq/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/sr@ije/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/tk/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/tt/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/wa/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/yi/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/zu/LC_MESSAGES/atk10.mo +0 -0
- metadata +307 -0
@@ -0,0 +1,72 @@
|
|
1
|
+
/* ATK - Accessibility Toolkit
|
2
|
+
* Copyright 2001 Sun Microsystems Inc.
|
3
|
+
*
|
4
|
+
* This library is free software; you can redistribute it and/or
|
5
|
+
* modify it under the terms of the GNU Library General Public
|
6
|
+
* License as published by the Free Software Foundation; either
|
7
|
+
* version 2 of the License, or (at your option) any later version.
|
8
|
+
*
|
9
|
+
* This library is distributed in the hope that it will be useful,
|
10
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
12
|
+
* Library General Public License for more details.
|
13
|
+
*
|
14
|
+
* You should have received a copy of the GNU Library General Public
|
15
|
+
* License along with this library; if not, write to the
|
16
|
+
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
17
|
+
* Boston, MA 02111-1307, USA.
|
18
|
+
*/
|
19
|
+
|
20
|
+
#if defined(ATK_DISABLE_SINGLE_INCLUDES) && !defined (__ATK_H_INSIDE__) && !defined (ATK_COMPILATION)
|
21
|
+
#error "Only <atk/atk.h> can be included directly."
|
22
|
+
#endif
|
23
|
+
|
24
|
+
#ifndef __ATK_OBJECT_FACTORY_H__
|
25
|
+
#define __ATK_OBJECT_FACTORY_H__
|
26
|
+
|
27
|
+
#include <glib-object.h>
|
28
|
+
#include <atk/atkobject.h>
|
29
|
+
|
30
|
+
G_BEGIN_DECLS
|
31
|
+
|
32
|
+
#define ATK_TYPE_OBJECT_FACTORY (atk_object_factory_get_type ())
|
33
|
+
#define ATK_OBJECT_FACTORY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ATK_TYPE_OBJECT_FACTORY, AtkObjectFactory))
|
34
|
+
#define ATK_OBJECT_FACTORY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), ATK_TYPE_OBJECT_FACTORY, AtkObjectFactoryClass))
|
35
|
+
#define ATK_IS_OBJECT_FACTORY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ATK_TYPE_OBJECT_FACTORY))
|
36
|
+
#define ATK_IS_OBJECT_FACTORY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), ATK_TYPE_OBJECT_FACTORY))
|
37
|
+
#define ATK_OBJECT_FACTORY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), ATK_TYPE_OBJECT_FACTORY, AtkObjectFactoryClass))
|
38
|
+
|
39
|
+
typedef struct _AtkObjectFactory AtkObjectFactory;
|
40
|
+
typedef struct _AtkObjectFactoryClass AtkObjectFactoryClass;
|
41
|
+
|
42
|
+
struct _AtkObjectFactory
|
43
|
+
{
|
44
|
+
GObject parent;
|
45
|
+
};
|
46
|
+
|
47
|
+
struct _AtkObjectFactoryClass
|
48
|
+
{
|
49
|
+
GObjectClass parent_class;
|
50
|
+
|
51
|
+
AtkObject* (* create_accessible) (GObject *obj);
|
52
|
+
void (* invalidate) (AtkObjectFactory *factory);
|
53
|
+
GType (* get_accessible_type) (void);
|
54
|
+
|
55
|
+
AtkFunction pad1;
|
56
|
+
AtkFunction pad2;
|
57
|
+
};
|
58
|
+
|
59
|
+
ATK_AVAILABLE_IN_ALL
|
60
|
+
GType atk_object_factory_get_type(void);
|
61
|
+
|
62
|
+
|
63
|
+
ATK_AVAILABLE_IN_ALL
|
64
|
+
AtkObject* atk_object_factory_create_accessible (AtkObjectFactory *factory, GObject *obj);
|
65
|
+
ATK_AVAILABLE_IN_ALL
|
66
|
+
void atk_object_factory_invalidate (AtkObjectFactory *factory);
|
67
|
+
ATK_AVAILABLE_IN_ALL
|
68
|
+
GType atk_object_factory_get_accessible_type (AtkObjectFactory *factory);
|
69
|
+
|
70
|
+
G_END_DECLS
|
71
|
+
|
72
|
+
#endif /* __GTK_OBJECT_FACTORY_H__ */
|
@@ -0,0 +1,66 @@
|
|
1
|
+
/* ATK - Accessibility Toolkit
|
2
|
+
* Copyright 2009 Novell, Inc.
|
3
|
+
*
|
4
|
+
* This library is free software; you can redistribute it and/or
|
5
|
+
* modify it under the terms of the GNU Library General Public
|
6
|
+
* License as published by the Free Software Foundation; either
|
7
|
+
* version 2 of the License, or (at your option) any later version.
|
8
|
+
*
|
9
|
+
* This library is distributed in the hope that it will be useful,
|
10
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
12
|
+
* Library General Public License for more details.
|
13
|
+
*
|
14
|
+
* You should have received a copy of the GNU Library General Public
|
15
|
+
* License along with this library; if not, write to the
|
16
|
+
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
17
|
+
* Boston, MA 02111-1307, USA.
|
18
|
+
*/
|
19
|
+
|
20
|
+
#if defined(ATK_DISABLE_SINGLE_INCLUDES) && !defined (__ATK_H_INSIDE__) && !defined (ATK_COMPILATION)
|
21
|
+
#error "Only <atk/atk.h> can be included directly."
|
22
|
+
#endif
|
23
|
+
|
24
|
+
#ifndef __ATK_PLUG_H__
|
25
|
+
#define __ATK_PLUG_H__
|
26
|
+
|
27
|
+
#include <atk/atkversion.h>
|
28
|
+
|
29
|
+
G_BEGIN_DECLS
|
30
|
+
|
31
|
+
#define ATK_TYPE_PLUG (atk_plug_get_type ())
|
32
|
+
#define ATK_PLUG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ATK_TYPE_PLUG, AtkPlug))
|
33
|
+
#define ATK_IS_PLUG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ATK_TYPE_PLUG))
|
34
|
+
#define ATK_PLUG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), ATK_TYPE_PLUG, AtkPlugClass))
|
35
|
+
#define ATK_IS_PLUG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), ATK_TYPE_PLUG))
|
36
|
+
#define ATK_PLUG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), ATK_TYPE_PLUG, AtkPlugClass))
|
37
|
+
|
38
|
+
typedef struct _AtkPlug AtkPlug;
|
39
|
+
typedef struct _AtkPlugClass AtkPlugClass;
|
40
|
+
|
41
|
+
struct _AtkPlug
|
42
|
+
{
|
43
|
+
AtkObject parent;
|
44
|
+
};
|
45
|
+
|
46
|
+
ATK_AVAILABLE_IN_ALL
|
47
|
+
GType atk_plug_get_type (void);
|
48
|
+
|
49
|
+
struct _AtkPlugClass
|
50
|
+
{
|
51
|
+
AtkObjectClass parent_class;
|
52
|
+
|
53
|
+
/* to be subscribed to by atk-bridge */
|
54
|
+
|
55
|
+
/*< protected >*/
|
56
|
+
gchar* (* get_object_id) (AtkPlug* obj);
|
57
|
+
};
|
58
|
+
|
59
|
+
ATK_AVAILABLE_IN_ALL
|
60
|
+
AtkObject* atk_plug_new (void);
|
61
|
+
ATK_AVAILABLE_IN_ALL
|
62
|
+
gchar* atk_plug_get_id (AtkPlug* plug);
|
63
|
+
|
64
|
+
G_END_DECLS
|
65
|
+
|
66
|
+
#endif /* __ATK_PLUG_H__ */
|
@@ -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__ */
|
@@ -0,0 +1,74 @@
|
|
1
|
+
/* ATK - Accessibility Toolkit
|
2
|
+
* Copyright 2001 Sun Microsystems Inc.
|
3
|
+
*
|
4
|
+
* This library is free software; you can redistribute it and/or
|
5
|
+
* modify it under the terms of the GNU Library General Public
|
6
|
+
* License as published by the Free Software Foundation; either
|
7
|
+
* version 2 of the License, or (at your option) any later version.
|
8
|
+
*
|
9
|
+
* This library is distributed in the hope that it will be useful,
|
10
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
12
|
+
* Library General Public License for more details.
|
13
|
+
*
|
14
|
+
* You should have received a copy of the GNU Library General Public
|
15
|
+
* License along with this library; if not, write to the
|
16
|
+
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
17
|
+
* Boston, MA 02111-1307, USA.
|
18
|
+
*/
|
19
|
+
|
20
|
+
#if defined(ATK_DISABLE_SINGLE_INCLUDES) && !defined (__ATK_H_INSIDE__) && !defined (ATK_COMPILATION)
|
21
|
+
#error "Only <atk/atk.h> can be included directly."
|
22
|
+
#endif
|
23
|
+
|
24
|
+
#ifndef __ATK_REGISTRY_H__
|
25
|
+
#define __ATK_REGISTRY_H__
|
26
|
+
|
27
|
+
#include <glib-object.h>
|
28
|
+
#include "atkobjectfactory.h"
|
29
|
+
|
30
|
+
G_BEGIN_DECLS
|
31
|
+
|
32
|
+
#define ATK_TYPE_REGISTRY (atk_registry_get_type ())
|
33
|
+
#define ATK_REGISTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ATK_TYPE_REGISTRY, AtkRegistry))
|
34
|
+
#define ATK_REGISTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), ATK_TYPE_REGISTRY, AtkRegistryClass))
|
35
|
+
#define ATK_IS_REGISTRY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ATK_TYPE_REGISTRY))
|
36
|
+
#define ATK_IS_REGISTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), ATK_TYPE_REGISTRY))
|
37
|
+
#define ATK_REGISTRY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), ATK_TYPE_REGISTRY, AtkRegistryClass))
|
38
|
+
|
39
|
+
struct _AtkRegistry
|
40
|
+
{
|
41
|
+
GObject parent;
|
42
|
+
GHashTable *factory_type_registry;
|
43
|
+
GHashTable *factory_singleton_cache;
|
44
|
+
};
|
45
|
+
|
46
|
+
struct _AtkRegistryClass
|
47
|
+
{
|
48
|
+
GObjectClass parent_class;
|
49
|
+
};
|
50
|
+
|
51
|
+
typedef struct _AtkRegistry AtkRegistry;
|
52
|
+
typedef struct _AtkRegistryClass AtkRegistryClass;
|
53
|
+
|
54
|
+
|
55
|
+
ATK_AVAILABLE_IN_ALL
|
56
|
+
GType atk_registry_get_type (void);
|
57
|
+
ATK_AVAILABLE_IN_ALL
|
58
|
+
void atk_registry_set_factory_type (AtkRegistry *registry,
|
59
|
+
GType type,
|
60
|
+
GType factory_type);
|
61
|
+
ATK_AVAILABLE_IN_ALL
|
62
|
+
GType atk_registry_get_factory_type (AtkRegistry *registry,
|
63
|
+
GType type);
|
64
|
+
ATK_AVAILABLE_IN_ALL
|
65
|
+
AtkObjectFactory* atk_registry_get_factory (AtkRegistry *registry,
|
66
|
+
GType type);
|
67
|
+
|
68
|
+
ATK_AVAILABLE_IN_ALL
|
69
|
+
AtkRegistry* atk_get_default_registry (void);
|
70
|
+
|
71
|
+
G_END_DECLS
|
72
|
+
|
73
|
+
#endif /* __ATK_REGISTRY_H__ */
|
74
|
+
|
@@ -0,0 +1,99 @@
|
|
1
|
+
/* ATK - Accessibility Toolkit
|
2
|
+
* Copyright 2001 Sun Microsystems Inc.
|
3
|
+
*
|
4
|
+
* This library is free software; you can redistribute it and/or
|
5
|
+
* modify it under the terms of the GNU Library General Public
|
6
|
+
* License as published by the Free Software Foundation; either
|
7
|
+
* version 2 of the License, or (at your option) any later version.
|
8
|
+
*
|
9
|
+
* This library is distributed in the hope that it will be useful,
|
10
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
12
|
+
* Library General Public License for more details.
|
13
|
+
*
|
14
|
+
* You should have received a copy of the GNU Library General Public
|
15
|
+
* License along with this library; if not, write to the
|
16
|
+
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
17
|
+
* Boston, MA 02111-1307, USA.
|
18
|
+
*/
|
19
|
+
|
20
|
+
#if defined(ATK_DISABLE_SINGLE_INCLUDES) && !defined (__ATK_H_INSIDE__) && !defined (ATK_COMPILATION)
|
21
|
+
#error "Only <atk/atk.h> can be included directly."
|
22
|
+
#endif
|
23
|
+
|
24
|
+
#ifndef __ATK_RELATION_H__
|
25
|
+
#define __ATK_RELATION_H__
|
26
|
+
|
27
|
+
G_BEGIN_DECLS
|
28
|
+
|
29
|
+
#include <glib-object.h>
|
30
|
+
#include <atk/atkrelationtype.h>
|
31
|
+
#include <atk/atkversion.h>
|
32
|
+
|
33
|
+
/*
|
34
|
+
* An AtkRelation describes a relation between the object and one or more
|
35
|
+
* other objects. The actual relations that an object has with other objects
|
36
|
+
* are defined as an AtkRelationSet, which is a set of AtkRelations.
|
37
|
+
*/
|
38
|
+
|
39
|
+
#define ATK_TYPE_RELATION (atk_relation_get_type ())
|
40
|
+
#define ATK_RELATION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ATK_TYPE_RELATION, AtkRelation))
|
41
|
+
#define ATK_RELATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), ATK_TYPE_RELATION, AtkRelationClass))
|
42
|
+
#define ATK_IS_RELATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ATK_TYPE_RELATION))
|
43
|
+
#define ATK_IS_RELATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), ATK_TYPE_RELATION))
|
44
|
+
#define ATK_RELATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), ATK_TYPE_RELATION, AtkRelationClass))
|
45
|
+
|
46
|
+
typedef struct _AtkRelation AtkRelation;
|
47
|
+
typedef struct _AtkRelationClass AtkRelationClass;
|
48
|
+
|
49
|
+
struct _AtkRelation
|
50
|
+
{
|
51
|
+
GObject parent;
|
52
|
+
|
53
|
+
GPtrArray *target;
|
54
|
+
AtkRelationType relationship;
|
55
|
+
};
|
56
|
+
|
57
|
+
struct _AtkRelationClass
|
58
|
+
{
|
59
|
+
GObjectClass parent;
|
60
|
+
};
|
61
|
+
|
62
|
+
ATK_AVAILABLE_IN_ALL
|
63
|
+
GType atk_relation_get_type (void);
|
64
|
+
|
65
|
+
ATK_AVAILABLE_IN_ALL
|
66
|
+
AtkRelationType atk_relation_type_register (const gchar *name);
|
67
|
+
ATK_AVAILABLE_IN_ALL
|
68
|
+
const gchar* atk_relation_type_get_name (AtkRelationType type);
|
69
|
+
ATK_AVAILABLE_IN_ALL
|
70
|
+
AtkRelationType atk_relation_type_for_name (const gchar *name);
|
71
|
+
|
72
|
+
/*
|
73
|
+
* Create a new relation for the specified key and the specified list
|
74
|
+
* of targets.
|
75
|
+
*/
|
76
|
+
ATK_AVAILABLE_IN_ALL
|
77
|
+
AtkRelation* atk_relation_new (AtkObject **targets,
|
78
|
+
gint n_targets,
|
79
|
+
AtkRelationType relationship);
|
80
|
+
/*
|
81
|
+
* Returns the type of a relation.
|
82
|
+
*/
|
83
|
+
ATK_AVAILABLE_IN_ALL
|
84
|
+
AtkRelationType atk_relation_get_relation_type (AtkRelation *relation);
|
85
|
+
/*
|
86
|
+
* Returns the target list of a relation.
|
87
|
+
*/
|
88
|
+
ATK_AVAILABLE_IN_ALL
|
89
|
+
GPtrArray* atk_relation_get_target (AtkRelation *relation);
|
90
|
+
ATK_AVAILABLE_IN_ALL
|
91
|
+
void atk_relation_add_target (AtkRelation *relation,
|
92
|
+
AtkObject *target);
|
93
|
+
ATK_AVAILABLE_IN_ALL
|
94
|
+
gboolean atk_relation_remove_target (AtkRelation *relation,
|
95
|
+
AtkObject *target);
|
96
|
+
|
97
|
+
G_END_DECLS
|
98
|
+
|
99
|
+
#endif /* __ATK_RELATION_H__ */
|
@@ -0,0 +1,91 @@
|
|
1
|
+
/* ATK - Accessibility Toolkit
|
2
|
+
* Copyright 2001 Sun Microsystems Inc.
|
3
|
+
*
|
4
|
+
* This library is free software; you can redistribute it and/or
|
5
|
+
* modify it under the terms of the GNU Library General Public
|
6
|
+
* License as published by the Free Software Foundation; either
|
7
|
+
* version 2 of the License, or (at your option) any later version.
|
8
|
+
*
|
9
|
+
* This library is distributed in the hope that it will be useful,
|
10
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
12
|
+
* Library General Public License for more details.
|
13
|
+
*
|
14
|
+
* You should have received a copy of the GNU Library General Public
|
15
|
+
* License along with this library; if not, write to the
|
16
|
+
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
17
|
+
* Boston, MA 02111-1307, USA.
|
18
|
+
*/
|
19
|
+
|
20
|
+
#if defined(ATK_DISABLE_SINGLE_INCLUDES) && !defined (__ATK_H_INSIDE__) && !defined (ATK_COMPILATION)
|
21
|
+
#error "Only <atk/atk.h> can be included directly."
|
22
|
+
#endif
|
23
|
+
|
24
|
+
#ifndef __ATK_RELATION_SET_H__
|
25
|
+
#define __ATK_RELATION_SET_H__
|
26
|
+
|
27
|
+
G_BEGIN_DECLS
|
28
|
+
|
29
|
+
#include <glib-object.h>
|
30
|
+
#include <atk/atkobject.h>
|
31
|
+
#include <atk/atkrelation.h>
|
32
|
+
|
33
|
+
#define ATK_TYPE_RELATION_SET (atk_relation_set_get_type ())
|
34
|
+
#define ATK_RELATION_SET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ATK_TYPE_RELATION_SET, AtkRelationSet))
|
35
|
+
#define ATK_RELATION_SET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), ATK_TYPE_RELATION_SET, AtkRelationSetClass))
|
36
|
+
#define ATK_IS_RELATION_SET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ATK_TYPE_RELATION_SET))
|
37
|
+
#define ATK_IS_RELATION_SET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), ATK_TYPE_RELATION_SET))
|
38
|
+
#define ATK_RELATION_SET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), ATK_TYPE_RELATION_SET, AtkRelationSetClass))
|
39
|
+
|
40
|
+
typedef struct _AtkRelationSetClass AtkRelationSetClass;
|
41
|
+
|
42
|
+
|
43
|
+
struct _AtkRelationSet
|
44
|
+
{
|
45
|
+
GObject parent;
|
46
|
+
|
47
|
+
GPtrArray *relations;
|
48
|
+
};
|
49
|
+
|
50
|
+
struct _AtkRelationSetClass
|
51
|
+
{
|
52
|
+
GObjectClass parent;
|
53
|
+
|
54
|
+
AtkFunction pad1;
|
55
|
+
AtkFunction pad2;
|
56
|
+
};
|
57
|
+
|
58
|
+
ATK_AVAILABLE_IN_ALL
|
59
|
+
GType atk_relation_set_get_type (void);
|
60
|
+
|
61
|
+
ATK_AVAILABLE_IN_ALL
|
62
|
+
AtkRelationSet* atk_relation_set_new (void);
|
63
|
+
ATK_AVAILABLE_IN_ALL
|
64
|
+
gboolean atk_relation_set_contains (AtkRelationSet *set,
|
65
|
+
AtkRelationType relationship);
|
66
|
+
ATK_AVAILABLE_IN_ALL
|
67
|
+
gboolean atk_relation_set_contains_target (AtkRelationSet *set,
|
68
|
+
AtkRelationType relationship,
|
69
|
+
AtkObject *target);
|
70
|
+
ATK_AVAILABLE_IN_ALL
|
71
|
+
void atk_relation_set_remove (AtkRelationSet *set,
|
72
|
+
AtkRelation *relation);
|
73
|
+
ATK_AVAILABLE_IN_ALL
|
74
|
+
void atk_relation_set_add (AtkRelationSet *set,
|
75
|
+
AtkRelation *relation);
|
76
|
+
ATK_AVAILABLE_IN_ALL
|
77
|
+
gint atk_relation_set_get_n_relations (AtkRelationSet *set);
|
78
|
+
ATK_AVAILABLE_IN_ALL
|
79
|
+
AtkRelation* atk_relation_set_get_relation (AtkRelationSet *set,
|
80
|
+
gint i);
|
81
|
+
ATK_AVAILABLE_IN_ALL
|
82
|
+
AtkRelation* atk_relation_set_get_relation_by_type (AtkRelationSet *set,
|
83
|
+
AtkRelationType relationship);
|
84
|
+
ATK_AVAILABLE_IN_ALL
|
85
|
+
void atk_relation_set_add_relation_by_type (AtkRelationSet *set,
|
86
|
+
AtkRelationType relationship,
|
87
|
+
AtkObject *target);
|
88
|
+
|
89
|
+
G_END_DECLS
|
90
|
+
|
91
|
+
#endif /* __ATK_RELATION_SET_H__ */
|