diff options
author | Matthias Clasen <mclasen@redhat.com> | 2011-06-24 20:26:42 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2011-07-05 16:08:07 -0400 |
commit | 1164ceb4fcff7732aa94a69ab932f235c33a9760 (patch) | |
tree | 52cdbc38f6a6a39fdef3648f945351a977b61775 /gtk/gtkstylecontext.h | |
parent | 1f2b8a654509ad4a2e92d09b738c9408f38e6768 (diff) | |
download | gtk+-1164ceb4fcff7732aa94a69ab932f235c33a9760.tar.gz |
GtkStyleContext: add some aux. a11y api
This function translates the fg/bg color into atk attributes.
Diffstat (limited to 'gtk/gtkstylecontext.h')
-rw-r--r-- | gtk/gtkstylecontext.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkstylecontext.h b/gtk/gtkstylecontext.h index 661edd0f76..dd1339508c 100644 --- a/gtk/gtkstylecontext.h +++ b/gtk/gtkstylecontext.h @@ -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__ */ |