Table of Contents

Efl.Ui.Win.objects_in_rectangle_get

Description

Retrieve a list of objects overlapping a given rectangular region in a canvas.

This function will traverse all the layers of the given canvas, from top to bottom, querying for objects with areas overlapping with the given rectangular region. The user can exclude from the query objects which are hidden and/or which are set to pass events.

This function will only evaluate top-level objects; child or "sub" objects will be skipped.

Since 1.22

Overridden from Efl.Canvas.Scene.objects_in_rectangle_get.

Signature

objects_in_rectangle_get @pure_virtual {
    params {
        @in rect: Eina.Rect;
        @in include_pass_events_objects: bool;
        @in include_hidden_objects: bool;
    }
    return: iterator<Efl.Gfx.Entity> @no_unused;
}

C signature

Eina_Iterator *efl_canvas_scene_objects_in_rectangle_get(Eo *obj, Eina_Rect rect, Eina_Bool include_pass_events_objects, Eina_Bool include_hidden_objects);

Parameters

Implemented by