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