[Gtk-sharp-list] Gtk.TreeView & Gtk.ListStore
Mon, 20 Oct 2003 07:24:00 -0400
You set the "Model" property on the TreeView:
ListStore ls = new ListStore (typeof(string));
msgView.Model = ls;
// Modify `ls' to populate `msgView'...
On Mon, 2003-10-20 at 03:39, Joe Scaduto wrote:
> I made an application in Glade 2 with a GtkTreeView and using libglade#
> I loaded the .glade file in my code so I can import all of the widgets I
> created in Glade 2. Now I am not sure how to use my Gtk.TreeView widget
> (msgView). I want the model to be Gtk.ListStore and I know when
> creating a new TreeView I can specify the model. However, I already
> have the TreeView. Any information would be greatly appreciated.
> Gtk-sharp-list maillist - Gtkfirstname.lastname@example.org