context_set_foreground


Description:


[ Version ( since = "2.2" ) ]
public bool context_set_foreground (Color foreground)

Set the current GIMP foreground color.

Sets the current GIMP foreground color. After this is set, operations which use foreground such as paint tools, blending, and bucket fill will use the new value.

Parameters:

foreground

The foreground color.

Returns:

TRUE on success.


Namespace: Gimp
Package: gimp-3.0