Efl.Canvas.Layout_Part_Invalid.drag_size

Description

The draggable object relative size.

Values for dw and dh are real numbers that range from 0 to 1, representing the relative size of the draggable area on that axis.

For instance a scroll bar handle size may depend on the size of the scroller's content.

Values

  • dw - The drag relative width, from 0 to 1.
  • dh - The drag relative height, from 0 to 1.

Overridden from Efl.Ui.Drag.drag_size (get, set).

Signature

@property drag_size @pure_virtual {
    get {
        return: bool;
    }
    set {
        return: bool;
    }
    values {
        dw: double;
        dh: double;
    }
}

C signature

Eina_Bool efl_ui_drag_size_get(const Eo *obj, double *dw, double *dh);
Eina_Bool efl_ui_drag_size_set(Eo *obj, double dw, double dh);

Implemented by