Constructs related to ::tycho::ErrorMessage


Related class: ::tycho::ErrorMessage Contents: Procs

Procs

::tkerror {msg}
Inform the user of an error, and return only after the user has acknowledged. This is a procedure in the global scope that will handle all background errors in Tk. Therefore, within the tycho namespace and within classes it should be sufficient to simply call the Tcl command error, rather than calling this directly.
::tycho::silentError {}
This utility triggers an error silently. It does this by redefining tkerror temporarily, then invoking the Tcl error command. This can be used when cancelling a command where the only clean way to unwind the stack is to use the Tcl error facility, but where there is no point in informing the user about the error.
::tycho::showStack {args}
This utility displays the stack in a window. Insert it in code for debugging. The argument is displayed on the first line, and can be used to give additional information or distinguish between distinct instances of the procedure call.
::ptkImportantMessage {win msg}
COMPATIBILITY procedure. This procedure emulates the behavior of similarly named procedures in pigi, the predecessor to Tycho. The window name in the first argument is ignored (since they bring up modal dialogs, the window names are not important anyway).
::ptkDisplayErrorInfo {}
COMPATIBILITY procedure. This procedure emulates the behavior of similarly named procedures in pigi, the predecessor to Tycho.

Index of classes



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