ui.Interface.setImage

Defines the icon image of the program.

Syntax

ui.Interface.setImage(
   icon STRING )
  1. icon is the image file name 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.This icon will be used in task bars, for example.

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