[Gtk-sharp-list] Gtk.TreeView & Gtk.ListStore
Jonathan Pryor
jonpryor@vt.edu
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'...
- Jon
On Mon, 2003-10-20 at 03:39, Joe Scaduto wrote:
> Hello,
> 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.
>
> Thanks
>
> Joe
>
> _______________________________________________
> Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list