[Tkinter-discuss] Mulitple root windows

Tim Jones timj at tolisgroup.com
Tue Apr 8 23:48:40 CEST 2008


On Apr 8, 2008, at 1:49 PM, Vasilis Vlachoudis wrote:

> In my application I wanted to have a help window which is  
> responsive at all times even if a dialog issues a grab_set.
>
> I solved the problem by starting the Help window as a second root  
> window with Tk().Now my program is like the following, and in fact  
> if I get the grab from a dialog in rootmain the roothelp remains  
> unaffected. What happens with Tkinter and Tk in this case? Which  
> mainloop should I call (now I calling the main one and everything  
> works in linux)?
>

What you're currently doing should work, but have you considered  
creating your Help tool as a second application and starting it when  
the user asks for Help?

Tim



More information about the Tkinter-discuss mailing list