From: Hugo C. <hug...@gm...> - 2010-05-18 15:50:14
|
Hi everyone, I couldn't get this to work, and by looking at the code it did not seem to be implemented, so here's a patch that allows sending signals to a box's items. It's quite useful when you populate a box in edje through items{} and can't access the evas_object directly or just want to do it in Edje. This does not change the current behavior to get messages from the item itself. It's used that way : emit => (signal = "boxname:idx:signal", source = "whatever") where idx is an integer (starting at 0 of course). The code is quite raw and may need a little reviewing/cleaning, but it seems to work as far as I've tested. Regards Hugo Camboulive |