struct Gtk::GestureStylus::MotionSignal

Overview

Emitted when the stylus moves while touching the device.

Defined in:

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

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

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

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

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

The signal name