[Gtk-sharp-list] Problem with DeleteEvent

miguel díaz miguelchispi@yahoo.com
Thu, 19 Aug 2004 17:58:18 +0100 (BST)

Hi again,
i fear it does not work, now i dont get a console
warning, but the app closes without showing the my
dialog; may be the destroy event occurs after the
delete event, but i cant find a method or signal like
'closed' in the documentation, here what i tried,

this.appWindow.DestroyEvent += new
Gtk.DestroyEventHandler (OnDestroyEvent);

public void OnDestroyEvent (object obj,
DestroyEventArgs args) 
            if(contentsModified == true){
            	new WarningDialog();
            	args.RetVal = false;
				args.RetVal = true;

___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun!  http://uk.messenger.yahoo.com