Safe Haskell | None |
---|---|
Language | Haskell2010 |
- showErrorDialog :: String -> IO ()
- showConfirmationDialog :: String -> IO Bool
- fileCollisionDialog :: ByteString -> IO (Maybe FCollisonMode)
- renameDialog :: ByteString -> IO (Maybe FCollisonMode)
- showAboutDialog :: IO ()
- withConfirmationDialog :: String -> IO () -> IO ()
- withErrorDialog :: IO a -> IO ()
- textInputDialog :: GlibString string => string -> string -> IO (Maybe String)
- showFilePropertyDialog :: [Item] -> MyGUI -> MyView -> IO ()
Documentation
showErrorDialog :: String -> IO () Source #
Pops up an error Dialog with the given String.
showConfirmationDialog :: String -> IO Bool Source #
Asks the user for confirmation and returns True/False.
fileCollisionDialog :: ByteString -> IO (Maybe FCollisonMode) Source #
renameDialog :: ByteString -> IO (Maybe FCollisonMode) Source #
showAboutDialog :: IO () Source #
Shows the about dialog from the help menu.
withConfirmationDialog :: String -> IO () -> IO () Source #
Carry out an IO action with a confirmation dialog. If the user presses No, then do nothing.
withErrorDialog :: IO a -> IO () Source #
Execute the given IO action. If the action throws exceptions,
visualize them via showErrorDialog
.
:: GlibString string | |
=> string | window title |
-> string | initial text in input widget |
-> IO (Maybe String) |
Asks the user which directory copy mode he wants via dialog popup
and returns DirCopyMode
.