i_slint_core::input

Function process_mouse_input

Source
pub fn process_mouse_input(
    component: ItemTreeRc,
    mouse_event: MouseEvent,
    window_adapter: &Rc<dyn WindowAdapter>,
    mouse_input_state: MouseInputState,
) -> MouseInputState
Expand description

Process the mouse_event on the component, the mouse_grabber_stack is the previous stack of mouse grabber. Returns a new mouse grabber stack.