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>The relative layout class.
14 /// A relative layout calculates the size and position of all the children based on their relationship to each other.</summary>
15 /// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
16 [Efl.Ui.RelativeLayout.NativeMethods]
17 [Efl.Eo.BindingEntity]
18 public class RelativeLayout : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPackLayout
20 /// <summary>Pointer to the native class description.</summary>
21 public override System.IntPtr NativeClass
25 if (((object)this).GetType() == typeof(RelativeLayout))
27 return GetEflClassStatic();
31 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
36 [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
37 efl_ui_relative_layout_class_get();
38 /// <summary>Initializes a new instance of the <see cref="RelativeLayout"/> class.</summary>
39 /// <param name="parent">Parent instance.</param>
40 /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
41 public RelativeLayout(Efl.Object parent
42 , System.String style = null) : base(efl_ui_relative_layout_class_get(), parent)
44 if (Efl.Eo.Globals.ParamHelperCheck(style))
46 SetStyle(Efl.Eo.Globals.GetParamHelper(style));
49 FinishInstantiation();
52 /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
53 /// Do not call this constructor directly.</summary>
54 /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
55 protected RelativeLayout(ConstructingHandle ch) : base(ch)
59 /// <summary>Initializes a new instance of the <see cref="RelativeLayout"/> class.
60 /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
61 /// <param name="wh">The native pointer to be wrapped.</param>
62 protected RelativeLayout(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
66 /// <summary>Initializes a new instance of the <see cref="RelativeLayout"/> class.
67 /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
68 /// <param name="baseKlass">The pointer to the base native Eo class.</param>
69 /// <param name="parent">The Efl.Object parent of this instance.</param>
70 protected RelativeLayout(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
74 /// <summary>Sent after a new sub-object was added.
75 /// (Since EFL 1.22)</summary>
76 /// <value><see cref="Efl.IContainerContentAddedEvt_Args"/></value>
77 public event EventHandler<Efl.IContainerContentAddedEvt_Args> ContentAddedEvt
81 lock (eflBindingEventLock)
83 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
85 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
88 Efl.IContainerContentAddedEvt_Args args = new Efl.IContainerContentAddedEvt_Args();
89 args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Gfx.IEntityConcrete);
92 value?.Invoke(obj, args);
96 Eina.Log.Error(e.ToString());
97 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
102 string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED";
103 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
109 lock (eflBindingEventLock)
111 string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED";
112 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
116 /// <summary>Method to raise event ContentAddedEvt.</summary>
117 public void OnContentAddedEvt(Efl.IContainerContentAddedEvt_Args e)
119 var key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED";
120 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
121 if (desc == IntPtr.Zero)
123 Eina.Log.Error($"Failed to get native event {key}");
127 IntPtr info = e.arg.NativeHandle;
128 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
130 /// <summary>Sent after a sub-object was removed, before unref.
131 /// (Since EFL 1.22)</summary>
132 /// <value><see cref="Efl.IContainerContentRemovedEvt_Args"/></value>
133 public event EventHandler<Efl.IContainerContentRemovedEvt_Args> ContentRemovedEvt
137 lock (eflBindingEventLock)
139 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
141 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
144 Efl.IContainerContentRemovedEvt_Args args = new Efl.IContainerContentRemovedEvt_Args();
145 args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Gfx.IEntityConcrete);
148 value?.Invoke(obj, args);
152 Eina.Log.Error(e.ToString());
153 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
158 string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED";
159 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
165 lock (eflBindingEventLock)
167 string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED";
168 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
172 /// <summary>Method to raise event ContentRemovedEvt.</summary>
173 public void OnContentRemovedEvt(Efl.IContainerContentRemovedEvt_Args e)
175 var key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED";
176 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
177 if (desc == IntPtr.Zero)
179 Eina.Log.Error($"Failed to get native event {key}");
183 IntPtr info = e.arg.NativeHandle;
184 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
186 /// <summary>Sent after the layout was updated.</summary>
187 public event EventHandler LayoutUpdatedEvt
191 lock (eflBindingEventLock)
193 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
195 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
198 EventArgs args = EventArgs.Empty;
201 value?.Invoke(obj, args);
205 Eina.Log.Error(e.ToString());
206 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
211 string key = "_EFL_PACK_EVENT_LAYOUT_UPDATED";
212 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
218 lock (eflBindingEventLock)
220 string key = "_EFL_PACK_EVENT_LAYOUT_UPDATED";
221 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
225 /// <summary>Method to raise event LayoutUpdatedEvt.</summary>
226 public void OnLayoutUpdatedEvt(EventArgs e)
228 var key = "_EFL_PACK_EVENT_LAYOUT_UPDATED";
229 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
230 if (desc == IntPtr.Zero)
232 Eina.Log.Error($"Failed to get native event {key}");
236 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
238 /// <summary>Specifies the left side edge of the child relative to the target. By default, target is parent and relative is 0.0.</summary>
239 /// <param name="child">The child to specify relation.</param>
240 /// <param name="target">The relative target.</param>
241 /// <param name="relative">The ratio between left and right of the target, ranging from 0.0 to 1.0.</param>
242 virtual public void GetRelationLeft(Efl.Object child, out Efl.Object target, out double relative) {
243 Efl.Ui.RelativeLayout.NativeMethods.efl_ui_relative_layout_relation_left_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),child, out target, out relative);
244 Eina.Error.RaiseIfUnhandledException();
246 /// <summary>Specifies the left side edge of the child relative to the target. By default, target is parent and relative is 0.0.</summary>
247 /// <param name="child">The child to specify relation.</param>
248 /// <param name="target">The relative target.</param>
249 /// <param name="relative">The ratio between left and right of the target, ranging from 0.0 to 1.0.</param>
250 virtual public void SetRelationLeft(Efl.Object child, Efl.Object target, double relative) {
251 Efl.Ui.RelativeLayout.NativeMethods.efl_ui_relative_layout_relation_left_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),child, target, relative);
252 Eina.Error.RaiseIfUnhandledException();
254 /// <summary>Specifies the right side edge of the child relative to the target. By default, target is parent and relative is 1.0.</summary>
255 /// <param name="child">The child to specify relation.</param>
256 /// <param name="target">The relative target.</param>
257 /// <param name="relative">The ratio between left and right of the target, ranging from 0.0 to 1.0.</param>
258 virtual public void GetRelationRight(Efl.Object child, out Efl.Object target, out double relative) {
259 Efl.Ui.RelativeLayout.NativeMethods.efl_ui_relative_layout_relation_right_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),child, out target, out relative);
260 Eina.Error.RaiseIfUnhandledException();
262 /// <summary>Specifies the right side edge of the child relative to the target. By default, target is parent and relative is 1.0.</summary>
263 /// <param name="child">The child to specify relation.</param>
264 /// <param name="target">The relative target.</param>
265 /// <param name="relative">The ratio between left and right of the target, ranging from 0.0 to 1.0.</param>
266 virtual public void SetRelationRight(Efl.Object child, Efl.Object target, double relative) {
267 Efl.Ui.RelativeLayout.NativeMethods.efl_ui_relative_layout_relation_right_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),child, target, relative);
268 Eina.Error.RaiseIfUnhandledException();
270 /// <summary>Specifies the top side edge of the child relative to the target. By default, target is parent and relative is 0.0.</summary>
271 /// <param name="child">The child to specify relation.</param>
272 /// <param name="target">The relative target.</param>
273 /// <param name="relative">The ratio between top and bottom of the target, ranging from 0.0 to 1.0.</param>
274 virtual public void GetRelationTop(Efl.Object child, out Efl.Object target, out double relative) {
275 Efl.Ui.RelativeLayout.NativeMethods.efl_ui_relative_layout_relation_top_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),child, out target, out relative);
276 Eina.Error.RaiseIfUnhandledException();
278 /// <summary>Specifies the top side edge of the child relative to the target. By default, target is parent and relative is 0.0.</summary>
279 /// <param name="child">The child to specify relation.</param>
280 /// <param name="target">The relative target.</param>
281 /// <param name="relative">The ratio between top and bottom of the target, ranging from 0.0 to 1.0.</param>
282 virtual public void SetRelationTop(Efl.Object child, Efl.Object target, double relative) {
283 Efl.Ui.RelativeLayout.NativeMethods.efl_ui_relative_layout_relation_top_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),child, target, relative);
284 Eina.Error.RaiseIfUnhandledException();
286 /// <summary>Specifies the bottom side edge of the child relative to the target. By default, target is parent and relative is 1.0.</summary>
287 /// <param name="child">The child to specify relation.</param>
288 /// <param name="target">The relative target.</param>
289 /// <param name="relative">The ratio between top and bottom of the target, ranging from 0.0 to 1.0.</param>
290 virtual public void GetRelationBottom(Efl.Object child, out Efl.Object target, out double relative) {
291 Efl.Ui.RelativeLayout.NativeMethods.efl_ui_relative_layout_relation_bottom_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),child, out target, out relative);
292 Eina.Error.RaiseIfUnhandledException();
294 /// <summary>Specifies the bottom side edge of the child relative to the target. By default, target is parent and relative is 1.0.</summary>
295 /// <param name="child">The child to specify relation.</param>
296 /// <param name="target">The relative target.</param>
297 /// <param name="relative">The ratio between top and bottom of the target, ranging from 0.0 to 1.0.</param>
298 virtual public void SetRelationBottom(Efl.Object child, Efl.Object target, double relative) {
299 Efl.Ui.RelativeLayout.NativeMethods.efl_ui_relative_layout_relation_bottom_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),child, target, relative);
300 Eina.Error.RaiseIfUnhandledException();
302 /// <summary>Begin iterating over this object's contents.
303 /// (Since EFL 1.22)</summary>
304 /// <returns>Iterator on object's content.</returns>
305 virtual public Eina.Iterator<Efl.Gfx.IEntity> ContentIterate() {
306 var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_iterate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
307 Eina.Error.RaiseIfUnhandledException();
308 return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true);
310 /// <summary>Returns the number of contained sub-objects.
311 /// (Since EFL 1.22)</summary>
312 /// <returns>Number of sub-objects.</returns>
313 virtual public int ContentCount() {
314 var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_count_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
315 Eina.Error.RaiseIfUnhandledException();
318 /// <summary>Removes all packed sub-objects and unreferences them.</summary>
319 /// <returns><c>true</c> on success, <c>false</c> otherwise.</returns>
320 virtual public bool ClearPack() {
321 var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_clear_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
322 Eina.Error.RaiseIfUnhandledException();
325 /// <summary>Removes all packed sub-objects without unreferencing them.
326 /// Use with caution.</summary>
327 /// <returns><c>true</c> on success, <c>false</c> otherwise.</returns>
328 virtual public bool UnpackAll() {
329 var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_all_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
330 Eina.Error.RaiseIfUnhandledException();
333 /// <summary>Removes an existing sub-object from the container without deleting it.</summary>
334 /// <param name="subobj">The sub-object to unpack.</param>
335 /// <returns><c>false</c> if <c>subobj</c> wasn't in the container or couldn't be removed.</returns>
336 virtual public bool Unpack(Efl.Gfx.IEntity subobj) {
337 var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
338 Eina.Error.RaiseIfUnhandledException();
341 /// <summary>Adds a sub-object to this container.
342 /// Depending on the container this will either fill in the default spot, replacing any already existing element or append to the end of the container if there is no default part.
344 /// When this container is deleted, it will request deletion of the given <c>subobj</c>. Use <see cref="Efl.IPack.Unpack"/> to remove <c>subobj</c> from this container without deleting it.</summary>
345 /// <param name="subobj">The object to pack.</param>
346 /// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
347 virtual public bool Pack(Efl.Gfx.IEntity subobj) {
348 var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
349 Eina.Error.RaiseIfUnhandledException();
352 /// <summary>Requests EFL to call the <see cref="Efl.IPackLayout.UpdateLayout"/> method on this object.
353 /// This <see cref="Efl.IPackLayout.UpdateLayout"/> may be called asynchronously.</summary>
354 virtual public void LayoutRequest() {
355 Efl.IPackLayoutConcrete.NativeMethods.efl_pack_layout_request_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
356 Eina.Error.RaiseIfUnhandledException();
358 /// <summary>Implementation of this container's layout algorithm.
359 /// EFL will call this function whenever the contents of this container need to be re-laid out on the canvas.
361 /// This can be overriden to implement custom layout behaviors.</summary>
362 virtual public void UpdateLayout() {
363 Efl.IPackLayoutConcrete.NativeMethods.efl_pack_layout_update_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
364 Eina.Error.RaiseIfUnhandledException();
366 private static IntPtr GetEflClassStatic()
368 return Efl.Ui.RelativeLayout.efl_ui_relative_layout_class_get();
370 /// <summary>Wrapper for native methods and virtual method delegates.
371 /// For internal use by generated code only.</summary>
372 public new class NativeMethods : Efl.Ui.Widget.NativeMethods
374 private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
375 /// <summary>Gets the list of Eo operations to override.</summary>
376 /// <returns>The list of Eo operations to be overload.</returns>
377 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
379 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
380 var methods = Efl.Eo.Globals.GetUserMethods(type);
382 if (efl_ui_relative_layout_relation_left_get_static_delegate == null)
384 efl_ui_relative_layout_relation_left_get_static_delegate = new efl_ui_relative_layout_relation_left_get_delegate(relation_left_get);
387 if (methods.FirstOrDefault(m => m.Name == "GetRelationLeft") != null)
389 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_relative_layout_relation_left_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_relative_layout_relation_left_get_static_delegate) });
392 if (efl_ui_relative_layout_relation_left_set_static_delegate == null)
394 efl_ui_relative_layout_relation_left_set_static_delegate = new efl_ui_relative_layout_relation_left_set_delegate(relation_left_set);
397 if (methods.FirstOrDefault(m => m.Name == "SetRelationLeft") != null)
399 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_relative_layout_relation_left_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_relative_layout_relation_left_set_static_delegate) });
402 if (efl_ui_relative_layout_relation_right_get_static_delegate == null)
404 efl_ui_relative_layout_relation_right_get_static_delegate = new efl_ui_relative_layout_relation_right_get_delegate(relation_right_get);
407 if (methods.FirstOrDefault(m => m.Name == "GetRelationRight") != null)
409 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_relative_layout_relation_right_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_relative_layout_relation_right_get_static_delegate) });
412 if (efl_ui_relative_layout_relation_right_set_static_delegate == null)
414 efl_ui_relative_layout_relation_right_set_static_delegate = new efl_ui_relative_layout_relation_right_set_delegate(relation_right_set);
417 if (methods.FirstOrDefault(m => m.Name == "SetRelationRight") != null)
419 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_relative_layout_relation_right_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_relative_layout_relation_right_set_static_delegate) });
422 if (efl_ui_relative_layout_relation_top_get_static_delegate == null)
424 efl_ui_relative_layout_relation_top_get_static_delegate = new efl_ui_relative_layout_relation_top_get_delegate(relation_top_get);
427 if (methods.FirstOrDefault(m => m.Name == "GetRelationTop") != null)
429 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_relative_layout_relation_top_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_relative_layout_relation_top_get_static_delegate) });
432 if (efl_ui_relative_layout_relation_top_set_static_delegate == null)
434 efl_ui_relative_layout_relation_top_set_static_delegate = new efl_ui_relative_layout_relation_top_set_delegate(relation_top_set);
437 if (methods.FirstOrDefault(m => m.Name == "SetRelationTop") != null)
439 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_relative_layout_relation_top_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_relative_layout_relation_top_set_static_delegate) });
442 if (efl_ui_relative_layout_relation_bottom_get_static_delegate == null)
444 efl_ui_relative_layout_relation_bottom_get_static_delegate = new efl_ui_relative_layout_relation_bottom_get_delegate(relation_bottom_get);
447 if (methods.FirstOrDefault(m => m.Name == "GetRelationBottom") != null)
449 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_relative_layout_relation_bottom_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_relative_layout_relation_bottom_get_static_delegate) });
452 if (efl_ui_relative_layout_relation_bottom_set_static_delegate == null)
454 efl_ui_relative_layout_relation_bottom_set_static_delegate = new efl_ui_relative_layout_relation_bottom_set_delegate(relation_bottom_set);
457 if (methods.FirstOrDefault(m => m.Name == "SetRelationBottom") != null)
459 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_relative_layout_relation_bottom_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_relative_layout_relation_bottom_set_static_delegate) });
462 if (efl_content_iterate_static_delegate == null)
464 efl_content_iterate_static_delegate = new efl_content_iterate_delegate(content_iterate);
467 if (methods.FirstOrDefault(m => m.Name == "ContentIterate") != null)
469 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_iterate"), func = Marshal.GetFunctionPointerForDelegate(efl_content_iterate_static_delegate) });
472 if (efl_content_count_static_delegate == null)
474 efl_content_count_static_delegate = new efl_content_count_delegate(content_count);
477 if (methods.FirstOrDefault(m => m.Name == "ContentCount") != null)
479 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_count"), func = Marshal.GetFunctionPointerForDelegate(efl_content_count_static_delegate) });
482 if (efl_pack_clear_static_delegate == null)
484 efl_pack_clear_static_delegate = new efl_pack_clear_delegate(pack_clear);
487 if (methods.FirstOrDefault(m => m.Name == "ClearPack") != null)
489 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_clear"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_clear_static_delegate) });
492 if (efl_pack_unpack_all_static_delegate == null)
494 efl_pack_unpack_all_static_delegate = new efl_pack_unpack_all_delegate(unpack_all);
497 if (methods.FirstOrDefault(m => m.Name == "UnpackAll") != null)
499 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_unpack_all"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_unpack_all_static_delegate) });
502 if (efl_pack_unpack_static_delegate == null)
504 efl_pack_unpack_static_delegate = new efl_pack_unpack_delegate(unpack);
507 if (methods.FirstOrDefault(m => m.Name == "Unpack") != null)
509 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_unpack"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_unpack_static_delegate) });
512 if (efl_pack_static_delegate == null)
514 efl_pack_static_delegate = new efl_pack_delegate(pack);
517 if (methods.FirstOrDefault(m => m.Name == "Pack") != null)
519 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_static_delegate) });
522 if (efl_pack_layout_request_static_delegate == null)
524 efl_pack_layout_request_static_delegate = new efl_pack_layout_request_delegate(layout_request);
527 if (methods.FirstOrDefault(m => m.Name == "LayoutRequest") != null)
529 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_layout_request"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_layout_request_static_delegate) });
532 if (efl_pack_layout_update_static_delegate == null)
534 efl_pack_layout_update_static_delegate = new efl_pack_layout_update_delegate(layout_update);
537 if (methods.FirstOrDefault(m => m.Name == "UpdateLayout") != null)
539 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_layout_update"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_layout_update_static_delegate) });
542 descs.AddRange(base.GetEoOps(type));
545 /// <summary>Returns the Eo class for the native methods of this class.</summary>
546 /// <returns>The native class pointer.</returns>
547 public override IntPtr GetEflClass()
549 return Efl.Ui.RelativeLayout.efl_ui_relative_layout_class_get();
552 #pragma warning disable CA1707, CS1591, SA1300, SA1600
555 private delegate void efl_ui_relative_layout_relation_left_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Object child, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] out Efl.Object target, out double relative);
558 public delegate void efl_ui_relative_layout_relation_left_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Object child, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] out Efl.Object target, out double relative);
560 public static Efl.Eo.FunctionWrapper<efl_ui_relative_layout_relation_left_get_api_delegate> efl_ui_relative_layout_relation_left_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_relative_layout_relation_left_get_api_delegate>(Module, "efl_ui_relative_layout_relation_left_get");
562 private static void relation_left_get(System.IntPtr obj, System.IntPtr pd, Efl.Object child, out Efl.Object target, out double relative)
564 Eina.Log.Debug("function efl_ui_relative_layout_relation_left_get was called");
565 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
568 target = default(Efl.Object); relative = default(double);
571 ((RelativeLayout)ws.Target).GetRelationLeft(child, out target, out relative);
575 Eina.Log.Warning($"Callback error: {e.ToString()}");
576 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
583 efl_ui_relative_layout_relation_left_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), child, out target, out relative);
587 private static efl_ui_relative_layout_relation_left_get_delegate efl_ui_relative_layout_relation_left_get_static_delegate;
590 private delegate void efl_ui_relative_layout_relation_left_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Object child, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Object target, double relative);
593 public delegate void efl_ui_relative_layout_relation_left_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Object child, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Object target, double relative);
595 public static Efl.Eo.FunctionWrapper<efl_ui_relative_layout_relation_left_set_api_delegate> efl_ui_relative_layout_relation_left_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_relative_layout_relation_left_set_api_delegate>(Module, "efl_ui_relative_layout_relation_left_set");
597 private static void relation_left_set(System.IntPtr obj, System.IntPtr pd, Efl.Object child, Efl.Object target, double relative)
599 Eina.Log.Debug("function efl_ui_relative_layout_relation_left_set was called");
600 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
606 ((RelativeLayout)ws.Target).SetRelationLeft(child, target, relative);
610 Eina.Log.Warning($"Callback error: {e.ToString()}");
611 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
618 efl_ui_relative_layout_relation_left_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), child, target, relative);
622 private static efl_ui_relative_layout_relation_left_set_delegate efl_ui_relative_layout_relation_left_set_static_delegate;
625 private delegate void efl_ui_relative_layout_relation_right_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Object child, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] out Efl.Object target, out double relative);
628 public delegate void efl_ui_relative_layout_relation_right_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Object child, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] out Efl.Object target, out double relative);
630 public static Efl.Eo.FunctionWrapper<efl_ui_relative_layout_relation_right_get_api_delegate> efl_ui_relative_layout_relation_right_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_relative_layout_relation_right_get_api_delegate>(Module, "efl_ui_relative_layout_relation_right_get");
632 private static void relation_right_get(System.IntPtr obj, System.IntPtr pd, Efl.Object child, out Efl.Object target, out double relative)
634 Eina.Log.Debug("function efl_ui_relative_layout_relation_right_get was called");
635 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
638 target = default(Efl.Object); relative = default(double);
641 ((RelativeLayout)ws.Target).GetRelationRight(child, out target, out relative);
645 Eina.Log.Warning($"Callback error: {e.ToString()}");
646 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
653 efl_ui_relative_layout_relation_right_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), child, out target, out relative);
657 private static efl_ui_relative_layout_relation_right_get_delegate efl_ui_relative_layout_relation_right_get_static_delegate;
660 private delegate void efl_ui_relative_layout_relation_right_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Object child, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Object target, double relative);
663 public delegate void efl_ui_relative_layout_relation_right_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Object child, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Object target, double relative);
665 public static Efl.Eo.FunctionWrapper<efl_ui_relative_layout_relation_right_set_api_delegate> efl_ui_relative_layout_relation_right_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_relative_layout_relation_right_set_api_delegate>(Module, "efl_ui_relative_layout_relation_right_set");
667 private static void relation_right_set(System.IntPtr obj, System.IntPtr pd, Efl.Object child, Efl.Object target, double relative)
669 Eina.Log.Debug("function efl_ui_relative_layout_relation_right_set was called");
670 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
676 ((RelativeLayout)ws.Target).SetRelationRight(child, target, relative);
680 Eina.Log.Warning($"Callback error: {e.ToString()}");
681 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
688 efl_ui_relative_layout_relation_right_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), child, target, relative);
692 private static efl_ui_relative_layout_relation_right_set_delegate efl_ui_relative_layout_relation_right_set_static_delegate;
695 private delegate void efl_ui_relative_layout_relation_top_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Object child, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] out Efl.Object target, out double relative);
698 public delegate void efl_ui_relative_layout_relation_top_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Object child, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] out Efl.Object target, out double relative);
700 public static Efl.Eo.FunctionWrapper<efl_ui_relative_layout_relation_top_get_api_delegate> efl_ui_relative_layout_relation_top_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_relative_layout_relation_top_get_api_delegate>(Module, "efl_ui_relative_layout_relation_top_get");
702 private static void relation_top_get(System.IntPtr obj, System.IntPtr pd, Efl.Object child, out Efl.Object target, out double relative)
704 Eina.Log.Debug("function efl_ui_relative_layout_relation_top_get was called");
705 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
708 target = default(Efl.Object); relative = default(double);
711 ((RelativeLayout)ws.Target).GetRelationTop(child, out target, out relative);
715 Eina.Log.Warning($"Callback error: {e.ToString()}");
716 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
723 efl_ui_relative_layout_relation_top_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), child, out target, out relative);
727 private static efl_ui_relative_layout_relation_top_get_delegate efl_ui_relative_layout_relation_top_get_static_delegate;
730 private delegate void efl_ui_relative_layout_relation_top_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Object child, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Object target, double relative);
733 public delegate void efl_ui_relative_layout_relation_top_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Object child, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Object target, double relative);
735 public static Efl.Eo.FunctionWrapper<efl_ui_relative_layout_relation_top_set_api_delegate> efl_ui_relative_layout_relation_top_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_relative_layout_relation_top_set_api_delegate>(Module, "efl_ui_relative_layout_relation_top_set");
737 private static void relation_top_set(System.IntPtr obj, System.IntPtr pd, Efl.Object child, Efl.Object target, double relative)
739 Eina.Log.Debug("function efl_ui_relative_layout_relation_top_set was called");
740 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
746 ((RelativeLayout)ws.Target).SetRelationTop(child, target, relative);
750 Eina.Log.Warning($"Callback error: {e.ToString()}");
751 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
758 efl_ui_relative_layout_relation_top_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), child, target, relative);
762 private static efl_ui_relative_layout_relation_top_set_delegate efl_ui_relative_layout_relation_top_set_static_delegate;
765 private delegate void efl_ui_relative_layout_relation_bottom_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Object child, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] out Efl.Object target, out double relative);
768 public delegate void efl_ui_relative_layout_relation_bottom_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Object child, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] out Efl.Object target, out double relative);
770 public static Efl.Eo.FunctionWrapper<efl_ui_relative_layout_relation_bottom_get_api_delegate> efl_ui_relative_layout_relation_bottom_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_relative_layout_relation_bottom_get_api_delegate>(Module, "efl_ui_relative_layout_relation_bottom_get");
772 private static void relation_bottom_get(System.IntPtr obj, System.IntPtr pd, Efl.Object child, out Efl.Object target, out double relative)
774 Eina.Log.Debug("function efl_ui_relative_layout_relation_bottom_get was called");
775 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
778 target = default(Efl.Object); relative = default(double);
781 ((RelativeLayout)ws.Target).GetRelationBottom(child, out target, out relative);
785 Eina.Log.Warning($"Callback error: {e.ToString()}");
786 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
793 efl_ui_relative_layout_relation_bottom_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), child, out target, out relative);
797 private static efl_ui_relative_layout_relation_bottom_get_delegate efl_ui_relative_layout_relation_bottom_get_static_delegate;
800 private delegate void efl_ui_relative_layout_relation_bottom_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Object child, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Object target, double relative);
803 public delegate void efl_ui_relative_layout_relation_bottom_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Object child, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Object target, double relative);
805 public static Efl.Eo.FunctionWrapper<efl_ui_relative_layout_relation_bottom_set_api_delegate> efl_ui_relative_layout_relation_bottom_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_relative_layout_relation_bottom_set_api_delegate>(Module, "efl_ui_relative_layout_relation_bottom_set");
807 private static void relation_bottom_set(System.IntPtr obj, System.IntPtr pd, Efl.Object child, Efl.Object target, double relative)
809 Eina.Log.Debug("function efl_ui_relative_layout_relation_bottom_set was called");
810 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
816 ((RelativeLayout)ws.Target).SetRelationBottom(child, target, relative);
820 Eina.Log.Warning($"Callback error: {e.ToString()}");
821 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
828 efl_ui_relative_layout_relation_bottom_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), child, target, relative);
832 private static efl_ui_relative_layout_relation_bottom_set_delegate efl_ui_relative_layout_relation_bottom_set_static_delegate;
835 private delegate System.IntPtr efl_content_iterate_delegate(System.IntPtr obj, System.IntPtr pd);
838 public delegate System.IntPtr efl_content_iterate_api_delegate(System.IntPtr obj);
840 public static Efl.Eo.FunctionWrapper<efl_content_iterate_api_delegate> efl_content_iterate_ptr = new Efl.Eo.FunctionWrapper<efl_content_iterate_api_delegate>(Module, "efl_content_iterate");
842 private static System.IntPtr content_iterate(System.IntPtr obj, System.IntPtr pd)
844 Eina.Log.Debug("function efl_content_iterate was called");
845 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
848 Eina.Iterator<Efl.Gfx.IEntity> _ret_var = default(Eina.Iterator<Efl.Gfx.IEntity>);
851 _ret_var = ((RelativeLayout)ws.Target).ContentIterate();
855 Eina.Log.Warning($"Callback error: {e.ToString()}");
856 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
859 _ret_var.Own = false; return _ret_var.Handle;
864 return efl_content_iterate_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
868 private static efl_content_iterate_delegate efl_content_iterate_static_delegate;
871 private delegate int efl_content_count_delegate(System.IntPtr obj, System.IntPtr pd);
874 public delegate int efl_content_count_api_delegate(System.IntPtr obj);
876 public static Efl.Eo.FunctionWrapper<efl_content_count_api_delegate> efl_content_count_ptr = new Efl.Eo.FunctionWrapper<efl_content_count_api_delegate>(Module, "efl_content_count");
878 private static int content_count(System.IntPtr obj, System.IntPtr pd)
880 Eina.Log.Debug("function efl_content_count was called");
881 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
884 int _ret_var = default(int);
887 _ret_var = ((RelativeLayout)ws.Target).ContentCount();
891 Eina.Log.Warning($"Callback error: {e.ToString()}");
892 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
900 return efl_content_count_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
904 private static efl_content_count_delegate efl_content_count_static_delegate;
906 [return: MarshalAs(UnmanagedType.U1)]
907 private delegate bool efl_pack_clear_delegate(System.IntPtr obj, System.IntPtr pd);
909 [return: MarshalAs(UnmanagedType.U1)]
910 public delegate bool efl_pack_clear_api_delegate(System.IntPtr obj);
912 public static Efl.Eo.FunctionWrapper<efl_pack_clear_api_delegate> efl_pack_clear_ptr = new Efl.Eo.FunctionWrapper<efl_pack_clear_api_delegate>(Module, "efl_pack_clear");
914 private static bool pack_clear(System.IntPtr obj, System.IntPtr pd)
916 Eina.Log.Debug("function efl_pack_clear was called");
917 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
920 bool _ret_var = default(bool);
923 _ret_var = ((RelativeLayout)ws.Target).ClearPack();
927 Eina.Log.Warning($"Callback error: {e.ToString()}");
928 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
936 return efl_pack_clear_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
940 private static efl_pack_clear_delegate efl_pack_clear_static_delegate;
942 [return: MarshalAs(UnmanagedType.U1)]
943 private delegate bool efl_pack_unpack_all_delegate(System.IntPtr obj, System.IntPtr pd);
945 [return: MarshalAs(UnmanagedType.U1)]
946 public delegate bool efl_pack_unpack_all_api_delegate(System.IntPtr obj);
948 public static Efl.Eo.FunctionWrapper<efl_pack_unpack_all_api_delegate> efl_pack_unpack_all_ptr = new Efl.Eo.FunctionWrapper<efl_pack_unpack_all_api_delegate>(Module, "efl_pack_unpack_all");
950 private static bool unpack_all(System.IntPtr obj, System.IntPtr pd)
952 Eina.Log.Debug("function efl_pack_unpack_all was called");
953 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
956 bool _ret_var = default(bool);
959 _ret_var = ((RelativeLayout)ws.Target).UnpackAll();
963 Eina.Log.Warning($"Callback error: {e.ToString()}");
964 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
972 return efl_pack_unpack_all_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
976 private static efl_pack_unpack_all_delegate efl_pack_unpack_all_static_delegate;
978 [return: MarshalAs(UnmanagedType.U1)]
979 private delegate bool efl_pack_unpack_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
981 [return: MarshalAs(UnmanagedType.U1)]
982 public delegate bool efl_pack_unpack_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
984 public static Efl.Eo.FunctionWrapper<efl_pack_unpack_api_delegate> efl_pack_unpack_ptr = new Efl.Eo.FunctionWrapper<efl_pack_unpack_api_delegate>(Module, "efl_pack_unpack");
986 private static bool unpack(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj)
988 Eina.Log.Debug("function efl_pack_unpack was called");
989 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
992 bool _ret_var = default(bool);
995 _ret_var = ((RelativeLayout)ws.Target).Unpack(subobj);
999 Eina.Log.Warning($"Callback error: {e.ToString()}");
1000 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1008 return efl_pack_unpack_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj);
1012 private static efl_pack_unpack_delegate efl_pack_unpack_static_delegate;
1014 [return: MarshalAs(UnmanagedType.U1)]
1015 private delegate bool efl_pack_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
1017 [return: MarshalAs(UnmanagedType.U1)]
1018 public delegate bool efl_pack_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
1020 public static Efl.Eo.FunctionWrapper<efl_pack_api_delegate> efl_pack_ptr = new Efl.Eo.FunctionWrapper<efl_pack_api_delegate>(Module, "efl_pack");
1022 private static bool pack(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj)
1024 Eina.Log.Debug("function efl_pack was called");
1025 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1028 bool _ret_var = default(bool);
1031 _ret_var = ((RelativeLayout)ws.Target).Pack(subobj);
1035 Eina.Log.Warning($"Callback error: {e.ToString()}");
1036 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1044 return efl_pack_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj);
1048 private static efl_pack_delegate efl_pack_static_delegate;
1051 private delegate void efl_pack_layout_request_delegate(System.IntPtr obj, System.IntPtr pd);
1054 public delegate void efl_pack_layout_request_api_delegate(System.IntPtr obj);
1056 public static Efl.Eo.FunctionWrapper<efl_pack_layout_request_api_delegate> efl_pack_layout_request_ptr = new Efl.Eo.FunctionWrapper<efl_pack_layout_request_api_delegate>(Module, "efl_pack_layout_request");
1058 private static void layout_request(System.IntPtr obj, System.IntPtr pd)
1060 Eina.Log.Debug("function efl_pack_layout_request was called");
1061 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1067 ((RelativeLayout)ws.Target).LayoutRequest();
1071 Eina.Log.Warning($"Callback error: {e.ToString()}");
1072 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1079 efl_pack_layout_request_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1083 private static efl_pack_layout_request_delegate efl_pack_layout_request_static_delegate;
1086 private delegate void efl_pack_layout_update_delegate(System.IntPtr obj, System.IntPtr pd);
1089 public delegate void efl_pack_layout_update_api_delegate(System.IntPtr obj);
1091 public static Efl.Eo.FunctionWrapper<efl_pack_layout_update_api_delegate> efl_pack_layout_update_ptr = new Efl.Eo.FunctionWrapper<efl_pack_layout_update_api_delegate>(Module, "efl_pack_layout_update");
1093 private static void layout_update(System.IntPtr obj, System.IntPtr pd)
1095 Eina.Log.Debug("function efl_pack_layout_update was called");
1096 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1102 ((RelativeLayout)ws.Target).UpdateLayout();
1106 Eina.Log.Warning($"Callback error: {e.ToString()}");
1107 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1114 efl_pack_layout_update_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1118 private static efl_pack_layout_update_delegate efl_pack_layout_update_static_delegate;
1120 #pragma warning restore CA1707, CS1591, SA1300, SA1600
1129 #pragma warning disable CS1591
1130 public static class Efl_UiRelativeLayout_ExtensionMethods {
1136 #pragma warning restore CS1591