[Gtk-sharp-list] Tree selection

George Farris farrisg@mala.bc.ca
19 Feb 2003 08:04:06 -0800

On Tue, 2003-02-18 at 20:09, Mike Kestner wrote:
> On Tue, 2003-02-18 at 21:19, George Farris wrote:
> > OK how the heck do I get a selected row of text out of the TreeView
> > widget?
> > 
> > This widget is seriously complex and without good documentation it's
> > extremely difficult.  Some of the gtk functions don't even map to the
> > gtk# class functions.
> > 
> > I think who ever created the TreeView was on some bad drugs:-)
> Did you consider using the Gtk.TreeView.Selection property?  Any method
> in the C API that starts with get_ or set_ has most likely been
> converted to a property in the Gtk# API.  
> TreeView is an extremely powerful widget. In my experience, one of the
> best ways to get help in using a tool is to insult its authors on public
> mailing lists, even with smileys tacked on.
> > 

Relax, it was meant to inject a little humour.  I'm well aware that with
power comes complexity.  It's not the widget, it's the lack of
documentation and that will come in time I'm sure.  It's just
frustrating trying to figure all this stuff out.  It seems one of the
things about Linux and GUI programing is: there is never complete
documentation and while other code examples work in many cases everyone
codes differently and not always in a way another can easily figure out.

I see no one has jumped in with a quick example so I assume it may not
be trivial  Ah well off to do more reading.