Frameless BrowserWindow application menu?


#1

Is is possible to use an application menu with a frameless BrowserWindow? It’s not showing up for me.

I would particularly like to use the top menu with the BrowserWindow option auto-hide-menu-bar=true (and frame=false).

Thanks in advance,
Chris


#2

This is seams like the only way to do it. Yes, it will be fullscreen.

mainWindow = new BrowserWindow({
     width: 800
    ,height: 600
    ,frame: true   //it should be enabled on window creation
});

mainWindow.setFullScreen(true); //but could be removed later