Sets `menu` as the application menu on OS X. On Windows and Linux, the `menu`
will be set as each window's top menu.
-**NOTE** if calling from the main process you can not call this function until after you've recevied the `'ready'` event from the application.
-
-```
-app.on('ready', () => {
- Menu.setApplicationMenu(menu);
- ...
-});
-```
+**Note:** This API has to be called after the `ready` event of `app` module.
### `Menu.sendActionToFirstResponder(action)` _OS X_