Efl.Gfx.Stack.stack_above

Description

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()

Since 1.22

Signature

stack_above @pure_virtual {
    params {
        @in above: Efl.Gfx.Stack;
    }
}

C signature

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

Parameters

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

Implemented by