Tickit::Widget::Border - draw a fixed-size border around a widget
Tickit::Widget::Border
use Tickit; use Tickit::Widget::Border; use Tickit::Widget::Static; my $tickit = Tickit->new; my $hello = Tickit::Widget::Static->new( text => "Hello, world", align => "centre", valign => "middle", ); my $border = Tickit::Widget::Border->new; $border->set_child( $hello ); $tickit->set_root_widget( $border ); $tickit->run;
This container widget holds a single child widget and implements a border by using Tickit::WidgetRole::Borderable.
Paul Evans <leonerd@leonerd.org.uk>
To install Tickit::Widgets, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tickit::Widgets
CPAN shell
perl -MCPAN -e shell install Tickit::Widgets
For more information on module installation, please visit the detailed CPAN module installation guide.