2 #pragma warning disable CS1591
4 using System.Runtime.InteropServices;
5 using System.Collections.Generic;
7 using System.Threading;
8 using System.ComponentModel;
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; }
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; }
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 "spotlight") is selected using <see cref="Efl.Ui.Spotlight.Container.ActiveIndex"/>.
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"/>.
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.
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.
38 /// This class can be used to create other widgets like Pagers, Tabbed pagers or Stacks, where each sub-widget represents a "page" 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
44 /// <summary>Pointer to the native class description.</summary>
45 public override System.IntPtr NativeClass
49 if (((object)this).GetType() == typeof(Container))
51 return GetEflClassStatic();
55 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
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)
68 if (Efl.Eo.Globals.ParamHelperCheck(style))
70 SetStyle(Efl.Eo.Globals.GetParamHelper(style));
73 FinishInstantiation();
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)
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)
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)
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
104 lock (eflBindingEventLock)
106 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
108 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
111 Efl.Ui.Spotlight.ContainerTransitionStartEvt_Args args = new Efl.Ui.Spotlight.ContainerTransitionStartEvt_Args();
115 value?.Invoke(obj, args);
119 Eina.Log.Error(e.ToString());
120 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
125 string key = "_EFL_UI_SPOTLIGHT_EVENT_TRANSITION_START";
126 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
132 lock (eflBindingEventLock)
134 string key = "_EFL_UI_SPOTLIGHT_EVENT_TRANSITION_START";
135 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
139 /// <summary>Method to raise event TransitionStartEvt.</summary>
140 public void OnTransitionStartEvt(Efl.Ui.Spotlight.ContainerTransitionStartEvt_Args e)
142 var key = "_EFL_UI_SPOTLIGHT_EVENT_TRANSITION_START";
143 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
144 if (desc == IntPtr.Zero)
146 Eina.Log.Error($"Failed to get native event {key}");
150 IntPtr info = Marshal.AllocHGlobal(Marshal.SizeOf(e.arg));
153 Marshal.StructureToPtr(e.arg, info, false);
154 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
158 Marshal.FreeHGlobal(info);
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
167 lock (eflBindingEventLock)
169 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
171 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
174 Efl.Ui.Spotlight.ContainerTransitionEndEvt_Args args = new Efl.Ui.Spotlight.ContainerTransitionEndEvt_Args();
178 value?.Invoke(obj, args);
182 Eina.Log.Error(e.ToString());
183 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
188 string key = "_EFL_UI_SPOTLIGHT_EVENT_TRANSITION_END";
189 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
195 lock (eflBindingEventLock)
197 string key = "_EFL_UI_SPOTLIGHT_EVENT_TRANSITION_END";
198 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
202 /// <summary>Method to raise event TransitionEndEvt.</summary>
203 public void OnTransitionEndEvt(Efl.Ui.Spotlight.ContainerTransitionEndEvt_Args e)
205 var key = "_EFL_UI_SPOTLIGHT_EVENT_TRANSITION_END";
206 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
207 if (desc == IntPtr.Zero)
209 Eina.Log.Error($"Failed to get native event {key}");
213 IntPtr info = Marshal.AllocHGlobal(Marshal.SizeOf(e.arg));
216 Marshal.StructureToPtr(e.arg, info, false);
217 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
221 Marshal.FreeHGlobal(info);
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();
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();
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();
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();
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();
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();
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();
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();
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.
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();
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't have to worry about <see cref="Efl.Ui.Spotlight.Container.ActiveIndex"/> since only the first sub-widget is manipulated.
291 /// An animation might be triggered to give the new sub-widget the spotlight, come into position and the old one disappear.
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();
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();
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();
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't in the container or couldn'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();
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.
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();
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).
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();
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).
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();
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();
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();
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"/>.
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>).
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();
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"/>.
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();
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();
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"/>.
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();
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))
427 Eina.Future future = Pop( deletion_on_transition_end);
428 return Efl.Eo.Globals.WrapAsync(future, token);
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); }
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); }
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); }
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); }
456 private static IntPtr GetEflClassStatic()
458 return Efl.Ui.Spotlight.Container.efl_ui_spotlight_container_class_get();
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
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)
469 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
470 var methods = Efl.Eo.Globals.GetUserMethods(type);
472 if (efl_ui_spotlight_manager_get_static_delegate == null)
474 efl_ui_spotlight_manager_get_static_delegate = new efl_ui_spotlight_manager_get_delegate(spotlight_manager_get);
477 if (methods.FirstOrDefault(m => m.Name == "GetSpotlightManager") != null)
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) });
482 if (efl_ui_spotlight_manager_set_static_delegate == null)
484 efl_ui_spotlight_manager_set_static_delegate = new efl_ui_spotlight_manager_set_delegate(spotlight_manager_set);
487 if (methods.FirstOrDefault(m => m.Name == "SetSpotlightManager") != null)
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) });
492 if (efl_ui_spotlight_indicator_get_static_delegate == null)
494 efl_ui_spotlight_indicator_get_static_delegate = new efl_ui_spotlight_indicator_get_delegate(indicator_get);
497 if (methods.FirstOrDefault(m => m.Name == "GetIndicator") != null)
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) });
502 if (efl_ui_spotlight_indicator_set_static_delegate == null)
504 efl_ui_spotlight_indicator_set_static_delegate = new efl_ui_spotlight_indicator_set_delegate(indicator_set);
507 if (methods.FirstOrDefault(m => m.Name == "SetIndicator") != null)
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) });
512 if (efl_ui_spotlight_active_index_get_static_delegate == null)
514 efl_ui_spotlight_active_index_get_static_delegate = new efl_ui_spotlight_active_index_get_delegate(active_index_get);
517 if (methods.FirstOrDefault(m => m.Name == "GetActiveIndex") != null)
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) });
522 if (efl_ui_spotlight_active_index_set_static_delegate == null)
524 efl_ui_spotlight_active_index_set_static_delegate = new efl_ui_spotlight_active_index_set_delegate(active_index_set);
527 if (methods.FirstOrDefault(m => m.Name == "SetActiveIndex") != null)
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) });
532 if (efl_ui_spotlight_size_get_static_delegate == null)
534 efl_ui_spotlight_size_get_static_delegate = new efl_ui_spotlight_size_get_delegate(spotlight_size_get);
537 if (methods.FirstOrDefault(m => m.Name == "GetSpotlightSize") != null)
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) });
542 if (efl_ui_spotlight_size_set_static_delegate == null)
544 efl_ui_spotlight_size_set_static_delegate = new efl_ui_spotlight_size_set_delegate(spotlight_size_set);
547 if (methods.FirstOrDefault(m => m.Name == "SetSpotlightSize") != null)
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) });
552 if (efl_ui_spotlight_push_static_delegate == null)
554 efl_ui_spotlight_push_static_delegate = new efl_ui_spotlight_push_delegate(push);
557 if (methods.FirstOrDefault(m => m.Name == "Push") != null)
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) });
562 if (efl_ui_spotlight_pop_static_delegate == null)
564 efl_ui_spotlight_pop_static_delegate = new efl_ui_spotlight_pop_delegate(pop);
567 if (methods.FirstOrDefault(m => m.Name == "Pop") != null)
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) });
572 if (efl_pack_clear_static_delegate == null)
574 efl_pack_clear_static_delegate = new efl_pack_clear_delegate(pack_clear);
577 if (methods.FirstOrDefault(m => m.Name == "ClearPack") != null)
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) });
582 if (efl_pack_unpack_all_static_delegate == null)
584 efl_pack_unpack_all_static_delegate = new efl_pack_unpack_all_delegate(unpack_all);
587 if (methods.FirstOrDefault(m => m.Name == "UnpackAll") != null)
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) });
592 if (efl_pack_unpack_static_delegate == null)
594 efl_pack_unpack_static_delegate = new efl_pack_unpack_delegate(unpack);
597 if (methods.FirstOrDefault(m => m.Name == "Unpack") != null)
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) });
602 if (efl_pack_static_delegate == null)
604 efl_pack_static_delegate = new efl_pack_delegate(pack);
607 if (methods.FirstOrDefault(m => m.Name == "Pack") != null)
609 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_static_delegate) });
612 if (efl_pack_begin_static_delegate == null)
614 efl_pack_begin_static_delegate = new efl_pack_begin_delegate(pack_begin);
617 if (methods.FirstOrDefault(m => m.Name == "PackBegin") != null)
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) });
622 if (efl_pack_end_static_delegate == null)
624 efl_pack_end_static_delegate = new efl_pack_end_delegate(pack_end);
627 if (methods.FirstOrDefault(m => m.Name == "PackEnd") != null)
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) });
632 if (efl_pack_before_static_delegate == null)
634 efl_pack_before_static_delegate = new efl_pack_before_delegate(pack_before);
637 if (methods.FirstOrDefault(m => m.Name == "PackBefore") != null)
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) });
642 if (efl_pack_after_static_delegate == null)
644 efl_pack_after_static_delegate = new efl_pack_after_delegate(pack_after);
647 if (methods.FirstOrDefault(m => m.Name == "PackAfter") != null)
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) });
652 if (efl_pack_at_static_delegate == null)
654 efl_pack_at_static_delegate = new efl_pack_at_delegate(pack_at);
657 if (methods.FirstOrDefault(m => m.Name == "PackAt") != null)
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) });
662 if (efl_pack_content_get_static_delegate == null)
664 efl_pack_content_get_static_delegate = new efl_pack_content_get_delegate(pack_content_get);
667 if (methods.FirstOrDefault(m => m.Name == "GetPackContent") != null)
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) });
672 if (efl_pack_index_get_static_delegate == null)
674 efl_pack_index_get_static_delegate = new efl_pack_index_get_delegate(pack_index_get);
677 if (methods.FirstOrDefault(m => m.Name == "GetPackIndex") != null)
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) });
682 if (efl_pack_unpack_at_static_delegate == null)
684 efl_pack_unpack_at_static_delegate = new efl_pack_unpack_at_delegate(pack_unpack_at);
687 if (methods.FirstOrDefault(m => m.Name == "PackUnpackAt") != null)
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) });
692 descs.AddRange(base.GetEoOps(type));
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()
699 return Efl.Ui.Spotlight.Container.efl_ui_spotlight_container_class_get();
702 #pragma warning disable CA1707, CS1591, SA1300, SA1600
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);
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);
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");
712 private static Efl.Ui.Spotlight.Manager spotlight_manager_get(System.IntPtr obj, System.IntPtr pd)
714 Eina.Log.Debug("function efl_ui_spotlight_manager_get was called");
715 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
718 Efl.Ui.Spotlight.Manager _ret_var = default(Efl.Ui.Spotlight.Manager);
721 _ret_var = ((Container)ws.Target).GetSpotlightManager();
725 Eina.Log.Warning($"Callback error: {e.ToString()}");
726 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
734 return efl_ui_spotlight_manager_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
738 private static efl_ui_spotlight_manager_get_delegate efl_ui_spotlight_manager_get_static_delegate;
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);
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);
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");
748 private static void spotlight_manager_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Spotlight.Manager spotlight_manager)
750 Eina.Log.Debug("function efl_ui_spotlight_manager_set was called");
751 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
757 ((Container)ws.Target).SetSpotlightManager(spotlight_manager);
761 Eina.Log.Warning($"Callback error: {e.ToString()}");
762 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
769 efl_ui_spotlight_manager_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), spotlight_manager);
773 private static efl_ui_spotlight_manager_set_delegate efl_ui_spotlight_manager_set_static_delegate;
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);
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);
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");
783 private static Efl.Ui.Spotlight.Indicator indicator_get(System.IntPtr obj, System.IntPtr pd)
785 Eina.Log.Debug("function efl_ui_spotlight_indicator_get was called");
786 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
789 Efl.Ui.Spotlight.Indicator _ret_var = default(Efl.Ui.Spotlight.Indicator);
792 _ret_var = ((Container)ws.Target).GetIndicator();
796 Eina.Log.Warning($"Callback error: {e.ToString()}");
797 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
805 return efl_ui_spotlight_indicator_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
809 private static efl_ui_spotlight_indicator_get_delegate efl_ui_spotlight_indicator_get_static_delegate;
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);
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);
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");
819 private static void indicator_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Spotlight.Indicator indicator)
821 Eina.Log.Debug("function efl_ui_spotlight_indicator_set was called");
822 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
828 ((Container)ws.Target).SetIndicator(indicator);
832 Eina.Log.Warning($"Callback error: {e.ToString()}");
833 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
840 efl_ui_spotlight_indicator_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), indicator);
844 private static efl_ui_spotlight_indicator_set_delegate efl_ui_spotlight_indicator_set_static_delegate;
847 private delegate int efl_ui_spotlight_active_index_get_delegate(System.IntPtr obj, System.IntPtr pd);
850 public delegate int efl_ui_spotlight_active_index_get_api_delegate(System.IntPtr obj);
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");
854 private static int active_index_get(System.IntPtr obj, System.IntPtr pd)
856 Eina.Log.Debug("function efl_ui_spotlight_active_index_get was called");
857 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
860 int _ret_var = default(int);
863 _ret_var = ((Container)ws.Target).GetActiveIndex();
867 Eina.Log.Warning($"Callback error: {e.ToString()}");
868 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
876 return efl_ui_spotlight_active_index_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
880 private static efl_ui_spotlight_active_index_get_delegate efl_ui_spotlight_active_index_get_static_delegate;
883 private delegate void efl_ui_spotlight_active_index_set_delegate(System.IntPtr obj, System.IntPtr pd, int index);
886 public delegate void efl_ui_spotlight_active_index_set_api_delegate(System.IntPtr obj, int index);
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");
890 private static void active_index_set(System.IntPtr obj, System.IntPtr pd, int index)
892 Eina.Log.Debug("function efl_ui_spotlight_active_index_set was called");
893 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
899 ((Container)ws.Target).SetActiveIndex(index);
903 Eina.Log.Warning($"Callback error: {e.ToString()}");
904 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
911 efl_ui_spotlight_active_index_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), index);
915 private static efl_ui_spotlight_active_index_set_delegate efl_ui_spotlight_active_index_set_static_delegate;
918 private delegate Eina.Size2D.NativeStruct efl_ui_spotlight_size_get_delegate(System.IntPtr obj, System.IntPtr pd);
921 public delegate Eina.Size2D.NativeStruct efl_ui_spotlight_size_get_api_delegate(System.IntPtr obj);
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");
925 private static Eina.Size2D.NativeStruct spotlight_size_get(System.IntPtr obj, System.IntPtr pd)
927 Eina.Log.Debug("function efl_ui_spotlight_size_get was called");
928 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
931 Eina.Size2D _ret_var = default(Eina.Size2D);
934 _ret_var = ((Container)ws.Target).GetSpotlightSize();
938 Eina.Log.Warning($"Callback error: {e.ToString()}");
939 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
947 return efl_ui_spotlight_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
951 private static efl_ui_spotlight_size_get_delegate efl_ui_spotlight_size_get_static_delegate;
954 private delegate void efl_ui_spotlight_size_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct size);
957 public delegate void efl_ui_spotlight_size_set_api_delegate(System.IntPtr obj, Eina.Size2D.NativeStruct size);
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");
961 private static void spotlight_size_set(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct size)
963 Eina.Log.Debug("function efl_ui_spotlight_size_set was called");
964 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
967 Eina.Size2D _in_size = size;
971 ((Container)ws.Target).SetSpotlightSize(_in_size);
975 Eina.Log.Warning($"Callback error: {e.ToString()}");
976 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
983 efl_ui_spotlight_size_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), size);
987 private static efl_ui_spotlight_size_set_delegate efl_ui_spotlight_size_set_static_delegate;
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);
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);
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");
997 private static void push(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity widget)
999 Eina.Log.Debug("function efl_ui_spotlight_push was called");
1000 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1006 ((Container)ws.Target).Push(widget);
1010 Eina.Log.Warning($"Callback error: {e.ToString()}");
1011 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1018 efl_ui_spotlight_push_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), widget);
1022 private static efl_ui_spotlight_push_delegate efl_ui_spotlight_push_static_delegate;
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);
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);
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");
1032 private static Eina.Future pop(System.IntPtr obj, System.IntPtr pd, bool deletion_on_transition_end)
1034 Eina.Log.Debug("function efl_ui_spotlight_pop was called");
1035 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1038 Eina.Future _ret_var = default( Eina.Future);
1041 _ret_var = ((Container)ws.Target).Pop(deletion_on_transition_end);
1045 Eina.Log.Warning($"Callback error: {e.ToString()}");
1046 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
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);
1058 private static efl_ui_spotlight_pop_delegate efl_ui_spotlight_pop_static_delegate;
1060 [return: MarshalAs(UnmanagedType.U1)]
1061 private delegate bool efl_pack_clear_delegate(System.IntPtr obj, System.IntPtr pd);
1063 [return: MarshalAs(UnmanagedType.U1)]
1064 public delegate bool efl_pack_clear_api_delegate(System.IntPtr obj);
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");
1068 private static bool pack_clear(System.IntPtr obj, System.IntPtr pd)
1070 Eina.Log.Debug("function efl_pack_clear was called");
1071 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1074 bool _ret_var = default(bool);
1077 _ret_var = ((Container)ws.Target).ClearPack();
1081 Eina.Log.Warning($"Callback error: {e.ToString()}");
1082 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1090 return efl_pack_clear_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1094 private static efl_pack_clear_delegate efl_pack_clear_static_delegate;
1096 [return: MarshalAs(UnmanagedType.U1)]
1097 private delegate bool efl_pack_unpack_all_delegate(System.IntPtr obj, System.IntPtr pd);
1099 [return: MarshalAs(UnmanagedType.U1)]
1100 public delegate bool efl_pack_unpack_all_api_delegate(System.IntPtr obj);
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");
1104 private static bool unpack_all(System.IntPtr obj, System.IntPtr pd)
1106 Eina.Log.Debug("function efl_pack_unpack_all was called");
1107 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1110 bool _ret_var = default(bool);
1113 _ret_var = ((Container)ws.Target).UnpackAll();
1117 Eina.Log.Warning($"Callback error: {e.ToString()}");
1118 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1126 return efl_pack_unpack_all_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1130 private static efl_pack_unpack_all_delegate efl_pack_unpack_all_static_delegate;
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);
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);
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");
1140 private static bool unpack(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj)
1142 Eina.Log.Debug("function efl_pack_unpack was called");
1143 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1146 bool _ret_var = default(bool);
1149 _ret_var = ((Container)ws.Target).Unpack(subobj);
1153 Eina.Log.Warning($"Callback error: {e.ToString()}");
1154 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1162 return efl_pack_unpack_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj);
1166 private static efl_pack_unpack_delegate efl_pack_unpack_static_delegate;
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);
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);
1174 public static Efl.Eo.FunctionWrapper<efl_pack_api_delegate> efl_pack_ptr = new Efl.Eo.FunctionWrapper<efl_pack_api_delegate>(Module, "efl_pack");
1176 private static bool pack(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj)
1178 Eina.Log.Debug("function efl_pack was called");
1179 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1182 bool _ret_var = default(bool);
1185 _ret_var = ((Container)ws.Target).Pack(subobj);
1189 Eina.Log.Warning($"Callback error: {e.ToString()}");
1190 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1198 return efl_pack_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj);
1202 private static efl_pack_delegate efl_pack_static_delegate;
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);
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);
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");
1212 private static bool pack_begin(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj)
1214 Eina.Log.Debug("function efl_pack_begin was called");
1215 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1218 bool _ret_var = default(bool);
1221 _ret_var = ((Container)ws.Target).PackBegin(subobj);
1225 Eina.Log.Warning($"Callback error: {e.ToString()}");
1226 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1234 return efl_pack_begin_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj);
1238 private static efl_pack_begin_delegate efl_pack_begin_static_delegate;
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);
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);
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");
1248 private static bool pack_end(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj)
1250 Eina.Log.Debug("function efl_pack_end was called");
1251 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1254 bool _ret_var = default(bool);
1257 _ret_var = ((Container)ws.Target).PackEnd(subobj);
1261 Eina.Log.Warning($"Callback error: {e.ToString()}");
1262 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1270 return efl_pack_end_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj);
1274 private static efl_pack_end_delegate efl_pack_end_static_delegate;
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);
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);
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");
1284 private static bool pack_before(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing)
1286 Eina.Log.Debug("function efl_pack_before was called");
1287 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1290 bool _ret_var = default(bool);
1293 _ret_var = ((Container)ws.Target).PackBefore(subobj, existing);
1297 Eina.Log.Warning($"Callback error: {e.ToString()}");
1298 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1306 return efl_pack_before_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, existing);
1310 private static efl_pack_before_delegate efl_pack_before_static_delegate;
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);
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);
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");
1320 private static bool pack_after(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing)
1322 Eina.Log.Debug("function efl_pack_after was called");
1323 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1326 bool _ret_var = default(bool);
1329 _ret_var = ((Container)ws.Target).PackAfter(subobj, existing);
1333 Eina.Log.Warning($"Callback error: {e.ToString()}");
1334 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1342 return efl_pack_after_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, existing);
1346 private static efl_pack_after_delegate efl_pack_after_static_delegate;
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);
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);
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");
1356 private static bool pack_at(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, int index)
1358 Eina.Log.Debug("function efl_pack_at was called");
1359 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1362 bool _ret_var = default(bool);
1365 _ret_var = ((Container)ws.Target).PackAt(subobj, index);
1369 Eina.Log.Warning($"Callback error: {e.ToString()}");
1370 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1378 return efl_pack_at_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, index);
1382 private static efl_pack_at_delegate efl_pack_at_static_delegate;
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);
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);
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");
1392 private static Efl.Gfx.IEntity pack_content_get(System.IntPtr obj, System.IntPtr pd, int index)
1394 Eina.Log.Debug("function efl_pack_content_get was called");
1395 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1398 Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
1401 _ret_var = ((Container)ws.Target).GetPackContent(index);
1405 Eina.Log.Warning($"Callback error: {e.ToString()}");
1406 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1414 return efl_pack_content_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), index);
1418 private static efl_pack_content_get_delegate efl_pack_content_get_static_delegate;
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);
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);
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");
1428 private static int pack_index_get(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj)
1430 Eina.Log.Debug("function efl_pack_index_get was called");
1431 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1434 int _ret_var = default(int);
1437 _ret_var = ((Container)ws.Target).GetPackIndex(subobj);
1441 Eina.Log.Warning($"Callback error: {e.ToString()}");
1442 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1450 return efl_pack_index_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj);
1454 private static efl_pack_index_get_delegate efl_pack_index_get_static_delegate;
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);
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);
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");
1464 private static Efl.Gfx.IEntity pack_unpack_at(System.IntPtr obj, System.IntPtr pd, int index)
1466 Eina.Log.Debug("function efl_pack_unpack_at was called");
1467 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1470 Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
1473 _ret_var = ((Container)ws.Target).PackUnpackAt(index);
1477 Eina.Log.Warning($"Callback error: {e.ToString()}");
1478 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1486 return efl_pack_unpack_at_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), index);
1490 private static efl_pack_unpack_at_delegate efl_pack_unpack_at_static_delegate;
1492 #pragma warning restore CA1707, CS1591, SA1300, SA1600
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);
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);
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);
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);
1522 #pragma warning restore CS1591
1528 namespace Spotlight {
1530 /// <summary>Information regarding transition events.</summary>
1531 [StructLayout(LayoutKind.Sequential)]
1532 [Efl.Eo.BindingEntity]
1533 public struct TransitionEvent
1535 /// <summary>The index from where the transition started, -1 if not known.</summary>
1537 /// <summary>The index to where the transition is headed, -1 if not known.</summary>
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) )
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)
1554 var tmp = (TransitionEvent.NativeStruct)Marshal.PtrToStructure(ptr, typeof(TransitionEvent.NativeStruct));
1558 #pragma warning disable CS1591
1560 /// <summary>Internal wrapper for struct TransitionEvent.</summary>
1561 [StructLayout(LayoutKind.Sequential)]
1562 public struct NativeStruct
1568 /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
1569 public static implicit operator TransitionEvent.NativeStruct(TransitionEvent _external_struct)
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;
1577 /// <summary>Implicit conversion to the managed representation.</summary>
1578 public static implicit operator TransitionEvent(TransitionEvent.NativeStruct _internal_struct)
1580 var _external_struct = new TransitionEvent();
1581 _external_struct.From = _internal_struct.From;
1582 _external_struct.To = _internal_struct.To;
1583 return _external_struct;
1588 #pragma warning restore CS1591