Function

Gntcolor_pair

Declaration [src]

int
gnt_color_pair (
  int color
)

Description [src]

Return the appropriate character attribute for a specified color. If the terminal doesn’t have color support, this returns A_STANDOUT when deemed appropriate.

Available since:2.3.0

Parameters

color int
 

The color code.

Return value

Returns: int
 

A character attribute.