Trait gtk4::prelude::GestureDragExt
source · [−]pub trait GestureDragExt: 'static {
fn offset(&self) -> Option<(f64, f64)>;
fn start_point(&self) -> Option<(f64, f64)>;
fn connect_drag_begin<F: Fn(&Self, f64, f64) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_drag_end<F: Fn(&Self, f64, f64) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_drag_update<F: Fn(&Self, f64, f64) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}
Required Methods
source
fn start_point(&self) -> Option<(f64, f64)>
sourcefn connect_drag_begin<F: Fn(&Self, f64, f64) + 'static>(
fn connect_drag_begin<F: Fn(&Self, f64, f64) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_drag_end<F: Fn(&Self, f64, f64) + 'static>(
fn connect_drag_end<F: Fn(&Self, f64, f64) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_drag_update<F: Fn(&Self, f64, f64) + 'static>(