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
14

DESCRIPTION

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

KEYWORDS

31       background error, reporting
32
33
34
35Tk                                    4.1                           tkerror(n)
Impressum