| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Graphics.UI.TinyFileDialogs
Contents
- messageBox :: MessageBox a => Text -> Text -> IconType -> a -> IO a
- inputBox :: Text -> Text -> Maybe Text -> IO (Maybe Text)
- saveFileDialog :: Text -> Text -> [Text] -> Text -> IO (Maybe Text)
- openFileDialog :: Text -> Text -> [Text] -> Text -> Bool -> IO (Maybe [Text])
- selectFolderDialog :: Text -> Text -> IO (Maybe Text)
- colorChooser :: Text -> (Word8, Word8, Word8) -> IO (Maybe (Word8, Word8, Word8))
- data IconType
- class (Enum a, Bounded a) => MessageBox a
- data OK = OK
- data OKCancel
- data YesNo
- data YesNoCancel
- = YNC_Yes
- | YNC_No
- | YNC_Cancel
The functions
Arguments
| :: MessageBox a | |
| => Text | title |
| -> Text | message, may contain |
| -> IconType | |
| -> a | default button |
| -> IO a |
Message box options
class (Enum a, Bounded a) => MessageBox a Source #
Minimal complete definition
messageBoxType, messageBoxValue
Instances
Constructors
| OK |
data YesNoCancel Source #
Constructors
| YNC_Yes | |
| YNC_No | |
| YNC_Cancel |