PointerPressedEventArgs
struct · ferroui-base · v0.5.0
struct PointerPressedEventArgs
Provides data for the pointer pressed event.
Members
new
fn new(source: impl Into<Nullable<FerroObject>>, pointer: Rc<dyn IPointer>, root_visual: &Visual, root_visual_position: Point, timestamp: u64, properties: PointerPointProperties, modifiers: KeyModifiers, click_count: i32) -> Self
Creates pointer pressed event args.
with_platform_input_event_cookie
fn with_platform_input_event_cookie(self: Self, cookie: Option<Rc<dyn Any>>) -> Self
Adds the platform's cookie for the input event.
click_count
fn click_count(self: &Self) -> i32
The number of clicks: 1 for a single click, 2 for a double click and so on.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyToOwnedErasedDestructorIntoEitherCloneDerefIRoutedEventArgsMarkupTyped
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.