Skip to main content

All Questions

2 votes
2 answers
2k views

Using async and threading inside Tkinter

I'm still a newbie to threading and asyncio in Python. I am having a tkinter frame that is supposed to stop on a stop-button click. While the frame is open, two async functions are supposed to run in ...
CNGF's user avatar
  • 110
-2 votes
1 answer
935 views

In python, is there a way to set a tkinter update timer that is non blocking, while also keeping the window open?

Here is the code, the question is centered around the mainLoop() function at the bottom. I'm wondering if there is a way for this function to be called in a non-blocking manner on an interval based ...
Ayden Cook's user avatar
1 vote
2 answers
15k views

Update data in a Tkinter-GUI with data from a second Thread

The question is if my solution is a save and pythonic way to update a Tkinter-GUI with data from another thread? Are Locks required? Or how could a Queue help here? This example is working fine but ...
buhtz's user avatar
  • 12.3k