owickstrom / gi-gtk-declarative

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

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

Open JakeWheat opened 2 years ago

JakeWheat commented 2 years 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.