GridView.scrollTo

Scrolls to the item at the given position and performs the actions specified in flags.

This function works no matter if the gridview is shown or focused. If it isn't, then the changes will take effect once that happens.

class GridView
void
scrollTo

Parameters

pos uint

position of the item

flags gtk.types.ListScrollFlags

actions to perform

scroll gtk.scroll_info.ScrollInfo

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