scroll_to
Description:
[ Version ( since = "4.12" ) ]
public void scroll_to (uint pos, ColumnViewColumn? column, ListScrollFlags flags, owned ScrollInfo? scroll)
public void scroll_to (uint pos, ColumnViewColumn? column, ListScrollFlags flags, owned ScrollInfo? scroll)
Scroll to the row at the given position - or cell if a column is given - and performs the actions specified in flags.
This function works no matter if the columnview is shown or focused. If it isn't, then the changes will take effect once that happens.
Parameters:
| this |
The columnview |
| pos |
position of the item. Must be less than the number of items in the view. |
| column |
The column to scroll to or `NULL` to not scroll columns |
| flags |
actions to perform |
| scroll |
details of how to perform the scroll operation or null to scroll into view |