Or if you need to avoid the size of the label from shifting around or flickering, you could do something like:$label->configure(-text=>''); $label->configure(-text=> $newtext);
my $length = length $oldtext; my $text = ' ' x $length; $label->configure(-text=> $text); $label->configure(-text=> $newtext);
In reply to Re: Clearing text in Tk
by zentara
in thread Clearing text in Tk
by thegoaltender
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |