PastingFromClipboardEventArgs
struct · ferroui-controls · v0.5.0
struct PastingFromClipboardEventArgs
Provides data specific to a TextBox::pasting_from_clipboard event.
Members
new
fn new<T: ?Sized>(routed_event: &RoutedEvent<T>, clipboard: Option<Rc<dyn IClipboard>>) -> Self
Initializes a new instance of the PastingFromClipboardEventArgs
class.
routed_event is the routed event associated with these event args,
clipboard the clipboard being pasted from.
clipboard
fn clipboard(self: &Self) -> Option<Rc<dyn IClipboard>>
The clipboard being pasted from. This is either the system clipboard or, when pasting via middle-click on platforms supporting it, the primary selection.
None when no clipboard is available; a handler can still handle the
event to provide custom paste behavior.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyToOwnedClassDefaultsErasedDestructorIntoEitherCloneDefaultDerefIRoutedEventArgs
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.