Package: gtk
Function gtk-icon-view-scroll-to-path
Lambda Listgtk-icon-view-scroll-to-path (view path &key row-align col-align) ArgumentsDetails Moves the alignments of view to the position specified by path. The argument row-align determines where the row is placed, and the argument col-align determines where column is placed. Both are expected
to be between 0.0 and 1.0. 0.0 means left/top alignment, 1.0 means
right/bottom alignment, 0.5 means center. The keyword arguments have the
default value 0.5. If both arguments row-align and col-align are nil, then the alignment arguments are ignored, and the tree does the minimum amount of work to scroll the item onto the screen. This means that the item will be scrolled to the edge closest to its current position. If the item is currently visible on the screen, nothing is done. This function only works if the model is set, and path is a valid row on the model. If the model changes before the view is realized, the centered path will be modified to reflect this change. | See also |
2021-3-9