Method

GntTreeset_hash_fns

Declaration [src]

void
gnt_tree_set_hash_fns (
  GntTree* tree,
  GHashFunc hash,
  GEqualFunc eq,
  GDestroyNotify kd
)

Description [src]

Set the hash functions to use to hash, compare and free the keys.

Parameters

hash

Type: GHashFunc

The hashing function.

eq

Type: GEqualFunc

The function to compare keys.

kd

Type: GDestroyNotify

The function to use to free the keys when a row is removed from the tree.