Пример #1
0
                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 = ((IListViewModel)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));
                    }
                }
Пример #2
0
                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
                        {
                            ((IListViewModel)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);
                    }
                }
Пример #3
0
 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(this.NativeHandle, ref _in_item);
     Eina.Error.RaiseIfUnhandledException();
     item = _in_item;
 }
Пример #4
0
 /// <summary></summary>
 /// <param name="item"></param>
 /// <returns></returns>
 public void ContentCreated(ref Efl.Ui.ListViewLayoutItem item)
 {
     Efl.Ui.ListViewLayoutItem.NativeStruct _in_item = item;
     Efl.Ui.IListViewRelayoutNativeInherit.efl_ui_list_view_relayout_content_created_ptr.Value.Delegate(this.NativeHandle, ref _in_item);
     Eina.Error.RaiseIfUnhandledException();
     item = _in_item;
 }
Пример #5
0
        /// <summary></summary>
        /// <param name="item"></param>
        /// <returns></returns>
        public void Unrealize(ref Efl.Ui.ListViewLayoutItem item)
        {
            var _in_item = Efl.Ui.ListViewLayoutItem_StructConversion.ToInternal(item);

            Efl.Ui.ListViewModelNativeInherit.efl_ui_list_view_model_unrealize_ptr.Value.Delegate(this.NativeHandle, ref _in_item);
            Eina.Error.RaiseIfUnhandledException();
            item = Efl.Ui.ListViewLayoutItem_StructConversion.ToManaged(_in_item);
        }
Пример #6
0
            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(this.NativeHandle, ref _in_item);

                Eina.Error.RaiseIfUnhandledException();
                item = _in_item;
                var __ret_tmp = Eina.PrimitiveConversion.PointerToManaged <Efl.Ui.ListViewLayoutItem>(_ret_var);

                return(__ret_tmp);
            }
Пример #7
0
        /// <summary></summary>
        /// <param name="item"></param>
        /// <returns></returns>
        public Efl.Ui.ListViewLayoutItem Realize(ref Efl.Ui.ListViewLayoutItem item)
        {
            var _in_item = Efl.Ui.ListViewLayoutItem_StructConversion.ToInternal(item);
            var _ret_var = Efl.Ui.ListViewModelNativeInherit.efl_ui_list_view_model_realize_ptr.Value.Delegate(this.NativeHandle, ref _in_item);

            Eina.Error.RaiseIfUnhandledException();
            item = Efl.Ui.ListViewLayoutItem_StructConversion.ToManaged(_in_item);
            var __ret_tmp = Eina.PrimitiveConversion.PointerToManaged <Efl.Ui.ListViewLayoutItem>(_ret_var);

            return(__ret_tmp);
        }