Re: Tkinter--unexpected behavior with pack_forget()

2007-12-20 Thread John McMonagle
Kevin Walzer wrote: > I'm trying to toggle the visibility of a Tkinter widget using > pack_forget(), and I'm running into unexpected behavior. The widget > "hides" correctly, but does not become visible again. My sample code is > below: > > > from Tkinter import * > > root = Tk() > > lab

Tkinter--unexpected behavior with pack_forget()

2007-12-20 Thread Kevin Walzer
I'm trying to toggle the visibility of a Tkinter widget using pack_forget(), and I'm running into unexpected behavior. The widget "hides" correctly, but does not become visible again. My sample code is below: from Tkinter import * root = Tk() label = Label(text="Hello") label.pack() def