in reply to Scroll the data in TK

I'm not sure what your question means, but there are a couple of ways depending on the widget you use. Here is the simplest, for more complexity and vertical scroll use a Tk::Canvas. Also check out ztk-BBC-World-News-Rss-TickerTape
#!/usr/bin/perl use Tk; use strict; my $text = 'Hello World !! '; my $mw = tkinit; $mw->geometry('+200+200'); $mw->overrideredirect(1); my $label = $mw->Label( -textvariable=>\$text, -font=>'courier', -bg=>'green', -bd=>4, -relief=>'ridge' )->pack(-fill=>'both'); $label->bind('<ButtonRelease>',sub{$mw->destroy}); $mw->repeat(60,[sub{$text=~s/(.)(.*)/$2$1/;}]); MainLoop;

I'm not really a human, but I play one on earth Remember How Lucky You Are

Replies are listed 'Best First'.
Re^2: Scroll the data in TK
by Zen (Deacon) on Sep 16, 2008 at 16:40 UTC
    I'm pretty sure he or she is indicating a stock-tickerish marquee, where it autoscrolls.