Best way to switch between different view

Cameron Laird claird at starbase.neosoft.com
Tue Jul 18 09:30:04 EDT 2000


In article <3bRcSR$mve at openbazaar.net>,
Horst Gassner <horst at proceryon.at.bbs@openbazaar.net> wrote:
>Hi all!
>
>In my application there are three different kind of views. Each of them
>has to be displayed in the same main window. Two of them are scrolled
>canvases and one is a scrolled frame (all of them with many widgets
>inside).
>
>What is the best way to handle this different views? At the moment I
>completely destroy one view and rebuild the new one but there must be a
>better way. Some time ago I have read something about an unpack method
>to hide a widget. Could this be the best way to do this?
			.
			.
			.
Are you using Tkinter's pack?  You'll probably want to learn
the pack_forget() method
<URL:http://www.pythonware.com/library/tkinter/introduction/x6109-methods.htm>.
-- 

Cameron Laird <claird at NeoSoft.com>
Business:  http://www.Phaseit.net
Personal:  http://starbase.neosoft.com/~claird/home.html



More information about the Python-list mailing list