1 <node name="/node" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
3 <tp:title>AT-SPI - Assistive Technology Service Provider Interface </tp:title>
4 <tp:copyright>Copyright 2008 Novell, Inc.</tp:copyright>
5 <tp:copyright>Copyright 2001 Sun Microsystems, Inc.</tp:copyright>
6 <tp:license xmlns="http://www.w3.org/1999/xhtml">
7 <p>This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Library General Public
9 License as published by the Free Software Foundation; either
10 version 2 of the License, or (at your option) any later version.</p>
12 <p>This library is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 Library General Public License for more details.</p>
17 <p>You should have received a copy of the GNU Library General Public
18 License along with this library; if not, write to the
19 Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA.</p>
22 <interface name="org.freedesktop.accessibility.Action">
23 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
24 <p>An interface through which a user-actionable user interface
25 component can be manipulated. Components which react to mouse or
26 keyboard input from the user, (with the exception of pure text entry
27 fields with no other function), should implement this interface.
28 Typical actions include "click", "press", "release" (for instance for
29 buttons), "menu" (for objects which have context menus invokable from
30 mouse or keyboard), "open" for icons representing files folders, and others.</p>
32 <tp:struct name="Action">
33 <tp:member type="s" tp:name="name">
35 a \c string containing the description of the specified action.
38 <tp:member type="s" tp:name="description">
40 the description of the specified action. The description of an actionmay provide information about the result of action invocation, unlike the action name.
43 <tp:member type="s" tp:name="keyBinding">
45 a \c string containing the key binding for the specified action,or an empty string ("") if none exists.
50 <method name="getActions">
52 Retrieves the actions associated with the object.
54 <arg direction="out" name="index" type="a(sss)" tp:type="Action"/>
56 <method name="doAction">
58 Causes the object to perform the specified action.
60 <arg direction="in" name="index" type="i">
62 the 0-based index of the action to perform.
65 <arg direction="out" type="b" tp:type="boolean">
67 a \c boolean indicating success or failure.