The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

UI::Various::PoorTerm::Optionmenu - concrete implementation of UI::Various::Optionmenu

SYNOPSIS

    # This module should never be used directly!
    # It is used indirectly via the following:
    use UI::Various::Optionmenu;

ABSTRACT

This module is the specific minimal fallback implementation of UI::Various::Optionmenu. It manages and hides everything specific to the last resort UI.

DESCRIPTION

The documentation of this module is only intended for developers of the package itself.

METHODS

_show - print UI element

    $ui_element->_show($prefix);

example:

    $_->_show('(1) ');

parameters:

    $prefix             text in front of first line

description:

Show (print) the UI element. The method should only be called from UI::Various::PoorTerm container elements!

_process - handle action of UI element

    $ui_element->_process;

description:

Handle the action of the UI element (aka select an entry of the menu of options).

SEE ALSO

UI::Various, UI::Various::Optionmenu

LICENSE

Copyright (C) Thomas Dorner.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See LICENSE file for more details.

AUTHOR

Thomas Dorner <dorner (at) cpan (dot) org>