tkinter menu (newbie question)

Eric Brunel eric.brunel at pragmadev.com
Wed Jun 19 11:25:31 EDT 2002


Stephane Ninin wrote:
> Thanks for the help.

No problem.

> If I want to use several of these windows,
> can still use for base class Tk, instead of Frame ?

Nope: the instance of Tk is your main window. There should only be one, and 
closing it will end your application. If you want to create other 
windows, you should create instances of Toplevel.

If you do not have a main window, there are means to work around this 
limitation, but they're not really natural. If you need to know how to do 
it, feel free to ask...

HTH
-- 
- Eric Brunel <eric.brunel at pragmadev.com> -
PragmaDev : Real Time Software Development Tools - http://www.pragmadev.com



More information about the Python-list mailing list