Trait GestureSingleExt

Source
pub trait GestureSingleExt:
    IsA<GestureSingle>
    + Sealed
    + 'static {
    // Provided methods
    fn button(&self) -> u32 { ... }
    fn current_button(&self) -> u32 { ... }
    fn current_sequence(&self) -> Option<EventSequence> { ... }
    fn is_exclusive(&self) -> bool { ... }
    fn is_touch_only(&self) -> bool { ... }
    fn set_button(&self, button: u32) { ... }
    fn set_exclusive(&self, exclusive: bool) { ... }
    fn set_touch_only(&self, touch_only: bool) { ... }
    fn connect_button_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
    fn connect_exclusive_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
    fn connect_touch_only_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
}

Provided Methods§

Source

fn button(&self) -> u32

Source

fn current_button(&self) -> u32

Source

fn current_sequence(&self) -> Option<EventSequence>

Source

fn is_exclusive(&self) -> bool

Source

fn is_touch_only(&self) -> bool

Source

fn set_button(&self, button: u32)

Source

fn set_exclusive(&self, exclusive: bool)

Source

fn set_touch_only(&self, touch_only: bool)

Source

fn connect_button_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

Source

fn connect_exclusive_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_touch_only_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§