Thank you!
It worked for me :)
[]'s
On Wed, 2006-08-16 at 15:33 -0700, Brad Taylor wrote:
> 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
>
_______________________________________________
Gtk-sharp-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list