From: Alejandro PiƱeiro Date: Mon, 18 Nov 2013 15:28:22 +0000 (+0100) Subject: state: add ATK_STATE_CHECKABLE and ATK_STATE_HAS_POPUP X-Git-Tag: ATK_2_11_2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8cf61b9873b2d18960d51da0dff1e94a605a0a9f;p=platform%2Fupstream%2Fatk.git 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 --- 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;