FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    CommitTextBox

    struct · ferroui-diagnostics · v0.5.0

    struct CommitTextBox
    

    A text box whose text is committed to committed_text when Enter is pressed or the focus leaves it, and reverted when Escape is pressed: the text of an edit that does not convert is never committed.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<CommitTextBox>
    

    Returns a strong reference to this object.

    Source

    committed_text_property

    fn committed_text_property() -> &'static DirectProperty<CommitTextBox, Option<String>>
    

    Defines the CommittedText property.

    Source

    construct

    fn construct() -> Self
    

    Source

    new

    fn new() -> Ref<Self>
    

    Source

    committed_text

    fn committed_text(self: &Self) -> Option<String>
    

    Source

    set_committed_text

    fn set_committed_text(self: &Self, value: Option<String>)
    

    Source

    Trait implementations

    Availability

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