FUNCTIONS GT

GTI_ICONFILE

Set the icon of the window from a file

Syntax

Signature
GtInfo( GTI_ICONFILE, cFile ) --> xResult

Arguments

GTI_ICONFILE

The selector, from gtinfo.ch.

cFile

The name of the icon file. GTWVT reads ICO files.

Return value

A value that depends on the driver. GTWVT returns the icon handle and GTSDL3 whether the icon was set.

Description

The icon is shown in the title bar of the window and in the task bar.

Notes

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

Output

See also