Package: gtk

Function gtk:tree-path-compare

Lambda List

gtk:tree-path-compare (path1 path2)

Arguments

path1 -- a gtk:tree-path instance
path2 -- a gtk:tree-path instance to compare with

Return Value

The integer with the relative positions of path1 and path2.

Details

Compares two paths. If path1 appears before path2 in a tree, then -1 is returned. If path2 appears before path1, then 1 is returned. If the two nodes are equal, then 0 is returned.

Warning

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

See also

2025-1-11