Method

GimpPalettedelete_entry

Declaration [src]

gboolean
gimp_palette_delete_entry (
  GimpPalette* palette,
  gint entry_num
)

Description [src]

Deletes an entry from the palette.

Deletes an entry from the palette. Returns an error if the index is out or range. Returns an error if the palette is not editable.

Available since:2.2

Parameters

entry_num gint
 

The index of the entry to delete.

Return value

Returns: gboolean
 

TRUE on success.