summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2012-02-03 14:03:28 -0500
committerCosimo Cecchi <cosimoc@gnome.org>2012-02-29 10:25:00 -0500
commit1411020a8b7991748076ae38b6e13a0b31c96e68 (patch)
tree13904c4e0f54c03562864c76a59b216cb9721ed5
parent02d69b15003e4cfcf99a24077d0a7f2b84c2880f (diff)
downloadgtk+-1411020a8b7991748076ae38b6e13a0b31c96e68.tar.gz
stylecontext: add a "scrollbars-junction" style class
It will be used in the following commit. https://bugzilla.gnome.org/show_bug.cgi?id=669335
-rw-r--r--docs/reference/gtk/gtk3-sections.txt1
-rw-r--r--gtk/gtkstylecontext.h10
2 files changed, 11 insertions, 0 deletions
diff --git a/docs/reference/gtk/gtk3-sections.txt b/docs/reference/gtk/gtk3-sections.txt
index cdcad3f662..5126e896e3 100644
--- a/docs/reference/gtk/gtk3-sections.txt
+++ b/docs/reference/gtk/gtk3-sections.txt
@@ -5633,6 +5633,7 @@ GTK_STYLE_CLASS_MENU
GTK_STYLE_CLASS_RADIO
GTK_STYLE_CLASS_RUBBERBAND
GTK_STYLE_CLASS_SCROLLBAR
+GTK_STYLE_CLASS_SCROLLBARS_JUNCTION
GTK_STYLE_CLASS_SLIDER
GTK_STYLE_CLASS_TOOLTIP
GTK_STYLE_CLASS_TROUGH
diff --git a/gtk/gtkstylecontext.h b/gtk/gtkstylecontext.h
index 16a8c05d29..dc528ef8dc 100644
--- a/gtk/gtkstylecontext.h
+++ b/gtk/gtkstylecontext.h
@@ -333,6 +333,16 @@ struct _GtkStyleContextClass
#define GTK_STYLE_CLASS_SCROLLBAR "scrollbar"
/**
+ * GTK_STYLE_CLASS_SCROLLBARS_JUNCTION:
+ *
+ * A CSS class to match the junction area between an horizontal
+ * and vertical scrollbar, when they're both shown.
+ *
+ * This is used in #GtkScrolledWindow.
+ */
+#define GTK_STYLE_CLASS_SCROLLBARS_JUNCTION "scrollbars-junction"
+
+/**
* GTK_STYLE_CLASS_SCALE:
*
* A CSS class to match scale widgets.