Gimp.Palette.prototype.entry_get_color
function entry_get_color(entry_num: Number(gint)): [ok: Boolean, color: Gimp.RGB] {
// Gjs wrapper for gimp_palette_entry_get_color()
}
Gets the color of an entry in the palette.
Returns the color of the entry at the given zero-based index into the palette. Returns an error when the index is out of range.
Since 2.2
- entry_num
The index of the entry to get the color of.
- ok
TRUE on success.
- color
The color at the index.