Syntax
GtInfo( GTI_MOUSEPOS_XY ) --> aPositionArguments
GTI_MOUSEPOS_XY
The selector, from gtinfo.ch.
Return value
The last mouse position as { nX, nY }, in the pixels of the window.
Description
MRow() and MCol() give the same position in text cells.
Notes
Supported by GTWVT, GTSDL3, GTXWC and GTGLFW. On other terminals the result is NIL.
Header
gtinfo.ch
Output