oldPopupMenuF :: (Eq b1, Graphic b2, Foldable t) => ColorName -> Bool -> String -> Button -> [Modifiers] -> t (ModState, KeySym) -> [(b1, b3)] -> (b1 -> b2) -> F c d -> F ([(b1, b4)] ⊕ c) (b1 ⊕ d)
oldPopupMenuF bgcolor grab fname button mods keys alts show_alt fudget
oldPopupMenuFprovides a popup menu. The menu is normally hidden, but pops up when the a specific mouse button is pressed over the fudget to which the popup menu is attached, so that an item can be picked from the menu. The menu is removed as soon as the mouse button is released.
Left xis ignored.
yto be passed to the argument fudget.
Left xis output if menu item
Right yis output if the argument fudget outputs
bgcolor :: ColorName
bgColoris a good default.
grab :: Bool
Truethe menu will pop up even if the pointer is over a subwindow.
fname :: String
xfontsel. (This argument is likely to disappear in the near future. It will be replaced by some resource mechanism.)
button :: Button
mods :: [Modifiers]
keys :: t (ModState, KeySym)
alts :: [(b1, b3)]
show_alt :: b1 -> b2
fudget :: F c d