1 #pragma warning disable CS1591
3 using System.Runtime.InteropServices;
4 using System.Collections.Generic;
6 using System.Threading;
7 using System.ComponentModel;
12 /// <summary>Represents a Box created as part of a layout.
13 /// Its lifetime is limited to one function call only, unless an extra reference is explicitly held.</summary>
14 [Efl.Canvas.LayoutPartBox.NativeMethods]
15 [Efl.Eo.BindingEntity]
16 public class LayoutPartBox : Efl.Canvas.LayoutPart, Efl.IContainer, Efl.IPack, Efl.IPackLinear, Efl.Ui.ILayoutOrientable, Efl.Ui.ILayoutOrientableReadonly
18 ///<summary>Pointer to the native class description.</summary>
19 public override System.IntPtr NativeClass
23 if (((object)this).GetType() == typeof(LayoutPartBox))
25 return GetEflClassStatic();
29 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
34 [System.Runtime.InteropServices.DllImport(efl.Libs.Edje)] internal static extern System.IntPtr
35 efl_canvas_layout_part_box_class_get();
36 /// <summary>Initializes a new instance of the <see cref="LayoutPartBox"/> class.</summary>
37 /// <param name="parent">Parent instance.</param>
38 public LayoutPartBox(Efl.Object parent= null
39 ) : base(efl_canvas_layout_part_box_class_get(), parent)
41 FinishInstantiation();
44 /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
45 /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
46 protected LayoutPartBox(ConstructingHandle ch) : base(ch)
50 /// <summary>Initializes a new instance of the <see cref="LayoutPartBox"/> class.
51 /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
52 /// <param name="wh">The native pointer to be wrapped.</param>
53 protected LayoutPartBox(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
57 /// <summary>Initializes a new instance of the <see cref="LayoutPartBox"/> class.
58 /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
59 /// <param name="baseKlass">The pointer to the base native Eo class.</param>
60 /// <param name="parent">The Efl.Object parent of this instance.</param>
61 protected LayoutPartBox(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
65 /// <summary>Sent after a new sub-object was added.
66 /// (Since EFL 1.22)</summary>
67 public event EventHandler<Efl.IContainerContentAddedEvt_Args> ContentAddedEvt
71 lock (eflBindingEventLock)
73 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
75 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
78 Efl.IContainerContentAddedEvt_Args args = new Efl.IContainerContentAddedEvt_Args();
79 args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Gfx.IEntityConcrete);
82 value?.Invoke(obj, args);
86 Eina.Log.Error(e.ToString());
87 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
92 string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED";
93 AddNativeEventHandler(efl.Libs.Edje, key, callerCb, value);
99 lock (eflBindingEventLock)
101 string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED";
102 RemoveNativeEventHandler(efl.Libs.Edje, key, value);
106 ///<summary>Method to raise event ContentAddedEvt.</summary>
107 public void OnContentAddedEvt(Efl.IContainerContentAddedEvt_Args e)
109 var key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED";
110 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Edje, key);
111 if (desc == IntPtr.Zero)
113 Eina.Log.Error($"Failed to get native event {key}");
117 IntPtr info = e.arg.NativeHandle;
118 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
120 /// <summary>Sent after a sub-object was removed, before unref.
121 /// (Since EFL 1.22)</summary>
122 public event EventHandler<Efl.IContainerContentRemovedEvt_Args> ContentRemovedEvt
126 lock (eflBindingEventLock)
128 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
130 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
133 Efl.IContainerContentRemovedEvt_Args args = new Efl.IContainerContentRemovedEvt_Args();
134 args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Gfx.IEntityConcrete);
137 value?.Invoke(obj, args);
141 Eina.Log.Error(e.ToString());
142 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
147 string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED";
148 AddNativeEventHandler(efl.Libs.Edje, key, callerCb, value);
154 lock (eflBindingEventLock)
156 string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED";
157 RemoveNativeEventHandler(efl.Libs.Edje, key, value);
161 ///<summary>Method to raise event ContentRemovedEvt.</summary>
162 public void OnContentRemovedEvt(Efl.IContainerContentRemovedEvt_Args e)
164 var key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED";
165 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Edje, key);
166 if (desc == IntPtr.Zero)
168 Eina.Log.Error($"Failed to get native event {key}");
172 IntPtr info = e.arg.NativeHandle;
173 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
175 /// <summary>Begin iterating over this object's contents.
176 /// (Since EFL 1.22)</summary>
177 /// <returns>Iterator on object's content.</returns>
178 virtual public Eina.Iterator<Efl.Gfx.IEntity> ContentIterate() {
179 var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_iterate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
180 Eina.Error.RaiseIfUnhandledException();
181 return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true);
183 /// <summary>Returns the number of contained sub-objects.
184 /// (Since EFL 1.22)</summary>
185 /// <returns>Number of sub-objects.</returns>
186 virtual public int ContentCount() {
187 var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_count_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
188 Eina.Error.RaiseIfUnhandledException();
191 /// <summary>Removes all packed sub-objects and unreferences them.</summary>
192 /// <returns><c>true</c> on success, <c>false</c> otherwise.</returns>
193 virtual public bool ClearPack() {
194 var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_clear_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
195 Eina.Error.RaiseIfUnhandledException();
198 /// <summary>Removes all packed sub-objects without unreferencing them.
199 /// Use with caution.</summary>
200 /// <returns><c>true</c> on success, <c>false</c> otherwise.</returns>
201 virtual public bool UnpackAll() {
202 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)));
203 Eina.Error.RaiseIfUnhandledException();
206 /// <summary>Removes an existing sub-object from the container without deleting it.</summary>
207 /// <param name="subobj">The sub-object to unpack.</param>
208 /// <returns><c>false</c> if <c>subobj</c> wasn't in the container or couldn't be removed.</returns>
209 virtual public bool Unpack(Efl.Gfx.IEntity subobj) {
210 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);
211 Eina.Error.RaiseIfUnhandledException();
214 /// <summary>Adds a sub-object to this container.
215 /// 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.
217 /// 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>
218 /// <param name="subobj">The object to pack.</param>
219 /// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
220 virtual public bool Pack(Efl.Gfx.IEntity subobj) {
221 var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
222 Eina.Error.RaiseIfUnhandledException();
225 /// <summary>Prepend an object at the beginning of this container.
226 /// This is the same as <see cref="Efl.IPackLinear.PackAt"/>(<c>subobj</c>, 0).
228 /// 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>
229 /// <param name="subobj">Object to pack at the beginning.</param>
230 /// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
231 virtual public bool PackBegin(Efl.Gfx.IEntity subobj) {
232 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);
233 Eina.Error.RaiseIfUnhandledException();
236 /// <summary>Append object at the end of this container.
237 /// This is the same as <see cref="Efl.IPackLinear.PackAt"/>(<c>subobj</c>, -1).
239 /// 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>
240 /// <param name="subobj">Object to pack at the end.</param>
241 /// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
242 virtual public bool PackEnd(Efl.Gfx.IEntity subobj) {
243 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);
244 Eina.Error.RaiseIfUnhandledException();
247 /// <summary>Prepend an object before an existing sub-object.
248 /// 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>
249 /// <param name="subobj">Object to pack before <c>existing</c>.</param>
250 /// <param name="existing">Existing reference sub-object.</param>
251 /// <returns><c>false</c> if <c>existing</c> could not be found or <c>subobj</c> could not be packed.</returns>
252 virtual public bool PackBefore(Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing) {
253 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);
254 Eina.Error.RaiseIfUnhandledException();
257 /// <summary>Append an object after an existing sub-object.
258 /// 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>
259 /// <param name="subobj">Object to pack after <c>existing</c>.</param>
260 /// <param name="existing">Existing reference sub-object.</param>
261 /// <returns><c>false</c> if <c>existing</c> could not be found or <c>subobj</c> could not be packed.</returns>
262 virtual public bool PackAfter(Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing) {
263 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);
264 Eina.Error.RaiseIfUnhandledException();
267 /// <summary>Inserts <c>subobj</c> BEFORE the sub-object at position <c>index</c>.
268 /// <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"/>.
270 /// 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>).
272 /// 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>
273 /// <param name="subobj">Object to pack.</param>
274 /// <param name="index">Index of existing sub-object to insert BEFORE. Valid range is -<c>count</c> to (<c>count</c>-1).</param>
275 /// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
276 virtual public bool PackAt(Efl.Gfx.IEntity subobj, int index) {
277 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);
278 Eina.Error.RaiseIfUnhandledException();
281 /// <summary>Sub-object at a given <c>index</c> in this container.
282 /// <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"/>.
284 /// 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>
285 /// <param name="index">Index of the existing sub-object to retrieve. Valid range is -<c>count</c> to (<c>count</c>-1).</param>
286 /// <returns>The sub-object contained at the given <c>index</c>.</returns>
287 virtual public Efl.Gfx.IEntity GetPackContent(int index) {
288 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);
289 Eina.Error.RaiseIfUnhandledException();
292 /// <summary>Get the index of a sub-object in this container.</summary>
293 /// <param name="subobj">An existing sub-object in this container.</param>
294 /// <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>
295 virtual public int GetPackIndex(Efl.Gfx.IEntity subobj) {
296 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);
297 Eina.Error.RaiseIfUnhandledException();
300 /// <summary>Pop out (remove) the sub-object at the specified <c>index</c>.
301 /// <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"/>.
303 /// 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>
304 /// <param name="index">Index of the sub-object to remove. Valid range is -<c>count</c> to (<c>count</c>-1).</param>
305 /// <returns>The sub-object if it could be removed.</returns>
306 virtual public Efl.Gfx.IEntity PackUnpackAt(int index) {
307 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);
308 Eina.Error.RaiseIfUnhandledException();
311 /// <summary>Control the direction of a given widget.
312 /// Use this function to change how your widget is to be disposed: vertically or horizontally or inverted vertically or inverted horizontally.
314 /// Mirroring as defined in <see cref="Efl.Ui.II18n"/> can invert the <c>horizontal</c> direction: it is <c>ltr</c> by default, but becomes <c>rtl</c> if the object is mirrored.</summary>
315 /// <returns>Direction of the widget.</returns>
316 virtual public Efl.Ui.LayoutOrientation GetOrientation() {
317 var _ret_var = Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
318 Eina.Error.RaiseIfUnhandledException();
321 /// <summary>Control the direction of a given widget.
322 /// Use this function to change how your widget is to be disposed: vertically or horizontally or inverted vertically or inverted horizontally.
324 /// Mirroring as defined in <see cref="Efl.Ui.II18n"/> can invert the <c>horizontal</c> direction: it is <c>ltr</c> by default, but becomes <c>rtl</c> if the object is mirrored.</summary>
325 /// <param name="dir">Direction of the widget.</param>
326 virtual public void SetOrientation(Efl.Ui.LayoutOrientation dir) {
327 Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dir);
328 Eina.Error.RaiseIfUnhandledException();
330 /// <summary>Control the direction of a given widget.
331 /// Use this function to change how your widget is to be disposed: vertically or horizontally or inverted vertically or inverted horizontally.
333 /// Mirroring as defined in <see cref="Efl.Ui.II18n"/> can invert the <c>horizontal</c> direction: it is <c>ltr</c> by default, but becomes <c>rtl</c> if the object is mirrored.</summary>
334 /// <value>Direction of the widget.</value>
335 public Efl.Ui.LayoutOrientation Orientation {
336 get { return GetOrientation(); }
337 set { SetOrientation(value); }
339 private static IntPtr GetEflClassStatic()
341 return Efl.Canvas.LayoutPartBox.efl_canvas_layout_part_box_class_get();
343 /// <summary>Wrapper for native methods and virtual method delegates.
344 /// For internal use by generated code only.</summary>
345 public new class NativeMethods : Efl.Canvas.LayoutPart.NativeMethods
347 private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Edje);
348 /// <summary>Gets the list of Eo operations to override.</summary>
349 /// <returns>The list of Eo operations to be overload.</returns>
350 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
352 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
353 var methods = Efl.Eo.Globals.GetUserMethods(type);
355 if (efl_content_iterate_static_delegate == null)
357 efl_content_iterate_static_delegate = new efl_content_iterate_delegate(content_iterate);
360 if (methods.FirstOrDefault(m => m.Name == "ContentIterate") != null)
362 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) });
365 if (efl_content_count_static_delegate == null)
367 efl_content_count_static_delegate = new efl_content_count_delegate(content_count);
370 if (methods.FirstOrDefault(m => m.Name == "ContentCount") != null)
372 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) });
375 if (efl_pack_clear_static_delegate == null)
377 efl_pack_clear_static_delegate = new efl_pack_clear_delegate(pack_clear);
380 if (methods.FirstOrDefault(m => m.Name == "ClearPack") != null)
382 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) });
385 if (efl_pack_unpack_all_static_delegate == null)
387 efl_pack_unpack_all_static_delegate = new efl_pack_unpack_all_delegate(unpack_all);
390 if (methods.FirstOrDefault(m => m.Name == "UnpackAll") != null)
392 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) });
395 if (efl_pack_unpack_static_delegate == null)
397 efl_pack_unpack_static_delegate = new efl_pack_unpack_delegate(unpack);
400 if (methods.FirstOrDefault(m => m.Name == "Unpack") != null)
402 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) });
405 if (efl_pack_static_delegate == null)
407 efl_pack_static_delegate = new efl_pack_delegate(pack);
410 if (methods.FirstOrDefault(m => m.Name == "Pack") != null)
412 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_static_delegate) });
415 if (efl_pack_begin_static_delegate == null)
417 efl_pack_begin_static_delegate = new efl_pack_begin_delegate(pack_begin);
420 if (methods.FirstOrDefault(m => m.Name == "PackBegin") != null)
422 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) });
425 if (efl_pack_end_static_delegate == null)
427 efl_pack_end_static_delegate = new efl_pack_end_delegate(pack_end);
430 if (methods.FirstOrDefault(m => m.Name == "PackEnd") != null)
432 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) });
435 if (efl_pack_before_static_delegate == null)
437 efl_pack_before_static_delegate = new efl_pack_before_delegate(pack_before);
440 if (methods.FirstOrDefault(m => m.Name == "PackBefore") != null)
442 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) });
445 if (efl_pack_after_static_delegate == null)
447 efl_pack_after_static_delegate = new efl_pack_after_delegate(pack_after);
450 if (methods.FirstOrDefault(m => m.Name == "PackAfter") != null)
452 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) });
455 if (efl_pack_at_static_delegate == null)
457 efl_pack_at_static_delegate = new efl_pack_at_delegate(pack_at);
460 if (methods.FirstOrDefault(m => m.Name == "PackAt") != null)
462 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) });
465 if (efl_pack_content_get_static_delegate == null)
467 efl_pack_content_get_static_delegate = new efl_pack_content_get_delegate(pack_content_get);
470 if (methods.FirstOrDefault(m => m.Name == "GetPackContent") != null)
472 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) });
475 if (efl_pack_index_get_static_delegate == null)
477 efl_pack_index_get_static_delegate = new efl_pack_index_get_delegate(pack_index_get);
480 if (methods.FirstOrDefault(m => m.Name == "GetPackIndex") != null)
482 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) });
485 if (efl_pack_unpack_at_static_delegate == null)
487 efl_pack_unpack_at_static_delegate = new efl_pack_unpack_at_delegate(pack_unpack_at);
490 if (methods.FirstOrDefault(m => m.Name == "PackUnpackAt") != null)
492 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) });
495 if (efl_ui_layout_orientation_get_static_delegate == null)
497 efl_ui_layout_orientation_get_static_delegate = new efl_ui_layout_orientation_get_delegate(orientation_get);
500 if (methods.FirstOrDefault(m => m.Name == "GetOrientation") != null)
502 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_layout_orientation_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_layout_orientation_get_static_delegate) });
505 if (efl_ui_layout_orientation_set_static_delegate == null)
507 efl_ui_layout_orientation_set_static_delegate = new efl_ui_layout_orientation_set_delegate(orientation_set);
510 if (methods.FirstOrDefault(m => m.Name == "SetOrientation") != null)
512 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_layout_orientation_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_layout_orientation_set_static_delegate) });
515 descs.AddRange(base.GetEoOps(type));
518 /// <summary>Returns the Eo class for the native methods of this class.</summary>
519 /// <returns>The native class pointer.</returns>
520 public override IntPtr GetEflClass()
522 return Efl.Canvas.LayoutPartBox.efl_canvas_layout_part_box_class_get();
525 #pragma warning disable CA1707, CS1591, SA1300, SA1600
528 private delegate System.IntPtr efl_content_iterate_delegate(System.IntPtr obj, System.IntPtr pd);
531 public delegate System.IntPtr efl_content_iterate_api_delegate(System.IntPtr obj);
533 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");
535 private static System.IntPtr content_iterate(System.IntPtr obj, System.IntPtr pd)
537 Eina.Log.Debug("function efl_content_iterate was called");
538 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
541 Eina.Iterator<Efl.Gfx.IEntity> _ret_var = default(Eina.Iterator<Efl.Gfx.IEntity>);
544 _ret_var = ((LayoutPartBox)ws.Target).ContentIterate();
548 Eina.Log.Warning($"Callback error: {e.ToString()}");
549 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
552 _ret_var.Own = false; return _ret_var.Handle;
557 return efl_content_iterate_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
561 private static efl_content_iterate_delegate efl_content_iterate_static_delegate;
564 private delegate int efl_content_count_delegate(System.IntPtr obj, System.IntPtr pd);
567 public delegate int efl_content_count_api_delegate(System.IntPtr obj);
569 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");
571 private static int content_count(System.IntPtr obj, System.IntPtr pd)
573 Eina.Log.Debug("function efl_content_count was called");
574 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
577 int _ret_var = default(int);
580 _ret_var = ((LayoutPartBox)ws.Target).ContentCount();
584 Eina.Log.Warning($"Callback error: {e.ToString()}");
585 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
593 return efl_content_count_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
597 private static efl_content_count_delegate efl_content_count_static_delegate;
599 [return: MarshalAs(UnmanagedType.U1)]
600 private delegate bool efl_pack_clear_delegate(System.IntPtr obj, System.IntPtr pd);
602 [return: MarshalAs(UnmanagedType.U1)]
603 public delegate bool efl_pack_clear_api_delegate(System.IntPtr obj);
605 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");
607 private static bool pack_clear(System.IntPtr obj, System.IntPtr pd)
609 Eina.Log.Debug("function efl_pack_clear was called");
610 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
613 bool _ret_var = default(bool);
616 _ret_var = ((LayoutPartBox)ws.Target).ClearPack();
620 Eina.Log.Warning($"Callback error: {e.ToString()}");
621 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
629 return efl_pack_clear_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
633 private static efl_pack_clear_delegate efl_pack_clear_static_delegate;
635 [return: MarshalAs(UnmanagedType.U1)]
636 private delegate bool efl_pack_unpack_all_delegate(System.IntPtr obj, System.IntPtr pd);
638 [return: MarshalAs(UnmanagedType.U1)]
639 public delegate bool efl_pack_unpack_all_api_delegate(System.IntPtr obj);
641 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");
643 private static bool unpack_all(System.IntPtr obj, System.IntPtr pd)
645 Eina.Log.Debug("function efl_pack_unpack_all was called");
646 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
649 bool _ret_var = default(bool);
652 _ret_var = ((LayoutPartBox)ws.Target).UnpackAll();
656 Eina.Log.Warning($"Callback error: {e.ToString()}");
657 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
665 return efl_pack_unpack_all_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
669 private static efl_pack_unpack_all_delegate efl_pack_unpack_all_static_delegate;
671 [return: MarshalAs(UnmanagedType.U1)]
672 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);
674 [return: MarshalAs(UnmanagedType.U1)]
675 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);
677 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");
679 private static bool unpack(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj)
681 Eina.Log.Debug("function efl_pack_unpack was called");
682 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
685 bool _ret_var = default(bool);
688 _ret_var = ((LayoutPartBox)ws.Target).Unpack(subobj);
692 Eina.Log.Warning($"Callback error: {e.ToString()}");
693 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
701 return efl_pack_unpack_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj);
705 private static efl_pack_unpack_delegate efl_pack_unpack_static_delegate;
707 [return: MarshalAs(UnmanagedType.U1)]
708 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);
710 [return: MarshalAs(UnmanagedType.U1)]
711 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);
713 public static Efl.Eo.FunctionWrapper<efl_pack_api_delegate> efl_pack_ptr = new Efl.Eo.FunctionWrapper<efl_pack_api_delegate>(Module, "efl_pack");
715 private static bool pack(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj)
717 Eina.Log.Debug("function efl_pack was called");
718 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
721 bool _ret_var = default(bool);
724 _ret_var = ((LayoutPartBox)ws.Target).Pack(subobj);
728 Eina.Log.Warning($"Callback error: {e.ToString()}");
729 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
737 return efl_pack_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj);
741 private static efl_pack_delegate efl_pack_static_delegate;
743 [return: MarshalAs(UnmanagedType.U1)]
744 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);
746 [return: MarshalAs(UnmanagedType.U1)]
747 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);
749 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");
751 private static bool pack_begin(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj)
753 Eina.Log.Debug("function efl_pack_begin was called");
754 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
757 bool _ret_var = default(bool);
760 _ret_var = ((LayoutPartBox)ws.Target).PackBegin(subobj);
764 Eina.Log.Warning($"Callback error: {e.ToString()}");
765 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
773 return efl_pack_begin_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj);
777 private static efl_pack_begin_delegate efl_pack_begin_static_delegate;
779 [return: MarshalAs(UnmanagedType.U1)]
780 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);
782 [return: MarshalAs(UnmanagedType.U1)]
783 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);
785 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");
787 private static bool pack_end(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj)
789 Eina.Log.Debug("function efl_pack_end was called");
790 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
793 bool _ret_var = default(bool);
796 _ret_var = ((LayoutPartBox)ws.Target).PackEnd(subobj);
800 Eina.Log.Warning($"Callback error: {e.ToString()}");
801 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
809 return efl_pack_end_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj);
813 private static efl_pack_end_delegate efl_pack_end_static_delegate;
815 [return: MarshalAs(UnmanagedType.U1)]
816 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);
818 [return: MarshalAs(UnmanagedType.U1)]
819 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);
821 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");
823 private static bool pack_before(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing)
825 Eina.Log.Debug("function efl_pack_before was called");
826 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
829 bool _ret_var = default(bool);
832 _ret_var = ((LayoutPartBox)ws.Target).PackBefore(subobj, existing);
836 Eina.Log.Warning($"Callback error: {e.ToString()}");
837 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
845 return efl_pack_before_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, existing);
849 private static efl_pack_before_delegate efl_pack_before_static_delegate;
851 [return: MarshalAs(UnmanagedType.U1)]
852 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);
854 [return: MarshalAs(UnmanagedType.U1)]
855 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);
857 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");
859 private static bool pack_after(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing)
861 Eina.Log.Debug("function efl_pack_after was called");
862 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
865 bool _ret_var = default(bool);
868 _ret_var = ((LayoutPartBox)ws.Target).PackAfter(subobj, existing);
872 Eina.Log.Warning($"Callback error: {e.ToString()}");
873 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
881 return efl_pack_after_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, existing);
885 private static efl_pack_after_delegate efl_pack_after_static_delegate;
887 [return: MarshalAs(UnmanagedType.U1)]
888 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);
890 [return: MarshalAs(UnmanagedType.U1)]
891 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);
893 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");
895 private static bool pack_at(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, int index)
897 Eina.Log.Debug("function efl_pack_at was called");
898 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
901 bool _ret_var = default(bool);
904 _ret_var = ((LayoutPartBox)ws.Target).PackAt(subobj, index);
908 Eina.Log.Warning($"Callback error: {e.ToString()}");
909 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
917 return efl_pack_at_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, index);
921 private static efl_pack_at_delegate efl_pack_at_static_delegate;
923 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
924 private delegate Efl.Gfx.IEntity efl_pack_content_get_delegate(System.IntPtr obj, System.IntPtr pd, int index);
926 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
927 public delegate Efl.Gfx.IEntity efl_pack_content_get_api_delegate(System.IntPtr obj, int index);
929 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");
931 private static Efl.Gfx.IEntity pack_content_get(System.IntPtr obj, System.IntPtr pd, int index)
933 Eina.Log.Debug("function efl_pack_content_get was called");
934 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
937 Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
940 _ret_var = ((LayoutPartBox)ws.Target).GetPackContent(index);
944 Eina.Log.Warning($"Callback error: {e.ToString()}");
945 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
953 return efl_pack_content_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), index);
957 private static efl_pack_content_get_delegate efl_pack_content_get_static_delegate;
960 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);
963 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);
965 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");
967 private static int pack_index_get(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj)
969 Eina.Log.Debug("function efl_pack_index_get was called");
970 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
973 int _ret_var = default(int);
976 _ret_var = ((LayoutPartBox)ws.Target).GetPackIndex(subobj);
980 Eina.Log.Warning($"Callback error: {e.ToString()}");
981 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
989 return efl_pack_index_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj);
993 private static efl_pack_index_get_delegate efl_pack_index_get_static_delegate;
995 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
996 private delegate Efl.Gfx.IEntity efl_pack_unpack_at_delegate(System.IntPtr obj, System.IntPtr pd, int index);
998 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
999 public delegate Efl.Gfx.IEntity efl_pack_unpack_at_api_delegate(System.IntPtr obj, int index);
1001 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");
1003 private static Efl.Gfx.IEntity pack_unpack_at(System.IntPtr obj, System.IntPtr pd, int index)
1005 Eina.Log.Debug("function efl_pack_unpack_at was called");
1006 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1009 Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
1012 _ret_var = ((LayoutPartBox)ws.Target).PackUnpackAt(index);
1016 Eina.Log.Warning($"Callback error: {e.ToString()}");
1017 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1025 return efl_pack_unpack_at_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), index);
1029 private static efl_pack_unpack_at_delegate efl_pack_unpack_at_static_delegate;
1032 private delegate Efl.Ui.LayoutOrientation efl_ui_layout_orientation_get_delegate(System.IntPtr obj, System.IntPtr pd);
1035 public delegate Efl.Ui.LayoutOrientation efl_ui_layout_orientation_get_api_delegate(System.IntPtr obj);
1037 public static Efl.Eo.FunctionWrapper<efl_ui_layout_orientation_get_api_delegate> efl_ui_layout_orientation_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_layout_orientation_get_api_delegate>(Module, "efl_ui_layout_orientation_get");
1039 private static Efl.Ui.LayoutOrientation orientation_get(System.IntPtr obj, System.IntPtr pd)
1041 Eina.Log.Debug("function efl_ui_layout_orientation_get was called");
1042 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1045 Efl.Ui.LayoutOrientation _ret_var = default(Efl.Ui.LayoutOrientation);
1048 _ret_var = ((LayoutPartBox)ws.Target).GetOrientation();
1052 Eina.Log.Warning($"Callback error: {e.ToString()}");
1053 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1061 return efl_ui_layout_orientation_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1065 private static efl_ui_layout_orientation_get_delegate efl_ui_layout_orientation_get_static_delegate;
1068 private delegate void efl_ui_layout_orientation_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.LayoutOrientation dir);
1071 public delegate void efl_ui_layout_orientation_set_api_delegate(System.IntPtr obj, Efl.Ui.LayoutOrientation dir);
1073 public static Efl.Eo.FunctionWrapper<efl_ui_layout_orientation_set_api_delegate> efl_ui_layout_orientation_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_layout_orientation_set_api_delegate>(Module, "efl_ui_layout_orientation_set");
1075 private static void orientation_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.LayoutOrientation dir)
1077 Eina.Log.Debug("function efl_ui_layout_orientation_set was called");
1078 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1084 ((LayoutPartBox)ws.Target).SetOrientation(dir);
1088 Eina.Log.Warning($"Callback error: {e.ToString()}");
1089 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1096 efl_ui_layout_orientation_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), dir);
1100 private static efl_ui_layout_orientation_set_delegate efl_ui_layout_orientation_set_static_delegate;
1102 #pragma warning restore CA1707, CS1591, SA1300, SA1600