TreePath.compare

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.

class TreePath
int
compare

Parameters

b TreePath

a [GtkTreePath-struct|GtkTreePath-struct] to compare with

Return Value

Type: int

the relative positions of a and b