Simple TK Question - refreshing the canvas when not in focus

Eric Brunel see.signature at no.spam
Wed Apr 30 04:14:43 EDT 2008


On Tue, 29 Apr 2008 17:09:18 +0200, blaine <frikker at gmail.com> wrote:
[snip]
> I'll try the update() again.  I would want to use that on the canvas
> itself right? Not the root window?

Well, in fact, there is no difference at all... In tcl/tk, update is a  
function, and isn't applied to a particular widget. Any call to the update  
method on any widget should refresh the whole GUI.

HTH
-- 
python -c "print ''.join([chr(154 - ord(c)) for c in  
'U(17zX(%,5.zmz5(17l8(%,5.Z*(93-965$l7+-'])"



More information about the Python-list mailing list