[go: up one dir, main page]

HxWebView

Haxe cross-platform desktop bindings for webview.
https://github.com/SanicBTW/HxWebView

To install, run:

haxelib install HxWebView 0.0.9 

See using Haxelib in Haxelib documentation for more information.

README.md

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

Contributors
Vortex
SanicBTW
Version
0.0.9
Published
1 year ago
Dependencies
License
MIT

All libraries are free

Every month, more than a thousand developers use Haxelib to find, share, and reuse code — and assemble it in powerful new ways. Enjoy Haxe; It is great!

Explore Haxe

Haxe Manual

Haxe Code Cookbook

Haxe API documentation

You can try Haxe in the browser! try.haxe.org

Join us on GitHub!

Haxe is being developed on GitHub. Feel free to contribute or report issues to our projects.

Haxe on GitHub