Interface containing basic canvas-related methods and events.
Since 1.22
device (get)
Get a device by name.
Efl_Input_Device *efl_canvas_scene_device_get(const Eo *obj, const char *name);
Call user-providedcalculate
group functions and unset the flag signalling that the object needs to get recalculated to all group objects in the canvas.
void efl_canvas_scene_group_objects_calculate(Eo *obj);
group_objects_calculating (get)
Eina_Bool efl_canvas_scene_group_objects_calculating_get(const Eo *obj);
image_max_size (get)
Eina_Bool efl_canvas_scene_image_max_size_get(const Eo *obj, Eina_Size2D *max);
Retrieve the object stacked at the top of a given position in a canvas.
Efl_Gfx_Entity *efl_canvas_scene_object_top_at_xy_get(const Eo *obj, Eina_Position2D pos, Eina_Bool include_pass_events_objects, Eina_Bool include_hidden_objects);
Retrieve the canvas object stacked at the top of a given rectangular region in a canvas
Efl_Gfx_Entity *efl_canvas_scene_object_top_in_rectangle_get(const Eo *obj, Eina_Rect rect, Eina_Bool include_pass_events_objects, Eina_Bool include_hidden_objects);
Retrieve a list of objects at a given position in a canvas.
Eina_Iterator *efl_canvas_scene_objects_at_xy_get(Eo *obj, Eina_Position2D pos, Eina_Bool include_pass_events_objects, Eina_Bool include_hidden_objects);
Retrieve a list of objects overlapping a given rectangular region in a canvas.
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);
pointer_position (get)
Eina_Bool efl_canvas_scene_pointer_position_get(const Eo *obj, Efl_Input_Device *seat, Eina_Position2D *pos);
seat (get)
Get a seat by id.
Efl_Input_Device *efl_canvas_scene_seat_get(const Eo *obj, int id);
seat_default (get)
Get the default seat.
Efl_Input_Device *efl_canvas_scene_seat_default_get(const Eo *obj);
Iterate over the available input device seats for the canvas.
Eina_Iterator *efl_canvas_scene_seats(Eo *obj);
Called when input device was added
EFL_CANVAS_SCENE_EVENT_DEVICE_ADDED(Efl_Input_Device *, @beta)
Called when input device changed
EFL_CANVAS_SCENE_EVENT_DEVICE_CHANGED(Efl_Input_Device *, @beta)
Called when input device was removed
EFL_CANVAS_SCENE_EVENT_DEVICE_REMOVED(Efl_Input_Device *, @beta)
Called when object got focus
EFL_CANVAS_SCENE_EVENT_OBJECT_FOCUS_IN(Efl_Input_Focus *)
Called when object lost focus
EFL_CANVAS_SCENE_EVENT_OBJECT_FOCUS_OUT(Efl_Input_Focus *)
Called when post render happens
EFL_CANVAS_SCENE_EVENT_RENDER_POST(Efl_Gfx_Event_Render_Post, @beta)
Called when pre render happens
EFL_CANVAS_SCENE_EVENT_RENDER_PRE(void)
Called when scene got focus
EFL_CANVAS_SCENE_EVENT_SCENE_FOCUS_IN(void)
Called when scene lost focus
EFL_CANVAS_SCENE_EVENT_SCENE_FOCUS_OUT(void)