my $pane = $mw->Scrolled(qw/Pane -scrollbars osw/)->pack; foreach (1 .. 20) { $pane->Label(-text => "Label $_")->pack; }
The previous code produced Figure 23-17.
The following options are available for Pane:
There are also various methods to position the Pane's view. See the POD documentation for more information.
Copyright © 2002 O'Reilly & Associates. All rights reserved.