Re: glade and closing/reopening dialogs - newbie question

From: Date: Thu, 31 Aug 2006 15:49:35 +0000
Subject: Re: glade and closing/reopening dialogs - newbie question
References: 1 2 3  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-7166@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?
Well, as a rough yardstick: if your application shows the dialog frequently, then it's better to maintain it. If you're showing it only once or twice, I guess recreating it is the best option. A spare widget object in the PHP application sphere shouldn't add _much_ of an overhead anyway... How big could it get? - Anant

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