Calculates the minimum required size for a given layout object.

This call will trigger an internal recalculation of all parts of the object, in order to return its minimum required dimensions for width and height. The user might choose to impose those minimum sizes, making the resulting calculation to get to values greater or equal than restricted in both directions.

At the end of this call, the object won't be automatically resized to the new dimensions, but just return the calculated sizes. The caller is the one up to change its geometry or not.
Be advised that invisible parts in the object will be taken into account in this calculation.

Since 1.22


calc_size_min @pure_virtual {
    params {
        @in restricted: Eina.Size2D @optional;
    return: Eina.Size2D;

C signature


  • restricted (in) - The minimum size constraint as input, the returned size can not be lower than this (in both directions).

Implemented by