[MonoDevelop] Adding A ListView To A TreeView in MonoDevelop

crokett crokett at gmail.com
Thu Oct 27 17:57:38 EDT 2011


I am learning MonoDevelop and C# as I go.  I am trying to add the functional
equivalent of a listbox to the main window of my app.  I don't see a listbox
widget but found this tutorial which explains how to create a list view
using a treeview:

http://www.mono-project.com/GtkSharp_TreeView_Tutorial

My issue is the properties under the GUI designer don't allow me to add a
ListStore or a TreeViewColumn to the Treeview, nor can I set the model.  If
I edit the MainWindow.cs file directly, those changes get wiped out on the
next build.  How can I make the changes so they are persistent and I get the
columns I want in the treeview?  Or is there a way to do this through the
GUI?
  

--
View this message in context: http://mono.1490590.n4.nabble.com/Adding-A-ListView-To-A-TreeView-in-MonoDevelop-tp3946168p3946168.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.


More information about the Monodevelop-list mailing list