[Tkinter-discuss] pack equivalent of grid_remove(), eg. pack_remove() ?

python at bdurham.com python at bdurham.com
Thu Dec 9 15:48:54 CET 2010


> No, there isn't. You have to be careful with the packing order for 
pack_forget() to work--this works best if you limit its use to the last 
widget group packed. Otherwise, it may be packed in a different 
location, with surprising results.

Thanks for that tip! (You're right - I would have been surprised!)

Is there a best practice way to show/hide specific widgets (or
containers) in Tkinter?

Is grid a better layout manager than pack for this type of use case?


More information about the Tkinter-discuss mailing list