[EflSharp] Update Circle and efl cs files (#819)
[platform/core/csapi/tizenfx.git] / internals / src / EflSharp / EflSharp / efl / efl_ui_calendar_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>EFL UI Calendar Item class</summary>
13 [Efl.Ui.CalendarItem.NativeMethods]
14 public class CalendarItem : Efl.Object, Efl.Eo.IWrapper,Efl.Ui.Focus.IObject
15 {
16     ///<summary>Pointer to the native class description.</summary>
17     public override System.IntPtr NativeClass
18     {
19         get
20         {
21             if (((object)this).GetType() == typeof(CalendarItem))
22             {
23                 return GetEflClassStatic();
24             }
25             else
26             {
27                 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
28             }
29         }
30     }
31
32     [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
33         efl_ui_calendar_item_class_get();
34     /// <summary>Initializes a new instance of the <see cref="CalendarItem"/> class.</summary>
35     /// <param name="parent">Parent instance.</param>
36     public CalendarItem(Efl.Object parent= null
37             ) : base(efl_ui_calendar_item_class_get(), typeof(CalendarItem), parent)
38     {
39         FinishInstantiation();
40     }
41
42     /// <summary>Initializes a new instance of the <see cref="CalendarItem"/> class.
43     /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
44     /// <param name="raw">The native pointer to be wrapped.</param>
45     protected CalendarItem(System.IntPtr raw) : base(raw)
46     {
47             }
48
49     /// <summary>Initializes a new instance of the <see cref="CalendarItem"/> class.
50     /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
51     /// <param name="baseKlass">The pointer to the base native Eo class.</param>
52     /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
53     /// <param name="parent">The Efl.Object parent of this instance.</param>
54     protected CalendarItem(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
55     {
56     }
57
58     /// <summary>Verifies if the given object is equal to this one.</summary>
59     /// <param name="instance">The object to compare to.</param>
60     /// <returns>True if both objects point to the same native object.</returns>
61     public override bool Equals(object instance)
62     {
63         var other = instance as Efl.Object;
64         if (other == null)
65         {
66             return false;
67         }
68         return this.NativeHandle == other.NativeHandle;
69     }
70
71     /// <summary>Gets the hash code for this object based on the native pointer it points to.</summary>
72     /// <returns>The value of the pointer, to be used as the hash code of this object.</returns>
73     public override int GetHashCode()
74     {
75         return this.NativeHandle.ToInt32();
76     }
77
78     /// <summary>Turns the native pointer into a string representation.</summary>
79     /// <returns>A string with the type and the native pointer for this object.</returns>
80     public override String ToString()
81     {
82         return $"{this.GetType().Name}@[{this.NativeHandle.ToInt32():x}]";
83     }
84
85     /// <summary>Emitted if the focus state has changed.
86     /// (Since EFL 1.22)</summary>
87     public event EventHandler<Efl.Ui.Focus.IObjectFocusChangedEvt_Args> FocusChangedEvt
88     {
89         add
90         {
91             lock (eventLock)
92             {
93                 var wRef = new WeakReference(this);
94                 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
95                 {
96                     var obj = wRef.Target as Efl.Eo.IWrapper;
97                     if (obj != null)
98                     {
99                                                 Efl.Ui.Focus.IObjectFocusChangedEvt_Args args = new Efl.Ui.Focus.IObjectFocusChangedEvt_Args();
100                         args.arg = evt.Info != IntPtr.Zero;
101                         try
102                         {
103                             value?.Invoke(obj, args);
104                         }
105                         catch (Exception e)
106                         {
107                             Eina.Log.Error(e.ToString());
108                             Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
109                         }
110                     }
111                 };
112
113                 string key = "_EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_CHANGED";
114                 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
115             }
116         }
117
118         remove
119         {
120             lock (eventLock)
121             {
122                 string key = "_EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_CHANGED";
123                 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
124             }
125         }
126     }
127     ///<summary>Method to raise event FocusChangedEvt.</summary>
128     public void OnFocusChangedEvt(Efl.Ui.Focus.IObjectFocusChangedEvt_Args e)
129     {
130         var key = "_EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_CHANGED";
131         IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
132         if (desc == IntPtr.Zero)
133         {
134             Eina.Log.Error($"Failed to get native event {key}");
135             return;
136         }
137
138         IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg ? (byte) 1 : (byte) 0);
139         try
140         {
141             Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
142         }
143         finally
144         {
145             Marshal.FreeHGlobal(info);
146         }
147     }
148     /// <summary>Emitted when a new manager is the parent for this object.
149     /// (Since EFL 1.22)</summary>
150     public event EventHandler<Efl.Ui.Focus.IObjectFocusManagerChangedEvt_Args> FocusManagerChangedEvt
151     {
152         add
153         {
154             lock (eventLock)
155             {
156                 var wRef = new WeakReference(this);
157                 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
158                 {
159                     var obj = wRef.Target as Efl.Eo.IWrapper;
160                     if (obj != null)
161                     {
162                                                 Efl.Ui.Focus.IObjectFocusManagerChangedEvt_Args args = new Efl.Ui.Focus.IObjectFocusManagerChangedEvt_Args();
163                         args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Ui.Focus.IManagerConcrete);
164                         try
165                         {
166                             value?.Invoke(obj, args);
167                         }
168                         catch (Exception e)
169                         {
170                             Eina.Log.Error(e.ToString());
171                             Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
172                         }
173                     }
174                 };
175
176                 string key = "_EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_MANAGER_CHANGED";
177                 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
178             }
179         }
180
181         remove
182         {
183             lock (eventLock)
184             {
185                 string key = "_EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_MANAGER_CHANGED";
186                 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
187             }
188         }
189     }
190     ///<summary>Method to raise event FocusManagerChangedEvt.</summary>
191     public void OnFocusManagerChangedEvt(Efl.Ui.Focus.IObjectFocusManagerChangedEvt_Args e)
192     {
193         var key = "_EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_MANAGER_CHANGED";
194         IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
195         if (desc == IntPtr.Zero)
196         {
197             Eina.Log.Error($"Failed to get native event {key}");
198             return;
199         }
200
201         IntPtr info = e.arg.NativeHandle;
202         Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
203     }
204     /// <summary>Emitted when a new logical parent should be used.
205     /// (Since EFL 1.22)</summary>
206     public event EventHandler<Efl.Ui.Focus.IObjectFocusParentChangedEvt_Args> FocusParentChangedEvt
207     {
208         add
209         {
210             lock (eventLock)
211             {
212                 var wRef = new WeakReference(this);
213                 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
214                 {
215                     var obj = wRef.Target as Efl.Eo.IWrapper;
216                     if (obj != null)
217                     {
218                                                 Efl.Ui.Focus.IObjectFocusParentChangedEvt_Args args = new Efl.Ui.Focus.IObjectFocusParentChangedEvt_Args();
219                         args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Ui.Focus.IObjectConcrete);
220                         try
221                         {
222                             value?.Invoke(obj, args);
223                         }
224                         catch (Exception e)
225                         {
226                             Eina.Log.Error(e.ToString());
227                             Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
228                         }
229                     }
230                 };
231
232                 string key = "_EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_PARENT_CHANGED";
233                 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
234             }
235         }
236
237         remove
238         {
239             lock (eventLock)
240             {
241                 string key = "_EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_PARENT_CHANGED";
242                 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
243             }
244         }
245     }
246     ///<summary>Method to raise event FocusParentChangedEvt.</summary>
247     public void OnFocusParentChangedEvt(Efl.Ui.Focus.IObjectFocusParentChangedEvt_Args e)
248     {
249         var key = "_EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_PARENT_CHANGED";
250         IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
251         if (desc == IntPtr.Zero)
252         {
253             Eina.Log.Error($"Failed to get native event {key}");
254             return;
255         }
256
257         IntPtr info = e.arg.NativeHandle;
258         Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
259     }
260     /// <summary>Emitted if child_focus has changed.
261     /// (Since EFL 1.22)</summary>
262     public event EventHandler<Efl.Ui.Focus.IObjectChildFocusChangedEvt_Args> ChildFocusChangedEvt
263     {
264         add
265         {
266             lock (eventLock)
267             {
268                 var wRef = new WeakReference(this);
269                 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
270                 {
271                     var obj = wRef.Target as Efl.Eo.IWrapper;
272                     if (obj != null)
273                     {
274                                                 Efl.Ui.Focus.IObjectChildFocusChangedEvt_Args args = new Efl.Ui.Focus.IObjectChildFocusChangedEvt_Args();
275                         args.arg = evt.Info != IntPtr.Zero;
276                         try
277                         {
278                             value?.Invoke(obj, args);
279                         }
280                         catch (Exception e)
281                         {
282                             Eina.Log.Error(e.ToString());
283                             Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
284                         }
285                     }
286                 };
287
288                 string key = "_EFL_UI_FOCUS_OBJECT_EVENT_CHILD_FOCUS_CHANGED";
289                 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
290             }
291         }
292
293         remove
294         {
295             lock (eventLock)
296             {
297                 string key = "_EFL_UI_FOCUS_OBJECT_EVENT_CHILD_FOCUS_CHANGED";
298                 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
299             }
300         }
301     }
302     ///<summary>Method to raise event ChildFocusChangedEvt.</summary>
303     public void OnChildFocusChangedEvt(Efl.Ui.Focus.IObjectChildFocusChangedEvt_Args e)
304     {
305         var key = "_EFL_UI_FOCUS_OBJECT_EVENT_CHILD_FOCUS_CHANGED";
306         IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
307         if (desc == IntPtr.Zero)
308         {
309             Eina.Log.Error($"Failed to get native event {key}");
310             return;
311         }
312
313         IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg ? (byte) 1 : (byte) 0);
314         try
315         {
316             Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
317         }
318         finally
319         {
320             Marshal.FreeHGlobal(info);
321         }
322     }
323     /// <summary>Emitted if focus geometry of this object has changed.
324     /// (Since EFL 1.22)</summary>
325     public event EventHandler<Efl.Ui.Focus.IObjectFocusGeometryChangedEvt_Args> FocusGeometryChangedEvt
326     {
327         add
328         {
329             lock (eventLock)
330             {
331                 var wRef = new WeakReference(this);
332                 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
333                 {
334                     var obj = wRef.Target as Efl.Eo.IWrapper;
335                     if (obj != null)
336                     {
337                                                 Efl.Ui.Focus.IObjectFocusGeometryChangedEvt_Args args = new Efl.Ui.Focus.IObjectFocusGeometryChangedEvt_Args();
338                         args.arg =  evt.Info;
339                         try
340                         {
341                             value?.Invoke(obj, args);
342                         }
343                         catch (Exception e)
344                         {
345                             Eina.Log.Error(e.ToString());
346                             Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
347                         }
348                     }
349                 };
350
351                 string key = "_EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_GEOMETRY_CHANGED";
352                 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
353             }
354         }
355
356         remove
357         {
358             lock (eventLock)
359             {
360                 string key = "_EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_GEOMETRY_CHANGED";
361                 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
362             }
363         }
364     }
365     ///<summary>Method to raise event FocusGeometryChangedEvt.</summary>
366     public void OnFocusGeometryChangedEvt(Efl.Ui.Focus.IObjectFocusGeometryChangedEvt_Args e)
367     {
368         var key = "_EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_GEOMETRY_CHANGED";
369         IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
370         if (desc == IntPtr.Zero)
371         {
372             Eina.Log.Error($"Failed to get native event {key}");
373             return;
374         }
375
376         IntPtr info = Marshal.AllocHGlobal(Marshal.SizeOf(e.arg));
377         try
378         {
379             Marshal.StructureToPtr(e.arg, info, false);
380             Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
381         }
382         finally
383         {
384             Marshal.FreeHGlobal(info);
385         }
386     }
387     /// <summary>Day number</summary>
388     /// <returns>Day number</returns>
389     virtual public int GetDayNumber() {
390          var _ret_var = Efl.Ui.CalendarItem.NativeMethods.efl_ui_calendar_item_day_number_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
391         Eina.Error.RaiseIfUnhandledException();
392         return _ret_var;
393  }
394     /// <summary>Day number</summary>
395     /// <param name="i">Day number</param>
396     virtual public void SetDayNumber(int i) {
397                                  Efl.Ui.CalendarItem.NativeMethods.efl_ui_calendar_item_day_number_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),i);
398         Eina.Error.RaiseIfUnhandledException();
399                          }
400     /// <summary>The geometry (that is, the bounding rectangle) used to calculate the relationship with other objects.
401     /// (Since EFL 1.22)</summary>
402     /// <returns>The geometry to use.</returns>
403     virtual public Eina.Rect GetFocusGeometry() {
404          var _ret_var = Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_focus_geometry_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
405         Eina.Error.RaiseIfUnhandledException();
406         return _ret_var;
407  }
408     /// <summary>Returns whether the widget is currently focused or not.
409     /// (Since EFL 1.22)</summary>
410     /// <returns>The focused state of the object.</returns>
411     virtual public bool GetFocus() {
412          var _ret_var = Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_focus_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
413         Eina.Error.RaiseIfUnhandledException();
414         return _ret_var;
415  }
416     /// <summary>This is called by the manager and should never be called by anyone else.
417     /// The function emits the focus state events, if focus is different to the previous state.
418     /// (Since EFL 1.22)</summary>
419     /// <param name="focus">The focused state of the object.</param>
420     virtual public void SetFocus(bool focus) {
421                                  Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_focus_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),focus);
422         Eina.Error.RaiseIfUnhandledException();
423                          }
424     /// <summary>This is the focus manager where this focus object is registered in. The element which is the <c>root</c> of a Efl.Ui.Focus.Manager will not have this focus manager as this object, but rather the second focus manager where it is registered in.
425     /// (Since EFL 1.22)</summary>
426     /// <returns>The manager object</returns>
427     virtual public Efl.Ui.Focus.IManager GetFocusManager() {
428          var _ret_var = Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_focus_manager_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
429         Eina.Error.RaiseIfUnhandledException();
430         return _ret_var;
431  }
432     /// <summary>Describes which logical parent is used by this object.
433     /// (Since EFL 1.22)</summary>
434     /// <returns>The focus parent.</returns>
435     virtual public Efl.Ui.Focus.IObject GetFocusParent() {
436          var _ret_var = Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_focus_parent_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
437         Eina.Error.RaiseIfUnhandledException();
438         return _ret_var;
439  }
440     /// <summary>Indicates if a child of this object has focus set to true.
441     /// (Since EFL 1.22)</summary>
442     /// <returns><c>true</c> if a child has focus.</returns>
443     virtual public bool GetChildFocus() {
444          var _ret_var = Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_child_focus_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
445         Eina.Error.RaiseIfUnhandledException();
446         return _ret_var;
447  }
448     /// <summary>Indicates if a child of this object has focus set to true.
449     /// (Since EFL 1.22)</summary>
450     /// <param name="child_focus"><c>true</c> if a child has focus.</param>
451     virtual public void SetChildFocus(bool child_focus) {
452                                  Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_child_focus_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),child_focus);
453         Eina.Error.RaiseIfUnhandledException();
454                          }
455     /// <summary>Tells the object that its children will be queried soon by the focus manager. Overwrite this to update the order of the children. Deleting items in this call will result in undefined behaviour and may cause your system to crash.
456     /// (Since EFL 1.22)</summary>
457     virtual public void SetupOrder() {
458          Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_setup_order_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
459         Eina.Error.RaiseIfUnhandledException();
460          }
461     /// <summary>This is called when <see cref="Efl.Ui.Focus.IObject.SetupOrder"/> is called, but only on the first call, additional recursive calls to <see cref="Efl.Ui.Focus.IObject.SetupOrder"/> will not call this function again.
462     /// (Since EFL 1.22)</summary>
463     virtual public void SetupOrderNonRecursive() {
464          Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_setup_order_non_recursive_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
465         Eina.Error.RaiseIfUnhandledException();
466          }
467     /// <summary>Virtual function handling focus in/out events on the widget
468     /// (Since EFL 1.22)</summary>
469     /// <returns><c>true</c> if this widget can handle focus, <c>false</c> otherwise</returns>
470     virtual public bool UpdateOnFocus() {
471          var _ret_var = Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_on_focus_update_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
472         Eina.Error.RaiseIfUnhandledException();
473         return _ret_var;
474  }
475     /// <summary>Day number</summary>
476 /// <value>Day number</value>
477     public int DayNumber {
478         get { return GetDayNumber(); }
479         set { SetDayNumber(value); }
480     }
481     /// <summary>The geometry (that is, the bounding rectangle) used to calculate the relationship with other objects.
482 /// (Since EFL 1.22)</summary>
483 /// <value>The geometry to use.</value>
484     public Eina.Rect FocusGeometry {
485         get { return GetFocusGeometry(); }
486     }
487     /// <summary>Returns whether the widget is currently focused or not.
488 /// (Since EFL 1.22)</summary>
489 /// <value>The focused state of the object.</value>
490     public bool Focus {
491         get { return GetFocus(); }
492         set { SetFocus(value); }
493     }
494     /// <summary>This is the focus manager where this focus object is registered in. The element which is the <c>root</c> of a Efl.Ui.Focus.Manager will not have this focus manager as this object, but rather the second focus manager where it is registered in.
495 /// (Since EFL 1.22)</summary>
496 /// <value>The manager object</value>
497     public Efl.Ui.Focus.IManager FocusManager {
498         get { return GetFocusManager(); }
499     }
500     /// <summary>Describes which logical parent is used by this object.
501 /// (Since EFL 1.22)</summary>
502 /// <value>The focus parent.</value>
503     public Efl.Ui.Focus.IObject FocusParent {
504         get { return GetFocusParent(); }
505     }
506     /// <summary>Indicates if a child of this object has focus set to true.
507 /// (Since EFL 1.22)</summary>
508 /// <value><c>true</c> if a child has focus.</value>
509     public bool ChildFocus {
510         get { return GetChildFocus(); }
511         set { SetChildFocus(value); }
512     }
513     private static IntPtr GetEflClassStatic()
514     {
515         return Efl.Ui.CalendarItem.efl_ui_calendar_item_class_get();
516     }
517     /// <summary>Wrapper for native methods and virtual method delegates.
518     /// For internal use by generated code only.</summary>
519     public new class NativeMethods : Efl.Object.NativeMethods
520     {
521         private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule(    efl.Libs.Elementary);
522         /// <summary>Gets the list of Eo operations to override.</summary>
523         /// <returns>The list of Eo operations to be overload.</returns>
524         public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
525         {
526             var descs = new System.Collections.Generic.List<Efl_Op_Description>();
527             var methods = Efl.Eo.Globals.GetUserMethods(type);
528
529             if (efl_ui_calendar_item_day_number_get_static_delegate == null)
530             {
531                 efl_ui_calendar_item_day_number_get_static_delegate = new efl_ui_calendar_item_day_number_get_delegate(day_number_get);
532             }
533
534             if (methods.FirstOrDefault(m => m.Name == "GetDayNumber") != null)
535             {
536                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_calendar_item_day_number_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_calendar_item_day_number_get_static_delegate) });
537             }
538
539             if (efl_ui_calendar_item_day_number_set_static_delegate == null)
540             {
541                 efl_ui_calendar_item_day_number_set_static_delegate = new efl_ui_calendar_item_day_number_set_delegate(day_number_set);
542             }
543
544             if (methods.FirstOrDefault(m => m.Name == "SetDayNumber") != null)
545             {
546                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_calendar_item_day_number_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_calendar_item_day_number_set_static_delegate) });
547             }
548
549             if (efl_ui_focus_object_focus_geometry_get_static_delegate == null)
550             {
551                 efl_ui_focus_object_focus_geometry_get_static_delegate = new efl_ui_focus_object_focus_geometry_get_delegate(focus_geometry_get);
552             }
553
554             if (methods.FirstOrDefault(m => m.Name == "GetFocusGeometry") != null)
555             {
556                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_object_focus_geometry_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_object_focus_geometry_get_static_delegate) });
557             }
558
559             if (efl_ui_focus_object_focus_get_static_delegate == null)
560             {
561                 efl_ui_focus_object_focus_get_static_delegate = new efl_ui_focus_object_focus_get_delegate(focus_get);
562             }
563
564             if (methods.FirstOrDefault(m => m.Name == "GetFocus") != null)
565             {
566                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_object_focus_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_object_focus_get_static_delegate) });
567             }
568
569             if (efl_ui_focus_object_focus_set_static_delegate == null)
570             {
571                 efl_ui_focus_object_focus_set_static_delegate = new efl_ui_focus_object_focus_set_delegate(focus_set);
572             }
573
574             if (methods.FirstOrDefault(m => m.Name == "SetFocus") != null)
575             {
576                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_object_focus_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_object_focus_set_static_delegate) });
577             }
578
579             if (efl_ui_focus_object_focus_manager_get_static_delegate == null)
580             {
581                 efl_ui_focus_object_focus_manager_get_static_delegate = new efl_ui_focus_object_focus_manager_get_delegate(focus_manager_get);
582             }
583
584             if (methods.FirstOrDefault(m => m.Name == "GetFocusManager") != null)
585             {
586                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_object_focus_manager_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_object_focus_manager_get_static_delegate) });
587             }
588
589             if (efl_ui_focus_object_focus_parent_get_static_delegate == null)
590             {
591                 efl_ui_focus_object_focus_parent_get_static_delegate = new efl_ui_focus_object_focus_parent_get_delegate(focus_parent_get);
592             }
593
594             if (methods.FirstOrDefault(m => m.Name == "GetFocusParent") != null)
595             {
596                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_object_focus_parent_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_object_focus_parent_get_static_delegate) });
597             }
598
599             if (efl_ui_focus_object_child_focus_get_static_delegate == null)
600             {
601                 efl_ui_focus_object_child_focus_get_static_delegate = new efl_ui_focus_object_child_focus_get_delegate(child_focus_get);
602             }
603
604             if (methods.FirstOrDefault(m => m.Name == "GetChildFocus") != null)
605             {
606                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_object_child_focus_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_object_child_focus_get_static_delegate) });
607             }
608
609             if (efl_ui_focus_object_child_focus_set_static_delegate == null)
610             {
611                 efl_ui_focus_object_child_focus_set_static_delegate = new efl_ui_focus_object_child_focus_set_delegate(child_focus_set);
612             }
613
614             if (methods.FirstOrDefault(m => m.Name == "SetChildFocus") != null)
615             {
616                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_object_child_focus_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_object_child_focus_set_static_delegate) });
617             }
618
619             if (efl_ui_focus_object_setup_order_static_delegate == null)
620             {
621                 efl_ui_focus_object_setup_order_static_delegate = new efl_ui_focus_object_setup_order_delegate(setup_order);
622             }
623
624             if (methods.FirstOrDefault(m => m.Name == "SetupOrder") != null)
625             {
626                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_object_setup_order"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_object_setup_order_static_delegate) });
627             }
628
629             if (efl_ui_focus_object_setup_order_non_recursive_static_delegate == null)
630             {
631                 efl_ui_focus_object_setup_order_non_recursive_static_delegate = new efl_ui_focus_object_setup_order_non_recursive_delegate(setup_order_non_recursive);
632             }
633
634             if (methods.FirstOrDefault(m => m.Name == "SetupOrderNonRecursive") != null)
635             {
636                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_object_setup_order_non_recursive"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_object_setup_order_non_recursive_static_delegate) });
637             }
638
639             if (efl_ui_focus_object_on_focus_update_static_delegate == null)
640             {
641                 efl_ui_focus_object_on_focus_update_static_delegate = new efl_ui_focus_object_on_focus_update_delegate(on_focus_update);
642             }
643
644             if (methods.FirstOrDefault(m => m.Name == "UpdateOnFocus") != null)
645             {
646                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_object_on_focus_update"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_object_on_focus_update_static_delegate) });
647             }
648
649             descs.AddRange(base.GetEoOps(type));
650             return descs;
651         }
652         /// <summary>Returns the Eo class for the native methods of this class.</summary>
653         /// <returns>The native class pointer.</returns>
654         public override IntPtr GetEflClass()
655         {
656             return Efl.Ui.CalendarItem.efl_ui_calendar_item_class_get();
657         }
658
659         #pragma warning disable CA1707, SA1300, SA1600
660
661         
662         private delegate int efl_ui_calendar_item_day_number_get_delegate(System.IntPtr obj, System.IntPtr pd);
663
664         
665         public delegate int efl_ui_calendar_item_day_number_get_api_delegate(System.IntPtr obj);
666
667         public static Efl.Eo.FunctionWrapper<efl_ui_calendar_item_day_number_get_api_delegate> efl_ui_calendar_item_day_number_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_calendar_item_day_number_get_api_delegate>(Module, "efl_ui_calendar_item_day_number_get");
668
669         private static int day_number_get(System.IntPtr obj, System.IntPtr pd)
670         {
671             Eina.Log.Debug("function efl_ui_calendar_item_day_number_get was called");
672             Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
673             if (wrapper != null)
674             {
675             int _ret_var = default(int);
676                 try
677                 {
678                     _ret_var = ((CalendarItem)wrapper).GetDayNumber();
679                 }
680                 catch (Exception e)
681                 {
682                     Eina.Log.Warning($"Callback error: {e.ToString()}");
683                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
684                 }
685
686         return _ret_var;
687
688             }
689             else
690             {
691                 return efl_ui_calendar_item_day_number_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
692             }
693         }
694
695         private static efl_ui_calendar_item_day_number_get_delegate efl_ui_calendar_item_day_number_get_static_delegate;
696
697         
698         private delegate void efl_ui_calendar_item_day_number_set_delegate(System.IntPtr obj, System.IntPtr pd,  int i);
699
700         
701         public delegate void efl_ui_calendar_item_day_number_set_api_delegate(System.IntPtr obj,  int i);
702
703         public static Efl.Eo.FunctionWrapper<efl_ui_calendar_item_day_number_set_api_delegate> efl_ui_calendar_item_day_number_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_calendar_item_day_number_set_api_delegate>(Module, "efl_ui_calendar_item_day_number_set");
704
705         private static void day_number_set(System.IntPtr obj, System.IntPtr pd, int i)
706         {
707             Eina.Log.Debug("function efl_ui_calendar_item_day_number_set was called");
708             Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
709             if (wrapper != null)
710             {
711                                     
712                 try
713                 {
714                     ((CalendarItem)wrapper).SetDayNumber(i);
715                 }
716                 catch (Exception e)
717                 {
718                     Eina.Log.Warning($"Callback error: {e.ToString()}");
719                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
720                 }
721
722                         
723             }
724             else
725             {
726                 efl_ui_calendar_item_day_number_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), i);
727             }
728         }
729
730         private static efl_ui_calendar_item_day_number_set_delegate efl_ui_calendar_item_day_number_set_static_delegate;
731
732         
733         private delegate Eina.Rect.NativeStruct efl_ui_focus_object_focus_geometry_get_delegate(System.IntPtr obj, System.IntPtr pd);
734
735         
736         public delegate Eina.Rect.NativeStruct efl_ui_focus_object_focus_geometry_get_api_delegate(System.IntPtr obj);
737
738         public static Efl.Eo.FunctionWrapper<efl_ui_focus_object_focus_geometry_get_api_delegate> efl_ui_focus_object_focus_geometry_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_object_focus_geometry_get_api_delegate>(Module, "efl_ui_focus_object_focus_geometry_get");
739
740         private static Eina.Rect.NativeStruct focus_geometry_get(System.IntPtr obj, System.IntPtr pd)
741         {
742             Eina.Log.Debug("function efl_ui_focus_object_focus_geometry_get was called");
743             Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
744             if (wrapper != null)
745             {
746             Eina.Rect _ret_var = default(Eina.Rect);
747                 try
748                 {
749                     _ret_var = ((CalendarItem)wrapper).GetFocusGeometry();
750                 }
751                 catch (Exception e)
752                 {
753                     Eina.Log.Warning($"Callback error: {e.ToString()}");
754                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
755                 }
756
757         return _ret_var;
758
759             }
760             else
761             {
762                 return efl_ui_focus_object_focus_geometry_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
763             }
764         }
765
766         private static efl_ui_focus_object_focus_geometry_get_delegate efl_ui_focus_object_focus_geometry_get_static_delegate;
767
768         [return: MarshalAs(UnmanagedType.U1)]
769         private delegate bool efl_ui_focus_object_focus_get_delegate(System.IntPtr obj, System.IntPtr pd);
770
771         [return: MarshalAs(UnmanagedType.U1)]
772         public delegate bool efl_ui_focus_object_focus_get_api_delegate(System.IntPtr obj);
773
774         public static Efl.Eo.FunctionWrapper<efl_ui_focus_object_focus_get_api_delegate> efl_ui_focus_object_focus_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_object_focus_get_api_delegate>(Module, "efl_ui_focus_object_focus_get");
775
776         private static bool focus_get(System.IntPtr obj, System.IntPtr pd)
777         {
778             Eina.Log.Debug("function efl_ui_focus_object_focus_get was called");
779             Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
780             if (wrapper != null)
781             {
782             bool _ret_var = default(bool);
783                 try
784                 {
785                     _ret_var = ((CalendarItem)wrapper).GetFocus();
786                 }
787                 catch (Exception e)
788                 {
789                     Eina.Log.Warning($"Callback error: {e.ToString()}");
790                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
791                 }
792
793         return _ret_var;
794
795             }
796             else
797             {
798                 return efl_ui_focus_object_focus_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
799             }
800         }
801
802         private static efl_ui_focus_object_focus_get_delegate efl_ui_focus_object_focus_get_static_delegate;
803
804         
805         private delegate void efl_ui_focus_object_focus_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool focus);
806
807         
808         public delegate void efl_ui_focus_object_focus_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool focus);
809
810         public static Efl.Eo.FunctionWrapper<efl_ui_focus_object_focus_set_api_delegate> efl_ui_focus_object_focus_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_object_focus_set_api_delegate>(Module, "efl_ui_focus_object_focus_set");
811
812         private static void focus_set(System.IntPtr obj, System.IntPtr pd, bool focus)
813         {
814             Eina.Log.Debug("function efl_ui_focus_object_focus_set was called");
815             Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
816             if (wrapper != null)
817             {
818                                     
819                 try
820                 {
821                     ((CalendarItem)wrapper).SetFocus(focus);
822                 }
823                 catch (Exception e)
824                 {
825                     Eina.Log.Warning($"Callback error: {e.ToString()}");
826                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
827                 }
828
829                         
830             }
831             else
832             {
833                 efl_ui_focus_object_focus_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), focus);
834             }
835         }
836
837         private static efl_ui_focus_object_focus_set_delegate efl_ui_focus_object_focus_set_static_delegate;
838
839         [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
840         private delegate Efl.Ui.Focus.IManager efl_ui_focus_object_focus_manager_get_delegate(System.IntPtr obj, System.IntPtr pd);
841
842         [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
843         public delegate Efl.Ui.Focus.IManager efl_ui_focus_object_focus_manager_get_api_delegate(System.IntPtr obj);
844
845         public static Efl.Eo.FunctionWrapper<efl_ui_focus_object_focus_manager_get_api_delegate> efl_ui_focus_object_focus_manager_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_object_focus_manager_get_api_delegate>(Module, "efl_ui_focus_object_focus_manager_get");
846
847         private static Efl.Ui.Focus.IManager focus_manager_get(System.IntPtr obj, System.IntPtr pd)
848         {
849             Eina.Log.Debug("function efl_ui_focus_object_focus_manager_get was called");
850             Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
851             if (wrapper != null)
852             {
853             Efl.Ui.Focus.IManager _ret_var = default(Efl.Ui.Focus.IManager);
854                 try
855                 {
856                     _ret_var = ((CalendarItem)wrapper).GetFocusManager();
857                 }
858                 catch (Exception e)
859                 {
860                     Eina.Log.Warning($"Callback error: {e.ToString()}");
861                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
862                 }
863
864         return _ret_var;
865
866             }
867             else
868             {
869                 return efl_ui_focus_object_focus_manager_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
870             }
871         }
872
873         private static efl_ui_focus_object_focus_manager_get_delegate efl_ui_focus_object_focus_manager_get_static_delegate;
874
875         [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
876         private delegate Efl.Ui.Focus.IObject efl_ui_focus_object_focus_parent_get_delegate(System.IntPtr obj, System.IntPtr pd);
877
878         [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
879         public delegate Efl.Ui.Focus.IObject efl_ui_focus_object_focus_parent_get_api_delegate(System.IntPtr obj);
880
881         public static Efl.Eo.FunctionWrapper<efl_ui_focus_object_focus_parent_get_api_delegate> efl_ui_focus_object_focus_parent_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_object_focus_parent_get_api_delegate>(Module, "efl_ui_focus_object_focus_parent_get");
882
883         private static Efl.Ui.Focus.IObject focus_parent_get(System.IntPtr obj, System.IntPtr pd)
884         {
885             Eina.Log.Debug("function efl_ui_focus_object_focus_parent_get was called");
886             Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
887             if (wrapper != null)
888             {
889             Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject);
890                 try
891                 {
892                     _ret_var = ((CalendarItem)wrapper).GetFocusParent();
893                 }
894                 catch (Exception e)
895                 {
896                     Eina.Log.Warning($"Callback error: {e.ToString()}");
897                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
898                 }
899
900         return _ret_var;
901
902             }
903             else
904             {
905                 return efl_ui_focus_object_focus_parent_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
906             }
907         }
908
909         private static efl_ui_focus_object_focus_parent_get_delegate efl_ui_focus_object_focus_parent_get_static_delegate;
910
911         [return: MarshalAs(UnmanagedType.U1)]
912         private delegate bool efl_ui_focus_object_child_focus_get_delegate(System.IntPtr obj, System.IntPtr pd);
913
914         [return: MarshalAs(UnmanagedType.U1)]
915         public delegate bool efl_ui_focus_object_child_focus_get_api_delegate(System.IntPtr obj);
916
917         public static Efl.Eo.FunctionWrapper<efl_ui_focus_object_child_focus_get_api_delegate> efl_ui_focus_object_child_focus_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_object_child_focus_get_api_delegate>(Module, "efl_ui_focus_object_child_focus_get");
918
919         private static bool child_focus_get(System.IntPtr obj, System.IntPtr pd)
920         {
921             Eina.Log.Debug("function efl_ui_focus_object_child_focus_get was called");
922             Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
923             if (wrapper != null)
924             {
925             bool _ret_var = default(bool);
926                 try
927                 {
928                     _ret_var = ((CalendarItem)wrapper).GetChildFocus();
929                 }
930                 catch (Exception e)
931                 {
932                     Eina.Log.Warning($"Callback error: {e.ToString()}");
933                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
934                 }
935
936         return _ret_var;
937
938             }
939             else
940             {
941                 return efl_ui_focus_object_child_focus_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
942             }
943         }
944
945         private static efl_ui_focus_object_child_focus_get_delegate efl_ui_focus_object_child_focus_get_static_delegate;
946
947         
948         private delegate void efl_ui_focus_object_child_focus_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool child_focus);
949
950         
951         public delegate void efl_ui_focus_object_child_focus_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool child_focus);
952
953         public static Efl.Eo.FunctionWrapper<efl_ui_focus_object_child_focus_set_api_delegate> efl_ui_focus_object_child_focus_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_object_child_focus_set_api_delegate>(Module, "efl_ui_focus_object_child_focus_set");
954
955         private static void child_focus_set(System.IntPtr obj, System.IntPtr pd, bool child_focus)
956         {
957             Eina.Log.Debug("function efl_ui_focus_object_child_focus_set was called");
958             Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
959             if (wrapper != null)
960             {
961                                     
962                 try
963                 {
964                     ((CalendarItem)wrapper).SetChildFocus(child_focus);
965                 }
966                 catch (Exception e)
967                 {
968                     Eina.Log.Warning($"Callback error: {e.ToString()}");
969                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
970                 }
971
972                         
973             }
974             else
975             {
976                 efl_ui_focus_object_child_focus_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), child_focus);
977             }
978         }
979
980         private static efl_ui_focus_object_child_focus_set_delegate efl_ui_focus_object_child_focus_set_static_delegate;
981
982         
983         private delegate void efl_ui_focus_object_setup_order_delegate(System.IntPtr obj, System.IntPtr pd);
984
985         
986         public delegate void efl_ui_focus_object_setup_order_api_delegate(System.IntPtr obj);
987
988         public static Efl.Eo.FunctionWrapper<efl_ui_focus_object_setup_order_api_delegate> efl_ui_focus_object_setup_order_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_object_setup_order_api_delegate>(Module, "efl_ui_focus_object_setup_order");
989
990         private static void setup_order(System.IntPtr obj, System.IntPtr pd)
991         {
992             Eina.Log.Debug("function efl_ui_focus_object_setup_order was called");
993             Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
994             if (wrapper != null)
995             {
996             
997                 try
998                 {
999                     ((CalendarItem)wrapper).SetupOrder();
1000                 }
1001                 catch (Exception e)
1002                 {
1003                     Eina.Log.Warning($"Callback error: {e.ToString()}");
1004                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1005                 }
1006
1007         
1008             }
1009             else
1010             {
1011                 efl_ui_focus_object_setup_order_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1012             }
1013         }
1014
1015         private static efl_ui_focus_object_setup_order_delegate efl_ui_focus_object_setup_order_static_delegate;
1016
1017         
1018         private delegate void efl_ui_focus_object_setup_order_non_recursive_delegate(System.IntPtr obj, System.IntPtr pd);
1019
1020         
1021         public delegate void efl_ui_focus_object_setup_order_non_recursive_api_delegate(System.IntPtr obj);
1022
1023         public static Efl.Eo.FunctionWrapper<efl_ui_focus_object_setup_order_non_recursive_api_delegate> efl_ui_focus_object_setup_order_non_recursive_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_object_setup_order_non_recursive_api_delegate>(Module, "efl_ui_focus_object_setup_order_non_recursive");
1024
1025         private static void setup_order_non_recursive(System.IntPtr obj, System.IntPtr pd)
1026         {
1027             Eina.Log.Debug("function efl_ui_focus_object_setup_order_non_recursive was called");
1028             Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1029             if (wrapper != null)
1030             {
1031             
1032                 try
1033                 {
1034                     ((CalendarItem)wrapper).SetupOrderNonRecursive();
1035                 }
1036                 catch (Exception e)
1037                 {
1038                     Eina.Log.Warning($"Callback error: {e.ToString()}");
1039                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1040                 }
1041
1042         
1043             }
1044             else
1045             {
1046                 efl_ui_focus_object_setup_order_non_recursive_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1047             }
1048         }
1049
1050         private static efl_ui_focus_object_setup_order_non_recursive_delegate efl_ui_focus_object_setup_order_non_recursive_static_delegate;
1051
1052         [return: MarshalAs(UnmanagedType.U1)]
1053         private delegate bool efl_ui_focus_object_on_focus_update_delegate(System.IntPtr obj, System.IntPtr pd);
1054
1055         [return: MarshalAs(UnmanagedType.U1)]
1056         public delegate bool efl_ui_focus_object_on_focus_update_api_delegate(System.IntPtr obj);
1057
1058         public static Efl.Eo.FunctionWrapper<efl_ui_focus_object_on_focus_update_api_delegate> efl_ui_focus_object_on_focus_update_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_object_on_focus_update_api_delegate>(Module, "efl_ui_focus_object_on_focus_update");
1059
1060         private static bool on_focus_update(System.IntPtr obj, System.IntPtr pd)
1061         {
1062             Eina.Log.Debug("function efl_ui_focus_object_on_focus_update was called");
1063             Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1064             if (wrapper != null)
1065             {
1066             bool _ret_var = default(bool);
1067                 try
1068                 {
1069                     _ret_var = ((CalendarItem)wrapper).UpdateOnFocus();
1070                 }
1071                 catch (Exception e)
1072                 {
1073                     Eina.Log.Warning($"Callback error: {e.ToString()}");
1074                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1075                 }
1076
1077         return _ret_var;
1078
1079             }
1080             else
1081             {
1082                 return efl_ui_focus_object_on_focus_update_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1083             }
1084         }
1085
1086         private static efl_ui_focus_object_on_focus_update_delegate efl_ui_focus_object_on_focus_update_static_delegate;
1087
1088         #pragma warning restore CA1707, SA1300, SA1600
1089
1090 }
1091 }
1092 }
1093
1094 }
1095