diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-06-26 22:00:29 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-06-26 22:02:08 -0400 |
commit | e6341a0b630635438982b9abe9c02d48041a1bc0 (patch) | |
tree | 297a886b2614379534fe85d4f91c164c27803cd7 /gtk/gtkstylecontext.h | |
parent | 3bd2705b7acad4a5fefc19a34a087b6335b1ec92 (diff) | |
download | gtk+-e6341a0b630635438982b9abe9c02d48041a1bc0.tar.gz |
Add a FLAT style class
This will be used for frame-less buttons and frames in the future.
Diffstat (limited to 'gtk/gtkstylecontext.h')
-rw-r--r-- | gtk/gtkstylecontext.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gtk/gtkstylecontext.h b/gtk/gtkstylecontext.h index 22182b36d7..d141476e44 100644 --- a/gtk/gtkstylecontext.h +++ b/gtk/gtkstylecontext.h @@ -826,6 +826,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: * * A widget region name to define a treeview row. |