[Mono-list] glade signal connections

Peter Williams peter@newton.cx
Tue, 31 Aug 2004 00:51:13 -0400

On Mon, 2004-08-30 at 23:23, Rob Brown-Bayliss wrote:
> how would I do this in C#?  eg, of a user clicks on a line in a list
> view have a class that handles the list view events...

Do you just mean that you want to manually connect to a signal? Gtk#
wraps signals as events and you can treat them pretty much as you would
any other event:

	Gtk.Window window = whatever ();
	window.DestroyEvent += new DestroyEventHandler (myfunction);

Or am I not understanding your question?


Peter Williams                          peter@newton.cx

"[Ninjas] are cool; and by cool, I mean totally sweet."
                              -- REAL Ultimate Power