Description

The drag step increment.

Values for dx and dy are real numbers that range from 0 to 1, representing the relative size of the draggable area on that axis by which the part will be moved.

This differs from Efl.Ui.Drag.drag_page in that this is meant to represent a unit increment, like a single line for example.

See also Efl.Ui.Drag.drag_page.

Since 1.20

Values

  • dx - The x step relative amount, from 0 to 1.
  • dy - The y step relative amount, from 0 to 1.

Getter

Gets the x and y step increments for the draggable object.

Since 1.20

Setter

Sets the x,y step increments for a draggable object.

Since 1.20

Signature

@property drag_step @pure_virtual {
    get {
        values {
            dx: double;
            dy: double;
        }
        return: bool;
    }
    set {
        values {
            dx: double;
            dy: double;
        }
        return: bool;
    }
}

C signature

Eina_Bool efl_ui_drag_step_get(const Eo *obj, double *dx, double *dy);
Eina_Bool efl_ui_drag_step_set(Eo *obj, double dx, double dy);

Implemented by

  • Efl.Ui.Drag.drag_step