filePickF

Types

filePickF :: F String (InputMsg String)

Description

filePickF provides a file selection dialog. It consists of three fields: directory string input field, a file list, and a file string input field. A file is normally selected by clicking on it in the file list, but it is also possible to select a directory by entering its path in the directory input field, or to enter a file name directly in the file input field.

Input

A directory path. By default, the current directory is displayed.

Output

The selected file.

Example

 startupF ["/usr/bin"] filePickF

See Also

stringF, stringPopupF.