logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

CGI::Test::Form::Widget::Menu::List - A scrolling list menu

Authors

       The original author is Raphael Manfredi.

       Steven Hilton was long time maintainer of this module.

       Current maintainer is Alexander Tokarev <tokarev@cpan.org>.

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");

See Also