FUNCTIONS GT

GTI_DESKTOPHEIGHT

Return the height of the desktop in pixels

Syntax

Signature
GtInfo( GTI_DESKTOPHEIGHT ) --> nPixels

Arguments

GTI_DESKTOPHEIGHT

The selector, from gtinfo.ch.

Return value

The height of the desktop or of the monitor of the window.

Description

Use it with GTI_DESKTOPWIDTH to size or center the window.

Notes

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

Output

See also