[944] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Once again, destroy signal in windows...

daemon@ATHENA.MIT.EDU (Federico Mena)
Fri Sep 12 02:35:59 1997

Date: Fri, 12 Sep 1997 01:34:24 -0500
From: Federico Mena <federico@nuclecu.unam.mx>
To: gtk-list@redhat.com
Reply-to: federico@nuclecu.unam.mx
Resent-From: gtk-list@redhat.com

Hello all, especially Peter :-)

I would like to present a "really close?" sort of dialog when the
user attempts to close a window.  I have tried:

	- Connecting to the destroy signal and stopping the emission.
	  This seems to work the first time the user tries to delete
	  the window, but not later.

	- Connecting to the delete_event signal and trying to stop it.
	  This doesn't work.

I would like to know the Right Way to handle this.  Seems like an
important thing to me.

  Quartic

--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post