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 column is nil, then no horizontal scrolling occurs. Likewise, if path is nil no vertical scrolling occurs. At a minimum, one of column or path need to be non-nil. 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. 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 |
2021-2-26