17. StdFileSelect
Prev |  | Next

## 17. StdFileSelect

    selectInputFile :: ps -> GUI ps (Maybe FilePath, ps)

    selectOutputFile :: String -> String -> ps -> GUI ps (Maybe FilePath, ps)

    selectDirectory :: ps -> GUI ps (Maybe FilePath, ps)

`selectInputFile`

  opens a dialog for file selecting and returns the selected file name. If the file doesn't exist, the function shows a popup message box with a warning message.

`selectOutputFile`

  opens a dialog for file selecting and returns the selected file name. If the file already exists, the function shows a popup message box with a warning message.

`selectDirectory`

  opens a dialog for directory selecting.

Prev |  | Next
16. StdTimer | Home | 18. StdSound