#define EFL_BETA #pragma warning disable CS1591 using System; using System.Runtime.InteropServices; using System.Collections.Generic; using System.Linq; using System.Threading; using System.ComponentModel; namespace Efl { namespace Ui { /// Widget container that arranges its elements in a grid. /// The amount of rows and columns can be controlled with and , and elements can be manually positioned with . Additionally, a fill direction can be defined with and elements added with . Elements are then added following this direction (horizontal or vertical) and when the amount of columns or rows has been reached, a step is taken in the orthogonal direction. In this second case there is no need to define both the amount of columns and rows, as the table will expand as needed. The default fill direction is . [Efl.Ui.Table.NativeMethods] [Efl.Eo.BindingEntity] public class Table : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPackLayout, Efl.IPackTable, Efl.Gfx.IArrangement, Efl.Ui.ILayoutOrientable { /// Pointer to the native class description. public override System.IntPtr NativeClass { get { if (((object)this).GetType() == typeof(Table)) { return GetEflClassStatic(); } else { return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()]; } } } [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr efl_ui_table_class_get(); /// Initializes a new instance of the class. /// Parent instance. /// The widget style to use. See public Table(Efl.Object parent , System.String style = null) : base(efl_ui_table_class_get(), parent) { if (Efl.Eo.Globals.ParamHelperCheck(style)) { SetStyle(Efl.Eo.Globals.GetParamHelper(style)); } FinishInstantiation(); } /// Subclasses should override this constructor if they are expected to be instantiated from native code. /// Do not call this constructor directly. /// Tag struct storing the native handle of the object being constructed. protected Table(ConstructingHandle ch) : base(ch) { } /// Initializes a new instance of the class. /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly. /// The native pointer to be wrapped. protected Table(Efl.Eo.Globals.WrappingHandle wh) : base(wh) { } /// Initializes a new instance of the class. /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly. /// The pointer to the base native Eo class. /// The Efl.Object parent of this instance. protected Table(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent) { } /// Sent after a new sub-object was added. /// (Since EFL 1.22) /// public event EventHandler ContentAddedEvt { add { lock (eflBindingEventLock) { Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; if (obj != null) { Efl.IContainerContentAddedEvt_Args args = new Efl.IContainerContentAddedEvt_Args(); args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Gfx.IEntityConcrete); try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED"; AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } remove { lock (eflBindingEventLock) { string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED"; RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } /// Method to raise event ContentAddedEvt. public void OnContentAddedEvt(Efl.IContainerContentAddedEvt_Args e) { var key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); return; } IntPtr info = e.arg.NativeHandle; Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info); } /// Sent after a sub-object was removed, before unref. /// (Since EFL 1.22) /// public event EventHandler ContentRemovedEvt { add { lock (eflBindingEventLock) { Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; if (obj != null) { Efl.IContainerContentRemovedEvt_Args args = new Efl.IContainerContentRemovedEvt_Args(); args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Gfx.IEntityConcrete); try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED"; AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } remove { lock (eflBindingEventLock) { string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED"; RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } /// Method to raise event ContentRemovedEvt. public void OnContentRemovedEvt(Efl.IContainerContentRemovedEvt_Args e) { var key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); return; } IntPtr info = e.arg.NativeHandle; Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info); } /// Sent after the layout was updated. public event EventHandler LayoutUpdatedEvt { add { lock (eflBindingEventLock) { Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; if (obj != null) { EventArgs args = EventArgs.Empty; try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_PACK_EVENT_LAYOUT_UPDATED"; AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } remove { lock (eflBindingEventLock) { string key = "_EFL_PACK_EVENT_LAYOUT_UPDATED"; RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } /// Method to raise event LayoutUpdatedEvt. public void OnLayoutUpdatedEvt(EventArgs e) { var key = "_EFL_PACK_EVENT_LAYOUT_UPDATED"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); return; } Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero); } /// Control homogeneous mode. /// This will enable the homogeneous mode where cells are of the same weight and of the same min size which is determined by maximum min size of cells. /// true if the box is homogeneous horizontally, false otherwise /// true if the box is homogeneous vertically, false otherwise virtual public void GetHomogeneous(out bool homogeneoush, out bool homogeneousv) { Efl.Ui.Table.NativeMethods.efl_ui_table_homogeneous_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out homogeneoush, out homogeneousv); Eina.Error.RaiseIfUnhandledException(); } /// Control homogeneous mode. /// This will enable the homogeneous mode where cells are of the same weight and of the same min size which is determined by maximum min size of cells. /// true if the box is homogeneous horizontally, false otherwise /// true if the box is homogeneous vertically, false otherwise virtual public void SetHomogeneous(bool homogeneoush, bool homogeneousv) { Efl.Ui.Table.NativeMethods.efl_ui_table_homogeneous_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),homogeneoush, homogeneousv); Eina.Error.RaiseIfUnhandledException(); } /// Begin iterating over this object's contents. /// (Since EFL 1.22) /// Iterator on object's content. virtual public Eina.Iterator ContentIterate() { var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_iterate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass))); Eina.Error.RaiseIfUnhandledException(); return new Eina.Iterator(_ret_var, true); } /// Returns the number of contained sub-objects. /// (Since EFL 1.22) /// Number of sub-objects. virtual public int ContentCount() { var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_count_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass))); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Removes all packed sub-objects and unreferences them. /// true on success, false otherwise. virtual public bool ClearPack() { var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_clear_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass))); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Removes all packed sub-objects without unreferencing them. /// Use with caution. /// true on success, false otherwise. virtual public bool UnpackAll() { 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))); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Removes an existing sub-object from the container without deleting it. /// The sub-object to unpack. /// false if subobj wasn't in the container or couldn't be removed. virtual public bool Unpack(Efl.Gfx.IEntity subobj) { 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); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Adds a sub-object to this container. /// 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. /// /// When this container is deleted, it will request deletion of the given subobj. Use to remove subobj from this container without deleting it. /// The object to pack. /// false if subobj could not be packed. virtual public bool Pack(Efl.Gfx.IEntity subobj) { var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Requests EFL to call the method on this object. /// This may be called asynchronously. virtual public void LayoutRequest() { Efl.IPackLayoutConcrete.NativeMethods.efl_pack_layout_request_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass))); Eina.Error.RaiseIfUnhandledException(); } /// Implementation of this container's layout algorithm. /// EFL will call this function whenever the contents of this container need to be re-laid out on the canvas. /// /// This can be overriden to implement custom layout behaviors. virtual public void UpdateLayout() { Efl.IPackLayoutConcrete.NativeMethods.efl_pack_layout_update_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass))); Eina.Error.RaiseIfUnhandledException(); } /// column of the subobj in this container. /// Child object /// Column number /// Column span /// Returns false if item is not a child virtual public bool GetTableCellColumn(Efl.Gfx.IEntity subobj, out int col, out int colspan) { var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_cell_column_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, out col, out colspan); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// column of the subobj in this container. /// Child object /// Column number /// Column span virtual public void SetTableCellColumn(Efl.Gfx.IEntity subobj, int col, int colspan) { Efl.IPackTableConcrete.NativeMethods.efl_pack_table_cell_column_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, col, colspan); Eina.Error.RaiseIfUnhandledException(); } /// row of the subobj in this container. /// Child object /// Row number /// Row span /// Returns false if item is not a child virtual public bool GetTableCellRow(Efl.Gfx.IEntity subobj, out int row, out int rowspan) { var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_cell_row_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, out row, out rowspan); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// row of the subobj in this container. /// Child object /// Row number /// Row span virtual public void SetTableCellRow(Efl.Gfx.IEntity subobj, int row, int rowspan) { Efl.IPackTableConcrete.NativeMethods.efl_pack_table_cell_row_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, row, rowspan); Eina.Error.RaiseIfUnhandledException(); } /// Combines and /// Number of columns /// Number of rows virtual public void GetTableSize(out int cols, out int rows) { Efl.IPackTableConcrete.NativeMethods.efl_pack_table_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out cols, out rows); Eina.Error.RaiseIfUnhandledException(); } /// Combines and /// Number of columns /// Number of rows virtual public void SetTableSize(int cols, int rows) { Efl.IPackTableConcrete.NativeMethods.efl_pack_table_size_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cols, rows); Eina.Error.RaiseIfUnhandledException(); } /// Specifies the amount of columns the table will have when the fill direction is horizontal. If it is vertical, the amount of columns depends on the amount of cells added and . /// Amount of columns. virtual public int GetTableColumns() { var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_columns_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass))); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Specifies the amount of columns the table will have when the fill direction is horizontal. If it is vertical, the amount of columns depends on the amount of cells added and . /// Amount of columns. virtual public void SetTableColumns(int cols) { Efl.IPackTableConcrete.NativeMethods.efl_pack_table_columns_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cols); Eina.Error.RaiseIfUnhandledException(); } /// Specifies the amount of rows the table will have when the fill direction is vertical. If it is horizontal, the amount of rows depends on the amount of cells added and . /// Amount of rows. virtual public int GetTableRows() { var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_rows_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass))); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Specifies the amount of rows the table will have when the fill direction is vertical. If it is horizontal, the amount of rows depends on the amount of cells added and . /// Amount of rows. virtual public void SetTableRows(int rows) { Efl.IPackTableConcrete.NativeMethods.efl_pack_table_rows_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),rows); Eina.Error.RaiseIfUnhandledException(); } /// Pack object at a given location in the table. /// When this container is deleted, it will request deletion of the given subobj. Use to remove subobj from this container without deleting it. /// A child object to pack in this table. /// Column number /// Row number /// 0 means 1, -1 means /// 0 means 1, -1 means /// true on success, false otherwise virtual public bool PackTable(Efl.Gfx.IEntity subobj, int col, int row, int colspan, int rowspan) { var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, col, row, colspan, rowspan); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Returns all objects at a given position in this table. /// Column number /// Row number /// If true get objects spanning over this cell. /// Iterator to table contents virtual public Eina.Iterator GetTableContents(int col, int row, bool below) { var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_contents_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),col, row, below); Eina.Error.RaiseIfUnhandledException(); return new Eina.Iterator(_ret_var, true); } /// Returns a child at a given position, see . /// Column number /// Row number /// Child object virtual public Efl.Gfx.IEntity GetTableContent(int col, int row) { var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),col, row); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Alignment of the container within its bounds /// Horizontal alignment /// Vertical alignment virtual public void GetContentAlign(out double align_horiz, out double align_vert) { 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); Eina.Error.RaiseIfUnhandledException(); } /// Alignment of the container within its bounds /// Horizontal alignment /// Vertical alignment virtual public void SetContentAlign(double align_horiz, double align_vert) { 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); Eina.Error.RaiseIfUnhandledException(); } /// Padding between items contained in this object. /// Horizontal padding /// Vertical padding /// true if scalable, false otherwise virtual public void GetContentPadding(out double pad_horiz, out double pad_vert, out bool scalable) { 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); Eina.Error.RaiseIfUnhandledException(); } /// Padding between items contained in this object. /// Horizontal padding /// Vertical padding /// true if scalable, false otherwise virtual public void SetContentPadding(double pad_horiz, double pad_vert, bool scalable) { 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); Eina.Error.RaiseIfUnhandledException(); } /// Control the direction of a given widget. /// Use this function to change how your widget is to be disposed: vertically or horizontally or inverted vertically or inverted horizontally. /// /// Mirroring as defined in can invert the horizontal direction: it is ltr by default, but becomes rtl if the object is mirrored. /// Direction of the widget. virtual public Efl.Ui.LayoutOrientation GetOrientation() { 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))); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Control the direction of a given widget. /// Use this function to change how your widget is to be disposed: vertically or horizontally or inverted vertically or inverted horizontally. /// /// Mirroring as defined in can invert the horizontal direction: it is ltr by default, but becomes rtl if the object is mirrored. /// Direction of the widget. virtual public void SetOrientation(Efl.Ui.LayoutOrientation dir) { 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); Eina.Error.RaiseIfUnhandledException(); } /// Control homogeneous mode. /// This will enable the homogeneous mode where cells are of the same weight and of the same min size which is determined by maximum min size of cells. /// true if the box is homogeneous horizontally, false otherwise public (bool, bool) Homogeneous { get { bool _out_homogeneoush = default(bool); bool _out_homogeneousv = default(bool); GetHomogeneous(out _out_homogeneoush,out _out_homogeneousv); return (_out_homogeneoush,_out_homogeneousv); } set { SetHomogeneous( value.Item1, value.Item2); } } /// Combines and /// Number of columns public (int, int) TableSize { get { int _out_cols = default(int); int _out_rows = default(int); GetTableSize(out _out_cols,out _out_rows); return (_out_cols,_out_rows); } set { SetTableSize( value.Item1, value.Item2); } } /// Specifies the amount of columns the table will have when the fill direction is horizontal. If it is vertical, the amount of columns depends on the amount of cells added and . /// Amount of columns. public int TableColumns { get { return GetTableColumns(); } set { SetTableColumns(value); } } /// Specifies the amount of rows the table will have when the fill direction is vertical. If it is horizontal, the amount of rows depends on the amount of cells added and . /// Amount of rows. public int TableRows { get { return GetTableRows(); } set { SetTableRows(value); } } /// Alignment of the container within its bounds /// Horizontal alignment public (double, double) ContentAlign { get { double _out_align_horiz = default(double); double _out_align_vert = default(double); GetContentAlign(out _out_align_horiz,out _out_align_vert); return (_out_align_horiz,_out_align_vert); } set { SetContentAlign( value.Item1, value.Item2); } } /// Padding between items contained in this object. /// Horizontal padding public (double, double, bool) ContentPadding { get { double _out_pad_horiz = default(double); double _out_pad_vert = default(double); bool _out_scalable = default(bool); GetContentPadding(out _out_pad_horiz,out _out_pad_vert,out _out_scalable); return (_out_pad_horiz,_out_pad_vert,_out_scalable); } set { SetContentPadding( value.Item1, value.Item2, value.Item3); } } /// Control the direction of a given widget. /// Use this function to change how your widget is to be disposed: vertically or horizontally or inverted vertically or inverted horizontally. /// /// Mirroring as defined in can invert the horizontal direction: it is ltr by default, but becomes rtl if the object is mirrored. /// Direction of the widget. public Efl.Ui.LayoutOrientation Orientation { get { return GetOrientation(); } set { SetOrientation(value); } } private static IntPtr GetEflClassStatic() { return Efl.Ui.Table.efl_ui_table_class_get(); } /// Wrapper for native methods and virtual method delegates. /// For internal use by generated code only. public new class NativeMethods : Efl.Ui.Widget.NativeMethods { private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary); /// Gets the list of Eo operations to override. /// The list of Eo operations to be overload. public override System.Collections.Generic.List GetEoOps(System.Type type) { var descs = new System.Collections.Generic.List(); var methods = Efl.Eo.Globals.GetUserMethods(type); if (efl_ui_table_homogeneous_get_static_delegate == null) { efl_ui_table_homogeneous_get_static_delegate = new efl_ui_table_homogeneous_get_delegate(homogeneous_get); } if (methods.FirstOrDefault(m => m.Name == "GetHomogeneous") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_table_homogeneous_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_table_homogeneous_get_static_delegate) }); } if (efl_ui_table_homogeneous_set_static_delegate == null) { efl_ui_table_homogeneous_set_static_delegate = new efl_ui_table_homogeneous_set_delegate(homogeneous_set); } if (methods.FirstOrDefault(m => m.Name == "SetHomogeneous") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_table_homogeneous_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_table_homogeneous_set_static_delegate) }); } if (efl_content_iterate_static_delegate == null) { efl_content_iterate_static_delegate = new efl_content_iterate_delegate(content_iterate); } if (methods.FirstOrDefault(m => m.Name == "ContentIterate") != null) { 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) }); } if (efl_content_count_static_delegate == null) { efl_content_count_static_delegate = new efl_content_count_delegate(content_count); } if (methods.FirstOrDefault(m => m.Name == "ContentCount") != null) { 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) }); } if (efl_pack_clear_static_delegate == null) { efl_pack_clear_static_delegate = new efl_pack_clear_delegate(pack_clear); } if (methods.FirstOrDefault(m => m.Name == "ClearPack") != null) { 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) }); } if (efl_pack_unpack_all_static_delegate == null) { efl_pack_unpack_all_static_delegate = new efl_pack_unpack_all_delegate(unpack_all); } if (methods.FirstOrDefault(m => m.Name == "UnpackAll") != null) { 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) }); } if (efl_pack_unpack_static_delegate == null) { efl_pack_unpack_static_delegate = new efl_pack_unpack_delegate(unpack); } if (methods.FirstOrDefault(m => m.Name == "Unpack") != null) { 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) }); } if (efl_pack_static_delegate == null) { efl_pack_static_delegate = new efl_pack_delegate(pack); } if (methods.FirstOrDefault(m => m.Name == "Pack") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_static_delegate) }); } if (efl_pack_layout_request_static_delegate == null) { efl_pack_layout_request_static_delegate = new efl_pack_layout_request_delegate(layout_request); } if (methods.FirstOrDefault(m => m.Name == "LayoutRequest") != null) { 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) }); } if (efl_pack_layout_update_static_delegate == null) { efl_pack_layout_update_static_delegate = new efl_pack_layout_update_delegate(layout_update); } if (methods.FirstOrDefault(m => m.Name == "UpdateLayout") != null) { 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) }); } if (efl_pack_table_cell_column_get_static_delegate == null) { efl_pack_table_cell_column_get_static_delegate = new efl_pack_table_cell_column_get_delegate(table_cell_column_get); } if (methods.FirstOrDefault(m => m.Name == "GetTableCellColumn") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_cell_column_get"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_cell_column_get_static_delegate) }); } if (efl_pack_table_cell_column_set_static_delegate == null) { efl_pack_table_cell_column_set_static_delegate = new efl_pack_table_cell_column_set_delegate(table_cell_column_set); } if (methods.FirstOrDefault(m => m.Name == "SetTableCellColumn") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_cell_column_set"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_cell_column_set_static_delegate) }); } if (efl_pack_table_cell_row_get_static_delegate == null) { efl_pack_table_cell_row_get_static_delegate = new efl_pack_table_cell_row_get_delegate(table_cell_row_get); } if (methods.FirstOrDefault(m => m.Name == "GetTableCellRow") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_cell_row_get"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_cell_row_get_static_delegate) }); } if (efl_pack_table_cell_row_set_static_delegate == null) { efl_pack_table_cell_row_set_static_delegate = new efl_pack_table_cell_row_set_delegate(table_cell_row_set); } if (methods.FirstOrDefault(m => m.Name == "SetTableCellRow") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_cell_row_set"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_cell_row_set_static_delegate) }); } if (efl_pack_table_size_get_static_delegate == null) { efl_pack_table_size_get_static_delegate = new efl_pack_table_size_get_delegate(table_size_get); } if (methods.FirstOrDefault(m => m.Name == "GetTableSize") != null) { 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) }); } if (efl_pack_table_size_set_static_delegate == null) { efl_pack_table_size_set_static_delegate = new efl_pack_table_size_set_delegate(table_size_set); } if (methods.FirstOrDefault(m => m.Name == "SetTableSize") != null) { 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) }); } if (efl_pack_table_columns_get_static_delegate == null) { efl_pack_table_columns_get_static_delegate = new efl_pack_table_columns_get_delegate(table_columns_get); } if (methods.FirstOrDefault(m => m.Name == "GetTableColumns") != null) { 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) }); } if (efl_pack_table_columns_set_static_delegate == null) { efl_pack_table_columns_set_static_delegate = new efl_pack_table_columns_set_delegate(table_columns_set); } if (methods.FirstOrDefault(m => m.Name == "SetTableColumns") != null) { 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) }); } if (efl_pack_table_rows_get_static_delegate == null) { efl_pack_table_rows_get_static_delegate = new efl_pack_table_rows_get_delegate(table_rows_get); } if (methods.FirstOrDefault(m => m.Name == "GetTableRows") != null) { 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) }); } if (efl_pack_table_rows_set_static_delegate == null) { efl_pack_table_rows_set_static_delegate = new efl_pack_table_rows_set_delegate(table_rows_set); } if (methods.FirstOrDefault(m => m.Name == "SetTableRows") != null) { 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) }); } if (efl_pack_table_static_delegate == null) { efl_pack_table_static_delegate = new efl_pack_table_delegate(pack_table); } if (methods.FirstOrDefault(m => m.Name == "PackTable") != null) { 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) }); } if (efl_pack_table_contents_get_static_delegate == null) { efl_pack_table_contents_get_static_delegate = new efl_pack_table_contents_get_delegate(table_contents_get); } if (methods.FirstOrDefault(m => m.Name == "GetTableContents") != null) { 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) }); } if (efl_pack_table_content_get_static_delegate == null) { efl_pack_table_content_get_static_delegate = new efl_pack_table_content_get_delegate(table_content_get); } if (methods.FirstOrDefault(m => m.Name == "GetTableContent") != null) { 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) }); } if (efl_gfx_arrangement_content_align_get_static_delegate == null) { efl_gfx_arrangement_content_align_get_static_delegate = new efl_gfx_arrangement_content_align_get_delegate(content_align_get); } if (methods.FirstOrDefault(m => m.Name == "GetContentAlign") != null) { 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) }); } if (efl_gfx_arrangement_content_align_set_static_delegate == null) { efl_gfx_arrangement_content_align_set_static_delegate = new efl_gfx_arrangement_content_align_set_delegate(content_align_set); } if (methods.FirstOrDefault(m => m.Name == "SetContentAlign") != null) { 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) }); } if (efl_gfx_arrangement_content_padding_get_static_delegate == null) { efl_gfx_arrangement_content_padding_get_static_delegate = new efl_gfx_arrangement_content_padding_get_delegate(content_padding_get); } if (methods.FirstOrDefault(m => m.Name == "GetContentPadding") != null) { 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) }); } if (efl_gfx_arrangement_content_padding_set_static_delegate == null) { efl_gfx_arrangement_content_padding_set_static_delegate = new efl_gfx_arrangement_content_padding_set_delegate(content_padding_set); } if (methods.FirstOrDefault(m => m.Name == "SetContentPadding") != null) { 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) }); } if (efl_ui_layout_orientation_get_static_delegate == null) { efl_ui_layout_orientation_get_static_delegate = new efl_ui_layout_orientation_get_delegate(orientation_get); } if (methods.FirstOrDefault(m => m.Name == "GetOrientation") != null) { 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) }); } if (efl_ui_layout_orientation_set_static_delegate == null) { efl_ui_layout_orientation_set_static_delegate = new efl_ui_layout_orientation_set_delegate(orientation_set); } if (methods.FirstOrDefault(m => m.Name == "SetOrientation") != null) { 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) }); } descs.AddRange(base.GetEoOps(type)); return descs; } /// Returns the Eo class for the native methods of this class. /// The native class pointer. public override IntPtr GetEflClass() { return Efl.Ui.Table.efl_ui_table_class_get(); } #pragma warning disable CA1707, CS1591, SA1300, SA1600 private delegate void efl_ui_table_homogeneous_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] out bool homogeneoush, [MarshalAs(UnmanagedType.U1)] out bool homogeneousv); public delegate void efl_ui_table_homogeneous_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] out bool homogeneoush, [MarshalAs(UnmanagedType.U1)] out bool homogeneousv); public static Efl.Eo.FunctionWrapper efl_ui_table_homogeneous_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_table_homogeneous_get"); private static void homogeneous_get(System.IntPtr obj, System.IntPtr pd, out bool homogeneoush, out bool homogeneousv) { Eina.Log.Debug("function efl_ui_table_homogeneous_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { homogeneoush = default(bool); homogeneousv = default(bool); try { ((Table)ws.Target).GetHomogeneous(out homogeneoush, out homogeneousv); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_table_homogeneous_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out homogeneoush, out homogeneousv); } } private static efl_ui_table_homogeneous_get_delegate efl_ui_table_homogeneous_get_static_delegate; private delegate void efl_ui_table_homogeneous_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool homogeneoush, [MarshalAs(UnmanagedType.U1)] bool homogeneousv); public delegate void efl_ui_table_homogeneous_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool homogeneoush, [MarshalAs(UnmanagedType.U1)] bool homogeneousv); public static Efl.Eo.FunctionWrapper efl_ui_table_homogeneous_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_table_homogeneous_set"); private static void homogeneous_set(System.IntPtr obj, System.IntPtr pd, bool homogeneoush, bool homogeneousv) { Eina.Log.Debug("function efl_ui_table_homogeneous_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((Table)ws.Target).SetHomogeneous(homogeneoush, homogeneousv); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_table_homogeneous_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), homogeneoush, homogeneousv); } } private static efl_ui_table_homogeneous_set_delegate efl_ui_table_homogeneous_set_static_delegate; private delegate System.IntPtr efl_content_iterate_delegate(System.IntPtr obj, System.IntPtr pd); public delegate System.IntPtr efl_content_iterate_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_content_iterate_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_content_iterate"); private static System.IntPtr content_iterate(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_content_iterate was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { Eina.Iterator _ret_var = default(Eina.Iterator); try { _ret_var = ((Table)ws.Target).ContentIterate(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } _ret_var.Own = false; return _ret_var.Handle; } else { return efl_content_iterate_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_content_iterate_delegate efl_content_iterate_static_delegate; private delegate int efl_content_count_delegate(System.IntPtr obj, System.IntPtr pd); public delegate int efl_content_count_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_content_count_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_content_count"); private static int content_count(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_content_count was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { int _ret_var = default(int); try { _ret_var = ((Table)ws.Target).ContentCount(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_content_count_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_content_count_delegate efl_content_count_static_delegate; [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_pack_clear_delegate(System.IntPtr obj, System.IntPtr pd); [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_pack_clear_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_pack_clear_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_pack_clear"); private static bool pack_clear(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_pack_clear was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { bool _ret_var = default(bool); try { _ret_var = ((Table)ws.Target).ClearPack(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_pack_clear_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_pack_clear_delegate efl_pack_clear_static_delegate; [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_pack_unpack_all_delegate(System.IntPtr obj, System.IntPtr pd); [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_pack_unpack_all_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_pack_unpack_all_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_pack_unpack_all"); private static bool unpack_all(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_pack_unpack_all was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { bool _ret_var = default(bool); try { _ret_var = ((Table)ws.Target).UnpackAll(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_pack_unpack_all_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_pack_unpack_all_delegate efl_pack_unpack_all_static_delegate; [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_pack_unpack_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Gfx.IEntity subobj); [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_pack_unpack_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Gfx.IEntity subobj); public static Efl.Eo.FunctionWrapper efl_pack_unpack_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_pack_unpack"); private static bool unpack(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj) { Eina.Log.Debug("function efl_pack_unpack was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { bool _ret_var = default(bool); try { _ret_var = ((Table)ws.Target).Unpack(subobj); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_pack_unpack_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj); } } private static efl_pack_unpack_delegate efl_pack_unpack_static_delegate; [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_pack_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Gfx.IEntity subobj); [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_pack_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Gfx.IEntity subobj); public static Efl.Eo.FunctionWrapper efl_pack_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_pack"); private static bool pack(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj) { Eina.Log.Debug("function efl_pack was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { bool _ret_var = default(bool); try { _ret_var = ((Table)ws.Target).Pack(subobj); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_pack_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj); } } private static efl_pack_delegate efl_pack_static_delegate; private delegate void efl_pack_layout_request_delegate(System.IntPtr obj, System.IntPtr pd); public delegate void efl_pack_layout_request_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_pack_layout_request_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_pack_layout_request"); private static void layout_request(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_pack_layout_request was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((Table)ws.Target).LayoutRequest(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_pack_layout_request_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_pack_layout_request_delegate efl_pack_layout_request_static_delegate; private delegate void efl_pack_layout_update_delegate(System.IntPtr obj, System.IntPtr pd); public delegate void efl_pack_layout_update_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_pack_layout_update_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_pack_layout_update"); private static void layout_update(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_pack_layout_update was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((Table)ws.Target).UpdateLayout(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_pack_layout_update_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_pack_layout_update_delegate efl_pack_layout_update_static_delegate; [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_pack_table_cell_column_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Gfx.IEntity subobj, out int col, out int colspan); [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_pack_table_cell_column_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Gfx.IEntity subobj, out int col, out int colspan); public static Efl.Eo.FunctionWrapper efl_pack_table_cell_column_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_pack_table_cell_column_get"); private static bool table_cell_column_get(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, out int col, out int colspan) { Eina.Log.Debug("function efl_pack_table_cell_column_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { col = default(int); colspan = default(int); bool _ret_var = default(bool); try { _ret_var = ((Table)ws.Target).GetTableCellColumn(subobj, out col, out colspan); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_pack_table_cell_column_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, out col, out colspan); } } private static efl_pack_table_cell_column_get_delegate efl_pack_table_cell_column_get_static_delegate; private delegate void efl_pack_table_cell_column_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Gfx.IEntity subobj, int col, int colspan); public delegate void efl_pack_table_cell_column_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Gfx.IEntity subobj, int col, int colspan); public static Efl.Eo.FunctionWrapper efl_pack_table_cell_column_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_pack_table_cell_column_set"); private static void table_cell_column_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, int col, int colspan) { Eina.Log.Debug("function efl_pack_table_cell_column_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((Table)ws.Target).SetTableCellColumn(subobj, col, colspan); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_pack_table_cell_column_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, col, colspan); } } private static efl_pack_table_cell_column_set_delegate efl_pack_table_cell_column_set_static_delegate; [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_pack_table_cell_row_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Gfx.IEntity subobj, out int row, out int rowspan); [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_pack_table_cell_row_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Gfx.IEntity subobj, out int row, out int rowspan); public static Efl.Eo.FunctionWrapper efl_pack_table_cell_row_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_pack_table_cell_row_get"); private static bool table_cell_row_get(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, out int row, out int rowspan) { Eina.Log.Debug("function efl_pack_table_cell_row_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { row = default(int); rowspan = default(int); bool _ret_var = default(bool); try { _ret_var = ((Table)ws.Target).GetTableCellRow(subobj, out row, out rowspan); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_pack_table_cell_row_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, out row, out rowspan); } } private static efl_pack_table_cell_row_get_delegate efl_pack_table_cell_row_get_static_delegate; private delegate void efl_pack_table_cell_row_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Gfx.IEntity subobj, int row, int rowspan); public delegate void efl_pack_table_cell_row_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Gfx.IEntity subobj, int row, int rowspan); public static Efl.Eo.FunctionWrapper efl_pack_table_cell_row_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_pack_table_cell_row_set"); private static void table_cell_row_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, int row, int rowspan) { Eina.Log.Debug("function efl_pack_table_cell_row_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((Table)ws.Target).SetTableCellRow(subobj, row, rowspan); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_pack_table_cell_row_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, row, rowspan); } } private static efl_pack_table_cell_row_set_delegate efl_pack_table_cell_row_set_static_delegate; private delegate void efl_pack_table_size_get_delegate(System.IntPtr obj, System.IntPtr pd, out int cols, out int rows); public delegate void efl_pack_table_size_get_api_delegate(System.IntPtr obj, out int cols, out int rows); public static Efl.Eo.FunctionWrapper efl_pack_table_size_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_pack_table_size_get"); private static void table_size_get(System.IntPtr obj, System.IntPtr pd, out int cols, out int rows) { Eina.Log.Debug("function efl_pack_table_size_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { cols = default(int); rows = default(int); try { ((Table)ws.Target).GetTableSize(out cols, out rows); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { 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); } } private static efl_pack_table_size_get_delegate efl_pack_table_size_get_static_delegate; private delegate void efl_pack_table_size_set_delegate(System.IntPtr obj, System.IntPtr pd, int cols, int rows); public delegate void efl_pack_table_size_set_api_delegate(System.IntPtr obj, int cols, int rows); public static Efl.Eo.FunctionWrapper efl_pack_table_size_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_pack_table_size_set"); private static void table_size_set(System.IntPtr obj, System.IntPtr pd, int cols, int rows) { Eina.Log.Debug("function efl_pack_table_size_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((Table)ws.Target).SetTableSize(cols, rows); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_pack_table_size_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cols, rows); } } private static efl_pack_table_size_set_delegate efl_pack_table_size_set_static_delegate; private delegate int efl_pack_table_columns_get_delegate(System.IntPtr obj, System.IntPtr pd); public delegate int efl_pack_table_columns_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_pack_table_columns_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_pack_table_columns_get"); private static int table_columns_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_pack_table_columns_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { int _ret_var = default(int); try { _ret_var = ((Table)ws.Target).GetTableColumns(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_pack_table_columns_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_pack_table_columns_get_delegate efl_pack_table_columns_get_static_delegate; private delegate void efl_pack_table_columns_set_delegate(System.IntPtr obj, System.IntPtr pd, int cols); public delegate void efl_pack_table_columns_set_api_delegate(System.IntPtr obj, int cols); public static Efl.Eo.FunctionWrapper efl_pack_table_columns_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_pack_table_columns_set"); private static void table_columns_set(System.IntPtr obj, System.IntPtr pd, int cols) { Eina.Log.Debug("function efl_pack_table_columns_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((Table)ws.Target).SetTableColumns(cols); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_pack_table_columns_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cols); } } private static efl_pack_table_columns_set_delegate efl_pack_table_columns_set_static_delegate; private delegate int efl_pack_table_rows_get_delegate(System.IntPtr obj, System.IntPtr pd); public delegate int efl_pack_table_rows_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_pack_table_rows_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_pack_table_rows_get"); private static int table_rows_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_pack_table_rows_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { int _ret_var = default(int); try { _ret_var = ((Table)ws.Target).GetTableRows(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_pack_table_rows_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_pack_table_rows_get_delegate efl_pack_table_rows_get_static_delegate; private delegate void efl_pack_table_rows_set_delegate(System.IntPtr obj, System.IntPtr pd, int rows); public delegate void efl_pack_table_rows_set_api_delegate(System.IntPtr obj, int rows); public static Efl.Eo.FunctionWrapper efl_pack_table_rows_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_pack_table_rows_set"); private static void table_rows_set(System.IntPtr obj, System.IntPtr pd, int rows) { Eina.Log.Debug("function efl_pack_table_rows_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((Table)ws.Target).SetTableRows(rows); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_pack_table_rows_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), rows); } } private static efl_pack_table_rows_set_delegate efl_pack_table_rows_set_static_delegate; [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_pack_table_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Gfx.IEntity subobj, int col, int row, int colspan, int rowspan); [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_pack_table_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Gfx.IEntity subobj, int col, int row, int colspan, int rowspan); public static Efl.Eo.FunctionWrapper efl_pack_table_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_pack_table"); private static bool pack_table(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, int col, int row, int colspan, int rowspan) { Eina.Log.Debug("function efl_pack_table was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { bool _ret_var = default(bool); try { _ret_var = ((Table)ws.Target).PackTable(subobj, col, row, colspan, rowspan); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { 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); } } private static efl_pack_table_delegate efl_pack_table_static_delegate; 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); public delegate System.IntPtr efl_pack_table_contents_get_api_delegate(System.IntPtr obj, int col, int row, [MarshalAs(UnmanagedType.U1)] bool below); public static Efl.Eo.FunctionWrapper efl_pack_table_contents_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_pack_table_contents_get"); private static System.IntPtr table_contents_get(System.IntPtr obj, System.IntPtr pd, int col, int row, bool below) { Eina.Log.Debug("function efl_pack_table_contents_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { Eina.Iterator _ret_var = default(Eina.Iterator); try { _ret_var = ((Table)ws.Target).GetTableContents(col, row, below); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } _ret_var.Own = false; return _ret_var.Handle; } else { 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); } } private static efl_pack_table_contents_get_delegate efl_pack_table_contents_get_static_delegate; [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] private delegate Efl.Gfx.IEntity efl_pack_table_content_get_delegate(System.IntPtr obj, System.IntPtr pd, int col, int row); [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] public delegate Efl.Gfx.IEntity efl_pack_table_content_get_api_delegate(System.IntPtr obj, int col, int row); public static Efl.Eo.FunctionWrapper efl_pack_table_content_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_pack_table_content_get"); private static Efl.Gfx.IEntity table_content_get(System.IntPtr obj, System.IntPtr pd, int col, int row) { Eina.Log.Debug("function efl_pack_table_content_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity); try { _ret_var = ((Table)ws.Target).GetTableContent(col, row); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_pack_table_content_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), col, row); } } private static efl_pack_table_content_get_delegate efl_pack_table_content_get_static_delegate; private delegate void efl_gfx_arrangement_content_align_get_delegate(System.IntPtr obj, System.IntPtr pd, out double align_horiz, out double align_vert); public delegate void efl_gfx_arrangement_content_align_get_api_delegate(System.IntPtr obj, out double align_horiz, out double align_vert); public static Efl.Eo.FunctionWrapper efl_gfx_arrangement_content_align_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_gfx_arrangement_content_align_get"); private static void content_align_get(System.IntPtr obj, System.IntPtr pd, out double align_horiz, out double align_vert) { Eina.Log.Debug("function efl_gfx_arrangement_content_align_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { align_horiz = default(double); align_vert = default(double); try { ((Table)ws.Target).GetContentAlign(out align_horiz, out align_vert); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { 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); } } private static efl_gfx_arrangement_content_align_get_delegate efl_gfx_arrangement_content_align_get_static_delegate; private delegate void efl_gfx_arrangement_content_align_set_delegate(System.IntPtr obj, System.IntPtr pd, double align_horiz, double align_vert); public delegate void efl_gfx_arrangement_content_align_set_api_delegate(System.IntPtr obj, double align_horiz, double align_vert); public static Efl.Eo.FunctionWrapper efl_gfx_arrangement_content_align_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_gfx_arrangement_content_align_set"); private static void content_align_set(System.IntPtr obj, System.IntPtr pd, double align_horiz, double align_vert) { Eina.Log.Debug("function efl_gfx_arrangement_content_align_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((Table)ws.Target).SetContentAlign(align_horiz, align_vert); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { 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); } } private static efl_gfx_arrangement_content_align_set_delegate efl_gfx_arrangement_content_align_set_static_delegate; 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); 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); public static Efl.Eo.FunctionWrapper efl_gfx_arrangement_content_padding_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_gfx_arrangement_content_padding_get"); private static void content_padding_get(System.IntPtr obj, System.IntPtr pd, out double pad_horiz, out double pad_vert, out bool scalable) { Eina.Log.Debug("function efl_gfx_arrangement_content_padding_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { pad_horiz = default(double); pad_vert = default(double); scalable = default(bool); try { ((Table)ws.Target).GetContentPadding(out pad_horiz, out pad_vert, out scalable); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { 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); } } private static efl_gfx_arrangement_content_padding_get_delegate efl_gfx_arrangement_content_padding_get_static_delegate; 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); 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); public static Efl.Eo.FunctionWrapper efl_gfx_arrangement_content_padding_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_gfx_arrangement_content_padding_set"); private static void content_padding_set(System.IntPtr obj, System.IntPtr pd, double pad_horiz, double pad_vert, bool scalable) { Eina.Log.Debug("function efl_gfx_arrangement_content_padding_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((Table)ws.Target).SetContentPadding(pad_horiz, pad_vert, scalable); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { 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); } } private static efl_gfx_arrangement_content_padding_set_delegate efl_gfx_arrangement_content_padding_set_static_delegate; private delegate Efl.Ui.LayoutOrientation efl_ui_layout_orientation_get_delegate(System.IntPtr obj, System.IntPtr pd); public delegate Efl.Ui.LayoutOrientation efl_ui_layout_orientation_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_ui_layout_orientation_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_layout_orientation_get"); private static Efl.Ui.LayoutOrientation orientation_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_layout_orientation_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { Efl.Ui.LayoutOrientation _ret_var = default(Efl.Ui.LayoutOrientation); try { _ret_var = ((Table)ws.Target).GetOrientation(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_ui_layout_orientation_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_ui_layout_orientation_get_delegate efl_ui_layout_orientation_get_static_delegate; private delegate void efl_ui_layout_orientation_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.LayoutOrientation dir); public delegate void efl_ui_layout_orientation_set_api_delegate(System.IntPtr obj, Efl.Ui.LayoutOrientation dir); public static Efl.Eo.FunctionWrapper efl_ui_layout_orientation_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_layout_orientation_set"); private static void orientation_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.LayoutOrientation dir) { Eina.Log.Debug("function efl_ui_layout_orientation_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((Table)ws.Target).SetOrientation(dir); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_layout_orientation_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), dir); } } private static efl_ui_layout_orientation_set_delegate efl_ui_layout_orientation_set_static_delegate; #pragma warning restore CA1707, CS1591, SA1300, SA1600 } } } } #if EFL_BETA #pragma warning disable CS1591 public static class Efl_UiTable_ExtensionMethods { public static Efl.BindableProperty TableColumns(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.Ui.Table { return new Efl.BindableProperty("table_columns", fac); } public static Efl.BindableProperty TableRows(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.Ui.Table { return new Efl.BindableProperty("table_rows", fac); } public static Efl.BindableProperty Orientation(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.Ui.Table { return new Efl.BindableProperty("orientation", fac); } } #pragma warning restore CS1591 #endif