Haxe/hxcpp @:native bindings for webview.
This library only works with the Haxe cpp
target via hxcpp
.
haxelib install HxWebView
or with git for the latest potentially unstable updates.
haxelib git HxWebView https://github.com/SanicBTW/HxWebView.git dev-0.1.0
In order to use the library in Linux you must have webkit2gtk
and gtk3
installed in your system.
You can check this file to see the specific name libraries for your distro.
With the current header file, you should be able to embed the WebView into an existing window in any platform but it requires using widgets.
As I currently don't know how to use widgets on Haxe, embedding is somewhat a difficult topic.
However I will keep looking for a way to do it and keep y'all updated.
Check out the examples folder for examples on how you can use these webview bindings, the examples are the same as the official ones.
HxWebView
is made available via the MIT license, the same license as webview.
Using 15/02 header file
Using 1.0.2420.47 WebView2 SDK and 124.0.2478.51 Fixed Version WebView2 Runtime for the Embedded WebView DLLs