struct Adw::SwipeTracker::EndSwipeSignal

Overview

This signal is emitted as soon as the gesture has stopped.

The user is expected to animate the deceleration from the current progress value to to with an animation using velocity as the initial velocity, provided in pixels per second. #SpringAnimation is usually a good fit for this.

Defined in:

lib/gi-crystal/src/auto/adw-1/swipe_tracker.cr

Instance Method Summary

Instance methods inherited from struct GObject::Signal

[](detail : String) : self [], name : String name

Constructor methods inherited from struct GObject::Signal

new(source : GObject::Object, detail : Nil | String = nil) new

Instance Method Detail

def connect(*, after : Bool = false, &block : Proc(Float64, Float64, Nil)) : GObject::SignalConnection #

def connect(handler : Proc(Float64, Float64, Nil), *, after : Bool = false) : GObject::SignalConnection #

def connect(handler : Proc(Adw::SwipeTracker, Float64, Float64, Nil), *, after : Bool = false) : GObject::SignalConnection #

def emit(velocity : Float64, to : Float64) : Nil #

def name : String #
Description copied from struct GObject::Signal

The signal name