struct Gtk::GestureSwipe::SwipeSignal
- Gtk::GestureSwipe::SwipeSignal
- GObject::Signal
- Struct
- Value
- Object
Overview
Emitted when the recognized gesture is finished.
Velocity and direction are a product of previously recorded events.
Defined in:
lib/gi-crystal/src/auto/gtk-4.0/gesture_swipe.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(Gtk::GestureSwipe, Float64, Float64, Nil), *, after : Bool = false) : GObject::SignalConnection
- #emit(velocity_x : Float64, velocity_y : 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 : 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(Gtk::GestureSwipe, Float64, Float64, Nil), *, after : Bool = false) : GObject::SignalConnection
#