summaryrefslogtreecommitdiff
path: root/gtk/gtkstylecontext.h
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2010-08-03 20:33:53 +0200
committerCarlos Garnacho <carlosg@gnome.org>2010-12-04 15:37:31 +0100
commit9108739c9b8ed9940eb0fcd259854df3486f29fc (patch)
treee988c1b9d896108b6a874a9e10f34122705ffbd7 /gtk/gtkstylecontext.h
parentd9b42ce50fd36020f29319707351e7fb61240b71 (diff)
downloadgtk+-9108739c9b8ed9940eb0fcd259854df3486f29fc.tar.gz
GtkStyleContext: Add gtk_style_context_[gs]et_junction_sides().
These functions will help widgets specify how does one element being painted relate to other contiguous elements.
Diffstat (limited to 'gtk/gtkstylecontext.h')
-rw-r--r--gtk/gtkstylecontext.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkstylecontext.h b/gtk/gtkstylecontext.h
index 133f357397..73a3e9fe94 100644
--- a/gtk/gtkstylecontext.h
+++ b/gtk/gtkstylecontext.h
@@ -118,6 +118,10 @@ void gtk_style_context_set_direction (GtkStyleContext *context,
GtkTextDirection direction);
GtkTextDirection gtk_style_context_get_direction (GtkStyleContext *context);
+void gtk_style_context_set_junction_sides (GtkStyleContext *context,
+ GtkJunctionSides sides);
+GtkJunctionSides gtk_style_context_get_junction_sides (GtkStyleContext *context);
+
gboolean gtk_style_context_lookup_color (GtkStyleContext *context,
const gchar *color_name,
GdkColor *color);