For the second example, just move the update line inside the loop. You have to update the window to make it redraw itself.
In reply to Re: Perl/Tk window contents disappear when obscured then revealed
by choroba
in thread Perl/Tk window contents disappear when obscured then revealed
by Another Ed
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |