[gtk+] stylecontext: Add GTK_STYLE_CLASS_OVERSHOOT
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] stylecontext: Add GTK_STYLE_CLASS_OVERSHOOT
- Date: Thu, 10 Jul 2014 03:22:19 +0000 (UTC)
commit 18c113cde1b65b947b57a7a80f4b5bf23787d5bb
Author: Carlos Garnacho <carlosg gnome org>
Date: Mon Jun 30 20:45:32 2014 +0200
stylecontext: Add GTK_STYLE_CLASS_OVERSHOOT
This class is meant to render the hint on scrolledwindow corners
when scrolling past-limits.
https://bugzilla.gnome.org/show_bug.cgi?id=731297
docs/reference/gtk/gtk3-sections.txt | 1 +
gtk/gtkstylecontext.h | 10 ++++++++++
2 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/docs/reference/gtk/gtk3-sections.txt b/docs/reference/gtk/gtk3-sections.txt
index 4386ffe..254fed8 100644
--- a/docs/reference/gtk/gtk3-sections.txt
+++ b/docs/reference/gtk/gtk3-sections.txt
@@ -6001,6 +6001,7 @@ GTK_STYLE_CLASS_MESSAGE_DIALOG
GTK_STYLE_CLASS_NEEDS_ATTENTION
GTK_STYLE_CLASS_NOTEBOOK
GTK_STYLE_CLASS_OSD
+GTK_STYLE_CLASS_OVERSHOOT
GTK_STYLE_CLASS_PANE_SEPARATOR
GTK_STYLE_CLASS_POPUP
GTK_STYLE_CLASS_PRIMARY_TOOLBAR
diff --git a/gtk/gtkstylecontext.h b/gtk/gtkstylecontext.h
index e717473..8bb4993 100644
--- a/gtk/gtkstylecontext.h
+++ b/gtk/gtkstylecontext.h
@@ -863,6 +863,16 @@ struct _GtkStyleContextClass
*/
#define GTK_STYLE_CLASS_READ_ONLY "read-only"
+/*
+ * GTK_STYLE_CLASS_OVERSHOOT:
+ * A CSS class that is added on the visual hints that happen
+ * when scrolling is attempted past the limits of a scrollable
+ * area.
+ *
+ * Since: 3.14
+ */
+#define GTK_STYLE_CLASS_OVERSHOOT "overshoot"
+
/**
* GTK_STYLE_REGION_ROW:
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]