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 for the position to determine the destination row for
y -- an integer for the position to determine the destination row for

Return Value

path -- a gtk:tree-path instance for the highlighted row, or nil
pos -- a gtk:tree-view-drop-position value for 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

#2025-08-31