tkerror.n
上传用户:rrhhcc
上传日期:2015-12-11
资源大小:54129k
文件大小:1k
- '"
- '" 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.
- '"
- '" RCS: @(#) $Id: tkerror.n,v 1.2 1998/09/14 18:23:00 stanton Exp $
- '"
- .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 fImessagefR
- .BE
- .SH DESCRIPTION
- .PP
- Note: as of Tk 4.1 the fBtkerrorfR command has been renamed to
- fBbgerrorfR because the event loop (which is what usually invokes
- it) is now part of Tcl. For backward compatibility
- the fBbgerrorfR provided by the current Tk version still
- tries to call fBtkerrorfR 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 fBbgerrorfR instead
- of fBtkerrorfR because that support for the old name might vanish
- in the near future. If that call fails, fBbgerrorfR
- 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 fBbgerrorfR instead of fBtkerrorfR.
- Documentation for fBbgerrorfR is available as part of Tcl's
- documentation.
- .SH KEYWORDS
- background error, reporting