Prima::...Outline(3)

πŸ“¦
version 1.74000 Β· 5 versions
, in opensuse-leap 16.0

✨ 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 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