[Gtk-sharp-list] Accessing values from TreeView with mouseclick?

Lee Mallabone gnome@fonicmonkey.net
04 Feb 2003 12:38:37 +0000

On Tue, 2003-02-04 at 12:22, Christian Rudh wrote:

> Seems like ordinary GTK+ has a suitable function:
> gtk_tree_view_get_selection.
> That would be represented in GTK# by TreeView.GetSelection() or
> TreeView.GetSelected() or something like that?
> But there doesn't seem to exist such a function (yet?), so is it
> possible to do what I want to do now using GTK#? Does anybody know of
> any GTK# application that does this?

I think what you're looking for is available through the 'Selection'
property of the TreeView.

The following call is certainly present in the current API:
Though quite what you do with the result to access your tree row values
again, I'm not too sure...

Lee Mallabone <gnome@fonicmonkey.net>