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.

Since 1.20

Values

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

Getter

Gets the size of the dradgable object.

Since 1.20

Setter

Sets the size of the draggable object.

Since 1.20

Signature

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

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

  • Efl.Ui.Drag.drag_size