Skip to main content

inspect_live_window

Function inspect_live_window 

Source
pub fn inspect_live_window<A: ResourceApp, T>(
    inspect: impl FnOnce(&App) -> T,
) -> Result<T, LaunchError>
Expand description

Inspect the window A’s live launch opens: the same definition and component, mounted in a native ui_core::App on a fresh private profile, without running its event loop. For what the window itself declares, such as capture protection.

§Errors

Returns any launch, storage or construction failure.