Method
GtkWidgetmodify_fg
deprecated: 3.0
Declaration [src]
void
gtk_widget_modify_fg (
GtkWidget* widget,
GtkStateType state,
const GdkColor* color
)
Description [src]
Sets the foreground color for a widget in a particular state.
All other style values are left untouched. See also gtk_widget_modify_style().
Deprecated since: 3.0
Use gtk_widget_override_color() instead.
Parameters
state-
Type:
GtkStateTypeThe state for which to set the foreground color.
color-
Type:
GdkColorThe color to assign (does not need to be allocated), or
NULLto undo the effect of previous calls to of gtk_widget_modify_fg().The argument can be NULL.The data is owned by the caller of the method.