Curses::UI::Listbox - Create and manipulate listbox widgets



NAME

Curses::UI::Listbox - Create and manipulate listbox widgets


CLASS HIERARCHY

 Curses::UI::Widget
 Curses::UI::Searchable
    |
    +----Curses::UI::Listbox


SYNOPSIS

    use Curses::UI;
    my $cui = new Curses::UI;
    my $win = $cui->add('window_id', 'Window');
    my $listbox = $win->add(
        'mylistbox', 'Listbox',
        -values    => [1, 2, 3],
        -labels    => { 1 => 'One', 
                        2 => 'Two', 
                        3 => 'Three' },
        -radio     => 1,
    );
    $listbox->focus();
    my $selected = $listbox->get();


DESCRIPTION

Curses::UI::Listbox is a widget that can be used to create a couple of different kinds of listboxes. These are:


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


SEE ALSO

Curses::UI, Curses::UI::Widget, Curses::UI::Common


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.

 Curses::UI::Listbox - Create and manipulate listbox widgets