mirror of
https://github.com/electron/electron.git
synced 2026-01-10 07:58:08 -05:00
Merge pull request #105 from atom/windows-menu
Implement menu API on Windows, fixes #75.
This commit is contained in:
@@ -79,12 +79,16 @@ code will not run.
|
||||
|
||||
Returns the version of current bundle or executable.
|
||||
|
||||
## app.getBrowserWindows()
|
||||
|
||||
Returns an array of all browser windows.
|
||||
|
||||
## app.commandLine.appendSwitch(switch, [value])
|
||||
|
||||
Append a switch [with optional value] to Chromium's command line.
|
||||
|
||||
**Note:** This will not affect `process.argv`, and is mainly used by
|
||||
**developers to control some low-level Chromium behaviors.
|
||||
**Note:** This will not affect `process.argv`, and is mainly used by developers
|
||||
to control some low-level Chromium behaviors.
|
||||
|
||||
## app.commandLine.appendArgument(value)
|
||||
|
||||
|
||||
@@ -23,5 +23,5 @@
|
||||
|
||||
## Notes on accelerator
|
||||
|
||||
On OS X, the `Ctrl` would automatically translated to `Command`, if you really
|
||||
want `Ctrl` on OS X, you should use `MacCtrl`.
|
||||
On Linux and Windows, the `Command` would be translated to `Ctrl`, so usually
|
||||
you can use `Command` for most of the commands.
|
||||
|
||||
Reference in New Issue
Block a user