Marcus Thiesen > Curses-UI-0.95 > Curses::UI::Container

Download:
Curses-UI-0.95.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  35
Open  6
View/Report Bugs
Module Version: 1.11   Source   Latest Release: Curses-UI-0.9609

NAME ^

Curses::UI::Container - Create and manipulate container widgets

CLASS HIERARCHY ^

 Curses::UI::Widget
    |
    +----Curses::UI::Container

SYNOPSIS ^

    use Curses::UI;
    my $cui = new Curses::UI;
    my $win = $cui->add('window_id', 'Window');

    my $container = $win->add(
        'mycontainer', 'Container'
    );

    $container->add(
        'contained', 'SomeWidget',
        .....
    );

    $container->focus();

DESCRIPTION ^

A container provides an easy way of managing multiple widgets in a single "form". A lot of Curses::UI functionality is built around containers. The main class Curses::UI itself is a container. A Curses::UI::Window is a container. Some of the widgets are implemented as containers.

STANDARD OPTIONS ^

-parent, -x, -y, -width, -height, -pad, -padleft, -padright, -padtop, -padbottom, -ipad, -ipadleft, -ipadright, -ipadtop, -ipadbottom, -title, -titlefullwidth, -titlereverse, -onfocus, -onblur

For an explanation of these standard options, see Curses::UI::Widget.

WIDGET-SPECIFIC OPTIONS ^

METHODS ^

DEFAULT BINDINGS ^

Since interacting is not handled by the container itself, but by the contained widgets, this class does not have any key bindings.

SEE ALSO ^

Curses::UI,

AUTHOR ^

Copyright (c) 2001-2002 Maurice Makaay. All rights reserved.

Maintained by Marcus Thiesen (marcus@cpan.thiesenweb.de)

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.

syntax highlighting: