mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 19:30:10 +00:00
styleproperties: add an 'icon-shadow' style property
It's a custom property with the same semantics of text-shadow, which works on icons and icon-like UI elements, such as spinners, arrows and separators.
This commit is contained in:
parent
c935439a72
commit
ef78d5b730
@ -2038,6 +2038,18 @@ gtk_style_property_init (void)
|
||||
NULL,
|
||||
NULL);
|
||||
|
||||
_gtk_style_property_register (g_param_spec_boxed ("icon-shadow",
|
||||
"Icon shadow",
|
||||
"Icon shadow",
|
||||
GTK_TYPE_SHADOW, 0),
|
||||
GTK_STYLE_PROPERTY_INHERIT,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL);
|
||||
|
||||
gtk_style_properties_register_property (NULL,
|
||||
g_param_spec_int ("margin-top",
|
||||
"margin top",
|
||||
|
Loading…
Reference in New Issue
Block a user