UI::Various::Curses::Box - concrete implementation of UI::Various::Box
# This module should never be used directly! # It is used indirectly via the following: use UI::Various::Box;
This module is the specific implementation of UI::Various::Box using Curses::UI.
The documentation of this module is only intended for developers of the package itself.
$ui_element->_prepare($row, $column);
my ($errors, $row) = (0, 0); while ($_ = $self->child) { $errors += $_->_prepare($row++, 0); }
$row relative row $column relative column
Prepare the UI element for Curses::UI. The method should only be called from other UI::Various::Curses container elements!
UI::Various::Curses
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.
Curses::Ui
Container
number of errors encountered
UI::Various, UI::Various::Box
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.
Thomas Dorner <dorner (at) cpan (dot) org>
To install UI::Various, copy and paste the appropriate command in to your terminal.
cpanm
cpanm UI::Various
CPAN shell
perl -MCPAN -e shell install UI::Various
For more information on module installation, please visit the detailed CPAN module installation guide.