RGtk2 (version 2.20.31)

gtkTreeViewGetDestRowAtPos: gtkTreeViewGetDestRowAtPos

Description

Determines the destination row for a given position. drag.x and drag.y are expected to be in widget coordinates. This function is only meaningful if tree.view is realized. Therefore this function will always return FALSE if tree.view is not realized or does not have a model.

Usage

gtkTreeViewGetDestRowAtPos(object, drag.x, drag.y)

Arguments

object
drag.x
the position to determine the destination row for
drag.y
the position to determine the destination row for

Value

A list containing the following elements:
retval
[logical] whether there is a row at the given position, TRUE if this is indeed the case.
path
Return location for the path of the highlighted row, or NULL. [ allow-none ]
pos
Return location for the drop position, or NULL. [ allow-none ]