Expand description
This library provides Rust bindings for the webview library to allow easy creation of cross-platform Rust desktop apps with GUIs based on web technologies.
It supports two-way bindings for communication between the Rust backend and JavaScript frontend.
It uses Cocoa/WebKit on macOS, gtk-webkit2 on Linux and MSHTML (IE10/11) on Windows, so your app will be much leaner than with Electron.
To use a custom version of webview, define an environment variable WEBVIEW_DIR with the path to its source directory.
For usage info please check out the examples and the original readme.
Structs§
- Color
- An RGBA color.
- Dialog
Builder Deprecated - A builder for opening a new dialog window.
- Handle
- A thread-safe handle to a
WebView
instance. Used to dispatch closures onto its task queue. - WebView
- An owned webview instance.
- WebView
Builder - Builder for constructing a
WebView
instance.
Enums§
Traits§
Functions§
Type Aliases§
- WVResult
- A WebView result.