azul_core::window_state

Function determine_callbacks

Source
pub fn determine_callbacks(
    window_state: &mut FullWindowState,
    hit_test_items: &[HitTestItem],
    ui_state: &UiState,
) -> CallbacksOfHitTest
Expand description

Determine which event / which callback(s) should be called and in which order

This function also updates / mutates the current window states focused_node as well as the window_state.previous_state