Re: button -state disable gets queued???
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

Re: button -state disable gets queued???

From: Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at>
Date: Mon Feb 27 2006 - 08:51:25 CET

Eric Taylor <et2@rocketship1.com> wrote:
> Thanks, the updates seem to do the trick, ...

>> Andreas Leitgeb wrote:
>> > You could try:
>> > after idle { button -state normal -background <whatitwasbefore> }

>slebetman wrote:
>> Alternatively just call update to force Tk to process the event loop:
>> update
>> button -state normal -background <whatitwasbefore>

In the long run, I think that the "after idle ..." version
will make you happier.

See: <http://mini.net/tcl/update> and <http://wiki.tcl.tk/1255>
Received on Sun Apr 30 02:16:37 2006