The problem is that the find command takes several seconds, and the neither the label or the cursor will update until the sub returns. This gives the user the impression that the script has frozen. Is there any way around this??sub update {$main->configure(-cursor=>"watch"); $textbox->configure(-text =>"Updating Something...") find(\&check_file,$path); $main->configure(-cursor=>"arrow"); $textbox->configure(-text =>"Status normal.");}
In reply to Tk sub calling problem by Bloodelf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |