struct Gtk::GesturePan::PanSignal

Overview

Emitted once a panning gesture along the expected axis is detected.

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/gesture_pan.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 : String? = nil) new

Instance Method Detail

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

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

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

def emit(direction : Gtk::PanDirection, offset : Float64) : Nil #

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

The signal name