Gimp.palette_delete_entry

function palette_delete_entry(name: String, entry_num: Number(gint)): Boolean {
    // Gjs wrapper for gimp_palette_delete_entry()
}
  

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.

Since 2.2

name

The palette name.

entry_num

The index of the added entry.

Returns

TRUE on success.