Tom Molesworth > Tickit-Widget-Layout-Relative-0.003 > Tickit::Layout::Relative

Download:
Tickit-Widget-Layout-Relative-0.003.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.001   Source   Latest Release: Tickit-Widget-Layout-Relative-0.005

NAME ^

VERSION ^

version 0.003 Tickit::Layout::Relative - apply sizing to a group of Tickit widgets

SYNOPSIS ^

 my $l = Tickit::Layout::Relative->new(width => 80, height => 45);
 $l->add(
  title  => 'Little panel',
  id     => 'send',
  border => 'round dashed single',
  width  => '33%',
  height => '5em',
 );
 $l->add(
  title     => 'Another panel',
  id        => 'listen',
  below     => 'send',
  top_align => 'send',
  border    => 'round dashed single',
  width     => '33%',
  height    => '10em',
 );
 $l->add(
  title        => 'Something on the right',
  id           => 'overview',
  right_of     => 'listen',
  bottom_align => 'listen',
  margin_top   => '1em',
  margin_right => '3em',
 );

DESCRIPTION ^

Provides the underlying implementation for widget layout used by Tickit::Widget::Layout::Relative.

METHODS ^

AUTHOR ^

Tom Molesworth <cpan@entitymodel.com>

LICENSE ^

Copyright Tom Molesworth 2012-2013. Licensed under the same terms as Perl itself.

syntax highlighting: