gtk: Map dialog type to message box type

This commit is contained in:
Cheng Zhao 2015-07-07 16:52:53 +08:00
parent 02e28ea758
commit 3e6394a004
4 changed files with 21 additions and 4 deletions

View file

@ -70,7 +70,7 @@ will be passed via `callback(filename)`
* `browserWindow` BrowserWindow
* `options` Object
* `type` String - Can be `"none"`, `"info"` or `"warning"`
* `type` String - Can be `"none"`, `"info"`, `"error"`, `"question"` or `"warning"`
* `buttons` Array - Array of texts for buttons
* `title` String - Title of the message box, some platforms will not show it
* `message` String - Content of the message box