override_symbolic_color


Description:

[ Version ( deprecated = true , deprecated_since = "3.16" , since = "3.0" ) ]
public void override_symbolic_color (string name, RGBA? color)

Warning: override_symbolic_color is deprecated since 3.16.

Sets a symbolic color for a widget.

Note:

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 StyleProvider and a CSS style class.

All other style values are left untouched. See override_color for overriding the foreground or background color.

Parameters:

this

a Widget

name

the name of the symbolic color to modify

color

the color to assign (does not need to be allocated), or null to undo the effect of previous calls to override_symbolic_color