On Sat, 03 Dec 2005 02:50:47 +0100 xnowfall <[EMAIL PROTECTED]> babbled:

> is it possible to pass a value from the application to an edje? i'm 
> trying to set a tween-state based on a value in the program.
> 
> edje_object_message_send looks like it could send a float *somewhere*, 
> but i don't know if/how you could use it in the .edc ...

there are many ways - yes. messages works. singals work too (you can PARSE a
signal like a string in embryo script) but there is a dedicated system just for
this too that the battery and temperature modules use with the float value
after the state name. edje will find the "closest" provides value if you ask
for "my_state" 0.3 then edje wil look for the closest value of all state
descriptions called "my_state" for that part, and then use the closest.

-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to