Up
_gtkWidgetForegroundSet
_gtkWidgetForegroundSet
defines the foreground color of a
Widgets
object.
Prototype : fun [* ObjColor I] *
*
: a Widgets object.
ObjColor
: a new foreground color.
I
: a flag to define the Widgets state which this change must occur :
STATE_NORMAL : normal
STATE_ACTIVE : the Widgets object is active
STATE_PRELIGHT : the Widgets object has a mouse pointer over it.
STATE_SELECTED : the Widgets object is selected.
STATE_INSENSITIVE : the Widgets object is in a insensitive state (disabled).
STATE_INCONSISTENT : the Widgets object is in a inconsistent state (with GTK3 only).
STATE_FOCUSED : the Widgets object has the keyboard focus. (with GTK3 only).
Return
* : the same Widgets object or nil if an error occurs.
See also
Color API
_gtkEnabledVersion2
_gtkWidgetBackgroundSet
Example