FUNCTIONS GT

GTI_SYSTEMTHEME

Return the color theme of the system

Syntax

Signature
GtInfo( GTI_SYSTEMTHEME ) --> cTheme

Arguments

GTI_SYSTEMTHEME

The selector, from gtinfo.ch.

Return value

"LIGHT", "DARK" or "UNKNOWN".

Description

A program can choose its colors to match the light or dark theme of the system.

Notes

Supported by GTWVT, GTSDL3, GTXWC and GTGLFW. On other terminals the result is NIL.

Output

See also