Skip to main content

toggle_tray_popover

Function toggle_tray_popover 

Source
pub fn toggle_tray_popover(app: &AppHandle, state: &TrayState)
Expand description

Pure function variant of tray_toggle_popover — not a Tauri command. Calls toggle_tray_popover_at with no click position so the window opens at its previous position (or the OS-default position on first show). Used by the IPC bus and the no-position fallback for synthetic clicks in tests.