[John Finlay - Wed, 15 Jan 2003 03:03:46 PM CST]
> I'm guessing that your ColorWidgets are somehow losing info because of 
> loss of references in python but I don't understand how PyGTK handles 
> memory in conjunction with python.

That would definitely cause it....

I'm guessing that reference counting or something goes boinkers.


> I fiddled with your test program and added a list of ColorWdigets to the 
> StyleBox instance - this seemed to fix things but I don't know exactly 
> why. It's a hack but may be a workaround.

Thanks for the workaround.  I did modify the full program to put every
user-derived widget class into a list held by the main app window, and
everything works again.


-- 
| The aim of a joke is not to degrade the human being but to remind
| him that he is already degraded.
|               -- George Orwell
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to