Chris Howie wrote:
> 
> I did some testing on this and determined the following:
> 
> * [GLib.ConnectBefore] is not necessary to disallow closing of the window.
> 
> * In order to properly continue with destruction of the window, do this:
> 
> args.RetVal = false;
> Application.Quit();
> 
> * In order to disallow closing of the window, do this:
> 
> args.RetVal = true;
> // Do *not* call Application.Quit()
> 

Yahoo!  That did it for me.  I was really stuck on that one.  Hey, thanks a
million to each of you for helping me out here.
-- 
View this message in context: 
http://www.nabble.com/How-do-I-keep-main-window-from-closing--tp24578770p24599360.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.

_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to