StWidgetAccessible: accessibility support for StWidget

It includes:

 * Expose a proper focusable state, instead of the default one from
   cally, using StWidget::can_focus, and also notifying the state change

 * Management of the selected stated, using the current pseudo_class.

 * Defines a new virtual method on StWidget: get_accessible_type. In
   this way it is not required to reimplement get_accessible just for
   a accessible type change. get_accessible is reimplemented using this.
   You can see that as a substitute of the atk object factory

https://bugzilla.gnome.org/show_bug.cgi?id=636716
This commit is contained in:
Alejandro Piñeiro
2011-01-04 13:14:15 +01:00
parent 13cc58937e
commit 125adb4d32
4 changed files with 284 additions and 0 deletions

View File

@@ -82,6 +82,8 @@ struct _StWidgetClass
gboolean (* navigate_focus) (StWidget *self,
ClutterActor *from,
GtkDirectionType direction);
GType (*get_accessible_type) (void);
};
GType st_widget_get_type (void) G_GNUC_CONST;