FUNCTIONS GT

GTI_VIEWPORTWIDTH

Return the number of columns in view

Syntax

Signature
GtInfo( GTI_VIEWPORTWIDTH ) --> nColumns

Arguments

GTI_VIEWPORTWIDTH

The selector, from gtinfo.ch.

Return value

The number of columns shown now.

Description

In the xDev graphics drivers the whole screen is always in view, so the value equals GTI_VIEWMAXWIDTH.

Notes

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

Output

See also