-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to hide the window without destroying it. #13
Comments
I am also running into the problem that Destroy is not working. So at the moment, I have no way to control the window once it has been created. If I try to close (unsuccessfully) and then reopen, the whole thing crashes with a fatalsignal. I suspect this is a problem in the core library and not the Go bindings... And... I cannot close it internally via javascript because of error: "Can't close the window since it was not opened by JavaScript". And calling the close binding in Go does not work... this: Window {listeners: Object, Infinity: Infinity, window: Window, NaN: NaN, closewindow: function, …} This is the way I understand the code to work. But it doesn't. Please comment re the Destroy/Terminate. The docs are a bit vague on that. Show/Hide would also be a fantastic addition.
|
|
Is there a way to show/hide the webview without destroying and recreating it? I would like an icon in the taskbar (like lantern systray) that when I click it, the webview ui shows or hides. I don't want to destroy it each time. Just make it invisible.
The text was updated successfully, but these errors were encountered: