davidanthoff / Electron.jl

Julia wrapper for Electron
Other
85 stars 19 forks source link

browser test #101

Open whiffee opened 2 years ago

whiffee commented 2 years ago

Hoping you can entertain a dumb question.

The code below constructs a browser window, but as a child window. Can I modify it to get just the browser window by itself, or do I need to go to lower level API commands? thanks, Gary

<!DOCTYPE html>
<html>
<body>

<script>
const {BrowserWindow} = require('electron').remote

mainWindow = new BrowserWindow({width: 640, height: 360})
mainWindow.setMenuBarVisibility(true)
</script>

</body>
</html>