Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #65238
| From | Dave Angel <davea@davea.name> |
|---|---|
| Subject | Re: Tkinter widgets into classes. |
| Date | 2014-02-01 16:52 -0500 |
| Organization | news.gmane.org |
| References | <5e297400-3322-45aa-ab7e-016af083b259@googlegroups.com> <04a9d0b0-c968-42c2-94d2-93438558e227@googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.6289.1391291392.18130.python-list@python.org> (permalink) |
Lewis Wood <fluttershy363@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
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Tkinter widgets into classes. Lewis Wood <fluttershy363@gmail.com> - 2014-02-01 11:43 -0800
Re: Tkinter widgets into classes. archie65@live.co.uk - 2014-02-01 12:03 -0800
Re: Tkinter widgets into classes. archie65@live.co.uk - 2014-02-01 12:04 -0800
Re: Tkinter widgets into classes. Lewis Wood <fluttershy363@gmail.com> - 2014-02-01 12:12 -0800
Re: Tkinter widgets into classes. Dave Angel <davea@davea.name> - 2014-02-01 16:52 -0500
Re: Tkinter widgets into classes. Lewis Wood <fluttershy363@gmail.com> - 2014-02-01 14:12 -0800
Re: Tkinter widgets into classes. Dave Angel <davea@davea.name> - 2014-02-01 17:26 -0500
Re: Tkinter widgets into classes. Lewis Wood <fluttershy363@gmail.com> - 2014-02-01 15:07 -0800
Re: Tkinter widgets into classes. "albert visser" <albert.visser@gmail.com> - 2014-02-02 01:46 +0100
Re: Tkinter widgets into classes. Terry Reedy <tjreedy@udel.edu> - 2014-02-01 20:26 -0500
Re: Tkinter widgets into classes. Christian Gollwitzer <auriocus@gmx.de> - 2014-02-02 11:22 +0100
Re: Tkinter widgets into classes. Lewis Wood <fluttershy363@gmail.com> - 2014-02-02 12:38 -0800
Re: Tkinter widgets into classes. David Hutto <dwightdhutto@gmail.com> - 2014-02-02 22:21 -0500
Re: Tkinter widgets into classes. Christian Gollwitzer <auriocus@gmx.de> - 2014-02-02 11:15 +0100
csiph-web