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,357 @@
|
|
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_UTIL_H__
|
25
|
+
#define __ATK_UTIL_H__
|
26
|
+
|
27
|
+
#include <atk/atkobject.h>
|
28
|
+
|
29
|
+
G_BEGIN_DECLS
|
30
|
+
|
31
|
+
#define ATK_TYPE_UTIL (atk_util_get_type ())
|
32
|
+
#define ATK_IS_UTIL(obj) G_TYPE_CHECK_INSTANCE_TYPE ((obj), ATK_TYPE_UTIL)
|
33
|
+
#define ATK_UTIL(obj) G_TYPE_CHECK_INSTANCE_CAST ((obj), ATK_TYPE_UTIL, AtkUtil)
|
34
|
+
#define ATK_UTIL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), ATK_TYPE_UTIL, AtkUtilClass))
|
35
|
+
#define ATK_IS_UTIL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), ATK_TYPE_UTIL))
|
36
|
+
#define ATK_UTIL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), ATK_TYPE_UTIL, AtkUtilClass))
|
37
|
+
|
38
|
+
|
39
|
+
#ifndef _TYPEDEF_ATK_UTIL_
|
40
|
+
#define _TYPEDEF_ATK_UTIL_
|
41
|
+
typedef struct _AtkUtil AtkUtil;
|
42
|
+
typedef struct _AtkUtilClass AtkUtilClass;
|
43
|
+
typedef struct _AtkKeyEventStruct AtkKeyEventStruct;
|
44
|
+
#endif
|
45
|
+
|
46
|
+
/**
|
47
|
+
* AtkEventListener:
|
48
|
+
* @obj: An #AtkObject instance for whom the callback will be called when
|
49
|
+
* the specified event (e.g. 'focus:') takes place.
|
50
|
+
*
|
51
|
+
* A function which is called when an object emits a matching event,
|
52
|
+
* as used in #atk_add_focus_tracker.
|
53
|
+
* Currently the only events for which object-specific handlers are
|
54
|
+
* supported are events of type "focus:". Most clients of ATK will prefer to
|
55
|
+
* attach signal handlers for the various ATK signals instead.
|
56
|
+
*
|
57
|
+
* see atk_add_focus_tracker.
|
58
|
+
**/
|
59
|
+
typedef void (*AtkEventListener) (AtkObject* obj);
|
60
|
+
/**
|
61
|
+
* AtkEventListenerInit:
|
62
|
+
*
|
63
|
+
* An #AtkEventListenerInit function is a special function that is
|
64
|
+
* called in order to initialize the per-object event registration system
|
65
|
+
* used by #AtkEventListener, if any preparation is required.
|
66
|
+
*
|
67
|
+
* see atk_focus_tracker_init.
|
68
|
+
**/
|
69
|
+
typedef void (*AtkEventListenerInit) (void);
|
70
|
+
/**
|
71
|
+
* AtkKeySnoopFunc:
|
72
|
+
* @event: an AtkKeyEventStruct containing information about the key event for which
|
73
|
+
* notification is being given.
|
74
|
+
* @user_data: a block of data which will be passed to the event listener, on notification.
|
75
|
+
*
|
76
|
+
* An #AtkKeySnoopFunc is a type of callback which is called whenever a key event occurs,
|
77
|
+
* if registered via atk_add_key_event_listener. It allows for pre-emptive
|
78
|
+
* interception of key events via the return code as described below.
|
79
|
+
*
|
80
|
+
* Returns: TRUE (nonzero) if the event emission should be stopped and the event
|
81
|
+
* discarded without being passed to the normal GUI recipient; FALSE (zero) if the
|
82
|
+
* event dispatch to the client application should proceed as normal.
|
83
|
+
*
|
84
|
+
* see atk_add_key_event_listener.
|
85
|
+
**/
|
86
|
+
typedef gint (*AtkKeySnoopFunc) (AtkKeyEventStruct *event,
|
87
|
+
gpointer user_data);
|
88
|
+
|
89
|
+
/**
|
90
|
+
* AtkKeyEventStruct:
|
91
|
+
* @type: An AtkKeyEventType, generally one of ATK_KEY_EVENT_PRESS or ATK_KEY_EVENT_RELEASE
|
92
|
+
* @state: A bitmask representing the state of the modifier keys immediately after the event takes place.
|
93
|
+
* The meaning of the bits is currently defined to match the bitmask used by GDK in
|
94
|
+
* GdkEventType.state, see
|
95
|
+
* http://developer.gnome.org/doc/API/2.0/gdk/gdk-Event-Structures.html#GdkEventKey
|
96
|
+
* @keyval: A guint representing a keysym value corresponding to those used by GDK and X11: see
|
97
|
+
* /usr/X11/include/keysymdef.h.
|
98
|
+
* @length: The length of member #string.
|
99
|
+
* @string: A string containing one of the following: either a string approximating the text that would
|
100
|
+
* result from this keypress, if the key is a control or graphic character, or a symbolic name for this keypress.
|
101
|
+
* Alphanumeric and printable keys will have the symbolic key name in this string member, for instance "A". "0",
|
102
|
+
* "semicolon", "aacute". Keypad keys have the prefix "KP".
|
103
|
+
* @keycode: The raw hardware code that generated the key event. This field is raraly useful.
|
104
|
+
* @timestamp: A timestamp in milliseconds indicating when the event occurred.
|
105
|
+
* These timestamps are relative to a starting point which should be considered arbitrary,
|
106
|
+
* and only used to compare the dispatch times of events to one another.
|
107
|
+
*
|
108
|
+
* Encapsulates information about a key event.
|
109
|
+
**/
|
110
|
+
struct _AtkKeyEventStruct {
|
111
|
+
gint type;
|
112
|
+
guint state;
|
113
|
+
guint keyval;
|
114
|
+
gint length;
|
115
|
+
gchar *string;
|
116
|
+
guint16 keycode;
|
117
|
+
guint32 timestamp;
|
118
|
+
};
|
119
|
+
|
120
|
+
/**
|
121
|
+
*AtkKeyEventType:
|
122
|
+
*@ATK_KEY_EVENT_PRESS: specifies a key press event
|
123
|
+
*@ATK_KEY_EVENT_RELEASE: specifies a key release event
|
124
|
+
*@ATK_KEY_EVENT_LAST_DEFINED: Not a valid value; specifies end of enumeration
|
125
|
+
*
|
126
|
+
*Specifies the type of a keyboard evemt.
|
127
|
+
**/
|
128
|
+
typedef enum
|
129
|
+
{
|
130
|
+
ATK_KEY_EVENT_PRESS,
|
131
|
+
ATK_KEY_EVENT_RELEASE,
|
132
|
+
ATK_KEY_EVENT_LAST_DEFINED
|
133
|
+
} AtkKeyEventType;
|
134
|
+
|
135
|
+
struct _AtkUtil
|
136
|
+
{
|
137
|
+
GObject parent;
|
138
|
+
};
|
139
|
+
|
140
|
+
/**
|
141
|
+
* AtkUtilClass:
|
142
|
+
* @add_global_event_listener: adds the specified function to the list
|
143
|
+
* of functions to be called when an ATK event occurs. ATK
|
144
|
+
* implementors are discouraged from reimplementing this method.
|
145
|
+
* @remove_global_event_listener: removes the specified function to
|
146
|
+
* the list of functions to be called when an ATK event occurs. ATK
|
147
|
+
* implementors are discouraged from reimplementing this method.
|
148
|
+
* @add_key_event_listener: adds the specified function to the list of
|
149
|
+
* functions to be called when a key event occurs.
|
150
|
+
* @remove_key_event_listener: remove the specified function to the
|
151
|
+
* list of functions to be called when a key event occurs.
|
152
|
+
* @get_root: gets the root accessible container for the current
|
153
|
+
* application.
|
154
|
+
* @get_toolkit_name: gets name string for the GUI toolkit
|
155
|
+
* implementing ATK for this application.
|
156
|
+
* @get_toolkit_version: gets version string for the GUI toolkit
|
157
|
+
* implementing ATK for this application.
|
158
|
+
*
|
159
|
+
*/
|
160
|
+
struct _AtkUtilClass
|
161
|
+
{
|
162
|
+
GObjectClass parent;
|
163
|
+
guint (* add_global_event_listener) (GSignalEmissionHook listener,
|
164
|
+
const gchar *event_type);
|
165
|
+
void (* remove_global_event_listener) (guint listener_id);
|
166
|
+
guint (* add_key_event_listener) (AtkKeySnoopFunc listener,
|
167
|
+
gpointer data);
|
168
|
+
void (* remove_key_event_listener) (guint listener_id);
|
169
|
+
AtkObject* (* get_root) (void);
|
170
|
+
const gchar* (* get_toolkit_name) (void);
|
171
|
+
const gchar* (* get_toolkit_version) (void);
|
172
|
+
};
|
173
|
+
ATK_AVAILABLE_IN_ALL
|
174
|
+
GType atk_util_get_type (void);
|
175
|
+
|
176
|
+
/**
|
177
|
+
*AtkCoordType:
|
178
|
+
*@ATK_XY_SCREEN: specifies xy coordinates relative to the screen
|
179
|
+
*@ATK_XY_WINDOW: specifies xy coordinates relative to the widget's
|
180
|
+
* top-level window
|
181
|
+
*
|
182
|
+
*Specifies how xy coordinates are to be interpreted. Used by functions such
|
183
|
+
*as atk_component_get_position() and atk_text_get_character_extents()
|
184
|
+
**/
|
185
|
+
typedef enum {
|
186
|
+
ATK_XY_SCREEN,
|
187
|
+
ATK_XY_WINDOW
|
188
|
+
}AtkCoordType;
|
189
|
+
|
190
|
+
ATK_DEPRECATED_IN_2_10
|
191
|
+
guint atk_add_focus_tracker (AtkEventListener focus_tracker);
|
192
|
+
ATK_DEPRECATED_IN_2_10
|
193
|
+
void atk_remove_focus_tracker (guint tracker_id);
|
194
|
+
ATK_DEPRECATED_IN_2_10
|
195
|
+
void atk_focus_tracker_init (AtkEventListenerInit init);
|
196
|
+
ATK_DEPRECATED_IN_2_10
|
197
|
+
void atk_focus_tracker_notify (AtkObject *object);
|
198
|
+
ATK_AVAILABLE_IN_ALL
|
199
|
+
guint atk_add_global_event_listener (GSignalEmissionHook listener,
|
200
|
+
const gchar *event_type);
|
201
|
+
ATK_AVAILABLE_IN_ALL
|
202
|
+
void atk_remove_global_event_listener (guint listener_id);
|
203
|
+
ATK_AVAILABLE_IN_ALL
|
204
|
+
guint atk_add_key_event_listener (AtkKeySnoopFunc listener, gpointer data);
|
205
|
+
ATK_AVAILABLE_IN_ALL
|
206
|
+
void atk_remove_key_event_listener (guint listener_id);
|
207
|
+
|
208
|
+
ATK_AVAILABLE_IN_ALL
|
209
|
+
AtkObject* atk_get_root(void);
|
210
|
+
ATK_AVAILABLE_IN_ALL
|
211
|
+
AtkObject* atk_get_focus_object (void);
|
212
|
+
|
213
|
+
ATK_AVAILABLE_IN_ALL
|
214
|
+
const gchar *atk_get_toolkit_name (void);
|
215
|
+
ATK_AVAILABLE_IN_ALL
|
216
|
+
const gchar *atk_get_toolkit_version (void);
|
217
|
+
ATK_AVAILABLE_IN_ALL
|
218
|
+
const gchar *atk_get_version (void);
|
219
|
+
|
220
|
+
/* --- GType boilerplate --- */
|
221
|
+
/* convenience macros for atk type implementations, which for a type GtkGadgetAccessible will:
|
222
|
+
* - prototype: static void gtk_gadget_accessible_class_init (GtkGadgetClass *klass);
|
223
|
+
* - prototype: static void gtk_gadget_accessible_init (GtkGadget *self);
|
224
|
+
* - define: static gpointer gtk_gadget_accessible_parent_class = NULL;
|
225
|
+
* gtk_gadget_accessible_parent_class is initialized prior to calling gtk_gadget_class_init()
|
226
|
+
* - implement: GType gtk_gadget_accessible_get_type (void) { ... }
|
227
|
+
* - support custom code in gtk_gadget_accessible_get_type() after the type is registered.
|
228
|
+
*
|
229
|
+
* macro arguments: TypeName, type_name, TYPE_PARENT, CODE
|
230
|
+
* example: ATK_DEFINE_TYPE_WITH_CODE (GtkGadgetAccessible, gtk_gadget_accessible, GTK_TYPE_GADGET,
|
231
|
+
* G_IMPLEMENT_INTERFACE (ATK_TYPE_TABLE, gtk_gadget_accessible_table_iface_init))
|
232
|
+
*/
|
233
|
+
|
234
|
+
/**
|
235
|
+
* ATK_DEFINE_TYPE:
|
236
|
+
* @TN: The name of the new type, in Camel case.
|
237
|
+
* @t_n: The name of the new type, in lowercase, with words separated by '_'.
|
238
|
+
* @T_P: The #GType of the parent type.
|
239
|
+
*
|
240
|
+
* A convenience macro for type ATK implementations, which declares a class
|
241
|
+
* initialization function, an instance initialization function (see #GTypeInfo
|
242
|
+
* for information about these) and a static variable named
|
243
|
+
* @t_n _parent_class pointing to the parent class. Furthermore, it
|
244
|
+
* defines a _get_type() function.
|
245
|
+
*
|
246
|
+
* Since: 1.22
|
247
|
+
*/
|
248
|
+
#define ATK_DEFINE_TYPE(TN, t_n, T_P) ATK_DEFINE_TYPE_EXTENDED (TN, t_n, T_P, 0, {})
|
249
|
+
|
250
|
+
/**
|
251
|
+
* ATK_DEFINE_TYPE_WITH_CODE:
|
252
|
+
* @TN: The name of the new type, in Camel case.
|
253
|
+
* @t_n: The name of the new type in lowercase, with words separated by '_'.
|
254
|
+
* @T_P: The #GType of the parent type.
|
255
|
+
* @_C_: Custom code that gets inserted in the _get_type() function.
|
256
|
+
*
|
257
|
+
* A convenience macro for ATK type implementations.
|
258
|
+
* Similar to ATK_DEFINE_TYPE(), but allows you to insert custom code into the
|
259
|
+
* _get_type() function, e.g. interface implementations via G_IMPLEMENT_INTERFACE().
|
260
|
+
*
|
261
|
+
* Since: 1.22
|
262
|
+
*/
|
263
|
+
#define ATK_DEFINE_TYPE_WITH_CODE(TN, t_n, T_P, _C_) _ATK_DEFINE_TYPE_EXTENDED_BEGIN (TN, t_n, T_P, 0) {_C_;} _ATK_DEFINE_TYPE_EXTENDED_END()
|
264
|
+
|
265
|
+
/**
|
266
|
+
* ATK_DEFINE_ABSTRACT_TYPE:
|
267
|
+
* @TN: The name of the new type, in Camel case.
|
268
|
+
* @t_n: The name of the new type, in lowercase, with words separated by '_'.
|
269
|
+
* @T_P: The #GType of the parent type.
|
270
|
+
*
|
271
|
+
* A convenience macro for ATK type implementations.
|
272
|
+
* Similar to ATK_DEFINE_TYPE(), but defines an abstract type.
|
273
|
+
*
|
274
|
+
* Since: 1.22
|
275
|
+
*/
|
276
|
+
#define ATK_DEFINE_ABSTRACT_TYPE(TN, t_n, T_P) ATK_DEFINE_TYPE_EXTENDED (TN, t_n, T_P, G_TYPE_FLAG_ABSTRACT, {})
|
277
|
+
|
278
|
+
/**
|
279
|
+
* ATK_DEFINE_ABSTRACT_TYPE_WITH_CODE:
|
280
|
+
* @TN: The name of the new type, in Camel case.
|
281
|
+
* @t_n: The name of the new type, in lowercase, with words separated by '_'.
|
282
|
+
* @T_P: The #GType of the parent type.
|
283
|
+
* @_C_: Custom code that gets inserted in the _get_type() function.
|
284
|
+
*
|
285
|
+
* A convenience macro for ATK type implementations.
|
286
|
+
* Similar to ATK_DEFINE_TYPE_WITH_CODE(), but defines an abstract type.
|
287
|
+
*
|
288
|
+
* Since: 1.22
|
289
|
+
*/
|
290
|
+
#define ATK_DEFINE_ABSTRACT_TYPE_WITH_CODE(TN, t_n, T_P, _C_) _ATK_DEFINE_TYPE_EXTENDED_BEGIN (TN, t_n, T_P, G_TYPE_FLAG_ABSTRACT) {_C_;} _ATK_DEFINE_TYPE_EXTENDED_END()
|
291
|
+
|
292
|
+
/**
|
293
|
+
* ATK_DEFINE_TYPE_EXTENDED:
|
294
|
+
* @TN: The name of the new type, in Camel case.
|
295
|
+
* @t_n: The name of the new type, in lowercase, with words separated by '_'.
|
296
|
+
* @T_P: The #GType of the parent type.
|
297
|
+
* @_f_: #GTypeFlags to pass to g_type_register_static()
|
298
|
+
* @_C_: Custom code that gets inserted in the _get_type() function.
|
299
|
+
*
|
300
|
+
* The most general convenience macro for ATK type implementations, on which
|
301
|
+
* ATK_DEFINE_TYPE(), etc are based.
|
302
|
+
*
|
303
|
+
* Since: 1.22
|
304
|
+
*/
|
305
|
+
#define ATK_DEFINE_TYPE_EXTENDED(TN, t_n, T_P, _f_, _C_) _ATK_DEFINE_TYPE_EXTENDED_BEGIN (TN, t_n, T_P, _f_) {_C_;} _ATK_DEFINE_TYPE_EXTENDED_END()
|
306
|
+
|
307
|
+
#define _ATK_DEFINE_TYPE_EXTENDED_BEGIN(TypeName, type_name, TYPE, flags) \
|
308
|
+
\
|
309
|
+
static void type_name##_init (TypeName *self); \
|
310
|
+
static void type_name##_class_init (TypeName##Class *klass); \
|
311
|
+
static gpointer type_name##_parent_class = NULL; \
|
312
|
+
static void type_name##_class_intern_init (gpointer klass) \
|
313
|
+
{ \
|
314
|
+
type_name##_parent_class = g_type_class_peek_parent (klass); \
|
315
|
+
type_name##_class_init ((TypeName##Class*) klass); \
|
316
|
+
} \
|
317
|
+
\
|
318
|
+
ATK_AVAILABLE_IN_ALL \
|
319
|
+
GType \
|
320
|
+
type_name##_get_type (void) \
|
321
|
+
{ \
|
322
|
+
static volatile gsize g_define_type_id__volatile = 0; \
|
323
|
+
if (g_once_init_enter (&g_define_type_id__volatile)) \
|
324
|
+
{ \
|
325
|
+
AtkObjectFactory *factory; \
|
326
|
+
GType derived_type; \
|
327
|
+
GTypeQuery query; \
|
328
|
+
GType derived_atk_type; \
|
329
|
+
GType g_define_type_id; \
|
330
|
+
\
|
331
|
+
/* Figure out the size of the class and instance we are deriving from */ \
|
332
|
+
derived_type = g_type_parent (TYPE); \
|
333
|
+
factory = atk_registry_get_factory (atk_get_default_registry (), \
|
334
|
+
derived_type); \
|
335
|
+
derived_atk_type = atk_object_factory_get_accessible_type (factory); \
|
336
|
+
g_type_query (derived_atk_type, &query); \
|
337
|
+
\
|
338
|
+
g_define_type_id = \
|
339
|
+
g_type_register_static_simple (derived_atk_type, \
|
340
|
+
g_intern_static_string (#TypeName), \
|
341
|
+
query.class_size, \
|
342
|
+
(GClassInitFunc) type_name##_class_intern_init, \
|
343
|
+
query.instance_size, \
|
344
|
+
(GInstanceInitFunc) type_name##_init, \
|
345
|
+
(GTypeFlags) flags); \
|
346
|
+
{ /* custom code follows */
|
347
|
+
#define _ATK_DEFINE_TYPE_EXTENDED_END() \
|
348
|
+
/* following custom code */ \
|
349
|
+
} \
|
350
|
+
g_once_init_leave (&g_define_type_id__volatile, g_define_type_id); \
|
351
|
+
} \
|
352
|
+
return g_define_type_id__volatile; \
|
353
|
+
} /* closes type_name##_get_type() */
|
354
|
+
|
355
|
+
G_END_DECLS
|
356
|
+
|
357
|
+
#endif /* __ATK_UTIL_H__ */
|
@@ -0,0 +1,163 @@
|
|
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_VALUE_H__
|
25
|
+
#define __ATK_VALUE_H__
|
26
|
+
|
27
|
+
#include <atk/atkobject.h>
|
28
|
+
#include <atk/atkrange.h>
|
29
|
+
|
30
|
+
G_BEGIN_DECLS
|
31
|
+
|
32
|
+
#define ATK_TYPE_VALUE (atk_value_get_type ())
|
33
|
+
#define ATK_IS_VALUE(obj) G_TYPE_CHECK_INSTANCE_TYPE ((obj), ATK_TYPE_VALUE)
|
34
|
+
#define ATK_VALUE(obj) G_TYPE_CHECK_INSTANCE_CAST ((obj), ATK_TYPE_VALUE, AtkValue)
|
35
|
+
#define ATK_VALUE_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), ATK_TYPE_VALUE, AtkValueIface))
|
36
|
+
|
37
|
+
#ifndef _TYPEDEF_ATK_VALUE_
|
38
|
+
#define _TYPEDEF_ATK_VALUE__
|
39
|
+
typedef struct _AtkValue AtkValue;
|
40
|
+
#endif
|
41
|
+
typedef struct _AtkValueIface AtkValueIface;
|
42
|
+
|
43
|
+
/**
|
44
|
+
* AtkValueType:
|
45
|
+
*
|
46
|
+
* Default types for a given value. Those are defined in order to
|
47
|
+
* easily get localized strings to describe a given value or a given
|
48
|
+
* subrange, using atk_value_type_get_localized_name().
|
49
|
+
*
|
50
|
+
*/
|
51
|
+
typedef enum
|
52
|
+
{
|
53
|
+
ATK_VALUE_VERY_WEAK,
|
54
|
+
ATK_VALUE_WEAK,
|
55
|
+
ATK_VALUE_ACCEPTABLE,
|
56
|
+
ATK_VALUE_STRONG,
|
57
|
+
ATK_VALUE_VERY_STRONG,
|
58
|
+
ATK_VALUE_VERY_LOW,
|
59
|
+
ATK_VALUE_LOW,
|
60
|
+
ATK_VALUE_MEDIUM,
|
61
|
+
ATK_VALUE_HIGH,
|
62
|
+
ATK_VALUE_VERY_HIGH,
|
63
|
+
ATK_VALUE_VERY_BAD,
|
64
|
+
ATK_VALUE_BAD,
|
65
|
+
ATK_VALUE_GOOD,
|
66
|
+
ATK_VALUE_VERY_GOOD,
|
67
|
+
ATK_VALUE_BEST,
|
68
|
+
ATK_VALUE_LAST_DEFINED
|
69
|
+
}AtkValueType;
|
70
|
+
|
71
|
+
/**
|
72
|
+
* AtkValueIface:
|
73
|
+
* @get_current_value: This virtual function is deprecated since 2.12
|
74
|
+
* and it should not be overriden.
|
75
|
+
* @get_maximum_value: This virtual function is deprecated since 2.12
|
76
|
+
* and it should not be overriden.
|
77
|
+
* @get_minimum_value: This virtual function is deprecated since 2.12
|
78
|
+
* and it should not be overriden.
|
79
|
+
* @set_current_value: This virtual function is deprecated since 2.12
|
80
|
+
* and it should not be overriden.
|
81
|
+
* @get_minimum_increment: This virtual function is deprecated since
|
82
|
+
* 2.12 and it should not be overriden.
|
83
|
+
* @get_value_and_text: gets the current value and the human readable
|
84
|
+
* text alternative (if available) of this object. Since 2.12.
|
85
|
+
* @get_range: gets the range that defines the minimum and maximum
|
86
|
+
* value of this object. Returns NULL if there is no range
|
87
|
+
* defined. Since 2.12.
|
88
|
+
* @get_increment: gets the minimum increment by which the value of
|
89
|
+
* this object may be changed. If zero it is undefined. Since 2.12.
|
90
|
+
* @get_sub_ranges: returns a list of different subranges, and their
|
91
|
+
* description (if available) of this object. Returns NULL if there
|
92
|
+
* is not subranges defined. Since 2.12.
|
93
|
+
* @set_value: sets the value of this object. Since 2.12.
|
94
|
+
*/
|
95
|
+
struct _AtkValueIface
|
96
|
+
{
|
97
|
+
GTypeInterface parent;
|
98
|
+
|
99
|
+
/*<deprecated>*/
|
100
|
+
void (* get_current_value) (AtkValue *obj,
|
101
|
+
GValue *value);
|
102
|
+
void (* get_maximum_value) (AtkValue *obj,
|
103
|
+
GValue *value);
|
104
|
+
void (* get_minimum_value) (AtkValue *obj,
|
105
|
+
GValue *value);
|
106
|
+
gboolean (* set_current_value) (AtkValue *obj,
|
107
|
+
const GValue *value);
|
108
|
+
void (* get_minimum_increment) (AtkValue *obj,
|
109
|
+
GValue *value);
|
110
|
+
/*</deprecated>*/
|
111
|
+
void (* get_value_and_text) (AtkValue *obj,
|
112
|
+
gdouble *value,
|
113
|
+
gchar **text);
|
114
|
+
AtkRange*(* get_range) (AtkValue *obj);
|
115
|
+
gdouble (* get_increment) (AtkValue *obj);
|
116
|
+
GSList* (* get_sub_ranges) (AtkValue *obj);
|
117
|
+
void (* set_value) (AtkValue *obj,
|
118
|
+
const gdouble new_value);
|
119
|
+
|
120
|
+
};
|
121
|
+
|
122
|
+
ATK_AVAILABLE_IN_ALL
|
123
|
+
GType atk_value_get_type (void);
|
124
|
+
|
125
|
+
ATK_DEPRECATED_IN_2_12_FOR(atk_value_get_value_and_text)
|
126
|
+
void atk_value_get_current_value (AtkValue *obj,
|
127
|
+
GValue *value);
|
128
|
+
|
129
|
+
ATK_DEPRECATED_IN_2_12_FOR(atk_value_get_range)
|
130
|
+
void atk_value_get_maximum_value (AtkValue *obj,
|
131
|
+
GValue *value);
|
132
|
+
ATK_DEPRECATED_IN_2_12_FOR(atk_value_get_range)
|
133
|
+
void atk_value_get_minimum_value (AtkValue *obj,
|
134
|
+
GValue *value);
|
135
|
+
ATK_DEPRECATED_IN_2_12_FOR(atk_value_set_value)
|
136
|
+
gboolean atk_value_set_current_value (AtkValue *obj,
|
137
|
+
const GValue *value);
|
138
|
+
ATK_DEPRECATED_IN_2_12_FOR(atk_value_get_increment)
|
139
|
+
void atk_value_get_minimum_increment (AtkValue *obj,
|
140
|
+
GValue *value);
|
141
|
+
|
142
|
+
ATK_AVAILABLE_IN_2_12
|
143
|
+
void atk_value_get_value_and_text (AtkValue *obj,
|
144
|
+
gdouble *value,
|
145
|
+
gchar **text);
|
146
|
+
ATK_AVAILABLE_IN_2_12
|
147
|
+
AtkRange* atk_value_get_range (AtkValue *obj);
|
148
|
+
ATK_AVAILABLE_IN_2_12
|
149
|
+
gdouble atk_value_get_increment (AtkValue *obj);
|
150
|
+
ATK_AVAILABLE_IN_2_12
|
151
|
+
GSList* atk_value_get_sub_ranges (AtkValue *obj);
|
152
|
+
ATK_AVAILABLE_IN_2_12
|
153
|
+
void atk_value_set_value (AtkValue *obj,
|
154
|
+
const gdouble new_value);
|
155
|
+
/* AtkValueType methods */
|
156
|
+
ATK_AVAILABLE_IN_ALL
|
157
|
+
const gchar* atk_value_type_get_name (AtkValueType value_type);
|
158
|
+
ATK_AVAILABLE_IN_ALL
|
159
|
+
const gchar* atk_value_type_get_localized_name (AtkValueType value_type);
|
160
|
+
|
161
|
+
G_END_DECLS
|
162
|
+
|
163
|
+
#endif /* __ATK_VALUE_H__ */
|