Hints for an object's margin or padding space.

This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.

The object container is in charge of fetching this property and placing the object accordingly.

Smart objects (such as elementary) can have their own hint policy. So calling this API may or may not affect the size of smart objects.

Since 1.22


  • l - Integer to specify left padding.
  • r - Integer to specify right padding.
  • t - Integer to specify top padding.
  • b - Integer to specify bottom padding.


@property hint_margin @pure_virtual {
    get {}
    set {}
    values {
        l: int;
        r: int;
        t: int;
        b: int;

C signature

void efl_gfx_hint_margin_get(const Eo *obj, int *l, int *r, int *t, int *b);
void efl_gfx_hint_margin_set(Eo *obj, int l, int r, int t, int b);

Implemented by