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,83 @@
|
|
1
|
+
/* ATK - Accessibility Toolkit
|
2
|
+
* Copyright 2002 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_TYPE_H__
|
25
|
+
#define __ATK_RELATION_TYPE_H__
|
26
|
+
|
27
|
+
#include <glib.h>
|
28
|
+
|
29
|
+
G_BEGIN_DECLS
|
30
|
+
|
31
|
+
/**
|
32
|
+
*AtkRelationType:
|
33
|
+
*@ATK_RELATION_NULL: Not used, represens "no relationship" or an error condition.
|
34
|
+
*@ATK_RELATION_CONTROLLED_BY: Indicates an object controlled by one or more target objects.
|
35
|
+
*@ATK_RELATION_CONTROLLER_FOR: Indicates an object is an controller for one or more target objects.
|
36
|
+
*@ATK_RELATION_LABEL_FOR: Indicates an object is a label for one or more target objects.
|
37
|
+
*@ATK_RELATION_LABELLED_BY: Indicates an object is labelled by one or more target objects.
|
38
|
+
*@ATK_RELATION_MEMBER_OF: Indicates an object is a member of a group of one or more target objects.
|
39
|
+
*@ATK_RELATION_NODE_CHILD_OF: Indicates an object is a cell in a treetable which is displayed because a cell in the same column is expanded and identifies that cell.
|
40
|
+
*@ATK_RELATION_FLOWS_TO: Indicates that the object has content that flows logically to another
|
41
|
+
* AtkObject in a sequential way, (for instance text-flow).
|
42
|
+
*@ATK_RELATION_FLOWS_FROM: Indicates that the object has content that flows logically from
|
43
|
+
* another AtkObject in a sequential way, (for instance text-flow).
|
44
|
+
*@ATK_RELATION_SUBWINDOW_OF: Indicates a subwindow attached to a component but otherwise has no connection in the UI heirarchy to that component.
|
45
|
+
*@ATK_RELATION_EMBEDS: Indicates that the object visually embeds
|
46
|
+
* another object's content, i.e. this object's content flows around
|
47
|
+
* another's content.
|
48
|
+
*@ATK_RELATION_EMBEDDED_BY: Inverse of %ATK_RELATION_EMBEDS, indicates that
|
49
|
+
* this object's content is visualy embedded in another object.
|
50
|
+
*@ATK_RELATION_POPUP_FOR: Indicates that an object is a popup for another object.
|
51
|
+
*@ATK_RELATION_PARENT_WINDOW_OF: Indicates that an object is a parent window of another object.
|
52
|
+
*@ATK_RELATION_DESCRIBED_BY: Indicates that another object provides descriptive information about this object; more verbose than ATK_RELATION_LABELLED_BY.
|
53
|
+
*@ATK_RELATION_DESCRIPTION_FOR: Indicates that an object provides descriptive information about another object; more verbose than ATK_RELATION_LABEL_FOR.
|
54
|
+
*@ATK_RELATION_NODE_PARENT_OF: Indicates an object is a cell in a treetable and is expanded to display other cells in the same column.
|
55
|
+
*@ATK_RELATION_LAST_DEFINED: Not used, this value indicates the end of the enumeration.
|
56
|
+
*
|
57
|
+
*Describes the type of the relation
|
58
|
+
**/
|
59
|
+
typedef enum
|
60
|
+
{
|
61
|
+
ATK_RELATION_NULL = 0,
|
62
|
+
ATK_RELATION_CONTROLLED_BY,
|
63
|
+
ATK_RELATION_CONTROLLER_FOR,
|
64
|
+
ATK_RELATION_LABEL_FOR,
|
65
|
+
ATK_RELATION_LABELLED_BY,
|
66
|
+
ATK_RELATION_MEMBER_OF,
|
67
|
+
ATK_RELATION_NODE_CHILD_OF,
|
68
|
+
ATK_RELATION_FLOWS_TO,
|
69
|
+
ATK_RELATION_FLOWS_FROM,
|
70
|
+
ATK_RELATION_SUBWINDOW_OF,
|
71
|
+
ATK_RELATION_EMBEDS,
|
72
|
+
ATK_RELATION_EMBEDDED_BY,
|
73
|
+
ATK_RELATION_POPUP_FOR,
|
74
|
+
ATK_RELATION_PARENT_WINDOW_OF,
|
75
|
+
ATK_RELATION_DESCRIBED_BY,
|
76
|
+
ATK_RELATION_DESCRIPTION_FOR,
|
77
|
+
ATK_RELATION_NODE_PARENT_OF,
|
78
|
+
ATK_RELATION_LAST_DEFINED
|
79
|
+
} AtkRelationType;
|
80
|
+
|
81
|
+
G_END_DECLS
|
82
|
+
|
83
|
+
#endif /* __ATK_RELATION_TYPE_H__ */
|
@@ -0,0 +1,100 @@
|
|
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_SELECTION_H__
|
25
|
+
#define __ATK_SELECTION_H__
|
26
|
+
|
27
|
+
#include <atk/atkobject.h>
|
28
|
+
|
29
|
+
G_BEGIN_DECLS
|
30
|
+
|
31
|
+
/*
|
32
|
+
* This AtkSelection interface provides the standard mechanism for an
|
33
|
+
* assistive technology to determine what the current selected children are,
|
34
|
+
* as well as modify the selection set. Any object that has children that
|
35
|
+
* can be selected should support the AtkSelection interface.
|
36
|
+
*/
|
37
|
+
|
38
|
+
#define ATK_TYPE_SELECTION (atk_selection_get_type ())
|
39
|
+
#define ATK_IS_SELECTION(obj) G_TYPE_CHECK_INSTANCE_TYPE ((obj), ATK_TYPE_SELECTION)
|
40
|
+
#define ATK_SELECTION(obj) G_TYPE_CHECK_INSTANCE_CAST ((obj), ATK_TYPE_SELECTION, AtkSelection)
|
41
|
+
#define ATK_SELECTION_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), ATK_TYPE_SELECTION, AtkSelectionIface))
|
42
|
+
|
43
|
+
#ifndef _TYPEDEF_ATK_SELECTION_
|
44
|
+
#define _TYPEDEF_ATK_SELECTION_
|
45
|
+
typedef struct _AtkSelection AtkSelection;
|
46
|
+
#endif
|
47
|
+
typedef struct _AtkSelectionIface AtkSelectionIface;
|
48
|
+
|
49
|
+
struct _AtkSelectionIface
|
50
|
+
{
|
51
|
+
GTypeInterface parent;
|
52
|
+
|
53
|
+
gboolean (* add_selection) (AtkSelection *selection,
|
54
|
+
gint i);
|
55
|
+
gboolean (* clear_selection) (AtkSelection *selection);
|
56
|
+
AtkObject* (* ref_selection) (AtkSelection *selection,
|
57
|
+
gint i);
|
58
|
+
gint (* get_selection_count) (AtkSelection *selection);
|
59
|
+
gboolean (* is_child_selected) (AtkSelection *selection,
|
60
|
+
gint i);
|
61
|
+
gboolean (* remove_selection) (AtkSelection *selection,
|
62
|
+
gint i);
|
63
|
+
gboolean (* select_all_selection) (AtkSelection *selection);
|
64
|
+
|
65
|
+
/* signal handlers */
|
66
|
+
|
67
|
+
void (*selection_changed) (AtkSelection *selection);
|
68
|
+
};
|
69
|
+
|
70
|
+
ATK_AVAILABLE_IN_ALL
|
71
|
+
GType atk_selection_get_type (void);
|
72
|
+
|
73
|
+
ATK_AVAILABLE_IN_ALL
|
74
|
+
gboolean atk_selection_add_selection (AtkSelection *selection,
|
75
|
+
gint i);
|
76
|
+
|
77
|
+
ATK_AVAILABLE_IN_ALL
|
78
|
+
gboolean atk_selection_clear_selection (AtkSelection *selection);
|
79
|
+
|
80
|
+
ATK_AVAILABLE_IN_ALL
|
81
|
+
AtkObject* atk_selection_ref_selection (AtkSelection *selection,
|
82
|
+
gint i);
|
83
|
+
|
84
|
+
ATK_AVAILABLE_IN_ALL
|
85
|
+
gint atk_selection_get_selection_count (AtkSelection *selection);
|
86
|
+
|
87
|
+
ATK_AVAILABLE_IN_ALL
|
88
|
+
gboolean atk_selection_is_child_selected (AtkSelection *selection,
|
89
|
+
gint i);
|
90
|
+
|
91
|
+
ATK_AVAILABLE_IN_ALL
|
92
|
+
gboolean atk_selection_remove_selection (AtkSelection *selection,
|
93
|
+
gint i);
|
94
|
+
|
95
|
+
ATK_AVAILABLE_IN_ALL
|
96
|
+
gboolean atk_selection_select_all_selection (AtkSelection *selection);
|
97
|
+
|
98
|
+
G_END_DECLS
|
99
|
+
|
100
|
+
#endif /* __ATK_SELECTION_H__ */
|
@@ -0,0 +1,71 @@
|
|
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_SOCKET_H__
|
25
|
+
#define __ATK_SOCKET_H__
|
26
|
+
|
27
|
+
#include <atk/atkversion.h>
|
28
|
+
|
29
|
+
G_BEGIN_DECLS
|
30
|
+
|
31
|
+
#define ATK_TYPE_SOCKET (atk_socket_get_type ())
|
32
|
+
#define ATK_SOCKET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ATK_TYPE_SOCKET, AtkSocket))
|
33
|
+
#define ATK_IS_SOCKET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ATK_TYPE_SOCKET))
|
34
|
+
#define ATK_SOCKET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), ATK_TYPE_SOCKET, AtkSocketClass))
|
35
|
+
#define ATK_IS_SOCKET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), ATK_TYPE_SOCKET))
|
36
|
+
#define ATK_SOCKET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), ATK_TYPE_SOCKET, AtkSocketClass))
|
37
|
+
|
38
|
+
typedef struct _AtkSocket AtkSocket;
|
39
|
+
typedef struct _AtkSocketClass AtkSocketClass;
|
40
|
+
|
41
|
+
struct _AtkSocket
|
42
|
+
{
|
43
|
+
AtkObject parent;
|
44
|
+
|
45
|
+
/*< private >*/
|
46
|
+
gchar* embedded_plug_id;
|
47
|
+
};
|
48
|
+
|
49
|
+
ATK_AVAILABLE_IN_ALL
|
50
|
+
GType atk_socket_get_type (void);
|
51
|
+
|
52
|
+
struct _AtkSocketClass
|
53
|
+
{
|
54
|
+
AtkObjectClass parent_class;
|
55
|
+
|
56
|
+
/* to be subscribed to by atk-bridge */
|
57
|
+
|
58
|
+
/*< protected >*/
|
59
|
+
void (* embed) (AtkSocket *obj, gchar* plug_id);
|
60
|
+
};
|
61
|
+
|
62
|
+
ATK_AVAILABLE_IN_ALL
|
63
|
+
AtkObject* atk_socket_new (void);
|
64
|
+
ATK_AVAILABLE_IN_ALL
|
65
|
+
void atk_socket_embed (AtkSocket* obj, gchar* plug_id);
|
66
|
+
ATK_AVAILABLE_IN_ALL
|
67
|
+
gboolean atk_socket_is_occupied (AtkSocket* obj);
|
68
|
+
|
69
|
+
G_END_DECLS
|
70
|
+
|
71
|
+
#endif /* __ATK_SOCKET_H__ */
|
@@ -0,0 +1,190 @@
|
|
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_STATE_H__
|
25
|
+
#define __ATK_STATE_H__
|
26
|
+
|
27
|
+
#include <glib-object.h>
|
28
|
+
#include <atk/atkversion.h>
|
29
|
+
|
30
|
+
G_BEGIN_DECLS
|
31
|
+
|
32
|
+
/**
|
33
|
+
*AtkStateType:
|
34
|
+
*@ATK_STATE_INVALID: Indicates an invalid state - probably an error condition.
|
35
|
+
*@ATK_STATE_ACTIVE: Indicates a window is currently the active window, or is an active subelement within a container or table
|
36
|
+
*@ATK_STATE_ARMED: Indicates that the object is 'armed', i.e. will be activated by if a pointer button-release event occurs within its bounds. Buttons often enter this state when a pointer click occurs within their bounds, as a precursor to activation.
|
37
|
+
*@ATK_STATE_BUSY: Indicates the current object is busy, i.e. onscreen representation is in the process of changing, or the object is temporarily unavailable for interaction due to activity already in progress. This state may be used by implementors of Document to indicate that content loading is underway. It also may indicate other 'pending' conditions; clients may wish to interrogate this object when the ATK_STATE_BUSY flag is removed.
|
38
|
+
*@ATK_STATE_CHECKED: Indicates this object is currently checked, for instance a checkbox is 'non-empty'.
|
39
|
+
*@ATK_STATE_DEFUNCT: Indicates that this object no longer has a valid backing widget (for instance, if its peer object has been destroyed)
|
40
|
+
*@ATK_STATE_EDITABLE: Indicates the user can change the contents of this object
|
41
|
+
*@ATK_STATE_ENABLED: Indicates that this object is enabled, i.e. that it currently reflects some application state. Objects that are "greyed out" may lack this state, and may lack the STATE_SENSITIVE if direct user interaction cannot cause them to acquire STATE_ENABLED. See also: ATK_STATE_SENSITIVE
|
42
|
+
*@ATK_STATE_EXPANDABLE: Indicates this object allows progressive disclosure of its children
|
43
|
+
*@ATK_STATE_EXPANDED: Indicates this object its expanded - see ATK_STATE_EXPANDABLE above
|
44
|
+
*@ATK_STATE_FOCUSABLE: Indicates this object can accept keyboard focus, which means all events resulting from typing on the keyboard will normally be passed to it when it has focus
|
45
|
+
*@ATK_STATE_FOCUSED: Indicates this object currently has the keyboard focus
|
46
|
+
*@ATK_STATE_HORIZONTAL: Indicates the orientation of this object is horizontal; used, for instance, by objects of ATK_ROLE_SCROLL_BAR. For objects where vertical/horizontal orientation is especially meaningful.
|
47
|
+
*@ATK_STATE_ICONIFIED: Indicates this object is minimized and is represented only by an icon
|
48
|
+
*@ATK_STATE_MODAL: Indicates something must be done with this object before the user can interact with an object in a different window
|
49
|
+
*@ATK_STATE_MULTI_LINE: Indicates this (text) object can contain multiple lines of text
|
50
|
+
*@ATK_STATE_MULTISELECTABLE: Indicates this object allows more than one of its children to be selected at the same time, or in the case of text objects, that the object supports non-contiguous text selections.
|
51
|
+
*@ATK_STATE_OPAQUE: Indicates this object paints every pixel within its rectangular region.
|
52
|
+
*@ATK_STATE_PRESSED: Indicates this object is currently pressed; c.f. ATK_STATE_ARMED
|
53
|
+
*@ATK_STATE_RESIZABLE: Indicates the size of this object is not fixed
|
54
|
+
*@ATK_STATE_SELECTABLE: Indicates this object is the child of an object that allows its children to be selected and that this child is one of those children that can be selected
|
55
|
+
*@ATK_STATE_SELECTED: Indicates this object is the child of an object that allows its children to be selected and that this child is one of those children that has been selected
|
56
|
+
*@ATK_STATE_SENSITIVE: Indicates this object is sensitive, e.g. to user interaction.
|
57
|
+
* STATE_SENSITIVE usually accompanies STATE_ENABLED for user-actionable controls,
|
58
|
+
* but may be found in the absence of STATE_ENABLED if the current visible state of the
|
59
|
+
* control is "disconnected" from the application state. In such cases, direct user interaction
|
60
|
+
* can often result in the object gaining STATE_SENSITIVE, for instance if a user makes
|
61
|
+
* an explicit selection using an object whose current state is ambiguous or undefined.
|
62
|
+
* @see STATE_ENABLED, STATE_INDETERMINATE.
|
63
|
+
*@ATK_STATE_SHOWING: Indicates this object, the object's parent, the object's parent's parent, and so on,
|
64
|
+
* are all 'shown' to the end-user, i.e. subject to "exposure" if blocking or obscuring objects do not interpose
|
65
|
+
* between this object and the top of the window stack.
|
66
|
+
*@ATK_STATE_SINGLE_LINE: Indicates this (text) object can contain only a single line of text
|
67
|
+
*@ATK_STATE_STALE: Indicates that the information returned for this object may no longer be
|
68
|
+
* synchronized with the application state. This is implied if the object has STATE_TRANSIENT,
|
69
|
+
* and can also occur towards the end of the object peer's lifecycle. It can also be used to indicate that
|
70
|
+
* the index associated with this object has changed since the user accessed the object (in lieu of
|
71
|
+
* "index-in-parent-changed" events).
|
72
|
+
*@ATK_STATE_TRANSIENT: Indicates this object is transient, i.e. a snapshot which may not emit events when its
|
73
|
+
* state changes. Data from objects with ATK_STATE_TRANSIENT should not be cached, since there may be no
|
74
|
+
* notification given when the cached data becomes obsolete.
|
75
|
+
*@ATK_STATE_VERTICAL: Indicates the orientation of this object is vertical
|
76
|
+
*@ATK_STATE_VISIBLE: Indicates this object is visible, e.g. has been explicitly marked for exposure to the user.
|
77
|
+
* @note: STATE_VISIBLE is no guarantee that the object is actually unobscured on the screen, only
|
78
|
+
* that it is 'potentially' visible, barring obstruction, being scrolled or clipped out of the
|
79
|
+
* field of view, or having an ancestor container that has not yet made visible.
|
80
|
+
* A widget is potentially onscreen if it has both STATE_VISIBLE and STATE_SHOWING.
|
81
|
+
* The absence of STATE_VISIBLE and STATE_SHOWING is semantically equivalent to saying
|
82
|
+
* that an object is 'hidden'. See also STATE_TRUNCATED, which applies if a VISIBLE and SHOWING object
|
83
|
+
* lies within a viewport which means that its contents are clipped, e.g. a truncated spreadsheet cell or
|
84
|
+
* an image within a scrolling viewport. Mostly useful for screen-review and magnification algorithms.
|
85
|
+
*@ATK_STATE_MANAGES_DESCENDANTS: Indicates that "active-descendant-changed" event
|
86
|
+
* is sent when children become 'active' (i.e. are selected or navigated to onscreen).
|
87
|
+
* Used to prevent need to enumerate all children in very large containers, like tables.
|
88
|
+
* The presence of STATE_MANAGES_DESCENDANTS is an indication to the client.
|
89
|
+
* that the children should not, and need not, be enumerated by the client.
|
90
|
+
* Objects implementing this state are expected to provide relevant state
|
91
|
+
* notifications to listening clients, for instance notifications of visibility
|
92
|
+
* changes and activation of their contained child objects, without the client
|
93
|
+
* having previously requested references to those children.
|
94
|
+
*@ATK_STATE_INDETERMINATE: Indicates that a check box is in a state other than checked or not checked.
|
95
|
+
* This usually means that the boolean value reflected or
|
96
|
+
* controlled by the object does not apply consistently to the entire current context.
|
97
|
+
* For example, a checkbox for the "Bold" attribute of text may have STATE_INDETERMINATE
|
98
|
+
* if the currently selected text contains a mixture of weight attributes.
|
99
|
+
* In many cases interacting with a STATE_INDETERMINATE object will cause
|
100
|
+
* the context's corresponding boolean attribute to be homogenized, whereupon the object
|
101
|
+
* will lose STATE_INDETERMINATE and a corresponding state-changed event will be fired.
|
102
|
+
*@ATK_STATE_TRUNCATED: Indicates that an object is truncated, e.g. a text value in a speradsheet cell.
|
103
|
+
*@ATK_STATE_REQUIRED: Indicates that explicit user interaction with an object is required by the user interface, e.g. a required field in a "web-form" interface.
|
104
|
+
*@ATK_STATE_INVALID_ENTRY: Indicates that the object has encountered an error condition due to failure of input validation. For instance, a form control may acquire this state in response to invalid or malformed user input.
|
105
|
+
*@ATK_STATE_SUPPORTS_AUTOCOMPLETION: Indicates that the object in question implements some form of ¨typeahead¨ or
|
106
|
+
* pre-selection behavior whereby entering the first character of one or more sub-elements
|
107
|
+
* causes those elements to scroll into view or become selected. Subsequent character input
|
108
|
+
* may narrow the selection further as long as one or more sub-elements match the string.
|
109
|
+
* This state is normally only useful and encountered on objects that implement Selection.
|
110
|
+
* In some cases the typeahead behavior may result in full or partial ¨completion¨ of
|
111
|
+
* the data in the input field, in which case these input events may trigger text-changed
|
112
|
+
* events from the AtkText interface. This state supplants @ATK_ROLE_AUTOCOMPLETE.
|
113
|
+
*@ATK_STATE_SELECTABLE_TEXT:Indicates that the object in question supports text selection. It should only be exposed on objects which implement the Text interface, in order to distinguish this state from @ATK_STATE_SELECTABLE, which infers that the object in question is a selectable child of an object which implements Selection. While similar, text selection and subelement selection are distinct operations.
|
114
|
+
*@ATK_STATE_DEFAULT: Indicates that the object is the "default" active component, i.e. the object which is activated by an end-user press of the "Enter" or "Return" key. Typically a "close" or "submit" button.
|
115
|
+
*@ATK_STATE_ANIMATED: Indicates that the object changes its appearance dynamically as an inherent part of its presentation. This state may come and go if an object is only temporarily animated on the way to a 'final' onscreen presentation.
|
116
|
+
* @note some applications, notably content viewers, may not be able to detect
|
117
|
+
* all kinds of animated content. Therefore the absence of this state should not
|
118
|
+
* be taken as definitive evidence that the object's visual representation is
|
119
|
+
* static; this state is advisory.
|
120
|
+
*@ATK_STATE_VISITED: Indicates that the object (typically a hyperlink) has already been 'activated', and/or its backing data has already been downloaded, rendered, or otherwise "visited".
|
121
|
+
*@ATK_STATE_CHECKABLE: Indicates this object has the potential to be
|
122
|
+
* checked, such as a checkbox or toggle-able table cell. @Since:
|
123
|
+
* ATK-2.12
|
124
|
+
*@ATK_STATE_HAS_POPUP: Indicates that the object has a popup context
|
125
|
+
* menu or sub-level menu which may or may not be showing. This means
|
126
|
+
* that activation renders conditional content. Note that ordinary
|
127
|
+
* tooltips are not considered popups in this context. @Since: ATK-2.12
|
128
|
+
*@ATK_STATE_LAST_DEFINED: Not a valid state, used for finding end of enumeration
|
129
|
+
*
|
130
|
+
*The possible types of states of an object
|
131
|
+
**/
|
132
|
+
typedef enum
|
133
|
+
{
|
134
|
+
ATK_STATE_INVALID,
|
135
|
+
ATK_STATE_ACTIVE,
|
136
|
+
ATK_STATE_ARMED,
|
137
|
+
ATK_STATE_BUSY,
|
138
|
+
ATK_STATE_CHECKED,
|
139
|
+
ATK_STATE_DEFUNCT,
|
140
|
+
ATK_STATE_EDITABLE,
|
141
|
+
ATK_STATE_ENABLED,
|
142
|
+
ATK_STATE_EXPANDABLE,
|
143
|
+
ATK_STATE_EXPANDED,
|
144
|
+
ATK_STATE_FOCUSABLE,
|
145
|
+
ATK_STATE_FOCUSED,
|
146
|
+
ATK_STATE_HORIZONTAL,
|
147
|
+
ATK_STATE_ICONIFIED,
|
148
|
+
ATK_STATE_MODAL,
|
149
|
+
ATK_STATE_MULTI_LINE,
|
150
|
+
ATK_STATE_MULTISELECTABLE,
|
151
|
+
ATK_STATE_OPAQUE,
|
152
|
+
ATK_STATE_PRESSED,
|
153
|
+
ATK_STATE_RESIZABLE,
|
154
|
+
ATK_STATE_SELECTABLE,
|
155
|
+
ATK_STATE_SELECTED,
|
156
|
+
ATK_STATE_SENSITIVE,
|
157
|
+
ATK_STATE_SHOWING,
|
158
|
+
ATK_STATE_SINGLE_LINE,
|
159
|
+
ATK_STATE_STALE,
|
160
|
+
ATK_STATE_TRANSIENT,
|
161
|
+
ATK_STATE_VERTICAL,
|
162
|
+
ATK_STATE_VISIBLE,
|
163
|
+
ATK_STATE_MANAGES_DESCENDANTS,
|
164
|
+
ATK_STATE_INDETERMINATE,
|
165
|
+
ATK_STATE_TRUNCATED,
|
166
|
+
ATK_STATE_REQUIRED,
|
167
|
+
ATK_STATE_INVALID_ENTRY,
|
168
|
+
ATK_STATE_SUPPORTS_AUTOCOMPLETION,
|
169
|
+
ATK_STATE_SELECTABLE_TEXT,
|
170
|
+
ATK_STATE_DEFAULT,
|
171
|
+
ATK_STATE_ANIMATED,
|
172
|
+
ATK_STATE_VISITED,
|
173
|
+
ATK_STATE_CHECKABLE,
|
174
|
+
ATK_STATE_HAS_POPUP,
|
175
|
+
ATK_STATE_LAST_DEFINED
|
176
|
+
} AtkStateType;
|
177
|
+
|
178
|
+
typedef guint64 AtkState;
|
179
|
+
|
180
|
+
ATK_AVAILABLE_IN_ALL
|
181
|
+
AtkStateType atk_state_type_register (const gchar *name);
|
182
|
+
|
183
|
+
ATK_AVAILABLE_IN_ALL
|
184
|
+
const gchar* atk_state_type_get_name (AtkStateType type);
|
185
|
+
ATK_AVAILABLE_IN_ALL
|
186
|
+
AtkStateType atk_state_type_for_name (const gchar *name);
|
187
|
+
|
188
|
+
G_END_DECLS
|
189
|
+
|
190
|
+
#endif /* __ATK_STATE_H__ */
|
@@ -0,0 +1,92 @@
|
|
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_STATE_SET_H__
|
25
|
+
#define __ATK_STATE_SET_H__
|
26
|
+
|
27
|
+
#include <glib-object.h>
|
28
|
+
#include <atk/atkobject.h>
|
29
|
+
#include <atk/atkstate.h>
|
30
|
+
|
31
|
+
G_BEGIN_DECLS
|
32
|
+
|
33
|
+
#define ATK_TYPE_STATE_SET (atk_state_set_get_type ())
|
34
|
+
#define ATK_STATE_SET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ATK_TYPE_STATE_SET, AtkStateSet))
|
35
|
+
#define ATK_STATE_SET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), ATK_TYPE_STATE_SET, AtkStateSetClass))
|
36
|
+
#define ATK_IS_STATE_SET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ATK_TYPE_STATE_SET))
|
37
|
+
#define ATK_IS_STATE_SET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), ATK_TYPE_STATE_SET))
|
38
|
+
#define ATK_STATE_SET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), ATK_TYPE_STATE_SET, AtkStateSetClass))
|
39
|
+
|
40
|
+
typedef struct _AtkStateSetClass AtkStateSetClass;
|
41
|
+
|
42
|
+
|
43
|
+
struct _AtkStateSet
|
44
|
+
{
|
45
|
+
GObject parent;
|
46
|
+
|
47
|
+
};
|
48
|
+
|
49
|
+
struct _AtkStateSetClass
|
50
|
+
{
|
51
|
+
GObjectClass parent;
|
52
|
+
};
|
53
|
+
|
54
|
+
ATK_AVAILABLE_IN_ALL
|
55
|
+
GType atk_state_set_get_type (void);
|
56
|
+
|
57
|
+
ATK_AVAILABLE_IN_ALL
|
58
|
+
AtkStateSet* atk_state_set_new (void);
|
59
|
+
ATK_AVAILABLE_IN_ALL
|
60
|
+
gboolean atk_state_set_is_empty (AtkStateSet *set);
|
61
|
+
ATK_AVAILABLE_IN_ALL
|
62
|
+
gboolean atk_state_set_add_state (AtkStateSet *set,
|
63
|
+
AtkStateType type);
|
64
|
+
ATK_AVAILABLE_IN_ALL
|
65
|
+
void atk_state_set_add_states (AtkStateSet *set,
|
66
|
+
AtkStateType *types,
|
67
|
+
gint n_types);
|
68
|
+
ATK_AVAILABLE_IN_ALL
|
69
|
+
void atk_state_set_clear_states (AtkStateSet *set);
|
70
|
+
ATK_AVAILABLE_IN_ALL
|
71
|
+
gboolean atk_state_set_contains_state (AtkStateSet *set,
|
72
|
+
AtkStateType type);
|
73
|
+
ATK_AVAILABLE_IN_ALL
|
74
|
+
gboolean atk_state_set_contains_states (AtkStateSet *set,
|
75
|
+
AtkStateType *types,
|
76
|
+
gint n_types);
|
77
|
+
ATK_AVAILABLE_IN_ALL
|
78
|
+
gboolean atk_state_set_remove_state (AtkStateSet *set,
|
79
|
+
AtkStateType type);
|
80
|
+
ATK_AVAILABLE_IN_ALL
|
81
|
+
AtkStateSet* atk_state_set_and_sets (AtkStateSet *set,
|
82
|
+
AtkStateSet *compare_set);
|
83
|
+
ATK_AVAILABLE_IN_ALL
|
84
|
+
AtkStateSet* atk_state_set_or_sets (AtkStateSet *set,
|
85
|
+
AtkStateSet *compare_set);
|
86
|
+
ATK_AVAILABLE_IN_ALL
|
87
|
+
AtkStateSet* atk_state_set_xor_sets (AtkStateSet *set,
|
88
|
+
AtkStateSet *compare_set);
|
89
|
+
|
90
|
+
G_END_DECLS
|
91
|
+
|
92
|
+
#endif /* __ATK_STATE_SET_H__ */
|