struct Gtk::GestureClick::UnpairedReleaseSignal

Overview

Emitted whenever the gesture receives a release event that had no previous corresponding press.

Due to implicit grabs, this can only happen on situations where input is grabbed elsewhere mid-press or the pressed widget voluntarily relinquishes its implicit grab.

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/gesture_click.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, detail = nil) new

Instance Method Detail

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

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

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

def emit(x : Float64, y : Float64, button : UInt32, sequence : Gdk::EventSequence) : Nil #

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

The signal name