summaryrefslogtreecommitdiff
path: root/gtk/gtkstylecontext.h
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2011-05-24 21:29:20 -0400
committerBenjamin Otte <otte@redhat.com>2011-06-09 23:17:09 +0200
commit430f6ecbc3ca59aa2dec721045e668c03e2fd849 (patch)
tree54a13e99b25562b57a001e20647cc458c81998cd /gtk/gtkstylecontext.h
parent02e82d69b8a78aee2e1e5bc4126be5dd79d3b614 (diff)
downloadgtk+-430f6ecbc3ca59aa2dec721045e668c03e2fd849.tar.gz
stylecontext: add an "image" style class
For images such as icons in GtkEntry widgets.
Diffstat (limited to 'gtk/gtkstylecontext.h')
-rw-r--r--gtk/gtkstylecontext.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk/gtkstylecontext.h b/gtk/gtkstylecontext.h
index 1a29c5174c..8d8f51153f 100644
--- a/gtk/gtkstylecontext.h
+++ b/gtk/gtkstylecontext.h
@@ -401,6 +401,13 @@ struct _GtkStyleContextClass
#define GTK_STYLE_CLASS_SIDEBAR "sidebar"
/**
+ * GTK_STYLE_CLASS_IMAGE:
+ *
+ * A widget class defining an image, such as the icon in an entry.
+ */
+#define GTK_STYLE_CLASS_IMAGE "image"
+
+/**
* GTK_STYLE_CLASS_HIGHLIGHT:
*
* A CSS class defining a highlighted area, such as headings in