Trait iui::prelude::TextEntry [−][src]
pub trait TextEntry { fn value(&self, ctx: &UI) -> String; fn set_value(&mut self, ctx: &UI, value: &str); fn on_changed<F: FnMut(String)>(&mut self, ctx: &UI, callback: F); }
Required Methods
fn value(&self, ctx: &UI) -> String
fn set_value(&mut self, ctx: &UI, value: &str)
fn on_changed<F: FnMut(String)>(&mut self, ctx: &UI, callback: F)
Implementors
impl TextEntry for Entry
impl TextEntry for MultilineEntry