Lewis Wood <fluttershy...@gmail.com> Wrote in message:
> Oh and another question, say I make another window in the program itself 
> using this:
> 
> def secondwindow():
>     root2=Tk()
>     root2.mainloop()
> 
> Would it be possible for me to use some code which would return True if one 
> of these windows is currently up, or return False if the window is not up?
> 

No need. Only one at a time can be running,  and you won't return
 from this function till it's done.

To put it another way, you only want one mainloop in your code.
-- 
DaveA

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to