[EflSharp] Update Circle and efl cs files (#995)
[platform/core/csapi/tizenfx.git] / internals / src / EflSharp / EflSharp / efl / efl_ui_spotlight_container.eo.cs
1 #define EFL_BETA
2 #pragma warning disable CS1591
3 using System;
4 using System.Runtime.InteropServices;
5 using System.Collections.Generic;
6 using System.Linq;
7 using System.Threading;
8 using System.ComponentModel;
9 namespace Efl {
10
11 namespace Ui {
12
13 namespace Spotlight {
14
15 /// <summary>Event argument wrapper for event <see cref="Efl.Ui.Spotlight.Container.TransitionStartEvt"/>.</summary>
16 [Efl.Eo.BindingEntity]
17 public class ContainerTransitionStartEvt_Args : EventArgs {
18     /// <summary>Actual event payload.</summary>
19     /// <value>A transition animation has started.</value>
20     public Efl.Ui.Spotlight.TransitionEvent arg { get; set; }
21 }
22 /// <summary>Event argument wrapper for event <see cref="Efl.Ui.Spotlight.Container.TransitionEndEvt"/>.</summary>
23 [Efl.Eo.BindingEntity]
24 public class ContainerTransitionEndEvt_Args : EventArgs {
25     /// <summary>Actual event payload.</summary>
26     /// <value>A transition animation has ended.</value>
27     public Efl.Ui.Spotlight.TransitionEvent arg { get; set; }
28 }
29 /// <summary>The Spotlight widget is a container for other sub-widgets, where only one sub-widget is active at any given time.
30 /// Sub-widgets are added using the <see cref="Efl.IPackLinear"/> interface and the active one (the one in the &quot;spotlight&quot;) is selected using <see cref="Efl.Ui.Spotlight.Container.ActiveIndex"/>.
31 /// 
32 /// The way the different sub-widgets are rendered can be customized through the <see cref="Efl.Ui.Spotlight.Container.SpotlightManager"/> object. For example, only the active sub-widget might be shown, or it might be shown in a central position whereas the other sub-widgets are displayed on the sides, or grayed-out. All sub-widgets are displayed with the same size, selected with <see cref="Efl.Ui.Spotlight.Container.SpotlightSize"/>.
33 /// 
34 /// Additionally, the transition from one sub-widget to another can be animated. This animation is also controlled by the <see cref="Efl.Ui.Spotlight.Container.SpotlightManager"/> object.
35 /// 
36 /// Also, an indicator widget can be used to show a visual cue of how many sub-widgets are there and which one is the active one.
37 /// 
38 /// This class can be used to create other widgets like Pagers, Tabbed pagers or Stacks, where each sub-widget represents a &quot;page&quot; full of other widgets. All these cases can be implemented with a different <see cref="Efl.Ui.Spotlight.Container.SpotlightManager"/> and use the same <see cref="Efl.Ui.Spotlight.Container"/>.</summary>
39 /// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
40 [Efl.Ui.Spotlight.Container.NativeMethods]
41 [Efl.Eo.BindingEntity]
42 public class Container : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLinear
43 {
44     /// <summary>Pointer to the native class description.</summary>
45     public override System.IntPtr NativeClass
46     {
47         get
48         {
49             if (((object)this).GetType() == typeof(Container))
50             {
51                 return GetEflClassStatic();
52             }
53             else
54             {
55                 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
56             }
57         }
58     }
59
60     [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
61         efl_ui_spotlight_container_class_get();
62     /// <summary>Initializes a new instance of the <see cref="Container"/> class.</summary>
63     /// <param name="parent">Parent instance.</param>
64     /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
65     public Container(Efl.Object parent
66             , System.String style = null) : base(efl_ui_spotlight_container_class_get(), parent)
67     {
68         if (Efl.Eo.Globals.ParamHelperCheck(style))
69         {
70             SetStyle(Efl.Eo.Globals.GetParamHelper(style));
71         }
72
73         FinishInstantiation();
74     }
75
76     /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
77     /// Do not call this constructor directly.</summary>
78     /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
79     protected Container(ConstructingHandle ch) : base(ch)
80     {
81     }
82
83     /// <summary>Initializes a new instance of the <see cref="Container"/> class.
84     /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
85     /// <param name="wh">The native pointer to be wrapped.</param>
86     protected Container(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
87     {
88     }
89
90     /// <summary>Initializes a new instance of the <see cref="Container"/> class.
91     /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
92     /// <param name="baseKlass">The pointer to the base native Eo class.</param>
93     /// <param name="parent">The Efl.Object parent of this instance.</param>
94     protected Container(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
95     {
96     }
97
98     /// <summary>A transition animation has started.</summary>
99     /// <value><see cref="Efl.Ui.Spotlight.ContainerTransitionStartEvt_Args"/></value>
100     public event EventHandler<Efl.Ui.Spotlight.ContainerTransitionStartEvt_Args> TransitionStartEvt
101     {
102         add
103         {
104             lock (eflBindingEventLock)
105             {
106                 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
107                 {
108                     var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
109                     if (obj != null)
110                     {
111                         Efl.Ui.Spotlight.ContainerTransitionStartEvt_Args args = new Efl.Ui.Spotlight.ContainerTransitionStartEvt_Args();
112                         args.arg =  evt.Info;
113                         try
114                         {
115                             value?.Invoke(obj, args);
116                         }
117                         catch (Exception e)
118                         {
119                             Eina.Log.Error(e.ToString());
120                             Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
121                         }
122                     }
123                 };
124
125                 string key = "_EFL_UI_SPOTLIGHT_EVENT_TRANSITION_START";
126                 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
127             }
128         }
129
130         remove
131         {
132             lock (eflBindingEventLock)
133             {
134                 string key = "_EFL_UI_SPOTLIGHT_EVENT_TRANSITION_START";
135                 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
136             }
137         }
138     }
139     /// <summary>Method to raise event TransitionStartEvt.</summary>
140     public void OnTransitionStartEvt(Efl.Ui.Spotlight.ContainerTransitionStartEvt_Args e)
141     {
142         var key = "_EFL_UI_SPOTLIGHT_EVENT_TRANSITION_START";
143         IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
144         if (desc == IntPtr.Zero)
145         {
146             Eina.Log.Error($"Failed to get native event {key}");
147             return;
148         }
149
150         IntPtr info = Marshal.AllocHGlobal(Marshal.SizeOf(e.arg));
151         try
152         {
153             Marshal.StructureToPtr(e.arg, info, false);
154             Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
155         }
156         finally
157         {
158             Marshal.FreeHGlobal(info);
159         }
160     }
161     /// <summary>A transition animation has ended.</summary>
162     /// <value><see cref="Efl.Ui.Spotlight.ContainerTransitionEndEvt_Args"/></value>
163     public event EventHandler<Efl.Ui.Spotlight.ContainerTransitionEndEvt_Args> TransitionEndEvt
164     {
165         add
166         {
167             lock (eflBindingEventLock)
168             {
169                 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
170                 {
171                     var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
172                     if (obj != null)
173                     {
174                         Efl.Ui.Spotlight.ContainerTransitionEndEvt_Args args = new Efl.Ui.Spotlight.ContainerTransitionEndEvt_Args();
175                         args.arg =  evt.Info;
176                         try
177                         {
178                             value?.Invoke(obj, args);
179                         }
180                         catch (Exception e)
181                         {
182                             Eina.Log.Error(e.ToString());
183                             Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
184                         }
185                     }
186                 };
187
188                 string key = "_EFL_UI_SPOTLIGHT_EVENT_TRANSITION_END";
189                 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
190             }
191         }
192
193         remove
194         {
195             lock (eflBindingEventLock)
196             {
197                 string key = "_EFL_UI_SPOTLIGHT_EVENT_TRANSITION_END";
198                 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
199             }
200         }
201     }
202     /// <summary>Method to raise event TransitionEndEvt.</summary>
203     public void OnTransitionEndEvt(Efl.Ui.Spotlight.ContainerTransitionEndEvt_Args e)
204     {
205         var key = "_EFL_UI_SPOTLIGHT_EVENT_TRANSITION_END";
206         IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
207         if (desc == IntPtr.Zero)
208         {
209             Eina.Log.Error($"Failed to get native event {key}");
210             return;
211         }
212
213         IntPtr info = Marshal.AllocHGlobal(Marshal.SizeOf(e.arg));
214         try
215         {
216             Marshal.StructureToPtr(e.arg, info, false);
217             Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
218         }
219         finally
220         {
221             Marshal.FreeHGlobal(info);
222         }
223     }
224     /// <summary>This object defines how sub-widgets are rendered and animated. If it is not set, only the active sub-widget is shown and transitions are instantaneous (not animated).</summary>
225     /// <returns>The Spotlight Manager object or <c>NULL</c>.</returns>
226     virtual public Efl.Ui.Spotlight.Manager GetSpotlightManager() {
227          var _ret_var = Efl.Ui.Spotlight.Container.NativeMethods.efl_ui_spotlight_manager_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
228         Eina.Error.RaiseIfUnhandledException();
229         return _ret_var;
230  }
231     /// <summary>This object defines how sub-widgets are rendered and animated. If it is not set, only the active sub-widget is shown and transitions are instantaneous (not animated).</summary>
232     /// <param name="spotlight_manager">The Spotlight Manager object or <c>NULL</c>.</param>
233     virtual public void SetSpotlightManager(Efl.Ui.Spotlight.Manager spotlight_manager) {
234                                  Efl.Ui.Spotlight.Container.NativeMethods.efl_ui_spotlight_manager_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),spotlight_manager);
235         Eina.Error.RaiseIfUnhandledException();
236                          }
237     /// <summary>An indicator object to use, which will display the current state of the spotlight (number of sub-widgets and active one). When this object is set, it is immediately updated to reflect the current state of the widget. Its location inside the container is controlled by the <see cref="Efl.Ui.Spotlight.Container.SpotlightManager"/>.</summary>
238     /// <returns>The Indicator object or <c>NULL</c>.</returns>
239     virtual public Efl.Ui.Spotlight.Indicator GetIndicator() {
240          var _ret_var = Efl.Ui.Spotlight.Container.NativeMethods.efl_ui_spotlight_indicator_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
241         Eina.Error.RaiseIfUnhandledException();
242         return _ret_var;
243  }
244     /// <summary>An indicator object to use, which will display the current state of the spotlight (number of sub-widgets and active one). When this object is set, it is immediately updated to reflect the current state of the widget. Its location inside the container is controlled by the <see cref="Efl.Ui.Spotlight.Container.SpotlightManager"/>.</summary>
245     /// <param name="indicator">The Indicator object or <c>NULL</c>.</param>
246     virtual public void SetIndicator(Efl.Ui.Spotlight.Indicator indicator) {
247                                  Efl.Ui.Spotlight.Container.NativeMethods.efl_ui_spotlight_indicator_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),indicator);
248         Eina.Error.RaiseIfUnhandledException();
249                          }
250     /// <summary>Currently active sub-widget (the one with the spotlight) among all the sub-widgets added to this widget
251     /// Changing this value might trigger an animation.</summary>
252     /// <returns>Index of the sub-widget that has the spotlight, from 0 to the number of sub-widgets - 1 (<see cref="Efl.IContainer.ContentCount"/> - 1).</returns>
253     virtual public int GetActiveIndex() {
254          var _ret_var = Efl.Ui.Spotlight.Container.NativeMethods.efl_ui_spotlight_active_index_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
255         Eina.Error.RaiseIfUnhandledException();
256         return _ret_var;
257  }
258     /// <summary>Currently active sub-widget (the one with the spotlight) among all the sub-widgets added to this widget
259     /// Changing this value might trigger an animation.</summary>
260     /// <param name="index">Index of the sub-widget that has the spotlight, from 0 to the number of sub-widgets - 1 (<see cref="Efl.IContainer.ContentCount"/> - 1).</param>
261     virtual public void SetActiveIndex(int index) {
262                                  Efl.Ui.Spotlight.Container.NativeMethods.efl_ui_spotlight_active_index_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),index);
263         Eina.Error.RaiseIfUnhandledException();
264                          }
265     /// <summary>The size to use when displaying the Sub-Widget which has the spotlight. This is used by the <see cref="Efl.Ui.Spotlight.Container.SpotlightManager"/> to perform the rendering. Sub-Widgets other than the Active one may or may not use this size.</summary>
266     /// <returns>Render size for the spotlight. (-1, -1) means that all available space inside the container is used.</returns>
267     virtual public Eina.Size2D GetSpotlightSize() {
268          var _ret_var = Efl.Ui.Spotlight.Container.NativeMethods.efl_ui_spotlight_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
269         Eina.Error.RaiseIfUnhandledException();
270         return _ret_var;
271  }
272     /// <summary>The size to use when displaying the Sub-Widget which has the spotlight. This is used by the <see cref="Efl.Ui.Spotlight.Container.SpotlightManager"/> to perform the rendering. Sub-Widgets other than the Active one may or may not use this size.</summary>
273     /// <param name="size">Render size for the spotlight. (-1, -1) means that all available space inside the container is used.</param>
274     virtual public void SetSpotlightSize(Eina.Size2D size) {
275          Eina.Size2D.NativeStruct _in_size = size;
276                         Efl.Ui.Spotlight.Container.NativeMethods.efl_ui_spotlight_size_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_size);
277         Eina.Error.RaiseIfUnhandledException();
278                          }
279     /// <summary>Packs a new sub-widget at the position indicated by <see cref="Efl.Ui.Spotlight.Container.ActiveIndex"/> (0 by default).
280     /// This is the same behavior as a push operation on a stack.
281     /// 
282     /// An animation might be triggered to give the new sub-widget the spotlight and come into position.</summary>
283     /// <param name="widget">Sub-Widget to add and set to be the spotlight sub-widget.</param>
284     virtual public void Push(Efl.Gfx.IEntity widget) {
285                                  Efl.Ui.Spotlight.Container.NativeMethods.efl_ui_spotlight_push_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),widget);
286         Eina.Error.RaiseIfUnhandledException();
287                          }
288     /// <summary>Removes the sub-widget that has the spotlight from the widget.
289     /// The sub-widgets behind it naturally flow down so the next one gets the spotlight. This is the same behavior as a pop operation on a stack. When combined with <see cref="Efl.Ui.Spotlight.Container.Push"/> you don&apos;t have to worry about <see cref="Efl.Ui.Spotlight.Container.ActiveIndex"/> since only the first sub-widget is manipulated.
290     /// 
291     /// An animation might be triggered to give the new sub-widget the spotlight, come into position and the old one disappear.
292     /// 
293     /// The removed sub-widget can be returned to the caller or deleted (depending on <c>delete_on_transition_end</c>).</summary>
294     /// <param name="deletion_on_transition_end">if <c>true</c>, then the object will be deleted before resolving the future, and a NULL pointer is the value of the future. <c>false</c> if no operation should be applied to it</param>
295     /// <returns>This Future gets resolved when any transition animation finishes and the popped sub-widget is ready for collection. If there is no animation, the Future resolves immediately. If <c>deletion_on_transition_end</c> is <c>true</c> then this widget will destroy the popped sub-widget and the Future will contain no Value. Otherwise, the caller becomes the owner of the sub-widget contained in the Future and must dispose of it appropriately.</returns>
296     virtual public  Eina.Future Pop(bool deletion_on_transition_end) {
297                                  var _ret_var = Efl.Ui.Spotlight.Container.NativeMethods.efl_ui_spotlight_pop_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),deletion_on_transition_end);
298         Eina.Error.RaiseIfUnhandledException();
299                         return _ret_var;
300  }
301     /// <summary>Removes all packed sub-objects and unreferences them.</summary>
302     /// <returns><c>true</c> on success, <c>false</c> otherwise.</returns>
303     virtual public bool ClearPack() {
304          var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_clear_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
305         Eina.Error.RaiseIfUnhandledException();
306         return _ret_var;
307  }
308     /// <summary>Removes all packed sub-objects without unreferencing them.
309     /// Use with caution.</summary>
310     /// <returns><c>true</c> on success, <c>false</c> otherwise.</returns>
311     virtual public bool UnpackAll() {
312          var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_all_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
313         Eina.Error.RaiseIfUnhandledException();
314         return _ret_var;
315  }
316     /// <summary>Removes an existing sub-object from the container without deleting it.</summary>
317     /// <param name="subobj">The sub-object to unpack.</param>
318     /// <returns><c>false</c> if <c>subobj</c> wasn&apos;t in the container or couldn&apos;t be removed.</returns>
319     virtual public bool Unpack(Efl.Gfx.IEntity subobj) {
320                                  var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
321         Eina.Error.RaiseIfUnhandledException();
322                         return _ret_var;
323  }
324     /// <summary>Adds a sub-object to this container.
325     /// Depending on the container this will either fill in the default spot, replacing any already existing element or append to the end of the container if there is no default part.
326     /// 
327     /// When this container is deleted, it will request deletion of the given <c>subobj</c>. Use <see cref="Efl.IPack.Unpack"/> to remove <c>subobj</c> from this container without deleting it.</summary>
328     /// <param name="subobj">The object to pack.</param>
329     /// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
330     virtual public bool Pack(Efl.Gfx.IEntity subobj) {
331                                  var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
332         Eina.Error.RaiseIfUnhandledException();
333                         return _ret_var;
334  }
335     /// <summary>Prepend an object at the beginning of this container.
336     /// This is the same as <see cref="Efl.IPackLinear.PackAt"/>(<c>subobj</c>, 0).
337     /// 
338     /// When this container is deleted, it will request deletion of the given <c>subobj</c>. Use <see cref="Efl.IPack.Unpack"/> to remove <c>subobj</c> from this container without deleting it.</summary>
339     /// <param name="subobj">Object to pack at the beginning.</param>
340     /// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
341     virtual public bool PackBegin(Efl.Gfx.IEntity subobj) {
342                                  var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_begin_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
343         Eina.Error.RaiseIfUnhandledException();
344                         return _ret_var;
345  }
346     /// <summary>Append object at the end of this container.
347     /// This is the same as <see cref="Efl.IPackLinear.PackAt"/>(<c>subobj</c>, -1).
348     /// 
349     /// When this container is deleted, it will request deletion of the given <c>subobj</c>. Use <see cref="Efl.IPack.Unpack"/> to remove <c>subobj</c> from this container without deleting it.</summary>
350     /// <param name="subobj">Object to pack at the end.</param>
351     /// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
352     virtual public bool PackEnd(Efl.Gfx.IEntity subobj) {
353                                  var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_end_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
354         Eina.Error.RaiseIfUnhandledException();
355                         return _ret_var;
356  }
357     /// <summary>Prepend an object before an existing sub-object.
358     /// When this container is deleted, it will request deletion of the given <c>subobj</c>. Use <see cref="Efl.IPack.Unpack"/> to remove <c>subobj</c> from this container without deleting it.</summary>
359     /// <param name="subobj">Object to pack before <c>existing</c>.</param>
360     /// <param name="existing">Existing reference sub-object.</param>
361     /// <returns><c>false</c> if <c>existing</c> could not be found or <c>subobj</c> could not be packed.</returns>
362     virtual public bool PackBefore(Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing) {
363                                                          var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_before_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, existing);
364         Eina.Error.RaiseIfUnhandledException();
365                                         return _ret_var;
366  }
367     /// <summary>Append an object after an existing sub-object.
368     /// When this container is deleted, it will request deletion of the given <c>subobj</c>. Use <see cref="Efl.IPack.Unpack"/> to remove <c>subobj</c> from this container without deleting it.</summary>
369     /// <param name="subobj">Object to pack after <c>existing</c>.</param>
370     /// <param name="existing">Existing reference sub-object.</param>
371     /// <returns><c>false</c> if <c>existing</c> could not be found or <c>subobj</c> could not be packed.</returns>
372     virtual public bool PackAfter(Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing) {
373                                                          var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_after_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, existing);
374         Eina.Error.RaiseIfUnhandledException();
375                                         return _ret_var;
376  }
377     /// <summary>Inserts <c>subobj</c> BEFORE the sub-object at position <c>index</c>.
378     /// <c>index</c> ranges from -<c>count</c> to <c>count</c>-1, where positive numbers go from first sub-object (0) to last (<c>count</c>-1), and negative numbers go from last sub-object (-1) to first (-<c>count</c>). <c>count</c> is the number of sub-objects currently in the container as returned by <see cref="Efl.IContainer.ContentCount"/>.
379     /// 
380     /// If <c>index</c> is less than -<c>count</c>, it will trigger <see cref="Efl.IPackLinear.PackBegin"/>(<c>subobj</c>) whereas <c>index</c> greater than <c>count</c>-1 will trigger <see cref="Efl.IPackLinear.PackEnd"/>(<c>subobj</c>).
381     /// 
382     /// When this container is deleted, it will request deletion of the given <c>subobj</c>. Use <see cref="Efl.IPack.Unpack"/> to remove <c>subobj</c> from this container without deleting it.</summary>
383     /// <param name="subobj">Object to pack.</param>
384     /// <param name="index">Index of existing sub-object to insert BEFORE. Valid range is -<c>count</c> to (<c>count</c>-1).</param>
385     /// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
386     virtual public bool PackAt(Efl.Gfx.IEntity subobj, int index) {
387                                                          var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_at_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, index);
388         Eina.Error.RaiseIfUnhandledException();
389                                         return _ret_var;
390  }
391     /// <summary>Sub-object at a given <c>index</c> in this container.
392     /// <c>index</c> ranges from -<c>count</c> to <c>count</c>-1, where positive numbers go from first sub-object (0) to last (<c>count</c>-1), and negative numbers go from last sub-object (-1) to first (-<c>count</c>). <c>count</c> is the number of sub-objects currently in the container as returned by <see cref="Efl.IContainer.ContentCount"/>.
393     /// 
394     /// If <c>index</c> is less than -<c>count</c>, it will return the first sub-object whereas <c>index</c> greater than <c>count</c>-1 will return the last sub-object.</summary>
395     /// <param name="index">Index of the existing sub-object to retrieve. Valid range is -<c>count</c> to (<c>count</c>-1).</param>
396     /// <returns>The sub-object contained at the given <c>index</c>.</returns>
397     virtual public Efl.Gfx.IEntity GetPackContent(int index) {
398                                  var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),index);
399         Eina.Error.RaiseIfUnhandledException();
400                         return _ret_var;
401  }
402     /// <summary>Get the index of a sub-object in this container.</summary>
403     /// <param name="subobj">An existing sub-object in this container.</param>
404     /// <returns>-1 in case <c>subobj</c> is not found, or the index of <c>subobj</c> in the range 0 to (<c>count</c>-1).</returns>
405     virtual public int GetPackIndex(Efl.Gfx.IEntity subobj) {
406                                  var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_index_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
407         Eina.Error.RaiseIfUnhandledException();
408                         return _ret_var;
409  }
410     /// <summary>Pop out (remove) the sub-object at the specified <c>index</c>.
411     /// <c>index</c> ranges from -<c>count</c> to <c>count</c>-1, where positive numbers go from first sub-object (0) to last (<c>count</c>-1), and negative numbers go from last sub-object (-1) to first (-<c>count</c>). <c>count</c> is the number of sub-objects currently in the container as returned by <see cref="Efl.IContainer.ContentCount"/>.
412     /// 
413     /// If <c>index</c> is less than -<c>count</c>, it will remove the first sub-object whereas <c>index</c> greater than <c>count</c>-1 will remove the last sub-object.</summary>
414     /// <param name="index">Index of the sub-object to remove. Valid range is -<c>count</c> to (<c>count</c>-1).</param>
415     /// <returns>The sub-object if it could be removed.</returns>
416     virtual public Efl.Gfx.IEntity PackUnpackAt(int index) {
417                                  var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_unpack_at_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),index);
418         Eina.Error.RaiseIfUnhandledException();
419                         return _ret_var;
420  }
421     /// <summary>Async wrapper for <see cref="Pop" />.</summary>
422     /// <param name="deletion_on_transition_end">if <c>true</c>, then the object will be deleted before resolving the future, and a NULL pointer is the value of the future. <c>false</c> if no operation should be applied to it</param>
423     /// <param name="token">Token to notify the async operation of external request to cancel.</param>
424     /// <returns>An async task wrapping the result of the operation.</returns>
425     public System.Threading.Tasks.Task<Eina.Value> PopAsync(bool deletion_on_transition_end, System.Threading.CancellationToken token = default(System.Threading.CancellationToken))
426     {
427         Eina.Future future = Pop( deletion_on_transition_end);
428         return Efl.Eo.Globals.WrapAsync(future, token);
429     }
430
431     /// <summary>This object defines how sub-widgets are rendered and animated. If it is not set, only the active sub-widget is shown and transitions are instantaneous (not animated).</summary>
432     /// <value>The Spotlight Manager object or <c>NULL</c>.</value>
433     public Efl.Ui.Spotlight.Manager SpotlightManager {
434         get { return GetSpotlightManager(); }
435         set { SetSpotlightManager(value); }
436     }
437     /// <summary>An indicator object to use, which will display the current state of the spotlight (number of sub-widgets and active one). When this object is set, it is immediately updated to reflect the current state of the widget. Its location inside the container is controlled by the <see cref="Efl.Ui.Spotlight.Container.SpotlightManager"/>.</summary>
438     /// <value>The Indicator object or <c>NULL</c>.</value>
439     public Efl.Ui.Spotlight.Indicator Indicator {
440         get { return GetIndicator(); }
441         set { SetIndicator(value); }
442     }
443     /// <summary>Currently active sub-widget (the one with the spotlight) among all the sub-widgets added to this widget
444     /// Changing this value might trigger an animation.</summary>
445     /// <value>Index of the sub-widget that has the spotlight, from 0 to the number of sub-widgets - 1 (<see cref="Efl.IContainer.ContentCount"/> - 1).</value>
446     public int ActiveIndex {
447         get { return GetActiveIndex(); }
448         set { SetActiveIndex(value); }
449     }
450     /// <summary>The size to use when displaying the Sub-Widget which has the spotlight. This is used by the <see cref="Efl.Ui.Spotlight.Container.SpotlightManager"/> to perform the rendering. Sub-Widgets other than the Active one may or may not use this size.</summary>
451     /// <value>Render size for the spotlight. (-1, -1) means that all available space inside the container is used.</value>
452     public Eina.Size2D SpotlightSize {
453         get { return GetSpotlightSize(); }
454         set { SetSpotlightSize(value); }
455     }
456     private static IntPtr GetEflClassStatic()
457     {
458         return Efl.Ui.Spotlight.Container.efl_ui_spotlight_container_class_get();
459     }
460     /// <summary>Wrapper for native methods and virtual method delegates.
461     /// For internal use by generated code only.</summary>
462     public new class NativeMethods : Efl.Ui.LayoutBase.NativeMethods
463     {
464         private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule(    efl.Libs.Elementary);
465         /// <summary>Gets the list of Eo operations to override.</summary>
466         /// <returns>The list of Eo operations to be overload.</returns>
467         public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
468         {
469             var descs = new System.Collections.Generic.List<Efl_Op_Description>();
470             var methods = Efl.Eo.Globals.GetUserMethods(type);
471
472             if (efl_ui_spotlight_manager_get_static_delegate == null)
473             {
474                 efl_ui_spotlight_manager_get_static_delegate = new efl_ui_spotlight_manager_get_delegate(spotlight_manager_get);
475             }
476
477             if (methods.FirstOrDefault(m => m.Name == "GetSpotlightManager") != null)
478             {
479                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spotlight_manager_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spotlight_manager_get_static_delegate) });
480             }
481
482             if (efl_ui_spotlight_manager_set_static_delegate == null)
483             {
484                 efl_ui_spotlight_manager_set_static_delegate = new efl_ui_spotlight_manager_set_delegate(spotlight_manager_set);
485             }
486
487             if (methods.FirstOrDefault(m => m.Name == "SetSpotlightManager") != null)
488             {
489                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spotlight_manager_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spotlight_manager_set_static_delegate) });
490             }
491
492             if (efl_ui_spotlight_indicator_get_static_delegate == null)
493             {
494                 efl_ui_spotlight_indicator_get_static_delegate = new efl_ui_spotlight_indicator_get_delegate(indicator_get);
495             }
496
497             if (methods.FirstOrDefault(m => m.Name == "GetIndicator") != null)
498             {
499                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spotlight_indicator_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spotlight_indicator_get_static_delegate) });
500             }
501
502             if (efl_ui_spotlight_indicator_set_static_delegate == null)
503             {
504                 efl_ui_spotlight_indicator_set_static_delegate = new efl_ui_spotlight_indicator_set_delegate(indicator_set);
505             }
506
507             if (methods.FirstOrDefault(m => m.Name == "SetIndicator") != null)
508             {
509                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spotlight_indicator_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spotlight_indicator_set_static_delegate) });
510             }
511
512             if (efl_ui_spotlight_active_index_get_static_delegate == null)
513             {
514                 efl_ui_spotlight_active_index_get_static_delegate = new efl_ui_spotlight_active_index_get_delegate(active_index_get);
515             }
516
517             if (methods.FirstOrDefault(m => m.Name == "GetActiveIndex") != null)
518             {
519                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spotlight_active_index_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spotlight_active_index_get_static_delegate) });
520             }
521
522             if (efl_ui_spotlight_active_index_set_static_delegate == null)
523             {
524                 efl_ui_spotlight_active_index_set_static_delegate = new efl_ui_spotlight_active_index_set_delegate(active_index_set);
525             }
526
527             if (methods.FirstOrDefault(m => m.Name == "SetActiveIndex") != null)
528             {
529                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spotlight_active_index_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spotlight_active_index_set_static_delegate) });
530             }
531
532             if (efl_ui_spotlight_size_get_static_delegate == null)
533             {
534                 efl_ui_spotlight_size_get_static_delegate = new efl_ui_spotlight_size_get_delegate(spotlight_size_get);
535             }
536
537             if (methods.FirstOrDefault(m => m.Name == "GetSpotlightSize") != null)
538             {
539                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spotlight_size_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spotlight_size_get_static_delegate) });
540             }
541
542             if (efl_ui_spotlight_size_set_static_delegate == null)
543             {
544                 efl_ui_spotlight_size_set_static_delegate = new efl_ui_spotlight_size_set_delegate(spotlight_size_set);
545             }
546
547             if (methods.FirstOrDefault(m => m.Name == "SetSpotlightSize") != null)
548             {
549                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spotlight_size_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spotlight_size_set_static_delegate) });
550             }
551
552             if (efl_ui_spotlight_push_static_delegate == null)
553             {
554                 efl_ui_spotlight_push_static_delegate = new efl_ui_spotlight_push_delegate(push);
555             }
556
557             if (methods.FirstOrDefault(m => m.Name == "Push") != null)
558             {
559                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spotlight_push"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spotlight_push_static_delegate) });
560             }
561
562             if (efl_ui_spotlight_pop_static_delegate == null)
563             {
564                 efl_ui_spotlight_pop_static_delegate = new efl_ui_spotlight_pop_delegate(pop);
565             }
566
567             if (methods.FirstOrDefault(m => m.Name == "Pop") != null)
568             {
569                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spotlight_pop"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spotlight_pop_static_delegate) });
570             }
571
572             if (efl_pack_clear_static_delegate == null)
573             {
574                 efl_pack_clear_static_delegate = new efl_pack_clear_delegate(pack_clear);
575             }
576
577             if (methods.FirstOrDefault(m => m.Name == "ClearPack") != null)
578             {
579                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_clear"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_clear_static_delegate) });
580             }
581
582             if (efl_pack_unpack_all_static_delegate == null)
583             {
584                 efl_pack_unpack_all_static_delegate = new efl_pack_unpack_all_delegate(unpack_all);
585             }
586
587             if (methods.FirstOrDefault(m => m.Name == "UnpackAll") != null)
588             {
589                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_unpack_all"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_unpack_all_static_delegate) });
590             }
591
592             if (efl_pack_unpack_static_delegate == null)
593             {
594                 efl_pack_unpack_static_delegate = new efl_pack_unpack_delegate(unpack);
595             }
596
597             if (methods.FirstOrDefault(m => m.Name == "Unpack") != null)
598             {
599                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_unpack"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_unpack_static_delegate) });
600             }
601
602             if (efl_pack_static_delegate == null)
603             {
604                 efl_pack_static_delegate = new efl_pack_delegate(pack);
605             }
606
607             if (methods.FirstOrDefault(m => m.Name == "Pack") != null)
608             {
609                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_static_delegate) });
610             }
611
612             if (efl_pack_begin_static_delegate == null)
613             {
614                 efl_pack_begin_static_delegate = new efl_pack_begin_delegate(pack_begin);
615             }
616
617             if (methods.FirstOrDefault(m => m.Name == "PackBegin") != null)
618             {
619                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_begin"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_begin_static_delegate) });
620             }
621
622             if (efl_pack_end_static_delegate == null)
623             {
624                 efl_pack_end_static_delegate = new efl_pack_end_delegate(pack_end);
625             }
626
627             if (methods.FirstOrDefault(m => m.Name == "PackEnd") != null)
628             {
629                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_end"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_end_static_delegate) });
630             }
631
632             if (efl_pack_before_static_delegate == null)
633             {
634                 efl_pack_before_static_delegate = new efl_pack_before_delegate(pack_before);
635             }
636
637             if (methods.FirstOrDefault(m => m.Name == "PackBefore") != null)
638             {
639                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_before"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_before_static_delegate) });
640             }
641
642             if (efl_pack_after_static_delegate == null)
643             {
644                 efl_pack_after_static_delegate = new efl_pack_after_delegate(pack_after);
645             }
646
647             if (methods.FirstOrDefault(m => m.Name == "PackAfter") != null)
648             {
649                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_after"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_after_static_delegate) });
650             }
651
652             if (efl_pack_at_static_delegate == null)
653             {
654                 efl_pack_at_static_delegate = new efl_pack_at_delegate(pack_at);
655             }
656
657             if (methods.FirstOrDefault(m => m.Name == "PackAt") != null)
658             {
659                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_at"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_at_static_delegate) });
660             }
661
662             if (efl_pack_content_get_static_delegate == null)
663             {
664                 efl_pack_content_get_static_delegate = new efl_pack_content_get_delegate(pack_content_get);
665             }
666
667             if (methods.FirstOrDefault(m => m.Name == "GetPackContent") != null)
668             {
669                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_content_get"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_content_get_static_delegate) });
670             }
671
672             if (efl_pack_index_get_static_delegate == null)
673             {
674                 efl_pack_index_get_static_delegate = new efl_pack_index_get_delegate(pack_index_get);
675             }
676
677             if (methods.FirstOrDefault(m => m.Name == "GetPackIndex") != null)
678             {
679                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_index_get"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_index_get_static_delegate) });
680             }
681
682             if (efl_pack_unpack_at_static_delegate == null)
683             {
684                 efl_pack_unpack_at_static_delegate = new efl_pack_unpack_at_delegate(pack_unpack_at);
685             }
686
687             if (methods.FirstOrDefault(m => m.Name == "PackUnpackAt") != null)
688             {
689                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_unpack_at"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_unpack_at_static_delegate) });
690             }
691
692             descs.AddRange(base.GetEoOps(type));
693             return descs;
694         }
695         /// <summary>Returns the Eo class for the native methods of this class.</summary>
696         /// <returns>The native class pointer.</returns>
697         public override IntPtr GetEflClass()
698         {
699             return Efl.Ui.Spotlight.Container.efl_ui_spotlight_container_class_get();
700         }
701
702         #pragma warning disable CA1707, CS1591, SA1300, SA1600
703
704         [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.OwnTag>))]
705         private delegate Efl.Ui.Spotlight.Manager efl_ui_spotlight_manager_get_delegate(System.IntPtr obj, System.IntPtr pd);
706
707         [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.OwnTag>))]
708         public delegate Efl.Ui.Spotlight.Manager efl_ui_spotlight_manager_get_api_delegate(System.IntPtr obj);
709
710         public static Efl.Eo.FunctionWrapper<efl_ui_spotlight_manager_get_api_delegate> efl_ui_spotlight_manager_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spotlight_manager_get_api_delegate>(Module, "efl_ui_spotlight_manager_get");
711
712         private static Efl.Ui.Spotlight.Manager spotlight_manager_get(System.IntPtr obj, System.IntPtr pd)
713         {
714             Eina.Log.Debug("function efl_ui_spotlight_manager_get was called");
715             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
716             if (ws != null)
717             {
718             Efl.Ui.Spotlight.Manager _ret_var = default(Efl.Ui.Spotlight.Manager);
719                 try
720                 {
721                     _ret_var = ((Container)ws.Target).GetSpotlightManager();
722                 }
723                 catch (Exception e)
724                 {
725                     Eina.Log.Warning($"Callback error: {e.ToString()}");
726                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
727                 }
728
729         return _ret_var;
730
731             }
732             else
733             {
734                 return efl_ui_spotlight_manager_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
735             }
736         }
737
738         private static efl_ui_spotlight_manager_get_delegate efl_ui_spotlight_manager_get_static_delegate;
739
740         
741         private delegate void efl_ui_spotlight_manager_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.OwnTag>))] Efl.Ui.Spotlight.Manager spotlight_manager);
742
743         
744         public delegate void efl_ui_spotlight_manager_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.OwnTag>))] Efl.Ui.Spotlight.Manager spotlight_manager);
745
746         public static Efl.Eo.FunctionWrapper<efl_ui_spotlight_manager_set_api_delegate> efl_ui_spotlight_manager_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spotlight_manager_set_api_delegate>(Module, "efl_ui_spotlight_manager_set");
747
748         private static void spotlight_manager_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Spotlight.Manager spotlight_manager)
749         {
750             Eina.Log.Debug("function efl_ui_spotlight_manager_set was called");
751             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
752             if (ws != null)
753             {
754                                     
755                 try
756                 {
757                     ((Container)ws.Target).SetSpotlightManager(spotlight_manager);
758                 }
759                 catch (Exception e)
760                 {
761                     Eina.Log.Warning($"Callback error: {e.ToString()}");
762                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
763                 }
764
765                         
766             }
767             else
768             {
769                 efl_ui_spotlight_manager_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), spotlight_manager);
770             }
771         }
772
773         private static efl_ui_spotlight_manager_set_delegate efl_ui_spotlight_manager_set_static_delegate;
774
775         [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.OwnTag>))]
776         private delegate Efl.Ui.Spotlight.Indicator efl_ui_spotlight_indicator_get_delegate(System.IntPtr obj, System.IntPtr pd);
777
778         [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.OwnTag>))]
779         public delegate Efl.Ui.Spotlight.Indicator efl_ui_spotlight_indicator_get_api_delegate(System.IntPtr obj);
780
781         public static Efl.Eo.FunctionWrapper<efl_ui_spotlight_indicator_get_api_delegate> efl_ui_spotlight_indicator_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spotlight_indicator_get_api_delegate>(Module, "efl_ui_spotlight_indicator_get");
782
783         private static Efl.Ui.Spotlight.Indicator indicator_get(System.IntPtr obj, System.IntPtr pd)
784         {
785             Eina.Log.Debug("function efl_ui_spotlight_indicator_get was called");
786             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
787             if (ws != null)
788             {
789             Efl.Ui.Spotlight.Indicator _ret_var = default(Efl.Ui.Spotlight.Indicator);
790                 try
791                 {
792                     _ret_var = ((Container)ws.Target).GetIndicator();
793                 }
794                 catch (Exception e)
795                 {
796                     Eina.Log.Warning($"Callback error: {e.ToString()}");
797                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
798                 }
799
800         return _ret_var;
801
802             }
803             else
804             {
805                 return efl_ui_spotlight_indicator_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
806             }
807         }
808
809         private static efl_ui_spotlight_indicator_get_delegate efl_ui_spotlight_indicator_get_static_delegate;
810
811         
812         private delegate void efl_ui_spotlight_indicator_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.OwnTag>))] Efl.Ui.Spotlight.Indicator indicator);
813
814         
815         public delegate void efl_ui_spotlight_indicator_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.OwnTag>))] Efl.Ui.Spotlight.Indicator indicator);
816
817         public static Efl.Eo.FunctionWrapper<efl_ui_spotlight_indicator_set_api_delegate> efl_ui_spotlight_indicator_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spotlight_indicator_set_api_delegate>(Module, "efl_ui_spotlight_indicator_set");
818
819         private static void indicator_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Spotlight.Indicator indicator)
820         {
821             Eina.Log.Debug("function efl_ui_spotlight_indicator_set was called");
822             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
823             if (ws != null)
824             {
825                                     
826                 try
827                 {
828                     ((Container)ws.Target).SetIndicator(indicator);
829                 }
830                 catch (Exception e)
831                 {
832                     Eina.Log.Warning($"Callback error: {e.ToString()}");
833                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
834                 }
835
836                         
837             }
838             else
839             {
840                 efl_ui_spotlight_indicator_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), indicator);
841             }
842         }
843
844         private static efl_ui_spotlight_indicator_set_delegate efl_ui_spotlight_indicator_set_static_delegate;
845
846         
847         private delegate int efl_ui_spotlight_active_index_get_delegate(System.IntPtr obj, System.IntPtr pd);
848
849         
850         public delegate int efl_ui_spotlight_active_index_get_api_delegate(System.IntPtr obj);
851
852         public static Efl.Eo.FunctionWrapper<efl_ui_spotlight_active_index_get_api_delegate> efl_ui_spotlight_active_index_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spotlight_active_index_get_api_delegate>(Module, "efl_ui_spotlight_active_index_get");
853
854         private static int active_index_get(System.IntPtr obj, System.IntPtr pd)
855         {
856             Eina.Log.Debug("function efl_ui_spotlight_active_index_get was called");
857             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
858             if (ws != null)
859             {
860             int _ret_var = default(int);
861                 try
862                 {
863                     _ret_var = ((Container)ws.Target).GetActiveIndex();
864                 }
865                 catch (Exception e)
866                 {
867                     Eina.Log.Warning($"Callback error: {e.ToString()}");
868                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
869                 }
870
871         return _ret_var;
872
873             }
874             else
875             {
876                 return efl_ui_spotlight_active_index_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
877             }
878         }
879
880         private static efl_ui_spotlight_active_index_get_delegate efl_ui_spotlight_active_index_get_static_delegate;
881
882         
883         private delegate void efl_ui_spotlight_active_index_set_delegate(System.IntPtr obj, System.IntPtr pd,  int index);
884
885         
886         public delegate void efl_ui_spotlight_active_index_set_api_delegate(System.IntPtr obj,  int index);
887
888         public static Efl.Eo.FunctionWrapper<efl_ui_spotlight_active_index_set_api_delegate> efl_ui_spotlight_active_index_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spotlight_active_index_set_api_delegate>(Module, "efl_ui_spotlight_active_index_set");
889
890         private static void active_index_set(System.IntPtr obj, System.IntPtr pd, int index)
891         {
892             Eina.Log.Debug("function efl_ui_spotlight_active_index_set was called");
893             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
894             if (ws != null)
895             {
896                                     
897                 try
898                 {
899                     ((Container)ws.Target).SetActiveIndex(index);
900                 }
901                 catch (Exception e)
902                 {
903                     Eina.Log.Warning($"Callback error: {e.ToString()}");
904                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
905                 }
906
907                         
908             }
909             else
910             {
911                 efl_ui_spotlight_active_index_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), index);
912             }
913         }
914
915         private static efl_ui_spotlight_active_index_set_delegate efl_ui_spotlight_active_index_set_static_delegate;
916
917         
918         private delegate Eina.Size2D.NativeStruct efl_ui_spotlight_size_get_delegate(System.IntPtr obj, System.IntPtr pd);
919
920         
921         public delegate Eina.Size2D.NativeStruct efl_ui_spotlight_size_get_api_delegate(System.IntPtr obj);
922
923         public static Efl.Eo.FunctionWrapper<efl_ui_spotlight_size_get_api_delegate> efl_ui_spotlight_size_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spotlight_size_get_api_delegate>(Module, "efl_ui_spotlight_size_get");
924
925         private static Eina.Size2D.NativeStruct spotlight_size_get(System.IntPtr obj, System.IntPtr pd)
926         {
927             Eina.Log.Debug("function efl_ui_spotlight_size_get was called");
928             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
929             if (ws != null)
930             {
931             Eina.Size2D _ret_var = default(Eina.Size2D);
932                 try
933                 {
934                     _ret_var = ((Container)ws.Target).GetSpotlightSize();
935                 }
936                 catch (Exception e)
937                 {
938                     Eina.Log.Warning($"Callback error: {e.ToString()}");
939                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
940                 }
941
942         return _ret_var;
943
944             }
945             else
946             {
947                 return efl_ui_spotlight_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
948             }
949         }
950
951         private static efl_ui_spotlight_size_get_delegate efl_ui_spotlight_size_get_static_delegate;
952
953         
954         private delegate void efl_ui_spotlight_size_set_delegate(System.IntPtr obj, System.IntPtr pd,  Eina.Size2D.NativeStruct size);
955
956         
957         public delegate void efl_ui_spotlight_size_set_api_delegate(System.IntPtr obj,  Eina.Size2D.NativeStruct size);
958
959         public static Efl.Eo.FunctionWrapper<efl_ui_spotlight_size_set_api_delegate> efl_ui_spotlight_size_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spotlight_size_set_api_delegate>(Module, "efl_ui_spotlight_size_set");
960
961         private static void spotlight_size_set(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct size)
962         {
963             Eina.Log.Debug("function efl_ui_spotlight_size_set was called");
964             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
965             if (ws != null)
966             {
967         Eina.Size2D _in_size = size;
968                             
969                 try
970                 {
971                     ((Container)ws.Target).SetSpotlightSize(_in_size);
972                 }
973                 catch (Exception e)
974                 {
975                     Eina.Log.Warning($"Callback error: {e.ToString()}");
976                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
977                 }
978
979                         
980             }
981             else
982             {
983                 efl_ui_spotlight_size_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), size);
984             }
985         }
986
987         private static efl_ui_spotlight_size_set_delegate efl_ui_spotlight_size_set_static_delegate;
988
989         
990         private delegate void efl_ui_spotlight_push_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity widget);
991
992         
993         public delegate void efl_ui_spotlight_push_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity widget);
994
995         public static Efl.Eo.FunctionWrapper<efl_ui_spotlight_push_api_delegate> efl_ui_spotlight_push_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spotlight_push_api_delegate>(Module, "efl_ui_spotlight_push");
996
997         private static void push(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity widget)
998         {
999             Eina.Log.Debug("function efl_ui_spotlight_push was called");
1000             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1001             if (ws != null)
1002             {
1003                                     
1004                 try
1005                 {
1006                     ((Container)ws.Target).Push(widget);
1007                 }
1008                 catch (Exception e)
1009                 {
1010                     Eina.Log.Warning($"Callback error: {e.ToString()}");
1011                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1012                 }
1013
1014                         
1015             }
1016             else
1017             {
1018                 efl_ui_spotlight_push_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), widget);
1019             }
1020         }
1021
1022         private static efl_ui_spotlight_push_delegate efl_ui_spotlight_push_static_delegate;
1023
1024         [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Eina.FutureMarshaler))]
1025         private delegate  Eina.Future efl_ui_spotlight_pop_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool deletion_on_transition_end);
1026
1027         [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Eina.FutureMarshaler))]
1028         public delegate  Eina.Future efl_ui_spotlight_pop_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool deletion_on_transition_end);
1029
1030         public static Efl.Eo.FunctionWrapper<efl_ui_spotlight_pop_api_delegate> efl_ui_spotlight_pop_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spotlight_pop_api_delegate>(Module, "efl_ui_spotlight_pop");
1031
1032         private static  Eina.Future pop(System.IntPtr obj, System.IntPtr pd, bool deletion_on_transition_end)
1033         {
1034             Eina.Log.Debug("function efl_ui_spotlight_pop was called");
1035             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1036             if (ws != null)
1037             {
1038                                      Eina.Future _ret_var = default( Eina.Future);
1039                 try
1040                 {
1041                     _ret_var = ((Container)ws.Target).Pop(deletion_on_transition_end);
1042                 }
1043                 catch (Exception e)
1044                 {
1045                     Eina.Log.Warning($"Callback error: {e.ToString()}");
1046                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1047                 }
1048
1049                         return _ret_var;
1050
1051             }
1052             else
1053             {
1054                 return efl_ui_spotlight_pop_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), deletion_on_transition_end);
1055             }
1056         }
1057
1058         private static efl_ui_spotlight_pop_delegate efl_ui_spotlight_pop_static_delegate;
1059
1060         [return: MarshalAs(UnmanagedType.U1)]
1061         private delegate bool efl_pack_clear_delegate(System.IntPtr obj, System.IntPtr pd);
1062
1063         [return: MarshalAs(UnmanagedType.U1)]
1064         public delegate bool efl_pack_clear_api_delegate(System.IntPtr obj);
1065
1066         public static Efl.Eo.FunctionWrapper<efl_pack_clear_api_delegate> efl_pack_clear_ptr = new Efl.Eo.FunctionWrapper<efl_pack_clear_api_delegate>(Module, "efl_pack_clear");
1067
1068         private static bool pack_clear(System.IntPtr obj, System.IntPtr pd)
1069         {
1070             Eina.Log.Debug("function efl_pack_clear was called");
1071             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1072             if (ws != null)
1073             {
1074             bool _ret_var = default(bool);
1075                 try
1076                 {
1077                     _ret_var = ((Container)ws.Target).ClearPack();
1078                 }
1079                 catch (Exception e)
1080                 {
1081                     Eina.Log.Warning($"Callback error: {e.ToString()}");
1082                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1083                 }
1084
1085         return _ret_var;
1086
1087             }
1088             else
1089             {
1090                 return efl_pack_clear_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1091             }
1092         }
1093
1094         private static efl_pack_clear_delegate efl_pack_clear_static_delegate;
1095
1096         [return: MarshalAs(UnmanagedType.U1)]
1097         private delegate bool efl_pack_unpack_all_delegate(System.IntPtr obj, System.IntPtr pd);
1098
1099         [return: MarshalAs(UnmanagedType.U1)]
1100         public delegate bool efl_pack_unpack_all_api_delegate(System.IntPtr obj);
1101
1102         public static Efl.Eo.FunctionWrapper<efl_pack_unpack_all_api_delegate> efl_pack_unpack_all_ptr = new Efl.Eo.FunctionWrapper<efl_pack_unpack_all_api_delegate>(Module, "efl_pack_unpack_all");
1103
1104         private static bool unpack_all(System.IntPtr obj, System.IntPtr pd)
1105         {
1106             Eina.Log.Debug("function efl_pack_unpack_all was called");
1107             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1108             if (ws != null)
1109             {
1110             bool _ret_var = default(bool);
1111                 try
1112                 {
1113                     _ret_var = ((Container)ws.Target).UnpackAll();
1114                 }
1115                 catch (Exception e)
1116                 {
1117                     Eina.Log.Warning($"Callback error: {e.ToString()}");
1118                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1119                 }
1120
1121         return _ret_var;
1122
1123             }
1124             else
1125             {
1126                 return efl_pack_unpack_all_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1127             }
1128         }
1129
1130         private static efl_pack_unpack_all_delegate efl_pack_unpack_all_static_delegate;
1131
1132         [return: MarshalAs(UnmanagedType.U1)]
1133         private delegate bool efl_pack_unpack_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
1134
1135         [return: MarshalAs(UnmanagedType.U1)]
1136         public delegate bool efl_pack_unpack_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
1137
1138         public static Efl.Eo.FunctionWrapper<efl_pack_unpack_api_delegate> efl_pack_unpack_ptr = new Efl.Eo.FunctionWrapper<efl_pack_unpack_api_delegate>(Module, "efl_pack_unpack");
1139
1140         private static bool unpack(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj)
1141         {
1142             Eina.Log.Debug("function efl_pack_unpack was called");
1143             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1144             if (ws != null)
1145             {
1146                                     bool _ret_var = default(bool);
1147                 try
1148                 {
1149                     _ret_var = ((Container)ws.Target).Unpack(subobj);
1150                 }
1151                 catch (Exception e)
1152                 {
1153                     Eina.Log.Warning($"Callback error: {e.ToString()}");
1154                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1155                 }
1156
1157                         return _ret_var;
1158
1159             }
1160             else
1161             {
1162                 return efl_pack_unpack_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj);
1163             }
1164         }
1165
1166         private static efl_pack_unpack_delegate efl_pack_unpack_static_delegate;
1167
1168         [return: MarshalAs(UnmanagedType.U1)]
1169         private delegate bool efl_pack_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
1170
1171         [return: MarshalAs(UnmanagedType.U1)]
1172         public delegate bool efl_pack_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
1173
1174         public static Efl.Eo.FunctionWrapper<efl_pack_api_delegate> efl_pack_ptr = new Efl.Eo.FunctionWrapper<efl_pack_api_delegate>(Module, "efl_pack");
1175
1176         private static bool pack(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj)
1177         {
1178             Eina.Log.Debug("function efl_pack was called");
1179             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1180             if (ws != null)
1181             {
1182                                     bool _ret_var = default(bool);
1183                 try
1184                 {
1185                     _ret_var = ((Container)ws.Target).Pack(subobj);
1186                 }
1187                 catch (Exception e)
1188                 {
1189                     Eina.Log.Warning($"Callback error: {e.ToString()}");
1190                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1191                 }
1192
1193                         return _ret_var;
1194
1195             }
1196             else
1197             {
1198                 return efl_pack_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj);
1199             }
1200         }
1201
1202         private static efl_pack_delegate efl_pack_static_delegate;
1203
1204         [return: MarshalAs(UnmanagedType.U1)]
1205         private delegate bool efl_pack_begin_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
1206
1207         [return: MarshalAs(UnmanagedType.U1)]
1208         public delegate bool efl_pack_begin_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
1209
1210         public static Efl.Eo.FunctionWrapper<efl_pack_begin_api_delegate> efl_pack_begin_ptr = new Efl.Eo.FunctionWrapper<efl_pack_begin_api_delegate>(Module, "efl_pack_begin");
1211
1212         private static bool pack_begin(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj)
1213         {
1214             Eina.Log.Debug("function efl_pack_begin was called");
1215             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1216             if (ws != null)
1217             {
1218                                     bool _ret_var = default(bool);
1219                 try
1220                 {
1221                     _ret_var = ((Container)ws.Target).PackBegin(subobj);
1222                 }
1223                 catch (Exception e)
1224                 {
1225                     Eina.Log.Warning($"Callback error: {e.ToString()}");
1226                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1227                 }
1228
1229                         return _ret_var;
1230
1231             }
1232             else
1233             {
1234                 return efl_pack_begin_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj);
1235             }
1236         }
1237
1238         private static efl_pack_begin_delegate efl_pack_begin_static_delegate;
1239
1240         [return: MarshalAs(UnmanagedType.U1)]
1241         private delegate bool efl_pack_end_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
1242
1243         [return: MarshalAs(UnmanagedType.U1)]
1244         public delegate bool efl_pack_end_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
1245
1246         public static Efl.Eo.FunctionWrapper<efl_pack_end_api_delegate> efl_pack_end_ptr = new Efl.Eo.FunctionWrapper<efl_pack_end_api_delegate>(Module, "efl_pack_end");
1247
1248         private static bool pack_end(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj)
1249         {
1250             Eina.Log.Debug("function efl_pack_end was called");
1251             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1252             if (ws != null)
1253             {
1254                                     bool _ret_var = default(bool);
1255                 try
1256                 {
1257                     _ret_var = ((Container)ws.Target).PackEnd(subobj);
1258                 }
1259                 catch (Exception e)
1260                 {
1261                     Eina.Log.Warning($"Callback error: {e.ToString()}");
1262                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1263                 }
1264
1265                         return _ret_var;
1266
1267             }
1268             else
1269             {
1270                 return efl_pack_end_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj);
1271             }
1272         }
1273
1274         private static efl_pack_end_delegate efl_pack_end_static_delegate;
1275
1276         [return: MarshalAs(UnmanagedType.U1)]
1277         private delegate bool efl_pack_before_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity existing);
1278
1279         [return: MarshalAs(UnmanagedType.U1)]
1280         public delegate bool efl_pack_before_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity existing);
1281
1282         public static Efl.Eo.FunctionWrapper<efl_pack_before_api_delegate> efl_pack_before_ptr = new Efl.Eo.FunctionWrapper<efl_pack_before_api_delegate>(Module, "efl_pack_before");
1283
1284         private static bool pack_before(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing)
1285         {
1286             Eina.Log.Debug("function efl_pack_before was called");
1287             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1288             if (ws != null)
1289             {
1290                                                             bool _ret_var = default(bool);
1291                 try
1292                 {
1293                     _ret_var = ((Container)ws.Target).PackBefore(subobj, existing);
1294                 }
1295                 catch (Exception e)
1296                 {
1297                     Eina.Log.Warning($"Callback error: {e.ToString()}");
1298                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1299                 }
1300
1301                                         return _ret_var;
1302
1303             }
1304             else
1305             {
1306                 return efl_pack_before_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, existing);
1307             }
1308         }
1309
1310         private static efl_pack_before_delegate efl_pack_before_static_delegate;
1311
1312         [return: MarshalAs(UnmanagedType.U1)]
1313         private delegate bool efl_pack_after_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity existing);
1314
1315         [return: MarshalAs(UnmanagedType.U1)]
1316         public delegate bool efl_pack_after_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity existing);
1317
1318         public static Efl.Eo.FunctionWrapper<efl_pack_after_api_delegate> efl_pack_after_ptr = new Efl.Eo.FunctionWrapper<efl_pack_after_api_delegate>(Module, "efl_pack_after");
1319
1320         private static bool pack_after(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing)
1321         {
1322             Eina.Log.Debug("function efl_pack_after was called");
1323             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1324             if (ws != null)
1325             {
1326                                                             bool _ret_var = default(bool);
1327                 try
1328                 {
1329                     _ret_var = ((Container)ws.Target).PackAfter(subobj, existing);
1330                 }
1331                 catch (Exception e)
1332                 {
1333                     Eina.Log.Warning($"Callback error: {e.ToString()}");
1334                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1335                 }
1336
1337                                         return _ret_var;
1338
1339             }
1340             else
1341             {
1342                 return efl_pack_after_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, existing);
1343             }
1344         }
1345
1346         private static efl_pack_after_delegate efl_pack_after_static_delegate;
1347
1348         [return: MarshalAs(UnmanagedType.U1)]
1349         private delegate bool efl_pack_at_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj,  int index);
1350
1351         [return: MarshalAs(UnmanagedType.U1)]
1352         public delegate bool efl_pack_at_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj,  int index);
1353
1354         public static Efl.Eo.FunctionWrapper<efl_pack_at_api_delegate> efl_pack_at_ptr = new Efl.Eo.FunctionWrapper<efl_pack_at_api_delegate>(Module, "efl_pack_at");
1355
1356         private static bool pack_at(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, int index)
1357         {
1358             Eina.Log.Debug("function efl_pack_at was called");
1359             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1360             if (ws != null)
1361             {
1362                                                             bool _ret_var = default(bool);
1363                 try
1364                 {
1365                     _ret_var = ((Container)ws.Target).PackAt(subobj, index);
1366                 }
1367                 catch (Exception e)
1368                 {
1369                     Eina.Log.Warning($"Callback error: {e.ToString()}");
1370                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1371                 }
1372
1373                                         return _ret_var;
1374
1375             }
1376             else
1377             {
1378                 return efl_pack_at_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, index);
1379             }
1380         }
1381
1382         private static efl_pack_at_delegate efl_pack_at_static_delegate;
1383
1384         [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
1385         private delegate Efl.Gfx.IEntity efl_pack_content_get_delegate(System.IntPtr obj, System.IntPtr pd,  int index);
1386
1387         [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
1388         public delegate Efl.Gfx.IEntity efl_pack_content_get_api_delegate(System.IntPtr obj,  int index);
1389
1390         public static Efl.Eo.FunctionWrapper<efl_pack_content_get_api_delegate> efl_pack_content_get_ptr = new Efl.Eo.FunctionWrapper<efl_pack_content_get_api_delegate>(Module, "efl_pack_content_get");
1391
1392         private static Efl.Gfx.IEntity pack_content_get(System.IntPtr obj, System.IntPtr pd, int index)
1393         {
1394             Eina.Log.Debug("function efl_pack_content_get was called");
1395             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1396             if (ws != null)
1397             {
1398                                     Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
1399                 try
1400                 {
1401                     _ret_var = ((Container)ws.Target).GetPackContent(index);
1402                 }
1403                 catch (Exception e)
1404                 {
1405                     Eina.Log.Warning($"Callback error: {e.ToString()}");
1406                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1407                 }
1408
1409                         return _ret_var;
1410
1411             }
1412             else
1413             {
1414                 return efl_pack_content_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), index);
1415             }
1416         }
1417
1418         private static efl_pack_content_get_delegate efl_pack_content_get_static_delegate;
1419
1420         
1421         private delegate int efl_pack_index_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
1422
1423         
1424         public delegate int efl_pack_index_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
1425
1426         public static Efl.Eo.FunctionWrapper<efl_pack_index_get_api_delegate> efl_pack_index_get_ptr = new Efl.Eo.FunctionWrapper<efl_pack_index_get_api_delegate>(Module, "efl_pack_index_get");
1427
1428         private static int pack_index_get(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj)
1429         {
1430             Eina.Log.Debug("function efl_pack_index_get was called");
1431             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1432             if (ws != null)
1433             {
1434                                     int _ret_var = default(int);
1435                 try
1436                 {
1437                     _ret_var = ((Container)ws.Target).GetPackIndex(subobj);
1438                 }
1439                 catch (Exception e)
1440                 {
1441                     Eina.Log.Warning($"Callback error: {e.ToString()}");
1442                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1443                 }
1444
1445                         return _ret_var;
1446
1447             }
1448             else
1449             {
1450                 return efl_pack_index_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj);
1451             }
1452         }
1453
1454         private static efl_pack_index_get_delegate efl_pack_index_get_static_delegate;
1455
1456         [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
1457         private delegate Efl.Gfx.IEntity efl_pack_unpack_at_delegate(System.IntPtr obj, System.IntPtr pd,  int index);
1458
1459         [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
1460         public delegate Efl.Gfx.IEntity efl_pack_unpack_at_api_delegate(System.IntPtr obj,  int index);
1461
1462         public static Efl.Eo.FunctionWrapper<efl_pack_unpack_at_api_delegate> efl_pack_unpack_at_ptr = new Efl.Eo.FunctionWrapper<efl_pack_unpack_at_api_delegate>(Module, "efl_pack_unpack_at");
1463
1464         private static Efl.Gfx.IEntity pack_unpack_at(System.IntPtr obj, System.IntPtr pd, int index)
1465         {
1466             Eina.Log.Debug("function efl_pack_unpack_at was called");
1467             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1468             if (ws != null)
1469             {
1470                                     Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
1471                 try
1472                 {
1473                     _ret_var = ((Container)ws.Target).PackUnpackAt(index);
1474                 }
1475                 catch (Exception e)
1476                 {
1477                     Eina.Log.Warning($"Callback error: {e.ToString()}");
1478                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1479                 }
1480
1481                         return _ret_var;
1482
1483             }
1484             else
1485             {
1486                 return efl_pack_unpack_at_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), index);
1487             }
1488         }
1489
1490         private static efl_pack_unpack_at_delegate efl_pack_unpack_at_static_delegate;
1491
1492         #pragma warning restore CA1707, CS1591, SA1300, SA1600
1493
1494 }
1495 }
1496 }
1497
1498 }
1499
1500 }
1501
1502 #if EFL_BETA
1503 #pragma warning disable CS1591
1504 public static class Efl_Ui_SpotlightContainer_ExtensionMethods {
1505     public static Efl.BindableProperty<Efl.Ui.Spotlight.Manager> SpotlightManager<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Spotlight.Container, T>magic = null) where T : Efl.Ui.Spotlight.Container {
1506         return new Efl.BindableProperty<Efl.Ui.Spotlight.Manager>("spotlight_manager", fac);
1507     }
1508
1509     public static Efl.BindableProperty<Efl.Ui.Spotlight.Indicator> Indicator<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Spotlight.Container, T>magic = null) where T : Efl.Ui.Spotlight.Container {
1510         return new Efl.BindableProperty<Efl.Ui.Spotlight.Indicator>("indicator", fac);
1511     }
1512
1513     public static Efl.BindableProperty<int> ActiveIndex<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Spotlight.Container, T>magic = null) where T : Efl.Ui.Spotlight.Container {
1514         return new Efl.BindableProperty<int>("active_index", fac);
1515     }
1516
1517     public static Efl.BindableProperty<Eina.Size2D> SpotlightSize<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Spotlight.Container, T>magic = null) where T : Efl.Ui.Spotlight.Container {
1518         return new Efl.BindableProperty<Eina.Size2D>("spotlight_size", fac);
1519     }
1520
1521 }
1522 #pragma warning restore CS1591
1523 #endif
1524 namespace Efl {
1525
1526 namespace Ui {
1527
1528 namespace Spotlight {
1529
1530 /// <summary>Information regarding transition events.</summary>
1531 [StructLayout(LayoutKind.Sequential)]
1532 [Efl.Eo.BindingEntity]
1533 public struct TransitionEvent
1534 {
1535     /// <summary>The index from where the transition started, -1 if not known.</summary>
1536     public int From;
1537     /// <summary>The index to where the transition is headed, -1 if not known.</summary>
1538     public int To;
1539     /// <summary>Constructor for TransitionEvent.</summary>
1540     /// <param name="From">The index from where the transition started, -1 if not known.</param>;
1541     /// <param name="To">The index to where the transition is headed, -1 if not known.</param>;
1542     public TransitionEvent(
1543         int From = default(int),
1544         int To = default(int)    )
1545     {
1546         this.From = From;
1547         this.To = To;
1548     }
1549
1550     /// <summary>Implicit conversion to the managed representation from a native pointer.</summary>
1551     /// <param name="ptr">Native pointer to be converted.</param>
1552     public static implicit operator TransitionEvent(IntPtr ptr)
1553     {
1554         var tmp = (TransitionEvent.NativeStruct)Marshal.PtrToStructure(ptr, typeof(TransitionEvent.NativeStruct));
1555         return tmp;
1556     }
1557
1558     #pragma warning disable CS1591
1559
1560     /// <summary>Internal wrapper for struct TransitionEvent.</summary>
1561     [StructLayout(LayoutKind.Sequential)]
1562     public struct NativeStruct
1563     {
1564         
1565         public int From;
1566         
1567         public int To;
1568         /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
1569         public static implicit operator TransitionEvent.NativeStruct(TransitionEvent _external_struct)
1570         {
1571             var _internal_struct = new TransitionEvent.NativeStruct();
1572             _internal_struct.From = _external_struct.From;
1573             _internal_struct.To = _external_struct.To;
1574             return _internal_struct;
1575         }
1576
1577         /// <summary>Implicit conversion to the managed representation.</summary>
1578         public static implicit operator TransitionEvent(TransitionEvent.NativeStruct _internal_struct)
1579         {
1580             var _external_struct = new TransitionEvent();
1581             _external_struct.From = _internal_struct.From;
1582             _external_struct.To = _internal_struct.To;
1583             return _external_struct;
1584         }
1585
1586     }
1587
1588     #pragma warning restore CS1591
1589
1590 }
1591
1592 }
1593
1594 }
1595
1596 }
1597