ASPN ActiveState Programmer Network
  ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups | Web Services
SEARCH

Reference
ActiveTcl
ActiveTcl 8.4.19.1 User Guide
ActiveTcl 8.4.19.1 Documentation Index
Tk Manual
Tk built-in commands
General
console
destroy
tk
tkerror
tkvars
tkwait
winfo
wish
wm

MyASPN >> Reference >> ActiveTcl >> ActiveTcl 8.4.19.1 User Guide >> ActiveTcl 8.4.19.1 Documentation Index >> Tk Manual >> Tk built-in commands >> General

Tcl/Tk Documentation > TkCmd > tkerror

Tcl/Tk Applications | Tcl Commands | Tk Commands | Tcl Library | Tk Library

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 tries to 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 bgerror instead 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 the stack trace to the user. If you want your own error management you should directly override bgerror instead of tkerror. Documentation for bgerror is available as part of Tcl's documentation.

KEYWORDS

background error, reporting
Copyright © 1995-1997 Roger E. Critchlow Jr. Copyright © 1990-1994 The Regents of the University of California. Copyright © 1994-1996 Sun Microsystems, Inc.

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState 2004 All rights reserved