| Top |  |  |  |  | 
| atspi-statesetatspi-stateset — The atspi-stateset objects implement wrappers around a bitmap of accessible states. | 
| AtspiStateSet * | atspi_state_set_new () | 
| void | atspi_state_set_set_by_name () | 
| void | atspi_state_set_add () | 
| AtspiStateSet * | atspi_state_set_compare () | 
| gboolean | atspi_state_set_contains () | 
| gboolean | atspi_state_set_equals () | 
| GArray * | atspi_state_set_get_states () | 
| gboolean | atspi_state_set_is_empty () | 
| void | atspi_state_set_remove () | 
AtspiStateSet *
atspi_state_set_new (GArray *states);
Generates an AtspiStateSet with the given states
.
void atspi_state_set_set_by_name (AtspiStateSet *set,const gchar *name,gboolean enabled);
Enables/disables a state in an AtspiStateSet according to its name
.
| set | a pointer to the AtspiStateSet object on which to operate. | |
| name | a string corresponding to a state name. | |
| enabled | if TRUE,  | 
void atspi_state_set_add (AtspiStateSet *set,AtspiStateType state);
Adds a particular AtspiState to an AtspiStateSet (i.e. sets the given state to TRUE in the stateset).
| set | a pointer to the AtspiStateSet object on which to operate. | |
| state | an AtspiStateType to be added to the specified AtspiStateSet. | 
AtspiStateSet * atspi_state_set_compare (AtspiStateSet *set,AtspiStateSet *set2);
Determines the differences between two instances of AtspiStateSet.
| set | a pointer to the first AtspiStateSet object on which to operate. | |
| set2 | a pointer to the second AtspiStateSet object on which to operate. | 
an AtspiStateSet object containing all states contained on one of the two sets but not the other.
[transfer full]
gboolean atspi_state_set_contains (AtspiStateSet *set,AtspiStateType state);
Determines whether a given AtspiStateSet includes a given state; that is,
         whether state
 is true for the set
 in question.
| set | a pointer to the AtspiStateSet object on which to operate. | |
| state | an AtspiStateType for which the specified AtspiStateSet will be queried. | 
gboolean atspi_state_set_equals (AtspiStateSet *set,AtspiStateSet *set2);
Determines whether two instances of AtspiStateSet are equivalent (i.e. consist of the same AtspiStates). Useful for checking multiple state variables at once.
| set | a pointer to the first AtspiStateSet object on which to operate. | |
| set2 | a pointer to the second AtspiStateSet object on which to operate. | 
GArray *
atspi_state_set_get_states (AtspiStateSet *set);
Returns the states in an AtspiStateSet as an array.
void atspi_state_set_remove (AtspiStateSet *set,AtspiStateType state);
Removes a particular AtspiState to an AtspiStateSet (i.e. sets the given state to FALSE in the stateset.)
| set | a pointer to the AtspiStateSet object on which to operate. | |
| state | an AtspiStateType to remove from the specified  |