TreeView.getDestRowAtPos

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.

More...
class TreeView
bool
getDestRowAtPos

Parameters

dragX int

the position to determine the destination row for

dragY int

the position to determine the destination row for

path gtk.tree_path.TreePath

Return location for the path of the highlighted row

pos gtk.types.TreeViewDropPosition

Return location for the drop position, or null

Return Value

Type: bool

whether there is a row at the given position, true if this is indeed the case.

Detailed Description