Grx.color_lookup

function color_lookup(table: Array(Grx.Color), index: Number(guint)): Grx.Color {
    // Gjs wrapper for grx_color_lookup()
}
  

Looks up a color in the color table.

table

the color table

index

the index in the color table

Returns

the color or %GRX_COLOR_NONE if index is out of range