GridView.scrollTo
void scrollTo(uint pos, gtk.types.ListScrollFlags flags, gtk.scroll_info.ScrollInfo scroll = null)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.
Parameters
pos | position of the item |
flags | actions to perform |
scroll | details of how to perform the scroll operation or null to scroll into view |