[Gtk-sharp-list] reusing windows using attribute [Widget]

Francis Brosnan Blázquez francis@aspl.es
Thu, 09 Dec 2004 14:58:45 +0100


El jue, 09-12-2004 a las 05:27 -0600, Javier Díaz escribió:

> public void on_window2_delete_event (object o, EventArgs args)
> {
> 	window2.Hide ();
> }
> ---
> 
> but It still does not work, the window is being destroyed :(
Hi Javier,

You need to set args.RetVal = false to avoid window2 to be destroyed if
you still want to catch delete event.

.-Francis