onEdgeReached

fun onEdgeReached(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (pos: PositionType) -> Unit): <Error class: unknown class>(source)

Emitted whenever user-initiated scrolling makes the scrolled window exactly reach the lower or upper limits defined by the adjustment in that orientation.

A similar behavior with edge resistance is provided by the signal@Gtk.ScrolledWindow::edge-overshot signal.

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

Parameters

connectFlags

a combination of ConnectFlags

handler

the Callback to connect. Params: pos edge side that was reached