Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Animation Display appling Delay and Canvas Object

by bbfu (Curate)
on May 19, 2006 at 04:06 UTC ( #550408=note: print w/replies, xml ) Need Help??


in reply to Animation Display appling Delay and Canvas Object

You need to add a $canvas->update() before the sleep, and you'd be advised to replace the sleep with some more Tk-friendly form of delay. In fact, you probably want to replace the whole loop with a timer, whose event handler performs the necessary canvas additions. This would obviate completely the need to update as well as sleep.

bbfu
Black flowers blossom
Fearless on my breath

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://550408]
help
Chatterbox?
[runrig]: Happy Eclipse Day!
[LanX]: Once upon a time there was light in my life But now there's only Trump in the dark Nothing I can say A total eclipse of the heart

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2017-08-21 23:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (325 votes). Check out past polls.

    Notices?