cosmic::widget::text_input

Function inline_input

source
pub fn inline_input<'a, Message>(
    placeholder: impl Into<Cow<'a, str>>,
    value: impl Into<Cow<'a, str>>,
) -> TextInput<'a, Message>
where Message: Clone + 'static,
Expand description

Creates a new inline TextInput.