Added methods for Component Layer and MDI Z-Order information (see
[platform/core/uifw/at-spi2-atk.git] / cspi / spi-statetypes.h
1 #ifndef _SPI_STATETYPES_H_
2 #define _SPI_STATETYPES_H_
3
4 #include <glib/gmacros.h>
5
6 G_BEGIN_DECLS
7
8 /*
9  *
10  * Enumerated type for accessible state
11  *
12  */
13
14 typedef enum
15 {
16   SPI_STATE_INVALID,
17   /* Indicates a window is currently the active window */
18   SPI_STATE_ACTIVE,
19   /* Indicates that the object is armed */
20   SPI_STATE_ARMED,
21   /* Indicates the current object is busy */
22   SPI_STATE_BUSY,
23   /* Indicates this object is currently checked */
24   SPI_STATE_CHECKED,
25   /* Indicates this object is collapsed */
26   SPI_STATE_COLLAPSED,
27   /* Indicates the user can change the contents of this object */
28   SPI_STATE_EDITABLE,
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_MULTISELECSPI_TABLE,
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_SELECSPI_TABLE,
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 this object is transient */
85   SPI_STATE_TRANSIENT,
86   /* Indicates the orientation of this object is vertical */
87   SPI_STATE_VERTICAL,
88   /* Indicates this object is visible */
89   SPI_STATE_VISIBLE,
90   SPI_STATE_LAST_DEFINED
91 } AccessibleState;
92
93 G_END_DECLS
94
95 #endif