On Wed, 20 Jun 2001, Phil Thompson wrote:
>
> Iterators in general aren't implemented. Until Python 2.0 there wasn't
> an obvious way to get them to iterate as Python didn't have ++ or +=
> operators. SIP has support for providing handwritten code to implement
> += for classes, so something could be done, but I think you are the
> first person to ask in nearly 3 years.
>
I have tried to use them, too, for my chapter on Python objects
and Qt objects - in connection with the layout managers. If I
remember correctly, I tried to list out the hierarchy of widgets and
layoutmanagers - something you cannot do without the iterator functions. I
wasted a good few evenings on trying this out...
_______________________________________________
PyKDE mailing list [EMAIL PROTECTED]
http://mats.gmd.de/mailman/listinfo/pykde