Hello everyone, i have a question about populating treeviews.

i was following this tutorial:
http://www.mono-project.com/GtkSharp_TreeView_Tutorial

and there is a part of the article that explains how to populate a tree.

The problem is that as it's explained in that tutorial, it looks like i have
to define the tree structure immediatelly before rendering it.

i was wondering: is there a way to populate the tree dynamically?

what i mean is:
try to expand a node
an event is triggered and a method is called
the method returns me a list of eventually available children
if the returned value is not null, append the values to the parent
else if the returned value is null: that node doesn't have children

-- 
View this message in context: 
http://mono.1490590.n4.nabble.com/GTk-dynamic-treeview-population-tp2319176p2319176.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.
_______________________________________________
Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to