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.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<CommitTextBox>
Returns a strong reference to this object.
committed_text_property
fn committed_text_property() -> &'static DirectProperty<CommitTextBox, Option<String>>
Defines the CommittedText property.
construct
fn construct() -> Self
new
fn new() -> Ref<Self>
committed_text
fn committed_text(self: &Self) -> Option<String>
set_committed_text
fn set_committed_text(self: &Self, value: Option<String>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyInputElementImplExtInteractiveImplExtLayoutableImplExtFerroObjectImplExtStyledElementImplExtClassDefaultsVisualImplExtErasedDestructorIntoEitherTemplatedControlImplExtControlImplExtTextBoxImplExtDerefUpcast<T>Upcast<CommitTextBox>StaticTypeObjectTypeSubclassable<T>VisualImplLayoutableImplInteractiveImplControlImplTemplatedControlImplTextBoxImplDefaultConstructibleStyledElementImplFerroObjectImplInputElementImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.