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 dialogmy $file = Prima::open_file;print "You've selected: $file\n" 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 <[email protected]>, Dmitry Karasik, <[email protected]>.
SEE ALSO
Prima, Prima::Classes