does destroy() destroy child widgets?

From: Date: Fri, 28 Mar 2003 03:43:33 +0000
Subject: does destroy() destroy child widgets?
Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-3164@lists.php.net to get a copy of this message
Does destroy() for a container widget destroy the child widgets? EG: in the below example, does the widget referenced by $label get destroyed, or just hidden from view because its parent is destroyed? If it gets destroyed, does this also apply fully recursively? ($GtkLabel inside $GtkVBox inside $GtkFixed inside $GtkFrame inside $GtkWindow, and $GtkWindow->destroy is called, to destroy them all) I can't seem to find this in the manual. (though it may be right in front of me...) ----------------------------------------------- $label=&New GtkLabel('Hello world!'); $label->Show(); $bg=&New GtkFixed(); $bg->Set_Usize(200, 65); $bg->Put($label, 5, 5); $bg->Show(); // a bunch of other stuff executed $bg->Destroy();

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