ui.Interface.setImage

Defines the icon image of the program.

Syntax

ui.Interface.setImage(
   image STRING )
  1. image is the image filename to be used as program icon.

Usage

Use the ui.Interface.setImage() class method to define the icon image for the program to be used by the front-ends, to easily identify the program in the window container.

Call the method at the beginning of the program, before any interactive instruction.