Simple TK Question - refreshing the canvas when not in focus

blaine frikker at gmail.com
Wed Apr 30 14:14:47 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

I had a feeling thats what the problem is.  Thank you for that link -
I am in need of a good model.

Thanks for answering both of my questions today, Peter. :)
-Blaine



More information about the Python-list mailing list