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
Watch video Limit The Number Of New Windows To Open - Python Tkinter GUI Tutorial 185 online, duration hours minute second in high quality that is uploaded to the channel Codemy.com 03 August 2021. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 8,648 times and liked it 253 visitors.