FUNCTIONS GT

GTI_SETPOS_ROWCOL

Query or change the position of the window in text cells

Syntax

Signature
GtInfo( GTI_SETPOS_ROWCOL, [nRow, nCol | aPosition] ) --> aPosition

Arguments

GTI_SETPOS_ROWCOL

The selector, from gtinfo.ch.

nRow

The new top edge of the window in rows of the font.

nCol

The new left edge of the window in columns of the font.

aPosition

The new position as { nRow, nCol }.

Return value

The position before the call as { nRow, nCol }.

Description

It works as GTI_SETPOS_XY, but counts in cells of the current font.

Notes

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

Output

See also