Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 1.89 KB

README.md

File metadata and controls

45 lines (28 loc) · 1.89 KB

HxWebView

Haxe/hxcpp @:native bindings for webview.


This library only works with the Haxe cpp target via hxcpp.


Installation

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

Linux Usage

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.

Regarding embedding

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.

Usage examples

Check out the examples folder for examples on how you can use these webview bindings, the examples are the same as the official ones.

Licensing

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