Both are okay now. We're looking into something more user-friendly for the future.
2010/6/16 Raphaël Pinson <raph...@gmail.com> > > > On Wed, Jun 16, 2010 at 7:14 AM, pamela (Google Employee) < > pamela...@gmail.com> wrote: > >> Hey Raphael - >> >> I've documented another way in this FAQ: >> http://wave-api-faq.appspot.com/#elementindex >> >> > Thank you Pamela. It still calls private methods. Which one is the > preferred way? > > > Raphaël > > > > >> <http://wave-api-faq.appspot.com/#elementindex>- pamela >> >> 2010/6/16 Raphaël Pinson <raph...@gmail.com> >> >>> Hi there again, >>> >>> I've been trying to retrieve gadgets from a blip (python API) and get >>> their index, but there doesn't seem to be such a property for elements. >>> >>> I ended up dropping blip.first() or blip.find() for this: >>> >>> for idx, elem in blip._elements.items(): >>> >>> Is there a cleaner way of getting the index for each element? >>> >>> >>> Raphaël >>> >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Google Wave API" group. >>> To post to this group, send email to google-wave-...@googlegroups.com. >>> To unsubscribe from this group, send email to >>> google-wave-api+unsubscr...@googlegroups.com<google-wave-api%2bunsubscr...@googlegroups.com> >>> . >>> For more options, visit this group at >>> http://groups.google.com/group/google-wave-api?hl=en. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google Wave API" group. >> To post to this group, send email to google-wave-...@googlegroups.com. >> To unsubscribe from this group, send email to >> google-wave-api+unsubscr...@googlegroups.com<google-wave-api%2bunsubscr...@googlegroups.com> >> . >> For more options, visit this group at >> http://groups.google.com/group/google-wave-api?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Google Wave API" group. > To post to this group, send email to google-wave-...@googlegroups.com. > To unsubscribe from this group, send email to > google-wave-api+unsubscr...@googlegroups.com<google-wave-api%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/google-wave-api?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google Wave API" group. To post to this group, send email to google-wave-...@googlegroups.com. To unsubscribe from this group, send email to google-wave-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-wave-api?hl=en.