struct Gtk::ScrolledWindow::EdgeOvershotSignal

Overview

Emitted whenever user initiated scrolling makes the scrolled window firmly surpass the limits defined by the adjustment in that orientation.

A similar behavior without edge resistance is provided by the [signal@Gtk.ScrolledWindow::edge-reached] signal.

Note: The @pos argument is LTR/RTL aware, so callers should be aware too if intending to provide behavior on horizontal edges.

Defined in:

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

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

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

def emit(pos : Gtk::PositionType) : Nil #

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

The signal name