Hello.

GNode is really a simple structure with 4 pointers to nodes (parent,
first child, previous and next sibling), which allow you move inside
tree, and one pointer to user data. You can store just about anything
inside user data pointer, but most applications store pointer to some
heap-allocated structure that holds real data.

I don't think there is a sample code specifically about GNode present
anywhere, since setting-up a tree is not much more difficult than
setting up a doubly-linked list.

Tadej

-- 
Tadej Borovšak
tadeboro.blogspot.com
[email protected]
[email protected]
_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to