Re: Dynamic widget creation/destruction
- From: Brett Nash <nash nash nu>
- To: Russell Shaw <rjshaw iprimus com au>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Dynamic widget creation/destruction
- Date: Tue, 21 Oct 2003 16:25:17 +1000
When a bunch of widget objects are created such as in a dialog,
do they need to be destroyed to free memory before returning?
Does every widget need to be destroyed, or will destroying the
top widget automatically destroy all the child widgets? What
command to use for destroy?
Just destroy the top level one:
gtk_widget_destroy(dialog);
Regards,
nash
--
Brett Nash <nash nash nu>
Sometimes it's better to light a flamethrower than curse the darkness.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]