Prepend an object before the existing sub-object.

When this container is deleted, it will request deletion of the given subobj. Use Efl.Pack.unpack to remove subobj from this container without deleting it.

If existing is NULL this method behaves like Efl.Pack_Linear.pack_begin.

Since 1.23

Overridden from Efl.Pack_Linear.pack_before.


pack_before @pure_virtual {
    params {
        @in subobj: Efl.Gfx.Entity;
        @in existing: const(Efl.Gfx.Entity);
    return: bool;

C signature

Eina_Bool efl_pack_before(Eo *obj, Efl_Gfx_Entity *subobj, const Efl_Gfx_Entity *existing);


  • subobj (in) - Object to pack before existing.
  • existing (in) - Existing reference sub-object. Must already belong to the container or be NULL.

Implemented by