- suppressScimBridge :: IO ()
- showChoicesDialog :: String -> String -> [String] -> [IO a] -> IO a
- defaultDialogPosition :: WindowPosition
- runDialogM :: Dialog -> a -> (a -> IO (Maybe b)) -> IO (Maybe b)
- runDialogS :: Dialog -> a -> (a -> IO (SuccFail b)) -> IO (Maybe b)
- showInputErrorMessage :: String -> IO ()
- showErrorMessage :: String -> IO ()
- showInfoMessage :: String -> String -> IO ()
- showMessage :: Maybe String -> MessageType -> ButtonsType -> String -> IO ()
- data EntryDialog a
- type Reader a b = a -> SuccFail b
- createEntryDialog :: String -> [String] -> [String] -> Reader [String] a -> Int -> IO (EntryDialog a)
- runEntryDialog :: Show a => EntryDialog a -> IO (Maybe a)
- addEntryWithLabel :: VBox -> (String, Entry, String) -> IO ()
Documentation
showChoicesDialog :: String -> String -> [String] -> [IO a] -> IO aSource
Show a message and a set of choices; run the action corresponding to the selected choice; you might want to include a Cancel option with the action return (). There *should* be as many actions as there are options.
defaultDialogPosition :: WindowPositionSource
Where to put a dialog window. Possible values are WinPosNone WinPosCenter WinPosMouse WinPosCenterAlways WinPosCenterOnParent
runDialogS :: Dialog -> a -> (a -> IO (SuccFail b)) -> IO (Maybe b)Source
Customizable framework for running a dialog
showErrorMessage :: String -> IO ()Source
showMessage :: Maybe String -> MessageType -> ButtonsType -> String -> IO ()Source
data EntryDialog a Source
createEntryDialog :: String -> [String] -> [String] -> Reader [String] a -> Int -> IO (EntryDialog a)Source
runEntryDialog :: Show a => EntryDialog a -> IO (Maybe a)Source