# `GlyphsReporter addMenuItemsForEvent:toMenu:`

*Instance Method*

add something to the context menu

## Declaration

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

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

```python
addMenuItemsForEvent_toMenu_(theEvent: NSEvent, theMenu: NSMenu)
```

## Parameters

- `theEvent` — The Event that initiated the context menu. That can be used to determine mouse position.
- `theMenu` — The NSMenu where you can add your menu items.

## Discussion

Will be called for active reporter plugins. This allows to have some settings.

