Efl.Pack_Linear.pack_unpack_at

Description

Pop out (remove) the sub-object at the specified index.

index ranges from -count to count-1, where positive numbers go from first sub-object (0) to last (count-1), and negative numbers go from last sub-object (-1) to first (-count). count is the number of sub-objects currently in the container as returned by Efl.Container.content_count.

If index is less than -count, it will remove the first sub-object whereas index greater than count-1 will remove the last sub-object.

Since 1.23

Signature

pack_unpack_at @pure_virtual {
    params {
        @in index: int;
    }
    return: Efl.Gfx.Entity;
}

C signature

Efl_Gfx_Entity *efl_pack_unpack_at(Eo *obj, int index);

Parameters

  • index (in) - Index of the sub-object to remove. Valid range is -count to count-1.

Implemented by