FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    SetClipboardTextAction

    struct · ferroui-xaml-interactions · v0.5.0

    struct SetClipboardTextAction
    

    An action that will set the text to the clipboard.

    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<SetClipboardTextAction>
    

    Returns a strong reference to this object.

    Source

    clipboard_property

    fn clipboard_property() -> &'static StyledProperty<Option<ClipboardRef>>
    

    Identifies the Clipboard property.

    Source

    text_property

    fn text_property() -> &'static StyledProperty<Option<String>>
    

    Identifies the Text property.

    Source

    construct

    fn construct() -> Self
    

    Creates the class data; see ferroui_base::FerroObject::construct.

    Source

    new

    fn new() -> Ref<Self>
    

    Creates an action.

    Source

    clipboard

    fn clipboard(self: &Self) -> Option<ClipboardRef>
    

    Gets or sets the clipboard to use. This is a property of the object model.

    Source

    set_clipboard

    fn set_clipboard(self: &Self, value: Option<ClipboardRef>)
    

    Source

    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.

    Source

    set_text

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

    Source

    Trait implementations

    Availability

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