TVision
view release on metacpan or search on metacpan
demo/pack.pl view on Meta::CPAN
use strict;
use TVision('tnew');
$|=1;
my $tapp = tnew('TVApp');
my $desktop = $tapp->deskTop;
$desktop->[1] = '.';
$desktop->[2] = '.';
my $btn = tnew('TButton', [1,2,3,4], 'text on the button', 100,0);
$desktop->insert($btn);
print $btn->[2],"\n";
print TVision::pack($btn, -side => 'left');
#print TVision::pack($btn, 'configure', '.btn', -side => 'left');
#print TVision::pack("rb", -side => 'left');
#$tapp->run;
( run in 0.467 second using v1.01-cache-2.11-cpan-5b529ec07f3 )