Gimp.palette_entry_set_name

function palette_entry_set_name(name: String, entry_num: Number(gint), entry_name: String): Boolean {
    // Gjs 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

TRUE on success.