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,51 @@
|
|
1
|
+
/* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
|
2
|
+
/*
|
3
|
+
* Copyright (C) 2011 Ruby-GNOME2 Project Team
|
4
|
+
* Copyright (C) 2003,2004 Masao Mutoh
|
5
|
+
*
|
6
|
+
* This library is free software; you can redistribute it and/or
|
7
|
+
* modify it under the terms of the GNU Lesser General Public
|
8
|
+
* License as published by the Free Software Foundation; either
|
9
|
+
* version 2.1 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
|
+
* Lesser General Public License for more details.
|
15
|
+
*
|
16
|
+
* You should have received a copy of the GNU Lesser General Public
|
17
|
+
* License along with this library; if not, write to the Free Software
|
18
|
+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
19
|
+
* MA 02110-1301 USA
|
20
|
+
*/
|
21
|
+
|
22
|
+
#include "rbatkprivate.h"
|
23
|
+
|
24
|
+
#define RG_TARGET_NAMESPACE cState
|
25
|
+
#define _SELF(s) (RVAL2ATKSTATE(s))
|
26
|
+
|
27
|
+
static VALUE
|
28
|
+
rg_s_type_register(G_GNUC_UNUSED VALUE self, VALUE name)
|
29
|
+
{
|
30
|
+
return ATKSTATETYPE2RVAL(atk_state_type_register(RVAL2CSTR(name)));
|
31
|
+
}
|
32
|
+
|
33
|
+
/* We don't need this.
|
34
|
+
G_CONST_RETURN gchar* atk_state_type_get_name
|
35
|
+
(AtkStateType type);
|
36
|
+
*/
|
37
|
+
|
38
|
+
static VALUE
|
39
|
+
rg_s_for_name(G_GNUC_UNUSED VALUE self, VALUE name)
|
40
|
+
{
|
41
|
+
return ATKSTATETYPE2RVAL(atk_state_type_for_name(RVAL2CSTR(name)));
|
42
|
+
}
|
43
|
+
|
44
|
+
void
|
45
|
+
Init_atk_state(VALUE mAtk)
|
46
|
+
{
|
47
|
+
VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(ATK_TYPE_STATE_TYPE, "State", mAtk);
|
48
|
+
RG_DEF_SMETHOD(type_register, 1);
|
49
|
+
RG_DEF_SMETHOD(for_name, 1);
|
50
|
+
G_DEF_CONSTANTS(mAtk, ATK_TYPE_STATE_TYPE, "ATK_");
|
51
|
+
}
|
@@ -0,0 +1,180 @@
|
|
1
|
+
/* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
|
2
|
+
/*
|
3
|
+
* Copyright (C) 2011 Ruby-GNOME2 Project Team
|
4
|
+
* Copyright (C) 2003 Masao Mutoh
|
5
|
+
*
|
6
|
+
* This library is free software; you can redistribute it and/or
|
7
|
+
* modify it under the terms of the GNU Lesser General Public
|
8
|
+
* License as published by the Free Software Foundation; either
|
9
|
+
* version 2.1 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
|
+
* Lesser General Public License for more details.
|
15
|
+
*
|
16
|
+
* You should have received a copy of the GNU Lesser General Public
|
17
|
+
* License along with this library; if not, write to the Free Software
|
18
|
+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
19
|
+
* MA 02110-1301 USA
|
20
|
+
*/
|
21
|
+
|
22
|
+
#include "rbatkprivate.h"
|
23
|
+
|
24
|
+
#define RG_TARGET_NAMESPACE cStateSet
|
25
|
+
#define _SELF(s) (RVAL2ATKSTATESET(s))
|
26
|
+
|
27
|
+
static VALUE
|
28
|
+
rg_initialize(VALUE self)
|
29
|
+
{
|
30
|
+
G_INITIALIZE(self, atk_state_set_new());
|
31
|
+
return Qnil;
|
32
|
+
}
|
33
|
+
|
34
|
+
static VALUE
|
35
|
+
rg_empty_p(VALUE self)
|
36
|
+
{
|
37
|
+
return CBOOL2RVAL(atk_state_set_is_empty(_SELF(self)));
|
38
|
+
}
|
39
|
+
|
40
|
+
static VALUE
|
41
|
+
rg_add_state(VALUE self, VALUE type)
|
42
|
+
{
|
43
|
+
return CBOOL2RVAL(atk_state_set_add_state(_SELF(self),
|
44
|
+
RVAL2ATKSTATETYPE(type)));
|
45
|
+
}
|
46
|
+
|
47
|
+
struct rval2atkstatetype_args {
|
48
|
+
VALUE ary;
|
49
|
+
long n;
|
50
|
+
AtkStateType *result;
|
51
|
+
};
|
52
|
+
|
53
|
+
static VALUE
|
54
|
+
rval2atkstatetype_body(VALUE value)
|
55
|
+
{
|
56
|
+
long i;
|
57
|
+
struct rval2atkstatetype_args *args = (struct rval2atkstatetype_args *)value;
|
58
|
+
|
59
|
+
for (i = 0; i < args->n; i++)
|
60
|
+
args->result[i] = RVAL2ATKSTATETYPE(RARRAY_PTR(args->ary)[i]);
|
61
|
+
|
62
|
+
return Qnil;
|
63
|
+
}
|
64
|
+
|
65
|
+
static G_GNUC_NORETURN VALUE
|
66
|
+
rval2atkstatetype_rescue(VALUE value)
|
67
|
+
{
|
68
|
+
g_free(((struct rval2atkstatetype_args *)value)->result);
|
69
|
+
|
70
|
+
rb_exc_raise(rb_errinfo());
|
71
|
+
}
|
72
|
+
|
73
|
+
static AtkStateType *
|
74
|
+
rval2atkstatetype(VALUE value, long *n)
|
75
|
+
{
|
76
|
+
struct rval2atkstatetype_args args;
|
77
|
+
|
78
|
+
args.ary = rb_ary_to_ary(value);
|
79
|
+
args.n = RARRAY_LEN(args.ary);
|
80
|
+
args.result = g_new(AtkStateType, args.n + 1);
|
81
|
+
|
82
|
+
rb_rescue(rval2atkstatetype_body, (VALUE)&args,
|
83
|
+
rval2atkstatetype_rescue, (VALUE)&args);
|
84
|
+
|
85
|
+
if (n != NULL)
|
86
|
+
*n = args.n;
|
87
|
+
|
88
|
+
return args.result;
|
89
|
+
}
|
90
|
+
|
91
|
+
#define RVAL2ATKSTATETYPES(value, n) rval2atkstatetype(value, n)
|
92
|
+
|
93
|
+
static VALUE
|
94
|
+
rg_add_states(VALUE self, VALUE rbtypes)
|
95
|
+
{
|
96
|
+
AtkStateSet *set = _SELF(self);
|
97
|
+
long n;
|
98
|
+
AtkStateType *types = RVAL2ATKSTATETYPES(rbtypes, &n);
|
99
|
+
|
100
|
+
atk_state_set_add_states(set, types, n);
|
101
|
+
|
102
|
+
g_free(types);
|
103
|
+
|
104
|
+
return self;
|
105
|
+
}
|
106
|
+
|
107
|
+
static VALUE
|
108
|
+
rg_clear_states(VALUE self)
|
109
|
+
{
|
110
|
+
atk_state_set_clear_states(_SELF(self));
|
111
|
+
return self;
|
112
|
+
}
|
113
|
+
|
114
|
+
static VALUE
|
115
|
+
rg_contains_state(VALUE self, VALUE type)
|
116
|
+
{
|
117
|
+
return CBOOL2RVAL(atk_state_set_contains_state(_SELF(self),
|
118
|
+
RVAL2ATKSTATETYPE(type)));
|
119
|
+
}
|
120
|
+
|
121
|
+
static VALUE
|
122
|
+
rg_contains_states(VALUE self, VALUE rbtypes)
|
123
|
+
{
|
124
|
+
AtkStateSet *set = _SELF(self);
|
125
|
+
long n;
|
126
|
+
AtkStateType *types = RVAL2ATKSTATETYPES(rbtypes, &n);
|
127
|
+
gboolean result;
|
128
|
+
|
129
|
+
result = atk_state_set_contains_states(set, types, n);
|
130
|
+
|
131
|
+
g_free(types);
|
132
|
+
|
133
|
+
return CBOOL2RVAL(result);
|
134
|
+
}
|
135
|
+
|
136
|
+
static VALUE
|
137
|
+
rg_remove_state(VALUE self, VALUE type)
|
138
|
+
{
|
139
|
+
return CBOOL2RVAL(atk_state_set_remove_state(_SELF(self),
|
140
|
+
RVAL2ATKSTATETYPE(type)));
|
141
|
+
}
|
142
|
+
|
143
|
+
static VALUE
|
144
|
+
rg_and(VALUE self, VALUE compare_set)
|
145
|
+
{
|
146
|
+
return GOBJ2RVAL(atk_state_set_and_sets(_SELF(self), _SELF(compare_set)));
|
147
|
+
}
|
148
|
+
|
149
|
+
static VALUE
|
150
|
+
rg_or(VALUE self, VALUE compare_set)
|
151
|
+
{
|
152
|
+
return GOBJ2RVAL(atk_state_set_or_sets(_SELF(self), _SELF(compare_set)));
|
153
|
+
}
|
154
|
+
|
155
|
+
static VALUE
|
156
|
+
rg_xor(VALUE self, VALUE compare_set)
|
157
|
+
{
|
158
|
+
return GOBJ2RVAL(atk_state_set_xor_sets(_SELF(self), _SELF(compare_set)));
|
159
|
+
}
|
160
|
+
|
161
|
+
void
|
162
|
+
Init_atk_state_set(VALUE mAtk)
|
163
|
+
{
|
164
|
+
VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(ATK_TYPE_STATE_SET, "StateSet", mAtk);
|
165
|
+
|
166
|
+
RG_DEF_METHOD(initialize, 0);
|
167
|
+
RG_DEF_METHOD_P(empty, 0);
|
168
|
+
RG_DEF_METHOD(add_state, 1);
|
169
|
+
RG_DEF_METHOD(add_states, 1);
|
170
|
+
RG_DEF_METHOD(clear_states, 0);
|
171
|
+
RG_DEF_METHOD(contains_state, 1);
|
172
|
+
RG_DEF_METHOD(contains_states, 1);
|
173
|
+
RG_DEF_METHOD(remove_state, 1);
|
174
|
+
RG_DEF_METHOD(and, 1);
|
175
|
+
RG_DEF_ALIAS("&", "and");
|
176
|
+
RG_DEF_METHOD(or, 1);
|
177
|
+
RG_DEF_ALIAS("|", "or");
|
178
|
+
RG_DEF_METHOD(xor, 1);
|
179
|
+
RG_DEF_ALIAS("^", "xor");
|
180
|
+
}
|
@@ -0,0 +1,57 @@
|
|
1
|
+
/* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
|
2
|
+
/*
|
3
|
+
* Copyright (C) 2011 Ruby-GNOME2 Project Team
|
4
|
+
* Copyright (C) 2003 Masao Mutoh
|
5
|
+
*
|
6
|
+
* This library is free software; you can redistribute it and/or
|
7
|
+
* modify it under the terms of the GNU Lesser General Public
|
8
|
+
* License as published by the Free Software Foundation; either
|
9
|
+
* version 2.1 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
|
+
* Lesser General Public License for more details.
|
15
|
+
*
|
16
|
+
* You should have received a copy of the GNU Lesser General Public
|
17
|
+
* License along with this library; if not, write to the Free Software
|
18
|
+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
19
|
+
* MA 02110-1301 USA
|
20
|
+
*/
|
21
|
+
|
22
|
+
#include "rbatkprivate.h"
|
23
|
+
|
24
|
+
#define RG_TARGET_NAMESPACE mStreamableContent
|
25
|
+
#define _SELF(s) (RVAL2ATKSTREAMABLECONTENT(s))
|
26
|
+
|
27
|
+
static VALUE
|
28
|
+
rg_n_mime_types(VALUE self)
|
29
|
+
{
|
30
|
+
return INT2NUM(atk_streamable_content_get_n_mime_types(_SELF(self)));
|
31
|
+
}
|
32
|
+
|
33
|
+
static VALUE
|
34
|
+
rg_mime_type(VALUE self, VALUE i)
|
35
|
+
{
|
36
|
+
return CSTR2RVAL(atk_streamable_content_get_mime_type(_SELF(self), NUM2INT(i)));
|
37
|
+
}
|
38
|
+
|
39
|
+
static VALUE
|
40
|
+
rg_get_stream(VALUE self, VALUE mime_type)
|
41
|
+
{
|
42
|
+
GIOChannel* io = atk_streamable_content_get_stream(_SELF(self), RVAL2CSTR(mime_type));
|
43
|
+
if (!io)
|
44
|
+
rb_raise(rb_eRuntimeError, "Couldn't get the stream.");
|
45
|
+
|
46
|
+
return GIOCHANNEL2RVAL(io);
|
47
|
+
}
|
48
|
+
|
49
|
+
void
|
50
|
+
Init_atk_streamable_content(VALUE mAtk)
|
51
|
+
{
|
52
|
+
VALUE RG_TARGET_NAMESPACE = G_DEF_INTERFACE(ATK_TYPE_STREAMABLE_CONTENT, "StreamableContent", mAtk);
|
53
|
+
|
54
|
+
RG_DEF_METHOD(n_mime_types, 0);
|
55
|
+
RG_DEF_METHOD(mime_type, 1);
|
56
|
+
RG_DEF_METHOD(get_stream, 1);
|
57
|
+
}
|
@@ -0,0 +1,271 @@
|
|
1
|
+
/* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
|
2
|
+
/*
|
3
|
+
* Copyright (C) 2011 Ruby-GNOME2 Project Team
|
4
|
+
* Copyright (C) 2003,2004 Masao Mutoh
|
5
|
+
*
|
6
|
+
* This library is free software; you can redistribute it and/or
|
7
|
+
* modify it under the terms of the GNU Lesser General Public
|
8
|
+
* License as published by the Free Software Foundation; either
|
9
|
+
* version 2.1 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
|
+
* Lesser General Public License for more details.
|
15
|
+
*
|
16
|
+
* You should have received a copy of the GNU Lesser General Public
|
17
|
+
* License along with this library; if not, write to the Free Software
|
18
|
+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
19
|
+
* MA 02110-1301 USA
|
20
|
+
*/
|
21
|
+
|
22
|
+
#include "rbatkprivate.h"
|
23
|
+
|
24
|
+
#define RG_TARGET_NAMESPACE mTable
|
25
|
+
#define _SELF(s) (RVAL2ATKTABLE(s))
|
26
|
+
|
27
|
+
static VALUE
|
28
|
+
rg_ref_at(VALUE self, VALUE row, VALUE column)
|
29
|
+
{
|
30
|
+
return GOBJ2RVAL(atk_table_ref_at(_SELF(self), NUM2INT(row), NUM2INT(column)));
|
31
|
+
}
|
32
|
+
|
33
|
+
static VALUE
|
34
|
+
rg_get_index_at(VALUE self, VALUE row, VALUE column)
|
35
|
+
{
|
36
|
+
return INT2NUM(atk_table_get_index_at(_SELF(self), NUM2INT(row), NUM2INT(column)));
|
37
|
+
}
|
38
|
+
|
39
|
+
static VALUE
|
40
|
+
rg_get_column_at_index(VALUE self, VALUE index_)
|
41
|
+
{
|
42
|
+
return INT2NUM(atk_table_get_column_at_index(_SELF(self), NUM2INT(index_)));
|
43
|
+
}
|
44
|
+
|
45
|
+
static VALUE
|
46
|
+
rg_get_row_at_index(VALUE self, VALUE index_)
|
47
|
+
{
|
48
|
+
return INT2NUM(atk_table_get_row_at_index(_SELF(self), NUM2INT(index_)));
|
49
|
+
}
|
50
|
+
|
51
|
+
static VALUE
|
52
|
+
rg_n_columns(VALUE self)
|
53
|
+
{
|
54
|
+
return INT2NUM(atk_table_get_n_columns(_SELF(self)));
|
55
|
+
}
|
56
|
+
|
57
|
+
static VALUE
|
58
|
+
rg_n_rows(VALUE self)
|
59
|
+
{
|
60
|
+
return INT2NUM(atk_table_get_n_rows(_SELF(self)));
|
61
|
+
}
|
62
|
+
|
63
|
+
static VALUE
|
64
|
+
rg_get_column_extent_at(VALUE self, VALUE row, VALUE column)
|
65
|
+
{
|
66
|
+
return INT2NUM(atk_table_get_column_extent_at(_SELF(self), NUM2INT(row), NUM2INT(column)));
|
67
|
+
}
|
68
|
+
|
69
|
+
static VALUE
|
70
|
+
rg_get_row_extent_at(VALUE self, VALUE row, VALUE column)
|
71
|
+
{
|
72
|
+
return INT2NUM(atk_table_get_row_extent_at(_SELF(self), NUM2INT(row), NUM2INT(column)));
|
73
|
+
}
|
74
|
+
|
75
|
+
static VALUE
|
76
|
+
rg_caption(VALUE self)
|
77
|
+
{
|
78
|
+
return GOBJ2RVAL(atk_table_get_caption(_SELF(self)));
|
79
|
+
}
|
80
|
+
|
81
|
+
static VALUE
|
82
|
+
rg_get_column_description(VALUE self, VALUE column)
|
83
|
+
{
|
84
|
+
return CSTR2RVAL(atk_table_get_column_description(_SELF(self), NUM2INT(column)));
|
85
|
+
}
|
86
|
+
|
87
|
+
static VALUE
|
88
|
+
rg_get_row_description(VALUE self, VALUE row)
|
89
|
+
{
|
90
|
+
return CSTR2RVAL(atk_table_get_row_description(_SELF(self), NUM2INT(row)));
|
91
|
+
}
|
92
|
+
|
93
|
+
static VALUE
|
94
|
+
rg_get_column_header(VALUE self, VALUE column)
|
95
|
+
{
|
96
|
+
return GOBJ2RVAL(atk_table_get_column_header(_SELF(self), NUM2INT(column)));
|
97
|
+
}
|
98
|
+
|
99
|
+
static VALUE
|
100
|
+
rg_get_row_header(VALUE self, VALUE row)
|
101
|
+
{
|
102
|
+
return GOBJ2RVAL(atk_table_get_row_header(_SELF(self), NUM2INT(row)));
|
103
|
+
}
|
104
|
+
|
105
|
+
static VALUE
|
106
|
+
rg_summary(VALUE self)
|
107
|
+
{
|
108
|
+
return GOBJ2RVAL(atk_table_get_summary(_SELF(self)));
|
109
|
+
}
|
110
|
+
|
111
|
+
static VALUE
|
112
|
+
rg_set_caption(VALUE self, VALUE caption)
|
113
|
+
{
|
114
|
+
atk_table_set_caption(_SELF(self), RVAL2ATKOBJECT(caption));
|
115
|
+
return self;
|
116
|
+
}
|
117
|
+
|
118
|
+
static VALUE
|
119
|
+
rg_set_row_description(VALUE self, VALUE row, VALUE description)
|
120
|
+
{
|
121
|
+
atk_table_set_row_description(_SELF(self), NUM2INT(row), RVAL2CSTR(description));
|
122
|
+
return self;
|
123
|
+
}
|
124
|
+
|
125
|
+
static VALUE
|
126
|
+
rg_set_column_description(VALUE self, VALUE column, VALUE description)
|
127
|
+
{
|
128
|
+
atk_table_set_column_description(_SELF(self), NUM2INT(column), RVAL2CSTR(description));
|
129
|
+
return self;
|
130
|
+
}
|
131
|
+
|
132
|
+
static VALUE
|
133
|
+
rg_set_row_header(VALUE self, VALUE row, VALUE header)
|
134
|
+
{
|
135
|
+
atk_table_set_row_header(_SELF(self), NUM2INT(row), RVAL2ATKOBJECT(header));
|
136
|
+
return self;
|
137
|
+
}
|
138
|
+
|
139
|
+
static VALUE
|
140
|
+
rg_set_column_header(VALUE self, VALUE column, VALUE header)
|
141
|
+
{
|
142
|
+
atk_table_set_column_header(_SELF(self), NUM2INT(column), RVAL2ATKOBJECT(header));
|
143
|
+
return self;
|
144
|
+
}
|
145
|
+
|
146
|
+
static VALUE
|
147
|
+
rg_set_summary(VALUE self, VALUE accessible)
|
148
|
+
{
|
149
|
+
atk_table_set_summary(_SELF(self), RVAL2ATKOBJECT(accessible));
|
150
|
+
return self;
|
151
|
+
}
|
152
|
+
|
153
|
+
static VALUE
|
154
|
+
rg_selected_columns(VALUE self)
|
155
|
+
{
|
156
|
+
gint ret;
|
157
|
+
gint* selected;
|
158
|
+
VALUE result = Qnil;
|
159
|
+
ret = atk_table_get_selected_columns(_SELF(self), &selected);
|
160
|
+
if (ret > 0){
|
161
|
+
gint i;
|
162
|
+
result = rb_ary_new2(ret);
|
163
|
+
for (i = 0; i < ret; i++){
|
164
|
+
rb_ary_push(result, INT2NUM(selected[i]));
|
165
|
+
}
|
166
|
+
}
|
167
|
+
return result;
|
168
|
+
}
|
169
|
+
|
170
|
+
static VALUE
|
171
|
+
rg_selected_rows(VALUE self)
|
172
|
+
{
|
173
|
+
gint ret;
|
174
|
+
gint* selected;
|
175
|
+
VALUE result = Qnil;
|
176
|
+
ret = atk_table_get_selected_rows(_SELF(self), &selected);
|
177
|
+
if (ret > 0){
|
178
|
+
gint i;
|
179
|
+
result = rb_ary_new2(ret);
|
180
|
+
for (i = 0; i < ret; i++){
|
181
|
+
rb_ary_push(result, INT2NUM(selected[i]));
|
182
|
+
}
|
183
|
+
}
|
184
|
+
return result;
|
185
|
+
}
|
186
|
+
|
187
|
+
static VALUE
|
188
|
+
rg_column_selected_p(VALUE self, VALUE column)
|
189
|
+
{
|
190
|
+
return CBOOL2RVAL(atk_table_is_column_selected(_SELF(self), NUM2INT(column)));
|
191
|
+
}
|
192
|
+
|
193
|
+
static VALUE
|
194
|
+
rg_row_selected_p(VALUE self, VALUE row)
|
195
|
+
{
|
196
|
+
return CBOOL2RVAL(atk_table_is_row_selected(_SELF(self), NUM2INT(row)));
|
197
|
+
}
|
198
|
+
|
199
|
+
static VALUE
|
200
|
+
rg_selected_p(VALUE self, VALUE row, VALUE column)
|
201
|
+
{
|
202
|
+
return CBOOL2RVAL(atk_table_is_selected(_SELF(self), NUM2INT(row), NUM2INT(column)));
|
203
|
+
}
|
204
|
+
|
205
|
+
static VALUE
|
206
|
+
rg_add_column_selection(VALUE self, VALUE column)
|
207
|
+
{
|
208
|
+
gboolean ret = atk_table_add_column_selection(_SELF(self), NUM2INT(column));
|
209
|
+
if (! ret) rb_raise(rb_eRuntimeError, "not implement this interface");
|
210
|
+
return self;
|
211
|
+
}
|
212
|
+
|
213
|
+
static VALUE
|
214
|
+
rg_add_row_selection(VALUE self, VALUE row)
|
215
|
+
{
|
216
|
+
gboolean ret = atk_table_add_row_selection(_SELF(self), NUM2INT(row));
|
217
|
+
if (! ret) rb_raise(rb_eRuntimeError, "not implement this interface");
|
218
|
+
return self;
|
219
|
+
}
|
220
|
+
|
221
|
+
static VALUE
|
222
|
+
rg_remove_column_selection(VALUE self, VALUE column)
|
223
|
+
{
|
224
|
+
gboolean ret = atk_table_remove_column_selection(_SELF(self), NUM2INT(column));
|
225
|
+
if (! ret) rb_raise(rb_eRuntimeError, "not implement this interface");
|
226
|
+
return self;
|
227
|
+
}
|
228
|
+
|
229
|
+
static VALUE
|
230
|
+
rg_remove_row_selection(VALUE self, VALUE row)
|
231
|
+
{
|
232
|
+
gboolean ret = atk_table_remove_row_selection(_SELF(self), NUM2INT(row));
|
233
|
+
if (! ret) rb_raise(rb_eRuntimeError, "not implement this interface");
|
234
|
+
return self;
|
235
|
+
}
|
236
|
+
|
237
|
+
void
|
238
|
+
Init_atk_table(VALUE mAtk)
|
239
|
+
{
|
240
|
+
VALUE RG_TARGET_NAMESPACE = G_DEF_INTERFACE(ATK_TYPE_TABLE, "Table", mAtk);
|
241
|
+
|
242
|
+
RG_DEF_METHOD(ref_at, 2);
|
243
|
+
RG_DEF_METHOD(get_index_at, 2);
|
244
|
+
RG_DEF_METHOD(get_column_at_index, 1);
|
245
|
+
RG_DEF_METHOD(get_row_at_index, 1);
|
246
|
+
RG_DEF_METHOD(n_columns, 0);
|
247
|
+
RG_DEF_METHOD(n_rows, 0);
|
248
|
+
RG_DEF_METHOD(get_column_extent_at, 2);
|
249
|
+
RG_DEF_METHOD(get_row_extent_at, 2);
|
250
|
+
RG_DEF_METHOD(caption, 0);
|
251
|
+
RG_DEF_METHOD(get_column_description, 1);
|
252
|
+
RG_DEF_METHOD(get_row_description, 1);
|
253
|
+
RG_DEF_METHOD(get_column_header, 1);
|
254
|
+
RG_DEF_METHOD(get_row_header, 1);
|
255
|
+
RG_DEF_METHOD(summary, 0);
|
256
|
+
RG_DEF_METHOD(set_caption, 1);
|
257
|
+
RG_DEF_METHOD(set_row_description, 2);
|
258
|
+
RG_DEF_METHOD(set_column_description, 2);
|
259
|
+
RG_DEF_METHOD(set_row_header, 2);
|
260
|
+
RG_DEF_METHOD(set_column_header, 2);
|
261
|
+
RG_DEF_METHOD(set_summary, 1);
|
262
|
+
RG_DEF_METHOD(selected_columns, 0);
|
263
|
+
RG_DEF_METHOD(selected_rows, 0);
|
264
|
+
RG_DEF_METHOD_P(column_selected, 1);
|
265
|
+
RG_DEF_METHOD_P(row_selected, 1);
|
266
|
+
RG_DEF_METHOD_P(selected, 2);
|
267
|
+
RG_DEF_METHOD(add_column_selection, 1);
|
268
|
+
RG_DEF_METHOD(add_row_selection, 1);
|
269
|
+
RG_DEF_METHOD(remove_column_selection, 1);
|
270
|
+
RG_DEF_METHOD(remove_row_selection, 1);
|
271
|
+
}
|