OS.gtk_tree_view_scroll_to_cell (handle, path, 0, true, 0, 0);
OS.gtk_tree_view_scroll_to_cell (handle, path, 0, true, 0f, 0f); if (OS.GTK_VERSION < OS.VERSION (2, 8, 0)) {  OS.gtk_widget_realize (handle); GdkRectangle cellRect = new GdkRectangle (); OS.gtk_tree_view_get_cell_area (handle, path, 0, cellRect); GdkRectangle visibleRect = new GdkRectangle (); OS.gtk_tree_view_get_visible_rect (handle, visibleRect); OS.gtk_tree_view_scroll_to_point (handle, -1, visibleRect.y + cellRect.y); }
public void setTopItem (TreeItem item) {	if (item == null) error (SWT.ERROR_NULL_ARGUMENT);	if (item.isDisposed ()) error(SWT.ERROR_INVALID_ARGUMENT);	if (item.parent != this) return;	int /*long*/ path = OS.gtk_tree_model_get_path (modelHandle, item.handle);	showItem (path, false);	OS.gtk_tree_view_scroll_to_cell (handle, path, 0, true, 0, 0);	OS.gtk_tree_path_free (path);}