Answers for "electron custom close menu"

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
1

electron hide top bar

mainWindow.setMenuBarVisibility(false) //partially
Posted by: Guest on July-23-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language