Prima::StdDlg - wrapper module to the toolkit standard dialogs


Prima documentation  | view source Contained in the Prima distribution.

Index


NAME

Top

Prima::StdDlg - wrapper module to the toolkit standard dialogs

DESCRIPTION

Top

Provides a unified access to the toolkit dialogs, so there is no need to use the corresponding module explicitly.

SYNOPSIS

Top

	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;

API

Top

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

Top

Anton Berezin <tobez@plab.ku.dk>, Dmitry Karasik, <dmitry@karasik.eu.org>.

SEE ALSO

Top

Prima, Prima::Classes


Prima documentation  | view source Contained in the Prima distribution.