On Thu, Dec 24, 2009 at 8:41 PM, daniele_athome <daniele.ath...@gmail.com> wrote: > On Thu, Dec 24, 2009 at 23:40, Gustavo Sverzut Barbieri > <barbi...@profusion.mobi> wrote: >> On Thu, Dec 24, 2009 at 10:19 AM, daniele_athome >> <daniele.ath...@gmail.com> wrote: >>> On Thu, Dec 24, 2009 at 10:46, daniele_athome <daniele.ath...@gmail.com> >>> wrote: >>>> The modified line is the last one, was "return cbt[0]" >>>> Merry christams to everybody >>> >>> There is another problem. data_get() on ListItem doesn't return the >>> correct data. Returned data is ( ( ), { } ). >> >> You mean in Python? (ListItem.data_get()) >> > > Yes, in Python.
Sorry taking so long to reply. - cbt[2], done. - data_get() was right, that is the data you give after the callback. If you do: list.item_append("Hello", icon, end, cb, 123, 456, a=123), then you receive ((123, 456), {'a': 123}) as expected. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -------------------------------------- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel