# Create a top-level window that displays a listbox with the names of the
# 50 states.
my($demo) = @_;
$TOP = $MW->WidgetDemo(
-name => $demo,
-text => 'A listbox containing the 50 states is displayed below, along with a scrollbar. You can scan the list either using the scrollbar or by scanning. To scan, press button 2 in the widget and drag up or down.',
-title => 'Listbox Demonstration (50 states)',
-iconname => 'states',
);
my $list = $TOP->Scrolled(qw/Listbox -setgrid 1 -height 12 -scrollbars e/);
$list->pack(qw/-side left -expand yes -fill both/);