2 * AT-SPI - Assistive Technology Service Provider Interface
3 * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap)
5 * Copyright 2001, 2002 Sun Microsystems Inc.,
6 * Copyright 2001, 2002 Ximian, Inc.
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either
11 * version 2 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Library General Public License for more details.
18 * You should have received a copy of the GNU Library General Public
19 * License along with this library; if not, write to the
20 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21 * Boston, MA 02111-1307, USA.
24 #ifndef _SPI_STATETYPES_H_
25 #define _SPI_STATETYPES_H_
31 /* Enumerated type for accessible state */
36 /* Indicates a window is currently the active window */
38 /* Indicates that the object is armed */
40 /* Indicates the current object is busy */
42 /* Indicates this object is currently checked */
44 /* Indicates this object is collapsed */
46 /* Indicates the user interface object corresponding to this object no longer exists */
48 /* Indicates the user can change the contents of this object */
50 /* Indicates that this object is enabled */
52 /* Indicates this object allows progressive disclosure of its children */
54 /* Indicates this object its expanded */
57 * Indicates this object can accept keyboard focus, which means all
58 * events resulting from typing on the keyboard will normally be passed
59 * to it when it has focus
62 /* Indicates this object currently has the keyboard focus */
64 /* Indicates the orientation of thsi object is horizontal */
66 /* Indicates this object is minimized and is represented only by an icon */
69 * Indicates something must be done with this object before the user can
70 * interact with an object in a different window.
73 /* Indicates this (text) object can contain multiple lines of text */
76 * Indicates this object allows more than one of its children to be
77 * selected at the same time
79 SPI_STATE_MULTISELECTABLE,
80 /* Indicates this object paints every pixel within its rectangular region. */
82 /* Indicates this object is currently pressed */
84 /* Indicates the size of this object is not fixed */
87 * Indicates this object is the child of an object that allows its
88 * children to be selected and that this child is one of those children
89 * that can be selected.
93 * Indicates this object is the child of an object that allows its
94 * children to be selected and that this child is one of those children
95 * that has been selected.
98 /* Indicates this object is sensitive */
101 * Indicates this object, the object's parent, the object's parent's
102 * parent, and so on, are all visible
105 /* Indicates this (text) object can contain only a single line of text */
106 SPI_STATE_SINGLE_LINE,
107 /* Indicates that the index associated with this object has changed since the user accessed the object. */
109 /* Indicates this object is transient */
111 /* Indicates the orientation of this object is vertical */
113 /* Indicates this object is visible */
115 SPI_STATE_LAST_DEFINED