owickstrom / gi-gtk-declarative

Declarative GTK+ programming in Haskell
https://owickstrom.github.io/gi-gtk-declarative/
284 stars 32 forks source link

Use value-changed signal on adjustment of scrolled window #109

Open JakeWheat opened 1 year ago

JakeWheat commented 1 year ago

Is there a way to handle the value-changed signal on an adjustment of a scrolled window? This is the rough Python version:

sw = Gtk.ScrolledWindow() sw.get_vadjustment().connect("value-changed", my_on_scroll)

Thanks.