Function

Gimppalette_delete_entry

Declaration [src]

gboolean
gimp_palette_delete_entry (
  const gchar* name,
  gint entry_num
)

Description [src]

Deletes a palette entry from the specified palette.

This procedure deletes an entry from the specified palette. It returns an error if the entry palette does not exist.

Available since:2.2

Parameters

name const gchar*
 

The palette name.

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

The index of the added entry.

Return value

Returns: gboolean
 

TRUE on success.