Editor.MainMenu

The main menu module for manipulating main menu items.

Methods

Editor.MainMenu.apply ()

Apply main menu changes.

Editor.MainMenu.add (path, template)

Send main-menu:add to main process.

Editor.MainMenu.init ()

Send main-menu:init to main process.

Editor.MainMenu.remove (path)

Send main-menu:remove to main process.

Editor.MainMenu.set (path, options)

Send main-menu:set to main process.

Editor.MainMenu.update (path, template)

Send main-menu:update to main process.