Syntax
GtInfo( GTI_DESKTOPWIDTH ) --> nPixelsArguments
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.
Header
gtinfo.ch
Output