#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 { ///Event argument wrapper for event . public class ListViewItemRealizedEvt_Args : EventArgs { ///Actual event payload. public Efl.Ui.ListViewItemEvent arg { get; set; } } ///Event argument wrapper for event . public class ListViewItemUnrealizedEvt_Args : EventArgs { ///Actual event payload. public Efl.Ui.ListViewItemEvent arg { get; set; } } ///Event argument wrapper for event . public class ListViewItemFocusedEvt_Args : EventArgs { ///Actual event payload. public Efl.Ui.ListViewItemEvent arg { get; set; } } ///Event argument wrapper for event . public class ListViewItemUnfocusedEvt_Args : EventArgs { ///Actual event payload. public Efl.Ui.ListViewItemEvent arg { get; set; } } ///Event argument wrapper for event . public class ListViewItemHighlightedEvt_Args : EventArgs { ///Actual event payload. public Efl.Ui.ListViewItemEvent arg { get; set; } } ///Event argument wrapper for event . public class ListViewItemUnhighlightedEvt_Args : EventArgs { ///Actual event payload. public Efl.Ui.ListViewItemEvent arg { get; set; } } [Efl.Ui.ListView.NativeMethods] public class ListView : Efl.Ui.LayoutBase, Efl.Eo.IWrapper,Efl.Access.ISelection,Efl.Ui.IClickable,Efl.Ui.IListViewModel,Efl.Ui.IScrollable,Efl.Ui.IScrollableInteractive,Efl.Ui.IScrollbar,Efl.Ui.ISelectable,Efl.Ui.IWidgetFocusManager,Efl.Ui.Focus.IComposition,Efl.Ui.Focus.IManager,Efl.Ui.Focus.IManagerSub { ///Pointer to the native class description. public override System.IntPtr NativeClass { get { if (((object)this).GetType() == typeof(ListView)) { 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_list_view_class_get(); /// Initializes a new instance of the class. /// Parent instance. /// The widget style to use. See public ListView(Efl.Object parent , System.String style = null) : base(efl_ui_list_view_class_get(), typeof(ListView), parent) { if (Efl.Eo.Globals.ParamHelperCheck(style)) { SetStyle(Efl.Eo.Globals.GetParamHelper(style)); } FinishInstantiation(); } /// 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 ListView(System.IntPtr raw) : base(raw) { } /// 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 managed type of the public constructor that originated this call. /// The Efl.Object parent of this instance. protected ListView(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent) { } /// Verifies if the given object is equal to this one. /// The object to compare to. /// True if both objects point to the same native object. public override bool Equals(object instance) { var other = instance as Efl.Object; if (other == null) { return false; } return this.NativeHandle == other.NativeHandle; } /// Gets the hash code for this object based on the native pointer it points to. /// The value of the pointer, to be used as the hash code of this object. public override int GetHashCode() { return this.NativeHandle.ToInt32(); } /// Turns the native pointer into a string representation. /// A string with the type and the native pointer for this object. public override String ToString() { return $"{this.GetType().Name}@[{this.NativeHandle.ToInt32():x}]"; } public event EventHandler ItemRealizedEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; if (obj != null) { Efl.Ui.ListViewItemRealizedEvt_Args args = new Efl.Ui.ListViewItemRealizedEvt_Args(); args.arg = evt.Info; try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_UI_LIST_VIEW_EVENT_ITEM_REALIZED"; AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_LIST_VIEW_EVENT_ITEM_REALIZED"; RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } ///Method to raise event ItemRealizedEvt. public void OnItemRealizedEvt(Efl.Ui.ListViewItemRealizedEvt_Args e) { var key = "_EFL_UI_LIST_VIEW_EVENT_ITEM_REALIZED"; 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 = Marshal.AllocHGlobal(Marshal.SizeOf(e.arg)); try { Marshal.StructureToPtr(e.arg, info, false); Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info); } finally { Marshal.FreeHGlobal(info); } } public event EventHandler ItemUnrealizedEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; if (obj != null) { Efl.Ui.ListViewItemUnrealizedEvt_Args args = new Efl.Ui.ListViewItemUnrealizedEvt_Args(); args.arg = evt.Info; try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_UI_LIST_VIEW_EVENT_ITEM_UNREALIZED"; AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_LIST_VIEW_EVENT_ITEM_UNREALIZED"; RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } ///Method to raise event ItemUnrealizedEvt. public void OnItemUnrealizedEvt(Efl.Ui.ListViewItemUnrealizedEvt_Args e) { var key = "_EFL_UI_LIST_VIEW_EVENT_ITEM_UNREALIZED"; 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 = Marshal.AllocHGlobal(Marshal.SizeOf(e.arg)); try { Marshal.StructureToPtr(e.arg, info, false); Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info); } finally { Marshal.FreeHGlobal(info); } } public event EventHandler ItemFocusedEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; if (obj != null) { Efl.Ui.ListViewItemFocusedEvt_Args args = new Efl.Ui.ListViewItemFocusedEvt_Args(); args.arg = evt.Info; try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_UI_LIST_VIEW_EVENT_ITEM_FOCUSED"; AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_LIST_VIEW_EVENT_ITEM_FOCUSED"; RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } ///Method to raise event ItemFocusedEvt. public void OnItemFocusedEvt(Efl.Ui.ListViewItemFocusedEvt_Args e) { var key = "_EFL_UI_LIST_VIEW_EVENT_ITEM_FOCUSED"; 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 = Marshal.AllocHGlobal(Marshal.SizeOf(e.arg)); try { Marshal.StructureToPtr(e.arg, info, false); Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info); } finally { Marshal.FreeHGlobal(info); } } public event EventHandler ItemUnfocusedEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; if (obj != null) { Efl.Ui.ListViewItemUnfocusedEvt_Args args = new Efl.Ui.ListViewItemUnfocusedEvt_Args(); args.arg = evt.Info; try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_UI_LIST_VIEW_EVENT_ITEM_UNFOCUSED"; AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_LIST_VIEW_EVENT_ITEM_UNFOCUSED"; RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } ///Method to raise event ItemUnfocusedEvt. public void OnItemUnfocusedEvt(Efl.Ui.ListViewItemUnfocusedEvt_Args e) { var key = "_EFL_UI_LIST_VIEW_EVENT_ITEM_UNFOCUSED"; 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 = Marshal.AllocHGlobal(Marshal.SizeOf(e.arg)); try { Marshal.StructureToPtr(e.arg, info, false); Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info); } finally { Marshal.FreeHGlobal(info); } } public event EventHandler ItemHighlightedEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; if (obj != null) { Efl.Ui.ListViewItemHighlightedEvt_Args args = new Efl.Ui.ListViewItemHighlightedEvt_Args(); args.arg = evt.Info; try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_UI_LIST_VIEW_EVENT_ITEM_HIGHLIGHTED"; AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_LIST_VIEW_EVENT_ITEM_HIGHLIGHTED"; RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } ///Method to raise event ItemHighlightedEvt. public void OnItemHighlightedEvt(Efl.Ui.ListViewItemHighlightedEvt_Args e) { var key = "_EFL_UI_LIST_VIEW_EVENT_ITEM_HIGHLIGHTED"; 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 = Marshal.AllocHGlobal(Marshal.SizeOf(e.arg)); try { Marshal.StructureToPtr(e.arg, info, false); Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info); } finally { Marshal.FreeHGlobal(info); } } public event EventHandler ItemUnhighlightedEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; if (obj != null) { Efl.Ui.ListViewItemUnhighlightedEvt_Args args = new Efl.Ui.ListViewItemUnhighlightedEvt_Args(); args.arg = evt.Info; try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_UI_LIST_VIEW_EVENT_ITEM_UNHIGHLIGHTED"; AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_LIST_VIEW_EVENT_ITEM_UNHIGHLIGHTED"; RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } ///Method to raise event ItemUnhighlightedEvt. public void OnItemUnhighlightedEvt(Efl.Ui.ListViewItemUnhighlightedEvt_Args e) { var key = "_EFL_UI_LIST_VIEW_EVENT_ITEM_UNHIGHLIGHTED"; 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 = Marshal.AllocHGlobal(Marshal.SizeOf(e.arg)); try { Marshal.StructureToPtr(e.arg, info, false); Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info); } finally { Marshal.FreeHGlobal(info); } } /// Called when selection has been changed. public event EventHandler AccessSelectionChangedEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; 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_ACCESS_SELECTION_EVENT_ACCESS_SELECTION_CHANGED"; AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_ACCESS_SELECTION_EVENT_ACCESS_SELECTION_CHANGED"; RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } ///Method to raise event AccessSelectionChangedEvt. public void OnAccessSelectionChangedEvt(EventArgs e) { var key = "_EFL_ACCESS_SELECTION_EVENT_ACCESS_SELECTION_CHANGED"; 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); } /// Called when object is clicked public event EventHandler ClickedEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; 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_UI_EVENT_CLICKED"; AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_EVENT_CLICKED"; RemoveNativeEventHandler(efl.Libs.Efl, key, value); } } } ///Method to raise event ClickedEvt. public void OnClickedEvt(EventArgs e) { var key = "_EFL_UI_EVENT_CLICKED"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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); } /// Called when object receives a double click public event EventHandler ClickedDoubleEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; 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_UI_EVENT_CLICKED_DOUBLE"; AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_EVENT_CLICKED_DOUBLE"; RemoveNativeEventHandler(efl.Libs.Efl, key, value); } } } ///Method to raise event ClickedDoubleEvt. public void OnClickedDoubleEvt(EventArgs e) { var key = "_EFL_UI_EVENT_CLICKED_DOUBLE"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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); } /// Called when object receives a triple click public event EventHandler ClickedTripleEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; 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_UI_EVENT_CLICKED_TRIPLE"; AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_EVENT_CLICKED_TRIPLE"; RemoveNativeEventHandler(efl.Libs.Efl, key, value); } } } ///Method to raise event ClickedTripleEvt. public void OnClickedTripleEvt(EventArgs e) { var key = "_EFL_UI_EVENT_CLICKED_TRIPLE"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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); } /// Called when object receives a right click public event EventHandler ClickedRightEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; if (obj != null) { Efl.Ui.IClickableClickedRightEvt_Args args = new Efl.Ui.IClickableClickedRightEvt_Args(); args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Object); try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_UI_EVENT_CLICKED_RIGHT"; AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_EVENT_CLICKED_RIGHT"; RemoveNativeEventHandler(efl.Libs.Efl, key, value); } } } ///Method to raise event ClickedRightEvt. public void OnClickedRightEvt(Efl.Ui.IClickableClickedRightEvt_Args e) { var key = "_EFL_UI_EVENT_CLICKED_RIGHT"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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); } /// Called when the object is pressed public event EventHandler PressedEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; if (obj != null) { Efl.Ui.IClickablePressedEvt_Args args = new Efl.Ui.IClickablePressedEvt_Args(); args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Object); try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_UI_EVENT_PRESSED"; AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_EVENT_PRESSED"; RemoveNativeEventHandler(efl.Libs.Efl, key, value); } } } ///Method to raise event PressedEvt. public void OnPressedEvt(Efl.Ui.IClickablePressedEvt_Args e) { var key = "_EFL_UI_EVENT_PRESSED"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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); } /// Called when the object is no longer pressed public event EventHandler UnpressedEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; if (obj != null) { Efl.Ui.IClickableUnpressedEvt_Args args = new Efl.Ui.IClickableUnpressedEvt_Args(); args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Object); try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_UI_EVENT_UNPRESSED"; AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_EVENT_UNPRESSED"; RemoveNativeEventHandler(efl.Libs.Efl, key, value); } } } ///Method to raise event UnpressedEvt. public void OnUnpressedEvt(Efl.Ui.IClickableUnpressedEvt_Args e) { var key = "_EFL_UI_EVENT_UNPRESSED"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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); } /// Called when the object receives a long press public event EventHandler LongpressedEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; if (obj != null) { Efl.Ui.IClickableLongpressedEvt_Args args = new Efl.Ui.IClickableLongpressedEvt_Args(); args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Object); try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_UI_EVENT_LONGPRESSED"; AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_EVENT_LONGPRESSED"; RemoveNativeEventHandler(efl.Libs.Efl, key, value); } } } ///Method to raise event LongpressedEvt. public void OnLongpressedEvt(Efl.Ui.IClickableLongpressedEvt_Args e) { var key = "_EFL_UI_EVENT_LONGPRESSED"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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); } /// Called when the object receives repeated presses/clicks public event EventHandler RepeatedEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; 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_UI_EVENT_REPEATED"; AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_EVENT_REPEATED"; RemoveNativeEventHandler(efl.Libs.Efl, key, value); } } } ///Method to raise event RepeatedEvt. public void OnRepeatedEvt(EventArgs e) { var key = "_EFL_UI_EVENT_REPEATED"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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); } /// Called when scroll operation starts public event EventHandler ScrollStartEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; 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_UI_EVENT_SCROLL_START"; AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_START"; RemoveNativeEventHandler(efl.Libs.Efl, key, value); } } } ///Method to raise event ScrollStartEvt. public void OnScrollStartEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_START"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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); } /// Called when scrolling public event EventHandler ScrollEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; 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_UI_EVENT_SCROLL"; AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL"; RemoveNativeEventHandler(efl.Libs.Efl, key, value); } } } ///Method to raise event ScrollEvt. public void OnScrollEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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); } /// Called when scroll operation stops public event EventHandler ScrollStopEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; 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_UI_EVENT_SCROLL_STOP"; AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_STOP"; RemoveNativeEventHandler(efl.Libs.Efl, key, value); } } } ///Method to raise event ScrollStopEvt. public void OnScrollStopEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_STOP"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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); } /// Called when scrolling upwards public event EventHandler ScrollUpEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; 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_UI_EVENT_SCROLL_UP"; AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_UP"; RemoveNativeEventHandler(efl.Libs.Efl, key, value); } } } ///Method to raise event ScrollUpEvt. public void OnScrollUpEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_UP"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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); } /// Called when scrolling downwards public event EventHandler ScrollDownEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; 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_UI_EVENT_SCROLL_DOWN"; AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_DOWN"; RemoveNativeEventHandler(efl.Libs.Efl, key, value); } } } ///Method to raise event ScrollDownEvt. public void OnScrollDownEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_DOWN"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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); } /// Called when scrolling left public event EventHandler ScrollLeftEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; 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_UI_EVENT_SCROLL_LEFT"; AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_LEFT"; RemoveNativeEventHandler(efl.Libs.Efl, key, value); } } } ///Method to raise event ScrollLeftEvt. public void OnScrollLeftEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_LEFT"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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); } /// Called when scrolling right public event EventHandler ScrollRightEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; 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_UI_EVENT_SCROLL_RIGHT"; AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_RIGHT"; RemoveNativeEventHandler(efl.Libs.Efl, key, value); } } } ///Method to raise event ScrollRightEvt. public void OnScrollRightEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_RIGHT"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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); } /// Called when hitting the top edge public event EventHandler EdgeUpEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; 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_UI_EVENT_EDGE_UP"; AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_EVENT_EDGE_UP"; RemoveNativeEventHandler(efl.Libs.Efl, key, value); } } } ///Method to raise event EdgeUpEvt. public void OnEdgeUpEvt(EventArgs e) { var key = "_EFL_UI_EVENT_EDGE_UP"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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); } /// Called when hitting the bottom edge public event EventHandler EdgeDownEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; 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_UI_EVENT_EDGE_DOWN"; AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_EVENT_EDGE_DOWN"; RemoveNativeEventHandler(efl.Libs.Efl, key, value); } } } ///Method to raise event EdgeDownEvt. public void OnEdgeDownEvt(EventArgs e) { var key = "_EFL_UI_EVENT_EDGE_DOWN"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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); } /// Called when hitting the left edge public event EventHandler EdgeLeftEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; 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_UI_EVENT_EDGE_LEFT"; AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_EVENT_EDGE_LEFT"; RemoveNativeEventHandler(efl.Libs.Efl, key, value); } } } ///Method to raise event EdgeLeftEvt. public void OnEdgeLeftEvt(EventArgs e) { var key = "_EFL_UI_EVENT_EDGE_LEFT"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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); } /// Called when hitting the right edge public event EventHandler EdgeRightEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; 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_UI_EVENT_EDGE_RIGHT"; AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_EVENT_EDGE_RIGHT"; RemoveNativeEventHandler(efl.Libs.Efl, key, value); } } } ///Method to raise event EdgeRightEvt. public void OnEdgeRightEvt(EventArgs e) { var key = "_EFL_UI_EVENT_EDGE_RIGHT"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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); } /// Called when scroll animation starts public event EventHandler ScrollAnimStartEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; 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_UI_EVENT_SCROLL_ANIM_START"; AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_ANIM_START"; RemoveNativeEventHandler(efl.Libs.Efl, key, value); } } } ///Method to raise event ScrollAnimStartEvt. public void OnScrollAnimStartEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_ANIM_START"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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); } /// Called when scroll animation stopps public event EventHandler ScrollAnimStopEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; 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_UI_EVENT_SCROLL_ANIM_STOP"; AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP"; RemoveNativeEventHandler(efl.Libs.Efl, key, value); } } } ///Method to raise event ScrollAnimStopEvt. public void OnScrollAnimStopEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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); } /// Called when scroll drag starts public event EventHandler ScrollDragStartEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; 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_UI_EVENT_SCROLL_DRAG_START"; AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_DRAG_START"; RemoveNativeEventHandler(efl.Libs.Efl, key, value); } } } ///Method to raise event ScrollDragStartEvt. public void OnScrollDragStartEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_DRAG_START"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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); } /// Called when scroll drag stops public event EventHandler ScrollDragStopEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; 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_UI_EVENT_SCROLL_DRAG_STOP"; AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP"; RemoveNativeEventHandler(efl.Libs.Efl, key, value); } } } ///Method to raise event ScrollDragStopEvt. public void OnScrollDragStopEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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); } /// Called when bar is pressed public event EventHandler BarPressEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; if (obj != null) { Efl.Ui.IScrollbarBarPressEvt_Args args = new Efl.Ui.IScrollbarBarPressEvt_Args(); args.arg = default(Efl.Ui.ScrollbarDirection); try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS"; AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS"; RemoveNativeEventHandler(efl.Libs.Efl, key, value); } } } ///Method to raise event BarPressEvt. public void OnBarPressEvt(Efl.Ui.IScrollbarBarPressEvt_Args e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); return; } IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg); try { Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info); } finally { Marshal.FreeHGlobal(info); } } /// Called when bar is unpressed public event EventHandler BarUnpressEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; if (obj != null) { Efl.Ui.IScrollbarBarUnpressEvt_Args args = new Efl.Ui.IScrollbarBarUnpressEvt_Args(); args.arg = default(Efl.Ui.ScrollbarDirection); try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS"; AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS"; RemoveNativeEventHandler(efl.Libs.Efl, key, value); } } } ///Method to raise event BarUnpressEvt. public void OnBarUnpressEvt(Efl.Ui.IScrollbarBarUnpressEvt_Args e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); return; } IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg); try { Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info); } finally { Marshal.FreeHGlobal(info); } } /// Called when bar is dragged public event EventHandler BarDragEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; if (obj != null) { Efl.Ui.IScrollbarBarDragEvt_Args args = new Efl.Ui.IScrollbarBarDragEvt_Args(); args.arg = default(Efl.Ui.ScrollbarDirection); try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG"; AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG"; RemoveNativeEventHandler(efl.Libs.Efl, key, value); } } } ///Method to raise event BarDragEvt. public void OnBarDragEvt(Efl.Ui.IScrollbarBarDragEvt_Args e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); return; } IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg); try { Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info); } finally { Marshal.FreeHGlobal(info); } } /// Called when bar size is changed public event EventHandler BarSizeChangedEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; 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_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED"; AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED"; RemoveNativeEventHandler(efl.Libs.Efl, key, value); } } } ///Method to raise event BarSizeChangedEvt. public void OnBarSizeChangedEvt(EventArgs e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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); } /// Called when bar position is changed public event EventHandler BarPosChangedEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; 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_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED"; AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED"; RemoveNativeEventHandler(efl.Libs.Efl, key, value); } } } ///Method to raise event BarPosChangedEvt. public void OnBarPosChangedEvt(EventArgs e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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); } /// Callend when bar is shown public event EventHandler BarShowEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; if (obj != null) { Efl.Ui.IScrollbarBarShowEvt_Args args = new Efl.Ui.IScrollbarBarShowEvt_Args(); args.arg = default(Efl.Ui.ScrollbarDirection); try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW"; AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW"; RemoveNativeEventHandler(efl.Libs.Efl, key, value); } } } ///Method to raise event BarShowEvt. public void OnBarShowEvt(Efl.Ui.IScrollbarBarShowEvt_Args e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); return; } IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg); try { Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info); } finally { Marshal.FreeHGlobal(info); } } /// Called when bar is hidden public event EventHandler BarHideEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; if (obj != null) { Efl.Ui.IScrollbarBarHideEvt_Args args = new Efl.Ui.IScrollbarBarHideEvt_Args(); args.arg = default(Efl.Ui.ScrollbarDirection); try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE"; AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE"; RemoveNativeEventHandler(efl.Libs.Efl, key, value); } } } ///Method to raise event BarHideEvt. public void OnBarHideEvt(Efl.Ui.IScrollbarBarHideEvt_Args e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); return; } IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg); try { Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info); } finally { Marshal.FreeHGlobal(info); } } /// Called when selected public event EventHandler ItemSelectedEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; if (obj != null) { Efl.Ui.ISelectableItemSelectedEvt_Args args = new Efl.Ui.ISelectableItemSelectedEvt_Args(); args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Object); try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_UI_EVENT_ITEM_SELECTED"; AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_EVENT_ITEM_SELECTED"; RemoveNativeEventHandler(efl.Libs.Efl, key, value); } } } ///Method to raise event ItemSelectedEvt. public void OnItemSelectedEvt(Efl.Ui.ISelectableItemSelectedEvt_Args e) { var key = "_EFL_UI_EVENT_ITEM_SELECTED"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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); } /// Called when no longer selected public event EventHandler ItemUnselectedEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; if (obj != null) { Efl.Ui.ISelectableItemUnselectedEvt_Args args = new Efl.Ui.ISelectableItemUnselectedEvt_Args(); args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Object); try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_UI_EVENT_ITEM_UNSELECTED"; AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_EVENT_ITEM_UNSELECTED"; RemoveNativeEventHandler(efl.Libs.Efl, key, value); } } } ///Method to raise event ItemUnselectedEvt. public void OnItemUnselectedEvt(Efl.Ui.ISelectableItemUnselectedEvt_Args e) { var key = "_EFL_UI_EVENT_ITEM_UNSELECTED"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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); } /// Called when selection is pasted public event EventHandler SelectionPasteEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; 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_UI_EVENT_SELECTION_PASTE"; AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_EVENT_SELECTION_PASTE"; RemoveNativeEventHandler(efl.Libs.Efl, key, value); } } } ///Method to raise event SelectionPasteEvt. public void OnSelectionPasteEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SELECTION_PASTE"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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); } /// Called when selection is copied public event EventHandler SelectionCopyEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; 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_UI_EVENT_SELECTION_COPY"; AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_EVENT_SELECTION_COPY"; RemoveNativeEventHandler(efl.Libs.Efl, key, value); } } } ///Method to raise event SelectionCopyEvt. public void OnSelectionCopyEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SELECTION_COPY"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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); } /// Called when selection is cut public event EventHandler SelectionCutEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; 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_UI_EVENT_SELECTION_CUT"; AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_EVENT_SELECTION_CUT"; RemoveNativeEventHandler(efl.Libs.Efl, key, value); } } } ///Method to raise event SelectionCutEvt. public void OnSelectionCutEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SELECTION_CUT"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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); } /// Called at selection start public event EventHandler SelectionStartEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; 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_UI_EVENT_SELECTION_START"; AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_EVENT_SELECTION_START"; RemoveNativeEventHandler(efl.Libs.Efl, key, value); } } } ///Method to raise event SelectionStartEvt. public void OnSelectionStartEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SELECTION_START"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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); } /// Called when selection is changed public event EventHandler SelectionChangedEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; 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_UI_EVENT_SELECTION_CHANGED"; AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_EVENT_SELECTION_CHANGED"; RemoveNativeEventHandler(efl.Libs.Efl, key, value); } } } ///Method to raise event SelectionChangedEvt. public void OnSelectionChangedEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SELECTION_CHANGED"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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); } /// Called when selection is cleared public event EventHandler SelectionClearedEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; 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_UI_EVENT_SELECTION_CLEARED"; AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_EVENT_SELECTION_CLEARED"; RemoveNativeEventHandler(efl.Libs.Efl, key, value); } } } ///Method to raise event SelectionClearedEvt. public void OnSelectionClearedEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SELECTION_CLEARED"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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); } /// Redirect object has changed, the old manager is passed as an event argument. /// (Since EFL 1.22) public event EventHandler RedirectChangedEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; if (obj != null) { Efl.Ui.Focus.IManagerRedirectChangedEvt_Args args = new Efl.Ui.Focus.IManagerRedirectChangedEvt_Args(); args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Ui.Focus.IManagerConcrete); try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_UI_FOCUS_MANAGER_EVENT_REDIRECT_CHANGED"; AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_FOCUS_MANAGER_EVENT_REDIRECT_CHANGED"; RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } ///Method to raise event RedirectChangedEvt. public void OnRedirectChangedEvt(Efl.Ui.Focus.IManagerRedirectChangedEvt_Args e) { var key = "_EFL_UI_FOCUS_MANAGER_EVENT_REDIRECT_CHANGED"; 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); } /// After this event, the manager object will calculate relations in the graph. Can be used to add / remove children in a lazy fashion. /// (Since EFL 1.22) public event EventHandler FlushPreEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; 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_UI_FOCUS_MANAGER_EVENT_FLUSH_PRE"; AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_FOCUS_MANAGER_EVENT_FLUSH_PRE"; RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } ///Method to raise event FlushPreEvt. public void OnFlushPreEvt(EventArgs e) { var key = "_EFL_UI_FOCUS_MANAGER_EVENT_FLUSH_PRE"; 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); } /// Cached relationship calculation results have been invalidated. /// (Since EFL 1.22) public event EventHandler CoordsDirtyEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; 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_UI_FOCUS_MANAGER_EVENT_COORDS_DIRTY"; AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_FOCUS_MANAGER_EVENT_COORDS_DIRTY"; RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } ///Method to raise event CoordsDirtyEvt. public void OnCoordsDirtyEvt(EventArgs e) { var key = "_EFL_UI_FOCUS_MANAGER_EVENT_COORDS_DIRTY"; 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); } /// The manager_focus property has changed. The previously focused object is passed as an event argument. /// (Since EFL 1.22) public event EventHandler ManagerFocusChangedEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; if (obj != null) { Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args args = new Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args(); args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Ui.Focus.IObjectConcrete); try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_UI_FOCUS_MANAGER_EVENT_MANAGER_FOCUS_CHANGED"; AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_FOCUS_MANAGER_EVENT_MANAGER_FOCUS_CHANGED"; RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } ///Method to raise event ManagerFocusChangedEvt. public void OnManagerFocusChangedEvt(Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args e) { var key = "_EFL_UI_FOCUS_MANAGER_EVENT_MANAGER_FOCUS_CHANGED"; 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); } /// Called when this focus manager is frozen or thawed, even_info being true indicates that it is now frozen, false indicates that it is thawed. /// (Since EFL 1.22) public event EventHandler DirtyLogicFreezeChangedEvt { add { lock (eventLock) { var wRef = new WeakReference(this); Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = wRef.Target as Efl.Eo.IWrapper; if (obj != null) { Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args args = new Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args(); args.arg = evt.Info != IntPtr.Zero; try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_UI_FOCUS_MANAGER_EVENT_DIRTY_LOGIC_FREEZE_CHANGED"; AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } remove { lock (eventLock) { string key = "_EFL_UI_FOCUS_MANAGER_EVENT_DIRTY_LOGIC_FREEZE_CHANGED"; RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } ///Method to raise event DirtyLogicFreezeChangedEvt. public void OnDirtyLogicFreezeChangedEvt(Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args e) { var key = "_EFL_UI_FOCUS_MANAGER_EVENT_DIRTY_LOGIC_FREEZE_CHANGED"; 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 = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg ? (byte) 1 : (byte) 0); try { Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info); } finally { Marshal.FreeHGlobal(info); } } /// Get whether the homogeneous mode is enabled. /// Assume the items within the genlist are of the same height and width. Default is false. virtual public bool GetHomogeneous() { var _ret_var = Efl.Ui.ListView.NativeMethods.efl_ui_list_view_homogeneous_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Enable/disable homogeneous mode. /// Assume the items within the genlist are of the same height and width. Default is false. virtual public void SetHomogeneous(bool homogeneous) { Efl.Ui.ListView.NativeMethods.efl_ui_list_view_homogeneous_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),homogeneous); Eina.Error.RaiseIfUnhandledException(); } /// Listview select mode. /// The select mode. virtual public Elm.Object.SelectMode GetSelectMode() { var _ret_var = Efl.Ui.ListView.NativeMethods.efl_ui_list_view_select_mode_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Listview select mode. /// The select mode. virtual public void SetSelectMode(Elm.Object.SelectMode mode) { Efl.Ui.ListView.NativeMethods.efl_ui_list_view_select_mode_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),mode); Eina.Error.RaiseIfUnhandledException(); } virtual public System.String GetDefaultStyle() { var _ret_var = Efl.Ui.ListView.NativeMethods.efl_ui_list_view_default_style_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } virtual public void SetDefaultStyle(System.String style) { Efl.Ui.ListView.NativeMethods.efl_ui_list_view_default_style_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),style); Eina.Error.RaiseIfUnhandledException(); } /// Listview layout factory set. /// The factory. virtual public void SetLayoutFactory(Efl.Ui.IFactory factory) { Efl.Ui.ListView.NativeMethods.efl_ui_list_view_layout_factory_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),factory); Eina.Error.RaiseIfUnhandledException(); } /// Gets the number of currently selected children /// Number of currently selected children virtual public int GetSelectedChildrenCount() { var _ret_var = Efl.Access.ISelectionConcrete.NativeMethods.efl_access_selection_selected_children_count_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Gets child for given child index /// Index of child /// Child object virtual public Efl.Object GetSelectedChild(int selected_child_index) { var _ret_var = Efl.Access.ISelectionConcrete.NativeMethods.efl_access_selection_selected_child_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),selected_child_index); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Adds selection for given child index /// Index of child /// true if selection was added, false otherwise virtual public bool ChildSelect(int child_index) { var _ret_var = Efl.Access.ISelectionConcrete.NativeMethods.efl_access_selection_child_select_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),child_index); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Removes selection for given child index /// Index of child /// true if selection was removed, false otherwise virtual public bool SelectedChildDeselect(int child_index) { var _ret_var = Efl.Access.ISelectionConcrete.NativeMethods.efl_access_selection_selected_child_deselect_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),child_index); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Determines if child specified by index is selected /// Index of child /// true if child is selected, false otherwise virtual public bool IsChildSelected(int child_index) { var _ret_var = Efl.Access.ISelectionConcrete.NativeMethods.efl_access_selection_is_child_selected_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),child_index); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Adds selection for all children /// true if selection was added to all children, false otherwise virtual public bool AllChildrenSelect() { var _ret_var = Efl.Access.ISelectionConcrete.NativeMethods.efl_access_selection_all_children_select_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Clears the current selection /// true if selection was cleared, false otherwise virtual public bool ClearAccessSelection() { var _ret_var = Efl.Access.ISelectionConcrete.NativeMethods.efl_access_selection_clear_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Removes selection for given child index /// Index of child /// true if selection was removed, false otherwise virtual public bool ChildDeselect(int child_index) { var _ret_var = Efl.Access.ISelectionConcrete.NativeMethods.efl_access_selection_child_deselect_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),child_index); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } virtual public void SetLoadRange(int first, int count) { Efl.Ui.IListViewModelConcrete.NativeMethods.efl_ui_list_view_model_load_range_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),first, count); Eina.Error.RaiseIfUnhandledException(); } virtual public int GetModelSize() { var _ret_var = Efl.Ui.IListViewModelConcrete.NativeMethods.efl_ui_list_view_model_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Minimal content size. virtual public Eina.Size2D GetMinSize() { var _ret_var = Efl.Ui.IListViewModelConcrete.NativeMethods.efl_ui_list_view_model_min_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Minimal content size. virtual public void SetMinSize(Eina.Size2D min) { Eina.Size2D.NativeStruct _in_min = min; Efl.Ui.IListViewModelConcrete.NativeMethods.efl_ui_list_view_model_min_size_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_min); Eina.Error.RaiseIfUnhandledException(); } virtual public Efl.Ui.ListViewLayoutItem Realize(ref Efl.Ui.ListViewLayoutItem item) { Efl.Ui.ListViewLayoutItem.NativeStruct _in_item = item; var _ret_var = Efl.Ui.IListViewModelConcrete.NativeMethods.efl_ui_list_view_model_realize_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),ref _in_item); Eina.Error.RaiseIfUnhandledException(); item = _in_item; var __ret_tmp = Eina.PrimitiveConversion.PointerToManaged(_ret_var); return __ret_tmp; } virtual public void Unrealize(ref Efl.Ui.ListViewLayoutItem item) { Efl.Ui.ListViewLayoutItem.NativeStruct _in_item = item; Efl.Ui.IListViewModelConcrete.NativeMethods.efl_ui_list_view_model_unrealize_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),ref _in_item); Eina.Error.RaiseIfUnhandledException(); item = _in_item; } /// The content position /// The position is virtual value, (0, 0) starting at the top-left. virtual public Eina.Position2D GetContentPos() { var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_pos_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// The content position /// The position is virtual value, (0, 0) starting at the top-left. virtual public void SetContentPos(Eina.Position2D pos) { Eina.Position2D.NativeStruct _in_pos = pos; Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_pos_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_pos); Eina.Error.RaiseIfUnhandledException(); } /// The content size /// The content size in pixels. virtual public Eina.Size2D GetContentSize() { var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// The viewport geometry /// It is absolute geometry. virtual public Eina.Rect GetViewportGeometry() { var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_viewport_geometry_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Bouncing behavior /// When scrolling, the scroller may "bounce" when reaching the edge of the content object. This is a visual way to indicate the end has been reached. This is enabled by default for both axes. This API will determine if it's enabled for the given axis with the boolean parameters for each one. /// Horizontal bounce policy. /// Vertical bounce policy. virtual public void GetBounceEnabled(out bool horiz, out bool vert) { Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_bounce_enabled_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out horiz, out vert); Eina.Error.RaiseIfUnhandledException(); } /// Bouncing behavior /// When scrolling, the scroller may "bounce" when reaching the edge of the content object. This is a visual way to indicate the end has been reached. This is enabled by default for both axes. This API will determine if it's enabled for the given axis with the boolean parameters for each one. /// Horizontal bounce policy. /// Vertical bounce policy. virtual public void SetBounceEnabled(bool horiz, bool vert) { Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_bounce_enabled_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),horiz, vert); Eina.Error.RaiseIfUnhandledException(); } /// Freeze property This function will freeze scrolling movement (by input of a user). Unlike efl_ui_scrollable_movement_block_set, this function freezes bidirectionally. If you want to freeze in only one direction, See . /// true if freeze, false otherwise virtual public bool GetScrollFreeze() { var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_freeze_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Freeze property This function will freeze scrolling movement (by input of a user). Unlike efl_ui_scrollable_movement_block_set, this function freezes bidirectionally. If you want to freeze in only one direction, See . /// true if freeze, false otherwise virtual public void SetScrollFreeze(bool freeze) { Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_freeze_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),freeze); Eina.Error.RaiseIfUnhandledException(); } /// Hold property When hold turns on, it only scrolls by holding action. /// true if hold, false otherwise virtual public bool GetScrollHold() { var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_hold_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Hold property When hold turns on, it only scrolls by holding action. /// true if hold, false otherwise virtual public void SetScrollHold(bool hold) { Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_hold_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),hold); Eina.Error.RaiseIfUnhandledException(); } /// Controls an infinite loop for a scroller. /// The scrolling horizontal loop /// The Scrolling vertical loop virtual public void GetLooping(out bool loop_h, out bool loop_v) { Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_looping_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out loop_h, out loop_v); Eina.Error.RaiseIfUnhandledException(); } /// Controls an infinite loop for a scroller. /// The scrolling horizontal loop /// The Scrolling vertical loop virtual public void SetLooping(bool loop_h, bool loop_v) { Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_looping_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),loop_h, loop_v); Eina.Error.RaiseIfUnhandledException(); } /// Blocking of scrolling (per axis) /// This function will block scrolling movement (by input of a user) in a given direction. You can disable movements in the X axis, the Y axis or both. The default value is none, where movements are allowed in both directions. /// Which axis (or axes) to block virtual public Efl.Ui.ScrollBlock GetMovementBlock() { var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_movement_block_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Blocking of scrolling (per axis) /// This function will block scrolling movement (by input of a user) in a given direction. You can disable movements in the X axis, the Y axis or both. The default value is none, where movements are allowed in both directions. /// Which axis (or axes) to block virtual public void SetMovementBlock(Efl.Ui.ScrollBlock block) { Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_movement_block_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),block); Eina.Error.RaiseIfUnhandledException(); } /// Control scrolling gravity on the scrollable /// The gravity defines how the scroller will adjust its view when the size of the scroller contents increases. /// /// The scroller will adjust the view to glue itself as follows. /// /// x=0.0, for staying where it is relative to the left edge of the content x=1.0, for staying where it is relative to the right edge of the content y=0.0, for staying where it is relative to the top edge of the content y=1.0, for staying where it is relative to the bottom edge of the content /// /// Default values for x and y are 0.0 /// Horizontal scrolling gravity /// Vertical scrolling gravity virtual public void GetGravity(out double x, out double y) { Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_gravity_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out x, out y); Eina.Error.RaiseIfUnhandledException(); } /// Control scrolling gravity on the scrollable /// The gravity defines how the scroller will adjust its view when the size of the scroller contents increases. /// /// The scroller will adjust the view to glue itself as follows. /// /// x=0.0, for staying where it is relative to the left edge of the content x=1.0, for staying where it is relative to the right edge of the content y=0.0, for staying where it is relative to the top edge of the content y=1.0, for staying where it is relative to the bottom edge of the content /// /// Default values for x and y are 0.0 /// Horizontal scrolling gravity /// Vertical scrolling gravity virtual public void SetGravity(double x, double y) { Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_gravity_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),x, y); Eina.Error.RaiseIfUnhandledException(); } /// Prevent the scrollable from being smaller than the minimum size of the content. /// By default the scroller will be as small as its design allows, irrespective of its content. This will make the scroller minimum size the right size horizontally and/or vertically to perfectly fit its content in that direction. /// Whether to limit the minimum horizontal size /// Whether to limit the minimum vertical size virtual public void SetMatchContent(bool w, bool h) { Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_match_content_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),w, h); Eina.Error.RaiseIfUnhandledException(); } /// Control the step size /// Use this call to set step size. This value is used when scroller scroll by arrow key event. /// The step size in pixels virtual public Eina.Position2D GetStepSize() { var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_step_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Control the step size /// Use this call to set step size. This value is used when scroller scroll by arrow key event. /// The step size in pixels virtual public void SetStepSize(Eina.Position2D step) { Eina.Position2D.NativeStruct _in_step = step; Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_step_size_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_step); Eina.Error.RaiseIfUnhandledException(); } /// Show a specific virtual region within the scroller content object. /// This will ensure all (or part if it does not fit) of the designated region in the virtual content object (0, 0 starting at the top-left of the virtual content object) is shown within the scroller. This allows the scroller to "smoothly slide" to this location (if configuration in general calls for transitions). It may not jump immediately to the new location and make take a while and show other content along the way. /// The position where to scroll. and The size user want to see /// Whether to scroll with animation or not virtual public void Scroll(Eina.Rect rect, bool animation) { Eina.Rect.NativeStruct _in_rect = rect; Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_rect, animation); Eina.Error.RaiseIfUnhandledException(); } /// Scrollbar visibility policy /// Horizontal scrollbar /// Vertical scrollbar virtual public void GetBarMode(out Efl.Ui.ScrollbarMode hbar, out Efl.Ui.ScrollbarMode vbar) { Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_mode_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out hbar, out vbar); Eina.Error.RaiseIfUnhandledException(); } /// Scrollbar visibility policy /// Horizontal scrollbar /// Vertical scrollbar virtual public void SetBarMode(Efl.Ui.ScrollbarMode hbar, Efl.Ui.ScrollbarMode vbar) { Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_mode_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),hbar, vbar); Eina.Error.RaiseIfUnhandledException(); } /// Scrollbar size. It is calculated based on viewport size-content sizes. /// Value between 0.0 and 1.0 /// Value between 0.0 and 1.0 virtual public void GetBarSize(out double width, out double height) { Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out width, out height); Eina.Error.RaiseIfUnhandledException(); } /// Scrollbar position. It is calculated based on current position-maximum positions. /// Value between 0.0 and 1.0 /// Value between 0.0 and 1.0 virtual public void GetBarPosition(out double posx, out double posy) { Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_position_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out posx, out posy); Eina.Error.RaiseIfUnhandledException(); } /// Scrollbar position. It is calculated based on current position-maximum positions. /// Value between 0.0 and 1.0 /// Value between 0.0 and 1.0 virtual public void SetBarPosition(double posx, double posy) { Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_position_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),posx, posy); Eina.Error.RaiseIfUnhandledException(); } /// Update bar visibility. /// The object will call this function whenever the bar need to be shown or hidden. virtual public void UpdateBarVisibility() { Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_visibility_update_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); Eina.Error.RaiseIfUnhandledException(); } /// If the widget needs a focus manager, this function will be called. /// It can be used and overriden to inject your own manager or set custom options on the focus manager. /// (Since EFL 1.22) /// The logical root object for focus. /// The focus manager. virtual public Efl.Ui.Focus.IManager FocusManagerCreate(Efl.Ui.Focus.IObject root) { var _ret_var = Efl.Ui.IWidgetFocusManagerConcrete.NativeMethods.efl_ui_widget_focus_manager_create_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),root); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Set the order of elements that will be used for composition /// Elements of the list can be either an Efl.Ui.Widget, an Efl.Ui.Focus.Object or an Efl.Gfx. /// /// If the element is an Efl.Gfx.Entity, then the geometry is used as focus geometry, the focus property is redirected to the evas focus property. The mixin will take care of registration. /// /// If the element is an Efl.Ui.Focus.Object, then the mixin will take care of registering the element. /// /// If the element is a Efl.Ui.Widget nothing is done and the widget is simply part of the order. /// The order to use virtual public Eina.List GetCompositionElements() { var _ret_var = Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_elements_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); Eina.Error.RaiseIfUnhandledException(); return new Eina.List(_ret_var, true, false); } /// Set the order of elements that will be used for composition /// Elements of the list can be either an Efl.Ui.Widget, an Efl.Ui.Focus.Object or an Efl.Gfx. /// /// If the element is an Efl.Gfx.Entity, then the geometry is used as focus geometry, the focus property is redirected to the evas focus property. The mixin will take care of registration. /// /// If the element is an Efl.Ui.Focus.Object, then the mixin will take care of registering the element. /// /// If the element is a Efl.Ui.Widget nothing is done and the widget is simply part of the order. /// The order to use virtual public void SetCompositionElements(Eina.List logical_order) { var _in_logical_order = logical_order.Handle; logical_order.Own = false; Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_elements_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_logical_order); Eina.Error.RaiseIfUnhandledException(); } /// Set to true if all children should be registered as logicals /// true or false virtual public bool GetLogicalMode() { var _ret_var = Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_logical_mode_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Set to true if all children should be registered as logicals /// true or false virtual public void SetLogicalMode(bool logical_mode) { Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_logical_mode_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),logical_mode); Eina.Error.RaiseIfUnhandledException(); } /// Mark this widget as dirty, the children can be considered to be changed after that call virtual public void Dirty() { Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_dirty_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); Eina.Error.RaiseIfUnhandledException(); } /// A call to prepare the children of this element, called if marked as dirty /// You can use this function to call composition_elements. virtual public void Prepare() { Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_prepare_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); Eina.Error.RaiseIfUnhandledException(); } /// The element which is currently focused by this manager /// Use this property to retrieve the object currently being focused, or to set the focus to a new one. When focus is a logical child (which cannot receive focus), the next non-logical object is selected instead. If there is no such object, focus does not change. /// (Since EFL 1.22) /// Currently focused element. virtual public Efl.Ui.Focus.IObject GetManagerFocus() { var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_focus_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// The element which is currently focused by this manager /// Use this property to retrieve the object currently being focused, or to set the focus to a new one. When focus is a logical child (which cannot receive focus), the next non-logical object is selected instead. If there is no such object, focus does not change. /// (Since EFL 1.22) /// Currently focused element. virtual public void SetManagerFocus(Efl.Ui.Focus.IObject focus) { Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_focus_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),focus); Eina.Error.RaiseIfUnhandledException(); } /// Add another manager to serve the move requests. /// If this value is set, all move requests are redirected to this manager object. Set it to null once nothing should be redirected anymore. /// (Since EFL 1.22) /// The redirect manager. virtual public Efl.Ui.Focus.IManager GetRedirect() { var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_redirect_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Add another manager to serve the move requests. /// If this value is set, all move requests are redirected to this manager object. Set it to null once nothing should be redirected anymore. /// (Since EFL 1.22) /// The redirect manager. virtual public void SetRedirect(Efl.Ui.Focus.IManager redirect) { Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_redirect_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),redirect); Eina.Error.RaiseIfUnhandledException(); } /// The list of elements which are at the border of the graph. /// This means one of the relations right,left or down,up are not set. This call flushes all changes. See /// (Since EFL 1.22) /// An iterator over the border objects. virtual public Eina.Iterator GetBorderElements() { var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_border_elements_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); Eina.Error.RaiseIfUnhandledException(); return new Eina.Iterator(_ret_var, false, false); } /// Get all elements that are at the border of the viewport /// Every element returned by this is located inside the viewport rectangle, but has a right, left, down or up neighbor outside the viewport. /// (Since EFL 1.22) /// The rectangle defining the viewport. /// The list of border objects. virtual public Eina.Iterator GetViewportElements(Eina.Rect viewport) { Eina.Rect.NativeStruct _in_viewport = viewport; var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_viewport_elements_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_viewport); Eina.Error.RaiseIfUnhandledException(); return new Eina.Iterator(_ret_var, false, false); } /// Root node for all logical subtrees. /// This property can only be set once. /// (Since EFL 1.22) /// Will be registered into this manager object. virtual public Efl.Ui.Focus.IObject GetRoot() { var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_root_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Root node for all logical subtrees. /// This property can only be set once. /// (Since EFL 1.22) /// Will be registered into this manager object. /// If true, this is the root node virtual public bool SetRoot(Efl.Ui.Focus.IObject root) { var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_root_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),root); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Move the focus in the given direction. /// This call flushes all changes. This means all changes between the last flush and now are computed. /// (Since EFL 1.22) /// The direction to move to. /// The element which is now focused. virtual public Efl.Ui.Focus.IObject Move(Efl.Ui.Focus.Direction direction) { var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_move_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),direction); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Return the object in the direction from child. /// (Since EFL 1.22) /// Direction to move focus. /// The child to move from. Pass null to indicate the currently focused child. /// Wether you want to have a logical node as result or a non-logical. Note, in a call no logical node will get focus. /// Object that would receive focus if moved in the given direction. virtual public Efl.Ui.Focus.IObject MoveRequest(Efl.Ui.Focus.Direction direction, Efl.Ui.Focus.IObject child, bool logical) { var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_request_move_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),direction, child, logical); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Return the widget in the direction next. /// The returned widget is a child of root. It's guaranteed that child will not be prepared once again, so you can call this function inside a call. /// (Since EFL 1.22) /// Parent for returned child. /// Child of passed parameter. virtual public Efl.Ui.Focus.IObject RequestSubchild(Efl.Ui.Focus.IObject root) { var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_request_subchild_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),root); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// This will fetch the data from a registered node. /// Be aware this function will trigger a computation of all dirty nodes. /// (Since EFL 1.22) /// The child object to inspect. /// The list of relations starting from child. virtual public Efl.Ui.Focus.Relations Fetch(Efl.Ui.Focus.IObject child) { var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_fetch_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),child); Eina.Error.RaiseIfUnhandledException(); var __ret_tmp = Eina.PrimitiveConversion.PointerToManaged(_ret_var); Marshal.FreeHGlobal(_ret_var); return __ret_tmp; } /// Return the last logical object. /// The returned object is the last object that would be returned if you start at the root and move the direction into next. /// (Since EFL 1.22) /// Last object. virtual public Efl.Ui.Focus.ManagerLogicalEndDetail LogicalEnd() { var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_logical_end_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Reset the history stack of this manager object. This means the uppermost element will be unfocused, and all other elements will be removed from the remembered list. /// You should focus another element immediately after calling this, in order to always have a focused object. /// (Since EFL 1.22) virtual public void ResetHistory() { Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_reset_history_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); Eina.Error.RaiseIfUnhandledException(); } /// Remove the uppermost history element, and focus the previous one. /// If there is an element that was focused before, it will be used. Otherwise, the best fitting element from the registered elements will be focused. /// (Since EFL 1.22) virtual public void PopHistoryStack() { Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_pop_history_stack_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); Eina.Error.RaiseIfUnhandledException(); } /// Called when this manager is set as redirect. /// In case that this is called as an result of a move call, direction and entry will be set to the direction of the move call, and the entry object will be set to the object that had this manager as redirect property. /// (Since EFL 1.22) /// The direction in which this should be setup. /// The object that caused this manager to be redirect. virtual public void SetupOnFirstTouch(Efl.Ui.Focus.Direction direction, Efl.Ui.Focus.IObject entry) { Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_setup_on_first_touch_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),direction, entry); Eina.Error.RaiseIfUnhandledException(); } /// This disables the cache invalidation when an object is moved. /// Even if an object is moved, the focus manager will not recalculate its relations. This can be used when you know that the set of widgets in the focus manager is moved the same way, so the relations between the widets in the set do not change and the complex calculations can be avoided. Use to re-enable relationship calculation. /// (Since EFL 1.22) virtual public void FreezeDirtyLogic() { Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_dirty_logic_freeze_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); Eina.Error.RaiseIfUnhandledException(); } /// This enables the cache invalidation when an object is moved. /// This is the counterpart to . /// (Since EFL 1.22) virtual public void DirtyLogicUnfreeze() { Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_dirty_logic_unfreeze_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); Eina.Error.RaiseIfUnhandledException(); } /// Get whether the homogeneous mode is enabled. /// Assume the items within the genlist are of the same height and width. Default is false. public bool Homogeneous { get { return GetHomogeneous(); } set { SetHomogeneous(value); } } /// Listview select mode. /// The select mode. public Elm.Object.SelectMode SelectMode { get { return GetSelectMode(); } set { SetSelectMode(value); } } public System.String DefaultStyle { get { return GetDefaultStyle(); } set { SetDefaultStyle(value); } } /// Listview layout factory set. /// The factory. public Efl.Ui.IFactory LayoutFactory { set { SetLayoutFactory(value); } } /// Gets the number of currently selected children /// Number of currently selected children public int SelectedChildrenCount { get { return GetSelectedChildrenCount(); } } public int ModelSize { get { return GetModelSize(); } } /// Minimal content size. public Eina.Size2D MinSize { get { return GetMinSize(); } set { SetMinSize(value); } } /// The content position /// The position is virtual value, (0, 0) starting at the top-left. public Eina.Position2D ContentPos { get { return GetContentPos(); } set { SetContentPos(value); } } /// The content size /// The content size in pixels. public Eina.Size2D ContentSize { get { return GetContentSize(); } } /// The viewport geometry /// It is absolute geometry. public Eina.Rect ViewportGeometry { get { return GetViewportGeometry(); } } /// Freeze property This function will freeze scrolling movement (by input of a user). Unlike efl_ui_scrollable_movement_block_set, this function freezes bidirectionally. If you want to freeze in only one direction, See . /// true if freeze, false otherwise public bool ScrollFreeze { get { return GetScrollFreeze(); } set { SetScrollFreeze(value); } } /// Hold property When hold turns on, it only scrolls by holding action. /// true if hold, false otherwise public bool ScrollHold { get { return GetScrollHold(); } set { SetScrollHold(value); } } /// Blocking of scrolling (per axis) /// This function will block scrolling movement (by input of a user) in a given direction. You can disable movements in the X axis, the Y axis or both. The default value is none, where movements are allowed in both directions. /// Which axis (or axes) to block public Efl.Ui.ScrollBlock MovementBlock { get { return GetMovementBlock(); } set { SetMovementBlock(value); } } /// Control the step size /// Use this call to set step size. This value is used when scroller scroll by arrow key event. /// The step size in pixels public Eina.Position2D StepSize { get { return GetStepSize(); } set { SetStepSize(value); } } /// Set the order of elements that will be used for composition /// Elements of the list can be either an Efl.Ui.Widget, an Efl.Ui.Focus.Object or an Efl.Gfx. /// /// If the element is an Efl.Gfx.Entity, then the geometry is used as focus geometry, the focus property is redirected to the evas focus property. The mixin will take care of registration. /// /// If the element is an Efl.Ui.Focus.Object, then the mixin will take care of registering the element. /// /// If the element is a Efl.Ui.Widget nothing is done and the widget is simply part of the order. /// The order to use public Eina.List CompositionElements { get { return GetCompositionElements(); } set { SetCompositionElements(value); } } /// Set to true if all children should be registered as logicals /// true or false public bool LogicalMode { get { return GetLogicalMode(); } set { SetLogicalMode(value); } } /// The element which is currently focused by this manager /// Use this property to retrieve the object currently being focused, or to set the focus to a new one. When focus is a logical child (which cannot receive focus), the next non-logical object is selected instead. If there is no such object, focus does not change. /// (Since EFL 1.22) /// Currently focused element. public Efl.Ui.Focus.IObject ManagerFocus { get { return GetManagerFocus(); } set { SetManagerFocus(value); } } /// Add another manager to serve the move requests. /// If this value is set, all move requests are redirected to this manager object. Set it to null once nothing should be redirected anymore. /// (Since EFL 1.22) /// The redirect manager. public Efl.Ui.Focus.IManager Redirect { get { return GetRedirect(); } set { SetRedirect(value); } } /// The list of elements which are at the border of the graph. /// This means one of the relations right,left or down,up are not set. This call flushes all changes. See /// (Since EFL 1.22) /// An iterator over the border objects. public Eina.Iterator BorderElements { get { return GetBorderElements(); } } /// Root node for all logical subtrees. /// This property can only be set once. /// (Since EFL 1.22) /// Will be registered into this manager object. public Efl.Ui.Focus.IObject Root { get { return GetRoot(); } set { SetRoot(value); } } private static IntPtr GetEflClassStatic() { return Efl.Ui.ListView.efl_ui_list_view_class_get(); } /// Wrapper for native methods and virtual method delegates. /// For internal use by generated code only. public new class NativeMethods : Efl.Ui.LayoutBase.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_list_view_homogeneous_get_static_delegate == null) { efl_ui_list_view_homogeneous_get_static_delegate = new efl_ui_list_view_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_list_view_homogeneous_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_list_view_homogeneous_get_static_delegate) }); } if (efl_ui_list_view_homogeneous_set_static_delegate == null) { efl_ui_list_view_homogeneous_set_static_delegate = new efl_ui_list_view_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_list_view_homogeneous_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_list_view_homogeneous_set_static_delegate) }); } if (efl_ui_list_view_select_mode_get_static_delegate == null) { efl_ui_list_view_select_mode_get_static_delegate = new efl_ui_list_view_select_mode_get_delegate(select_mode_get); } if (methods.FirstOrDefault(m => m.Name == "GetSelectMode") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_list_view_select_mode_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_list_view_select_mode_get_static_delegate) }); } if (efl_ui_list_view_select_mode_set_static_delegate == null) { efl_ui_list_view_select_mode_set_static_delegate = new efl_ui_list_view_select_mode_set_delegate(select_mode_set); } if (methods.FirstOrDefault(m => m.Name == "SetSelectMode") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_list_view_select_mode_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_list_view_select_mode_set_static_delegate) }); } if (efl_ui_list_view_default_style_get_static_delegate == null) { efl_ui_list_view_default_style_get_static_delegate = new efl_ui_list_view_default_style_get_delegate(default_style_get); } if (methods.FirstOrDefault(m => m.Name == "GetDefaultStyle") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_list_view_default_style_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_list_view_default_style_get_static_delegate) }); } if (efl_ui_list_view_default_style_set_static_delegate == null) { efl_ui_list_view_default_style_set_static_delegate = new efl_ui_list_view_default_style_set_delegate(default_style_set); } if (methods.FirstOrDefault(m => m.Name == "SetDefaultStyle") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_list_view_default_style_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_list_view_default_style_set_static_delegate) }); } if (efl_ui_list_view_layout_factory_set_static_delegate == null) { efl_ui_list_view_layout_factory_set_static_delegate = new efl_ui_list_view_layout_factory_set_delegate(layout_factory_set); } if (methods.FirstOrDefault(m => m.Name == "SetLayoutFactory") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_list_view_layout_factory_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_list_view_layout_factory_set_static_delegate) }); } if (efl_access_selection_selected_children_count_get_static_delegate == null) { efl_access_selection_selected_children_count_get_static_delegate = new efl_access_selection_selected_children_count_get_delegate(selected_children_count_get); } if (methods.FirstOrDefault(m => m.Name == "GetSelectedChildrenCount") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_selection_selected_children_count_get"), func = Marshal.GetFunctionPointerForDelegate(efl_access_selection_selected_children_count_get_static_delegate) }); } if (efl_access_selection_selected_child_get_static_delegate == null) { efl_access_selection_selected_child_get_static_delegate = new efl_access_selection_selected_child_get_delegate(selected_child_get); } if (methods.FirstOrDefault(m => m.Name == "GetSelectedChild") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_selection_selected_child_get"), func = Marshal.GetFunctionPointerForDelegate(efl_access_selection_selected_child_get_static_delegate) }); } if (efl_access_selection_child_select_static_delegate == null) { efl_access_selection_child_select_static_delegate = new efl_access_selection_child_select_delegate(child_select); } if (methods.FirstOrDefault(m => m.Name == "ChildSelect") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_selection_child_select"), func = Marshal.GetFunctionPointerForDelegate(efl_access_selection_child_select_static_delegate) }); } if (efl_access_selection_selected_child_deselect_static_delegate == null) { efl_access_selection_selected_child_deselect_static_delegate = new efl_access_selection_selected_child_deselect_delegate(selected_child_deselect); } if (methods.FirstOrDefault(m => m.Name == "SelectedChildDeselect") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_selection_selected_child_deselect"), func = Marshal.GetFunctionPointerForDelegate(efl_access_selection_selected_child_deselect_static_delegate) }); } if (efl_access_selection_is_child_selected_static_delegate == null) { efl_access_selection_is_child_selected_static_delegate = new efl_access_selection_is_child_selected_delegate(is_child_selected); } if (methods.FirstOrDefault(m => m.Name == "IsChildSelected") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_selection_is_child_selected"), func = Marshal.GetFunctionPointerForDelegate(efl_access_selection_is_child_selected_static_delegate) }); } if (efl_access_selection_all_children_select_static_delegate == null) { efl_access_selection_all_children_select_static_delegate = new efl_access_selection_all_children_select_delegate(all_children_select); } if (methods.FirstOrDefault(m => m.Name == "AllChildrenSelect") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_selection_all_children_select"), func = Marshal.GetFunctionPointerForDelegate(efl_access_selection_all_children_select_static_delegate) }); } if (efl_access_selection_clear_static_delegate == null) { efl_access_selection_clear_static_delegate = new efl_access_selection_clear_delegate(access_selection_clear); } if (methods.FirstOrDefault(m => m.Name == "ClearAccessSelection") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_selection_clear"), func = Marshal.GetFunctionPointerForDelegate(efl_access_selection_clear_static_delegate) }); } if (efl_access_selection_child_deselect_static_delegate == null) { efl_access_selection_child_deselect_static_delegate = new efl_access_selection_child_deselect_delegate(child_deselect); } if (methods.FirstOrDefault(m => m.Name == "ChildDeselect") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_selection_child_deselect"), func = Marshal.GetFunctionPointerForDelegate(efl_access_selection_child_deselect_static_delegate) }); } if (efl_ui_list_view_model_load_range_set_static_delegate == null) { efl_ui_list_view_model_load_range_set_static_delegate = new efl_ui_list_view_model_load_range_set_delegate(load_range_set); } if (methods.FirstOrDefault(m => m.Name == "SetLoadRange") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_list_view_model_load_range_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_list_view_model_load_range_set_static_delegate) }); } if (efl_ui_list_view_model_size_get_static_delegate == null) { efl_ui_list_view_model_size_get_static_delegate = new efl_ui_list_view_model_size_get_delegate(model_size_get); } if (methods.FirstOrDefault(m => m.Name == "GetModelSize") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_list_view_model_size_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_list_view_model_size_get_static_delegate) }); } if (efl_ui_list_view_model_min_size_get_static_delegate == null) { efl_ui_list_view_model_min_size_get_static_delegate = new efl_ui_list_view_model_min_size_get_delegate(min_size_get); } if (methods.FirstOrDefault(m => m.Name == "GetMinSize") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_list_view_model_min_size_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_list_view_model_min_size_get_static_delegate) }); } if (efl_ui_list_view_model_min_size_set_static_delegate == null) { efl_ui_list_view_model_min_size_set_static_delegate = new efl_ui_list_view_model_min_size_set_delegate(min_size_set); } if (methods.FirstOrDefault(m => m.Name == "SetMinSize") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_list_view_model_min_size_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_list_view_model_min_size_set_static_delegate) }); } if (efl_ui_list_view_model_realize_static_delegate == null) { efl_ui_list_view_model_realize_static_delegate = new efl_ui_list_view_model_realize_delegate(realize); } if (methods.FirstOrDefault(m => m.Name == "Realize") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_list_view_model_realize"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_list_view_model_realize_static_delegate) }); } if (efl_ui_list_view_model_unrealize_static_delegate == null) { efl_ui_list_view_model_unrealize_static_delegate = new efl_ui_list_view_model_unrealize_delegate(unrealize); } if (methods.FirstOrDefault(m => m.Name == "Unrealize") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_list_view_model_unrealize"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_list_view_model_unrealize_static_delegate) }); } if (efl_ui_scrollable_content_pos_get_static_delegate == null) { efl_ui_scrollable_content_pos_get_static_delegate = new efl_ui_scrollable_content_pos_get_delegate(content_pos_get); } if (methods.FirstOrDefault(m => m.Name == "GetContentPos") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_content_pos_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_content_pos_get_static_delegate) }); } if (efl_ui_scrollable_content_pos_set_static_delegate == null) { efl_ui_scrollable_content_pos_set_static_delegate = new efl_ui_scrollable_content_pos_set_delegate(content_pos_set); } if (methods.FirstOrDefault(m => m.Name == "SetContentPos") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_content_pos_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_content_pos_set_static_delegate) }); } if (efl_ui_scrollable_content_size_get_static_delegate == null) { efl_ui_scrollable_content_size_get_static_delegate = new efl_ui_scrollable_content_size_get_delegate(content_size_get); } if (methods.FirstOrDefault(m => m.Name == "GetContentSize") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_content_size_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_content_size_get_static_delegate) }); } if (efl_ui_scrollable_viewport_geometry_get_static_delegate == null) { efl_ui_scrollable_viewport_geometry_get_static_delegate = new efl_ui_scrollable_viewport_geometry_get_delegate(viewport_geometry_get); } if (methods.FirstOrDefault(m => m.Name == "GetViewportGeometry") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_viewport_geometry_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_viewport_geometry_get_static_delegate) }); } if (efl_ui_scrollable_bounce_enabled_get_static_delegate == null) { efl_ui_scrollable_bounce_enabled_get_static_delegate = new efl_ui_scrollable_bounce_enabled_get_delegate(bounce_enabled_get); } if (methods.FirstOrDefault(m => m.Name == "GetBounceEnabled") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_bounce_enabled_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_bounce_enabled_get_static_delegate) }); } if (efl_ui_scrollable_bounce_enabled_set_static_delegate == null) { efl_ui_scrollable_bounce_enabled_set_static_delegate = new efl_ui_scrollable_bounce_enabled_set_delegate(bounce_enabled_set); } if (methods.FirstOrDefault(m => m.Name == "SetBounceEnabled") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_bounce_enabled_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_bounce_enabled_set_static_delegate) }); } if (efl_ui_scrollable_scroll_freeze_get_static_delegate == null) { efl_ui_scrollable_scroll_freeze_get_static_delegate = new efl_ui_scrollable_scroll_freeze_get_delegate(scroll_freeze_get); } if (methods.FirstOrDefault(m => m.Name == "GetScrollFreeze") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_scroll_freeze_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_scroll_freeze_get_static_delegate) }); } if (efl_ui_scrollable_scroll_freeze_set_static_delegate == null) { efl_ui_scrollable_scroll_freeze_set_static_delegate = new efl_ui_scrollable_scroll_freeze_set_delegate(scroll_freeze_set); } if (methods.FirstOrDefault(m => m.Name == "SetScrollFreeze") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_scroll_freeze_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_scroll_freeze_set_static_delegate) }); } if (efl_ui_scrollable_scroll_hold_get_static_delegate == null) { efl_ui_scrollable_scroll_hold_get_static_delegate = new efl_ui_scrollable_scroll_hold_get_delegate(scroll_hold_get); } if (methods.FirstOrDefault(m => m.Name == "GetScrollHold") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_scroll_hold_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_scroll_hold_get_static_delegate) }); } if (efl_ui_scrollable_scroll_hold_set_static_delegate == null) { efl_ui_scrollable_scroll_hold_set_static_delegate = new efl_ui_scrollable_scroll_hold_set_delegate(scroll_hold_set); } if (methods.FirstOrDefault(m => m.Name == "SetScrollHold") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_scroll_hold_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_scroll_hold_set_static_delegate) }); } if (efl_ui_scrollable_looping_get_static_delegate == null) { efl_ui_scrollable_looping_get_static_delegate = new efl_ui_scrollable_looping_get_delegate(looping_get); } if (methods.FirstOrDefault(m => m.Name == "GetLooping") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_looping_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_looping_get_static_delegate) }); } if (efl_ui_scrollable_looping_set_static_delegate == null) { efl_ui_scrollable_looping_set_static_delegate = new efl_ui_scrollable_looping_set_delegate(looping_set); } if (methods.FirstOrDefault(m => m.Name == "SetLooping") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_looping_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_looping_set_static_delegate) }); } if (efl_ui_scrollable_movement_block_get_static_delegate == null) { efl_ui_scrollable_movement_block_get_static_delegate = new efl_ui_scrollable_movement_block_get_delegate(movement_block_get); } if (methods.FirstOrDefault(m => m.Name == "GetMovementBlock") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_movement_block_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_movement_block_get_static_delegate) }); } if (efl_ui_scrollable_movement_block_set_static_delegate == null) { efl_ui_scrollable_movement_block_set_static_delegate = new efl_ui_scrollable_movement_block_set_delegate(movement_block_set); } if (methods.FirstOrDefault(m => m.Name == "SetMovementBlock") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_movement_block_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_movement_block_set_static_delegate) }); } if (efl_ui_scrollable_gravity_get_static_delegate == null) { efl_ui_scrollable_gravity_get_static_delegate = new efl_ui_scrollable_gravity_get_delegate(gravity_get); } if (methods.FirstOrDefault(m => m.Name == "GetGravity") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_gravity_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_gravity_get_static_delegate) }); } if (efl_ui_scrollable_gravity_set_static_delegate == null) { efl_ui_scrollable_gravity_set_static_delegate = new efl_ui_scrollable_gravity_set_delegate(gravity_set); } if (methods.FirstOrDefault(m => m.Name == "SetGravity") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_gravity_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_gravity_set_static_delegate) }); } if (efl_ui_scrollable_match_content_set_static_delegate == null) { efl_ui_scrollable_match_content_set_static_delegate = new efl_ui_scrollable_match_content_set_delegate(match_content_set); } if (methods.FirstOrDefault(m => m.Name == "SetMatchContent") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_match_content_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_match_content_set_static_delegate) }); } if (efl_ui_scrollable_step_size_get_static_delegate == null) { efl_ui_scrollable_step_size_get_static_delegate = new efl_ui_scrollable_step_size_get_delegate(step_size_get); } if (methods.FirstOrDefault(m => m.Name == "GetStepSize") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_step_size_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_step_size_get_static_delegate) }); } if (efl_ui_scrollable_step_size_set_static_delegate == null) { efl_ui_scrollable_step_size_set_static_delegate = new efl_ui_scrollable_step_size_set_delegate(step_size_set); } if (methods.FirstOrDefault(m => m.Name == "SetStepSize") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_step_size_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_step_size_set_static_delegate) }); } if (efl_ui_scrollable_scroll_static_delegate == null) { efl_ui_scrollable_scroll_static_delegate = new efl_ui_scrollable_scroll_delegate(scroll); } if (methods.FirstOrDefault(m => m.Name == "Scroll") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_scroll"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_scroll_static_delegate) }); } if (efl_ui_scrollbar_bar_mode_get_static_delegate == null) { efl_ui_scrollbar_bar_mode_get_static_delegate = new efl_ui_scrollbar_bar_mode_get_delegate(bar_mode_get); } if (methods.FirstOrDefault(m => m.Name == "GetBarMode") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollbar_bar_mode_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollbar_bar_mode_get_static_delegate) }); } if (efl_ui_scrollbar_bar_mode_set_static_delegate == null) { efl_ui_scrollbar_bar_mode_set_static_delegate = new efl_ui_scrollbar_bar_mode_set_delegate(bar_mode_set); } if (methods.FirstOrDefault(m => m.Name == "SetBarMode") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollbar_bar_mode_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollbar_bar_mode_set_static_delegate) }); } if (efl_ui_scrollbar_bar_size_get_static_delegate == null) { efl_ui_scrollbar_bar_size_get_static_delegate = new efl_ui_scrollbar_bar_size_get_delegate(bar_size_get); } if (methods.FirstOrDefault(m => m.Name == "GetBarSize") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollbar_bar_size_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollbar_bar_size_get_static_delegate) }); } if (efl_ui_scrollbar_bar_position_get_static_delegate == null) { efl_ui_scrollbar_bar_position_get_static_delegate = new efl_ui_scrollbar_bar_position_get_delegate(bar_position_get); } if (methods.FirstOrDefault(m => m.Name == "GetBarPosition") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollbar_bar_position_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollbar_bar_position_get_static_delegate) }); } if (efl_ui_scrollbar_bar_position_set_static_delegate == null) { efl_ui_scrollbar_bar_position_set_static_delegate = new efl_ui_scrollbar_bar_position_set_delegate(bar_position_set); } if (methods.FirstOrDefault(m => m.Name == "SetBarPosition") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollbar_bar_position_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollbar_bar_position_set_static_delegate) }); } if (efl_ui_scrollbar_bar_visibility_update_static_delegate == null) { efl_ui_scrollbar_bar_visibility_update_static_delegate = new efl_ui_scrollbar_bar_visibility_update_delegate(bar_visibility_update); } if (methods.FirstOrDefault(m => m.Name == "UpdateBarVisibility") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollbar_bar_visibility_update"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollbar_bar_visibility_update_static_delegate) }); } if (efl_ui_widget_focus_manager_create_static_delegate == null) { efl_ui_widget_focus_manager_create_static_delegate = new efl_ui_widget_focus_manager_create_delegate(focus_manager_create); } if (methods.FirstOrDefault(m => m.Name == "FocusManagerCreate") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_widget_focus_manager_create"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_widget_focus_manager_create_static_delegate) }); } if (efl_ui_focus_composition_elements_get_static_delegate == null) { efl_ui_focus_composition_elements_get_static_delegate = new efl_ui_focus_composition_elements_get_delegate(composition_elements_get); } if (methods.FirstOrDefault(m => m.Name == "GetCompositionElements") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_composition_elements_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_composition_elements_get_static_delegate) }); } if (efl_ui_focus_composition_elements_set_static_delegate == null) { efl_ui_focus_composition_elements_set_static_delegate = new efl_ui_focus_composition_elements_set_delegate(composition_elements_set); } if (methods.FirstOrDefault(m => m.Name == "SetCompositionElements") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_composition_elements_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_composition_elements_set_static_delegate) }); } if (efl_ui_focus_composition_logical_mode_get_static_delegate == null) { efl_ui_focus_composition_logical_mode_get_static_delegate = new efl_ui_focus_composition_logical_mode_get_delegate(logical_mode_get); } if (methods.FirstOrDefault(m => m.Name == "GetLogicalMode") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_composition_logical_mode_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_composition_logical_mode_get_static_delegate) }); } if (efl_ui_focus_composition_logical_mode_set_static_delegate == null) { efl_ui_focus_composition_logical_mode_set_static_delegate = new efl_ui_focus_composition_logical_mode_set_delegate(logical_mode_set); } if (methods.FirstOrDefault(m => m.Name == "SetLogicalMode") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_composition_logical_mode_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_composition_logical_mode_set_static_delegate) }); } if (efl_ui_focus_composition_dirty_static_delegate == null) { efl_ui_focus_composition_dirty_static_delegate = new efl_ui_focus_composition_dirty_delegate(dirty); } if (methods.FirstOrDefault(m => m.Name == "Dirty") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_composition_dirty"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_composition_dirty_static_delegate) }); } if (efl_ui_focus_composition_prepare_static_delegate == null) { efl_ui_focus_composition_prepare_static_delegate = new efl_ui_focus_composition_prepare_delegate(prepare); } if (methods.FirstOrDefault(m => m.Name == "Prepare") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_composition_prepare"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_composition_prepare_static_delegate) }); } if (efl_ui_focus_manager_focus_get_static_delegate == null) { efl_ui_focus_manager_focus_get_static_delegate = new efl_ui_focus_manager_focus_get_delegate(manager_focus_get); } if (methods.FirstOrDefault(m => m.Name == "GetManagerFocus") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_focus_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_focus_get_static_delegate) }); } if (efl_ui_focus_manager_focus_set_static_delegate == null) { efl_ui_focus_manager_focus_set_static_delegate = new efl_ui_focus_manager_focus_set_delegate(manager_focus_set); } if (methods.FirstOrDefault(m => m.Name == "SetManagerFocus") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_focus_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_focus_set_static_delegate) }); } if (efl_ui_focus_manager_redirect_get_static_delegate == null) { efl_ui_focus_manager_redirect_get_static_delegate = new efl_ui_focus_manager_redirect_get_delegate(redirect_get); } if (methods.FirstOrDefault(m => m.Name == "GetRedirect") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_redirect_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_redirect_get_static_delegate) }); } if (efl_ui_focus_manager_redirect_set_static_delegate == null) { efl_ui_focus_manager_redirect_set_static_delegate = new efl_ui_focus_manager_redirect_set_delegate(redirect_set); } if (methods.FirstOrDefault(m => m.Name == "SetRedirect") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_redirect_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_redirect_set_static_delegate) }); } if (efl_ui_focus_manager_border_elements_get_static_delegate == null) { efl_ui_focus_manager_border_elements_get_static_delegate = new efl_ui_focus_manager_border_elements_get_delegate(border_elements_get); } if (methods.FirstOrDefault(m => m.Name == "GetBorderElements") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_border_elements_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_border_elements_get_static_delegate) }); } if (efl_ui_focus_manager_viewport_elements_get_static_delegate == null) { efl_ui_focus_manager_viewport_elements_get_static_delegate = new efl_ui_focus_manager_viewport_elements_get_delegate(viewport_elements_get); } if (methods.FirstOrDefault(m => m.Name == "GetViewportElements") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_viewport_elements_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_viewport_elements_get_static_delegate) }); } if (efl_ui_focus_manager_root_get_static_delegate == null) { efl_ui_focus_manager_root_get_static_delegate = new efl_ui_focus_manager_root_get_delegate(root_get); } if (methods.FirstOrDefault(m => m.Name == "GetRoot") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_root_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_root_get_static_delegate) }); } if (efl_ui_focus_manager_root_set_static_delegate == null) { efl_ui_focus_manager_root_set_static_delegate = new efl_ui_focus_manager_root_set_delegate(root_set); } if (methods.FirstOrDefault(m => m.Name == "SetRoot") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_root_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_root_set_static_delegate) }); } if (efl_ui_focus_manager_move_static_delegate == null) { efl_ui_focus_manager_move_static_delegate = new efl_ui_focus_manager_move_delegate(move); } if (methods.FirstOrDefault(m => m.Name == "Move") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_move"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_move_static_delegate) }); } if (efl_ui_focus_manager_request_move_static_delegate == null) { efl_ui_focus_manager_request_move_static_delegate = new efl_ui_focus_manager_request_move_delegate(request_move); } if (methods.FirstOrDefault(m => m.Name == "MoveRequest") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_request_move"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_request_move_static_delegate) }); } if (efl_ui_focus_manager_request_subchild_static_delegate == null) { efl_ui_focus_manager_request_subchild_static_delegate = new efl_ui_focus_manager_request_subchild_delegate(request_subchild); } if (methods.FirstOrDefault(m => m.Name == "RequestSubchild") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_request_subchild"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_request_subchild_static_delegate) }); } if (efl_ui_focus_manager_fetch_static_delegate == null) { efl_ui_focus_manager_fetch_static_delegate = new efl_ui_focus_manager_fetch_delegate(fetch); } if (methods.FirstOrDefault(m => m.Name == "Fetch") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_fetch"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_fetch_static_delegate) }); } if (efl_ui_focus_manager_logical_end_static_delegate == null) { efl_ui_focus_manager_logical_end_static_delegate = new efl_ui_focus_manager_logical_end_delegate(logical_end); } if (methods.FirstOrDefault(m => m.Name == "LogicalEnd") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_logical_end"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_logical_end_static_delegate) }); } if (efl_ui_focus_manager_reset_history_static_delegate == null) { efl_ui_focus_manager_reset_history_static_delegate = new efl_ui_focus_manager_reset_history_delegate(reset_history); } if (methods.FirstOrDefault(m => m.Name == "ResetHistory") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_reset_history"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_reset_history_static_delegate) }); } if (efl_ui_focus_manager_pop_history_stack_static_delegate == null) { efl_ui_focus_manager_pop_history_stack_static_delegate = new efl_ui_focus_manager_pop_history_stack_delegate(pop_history_stack); } if (methods.FirstOrDefault(m => m.Name == "PopHistoryStack") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_pop_history_stack"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_pop_history_stack_static_delegate) }); } if (efl_ui_focus_manager_setup_on_first_touch_static_delegate == null) { efl_ui_focus_manager_setup_on_first_touch_static_delegate = new efl_ui_focus_manager_setup_on_first_touch_delegate(setup_on_first_touch); } if (methods.FirstOrDefault(m => m.Name == "SetupOnFirstTouch") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_setup_on_first_touch"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_setup_on_first_touch_static_delegate) }); } if (efl_ui_focus_manager_dirty_logic_freeze_static_delegate == null) { efl_ui_focus_manager_dirty_logic_freeze_static_delegate = new efl_ui_focus_manager_dirty_logic_freeze_delegate(dirty_logic_freeze); } if (methods.FirstOrDefault(m => m.Name == "FreezeDirtyLogic") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_dirty_logic_freeze"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_dirty_logic_freeze_static_delegate) }); } if (efl_ui_focus_manager_dirty_logic_unfreeze_static_delegate == null) { efl_ui_focus_manager_dirty_logic_unfreeze_static_delegate = new efl_ui_focus_manager_dirty_logic_unfreeze_delegate(dirty_logic_unfreeze); } if (methods.FirstOrDefault(m => m.Name == "DirtyLogicUnfreeze") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_dirty_logic_unfreeze"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_dirty_logic_unfreeze_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.ListView.efl_ui_list_view_class_get(); } #pragma warning disable CA1707, SA1300, SA1600 [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_ui_list_view_homogeneous_get_delegate(System.IntPtr obj, System.IntPtr pd); [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_ui_list_view_homogeneous_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_ui_list_view_homogeneous_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_list_view_homogeneous_get"); private static bool homogeneous_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_list_view_homogeneous_get was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { bool _ret_var = default(bool); try { _ret_var = ((ListView)wrapper).GetHomogeneous(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_ui_list_view_homogeneous_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_ui_list_view_homogeneous_get_delegate efl_ui_list_view_homogeneous_get_static_delegate; private delegate void efl_ui_list_view_homogeneous_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool homogeneous); public delegate void efl_ui_list_view_homogeneous_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool homogeneous); public static Efl.Eo.FunctionWrapper efl_ui_list_view_homogeneous_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_list_view_homogeneous_set"); private static void homogeneous_set(System.IntPtr obj, System.IntPtr pd, bool homogeneous) { Eina.Log.Debug("function efl_ui_list_view_homogeneous_set was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { try { ((ListView)wrapper).SetHomogeneous(homogeneous); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_list_view_homogeneous_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), homogeneous); } } private static efl_ui_list_view_homogeneous_set_delegate efl_ui_list_view_homogeneous_set_static_delegate; private delegate Elm.Object.SelectMode efl_ui_list_view_select_mode_get_delegate(System.IntPtr obj, System.IntPtr pd); public delegate Elm.Object.SelectMode efl_ui_list_view_select_mode_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_ui_list_view_select_mode_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_list_view_select_mode_get"); private static Elm.Object.SelectMode select_mode_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_list_view_select_mode_get was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { Elm.Object.SelectMode _ret_var = default(Elm.Object.SelectMode); try { _ret_var = ((ListView)wrapper).GetSelectMode(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_ui_list_view_select_mode_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_ui_list_view_select_mode_get_delegate efl_ui_list_view_select_mode_get_static_delegate; private delegate void efl_ui_list_view_select_mode_set_delegate(System.IntPtr obj, System.IntPtr pd, Elm.Object.SelectMode mode); public delegate void efl_ui_list_view_select_mode_set_api_delegate(System.IntPtr obj, Elm.Object.SelectMode mode); public static Efl.Eo.FunctionWrapper efl_ui_list_view_select_mode_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_list_view_select_mode_set"); private static void select_mode_set(System.IntPtr obj, System.IntPtr pd, Elm.Object.SelectMode mode) { Eina.Log.Debug("function efl_ui_list_view_select_mode_set was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { try { ((ListView)wrapper).SetSelectMode(mode); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_list_view_select_mode_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), mode); } } private static efl_ui_list_view_select_mode_set_delegate efl_ui_list_view_select_mode_set_static_delegate; [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringshareKeepOwnershipMarshaler))] private delegate System.String efl_ui_list_view_default_style_get_delegate(System.IntPtr obj, System.IntPtr pd); [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringshareKeepOwnershipMarshaler))] public delegate System.String efl_ui_list_view_default_style_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_ui_list_view_default_style_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_list_view_default_style_get"); private static System.String default_style_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_list_view_default_style_get was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { System.String _ret_var = default(System.String); try { _ret_var = ((ListView)wrapper).GetDefaultStyle(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_ui_list_view_default_style_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_ui_list_view_default_style_get_delegate efl_ui_list_view_default_style_get_static_delegate; private delegate void efl_ui_list_view_default_style_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringshareKeepOwnershipMarshaler))] System.String style); public delegate void efl_ui_list_view_default_style_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringshareKeepOwnershipMarshaler))] System.String style); public static Efl.Eo.FunctionWrapper efl_ui_list_view_default_style_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_list_view_default_style_set"); private static void default_style_set(System.IntPtr obj, System.IntPtr pd, System.String style) { Eina.Log.Debug("function efl_ui_list_view_default_style_set was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { try { ((ListView)wrapper).SetDefaultStyle(style); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_list_view_default_style_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), style); } } private static efl_ui_list_view_default_style_set_delegate efl_ui_list_view_default_style_set_static_delegate; private delegate void efl_ui_list_view_layout_factory_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.IFactory factory); public delegate void efl_ui_list_view_layout_factory_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.IFactory factory); public static Efl.Eo.FunctionWrapper efl_ui_list_view_layout_factory_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_list_view_layout_factory_set"); private static void layout_factory_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.IFactory factory) { Eina.Log.Debug("function efl_ui_list_view_layout_factory_set was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { try { ((ListView)wrapper).SetLayoutFactory(factory); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_list_view_layout_factory_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), factory); } } private static efl_ui_list_view_layout_factory_set_delegate efl_ui_list_view_layout_factory_set_static_delegate; private delegate int efl_access_selection_selected_children_count_get_delegate(System.IntPtr obj, System.IntPtr pd); public delegate int efl_access_selection_selected_children_count_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_access_selection_selected_children_count_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_selection_selected_children_count_get"); private static int selected_children_count_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_access_selection_selected_children_count_get was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { int _ret_var = default(int); try { _ret_var = ((ListView)wrapper).GetSelectedChildrenCount(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_access_selection_selected_children_count_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_access_selection_selected_children_count_get_delegate efl_access_selection_selected_children_count_get_static_delegate; [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] private delegate Efl.Object efl_access_selection_selected_child_get_delegate(System.IntPtr obj, System.IntPtr pd, int selected_child_index); [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] public delegate Efl.Object efl_access_selection_selected_child_get_api_delegate(System.IntPtr obj, int selected_child_index); public static Efl.Eo.FunctionWrapper efl_access_selection_selected_child_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_selection_selected_child_get"); private static Efl.Object selected_child_get(System.IntPtr obj, System.IntPtr pd, int selected_child_index) { Eina.Log.Debug("function efl_access_selection_selected_child_get was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { Efl.Object _ret_var = default(Efl.Object); try { _ret_var = ((ListView)wrapper).GetSelectedChild(selected_child_index); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_access_selection_selected_child_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), selected_child_index); } } private static efl_access_selection_selected_child_get_delegate efl_access_selection_selected_child_get_static_delegate; [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_access_selection_child_select_delegate(System.IntPtr obj, System.IntPtr pd, int child_index); [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_access_selection_child_select_api_delegate(System.IntPtr obj, int child_index); public static Efl.Eo.FunctionWrapper efl_access_selection_child_select_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_selection_child_select"); private static bool child_select(System.IntPtr obj, System.IntPtr pd, int child_index) { Eina.Log.Debug("function efl_access_selection_child_select was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { bool _ret_var = default(bool); try { _ret_var = ((ListView)wrapper).ChildSelect(child_index); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_access_selection_child_select_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), child_index); } } private static efl_access_selection_child_select_delegate efl_access_selection_child_select_static_delegate; [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_access_selection_selected_child_deselect_delegate(System.IntPtr obj, System.IntPtr pd, int child_index); [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_access_selection_selected_child_deselect_api_delegate(System.IntPtr obj, int child_index); public static Efl.Eo.FunctionWrapper efl_access_selection_selected_child_deselect_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_selection_selected_child_deselect"); private static bool selected_child_deselect(System.IntPtr obj, System.IntPtr pd, int child_index) { Eina.Log.Debug("function efl_access_selection_selected_child_deselect was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { bool _ret_var = default(bool); try { _ret_var = ((ListView)wrapper).SelectedChildDeselect(child_index); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_access_selection_selected_child_deselect_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), child_index); } } private static efl_access_selection_selected_child_deselect_delegate efl_access_selection_selected_child_deselect_static_delegate; [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_access_selection_is_child_selected_delegate(System.IntPtr obj, System.IntPtr pd, int child_index); [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_access_selection_is_child_selected_api_delegate(System.IntPtr obj, int child_index); public static Efl.Eo.FunctionWrapper efl_access_selection_is_child_selected_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_selection_is_child_selected"); private static bool is_child_selected(System.IntPtr obj, System.IntPtr pd, int child_index) { Eina.Log.Debug("function efl_access_selection_is_child_selected was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { bool _ret_var = default(bool); try { _ret_var = ((ListView)wrapper).IsChildSelected(child_index); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_access_selection_is_child_selected_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), child_index); } } private static efl_access_selection_is_child_selected_delegate efl_access_selection_is_child_selected_static_delegate; [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_access_selection_all_children_select_delegate(System.IntPtr obj, System.IntPtr pd); [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_access_selection_all_children_select_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_access_selection_all_children_select_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_selection_all_children_select"); private static bool all_children_select(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_access_selection_all_children_select was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { bool _ret_var = default(bool); try { _ret_var = ((ListView)wrapper).AllChildrenSelect(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_access_selection_all_children_select_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_access_selection_all_children_select_delegate efl_access_selection_all_children_select_static_delegate; [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_access_selection_clear_delegate(System.IntPtr obj, System.IntPtr pd); [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_access_selection_clear_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_access_selection_clear_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_selection_clear"); private static bool access_selection_clear(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_access_selection_clear was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { bool _ret_var = default(bool); try { _ret_var = ((ListView)wrapper).ClearAccessSelection(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_access_selection_clear_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_access_selection_clear_delegate efl_access_selection_clear_static_delegate; [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_access_selection_child_deselect_delegate(System.IntPtr obj, System.IntPtr pd, int child_index); [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_access_selection_child_deselect_api_delegate(System.IntPtr obj, int child_index); public static Efl.Eo.FunctionWrapper efl_access_selection_child_deselect_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_selection_child_deselect"); private static bool child_deselect(System.IntPtr obj, System.IntPtr pd, int child_index) { Eina.Log.Debug("function efl_access_selection_child_deselect was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { bool _ret_var = default(bool); try { _ret_var = ((ListView)wrapper).ChildDeselect(child_index); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_access_selection_child_deselect_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), child_index); } } private static efl_access_selection_child_deselect_delegate efl_access_selection_child_deselect_static_delegate; private delegate void efl_ui_list_view_model_load_range_set_delegate(System.IntPtr obj, System.IntPtr pd, int first, int count); public delegate void efl_ui_list_view_model_load_range_set_api_delegate(System.IntPtr obj, int first, int count); public static Efl.Eo.FunctionWrapper efl_ui_list_view_model_load_range_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_list_view_model_load_range_set"); private static void load_range_set(System.IntPtr obj, System.IntPtr pd, int first, int count) { Eina.Log.Debug("function efl_ui_list_view_model_load_range_set was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { try { ((ListView)wrapper).SetLoadRange(first, count); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_list_view_model_load_range_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), first, count); } } private static efl_ui_list_view_model_load_range_set_delegate efl_ui_list_view_model_load_range_set_static_delegate; private delegate int efl_ui_list_view_model_size_get_delegate(System.IntPtr obj, System.IntPtr pd); public delegate int efl_ui_list_view_model_size_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_ui_list_view_model_size_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_list_view_model_size_get"); private static int model_size_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_list_view_model_size_get was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { int _ret_var = default(int); try { _ret_var = ((ListView)wrapper).GetModelSize(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_ui_list_view_model_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_ui_list_view_model_size_get_delegate efl_ui_list_view_model_size_get_static_delegate; private delegate Eina.Size2D.NativeStruct efl_ui_list_view_model_min_size_get_delegate(System.IntPtr obj, System.IntPtr pd); public delegate Eina.Size2D.NativeStruct efl_ui_list_view_model_min_size_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_ui_list_view_model_min_size_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_list_view_model_min_size_get"); private static Eina.Size2D.NativeStruct min_size_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_list_view_model_min_size_get was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { Eina.Size2D _ret_var = default(Eina.Size2D); try { _ret_var = ((ListView)wrapper).GetMinSize(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_ui_list_view_model_min_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_ui_list_view_model_min_size_get_delegate efl_ui_list_view_model_min_size_get_static_delegate; private delegate void efl_ui_list_view_model_min_size_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct min); public delegate void efl_ui_list_view_model_min_size_set_api_delegate(System.IntPtr obj, Eina.Size2D.NativeStruct min); public static Efl.Eo.FunctionWrapper efl_ui_list_view_model_min_size_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_list_view_model_min_size_set"); private static void min_size_set(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct min) { Eina.Log.Debug("function efl_ui_list_view_model_min_size_set was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { Eina.Size2D _in_min = min; try { ((ListView)wrapper).SetMinSize(_in_min); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_list_view_model_min_size_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), min); } } private static efl_ui_list_view_model_min_size_set_delegate efl_ui_list_view_model_min_size_set_static_delegate; private delegate System.IntPtr efl_ui_list_view_model_realize_delegate(System.IntPtr obj, System.IntPtr pd, ref Efl.Ui.ListViewLayoutItem.NativeStruct item); public delegate System.IntPtr efl_ui_list_view_model_realize_api_delegate(System.IntPtr obj, ref Efl.Ui.ListViewLayoutItem.NativeStruct item); public static Efl.Eo.FunctionWrapper efl_ui_list_view_model_realize_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_list_view_model_realize"); private static System.IntPtr realize(System.IntPtr obj, System.IntPtr pd, ref Efl.Ui.ListViewLayoutItem.NativeStruct item) { Eina.Log.Debug("function efl_ui_list_view_model_realize was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { Efl.Ui.ListViewLayoutItem _in_item = item; Efl.Ui.ListViewLayoutItem _ret_var = default(Efl.Ui.ListViewLayoutItem); try { _ret_var = ((ListView)wrapper).Realize(ref _in_item); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } item = _in_item; return Eina.PrimitiveConversion.ManagedToPointerAlloc(_ret_var); } else { return efl_ui_list_view_model_realize_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), ref item); } } private static efl_ui_list_view_model_realize_delegate efl_ui_list_view_model_realize_static_delegate; private delegate void efl_ui_list_view_model_unrealize_delegate(System.IntPtr obj, System.IntPtr pd, ref Efl.Ui.ListViewLayoutItem.NativeStruct item); public delegate void efl_ui_list_view_model_unrealize_api_delegate(System.IntPtr obj, ref Efl.Ui.ListViewLayoutItem.NativeStruct item); public static Efl.Eo.FunctionWrapper efl_ui_list_view_model_unrealize_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_list_view_model_unrealize"); private static void unrealize(System.IntPtr obj, System.IntPtr pd, ref Efl.Ui.ListViewLayoutItem.NativeStruct item) { Eina.Log.Debug("function efl_ui_list_view_model_unrealize was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { Efl.Ui.ListViewLayoutItem _in_item = item; try { ((ListView)wrapper).Unrealize(ref _in_item); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } item = _in_item; } else { efl_ui_list_view_model_unrealize_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), ref item); } } private static efl_ui_list_view_model_unrealize_delegate efl_ui_list_view_model_unrealize_static_delegate; private delegate Eina.Position2D.NativeStruct efl_ui_scrollable_content_pos_get_delegate(System.IntPtr obj, System.IntPtr pd); public delegate Eina.Position2D.NativeStruct efl_ui_scrollable_content_pos_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_ui_scrollable_content_pos_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_scrollable_content_pos_get"); private static Eina.Position2D.NativeStruct content_pos_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_scrollable_content_pos_get was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { Eina.Position2D _ret_var = default(Eina.Position2D); try { _ret_var = ((ListView)wrapper).GetContentPos(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_ui_scrollable_content_pos_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_ui_scrollable_content_pos_get_delegate efl_ui_scrollable_content_pos_get_static_delegate; private delegate void efl_ui_scrollable_content_pos_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Position2D.NativeStruct pos); public delegate void efl_ui_scrollable_content_pos_set_api_delegate(System.IntPtr obj, Eina.Position2D.NativeStruct pos); public static Efl.Eo.FunctionWrapper efl_ui_scrollable_content_pos_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_scrollable_content_pos_set"); private static void content_pos_set(System.IntPtr obj, System.IntPtr pd, Eina.Position2D.NativeStruct pos) { Eina.Log.Debug("function efl_ui_scrollable_content_pos_set was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { Eina.Position2D _in_pos = pos; try { ((ListView)wrapper).SetContentPos(_in_pos); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_scrollable_content_pos_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), pos); } } private static efl_ui_scrollable_content_pos_set_delegate efl_ui_scrollable_content_pos_set_static_delegate; private delegate Eina.Size2D.NativeStruct efl_ui_scrollable_content_size_get_delegate(System.IntPtr obj, System.IntPtr pd); public delegate Eina.Size2D.NativeStruct efl_ui_scrollable_content_size_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_ui_scrollable_content_size_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_scrollable_content_size_get"); private static Eina.Size2D.NativeStruct content_size_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_scrollable_content_size_get was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { Eina.Size2D _ret_var = default(Eina.Size2D); try { _ret_var = ((ListView)wrapper).GetContentSize(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_ui_scrollable_content_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_ui_scrollable_content_size_get_delegate efl_ui_scrollable_content_size_get_static_delegate; private delegate Eina.Rect.NativeStruct efl_ui_scrollable_viewport_geometry_get_delegate(System.IntPtr obj, System.IntPtr pd); public delegate Eina.Rect.NativeStruct efl_ui_scrollable_viewport_geometry_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_ui_scrollable_viewport_geometry_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_scrollable_viewport_geometry_get"); private static Eina.Rect.NativeStruct viewport_geometry_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_scrollable_viewport_geometry_get was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { Eina.Rect _ret_var = default(Eina.Rect); try { _ret_var = ((ListView)wrapper).GetViewportGeometry(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_ui_scrollable_viewport_geometry_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_ui_scrollable_viewport_geometry_get_delegate efl_ui_scrollable_viewport_geometry_get_static_delegate; private delegate void efl_ui_scrollable_bounce_enabled_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] out bool horiz, [MarshalAs(UnmanagedType.U1)] out bool vert); public delegate void efl_ui_scrollable_bounce_enabled_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] out bool horiz, [MarshalAs(UnmanagedType.U1)] out bool vert); public static Efl.Eo.FunctionWrapper efl_ui_scrollable_bounce_enabled_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_scrollable_bounce_enabled_get"); private static void bounce_enabled_get(System.IntPtr obj, System.IntPtr pd, out bool horiz, out bool vert) { Eina.Log.Debug("function efl_ui_scrollable_bounce_enabled_get was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { horiz = default(bool); vert = default(bool); try { ((ListView)wrapper).GetBounceEnabled(out horiz, out vert); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_scrollable_bounce_enabled_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out horiz, out vert); } } private static efl_ui_scrollable_bounce_enabled_get_delegate efl_ui_scrollable_bounce_enabled_get_static_delegate; private delegate void efl_ui_scrollable_bounce_enabled_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool horiz, [MarshalAs(UnmanagedType.U1)] bool vert); public delegate void efl_ui_scrollable_bounce_enabled_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool horiz, [MarshalAs(UnmanagedType.U1)] bool vert); public static Efl.Eo.FunctionWrapper efl_ui_scrollable_bounce_enabled_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_scrollable_bounce_enabled_set"); private static void bounce_enabled_set(System.IntPtr obj, System.IntPtr pd, bool horiz, bool vert) { Eina.Log.Debug("function efl_ui_scrollable_bounce_enabled_set was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { try { ((ListView)wrapper).SetBounceEnabled(horiz, vert); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_scrollable_bounce_enabled_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), horiz, vert); } } private static efl_ui_scrollable_bounce_enabled_set_delegate efl_ui_scrollable_bounce_enabled_set_static_delegate; [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_ui_scrollable_scroll_freeze_get_delegate(System.IntPtr obj, System.IntPtr pd); [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_ui_scrollable_scroll_freeze_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_ui_scrollable_scroll_freeze_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_scrollable_scroll_freeze_get"); private static bool scroll_freeze_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_scrollable_scroll_freeze_get was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { bool _ret_var = default(bool); try { _ret_var = ((ListView)wrapper).GetScrollFreeze(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_ui_scrollable_scroll_freeze_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_ui_scrollable_scroll_freeze_get_delegate efl_ui_scrollable_scroll_freeze_get_static_delegate; private delegate void efl_ui_scrollable_scroll_freeze_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool freeze); public delegate void efl_ui_scrollable_scroll_freeze_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool freeze); public static Efl.Eo.FunctionWrapper efl_ui_scrollable_scroll_freeze_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_scrollable_scroll_freeze_set"); private static void scroll_freeze_set(System.IntPtr obj, System.IntPtr pd, bool freeze) { Eina.Log.Debug("function efl_ui_scrollable_scroll_freeze_set was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { try { ((ListView)wrapper).SetScrollFreeze(freeze); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_scrollable_scroll_freeze_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), freeze); } } private static efl_ui_scrollable_scroll_freeze_set_delegate efl_ui_scrollable_scroll_freeze_set_static_delegate; [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_ui_scrollable_scroll_hold_get_delegate(System.IntPtr obj, System.IntPtr pd); [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_ui_scrollable_scroll_hold_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_ui_scrollable_scroll_hold_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_scrollable_scroll_hold_get"); private static bool scroll_hold_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_scrollable_scroll_hold_get was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { bool _ret_var = default(bool); try { _ret_var = ((ListView)wrapper).GetScrollHold(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_ui_scrollable_scroll_hold_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_ui_scrollable_scroll_hold_get_delegate efl_ui_scrollable_scroll_hold_get_static_delegate; private delegate void efl_ui_scrollable_scroll_hold_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool hold); public delegate void efl_ui_scrollable_scroll_hold_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool hold); public static Efl.Eo.FunctionWrapper efl_ui_scrollable_scroll_hold_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_scrollable_scroll_hold_set"); private static void scroll_hold_set(System.IntPtr obj, System.IntPtr pd, bool hold) { Eina.Log.Debug("function efl_ui_scrollable_scroll_hold_set was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { try { ((ListView)wrapper).SetScrollHold(hold); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_scrollable_scroll_hold_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), hold); } } private static efl_ui_scrollable_scroll_hold_set_delegate efl_ui_scrollable_scroll_hold_set_static_delegate; private delegate void efl_ui_scrollable_looping_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] out bool loop_h, [MarshalAs(UnmanagedType.U1)] out bool loop_v); public delegate void efl_ui_scrollable_looping_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] out bool loop_h, [MarshalAs(UnmanagedType.U1)] out bool loop_v); public static Efl.Eo.FunctionWrapper efl_ui_scrollable_looping_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_scrollable_looping_get"); private static void looping_get(System.IntPtr obj, System.IntPtr pd, out bool loop_h, out bool loop_v) { Eina.Log.Debug("function efl_ui_scrollable_looping_get was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { loop_h = default(bool); loop_v = default(bool); try { ((ListView)wrapper).GetLooping(out loop_h, out loop_v); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_scrollable_looping_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out loop_h, out loop_v); } } private static efl_ui_scrollable_looping_get_delegate efl_ui_scrollable_looping_get_static_delegate; private delegate void efl_ui_scrollable_looping_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool loop_h, [MarshalAs(UnmanagedType.U1)] bool loop_v); public delegate void efl_ui_scrollable_looping_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool loop_h, [MarshalAs(UnmanagedType.U1)] bool loop_v); public static Efl.Eo.FunctionWrapper efl_ui_scrollable_looping_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_scrollable_looping_set"); private static void looping_set(System.IntPtr obj, System.IntPtr pd, bool loop_h, bool loop_v) { Eina.Log.Debug("function efl_ui_scrollable_looping_set was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { try { ((ListView)wrapper).SetLooping(loop_h, loop_v); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_scrollable_looping_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), loop_h, loop_v); } } private static efl_ui_scrollable_looping_set_delegate efl_ui_scrollable_looping_set_static_delegate; private delegate Efl.Ui.ScrollBlock efl_ui_scrollable_movement_block_get_delegate(System.IntPtr obj, System.IntPtr pd); public delegate Efl.Ui.ScrollBlock efl_ui_scrollable_movement_block_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_ui_scrollable_movement_block_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_scrollable_movement_block_get"); private static Efl.Ui.ScrollBlock movement_block_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_scrollable_movement_block_get was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { Efl.Ui.ScrollBlock _ret_var = default(Efl.Ui.ScrollBlock); try { _ret_var = ((ListView)wrapper).GetMovementBlock(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_ui_scrollable_movement_block_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_ui_scrollable_movement_block_get_delegate efl_ui_scrollable_movement_block_get_static_delegate; private delegate void efl_ui_scrollable_movement_block_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ScrollBlock block); public delegate void efl_ui_scrollable_movement_block_set_api_delegate(System.IntPtr obj, Efl.Ui.ScrollBlock block); public static Efl.Eo.FunctionWrapper efl_ui_scrollable_movement_block_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_scrollable_movement_block_set"); private static void movement_block_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ScrollBlock block) { Eina.Log.Debug("function efl_ui_scrollable_movement_block_set was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { try { ((ListView)wrapper).SetMovementBlock(block); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_scrollable_movement_block_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), block); } } private static efl_ui_scrollable_movement_block_set_delegate efl_ui_scrollable_movement_block_set_static_delegate; private delegate void efl_ui_scrollable_gravity_get_delegate(System.IntPtr obj, System.IntPtr pd, out double x, out double y); public delegate void efl_ui_scrollable_gravity_get_api_delegate(System.IntPtr obj, out double x, out double y); public static Efl.Eo.FunctionWrapper efl_ui_scrollable_gravity_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_scrollable_gravity_get"); private static void gravity_get(System.IntPtr obj, System.IntPtr pd, out double x, out double y) { Eina.Log.Debug("function efl_ui_scrollable_gravity_get was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { x = default(double); y = default(double); try { ((ListView)wrapper).GetGravity(out x, out y); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_scrollable_gravity_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out x, out y); } } private static efl_ui_scrollable_gravity_get_delegate efl_ui_scrollable_gravity_get_static_delegate; private delegate void efl_ui_scrollable_gravity_set_delegate(System.IntPtr obj, System.IntPtr pd, double x, double y); public delegate void efl_ui_scrollable_gravity_set_api_delegate(System.IntPtr obj, double x, double y); public static Efl.Eo.FunctionWrapper efl_ui_scrollable_gravity_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_scrollable_gravity_set"); private static void gravity_set(System.IntPtr obj, System.IntPtr pd, double x, double y) { Eina.Log.Debug("function efl_ui_scrollable_gravity_set was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { try { ((ListView)wrapper).SetGravity(x, y); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_scrollable_gravity_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y); } } private static efl_ui_scrollable_gravity_set_delegate efl_ui_scrollable_gravity_set_static_delegate; private delegate void efl_ui_scrollable_match_content_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool w, [MarshalAs(UnmanagedType.U1)] bool h); public delegate void efl_ui_scrollable_match_content_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool w, [MarshalAs(UnmanagedType.U1)] bool h); public static Efl.Eo.FunctionWrapper efl_ui_scrollable_match_content_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_scrollable_match_content_set"); private static void match_content_set(System.IntPtr obj, System.IntPtr pd, bool w, bool h) { Eina.Log.Debug("function efl_ui_scrollable_match_content_set was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { try { ((ListView)wrapper).SetMatchContent(w, h); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_scrollable_match_content_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), w, h); } } private static efl_ui_scrollable_match_content_set_delegate efl_ui_scrollable_match_content_set_static_delegate; private delegate Eina.Position2D.NativeStruct efl_ui_scrollable_step_size_get_delegate(System.IntPtr obj, System.IntPtr pd); public delegate Eina.Position2D.NativeStruct efl_ui_scrollable_step_size_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_ui_scrollable_step_size_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_scrollable_step_size_get"); private static Eina.Position2D.NativeStruct step_size_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_scrollable_step_size_get was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { Eina.Position2D _ret_var = default(Eina.Position2D); try { _ret_var = ((ListView)wrapper).GetStepSize(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_ui_scrollable_step_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_ui_scrollable_step_size_get_delegate efl_ui_scrollable_step_size_get_static_delegate; private delegate void efl_ui_scrollable_step_size_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Position2D.NativeStruct step); public delegate void efl_ui_scrollable_step_size_set_api_delegate(System.IntPtr obj, Eina.Position2D.NativeStruct step); public static Efl.Eo.FunctionWrapper efl_ui_scrollable_step_size_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_scrollable_step_size_set"); private static void step_size_set(System.IntPtr obj, System.IntPtr pd, Eina.Position2D.NativeStruct step) { Eina.Log.Debug("function efl_ui_scrollable_step_size_set was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { Eina.Position2D _in_step = step; try { ((ListView)wrapper).SetStepSize(_in_step); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_scrollable_step_size_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), step); } } private static efl_ui_scrollable_step_size_set_delegate efl_ui_scrollable_step_size_set_static_delegate; private delegate void efl_ui_scrollable_scroll_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct rect, [MarshalAs(UnmanagedType.U1)] bool animation); public delegate void efl_ui_scrollable_scroll_api_delegate(System.IntPtr obj, Eina.Rect.NativeStruct rect, [MarshalAs(UnmanagedType.U1)] bool animation); public static Efl.Eo.FunctionWrapper efl_ui_scrollable_scroll_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_scrollable_scroll"); private static void scroll(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct rect, bool animation) { Eina.Log.Debug("function efl_ui_scrollable_scroll was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { Eina.Rect _in_rect = rect; try { ((ListView)wrapper).Scroll(_in_rect, animation); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_scrollable_scroll_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), rect, animation); } } private static efl_ui_scrollable_scroll_delegate efl_ui_scrollable_scroll_static_delegate; private delegate void efl_ui_scrollbar_bar_mode_get_delegate(System.IntPtr obj, System.IntPtr pd, out Efl.Ui.ScrollbarMode hbar, out Efl.Ui.ScrollbarMode vbar); public delegate void efl_ui_scrollbar_bar_mode_get_api_delegate(System.IntPtr obj, out Efl.Ui.ScrollbarMode hbar, out Efl.Ui.ScrollbarMode vbar); public static Efl.Eo.FunctionWrapper efl_ui_scrollbar_bar_mode_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_scrollbar_bar_mode_get"); private static void bar_mode_get(System.IntPtr obj, System.IntPtr pd, out Efl.Ui.ScrollbarMode hbar, out Efl.Ui.ScrollbarMode vbar) { Eina.Log.Debug("function efl_ui_scrollbar_bar_mode_get was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { hbar = default(Efl.Ui.ScrollbarMode); vbar = default(Efl.Ui.ScrollbarMode); try { ((ListView)wrapper).GetBarMode(out hbar, out vbar); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_scrollbar_bar_mode_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out hbar, out vbar); } } private static efl_ui_scrollbar_bar_mode_get_delegate efl_ui_scrollbar_bar_mode_get_static_delegate; private delegate void efl_ui_scrollbar_bar_mode_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ScrollbarMode hbar, Efl.Ui.ScrollbarMode vbar); public delegate void efl_ui_scrollbar_bar_mode_set_api_delegate(System.IntPtr obj, Efl.Ui.ScrollbarMode hbar, Efl.Ui.ScrollbarMode vbar); public static Efl.Eo.FunctionWrapper efl_ui_scrollbar_bar_mode_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_scrollbar_bar_mode_set"); private static void bar_mode_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ScrollbarMode hbar, Efl.Ui.ScrollbarMode vbar) { Eina.Log.Debug("function efl_ui_scrollbar_bar_mode_set was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { try { ((ListView)wrapper).SetBarMode(hbar, vbar); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_scrollbar_bar_mode_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), hbar, vbar); } } private static efl_ui_scrollbar_bar_mode_set_delegate efl_ui_scrollbar_bar_mode_set_static_delegate; private delegate void efl_ui_scrollbar_bar_size_get_delegate(System.IntPtr obj, System.IntPtr pd, out double width, out double height); public delegate void efl_ui_scrollbar_bar_size_get_api_delegate(System.IntPtr obj, out double width, out double height); public static Efl.Eo.FunctionWrapper efl_ui_scrollbar_bar_size_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_scrollbar_bar_size_get"); private static void bar_size_get(System.IntPtr obj, System.IntPtr pd, out double width, out double height) { Eina.Log.Debug("function efl_ui_scrollbar_bar_size_get was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { width = default(double); height = default(double); try { ((ListView)wrapper).GetBarSize(out width, out height); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_scrollbar_bar_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out width, out height); } } private static efl_ui_scrollbar_bar_size_get_delegate efl_ui_scrollbar_bar_size_get_static_delegate; private delegate void efl_ui_scrollbar_bar_position_get_delegate(System.IntPtr obj, System.IntPtr pd, out double posx, out double posy); public delegate void efl_ui_scrollbar_bar_position_get_api_delegate(System.IntPtr obj, out double posx, out double posy); public static Efl.Eo.FunctionWrapper efl_ui_scrollbar_bar_position_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_scrollbar_bar_position_get"); private static void bar_position_get(System.IntPtr obj, System.IntPtr pd, out double posx, out double posy) { Eina.Log.Debug("function efl_ui_scrollbar_bar_position_get was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { posx = default(double); posy = default(double); try { ((ListView)wrapper).GetBarPosition(out posx, out posy); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_scrollbar_bar_position_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out posx, out posy); } } private static efl_ui_scrollbar_bar_position_get_delegate efl_ui_scrollbar_bar_position_get_static_delegate; private delegate void efl_ui_scrollbar_bar_position_set_delegate(System.IntPtr obj, System.IntPtr pd, double posx, double posy); public delegate void efl_ui_scrollbar_bar_position_set_api_delegate(System.IntPtr obj, double posx, double posy); public static Efl.Eo.FunctionWrapper efl_ui_scrollbar_bar_position_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_scrollbar_bar_position_set"); private static void bar_position_set(System.IntPtr obj, System.IntPtr pd, double posx, double posy) { Eina.Log.Debug("function efl_ui_scrollbar_bar_position_set was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { try { ((ListView)wrapper).SetBarPosition(posx, posy); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_scrollbar_bar_position_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), posx, posy); } } private static efl_ui_scrollbar_bar_position_set_delegate efl_ui_scrollbar_bar_position_set_static_delegate; private delegate void efl_ui_scrollbar_bar_visibility_update_delegate(System.IntPtr obj, System.IntPtr pd); public delegate void efl_ui_scrollbar_bar_visibility_update_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_ui_scrollbar_bar_visibility_update_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_scrollbar_bar_visibility_update"); private static void bar_visibility_update(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_scrollbar_bar_visibility_update was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { try { ((ListView)wrapper).UpdateBarVisibility(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_scrollbar_bar_visibility_update_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_ui_scrollbar_bar_visibility_update_delegate efl_ui_scrollbar_bar_visibility_update_static_delegate; [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] private delegate Efl.Ui.Focus.IManager efl_ui_widget_focus_manager_create_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Focus.IObject root); [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] public delegate Efl.Ui.Focus.IManager efl_ui_widget_focus_manager_create_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Focus.IObject root); public static Efl.Eo.FunctionWrapper efl_ui_widget_focus_manager_create_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_widget_focus_manager_create"); private static Efl.Ui.Focus.IManager focus_manager_create(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IObject root) { Eina.Log.Debug("function efl_ui_widget_focus_manager_create was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { Efl.Ui.Focus.IManager _ret_var = default(Efl.Ui.Focus.IManager); try { _ret_var = ((ListView)wrapper).FocusManagerCreate(root); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_ui_widget_focus_manager_create_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), root); } } private static efl_ui_widget_focus_manager_create_delegate efl_ui_widget_focus_manager_create_static_delegate; private delegate System.IntPtr efl_ui_focus_composition_elements_get_delegate(System.IntPtr obj, System.IntPtr pd); public delegate System.IntPtr efl_ui_focus_composition_elements_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_ui_focus_composition_elements_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_focus_composition_elements_get"); private static System.IntPtr composition_elements_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_focus_composition_elements_get was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { Eina.List _ret_var = default(Eina.List); try { _ret_var = ((ListView)wrapper).GetCompositionElements(); } 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_ui_focus_composition_elements_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_ui_focus_composition_elements_get_delegate efl_ui_focus_composition_elements_get_static_delegate; private delegate void efl_ui_focus_composition_elements_set_delegate(System.IntPtr obj, System.IntPtr pd, System.IntPtr logical_order); public delegate void efl_ui_focus_composition_elements_set_api_delegate(System.IntPtr obj, System.IntPtr logical_order); public static Efl.Eo.FunctionWrapper efl_ui_focus_composition_elements_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_focus_composition_elements_set"); private static void composition_elements_set(System.IntPtr obj, System.IntPtr pd, System.IntPtr logical_order) { Eina.Log.Debug("function efl_ui_focus_composition_elements_set was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { var _in_logical_order = new Eina.List(logical_order, true, false); try { ((ListView)wrapper).SetCompositionElements(_in_logical_order); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_focus_composition_elements_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), logical_order); } } private static efl_ui_focus_composition_elements_set_delegate efl_ui_focus_composition_elements_set_static_delegate; [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_ui_focus_composition_logical_mode_get_delegate(System.IntPtr obj, System.IntPtr pd); [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_ui_focus_composition_logical_mode_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_ui_focus_composition_logical_mode_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_focus_composition_logical_mode_get"); private static bool logical_mode_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_focus_composition_logical_mode_get was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { bool _ret_var = default(bool); try { _ret_var = ((ListView)wrapper).GetLogicalMode(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_ui_focus_composition_logical_mode_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_ui_focus_composition_logical_mode_get_delegate efl_ui_focus_composition_logical_mode_get_static_delegate; private delegate void efl_ui_focus_composition_logical_mode_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool logical_mode); public delegate void efl_ui_focus_composition_logical_mode_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool logical_mode); public static Efl.Eo.FunctionWrapper efl_ui_focus_composition_logical_mode_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_focus_composition_logical_mode_set"); private static void logical_mode_set(System.IntPtr obj, System.IntPtr pd, bool logical_mode) { Eina.Log.Debug("function efl_ui_focus_composition_logical_mode_set was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { try { ((ListView)wrapper).SetLogicalMode(logical_mode); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_focus_composition_logical_mode_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), logical_mode); } } private static efl_ui_focus_composition_logical_mode_set_delegate efl_ui_focus_composition_logical_mode_set_static_delegate; private delegate void efl_ui_focus_composition_dirty_delegate(System.IntPtr obj, System.IntPtr pd); public delegate void efl_ui_focus_composition_dirty_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_ui_focus_composition_dirty_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_focus_composition_dirty"); private static void dirty(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_focus_composition_dirty was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { try { ((ListView)wrapper).Dirty(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_focus_composition_dirty_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_ui_focus_composition_dirty_delegate efl_ui_focus_composition_dirty_static_delegate; private delegate void efl_ui_focus_composition_prepare_delegate(System.IntPtr obj, System.IntPtr pd); public delegate void efl_ui_focus_composition_prepare_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_ui_focus_composition_prepare_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_focus_composition_prepare"); private static void prepare(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_focus_composition_prepare was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { try { ((ListView)wrapper).Prepare(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_focus_composition_prepare_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_ui_focus_composition_prepare_delegate efl_ui_focus_composition_prepare_static_delegate; [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] private delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_focus_get_delegate(System.IntPtr obj, System.IntPtr pd); [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] public delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_focus_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_ui_focus_manager_focus_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_focus_manager_focus_get"); private static Efl.Ui.Focus.IObject manager_focus_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_focus_manager_focus_get was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject); try { _ret_var = ((ListView)wrapper).GetManagerFocus(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_ui_focus_manager_focus_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_ui_focus_manager_focus_get_delegate efl_ui_focus_manager_focus_get_static_delegate; private delegate void efl_ui_focus_manager_focus_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Focus.IObject focus); public delegate void efl_ui_focus_manager_focus_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Focus.IObject focus); public static Efl.Eo.FunctionWrapper efl_ui_focus_manager_focus_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_focus_manager_focus_set"); private static void manager_focus_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IObject focus) { Eina.Log.Debug("function efl_ui_focus_manager_focus_set was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { try { ((ListView)wrapper).SetManagerFocus(focus); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_focus_manager_focus_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), focus); } } private static efl_ui_focus_manager_focus_set_delegate efl_ui_focus_manager_focus_set_static_delegate; [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] private delegate Efl.Ui.Focus.IManager efl_ui_focus_manager_redirect_get_delegate(System.IntPtr obj, System.IntPtr pd); [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] public delegate Efl.Ui.Focus.IManager efl_ui_focus_manager_redirect_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_ui_focus_manager_redirect_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_focus_manager_redirect_get"); private static Efl.Ui.Focus.IManager redirect_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_focus_manager_redirect_get was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { Efl.Ui.Focus.IManager _ret_var = default(Efl.Ui.Focus.IManager); try { _ret_var = ((ListView)wrapper).GetRedirect(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_ui_focus_manager_redirect_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_ui_focus_manager_redirect_get_delegate efl_ui_focus_manager_redirect_get_static_delegate; private delegate void efl_ui_focus_manager_redirect_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Focus.IManager redirect); public delegate void efl_ui_focus_manager_redirect_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Focus.IManager redirect); public static Efl.Eo.FunctionWrapper efl_ui_focus_manager_redirect_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_focus_manager_redirect_set"); private static void redirect_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IManager redirect) { Eina.Log.Debug("function efl_ui_focus_manager_redirect_set was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { try { ((ListView)wrapper).SetRedirect(redirect); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_focus_manager_redirect_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), redirect); } } private static efl_ui_focus_manager_redirect_set_delegate efl_ui_focus_manager_redirect_set_static_delegate; private delegate System.IntPtr efl_ui_focus_manager_border_elements_get_delegate(System.IntPtr obj, System.IntPtr pd); public delegate System.IntPtr efl_ui_focus_manager_border_elements_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_ui_focus_manager_border_elements_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_focus_manager_border_elements_get"); private static System.IntPtr border_elements_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_focus_manager_border_elements_get was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { Eina.Iterator _ret_var = default(Eina.Iterator); try { _ret_var = ((ListView)wrapper).GetBorderElements(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var.Handle; } else { return efl_ui_focus_manager_border_elements_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_ui_focus_manager_border_elements_get_delegate efl_ui_focus_manager_border_elements_get_static_delegate; private delegate System.IntPtr efl_ui_focus_manager_viewport_elements_get_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct viewport); public delegate System.IntPtr efl_ui_focus_manager_viewport_elements_get_api_delegate(System.IntPtr obj, Eina.Rect.NativeStruct viewport); public static Efl.Eo.FunctionWrapper efl_ui_focus_manager_viewport_elements_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_focus_manager_viewport_elements_get"); private static System.IntPtr viewport_elements_get(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct viewport) { Eina.Log.Debug("function efl_ui_focus_manager_viewport_elements_get was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { Eina.Rect _in_viewport = viewport; Eina.Iterator _ret_var = default(Eina.Iterator); try { _ret_var = ((ListView)wrapper).GetViewportElements(_in_viewport); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var.Handle; } else { return efl_ui_focus_manager_viewport_elements_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), viewport); } } private static efl_ui_focus_manager_viewport_elements_get_delegate efl_ui_focus_manager_viewport_elements_get_static_delegate; [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] private delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_root_get_delegate(System.IntPtr obj, System.IntPtr pd); [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] public delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_root_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_ui_focus_manager_root_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_focus_manager_root_get"); private static Efl.Ui.Focus.IObject root_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_focus_manager_root_get was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject); try { _ret_var = ((ListView)wrapper).GetRoot(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_ui_focus_manager_root_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_ui_focus_manager_root_get_delegate efl_ui_focus_manager_root_get_static_delegate; [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_ui_focus_manager_root_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Focus.IObject root); [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_ui_focus_manager_root_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Focus.IObject root); public static Efl.Eo.FunctionWrapper efl_ui_focus_manager_root_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_focus_manager_root_set"); private static bool root_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IObject root) { Eina.Log.Debug("function efl_ui_focus_manager_root_set was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { bool _ret_var = default(bool); try { _ret_var = ((ListView)wrapper).SetRoot(root); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_ui_focus_manager_root_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), root); } } private static efl_ui_focus_manager_root_set_delegate efl_ui_focus_manager_root_set_static_delegate; [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] private delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_move_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.Direction direction); [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] public delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_move_api_delegate(System.IntPtr obj, Efl.Ui.Focus.Direction direction); public static Efl.Eo.FunctionWrapper efl_ui_focus_manager_move_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_focus_manager_move"); private static Efl.Ui.Focus.IObject move(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.Direction direction) { Eina.Log.Debug("function efl_ui_focus_manager_move was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject); try { _ret_var = ((ListView)wrapper).Move(direction); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_ui_focus_manager_move_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), direction); } } private static efl_ui_focus_manager_move_delegate efl_ui_focus_manager_move_static_delegate; [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] private delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_request_move_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.Direction direction, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Focus.IObject child, [MarshalAs(UnmanagedType.U1)] bool logical); [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] public delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_request_move_api_delegate(System.IntPtr obj, Efl.Ui.Focus.Direction direction, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Focus.IObject child, [MarshalAs(UnmanagedType.U1)] bool logical); public static Efl.Eo.FunctionWrapper efl_ui_focus_manager_request_move_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_focus_manager_request_move"); private static Efl.Ui.Focus.IObject request_move(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.Direction direction, Efl.Ui.Focus.IObject child, bool logical) { Eina.Log.Debug("function efl_ui_focus_manager_request_move was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject); try { _ret_var = ((ListView)wrapper).MoveRequest(direction, child, logical); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_ui_focus_manager_request_move_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), direction, child, logical); } } private static efl_ui_focus_manager_request_move_delegate efl_ui_focus_manager_request_move_static_delegate; [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] private delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_request_subchild_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Focus.IObject root); [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] public delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_request_subchild_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Focus.IObject root); public static Efl.Eo.FunctionWrapper efl_ui_focus_manager_request_subchild_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_focus_manager_request_subchild"); private static Efl.Ui.Focus.IObject request_subchild(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IObject root) { Eina.Log.Debug("function efl_ui_focus_manager_request_subchild was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject); try { _ret_var = ((ListView)wrapper).RequestSubchild(root); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_ui_focus_manager_request_subchild_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), root); } } private static efl_ui_focus_manager_request_subchild_delegate efl_ui_focus_manager_request_subchild_static_delegate; private delegate System.IntPtr efl_ui_focus_manager_fetch_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Focus.IObject child); public delegate System.IntPtr efl_ui_focus_manager_fetch_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Focus.IObject child); public static Efl.Eo.FunctionWrapper efl_ui_focus_manager_fetch_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_focus_manager_fetch"); private static System.IntPtr fetch(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IObject child) { Eina.Log.Debug("function efl_ui_focus_manager_fetch was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { Efl.Ui.Focus.Relations _ret_var = default(Efl.Ui.Focus.Relations); try { _ret_var = ((ListView)wrapper).Fetch(child); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return Eina.PrimitiveConversion.ManagedToPointerAlloc(_ret_var); } else { return efl_ui_focus_manager_fetch_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), child); } } private static efl_ui_focus_manager_fetch_delegate efl_ui_focus_manager_fetch_static_delegate; private delegate Efl.Ui.Focus.ManagerLogicalEndDetail.NativeStruct efl_ui_focus_manager_logical_end_delegate(System.IntPtr obj, System.IntPtr pd); public delegate Efl.Ui.Focus.ManagerLogicalEndDetail.NativeStruct efl_ui_focus_manager_logical_end_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_ui_focus_manager_logical_end_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_focus_manager_logical_end"); private static Efl.Ui.Focus.ManagerLogicalEndDetail.NativeStruct logical_end(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_focus_manager_logical_end was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { Efl.Ui.Focus.ManagerLogicalEndDetail _ret_var = default(Efl.Ui.Focus.ManagerLogicalEndDetail); try { _ret_var = ((ListView)wrapper).LogicalEnd(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_ui_focus_manager_logical_end_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_ui_focus_manager_logical_end_delegate efl_ui_focus_manager_logical_end_static_delegate; private delegate void efl_ui_focus_manager_reset_history_delegate(System.IntPtr obj, System.IntPtr pd); public delegate void efl_ui_focus_manager_reset_history_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_ui_focus_manager_reset_history_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_focus_manager_reset_history"); private static void reset_history(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_focus_manager_reset_history was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { try { ((ListView)wrapper).ResetHistory(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_focus_manager_reset_history_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_ui_focus_manager_reset_history_delegate efl_ui_focus_manager_reset_history_static_delegate; private delegate void efl_ui_focus_manager_pop_history_stack_delegate(System.IntPtr obj, System.IntPtr pd); public delegate void efl_ui_focus_manager_pop_history_stack_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_ui_focus_manager_pop_history_stack_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_focus_manager_pop_history_stack"); private static void pop_history_stack(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_focus_manager_pop_history_stack was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { try { ((ListView)wrapper).PopHistoryStack(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_focus_manager_pop_history_stack_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_ui_focus_manager_pop_history_stack_delegate efl_ui_focus_manager_pop_history_stack_static_delegate; private delegate void efl_ui_focus_manager_setup_on_first_touch_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.Direction direction, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Focus.IObject entry); public delegate void efl_ui_focus_manager_setup_on_first_touch_api_delegate(System.IntPtr obj, Efl.Ui.Focus.Direction direction, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Focus.IObject entry); public static Efl.Eo.FunctionWrapper efl_ui_focus_manager_setup_on_first_touch_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_focus_manager_setup_on_first_touch"); private static void setup_on_first_touch(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.Direction direction, Efl.Ui.Focus.IObject entry) { Eina.Log.Debug("function efl_ui_focus_manager_setup_on_first_touch was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { try { ((ListView)wrapper).SetupOnFirstTouch(direction, entry); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_focus_manager_setup_on_first_touch_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), direction, entry); } } private static efl_ui_focus_manager_setup_on_first_touch_delegate efl_ui_focus_manager_setup_on_first_touch_static_delegate; private delegate void efl_ui_focus_manager_dirty_logic_freeze_delegate(System.IntPtr obj, System.IntPtr pd); public delegate void efl_ui_focus_manager_dirty_logic_freeze_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_ui_focus_manager_dirty_logic_freeze_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_focus_manager_dirty_logic_freeze"); private static void dirty_logic_freeze(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_focus_manager_dirty_logic_freeze was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { try { ((ListView)wrapper).FreezeDirtyLogic(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_focus_manager_dirty_logic_freeze_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_ui_focus_manager_dirty_logic_freeze_delegate efl_ui_focus_manager_dirty_logic_freeze_static_delegate; private delegate void efl_ui_focus_manager_dirty_logic_unfreeze_delegate(System.IntPtr obj, System.IntPtr pd); public delegate void efl_ui_focus_manager_dirty_logic_unfreeze_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_ui_focus_manager_dirty_logic_unfreeze_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_focus_manager_dirty_logic_unfreeze"); private static void dirty_logic_unfreeze(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_focus_manager_dirty_logic_unfreeze was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { try { ((ListView)wrapper).DirtyLogicUnfreeze(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_focus_manager_dirty_logic_unfreeze_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_ui_focus_manager_dirty_logic_unfreeze_delegate efl_ui_focus_manager_dirty_logic_unfreeze_static_delegate; #pragma warning restore CA1707, SA1300, SA1600 } } } } namespace Efl { namespace Ui { [StructLayout(LayoutKind.Sequential)] public struct ListViewItemEvent { public Efl.Ui.Layout Layout; public Efl.IModel Child; public int Index; ///Constructor for ListViewItemEvent. public ListViewItemEvent( Efl.Ui.Layout Layout = default(Efl.Ui.Layout), Efl.IModel Child = default(Efl.IModel), int Index = default(int) ) { this.Layout = Layout; this.Child = Child; this.Index = Index; } public static implicit operator ListViewItemEvent(IntPtr ptr) { var tmp = (ListViewItemEvent.NativeStruct)Marshal.PtrToStructure(ptr, typeof(ListViewItemEvent.NativeStruct)); return tmp; } ///Internal wrapper for struct ListViewItemEvent. [StructLayout(LayoutKind.Sequential)] public struct NativeStruct { ///Internal wrapper for field Layout public System.IntPtr Layout; ///Internal wrapper for field Child public System.IntPtr Child; public int Index; ///Implicit conversion to the internal/marshalling representation. public static implicit operator ListViewItemEvent.NativeStruct(ListViewItemEvent _external_struct) { var _internal_struct = new ListViewItemEvent.NativeStruct(); _internal_struct.Layout = _external_struct.Layout?.NativeHandle ?? System.IntPtr.Zero; _internal_struct.Child = _external_struct.Child?.NativeHandle ?? System.IntPtr.Zero; _internal_struct.Index = _external_struct.Index; return _internal_struct; } ///Implicit conversion to the managed representation. public static implicit operator ListViewItemEvent(ListViewItemEvent.NativeStruct _internal_struct) { var _external_struct = new ListViewItemEvent(); _external_struct.Layout = (Efl.Ui.Layout) Efl.Eo.Globals.CreateWrapperFor(_internal_struct.Layout); _external_struct.Child = (Efl.IModelConcrete) Efl.Eo.Globals.CreateWrapperFor(_internal_struct.Child); _external_struct.Index = _internal_struct.Index; return _external_struct; } } } } }