home *** CD-ROM | disk | FTP | other *** search
-
-
- displayrequest - display a requester from Tcl
-
-
- To make displayrequest available to your Tcl interpreter, you must first
- call the initialization routine TclaInitRequester().
-
- Once you have done so, you may do a:
-
- displayrequest message yestext notext
-
- When executed, you will get a requester with the message text on the
- screen, and yestext and notext as the names of what are usually "Continue"
- and "Cancel" gadgets.
-
- displayrequest returns the string "1" to report selection of the "yes"
- option, and "0" to report selection of the "no" option.
-
- set result [displayrequest "Exit without saving changes?" "YES" "NO"]
-