NAME

UI::Various::Curses::Box - concrete implementation of UI::Various::Box

SYNOPSIS

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

ABSTRACT

This module is the specific implementation of UI::Various::Box 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 other UI::Various::Curses container elements!

Note that this implementation does not use an explicit Curses::Ui element as there does not exist something similar (and in tests Container had problems handling the focus correctly). It just places its children at linear distributed positions instead.

returns:

number of errors encountered

SEE ALSO

UI::Various, UI::Various::Box

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>