pub fn current_window() -> WebviewWindow
Expand description
Get an instance of WebviewWindow
for the current webview window.
ยงExample
use tauri_sys::window::current_window;
let win = current_window().await?;
pub fn current_window() -> WebviewWindow
Get an instance of WebviewWindow
for the current webview window.
use tauri_sys::window::current_window;
let win = current_window().await?;