Trait GestureSingleExt

Source
pub trait GestureSingleExt: 'static {
    // Required methods
    fn get_button(&self) -> u32;
    fn get_current_button(&self) -> u32;
    fn get_current_sequence(&self) -> Option<EventSequence>;
    fn get_exclusive(&self) -> bool;
    fn get_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_property_button_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId;
    fn connect_property_exclusive_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId;
    fn connect_property_touch_only_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId;
}

Required Methods§

Source

fn get_button(&self) -> u32

Source

fn get_current_button(&self) -> u32

Source

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

Source

fn get_exclusive(&self) -> bool

Source

fn get_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_property_button_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

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

Source

fn connect_property_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§