CGI::Test::Form::Widget::Menu::List - A scrolling list menu
Contents
Description
This class models a scrolling list menu, from which items may be selected and unselected.
Interface
The interface is the same as the one described in CGI::Test::Form::Widget::Menu, with the following
additional attribute:
"size"
The amount of choices displayed.
Name
CGI::Test::Form::Widget::Menu::List - A scrolling list menu
See Also
CGI::Test::Form::Widget::Menu(3). perl v5.34.0 2022-06-10 CGI::Test::For...get::Menu::List(3pm)
Synopsis
# Inherits from CGI::Test::Form::Widget::Menu
# $form is a CGI::Test::Form
my $action = $form->menu_by_name("action");
$action->unselect("allow-gracetime");
$action->select("reboot");
