I wrote:

>>>       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). :)
>   

     Just to clarify this remark a bit.. All this really means, in this
particular case of edje, is a means by which an edje object would setup,
on each of its member parts, a function that would allow for changing
the part description suitably to reflect the state of the member object..
eg. if a member obj's color is changed (via the evas api), then it would
call a color-inform kind of callback function which would end by basically
saying: have the parent edje smart find the part description corresponding
to that member obj (if possible) and change the color state there to be
the member's current color -- ie. a method to edit *some* of the edje
parts states via 'parent inform' kinds of callbacks. One could also
possibly use it to override things.. and in general it could be used for
many things.
      Anyway, not saying that would be useful or desirable.. just thought
I'd mention it. :)


____________________________________________________________
Smart Girls Secret Weapon
Read Unbiased Beauty Product Reviews, Get Helpful Tips, Tricks and Sam
http://thirdpartyoffers.juno.com/TGL2141/fc/JKFkuJi7U3yHewZcMDhFHgWVptnFkeI9CmwLEYcqR54FusUQ3MDtd2/

-------------------------------------------------------------------------
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

Reply via email to