Declaration

optional func addMenuItems(
    for theEvent: NSEvent,
    to theMenu: NSMenu
)

Declaration

- (void) addMenuItemsForEvent:(NSEvent *) theEvent
                       toMenu:(NSMenu *) theMenu;

Declaration

addMenuItemsForEvent_toMenu_(
    theEvent: NSEvent,
    theMenu: NSMenu
)

Parameters

theEvent

The current event

theMenu

The context menu to add to