summaryrefslogtreecommitdiff
path: root/gtk/gtkstylecontext.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-06-24 20:26:42 -0400
committerMatthias Clasen <mclasen@redhat.com>2011-07-05 16:08:07 -0400
commit1164ceb4fcff7732aa94a69ab932f235c33a9760 (patch)
tree52cdbc38f6a6a39fdef3648f945351a977b61775 /gtk/gtkstylecontext.h
parent1f2b8a654509ad4a2e92d09b738c9408f38e6768 (diff)
downloadgtk+-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.h6
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__ */