SetClipboardTextAction
struct · ferroui-xaml-interactions · v0.5.0
struct SetClipboardTextAction
An action that will set the text to the clipboard.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<SetClipboardTextAction>
Returns a strong reference to this object.
clipboard_property
fn clipboard_property() -> &'static StyledProperty<Option<ClipboardRef>>
Identifies the Clipboard property.
text_property
fn text_property() -> &'static StyledProperty<Option<String>>
Identifies the Text property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates an action.
clipboard
fn clipboard(self: &Self) -> Option<ClipboardRef>
Gets or sets the clipboard to use. This is a property of the object model.
set_clipboard
fn set_clipboard(self: &Self, value: Option<ClipboardRef>)
text
fn text(self: &Self) -> Option<String>
Gets or sets the text to set to the clipboard. This is a property of the object model.
set_text
fn set_text(self: &Self, value: Option<String>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherStyledElementActionImplExtDerefUpcast<T>Upcast<SetClipboardTextAction>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplStyledElementImplStyledElementActionImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.