Delete Frame Children Widgets - Python Tkinter GUI Tutorial #50

codemy(72)
Published in
#diy
Words
116
Reading
1 min
7y
Listen to this post
~1 min

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