TreePath.compare

int compare(gtk.tree_path.TreePath b)

Compares two paths.

If a appears before b in a tree, then -1 is returned. If b appears before a, then 1 is returned. If the two nodes are equal, then 0 is returned.

Parameters

ba [gtk.tree_path.TreePath] to compare with

Returns

the relative positions of a and b