Widget.modifyText

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

All other style values are left untouched. The text color is the foreground color used along with the base color (see Widget.modifyBase) for widgets such as gtk.Entry and gtk.TextView See also Widget.modifyStyle.

More...
class Widget
void
modifyText

Parameters

state GtkStateType

the state for which to set the text color

color Color

the color to assign (does not need to be allocated), or NULL to undo the effect of previous calls to of Widget.modifyText.

Detailed Description

Deprecated: Use Widget.overrideColor instead