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 <rep...@bugs.python.org> <http://bugs.python.org/issue27405> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com