[−][src]Trait druid::widget::ValidationDelegate
A type that can be registered to receive callbacks as the state of a
ValueTextBox
changes.
Required methods
pub fn event(
&mut self,
ctx: &mut EventCtx<'_, '_>,
event: TextBoxEvent,
current_text: &str
)
[src]
&mut self,
ctx: &mut EventCtx<'_, '_>,
event: TextBoxEvent,
current_text: &str
)
Called with a TextBoxEvent
whenever the validation state of a
ValueTextBox
changes.