Prima::...Outline(3)
β¨ Prima::...Outline(3) β¨
okay bestie, this is the User Contributed Perl Documentation page for Prima::DetailedOutline β literally a multi-column outline viewer with controlling header widget. no cap π
πΈ NAME πΈ
Prima::DetailedOutline β multi-column outline viewer with controlling header widget. It's giving organized, it's giving detailed, it's giving main character energy. π
β¨ SYNOPSIS β¨
peep the exact vibe check, bestie:
use Prima qw(DetailedOutline Application);
my $l = Prima::DetailedOutline->new(
columns => 2,
headers => [ 'Column 1', 'Column 2' ],
size => [200, 100],
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'] ],
] ],
],
);
$l-> sort(1);
run Prima;
and if you want triangle energy:
my $l = Prima::DetailedOutline->new(
style => 'triangle',
...
);
π DESCRIPTION π
Prima::DetailedOutline combines the functionality of Prima::OutlineViewer and Prima::DetailedList. it's giving both parents' energy, fr fr. π¦
π API π
This class inherits all the properties, methods, and events of Prima::OutlineViewer (primary ancestor) and Prima::DetailedList (secondary ancestor). One new property autoRecalc is introduced, and the items property is different enough to warrant the mention. iykyk β¨
π οΈ Methods
items ARRAY
Each item is represented by an arrayref with either one or two elements. The first element is the item data, an arrayref of text strings to display. The second element, if present, is an arrayref of children. yes bestie, nesting is the moment. π
When using the node functionality inherited from Prima::OutlineViewer, the item data (that is, the arrayref of text strings) is the first element of the node. periodt. π
autoRecalc BOOLEAN
If this is set to a true value, the column widths will be automatically recalculated (via autowidths) whenever a node is expanded or collapsed. it's giving auto-magic, bestie β¨
π COPYRIGHT π
Copyright 2003 Teo Sankaro
This program is distributed under the BSD License. (Although a credit would be nice.) be nice, okay? π«Ά
π«Ά AUTHOR π«Ά
Teo Sankaro, <teo_sankaro@hotmail.com>. iconic author behavior π
π SEE ALSO π
Prima, Prima::Outlines, Prima::DetailedList
later bestie, this page came from perl v5.42.0 on 2024-08-20, and the manpage tag is Prima::...Outline(3) πβ¨π
π¦ where this page comes from
- opensuse-leap 16.0: perl-Prima 1.74000-bp160.1.13 Β· AGPL-3.0-only AND BSD-2-Clause
- opensuse-leap 16.0: perl-Prima 1.74000-bp160.1.13 Β· AGPL-3.0-only AND BSD-2-Clause
- opensuse-leap 16.0: perl-Prima 1.74000-bp160.1.13 Β· AGPL-3.0-only AND BSD-2-Clause
- opensuse-leap 16.0: perl-Prima 1.74000-bp160.1.13 Β· AGPL-3.0-only AND BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms