uni-htk-2.2.1.1: Graphical User Interface for Haskell Programs

HTk.Toolkit.FileDialog

Description

HTk's file dialog box.

Synopsis

Documentation

fileDialogStrSource

Arguments

:: String

the window title of the file dialog box.

-> FilePath

the filepath to browse.

-> IO (Event (Maybe FilePath))

An event (returning the selected FilePath if available) that is invoked when the file dialog is finished.

Opens a file dialog box for a file which should already exist.

newFileDialogStrSource

Arguments

:: String

the window title of the file dialog box.

-> FilePath

the filepath to browse.

-> IO (Event (Maybe FilePath))

An event (returning the selected FilePath if available) that is invoked when the file dialog is finished.

Opens a file dialog box for a file which is to be created.

fileDialogSource

Arguments

:: String

the window title of the file dialog box.

-> Ref FilePath

reference to filepath to browse.

-> IO (Event (Maybe FilePath))

An event (returning the selected FilePath if available) that is invoked when the file dialog is finished.

Opens a file dialog box for a file which should already exist.

newFileDialogSource

Arguments

:: String

the window title of the file dialog box.

-> Ref FilePath

refernce to filepath to browse.

-> IO (Event (Maybe FilePath))

An event (returning the selected FilePath if available) that is invoked when the file dialog is finished.

Opens a file dialog box for a file which is to be created.