NAME
Tickit::Widget::Box
- contain a single child widget
SYNOPSIS
use Tickit;
use Tickit::Widget::Box;
use Tickit::Widget::Static;
my $tickit = Tickit->new;
my $hello = Tickit::Widget::Static->new(
text => "Hello, world",
align => "centre",
valign => "middle",
);
my $box = Tickit::Widget::Box->new;
$box->add( $hello );
$tickit->set_root_widget( $box );
$tickit->run;
DESCRIPTION
This container widget holds a single child widget and implements a border by using Tickit::WidgetRole::Borderable.
AUTHOR
Paul Evans <leonerd@leonerd.org.uk>