summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlejandro Piñeiro <apinheiro@igalia.com>2013-11-18 16:28:22 +0100
committerAlejandro Piñeiro <apinheiro@igalia.com>2013-11-18 16:55:41 +0100
commit8cf61b9873b2d18960d51da0dff1e94a605a0a9f (patch)
treebfa1075ddec1b9096bfdfd9b49fca91761643b19
parent864e0d3e34f282bcc64f3076ee3bd2e1788e91ba (diff)
downloadatk-8cf61b9873b2d18960d51da0dff1e94a605a0a9f.tar.gz
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
-rwxr-xr-xatk/atkstate.h12
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;