• l - The number of the layer to place the object on. Must be between #EFL_GFX_STACK_LAYER_MIN and #EFL_GFX_STACK_LAYER_MAX.


Retrieves the layer of its canvas that the given object is part of.

See also Efl.Gfx.Stack.layer.set()


Sets the layer of its canvas that the given object will be part of.

If you don't use this function, you'll be dealing with an unique layer of objects (the default one). Additional layers are handy when you don't want a set of objects to interfere with another set with regard to stacking. Two layers are completely disjoint in that matter.

This is a low-level function, which you'd be using when something should be always on top, for example.

Don't change the layer of smart objects' children. Smart objects have a layer of their own, which should contain all their child objects.

See also Efl.Gfx.Stack.layer.get()

Overridden from Efl.Gfx.Stack.layer (get, set).


@property layer @pure_virtual {
    get {
        values {
            l: short;
    set {
        values {
            l: short;

C signature

short efl_gfx_stack_layer_get(const Eo *obj);
void efl_gfx_stack_layer_set(Eo *obj, short l);

Implemented by