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>A container that arranges children widgets in a vertical or horizontal fashion.
13 /// The Box widget is the most basic (and the most used) of the container widgets. Other widgets are added to the Box through the <see cref="Efl.IPackLinear"/> interface, and the layout direction (either vertical or horizontal) is controlled through the <see cref="Efl.Ui.ILayoutOrientable.Orientation"/> property.
15 /// The Box widget itself is invisible, as are most container widgets: Their purpose is to handle the position and size of all their children so you don't have to.
17 /// All widgets inside a vertical Box container will have the same width as the container, and their heights will be automatically chosen so that they cover the whole surface of the container from top to bottom (Imagine a stack of pizza boxes neatly fitting inside your oven). The <see cref="Efl.Ui.Box.Homogeneous"/> property then controls whether all widgets have the same height (homogeneous) or not.
19 /// A horizontal Box container example would be the button toolbar at the top of most word processing programs.
21 /// Precise layout can be further customized through the <see cref="Efl.Gfx.IArrangement"/> interface on the Box itself, or through the <see cref="Efl.Gfx.IHint"/> interface on each of the children widgets.</summary>
22 [Efl.Ui.Box.NativeMethods]
23 [Efl.Eo.BindingEntity]
24 public class Box : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPackLayout, Efl.IPackLinear, Efl.Gfx.IArrangement, Efl.Ui.ILayoutOrientable
26 ///<summary>Pointer to the native class description.</summary>
27 public override System.IntPtr NativeClass
31 if (((object)this).GetType() == typeof(Box))
33 return GetEflClassStatic();
37 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
42 [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
43 efl_ui_box_class_get();
44 /// <summary>Initializes a new instance of the <see cref="Box"/> class.</summary>
45 /// <param name="parent">Parent instance.</param>
46 /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
47 public Box(Efl.Object parent
48 , System.String style = null) : base(efl_ui_box_class_get(), parent)
50 if (Efl.Eo.Globals.ParamHelperCheck(style))
52 SetStyle(Efl.Eo.Globals.GetParamHelper(style));
55 FinishInstantiation();
58 /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
59 /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
60 protected Box(ConstructingHandle ch) : base(ch)
64 /// <summary>Initializes a new instance of the <see cref="Box"/> class.
65 /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
66 /// <param name="wh">The native pointer to be wrapped.</param>
67 protected Box(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
71 /// <summary>Initializes a new instance of the <see cref="Box"/> class.
72 /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
73 /// <param name="baseKlass">The pointer to the base native Eo class.</param>
74 /// <param name="parent">The Efl.Object parent of this instance.</param>
75 protected Box(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
79 /// <summary>Sent after a new sub-object was added.
80 /// (Since EFL 1.22)</summary>
81 public event EventHandler<Efl.IContainerContentAddedEvt_Args> ContentAddedEvt
85 lock (eflBindingEventLock)
87 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
89 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
92 Efl.IContainerContentAddedEvt_Args args = new Efl.IContainerContentAddedEvt_Args();
93 args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Gfx.IEntityConcrete);
96 value?.Invoke(obj, args);
100 Eina.Log.Error(e.ToString());
101 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
106 string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED";
107 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
113 lock (eflBindingEventLock)
115 string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED";
116 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
120 ///<summary>Method to raise event ContentAddedEvt.</summary>
121 public void OnContentAddedEvt(Efl.IContainerContentAddedEvt_Args e)
123 var key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED";
124 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
125 if (desc == IntPtr.Zero)
127 Eina.Log.Error($"Failed to get native event {key}");
131 IntPtr info = e.arg.NativeHandle;
132 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
134 /// <summary>Sent after a sub-object was removed, before unref.
135 /// (Since EFL 1.22)</summary>
136 public event EventHandler<Efl.IContainerContentRemovedEvt_Args> ContentRemovedEvt
140 lock (eflBindingEventLock)
142 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
144 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
147 Efl.IContainerContentRemovedEvt_Args args = new Efl.IContainerContentRemovedEvt_Args();
148 args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Gfx.IEntityConcrete);
151 value?.Invoke(obj, args);
155 Eina.Log.Error(e.ToString());
156 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
161 string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED";
162 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
168 lock (eflBindingEventLock)
170 string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED";
171 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
175 ///<summary>Method to raise event ContentRemovedEvt.</summary>
176 public void OnContentRemovedEvt(Efl.IContainerContentRemovedEvt_Args e)
178 var key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED";
179 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
180 if (desc == IntPtr.Zero)
182 Eina.Log.Error($"Failed to get native event {key}");
186 IntPtr info = e.arg.NativeHandle;
187 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
189 /// <summary>Sent after the layout was updated.</summary>
190 public event EventHandler LayoutUpdatedEvt
194 lock (eflBindingEventLock)
196 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
198 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
201 EventArgs args = EventArgs.Empty;
204 value?.Invoke(obj, args);
208 Eina.Log.Error(e.ToString());
209 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
214 string key = "_EFL_PACK_EVENT_LAYOUT_UPDATED";
215 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
221 lock (eflBindingEventLock)
223 string key = "_EFL_PACK_EVENT_LAYOUT_UPDATED";
224 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
228 ///<summary>Method to raise event LayoutUpdatedEvt.</summary>
229 public void OnLayoutUpdatedEvt(EventArgs e)
231 var key = "_EFL_PACK_EVENT_LAYOUT_UPDATED";
232 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
233 if (desc == IntPtr.Zero)
235 Eina.Log.Error($"Failed to get native event {key}");
239 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
241 /// <summary>In homogeneous mode all children of a vertical Box have the same height, equal to the height of the tallest widget. Children of a horizontal Box have the same width, equal to the width of the widest widget. Otherwise, individual widget sizes are not modified.</summary>
242 /// <returns><c>true</c> if the Box is homogeneous, <c>false</c> otherwise.</returns>
243 virtual public bool GetHomogeneous() {
244 var _ret_var = Efl.Ui.Box.NativeMethods.efl_ui_box_homogeneous_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
245 Eina.Error.RaiseIfUnhandledException();
248 /// <summary>In homogeneous mode all children of a vertical Box have the same height, equal to the height of the tallest widget. Children of a horizontal Box have the same width, equal to the width of the widest widget. Otherwise, individual widget sizes are not modified.</summary>
249 /// <param name="homogeneous"><c>true</c> if the Box is homogeneous, <c>false</c> otherwise.</param>
250 virtual public void SetHomogeneous(bool homogeneous) {
251 Efl.Ui.Box.NativeMethods.efl_ui_box_homogeneous_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),homogeneous);
252 Eina.Error.RaiseIfUnhandledException();
254 /// <summary>Begin iterating over this object's contents.
255 /// (Since EFL 1.22)</summary>
256 /// <returns>Iterator on object's content.</returns>
257 virtual public Eina.Iterator<Efl.Gfx.IEntity> ContentIterate() {
258 var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_iterate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
259 Eina.Error.RaiseIfUnhandledException();
260 return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true);
262 /// <summary>Returns the number of contained sub-objects.
263 /// (Since EFL 1.22)</summary>
264 /// <returns>Number of sub-objects.</returns>
265 virtual public int ContentCount() {
266 var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_count_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
267 Eina.Error.RaiseIfUnhandledException();
270 /// <summary>Removes all packed sub-objects and unreferences them.</summary>
271 /// <returns><c>true</c> on success, <c>false</c> otherwise.</returns>
272 virtual public bool ClearPack() {
273 var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_clear_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
274 Eina.Error.RaiseIfUnhandledException();
277 /// <summary>Removes all packed sub-objects without unreferencing them.
278 /// Use with caution.</summary>
279 /// <returns><c>true</c> on success, <c>false</c> otherwise.</returns>
280 virtual public bool UnpackAll() {
281 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)));
282 Eina.Error.RaiseIfUnhandledException();
285 /// <summary>Removes an existing sub-object from the container without deleting it.</summary>
286 /// <param name="subobj">The sub-object to unpack.</param>
287 /// <returns><c>false</c> if <c>subobj</c> wasn't in the container or couldn't be removed.</returns>
288 virtual public bool Unpack(Efl.Gfx.IEntity subobj) {
289 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);
290 Eina.Error.RaiseIfUnhandledException();
293 /// <summary>Adds a sub-object to this container.
294 /// 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.
296 /// 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>
297 /// <param name="subobj">The object to pack.</param>
298 /// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
299 virtual public bool Pack(Efl.Gfx.IEntity subobj) {
300 var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
301 Eina.Error.RaiseIfUnhandledException();
304 /// <summary>Requests EFL to call the <see cref="Efl.IPackLayout.UpdateLayout"/> method on this object.
305 /// This <see cref="Efl.IPackLayout.UpdateLayout"/> may be called asynchronously.</summary>
306 virtual public void LayoutRequest() {
307 Efl.IPackLayoutConcrete.NativeMethods.efl_pack_layout_request_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
308 Eina.Error.RaiseIfUnhandledException();
310 /// <summary>Implementation of this container's layout algorithm.
311 /// EFL will call this function whenever the contents of this container need to be re-laid out on the canvas.
313 /// This can be overriden to implement custom layout behaviors.</summary>
314 virtual public void UpdateLayout() {
315 Efl.IPackLayoutConcrete.NativeMethods.efl_pack_layout_update_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
316 Eina.Error.RaiseIfUnhandledException();
318 /// <summary>Prepend an object at the beginning of this container.
319 /// This is the same as <see cref="Efl.IPackLinear.PackAt"/>(<c>subobj</c>, 0).
321 /// 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>
322 /// <param name="subobj">Object to pack at the beginning.</param>
323 /// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
324 virtual public bool PackBegin(Efl.Gfx.IEntity subobj) {
325 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);
326 Eina.Error.RaiseIfUnhandledException();
329 /// <summary>Append object at the end of this container.
330 /// This is the same as <see cref="Efl.IPackLinear.PackAt"/>(<c>subobj</c>, -1).
332 /// 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>
333 /// <param name="subobj">Object to pack at the end.</param>
334 /// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
335 virtual public bool PackEnd(Efl.Gfx.IEntity subobj) {
336 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);
337 Eina.Error.RaiseIfUnhandledException();
340 /// <summary>Prepend an object before an existing sub-object.
341 /// 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>
342 /// <param name="subobj">Object to pack before <c>existing</c>.</param>
343 /// <param name="existing">Existing reference sub-object.</param>
344 /// <returns><c>false</c> if <c>existing</c> could not be found or <c>subobj</c> could not be packed.</returns>
345 virtual public bool PackBefore(Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing) {
346 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);
347 Eina.Error.RaiseIfUnhandledException();
350 /// <summary>Append an object after an existing sub-object.
351 /// 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>
352 /// <param name="subobj">Object to pack after <c>existing</c>.</param>
353 /// <param name="existing">Existing reference sub-object.</param>
354 /// <returns><c>false</c> if <c>existing</c> could not be found or <c>subobj</c> could not be packed.</returns>
355 virtual public bool PackAfter(Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing) {
356 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);
357 Eina.Error.RaiseIfUnhandledException();
360 /// <summary>Inserts <c>subobj</c> BEFORE the sub-object at position <c>index</c>.
361 /// <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"/>.
363 /// 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>).
365 /// 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>
366 /// <param name="subobj">Object to pack.</param>
367 /// <param name="index">Index of existing sub-object to insert BEFORE. Valid range is -<c>count</c> to (<c>count</c>-1).</param>
368 /// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
369 virtual public bool PackAt(Efl.Gfx.IEntity subobj, int index) {
370 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);
371 Eina.Error.RaiseIfUnhandledException();
374 /// <summary>Sub-object at a given <c>index</c> in this container.
375 /// <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"/>.
377 /// 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>
378 /// <param name="index">Index of the existing sub-object to retrieve. Valid range is -<c>count</c> to (<c>count</c>-1).</param>
379 /// <returns>The sub-object contained at the given <c>index</c>.</returns>
380 virtual public Efl.Gfx.IEntity GetPackContent(int index) {
381 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);
382 Eina.Error.RaiseIfUnhandledException();
385 /// <summary>Get the index of a sub-object in this container.</summary>
386 /// <param name="subobj">An existing sub-object in this container.</param>
387 /// <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>
388 virtual public int GetPackIndex(Efl.Gfx.IEntity subobj) {
389 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);
390 Eina.Error.RaiseIfUnhandledException();
393 /// <summary>Pop out (remove) the sub-object at the specified <c>index</c>.
394 /// <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"/>.
396 /// 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>
397 /// <param name="index">Index of the sub-object to remove. Valid range is -<c>count</c> to (<c>count</c>-1).</param>
398 /// <returns>The sub-object if it could be removed.</returns>
399 virtual public Efl.Gfx.IEntity PackUnpackAt(int index) {
400 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);
401 Eina.Error.RaiseIfUnhandledException();
404 /// <summary>Alignment of the container within its bounds</summary>
405 /// <param name="align_horiz">Horizontal alignment</param>
406 /// <param name="align_vert">Vertical alignment</param>
407 virtual public void GetContentAlign(out double align_horiz, out double align_vert) {
408 Efl.Gfx.IArrangementConcrete.NativeMethods.efl_gfx_arrangement_content_align_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out align_horiz, out align_vert);
409 Eina.Error.RaiseIfUnhandledException();
411 /// <summary>Alignment of the container within its bounds</summary>
412 /// <param name="align_horiz">Horizontal alignment</param>
413 /// <param name="align_vert">Vertical alignment</param>
414 virtual public void SetContentAlign(double align_horiz, double align_vert) {
415 Efl.Gfx.IArrangementConcrete.NativeMethods.efl_gfx_arrangement_content_align_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),align_horiz, align_vert);
416 Eina.Error.RaiseIfUnhandledException();
418 /// <summary>Padding between items contained in this object.</summary>
419 /// <param name="pad_horiz">Horizontal padding</param>
420 /// <param name="pad_vert">Vertical padding</param>
421 /// <param name="scalable"><c>true</c> if scalable, <c>false</c> otherwise</param>
422 virtual public void GetContentPadding(out double pad_horiz, out double pad_vert, out bool scalable) {
423 Efl.Gfx.IArrangementConcrete.NativeMethods.efl_gfx_arrangement_content_padding_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out pad_horiz, out pad_vert, out scalable);
424 Eina.Error.RaiseIfUnhandledException();
426 /// <summary>Padding between items contained in this object.</summary>
427 /// <param name="pad_horiz">Horizontal padding</param>
428 /// <param name="pad_vert">Vertical padding</param>
429 /// <param name="scalable"><c>true</c> if scalable, <c>false</c> otherwise</param>
430 virtual public void SetContentPadding(double pad_horiz, double pad_vert, bool scalable) {
431 Efl.Gfx.IArrangementConcrete.NativeMethods.efl_gfx_arrangement_content_padding_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),pad_horiz, pad_vert, scalable);
432 Eina.Error.RaiseIfUnhandledException();
434 /// <summary>Control the direction of a given widget.
435 /// Use this function to change how your widget is to be disposed: vertically or horizontally or inverted vertically or inverted horizontally.
437 /// 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>
438 /// <returns>Direction of the widget.</returns>
439 virtual public Efl.Ui.LayoutOrientation GetOrientation() {
440 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)));
441 Eina.Error.RaiseIfUnhandledException();
444 /// <summary>Control the direction of a given widget.
445 /// Use this function to change how your widget is to be disposed: vertically or horizontally or inverted vertically or inverted horizontally.
447 /// 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>
448 /// <param name="dir">Direction of the widget.</param>
449 virtual public void SetOrientation(Efl.Ui.LayoutOrientation dir) {
450 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);
451 Eina.Error.RaiseIfUnhandledException();
453 /// <summary>In homogeneous mode all children of a vertical Box have the same height, equal to the height of the tallest widget. Children of a horizontal Box have the same width, equal to the width of the widest widget. Otherwise, individual widget sizes are not modified.</summary>
454 /// <value><c>true</c> if the Box is homogeneous, <c>false</c> otherwise.</value>
455 public bool Homogeneous {
456 get { return GetHomogeneous(); }
457 set { SetHomogeneous(value); }
459 /// <summary>Control the direction of a given widget.
460 /// Use this function to change how your widget is to be disposed: vertically or horizontally or inverted vertically or inverted horizontally.
462 /// 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>
463 /// <value>Direction of the widget.</value>
464 public Efl.Ui.LayoutOrientation Orientation {
465 get { return GetOrientation(); }
466 set { SetOrientation(value); }
468 private static IntPtr GetEflClassStatic()
470 return Efl.Ui.Box.efl_ui_box_class_get();
472 /// <summary>Wrapper for native methods and virtual method delegates.
473 /// For internal use by generated code only.</summary>
474 public new class NativeMethods : Efl.Ui.Widget.NativeMethods
476 private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
477 /// <summary>Gets the list of Eo operations to override.</summary>
478 /// <returns>The list of Eo operations to be overload.</returns>
479 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
481 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
482 var methods = Efl.Eo.Globals.GetUserMethods(type);
484 if (efl_ui_box_homogeneous_get_static_delegate == null)
486 efl_ui_box_homogeneous_get_static_delegate = new efl_ui_box_homogeneous_get_delegate(homogeneous_get);
489 if (methods.FirstOrDefault(m => m.Name == "GetHomogeneous") != null)
491 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_box_homogeneous_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_box_homogeneous_get_static_delegate) });
494 if (efl_ui_box_homogeneous_set_static_delegate == null)
496 efl_ui_box_homogeneous_set_static_delegate = new efl_ui_box_homogeneous_set_delegate(homogeneous_set);
499 if (methods.FirstOrDefault(m => m.Name == "SetHomogeneous") != null)
501 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_box_homogeneous_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_box_homogeneous_set_static_delegate) });
504 if (efl_content_iterate_static_delegate == null)
506 efl_content_iterate_static_delegate = new efl_content_iterate_delegate(content_iterate);
509 if (methods.FirstOrDefault(m => m.Name == "ContentIterate") != null)
511 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) });
514 if (efl_content_count_static_delegate == null)
516 efl_content_count_static_delegate = new efl_content_count_delegate(content_count);
519 if (methods.FirstOrDefault(m => m.Name == "ContentCount") != null)
521 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) });
524 if (efl_pack_clear_static_delegate == null)
526 efl_pack_clear_static_delegate = new efl_pack_clear_delegate(pack_clear);
529 if (methods.FirstOrDefault(m => m.Name == "ClearPack") != null)
531 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) });
534 if (efl_pack_unpack_all_static_delegate == null)
536 efl_pack_unpack_all_static_delegate = new efl_pack_unpack_all_delegate(unpack_all);
539 if (methods.FirstOrDefault(m => m.Name == "UnpackAll") != null)
541 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) });
544 if (efl_pack_unpack_static_delegate == null)
546 efl_pack_unpack_static_delegate = new efl_pack_unpack_delegate(unpack);
549 if (methods.FirstOrDefault(m => m.Name == "Unpack") != null)
551 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) });
554 if (efl_pack_static_delegate == null)
556 efl_pack_static_delegate = new efl_pack_delegate(pack);
559 if (methods.FirstOrDefault(m => m.Name == "Pack") != null)
561 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_static_delegate) });
564 if (efl_pack_layout_request_static_delegate == null)
566 efl_pack_layout_request_static_delegate = new efl_pack_layout_request_delegate(layout_request);
569 if (methods.FirstOrDefault(m => m.Name == "LayoutRequest") != null)
571 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) });
574 if (efl_pack_layout_update_static_delegate == null)
576 efl_pack_layout_update_static_delegate = new efl_pack_layout_update_delegate(layout_update);
579 if (methods.FirstOrDefault(m => m.Name == "UpdateLayout") != null)
581 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) });
584 if (efl_pack_begin_static_delegate == null)
586 efl_pack_begin_static_delegate = new efl_pack_begin_delegate(pack_begin);
589 if (methods.FirstOrDefault(m => m.Name == "PackBegin") != null)
591 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) });
594 if (efl_pack_end_static_delegate == null)
596 efl_pack_end_static_delegate = new efl_pack_end_delegate(pack_end);
599 if (methods.FirstOrDefault(m => m.Name == "PackEnd") != null)
601 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) });
604 if (efl_pack_before_static_delegate == null)
606 efl_pack_before_static_delegate = new efl_pack_before_delegate(pack_before);
609 if (methods.FirstOrDefault(m => m.Name == "PackBefore") != null)
611 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) });
614 if (efl_pack_after_static_delegate == null)
616 efl_pack_after_static_delegate = new efl_pack_after_delegate(pack_after);
619 if (methods.FirstOrDefault(m => m.Name == "PackAfter") != null)
621 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) });
624 if (efl_pack_at_static_delegate == null)
626 efl_pack_at_static_delegate = new efl_pack_at_delegate(pack_at);
629 if (methods.FirstOrDefault(m => m.Name == "PackAt") != null)
631 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) });
634 if (efl_pack_content_get_static_delegate == null)
636 efl_pack_content_get_static_delegate = new efl_pack_content_get_delegate(pack_content_get);
639 if (methods.FirstOrDefault(m => m.Name == "GetPackContent") != null)
641 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) });
644 if (efl_pack_index_get_static_delegate == null)
646 efl_pack_index_get_static_delegate = new efl_pack_index_get_delegate(pack_index_get);
649 if (methods.FirstOrDefault(m => m.Name == "GetPackIndex") != null)
651 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) });
654 if (efl_pack_unpack_at_static_delegate == null)
656 efl_pack_unpack_at_static_delegate = new efl_pack_unpack_at_delegate(pack_unpack_at);
659 if (methods.FirstOrDefault(m => m.Name == "PackUnpackAt") != null)
661 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) });
664 if (efl_gfx_arrangement_content_align_get_static_delegate == null)
666 efl_gfx_arrangement_content_align_get_static_delegate = new efl_gfx_arrangement_content_align_get_delegate(content_align_get);
669 if (methods.FirstOrDefault(m => m.Name == "GetContentAlign") != null)
671 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_arrangement_content_align_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_arrangement_content_align_get_static_delegate) });
674 if (efl_gfx_arrangement_content_align_set_static_delegate == null)
676 efl_gfx_arrangement_content_align_set_static_delegate = new efl_gfx_arrangement_content_align_set_delegate(content_align_set);
679 if (methods.FirstOrDefault(m => m.Name == "SetContentAlign") != null)
681 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_arrangement_content_align_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_arrangement_content_align_set_static_delegate) });
684 if (efl_gfx_arrangement_content_padding_get_static_delegate == null)
686 efl_gfx_arrangement_content_padding_get_static_delegate = new efl_gfx_arrangement_content_padding_get_delegate(content_padding_get);
689 if (methods.FirstOrDefault(m => m.Name == "GetContentPadding") != null)
691 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_arrangement_content_padding_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_arrangement_content_padding_get_static_delegate) });
694 if (efl_gfx_arrangement_content_padding_set_static_delegate == null)
696 efl_gfx_arrangement_content_padding_set_static_delegate = new efl_gfx_arrangement_content_padding_set_delegate(content_padding_set);
699 if (methods.FirstOrDefault(m => m.Name == "SetContentPadding") != null)
701 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_arrangement_content_padding_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_arrangement_content_padding_set_static_delegate) });
704 if (efl_ui_layout_orientation_get_static_delegate == null)
706 efl_ui_layout_orientation_get_static_delegate = new efl_ui_layout_orientation_get_delegate(orientation_get);
709 if (methods.FirstOrDefault(m => m.Name == "GetOrientation") != null)
711 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) });
714 if (efl_ui_layout_orientation_set_static_delegate == null)
716 efl_ui_layout_orientation_set_static_delegate = new efl_ui_layout_orientation_set_delegate(orientation_set);
719 if (methods.FirstOrDefault(m => m.Name == "SetOrientation") != null)
721 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) });
724 descs.AddRange(base.GetEoOps(type));
727 /// <summary>Returns the Eo class for the native methods of this class.</summary>
728 /// <returns>The native class pointer.</returns>
729 public override IntPtr GetEflClass()
731 return Efl.Ui.Box.efl_ui_box_class_get();
734 #pragma warning disable CA1707, CS1591, SA1300, SA1600
736 [return: MarshalAs(UnmanagedType.U1)]
737 private delegate bool efl_ui_box_homogeneous_get_delegate(System.IntPtr obj, System.IntPtr pd);
739 [return: MarshalAs(UnmanagedType.U1)]
740 public delegate bool efl_ui_box_homogeneous_get_api_delegate(System.IntPtr obj);
742 public static Efl.Eo.FunctionWrapper<efl_ui_box_homogeneous_get_api_delegate> efl_ui_box_homogeneous_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_box_homogeneous_get_api_delegate>(Module, "efl_ui_box_homogeneous_get");
744 private static bool homogeneous_get(System.IntPtr obj, System.IntPtr pd)
746 Eina.Log.Debug("function efl_ui_box_homogeneous_get was called");
747 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
750 bool _ret_var = default(bool);
753 _ret_var = ((Box)ws.Target).GetHomogeneous();
757 Eina.Log.Warning($"Callback error: {e.ToString()}");
758 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
766 return efl_ui_box_homogeneous_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
770 private static efl_ui_box_homogeneous_get_delegate efl_ui_box_homogeneous_get_static_delegate;
773 private delegate void efl_ui_box_homogeneous_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool homogeneous);
776 public delegate void efl_ui_box_homogeneous_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool homogeneous);
778 public static Efl.Eo.FunctionWrapper<efl_ui_box_homogeneous_set_api_delegate> efl_ui_box_homogeneous_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_box_homogeneous_set_api_delegate>(Module, "efl_ui_box_homogeneous_set");
780 private static void homogeneous_set(System.IntPtr obj, System.IntPtr pd, bool homogeneous)
782 Eina.Log.Debug("function efl_ui_box_homogeneous_set was called");
783 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
789 ((Box)ws.Target).SetHomogeneous(homogeneous);
793 Eina.Log.Warning($"Callback error: {e.ToString()}");
794 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
801 efl_ui_box_homogeneous_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), homogeneous);
805 private static efl_ui_box_homogeneous_set_delegate efl_ui_box_homogeneous_set_static_delegate;
808 private delegate System.IntPtr efl_content_iterate_delegate(System.IntPtr obj, System.IntPtr pd);
811 public delegate System.IntPtr efl_content_iterate_api_delegate(System.IntPtr obj);
813 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");
815 private static System.IntPtr content_iterate(System.IntPtr obj, System.IntPtr pd)
817 Eina.Log.Debug("function efl_content_iterate was called");
818 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
821 Eina.Iterator<Efl.Gfx.IEntity> _ret_var = default(Eina.Iterator<Efl.Gfx.IEntity>);
824 _ret_var = ((Box)ws.Target).ContentIterate();
828 Eina.Log.Warning($"Callback error: {e.ToString()}");
829 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
832 _ret_var.Own = false; return _ret_var.Handle;
837 return efl_content_iterate_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
841 private static efl_content_iterate_delegate efl_content_iterate_static_delegate;
844 private delegate int efl_content_count_delegate(System.IntPtr obj, System.IntPtr pd);
847 public delegate int efl_content_count_api_delegate(System.IntPtr obj);
849 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");
851 private static int content_count(System.IntPtr obj, System.IntPtr pd)
853 Eina.Log.Debug("function efl_content_count was called");
854 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
857 int _ret_var = default(int);
860 _ret_var = ((Box)ws.Target).ContentCount();
864 Eina.Log.Warning($"Callback error: {e.ToString()}");
865 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
873 return efl_content_count_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
877 private static efl_content_count_delegate efl_content_count_static_delegate;
879 [return: MarshalAs(UnmanagedType.U1)]
880 private delegate bool efl_pack_clear_delegate(System.IntPtr obj, System.IntPtr pd);
882 [return: MarshalAs(UnmanagedType.U1)]
883 public delegate bool efl_pack_clear_api_delegate(System.IntPtr obj);
885 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");
887 private static bool pack_clear(System.IntPtr obj, System.IntPtr pd)
889 Eina.Log.Debug("function efl_pack_clear was called");
890 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
893 bool _ret_var = default(bool);
896 _ret_var = ((Box)ws.Target).ClearPack();
900 Eina.Log.Warning($"Callback error: {e.ToString()}");
901 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
909 return efl_pack_clear_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
913 private static efl_pack_clear_delegate efl_pack_clear_static_delegate;
915 [return: MarshalAs(UnmanagedType.U1)]
916 private delegate bool efl_pack_unpack_all_delegate(System.IntPtr obj, System.IntPtr pd);
918 [return: MarshalAs(UnmanagedType.U1)]
919 public delegate bool efl_pack_unpack_all_api_delegate(System.IntPtr obj);
921 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");
923 private static bool unpack_all(System.IntPtr obj, System.IntPtr pd)
925 Eina.Log.Debug("function efl_pack_unpack_all was called");
926 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
929 bool _ret_var = default(bool);
932 _ret_var = ((Box)ws.Target).UnpackAll();
936 Eina.Log.Warning($"Callback error: {e.ToString()}");
937 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
945 return efl_pack_unpack_all_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
949 private static efl_pack_unpack_all_delegate efl_pack_unpack_all_static_delegate;
951 [return: MarshalAs(UnmanagedType.U1)]
952 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);
954 [return: MarshalAs(UnmanagedType.U1)]
955 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);
957 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");
959 private static bool unpack(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj)
961 Eina.Log.Debug("function efl_pack_unpack was called");
962 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
965 bool _ret_var = default(bool);
968 _ret_var = ((Box)ws.Target).Unpack(subobj);
972 Eina.Log.Warning($"Callback error: {e.ToString()}");
973 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
981 return efl_pack_unpack_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj);
985 private static efl_pack_unpack_delegate efl_pack_unpack_static_delegate;
987 [return: MarshalAs(UnmanagedType.U1)]
988 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);
990 [return: MarshalAs(UnmanagedType.U1)]
991 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);
993 public static Efl.Eo.FunctionWrapper<efl_pack_api_delegate> efl_pack_ptr = new Efl.Eo.FunctionWrapper<efl_pack_api_delegate>(Module, "efl_pack");
995 private static bool pack(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj)
997 Eina.Log.Debug("function efl_pack was called");
998 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1001 bool _ret_var = default(bool);
1004 _ret_var = ((Box)ws.Target).Pack(subobj);
1008 Eina.Log.Warning($"Callback error: {e.ToString()}");
1009 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1017 return efl_pack_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj);
1021 private static efl_pack_delegate efl_pack_static_delegate;
1024 private delegate void efl_pack_layout_request_delegate(System.IntPtr obj, System.IntPtr pd);
1027 public delegate void efl_pack_layout_request_api_delegate(System.IntPtr obj);
1029 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");
1031 private static void layout_request(System.IntPtr obj, System.IntPtr pd)
1033 Eina.Log.Debug("function efl_pack_layout_request was called");
1034 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1040 ((Box)ws.Target).LayoutRequest();
1044 Eina.Log.Warning($"Callback error: {e.ToString()}");
1045 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1052 efl_pack_layout_request_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1056 private static efl_pack_layout_request_delegate efl_pack_layout_request_static_delegate;
1059 private delegate void efl_pack_layout_update_delegate(System.IntPtr obj, System.IntPtr pd);
1062 public delegate void efl_pack_layout_update_api_delegate(System.IntPtr obj);
1064 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");
1066 private static void layout_update(System.IntPtr obj, System.IntPtr pd)
1068 Eina.Log.Debug("function efl_pack_layout_update was called");
1069 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1075 ((Box)ws.Target).UpdateLayout();
1079 Eina.Log.Warning($"Callback error: {e.ToString()}");
1080 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1087 efl_pack_layout_update_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1091 private static efl_pack_layout_update_delegate efl_pack_layout_update_static_delegate;
1093 [return: MarshalAs(UnmanagedType.U1)]
1094 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);
1096 [return: MarshalAs(UnmanagedType.U1)]
1097 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);
1099 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");
1101 private static bool pack_begin(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj)
1103 Eina.Log.Debug("function efl_pack_begin was called");
1104 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1107 bool _ret_var = default(bool);
1110 _ret_var = ((Box)ws.Target).PackBegin(subobj);
1114 Eina.Log.Warning($"Callback error: {e.ToString()}");
1115 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1123 return efl_pack_begin_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj);
1127 private static efl_pack_begin_delegate efl_pack_begin_static_delegate;
1129 [return: MarshalAs(UnmanagedType.U1)]
1130 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);
1132 [return: MarshalAs(UnmanagedType.U1)]
1133 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);
1135 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");
1137 private static bool pack_end(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj)
1139 Eina.Log.Debug("function efl_pack_end was called");
1140 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1143 bool _ret_var = default(bool);
1146 _ret_var = ((Box)ws.Target).PackEnd(subobj);
1150 Eina.Log.Warning($"Callback error: {e.ToString()}");
1151 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1159 return efl_pack_end_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj);
1163 private static efl_pack_end_delegate efl_pack_end_static_delegate;
1165 [return: MarshalAs(UnmanagedType.U1)]
1166 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);
1168 [return: MarshalAs(UnmanagedType.U1)]
1169 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);
1171 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");
1173 private static bool pack_before(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing)
1175 Eina.Log.Debug("function efl_pack_before was called");
1176 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1179 bool _ret_var = default(bool);
1182 _ret_var = ((Box)ws.Target).PackBefore(subobj, existing);
1186 Eina.Log.Warning($"Callback error: {e.ToString()}");
1187 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1195 return efl_pack_before_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, existing);
1199 private static efl_pack_before_delegate efl_pack_before_static_delegate;
1201 [return: MarshalAs(UnmanagedType.U1)]
1202 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);
1204 [return: MarshalAs(UnmanagedType.U1)]
1205 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);
1207 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");
1209 private static bool pack_after(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing)
1211 Eina.Log.Debug("function efl_pack_after was called");
1212 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1215 bool _ret_var = default(bool);
1218 _ret_var = ((Box)ws.Target).PackAfter(subobj, existing);
1222 Eina.Log.Warning($"Callback error: {e.ToString()}");
1223 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1231 return efl_pack_after_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, existing);
1235 private static efl_pack_after_delegate efl_pack_after_static_delegate;
1237 [return: MarshalAs(UnmanagedType.U1)]
1238 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);
1240 [return: MarshalAs(UnmanagedType.U1)]
1241 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);
1243 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");
1245 private static bool pack_at(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, int index)
1247 Eina.Log.Debug("function efl_pack_at was called");
1248 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1251 bool _ret_var = default(bool);
1254 _ret_var = ((Box)ws.Target).PackAt(subobj, index);
1258 Eina.Log.Warning($"Callback error: {e.ToString()}");
1259 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1267 return efl_pack_at_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, index);
1271 private static efl_pack_at_delegate efl_pack_at_static_delegate;
1273 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
1274 private delegate Efl.Gfx.IEntity efl_pack_content_get_delegate(System.IntPtr obj, System.IntPtr pd, int index);
1276 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
1277 public delegate Efl.Gfx.IEntity efl_pack_content_get_api_delegate(System.IntPtr obj, int index);
1279 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");
1281 private static Efl.Gfx.IEntity pack_content_get(System.IntPtr obj, System.IntPtr pd, int index)
1283 Eina.Log.Debug("function efl_pack_content_get was called");
1284 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1287 Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
1290 _ret_var = ((Box)ws.Target).GetPackContent(index);
1294 Eina.Log.Warning($"Callback error: {e.ToString()}");
1295 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1303 return efl_pack_content_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), index);
1307 private static efl_pack_content_get_delegate efl_pack_content_get_static_delegate;
1310 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);
1313 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);
1315 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");
1317 private static int pack_index_get(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj)
1319 Eina.Log.Debug("function efl_pack_index_get was called");
1320 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1323 int _ret_var = default(int);
1326 _ret_var = ((Box)ws.Target).GetPackIndex(subobj);
1330 Eina.Log.Warning($"Callback error: {e.ToString()}");
1331 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1339 return efl_pack_index_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj);
1343 private static efl_pack_index_get_delegate efl_pack_index_get_static_delegate;
1345 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
1346 private delegate Efl.Gfx.IEntity efl_pack_unpack_at_delegate(System.IntPtr obj, System.IntPtr pd, int index);
1348 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
1349 public delegate Efl.Gfx.IEntity efl_pack_unpack_at_api_delegate(System.IntPtr obj, int index);
1351 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");
1353 private static Efl.Gfx.IEntity pack_unpack_at(System.IntPtr obj, System.IntPtr pd, int index)
1355 Eina.Log.Debug("function efl_pack_unpack_at was called");
1356 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1359 Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
1362 _ret_var = ((Box)ws.Target).PackUnpackAt(index);
1366 Eina.Log.Warning($"Callback error: {e.ToString()}");
1367 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1375 return efl_pack_unpack_at_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), index);
1379 private static efl_pack_unpack_at_delegate efl_pack_unpack_at_static_delegate;
1382 private delegate void efl_gfx_arrangement_content_align_get_delegate(System.IntPtr obj, System.IntPtr pd, out double align_horiz, out double align_vert);
1385 public delegate void efl_gfx_arrangement_content_align_get_api_delegate(System.IntPtr obj, out double align_horiz, out double align_vert);
1387 public static Efl.Eo.FunctionWrapper<efl_gfx_arrangement_content_align_get_api_delegate> efl_gfx_arrangement_content_align_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_arrangement_content_align_get_api_delegate>(Module, "efl_gfx_arrangement_content_align_get");
1389 private static void content_align_get(System.IntPtr obj, System.IntPtr pd, out double align_horiz, out double align_vert)
1391 Eina.Log.Debug("function efl_gfx_arrangement_content_align_get was called");
1392 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1395 align_horiz = default(double); align_vert = default(double);
1398 ((Box)ws.Target).GetContentAlign(out align_horiz, out align_vert);
1402 Eina.Log.Warning($"Callback error: {e.ToString()}");
1403 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1410 efl_gfx_arrangement_content_align_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out align_horiz, out align_vert);
1414 private static efl_gfx_arrangement_content_align_get_delegate efl_gfx_arrangement_content_align_get_static_delegate;
1417 private delegate void efl_gfx_arrangement_content_align_set_delegate(System.IntPtr obj, System.IntPtr pd, double align_horiz, double align_vert);
1420 public delegate void efl_gfx_arrangement_content_align_set_api_delegate(System.IntPtr obj, double align_horiz, double align_vert);
1422 public static Efl.Eo.FunctionWrapper<efl_gfx_arrangement_content_align_set_api_delegate> efl_gfx_arrangement_content_align_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_arrangement_content_align_set_api_delegate>(Module, "efl_gfx_arrangement_content_align_set");
1424 private static void content_align_set(System.IntPtr obj, System.IntPtr pd, double align_horiz, double align_vert)
1426 Eina.Log.Debug("function efl_gfx_arrangement_content_align_set was called");
1427 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1433 ((Box)ws.Target).SetContentAlign(align_horiz, align_vert);
1437 Eina.Log.Warning($"Callback error: {e.ToString()}");
1438 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1445 efl_gfx_arrangement_content_align_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), align_horiz, align_vert);
1449 private static efl_gfx_arrangement_content_align_set_delegate efl_gfx_arrangement_content_align_set_static_delegate;
1452 private delegate void efl_gfx_arrangement_content_padding_get_delegate(System.IntPtr obj, System.IntPtr pd, out double pad_horiz, out double pad_vert, [MarshalAs(UnmanagedType.U1)] out bool scalable);
1455 public delegate void efl_gfx_arrangement_content_padding_get_api_delegate(System.IntPtr obj, out double pad_horiz, out double pad_vert, [MarshalAs(UnmanagedType.U1)] out bool scalable);
1457 public static Efl.Eo.FunctionWrapper<efl_gfx_arrangement_content_padding_get_api_delegate> efl_gfx_arrangement_content_padding_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_arrangement_content_padding_get_api_delegate>(Module, "efl_gfx_arrangement_content_padding_get");
1459 private static void content_padding_get(System.IntPtr obj, System.IntPtr pd, out double pad_horiz, out double pad_vert, out bool scalable)
1461 Eina.Log.Debug("function efl_gfx_arrangement_content_padding_get was called");
1462 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1465 pad_horiz = default(double); pad_vert = default(double); scalable = default(bool);
1468 ((Box)ws.Target).GetContentPadding(out pad_horiz, out pad_vert, out scalable);
1472 Eina.Log.Warning($"Callback error: {e.ToString()}");
1473 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1480 efl_gfx_arrangement_content_padding_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out pad_horiz, out pad_vert, out scalable);
1484 private static efl_gfx_arrangement_content_padding_get_delegate efl_gfx_arrangement_content_padding_get_static_delegate;
1487 private delegate void efl_gfx_arrangement_content_padding_set_delegate(System.IntPtr obj, System.IntPtr pd, double pad_horiz, double pad_vert, [MarshalAs(UnmanagedType.U1)] bool scalable);
1490 public delegate void efl_gfx_arrangement_content_padding_set_api_delegate(System.IntPtr obj, double pad_horiz, double pad_vert, [MarshalAs(UnmanagedType.U1)] bool scalable);
1492 public static Efl.Eo.FunctionWrapper<efl_gfx_arrangement_content_padding_set_api_delegate> efl_gfx_arrangement_content_padding_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_arrangement_content_padding_set_api_delegate>(Module, "efl_gfx_arrangement_content_padding_set");
1494 private static void content_padding_set(System.IntPtr obj, System.IntPtr pd, double pad_horiz, double pad_vert, bool scalable)
1496 Eina.Log.Debug("function efl_gfx_arrangement_content_padding_set was called");
1497 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1503 ((Box)ws.Target).SetContentPadding(pad_horiz, pad_vert, scalable);
1507 Eina.Log.Warning($"Callback error: {e.ToString()}");
1508 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1515 efl_gfx_arrangement_content_padding_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), pad_horiz, pad_vert, scalable);
1519 private static efl_gfx_arrangement_content_padding_set_delegate efl_gfx_arrangement_content_padding_set_static_delegate;
1522 private delegate Efl.Ui.LayoutOrientation efl_ui_layout_orientation_get_delegate(System.IntPtr obj, System.IntPtr pd);
1525 public delegate Efl.Ui.LayoutOrientation efl_ui_layout_orientation_get_api_delegate(System.IntPtr obj);
1527 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");
1529 private static Efl.Ui.LayoutOrientation orientation_get(System.IntPtr obj, System.IntPtr pd)
1531 Eina.Log.Debug("function efl_ui_layout_orientation_get was called");
1532 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1535 Efl.Ui.LayoutOrientation _ret_var = default(Efl.Ui.LayoutOrientation);
1538 _ret_var = ((Box)ws.Target).GetOrientation();
1542 Eina.Log.Warning($"Callback error: {e.ToString()}");
1543 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1551 return efl_ui_layout_orientation_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1555 private static efl_ui_layout_orientation_get_delegate efl_ui_layout_orientation_get_static_delegate;
1558 private delegate void efl_ui_layout_orientation_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.LayoutOrientation dir);
1561 public delegate void efl_ui_layout_orientation_set_api_delegate(System.IntPtr obj, Efl.Ui.LayoutOrientation dir);
1563 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");
1565 private static void orientation_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.LayoutOrientation dir)
1567 Eina.Log.Debug("function efl_ui_layout_orientation_set was called");
1568 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1574 ((Box)ws.Target).SetOrientation(dir);
1578 Eina.Log.Warning($"Callback error: {e.ToString()}");
1579 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1586 efl_ui_layout_orientation_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), dir);
1590 private static efl_ui_layout_orientation_set_delegate efl_ui_layout_orientation_set_static_delegate;
1592 #pragma warning restore CA1707, CS1591, SA1300, SA1600