ui.Window.setImage

Set the window icon.

Syntax

setImage(
   image STRING )
  1. image is the image name for the icon of the window.

Usage

The setImage() method specifies the icon of the window.

By default, the icon of a window is defined by the IMAGE attribute of the LAYOUT definition in form files.