From b73578f95dbaf2a730ff7241e8a03d14ce6a0ff3 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 10 Dec 2014 10:00:21 -0500 Subject: Add a scrollable indication Draw a themable indication when an edge of a scrolled window is hiding some content that can be scrolled in. --- gtk/gtkstylecontext.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'gtk/gtkstylecontext.h') diff --git a/gtk/gtkstylecontext.h b/gtk/gtkstylecontext.h index 75930b873b..2c4835025f 100644 --- a/gtk/gtkstylecontext.h +++ b/gtk/gtkstylecontext.h @@ -905,6 +905,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. -- cgit v1.2.1