---
name: "Prima::StdDlg"
section: "3"
platform: "linux"
package: "libprima-perl"
version: "1.28-1.3+b3"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/Prima::StdDlg"
---

# Prima::StdDlg(3)

wrapper module to the toolkit standard dialogs

## 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\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 \<tobez@plab.ku.dk\>, Dmitry Karasik, \<dmitry@karasik.eu.org\>.

## SEE ALSO

Prima, Prima::Classes
