Re: Tk mainloop()
re my prev response -- sleep() doesn't 'allow Tkinter thread to run',
but it might be necessary to let some system services or something run
in the background. Actually I'm going to take it out and see what
happens. Just calling youroot.update() should be enough to let
Tkinter do its thing.
quick comment: if Py is indeed going to take over the world of
programming, which I for one applaud, it needs to get its threading
stuff together. Seems pretty funky right now. Also Tk is nice but a
C-level native set of GUI commands that work across platforms but use
platform-native calls would be a great improvement.
Just my 2c -dbm
"Petr Evstratov" <firstname.lastname@example.org> wrote in message news:<email@example.com>...
> Hi, I have a question: how do you execute an arbitrary function in Tk fooBar.mainloop()?
> I need to change the contents of a label every second, but I think I will also use some other functions as well...
> I hope that someone will answer my question, because I have been looking for an answer for 3 days, asking people, searching Google... and still have not found anything useful...
> Thanks, Pete
|All times are GMT. The time now is 01:43 PM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.