Package: gtk

Function gtk:grid-view-scroll-to

Lambda List

gtk:grid-view-scroll-to (gridview pos flags scroll)

Arguments

gridview -- a gtk:grid-view widget
pos -- an unsigned integer with the position of the item
flags -- a gtk:list-scroll-flags value with the actions to perform
scroll -- a gtk:scroll-info instance with the details of how to perform the scroll operation or nil to scroll into the grid view

Details

Scrolls to the item at the given position and performs the actions specified in flags. This function works no matter if the grid view is shown or focused. If it is not, then the changes will take effect once that happens.

Since 4.12
 

See also

#2024-11-28