Add a FLAT style class

This will be used for frame-less buttons and frames in the future.
This commit is contained in:
Matthias Clasen 2014-06-26 22:00:29 -04:00
parent 3bd2705b7a
commit e6341a0b63
2 changed files with 12 additions and 0 deletions

View File

@ -5977,6 +5977,7 @@ GTK_STYLE_CLASS_ENTRY
GTK_STYLE_CLASS_ERROR
GTK_STYLE_CLASS_EXPANDER
GTK_STYLE_CLASS_FRAME
GTK_STYLE_CLASS_FLAT
GTK_STYLE_CLASS_GRIP
GTK_STYLE_CLASS_HEADER
GTK_STYLE_CLASS_HIGHLIGHT

View File

@ -825,6 +825,17 @@ struct _GtkStyleContextClass
*/
#define GTK_STYLE_CLASS_MESSAGE_DIALOG "message-dialog"
/**
* GTK_STYLE_CLASS_FLAT:
*
* A CSS class that is added when widgets that usually have
* a frame or border (like buttons or entries) should appear
* without it.
*
* Since: 3.14
*/
#define GTK_STYLE_CLASS_FLAT "flat"
/**
* GTK_STYLE_REGION_ROW:
*