On 18 Apr 2001, Rob Brown-Bayliss wrote:
> Hi,
>
> I am wondering about memory usage of python modules and pygtk objects.
>
> I have a little app that loads modules into memory to be used, and most
> of these load gtk widgets onto a notebook page.
>
> My app hides the notebook tabs, basically it looks and acts like the
> gnome control-center.
>
> Should I destroy the pages after use, currently I keep them as I expect
> the user to come back to them over and over, but I guess some could be
> used once and kept in memory for some time.
>
> Is it worth it to destroy the page? most will only have a dozen or 20
> widgets...
If you remove the widget from the container, and don't retain any
references to it, the widget should get destroyed.
James.
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk