Delete Frame Children Widgets - Python Tkinter GUI Tutorial #50

Codemy.com
Codemy.com
35.7 هزار بار بازدید - 4 سال پیش - In this video I'll show
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.
4 سال پیش در تاریخ 1398/12/28 منتشر شده است.
35,743 بـار بازدید شده
... بیشتر