On Tue, 8 Apr 2008 09:24:50 -0300 andres <[EMAIL PROTECTED]> babbled:

you mean the data set with evas_object_data_set(), gotten with
evas_object_data_get() and deleted with evas_object_data_del() - right?

do u really need a dup.copy call - ro do u just need a list call to list all
keys under which data is stored (then u can just walk the list and do whatever
u see fit?)

> See: http://bugs.enlightenment.org/show_bug.cgi?id=431
> 
> I needed a way to copy all the data pointers from one Evas Object to another 
> to make changing themes at runtime possible in  a didactic framework I'm 
> working on for my devwithedje book, the full code of the framework code can 
> be seen here: http://pastebin.com/m345d2192 
> The relevant pieces are here: http://pastebin.com/d22d85bf
> 
> I found no clean way to do this outside Evas so my solution was to add a new
> function to Evas named "evas_object_data_pointers_copy" that does this task by
> receiving pointers to two Evas Objects and copying all the data pointers of 
> the first into the second.
> 
> This function does not copy the actual data, thus, with a little help ;-) I
> decided against using the following names: "evas_object_data_dup",
> "evas_object_data_copy", "evas_object_data_link". Any better name suggestion
> will be appreciated.
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
> Register now and save $200. Hurry, offer ends at 11:59 p.m., 
> Monday, April 7! Use priority code J8TLD2. 
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to