[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk
Subject:    GNode strangeness
From:       Jens Askengren <jensus () linux ! nu>
Date:       2000-08-31 12:57:32
[Download RAW message or body]


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


_______________________________________________
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic