/usr/share/doc/prima/examples/detailedoutline is in libprima-perl 1.28-1.1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | #!/usr/bin/perl -w
use Prima qw(Application DetailedOutline);
$Main = Prima::MainWindow-> create(
name => 'Main',
text => 'DetailedOutline Test',
origin => [50,50],
size => [500,500],
);
$Outline = $Main-> insert('DetailedOutline',
name => 'Outline',
origin => [5,5],
size => [490,490],
columns => 2,
headers => ['Column 1', 'Column 2'],
autoRecalc => 1,
growMode => gm::Client,
);
$Outline-> items([
[ ['Item 1, Col 1', 'Item 1, Col 2'], [
[ ['Item 1-1, Col 1', 'Item 1-1, Col 2'] ],
[ ['Item 1-2, Col 1', 'Item 1-2, Col 2'], [
[ ['Item 1-2-1, Col 1', 'Item 1-2-1, Col 2'] ],
] ],
] ],
[ ['Item 2, Col 1', 'Item 2, Col 2'], [
[ ['Item 2-1, Col 1', 'Item 2-1, Col 2'] ],
] ],
]);
run Prima;
|