Widget.modifyFg

Warning gtk_widget_modify_fg has been deprecated since version 3.0 and should not be used in newly-written code. Use gtk_widget_override_color() instead Sets the foreground color for a widget in a particular state. All other style values are left untouched. See also gtk_widget_modify_style().

class Widget
void
modifyFg

Parameters

state GtkStateType

the state for which to set the foreground color

color Color

the color to assign (does not need to be allocated), or NULL to undo the effect of previous calls to of gtk_widget_modify_fg(). [allow-none]

Meta