On 1 Aug 2001, Pete Ware wrote:

> Is this what you are looking for?
>
>         item = listview.firstChild ()
>         while item:
>                 if item.isSelected ():
>                         count = count + 1
>                 item = item.nextSibling ()

Yes, stupid question of mine (well, actually, not quite: nextSibling won't
go through the whole tree, I think, so you either have to recurse, or use
the other method, whose name I forget, which gets the next visible item).

I realised just after I posted my first message of course, and it's
working now.

Thanks anyway!


John


_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.gmd.de/mailman/listinfo/pykde

Reply via email to