Function

Gimpcontext_set_background

since: 2.2

Declaration [src]

gboolean
gimp_context_set_background (
  GeglColor* background
)

Description [src]

Set the current GIMP background color.

Sets the current GIMP background color. After this is set, operations which use background such as blending, filling images, clearing, and erasing (in non-alpha images) will use the new value.

Available since: 2.2

Parameters

background

Type: GeglColor

The background color.

The data is owned by the caller of the function.

Return value

Type: gboolean

TRUE on success.