Curses::UI::Widget | +----Curses::UI::Container | +----Curses::UI::Window
use Curses::UI; my $cui = new Curses::UI; my $win = $cui->add( 'window_id', 'Window', %options, );
For an explanation of these standard options, see Curses::UI::Widget.
A window can automatically be drawn in the center of the screen. To enable this option use a true value and to disable it use a false value. The default is not to center a window. Example:
$cui->add('mywindow', 'Window', -centered => 1);
These are standard methods. See Curses::UI::Widget for an explanation of these.
If this method is called, the window will get modal focus. This means that all events will be sent to this window. By calling the loose_focus method, the window will loose its focus.
This method will have the window loose its focus (using this method you can also let a modal focused window loose its focus).
Maintained by Marcus Thiesen (firstname.lastname@example.org)
This package is free software and is provided ``as is'' without express or implied warranty. It may be used, redistributed and/or modified under the same terms as perl itself.