[gtk+] stylecontext: Add GTK_STYLE_CLASS_DIM_LABEL
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] stylecontext: Add GTK_STYLE_CLASS_DIM_LABEL
- Date: Fri, 27 Apr 2012 12:59:02 +0000 (UTC)
commit 1d5ba789d5bb2a0a4bec77690f6d874265425d42
Author: Debarshi Ray <debarshir src gnome org>
Date: Fri Apr 20 15:35:44 2012 +0200
stylecontext: Add GTK_STYLE_CLASS_DIM_LABEL
Fixes: https://bugzilla.gnome.org/674468
gtk/gtkstylecontext.h | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkstylecontext.h b/gtk/gtkstylecontext.h
index 1a1f73e..4975862 100644
--- a/gtk/gtkstylecontext.h
+++ b/gtk/gtkstylecontext.h
@@ -158,6 +158,16 @@ struct _GtkStyleContextClass
#define GTK_STYLE_CLASS_CELL "cell"
/**
+ * GTK_STYLE_CLASS_DIM_LABEL:
+ *
+ * A CSS class to match dimmed labels.
+ *
+ * This should be used for toning down right aligned labels as
+ * compared to the entry value.
+ */
+#define GTK_STYLE_CLASS_DIM_LABEL "dim-label"
+
+/**
* GTK_STYLE_CLASS_ENTRY:
*
* A CSS class to match text entries.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]