On Tue, 24 Feb 2009 15:47:54 -0300 Gustavo Sverzut Barbieri <barbi...@profusion.mobi> said:
> On Tue, Feb 24, 2009 at 11:30 AM, Klaus Rechert <kl...@rechert.de> wrote: > > Hi all, > > > > Elementary is a very nice widget set! Great work! > > > > When I played with it lately I found it difficult to combine/use > > Elementary with custom e-smart objects. What is the suggested way for > > this task? If possible I want to avoid "specializing" my e-smart objects > > to widgets. > > What you mean?! Elementary just provide and takes smart objects, so > you just have to use them. If you use an elm_button or > evas_object_rectangle it shouldn't matter. You can use edje with elm > and elm widgets inside edje, it's all transparent! (Edje is a custom > smart object, so it applies to your own as well). just remember to set minx (and optionally max) size hints so elementary knows how to size and pack the objects u use/create: evas_object_size_hint_min_set(obj, w, h); evas_object_size_hint_max_set(obj, w, h); etc. (choose the w and h accordingly). also remember to make use of the align and weight hints too... like elementary uses itself whenever packing. also elm_layout is a quick edje wrapper that just ensures that sub-objects get deleted when the parent does and propagates min size back from children etc. so if u can use elm_layout to rap edje objects - u can get the edje object directly it wraps for emitting signals and other stuff. > -- > Gustavo Sverzut Barbieri > http://profusion.mobi embedded systems > -------------------------------------- > MSN: barbi...@gmail.com > Skype: gsbarbieri > Mobile: +55 (19) 9225-2202 > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ras...@rasterman.com ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel