This example creates an Ecore_Evas(a window) and associates a background and a custom cursor for it.
We'll start looking at the association, which is quite simple. We choose to associate using ECORE_EVAS_OBJECT_ASSOCIATE_BASE to have it be resized with the window, since for a background that is what's most useful:
We then check that the association worked:
Next we are going to set a custom cursor, for our cursor we are going to use a small green rectangle. Our cursor is going to be on layer 0(any lower and it would be below the background and thus invisible) and clicks will be computed as happening on pixel 1, 1 of the image:
We then check every one of those parameters:
Here you have the full-source of the code: