wry 0.12.1

Cross-platform WebView rendering library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Examples

Run the `cargo run --example <file_name>` to see how each example works.

- `hello_world`: the basic example to show the types and methods to create an application.
- `fullscreen`: full screen example demonstrates how to configure the window with attributes.
- `transparent`: transparent example that also show how to create a valid data URI.
- `rpc`: A RPC example to explain how to use the RPC handler and interact with it.
- `multi_window`: create the window dynamically even after the application is running.
- `dragndrop`: example for file drop handler.
- `custom_titlebar`: A frameless window with custom title-bar to show `drag-region` class in action.
- `custom_protocol`: uses a custom protocol to load files from bytes.
- `html`: load the html string and load other assets with custom protocol.
- `detect_js_ecma`: detects which versions of ECMAScript is supported by the webview.
- `menu_bar`: uses a custom menu for the application in macOS and the Window and Linux/Windows.
- `system_tray`: sample tray application with different behaviours.
- `system_tray_no_menu`: open window on tray icon left click.