Package: gtk

Function gtk-tree-path-compare

Lambda List

gtk-tree-path-compare (path1 path2)

Arguments

path1 -- a gtk-tree-path object
path2 -- a gtk-tree-path object to compare with

Return Value

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.
 

See also

2021-3-4