1Prima::DetailedOutline(U3s)er Contributed Perl DocumentatPiroinma::DetailedOutline(3)
2
3
4

NAME

6       Prima::DetailedOutline - a multi-column outline viewer with controlling
7       header widget.
8

SYNOPSIS

10         use Prima::DetailedOutline;
11
12         my $l = $w-> insert( 'Prima::DetailedList',
13               columns => 2,
14               headers => [ 'Column 1', 'Column 2' ],
15               items => [
16                     [ ['Item 1, Col 1', 'Item 1, Col 2'], [
17                           [ ['Item 1-1, Col 1', 'Item 1-1, Col 2'] ],
18                           [ ['Item 1-2, Col 1', 'Item 1-2, Col 2'], [
19                                 [ ['Item 1-2-1, Col 1', 'Item 1-2-1, Col 2'] ],
20                           ] ],
21                     ] ],
22                     [ ['Item 2, Col 1', 'Item 2, Col 2'], [
23                           [ ['Item 2-1, Col 1', 'Item 2-1, Col 2'] ],
24                     ] ],
25               ],
26         );
27         $l-> sort(1);
28

DESCRIPTION

30       Prima::DetailedOutline combines the functionality of
31       Prima::OutlineViewer and Prima::DetailedList.
32

API

34       This class inherits all the properties, methods, and events of
35       Prima::OutlineViewer (primary ancestor) and Prima::DetailedList
36       (secondary ancestor).  One new property is introduced, and one property
37       is different enough to warrant mention.
38
39   Methods
40       items ARRAY
41           Each item is represented by an arrayref with either one or two
42           elements.  The first element is the item data, an arrayref of text
43           strings to display.  The second element, if present, is an arrayref
44           of child items.
45
46           When using the node functionality inherited from
47           Prima::OutlineViewer, the item data (that is, the arrayref of text
48           strings) is the first element of the node.
49
50       autoRecalc BOOLEAN
51           If this is set to a true value, the column widths will be
52           automatically recalculated (via "autowidths") whenever a node is
53           expanded or collapsed.
54
56       Copyright 2003 Teo Sankaro
57
58       This program is distributed under the BSD License.  (Although a credit
59       would be nice.)
60

AUTHOR

62       Teo Sankaro, <teo_sankaro@hotmail.com>.
63

SEE ALSO

65       Prima, Prima::Outlines, Prima::DetailedList
66
67
68
69perl v5.28.0                      2017-03-24         Prima::DetailedOutline(3)
Impressum