Hi everyone,

On 26 May 2016 at 11:21, Jean-Philippe André <j...@videolan.org> wrote:

> Hey Dave,
>
> On 26 May 2016 at 03:05, Davide Andreoli <d...@gurumeditation.it> wrote:
>
>> >From the last 2/3 days elm layout box and table legacy api is broken
>>
>> just try the elm test "Layout 2", it fail with this output:
>> ERR<17789>:edje lib/edje/edje_util.c:3891
>> _edje_object_efl_container_content_get() Edje group
>> 'elm/layout/application/toolbar-vbox' part 'elm.box.content' is not a
>> swallow. Did you mean to call efl_part() instead?
>> ERR<17789>:edje lib/edje/edje_util.c:3891
>> _edje_object_efl_container_content_get() Edje group
>> 'elm/layout/application/toolbar-table' part 'elm.table.content' is not a
>> swallow. Did you mean to call efl_part() instead?
>> ERR<17789>:edje lib/edje/edje_util.c:3891
>> _edje_object_efl_container_content_get() Edje group
>> 'elm/layout/application/toolbar-table' part 'elm.table.content' is not a
>> swallow. Did you mean to call efl_part() instead?
>>
>>
>> I think that this is related to the recent efl_part changes,
>> or maybe the containers interface works.
>>
>> both has been done by Jpeg, so I send a preliminary SPANK to him  :)
>>
>
> Yes. I'm working on this. More break^Wfixes to come soon.
> But thanks a lot for the report, I'll check and fix asap.
>

I pushed my fixes.
efl_part() is now used for BOX, TABLE in edje/elm swallows.
I also converted efl_content functions to take this efl_part proxy as
object.

In other words:
efl_content_get(layout) returns the default content of layout.
efl_content_get(efl_part(layout, "part")) returns the content in part
"part".

Support for text part, color part, etc... still needs to be implemented.
Support for object caching is not implemented either... performance may
become an issue (eg. edje load time).


I hope the internal code is not too convoluted and the API looks good.
Please report any issues you may find.


Best regards,

-- 
Jean-Philippe André
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to