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?
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?
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.