Re: clearing ctree's.




Lee Mallabone <lee0@callnetuk.com> writes:

> Hi,
> 
> What is the best or "proper" way to totally clear a ctree?
> 
> At the moment, from the available ctree functions, it looks like the
> best way to do this would be with a gtk_widget_destroy and then recreate
> the ctree. I'm not very keen on this method though, and am wondering if
> there is a better way..
> 
> I don't see how gtk_ctree_post_recursive is an option, as it needs an
> initial GtkCTreeNode to begin with...

  gtk_clist_clear (GTK_CLIST (ctree));

Regards,
                                        Owen



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