Removing children from gtkctree



Hi,

How should I go about removing all the children from a _specific_ node
in a gtk ctree?

I know it is possible to do a post_recursive on a node, and 'remove'
each node, but this seems very inefficient, when I should be able to
assign ctree_node->children to NULL.

However, assigning to children to null just does *not* work. And there
doesn't appear to be any built-in function(s) to remove all the children
from a given node, just a tree.

So if anyone knows better/has any suggestions, I'd be grateful...

Incidentally, I'm using gtk+-1.1.13.

Regards,

--
Lee.
http://atlas.cs.york.ac.uk/~lrpm100/



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