On Saturday, 1 February 2014 21:52:51 UTC, Dave Angel  wrote:
> 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

But I can click the button Multiple times and it will create multiple windows?
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to