Tk Built-In Commands tkerror(1T)
_________________________________________________________________
NAME
tkerror - Command invoked to process background errors
SYNOPSIS
tkerror message
_________________________________________________________________
DESCRIPTION
Note: as of Tk 4.1 the tkerror command has been renamed to
bgerror because the event loop (which is what usually invokes it) is now part of Tcl. For backward compatibility the bgerror provided by the current Tk version still triesto call tkerror 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 bgerrorinstead of tkerror because that support for the old name
might vanish in the near future. If that call fails, bgerror posts a dialog showing the error and offering to see thestack trace to the user. If you want your own error manage-
ment you should directly override bgerror instead of tker-
ror. Documentation for bgerror is available as part of Tcl's documentation. KEYWORDS background error, reportingATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:_______________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE|
|____________________|__________________|_
| Availability | runtime/tk-8 |
|____________________|__________________|_
| Interface Stability| Uncommitted ||____________________|_________________|
NOTES Source for Tk is available on http://opensolaris.org. Tk Last change: 4.1 1