state: add ATK_STATE_CHECKABLE and ATK_STATE_HAS_POPUP
authorAlejandro Piñeiro <apinheiro@igalia.com>
Mon, 18 Nov 2013 15:28:22 +0000 (16:28 +0100)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Mon, 18 Nov 2013 15:55:41 +0000 (16:55 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=712576
https://bugzilla.gnome.org/show_bug.cgi?id=712581

atk/atkstate.h

index 16feb52..66228db 100755 (executable)
@@ -117,10 +117,17 @@ G_BEGIN_DECLS
  * be taken as definitive evidence that the object's visual representation is
  * static; this state is advisory.
  *@ATK_STATE_VISITED: Indicates that the object (typically a hyperlink) has already been 'activated', and/or its backing data has already been downloaded, rendered, or otherwise "visited".
+ *@ATK_STATE_CHECKABLE: Indicates this object has the potential to be
+ *  checked, such as a checkbox or toggle-able table cell. @Since:
+ *  ATK-2.12
+ *@ATK_STATE_HAS_POPUP: Indicates that the object has a popup context
+ * menu or sub-level menu which may or may not be showing. This means
+ * that activation renders conditional content.  Note that ordinary
+ * tooltips are not considered popups in this context. @Since: ATK-2.12
  *@ATK_STATE_LAST_DEFINED: Not a valid state, used for finding end of enumeration
  *
  *The possible types of states of an object
- **/ 
+ **/
 typedef enum
 {
   ATK_STATE_INVALID,
@@ -162,7 +169,8 @@ typedef enum
   ATK_STATE_DEFAULT,
   ATK_STATE_ANIMATED,
   ATK_STATE_VISITED,
-       
+  ATK_STATE_CHECKABLE,
+  ATK_STATE_HAS_POPUP,
   ATK_STATE_LAST_DEFINED
 } AtkStateType;