[Gtk-sharp-list] Using ListViews/TreeViews in Gtk#?

Charles-Louis charlouis.mono@wanadoo.be
04 Mar 2003 16:39:48 +0100


Le mar 04/03/2003 à 16:33, Jorge De Gante a écrit :
> Hi Charles
> 
> 
> Check the sample that comes with gtk-sharp, the file is TreeViewDemo.cs
> or the source of the doc browser browser.cs, both samples are about
> treeviews.

I already looked at the TreeViewDemo.cs (it seems I don't have the doc
browser? which package should I download?), but it's using an iterator
to populate the treeview with an XML file.

I'm writing a LogViewer, and I have to be able to add items line per
line (eg. when clicking on a Button)

Aren't there any methods like TreeView.Add(item)?


> 
> El mar, 04-03-2003 a las 07:29, Charles-Louis escribió:
> > Hello,
> > 
> > I'm pretty new to programming with Gtk and Glade. I've designed an
> > application with Glade that should use ListViews (but I found out that
> > ListViews were deprecated... so I've used a TreeView instead).
> > 
> > I wanted to know how I can populate these Views 
> > 
> > eg. ---------------------------------------
> >     |First Name   |Last Name    | Info    |
> >     ---------------------------------------
> >     |Chuck        |Berry        | Artist  |
> >     ---------------------------------------
> >     |John         |Johnson      | Baker   |
> >     ---------------------------------------
> > 
> > 
> > Regards
> > -- 
> > Charles-Louis <charlouis.mono@wanadoo.be>
> > 
> > _______________________________________________
> > Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
-- 
Charles-Louis <charlouis.mono@wanadoo.be>