[issue27405] Ability to trace Tcl commands executed by Tkinter

Serhiy Storchaka report at bugs.python.org
Sun Sep 11 13:41:20 EDT 2016


Serhiy Storchaka added the comment:

Here is more mature patch. Now you can set tracing function with the tkinter.Tk.settrace() method. Tracing function takes the single argument -- a tuple containing the command and arguments. If set global tkinter.debug to True, the tracing function of newly created Tk object will be set to tkinter.print_command that prints the command to stdout.

----------
Added file: http://bugs.python.org/file44560/tkinter_trace_tcl2.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27405>
_______________________________________


More information about the Python-bugs-list mailing list