summaryrefslogtreecommitdiff
path: root/gtk/gtkstylecontext.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2014-10-03 16:19:34 +0200
committerBenjamin Otte <otte@redhat.com>2014-10-04 17:18:50 +0200
commit82b7d21f6e24c81160e035899e1d95f5e4487ac3 (patch)
treee2ee68b7120b20fceba6bf442a90e9f8e99fb364 /gtk/gtkstylecontext.h
parentf7d7d345dab0b8e28971842fb46eea8f01374ce7 (diff)
downloadgtk+-82b7d21f6e24c81160e035899e1d95f5e4487ac3.tar.gz
print: Add a .paper style class
... and use it in the print preview.
Diffstat (limited to 'gtk/gtkstylecontext.h')
-rw-r--r--gtk/gtkstylecontext.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/gtk/gtkstylecontext.h b/gtk/gtkstylecontext.h
index 6184d84096..b2a4c3e787 100644
--- a/gtk/gtkstylecontext.h
+++ b/gtk/gtkstylecontext.h
@@ -873,6 +873,17 @@ struct _GtkStyleContextClass
*/
#define GTK_STYLE_CLASS_OVERSHOOT "overshoot"
+/*
+ * GTK_STYLE_CLASS_PAPER:
+ * A CSS class that is added to areas that should look like paper.
+ *
+ * This is used in print previews and themes are encouraged to
+ * style it as black text on white background.
+ *
+ * Since: 3.16
+ */
+#define GTK_STYLE_CLASS_PAPER "paper"
+
/**
* GTK_STYLE_REGION_ROW:
*