Generic function
Returns a menu object created from the specified items.
make-menu-from-items framem items #key owner title label-key value-key foreground background text-style => menu
<frame-manager>.
<sequence>.
<sheet>.
<string>.
<function>. Default value: identity.
<function>. Default value: identity.
false-or(<ink>). Default value: #f.
false-or(<ink>). Default value: #f.
<text-style>.
<menu>.
duim-gadgets
duim-gadgets
Returns a menu object created from the specified items.
The framem argument lets you specify a frame manager.
The owner argument is used to specify which sheet owns the menu. If you fail to supply this, then the menu will be owned by the entire screen.
You can specify a title, if desired.
The label-key and value-key can be functions used to compute the label and value for each item in the menu, respectively. For more information, see gadget-label-key, page 570, or gadget-value-key, page 589. In general, the label key can be trusted to "do the right thing" by default.
The text-style argument specified a text style for the menu. The foreground and background arguments specify foreground and background colors for the menu: foreground being used for the text in the menu, and background for the menu itself.