FUNCTIONS GT

GTI_DESKTOPROWS

Return the height of the desktop in text rows

Syntax

Signature
GtInfo( GTI_DESKTOPROWS ) --> nRows

Arguments

GTI_DESKTOPROWS

The selector, from gtinfo.ch.

Return value

How many rows of the current font fit on the desktop.

Description

Use it to open the largest window with SetMode().

Notes

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

Output

See also