The Pane widget is essentially a Frame widget that may be scrolled. Within the Pane, you can pack whatever widgets however you like:
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.