cosmic::widget::text_input

Function mouse_interaction

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

Computes the current mouse::Interaction of the TextInput.