Trait gtk::GestureSingleExt
source · [−]pub trait GestureSingleExt: 'static {
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_current_sequence(&self) -> Option<EventSequence>
source
fn get_exclusive(&self) -> bool
source
fn get_touch_only(&self) -> bool
source
fn set_exclusive(&self, exclusive: bool)
source
fn set_touch_only(&self, touch_only: bool)
sourcefn connect_property_exclusive_notify<F: Fn(&Self) + 'static>(
fn connect_property_exclusive_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_touch_only_notify<F: Fn(&Self) + 'static>(