Struct tauri_runtime::window::DetachedWindow
source · pub struct DetachedWindow<T: UserEvent, R: Runtime<T>> {
pub label: String,
pub dispatcher: R::Dispatcher,
pub menu_ids: Arc<Mutex<HashMap<MenuHash, MenuId>>>,
pub js_event_listeners: Arc<Mutex<HashMap<JsEventListenerKey, HashSet<u64>>>>,
}
Expand description
A webview window that is not yet managed by Tauri.
Fields§
§label: String
Name of the window
dispatcher: R::Dispatcher
The Dispatch
associated with the window.
Maps runtime id to a string menu id.
js_event_listeners: Arc<Mutex<HashMap<JsEventListenerKey, HashSet<u64>>>>
A HashMap mapping JS event names with associated listener ids.