Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- 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
:: 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 #
messageBoxType, messageBoxValue