[atk] state: add ATK_STATE_CHECKABLE and ATK_STATE_HAS_POPUP



commit 8cf61b9873b2d18960d51da0dff1e94a605a0a9f
Author: Alejandro Piñeiro <apinheiro igalia com>
Date:   Mon Nov 18 16:28:22 2013 +0100

    state: add ATK_STATE_CHECKABLE and ATK_STATE_HAS_POPUP
    
    https://bugzilla.gnome.org/show_bug.cgi?id=712576
    https://bugzilla.gnome.org/show_bug.cgi?id=712581

 atk/atkstate.h |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/atk/atkstate.h b/atk/atkstate.h
index 16feb52..66228db 100755
--- a/atk/atkstate.h
+++ b/atk/atkstate.h
@@ -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;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]