diff options
author | Benjamin Otte <otte@redhat.com> | 2014-05-06 16:06:33 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2014-05-14 04:28:34 +0200 |
commit | 109fcb987bdf3be00220a064f9ead23fb5a568a8 (patch) | |
tree | b942a5aca7ee7dbbd574d88fe9b5fe428116b1a8 /gtk/gtkcssenumvalueprivate.h | |
parent | 55f473f4e6cc6fa35f36e7ab9c4586ea1873df88 (diff) | |
download | gtk+-109fcb987bdf3be00220a064f9ead23fb5a568a8.tar.gz |
css: Add a -gtk-icon-style property
The values can be:
"requested" - the style as requested
"regular" - use a regular full-color icon
"symbolic" - use a symbolic icon
The property defaults to "requested", so no changes should be seen
unless CSS overrides it.
It is also inherited, so that using this CSS
.toolbar { -gtk-icon-style: symbolic; }
is enough to force the whole toolbar to use symbolic icons.
Diffstat (limited to 'gtk/gtkcssenumvalueprivate.h')
-rw-r--r-- | gtk/gtkcssenumvalueprivate.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkcssenumvalueprivate.h b/gtk/gtkcssenumvalueprivate.h index c21df476b7..d0a5d3fd20 100644 --- a/gtk/gtkcssenumvalueprivate.h +++ b/gtk/gtkcssenumvalueprivate.h @@ -68,6 +68,10 @@ GtkCssValue * _gtk_css_image_effect_value_new (GtkCssImageEffect imag GtkCssValue * _gtk_css_image_effect_value_try_parse (GtkCssParser *parser); GtkCssImageEffect _gtk_css_image_effect_value_get (const GtkCssValue *value); +GtkCssValue * _gtk_css_icon_style_value_new (GtkCssIconStyle icon_style); +GtkCssValue * _gtk_css_icon_style_value_try_parse (GtkCssParser *parser); +GtkCssIconStyle _gtk_css_icon_style_value_get (const GtkCssValue *value); + G_END_DECLS #endif /* __GTK_CSS_ENUM_VALUE_PRIVATE_H__ */ |