Hey, > Is there any way to remove all columns of a TreeView in Gtk#? > > I did a loop to append columns to my TreeView (I don't know who are > them), but I want to remove all of them after I use, so I can append new > ones to my (now) empty TreeView.
foreach (TreeViewColumn col in myTreeView.Columns) {
myTreeView.RemoveColumn (col);
}
should do it.
Hope that helps.
-Brad
--
Brad Taylor
Genome Software LLC
http://www.getcoded.net
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
