Method

GimpPaletteentry_get_name

Declaration [src]

gboolean
gimp_palette_entry_get_name (
  GimpPalette* palette,
  gint entry_num,
  gchar** entry_name
)

Description [src]

Gets the name of an entry in the palette.

Gets the name of the entry at the zero-based index into the palette. Returns an error when the index is out of range.

Available since:2.2

Parameters

entry_num gint
 

The entry to get.

entry_name gchar**
 

The name of the entry.

 The argument will be set by the function.
 The instance takes ownership of the data, and is responsible for freeing it.
 The value is a NUL terminated UTF-8 string.

Return value

Returns: gboolean
 

TRUE on success.