Prima::StdDlg(3) User Contributed Perl Documentation Prima::StdDlg(3)NAME
Prima::StdDlg - wrapper module to the toolkit standard dialogs
DESCRIPTION
Provides a unified access to the toolkit dialogs, so there is no need to "use" the corresponding module explicitly.
SYNOPSIS
use Prima::StdDlg;
Prima::FileDialog-> create-> execute;
Prima::FontDialog-> create-> execute;
# open standard file open dialog
my $file = Prima::open_file;
print "You've selected: $file
" if defined $file;
API
The module accesses the following dialog classes:
Prima::open_file
Invokes standard file open dialog and return the selected file(s). Uses system-specific standard file open dialog, if available.
Prima::save_file
Invokes standard file save dialog and return the selected file(s). Uses system-specific standard file save dialog, if available.
Prima::OpenDialog
File open dialog.
See "Prima::OpenDialog" in Prima::FileDialog
Prima::SaveDialog
File save dialog.
See "Prima::SaveDialog" in Prima::FileDialog
Prima::ChDirDialog
Directory change dialog.
See "Prima::ChDirDialog" in Prima::FileDialog
Prima::FontDialog
Font selection dialog.
See Prima::FontDialog.
Prima::FindDialog
Generic 'find text' dialog.
See Prima::EditDialog.
Prima::ReplaceDialog
Generic 'find and replace text' dialog.
See Prima::EditDialog.
Prima::PrintSetupDialog
Printer selection and setup dialog.
See Prima::PrintDialog.
Prima::ColorDialog
Color selection dialog.
See "Prima::ColorDialog" in Prima::ColorDialog.
Prima::ImageOpenDialog
Image file load dialog.
See "Prima::ImageOpenDialog" in Prima::ImageDialog.
Prima::ImageSaveDialog
Image file save dialog.
See "Prima::ImageSaveDialog" in Prima::ImageDialog.
AUTHORS
Anton Berezin <tobez@plab.ku.dk>, Dmitry Karasik, <dmitry@karasik.eu.org>.
SEE ALSO
Prima, Prima::Classes
perl v5.14.2 2009-02-24 Prima::StdDlg(3)
Check Out this Related Man Page
Prima::DetailedOutline(3) User Contributed Perl Documentation Prima::DetailedOutline(3)NAME
Prima::DetailedOutline - a multi-column outline viewer with controlling header widget.
SYNOPSIS
use Prima::DetailedOutline;
my $l = $w-> insert( 'Prima::DetailedList',
columns => 2,
headers => [ 'Column 1', 'Column 2' ],
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);
DESCRIPTION
Prima::DetailedOutline combines the functionality of Prima::OutlineViewer and Prima::DetailedList.
API
This class inherits all the properties, methods, and events of Prima::OutlineViewer (primary ancestor) and Prima::DetailedList (secondary
ancestor). One new property is introduced, and one property is different enough to warrant mention.
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 child items.
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.
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.
COPYRIGHT
Copyright 2003 Teo Sankaro
You may redistribute and/or modify this module under the same terms as Perl itself. (Although a credit would be nice.)
AUTHOR
Teo Sankaro, <teo_sankaro@hotmail.com>.
SEE ALSO
Prima, Prima::Outlines, Prima::DetailedList
perl v5.14.2 2009-02-24 Prima::DetailedOutline(3)