Shawn Boyette > Curses-UI-0.9609 > Curses::UI::Label

Download:
Curses-UI-0.9609.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  34
Open  6
View/Report Bugs
Module Version: 1.11   Source  

NAME ^

Curses::UI::Label - Create and manipulate label widgets

CLASS HIERARCHY ^

 Curses::UI::Widget
    |
    +----Curses::UI::Label

SYNOPSIS ^

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

    my $label = $win->add(
        'mylabel', 'Label',
        -text      => 'Hello, world!',
        -bold      => 1,
    );

    $label->draw;

DESCRIPTION ^

Curses::UI::Label is a widget that shows a textstring. This textstring can be drawn using these special features: bold, dimmed, reverse, underlined, and blinking.

See exampes/demo-Curses::UI::Label in the distribution for a short demo.

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 a Label is a non-interacting widget, it does not have any bindings.

SEE ALSO ^

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

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: