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:

auto/gtk-4.0/gesture.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(source, detail = nil) #

Instance Method Detail

def [](detail : String) : self #

def connect(&block : Proc(Gdk::EventSequence?, Nil)) #

def connect(handler : Proc(Gdk::EventSequence?, Nil)) #

def connect(handler : Proc(Gtk::Gesture, Gdk::EventSequence?, Nil)) #

def connect_after(&block : Proc(Gdk::EventSequence?, Nil)) #

def connect_after(handler : Proc(Gdk::EventSequence?, Nil)) #

def connect_after(handler : Proc(Gtk::Gesture, Gdk::EventSequence?, Nil)) #

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

def name #