struct Adw::SwipeTracker::EndSwipeSignal
- Adw::SwipeTracker::EndSwipeSignal
- GObject::Signal
- Struct
- Value
- Object
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.crInstance Method Summary
- #connect(*, after : Bool = false, &block : Proc(Float64, Float64, Nil)) : GObject::SignalConnection
- #connect(handler : Proc(Float64, Float64, Nil), *, after : Bool = false) : GObject::SignalConnection
- #connect(handler : Proc(Adw::SwipeTracker, Float64, Float64, Nil), *, after : Bool = false) : GObject::SignalConnection
- #emit(velocity : Float64, to : Float64) : Nil
-
#name : String
The signal name
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
#