posPopupShellF :: String -> [WindowAttributes] -> F c a -> F (c, Maybe Point) (c, a)
posPopupShellF title wattrs fudget
posPopupShellF
is used to create popup dialogs. 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.
(x,optpos)
is input, x
is propagated to the contained
fudget and the window is popped up att the position pos
if
optpos
is Just pos
or under the pointer if
optpos
is Nothing
.
title :: String
wattrs :: [WindowAttributes]
CWSaveUnder True
and
CWOverrideRedirect True
are common attributes
for popup windows.
fudget :: F c a