[Gtk-sharp-list] removing childrens of a node in treeview

Rampage atomikramp at email.it
Wed Aug 18 19:57:32 EDT 2010


Progress :)

i've searched around some more and found that i can remove a row by using
the TreeStore.Remove() method.

I didn't get how to use it tho.

suppose that i want to remove all childrens of a node on collapse

i have a method that is like this:

	protected virtual void OnDirectoryTreeTestCollapseRow (object o,
Gtk.TestCollapseRowArgs args)
	{
		....
	}

so i have the object, from which i can obtain values and args from which i
can get the iter of the collapsing node.

is there a way from the iter of the collapsing node to get the iter of each
children and then to a
TreeStore.Remove(iter) ?

thanks again :) and sorry for the double post
-- 
View this message in context: http://mono.1490590.n4.nabble.com/removing-childrens-of-a-node-in-treeview-tp2330349p2330505.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.


More information about the Gtk-sharp-list mailing list