In this video I'll show you how to limit the number of new windows you create with your Tkinter app.
I've shown you how to open new windows in your app before, but in this video I'll show you how to specify the exact number of new windows your app can open.
We'll do it using a good old fashioned python counter and some if/else logic.
#tkinter #codemy #JohnElder
Timecodes
0:00 - Introduction
1:24 - Create a Button
1:55 - Create a Function To Open New Windows
3:40 - Create a Counter
4:47 - Add Counter Logic To Function
5:43 - Add Message Box
6:52 - Change New Window Limit
7:26 - Conclusion
Sur cette page du site, vous pouvez voir la vidéo en ligne Limit The Number Of New Windows To Open - Python Tkinter GUI Tutorial 185 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Codemy.com 03 août 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 8,648 fois et il a aimé 253 téléspectateurs. Bon visionnage!