>> BTW, this is only tangentially related to scripting, but one thing
>> that's sometimes noted as an 'issue' with edje is that if one changes
>> the state of a part object (via evas calls), then the result isn't
>> updated in edje's internal description (part of the edje smart data).
>>
>
> you can't change the state of part - you can query it. that's it. unless you
> mean using evas calls to move/resize and otherwise modify a part inside an
> edje
> - which is simply never intended to work. ever. it is in fact violating edje's
> control over its parts. any code doing this is just wrong. :)
>
>
>> Well, one way to deal with this (if desired) is to have edje set
>> inform callbacks on each part object (ie. each member of the edje
>> smart obj), and these calls would have the effect of correspondingly
>> setting the relevant state in the parent's description, and trigger
>> (or que) a recalculate... or something of this sort.
>> I suppose swallowed objects (internal or not) could have something
>> similar done.
>>
>
> swallowed objects, once swallowed, should be left alone to edje playing with
> them as it is now in control. :)
>
That's right. I'm just mentioning a way by which you *could*
make it work.. namely, if edje itself would setup such 'parent inform'
callbacks (which don't really exist, though could be attempted thru
the current inform ones). :)
And as an even more tangential subject... One could bring to
evas itself some of the layout aspects of edje by introducing 'parent
relative' move/resize api funcs. These would allow one to set such
aspects *relative* to a parent smart (if the object has one). One
could have such parent-relative move/resize have (precent, absolute)
values, as done in edje. Of course some care would have to be taken
to ensure consistency with the normal canvas-absolute, ie. current,
functions.
____________________________________________________________
Click for a credit repair consultation, raise your FICO score.
http://thirdpartyoffers.juno.com/TGL2141/fc/Ioyw6i3m2LZxZd9FJDW84HfPd0ZEnCUcp2em49cqjUndAtnVUeId1S/
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel