UI::Various::Curses::Main - concrete implementation of UI::Various::Main
# This module should never be used directly! # It is used indirectly via the following: use UI::Various::Main;
This module is the specific implementation of UI::Various::Main for Curses::UI. It manages and hides everything specific to Curses::UI.
The documentation of this module is only intended for developers of the package itself.
UI::Various::Curses::Main::_init($self);
$_ = UI::Various::core::ui . '::Main::_init'; { no strict 'refs'; &$_($self); }
$self reference to object of abstract parent class
Prepare the interface to Curses::UI. (It's under FUNCTIONS as it's called before the object is re-blessed as UI::Various::Curses::Main.)
UI::Various::Curses::Main
Curses's concrete implementation of UI::Various::Main::mainloop
Curses
Curses's overload of UI::Various::Main::window. If the Mainloop of Curses::UI is running, we need to directly prepare and show the window / dialogue.
Mainloop
$self->_focus($index);
$self reference to object $index -1/0/+1 index to select other top-level UI element
Change the focus to previous (-1), next (+1) or newest (0) (probably) other top-level UI element.
-1
+1
0
UI::Various, UI::Various::Main
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@cpan.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.