Description

Position of the previous event, valid for move events.

Relative to the window. May be equal to Efl.Input.Pointer.position (by default).

This position, in integers, is an approximation of Efl.Input.Pointer.value.get(previous_x), Efl.Input.Pointer.value.get(previous_y). Use Efl.Input.Pointer.previous_position if you need simple pixel positions, but prefer the generic interface if you need precise coordinates.

Since 1.18

Values

  • pos - The position of the event, in pixels.

Signature

@property previous_position {
    get {
        values {
            pos: Eina.Position2D;
        }
    }
    set {
        values {
            pos: Eina.Position2D;
        }
    }
}

C signature

Eina_Position2D efl_input_pointer_previous_position_get(const Eo *obj);
void efl_input_pointer_previous_position_set(Eo *obj, Eina_Position2D pos);

Implemented by

  • Efl.Input.Pointer.previous_position