diff options
author | rjohnson <rjohnson@noemail.net> | 1998-04-01 09:37:39 (GMT) |
---|---|---|
committer | rjohnson <rjohnson@noemail.net> | 1998-04-01 09:37:39 (GMT) |
commit | 1d0efcbe267f2c0eb73869862522fb20fb2d63ca (patch) | |
tree | 3100714738a7941b590efee466a774862f9671c3 /doc/tkerror.n | |
parent | 0fd5c6ed04f661825c13076a82740af74e8f9872 (diff) | |
download | tk-1d0efcbe267f2c0eb73869862522fb20fb2d63ca.zip tk-1d0efcbe267f2c0eb73869862522fb20fb2d63ca.tar.gz tk-1d0efcbe267f2c0eb73869862522fb20fb2d63ca.tar.bz2 |
Initial revision
FossilOrigin-Name: 8922a99ffbe6bf4c9a879291efacef5ce9caa2aa
Diffstat (limited to 'doc/tkerror.n')
-rw-r--r-- | doc/tkerror.n | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/doc/tkerror.n b/doc/tkerror.n new file mode 100644 index 0000000..c892a64 --- /dev/null +++ b/doc/tkerror.n @@ -0,0 +1,38 @@ +'\" +'\" Copyright (c) 1990-1994 The Regents of the University of California. +'\" Copyright (c) 1994-1996 Sun Microsystems, Inc. +'\" +'\" See the file "license.terms" for information on usage and redistribution +'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. +'\" +'\" SCCS: @(#) tkerror.n 1.19 97/10/31 12:58:53 +'\" +.so man.macros +.TH tkerror n 4.1 Tk "Tk Built-In Commands" +.BS +'\" Note: do not modify the .SH NAME line immediately below! +.SH NAME +tkerror \- Command invoked to process background errors +.SH SYNOPSIS +\fBtkerror \fImessage\fR +.BE + +.SH DESCRIPTION +.PP +Note: as of Tk 4.1 the \fBtkerror\fR command has been renamed to +\fBbgerror\fR because the event loop (which is what usually invokes +it) is now part of Tcl. For backward compatibility +the \fBbgerror\fR provided by the current Tk version still +tries to call \fBtkerror\fR if there is one (or an auto loadable one), +so old script defining that error handler should still work, but you +should anyhow modify your scripts to use \fBbgerror\fR instead +of \fBtkerror\fR because that support for the old name might vanish +in the near future. If that call fails, \fBbgerror\fR +posts a dialog showing the error and offering to see the stack trace +to the user. If you want your own error management you should +directly override \fBbgerror\fR instead of \fBtkerror\fR. +Documentation for \fBbgerror\fR is available as part of Tcl's +documentation. + +.SH KEYWORDS +background error, reporting |