Answers for "electron default menu remove"

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 disable menu

my_window.setMenu(false);
Posted by: Guest on July-25-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language