How to special the content of the toolbar?


When we open the electron, there are three tools items in the top:File, View and Help. Is there some way to special the content of toolbar in the electron?


You can use the menu module to create custom menus. The one you see in development is only a convenience and won’t show up in a packaged application.


Thanks @john. I read the document of the menu module, and I think the function Menu.setApplicationMenu(menu) is some thing that I want.

In past I looked for some things about tool-bar, now I know that is wrong direction.
Again thank you for your help!