Package: gtk
Function gtk:tree-view-scroll-to-cell
Lambda Listgtk:tree-view-scroll-to-cell (view path column &optional row-align col-align) ArgumentsDetails
Moves the alignments of the tree view to the position specified by column and path. If the column argument is nil, then no horizontal scrolling occurs. Likewise, if the path argument is nil no vertical scrolling occurs. At a minimum, one of column or path need to be non-nil. The row-align argument determines where the row is placed, and the col-align argument determines where column is
placed. Both are expected to be between 0.0 and 1.0. The 0.0 value means
left/top alignment, the 1.0 value means right/bottom alignment, and the
0.5 value means center. If the cell 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 tree view is realized, the centered path will be modified to reflect this change. | See also |
#2024-3-10