[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Dynamic widget creation/destruction



> 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]