a11y: Add a way to add accessible states to StWidget

https://bugzilla.gnome.org/show_bug.cgi?id=668366
This commit is contained in:
Alejandro Piñeiro
2012-03-10 00:16:56 +01:00
parent 156a642d28
commit 797e201946
2 changed files with 78 additions and 4 deletions

View File

@@ -150,9 +150,13 @@ void st_set_slow_down_factor (gfloat factor);
gfloat st_get_slow_down_factor (void);
/* accessibility methods */
void st_widget_set_accessible_role (StWidget *widget,
AtkRole role);
AtkRole st_widget_get_accessible_role (StWidget *widget);
void st_widget_set_accessible_role (StWidget *widget,
AtkRole role);
AtkRole st_widget_get_accessible_role (StWidget *widget);
void st_widget_add_accessible_state (StWidget *widget,
AtkStateType state);
void st_widget_remove_accessible_state (StWidget *widget,
AtkStateType state);
G_END_DECLS