ContextMenuEventArgs
struct · ferroui-controls · v0.5.0
struct ContextMenuEventArgs
A text control's synchronous request to open its context menu.
The coordinates are device-independent pixels relative to the visual root.
Setting the inherited Handled flag cancels the associated menu request.
Members
new
fn new(cursor_left: f64, cursor_top: f64) -> Self
Creates arguments with fixed root-relative coordinates. The caller may associate a routed event before raising them.
cursor_left
fn cursor_left(self: &Self) -> f64
cursor_top
fn cursor_top(self: &Self) -> f64
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyToOwnedClassDefaultsErasedDestructorIntoEitherCloneDefaultDerefIRoutedEventArgsMarkupTyped
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.