[EflSharp] Update Circle and efl cs files (#945)
[platform/core/csapi/tizenfx.git] / internals / src / EflSharp / EflSharp / efl / efl_ui_grid_default_item.eo.cs
1 #pragma warning disable CS1591
2 using System;
3 using System.Runtime.InteropServices;
4 using System.Collections.Generic;
5 using System.Linq;
6 using System.Threading;
7 using System.ComponentModel;
8 namespace Efl {
9
10 namespace Ui {
11
12 /// <summary>Grid Default Item class. This class need to be sub object of list widget. Text and contents can be set using <see cref="Efl.IText"/>, <see cref="Efl.IContent"/> or <see cref="Efl.IPart"/>.</summary>
13 [Efl.Ui.GridDefaultItem.NativeMethods]
14 [Efl.Eo.BindingEntity]
15 public class GridDefaultItem : Efl.Ui.GridItem, Efl.IContent, Efl.IText, Efl.ITextMarkup
16 {
17     ///<summary>Pointer to the native class description.</summary>
18     public override System.IntPtr NativeClass
19     {
20         get
21         {
22             if (((object)this).GetType() == typeof(GridDefaultItem))
23             {
24                 return GetEflClassStatic();
25             }
26             else
27             {
28                 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
29             }
30         }
31     }
32
33     [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
34         efl_ui_grid_default_item_class_get();
35     /// <summary>Initializes a new instance of the <see cref="GridDefaultItem"/> class.</summary>
36     /// <param name="parent">Parent instance.</param>
37     /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
38     public GridDefaultItem(Efl.Object parent
39             , System.String style = null) : base(efl_ui_grid_default_item_class_get(), parent)
40     {
41         if (Efl.Eo.Globals.ParamHelperCheck(style))
42         {
43             SetStyle(Efl.Eo.Globals.GetParamHelper(style));
44         }
45
46         FinishInstantiation();
47     }
48
49     /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
50     /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
51     protected GridDefaultItem(ConstructingHandle ch) : base(ch)
52     {
53     }
54
55     /// <summary>Initializes a new instance of the <see cref="GridDefaultItem"/> class.
56     /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
57     /// <param name="wh">The native pointer to be wrapped.</param>
58     protected GridDefaultItem(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
59     {
60     }
61
62     /// <summary>Initializes a new instance of the <see cref="GridDefaultItem"/> class.
63     /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
64     /// <param name="baseKlass">The pointer to the base native Eo class.</param>
65     /// <param name="parent">The Efl.Object parent of this instance.</param>
66     protected GridDefaultItem(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
67     {
68     }
69
70     /// <summary>Sent after the content is set or unset using the current content object.
71     /// (Since EFL 1.22)</summary>
72     public event EventHandler<Efl.IContentContentChangedEvt_Args> ContentChangedEvt
73     {
74         add
75         {
76             lock (eflBindingEventLock)
77             {
78                 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
79                 {
80                     var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
81                     if (obj != null)
82                     {
83                         Efl.IContentContentChangedEvt_Args args = new Efl.IContentContentChangedEvt_Args();
84                         args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Gfx.IEntityConcrete);
85                         try
86                         {
87                             value?.Invoke(obj, args);
88                         }
89                         catch (Exception e)
90                         {
91                             Eina.Log.Error(e.ToString());
92                             Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
93                         }
94                     }
95                 };
96
97                 string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
98                 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
99             }
100         }
101
102         remove
103         {
104             lock (eflBindingEventLock)
105             {
106                 string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
107                 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
108             }
109         }
110     }
111     ///<summary>Method to raise event ContentChangedEvt.</summary>
112     public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e)
113     {
114         var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
115         IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
116         if (desc == IntPtr.Zero)
117         {
118             Eina.Log.Error($"Failed to get native event {key}");
119             return;
120         }
121
122         IntPtr info = e.arg.NativeHandle;
123         Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
124     }
125     /// <summary>The extra content part for grid default item. extra part is the spare content of grid item. you can swallow small badge widget such as check, radio.</summary>
126     public Efl.Ui.ItemPartExtra EndPart
127     {
128         get
129         {
130             return GetPart("end") as Efl.Ui.ItemPartExtra;
131         }
132     }
133     /// <summary>The icon content part for grid default item. icon part is the main content of grid item.</summary>
134     public Efl.Ui.ItemPartIcon IconPart
135     {
136         get
137         {
138             return GetPart("icon") as Efl.Ui.ItemPartIcon;
139         }
140     }
141     /// <summary>The text part for grid default item. text part is the caption of grid item.</summary>
142     public Efl.Ui.ItemPartText TextPart
143     {
144         get
145         {
146             return GetPart("text") as Efl.Ui.ItemPartText;
147         }
148     }
149     /// <summary>Sub-object currently set as this object&apos;s single content.
150     /// If it is set multiple times, previous sub-objects are removed first. Therefore, if an invalid <c>content</c> is set the object will become empty (it will have no sub-object).
151     /// (Since EFL 1.22)</summary>
152     /// <returns>The sub-object.</returns>
153     virtual public Efl.Gfx.IEntity GetContent() {
154          var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
155         Eina.Error.RaiseIfUnhandledException();
156         return _ret_var;
157  }
158     /// <summary>Sub-object currently set as this object&apos;s single content.
159     /// If it is set multiple times, previous sub-objects are removed first. Therefore, if an invalid <c>content</c> is set the object will become empty (it will have no sub-object).
160     /// (Since EFL 1.22)</summary>
161     /// <param name="content">The sub-object.</param>
162     /// <returns><c>true</c> if <c>content</c> was successfully swallowed.</returns>
163     virtual public bool SetContent(Efl.Gfx.IEntity content) {
164                                  var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),content);
165         Eina.Error.RaiseIfUnhandledException();
166                         return _ret_var;
167  }
168     /// <summary>Remove the sub-object currently set as content of this object and return it. This object becomes empty.
169     /// (Since EFL 1.22)</summary>
170     /// <returns>Unswallowed object</returns>
171     virtual public Efl.Gfx.IEntity UnsetContent() {
172          var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
173         Eina.Error.RaiseIfUnhandledException();
174         return _ret_var;
175  }
176     /// <summary>Retrieves the text string currently being displayed by the given text object.
177     /// Do not free() the return value.
178     /// 
179     /// See also <see cref="Efl.IText.GetText"/>.
180     /// (Since EFL 1.22)</summary>
181     /// <returns>Text string to display on it.</returns>
182     virtual public System.String GetText() {
183          var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
184         Eina.Error.RaiseIfUnhandledException();
185         return _ret_var;
186  }
187     /// <summary>Sets the text string to be displayed by the given text object.
188     /// See also <see cref="Efl.IText.GetText"/>.
189     /// (Since EFL 1.22)</summary>
190     /// <param name="text">Text string to display on it.</param>
191     virtual public void SetText(System.String text) {
192                                  Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),text);
193         Eina.Error.RaiseIfUnhandledException();
194                          }
195     /// <summary>Markup property</summary>
196     /// <returns>The markup-text representation set to this text.</returns>
197     virtual public System.String GetMarkup() {
198          var _ret_var = Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
199         Eina.Error.RaiseIfUnhandledException();
200         return _ret_var;
201  }
202     /// <summary>Markup property</summary>
203     /// <param name="markup">The markup-text representation set to this text.</param>
204     virtual public void SetMarkup(System.String markup) {
205                                  Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),markup);
206         Eina.Error.RaiseIfUnhandledException();
207                          }
208     /// <summary>Sub-object currently set as this object&apos;s single content.
209     /// If it is set multiple times, previous sub-objects are removed first. Therefore, if an invalid <c>content</c> is set the object will become empty (it will have no sub-object).
210     /// (Since EFL 1.22)</summary>
211     /// <value>The sub-object.</value>
212     public Efl.Gfx.IEntity Content {
213         get { return GetContent(); }
214         set { SetContent(value); }
215     }
216     /// <summary>Markup property</summary>
217     /// <value>The markup-text representation set to this text.</value>
218     public System.String Markup {
219         get { return GetMarkup(); }
220         set { SetMarkup(value); }
221     }
222     private static IntPtr GetEflClassStatic()
223     {
224         return Efl.Ui.GridDefaultItem.efl_ui_grid_default_item_class_get();
225     }
226     /// <summary>Wrapper for native methods and virtual method delegates.
227     /// For internal use by generated code only.</summary>
228     public new class NativeMethods : Efl.Ui.GridItem.NativeMethods
229     {
230         private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule(    efl.Libs.Elementary);
231         /// <summary>Gets the list of Eo operations to override.</summary>
232         /// <returns>The list of Eo operations to be overload.</returns>
233         public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
234         {
235             var descs = new System.Collections.Generic.List<Efl_Op_Description>();
236             var methods = Efl.Eo.Globals.GetUserMethods(type);
237
238             if (efl_content_get_static_delegate == null)
239             {
240                 efl_content_get_static_delegate = new efl_content_get_delegate(content_get);
241             }
242
243             if (methods.FirstOrDefault(m => m.Name == "GetContent") != null)
244             {
245                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_get"), func = Marshal.GetFunctionPointerForDelegate(efl_content_get_static_delegate) });
246             }
247
248             if (efl_content_set_static_delegate == null)
249             {
250                 efl_content_set_static_delegate = new efl_content_set_delegate(content_set);
251             }
252
253             if (methods.FirstOrDefault(m => m.Name == "SetContent") != null)
254             {
255                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_set"), func = Marshal.GetFunctionPointerForDelegate(efl_content_set_static_delegate) });
256             }
257
258             if (efl_content_unset_static_delegate == null)
259             {
260                 efl_content_unset_static_delegate = new efl_content_unset_delegate(content_unset);
261             }
262
263             if (methods.FirstOrDefault(m => m.Name == "UnsetContent") != null)
264             {
265                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_unset"), func = Marshal.GetFunctionPointerForDelegate(efl_content_unset_static_delegate) });
266             }
267
268             if (efl_text_get_static_delegate == null)
269             {
270                 efl_text_get_static_delegate = new efl_text_get_delegate(text_get);
271             }
272
273             if (methods.FirstOrDefault(m => m.Name == "GetText") != null)
274             {
275                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_get_static_delegate) });
276             }
277
278             if (efl_text_set_static_delegate == null)
279             {
280                 efl_text_set_static_delegate = new efl_text_set_delegate(text_set);
281             }
282
283             if (methods.FirstOrDefault(m => m.Name == "SetText") != null)
284             {
285                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_set_static_delegate) });
286             }
287
288             if (efl_text_markup_get_static_delegate == null)
289             {
290                 efl_text_markup_get_static_delegate = new efl_text_markup_get_delegate(markup_get);
291             }
292
293             if (methods.FirstOrDefault(m => m.Name == "GetMarkup") != null)
294             {
295                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_markup_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_markup_get_static_delegate) });
296             }
297
298             if (efl_text_markup_set_static_delegate == null)
299             {
300                 efl_text_markup_set_static_delegate = new efl_text_markup_set_delegate(markup_set);
301             }
302
303             if (methods.FirstOrDefault(m => m.Name == "SetMarkup") != null)
304             {
305                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_markup_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_markup_set_static_delegate) });
306             }
307
308             descs.AddRange(base.GetEoOps(type));
309             return descs;
310         }
311         /// <summary>Returns the Eo class for the native methods of this class.</summary>
312         /// <returns>The native class pointer.</returns>
313         public override IntPtr GetEflClass()
314         {
315             return Efl.Ui.GridDefaultItem.efl_ui_grid_default_item_class_get();
316         }
317
318         #pragma warning disable CA1707, CS1591, SA1300, SA1600
319
320         [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
321         private delegate Efl.Gfx.IEntity efl_content_get_delegate(System.IntPtr obj, System.IntPtr pd);
322
323         [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
324         public delegate Efl.Gfx.IEntity efl_content_get_api_delegate(System.IntPtr obj);
325
326         public static Efl.Eo.FunctionWrapper<efl_content_get_api_delegate> efl_content_get_ptr = new Efl.Eo.FunctionWrapper<efl_content_get_api_delegate>(Module, "efl_content_get");
327
328         private static Efl.Gfx.IEntity content_get(System.IntPtr obj, System.IntPtr pd)
329         {
330             Eina.Log.Debug("function efl_content_get was called");
331             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
332             if (ws != null)
333             {
334             Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
335                 try
336                 {
337                     _ret_var = ((GridDefaultItem)ws.Target).GetContent();
338                 }
339                 catch (Exception e)
340                 {
341                     Eina.Log.Warning($"Callback error: {e.ToString()}");
342                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
343                 }
344
345         return _ret_var;
346
347             }
348             else
349             {
350                 return efl_content_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
351             }
352         }
353
354         private static efl_content_get_delegate efl_content_get_static_delegate;
355
356         [return: MarshalAs(UnmanagedType.U1)]
357         private delegate bool efl_content_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity content);
358
359         [return: MarshalAs(UnmanagedType.U1)]
360         public delegate bool efl_content_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity content);
361
362         public static Efl.Eo.FunctionWrapper<efl_content_set_api_delegate> efl_content_set_ptr = new Efl.Eo.FunctionWrapper<efl_content_set_api_delegate>(Module, "efl_content_set");
363
364         private static bool content_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity content)
365         {
366             Eina.Log.Debug("function efl_content_set was called");
367             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
368             if (ws != null)
369             {
370                                     bool _ret_var = default(bool);
371                 try
372                 {
373                     _ret_var = ((GridDefaultItem)ws.Target).SetContent(content);
374                 }
375                 catch (Exception e)
376                 {
377                     Eina.Log.Warning($"Callback error: {e.ToString()}");
378                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
379                 }
380
381                         return _ret_var;
382
383             }
384             else
385             {
386                 return efl_content_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), content);
387             }
388         }
389
390         private static efl_content_set_delegate efl_content_set_static_delegate;
391
392         [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
393         private delegate Efl.Gfx.IEntity efl_content_unset_delegate(System.IntPtr obj, System.IntPtr pd);
394
395         [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
396         public delegate Efl.Gfx.IEntity efl_content_unset_api_delegate(System.IntPtr obj);
397
398         public static Efl.Eo.FunctionWrapper<efl_content_unset_api_delegate> efl_content_unset_ptr = new Efl.Eo.FunctionWrapper<efl_content_unset_api_delegate>(Module, "efl_content_unset");
399
400         private static Efl.Gfx.IEntity content_unset(System.IntPtr obj, System.IntPtr pd)
401         {
402             Eina.Log.Debug("function efl_content_unset was called");
403             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
404             if (ws != null)
405             {
406             Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
407                 try
408                 {
409                     _ret_var = ((GridDefaultItem)ws.Target).UnsetContent();
410                 }
411                 catch (Exception e)
412                 {
413                     Eina.Log.Warning($"Callback error: {e.ToString()}");
414                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
415                 }
416
417         return _ret_var;
418
419             }
420             else
421             {
422                 return efl_content_unset_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
423             }
424         }
425
426         private static efl_content_unset_delegate efl_content_unset_static_delegate;
427
428         [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
429         private delegate System.String efl_text_get_delegate(System.IntPtr obj, System.IntPtr pd);
430
431         [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
432         public delegate System.String efl_text_get_api_delegate(System.IntPtr obj);
433
434         public static Efl.Eo.FunctionWrapper<efl_text_get_api_delegate> efl_text_get_ptr = new Efl.Eo.FunctionWrapper<efl_text_get_api_delegate>(Module, "efl_text_get");
435
436         private static System.String text_get(System.IntPtr obj, System.IntPtr pd)
437         {
438             Eina.Log.Debug("function efl_text_get was called");
439             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
440             if (ws != null)
441             {
442             System.String _ret_var = default(System.String);
443                 try
444                 {
445                     _ret_var = ((GridDefaultItem)ws.Target).GetText();
446                 }
447                 catch (Exception e)
448                 {
449                     Eina.Log.Warning($"Callback error: {e.ToString()}");
450                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
451                 }
452
453         return _ret_var;
454
455             }
456             else
457             {
458                 return efl_text_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
459             }
460         }
461
462         private static efl_text_get_delegate efl_text_get_static_delegate;
463
464         
465         private delegate void efl_text_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String text);
466
467         
468         public delegate void efl_text_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String text);
469
470         public static Efl.Eo.FunctionWrapper<efl_text_set_api_delegate> efl_text_set_ptr = new Efl.Eo.FunctionWrapper<efl_text_set_api_delegate>(Module, "efl_text_set");
471
472         private static void text_set(System.IntPtr obj, System.IntPtr pd, System.String text)
473         {
474             Eina.Log.Debug("function efl_text_set was called");
475             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
476             if (ws != null)
477             {
478                                     
479                 try
480                 {
481                     ((GridDefaultItem)ws.Target).SetText(text);
482                 }
483                 catch (Exception e)
484                 {
485                     Eina.Log.Warning($"Callback error: {e.ToString()}");
486                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
487                 }
488
489                         
490             }
491             else
492             {
493                 efl_text_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), text);
494             }
495         }
496
497         private static efl_text_set_delegate efl_text_set_static_delegate;
498
499         [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
500         private delegate System.String efl_text_markup_get_delegate(System.IntPtr obj, System.IntPtr pd);
501
502         [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
503         public delegate System.String efl_text_markup_get_api_delegate(System.IntPtr obj);
504
505         public static Efl.Eo.FunctionWrapper<efl_text_markup_get_api_delegate> efl_text_markup_get_ptr = new Efl.Eo.FunctionWrapper<efl_text_markup_get_api_delegate>(Module, "efl_text_markup_get");
506
507         private static System.String markup_get(System.IntPtr obj, System.IntPtr pd)
508         {
509             Eina.Log.Debug("function efl_text_markup_get was called");
510             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
511             if (ws != null)
512             {
513             System.String _ret_var = default(System.String);
514                 try
515                 {
516                     _ret_var = ((GridDefaultItem)ws.Target).GetMarkup();
517                 }
518                 catch (Exception e)
519                 {
520                     Eina.Log.Warning($"Callback error: {e.ToString()}");
521                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
522                 }
523
524         return _ret_var;
525
526             }
527             else
528             {
529                 return efl_text_markup_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
530             }
531         }
532
533         private static efl_text_markup_get_delegate efl_text_markup_get_static_delegate;
534
535         
536         private delegate void efl_text_markup_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String markup);
537
538         
539         public delegate void efl_text_markup_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String markup);
540
541         public static Efl.Eo.FunctionWrapper<efl_text_markup_set_api_delegate> efl_text_markup_set_ptr = new Efl.Eo.FunctionWrapper<efl_text_markup_set_api_delegate>(Module, "efl_text_markup_set");
542
543         private static void markup_set(System.IntPtr obj, System.IntPtr pd, System.String markup)
544         {
545             Eina.Log.Debug("function efl_text_markup_set was called");
546             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
547             if (ws != null)
548             {
549                                     
550                 try
551                 {
552                     ((GridDefaultItem)ws.Target).SetMarkup(markup);
553                 }
554                 catch (Exception e)
555                 {
556                     Eina.Log.Warning($"Callback error: {e.ToString()}");
557                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
558                 }
559
560                         
561             }
562             else
563             {
564                 efl_text_markup_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), markup);
565             }
566         }
567
568         private static efl_text_markup_set_delegate efl_text_markup_set_static_delegate;
569
570         #pragma warning restore CA1707, CS1591, SA1300, SA1600
571
572 }
573 }
574 }
575
576 }
577