FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    TextBoxImpl

    trait · ferroui-controls · v0.5.0

    trait TextBoxImpl: TemplatedControlImpl + $crate::Upcast<TextBox>
    

    The overridable members introduced by the class.

    View source

    Members

    coerce_text

    fn coerce_text(this: &Self, value: Option<String>) -> Option<String>
    

    Coerces the current text.

    This method also manages the internal undo/redo state whenever the text changes: if overridden, ensure that the base is called or undo/redo won't work correctly.

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.