[Gtk-sharp-list] Remove all columns of a TreeView
Brad Taylor
brad at getcoded.net
Wed Aug 16 18:33:32 EDT 2006
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20060816/d4d70caa/attachment.bin
More information about the Gtk-sharp-list
mailing list