1tkerror(n)                   Tk Built-In Commands                   tkerror(n)
2
3
4
5______________________________________________________________________________
6

NAME

8       tkerror - Command invoked to process background errors
9

SYNOPSIS

11       tkerror message
12______________________________________________________________________________
13

DESCRIPTION

15       Note:  as  of  Tk  4.1  the tkerror command has been renamed to bgerror
16       because the event loop (which is what usually invokes it) is  now  part
17       of Tcl.  For backward compatibility the bgerror provided by the current
18       Tk version still tries to call tkerror if there  is  one  (or  an  auto
19       loadable  one),  so old script defining that error handler should still
20       work, but you should anyhow modify your scripts to use bgerror  instead
21       of  tkerror  because  that support for the old name might vanish in the
22       near future. If that call fails, bgerror posts  a  dialog  showing  the
23       error and offering to see the stack trace to the user. If you want your
24       own error management you should directly override  bgerror  instead  of
25       tkerror.  Documentation for bgerror is available as part of Tcl's docu‐
26       mentation.
27

KEYWORDS

29       background error, reporting
30
31
32
33Tk                                    4.1                           tkerror(n)
Impressum