VtInformationDialog


Create an Information dialog

Syntax

VtInformationDialog object_name [options]

Description

Creates a Message dialog containing an information icon. Returns the widget name.

Options

-message string (CSG)
Specifies the text of the message. Use \n to separate lines.

Example

The following code produces an Information dialog box containing an example message, an OK button and a Help button.

set app [VtOpen "Error Dialog Demo"]

VtInformationDialog $app.demo -message \
         "This is an example of \n VtInformationDialog" \
         -ok \
         -help

VtShowDialog $app.demo
VtMainLoop

This code produces the following:

See also: