Efl.Layout.Calc.calc_auto_update_hints

Description

Whether this object updates its size hints automatically.

By default edje doesn't set size hints on itself. If this property is set to true, size hints will be updated after recalculation. Be careful, as recalculation may happen often, enabling this property may have a considerable performance impact as other widgets will be notified of the size hints changes.

A layout recalculation can be triggered by Efl.Layout.Calc.calc_size_min(), Efl.Layout.Calc.calc_size_min(), Efl.Layout.Calc.calc_parts_extends() or even any other internal event.

Since 1.22

Values

  • update - Whether or not update the size hints.

Signature

@property calc_auto_update_hints @pure_virtual {
    get {}
    set {}
    values {
        update: bool (false);
    }
}

C signature

Eina_Bool efl_layout_calc_auto_update_hints_get(const Eo *obj);
void efl_layout_calc_auto_update_hints_set(Eo *obj, Eina_Bool update);

Implemented by