Answers for "getting rid of the menu bar in electron"

3

electron remove default menu

//Remove default menu for every new window
electron.app.on('browser-window-created',function(e,window) {
      window.setMenu(null);
});
Posted by: Guest on December-23-2020
0

remove menu bar electron

win.removeMenu(true)
Posted by: Guest on December-02-2020

Code answers related to "getting rid of the menu bar in electron"

Code answers related to "Javascript"

Browse Popular Code Answers by Language