Simple TK Question - refreshing the canvas when not in focus

blaine frikker at gmail.com
Wed Apr 30 14:19:32 EDT 2008


On Apr 30, 10:41 am, Peter Otten <__pete... at web.de> wrote:
> 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

Update: Not only is that a good model, its exactly what I'm trying to
do.  Thanks again!



More information about the Python-list mailing list