Pops up the menu at the specified location.
- macOS 10.6+
The menu item to be positioned at the specified location in the view.
The location in the
viewcoordinate system to display the menu item.
The view to display the menu item over.
true if menu tracking ended because an item was selected, and
false if menu tracking was cancelled for any reason.
Displays the menu as a pop-up menu. The top left corner of the specified item (if specified,
item must be present in the menu) is positioned at the specified location in the specified view, interpreted in the view's own coordinate system.
nil, the menu is positioned such that the top left of the menu content frame is at the given location.
nil, the location is interpreted in the screen coordinate system. This allows you to pop up a menu disconnected from any window.