Method

GtkTreePathcompare

Declaration [src]

gint
gtk_tree_path_compare (
  const GtkTreePath* a,
  const GtkTreePath* b
)

Description [src]

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

b

Type: GtkTreePath

A GtkTreePath-struct to compare with.

The data is owned by the caller of the method.

Return value

Type: gint

The relative positions of a and b.