void insertMenuItem(@NotNull CWidgetId aWidgetId, @NotNull CEventInsertMenuItem aEvent);
This function inserts a new menu item.