On Thu, Jul 1, 2010 at 3:22 PM, Atton Jonathan <jonathan.at...@gmail.com> wrote: > hello, > > How can I retrieve a external object which is in a edje box by using the > name of the object ? > > A simple example : > > > part { > name: "tools"; > type: BOX; > description {} > box { > items { > item { > type: GROUP; > source: "object name"; > ... > > > group { \ > name:"object name;" \ > parts { \ > part { \ > name: "object name"; \ > type: EXTERNAL; \ > repeat_events: 0; \ > source: "elm/button"; \ > ..... > > > I think we should improve edje_object_part_external_object_get(), this way > we can easily place the external object where we wish in the theme.
I did not test, but given your example uses 2 levels of Edje, one that defines the BOX and another that defines the box contents, then you must use BOX api to get the item and then call edje_object_part_external_object_get() on it to get the external. I don't recall the function to retrieve a specific object in the box, maybe that is missing and need to be added. -- 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 Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel