Re: glade and closing/reopening dialogs - newbie question

From: Date: Thu, 31 Aug 2006 15:39:20 +0000
Subject: Re: glade and closing/reopening dialogs - newbie question
References: 1 2  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-7164@lists.php.net to get a copy of this message
Hmm I thought of that, but then you have the overhead of a 'spare' widget in the PHP-o-sphere. Does anyone have a way to test which is better/worse in that respect - create/destroy on demand vs show/hide and maintain the widget throughout? ----- Original Message ----- From: "Anant Narayanan" <anant@kix.in> To: <yml@dtlink.com> Cc: <php-gtk-general@lists.php.net> Sent: Thursday, August 31, 2006 5:39 PM Subject: Re: [PHP-GTK] glade and closing/reopening dialogs - newbie question
Hi Yermo,
What is the correct way to close a dialog window in a glade based application?
I would suggest you to use GtkWidget's hide() and show() methods. Simply show' your window when you need it, and hide' it when you don't. - Anant -- PHP-GTK General Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


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