Skip to content Skip to sidebar Skip to footer

Multithreading With Tkinter

I'm having some issues with a Tkinter-based GUI. Basically the GUI creates lots of threads and run them. When each thread has finished, I'd like it to update a label to inform the

Solution 1:

root.bind("<<myEvent>>", app.processEvent())

Here, you're binding myEvent to the return value of app.processEvent, because you're calling the function rather than just referring to it. Try removing the parentheses.

root.bind("<<myEvent>>", app.processEvent)

Post a Comment for "Multithreading With Tkinter"