Gtk.StyleContext.prototype.scroll_animations
function scroll_animations(window:Gdk.Window, dx:Number, dy:Number):void { // Gjs wrapper for gtk_style_context_scroll_animations() }
This function is analogous to Gdk.scroll, and should be called together with it so the invalidation areas for any ongoing animation are scrolled together with it.
Since 3.0
- window
a Gdk.Window used previously in Gtk.StyleContext.prototype.notify_state_change
- dx
Amount to scroll in the X axis
- dy
Amount to scroll in the Y axis