RGtk2 (version 2.20.31)

gtkTreeViewScrollToPoint: gtkTreeViewScrollToPoint

Description

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

Usage

gtkTreeViewScrollToPoint(object, tree.x, tree.y)

Arguments

object
tree.x
X coordinate of new top-left pixel of visible area, or -1
tree.y
Y coordinate of new top-left pixel of visible area, or -1

Details

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