FUNCTIONS GT

GTI_SCREENHEIGHT

Query or change the height of the window in pixels

Syntax

Signature
GtInfo( GTI_SCREENHEIGHT, [nPixels] ) --> nPixels

Arguments

GTI_SCREENHEIGHT

The selector, from gtinfo.ch.

nPixels

The new height of the text area in pixels.

Return value

The height before the call: the number of rows times the height of a cell.

Description

A new height changes the size of the window, but not while the window is maximized or in full screen. GTI_RESIZEFONT decides whether the font or the number of rows follows the new size.

Notes

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

Output

See also