Skip to main content

dispatch_runtime_output

Function dispatch_runtime_output 

Source
pub fn dispatch_runtime_output(
    output: RuntimeOutput,
    application: &ApplicationContext,
    window: &WindowId,
    handle_default_action: impl FnMut(UiDefaultAction) -> RuntimeOutput,
    finish_context: impl FnMut(UiEventContext),
) -> RuntimeOutput
Expand description

Executes every handler and control default action produced by one runtime input pass.

Platform backends translate native input and provide the default-action callback. Application crates may observe each completed context to consume typed host commands, while propagation and control behavior remain owned by the GUI runtime.