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>Group item for grids and lists</summary>
14 /// <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>
15 [Efl.Ui.GroupItem.NativeMethods]
16 [Efl.Eo.BindingEntity]
17 public class GroupItem : Efl.Ui.DefaultItem, Efl.IPack, Efl.IPackLinear
19 /// <summary>Pointer to the native class description.</summary>
20 public override System.IntPtr NativeClass
24 if (((object)this).GetType() == typeof(GroupItem))
26 return GetEflClassStatic();
30 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
35 [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
36 efl_ui_group_item_class_get();
37 /// <summary>Initializes a new instance of the <see cref="GroupItem"/> class.</summary>
38 /// <param name="parent">Parent instance.</param>
39 /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
40 public GroupItem(Efl.Object parent
41 , System.String style = null) : base(efl_ui_group_item_class_get(), parent)
43 if (Efl.Eo.Globals.ParamHelperCheck(style))
45 SetStyle(Efl.Eo.Globals.GetParamHelper(style));
48 FinishInstantiation();
51 /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
52 /// Do not call this constructor directly.</summary>
53 /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
54 protected GroupItem(ConstructingHandle ch) : base(ch)
58 /// <summary>Initializes a new instance of the <see cref="GroupItem"/> class.
59 /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
60 /// <param name="wh">The native pointer to be wrapped.</param>
61 protected GroupItem(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
65 /// <summary>Initializes a new instance of the <see cref="GroupItem"/> class.
66 /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
67 /// <param name="baseKlass">The pointer to the base native Eo class.</param>
68 /// <param name="parent">The Efl.Object parent of this instance.</param>
69 protected GroupItem(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
73 /// <summary>Removes all packed sub-objects and unreferences them.</summary>
74 /// <returns><c>true</c> on success, <c>false</c> otherwise.</returns>
75 virtual public bool ClearPack() {
76 var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_clear_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
77 Eina.Error.RaiseIfUnhandledException();
80 /// <summary>Removes all packed sub-objects without unreferencing them.
81 /// Use with caution.</summary>
82 /// <returns><c>true</c> on success, <c>false</c> otherwise.</returns>
83 virtual public bool UnpackAll() {
84 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)));
85 Eina.Error.RaiseIfUnhandledException();
88 /// <summary>Removes an existing sub-object from the container without deleting it.</summary>
89 /// <param name="subobj">The sub-object to unpack.</param>
90 /// <returns><c>false</c> if <c>subobj</c> wasn't in the container or couldn't be removed.</returns>
91 virtual public bool Unpack(Efl.Gfx.IEntity subobj) {
92 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);
93 Eina.Error.RaiseIfUnhandledException();
96 /// <summary>Adds a sub-object to this container.
97 /// 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.
99 /// 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>
100 /// <param name="subobj">The object to pack.</param>
101 /// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
102 virtual public bool Pack(Efl.Gfx.IEntity subobj) {
103 var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
104 Eina.Error.RaiseIfUnhandledException();
107 /// <summary>Prepend an object at the beginning of this container.
108 /// This is the same as <see cref="Efl.IPackLinear.PackAt"/>(<c>subobj</c>, 0).
110 /// 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>
111 /// <param name="subobj">Object to pack at the beginning.</param>
112 /// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
113 virtual public bool PackBegin(Efl.Gfx.IEntity subobj) {
114 var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_begin_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
115 Eina.Error.RaiseIfUnhandledException();
118 /// <summary>Append object at the end of this container.
119 /// This is the same as <see cref="Efl.IPackLinear.PackAt"/>(<c>subobj</c>, -1).
121 /// 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>
122 /// <param name="subobj">Object to pack at the end.</param>
123 /// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
124 virtual public bool PackEnd(Efl.Gfx.IEntity subobj) {
125 var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_end_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
126 Eina.Error.RaiseIfUnhandledException();
129 /// <summary>Prepend an object before an existing sub-object.
130 /// 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>
131 /// <param name="subobj">Object to pack before <c>existing</c>.</param>
132 /// <param name="existing">Existing reference sub-object.</param>
133 /// <returns><c>false</c> if <c>existing</c> could not be found or <c>subobj</c> could not be packed.</returns>
134 virtual public bool PackBefore(Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing) {
135 var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_before_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, existing);
136 Eina.Error.RaiseIfUnhandledException();
139 /// <summary>Append an object after an existing sub-object.
140 /// 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>
141 /// <param name="subobj">Object to pack after <c>existing</c>.</param>
142 /// <param name="existing">Existing reference sub-object.</param>
143 /// <returns><c>false</c> if <c>existing</c> could not be found or <c>subobj</c> could not be packed.</returns>
144 virtual public bool PackAfter(Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing) {
145 var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_after_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, existing);
146 Eina.Error.RaiseIfUnhandledException();
149 /// <summary>Inserts <c>subobj</c> BEFORE the sub-object at position <c>index</c>.
150 /// <c>index</c> ranges from -<c>count</c> to <c>count</c>-1, where positive numbers go from first sub-object (0) to last (<c>count</c>-1), and negative numbers go from last sub-object (-1) to first (-<c>count</c>). <c>count</c> is the number of sub-objects currently in the container as returned by <see cref="Efl.IContainer.ContentCount"/>.
152 /// If <c>index</c> is less than -<c>count</c>, it will trigger <see cref="Efl.IPackLinear.PackBegin"/>(<c>subobj</c>) whereas <c>index</c> greater than <c>count</c>-1 will trigger <see cref="Efl.IPackLinear.PackEnd"/>(<c>subobj</c>).
154 /// 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>
155 /// <param name="subobj">Object to pack.</param>
156 /// <param name="index">Index of existing sub-object to insert BEFORE. Valid range is -<c>count</c> to (<c>count</c>-1).</param>
157 /// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
158 virtual public bool PackAt(Efl.Gfx.IEntity subobj, int index) {
159 var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_at_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, index);
160 Eina.Error.RaiseIfUnhandledException();
163 /// <summary>Sub-object at a given <c>index</c> in this container.
164 /// <c>index</c> ranges from -<c>count</c> to <c>count</c>-1, where positive numbers go from first sub-object (0) to last (<c>count</c>-1), and negative numbers go from last sub-object (-1) to first (-<c>count</c>). <c>count</c> is the number of sub-objects currently in the container as returned by <see cref="Efl.IContainer.ContentCount"/>.
166 /// If <c>index</c> is less than -<c>count</c>, it will return the first sub-object whereas <c>index</c> greater than <c>count</c>-1 will return the last sub-object.</summary>
167 /// <param name="index">Index of the existing sub-object to retrieve. Valid range is -<c>count</c> to (<c>count</c>-1).</param>
168 /// <returns>The sub-object contained at the given <c>index</c>.</returns>
169 virtual public Efl.Gfx.IEntity GetPackContent(int index) {
170 var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),index);
171 Eina.Error.RaiseIfUnhandledException();
174 /// <summary>Get the index of a sub-object in this container.</summary>
175 /// <param name="subobj">An existing sub-object in this container.</param>
176 /// <returns>-1 in case <c>subobj</c> is not found, or the index of <c>subobj</c> in the range 0 to (<c>count</c>-1).</returns>
177 virtual public int GetPackIndex(Efl.Gfx.IEntity subobj) {
178 var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_index_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
179 Eina.Error.RaiseIfUnhandledException();
182 /// <summary>Pop out (remove) the sub-object at the specified <c>index</c>.
183 /// <c>index</c> ranges from -<c>count</c> to <c>count</c>-1, where positive numbers go from first sub-object (0) to last (<c>count</c>-1), and negative numbers go from last sub-object (-1) to first (-<c>count</c>). <c>count</c> is the number of sub-objects currently in the container as returned by <see cref="Efl.IContainer.ContentCount"/>.
185 /// If <c>index</c> is less than -<c>count</c>, it will remove the first sub-object whereas <c>index</c> greater than <c>count</c>-1 will remove the last sub-object.</summary>
186 /// <param name="index">Index of the sub-object to remove. Valid range is -<c>count</c> to (<c>count</c>-1).</param>
187 /// <returns>The sub-object if it could be removed.</returns>
188 virtual public Efl.Gfx.IEntity PackUnpackAt(int index) {
189 var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_unpack_at_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),index);
190 Eina.Error.RaiseIfUnhandledException();
193 private static IntPtr GetEflClassStatic()
195 return Efl.Ui.GroupItem.efl_ui_group_item_class_get();
197 /// <summary>Wrapper for native methods and virtual method delegates.
198 /// For internal use by generated code only.</summary>
199 public new class NativeMethods : Efl.Ui.DefaultItem.NativeMethods
201 private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
202 /// <summary>Gets the list of Eo operations to override.</summary>
203 /// <returns>The list of Eo operations to be overload.</returns>
204 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
206 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
207 var methods = Efl.Eo.Globals.GetUserMethods(type);
209 if (efl_pack_clear_static_delegate == null)
211 efl_pack_clear_static_delegate = new efl_pack_clear_delegate(pack_clear);
214 if (methods.FirstOrDefault(m => m.Name == "ClearPack") != null)
216 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) });
219 if (efl_pack_unpack_all_static_delegate == null)
221 efl_pack_unpack_all_static_delegate = new efl_pack_unpack_all_delegate(unpack_all);
224 if (methods.FirstOrDefault(m => m.Name == "UnpackAll") != null)
226 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) });
229 if (efl_pack_unpack_static_delegate == null)
231 efl_pack_unpack_static_delegate = new efl_pack_unpack_delegate(unpack);
234 if (methods.FirstOrDefault(m => m.Name == "Unpack") != null)
236 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) });
239 if (efl_pack_static_delegate == null)
241 efl_pack_static_delegate = new efl_pack_delegate(pack);
244 if (methods.FirstOrDefault(m => m.Name == "Pack") != null)
246 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_static_delegate) });
249 if (efl_pack_begin_static_delegate == null)
251 efl_pack_begin_static_delegate = new efl_pack_begin_delegate(pack_begin);
254 if (methods.FirstOrDefault(m => m.Name == "PackBegin") != null)
256 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_begin"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_begin_static_delegate) });
259 if (efl_pack_end_static_delegate == null)
261 efl_pack_end_static_delegate = new efl_pack_end_delegate(pack_end);
264 if (methods.FirstOrDefault(m => m.Name == "PackEnd") != null)
266 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_end"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_end_static_delegate) });
269 if (efl_pack_before_static_delegate == null)
271 efl_pack_before_static_delegate = new efl_pack_before_delegate(pack_before);
274 if (methods.FirstOrDefault(m => m.Name == "PackBefore") != null)
276 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_before"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_before_static_delegate) });
279 if (efl_pack_after_static_delegate == null)
281 efl_pack_after_static_delegate = new efl_pack_after_delegate(pack_after);
284 if (methods.FirstOrDefault(m => m.Name == "PackAfter") != null)
286 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_after"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_after_static_delegate) });
289 if (efl_pack_at_static_delegate == null)
291 efl_pack_at_static_delegate = new efl_pack_at_delegate(pack_at);
294 if (methods.FirstOrDefault(m => m.Name == "PackAt") != null)
296 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_at"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_at_static_delegate) });
299 if (efl_pack_content_get_static_delegate == null)
301 efl_pack_content_get_static_delegate = new efl_pack_content_get_delegate(pack_content_get);
304 if (methods.FirstOrDefault(m => m.Name == "GetPackContent") != null)
306 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_content_get"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_content_get_static_delegate) });
309 if (efl_pack_index_get_static_delegate == null)
311 efl_pack_index_get_static_delegate = new efl_pack_index_get_delegate(pack_index_get);
314 if (methods.FirstOrDefault(m => m.Name == "GetPackIndex") != null)
316 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_index_get"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_index_get_static_delegate) });
319 if (efl_pack_unpack_at_static_delegate == null)
321 efl_pack_unpack_at_static_delegate = new efl_pack_unpack_at_delegate(pack_unpack_at);
324 if (methods.FirstOrDefault(m => m.Name == "PackUnpackAt") != null)
326 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_unpack_at"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_unpack_at_static_delegate) });
329 descs.AddRange(base.GetEoOps(type));
332 /// <summary>Returns the Eo class for the native methods of this class.</summary>
333 /// <returns>The native class pointer.</returns>
334 public override IntPtr GetEflClass()
336 return Efl.Ui.GroupItem.efl_ui_group_item_class_get();
339 #pragma warning disable CA1707, CS1591, SA1300, SA1600
341 [return: MarshalAs(UnmanagedType.U1)]
342 private delegate bool efl_pack_clear_delegate(System.IntPtr obj, System.IntPtr pd);
344 [return: MarshalAs(UnmanagedType.U1)]
345 public delegate bool efl_pack_clear_api_delegate(System.IntPtr obj);
347 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");
349 private static bool pack_clear(System.IntPtr obj, System.IntPtr pd)
351 Eina.Log.Debug("function efl_pack_clear was called");
352 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
355 bool _ret_var = default(bool);
358 _ret_var = ((GroupItem)ws.Target).ClearPack();
362 Eina.Log.Warning($"Callback error: {e.ToString()}");
363 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
371 return efl_pack_clear_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
375 private static efl_pack_clear_delegate efl_pack_clear_static_delegate;
377 [return: MarshalAs(UnmanagedType.U1)]
378 private delegate bool efl_pack_unpack_all_delegate(System.IntPtr obj, System.IntPtr pd);
380 [return: MarshalAs(UnmanagedType.U1)]
381 public delegate bool efl_pack_unpack_all_api_delegate(System.IntPtr obj);
383 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");
385 private static bool unpack_all(System.IntPtr obj, System.IntPtr pd)
387 Eina.Log.Debug("function efl_pack_unpack_all was called");
388 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
391 bool _ret_var = default(bool);
394 _ret_var = ((GroupItem)ws.Target).UnpackAll();
398 Eina.Log.Warning($"Callback error: {e.ToString()}");
399 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
407 return efl_pack_unpack_all_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
411 private static efl_pack_unpack_all_delegate efl_pack_unpack_all_static_delegate;
413 [return: MarshalAs(UnmanagedType.U1)]
414 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);
416 [return: MarshalAs(UnmanagedType.U1)]
417 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);
419 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");
421 private static bool unpack(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj)
423 Eina.Log.Debug("function efl_pack_unpack was called");
424 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
427 bool _ret_var = default(bool);
430 _ret_var = ((GroupItem)ws.Target).Unpack(subobj);
434 Eina.Log.Warning($"Callback error: {e.ToString()}");
435 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
443 return efl_pack_unpack_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj);
447 private static efl_pack_unpack_delegate efl_pack_unpack_static_delegate;
449 [return: MarshalAs(UnmanagedType.U1)]
450 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);
452 [return: MarshalAs(UnmanagedType.U1)]
453 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);
455 public static Efl.Eo.FunctionWrapper<efl_pack_api_delegate> efl_pack_ptr = new Efl.Eo.FunctionWrapper<efl_pack_api_delegate>(Module, "efl_pack");
457 private static bool pack(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj)
459 Eina.Log.Debug("function efl_pack was called");
460 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
463 bool _ret_var = default(bool);
466 _ret_var = ((GroupItem)ws.Target).Pack(subobj);
470 Eina.Log.Warning($"Callback error: {e.ToString()}");
471 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
479 return efl_pack_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj);
483 private static efl_pack_delegate efl_pack_static_delegate;
485 [return: MarshalAs(UnmanagedType.U1)]
486 private delegate bool efl_pack_begin_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
488 [return: MarshalAs(UnmanagedType.U1)]
489 public delegate bool efl_pack_begin_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
491 public static Efl.Eo.FunctionWrapper<efl_pack_begin_api_delegate> efl_pack_begin_ptr = new Efl.Eo.FunctionWrapper<efl_pack_begin_api_delegate>(Module, "efl_pack_begin");
493 private static bool pack_begin(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj)
495 Eina.Log.Debug("function efl_pack_begin was called");
496 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
499 bool _ret_var = default(bool);
502 _ret_var = ((GroupItem)ws.Target).PackBegin(subobj);
506 Eina.Log.Warning($"Callback error: {e.ToString()}");
507 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
515 return efl_pack_begin_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj);
519 private static efl_pack_begin_delegate efl_pack_begin_static_delegate;
521 [return: MarshalAs(UnmanagedType.U1)]
522 private delegate bool efl_pack_end_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
524 [return: MarshalAs(UnmanagedType.U1)]
525 public delegate bool efl_pack_end_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
527 public static Efl.Eo.FunctionWrapper<efl_pack_end_api_delegate> efl_pack_end_ptr = new Efl.Eo.FunctionWrapper<efl_pack_end_api_delegate>(Module, "efl_pack_end");
529 private static bool pack_end(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj)
531 Eina.Log.Debug("function efl_pack_end was called");
532 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
535 bool _ret_var = default(bool);
538 _ret_var = ((GroupItem)ws.Target).PackEnd(subobj);
542 Eina.Log.Warning($"Callback error: {e.ToString()}");
543 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
551 return efl_pack_end_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj);
555 private static efl_pack_end_delegate efl_pack_end_static_delegate;
557 [return: MarshalAs(UnmanagedType.U1)]
558 private delegate bool efl_pack_before_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity existing);
560 [return: MarshalAs(UnmanagedType.U1)]
561 public delegate bool efl_pack_before_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity existing);
563 public static Efl.Eo.FunctionWrapper<efl_pack_before_api_delegate> efl_pack_before_ptr = new Efl.Eo.FunctionWrapper<efl_pack_before_api_delegate>(Module, "efl_pack_before");
565 private static bool pack_before(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing)
567 Eina.Log.Debug("function efl_pack_before was called");
568 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
571 bool _ret_var = default(bool);
574 _ret_var = ((GroupItem)ws.Target).PackBefore(subobj, existing);
578 Eina.Log.Warning($"Callback error: {e.ToString()}");
579 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
587 return efl_pack_before_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, existing);
591 private static efl_pack_before_delegate efl_pack_before_static_delegate;
593 [return: MarshalAs(UnmanagedType.U1)]
594 private delegate bool efl_pack_after_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity existing);
596 [return: MarshalAs(UnmanagedType.U1)]
597 public delegate bool efl_pack_after_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity existing);
599 public static Efl.Eo.FunctionWrapper<efl_pack_after_api_delegate> efl_pack_after_ptr = new Efl.Eo.FunctionWrapper<efl_pack_after_api_delegate>(Module, "efl_pack_after");
601 private static bool pack_after(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing)
603 Eina.Log.Debug("function efl_pack_after was called");
604 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
607 bool _ret_var = default(bool);
610 _ret_var = ((GroupItem)ws.Target).PackAfter(subobj, existing);
614 Eina.Log.Warning($"Callback error: {e.ToString()}");
615 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
623 return efl_pack_after_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, existing);
627 private static efl_pack_after_delegate efl_pack_after_static_delegate;
629 [return: MarshalAs(UnmanagedType.U1)]
630 private delegate bool efl_pack_at_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, int index);
632 [return: MarshalAs(UnmanagedType.U1)]
633 public delegate bool efl_pack_at_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, int index);
635 public static Efl.Eo.FunctionWrapper<efl_pack_at_api_delegate> efl_pack_at_ptr = new Efl.Eo.FunctionWrapper<efl_pack_at_api_delegate>(Module, "efl_pack_at");
637 private static bool pack_at(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, int index)
639 Eina.Log.Debug("function efl_pack_at was called");
640 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
643 bool _ret_var = default(bool);
646 _ret_var = ((GroupItem)ws.Target).PackAt(subobj, index);
650 Eina.Log.Warning($"Callback error: {e.ToString()}");
651 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
659 return efl_pack_at_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, index);
663 private static efl_pack_at_delegate efl_pack_at_static_delegate;
665 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
666 private delegate Efl.Gfx.IEntity efl_pack_content_get_delegate(System.IntPtr obj, System.IntPtr pd, int index);
668 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
669 public delegate Efl.Gfx.IEntity efl_pack_content_get_api_delegate(System.IntPtr obj, int index);
671 public static Efl.Eo.FunctionWrapper<efl_pack_content_get_api_delegate> efl_pack_content_get_ptr = new Efl.Eo.FunctionWrapper<efl_pack_content_get_api_delegate>(Module, "efl_pack_content_get");
673 private static Efl.Gfx.IEntity pack_content_get(System.IntPtr obj, System.IntPtr pd, int index)
675 Eina.Log.Debug("function efl_pack_content_get was called");
676 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
679 Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
682 _ret_var = ((GroupItem)ws.Target).GetPackContent(index);
686 Eina.Log.Warning($"Callback error: {e.ToString()}");
687 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
695 return efl_pack_content_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), index);
699 private static efl_pack_content_get_delegate efl_pack_content_get_static_delegate;
702 private delegate int efl_pack_index_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
705 public delegate int efl_pack_index_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
707 public static Efl.Eo.FunctionWrapper<efl_pack_index_get_api_delegate> efl_pack_index_get_ptr = new Efl.Eo.FunctionWrapper<efl_pack_index_get_api_delegate>(Module, "efl_pack_index_get");
709 private static int pack_index_get(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj)
711 Eina.Log.Debug("function efl_pack_index_get was called");
712 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
715 int _ret_var = default(int);
718 _ret_var = ((GroupItem)ws.Target).GetPackIndex(subobj);
722 Eina.Log.Warning($"Callback error: {e.ToString()}");
723 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
731 return efl_pack_index_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj);
735 private static efl_pack_index_get_delegate efl_pack_index_get_static_delegate;
737 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
738 private delegate Efl.Gfx.IEntity efl_pack_unpack_at_delegate(System.IntPtr obj, System.IntPtr pd, int index);
740 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
741 public delegate Efl.Gfx.IEntity efl_pack_unpack_at_api_delegate(System.IntPtr obj, int index);
743 public static Efl.Eo.FunctionWrapper<efl_pack_unpack_at_api_delegate> efl_pack_unpack_at_ptr = new Efl.Eo.FunctionWrapper<efl_pack_unpack_at_api_delegate>(Module, "efl_pack_unpack_at");
745 private static Efl.Gfx.IEntity pack_unpack_at(System.IntPtr obj, System.IntPtr pd, int index)
747 Eina.Log.Debug("function efl_pack_unpack_at was called");
748 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
751 Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
754 _ret_var = ((GroupItem)ws.Target).PackUnpackAt(index);
758 Eina.Log.Warning($"Callback error: {e.ToString()}");
759 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
767 return efl_pack_unpack_at_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), index);
771 private static efl_pack_unpack_at_delegate efl_pack_unpack_at_static_delegate;
773 #pragma warning restore CA1707, CS1591, SA1300, SA1600
782 #pragma warning disable CS1591
783 public static class Efl_UiGroupItem_ExtensionMethods {
785 #pragma warning restore CS1591