Re: Glade windows under Windows
| From: | Scott Mattocks | Date: | Thu, 09 Dec 2004 13:29:07 +0000 |
| Subject: | Re: Glade windows under Windows | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-5328@lists.php.net to get a copy of this message | ||
Sylvain Besse wrote:
Hi, I just want to submit a problem I cannot handle : I created a glade file with several windows. There is no problem loading and displaying the windows BUT, when I click on the cross to close a window, the window is destroyed and I cannot call it again. Does anyone got an idea ?Connect the destroy signal to a function that hides the window instead of destroys it. function hideWindow($win) {
$win->hide_all();} $window->connect('destroy', 'hideWindow'); -- Scott Mattocks scott@crisscott.com http://www.crisscott.com http://pear.php.net/user/scottmattocks