On Wed, Dec 23, 2009 at 5:16 PM, daniele_athome <[email protected]> wrote: > Hello list. > I'm trying to implement the python binding for the longpressed event > of elementary List widget. > The problem is that selected ListItem is passed to the callback as a > integer, so I use some pyrex tricks to get the python wrapper. > My code goes segv when I try to cast data received from > elm_list_item_data_get() to a python object, that is, these lines: >
I introduced a framework to easy this conversion of event_info from C to Python (see _callback_add_full) and also made it more efl-like, by renaming _callback_remove() to _callback_del(), also the internals are more similar and some errors I handle in Evas are now also fixed in Elm (ie: delete the callback from the callback itself). Please help test. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -------------------------------------- MSN: [email protected] 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 [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
