Pike v8.0 release 1738

Method GTK2.TreeView()->scroll_to_point()


Method scroll_to_point

GTK2.TreeView scroll_to_point(int x, int y)

Description

Scrolls the tree view such that the top-left corner of the visible area is x,y, where x and y are specified in tree window coordinates. The view must be realized before this function is called. If it isn't, you probably want to be using scroll_to_cell().

If either x or y are -1, then that direction isn't scrolled.