2002-03-27 Michael Meeks <michael@ximian.com>
[platform/core/uifw/at-spi2-atk.git] / cspi / spi-statetypes.h
1 #ifndef _SPI_STATETYPES_H_
2 #define _SPI_STATETYPES_H_
3
4 #ifdef  __cplusplus
5 extern "C" {
6 #endif
7
8 /* Enumerated type for accessible state */
9
10 typedef enum
11 {
12   SPI_STATE_INVALID,
13   /* Indicates a window is currently the active window */
14   SPI_STATE_ACTIVE,
15   /* Indicates that the object is armed */
16   SPI_STATE_ARMED,
17   /* Indicates the current object is busy */
18   SPI_STATE_BUSY,
19   /* Indicates this object is currently checked */
20   SPI_STATE_CHECKED,
21   /* Indicates this object is collapsed */
22   SPI_STATE_COLLAPSED,
23   /* Indicates the user interface object corresponding to this object no longer exists */
24   SPI_STATE_DEFUNCT,
25   /* Indicates the user can change the contents of this object */
26   SPI_STATE_EDITABLE,
27   /* Indicates that this object is enabled */
28   SPI_STATE_ENABLED,
29   /* Indicates this object allows progressive disclosure of its children */
30   SPI_STATE_EXPANDABLE,
31   /* Indicates this object its expanded */
32   SPI_STATE_EXPANDED,
33   /*
34    * Indicates this object can accept keyboard focus, which means all
35    * events resulting from typing on the keyboard will normally be passed
36    * to it when it has focus
37    */
38   SPI_STATE_FOCUSABLE,
39   /* Indicates this object currently has the keyboard focus */
40   SPI_STATE_FOCUSED,
41   /* Indicates the orientation of thsi object is horizontal */
42   SPI_STATE_HORIZONTAL,
43   /* Indicates this object is minimized and is represented only by an icon */
44   SPI_STATE_ICONIFIED,
45   /*
46    * Indicates something must be done with this object before the user can
47    * interact with an object in a different window.
48    */
49   SPI_STATE_MODAL,
50   /* Indicates this (text) object can contain multiple lines of text */
51   SPI_STATE_MULTI_LINE,
52   /*
53    * Indicates this object allows more than one of its children to be
54    * selected at the same time
55    */
56   SPI_STATE_MULTISELECTABLE,
57   /* Indicates this object paints every pixel within its rectangular region. */
58   SPI_STATE_OPAQUE,
59   /* Indicates this object is currently pressed */
60   SPI_STATE_PRESSED,
61   /* Indicates the size of this object is not fixed */
62   SPI_STATE_RESIZABLE,
63   /*
64    * Indicates this object is the child of an object that allows its
65    * children to be selected and that this child is one of those children
66    * that can be selected.
67    */
68   SPI_STATE_SELECTABLE,
69   /*
70    * Indicates this object is the child of an object that allows its
71    * children to be selected and that this child is one of those children
72    * that has been selected.
73    */
74   SPI_STATE_SELECTED,
75   /* Indicates this object is sensitive */
76   SPI_STATE_SENSITIVE,
77   /*
78    * Indicates this object, the object's parent, the object's parent's
79    * parent, and so on, are all visible
80    */
81   SPI_STATE_SHOWING,
82   /* Indicates this (text) object can contain only a single line of text */
83   SPI_STATE_SINGLE_LINE,
84   /* Indicates that the index associated with this object has changed since the user accessed the object. */
85   SPI_STATE_STALE,
86   /* Indicates this object is transient */
87   SPI_STATE_TRANSIENT,
88   /* Indicates the orientation of this object is vertical */
89   SPI_STATE_VERTICAL,
90   /* Indicates this object is visible */
91   SPI_STATE_VISIBLE,
92   SPI_STATE_LAST_DEFINED
93 } AccessibleState;
94
95 #ifdef  __cplusplus
96 }
97 #endif
98
99 #endif