menuF :: (Graphic a, Graphic c) => a -> [(b, c)] -> F b b
menuF name alts
menuFprovides a drop down menu. A drop down menu consists of a menu activation button and a menu. The menu is normally hidden, but appears below the activation button when it is pressed, so that an item can be picked from the menu. The menu is removed as soon as the mouse button is released.
name :: a
alts :: [(b, c)]
menuF "File" [(New,"New"), (Open,"Open..."), (Save, "Save"), (SaveAs, "Save as..."), (Close, "Close"), (Quit, "Quit")]