From 296d49dc56e780c692722f0d08de6c09605e1cdb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Machist=C3=A9=20N=2E=20Quintana?= Date: Thu, 16 Jun 2016 12:43:01 -0700 Subject: [PATCH] Make Menu.getApplicationMenu() public Closes https://github.com/electron/electron/issues/6085 --- docs/api/menu.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/api/menu.md b/docs/api/menu.md index 6eba96f..7fe450b 100644 --- a/docs/api/menu.md +++ b/docs/api/menu.md @@ -231,6 +231,10 @@ will be set as each window's top menu. **Note:** This API has to be called after the `ready` event of `app` module. +### `Menu.getApplicationMenu()` + +Returns the application menu (an instance of `Menu`), if set, or `null`, if not set. + ### `Menu.sendActionToFirstResponder(action)` _OS X_ * `action` String -- 2.7.4