Method

GtkAccessibleupdate_state

Declaration [src]

void
gtk_accessible_update_state (
  GtkAccessible* self,
  GtkAccessibleState first_state,
  ...
)

Description [src]

Updates a list of accessible states.

See the GtkAccessibleState documentation for the value types of accessible states.

This function should be called by GtkWidget types whenever an accessible state change must be communicated to assistive technologies.

Example:

value = GTK_ACCESSIBLE_TRISTATE_MIXED;
gtk_accessible_update_state (GTK_ACCESSIBLE (check_button),
                             GTK_ACCESSIBLE_STATE_CHECKED, value,
                             -1);

This method is not directly available to language bindings.

The implementation of this method is provided by gtk_accessible_update_state_value() in language bindings.

Parameters

first_state

Type: GtkAccessibleState

The first accessible state.

...

Type: 

A list of state and value pairs, terminated by -1.