summaryrefslogtreecommitdiff
path: root/gtk/gtkstylecontext.h
diff options
context:
space:
mode:
authorDebarshi Ray <debarshir@src.gnome.org>2012-04-20 15:35:44 +0200
committerDebarshi Ray <debarshir@src.gnome.org>2012-04-27 14:55:49 +0200
commit1d5ba789d5bb2a0a4bec77690f6d874265425d42 (patch)
tree614c468b45018e6dbd888c994487fd57fbd6321a /gtk/gtkstylecontext.h
parent4e18e5f6879cf3e5a1dded36bef7212684339c5b (diff)
downloadgtk+-1d5ba789d5bb2a0a4bec77690f6d874265425d42.tar.gz
stylecontext: Add GTK_STYLE_CLASS_DIM_LABEL
Fixes: https://bugzilla.gnome.org/674468
Diffstat (limited to 'gtk/gtkstylecontext.h')
-rw-r--r--gtk/gtkstylecontext.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/gtk/gtkstylecontext.h b/gtk/gtkstylecontext.h
index 1a1f73ee19..4975862f79 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.