[Gtk-sharp-list] RowActivated event

Duncan Mak duncan@ximian.com
24 Feb 2003 22:03:23 -0500

On Mon, 2003-02-24 at 21:02, Santiago Erquicia wrote:
> How can I set an EventHandler when a row is activated in a TreeView?
> If I do:
> treeview.RowActivated += new EventHandler(event_function);

If you look at the definition of Treeview.RowActivated, you'll see

	public event GtkSharp.RowActivatedHandler RowActivated;

that means you need to use a RowActivatedHandler, not a plain

The signature for RowActivatedHandler is:

	public delegate void RowActivatedHandler(object o, 						
RowActivatedArgs args);

Duncan Mak <duncan@ximian.com>