I want to programmatically set the BrowserWindow
's frame
property _after_ the window has already been created.
For example:
var win = new electron.BrowserWindow({聽frame: true })
// ... some time goes by
win.setFrame(false)
// ... some time goes by
win.setFrame(true)
Is there any way to do this with electron? Can we add this?
No, it is not possible on most platforms.
It is possible on OS X. Any chance it could be added just for OS X, like the other OS X specific frame features?
+1, QuickTime does this. It would be beneficial for video playback apps being built in Electron.
Most helpful comment
It is possible on OS X. Any chance it could be added just for OS X, like the other OS X specific frame features?