electron hide menu bar

191

electron remove default menu -

//Remove default menu for every new window
electron.app.on('browser-window-created',function(e,window) {
      window.setMenu(null);
});

electron hide top bar -

mainWindow.setMenuBarVisibility(false) //partially

electronjs remove menubar -

import { Menu } from 'electron'

Menu.setApplicationMenu(null);

Comments

Submit
0 Comments