Merge pull request #5487 from felixrieseberg/windows-dialog-array

Document Dialog Buttons Behavior on Windows
This commit is contained in:
Cheng Zhao 2016-05-12 09:26:28 +09:00
commit f6d4af8882

View file

@ -88,7 +88,7 @@ will be passed via `callback(filename)`
* `type` String - Can be `"none"`, `"info"`, `"error"`, `"question"` or
`"warning"`. On Windows, "question" displays the same icon as "info", unless
you set an icon using the "icon" option.
* `buttons` Array - Array of texts for buttons.
* `buttons` Array - Array of texts for buttons. On Windows, an empty array will result in one button labeled "OK".
* `defaultId` Integer - Index of the button in the buttons array which will
be selected by default when the message box opens.
* `title` String - Title of the message box, some platforms will not show it.