2 #pragma warning disable CS1591
4 using System.Runtime.InteropServices;
5 using System.Collections.Generic;
7 using System.Threading;
8 using System.ComponentModel;
13 /// <summary>Interface containing basic canvas-related methods and events.
14 /// (Since EFL 1.22)</summary>
15 [Efl.Canvas.ISceneConcrete.NativeMethods]
16 [Efl.Eo.BindingEntity]
17 public interface IScene :
18 Efl.Eo.IWrapper, IDisposable
20 /// <summary>Get the maximum image size the canvas can possibly handle.
21 /// This function returns the largest image or surface size that the canvas can handle in pixels, and if there is one, returns <c>true</c>. It returns <c>false</c> if no extra constraint on maximum image size exists.
23 /// The default limit is 65535x65535.
24 /// (Since EFL 1.22)</summary>
25 /// <param name="max">The maximum image size (in pixels).</param>
26 /// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
27 bool GetImageMaxSize(out Eina.Size2D max);
28 /// <summary>Get if the canvas is currently calculating group objects.
29 /// (Since EFL 1.22)</summary>
30 /// <returns><c>true</c> if currently calculating group objects.</returns>
31 bool GetGroupObjectsCalculating();
32 /// <summary>Get a device by name.
35 /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
36 /// <param name="name">The name of the seat to find.</param>
37 /// <returns>The device or seat, <c>null</c> if not found.</returns>
38 Efl.Input.Device GetDevice(System.String name);
39 /// <summary>Get a seat by id.
42 /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
43 /// <param name="id">The id of the seat to find.</param>
44 /// <returns>The seat or <c>null</c> if not found.</returns>
45 Efl.Input.Device GetSeat(int id);
46 /// <summary>Get the default seat.
49 /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
50 /// <returns>The default seat or <c>null</c> if one does not exist.</returns>
51 Efl.Input.Device GetSeatDefault();
52 /// <summary>This function returns the current known pointer coordinates
53 /// This function returns the current position of the main input pointer (mouse, pen, etc...).
56 /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
57 /// <param name="seat">The seat, or <c>null</c> to use the default.</param>
58 /// <param name="pos">The pointer position in pixels.</param>
59 /// <returns><c>true</c> if a pointer exists for the given seat, otherwise <c>false</c>.</returns>
60 bool GetPointerPosition(Efl.Input.Device seat, out Eina.Position2D pos);
61 /// <summary>Call user-provided <c>calculate</c> group functions and unset the flag signalling that the object needs to get recalculated to all group objects in the canvas.
62 /// (Since EFL 1.22)</summary>
63 void CalculateGroupObjects();
64 /// <summary>Retrieve a list of objects at a given position in a canvas.
65 /// This function will traverse all the layers of the given canvas, from top to bottom, querying for objects with areas covering the given position. The user can exclude from the query objects which are hidden and/or which are set to pass events.
67 /// Warning: This function will only evaluate top-level objects; child or "sub" objects will be skipped.
68 /// (Since EFL 1.22)</summary>
69 /// <param name="pos">The pixel position.</param>
70 /// <param name="include_pass_events_objects">Boolean flag to include or not objects which pass events in this calculation.</param>
71 /// <param name="include_hidden_objects">Boolean flag to include or not hidden objects in this calculation.</param>
72 /// <returns>The list of objects that are over the given position in <c>e</c>.</returns>
73 Eina.Iterator<Efl.Gfx.IEntity> GetObjectsAtXy(Eina.Position2D pos, bool include_pass_events_objects, bool include_hidden_objects);
74 /// <summary>Retrieve the object stacked at the top of a given position in a canvas.
75 /// This function will traverse all the layers of the given canvas, from top to bottom, querying for objects with areas covering the given position. The user can exclude from the query objects which are hidden and/or which are set to pass events.
77 /// Warning: This function will only evaluate top-level objects; child or "sub" objects will be skipped.
78 /// (Since EFL 1.22)</summary>
79 /// <param name="pos">The pixel position.</param>
80 /// <param name="include_pass_events_objects">Boolean flag to include or not objects which pass events in this calculation.</param>
81 /// <param name="include_hidden_objects">Boolean flag to include or not hidden objects in this calculation.</param>
82 /// <returns>The canvas object that is over all other objects at the given position.</returns>
83 Efl.Gfx.IEntity GetObjectTopAtXy(Eina.Position2D pos, bool include_pass_events_objects, bool include_hidden_objects);
84 /// <summary>Retrieve a list of objects overlapping a given rectangular region in a canvas.
85 /// 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.
87 /// Warning: This function will only evaluate top-level objects; child or "sub" objects will be skipped.
88 /// (Since EFL 1.22)</summary>
89 /// <param name="rect">The rectangular region.</param>
90 /// <param name="include_pass_events_objects">Boolean flag to include or not objects which pass events in this calculation.</param>
91 /// <param name="include_hidden_objects">Boolean flag to include or not hidden objects in this calculation.</param>
92 /// <returns>Iterator to objects</returns>
93 Eina.Iterator<Efl.Gfx.IEntity> GetObjectsInRectangle(Eina.Rect rect, bool include_pass_events_objects, bool include_hidden_objects);
94 /// <summary>Retrieve the canvas object stacked at the top of a given rectangular region in a canvas
95 /// 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.
97 /// Warning: This function will only evaluate top-level objects; child or "sub" objects will be skipped.
98 /// (Since EFL 1.22)</summary>
99 /// <param name="rect">The rectangular region.</param>
100 /// <param name="include_pass_events_objects">Boolean flag to include or not objects which pass events in this calculation.</param>
101 /// <param name="include_hidden_objects">Boolean flag to include or not hidden objects in this calculation.</param>
102 /// <returns>The object that is over all other objects at the given rectangular region.</returns>
103 Efl.Gfx.IEntity GetObjectTopInRectangle(Eina.Rect rect, bool include_pass_events_objects, bool include_hidden_objects);
104 /// <summary>Iterate over the available input device seats for the canvas.
105 /// A "seat" is the term used for a group of input devices, typically including a pointer and a keyboard. A seat object is the parent of the individual input devices.
108 /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
109 /// <returns>An iterator over the attached seats.</returns>
110 Eina.Iterator<Efl.Input.Device> Seats();
111 /// <summary>Called when scene got focus
112 /// (Since EFL 1.22)</summary>
113 event EventHandler SceneFocusInEvt;
114 /// <summary>Called when scene lost focus
115 /// (Since EFL 1.22)</summary>
116 event EventHandler SceneFocusOutEvt;
117 /// <summary>Called when object got focus
118 /// (Since EFL 1.22)</summary>
119 /// <value><see cref="Efl.Canvas.ISceneObjectFocusInEvt_Args"/></value>
120 event EventHandler<Efl.Canvas.ISceneObjectFocusInEvt_Args> ObjectFocusInEvt;
121 /// <summary>Called when object lost focus
122 /// (Since EFL 1.22)</summary>
123 /// <value><see cref="Efl.Canvas.ISceneObjectFocusOutEvt_Args"/></value>
124 event EventHandler<Efl.Canvas.ISceneObjectFocusOutEvt_Args> ObjectFocusOutEvt;
125 /// <summary>Called when pre render happens
126 /// (Since EFL 1.22)</summary>
127 event EventHandler RenderPreEvt;
128 /// <summary>Called when post render happens
129 /// (Since EFL 1.22)</summary>
130 /// <value><see cref="Efl.Canvas.ISceneRenderPostEvt_Args"/></value>
131 event EventHandler<Efl.Canvas.ISceneRenderPostEvt_Args> RenderPostEvt;
132 /// <summary>Called when input device changed
133 /// (Since EFL 1.22)</summary>
134 /// <value><see cref="Efl.Canvas.ISceneDeviceChangedEvt_Args"/></value>
135 event EventHandler<Efl.Canvas.ISceneDeviceChangedEvt_Args> DeviceChangedEvt;
136 /// <summary>Called when input device was added
137 /// (Since EFL 1.22)</summary>
138 /// <value><see cref="Efl.Canvas.ISceneDeviceAddedEvt_Args"/></value>
139 event EventHandler<Efl.Canvas.ISceneDeviceAddedEvt_Args> DeviceAddedEvt;
140 /// <summary>Called when input device was removed
141 /// (Since EFL 1.22)</summary>
142 /// <value><see cref="Efl.Canvas.ISceneDeviceRemovedEvt_Args"/></value>
143 event EventHandler<Efl.Canvas.ISceneDeviceRemovedEvt_Args> DeviceRemovedEvt;
144 /// <summary>Get the maximum image size the canvas can possibly handle.
145 /// This function returns the largest image or surface size that the canvas can handle in pixels, and if there is one, returns <c>true</c>. It returns <c>false</c> if no extra constraint on maximum image size exists.
147 /// The default limit is 65535x65535.
148 /// (Since EFL 1.22)</summary>
149 /// <value><c>true</c> on success, <c>false</c> otherwise</value>
150 Eina.Size2D ImageMaxSize {
153 /// <summary>Get if the canvas is currently calculating group objects.
154 /// (Since EFL 1.22)</summary>
155 /// <value><c>true</c> if currently calculating group objects.</value>
156 bool GroupObjectsCalculating {
159 /// <summary>Get the default seat attached to this canvas.
160 /// A canvas may have exactly one default seat.
162 /// See also <see cref="Efl.Canvas.IScene.GetDevice"/> to find a seat by name. See also <see cref="Efl.Canvas.IScene.GetSeat"/> to find a seat by id.
165 /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
166 /// <value>The default seat or <c>null</c> if one does not exist.</value>
167 Efl.Input.Device SeatDefault {
171 /// <summary>Event argument wrapper for event <see cref="Efl.Canvas.IScene.ObjectFocusInEvt"/>.</summary>
172 [Efl.Eo.BindingEntity]
173 public class ISceneObjectFocusInEvt_Args : EventArgs {
174 /// <summary>Actual event payload.</summary>
175 /// <value>Called when object got focus</value>
176 public Efl.Input.Focus arg { get; set; }
178 /// <summary>Event argument wrapper for event <see cref="Efl.Canvas.IScene.ObjectFocusOutEvt"/>.</summary>
179 [Efl.Eo.BindingEntity]
180 public class ISceneObjectFocusOutEvt_Args : EventArgs {
181 /// <summary>Actual event payload.</summary>
182 /// <value>Called when object lost focus</value>
183 public Efl.Input.Focus arg { get; set; }
185 /// <summary>Event argument wrapper for event <see cref="Efl.Canvas.IScene.RenderPostEvt"/>.</summary>
186 [Efl.Eo.BindingEntity]
187 public class ISceneRenderPostEvt_Args : EventArgs {
188 /// <summary>Actual event payload.</summary>
189 /// <value>Called when post render happens</value>
190 public Efl.Gfx.Event.RenderPost arg { get; set; }
192 /// <summary>Event argument wrapper for event <see cref="Efl.Canvas.IScene.DeviceChangedEvt"/>.</summary>
193 [Efl.Eo.BindingEntity]
194 public class ISceneDeviceChangedEvt_Args : EventArgs {
195 /// <summary>Actual event payload.</summary>
196 /// <value>Called when input device changed</value>
197 public Efl.Input.Device arg { get; set; }
199 /// <summary>Event argument wrapper for event <see cref="Efl.Canvas.IScene.DeviceAddedEvt"/>.</summary>
200 [Efl.Eo.BindingEntity]
201 public class ISceneDeviceAddedEvt_Args : EventArgs {
202 /// <summary>Actual event payload.</summary>
203 /// <value>Called when input device was added</value>
204 public Efl.Input.Device arg { get; set; }
206 /// <summary>Event argument wrapper for event <see cref="Efl.Canvas.IScene.DeviceRemovedEvt"/>.</summary>
207 [Efl.Eo.BindingEntity]
208 public class ISceneDeviceRemovedEvt_Args : EventArgs {
209 /// <summary>Actual event payload.</summary>
210 /// <value>Called when input device was removed</value>
211 public Efl.Input.Device arg { get; set; }
213 /// <summary>Interface containing basic canvas-related methods and events.
214 /// (Since EFL 1.22)</summary>
215 sealed public class ISceneConcrete :
220 /// <summary>Pointer to the native class description.</summary>
221 public override System.IntPtr NativeClass
225 if (((object)this).GetType() == typeof(ISceneConcrete))
227 return GetEflClassStatic();
231 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
236 /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
237 /// Do not call this constructor directly.</summary>
238 /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
239 private ISceneConcrete(ConstructingHandle ch) : base(ch)
243 [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
244 efl_canvas_scene_interface_get();
245 /// <summary>Initializes a new instance of the <see cref="IScene"/> class.
246 /// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
247 /// <param name="wh">The native pointer to be wrapped.</param>
248 private ISceneConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
252 /// <summary>Called when scene got focus
253 /// (Since EFL 1.22)</summary>
254 public event EventHandler SceneFocusInEvt
258 lock (eflBindingEventLock)
260 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
262 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
265 EventArgs args = EventArgs.Empty;
268 value?.Invoke(obj, args);
272 Eina.Log.Error(e.ToString());
273 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
278 string key = "_EFL_CANVAS_SCENE_EVENT_SCENE_FOCUS_IN";
279 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
285 lock (eflBindingEventLock)
287 string key = "_EFL_CANVAS_SCENE_EVENT_SCENE_FOCUS_IN";
288 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
292 /// <summary>Method to raise event SceneFocusInEvt.</summary>
293 public void OnSceneFocusInEvt(EventArgs e)
295 var key = "_EFL_CANVAS_SCENE_EVENT_SCENE_FOCUS_IN";
296 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
297 if (desc == IntPtr.Zero)
299 Eina.Log.Error($"Failed to get native event {key}");
303 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
305 /// <summary>Called when scene lost focus
306 /// (Since EFL 1.22)</summary>
307 public event EventHandler SceneFocusOutEvt
311 lock (eflBindingEventLock)
313 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
315 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
318 EventArgs args = EventArgs.Empty;
321 value?.Invoke(obj, args);
325 Eina.Log.Error(e.ToString());
326 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
331 string key = "_EFL_CANVAS_SCENE_EVENT_SCENE_FOCUS_OUT";
332 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
338 lock (eflBindingEventLock)
340 string key = "_EFL_CANVAS_SCENE_EVENT_SCENE_FOCUS_OUT";
341 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
345 /// <summary>Method to raise event SceneFocusOutEvt.</summary>
346 public void OnSceneFocusOutEvt(EventArgs e)
348 var key = "_EFL_CANVAS_SCENE_EVENT_SCENE_FOCUS_OUT";
349 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
350 if (desc == IntPtr.Zero)
352 Eina.Log.Error($"Failed to get native event {key}");
356 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
358 /// <summary>Called when object got focus
359 /// (Since EFL 1.22)</summary>
360 /// <value><see cref="Efl.Canvas.ISceneObjectFocusInEvt_Args"/></value>
361 public event EventHandler<Efl.Canvas.ISceneObjectFocusInEvt_Args> ObjectFocusInEvt
365 lock (eflBindingEventLock)
367 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
369 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
372 Efl.Canvas.ISceneObjectFocusInEvt_Args args = new Efl.Canvas.ISceneObjectFocusInEvt_Args();
373 args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Input.Focus);
376 value?.Invoke(obj, args);
380 Eina.Log.Error(e.ToString());
381 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
386 string key = "_EFL_CANVAS_SCENE_EVENT_OBJECT_FOCUS_IN";
387 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
393 lock (eflBindingEventLock)
395 string key = "_EFL_CANVAS_SCENE_EVENT_OBJECT_FOCUS_IN";
396 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
400 /// <summary>Method to raise event ObjectFocusInEvt.</summary>
401 public void OnObjectFocusInEvt(Efl.Canvas.ISceneObjectFocusInEvt_Args e)
403 var key = "_EFL_CANVAS_SCENE_EVENT_OBJECT_FOCUS_IN";
404 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
405 if (desc == IntPtr.Zero)
407 Eina.Log.Error($"Failed to get native event {key}");
411 IntPtr info = e.arg.NativeHandle;
412 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
414 /// <summary>Called when object lost focus
415 /// (Since EFL 1.22)</summary>
416 /// <value><see cref="Efl.Canvas.ISceneObjectFocusOutEvt_Args"/></value>
417 public event EventHandler<Efl.Canvas.ISceneObjectFocusOutEvt_Args> ObjectFocusOutEvt
421 lock (eflBindingEventLock)
423 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
425 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
428 Efl.Canvas.ISceneObjectFocusOutEvt_Args args = new Efl.Canvas.ISceneObjectFocusOutEvt_Args();
429 args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Input.Focus);
432 value?.Invoke(obj, args);
436 Eina.Log.Error(e.ToString());
437 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
442 string key = "_EFL_CANVAS_SCENE_EVENT_OBJECT_FOCUS_OUT";
443 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
449 lock (eflBindingEventLock)
451 string key = "_EFL_CANVAS_SCENE_EVENT_OBJECT_FOCUS_OUT";
452 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
456 /// <summary>Method to raise event ObjectFocusOutEvt.</summary>
457 public void OnObjectFocusOutEvt(Efl.Canvas.ISceneObjectFocusOutEvt_Args e)
459 var key = "_EFL_CANVAS_SCENE_EVENT_OBJECT_FOCUS_OUT";
460 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
461 if (desc == IntPtr.Zero)
463 Eina.Log.Error($"Failed to get native event {key}");
467 IntPtr info = e.arg.NativeHandle;
468 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
470 /// <summary>Called when pre render happens
471 /// (Since EFL 1.22)</summary>
472 public event EventHandler RenderPreEvt
476 lock (eflBindingEventLock)
478 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
480 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
483 EventArgs args = EventArgs.Empty;
486 value?.Invoke(obj, args);
490 Eina.Log.Error(e.ToString());
491 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
496 string key = "_EFL_CANVAS_SCENE_EVENT_RENDER_PRE";
497 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
503 lock (eflBindingEventLock)
505 string key = "_EFL_CANVAS_SCENE_EVENT_RENDER_PRE";
506 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
510 /// <summary>Method to raise event RenderPreEvt.</summary>
511 public void OnRenderPreEvt(EventArgs e)
513 var key = "_EFL_CANVAS_SCENE_EVENT_RENDER_PRE";
514 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
515 if (desc == IntPtr.Zero)
517 Eina.Log.Error($"Failed to get native event {key}");
521 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
523 /// <summary>Called when post render happens
524 /// (Since EFL 1.22)</summary>
525 /// <value><see cref="Efl.Canvas.ISceneRenderPostEvt_Args"/></value>
526 public event EventHandler<Efl.Canvas.ISceneRenderPostEvt_Args> RenderPostEvt
530 lock (eflBindingEventLock)
532 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
534 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
537 Efl.Canvas.ISceneRenderPostEvt_Args args = new Efl.Canvas.ISceneRenderPostEvt_Args();
541 value?.Invoke(obj, args);
545 Eina.Log.Error(e.ToString());
546 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
551 string key = "_EFL_CANVAS_SCENE_EVENT_RENDER_POST";
552 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
558 lock (eflBindingEventLock)
560 string key = "_EFL_CANVAS_SCENE_EVENT_RENDER_POST";
561 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
565 /// <summary>Method to raise event RenderPostEvt.</summary>
566 public void OnRenderPostEvt(Efl.Canvas.ISceneRenderPostEvt_Args e)
568 var key = "_EFL_CANVAS_SCENE_EVENT_RENDER_POST";
569 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
570 if (desc == IntPtr.Zero)
572 Eina.Log.Error($"Failed to get native event {key}");
576 IntPtr info = Marshal.AllocHGlobal(Marshal.SizeOf(e.arg));
579 Marshal.StructureToPtr(e.arg, info, false);
580 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
584 Marshal.FreeHGlobal(info);
587 /// <summary>Called when input device changed
588 /// (Since EFL 1.22)</summary>
589 /// <value><see cref="Efl.Canvas.ISceneDeviceChangedEvt_Args"/></value>
590 public event EventHandler<Efl.Canvas.ISceneDeviceChangedEvt_Args> DeviceChangedEvt
594 lock (eflBindingEventLock)
596 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
598 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
601 Efl.Canvas.ISceneDeviceChangedEvt_Args args = new Efl.Canvas.ISceneDeviceChangedEvt_Args();
602 args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Input.Device);
605 value?.Invoke(obj, args);
609 Eina.Log.Error(e.ToString());
610 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
615 string key = "_EFL_CANVAS_SCENE_EVENT_DEVICE_CHANGED";
616 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
622 lock (eflBindingEventLock)
624 string key = "_EFL_CANVAS_SCENE_EVENT_DEVICE_CHANGED";
625 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
629 /// <summary>Method to raise event DeviceChangedEvt.</summary>
630 public void OnDeviceChangedEvt(Efl.Canvas.ISceneDeviceChangedEvt_Args e)
632 var key = "_EFL_CANVAS_SCENE_EVENT_DEVICE_CHANGED";
633 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
634 if (desc == IntPtr.Zero)
636 Eina.Log.Error($"Failed to get native event {key}");
640 IntPtr info = e.arg.NativeHandle;
641 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
643 /// <summary>Called when input device was added
644 /// (Since EFL 1.22)</summary>
645 /// <value><see cref="Efl.Canvas.ISceneDeviceAddedEvt_Args"/></value>
646 public event EventHandler<Efl.Canvas.ISceneDeviceAddedEvt_Args> DeviceAddedEvt
650 lock (eflBindingEventLock)
652 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
654 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
657 Efl.Canvas.ISceneDeviceAddedEvt_Args args = new Efl.Canvas.ISceneDeviceAddedEvt_Args();
658 args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Input.Device);
661 value?.Invoke(obj, args);
665 Eina.Log.Error(e.ToString());
666 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
671 string key = "_EFL_CANVAS_SCENE_EVENT_DEVICE_ADDED";
672 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
678 lock (eflBindingEventLock)
680 string key = "_EFL_CANVAS_SCENE_EVENT_DEVICE_ADDED";
681 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
685 /// <summary>Method to raise event DeviceAddedEvt.</summary>
686 public void OnDeviceAddedEvt(Efl.Canvas.ISceneDeviceAddedEvt_Args e)
688 var key = "_EFL_CANVAS_SCENE_EVENT_DEVICE_ADDED";
689 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
690 if (desc == IntPtr.Zero)
692 Eina.Log.Error($"Failed to get native event {key}");
696 IntPtr info = e.arg.NativeHandle;
697 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
699 /// <summary>Called when input device was removed
700 /// (Since EFL 1.22)</summary>
701 /// <value><see cref="Efl.Canvas.ISceneDeviceRemovedEvt_Args"/></value>
702 public event EventHandler<Efl.Canvas.ISceneDeviceRemovedEvt_Args> DeviceRemovedEvt
706 lock (eflBindingEventLock)
708 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
710 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
713 Efl.Canvas.ISceneDeviceRemovedEvt_Args args = new Efl.Canvas.ISceneDeviceRemovedEvt_Args();
714 args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Input.Device);
717 value?.Invoke(obj, args);
721 Eina.Log.Error(e.ToString());
722 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
727 string key = "_EFL_CANVAS_SCENE_EVENT_DEVICE_REMOVED";
728 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
734 lock (eflBindingEventLock)
736 string key = "_EFL_CANVAS_SCENE_EVENT_DEVICE_REMOVED";
737 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
741 /// <summary>Method to raise event DeviceRemovedEvt.</summary>
742 public void OnDeviceRemovedEvt(Efl.Canvas.ISceneDeviceRemovedEvt_Args e)
744 var key = "_EFL_CANVAS_SCENE_EVENT_DEVICE_REMOVED";
745 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
746 if (desc == IntPtr.Zero)
748 Eina.Log.Error($"Failed to get native event {key}");
752 IntPtr info = e.arg.NativeHandle;
753 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
755 /// <summary>Get the maximum image size the canvas can possibly handle.
756 /// This function returns the largest image or surface size that the canvas can handle in pixels, and if there is one, returns <c>true</c>. It returns <c>false</c> if no extra constraint on maximum image size exists.
758 /// The default limit is 65535x65535.
759 /// (Since EFL 1.22)</summary>
760 /// <param name="max">The maximum image size (in pixels).</param>
761 /// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
762 public bool GetImageMaxSize(out Eina.Size2D max) {
763 var _out_max = new Eina.Size2D.NativeStruct();
764 var _ret_var = Efl.Canvas.ISceneConcrete.NativeMethods.efl_canvas_scene_image_max_size_get_ptr.Value.Delegate(this.NativeHandle,out _out_max);
765 Eina.Error.RaiseIfUnhandledException();
769 /// <summary>Get if the canvas is currently calculating group objects.
770 /// (Since EFL 1.22)</summary>
771 /// <returns><c>true</c> if currently calculating group objects.</returns>
772 public bool GetGroupObjectsCalculating() {
773 var _ret_var = Efl.Canvas.ISceneConcrete.NativeMethods.efl_canvas_scene_group_objects_calculating_get_ptr.Value.Delegate(this.NativeHandle);
774 Eina.Error.RaiseIfUnhandledException();
777 /// <summary>Get a device by name.
780 /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
781 /// <param name="name">The name of the seat to find.</param>
782 /// <returns>The device or seat, <c>null</c> if not found.</returns>
783 public Efl.Input.Device GetDevice(System.String name) {
784 var _ret_var = Efl.Canvas.ISceneConcrete.NativeMethods.efl_canvas_scene_device_get_ptr.Value.Delegate(this.NativeHandle,name);
785 Eina.Error.RaiseIfUnhandledException();
788 /// <summary>Get a seat by id.
791 /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
792 /// <param name="id">The id of the seat to find.</param>
793 /// <returns>The seat or <c>null</c> if not found.</returns>
794 public Efl.Input.Device GetSeat(int id) {
795 var _ret_var = Efl.Canvas.ISceneConcrete.NativeMethods.efl_canvas_scene_seat_get_ptr.Value.Delegate(this.NativeHandle,id);
796 Eina.Error.RaiseIfUnhandledException();
799 /// <summary>Get the default seat.
802 /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
803 /// <returns>The default seat or <c>null</c> if one does not exist.</returns>
804 public Efl.Input.Device GetSeatDefault() {
805 var _ret_var = Efl.Canvas.ISceneConcrete.NativeMethods.efl_canvas_scene_seat_default_get_ptr.Value.Delegate(this.NativeHandle);
806 Eina.Error.RaiseIfUnhandledException();
809 /// <summary>This function returns the current known pointer coordinates
810 /// This function returns the current position of the main input pointer (mouse, pen, etc...).
813 /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
814 /// <param name="seat">The seat, or <c>null</c> to use the default.</param>
815 /// <param name="pos">The pointer position in pixels.</param>
816 /// <returns><c>true</c> if a pointer exists for the given seat, otherwise <c>false</c>.</returns>
817 public bool GetPointerPosition(Efl.Input.Device seat, out Eina.Position2D pos) {
818 var _out_pos = new Eina.Position2D.NativeStruct();
819 var _ret_var = Efl.Canvas.ISceneConcrete.NativeMethods.efl_canvas_scene_pointer_position_get_ptr.Value.Delegate(this.NativeHandle,seat, out _out_pos);
820 Eina.Error.RaiseIfUnhandledException();
824 /// <summary>Call user-provided <c>calculate</c> group functions and unset the flag signalling that the object needs to get recalculated to all group objects in the canvas.
825 /// (Since EFL 1.22)</summary>
826 public void CalculateGroupObjects() {
827 Efl.Canvas.ISceneConcrete.NativeMethods.efl_canvas_scene_group_objects_calculate_ptr.Value.Delegate(this.NativeHandle);
828 Eina.Error.RaiseIfUnhandledException();
830 /// <summary>Retrieve a list of objects at a given position in a canvas.
831 /// This function will traverse all the layers of the given canvas, from top to bottom, querying for objects with areas covering the given position. The user can exclude from the query objects which are hidden and/or which are set to pass events.
833 /// Warning: This function will only evaluate top-level objects; child or "sub" objects will be skipped.
834 /// (Since EFL 1.22)</summary>
835 /// <param name="pos">The pixel position.</param>
836 /// <param name="include_pass_events_objects">Boolean flag to include or not objects which pass events in this calculation.</param>
837 /// <param name="include_hidden_objects">Boolean flag to include or not hidden objects in this calculation.</param>
838 /// <returns>The list of objects that are over the given position in <c>e</c>.</returns>
839 public Eina.Iterator<Efl.Gfx.IEntity> GetObjectsAtXy(Eina.Position2D pos, bool include_pass_events_objects, bool include_hidden_objects) {
840 Eina.Position2D.NativeStruct _in_pos = pos;
841 var _ret_var = Efl.Canvas.ISceneConcrete.NativeMethods.efl_canvas_scene_objects_at_xy_get_ptr.Value.Delegate(this.NativeHandle,_in_pos, include_pass_events_objects, include_hidden_objects);
842 Eina.Error.RaiseIfUnhandledException();
843 return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true);
845 /// <summary>Retrieve the object stacked at the top of a given position in a canvas.
846 /// This function will traverse all the layers of the given canvas, from top to bottom, querying for objects with areas covering the given position. The user can exclude from the query objects which are hidden and/or which are set to pass events.
848 /// Warning: This function will only evaluate top-level objects; child or "sub" objects will be skipped.
849 /// (Since EFL 1.22)</summary>
850 /// <param name="pos">The pixel position.</param>
851 /// <param name="include_pass_events_objects">Boolean flag to include or not objects which pass events in this calculation.</param>
852 /// <param name="include_hidden_objects">Boolean flag to include or not hidden objects in this calculation.</param>
853 /// <returns>The canvas object that is over all other objects at the given position.</returns>
854 public Efl.Gfx.IEntity GetObjectTopAtXy(Eina.Position2D pos, bool include_pass_events_objects, bool include_hidden_objects) {
855 Eina.Position2D.NativeStruct _in_pos = pos;
856 var _ret_var = Efl.Canvas.ISceneConcrete.NativeMethods.efl_canvas_scene_object_top_at_xy_get_ptr.Value.Delegate(this.NativeHandle,_in_pos, include_pass_events_objects, include_hidden_objects);
857 Eina.Error.RaiseIfUnhandledException();
860 /// <summary>Retrieve a list of objects overlapping a given rectangular region in a canvas.
861 /// 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.
863 /// Warning: This function will only evaluate top-level objects; child or "sub" objects will be skipped.
864 /// (Since EFL 1.22)</summary>
865 /// <param name="rect">The rectangular region.</param>
866 /// <param name="include_pass_events_objects">Boolean flag to include or not objects which pass events in this calculation.</param>
867 /// <param name="include_hidden_objects">Boolean flag to include or not hidden objects in this calculation.</param>
868 /// <returns>Iterator to objects</returns>
869 public Eina.Iterator<Efl.Gfx.IEntity> GetObjectsInRectangle(Eina.Rect rect, bool include_pass_events_objects, bool include_hidden_objects) {
870 Eina.Rect.NativeStruct _in_rect = rect;
871 var _ret_var = Efl.Canvas.ISceneConcrete.NativeMethods.efl_canvas_scene_objects_in_rectangle_get_ptr.Value.Delegate(this.NativeHandle,_in_rect, include_pass_events_objects, include_hidden_objects);
872 Eina.Error.RaiseIfUnhandledException();
873 return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true);
875 /// <summary>Retrieve the canvas object stacked at the top of a given rectangular region in a canvas
876 /// 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.
878 /// Warning: This function will only evaluate top-level objects; child or "sub" objects will be skipped.
879 /// (Since EFL 1.22)</summary>
880 /// <param name="rect">The rectangular region.</param>
881 /// <param name="include_pass_events_objects">Boolean flag to include or not objects which pass events in this calculation.</param>
882 /// <param name="include_hidden_objects">Boolean flag to include or not hidden objects in this calculation.</param>
883 /// <returns>The object that is over all other objects at the given rectangular region.</returns>
884 public Efl.Gfx.IEntity GetObjectTopInRectangle(Eina.Rect rect, bool include_pass_events_objects, bool include_hidden_objects) {
885 Eina.Rect.NativeStruct _in_rect = rect;
886 var _ret_var = Efl.Canvas.ISceneConcrete.NativeMethods.efl_canvas_scene_object_top_in_rectangle_get_ptr.Value.Delegate(this.NativeHandle,_in_rect, include_pass_events_objects, include_hidden_objects);
887 Eina.Error.RaiseIfUnhandledException();
890 /// <summary>Iterate over the available input device seats for the canvas.
891 /// A "seat" is the term used for a group of input devices, typically including a pointer and a keyboard. A seat object is the parent of the individual input devices.
894 /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
895 /// <returns>An iterator over the attached seats.</returns>
896 public Eina.Iterator<Efl.Input.Device> Seats() {
897 var _ret_var = Efl.Canvas.ISceneConcrete.NativeMethods.efl_canvas_scene_seats_ptr.Value.Delegate(this.NativeHandle);
898 Eina.Error.RaiseIfUnhandledException();
899 return new Eina.Iterator<Efl.Input.Device>(_ret_var, true);
901 /// <summary>Get the maximum image size the canvas can possibly handle.
902 /// This function returns the largest image or surface size that the canvas can handle in pixels, and if there is one, returns <c>true</c>. It returns <c>false</c> if no extra constraint on maximum image size exists.
904 /// The default limit is 65535x65535.
905 /// (Since EFL 1.22)</summary>
906 /// <value><c>true</c> on success, <c>false</c> otherwise</value>
907 public Eina.Size2D ImageMaxSize {
909 Eina.Size2D _out_max = default(Eina.Size2D);
910 GetImageMaxSize(out _out_max);
914 /// <summary>Get if the canvas is currently calculating group objects.
915 /// (Since EFL 1.22)</summary>
916 /// <value><c>true</c> if currently calculating group objects.</value>
917 public bool GroupObjectsCalculating {
918 get { return GetGroupObjectsCalculating(); }
920 /// <summary>Get the default seat attached to this canvas.
921 /// A canvas may have exactly one default seat.
923 /// See also <see cref="Efl.Canvas.IScene.GetDevice"/> to find a seat by name. See also <see cref="Efl.Canvas.IScene.GetSeat"/> to find a seat by id.
926 /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
927 /// <value>The default seat or <c>null</c> if one does not exist.</value>
928 public Efl.Input.Device SeatDefault {
929 get { return GetSeatDefault(); }
931 private static IntPtr GetEflClassStatic()
933 return Efl.Canvas.ISceneConcrete.efl_canvas_scene_interface_get();
935 /// <summary>Wrapper for native methods and virtual method delegates.
936 /// For internal use by generated code only.</summary>
937 public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
939 private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
940 /// <summary>Gets the list of Eo operations to override.</summary>
941 /// <returns>The list of Eo operations to be overload.</returns>
942 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
944 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
945 var methods = Efl.Eo.Globals.GetUserMethods(type);
947 if (efl_canvas_scene_image_max_size_get_static_delegate == null)
949 efl_canvas_scene_image_max_size_get_static_delegate = new efl_canvas_scene_image_max_size_get_delegate(image_max_size_get);
952 if (methods.FirstOrDefault(m => m.Name == "GetImageMaxSize") != null)
954 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_canvas_scene_image_max_size_get"), func = Marshal.GetFunctionPointerForDelegate(efl_canvas_scene_image_max_size_get_static_delegate) });
957 if (efl_canvas_scene_group_objects_calculating_get_static_delegate == null)
959 efl_canvas_scene_group_objects_calculating_get_static_delegate = new efl_canvas_scene_group_objects_calculating_get_delegate(group_objects_calculating_get);
962 if (methods.FirstOrDefault(m => m.Name == "GetGroupObjectsCalculating") != null)
964 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_canvas_scene_group_objects_calculating_get"), func = Marshal.GetFunctionPointerForDelegate(efl_canvas_scene_group_objects_calculating_get_static_delegate) });
967 if (efl_canvas_scene_device_get_static_delegate == null)
969 efl_canvas_scene_device_get_static_delegate = new efl_canvas_scene_device_get_delegate(device_get);
972 if (methods.FirstOrDefault(m => m.Name == "GetDevice") != null)
974 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_canvas_scene_device_get"), func = Marshal.GetFunctionPointerForDelegate(efl_canvas_scene_device_get_static_delegate) });
977 if (efl_canvas_scene_seat_get_static_delegate == null)
979 efl_canvas_scene_seat_get_static_delegate = new efl_canvas_scene_seat_get_delegate(seat_get);
982 if (methods.FirstOrDefault(m => m.Name == "GetSeat") != null)
984 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_canvas_scene_seat_get"), func = Marshal.GetFunctionPointerForDelegate(efl_canvas_scene_seat_get_static_delegate) });
987 if (efl_canvas_scene_seat_default_get_static_delegate == null)
989 efl_canvas_scene_seat_default_get_static_delegate = new efl_canvas_scene_seat_default_get_delegate(seat_default_get);
992 if (methods.FirstOrDefault(m => m.Name == "GetSeatDefault") != null)
994 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_canvas_scene_seat_default_get"), func = Marshal.GetFunctionPointerForDelegate(efl_canvas_scene_seat_default_get_static_delegate) });
997 if (efl_canvas_scene_pointer_position_get_static_delegate == null)
999 efl_canvas_scene_pointer_position_get_static_delegate = new efl_canvas_scene_pointer_position_get_delegate(pointer_position_get);
1002 if (methods.FirstOrDefault(m => m.Name == "GetPointerPosition") != null)
1004 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_canvas_scene_pointer_position_get"), func = Marshal.GetFunctionPointerForDelegate(efl_canvas_scene_pointer_position_get_static_delegate) });
1007 if (efl_canvas_scene_group_objects_calculate_static_delegate == null)
1009 efl_canvas_scene_group_objects_calculate_static_delegate = new efl_canvas_scene_group_objects_calculate_delegate(group_objects_calculate);
1012 if (methods.FirstOrDefault(m => m.Name == "CalculateGroupObjects") != null)
1014 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_canvas_scene_group_objects_calculate"), func = Marshal.GetFunctionPointerForDelegate(efl_canvas_scene_group_objects_calculate_static_delegate) });
1017 if (efl_canvas_scene_objects_at_xy_get_static_delegate == null)
1019 efl_canvas_scene_objects_at_xy_get_static_delegate = new efl_canvas_scene_objects_at_xy_get_delegate(objects_at_xy_get);
1022 if (methods.FirstOrDefault(m => m.Name == "GetObjectsAtXy") != null)
1024 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_canvas_scene_objects_at_xy_get"), func = Marshal.GetFunctionPointerForDelegate(efl_canvas_scene_objects_at_xy_get_static_delegate) });
1027 if (efl_canvas_scene_object_top_at_xy_get_static_delegate == null)
1029 efl_canvas_scene_object_top_at_xy_get_static_delegate = new efl_canvas_scene_object_top_at_xy_get_delegate(object_top_at_xy_get);
1032 if (methods.FirstOrDefault(m => m.Name == "GetObjectTopAtXy") != null)
1034 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_canvas_scene_object_top_at_xy_get"), func = Marshal.GetFunctionPointerForDelegate(efl_canvas_scene_object_top_at_xy_get_static_delegate) });
1037 if (efl_canvas_scene_objects_in_rectangle_get_static_delegate == null)
1039 efl_canvas_scene_objects_in_rectangle_get_static_delegate = new efl_canvas_scene_objects_in_rectangle_get_delegate(objects_in_rectangle_get);
1042 if (methods.FirstOrDefault(m => m.Name == "GetObjectsInRectangle") != null)
1044 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_canvas_scene_objects_in_rectangle_get"), func = Marshal.GetFunctionPointerForDelegate(efl_canvas_scene_objects_in_rectangle_get_static_delegate) });
1047 if (efl_canvas_scene_object_top_in_rectangle_get_static_delegate == null)
1049 efl_canvas_scene_object_top_in_rectangle_get_static_delegate = new efl_canvas_scene_object_top_in_rectangle_get_delegate(object_top_in_rectangle_get);
1052 if (methods.FirstOrDefault(m => m.Name == "GetObjectTopInRectangle") != null)
1054 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_canvas_scene_object_top_in_rectangle_get"), func = Marshal.GetFunctionPointerForDelegate(efl_canvas_scene_object_top_in_rectangle_get_static_delegate) });
1057 if (efl_canvas_scene_seats_static_delegate == null)
1059 efl_canvas_scene_seats_static_delegate = new efl_canvas_scene_seats_delegate(seats);
1062 if (methods.FirstOrDefault(m => m.Name == "Seats") != null)
1064 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_canvas_scene_seats"), func = Marshal.GetFunctionPointerForDelegate(efl_canvas_scene_seats_static_delegate) });
1069 /// <summary>Returns the Eo class for the native methods of this class.</summary>
1070 /// <returns>The native class pointer.</returns>
1071 public override IntPtr GetEflClass()
1073 return Efl.Canvas.ISceneConcrete.efl_canvas_scene_interface_get();
1076 #pragma warning disable CA1707, CS1591, SA1300, SA1600
1078 [return: MarshalAs(UnmanagedType.U1)]
1079 private delegate bool efl_canvas_scene_image_max_size_get_delegate(System.IntPtr obj, System.IntPtr pd, out Eina.Size2D.NativeStruct max);
1081 [return: MarshalAs(UnmanagedType.U1)]
1082 public delegate bool efl_canvas_scene_image_max_size_get_api_delegate(System.IntPtr obj, out Eina.Size2D.NativeStruct max);
1084 public static Efl.Eo.FunctionWrapper<efl_canvas_scene_image_max_size_get_api_delegate> efl_canvas_scene_image_max_size_get_ptr = new Efl.Eo.FunctionWrapper<efl_canvas_scene_image_max_size_get_api_delegate>(Module, "efl_canvas_scene_image_max_size_get");
1086 private static bool image_max_size_get(System.IntPtr obj, System.IntPtr pd, out Eina.Size2D.NativeStruct max)
1088 Eina.Log.Debug("function efl_canvas_scene_image_max_size_get was called");
1089 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1092 Eina.Size2D _out_max = default(Eina.Size2D);
1093 bool _ret_var = default(bool);
1096 _ret_var = ((IScene)ws.Target).GetImageMaxSize(out _out_max);
1100 Eina.Log.Warning($"Callback error: {e.ToString()}");
1101 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1110 return efl_canvas_scene_image_max_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out max);
1114 private static efl_canvas_scene_image_max_size_get_delegate efl_canvas_scene_image_max_size_get_static_delegate;
1116 [return: MarshalAs(UnmanagedType.U1)]
1117 private delegate bool efl_canvas_scene_group_objects_calculating_get_delegate(System.IntPtr obj, System.IntPtr pd);
1119 [return: MarshalAs(UnmanagedType.U1)]
1120 public delegate bool efl_canvas_scene_group_objects_calculating_get_api_delegate(System.IntPtr obj);
1122 public static Efl.Eo.FunctionWrapper<efl_canvas_scene_group_objects_calculating_get_api_delegate> efl_canvas_scene_group_objects_calculating_get_ptr = new Efl.Eo.FunctionWrapper<efl_canvas_scene_group_objects_calculating_get_api_delegate>(Module, "efl_canvas_scene_group_objects_calculating_get");
1124 private static bool group_objects_calculating_get(System.IntPtr obj, System.IntPtr pd)
1126 Eina.Log.Debug("function efl_canvas_scene_group_objects_calculating_get was called");
1127 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1130 bool _ret_var = default(bool);
1133 _ret_var = ((IScene)ws.Target).GetGroupObjectsCalculating();
1137 Eina.Log.Warning($"Callback error: {e.ToString()}");
1138 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1146 return efl_canvas_scene_group_objects_calculating_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1150 private static efl_canvas_scene_group_objects_calculating_get_delegate efl_canvas_scene_group_objects_calculating_get_static_delegate;
1152 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
1153 private delegate Efl.Input.Device efl_canvas_scene_device_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String name);
1155 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
1156 public delegate Efl.Input.Device efl_canvas_scene_device_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String name);
1158 public static Efl.Eo.FunctionWrapper<efl_canvas_scene_device_get_api_delegate> efl_canvas_scene_device_get_ptr = new Efl.Eo.FunctionWrapper<efl_canvas_scene_device_get_api_delegate>(Module, "efl_canvas_scene_device_get");
1160 private static Efl.Input.Device device_get(System.IntPtr obj, System.IntPtr pd, System.String name)
1162 Eina.Log.Debug("function efl_canvas_scene_device_get was called");
1163 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1166 Efl.Input.Device _ret_var = default(Efl.Input.Device);
1169 _ret_var = ((IScene)ws.Target).GetDevice(name);
1173 Eina.Log.Warning($"Callback error: {e.ToString()}");
1174 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1182 return efl_canvas_scene_device_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), name);
1186 private static efl_canvas_scene_device_get_delegate efl_canvas_scene_device_get_static_delegate;
1188 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
1189 private delegate Efl.Input.Device efl_canvas_scene_seat_get_delegate(System.IntPtr obj, System.IntPtr pd, int id);
1191 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
1192 public delegate Efl.Input.Device efl_canvas_scene_seat_get_api_delegate(System.IntPtr obj, int id);
1194 public static Efl.Eo.FunctionWrapper<efl_canvas_scene_seat_get_api_delegate> efl_canvas_scene_seat_get_ptr = new Efl.Eo.FunctionWrapper<efl_canvas_scene_seat_get_api_delegate>(Module, "efl_canvas_scene_seat_get");
1196 private static Efl.Input.Device seat_get(System.IntPtr obj, System.IntPtr pd, int id)
1198 Eina.Log.Debug("function efl_canvas_scene_seat_get was called");
1199 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1202 Efl.Input.Device _ret_var = default(Efl.Input.Device);
1205 _ret_var = ((IScene)ws.Target).GetSeat(id);
1209 Eina.Log.Warning($"Callback error: {e.ToString()}");
1210 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1218 return efl_canvas_scene_seat_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), id);
1222 private static efl_canvas_scene_seat_get_delegate efl_canvas_scene_seat_get_static_delegate;
1224 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
1225 private delegate Efl.Input.Device efl_canvas_scene_seat_default_get_delegate(System.IntPtr obj, System.IntPtr pd);
1227 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
1228 public delegate Efl.Input.Device efl_canvas_scene_seat_default_get_api_delegate(System.IntPtr obj);
1230 public static Efl.Eo.FunctionWrapper<efl_canvas_scene_seat_default_get_api_delegate> efl_canvas_scene_seat_default_get_ptr = new Efl.Eo.FunctionWrapper<efl_canvas_scene_seat_default_get_api_delegate>(Module, "efl_canvas_scene_seat_default_get");
1232 private static Efl.Input.Device seat_default_get(System.IntPtr obj, System.IntPtr pd)
1234 Eina.Log.Debug("function efl_canvas_scene_seat_default_get was called");
1235 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1238 Efl.Input.Device _ret_var = default(Efl.Input.Device);
1241 _ret_var = ((IScene)ws.Target).GetSeatDefault();
1245 Eina.Log.Warning($"Callback error: {e.ToString()}");
1246 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1254 return efl_canvas_scene_seat_default_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1258 private static efl_canvas_scene_seat_default_get_delegate efl_canvas_scene_seat_default_get_static_delegate;
1260 [return: MarshalAs(UnmanagedType.U1)]
1261 private delegate bool efl_canvas_scene_pointer_position_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Input.Device seat, out Eina.Position2D.NativeStruct pos);
1263 [return: MarshalAs(UnmanagedType.U1)]
1264 public delegate bool efl_canvas_scene_pointer_position_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Input.Device seat, out Eina.Position2D.NativeStruct pos);
1266 public static Efl.Eo.FunctionWrapper<efl_canvas_scene_pointer_position_get_api_delegate> efl_canvas_scene_pointer_position_get_ptr = new Efl.Eo.FunctionWrapper<efl_canvas_scene_pointer_position_get_api_delegate>(Module, "efl_canvas_scene_pointer_position_get");
1268 private static bool pointer_position_get(System.IntPtr obj, System.IntPtr pd, Efl.Input.Device seat, out Eina.Position2D.NativeStruct pos)
1270 Eina.Log.Debug("function efl_canvas_scene_pointer_position_get was called");
1271 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1274 Eina.Position2D _out_pos = default(Eina.Position2D);
1275 bool _ret_var = default(bool);
1278 _ret_var = ((IScene)ws.Target).GetPointerPosition(seat, out _out_pos);
1282 Eina.Log.Warning($"Callback error: {e.ToString()}");
1283 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1292 return efl_canvas_scene_pointer_position_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), seat, out pos);
1296 private static efl_canvas_scene_pointer_position_get_delegate efl_canvas_scene_pointer_position_get_static_delegate;
1299 private delegate void efl_canvas_scene_group_objects_calculate_delegate(System.IntPtr obj, System.IntPtr pd);
1302 public delegate void efl_canvas_scene_group_objects_calculate_api_delegate(System.IntPtr obj);
1304 public static Efl.Eo.FunctionWrapper<efl_canvas_scene_group_objects_calculate_api_delegate> efl_canvas_scene_group_objects_calculate_ptr = new Efl.Eo.FunctionWrapper<efl_canvas_scene_group_objects_calculate_api_delegate>(Module, "efl_canvas_scene_group_objects_calculate");
1306 private static void group_objects_calculate(System.IntPtr obj, System.IntPtr pd)
1308 Eina.Log.Debug("function efl_canvas_scene_group_objects_calculate was called");
1309 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1315 ((IScene)ws.Target).CalculateGroupObjects();
1319 Eina.Log.Warning($"Callback error: {e.ToString()}");
1320 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1327 efl_canvas_scene_group_objects_calculate_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1331 private static efl_canvas_scene_group_objects_calculate_delegate efl_canvas_scene_group_objects_calculate_static_delegate;
1334 private delegate System.IntPtr efl_canvas_scene_objects_at_xy_get_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Position2D.NativeStruct pos, [MarshalAs(UnmanagedType.U1)] bool include_pass_events_objects, [MarshalAs(UnmanagedType.U1)] bool include_hidden_objects);
1337 public delegate System.IntPtr efl_canvas_scene_objects_at_xy_get_api_delegate(System.IntPtr obj, Eina.Position2D.NativeStruct pos, [MarshalAs(UnmanagedType.U1)] bool include_pass_events_objects, [MarshalAs(UnmanagedType.U1)] bool include_hidden_objects);
1339 public static Efl.Eo.FunctionWrapper<efl_canvas_scene_objects_at_xy_get_api_delegate> efl_canvas_scene_objects_at_xy_get_ptr = new Efl.Eo.FunctionWrapper<efl_canvas_scene_objects_at_xy_get_api_delegate>(Module, "efl_canvas_scene_objects_at_xy_get");
1341 private static System.IntPtr objects_at_xy_get(System.IntPtr obj, System.IntPtr pd, Eina.Position2D.NativeStruct pos, bool include_pass_events_objects, bool include_hidden_objects)
1343 Eina.Log.Debug("function efl_canvas_scene_objects_at_xy_get was called");
1344 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1347 Eina.Position2D _in_pos = pos;
1348 Eina.Iterator<Efl.Gfx.IEntity> _ret_var = default(Eina.Iterator<Efl.Gfx.IEntity>);
1351 _ret_var = ((IScene)ws.Target).GetObjectsAtXy(_in_pos, include_pass_events_objects, include_hidden_objects);
1355 Eina.Log.Warning($"Callback error: {e.ToString()}");
1356 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1359 _ret_var.Own = false; return _ret_var.Handle;
1364 return efl_canvas_scene_objects_at_xy_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), pos, include_pass_events_objects, include_hidden_objects);
1368 private static efl_canvas_scene_objects_at_xy_get_delegate efl_canvas_scene_objects_at_xy_get_static_delegate;
1370 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
1371 private delegate Efl.Gfx.IEntity efl_canvas_scene_object_top_at_xy_get_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Position2D.NativeStruct pos, [MarshalAs(UnmanagedType.U1)] bool include_pass_events_objects, [MarshalAs(UnmanagedType.U1)] bool include_hidden_objects);
1373 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
1374 public delegate Efl.Gfx.IEntity efl_canvas_scene_object_top_at_xy_get_api_delegate(System.IntPtr obj, Eina.Position2D.NativeStruct pos, [MarshalAs(UnmanagedType.U1)] bool include_pass_events_objects, [MarshalAs(UnmanagedType.U1)] bool include_hidden_objects);
1376 public static Efl.Eo.FunctionWrapper<efl_canvas_scene_object_top_at_xy_get_api_delegate> efl_canvas_scene_object_top_at_xy_get_ptr = new Efl.Eo.FunctionWrapper<efl_canvas_scene_object_top_at_xy_get_api_delegate>(Module, "efl_canvas_scene_object_top_at_xy_get");
1378 private static Efl.Gfx.IEntity object_top_at_xy_get(System.IntPtr obj, System.IntPtr pd, Eina.Position2D.NativeStruct pos, bool include_pass_events_objects, bool include_hidden_objects)
1380 Eina.Log.Debug("function efl_canvas_scene_object_top_at_xy_get was called");
1381 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1384 Eina.Position2D _in_pos = pos;
1385 Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
1388 _ret_var = ((IScene)ws.Target).GetObjectTopAtXy(_in_pos, include_pass_events_objects, include_hidden_objects);
1392 Eina.Log.Warning($"Callback error: {e.ToString()}");
1393 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1401 return efl_canvas_scene_object_top_at_xy_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), pos, include_pass_events_objects, include_hidden_objects);
1405 private static efl_canvas_scene_object_top_at_xy_get_delegate efl_canvas_scene_object_top_at_xy_get_static_delegate;
1408 private delegate System.IntPtr efl_canvas_scene_objects_in_rectangle_get_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct rect, [MarshalAs(UnmanagedType.U1)] bool include_pass_events_objects, [MarshalAs(UnmanagedType.U1)] bool include_hidden_objects);
1411 public delegate System.IntPtr efl_canvas_scene_objects_in_rectangle_get_api_delegate(System.IntPtr obj, Eina.Rect.NativeStruct rect, [MarshalAs(UnmanagedType.U1)] bool include_pass_events_objects, [MarshalAs(UnmanagedType.U1)] bool include_hidden_objects);
1413 public static Efl.Eo.FunctionWrapper<efl_canvas_scene_objects_in_rectangle_get_api_delegate> efl_canvas_scene_objects_in_rectangle_get_ptr = new Efl.Eo.FunctionWrapper<efl_canvas_scene_objects_in_rectangle_get_api_delegate>(Module, "efl_canvas_scene_objects_in_rectangle_get");
1415 private static System.IntPtr objects_in_rectangle_get(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct rect, bool include_pass_events_objects, bool include_hidden_objects)
1417 Eina.Log.Debug("function efl_canvas_scene_objects_in_rectangle_get was called");
1418 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1421 Eina.Rect _in_rect = rect;
1422 Eina.Iterator<Efl.Gfx.IEntity> _ret_var = default(Eina.Iterator<Efl.Gfx.IEntity>);
1425 _ret_var = ((IScene)ws.Target).GetObjectsInRectangle(_in_rect, include_pass_events_objects, include_hidden_objects);
1429 Eina.Log.Warning($"Callback error: {e.ToString()}");
1430 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1433 _ret_var.Own = false; return _ret_var.Handle;
1438 return efl_canvas_scene_objects_in_rectangle_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), rect, include_pass_events_objects, include_hidden_objects);
1442 private static efl_canvas_scene_objects_in_rectangle_get_delegate efl_canvas_scene_objects_in_rectangle_get_static_delegate;
1444 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
1445 private delegate Efl.Gfx.IEntity efl_canvas_scene_object_top_in_rectangle_get_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct rect, [MarshalAs(UnmanagedType.U1)] bool include_pass_events_objects, [MarshalAs(UnmanagedType.U1)] bool include_hidden_objects);
1447 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
1448 public delegate Efl.Gfx.IEntity efl_canvas_scene_object_top_in_rectangle_get_api_delegate(System.IntPtr obj, Eina.Rect.NativeStruct rect, [MarshalAs(UnmanagedType.U1)] bool include_pass_events_objects, [MarshalAs(UnmanagedType.U1)] bool include_hidden_objects);
1450 public static Efl.Eo.FunctionWrapper<efl_canvas_scene_object_top_in_rectangle_get_api_delegate> efl_canvas_scene_object_top_in_rectangle_get_ptr = new Efl.Eo.FunctionWrapper<efl_canvas_scene_object_top_in_rectangle_get_api_delegate>(Module, "efl_canvas_scene_object_top_in_rectangle_get");
1452 private static Efl.Gfx.IEntity object_top_in_rectangle_get(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct rect, bool include_pass_events_objects, bool include_hidden_objects)
1454 Eina.Log.Debug("function efl_canvas_scene_object_top_in_rectangle_get was called");
1455 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1458 Eina.Rect _in_rect = rect;
1459 Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
1462 _ret_var = ((IScene)ws.Target).GetObjectTopInRectangle(_in_rect, include_pass_events_objects, include_hidden_objects);
1466 Eina.Log.Warning($"Callback error: {e.ToString()}");
1467 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1475 return efl_canvas_scene_object_top_in_rectangle_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), rect, include_pass_events_objects, include_hidden_objects);
1479 private static efl_canvas_scene_object_top_in_rectangle_get_delegate efl_canvas_scene_object_top_in_rectangle_get_static_delegate;
1482 private delegate System.IntPtr efl_canvas_scene_seats_delegate(System.IntPtr obj, System.IntPtr pd);
1485 public delegate System.IntPtr efl_canvas_scene_seats_api_delegate(System.IntPtr obj);
1487 public static Efl.Eo.FunctionWrapper<efl_canvas_scene_seats_api_delegate> efl_canvas_scene_seats_ptr = new Efl.Eo.FunctionWrapper<efl_canvas_scene_seats_api_delegate>(Module, "efl_canvas_scene_seats");
1489 private static System.IntPtr seats(System.IntPtr obj, System.IntPtr pd)
1491 Eina.Log.Debug("function efl_canvas_scene_seats was called");
1492 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1495 Eina.Iterator<Efl.Input.Device> _ret_var = default(Eina.Iterator<Efl.Input.Device>);
1498 _ret_var = ((IScene)ws.Target).Seats();
1502 Eina.Log.Warning($"Callback error: {e.ToString()}");
1503 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1506 _ret_var.Own = false; return _ret_var.Handle;
1511 return efl_canvas_scene_seats_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1515 private static efl_canvas_scene_seats_delegate efl_canvas_scene_seats_static_delegate;
1517 #pragma warning restore CA1707, CS1591, SA1300, SA1600
1526 #pragma warning disable CS1591
1527 public static class Efl_CanvasISceneConcrete_ExtensionMethods {
1535 #pragma warning restore CS1591