# Gimp.Palette.delete_entry

    @accepts(Gimp.Palette, int)
    @returns(bool)
    def delete_entry(self, entry_num):
        # Python wrapper for gimp_palette_delete_entry()

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.

Since 2.2

self

  The palette.

entry_num

  The index of the entry to delete.

Returns