Table of Contents

Efl.Input.Pointer.previous_position

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.23

Values

Signature

@property previous_position {
    get {}
    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