Viewport.scrollTo

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.

class Viewport
void
scrollTo

Parameters

descendant gtk.widget.Widget

a descendant widget of the viewport

scroll gtk.scroll_info.ScrollInfo

details of how to perform the scroll operation or NULL to scroll into view