hs-fltk-0.2.5: Binding to GUI library FLTK

Graphics.UI.FLTK.Ask

Synopsis

Documentation

input :: String -> IO StringSource

Display a message with a single line input and return the result.

ask :: String -> IO BoolSource

Ask a simple question with Ok and Cancel.

message :: String -> IO ()Source

Display a messagebox.

dirChooser :: String -> FilePath -> IO FilePathSource

Choose a directory. The first argument is the dialog title and the second one the initial location.

fileChooser :: String -> String -> FilePath -> IO FilePathSource

Choose a file. This first argument is the dialog title. The second one is filename patterns in the format like "Haskell (*.{hs,lhs})\tC (*.c)". The final argument is the start location.