2 #pragma warning disable CS1591
4 using System.Runtime.InteropServices;
5 using System.Collections.Generic;
7 using System.Threading;
8 using System.ComponentModel;
13 /// <summary>A container that arranges children widgets in a vertical or horizontal fashion.
14 /// 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.
16 /// 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.
18 /// 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.
20 /// A horizontal Box container example would be the button toolbar at the top of most word processing programs.
22 /// 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>
23 [Efl.Ui.Box.NativeMethods]
24 [Efl.Eo.BindingEntity]
25 public class Box : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPackLayout, Efl.IPackLinear, Efl.Gfx.IArrangement, Efl.Ui.ILayoutOrientable
27 /// <summary>Pointer to the native class description.</summary>
28 public override System.IntPtr NativeClass
32 if (((object)this).GetType() == typeof(Box))
34 return GetEflClassStatic();
38 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
43 [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
44 efl_ui_box_class_get();
45 /// <summary>Initializes a new instance of the <see cref="Box"/> class.</summary>
46 /// <param name="parent">Parent instance.</param>
47 /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
48 public Box(Efl.Object parent
49 , System.String style = null) : base(efl_ui_box_class_get(), parent)
51 if (Efl.Eo.Globals.ParamHelperCheck(style))
53 SetStyle(Efl.Eo.Globals.GetParamHelper(style));
56 FinishInstantiation();
59 /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
60 /// Do not call this constructor directly.</summary>
61 /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
62 protected Box(ConstructingHandle ch) : base(ch)
66 /// <summary>Initializes a new instance of the <see cref="Box"/> class.
67 /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
68 /// <param name="wh">The native pointer to be wrapped.</param>
69 protected Box(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
73 /// <summary>Initializes a new instance of the <see cref="Box"/> class.
74 /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
75 /// <param name="baseKlass">The pointer to the base native Eo class.</param>
76 /// <param name="parent">The Efl.Object parent of this instance.</param>
77 protected Box(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
81 /// <summary>Sent after a new sub-object was added.
82 /// (Since EFL 1.22)</summary>
83 /// <value><see cref="Efl.IContainerContentAddedEvt_Args"/></value>
84 public event EventHandler<Efl.IContainerContentAddedEvt_Args> ContentAddedEvt
88 lock (eflBindingEventLock)
90 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
92 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
95 Efl.IContainerContentAddedEvt_Args args = new Efl.IContainerContentAddedEvt_Args();
96 args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Gfx.IEntityConcrete);
99 value?.Invoke(obj, args);
103 Eina.Log.Error(e.ToString());
104 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
109 string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED";
110 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
116 lock (eflBindingEventLock)
118 string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED";
119 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
123 /// <summary>Method to raise event ContentAddedEvt.</summary>
124 public void OnContentAddedEvt(Efl.IContainerContentAddedEvt_Args e)
126 var key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED";
127 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
128 if (desc == IntPtr.Zero)
130 Eina.Log.Error($"Failed to get native event {key}");
134 IntPtr info = e.arg.NativeHandle;
135 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
137 /// <summary>Sent after a sub-object was removed, before unref.
138 /// (Since EFL 1.22)</summary>
139 /// <value><see cref="Efl.IContainerContentRemovedEvt_Args"/></value>
140 public event EventHandler<Efl.IContainerContentRemovedEvt_Args> ContentRemovedEvt
144 lock (eflBindingEventLock)
146 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
148 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
151 Efl.IContainerContentRemovedEvt_Args args = new Efl.IContainerContentRemovedEvt_Args();
152 args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Gfx.IEntityConcrete);
155 value?.Invoke(obj, args);
159 Eina.Log.Error(e.ToString());
160 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
165 string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED";
166 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
172 lock (eflBindingEventLock)
174 string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED";
175 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
179 /// <summary>Method to raise event ContentRemovedEvt.</summary>
180 public void OnContentRemovedEvt(Efl.IContainerContentRemovedEvt_Args e)
182 var key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED";
183 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
184 if (desc == IntPtr.Zero)
186 Eina.Log.Error($"Failed to get native event {key}");
190 IntPtr info = e.arg.NativeHandle;
191 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
193 /// <summary>Sent after the layout was updated.</summary>
194 public event EventHandler LayoutUpdatedEvt
198 lock (eflBindingEventLock)
200 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
202 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
205 EventArgs args = EventArgs.Empty;
208 value?.Invoke(obj, args);
212 Eina.Log.Error(e.ToString());
213 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
218 string key = "_EFL_PACK_EVENT_LAYOUT_UPDATED";
219 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
225 lock (eflBindingEventLock)
227 string key = "_EFL_PACK_EVENT_LAYOUT_UPDATED";
228 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
232 /// <summary>Method to raise event LayoutUpdatedEvt.</summary>
233 public void OnLayoutUpdatedEvt(EventArgs e)
235 var key = "_EFL_PACK_EVENT_LAYOUT_UPDATED";
236 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
237 if (desc == IntPtr.Zero)
239 Eina.Log.Error($"Failed to get native event {key}");
243 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
245 /// <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>
246 /// <returns><c>true</c> if the Box is homogeneous, <c>false</c> otherwise.</returns>
247 virtual public bool GetHomogeneous() {
248 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)));
249 Eina.Error.RaiseIfUnhandledException();
252 /// <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>
253 /// <param name="homogeneous"><c>true</c> if the Box is homogeneous, <c>false</c> otherwise.</param>
254 virtual public void SetHomogeneous(bool homogeneous) {
255 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);
256 Eina.Error.RaiseIfUnhandledException();
258 /// <summary>Begin iterating over this object's contents.
259 /// (Since EFL 1.22)</summary>
260 /// <returns>Iterator on object's content.</returns>
261 virtual public Eina.Iterator<Efl.Gfx.IEntity> ContentIterate() {
262 var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_iterate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
263 Eina.Error.RaiseIfUnhandledException();
264 return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true);
266 /// <summary>Returns the number of contained sub-objects.
267 /// (Since EFL 1.22)</summary>
268 /// <returns>Number of sub-objects.</returns>
269 virtual public int ContentCount() {
270 var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_count_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
271 Eina.Error.RaiseIfUnhandledException();
274 /// <summary>Removes all packed sub-objects and unreferences them.</summary>
275 /// <returns><c>true</c> on success, <c>false</c> otherwise.</returns>
276 virtual public bool ClearPack() {
277 var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_clear_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
278 Eina.Error.RaiseIfUnhandledException();
281 /// <summary>Removes all packed sub-objects without unreferencing them.
282 /// Use with caution.</summary>
283 /// <returns><c>true</c> on success, <c>false</c> otherwise.</returns>
284 virtual public bool UnpackAll() {
285 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)));
286 Eina.Error.RaiseIfUnhandledException();
289 /// <summary>Removes an existing sub-object from the container without deleting it.</summary>
290 /// <param name="subobj">The sub-object to unpack.</param>
291 /// <returns><c>false</c> if <c>subobj</c> wasn't in the container or couldn't be removed.</returns>
292 virtual public bool Unpack(Efl.Gfx.IEntity subobj) {
293 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);
294 Eina.Error.RaiseIfUnhandledException();
297 /// <summary>Adds a sub-object to this container.
298 /// 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.
300 /// 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>
301 /// <param name="subobj">The object to pack.</param>
302 /// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
303 virtual public bool Pack(Efl.Gfx.IEntity subobj) {
304 var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
305 Eina.Error.RaiseIfUnhandledException();
308 /// <summary>Requests EFL to call the <see cref="Efl.IPackLayout.UpdateLayout"/> method on this object.
309 /// This <see cref="Efl.IPackLayout.UpdateLayout"/> may be called asynchronously.</summary>
310 virtual public void LayoutRequest() {
311 Efl.IPackLayoutConcrete.NativeMethods.efl_pack_layout_request_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
312 Eina.Error.RaiseIfUnhandledException();
314 /// <summary>Implementation of this container's layout algorithm.
315 /// EFL will call this function whenever the contents of this container need to be re-laid out on the canvas.
317 /// This can be overriden to implement custom layout behaviors.</summary>
318 virtual public void UpdateLayout() {
319 Efl.IPackLayoutConcrete.NativeMethods.efl_pack_layout_update_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
320 Eina.Error.RaiseIfUnhandledException();
322 /// <summary>Prepend an object at the beginning of this container.
323 /// This is the same as <see cref="Efl.IPackLinear.PackAt"/>(<c>subobj</c>, 0).
325 /// 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>
326 /// <param name="subobj">Object to pack at the beginning.</param>
327 /// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
328 virtual public bool PackBegin(Efl.Gfx.IEntity subobj) {
329 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);
330 Eina.Error.RaiseIfUnhandledException();
333 /// <summary>Append object at the end of this container.
334 /// This is the same as <see cref="Efl.IPackLinear.PackAt"/>(<c>subobj</c>, -1).
336 /// 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>
337 /// <param name="subobj">Object to pack at the end.</param>
338 /// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
339 virtual public bool PackEnd(Efl.Gfx.IEntity subobj) {
340 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);
341 Eina.Error.RaiseIfUnhandledException();
344 /// <summary>Prepend an object before an existing sub-object.
345 /// 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>
346 /// <param name="subobj">Object to pack before <c>existing</c>.</param>
347 /// <param name="existing">Existing reference sub-object.</param>
348 /// <returns><c>false</c> if <c>existing</c> could not be found or <c>subobj</c> could not be packed.</returns>
349 virtual public bool PackBefore(Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing) {
350 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);
351 Eina.Error.RaiseIfUnhandledException();
354 /// <summary>Append an object after an existing sub-object.
355 /// 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>
356 /// <param name="subobj">Object to pack after <c>existing</c>.</param>
357 /// <param name="existing">Existing reference sub-object.</param>
358 /// <returns><c>false</c> if <c>existing</c> could not be found or <c>subobj</c> could not be packed.</returns>
359 virtual public bool PackAfter(Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing) {
360 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);
361 Eina.Error.RaiseIfUnhandledException();
364 /// <summary>Inserts <c>subobj</c> BEFORE the sub-object at position <c>index</c>.
365 /// <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"/>.
367 /// 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>).
369 /// 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>
370 /// <param name="subobj">Object to pack.</param>
371 /// <param name="index">Index of existing sub-object to insert BEFORE. Valid range is -<c>count</c> to (<c>count</c>-1).</param>
372 /// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
373 virtual public bool PackAt(Efl.Gfx.IEntity subobj, int index) {
374 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);
375 Eina.Error.RaiseIfUnhandledException();
378 /// <summary>Sub-object at a given <c>index</c> in this container.
379 /// <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"/>.
381 /// 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>
382 /// <param name="index">Index of the existing sub-object to retrieve. Valid range is -<c>count</c> to (<c>count</c>-1).</param>
383 /// <returns>The sub-object contained at the given <c>index</c>.</returns>
384 virtual public Efl.Gfx.IEntity GetPackContent(int index) {
385 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);
386 Eina.Error.RaiseIfUnhandledException();
389 /// <summary>Get the index of a sub-object in this container.</summary>
390 /// <param name="subobj">An existing sub-object in this container.</param>
391 /// <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>
392 virtual public int GetPackIndex(Efl.Gfx.IEntity subobj) {
393 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);
394 Eina.Error.RaiseIfUnhandledException();
397 /// <summary>Pop out (remove) the sub-object at the specified <c>index</c>.
398 /// <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"/>.
400 /// 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>
401 /// <param name="index">Index of the sub-object to remove. Valid range is -<c>count</c> to (<c>count</c>-1).</param>
402 /// <returns>The sub-object if it could be removed.</returns>
403 virtual public Efl.Gfx.IEntity PackUnpackAt(int index) {
404 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);
405 Eina.Error.RaiseIfUnhandledException();
408 /// <summary>Alignment of the container within its bounds</summary>
409 /// <param name="align_horiz">Horizontal alignment</param>
410 /// <param name="align_vert">Vertical alignment</param>
411 virtual public void GetContentAlign(out double align_horiz, out double align_vert) {
412 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);
413 Eina.Error.RaiseIfUnhandledException();
415 /// <summary>Alignment of the container within its bounds</summary>
416 /// <param name="align_horiz">Horizontal alignment</param>
417 /// <param name="align_vert">Vertical alignment</param>
418 virtual public void SetContentAlign(double align_horiz, double align_vert) {
419 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);
420 Eina.Error.RaiseIfUnhandledException();
422 /// <summary>Padding between items contained in this object.</summary>
423 /// <param name="pad_horiz">Horizontal padding</param>
424 /// <param name="pad_vert">Vertical padding</param>
425 /// <param name="scalable"><c>true</c> if scalable, <c>false</c> otherwise</param>
426 virtual public void GetContentPadding(out double pad_horiz, out double pad_vert, out bool scalable) {
427 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);
428 Eina.Error.RaiseIfUnhandledException();
430 /// <summary>Padding between items contained in this object.</summary>
431 /// <param name="pad_horiz">Horizontal padding</param>
432 /// <param name="pad_vert">Vertical padding</param>
433 /// <param name="scalable"><c>true</c> if scalable, <c>false</c> otherwise</param>
434 virtual public void SetContentPadding(double pad_horiz, double pad_vert, bool scalable) {
435 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);
436 Eina.Error.RaiseIfUnhandledException();
438 /// <summary>Control the direction of a given widget.
439 /// Use this function to change how your widget is to be disposed: vertically or horizontally or inverted vertically or inverted horizontally.
441 /// 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>
442 /// <returns>Direction of the widget.</returns>
443 virtual public Efl.Ui.LayoutOrientation GetOrientation() {
444 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)));
445 Eina.Error.RaiseIfUnhandledException();
448 /// <summary>Control the direction of a given widget.
449 /// Use this function to change how your widget is to be disposed: vertically or horizontally or inverted vertically or inverted horizontally.
451 /// 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>
452 /// <param name="dir">Direction of the widget.</param>
453 virtual public void SetOrientation(Efl.Ui.LayoutOrientation dir) {
454 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);
455 Eina.Error.RaiseIfUnhandledException();
457 /// <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>
458 /// <value><c>true</c> if the Box is homogeneous, <c>false</c> otherwise.</value>
459 public bool Homogeneous {
460 get { return GetHomogeneous(); }
461 set { SetHomogeneous(value); }
463 /// <summary>Alignment of the container within its bounds</summary>
464 /// <value>Horizontal alignment</value>
465 public (double, double) ContentAlign {
467 double _out_align_horiz = default(double);
468 double _out_align_vert = default(double);
469 GetContentAlign(out _out_align_horiz,out _out_align_vert);
470 return (_out_align_horiz,_out_align_vert);
472 set { SetContentAlign( value.Item1, value.Item2); }
474 /// <summary>Padding between items contained in this object.</summary>
475 /// <value>Horizontal padding</value>
476 public (double, double, bool) ContentPadding {
478 double _out_pad_horiz = default(double);
479 double _out_pad_vert = default(double);
480 bool _out_scalable = default(bool);
481 GetContentPadding(out _out_pad_horiz,out _out_pad_vert,out _out_scalable);
482 return (_out_pad_horiz,_out_pad_vert,_out_scalable);
484 set { SetContentPadding( value.Item1, value.Item2, value.Item3); }
486 /// <summary>Control the direction of a given widget.
487 /// Use this function to change how your widget is to be disposed: vertically or horizontally or inverted vertically or inverted horizontally.
489 /// 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>
490 /// <value>Direction of the widget.</value>
491 public Efl.Ui.LayoutOrientation Orientation {
492 get { return GetOrientation(); }
493 set { SetOrientation(value); }
495 private static IntPtr GetEflClassStatic()
497 return Efl.Ui.Box.efl_ui_box_class_get();
499 /// <summary>Wrapper for native methods and virtual method delegates.
500 /// For internal use by generated code only.</summary>
501 public new class NativeMethods : Efl.Ui.Widget.NativeMethods
503 private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
504 /// <summary>Gets the list of Eo operations to override.</summary>
505 /// <returns>The list of Eo operations to be overload.</returns>
506 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
508 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
509 var methods = Efl.Eo.Globals.GetUserMethods(type);
511 if (efl_ui_box_homogeneous_get_static_delegate == null)
513 efl_ui_box_homogeneous_get_static_delegate = new efl_ui_box_homogeneous_get_delegate(homogeneous_get);
516 if (methods.FirstOrDefault(m => m.Name == "GetHomogeneous") != null)
518 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) });
521 if (efl_ui_box_homogeneous_set_static_delegate == null)
523 efl_ui_box_homogeneous_set_static_delegate = new efl_ui_box_homogeneous_set_delegate(homogeneous_set);
526 if (methods.FirstOrDefault(m => m.Name == "SetHomogeneous") != null)
528 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) });
531 if (efl_content_iterate_static_delegate == null)
533 efl_content_iterate_static_delegate = new efl_content_iterate_delegate(content_iterate);
536 if (methods.FirstOrDefault(m => m.Name == "ContentIterate") != null)
538 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) });
541 if (efl_content_count_static_delegate == null)
543 efl_content_count_static_delegate = new efl_content_count_delegate(content_count);
546 if (methods.FirstOrDefault(m => m.Name == "ContentCount") != null)
548 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) });
551 if (efl_pack_clear_static_delegate == null)
553 efl_pack_clear_static_delegate = new efl_pack_clear_delegate(pack_clear);
556 if (methods.FirstOrDefault(m => m.Name == "ClearPack") != null)
558 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) });
561 if (efl_pack_unpack_all_static_delegate == null)
563 efl_pack_unpack_all_static_delegate = new efl_pack_unpack_all_delegate(unpack_all);
566 if (methods.FirstOrDefault(m => m.Name == "UnpackAll") != null)
568 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) });
571 if (efl_pack_unpack_static_delegate == null)
573 efl_pack_unpack_static_delegate = new efl_pack_unpack_delegate(unpack);
576 if (methods.FirstOrDefault(m => m.Name == "Unpack") != null)
578 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) });
581 if (efl_pack_static_delegate == null)
583 efl_pack_static_delegate = new efl_pack_delegate(pack);
586 if (methods.FirstOrDefault(m => m.Name == "Pack") != null)
588 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_static_delegate) });
591 if (efl_pack_layout_request_static_delegate == null)
593 efl_pack_layout_request_static_delegate = new efl_pack_layout_request_delegate(layout_request);
596 if (methods.FirstOrDefault(m => m.Name == "LayoutRequest") != null)
598 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) });
601 if (efl_pack_layout_update_static_delegate == null)
603 efl_pack_layout_update_static_delegate = new efl_pack_layout_update_delegate(layout_update);
606 if (methods.FirstOrDefault(m => m.Name == "UpdateLayout") != null)
608 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) });
611 if (efl_pack_begin_static_delegate == null)
613 efl_pack_begin_static_delegate = new efl_pack_begin_delegate(pack_begin);
616 if (methods.FirstOrDefault(m => m.Name == "PackBegin") != null)
618 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) });
621 if (efl_pack_end_static_delegate == null)
623 efl_pack_end_static_delegate = new efl_pack_end_delegate(pack_end);
626 if (methods.FirstOrDefault(m => m.Name == "PackEnd") != null)
628 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) });
631 if (efl_pack_before_static_delegate == null)
633 efl_pack_before_static_delegate = new efl_pack_before_delegate(pack_before);
636 if (methods.FirstOrDefault(m => m.Name == "PackBefore") != null)
638 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) });
641 if (efl_pack_after_static_delegate == null)
643 efl_pack_after_static_delegate = new efl_pack_after_delegate(pack_after);
646 if (methods.FirstOrDefault(m => m.Name == "PackAfter") != null)
648 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) });
651 if (efl_pack_at_static_delegate == null)
653 efl_pack_at_static_delegate = new efl_pack_at_delegate(pack_at);
656 if (methods.FirstOrDefault(m => m.Name == "PackAt") != null)
658 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) });
661 if (efl_pack_content_get_static_delegate == null)
663 efl_pack_content_get_static_delegate = new efl_pack_content_get_delegate(pack_content_get);
666 if (methods.FirstOrDefault(m => m.Name == "GetPackContent") != null)
668 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) });
671 if (efl_pack_index_get_static_delegate == null)
673 efl_pack_index_get_static_delegate = new efl_pack_index_get_delegate(pack_index_get);
676 if (methods.FirstOrDefault(m => m.Name == "GetPackIndex") != null)
678 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) });
681 if (efl_pack_unpack_at_static_delegate == null)
683 efl_pack_unpack_at_static_delegate = new efl_pack_unpack_at_delegate(pack_unpack_at);
686 if (methods.FirstOrDefault(m => m.Name == "PackUnpackAt") != null)
688 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) });
691 if (efl_gfx_arrangement_content_align_get_static_delegate == null)
693 efl_gfx_arrangement_content_align_get_static_delegate = new efl_gfx_arrangement_content_align_get_delegate(content_align_get);
696 if (methods.FirstOrDefault(m => m.Name == "GetContentAlign") != null)
698 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) });
701 if (efl_gfx_arrangement_content_align_set_static_delegate == null)
703 efl_gfx_arrangement_content_align_set_static_delegate = new efl_gfx_arrangement_content_align_set_delegate(content_align_set);
706 if (methods.FirstOrDefault(m => m.Name == "SetContentAlign") != null)
708 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) });
711 if (efl_gfx_arrangement_content_padding_get_static_delegate == null)
713 efl_gfx_arrangement_content_padding_get_static_delegate = new efl_gfx_arrangement_content_padding_get_delegate(content_padding_get);
716 if (methods.FirstOrDefault(m => m.Name == "GetContentPadding") != null)
718 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) });
721 if (efl_gfx_arrangement_content_padding_set_static_delegate == null)
723 efl_gfx_arrangement_content_padding_set_static_delegate = new efl_gfx_arrangement_content_padding_set_delegate(content_padding_set);
726 if (methods.FirstOrDefault(m => m.Name == "SetContentPadding") != null)
728 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) });
731 if (efl_ui_layout_orientation_get_static_delegate == null)
733 efl_ui_layout_orientation_get_static_delegate = new efl_ui_layout_orientation_get_delegate(orientation_get);
736 if (methods.FirstOrDefault(m => m.Name == "GetOrientation") != null)
738 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) });
741 if (efl_ui_layout_orientation_set_static_delegate == null)
743 efl_ui_layout_orientation_set_static_delegate = new efl_ui_layout_orientation_set_delegate(orientation_set);
746 if (methods.FirstOrDefault(m => m.Name == "SetOrientation") != null)
748 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) });
751 descs.AddRange(base.GetEoOps(type));
754 /// <summary>Returns the Eo class for the native methods of this class.</summary>
755 /// <returns>The native class pointer.</returns>
756 public override IntPtr GetEflClass()
758 return Efl.Ui.Box.efl_ui_box_class_get();
761 #pragma warning disable CA1707, CS1591, SA1300, SA1600
763 [return: MarshalAs(UnmanagedType.U1)]
764 private delegate bool efl_ui_box_homogeneous_get_delegate(System.IntPtr obj, System.IntPtr pd);
766 [return: MarshalAs(UnmanagedType.U1)]
767 public delegate bool efl_ui_box_homogeneous_get_api_delegate(System.IntPtr obj);
769 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");
771 private static bool homogeneous_get(System.IntPtr obj, System.IntPtr pd)
773 Eina.Log.Debug("function efl_ui_box_homogeneous_get was called");
774 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
777 bool _ret_var = default(bool);
780 _ret_var = ((Box)ws.Target).GetHomogeneous();
784 Eina.Log.Warning($"Callback error: {e.ToString()}");
785 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
793 return efl_ui_box_homogeneous_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
797 private static efl_ui_box_homogeneous_get_delegate efl_ui_box_homogeneous_get_static_delegate;
800 private delegate void efl_ui_box_homogeneous_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool homogeneous);
803 public delegate void efl_ui_box_homogeneous_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool homogeneous);
805 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");
807 private static void homogeneous_set(System.IntPtr obj, System.IntPtr pd, bool homogeneous)
809 Eina.Log.Debug("function efl_ui_box_homogeneous_set was called");
810 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
816 ((Box)ws.Target).SetHomogeneous(homogeneous);
820 Eina.Log.Warning($"Callback error: {e.ToString()}");
821 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
828 efl_ui_box_homogeneous_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), homogeneous);
832 private static efl_ui_box_homogeneous_set_delegate efl_ui_box_homogeneous_set_static_delegate;
835 private delegate System.IntPtr efl_content_iterate_delegate(System.IntPtr obj, System.IntPtr pd);
838 public delegate System.IntPtr efl_content_iterate_api_delegate(System.IntPtr obj);
840 public static Efl.Eo.FunctionWrapper<efl_content_iterate_api_delegate> efl_content_iterate_ptr = new Efl.Eo.FunctionWrapper<efl_content_iterate_api_delegate>(Module, "efl_content_iterate");
842 private static System.IntPtr content_iterate(System.IntPtr obj, System.IntPtr pd)
844 Eina.Log.Debug("function efl_content_iterate was called");
845 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
848 Eina.Iterator<Efl.Gfx.IEntity> _ret_var = default(Eina.Iterator<Efl.Gfx.IEntity>);
851 _ret_var = ((Box)ws.Target).ContentIterate();
855 Eina.Log.Warning($"Callback error: {e.ToString()}");
856 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
859 _ret_var.Own = false; return _ret_var.Handle;
864 return efl_content_iterate_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
868 private static efl_content_iterate_delegate efl_content_iterate_static_delegate;
871 private delegate int efl_content_count_delegate(System.IntPtr obj, System.IntPtr pd);
874 public delegate int efl_content_count_api_delegate(System.IntPtr obj);
876 public static Efl.Eo.FunctionWrapper<efl_content_count_api_delegate> efl_content_count_ptr = new Efl.Eo.FunctionWrapper<efl_content_count_api_delegate>(Module, "efl_content_count");
878 private static int content_count(System.IntPtr obj, System.IntPtr pd)
880 Eina.Log.Debug("function efl_content_count was called");
881 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
884 int _ret_var = default(int);
887 _ret_var = ((Box)ws.Target).ContentCount();
891 Eina.Log.Warning($"Callback error: {e.ToString()}");
892 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
900 return efl_content_count_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
904 private static efl_content_count_delegate efl_content_count_static_delegate;
906 [return: MarshalAs(UnmanagedType.U1)]
907 private delegate bool efl_pack_clear_delegate(System.IntPtr obj, System.IntPtr pd);
909 [return: MarshalAs(UnmanagedType.U1)]
910 public delegate bool efl_pack_clear_api_delegate(System.IntPtr obj);
912 public static Efl.Eo.FunctionWrapper<efl_pack_clear_api_delegate> efl_pack_clear_ptr = new Efl.Eo.FunctionWrapper<efl_pack_clear_api_delegate>(Module, "efl_pack_clear");
914 private static bool pack_clear(System.IntPtr obj, System.IntPtr pd)
916 Eina.Log.Debug("function efl_pack_clear was called");
917 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
920 bool _ret_var = default(bool);
923 _ret_var = ((Box)ws.Target).ClearPack();
927 Eina.Log.Warning($"Callback error: {e.ToString()}");
928 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
936 return efl_pack_clear_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
940 private static efl_pack_clear_delegate efl_pack_clear_static_delegate;
942 [return: MarshalAs(UnmanagedType.U1)]
943 private delegate bool efl_pack_unpack_all_delegate(System.IntPtr obj, System.IntPtr pd);
945 [return: MarshalAs(UnmanagedType.U1)]
946 public delegate bool efl_pack_unpack_all_api_delegate(System.IntPtr obj);
948 public static Efl.Eo.FunctionWrapper<efl_pack_unpack_all_api_delegate> efl_pack_unpack_all_ptr = new Efl.Eo.FunctionWrapper<efl_pack_unpack_all_api_delegate>(Module, "efl_pack_unpack_all");
950 private static bool unpack_all(System.IntPtr obj, System.IntPtr pd)
952 Eina.Log.Debug("function efl_pack_unpack_all was called");
953 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
956 bool _ret_var = default(bool);
959 _ret_var = ((Box)ws.Target).UnpackAll();
963 Eina.Log.Warning($"Callback error: {e.ToString()}");
964 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
972 return efl_pack_unpack_all_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
976 private static efl_pack_unpack_all_delegate efl_pack_unpack_all_static_delegate;
978 [return: MarshalAs(UnmanagedType.U1)]
979 private delegate bool efl_pack_unpack_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
981 [return: MarshalAs(UnmanagedType.U1)]
982 public delegate bool efl_pack_unpack_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
984 public static Efl.Eo.FunctionWrapper<efl_pack_unpack_api_delegate> efl_pack_unpack_ptr = new Efl.Eo.FunctionWrapper<efl_pack_unpack_api_delegate>(Module, "efl_pack_unpack");
986 private static bool unpack(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj)
988 Eina.Log.Debug("function efl_pack_unpack was called");
989 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
992 bool _ret_var = default(bool);
995 _ret_var = ((Box)ws.Target).Unpack(subobj);
999 Eina.Log.Warning($"Callback error: {e.ToString()}");
1000 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1008 return efl_pack_unpack_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj);
1012 private static efl_pack_unpack_delegate efl_pack_unpack_static_delegate;
1014 [return: MarshalAs(UnmanagedType.U1)]
1015 private delegate bool efl_pack_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
1017 [return: MarshalAs(UnmanagedType.U1)]
1018 public delegate bool efl_pack_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
1020 public static Efl.Eo.FunctionWrapper<efl_pack_api_delegate> efl_pack_ptr = new Efl.Eo.FunctionWrapper<efl_pack_api_delegate>(Module, "efl_pack");
1022 private static bool pack(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj)
1024 Eina.Log.Debug("function efl_pack was called");
1025 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1028 bool _ret_var = default(bool);
1031 _ret_var = ((Box)ws.Target).Pack(subobj);
1035 Eina.Log.Warning($"Callback error: {e.ToString()}");
1036 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1044 return efl_pack_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj);
1048 private static efl_pack_delegate efl_pack_static_delegate;
1051 private delegate void efl_pack_layout_request_delegate(System.IntPtr obj, System.IntPtr pd);
1054 public delegate void efl_pack_layout_request_api_delegate(System.IntPtr obj);
1056 public static Efl.Eo.FunctionWrapper<efl_pack_layout_request_api_delegate> efl_pack_layout_request_ptr = new Efl.Eo.FunctionWrapper<efl_pack_layout_request_api_delegate>(Module, "efl_pack_layout_request");
1058 private static void layout_request(System.IntPtr obj, System.IntPtr pd)
1060 Eina.Log.Debug("function efl_pack_layout_request was called");
1061 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1067 ((Box)ws.Target).LayoutRequest();
1071 Eina.Log.Warning($"Callback error: {e.ToString()}");
1072 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1079 efl_pack_layout_request_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1083 private static efl_pack_layout_request_delegate efl_pack_layout_request_static_delegate;
1086 private delegate void efl_pack_layout_update_delegate(System.IntPtr obj, System.IntPtr pd);
1089 public delegate void efl_pack_layout_update_api_delegate(System.IntPtr obj);
1091 public static Efl.Eo.FunctionWrapper<efl_pack_layout_update_api_delegate> efl_pack_layout_update_ptr = new Efl.Eo.FunctionWrapper<efl_pack_layout_update_api_delegate>(Module, "efl_pack_layout_update");
1093 private static void layout_update(System.IntPtr obj, System.IntPtr pd)
1095 Eina.Log.Debug("function efl_pack_layout_update was called");
1096 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1102 ((Box)ws.Target).UpdateLayout();
1106 Eina.Log.Warning($"Callback error: {e.ToString()}");
1107 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1114 efl_pack_layout_update_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1118 private static efl_pack_layout_update_delegate efl_pack_layout_update_static_delegate;
1120 [return: MarshalAs(UnmanagedType.U1)]
1121 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);
1123 [return: MarshalAs(UnmanagedType.U1)]
1124 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);
1126 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");
1128 private static bool pack_begin(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj)
1130 Eina.Log.Debug("function efl_pack_begin was called");
1131 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1134 bool _ret_var = default(bool);
1137 _ret_var = ((Box)ws.Target).PackBegin(subobj);
1141 Eina.Log.Warning($"Callback error: {e.ToString()}");
1142 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1150 return efl_pack_begin_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj);
1154 private static efl_pack_begin_delegate efl_pack_begin_static_delegate;
1156 [return: MarshalAs(UnmanagedType.U1)]
1157 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);
1159 [return: MarshalAs(UnmanagedType.U1)]
1160 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);
1162 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");
1164 private static bool pack_end(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj)
1166 Eina.Log.Debug("function efl_pack_end was called");
1167 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1170 bool _ret_var = default(bool);
1173 _ret_var = ((Box)ws.Target).PackEnd(subobj);
1177 Eina.Log.Warning($"Callback error: {e.ToString()}");
1178 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1186 return efl_pack_end_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj);
1190 private static efl_pack_end_delegate efl_pack_end_static_delegate;
1192 [return: MarshalAs(UnmanagedType.U1)]
1193 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);
1195 [return: MarshalAs(UnmanagedType.U1)]
1196 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);
1198 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");
1200 private static bool pack_before(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing)
1202 Eina.Log.Debug("function efl_pack_before was called");
1203 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1206 bool _ret_var = default(bool);
1209 _ret_var = ((Box)ws.Target).PackBefore(subobj, existing);
1213 Eina.Log.Warning($"Callback error: {e.ToString()}");
1214 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1222 return efl_pack_before_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, existing);
1226 private static efl_pack_before_delegate efl_pack_before_static_delegate;
1228 [return: MarshalAs(UnmanagedType.U1)]
1229 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);
1231 [return: MarshalAs(UnmanagedType.U1)]
1232 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);
1234 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");
1236 private static bool pack_after(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing)
1238 Eina.Log.Debug("function efl_pack_after was called");
1239 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1242 bool _ret_var = default(bool);
1245 _ret_var = ((Box)ws.Target).PackAfter(subobj, existing);
1249 Eina.Log.Warning($"Callback error: {e.ToString()}");
1250 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1258 return efl_pack_after_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, existing);
1262 private static efl_pack_after_delegate efl_pack_after_static_delegate;
1264 [return: MarshalAs(UnmanagedType.U1)]
1265 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);
1267 [return: MarshalAs(UnmanagedType.U1)]
1268 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);
1270 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");
1272 private static bool pack_at(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, int index)
1274 Eina.Log.Debug("function efl_pack_at was called");
1275 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1278 bool _ret_var = default(bool);
1281 _ret_var = ((Box)ws.Target).PackAt(subobj, index);
1285 Eina.Log.Warning($"Callback error: {e.ToString()}");
1286 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1294 return efl_pack_at_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, index);
1298 private static efl_pack_at_delegate efl_pack_at_static_delegate;
1300 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
1301 private delegate Efl.Gfx.IEntity efl_pack_content_get_delegate(System.IntPtr obj, System.IntPtr pd, int index);
1303 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
1304 public delegate Efl.Gfx.IEntity efl_pack_content_get_api_delegate(System.IntPtr obj, int index);
1306 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");
1308 private static Efl.Gfx.IEntity pack_content_get(System.IntPtr obj, System.IntPtr pd, int index)
1310 Eina.Log.Debug("function efl_pack_content_get was called");
1311 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1314 Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
1317 _ret_var = ((Box)ws.Target).GetPackContent(index);
1321 Eina.Log.Warning($"Callback error: {e.ToString()}");
1322 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1330 return efl_pack_content_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), index);
1334 private static efl_pack_content_get_delegate efl_pack_content_get_static_delegate;
1337 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);
1340 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);
1342 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");
1344 private static int pack_index_get(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj)
1346 Eina.Log.Debug("function efl_pack_index_get was called");
1347 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1350 int _ret_var = default(int);
1353 _ret_var = ((Box)ws.Target).GetPackIndex(subobj);
1357 Eina.Log.Warning($"Callback error: {e.ToString()}");
1358 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1366 return efl_pack_index_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj);
1370 private static efl_pack_index_get_delegate efl_pack_index_get_static_delegate;
1372 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
1373 private delegate Efl.Gfx.IEntity efl_pack_unpack_at_delegate(System.IntPtr obj, System.IntPtr pd, int index);
1375 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
1376 public delegate Efl.Gfx.IEntity efl_pack_unpack_at_api_delegate(System.IntPtr obj, int index);
1378 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");
1380 private static Efl.Gfx.IEntity pack_unpack_at(System.IntPtr obj, System.IntPtr pd, int index)
1382 Eina.Log.Debug("function efl_pack_unpack_at was called");
1383 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1386 Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
1389 _ret_var = ((Box)ws.Target).PackUnpackAt(index);
1393 Eina.Log.Warning($"Callback error: {e.ToString()}");
1394 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1402 return efl_pack_unpack_at_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), index);
1406 private static efl_pack_unpack_at_delegate efl_pack_unpack_at_static_delegate;
1409 private delegate void efl_gfx_arrangement_content_align_get_delegate(System.IntPtr obj, System.IntPtr pd, out double align_horiz, out double align_vert);
1412 public delegate void efl_gfx_arrangement_content_align_get_api_delegate(System.IntPtr obj, out double align_horiz, out double align_vert);
1414 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");
1416 private static void content_align_get(System.IntPtr obj, System.IntPtr pd, out double align_horiz, out double align_vert)
1418 Eina.Log.Debug("function efl_gfx_arrangement_content_align_get was called");
1419 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1422 align_horiz = default(double); align_vert = default(double);
1425 ((Box)ws.Target).GetContentAlign(out align_horiz, out align_vert);
1429 Eina.Log.Warning($"Callback error: {e.ToString()}");
1430 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1437 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);
1441 private static efl_gfx_arrangement_content_align_get_delegate efl_gfx_arrangement_content_align_get_static_delegate;
1444 private delegate void efl_gfx_arrangement_content_align_set_delegate(System.IntPtr obj, System.IntPtr pd, double align_horiz, double align_vert);
1447 public delegate void efl_gfx_arrangement_content_align_set_api_delegate(System.IntPtr obj, double align_horiz, double align_vert);
1449 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");
1451 private static void content_align_set(System.IntPtr obj, System.IntPtr pd, double align_horiz, double align_vert)
1453 Eina.Log.Debug("function efl_gfx_arrangement_content_align_set was called");
1454 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1460 ((Box)ws.Target).SetContentAlign(align_horiz, align_vert);
1464 Eina.Log.Warning($"Callback error: {e.ToString()}");
1465 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1472 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);
1476 private static efl_gfx_arrangement_content_align_set_delegate efl_gfx_arrangement_content_align_set_static_delegate;
1479 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);
1482 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);
1484 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");
1486 private static void content_padding_get(System.IntPtr obj, System.IntPtr pd, out double pad_horiz, out double pad_vert, out bool scalable)
1488 Eina.Log.Debug("function efl_gfx_arrangement_content_padding_get was called");
1489 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1492 pad_horiz = default(double); pad_vert = default(double); scalable = default(bool);
1495 ((Box)ws.Target).GetContentPadding(out pad_horiz, out pad_vert, out scalable);
1499 Eina.Log.Warning($"Callback error: {e.ToString()}");
1500 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1507 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);
1511 private static efl_gfx_arrangement_content_padding_get_delegate efl_gfx_arrangement_content_padding_get_static_delegate;
1514 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);
1517 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);
1519 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");
1521 private static void content_padding_set(System.IntPtr obj, System.IntPtr pd, double pad_horiz, double pad_vert, bool scalable)
1523 Eina.Log.Debug("function efl_gfx_arrangement_content_padding_set was called");
1524 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1530 ((Box)ws.Target).SetContentPadding(pad_horiz, pad_vert, scalable);
1534 Eina.Log.Warning($"Callback error: {e.ToString()}");
1535 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1542 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);
1546 private static efl_gfx_arrangement_content_padding_set_delegate efl_gfx_arrangement_content_padding_set_static_delegate;
1549 private delegate Efl.Ui.LayoutOrientation efl_ui_layout_orientation_get_delegate(System.IntPtr obj, System.IntPtr pd);
1552 public delegate Efl.Ui.LayoutOrientation efl_ui_layout_orientation_get_api_delegate(System.IntPtr obj);
1554 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");
1556 private static Efl.Ui.LayoutOrientation orientation_get(System.IntPtr obj, System.IntPtr pd)
1558 Eina.Log.Debug("function efl_ui_layout_orientation_get was called");
1559 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1562 Efl.Ui.LayoutOrientation _ret_var = default(Efl.Ui.LayoutOrientation);
1565 _ret_var = ((Box)ws.Target).GetOrientation();
1569 Eina.Log.Warning($"Callback error: {e.ToString()}");
1570 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1578 return efl_ui_layout_orientation_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1582 private static efl_ui_layout_orientation_get_delegate efl_ui_layout_orientation_get_static_delegate;
1585 private delegate void efl_ui_layout_orientation_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.LayoutOrientation dir);
1588 public delegate void efl_ui_layout_orientation_set_api_delegate(System.IntPtr obj, Efl.Ui.LayoutOrientation dir);
1590 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");
1592 private static void orientation_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.LayoutOrientation dir)
1594 Eina.Log.Debug("function efl_ui_layout_orientation_set was called");
1595 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1601 ((Box)ws.Target).SetOrientation(dir);
1605 Eina.Log.Warning($"Callback error: {e.ToString()}");
1606 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1613 efl_ui_layout_orientation_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), dir);
1617 private static efl_ui_layout_orientation_set_delegate efl_ui_layout_orientation_set_static_delegate;
1619 #pragma warning restore CA1707, CS1591, SA1300, SA1600
1628 #pragma warning disable CS1591
1629 public static class Efl_UiBox_ExtensionMethods {
1630 public static Efl.BindableProperty<bool> Homogeneous<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Box, T>magic = null) where T : Efl.Ui.Box {
1631 return new Efl.BindableProperty<bool>("homogeneous", fac);
1636 public static Efl.BindableProperty<Efl.Ui.LayoutOrientation> Orientation<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Box, T>magic = null) where T : Efl.Ui.Box {
1637 return new Efl.BindableProperty<Efl.Ui.LayoutOrientation>("orientation", fac);
1641 #pragma warning restore CS1591