Re: Expend GtkTree
- From: edscott wilson garcia <edscott imp mx>
- To: Florian Chanier <florian_chfl yahoo fr>
- Cc: gtk-list gnome org
- Subject: Re: Expend GtkTree
- Date: 20 Jun 2003 14:00:33 -0500
El jue, 19-06-2003 a las 15:20, Florian Chanier escribió:
> Hello, sorry for my english but I'am a french guy.
>
> I don't know how to make for refresh all node of my
> tree and in the same time keeping one or more node
> opened (expand).
Do a gtk_tree_model_foreach() with a
gtk_tree_store_set() for everything that needs updating. You can't add
or remove stuff while in the foreach loop because that will invalidate
iterators and treepaths (might not affect adding node, but YMMV). For
erasing or adding, create a glist with TreeRowReferences, and after the
foreach loop, cycle through the glist using the rowreferences to delete
or add.
>
> noeud = gtk_ctree_insert_node(arbre, parent,
> frere,textes, 5, pixmap_ouvert, masque_ouvert,
> pixmap_ferme,masque_ferme, FALSE, FALSE);
>
> Thanks.
>
> ___________________________________________________________
> Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
> Yahoo! Mail : http://fr.mail.yahoo.com
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]