summaryrefslogtreecommitdiff
path: root/gtk/gtkstylecontext.h
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2011-08-09 15:32:21 +0200
committerCosimo Cecchi <cosimoc@gnome.org>2011-08-09 16:08:00 +0200
commit7e22b46c1f5c7cc15e18283932497760705f03a3 (patch)
tree9fbd832f11f95e0ccb55857b739be9f88a9e69c5 /gtk/gtkstylecontext.h
parentd324a99454ebe3fbf556f091e724f02c5fa777b5 (diff)
downloadgtk+-7e22b46c1f5c7cc15e18283932497760705f03a3.tar.gz
combobox: add a "combobox-entry" style class for comboboxes with entries
This way themes can use GtkComboBox.combobox-entry to match that specific case, and GtkComboBox.combobox-entry .button to match the button/arrow side of the widget.
Diffstat (limited to 'gtk/gtkstylecontext.h')
-rw-r--r--gtk/gtkstylecontext.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gtk/gtkstylecontext.h b/gtk/gtkstylecontext.h
index dd1339508c..3e32c683cb 100644
--- a/gtk/gtkstylecontext.h
+++ b/gtk/gtkstylecontext.h
@@ -171,6 +171,15 @@ struct _GtkStyleContextClass
#define GTK_STYLE_CLASS_ENTRY "entry"
/**
+ * GTK_STYLE_CLASS_COMBOBOX_ENTRY:
+ *
+ * A CSS class to match combobox entries.
+ *
+ * This is used by #GtkComboBox.
+ */
+#define GTK_STYLE_CLASS_COMBOBOX_ENTRY "combobox-entry"
+
+/**
* GTK_STYLE_CLASS_BUTTON:
*
* A CSS class to match buttons.