Prima::StdDlg - wrapper module to the toolkit standard dialogs
Provides a unified access to the toolkit dialogs, so there is no need to use the corresponding module explicitly.
use
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\n" if defined $file;
The module accesses the following dialog classes:
Invokes standard file open dialog and return the selected file(s). Uses system-specific standard file open dialog, if available.
Invokes standard file save dialog and return the selected file(s). Uses system-specific standard file save dialog, if available.
File open dialog.
See "Prima::OpenDialog" in Prima::FileDialog
File save dialog.
See "Prima::SaveDialog" in Prima::FileDialog
Directory change dialog.
See "Prima::ChDirDialog" in Prima::FileDialog
Font selection dialog.
See Prima::FontDialog.
Generic 'find text' dialog.
See Prima::EditDialog.
Generic 'find and replace text' dialog.
Printer selection and setup dialog.
See Prima::PrintDialog.
Color selection dialog.
See "Prima::ColorDialog" in Prima::ColorDialog.
Image file load dialog.
See "Prima::ImageOpenDialog" in Prima::ImageDialog.
Image file save dialog.
See "Prima::ImageSaveDialog" in Prima::ImageDialog.
Anton Berezin <tobez@plab.ku.dk>, Dmitry Karasik, <dmitry@karasik.eu.org>.
Prima, Prima::Classes
To install Prima, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Prima
CPAN shell
perl -MCPAN -e shell install Prima
For more information on module installation, please visit the detailed CPAN module installation guide.