Simple TK Question - refreshing the canvas when not in focus

Peter Otten __peter__ at web.de
Wed Apr 30 10:41:02 EDT 2008


blaine wrote:

> Still doesn't work.  I'm looking into using wx instead...
> 
> This is the full code - does it work for anyone else? Just do a echo
> 'line 0 0 10 10' > dev.file

Haven't tried it, but I think that the problem is that you are updating the
UI from the "readthread". A good example to model your app after is here:

http://effbot.org/zone/tkinter-threads.htm

Peter



More information about the Python-list mailing list