How to prevent a window from being closed?
| From: | Florian Breit | Date: | Mon, 14 Nov 2005 23:54:58 +0000 |
| Subject: | How to prevent a window from being closed? | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-6340@lists.php.net to get a copy of this message | ||
Hi folks!
Currently I'm looking for a way to prevent a GtkWindow from being closed when the destroy signal is emitted (in this case by click on the X at the window).
I tried something like connecting the destroy signal and then redraw the widget and so on, but doesn't work correctly.
Are there any ideas how I may "disconnect" the internal destroy handler of php-gtk to ask the user if he really wants quit before closing the window?