Package: gtk

Function gtk-tree-view-scroll-to-point

Lambda List

gtk-tree-view-scroll-to-point (view tx ty)

Arguments

view -- a gtk-tree-view widget
tx -- an integer with the x coordinate of new top-left pixel of visible area, or -1
ty -- an integer with the y coordinate of new top-left pixel of visible area, or -1

Details

Scrolls the tree view such that the top-left corner of the visible area is tx, ty, where tx and ty are specified in tree coordinates. The tree view must be realized before this function is called. If it is not, you probably want to be using the function gtk-tree-view-scroll-to-cell.

If either tx or ty are -1, then that direction is not scrolled.
 

See also

2021-2-26