Tickit::Widget::Scroller is a Perl class that provides a widget which displays a scrollable list of items. The view of the items is scrollable, able to display only a part of the list.
A Scroller widget stores a list of instances implementing the Tickit::Widget::Scroller::Item interface.
SYNOPSIS
use Tickit;
use Tickit::Widget::Scroller;
use Tickit::Widget::Scroller::Item::Text;
my $tickit = Tickit->new;
my $scroller = Tickit::Widget::Scroller->new;
$scroller->push(
Tickit::Widget::Scroller::Item::Text->new( "Hello world" ),
Tickit::Widget::Scroller::Item::Text->new( "Here are some lines" ),
map { Tickit::Widget::Scroller::Item::Text->new( "" ) } 1 .. 50,
);
$tickit->set_root_widget( $scroller );
$tickit->run
Product's homepage
Requirements:
· Perl