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.
This commit is contained in:
Cosimo Cecchi
2011-08-09 15:32:21 +02:00
parent d324a99454
commit 7e22b46c1f
4 changed files with 15 additions and 0 deletions

View File

@ -170,6 +170,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:
*