Stack obj immediately above

Objects, in a given canvas, are stacked in the order they're added. This means that, if they overlap, the highest ones will cover the lowest ones, in that order. This function is a way to change the stacking order for the objects.

Its intended to be used with objects belonging to the same layer in a given canvas, otherwise it will fail (and accomplish nothing).

If you have smart objects on your canvas and obj is a member of one of them, then above must also be a member of the same smart object.

Similarly, if obj is not a member of a smart object, above must not be either.

See also Efl.Gfx.Stack.layer.get(), Efl.Gfx.Stack.layer.set() and Efl.Gfx.Stack.stack_below()

Overridden from Efl.Gfx.Stack.stack_above.


stack_above @pure_virtual {
    params {
        @in above: free(Efl.Gfx.Stack, efl_del) @nonull;

C signature

void efl_gfx_stack_above(Eo *obj, Efl_Gfx_Stack *above);


  • above (in) - The object above which to stack

Implemented by