[Gtk-sharp-list] TreeView and Events Example Please

L. P. Cruz lito@csse.monash.edu.au
Wed, 02 Feb 2005 10:59:52 +1100


Hi All,

I am new to mono/C#/Gtk#. I have a plain and simple TreeView. I am using 
it as a tree rather than a list.

It has a root with 2-3 child notes. I want to be able to respond to the 
user when he/she clicks on one of the nodes (root or child nodes) i.e rows.

What is the relevant event for this scenario? Is it RowActivated or 
SelectCursorRow? A code snippet showing an example will be much appreciated.

Thanks for your help.

Lito P Cruz
http://www.csse.monash.edu.au/~lito/