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

Reply via email to