Re: [pygtk] instance.__dict__ disappears with many widgets

2003-01-16 Thread Ava Arachne Jarvis
[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 c

Re: [pygtk] instance.__dict__ disappears with many widgets

2003-01-15 Thread John Finlay
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. I fiddled with your test program and added a list of ColorWdigets to the StyleBox instance - this seemed to fix things

Re: [pygtk] instance.__dict__ disappears with many widgets

2003-01-15 Thread Ava Arachne Jarvis
[Ava Arachne Jarvis - Wed, 15 Jan 2003 05:25:54 AM CST] > I'm attaching a version of the program that I stripped down to about 50 > lines. Instruction for running this: It would help if I attached the program. Heh. Sorry. -- | BOFH excuse #105: | | UPS interrupted the server's power #!/usr/b

[pygtk] instance.__dict__ disappears with many widgets

2003-01-15 Thread Ava Arachne Jarvis
I'm using python 2.2 and pygtk 1.99.14, gtk 2.2.0 and friends. I'm running across an odd problem when I use a large number of widgets, and some of them are ones that inherit from original gtk widgets. When first created, these objects seem intact; however, the first time a signal callback is cal