Method

GimpPalettedelete_entry

since: 2.2

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

Type: gint

The index of the entry to delete.

Return value

Type: gboolean

TRUE on success.