Package: gtk

Function gtk:tree-view-get-dest-row-at-pos

Lambda List

gtk:tree-view-get-dest-row-at-pos (view x y)

Arguments

view -- a gtk:tree-view widget
x -- an integer with the position to determine the destination row for
y -- an integer with the position to determine the destination row for

Return Value

path -- a gtk:tree-path instance of the highlighted row, or nil
pos -- a gtk:tree-view-drop-position value with the position, or nil

Details

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

See also

#2024-3-10