Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #103436
| Path | csiph.com!feeder.erje.net!2.eu.feeder.erje.net!newsreader4.netcologne.de!news.netcologne.de!newsfeed0.kamp.net!newsfeed.kamp.net!feeder1.cambriumusenet.nl!feed.tweaknews.nl!81.171.118.61.MISMATCH!peer01.fr7!news.highwinds-media.com!post01.fr7!fx36.am4.POSTED!not-for-mail |
|---|---|
| From | Dave Farrance <df@see.replyto.invalid> |
| Newsgroups | comp.lang.python |
| Subject | Re: exit from Tkinter mainloop Python 2.7 |
| Reply-To | DaveFarrance@yahoo.co.uk.invalid |
| Message-ID | <jftqcbtm08ds0cfs8bv59qop2kav4ej9kd@4ax.com> (permalink) |
| References | <56e451a3-01f7-4883-b4db-c3a6a10729a9@googlegroups.com> |
| X-Newsreader | Forte Agent on Wine 5.00/32.1171 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Transfer-Encoding | 7bit |
| Lines | 20 |
| NNTP-Posting-Host | 80.193.198.211 |
| X-Complaints-To | http://netreport.virginmedia.com |
| X-Trace | 1456306484 80.193.198.211 (Wed, 24 Feb 2016 09:34:44 UTC) |
| NNTP-Posting-Date | Wed, 24 Feb 2016 09:34:44 UTC |
| Organization | virginmedia.com |
| Date | Wed, 24 Feb 2016 09:34:43 +0000 |
| X-Received-Body-CRC | 3373835835 |
| X-Received-Bytes | 1311 |
| Xref | csiph.com comp.lang.python:103436 |
Show key headers only | View raw
kevind0718@gmail.com wrote:
>from Tkinter import *
>
>def butContinue():
> root1.destroy()
As Christian said, you're destroying the root window and its children,
so instead use root1.quit() here.
> ...
>
>root1.mainloop()
>
>print entryName.get("1.0", "end-1c" )
>print entryPWord.get("1.0", "end-1c" )
And your root1.destroy() goes here instead. (The root window would
normally be destroyed on the script exit, but some IDE debuggers will
leave it open.)
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
exit from Tkinter mainloop Python 2.7 kevind0718@gmail.com - 2016-02-23 13:39 -0800
Re: exit from Tkinter mainloop Python 2.7 Christian Gollwitzer <auriocus@gmx.de> - 2016-02-23 23:29 +0100
Re: exit from Tkinter mainloop Python 2.7 Peter Otten <__peter__@web.de> - 2016-02-23 23:45 +0100
Re: exit from Tkinter mainloop Python 2.7 Christian Gollwitzer <auriocus@gmx.de> - 2016-02-23 23:33 +0100
Re: exit from Tkinter mainloop Python 2.7 kevind0718@gmail.com - 2016-03-04 13:50 -0800
Re: exit from Tkinter mainloop Python 2.7 Peter Otten <__peter__@web.de> - 2016-03-04 23:28 +0100
Re: exit from Tkinter mainloop Python 2.7 Rick Johnson <rantingrickjohnson@gmail.com> - 2016-03-09 11:17 -0800
Re: exit from Tkinter mainloop Python 2.7 Dave Farrance <df@see.replyto.invalid> - 2016-02-24 09:34 +0000
csiph-web