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 to compare with.

Return Value

Type: int

The relative positions of a and b

Meta