NPAPI:CocoaEventModel: Difference between revisions

Jump to navigation Jump to search
Line 203: Line 203:
To pop up a context menu, the following function should be used
To pop up a context menu, the following function should be used


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.
Confirmed users, Bureaucrats and Sysops emeriti
1,680

edits

Navigation menu