in reply to How to Scroll multiple Frames using Tk::Pane
Tk::Error: Can't call method "rooty" without a package or object
Yes, because there is no Frame subwidget to the Pane. The following does the trick:
# Configure the Scrollbar to scroll each Listbox $scroll->configure( -command => sub { my $delta = shift; foreach my $list (@$listboxes) { $list->yview('scroll', $delta, 'units'); } } );
See the yview method in Tk::Pane.
|
|---|