RGtk2 (version 2.20.31)

gtkWidgetModifyFg: gtkWidgetModifyFg

Description

Sets the foreground color for a widget in a particular state. All other style values are left untouched. See also gtkWidgetModifyStyle.

Usage

gtkWidgetModifyFg(object, state, color = NULL)

Arguments

object
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 gtkWidgetModifyFg. [ allow-none ]