[gtk+] stylecontext: add a raised style class
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] stylecontext: add a raised style class
- Date: Wed, 9 Mar 2011 01:05:49 +0000 (UTC)
commit e772082a2a7310cdef527f18d48c1aca23e93b60
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Mar 8 17:08:03 2011 -0500
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
gtk/gtkstylecontext.h | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkstylecontext.h b/gtk/gtkstylecontext.h
index ac0f12f..805f787 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]