and you update_time subroutine with:my $lb=update_time($mw)->pack(@top);
sub update_time { my $mw = shift; my $time=UnixDate('now',"The time is: %r on %B %d, %Y"); my $lbl = $mw->Label(-text=>"$time"); $mw->update; $mw->after(1); return $lbl; }
In reply to Re: Tk Update
by CountOrlok
in thread Tk Update
by dabella12
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |