Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #81032
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!ecngs!feeder2.ecngs.de!novso.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.004 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'root': 0.05; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'toplevel': 0.09; 'window.': 0.09; 'jan': 0.12; 'ast': 0.16; 'failure.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'wrote:': 0.18; 'slightly': 0.19; 'things.': 0.19; 'starts': 0.20; 'header:User-Agent:1': 0.23; 'keyboard': 0.24; 'handling': 0.26; 'second': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'feature': 0.29; 'am,': 0.29; 'program,': 0.31; 'something': 0.35; 'but': 0.35; 'there': 0.35; 'cancel': 0.36; 'doing': 0.36; 'method': 0.36; 'possible': 0.36; 'should': 0.36; 'manager': 0.38; 'question,': 0.38; 'window': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'more': 0.64; 'different': 0.65; 'received:fios.verizon.net': 0.84; 'opens': 0.91; 'received:108': 0.93 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Terry Reedy <tjreedy@udel.edu> |
| Subject | Re: tkinter mainloop |
| Date | Wed, 19 Nov 2014 06:22:50 -0500 |
| References | <546c5c67$0$2888$426a34cc@news.free.fr> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Gmane-NNTP-Posting-Host | pool-108-16-203-145.phlapa.fios.verizon.net |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
| In-Reply-To | <546c5c67$0$2888$426a34cc@news.free.fr> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.15996.1416396205.18130.python-list@python.org> (permalink) |
| Lines | 24 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1416396205 news.xs4all.nl 2858 [2001:888:2000:d::a6]:59522 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:81032 |
Show key headers only | View raw
On 11/19/2014 3:46 AM, ast wrote: > Hello > > mainloop() is a window method which starts the event manager which > tracks for events (mouse, keyboard ...) to be send to the window. > > But if I forget the root.mainloop() in my program, it works well anyway, > I cant see any failure. Why ? > > Second question, is it possible to cancel a mainloop() ? The one loop should been handling all events for all windows. > I neeed this feature because I have a main window "root = Tk()" > which opens a Toplevel secondary window "top = Toplevel()" > and I would like root window to be frozen while the user fills > the top window. There are methods for freezing a widget. Something like root.withdraw. But there is more than one for doing slightly different things. -- Terry Jan Reedy
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
tkinter mainloop "ast" <nomail@invalid.com> - 2014-11-19 09:46 +0100
Re: tkinter mainloop Terry Reedy <tjreedy@udel.edu> - 2014-11-19 06:22 -0500
Re: tkinter mainloop Rick Johnson <rantingrickjohnson@gmail.com> - 2014-11-19 18:04 -0800
Re: tkinter mainloop "ast" <nomail@invalid.com> - 2014-11-20 10:50 +0100
csiph-web