Tickit::Widget::VBox - distribute child widgets in a vertical column
Tickit::Widget::VBox
use Tickit; use Tickit::Widget::VBox; use Tickit::Widget::Static; my $tickit = Tickit->new; my $vbox = Tickit::Widget::VBox->new; foreach my $position (qw( top middle bottom )) { $vbox->add( Tickit::Widget::Static->new( text => $position, align => "centre", valign => $position, ), expand => 1 ); } $tickit->set_root_widget( $vbox ); $tickit->run;
This container widget distributes its children in a vertical column.
Paul Evans <leonerd@leonerd.org.uk>
To install Tickit, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tickit
CPAN shell
perl -MCPAN -e shell install Tickit
For more information on module installation, please visit the detailed CPAN module installation guide.