popup-menu

Name

popup-menu -- Popup MENU, a menu object, and warp to the item WARP-TO-INDEX if it is a number.

Synopsis

(popup-menu menu #&optional warp-to-index x-pos y-pos left-side? permit-alt-release-selection?)

Description

Popup menu, a menu object, and warp to the item warp-to-index if it is a number. x-pos, y-pos specify a desired position for the menu, and left-side? should be #t if the menu should be left justified against x-pos, or #f if it should be right justified against x-pos. If permit-alt-release-selection? is #t, then releasing the Alt/Meta modifier select a menu item.

Implementation Notes

Module: Built-in Primitive

Defined in src/menu.c at line 1648 (CVS log)