summaryrefslogtreecommitdiff
path: root/gtk/gtkstylecontext.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-06-26 22:00:29 -0400
committerMatthias Clasen <mclasen@redhat.com>2014-06-26 22:02:08 -0400
commite6341a0b630635438982b9abe9c02d48041a1bc0 (patch)
tree297a886b2614379534fe85d4f91c164c27803cd7 /gtk/gtkstylecontext.h
parent3bd2705b7acad4a5fefc19a34a087b6335b1ec92 (diff)
downloadgtk+-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.h11
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.