scroll_to
Description:
[ Version ( since = "4.12" ) ]
public void scroll_to (uint pos, ListScrollFlags flags, owned ScrollInfo? scroll)
public void scroll_to (uint pos, ListScrollFlags flags, owned ScrollInfo? scroll)
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:
| this |
The gridview to scroll in |
| pos |
position of the item. Must be less than the number of items in the view. |
| flags |
actions to perform |
| scroll |
details of how to perform the scroll operation or null to scroll into view |