On Mon, Sep 20, 2010 at 11:02 AM, pieterg <[email protected]> wrote: > I have an application which implements the complete userinterface in edje. > The userinterface contains a scroll list, which I implemented using an > esmart container, in an edje SWALLOW part. > > However, esmart seems to be deprecated for a while now, so I would like to > get rid of the esmart container. > > But I cannot find a nice replacement, which allows me to implement > scrolling. > Except for elementary perhaps, which looks very convenient, both for my > scrolllist, but also for my text entry fields (which I had to implement > hard way as well). > > But, from the examples and howtos I've found so far, it looks like using > elementary would mean rewriting the whole application, and use elementary > for the complete gui. > (and moving most of the gui/layout stuff out of the edc into the > application, in the process) > > Is that the only way to use elementary? Or would there be way to use a > single elementary object, and swallow it in an edje group? > (elm_layout seems to get close, but still it needs an elm_win parent) > > Or is there another way, which allows me to replacy just my esmart container > scroll list, without having to rewrite the complete userinterface?
You should use elementary, it's the recommended way so far. To use edje objects there, just use the elm_layout helper... it provides the edje object for you to use and hooks into elementary stuff, also provides elm_layout_content_set() that automatically adapts/recalculates the size when child modifies and deletes children when elm_layout dies. Other than this, I'd recommend using elm_win to get some benefits like focus and others working. It also provides convenient and fast list by means of elm_genlist, grid with elm_gengrid, integration with thumbnailer and more that can be useful. maybe these will help as well. As a last resource you can use elm_scroller and embed whatever you want there. Last but not least, if you have a full edje layout, you may consider using the new type: EXTERNAL infrastructure! it's super cool as it makes SWALLOW usage easier. Elementary and Emotion are external-ready and you can use them right now. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -------------------------------------- MSN: [email protected] Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ enlightenment-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-users
