inputPopupF :: String -> InF a c -> Maybe c -> F (Maybe String, Maybe a) ((Maybe String, Maybe a), c)
inputPopupF title fudget default
type InF a b = F a (InputMsg b)
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 :: InF a c
default :: Maybe c
Nothing
, the user
must supply a value, i.e., there is no default.
inputPopupF "File Picker" filePickF Nothing
inputPopupF
:
messagePopupF, confirmPopupF,
stringPopupF, passwdPopupF.
Fudget used to implement inputPopupF
: popupShellF.
Fudgets useful in dialog popups: filePickF, stringF.
Composing dialogs elements: inputPairF et al.