Delete Frame Children Widgets - Python Tkinter GUI Tutorial #50

in diy •  5 years ago 

In this video I'll show you how to automatically delete all the widgets inside a frame.

So you've got a frame, and it has a bunch of widgets in it (buttons, labels, whatever). How do you remove all the widgets in that frame automatically? That's what we'll look at in this video.

We'll look at the winfo_children() function and I'll show you how to loop thru it and delete all the widgets listed in it.

✅ Watch The Entire Money Making With Coding Playlist
http://bit.ly/2tEBTzg

✅ Subscribe To My YouTube Channel:
http://bit.ly/2IGzvOR

▶️ See More At:
https://Codemy.com

✅ Join My Facebook Group:
http://bit.ly/2GFmOBz

▶️ Learn to Code at https://Codemy.com
Take $22 off with coupon code: youtube

✅ Buy a Codemy T-Shirt!
http://bit.ly/2VC9WUN

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Thank you for using the recommended tag/s. This post has been manually rewarded with BUILD tokens in the form of an upvote. You can buy, stake, and exchange our "BUILD" tokens for steem on steem engine or SteemLeo

Build-it is a central hub for DIY and How-To projects. It's an opportunity to find and share the latest in DIY, and How-To tutorials. The recommended tags required when creating a DIY article are #diy, #build-it. #how-to, or #doityourself. Please subscribe to our community here

Chat with us on our discord and telegram channels Discord, Telegram.

Follow @build-it for more updates!

Thank you!

Thanks for sharing your creative and inspirational post!



This post got curated by our fellow curator @tibfox and you received a 100% upvote from our non-profit curation service!

Join the official DIYHub community on steem and show us more of your amazing work!

Very cool, thanks!