[Tkinter-discuss] Re: Shrinking and Expanding a Frame widget
mart.franklin at gmail.com
Tue Feb 22 12:48:28 CET 2005
Martin Franklin wrote:
> Hi all,
> I just wanted to ask if anyone has been able to programatically shrink
> or expand a Frame widget by setting it's height. I have this....
> self.height = self.frame.winfo_reqheight()
> for a in range(self.height, 0, -1):
> But it doesn't work! If I set the time.sleep to 1 second the widget
> flashes (every second) but doesn't shrink.
> The frame widget is packed (with fill and expand set) perhaps this is
> interfering (I have tried changing the packing options to no avail!
> I googled for shrinking Tk Frame widget - and got a few hits but mostly
> links for other widget sets (Tix, etc) *I* am restricted to pure Tkinter
After more goog'ling
More information about the Tkinter-discuss