Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Tk::Scale, how to avoid callback when displayed? (its a bug)

by perltux (Scribe)
on Dec 26, 2012 at 01:16 UTC ( #1010304=note: print w/replies, xml ) Need Help??


in reply to Re: Tk::Scale, how to avoid callback when displayed? (its a bug)
in thread Tk::Scale, how to avoid callback when displayed?

I think you are right that it's a bug or at the very least a design flaw. Problem is I need and use both -variable and -command (-variable to store the data and -command to trigger an action when the data changes).
  • Comment on Re^2: Tk::Scale, how to avoid callback when displayed? (its a bug)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1010304]
help
Chatterbox?
[Corion]: But I'm really amazed that it just took this little code (plus the idle handler I have in mind and something else dk suggested)
[Corion]: ambrus: I wrote the handler so that it stops the timer if it's supposed to be a one-shot
[Discipulus]: are you using Prima Corion? good morning Corion and ambrus, btw

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2016-12-09 09:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (150 votes). Check out past polls.