Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:into': 0.09; 'wrote': 0.14; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:Tkinter': 0.16; 'windows?': 0.16; 'code.': 0.18; 'header:X-Complaints-To:1': 0.27; 'function': 0.29; 'another': 0.32; 'but': 0.35; 'button': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'times': 0.62; 'click': 0.77 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dave Angel Subject: Re: Tkinter widgets into classes. Date: Sat, 1 Feb 2014 17:26:17 -0500 (EST) Organization: news.gmane.org References: <5e297400-3322-45aa-ab7e-016af083b259@googlegroups.com> <04a9d0b0-c968-42c2-94d2-93438558e227@googlegroups.com> <2377621f-a208-4a12-b66c-bb678df6efcf@googlegroups.com> X-Gmane-NNTP-Posting-Host: dpc6744192077.direcpc.com X-Newsreader: PiaoHong Usenet NewsReaders 1.36 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1391293398 news.xs4all.nl 2908 [2001:888:2000:d::a6]:35865 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:65242 Lewis Wood Wrote in message: > >> (deleting doublespaced googlegroups trash) >> >> >> 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? > Not using the function you showed. -- DaveA