in reply to Tk::Scrollbar don't know how to use it properly

Tk::Scrolled , https://metacpan.org/source/SREZIC/Tk-804.032/examples/scrolled_demo, [href://https://metacpan.org/pod/release/SREZIC/Tk-804.032/demos/widget
use Tk; my $mw = tkinit(); my $f = $mw->Scrolled( 'Frame' )->pack; $f->Button ( -text=> $_ )->pack for ( 1..50 ) ; $mw->WidgetDump; $mw->MainLoop; __END__

Replies are listed 'Best First'.
Re^2: Tk::Scrollbar don't know how to use it properly ( Scrolled )
by exilepanda (Friar) on Sep 11, 2014 at 06:45 UTC
    Thanks for reply, actually i have another piece of code that uses Tk::Scrolled, and it works perfectly ok… but i just like to give a try on Scrollbar, as its interf ace looks like i can "attach" a scroll bar after a widget is created, in contrast that a scroll widget wraps the real widget that i want to operate. Though, i am still learning how to read the GUI documentation at the same time.