How to clean the screen in TkInter?

1

Is there a practical way to "clean" a screen, giving destroy() to all widgets at a time, without having to do this one-by-one?

    
asked by anonymous 05.08.2015 / 16:15

1 answer

1

The basic technique is to create a frame to group all the controls you want to destroy, since each control has the function of destroying all your children. Remember that you can have frames within frames and they do not need to be visible. It's a way of organizing the controls. Then you just have to destroy it.

    
05.08.2015 / 17:40