modify_fg


Description:

[ Version ( deprecated = true , deprecated_since = "3.0" , replacement = "override_color" ) ]
public void modify_fg (StateType state, Color? color)

Warning: modify_fg is deprecated since 3.0. Use override_color.

Sets the foreground color for a widget in a particular state.

Note:

Use override_color instead

All other style values are left untouched. See also modify_style.

Parameters:

this

a Widget

state

the state for which to set the foreground color

color

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




2022 vala-language.org