Constructs related to ::tycho::Message


Related class: ::tycho::Message Contents: Procs

Procs

::tycho::warn {msg}
Post a warning message, and return only after the user has acknowledged.

This procedure indirectly calls update, a Tk utility that processes pending events, including mouse events. If this procedure is called from within an Itcl object, directly or indirectly, it may be necessary to take precautions to prevent the calling object from being deleted during the call. Because of a defect in at least some versions of Itcl, failure to do so can result in catastrophic failure of the application (a core dump). In Tycho objects, the safeEval method should be used to evaluate this procedure or any method or procedure that in turn calls this procedure. If the procedure is called from the top level or from a Tcl procedure that is not itself called from within an Itcl object, then there is no cause for worry.

::tycho::inform {msg}
Issue an informational message to the user and return only after the user has acknowledged.

This procedure indirectly calls update, a Tk utility that processes pending events, including mouse events. If this procedure is called from within an Itcl object, directly or indirectly, it may be necessary to take precautions to prevent the calling object from being deleted during the call. Because of a defect in at least some versions of Itcl, failure to do so can result in catastrophic failure of the application (a core dump). In Tycho objects, the safeEval method should be used to evaluate this procedure or any method or procedure that in turn calls this procedure. If the procedure is called from the top level or from a Tcl procedure that is not itself called from within an Itcl object, then there is no cause for worry.

::tycho::post {msg {title ""}}
Post an informational message to the user in a window and return immediately. The name of the window is returned.
::ptkMessage {text}
COMPATIBILITY procedure. Post a message.
::ptkInform {win text}
COMPATIBILITY procedure. Post a message.

Index of classes



Author: Edward A. Lee
Version: @(#)Message.itcl 1.19 11/16/96
Copyright: (c) 1995-1996 The Regents of the University of California.