ui.Interface.setType

Defines the type of the program for the front-end.

Syntax

ui.Interface.setType(
   type STRING )
  1. type is the identifier of the program.

Usage

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

Possible values are: normal, container, child.

The type passed to this method will be passed to the front-end in order to define the rendering and behavior of the program.

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