Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Thursday, June 13, 2019
 
 

tkerror (1t)

Name

tkerror - Command invoked to process background errors

Synopsis

tkerror message

Description

tkerror(1t)                  Tk Built-In Commands                  tkerror(1t)



______________________________________________________________________________

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
       because 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
       loadable  one),  so old script defining that error handler should still
       work, but you should anyhow modify your scripts to use bgerror  instead
       of  tkerror  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
       tkerror.  Documentation for bgerror is available as part of Tcl's docu-
       mentation.

KEYWORDS
       background error, reporting



ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+------------------+
       |ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
       +---------------+------------------+
       |Availability   | runtime/tk-8     |
       +---------------+------------------+
       |Stability      | Uncommitted      |
       +---------------+------------------+
NOTES
       This    software    was    built    from    source     available     at
       https://github.com/oracle/solaris-userland.    The  original  community
       source        was        downloaded        from         https://source-
       forge.net/projects/tcl/files/Tcl/8.6.7/tk8.6.7-src.tar.gz/download

       Further information about this software can be found on the open source
       community website at https://www.tcl.tk/.



Tk                                    4.1                          tkerror(1t)