iced-yoda/graphics/src/widget/text_input.rs

14 lines
463 B
Rust
Raw Normal View History

2020-05-19 17:15:44 +02:00
//! Display fields that can be filled with text.
//!
//! A [`TextInput`] has some local [`State`].
use crate::Renderer;
2020-05-19 17:15:44 +02:00
pub use iced_native::widget::text_input::State;
2020-05-19 17:15:44 +02:00
pub use iced_style::text_input::{Style, StyleSheet};
/// A field that can be filled with text.
///
/// This is an alias of an `iced_native` text input with an `iced_wgpu::Renderer`.
pub type TextInput<'a, Message, Backend> =
iced_native::widget::TextInput<'a, Message, Renderer<Backend>>;