]> Pileus Git - ~andy/gtk/commitdiff
stylecontext: add a raised style class
authorCosimo Cecchi <cosimoc@gnome.org>
Tue, 8 Mar 2011 22:08:03 +0000 (17:08 -0500)
committerCosimo Cecchi <cosimoc@gnome.org>
Wed, 9 Mar 2011 01:05:30 +0000 (20:05 -0500)
This is useful for raised elements, for example raised buttons on
primary toolbars.

https://bugzilla.gnome.org/show_bug.cgi?id=644248

gtk/gtkstylecontext.h

index ac0f12f2685f07292a8a95da5cbdf66e41fb6b3e..805f787fd6172a39cfdf552dcf3bc5fffeaba1ee 100644 (file)
@@ -315,6 +315,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:
  *