[Gtk-sharp-list] Deletevent return value?

Mike Kestner mkestner@ximian.com
Fri, 01 Oct 2004 10:56:15 -0500


On Fri, 2004-10-01 at 10:34, Anset wrote:

> public sealed delegate void DeleteEventHandler (object o, DeleteEventArgs
> args)
> 
> As you can see, the return type is void, so no true or false...

DeleteEventArgs has a member named RetVal that allows you to set a
return value:

args.RetVal = true;

-- 
Mike Kestner <mkestner@ximian.com>