Re: Glade with multiple windows - problem

From: Date: Wed, 02 Mar 2005 21:28:27 +0000
Subject: Re: Glade with multiple windows - problem
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-5565@lists.php.net to get a copy of this message
Hi Bruno,
I need a way to when the X is clicked the window just hide and not destroy... I tried it: $this->incluir->connect_object('destroy', array($this->incluir, 'hide')); But not worked... I tried this hide with a button click and works.
In all with appwizard generated sourcecodes is a comment: /** * This function is called if you click the "x" in the upper right of the window * The question is: Do you want to keep the window? * if you return false, the app is closed * if you return true, the app keeps on working */ it's the "delete" signal. Connect it to a function and let this function return true. Regards/MfG, Christian Weiske -- XMMS is playing now: 2Raumwohnung - Die Schwere

Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
« previous php.gtk.general (#5565) next »