Function

Gimpcontext_get_background

since: 2.2

Declaration [src]

gboolean
gimp_context_get_background (
  GimpRGB* background
)

Description [src]

Get the current GIMP background color.

Returns the current GIMP background color. The background color is used in a variety of tools such as blending, erasing (with non-alpha images), and image filling.

Available since: 2.2

Parameters

background

Type: GimpRGB

The background color.

The argument will be set by the function.
The data is owned by the caller of the function.

Return value

Type: gboolean

TRUE on success.