[Gtk-sharp-list] Gtk.TreeView & Gtk.ListStore
Mon, 20 Oct 2003 11:24:52 -0400
On Mon, 2003-10-20 at 07:24, Jonathan Pryor wrote:
> 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.
Thank you very much worked beautifully. You sir know your Gtk#. I
appreciate the help.