Re: [gtkmm] TreeModel question



When I needed to do this, I used the code from the docs.

http://gtkmm.org/gtkmm2/docs/tutorial/html/ch08s03.html

That and the next section are pretty helpful. If it doesn't answer your question I can post my actual code, but I think their more generic example would be more helpful.
-Josh

Benoît Touron wrote:

Hi !

First of all, thanks to Chris, Paulo and the other for their clues about my previons question (regarding threads).

Now, another issue:
I manage a treeView, containing 3 levels:
- the root level, managing a set of connections
- connections, managing hosts
- hosts

How can I remove a connection ? This means removing all the underlying hosts. I iterate into connection nodes, then for each connection, I iterate into its host nodes.
When I remove a host node, the iterator seems invalid.

How can I do this ?
Thanks
Ben


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









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