|
| Graphics.UI.GIO.CommonDialogs | | Portability | portable | | Stability | provisional | | Maintainer | ka2_mail@yahoo.com |
|
|
|
|
|
| Description |
| Common dialogs.
|
|
| Synopsis |
|
|
|
| Documentation |
|
| runDirectoryDialog |
| :: String | The dialog title | | -> Maybe Window | The owner window | | -> IO (Maybe FilePath) | The full qualified path to the selected directory | | Runs a dialog to select a directory. Returns Nothing when cancelled. |
|
|
| runInputFileDialog |
| :: String | The dialog title | | -> [(String, [String])] | Filter for acceptable file types. The filter is a
list of pairs where the first element of pair is a
filter name and the second element is a list of
wildcards (example [("Haskell script", ["*.hs", "*.lhs"])]) | | -> Maybe Window | The owner window | | -> IO (Maybe FilePath) | The full qualified path to the selected file | | Run a dialog to select an input file. Returns Nothing when cancelled. |
|
|
| runInputFilesDialog |
| :: String | The dialog title | | -> [(String, [String])] | Filter for acceptable file types. The filter is a
list of pairs where the first element of pair is a
filter name and the second element is a list of
wildcards (example [("Haskell script", ["*.hs", "*.lhs"])]) | | -> Maybe Window | The owner window | | -> IO [FilePath] | The list of full qualified paths for the selected files | | Run a dialog to select one or more input files. Returns empty list when cancelled. |
|
|
| runOutputFileDialog |
| :: String | The dialog title | | -> [(String, [String])] | Filter for acceptable file types. The filter is a
list of pairs where the first element of pair is a
filter name and the second element is a list of
wildcards (example [("Haskell script", ["*.hs", "*.lhs"])]) | | -> FilePath | The default file name | | -> Maybe Window | The owner window | | -> IO (Maybe FilePath) | The full qualified path to the selected file | | Run a dialog to select an output file. Returns Nothing when cancelled. |
|
|
| runFontDialog |
| :: Maybe Window | The owner window | | -> IO (Maybe FontDef) | | | Run a dialog to select a font. Returns Nothing when cancelled. |
|
|
| runColorDialog |
| :: Maybe Window | The owner window | | -> IO (Maybe Color) | | | Run a dialog to select a color. Returns Nothing when cancelled. |
|
|
| runAboutDialog |
| :: String | application name | | -> String | application version | | -> String | copyright | | -> String | comments | | -> [String] | authors | | -> [String] | documenters | | -> String | translator credits | | -> Bitmap | logo | | -> Maybe Window | The owner window | | -> IO () | |
|
|
| Produced by Haddock version 0.4 |