Tornado API Reference : GUI Tcl Library (UNIX)

notice

NAME

notice - Generic "notice" dialog system.

TCL PROCEDURES

noticePost - post a notice dialog
noticeUnpost - unpost a notice

DESCRIPTION

This library allows to use the generic notice Tcl procedures for UNIX GUI

SEE ALSO

notice


GUI Tcl Library (UNIX) : Tcl Procedures

noticePost

NAME

noticePost - post a notice dialog

LOCALE

UNIX GUI

SYNOPSIS

noticePost type text [label1 [label2]]

DESCRIPTION

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.

SEE ALSO

noticeUnpost, dialogCreate


GUI Tcl Library (UNIX) : Tcl Procedures

noticeUnpost

NAME

noticeUnpost - unpost a notice

LOCALE

UNIX GUI

SYNOPSIS

noticeUnpost type

DESCRIPTION

This function removes the given type of notice from the display, if it is present.

SEE ALSO

noticePost