tinyfiledialogs-0.1.0.0: Wrapper around the 'tiny file dialogs' C library

Safe HaskellSafe
LanguageHaskell2010

Graphics.UI.TinyFileDialogs

Documentation

messageBox Source #

Arguments

:: Text

title

-> Text

message, may contain \n and \t

-> DialogType 
-> IconType 
-> Bool

default button: False for cancel/no, True for ok/yes

-> IO Bool

False for cancel/no, True for ok/yes

inputBox Source #

Arguments

:: Text

title

-> Text

message, may NOT contain \n and \t on windows

-> Maybe Text

default input, if Nothing it's a passwordBox

-> IO (Maybe Text)

returns Nothing on cancel

saveFileDialog Source #

Arguments

:: Text

title

-> Text

default path and file

-> [Text]

filter patterns, ["*.jpg","*.png"]

-> Text

single filter description, "text files"

-> IO (Maybe Text)

returns Nothing on cancel

openFileDialog Source #

Arguments

:: Text

title

-> Text

default path and file

-> [Text]

filter patterns, ["*.jpg","*.png"]

-> Text

single filter description, "text files"

-> Bool

allow multiple selects

-> IO (Maybe [Text])

returns Nothing on cancel

selectFolderDialog Source #

Arguments

:: Text

title

-> Text

default path

-> IO (Maybe Text)

returns Nothing on cancel

colorChooser Source #

Arguments

:: Text

title

-> (Word8, Word8, Word8)

default RGB color

-> IO (Maybe (Word8, Word8, Word8))

returns Nothing on cancel