FUNCTIONS GT

GTI_ICONRES

Set the icon of the window from a resource

Syntax

Signature
GtInfo( GTI_ICONRES, cName | nId ) --> xResult

Arguments

GTI_ICONRES

The selector, from gtinfo.ch.

cName

The name of an icon resource of the program.

nId

The number of an icon resource.

Return value

A value that depends on the driver, as for GTI_ICONFILE.

Description

Resources exist only in Windows programs. On other systems the icon does not change.

Notes

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

Output

See also