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 : Nil | String = nil) new

Instance Method Detail

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

[View source]
def connect(handler : Proc(Gdk::EventSequence | Nil, Nil), *, after : Bool = false) : GObject::SignalConnection #

[View source]
def connect(handler : Proc(Gtk::Gesture, Gdk::EventSequence | Nil, Nil), *, after : Bool = false) : GObject::SignalConnection #

[View source]
def emit(sequence : Gdk::EventSequence | Nil) : Nil #

[View source]
def name : String #
Description copied from struct GObject::Signal

The signal name


[View source]