summaryrefslogtreecommitdiff
path: root/gtk/gtkstylecontext.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-12-10 10:00:21 -0500
committerMatthias Clasen <mclasen@redhat.com>2014-12-10 10:00:21 -0500
commitb73578f95dbaf2a730ff7241e8a03d14ce6a0ff3 (patch)
tree45b131b6dca2032accbc291395df3c23ffb93f21 /gtk/gtkstylecontext.h
parent45d0a5cc4be85e9e2a62f165feb30ad3da7bb67c (diff)
downloadgtk+-b73578f95dbaf2a730ff7241e8a03d14ce6a0ff3.tar.gz
Add a scrollable indication
Draw a themable indication when an edge of a scrolled window is hiding some content that can be scrolled in.
Diffstat (limited to 'gtk/gtkstylecontext.h')
-rw-r--r--gtk/gtkstylecontext.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/gtk/gtkstylecontext.h b/gtk/gtkstylecontext.h
index 75930b873b..2c4835025f 100644
--- a/gtk/gtkstylecontext.h
+++ b/gtk/gtkstylecontext.h
@@ -906,6 +906,16 @@ struct _GtkStyleContextClass
#define GTK_STYLE_CLASS_OVERSHOOT "overshoot"
/*
+ * GTK_STYLE_CLASS_UNDERSHOOT:
+ * A CSS class that is added on the visual hints that happen
+ * where content is 'scrolled off' and can be made visible
+ * by scrolling.
+ *
+ * Since: 3.16
+ */
+#define GTK_STYLE_CLASS_UNDERSHOOT "undershoot"
+
+/*
* GTK_STYLE_CLASS_PAPER:
* A CSS class that is added to areas that should look like paper.
*