Widget.overrideSymbolicColor

Sets a symbolic color for a widget.

All other style values are left untouched. See gtk.widget.Widget.overrideColor for overriding the foreground or background color.

More...
class Widget
void
overrideSymbolicColor

Parameters

name string

the name of the symbolic color to modify

color gdk.rgba.RGBA

the color to assign (does not need to be allocated), or null to undo the effect of previous calls to gtk.widget.Widget.overrideSymbolicColor

Detailed Description

Deprecated: This function is not useful in the context of CSS-based rendering. If you wish to change the color used to render symbolic icons you should use a custom CSS style, through an application-specific #GtkStyleProvider and a CSS style class.