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

python at bdurham.com python at bdurham.com
Thu Dec 9 15:57:53 CET 2010


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

Another way to control visibility might be to size a control/widget a
height/width of 0,0.

But Tkinter ignores this type of size request. (It does accept a size
request of 1,1, but in the case of Frame, immediately resizes itself to
its 'natural' size).

Anyone have any thoughts on this approach?

Malcolm


More information about the Tkinter-discuss mailing list