FUNCTIONS GT

GTI_SCREENSIZE

Query or change the size of the window in pixels

Syntax

Signature
GtInfo( GTI_SCREENSIZE, [aSize] ) --> aSize

Arguments

GTI_SCREENSIZE

The selector, from gtinfo.ch.

aSize

The new size as { nWidth, nHeight }.

Return value

The size before the call as { nWidth, nHeight }.

Description

It changes the width and the height in one step, as GTI_SCREENWIDTH and GTI_SCREENHEIGHT do separately.

Notes

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

Output

See also