Skip to main content

request_window_debug_capture

Function request_window_debug_capture 

Source
pub fn request_window_debug_capture(
    window_id: WindowId,
    request: DebugCaptureRequest,
    wake: Option<AsyncWakeToken>,
) -> DebugCaptureTicket
Expand description

Ask for a capture of window_id after its next redraw. When it is done, wake (if any) is delivered to the widget that registered it; collect the artifact with take_window_debug_capture.