exilepanda has asked for the wisdom of the Perl Monks concerning the following question:
Can somebody kindly tell me what's wrong with this code ?
The scroll bar won't stick with the frame but just like another widget placing inside the frame.
use Tk; use Tk::Scrollbar; my $mw = new MainWindow; my $f = $mw -> Frame() -> pack; $f->Button ( -text=> $_ )->pack for ( 1..50 ) ; $f->Scrollbar () -> pack ; MainLoop;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Tk::Scrollbar don't know how to use it properly
by zentara (Archbishop) on Sep 11, 2014 at 09:58 UTC | |
Re: Tk::Scrollbar don't know how to use it properly ( Scrolled )
by Anonymous Monk on Sep 11, 2014 at 06:32 UTC | |
by exilepanda (Friar) on Sep 11, 2014 at 06:45 UTC | |
by Anonymous Monk on Sep 11, 2014 at 06:53 UTC | |
by Anonymous Monk on Sep 11, 2014 at 06:56 UTC |
Back to
Seekers of Perl Wisdom