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 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 tree-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

#2024-5-28