struct Gtk::EventControllerScroll::ScrollSignal

Overview

Signals that the widget should scroll by the amount specified by @dx and @dy.

For the representation unit of the deltas, see Gtk::EventControllerScroll#unit.

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/event_controller_scroll.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, Bool)) : GObject::SignalConnection #

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

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

def emit(dx : Float64, dy : Float64) : Nil #

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

The signal name