24
edits
Line 224: | Line 224: | ||
NPError NPN_PopUpContextMenu(NPP npp, NPNSMenu *menu) | NPError NPN_PopUpContextMenu(NPP npp, NPNSMenu *menu) | ||
Note that this must be called from the NPP_HandleEvent callback, and will return an error otherwise. | Note that this must be called from the NPP_HandleEvent callback, and will return an error otherwise. The top left corner of the menu will be positioned at the location corresponding to the current event being handled. | ||
The NPNSMenu is a typedef to NSMenu. | The NPNSMenu is a typedef to NSMenu. |
edits