tauri_sys::window

Function all_windows

source
pub fn all_windows() -> impl IntoIterator<Item = WebviewWindow>
Expand description

Gets a list of instances of WebviewWindow for all available webview windows.

ยงExample

use tauri_sys::window::all_windows;
use web_sys::console;

let windows = all_windows().await?;

for win in windows {
    console::log_1(&format!("{:?}", win).into());
}