Commit e6341a0b authored by Matthias Clasen's avatar Matthias Clasen

Add a FLAT style class

This will be used for frame-less buttons and frames in the future.
parent 3bd2705b
......@@ -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
......
......@@ -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:
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment