Package: gtk

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

Lambda List

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

Syntax

(gtk:tree-view-get-dest-row-at-pos view x y) => path, pos

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

Details

Determines the destination row for a given position. The arguments x and y 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.

Warning

The gtk:tree-view implementation is deprecated since 4.10. Please do not use it in newly written code.
 

See also

#2025-07-22