Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
GTK2
GTK2.Widget

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.