[Gtk-sharp-list] Cancel delete_event in a window?
bigjane2006 at gmail.com
Sun Dec 3 16:06:53 EST 2006
It is quite similar in GTK. It is enough to implement DeleteEvent
handler so that it assigns "true" to RetVal property of
a.RetVal = true;
where "a" is DeleteEventArgs. This assignment prevents the default
event hadler to be called.
2006/12/2, Carlos Adriano Portes <xcap2000 at gmail.com>:
> Is it possible to cancel the delete event in a window as in winforms
> using "e.Cancel=true;" ?
> Thanks in advance.
> Gtk-sharp-list maillist - Gtk-sharp-list at lists.ximian.com
More information about the Gtk-sharp-list