cosmic::widget::button

Function mouse_interaction

source
pub fn mouse_interaction(
    layout: Layout<'_>,
    cursor: Cursor,
    is_enabled: bool,
) -> Interaction
Expand description

Returns the mouse::Interaction of a Button.