Description

Low-level pointer behaviour.

This function has a direct effect on event callbacks related to pointers (mouse, ...).

If the value is Efl.Input.Object_Pointer_Mode.auto_grab (default), then when mouse is pressed down over this object, events will be restricted to it as source, mouse moves, for example, will be emitted even when the pointer goes outside this objects geometry.

If the value is Efl.Input.Object_Pointer_Mode.no_grab, then events will be emitted just when inside this object area.

The default value is Efl.Input.Object_Pointer_Mode.auto_grab. See also: Efl.Canvas.Object.pointer_mode_by_device.get and Efl.Canvas.Object.pointer_mode_by_device.set Note: This function will only set/get the mode for the default pointer.

Values

  • pointer_mode - Input pointer mode

Signature

@property pointer_mode {
    get {
        values {
            pointer_mode: Efl.Input.Object_Pointer_Mode;
        }
    }
    set {
        values {
            pointer_mode: Efl.Input.Object_Pointer_Mode;
        }
        return: bool;
    }
}

C signature

Efl_Input_Object_Pointer_Mode efl_canvas_object_pointer_mode_get(const Eo *obj);
Eina_Bool efl_canvas_object_pointer_mode_set(Eo *obj, Efl_Input_Object_Pointer_Mode pointer_mode);

Implemented by

  • Efl.Canvas.Object.pointer_mode