struct Gtk::GestureClick::ReleasedSignal

Overview

Emitted when a button or touch is released.

@n_press will report the number of press that is paired to this event, note that Gtk::GestureClick::#stopped may have been emitted between the press and its release, @n_press will only start over at the next press.

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 : GObject::Object, detail : String? = nil) new

Instance Method Detail

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

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

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

def emit(n_press : Int32, x : Float64, y : Float64) : Nil #

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

The signal name