Pike programming language

Top GTK2 GTK2.Widget
➤ GTK2.Widget()->modify_cursor() GTK2.Widget()->modify_font() ➤

Method GTK2.Widget()->modify_fg()


Method modify_fg

GTK2.Widget modify_fg(int state, GTK2.GdkColor color)

Description

Sets the foreground color of the widget in a particular state. state is one of STATE_ACTIVE, STATE_INSENSITIVE, STATE_NORMAL, STATE_PRELIGHT and STATE_SELECTED. color can be omitted to undo the effect of a previous call.

Extracted from as of .