[gtk+/wip/strength-bar: 2/3] stylecontext: add a "success" style class
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/strength-bar: 2/3] stylecontext: add a "success" style class
- Date: Tue, 29 May 2012 21:03:31 +0000 (UTC)
commit 1a27bc8c3b5a7dd847552877adedf3abe7b5f9ab
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue May 29 16:59:34 2012 -0400
stylecontext: add a "success" style class
This will be used by GtkStrengthBar
docs/reference/gtk/gtk3-sections.txt | 1 +
gtk/gtkstylecontext.h | 9 +++++++++
2 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/docs/reference/gtk/gtk3-sections.txt b/docs/reference/gtk/gtk3-sections.txt
index 0a9516d..934af0f 100644
--- a/docs/reference/gtk/gtk3-sections.txt
+++ b/docs/reference/gtk/gtk3-sections.txt
@@ -5679,6 +5679,7 @@ GTK_STYLE_CLASS_RIGHT
GTK_STYLE_CLASS_LINKED
GTK_STYLE_CLASS_ARROW
GTK_STYLE_CLASS_OSD
+GTK_STYLE_CLASS_SUCCESS
GTK_STYLE_REGION_COLUMN
GTK_STYLE_REGION_COLUMN_HEADER
GTK_STYLE_REGION_ROW
diff --git a/gtk/gtkstylecontext.h b/gtk/gtkstylecontext.h
index 4975862..e2873dc 100644
--- a/gtk/gtkstylecontext.h
+++ b/gtk/gtkstylecontext.h
@@ -691,6 +691,15 @@ struct _GtkStyleContextClass
*/
#define GTK_STYLE_CLASS_OSD "osd"
+/**
+ * GTK_STYLE_CLASS_SUCCESS:
+ *
+ * A CSS class used when the rendered element is in a successful state.
+ *
+ * This is used by #GtkStrengthBar.
+ */
+#define GTK_STYLE_CLASS_SUCCESS "success"
+
/* Predefined set of widget regions */
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]