ui.Interface.setType
Defines the type of the program for the front-end.
Important:
This feature is deprecated, its use is discouraged although not prohibited.
Syntax
ui.Interface.setType(
type STRING )
- type is the identifier of the program. Possible values are:
normal
,container
,child
.
Usage
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 withui.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.