Skip to main content

window_lifecycle_state

Function window_lifecycle_state 

Source
pub fn window_lifecycle_state(visible: bool, focused: bool) -> LifecycleState
Expand description

The lifecycle state of a window or browser page that is visible and has keyboard focused, mapped the way Compose Multiplatform maps desktop windows: resumed while focused, paused while only visible, and stopped while minimized, hidden or in a background tab.