diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2011-03-08 17:08:03 -0500 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2011-03-08 20:05:30 -0500 |
commit | e772082a2a7310cdef527f18d48c1aca23e93b60 (patch) | |
tree | dc7e9a00a67669b92a699513355bfc1a11bcdfe2 /gtk/gtkstylecontext.h | |
parent | a3b2840cae2fa82aa1e7a1851238b798f084df5c (diff) | |
download | gtk+-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.h | 8 |
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 |