#!/usr/bin/perl use warnings; use strict; use Tk; my $mw = new MainWindow; my $time = time(); my $label = $mw->Label(-textvariable => \$time); $label->grid(-row => 1, -column => 1); $mw->repeat(1000, sub{ $time = time(); } ); MainLoop;
In reply to Re: Tk and textvariable update
by ~~David~~
in thread Tk and textvariable update
by rkrasowski
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |