The webview-window module creates native windows at runtime:
WebviewWindow extends Window with every query/control method and
adds create(), which really creates a second (and further) window
while the app runs — a port of @tauri-apps/api/webviewWindow.
Runtime windows enter the host webview registry like any other, with
label routing, per-window events and registry cleanup on close.
The options object WebviewWindowOptions: title / width /
height / url / html. For declarative creation (windows[] in
ztron.conf.json, startup states applied by AppBuilder.fromConfig)
see the Windows guide.
webview-window has no plugin commands of its own: create() reuses the
built-in plugin:webview|create, other operations reuse
plugin:window|*. Both are granted by the core:default permission
set in a capability; no scope.
Example (adapted from examples/hello/frontend/src/main.ts, create →
operate → destroy mid-run; the anchors MULTI_WINDOW_OK,
SECOND_WINDOW_OK label=second are its real run outputs):
No dedicated commands: creation goes through plugin:webview|create
(one of the 7 plugin:webview commands), window operations through the
85 plugin:window|*. Full list in the
Commands Reference.
Applicable version: ztron 0.3.1