1 #pragma warning disable CS1591
3 using System.Runtime.InteropServices;
4 using System.Collections.Generic;
6 using System.Threading;
7 using System.ComponentModel;
12 /// <summary>Represents a Table created as part of a layout.
13 /// Can not be deleted, this is only a representation of an internal object of an EFL layout.</summary>
14 [Efl.Canvas.LayoutPartTable.NativeMethods]
15 public class LayoutPartTable : Efl.Canvas.LayoutPart, Efl.Eo.IWrapper,Efl.IContainer,Efl.IPack,Efl.IPackTable
17 ///<summary>Pointer to the native class description.</summary>
18 public override System.IntPtr NativeClass
22 if (((object)this).GetType() == typeof(LayoutPartTable))
24 return GetEflClassStatic();
28 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
33 [System.Runtime.InteropServices.DllImport(efl.Libs.Edje)] internal static extern System.IntPtr
34 efl_canvas_layout_part_table_class_get();
35 /// <summary>Initializes a new instance of the <see cref="LayoutPartTable"/> class.</summary>
36 /// <param name="parent">Parent instance.</param>
37 public LayoutPartTable(Efl.Object parent= null
38 ) : base(efl_canvas_layout_part_table_class_get(), typeof(LayoutPartTable), parent)
40 FinishInstantiation();
43 /// <summary>Initializes a new instance of the <see cref="LayoutPartTable"/> class.
44 /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
45 /// <param name="raw">The native pointer to be wrapped.</param>
46 protected LayoutPartTable(System.IntPtr raw) : base(raw)
50 /// <summary>Initializes a new instance of the <see cref="LayoutPartTable"/> class.
51 /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
52 /// <param name="baseKlass">The pointer to the base native Eo class.</param>
53 /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
54 /// <param name="parent">The Efl.Object parent of this instance.</param>
55 protected LayoutPartTable(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
59 /// <summary>Verifies if the given object is equal to this one.</summary>
60 /// <param name="instance">The object to compare to.</param>
61 /// <returns>True if both objects point to the same native object.</returns>
62 public override bool Equals(object instance)
64 var other = instance as Efl.Object;
69 return this.NativeHandle == other.NativeHandle;
72 /// <summary>Gets the hash code for this object based on the native pointer it points to.</summary>
73 /// <returns>The value of the pointer, to be used as the hash code of this object.</returns>
74 public override int GetHashCode()
76 return this.NativeHandle.ToInt32();
79 /// <summary>Turns the native pointer into a string representation.</summary>
80 /// <returns>A string with the type and the native pointer for this object.</returns>
81 public override String ToString()
83 return $"{this.GetType().Name}@[{this.NativeHandle.ToInt32():x}]";
86 /// <summary>Sent after a new item was added.
87 /// (Since EFL 1.22)</summary>
88 public event EventHandler<Efl.IContainerContentAddedEvt_Args> ContentAddedEvt
94 var wRef = new WeakReference(this);
95 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
97 var obj = wRef.Target as Efl.Eo.IWrapper;
100 Efl.IContainerContentAddedEvt_Args args = new Efl.IContainerContentAddedEvt_Args();
101 args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Gfx.IEntityConcrete);
104 value?.Invoke(obj, args);
108 Eina.Log.Error(e.ToString());
109 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
114 string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED";
115 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
123 string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED";
124 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
128 ///<summary>Method to raise event ContentAddedEvt.</summary>
129 public void OnContentAddedEvt(Efl.IContainerContentAddedEvt_Args e)
131 var key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED";
132 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
133 if (desc == IntPtr.Zero)
135 Eina.Log.Error($"Failed to get native event {key}");
139 IntPtr info = e.arg.NativeHandle;
140 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
142 /// <summary>Sent after an item was removed, before unref.
143 /// (Since EFL 1.22)</summary>
144 public event EventHandler<Efl.IContainerContentRemovedEvt_Args> ContentRemovedEvt
150 var wRef = new WeakReference(this);
151 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
153 var obj = wRef.Target as Efl.Eo.IWrapper;
156 Efl.IContainerContentRemovedEvt_Args args = new Efl.IContainerContentRemovedEvt_Args();
157 args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Gfx.IEntityConcrete);
160 value?.Invoke(obj, args);
164 Eina.Log.Error(e.ToString());
165 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
170 string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED";
171 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
179 string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED";
180 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
184 ///<summary>Method to raise event ContentRemovedEvt.</summary>
185 public void OnContentRemovedEvt(Efl.IContainerContentRemovedEvt_Args e)
187 var key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED";
188 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
189 if (desc == IntPtr.Zero)
191 Eina.Log.Error($"Failed to get native event {key}");
195 IntPtr info = e.arg.NativeHandle;
196 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
198 /// <summary>Begin iterating over this object's contents.
199 /// (Since EFL 1.22)</summary>
200 /// <returns>Iterator to object content</returns>
201 virtual public Eina.Iterator<Efl.Gfx.IEntity> ContentIterate() {
202 var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_iterate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
203 Eina.Error.RaiseIfUnhandledException();
204 return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true, false);
206 /// <summary>Returns the number of UI elements packed in this container.
207 /// (Since EFL 1.22)</summary>
208 /// <returns>Number of packed UI elements</returns>
209 virtual public int ContentCount() {
210 var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_count_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
211 Eina.Error.RaiseIfUnhandledException();
214 /// <summary>Alignment of the container within its bounds</summary>
215 /// <param name="align_horiz">Horizontal alignment</param>
216 /// <param name="align_vert">Vertical alignment</param>
217 virtual public void GetPackAlign(out double align_horiz, out double align_vert) {
218 Efl.IPackConcrete.NativeMethods.efl_pack_align_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out align_horiz, out align_vert);
219 Eina.Error.RaiseIfUnhandledException();
221 /// <summary>Alignment of the container within its bounds</summary>
222 /// <param name="align_horiz">Horizontal alignment</param>
223 /// <param name="align_vert">Vertical alignment</param>
224 virtual public void SetPackAlign(double align_horiz, double align_vert) {
225 Efl.IPackConcrete.NativeMethods.efl_pack_align_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),align_horiz, align_vert);
226 Eina.Error.RaiseIfUnhandledException();
228 /// <summary>Padding between items contained in this object.</summary>
229 /// <param name="pad_horiz">Horizontal padding</param>
230 /// <param name="pad_vert">Vertical padding</param>
231 /// <param name="scalable"><c>true</c> if scalable, <c>false</c> otherwise</param>
232 virtual public void GetPackPadding(out double pad_horiz, out double pad_vert, out bool scalable) {
233 Efl.IPackConcrete.NativeMethods.efl_pack_padding_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out pad_horiz, out pad_vert, out scalable);
234 Eina.Error.RaiseIfUnhandledException();
236 /// <summary>Padding between items contained in this object.</summary>
237 /// <param name="pad_horiz">Horizontal padding</param>
238 /// <param name="pad_vert">Vertical padding</param>
239 /// <param name="scalable"><c>true</c> if scalable, <c>false</c> otherwise</param>
240 virtual public void SetPackPadding(double pad_horiz, double pad_vert, bool scalable) {
241 Efl.IPackConcrete.NativeMethods.efl_pack_padding_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),pad_horiz, pad_vert, scalable);
242 Eina.Error.RaiseIfUnhandledException();
244 /// <summary>Removes all packed contents, and unreferences them.</summary>
245 /// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
246 virtual public bool ClearPack() {
247 var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_clear_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
248 Eina.Error.RaiseIfUnhandledException();
251 /// <summary>Removes all packed contents, without unreferencing them.
252 /// Use with caution.</summary>
253 /// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
254 virtual public bool UnpackAll() {
255 var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_all_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
256 Eina.Error.RaiseIfUnhandledException();
259 /// <summary>Removes an existing item from the container, without deleting it.</summary>
260 /// <param name="subobj">The unpacked object.</param>
261 /// <returns><c>false</c> if <c>subobj</c> wasn't a child or can't be removed</returns>
262 virtual public bool Unpack(Efl.Gfx.IEntity subobj) {
263 var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
264 Eina.Error.RaiseIfUnhandledException();
267 /// <summary>Adds an item to this container.
268 /// 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.
270 /// 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>
271 /// <param name="subobj">An object to pack.</param>
272 /// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
273 virtual public bool Pack(Efl.Gfx.IEntity subobj) {
274 var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
275 Eina.Error.RaiseIfUnhandledException();
278 /// <summary>Position and span of the <c>subobj</c> in this container, may be modified to move the <c>subobj</c></summary>
279 /// <param name="subobj">Child object</param>
280 /// <param name="col">Column number</param>
281 /// <param name="row">Row number</param>
282 /// <param name="colspan">Column span</param>
283 /// <param name="rowspan">Row span</param>
284 /// <returns>Returns false if item is not a child</returns>
285 virtual public bool GetTablePosition(Efl.Gfx.IEntity subobj, out int col, out int row, out int colspan, out int rowspan) {
286 var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_position_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj, out col, out row, out colspan, out rowspan);
287 Eina.Error.RaiseIfUnhandledException();
290 /// <summary>Combines <see cref="Efl.IPackTable.TableColumns"/> and <see cref="Efl.IPackTable.TableRows"/></summary>
291 /// <param name="cols">Number of columns</param>
292 /// <param name="rows">Number of rows</param>
293 virtual public void GetTableSize(out int cols, out int rows) {
294 Efl.IPackTableConcrete.NativeMethods.efl_pack_table_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out cols, out rows);
295 Eina.Error.RaiseIfUnhandledException();
297 /// <summary>Combines <see cref="Efl.IPackTable.TableColumns"/> and <see cref="Efl.IPackTable.TableRows"/></summary>
298 /// <param name="cols">Number of columns</param>
299 /// <param name="rows">Number of rows</param>
300 virtual public void SetTableSize(int cols, int rows) {
301 Efl.IPackTableConcrete.NativeMethods.efl_pack_table_size_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cols, rows);
302 Eina.Error.RaiseIfUnhandledException();
304 /// <summary>Gird columns property</summary>
305 /// <returns>Number of columns</returns>
306 virtual public int GetTableColumns() {
307 var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_columns_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
308 Eina.Error.RaiseIfUnhandledException();
311 /// <summary>Specifies limit for linear adds - if direction is horizontal</summary>
312 /// <param name="cols">Number of columns</param>
313 virtual public void SetTableColumns(int cols) {
314 Efl.IPackTableConcrete.NativeMethods.efl_pack_table_columns_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cols);
315 Eina.Error.RaiseIfUnhandledException();
317 /// <summary>Table rows property</summary>
318 /// <returns>Number of rows</returns>
319 virtual public int GetTableRows() {
320 var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_rows_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
321 Eina.Error.RaiseIfUnhandledException();
324 /// <summary>Specifies limit for linear adds - if direction is vertical</summary>
325 /// <param name="rows">Number of rows</param>
326 virtual public void SetTableRows(int rows) {
327 Efl.IPackTableConcrete.NativeMethods.efl_pack_table_rows_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),rows);
328 Eina.Error.RaiseIfUnhandledException();
330 /// <summary>Primary and secondary up/left/right/down directions for linear apis.
331 /// Default is horizontal and vertical. This overrides <see cref="Efl.Ui.IDirection.Direction"/>.</summary>
332 /// <param name="primary">Primary direction</param>
333 /// <param name="secondary">Secondary direction</param>
334 virtual public void GetTableDirection(out Efl.Ui.Dir primary, out Efl.Ui.Dir secondary) {
335 Efl.IPackTableConcrete.NativeMethods.efl_pack_table_direction_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out primary, out secondary);
336 Eina.Error.RaiseIfUnhandledException();
338 /// <summary>Primary and secondary up/left/right/down directions for linear apis.
339 /// Default is horizontal and vertical. This overrides <see cref="Efl.Ui.IDirection.Direction"/>.</summary>
340 /// <param name="primary">Primary direction</param>
341 /// <param name="secondary">Secondary direction</param>
342 virtual public void SetTableDirection(Efl.Ui.Dir primary, Efl.Ui.Dir secondary) {
343 Efl.IPackTableConcrete.NativeMethods.efl_pack_table_direction_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),primary, secondary);
344 Eina.Error.RaiseIfUnhandledException();
346 /// <summary>Pack object at a given location in the table.
347 /// 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>
348 /// <param name="subobj">A child object to pack in this table.</param>
349 /// <param name="col">Column number</param>
350 /// <param name="row">Row number</param>
351 /// <param name="colspan">0 means 1, -1 means <see cref="Efl.IPackTable.TableColumns"/></param>
352 /// <param name="rowspan">0 means 1, -1 means <see cref="Efl.IPackTable.TableRows"/></param>
353 /// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
354 virtual public bool PackTable(Efl.Gfx.IEntity subobj, int col, int row, int colspan, int rowspan) {
355 var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj, col, row, colspan, rowspan);
356 Eina.Error.RaiseIfUnhandledException();
359 /// <summary>Returns all objects at a given position in this table.</summary>
360 /// <param name="col">Column number</param>
361 /// <param name="row">Row number</param>
362 /// <param name="below">If <c>true</c> get objects spanning over this cell.</param>
363 /// <returns>Iterator to table contents</returns>
364 virtual public Eina.Iterator<Efl.Gfx.IEntity> GetTableContents(int col, int row, bool below) {
365 var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_contents_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),col, row, below);
366 Eina.Error.RaiseIfUnhandledException();
367 return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true, false);
369 /// <summary>Returns a child at a given position, see <see cref="Efl.IPackTable.GetTableContents"/>.</summary>
370 /// <param name="col">Column number</param>
371 /// <param name="row">Row number</param>
372 /// <returns>Child object</returns>
373 virtual public Efl.Gfx.IEntity GetTableContent(int col, int row) {
374 var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),col, row);
375 Eina.Error.RaiseIfUnhandledException();
378 /// <summary>Gird columns property</summary>
379 /// <value>Number of columns</value>
380 public int TableColumns {
381 get { return GetTableColumns(); }
382 set { SetTableColumns(value); }
384 /// <summary>Table rows property</summary>
385 /// <value>Number of rows</value>
386 public int TableRows {
387 get { return GetTableRows(); }
388 set { SetTableRows(value); }
390 private static IntPtr GetEflClassStatic()
392 return Efl.Canvas.LayoutPartTable.efl_canvas_layout_part_table_class_get();
394 /// <summary>Wrapper for native methods and virtual method delegates.
395 /// For internal use by generated code only.</summary>
396 public new class NativeMethods : Efl.Canvas.LayoutPart.NativeMethods
398 private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Edje);
399 /// <summary>Gets the list of Eo operations to override.</summary>
400 /// <returns>The list of Eo operations to be overload.</returns>
401 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
403 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
404 var methods = Efl.Eo.Globals.GetUserMethods(type);
406 if (efl_content_iterate_static_delegate == null)
408 efl_content_iterate_static_delegate = new efl_content_iterate_delegate(content_iterate);
411 if (methods.FirstOrDefault(m => m.Name == "ContentIterate") != null)
413 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) });
416 if (efl_content_count_static_delegate == null)
418 efl_content_count_static_delegate = new efl_content_count_delegate(content_count);
421 if (methods.FirstOrDefault(m => m.Name == "ContentCount") != null)
423 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) });
426 if (efl_pack_align_get_static_delegate == null)
428 efl_pack_align_get_static_delegate = new efl_pack_align_get_delegate(pack_align_get);
431 if (methods.FirstOrDefault(m => m.Name == "GetPackAlign") != null)
433 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_align_get"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_align_get_static_delegate) });
436 if (efl_pack_align_set_static_delegate == null)
438 efl_pack_align_set_static_delegate = new efl_pack_align_set_delegate(pack_align_set);
441 if (methods.FirstOrDefault(m => m.Name == "SetPackAlign") != null)
443 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_align_set"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_align_set_static_delegate) });
446 if (efl_pack_padding_get_static_delegate == null)
448 efl_pack_padding_get_static_delegate = new efl_pack_padding_get_delegate(pack_padding_get);
451 if (methods.FirstOrDefault(m => m.Name == "GetPackPadding") != null)
453 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_padding_get"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_padding_get_static_delegate) });
456 if (efl_pack_padding_set_static_delegate == null)
458 efl_pack_padding_set_static_delegate = new efl_pack_padding_set_delegate(pack_padding_set);
461 if (methods.FirstOrDefault(m => m.Name == "SetPackPadding") != null)
463 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_padding_set"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_padding_set_static_delegate) });
466 if (efl_pack_clear_static_delegate == null)
468 efl_pack_clear_static_delegate = new efl_pack_clear_delegate(pack_clear);
471 if (methods.FirstOrDefault(m => m.Name == "ClearPack") != null)
473 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) });
476 if (efl_pack_unpack_all_static_delegate == null)
478 efl_pack_unpack_all_static_delegate = new efl_pack_unpack_all_delegate(unpack_all);
481 if (methods.FirstOrDefault(m => m.Name == "UnpackAll") != null)
483 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) });
486 if (efl_pack_unpack_static_delegate == null)
488 efl_pack_unpack_static_delegate = new efl_pack_unpack_delegate(unpack);
491 if (methods.FirstOrDefault(m => m.Name == "Unpack") != null)
493 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) });
496 if (efl_pack_static_delegate == null)
498 efl_pack_static_delegate = new efl_pack_delegate(pack);
501 if (methods.FirstOrDefault(m => m.Name == "Pack") != null)
503 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_static_delegate) });
506 if (efl_pack_table_position_get_static_delegate == null)
508 efl_pack_table_position_get_static_delegate = new efl_pack_table_position_get_delegate(table_position_get);
511 if (methods.FirstOrDefault(m => m.Name == "GetTablePosition") != null)
513 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_position_get"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_position_get_static_delegate) });
516 if (efl_pack_table_size_get_static_delegate == null)
518 efl_pack_table_size_get_static_delegate = new efl_pack_table_size_get_delegate(table_size_get);
521 if (methods.FirstOrDefault(m => m.Name == "GetTableSize") != null)
523 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_size_get"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_size_get_static_delegate) });
526 if (efl_pack_table_size_set_static_delegate == null)
528 efl_pack_table_size_set_static_delegate = new efl_pack_table_size_set_delegate(table_size_set);
531 if (methods.FirstOrDefault(m => m.Name == "SetTableSize") != null)
533 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_size_set"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_size_set_static_delegate) });
536 if (efl_pack_table_columns_get_static_delegate == null)
538 efl_pack_table_columns_get_static_delegate = new efl_pack_table_columns_get_delegate(table_columns_get);
541 if (methods.FirstOrDefault(m => m.Name == "GetTableColumns") != null)
543 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_columns_get"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_columns_get_static_delegate) });
546 if (efl_pack_table_columns_set_static_delegate == null)
548 efl_pack_table_columns_set_static_delegate = new efl_pack_table_columns_set_delegate(table_columns_set);
551 if (methods.FirstOrDefault(m => m.Name == "SetTableColumns") != null)
553 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_columns_set"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_columns_set_static_delegate) });
556 if (efl_pack_table_rows_get_static_delegate == null)
558 efl_pack_table_rows_get_static_delegate = new efl_pack_table_rows_get_delegate(table_rows_get);
561 if (methods.FirstOrDefault(m => m.Name == "GetTableRows") != null)
563 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_rows_get"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_rows_get_static_delegate) });
566 if (efl_pack_table_rows_set_static_delegate == null)
568 efl_pack_table_rows_set_static_delegate = new efl_pack_table_rows_set_delegate(table_rows_set);
571 if (methods.FirstOrDefault(m => m.Name == "SetTableRows") != null)
573 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_rows_set"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_rows_set_static_delegate) });
576 if (efl_pack_table_direction_get_static_delegate == null)
578 efl_pack_table_direction_get_static_delegate = new efl_pack_table_direction_get_delegate(table_direction_get);
581 if (methods.FirstOrDefault(m => m.Name == "GetTableDirection") != null)
583 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_direction_get"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_direction_get_static_delegate) });
586 if (efl_pack_table_direction_set_static_delegate == null)
588 efl_pack_table_direction_set_static_delegate = new efl_pack_table_direction_set_delegate(table_direction_set);
591 if (methods.FirstOrDefault(m => m.Name == "SetTableDirection") != null)
593 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_direction_set"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_direction_set_static_delegate) });
596 if (efl_pack_table_static_delegate == null)
598 efl_pack_table_static_delegate = new efl_pack_table_delegate(pack_table);
601 if (methods.FirstOrDefault(m => m.Name == "PackTable") != null)
603 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_static_delegate) });
606 if (efl_pack_table_contents_get_static_delegate == null)
608 efl_pack_table_contents_get_static_delegate = new efl_pack_table_contents_get_delegate(table_contents_get);
611 if (methods.FirstOrDefault(m => m.Name == "GetTableContents") != null)
613 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_contents_get"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_contents_get_static_delegate) });
616 if (efl_pack_table_content_get_static_delegate == null)
618 efl_pack_table_content_get_static_delegate = new efl_pack_table_content_get_delegate(table_content_get);
621 if (methods.FirstOrDefault(m => m.Name == "GetTableContent") != null)
623 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_content_get"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_content_get_static_delegate) });
626 descs.AddRange(base.GetEoOps(type));
629 /// <summary>Returns the Eo class for the native methods of this class.</summary>
630 /// <returns>The native class pointer.</returns>
631 public override IntPtr GetEflClass()
633 return Efl.Canvas.LayoutPartTable.efl_canvas_layout_part_table_class_get();
636 #pragma warning disable CA1707, SA1300, SA1600
639 private delegate System.IntPtr efl_content_iterate_delegate(System.IntPtr obj, System.IntPtr pd);
642 public delegate System.IntPtr efl_content_iterate_api_delegate(System.IntPtr obj);
644 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");
646 private static System.IntPtr content_iterate(System.IntPtr obj, System.IntPtr pd)
648 Eina.Log.Debug("function efl_content_iterate was called");
649 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
652 Eina.Iterator<Efl.Gfx.IEntity> _ret_var = default(Eina.Iterator<Efl.Gfx.IEntity>);
655 _ret_var = ((LayoutPartTable)wrapper).ContentIterate();
659 Eina.Log.Warning($"Callback error: {e.ToString()}");
660 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
663 _ret_var.Own = false; return _ret_var.Handle;
668 return efl_content_iterate_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
672 private static efl_content_iterate_delegate efl_content_iterate_static_delegate;
675 private delegate int efl_content_count_delegate(System.IntPtr obj, System.IntPtr pd);
678 public delegate int efl_content_count_api_delegate(System.IntPtr obj);
680 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");
682 private static int content_count(System.IntPtr obj, System.IntPtr pd)
684 Eina.Log.Debug("function efl_content_count was called");
685 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
688 int _ret_var = default(int);
691 _ret_var = ((LayoutPartTable)wrapper).ContentCount();
695 Eina.Log.Warning($"Callback error: {e.ToString()}");
696 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
704 return efl_content_count_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
708 private static efl_content_count_delegate efl_content_count_static_delegate;
711 private delegate void efl_pack_align_get_delegate(System.IntPtr obj, System.IntPtr pd, out double align_horiz, out double align_vert);
714 public delegate void efl_pack_align_get_api_delegate(System.IntPtr obj, out double align_horiz, out double align_vert);
716 public static Efl.Eo.FunctionWrapper<efl_pack_align_get_api_delegate> efl_pack_align_get_ptr = new Efl.Eo.FunctionWrapper<efl_pack_align_get_api_delegate>(Module, "efl_pack_align_get");
718 private static void pack_align_get(System.IntPtr obj, System.IntPtr pd, out double align_horiz, out double align_vert)
720 Eina.Log.Debug("function efl_pack_align_get was called");
721 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
724 align_horiz = default(double); align_vert = default(double);
727 ((LayoutPartTable)wrapper).GetPackAlign(out align_horiz, out align_vert);
731 Eina.Log.Warning($"Callback error: {e.ToString()}");
732 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
739 efl_pack_align_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out align_horiz, out align_vert);
743 private static efl_pack_align_get_delegate efl_pack_align_get_static_delegate;
746 private delegate void efl_pack_align_set_delegate(System.IntPtr obj, System.IntPtr pd, double align_horiz, double align_vert);
749 public delegate void efl_pack_align_set_api_delegate(System.IntPtr obj, double align_horiz, double align_vert);
751 public static Efl.Eo.FunctionWrapper<efl_pack_align_set_api_delegate> efl_pack_align_set_ptr = new Efl.Eo.FunctionWrapper<efl_pack_align_set_api_delegate>(Module, "efl_pack_align_set");
753 private static void pack_align_set(System.IntPtr obj, System.IntPtr pd, double align_horiz, double align_vert)
755 Eina.Log.Debug("function efl_pack_align_set was called");
756 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
762 ((LayoutPartTable)wrapper).SetPackAlign(align_horiz, align_vert);
766 Eina.Log.Warning($"Callback error: {e.ToString()}");
767 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
774 efl_pack_align_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), align_horiz, align_vert);
778 private static efl_pack_align_set_delegate efl_pack_align_set_static_delegate;
781 private delegate void efl_pack_padding_get_delegate(System.IntPtr obj, System.IntPtr pd, out double pad_horiz, out double pad_vert, [MarshalAs(UnmanagedType.U1)] out bool scalable);
784 public delegate void efl_pack_padding_get_api_delegate(System.IntPtr obj, out double pad_horiz, out double pad_vert, [MarshalAs(UnmanagedType.U1)] out bool scalable);
786 public static Efl.Eo.FunctionWrapper<efl_pack_padding_get_api_delegate> efl_pack_padding_get_ptr = new Efl.Eo.FunctionWrapper<efl_pack_padding_get_api_delegate>(Module, "efl_pack_padding_get");
788 private static void pack_padding_get(System.IntPtr obj, System.IntPtr pd, out double pad_horiz, out double pad_vert, out bool scalable)
790 Eina.Log.Debug("function efl_pack_padding_get was called");
791 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
794 pad_horiz = default(double); pad_vert = default(double); scalable = default(bool);
797 ((LayoutPartTable)wrapper).GetPackPadding(out pad_horiz, out pad_vert, out scalable);
801 Eina.Log.Warning($"Callback error: {e.ToString()}");
802 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
809 efl_pack_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);
813 private static efl_pack_padding_get_delegate efl_pack_padding_get_static_delegate;
816 private delegate void efl_pack_padding_set_delegate(System.IntPtr obj, System.IntPtr pd, double pad_horiz, double pad_vert, [MarshalAs(UnmanagedType.U1)] bool scalable);
819 public delegate void efl_pack_padding_set_api_delegate(System.IntPtr obj, double pad_horiz, double pad_vert, [MarshalAs(UnmanagedType.U1)] bool scalable);
821 public static Efl.Eo.FunctionWrapper<efl_pack_padding_set_api_delegate> efl_pack_padding_set_ptr = new Efl.Eo.FunctionWrapper<efl_pack_padding_set_api_delegate>(Module, "efl_pack_padding_set");
823 private static void pack_padding_set(System.IntPtr obj, System.IntPtr pd, double pad_horiz, double pad_vert, bool scalable)
825 Eina.Log.Debug("function efl_pack_padding_set was called");
826 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
832 ((LayoutPartTable)wrapper).SetPackPadding(pad_horiz, pad_vert, scalable);
836 Eina.Log.Warning($"Callback error: {e.ToString()}");
837 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
844 efl_pack_padding_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), pad_horiz, pad_vert, scalable);
848 private static efl_pack_padding_set_delegate efl_pack_padding_set_static_delegate;
850 [return: MarshalAs(UnmanagedType.U1)]
851 private delegate bool efl_pack_clear_delegate(System.IntPtr obj, System.IntPtr pd);
853 [return: MarshalAs(UnmanagedType.U1)]
854 public delegate bool efl_pack_clear_api_delegate(System.IntPtr obj);
856 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");
858 private static bool pack_clear(System.IntPtr obj, System.IntPtr pd)
860 Eina.Log.Debug("function efl_pack_clear was called");
861 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
864 bool _ret_var = default(bool);
867 _ret_var = ((LayoutPartTable)wrapper).ClearPack();
871 Eina.Log.Warning($"Callback error: {e.ToString()}");
872 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
880 return efl_pack_clear_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
884 private static efl_pack_clear_delegate efl_pack_clear_static_delegate;
886 [return: MarshalAs(UnmanagedType.U1)]
887 private delegate bool efl_pack_unpack_all_delegate(System.IntPtr obj, System.IntPtr pd);
889 [return: MarshalAs(UnmanagedType.U1)]
890 public delegate bool efl_pack_unpack_all_api_delegate(System.IntPtr obj);
892 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");
894 private static bool unpack_all(System.IntPtr obj, System.IntPtr pd)
896 Eina.Log.Debug("function efl_pack_unpack_all was called");
897 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
900 bool _ret_var = default(bool);
903 _ret_var = ((LayoutPartTable)wrapper).UnpackAll();
907 Eina.Log.Warning($"Callback error: {e.ToString()}");
908 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
916 return efl_pack_unpack_all_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
920 private static efl_pack_unpack_all_delegate efl_pack_unpack_all_static_delegate;
922 [return: MarshalAs(UnmanagedType.U1)]
923 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);
925 [return: MarshalAs(UnmanagedType.U1)]
926 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);
928 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");
930 private static bool unpack(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj)
932 Eina.Log.Debug("function efl_pack_unpack was called");
933 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
936 bool _ret_var = default(bool);
939 _ret_var = ((LayoutPartTable)wrapper).Unpack(subobj);
943 Eina.Log.Warning($"Callback error: {e.ToString()}");
944 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
952 return efl_pack_unpack_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj);
956 private static efl_pack_unpack_delegate efl_pack_unpack_static_delegate;
958 [return: MarshalAs(UnmanagedType.U1)]
959 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);
961 [return: MarshalAs(UnmanagedType.U1)]
962 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);
964 public static Efl.Eo.FunctionWrapper<efl_pack_api_delegate> efl_pack_ptr = new Efl.Eo.FunctionWrapper<efl_pack_api_delegate>(Module, "efl_pack");
966 private static bool pack(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj)
968 Eina.Log.Debug("function efl_pack was called");
969 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
972 bool _ret_var = default(bool);
975 _ret_var = ((LayoutPartTable)wrapper).Pack(subobj);
979 Eina.Log.Warning($"Callback error: {e.ToString()}");
980 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
988 return efl_pack_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj);
992 private static efl_pack_delegate efl_pack_static_delegate;
994 [return: MarshalAs(UnmanagedType.U1)]
995 private delegate bool efl_pack_table_position_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, out int col, out int row, out int colspan, out int rowspan);
997 [return: MarshalAs(UnmanagedType.U1)]
998 public delegate bool efl_pack_table_position_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, out int col, out int row, out int colspan, out int rowspan);
1000 public static Efl.Eo.FunctionWrapper<efl_pack_table_position_get_api_delegate> efl_pack_table_position_get_ptr = new Efl.Eo.FunctionWrapper<efl_pack_table_position_get_api_delegate>(Module, "efl_pack_table_position_get");
1002 private static bool table_position_get(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, out int col, out int row, out int colspan, out int rowspan)
1004 Eina.Log.Debug("function efl_pack_table_position_get was called");
1005 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1006 if (wrapper != null)
1008 col = default(int); row = default(int); colspan = default(int); rowspan = default(int); bool _ret_var = default(bool);
1011 _ret_var = ((LayoutPartTable)wrapper).GetTablePosition(subobj, out col, out row, out colspan, out rowspan);
1015 Eina.Log.Warning($"Callback error: {e.ToString()}");
1016 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1024 return efl_pack_table_position_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, out col, out row, out colspan, out rowspan);
1028 private static efl_pack_table_position_get_delegate efl_pack_table_position_get_static_delegate;
1031 private delegate void efl_pack_table_size_get_delegate(System.IntPtr obj, System.IntPtr pd, out int cols, out int rows);
1034 public delegate void efl_pack_table_size_get_api_delegate(System.IntPtr obj, out int cols, out int rows);
1036 public static Efl.Eo.FunctionWrapper<efl_pack_table_size_get_api_delegate> efl_pack_table_size_get_ptr = new Efl.Eo.FunctionWrapper<efl_pack_table_size_get_api_delegate>(Module, "efl_pack_table_size_get");
1038 private static void table_size_get(System.IntPtr obj, System.IntPtr pd, out int cols, out int rows)
1040 Eina.Log.Debug("function efl_pack_table_size_get was called");
1041 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1042 if (wrapper != null)
1044 cols = default(int); rows = default(int);
1047 ((LayoutPartTable)wrapper).GetTableSize(out cols, out rows);
1051 Eina.Log.Warning($"Callback error: {e.ToString()}");
1052 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1059 efl_pack_table_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out cols, out rows);
1063 private static efl_pack_table_size_get_delegate efl_pack_table_size_get_static_delegate;
1066 private delegate void efl_pack_table_size_set_delegate(System.IntPtr obj, System.IntPtr pd, int cols, int rows);
1069 public delegate void efl_pack_table_size_set_api_delegate(System.IntPtr obj, int cols, int rows);
1071 public static Efl.Eo.FunctionWrapper<efl_pack_table_size_set_api_delegate> efl_pack_table_size_set_ptr = new Efl.Eo.FunctionWrapper<efl_pack_table_size_set_api_delegate>(Module, "efl_pack_table_size_set");
1073 private static void table_size_set(System.IntPtr obj, System.IntPtr pd, int cols, int rows)
1075 Eina.Log.Debug("function efl_pack_table_size_set was called");
1076 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1077 if (wrapper != null)
1082 ((LayoutPartTable)wrapper).SetTableSize(cols, rows);
1086 Eina.Log.Warning($"Callback error: {e.ToString()}");
1087 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1094 efl_pack_table_size_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cols, rows);
1098 private static efl_pack_table_size_set_delegate efl_pack_table_size_set_static_delegate;
1101 private delegate int efl_pack_table_columns_get_delegate(System.IntPtr obj, System.IntPtr pd);
1104 public delegate int efl_pack_table_columns_get_api_delegate(System.IntPtr obj);
1106 public static Efl.Eo.FunctionWrapper<efl_pack_table_columns_get_api_delegate> efl_pack_table_columns_get_ptr = new Efl.Eo.FunctionWrapper<efl_pack_table_columns_get_api_delegate>(Module, "efl_pack_table_columns_get");
1108 private static int table_columns_get(System.IntPtr obj, System.IntPtr pd)
1110 Eina.Log.Debug("function efl_pack_table_columns_get was called");
1111 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1112 if (wrapper != null)
1114 int _ret_var = default(int);
1117 _ret_var = ((LayoutPartTable)wrapper).GetTableColumns();
1121 Eina.Log.Warning($"Callback error: {e.ToString()}");
1122 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1130 return efl_pack_table_columns_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1134 private static efl_pack_table_columns_get_delegate efl_pack_table_columns_get_static_delegate;
1137 private delegate void efl_pack_table_columns_set_delegate(System.IntPtr obj, System.IntPtr pd, int cols);
1140 public delegate void efl_pack_table_columns_set_api_delegate(System.IntPtr obj, int cols);
1142 public static Efl.Eo.FunctionWrapper<efl_pack_table_columns_set_api_delegate> efl_pack_table_columns_set_ptr = new Efl.Eo.FunctionWrapper<efl_pack_table_columns_set_api_delegate>(Module, "efl_pack_table_columns_set");
1144 private static void table_columns_set(System.IntPtr obj, System.IntPtr pd, int cols)
1146 Eina.Log.Debug("function efl_pack_table_columns_set was called");
1147 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1148 if (wrapper != null)
1153 ((LayoutPartTable)wrapper).SetTableColumns(cols);
1157 Eina.Log.Warning($"Callback error: {e.ToString()}");
1158 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1165 efl_pack_table_columns_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cols);
1169 private static efl_pack_table_columns_set_delegate efl_pack_table_columns_set_static_delegate;
1172 private delegate int efl_pack_table_rows_get_delegate(System.IntPtr obj, System.IntPtr pd);
1175 public delegate int efl_pack_table_rows_get_api_delegate(System.IntPtr obj);
1177 public static Efl.Eo.FunctionWrapper<efl_pack_table_rows_get_api_delegate> efl_pack_table_rows_get_ptr = new Efl.Eo.FunctionWrapper<efl_pack_table_rows_get_api_delegate>(Module, "efl_pack_table_rows_get");
1179 private static int table_rows_get(System.IntPtr obj, System.IntPtr pd)
1181 Eina.Log.Debug("function efl_pack_table_rows_get was called");
1182 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1183 if (wrapper != null)
1185 int _ret_var = default(int);
1188 _ret_var = ((LayoutPartTable)wrapper).GetTableRows();
1192 Eina.Log.Warning($"Callback error: {e.ToString()}");
1193 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1201 return efl_pack_table_rows_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1205 private static efl_pack_table_rows_get_delegate efl_pack_table_rows_get_static_delegate;
1208 private delegate void efl_pack_table_rows_set_delegate(System.IntPtr obj, System.IntPtr pd, int rows);
1211 public delegate void efl_pack_table_rows_set_api_delegate(System.IntPtr obj, int rows);
1213 public static Efl.Eo.FunctionWrapper<efl_pack_table_rows_set_api_delegate> efl_pack_table_rows_set_ptr = new Efl.Eo.FunctionWrapper<efl_pack_table_rows_set_api_delegate>(Module, "efl_pack_table_rows_set");
1215 private static void table_rows_set(System.IntPtr obj, System.IntPtr pd, int rows)
1217 Eina.Log.Debug("function efl_pack_table_rows_set was called");
1218 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1219 if (wrapper != null)
1224 ((LayoutPartTable)wrapper).SetTableRows(rows);
1228 Eina.Log.Warning($"Callback error: {e.ToString()}");
1229 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1236 efl_pack_table_rows_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), rows);
1240 private static efl_pack_table_rows_set_delegate efl_pack_table_rows_set_static_delegate;
1243 private delegate void efl_pack_table_direction_get_delegate(System.IntPtr obj, System.IntPtr pd, out Efl.Ui.Dir primary, out Efl.Ui.Dir secondary);
1246 public delegate void efl_pack_table_direction_get_api_delegate(System.IntPtr obj, out Efl.Ui.Dir primary, out Efl.Ui.Dir secondary);
1248 public static Efl.Eo.FunctionWrapper<efl_pack_table_direction_get_api_delegate> efl_pack_table_direction_get_ptr = new Efl.Eo.FunctionWrapper<efl_pack_table_direction_get_api_delegate>(Module, "efl_pack_table_direction_get");
1250 private static void table_direction_get(System.IntPtr obj, System.IntPtr pd, out Efl.Ui.Dir primary, out Efl.Ui.Dir secondary)
1252 Eina.Log.Debug("function efl_pack_table_direction_get was called");
1253 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1254 if (wrapper != null)
1256 primary = default(Efl.Ui.Dir); secondary = default(Efl.Ui.Dir);
1259 ((LayoutPartTable)wrapper).GetTableDirection(out primary, out secondary);
1263 Eina.Log.Warning($"Callback error: {e.ToString()}");
1264 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1271 efl_pack_table_direction_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out primary, out secondary);
1275 private static efl_pack_table_direction_get_delegate efl_pack_table_direction_get_static_delegate;
1278 private delegate void efl_pack_table_direction_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Dir primary, Efl.Ui.Dir secondary);
1281 public delegate void efl_pack_table_direction_set_api_delegate(System.IntPtr obj, Efl.Ui.Dir primary, Efl.Ui.Dir secondary);
1283 public static Efl.Eo.FunctionWrapper<efl_pack_table_direction_set_api_delegate> efl_pack_table_direction_set_ptr = new Efl.Eo.FunctionWrapper<efl_pack_table_direction_set_api_delegate>(Module, "efl_pack_table_direction_set");
1285 private static void table_direction_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Dir primary, Efl.Ui.Dir secondary)
1287 Eina.Log.Debug("function efl_pack_table_direction_set was called");
1288 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1289 if (wrapper != null)
1294 ((LayoutPartTable)wrapper).SetTableDirection(primary, secondary);
1298 Eina.Log.Warning($"Callback error: {e.ToString()}");
1299 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1306 efl_pack_table_direction_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), primary, secondary);
1310 private static efl_pack_table_direction_set_delegate efl_pack_table_direction_set_static_delegate;
1312 [return: MarshalAs(UnmanagedType.U1)]
1313 private delegate bool efl_pack_table_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, int col, int row, int colspan, int rowspan);
1315 [return: MarshalAs(UnmanagedType.U1)]
1316 public delegate bool efl_pack_table_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, int col, int row, int colspan, int rowspan);
1318 public static Efl.Eo.FunctionWrapper<efl_pack_table_api_delegate> efl_pack_table_ptr = new Efl.Eo.FunctionWrapper<efl_pack_table_api_delegate>(Module, "efl_pack_table");
1320 private static bool pack_table(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, int col, int row, int colspan, int rowspan)
1322 Eina.Log.Debug("function efl_pack_table was called");
1323 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1324 if (wrapper != null)
1326 bool _ret_var = default(bool);
1329 _ret_var = ((LayoutPartTable)wrapper).PackTable(subobj, col, row, colspan, rowspan);
1333 Eina.Log.Warning($"Callback error: {e.ToString()}");
1334 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1342 return efl_pack_table_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, col, row, colspan, rowspan);
1346 private static efl_pack_table_delegate efl_pack_table_static_delegate;
1349 private delegate System.IntPtr efl_pack_table_contents_get_delegate(System.IntPtr obj, System.IntPtr pd, int col, int row, [MarshalAs(UnmanagedType.U1)] bool below);
1352 public delegate System.IntPtr efl_pack_table_contents_get_api_delegate(System.IntPtr obj, int col, int row, [MarshalAs(UnmanagedType.U1)] bool below);
1354 public static Efl.Eo.FunctionWrapper<efl_pack_table_contents_get_api_delegate> efl_pack_table_contents_get_ptr = new Efl.Eo.FunctionWrapper<efl_pack_table_contents_get_api_delegate>(Module, "efl_pack_table_contents_get");
1356 private static System.IntPtr table_contents_get(System.IntPtr obj, System.IntPtr pd, int col, int row, bool below)
1358 Eina.Log.Debug("function efl_pack_table_contents_get was called");
1359 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1360 if (wrapper != null)
1362 Eina.Iterator<Efl.Gfx.IEntity> _ret_var = default(Eina.Iterator<Efl.Gfx.IEntity>);
1365 _ret_var = ((LayoutPartTable)wrapper).GetTableContents(col, row, below);
1369 Eina.Log.Warning($"Callback error: {e.ToString()}");
1370 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1373 _ret_var.Own = false; return _ret_var.Handle;
1378 return efl_pack_table_contents_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), col, row, below);
1382 private static efl_pack_table_contents_get_delegate efl_pack_table_contents_get_static_delegate;
1384 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
1385 private delegate Efl.Gfx.IEntity efl_pack_table_content_get_delegate(System.IntPtr obj, System.IntPtr pd, int col, int row);
1387 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
1388 public delegate Efl.Gfx.IEntity efl_pack_table_content_get_api_delegate(System.IntPtr obj, int col, int row);
1390 public static Efl.Eo.FunctionWrapper<efl_pack_table_content_get_api_delegate> efl_pack_table_content_get_ptr = new Efl.Eo.FunctionWrapper<efl_pack_table_content_get_api_delegate>(Module, "efl_pack_table_content_get");
1392 private static Efl.Gfx.IEntity table_content_get(System.IntPtr obj, System.IntPtr pd, int col, int row)
1394 Eina.Log.Debug("function efl_pack_table_content_get was called");
1395 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1396 if (wrapper != null)
1398 Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
1401 _ret_var = ((LayoutPartTable)wrapper).GetTableContent(col, row);
1405 Eina.Log.Warning($"Callback error: {e.ToString()}");
1406 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1414 return efl_pack_table_content_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), col, row);
1418 private static efl_pack_table_content_get_delegate efl_pack_table_content_get_static_delegate;
1420 #pragma warning restore CA1707, SA1300, SA1600