Gimp.palette_entry_set_color

@accepts(unicode, int, Gimp.RGB)
@returns(bool)
def palette_entry_set_color(name, entry_num, color):
    # Python wrapper for gimp_palette_entry_set_color()
  

Sets the specified palette entry in the specified palette.

This procedure sets the color 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.

color

The new color.

Returns