GtkStyleContext: add some aux. a11y api

This function translates the fg/bg color into atk attributes.
This commit is contained in:
Matthias Clasen
2011-06-24 20:26:42 -04:00
parent 1f2b8a6545
commit 1164ceb4fc
2 changed files with 61 additions and 0 deletions

View File

@ -28,6 +28,7 @@
#include <gtk/gtkstyleprovider.h>
#include <gtk/gtkwidgetpath.h>
#include <gtk/gtkborder.h>
#include <atk/atk.h>
G_BEGIN_DECLS
@ -858,6 +859,11 @@ void gtk_render_icon (GtkStyleContext *context,
gdouble x,
gdouble y);
/* Accessibility support */
AtkAttributeSet *_gtk_style_context_get_attributes (AtkAttributeSet *attributes,
GtkStyleContext *context,
GtkStateFlags flags);
G_END_DECLS
#endif /* __GTK_STYLE_CONTEXT_H__ */