add native window/webview builtins to el runtime

Adds five new builtins backed by wry 0.47 + tao 0.30:
- window_open(title, width, height) — configure window
- webview_load_url(url) — set URL to navigate to
- webview_load_html(html) — set HTML to display
- webview_eval(js) — queue JS to eval after load
- window_run() — open native OS window and run event loop (blocking, exits on close)

WebViewState is stored in a thread_local. window_run() calls
tao's event_loop.run() which never returns; process exits when
the window is closed via std::process::exit(0).
This commit is contained in:
Will Anderson
2026-04-28 14:14:34 -05:00
parent 07cfde2402
commit b9d096ef5b
4 changed files with 2189 additions and 61 deletions
Generated
+2081 -61
View File
File diff suppressed because it is too large Load Diff