Trait gtk4::prelude::GestureSingleExt
source · [−]pub trait GestureSingleExt: 'static {
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;
}