forked from AuroraMiddleware/gtk
Add a FLAT style class
This will be used for frame-less buttons and frames in the future.
This commit is contained in:
parent
3bd2705b7a
commit
e6341a0b63
@ -5977,6 +5977,7 @@ GTK_STYLE_CLASS_ENTRY
|
|||||||
GTK_STYLE_CLASS_ERROR
|
GTK_STYLE_CLASS_ERROR
|
||||||
GTK_STYLE_CLASS_EXPANDER
|
GTK_STYLE_CLASS_EXPANDER
|
||||||
GTK_STYLE_CLASS_FRAME
|
GTK_STYLE_CLASS_FRAME
|
||||||
|
GTK_STYLE_CLASS_FLAT
|
||||||
GTK_STYLE_CLASS_GRIP
|
GTK_STYLE_CLASS_GRIP
|
||||||
GTK_STYLE_CLASS_HEADER
|
GTK_STYLE_CLASS_HEADER
|
||||||
GTK_STYLE_CLASS_HIGHLIGHT
|
GTK_STYLE_CLASS_HIGHLIGHT
|
||||||
|
@ -825,6 +825,17 @@ struct _GtkStyleContextClass
|
|||||||
*/
|
*/
|
||||||
#define GTK_STYLE_CLASS_MESSAGE_DIALOG "message-dialog"
|
#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:
|
* GTK_STYLE_REGION_ROW:
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user