Efl.Pack_Linear.pack_content_get

Description

Sub-object at a given index in this container.

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 return the first sub-object whereas index greater than count-1 will return the last sub-object.

Since 1.23

Signature

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

C signature

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

Parameters

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

Implemented by