Hello Rafael Antognolli, we decided to remove this api to have a room for gengrid/genlist internal refactoring. At that time we were considering using elm_layout instead of edje_object due to focus chain maintain issue and etc. Once we export the internals of widgets, it's impossible to change them. And we were rushing on elementary 1.0 release (I know it was bad.) at that time. As of result of those combinations, elm_gengrid/genlist_item_object_get were removed. I know some widgets export internals but we tried to avoid export too many internals.
Of course, there is a workaround. Create one swallow area inside the gengrid item. Create whatever you want and swallow it into the item. You can send signals, get geometry, apply evas map, and etc because you created that object. However, it's been a while since elementary 1.0 was released. I suggest some options as of now. 1. decide whether to refactor gengrid/genlist or not. once the decision is made, work on it and export the internals. 2. just revive elm_gengrid/genlist_item_object_get 3. keep using suggested workaround. Thanks. Daniel Juyung Seo (SeoZ) On Wed, Dec 5, 2012 at 3:11 AM, Gustavo Sverzut Barbieri < barbi...@profusion.mobi> wrote: > On Tue, Dec 4, 2012 at 4:05 PM, Rafael Antognolli <antogno...@gmail.com> > wrote: > > Hello Hermet, > > > > On the commit http://trac.enlightenment.org/e/changeset/68537 you > > removed the elm_gengrid_item_object_get, but there's no equivalent to > > be used. > > > > Maybe the old elm_object_item_object_get() could substitute it, but > > it's also deprecated. The closest one is elm_object_item_widget_get(), > > which returns the containter widget (gengrid), not the item object. > > > > >From the description of the previous api: > > > > * This returns the actual Evas object used to implement the > > * specified gengrid item's view. This may be @c NULL, as it may > > * not have been created or may have been deleted, at any time, by > > * the gengrid. <b>Do not modify this object</b> (move, resize, > > * show, hide, etc.), as the gengrid is controlling it. This > > * function is for querying, emitting custom signals or hooking > > * lower level callbacks for events on that object. Do not delete > > * this object under any circumstances. > > > > This is exactly what I need to do. Is there any other API that could > > be used instead of this one, or was this a mistake? > > I already asked for that, to get the item view, no luck. It's > considered harmful bla bla bla :-( > > -- > Gustavo Sverzut Barbieri > http://profusion.mobi embedded systems > -------------------------------------- > MSN: barbi...@gmail.com > Skype: gsbarbieri > Mobile: +55 (19) 9225-2202 > > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel