Function

Gimpcontext_set_background

since: 2.2

Declaration [src]

gboolean
gimp_context_set_background (
  const GimpRGB* background
)

Description [src]

Set the current GIMP background color.

This procedure 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: GimpRGB

The background color.

The data is owned by the caller of the function.

Return value

Type: gboolean

TRUE on success.