summaryrefslogtreecommitdiff
path: root/gtk/gtkstylecontext.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2012-01-11 05:17:35 +0100
committerBenjamin Otte <otte@redhat.com>2012-01-11 15:48:54 +0100
commita815f102993a6a6f12179f9a5bd666980855e8be (patch)
tree0914bbb9b051060667e5d57564f70ac37d85b027 /gtk/gtkstylecontext.h
parent6962b49a99eadc7f4266d13f66fca8611802fe09 (diff)
downloadgtk+-a815f102993a6a6f12179f9a5bd666980855e8be.tar.gz
API: Add gtk_style_context_get_section()
This API allows querying the location where style properties were defined. An example implementation will be committed soon.
Diffstat (limited to 'gtk/gtkstylecontext.h')
-rw-r--r--gtk/gtkstylecontext.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkstylecontext.h b/gtk/gtkstylecontext.h
index afdeb7b686..9a76c54468 100644
--- a/gtk/gtkstylecontext.h
+++ b/gtk/gtkstylecontext.h
@@ -25,6 +25,7 @@
#define __GTK_STYLE_CONTEXT_H__
#include <glib-object.h>
+#include <gtk/gtkcsssection.h>
#include <gtk/gtkstyleprovider.h>
#include <gtk/gtkwidgetpath.h>
#include <gtk/gtkborder.h>
@@ -717,6 +718,8 @@ void gtk_style_context_remove_provider (GtkStyleContext *context,
void gtk_style_context_save (GtkStyleContext *context);
void gtk_style_context_restore (GtkStyleContext *context);
+GtkCssSection * gtk_style_context_get_section (GtkStyleContext *context,
+ const gchar *property);
void gtk_style_context_get_property (GtkStyleContext *context,
const gchar *property,
GtkStateFlags state,