Re: Closing a window - reopening failure

From: Date: Thu, 21 Nov 2002 01:04:33 +0000
Subject: Re: Closing a window - reopening failure
References: 1 2  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-2686@lists.php.net to get a copy of this message
James, thanks for your reply!! $w2 is my window This is the code: $w2->connect('destroy','killwin2'); function killwin2() { GLOBAL $w1,$w2,$w3,$w4,$w5,$w6; $w2->get_toplevel; $w2->hide(); } I just want to hide it, see function killwin2 I mean I destroy it, but what else signal can I put on a toplevel window to close it? I reopen it and call show_all() on $w2 James Cameron schrieb:
Are you handling the delete_event on the window? What value do you return from this callback? Do you destroy the window, or just hide it? When you re-open it, do you just show it, or do you recreate it?


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