newWithData

fun newWithData(keyCompareFunc: CompareDataFunc): Tree

Creates a new #GTree with a comparison function that accepts user data. See g_tree_new() for more details.

Return

a newly allocated #GTree

Parameters

keyCompareFunc

qsort()-style comparison function