in reply to Re^5: tkx repeat
in thread tkx repeat

tk has the repeat method, but tkx doesn't.
All i really want to do is update a treeview widget every 5 seconds, but i cant find a way to do it with tkx.
I've heard of Tkx::update, but i don't know exactly how it works or whether it would help me.

Replies are listed 'Best First'.
Re^7: tkx repeat
by Anonymous Monk on Dec 07, 2008 at 04:24 UTC
      I can certainly try.
      Sorry if I sound like a major noob, it's because I'm 16 and I've just started using Perl recently
        Excuses excuses :)
        Tkx::after(5000, \&repeat_me_every_5000ms ); sub repeat_me_every_5000ms { ... Tkx::after(5000, \&repeat_me_every_5000ms ); } my $sub = sub { ... Tkx::after(5000, $sub ); # schedule to repeat }; Tkx::after(5000, $sub );