Adam Tauno Williams wrote:
> 
> Try
> 
> [GLib.ConnectBefore]
> protected void OnDeleteEvent (object sender, DeleteEventArgs a)
> {
> 
> then interrupt the callback chain by setting a.RetVal = false; [ or is
> it a.RetVal = true; ]  one of those.  Those should make your callback
> first and stop the default callback from executing.
> 
> I think.
> 

Thanks for responding.  Ok, I tried this but unfortunately the window still
closes.  : (  
-- 
View this message in context: 
http://www.nabble.com/How-do-I-keep-main-window-from-closing--tp24578770p24591759.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