data Item a = Item a Gfx Keys instance Graphic (Item a) instance Eq a => Eq (Item a) item :: Graphic a1 => a2 -> a1 -> Item a2 key :: Item a -> String -> Item a
The type Item
is used to combine a value with the graphical object that will
represent it in a menu, and possibly the key that will be used as a keyboard
shortcut to select it. The keyboard shortcut will appear in the graphical
representation.