[Gtk-sharp-list] GTk# dynamic treeview population
atomikramp at email.it
Mon Aug 9 19:58:21 EDT 2010
Hello everyone, i have a question about populating treeviews.
i was following this 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.
More information about the Gtk-sharp-list