gtk/tree_view.go
func (v *TreeView) GetPathAtPos(x, y int, path *TreePath, column *TreeViewColumn, cellX, cellY *int) bool {
	var ctp **C.GtkTreePath
	if path != nil {
		ctp = (**C.GtkTreePath)(unsafe.Pointer(&path.GtkTreePath))
	} else {
		ctp = nil
	}

	var pctvcol **C.GtkTreeViewColumn
	if column != nil {
		ctvcol := column.native()
		pctvcol = &ctvcol
	} else {
		pctvcol = nil
	}

	return 0 != C.gtk_tree_view_get_path_at_pos(
		v.native(),
		(C.gint)(x),
		(C.gint)(y),
		ctp,
		pctvcol,
		(*C.gint)(unsafe.Pointer(cellX)),
		(*C.gint)(unsafe.Pointer(cellY)))
}
func (v *TreeView) GetPathAtPos(x, y int, path *TreePath, column *TreeViewColumn, cellX, cellY *int) bool {
	var ctp **C.GtkTreePath
	if path != nil {
		ctp = (**C.GtkTreePath)(unsafe.Pointer(&path.GtkTreePath))
	} else {
		ctp = nil
	}

	var pctvcol **C.GtkTreeViewColumn
	if column != nil {
		ctvcol := column.native()
		pctvcol = &ctvcol
	} else {
		pctvcol = nil
	}

	return 0 != C.gtk_tree_view_get_path_at_pos(
		v.native(),
		(C.gint)(x),
		(C.gint)(y),
		ctp,
		pctvcol,
		(*C.gint)(unsafe.Pointer(cellX)),
		(*C.gint)(unsafe.Pointer(cellY)))
}
func ( v * TreeView ) GetPathAtPos ( x , y int , path * TreePath , column * TreeViewColumn , cellX , cellY * int ) bool { var ctp * * C . GtkTreePath if path != nil { ctp = ( * * C . GtkTreePath ) ( unsafe . Pointer ( & path . GtkTreePath ) ) } else { ctp = nil } var pctvcol * * C . GtkTreeViewColumn if column != nil { ctvcol := column . native ( ) pctvcol = & ctvcol } else { pctvcol = nil } return 0 != C . gtk_tree_view_get_path_at_pos ( v . native ( ) , ( C . gint ) ( x ) , ( C . gint ) ( y ) , ctp , pctvcol , ( * C . gint ) ( unsafe . Pointer ( cellX ) ) , ( * C . gint ) ( unsafe . Pointer ( cellY ) ) ) }
// GetPathAtPos is a wrapper around gtk_tree_view_get_path_at_pos().
GetPathAtPos is a wrapper around gtk_tree_view_get_path_at_pos () .