set_entry_name


Description:

[ Version ( since = "2.2" ) ]
public bool set_entry_name (int entry_num, string? entry_name)

Sets the name of an entry in the palette.

Sets the name of the entry at the zero-based index into the palette. Returns an error if the index is out or range. Returns an error if the palette is not editable.

Parameters:

this

The palette.

entry_num

The entry to get.

entry_name

The new name.

Returns:

TRUE on success.