struct Gtk::Gesture::BeginSignal

Overview

Emitted when the gesture is recognized.

This means the number of touch sequences matches [property@Gtk.Gesture:n-points].

Note: These conditions may also happen when an extra touch (eg. a third touch on a 2-touches gesture) is lifted, in that situation @sequence won't pertain to the current set of active touches, so don't rely on this being true.

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/gesture.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(Gdk::EventSequence?, Nil)) : GObject::SignalConnection #

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

def connect(handler : Proc(Gtk::Gesture, Gdk::EventSequence?, Nil), *, after : Bool = false) : GObject::SignalConnection #

def emit(sequence : Gdk::EventSequence?) : Nil #

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

The signal name