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

Re: Tk button appearance while its callback runs

by rbc (Curate)
on Oct 11, 2002 at 03:11 UTC ( #204397=note: print w/ replies, xml ) Need Help??


in reply to Tk button appearance while its callback runs

Try something like ...

$myButton->configure( background => 'red' );
... basically $widget->configure( ?arg, .. arg?) lets you change the changable options on the widget.


Comment on Re: Tk button appearance while its callback runs
Download Code
Replies are listed 'Best First'.
Re: Tk button appearance while its callback runs
by ff (Hermit) on Oct 11, 2002 at 03:43 UTC
    This is a good idea, but the color change/configure method doesn't seem to fire on behalf of the callback until the whole callback/subroutine finishes. Which is after I've twiddled my thumbs for a while staring at a stupid sunken button while I wait for my Word stuff to finish. Sure, at that point I get the effect, but I want the effect to be concurrent with the processing of the callback, not after.

    Brig

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://204397]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (14)
As of 2015-07-29 14:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (263 votes), past polls