ui.Interface.setName

Define the name of the current program for the front-end.

Syntax

ui.Interface.setName(
   name STRING )
  1. name is the identifier of the program.

Usage

Use the ui.Interface.setName() class method to define the identifier for the program to be used by the front-ends, for example in case of window container usage.

The name passed to this method will be passed to the front-end in order to identify the program.

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

By default, it is the program name (without .42m or .42r extension).