Name

UI::OpenDialog — Opens a new dialog.

Synopsis

boolean OpenDialog ( term  widget );

Parameters

term widget

Return

boolean

Returns true on success.

Description

Opens a new dialog. widget is a term representation of the widget being displayed.

See the widget documentation for details what widgets are available. All open dialogs are arranged in a stack. A newly opened dialog is put on top of the stack. All operations implicitely refer to the topmost dialog. The user can interact only with that dialog. The application does not terminate if the last dialog is closed.

Usage

  OpenDialog( `Label( "Please wait..." ) )