inputPopupF :: String -> F a (InputMsg b) -> Maybe b -> F (Maybe String, Maybe a) ((Maybe String, Maybe a), b)
inputPopupF title fudget default
inputPopupF
is a general dialog popup fudget. An argument fudget determines
what kind of dialog is created. The popup window contains an
explanatory message, whatever the argument fudget shows, an OK button
and a Cancel button.
Nothing
. Sending a message to inputPopupF
causes the window to
appear on the screen.
title :: String
fudget :: F a (InputMsg b)
default :: Maybe b
Nothing
, the user
must supply a value, i.e., there is no default.
inputPopupF "File Picker" filePickF Nothing
inputPopupF
:
messagePopupF, confirmPopupF,
stringPopupF, passwdPopupF.
Other related combinators: popupShellF, filePickF, stringF.