I’ll show you how to use multi-threading with Tkinter. We’ll look at how to communicate with the main GUI thread from a second thread. Multi-threading is an important topic for Tkinter applications that have any kind of network feature.
Please consider supporting my work with your donations on Ko-fi:
Multithreading with Tkinter.
0:00 Intro
1:30 Demo application
2:55 The issue
3:36 Create a window
5:24 Create a frame
8:08 Create a progress label
8:55 Download method
10:33 Frozen window
12:23 Create a separate thread
15:46 Demo of separate thread
17:17 Communicate from second thread to first thread
21:00 Create ticket queue
26:49 Notify main thread to check queue
29:12 Check queue method
32:26 when= argument for event_generate()
33:25 Continue checking queue
34:03 Demo application
35:32 Showing a download has finished
37:17 Closure
#tkinter #tkintertutorial #multithread #pythongui #pythonguitut
1 view
22
4
2 months ago 00:14:08 7
I use Drag and Drop to build modern Python Apps
2 months ago 00:04:43 5
Игра “Сапер“ на Python. Minesweeper in Python Tkinter Превью
3 months ago 00:27:45 3
Как создать YouTube Видео Менеджер на Python | Приложение для Личных Видео
4 months ago 00:37:19 8
Алексей Пирогов | Быстрое создание GUI для браузера. Python в связке с FastUI, hyperdiv, Flet.