Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #78192
| References | <6dffdfb3-82b3-4746-8f39-d6bfa727f439@googlegroups.com> <4f95597e-52de-4446-b184-f0e50f698fc5@googlegroups.com> |
|---|---|
| Date | 2014-09-23 15:54 +1000 |
| Subject | Re: How to not enable a user to close the root tkinter window |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.14241.1411451692.18130.python-list@python.org> (permalink) |
On Tue, Sep 23, 2014 at 3:49 PM, Nicholas Cannon <nicholascannon1@gmail.com> wrote: > The git hub has not actually been updated yet I am working on somethine else then committing the update. How would I stop the threads though. I'am using the Thread from threading function. > Ah, okay. (Side point: I recommend committing early and often, it makes it much easier to go back and look at stuff later.) The easiest way is to just set a global variable, and then have the thread periodically check that - once it's set, it shuts itself down. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
How to not enable a user to close the root tkinter window Nicholas Cannon <nicholascannon1@gmail.com> - 2014-09-22 04:43 -0700
Re: How to not enable a user to close the root tkinter window Chris Angelico <rosuav@gmail.com> - 2014-09-22 21:56 +1000
Re: How to not enable a user to close the root tkinter window Nicholas Cannon <nicholascannon1@gmail.com> - 2014-09-22 22:49 -0700
Re: How to not enable a user to close the root tkinter window Chris Angelico <rosuav@gmail.com> - 2014-09-23 15:54 +1000
csiph-web