GNode strangeness



Hi

Is there a way to create a GNode-tree without a single root, like
the ctree is able to do?

With the current set of g_node_* functions I can easliy create a tree like
this:

root  o-+-o  first child
        +-o  second child

But it seems impossible to create this tree:

root  o-+-o  first child
      | +-o  second child
      o      sibling


I think the g_node_insert_before() function should accept a root of NULL
like gtk_ctree_insert_node() does. 

The search function is also quite limited. There should be a
g_node_find_custom(), like the GList has.


	-Jens






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]