Function

GimpPaletteget_by_name

Declaration [src]

GimpPalette*
gimp_palette_get_by_name (
  const gchar* name
)

Description [src]

Returns the palette with the given name.

Returns the palette with the given name.

Available since:3.0

Parameters

name const gchar*
 

The name of the palette.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.

Return value

Returns: GimpPalette
 

The palette.

 The caller of the function takes ownership of the data, and is responsible for freeing it.