FUNCTIONS GT

GTI_WINDOWWIDTH

Return the width of the window area

Syntax

Signature
GtInfo( GTI_WINDOWWIDTH ) --> nWidth

Arguments

GTI_WINDOWWIDTH

The selector, from gtinfo.ch.

Return value

The width of the client area of the window in the units of the system.

Description

On a scaled display the system can count in units larger than a pixel. GTI_OUTPUTWIDTH gives the width in real pixels.

Notes

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

Output

See also