VtErrorDialog(VTCL)

VtErrorDialog(VTCL)


VtErrorDialog -- create error message dialog, return widget name

Syntax

VtErrorDialog object_name [options]

Description

Creates a Message Dialog which has an ``error'' icon in it. Returns the widget name.

This dialog box comes up with the default pushbuttons OK, Cancel and Help. To override the default buttons, the options -ok, -cancel, -help, and -apply can be used to specify which buttons go in the dialog. If any one of these options is used then it is assumed that only buttons which have been individually specified or referenced via either a label or a callback option will be put in the dialog.

If the user chooses the OK or Cancel button, the dialog is automatically popped down and destroyed. The -autoHide and -autoDestroy options can be used to override this default behavior.

Options

-message string (CSG)
Sets the text of the message (in string). Use ``\n'' to separate lines.

See also