summaryrefslogtreecommitdiff
path: root/atk/atkobject.h
diff options
context:
space:
mode:
authorPadraig O'Briain <padraigo@src.gnome.org>2001-05-03 14:40:34 +0000
committerPadraig O'Briain <padraigo@src.gnome.org>2001-05-03 14:40:34 +0000
commite1d1806d9c6ed3d13f897c664e8f6e97783637d3 (patch)
treeeea6c48c329729a997a47ec3a4a245b26fa91f8e /atk/atkobject.h
parentdd215fb235e3ba39f7dab5eb4e1170180308eba0 (diff)
downloadatk-e1d1806d9c6ed3d13f897c664e8f6e97783637d3.tar.gz
Add new files atkstateset.c and atkstateset.h
Change atk_object_get_state to atk_object_ref_state_set
Diffstat (limited to 'atk/atkobject.h')
-rwxr-xr-xatk/atkobject.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/atk/atkobject.h b/atk/atkobject.h
index d802bf9..b0c6e5f 100755
--- a/atk/atkobject.h
+++ b/atk/atkobject.h
@@ -237,10 +237,12 @@ typedef enum
/* Indicates this object is collapsed */
ATK_STATE_COLLAPSED,
/* Indicates the user can change the contents of this object */
+ ATK_STATE_DEFUNCT,
+ /* Indicates this object may have been removed by the application */
ATK_STATE_EDITABLE,
/* Indicates this object allows progressive disclosure of its children */
ATK_STATE_EXPANDABLE,
- /* Indicates this object its expanded */
+ /* Indicates this object is expandable */
ATK_STATE_EXPANDED,
/*
* Indicates this object can accept keyboard focus, which means all
@@ -325,11 +327,11 @@ typedef struct _AtkImplementorIface AtkImplementorIface;
typedef struct _AtkObject AtkObject;
typedef struct _AtkObjectClass AtkObjectClass;
typedef struct _AtkRelationSet AtkRelationSet;
+typedef struct _AtkStateSet AtkStateSet;
-typedef guint64 AtkStateMask;
typedef guint64 AtkState;
+typedef guint64 AtkStateMask;
-#define ATK_STATE(state_enum) ((AtkStateMask)(1 << ((guint64)(state_enum)%64)))
struct _AtkPropertyValues
{
@@ -410,7 +412,7 @@ struct _AtkObjectClass
/*
* Gets the state set of the object
*/
- AtkState (* get_state) (AtkObject *accessible);
+ AtkStateSet* (* ref_state_set) (AtkObject *accessible);
/*
* Sets the accessible name of the object
*/
@@ -489,7 +491,7 @@ AtkObject* atk_object_ref_accessible_child (AtkObject *ac
gint i);
AtkRelationSet* atk_object_ref_relation_set (AtkObject *accessible);
AtkRole atk_object_get_role (AtkObject *accessible);
-AtkState atk_object_get_state (AtkObject *accessible);
+AtkStateSet* atk_object_ref_state_set (AtkObject *accessible);
gint atk_object_get_index_in_parent (AtkObject *accessible);
void atk_object_set_name (AtkObject *accessible,
const gchar *name);