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::Curses::Input - concrete implementation of UI::Various::Input

SYNOPSIS

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

ABSTRACT

This module is the specific implementation of UI::Various::Input using Curses::UI.

DESCRIPTION

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

METHODS

_prepare - prepare UI element

$ui_element->_prepare($row, $column);

example:

my ($errors, $row) = (0, 0);
while ($_ = $self->child)
{   $errors += $_->_prepare($row++, 0);   }

parameters:

$row                relative row
$column             relative column

description:

Prepare the UI element for Curses::UI. The method should only be called from UI::Various::Curses container elements!

returns:

1 in case of errors, 0 otherwise

_update - update UI element

$ui_element->_update();

description:

Update the UI element after an external change of its SCALAR reference.

SEE ALSO

UI::Various, UI::Various::Input

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>