Widget.overrideSymbolicColor

void overrideSymbolicColor(string name, gdk.rgba.RGBA color)

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.

Parameters

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

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.