That sounds like a bit of a problem.  I made it so that attributes
starting with an underscore would not be shared between instance objects,
but it doesn't quite work right in that snapshot.  To fix it, edit gtk.py,
find the __setattr__ method, and at the end of the first if block, add a
return statement to the end.

I am not sure how to handle this problem.  Does anyone have any ideas?

James Henstridge.

--
Email: [EMAIL PROTECTED]
WWW:   http://www.daa.com.au/~james/


On Fri, 19 Feb 1999, Markus F.X.J. Oberhumer wrote:

> 
> On 19-Feb-99 James Henstridge wrote:
> > Hello,
> > 
> > I have released a new snapshot of pygtk, that will probably become 0.5.11.
> > It contains the __[gs]etattr__ additions, and I have implemented a
> > (null-ok) tag for the .defs files that produces code so that None can be
> > passed in place of a string or GtkObject or boxed type (GdkFont/GdkColor
> > etc).
> 
> One problem with the new approach is that I no longer can add instance
> variables when deriving from classes like GtkDialog.
> 
> -----   Markus Oberhumer <[EMAIL PROTECTED]>   -----
> -----          http://wildsau.idv.uni-linz.ac.at/mfx/           -----
> -----     5E CB 5C 85 DE AF 9E BF  E9 DA 7E 6A 39 F8 CC 67      -----
> 
>                          3 WARPS TO URANUS
> 
> To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]
> 

To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

Reply via email to