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:
https://ko-fi.com/jobinpy
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 #pythonguitutorial
event_generate()
http://tcl.tk/man/tcl8.5/TkCmd/event....
Auf dieser Seite können Sie das Online-Video Tkinter - Multithreading mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer JobinPy 10 Mai 2023 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 6,444 Mal angesehen und es wurde von 244 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!