On Sun, Mar 28, 2010 at 4:19 PM, Rui Miguel Silva Seabra <r...@1407.org> wrote:
> Em 28-03-2010 14:37, Gustavo Sverzut Barbieri escreveu:
>>>  But they are not the same evas object, though their behavior and api
>>> are nearly identical and the elem one uses the evas one.
>>
>> ehehehe... elm_table precedes evas table, actually evas table was
>> written based on the same code and once we have effort to convert
>> elm_table users to evas_object_table, we can just remove it :-) Same
>> for box. And these can be defined in edje, which is a big plus,
>> removing layout completely from C.
>
> Does this mean that we should generically
>    s/elm_table/evas_object_table/g

I'd recommend a more EFL, efficient and flexible approach: add your
layout as Edje, inside it define parts of type BOX or TABLE, then in
elementary:

layout = elm_layout_add(parent);
elm_layout_file_set(layout, file, group);
edje = elm_layout_edje_get(layout);

then, with edje, you just call pack, append or similar methods. But
padding, alignment and all are all up to theme. I used this with
netbook-launcher-efl used by Ubuntu and the result is AWESOME, you can
have themes so different, with one having a vertical and the other an
horizontal list, just by defining the list as BOX and adding it inside
a scroller. :-)


-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN: barbi...@gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to