FUNCTIONS GT

GTI_DESKTOPWIDTH

Return the width of the desktop in pixels

Syntax

Signature
GtInfo( GTI_DESKTOPWIDTH ) --> nPixels

Arguments

GTI_DESKTOPWIDTH

The selector, from gtinfo.ch.

Return value

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

Description

Use it with GTI_DESKTOPHEIGHT to size or center the window.

Notes

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

Output

See also