DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

VtWorkingDialog(VTCL)


VtWorkingDialog -- create message dialog containing working icon, return widget name

Syntax

VtWorkingDialog widgetName [options]

Description

Creates a Message Dialog which has a ``working'' 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, -ok, -cancel, and -help 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. The standard dialog options are available to this widget.

If the user chooses either the OK or Cancel button, the dialog is automatically popped down and destroyed. Use the -autoHide or -autoDestroy options to override this default.

For example:

set msg [VtWorkingDialog $but.msg -message "Working..."]
VtShow $msg

Options


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

Errors


NO_BUTTON
named widget button does not exist

Standard errors
See ``Tcl widget creation errors'' in SCO Visual Tcl Programmer's Guide and Reference.

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003