diff options
author | dgp <dgp@users.sourceforge.net> | 2016-07-21 20:06:34 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2016-07-21 20:06:34 (GMT) |
commit | a80e603c517d2682ef25067ac6daf1d2692d5864 (patch) | |
tree | cd7aaee28e7876e8bfdd77e835c534b13cbe5f98 /doc/tkerror.n | |
parent | 682d30ed7f59d3c732d08cf6ccc715e738784453 (diff) | |
parent | 2aa945d6a8109c74d9ff3331fb99a093635e0cd7 (diff) | |
download | tk-a80e603c517d2682ef25067ac6daf1d2692d5864.zip tk-a80e603c517d2682ef25067ac6daf1d2692d5864.tar.gz tk-a80e603c517d2682ef25067ac6daf1d2692d5864.tar.bz2 |
merge 8.6bug_450bb0ecad
Diffstat (limited to 'doc/tkerror.n')
-rw-r--r-- | doc/tkerror.n | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/tkerror.n b/doc/tkerror.n index 0780901..53cb0d1 100644 --- a/doc/tkerror.n +++ b/doc/tkerror.n @@ -4,7 +4,7 @@ '\" '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. -'\" +'\" .TH tkerror n 4.1 Tk "Tk Built-In Commands" .so man.macros .BS @@ -20,11 +20,11 @@ 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), +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 +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 +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. |