Function

Gimpcontext_get_palette

since: 2.2

Declaration [src]

gchar*
gimp_context_get_palette (
  void
)

Description [src]

Retrieve the currently active palette.

This procedure returns the name of the the currently active palette.

Available since: 2.2

Return value

Type: gchar*

The name of the active palette. The returned value must be freed with g_free().

The caller of the function takes ownership of the data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.