print: Add a .paper style class

... and use it in the print preview.
This commit is contained in:
Benjamin Otte
2014-10-03 16:19:34 +02:00
parent f7d7d345da
commit 82b7d21f6e
3 changed files with 14 additions and 0 deletions

View File

@ -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:
*