[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] QTreeWidgetItemIterator
From:       Giovanni Bajo <rasky () develer ! com>
Date:       2007-07-30 22:49:16
Message-ID: 1185835756.6479.1.camel () DevelBook
[Download RAW message or body]

On mar, 2007-07-31 at 00:33 +0200, David Boddie wrote:

> It looks like QTreeWidget could provide an __iter__() method to allow
> an improved iterator to be used for constructs such as for loops. That
> would also be useful.

Yes, this is one of those borderline case where sticking to the *exact*
C++ API doesn't seem to bring any concrete advantage. In this case, I'd
rather get a Python-friendly iterator and nothing more.
-- 
Giovanni Bajo


_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic