Renamed SpiAccessibleEventListener to (just) SpiEventListener.
[platform/core/uifw/at-spi2-atk.git] / cspi / spi-statetypes.h
1 #ifndef _SPI_STATETYPES_H_
2 #define _SPI_STATETYPES_H_
3
4 /*
5  *
6  * Enumerated type for accessible state
7  *
8  */
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 can change the contents of this object */
24   SPI_STATE_EDITABLE,
25   /* Indicates this object allows progressive disclosure of its children */
26   SPI_STATE_EXPANDABLE,
27   /* Indicates this object its expanded */
28   SPI_STATE_EXPANDED,
29   /*
30    * Indicates this object can accept keyboard focus, which means all
31    * events resulting from typing on the keyboard will normally be passed
32    * to it when it has focus
33    */
34   SPI_STATE_FOCUSABLE,
35   /* Indicates this object currently has the keyboard focus */
36   SPI_STATE_FOCUSED,
37   /* Indicates the orientation of thsi object is horizontal */
38   SPI_STATE_HORIZONTAL,
39   /* Indicates this object is minimized and is represented only by an icon */
40   SPI_STATE_ICONIFIED,
41   /*
42    * Indicates something must be done with this object before the user can
43    * interact with an object in a different window.
44    */
45   SPI_STATE_MODAL,
46   /* Indicates this (text) object can contain multiple lines of text */
47   SPI_STATE_MULTI_LINE,
48   /*
49    * Indicates this object allows more than one of its children to be
50    * selected at the same time
51    */
52   SPI_STATE_MULTISELECSPI_TABLE,
53   /* Indicates this object paints every pixel within its rectangular region. */
54   SPI_STATE_OPAQUE,
55   /* Indicates this object is currently pressed */
56   SPI_STATE_PRESSED,
57   /* Indicates the size of this object is not fixed */
58   SPI_STATE_RESIZABLE,
59   /*
60    * Indicates this object is the child of an object that allows its
61    * children to be selected and that this child is one of those children
62    * that can be selected.
63    */
64   SPI_STATE_SELECSPI_TABLE,
65   /*
66    * Indicates this object is the child of an object that allows its
67    * children to be selected and that this child is one of those children
68    * that has been selected.
69    */
70   SPI_STATE_SELECTED,
71   /* Indicates this object is sensitive */
72   SPI_STATE_SENSITIVE,
73   /*
74    * Indicates this object, the object's parent, the object's parent's
75    * parent, and so on, are all visible
76    */
77   SPI_STATE_SHOWING,
78   /* Indicates this (text) object can contain only a single line of text */
79   SPI_STATE_SINGLE_LINE,
80   /* Indicates this object is transient */
81   SPI_STATE_TRANSIENT,
82   /* Indicates the orientation of this object is vertical */
83   SPI_STATE_VERTICAL,
84   /* Indicates this object is visible */
85   SPI_STATE_VISIBLE,
86   SPI_STATE_LAST_DEFINED
87 } AccessibleState;
88
89 #endif