# Gimp.palette_entry_set_name

    @accepts(unicode, int, unicode)
    @returns(bool)
    def palette_entry_set_name(name, entry_num, entry_name):
        # Python wrapper for gimp_palette_entry_set_name()

Sets the specified palette entry in the specified palette.

This procedure sets the name of the zero-based entry specified for the specified palette. It returns an error if the entry does not exist.

Since 2.2

name

  The palette name.

entry_num

  The entry to retrieve.

entry_name

  The new name.

Returns