dwww Home | Manual pages | Find package

tkerror(3tk)                 Tk Built-In Commands                 tkerror(3tk)

______________________________________________________________________________

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 be-
       cause 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  load-
       able one), so old script defining that error handler should still work,
       but you should anyhow modify your scripts to use bgerror instead of tk-
       error  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  tker-
       ror.   Documentation for bgerror is available as part of Tcl's documen-
       tation.

KEYWORDS
       background error, reporting

Tk                                    4.1                         tkerror(3tk)

Generated by dwww version 1.14 on Fri Jan 24 09:49:07 CET 2025.