Trait gtk4::prelude::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

Object Safety§

This trait is not object safe.

Implementors§