Re: doubt
| From: | Andrei Zmievski | Date: | Wed, 27 Apr 2005 16:21:47 +0000 |
| Subject: | Re: doubt | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-5784@lists.php.net to get a copy of this message | ||
I think it's so that if the demo is run from the framework it appears on the same screen as the parent is automatically destroyed if the parent quits. But I may be wrong. I copied it from PyGTK demo.
-Andrei
On Apr 27, 2005, at 3:11 AM, Pablo Dall'Oglio wrote:
why this construction on samples ? if ($parent) $this->set_screen($parent->get_screen()); else $this->connect_object('destroy', array('gtk', 'main_quit')); -- :: Pablo Dall'Oglio +55 (51) 3714-6653 :: Solis - Cooperativa de Solucoes Livres :: www.solis.coop.br - Lajeado, RS - Brasil :: www.varianet.com.br (personal) :: "Life's a Journey, Not a Destination" - Steven Tyler -- PHP-GTK General Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php