ie while ((o = evas_object_bottom_get(evas)) evas_object_del(o);
will completely clear all objects in a canvas and empty it out completely.
Had some problems with implementing this - have attached a simple test program to illustrate the problem. At the first call of the evas_object_bottom_get function it grabs and then deletes the requested object, but a second call to the function returns exactly the same object. Running it in a while loop as above consequently results in an infinite loop and a hang. Does whatever the bottom_get function looks up need updating before re-use or is it a problem with the function?
I had a quick snoop at the evas source for the evas_object_bottom_get function and got moosed. I'll have to sit down with a few drinks one day to try and get to grips with it so I can fiddle around with it myself.
As an aside, the evas_object_top_get used in the same place in the above test program causes a segfault.
Cheers - I think, Daniel Stonier.
test.c
Description: Binary data
