cosmic::iced_widget

Function mouse_area

source
pub fn mouse_area<'a, Message, Theme, Renderer>(
    widget: impl Into<Element<'a, Message, Theme, Renderer>>,
) -> MouseArea<'a, Message, Theme, Renderer>
where Renderer: Renderer,
Expand description

A container intercepting mouse events.