Tornado API Reference : GUI Tcl Library (UNIX)
notice - Generic "notice" dialog system.
noticePost - post a notice dialog
noticeUnpost - unpost a notice
This library allows to use the generic notice Tcl procedures for UNIX GUI
noticePost - post a notice dialog
UNIX GUI
noticePost type text [label1 [label2]]
This function posts a notice of the specified type, which may be error, warning, info, delay, question, or fileselect. The given text is placed in the dialog. If the dialog is of type question, then label1 and label2 are placed in the notice buttons instead of the default strings ("OK" and "Cancel").
The dialog waits for a confirming click from the user unless the dialog is type delay; in that case, it returns immediately. If the dialog waits for a response, noticePost returns 1 if the user answers "OK" and 0 otherwise.
If the type is fileselect, then the text is placed in the titlebar instead of inside the dialog. label1 replaces the text in the leftmost (confirmation) button, and label2 is used as the filter text for the file selector (for example, "*.o"). When the command returns, the return value is the name of the file selected if the user chose one and the empty string otherwise.
noticeUnpost, dialogCreate
noticeUnpost - unpost a notice
UNIX GUI
noticeUnpost type
This function removes the given type of notice from the display, if it is present.
noticePost