Re: Keeping focus with a dialog

From: Date: Mon, 18 Mar 2002 16:55:35 +0000
Subject: Re: Keeping focus with a dialog
References: 1 2  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-1584@lists.php.net to get a copy of this message
> > > > 2. I would like it so the dialog cant be closed using the X in the > > window, I am hiding and showing different forms and dont want them to be > > distroyed, just hidden when they click on the ok or cancel buttons. > > Intercept the windows 'delete_event', call your custom > function which hides the widget and make sure you return > 'true' in your function. > thanks! - i would have returned false and been scratching my head for ages... do you know the difference between delete_event and destroy_event destroy sounds much more violent somehow...

« previous php.gtk.general (#1584) next »