Viewport.scrollTo

void scrollTo(gtk.widget.Widget descendant, gtk.scroll_info.ScrollInfo scroll = null)

Scrolls a descendant of the viewport into view.

The viewport and the descendant must be visible and mapped for this function to work, otherwise no scrolling will be performed.

Parameters

descendanta descendant widget of the viewport
scrolldetails of how to perform the scroll operation or NULL to scroll into view