summaryrefslogtreecommitdiff
path: root/gtk/gtkstylecontext.h
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2011-03-08 17:08:03 -0500
committerCosimo Cecchi <cosimoc@gnome.org>2011-03-08 20:05:30 -0500
commite772082a2a7310cdef527f18d48c1aca23e93b60 (patch)
treedc7e9a00a67669b92a699513355bfc1a11bcdfe2 /gtk/gtkstylecontext.h
parenta3b2840cae2fa82aa1e7a1851238b798f084df5c (diff)
downloadgtk+-e772082a2a7310cdef527f18d48c1aca23e93b60.tar.gz
stylecontext: add a raised style class
This is useful for raised elements, for example raised buttons on primary toolbars. https://bugzilla.gnome.org/show_bug.cgi?id=644248
Diffstat (limited to 'gtk/gtkstylecontext.h')
-rw-r--r--gtk/gtkstylecontext.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk/gtkstylecontext.h b/gtk/gtkstylecontext.h
index ac0f12f268..805f787fd6 100644
--- a/gtk/gtkstylecontext.h
+++ b/gtk/gtkstylecontext.h
@@ -316,6 +316,14 @@ struct _GtkStyleContextClass
#define GTK_STYLE_CLASS_ACCELERATOR "accelerator"
/**
+ * GTK_STYLE_CLASS_RAISED:
+ *
+ * A CSS class to match a raised control, such as a raised
+ * button on a toolbar.
+ */
+#define GTK_STYLE_CLASS_RAISED "raised"
+
+/**
* GTK_STYLE_CLASS_GRIP:
*
* A widget class defining a resize grip