go-webview2
go-webview2 copied to clipboard
WebView2 bindings for pure Go, without CGo, based on the webview/webview bindings.
How to create and use the environmentCompletedHandle or envCompleted
This is because when loading HTML content with SetHTML, we are not autorized to access local content. Look at this function `SetVirtualHostNameToFolderMapping`, I think it is the sollution after reading...
First of all, thanks for the package, it's awesome! I wasn't able to find a way to open a window InPrivate or Incognito, am I missing something? If it's not...
Add a simple option to WindowOptions to control ShowWindow parameter (SW_SHOW, SW_SHOWMAXIMIZED...)
Add methods to invoke the print API, especially the [sillent printing](https://github.com/MicrosoftEdge/WebView2Feedback/issues/1331) methods.
Time has passed and now it should be trivially possible to fix our broken reliance on pointers not moving, as runtime.Pin eventually did arrive in Go 1.21. https://github.com/jchv/go-webview2/blob/master/pkg/edge/chromium.go#L49-L59 We probably...
Hi I notice in pkg\edge\chromium.go, that the package straight up use a 0 pointer for creating WebView2EnvironmentWithOptions, is there a way or guide to show how to set something like...
I use the following code in my program: ``` w := webview2.New(true) w.SetSize(800, 600, webview2.HintNone) ``` I found that the final built application experiences a momentary window size adjustment during...