in reply to Re^2: perl tk button on windows 8 touchpad is doesn't not animate if touched
in thread perl tk button on windows 8 touchpad does not animate if touched as expected
HI all , I workaround this problem doing a change of the background of the button at the begining and the ending of the -command action. As the -command action is relatively long this work in an acceptable way. From a logic point of view:
-command => sub { my $caller_ = $Tk::widget; $caller_->configure(-bg ='red'); $caller_->update; ........................ .....long operation on db $caller_->configure(-bg ='grey'); $caller_->update; }
This work quite well for my needs . Thank a lot
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: perl tk button on windows 8 touchpad is doesn't not animate if touched
by zentara (Cardinal) on May 08, 2014 at 13:44 UTC |