On 12/9/10 9:25 AM, pyt...@bdurham.com wrote:
Is there a pack equivalent of the grid_remove() method where a widget's
original pack() settings are restored on a re-pack()?

Use case: When I show a packed widget that has been hidden via
pack_forget(), I would like to have the widget re-packed with its
original pack settings when I issue the widget.pack() show request.

Thanks,
Malcolm

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.

--Kevin

--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss@python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to