popupShellF :: String -> Maybe Point -> F a b -> F a (a, b) popupShellF' :: Customiser ShellF -> String -> Maybe Point -> F a b -> F a (a, b)
popupShellF title opos fudget
popupShellF
provides the basic machinery to create popup dialogs.
(inputPopupF can be used to create standard dialog popups with OK/Cancel
buttons.)
It is a shell in which
a fudget is placed. When a message is sent to the popup shell, the dialog
appears on the screen. When a message is output from the contained fudget,
the dialog is removed from the screen.
popupShellF'
is a customisable version of popupShellF
.
title :: String
opos :: Maybe Point
Just pos
makes the dialog popup at position pos
on the screen. Nothing
pops up the dialog at a builtin
default position.
The size of the window is determined by the dynamic layout
system.
fudget :: F a b
Standard input dialogs: inputPopupF, stringPopupF, et al.
Variant of popupShellF
: posPopupShellF.