docs: app.dock.setMenu

This commit is contained in:
Cheng Zhao 2014-11-17 18:48:02 +08:00
parent 0b1b0940d2
commit f706bb45cb

View file

@ -185,3 +185,13 @@ Hides the dock icon.
Shows the dock icon.
**Note:** This API is only available on Mac.
## app.dock.setMenu(menu)
* `menu` Menu
Sets the application [dock menu][dock-menu].
**Note:** This API is only available on Mac.
[dock-menu]:https://developer.apple.com/library/mac/documentation/Carbon/Conceptual/customizing_docktile/concepts/dockconcepts.html#//apple_ref/doc/uid/TP30000986-CH2-TPXREF103