FUNCTIONS GT

GTI_DESKTOPCOLS

Return the width of the desktop in text columns

Syntax

Signature
GtInfo( GTI_DESKTOPCOLS ) --> nColumns

Arguments

GTI_DESKTOPCOLS

The selector, from gtinfo.ch.

Return value

How many columns of the current font fit on the desktop.

Description

Use it to open the largest window with SetMode().

Notes

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

Output

See also