GtkScrolledWindow set_kinetic_scrolling (false) no remove callback

gtk 4.10.3

My problem is: when I scroll the list, short click on the button to make it scroll to the top, the scroll event still happens.

Calling gtk_scrolled_window_cancel_deceleration fails because kinetic_scrolling is set to the same value each time

if (priv->kinetic_scrolling == kinetic_scrolling)

Well, I can call the function twice with TRUE and FALSE, pass detection

Yeah scrolled window doesn’t expose much api for controlling the scrolling behavior. It is really hacky but right now calling twice as you mention is the only way.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.