¤ popupShellF

Types

popupShellF :: String -> Maybe Point -> F a b -> F a (a, b)

Synopsis

popupShellF title opos fudget

Description

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.

Input

Input is propagated to the contained fudget

Output

Output from the contained fudget, paired with the last input.

Arguments

title :: String
The window title. Appears in the title bar attached to the window by the window manager.
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
The contained fudget.

See Also

Standard input dialogs: inputPopupF, stringPopupF, et al.

Variant of popupShellF: posPopupShellF.