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


This feature is deprecated, its use is discouraged although not prohibited.


   type STRING )
  1. type is the identifier of the program. Possible values are: normal, container, child.


Use the ui.Interface.setType() class method to define the type for the program to be used by the front-ends, to define parent/child relation between programs displayed on the same front-end.

Possible values are:
  • normal: Defines a regular program, not attached to any container.
  • container: Defines a container program that can have children.
  • child: Defines a child program, to be combined with ui.Interface.setContainer().

The type passed to this method will be passed to the front-end in order to define the parent/child relationship of programs.

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