jsteng has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl use strict; use warnings; use Tk; use Tk::Pane; my $mw = MainWindow->new( ); $mw->minsize(200,300); my $pane = $mw->Scrolled( 'Pane', -scrollbars => 'e', -border => 2, )->pack(-fill=>'both', -expand=>1); foreach my $x (1..100) { my $label = $pane->Label( -text => $x, )->pack(-side=>'top', -fill=>'x', -expand=>0); # $pane->yview(moveto => 1); } MainLoop;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: TK Pane->yview not working?
by tybalt89 (Monsignor) on Apr 22, 2018 at 20:39 UTC | |
|
Re: TK Pane->yview not working?
by tybalt89 (Monsignor) on Apr 22, 2018 at 14:30 UTC |