1 #pragma warning disable CS1591
3 using System.Runtime.InteropServices;
4 using System.Collections.Generic;
6 using System.Threading;
7 using System.ComponentModel;
12 public partial class Constants
14 /// <summary>bottom-most layer number</summary>
15 public static readonly short StackLayerMin = -32768;
25 public partial class Constants
27 /// <summary>top-most layer number</summary>
28 public static readonly short StackLayerMax = 32767;
38 /// <summary>Efl graphics stack interface
39 /// (Since EFL 1.22)</summary>
40 [Efl.Gfx.IStackConcrete.NativeMethods]
41 public interface IStack :
42 Efl.Eo.IWrapper, IDisposable
44 /// <summary>Retrieves the layer of its canvas that the given object is part of.
45 /// See also <see cref="Efl.Gfx.IStack.SetLayer"/>
46 /// (Since EFL 1.22)</summary>
47 /// <returns>The number of the layer to place the object on. Must be between <see cref="Efl.Gfx.Constants.StackLayerMin"/> and <see cref="Efl.Gfx.Constants.StackLayerMax"/>.</returns>
49 /// <summary>Sets the layer of its canvas that the given object will be part of.
50 /// If you don't use this function, you'll be dealing with an unique layer of objects (the default one). Additional layers are handy when you don't want a set of objects to interfere with another set with regard to stacking. Two layers are completely disjoint in that matter.
52 /// This is a low-level function, which you'd be using when something should be always on top, for example.
54 /// Warning: Don't change the layer of smart objects' children. Smart objects have a layer of their own, which should contain all their child objects.
56 /// See also <see cref="Efl.Gfx.IStack.GetLayer"/>
57 /// (Since EFL 1.22)</summary>
58 /// <param name="l">The number of the layer to place the object on. Must be between <see cref="Efl.Gfx.Constants.StackLayerMin"/> and <see cref="Efl.Gfx.Constants.StackLayerMax"/>.</param>
59 void SetLayer(short l);
60 /// <summary>Get the Evas object stacked right below <c>obj</c>
61 /// This function will traverse layers in its search, if there are objects on layers below the one <c>obj</c> is placed at.
63 /// See also <see cref="Efl.Gfx.IStack.GetLayer"/>, <see cref="Efl.Gfx.IStack.SetLayer"/> and <see cref="Efl.Gfx.IStack.GetBelow"/>
64 /// (Since EFL 1.22)</summary>
65 /// <returns>The <see cref="Efl.Gfx.IStack"/> object directly below <c>obj</c>, if any, or <c>null</c>, if none.</returns>
66 Efl.Gfx.IStack GetBelow();
67 /// <summary>Get the Evas object stacked right above <c>obj</c>
68 /// This function will traverse layers in its search, if there are objects on layers above the one <c>obj</c> is placed at.
70 /// See also <see cref="Efl.Gfx.IStack.GetLayer"/>, <see cref="Efl.Gfx.IStack.SetLayer"/> and <see cref="Efl.Gfx.IStack.GetBelow"/>
71 /// (Since EFL 1.22)</summary>
72 /// <returns>The <see cref="Efl.Gfx.IStack"/> object directly below <c>obj</c>, if any, or <c>null</c>, if none.</returns>
73 Efl.Gfx.IStack GetAbove();
74 /// <summary>Stack <c>obj</c> immediately <c>below</c>
75 /// Objects, in a given canvas, are stacked in the order they're added. This means that, if they overlap, the highest ones will cover the lowest ones, in that order. This function is a way to change the stacking order for the objects.
77 /// Its intended to be used with objects belonging to the same layer in a given canvas, otherwise it will fail (and accomplish nothing).
79 /// If you have smart objects on your canvas and <c>obj</c> is a member of one of them, then <c>below</c> must also be a member of the same smart object.
81 /// Similarly, if <c>obj</c> is not a member of a smart object, <c>below</c> must not be either.
83 /// See also <see cref="Efl.Gfx.IStack.GetLayer"/>, <see cref="Efl.Gfx.IStack.SetLayer"/> and <see cref="Efl.Gfx.IStack.StackBelow"/>
84 /// (Since EFL 1.22)</summary>
85 /// <param name="below">The object below which to stack</param>
86 void StackBelow(Efl.Gfx.IStack below);
87 /// <summary>Raise <c>obj</c> to the top of its layer.
88 /// <c>obj</c> will, then, be the highest one in the layer it belongs to. Object on other layers won't get touched.
90 /// See also <see cref="Efl.Gfx.IStack.StackAbove"/>, <see cref="Efl.Gfx.IStack.StackBelow"/> and <see cref="Efl.Gfx.IStack.LowerToBottom"/>
91 /// (Since EFL 1.22)</summary>
93 /// <summary>Stack <c>obj</c> immediately <c>above</c>
94 /// Objects, in a given canvas, are stacked in the order they're added. This means that, if they overlap, the highest ones will cover the lowest ones, in that order. This function is a way to change the stacking order for the objects.
96 /// Its intended to be used with objects belonging to the same layer in a given canvas, otherwise it will fail (and accomplish nothing).
98 /// If you have smart objects on your canvas and <c>obj</c> is a member of one of them, then <c>above</c> must also be a member of the same smart object.
100 /// Similarly, if <c>obj</c> is not a member of a smart object, <c>above</c> must not be either.
102 /// See also <see cref="Efl.Gfx.IStack.GetLayer"/>, <see cref="Efl.Gfx.IStack.SetLayer"/> and <see cref="Efl.Gfx.IStack.StackBelow"/>
103 /// (Since EFL 1.22)</summary>
104 /// <param name="above">The object above which to stack</param>
105 void StackAbove(Efl.Gfx.IStack above);
106 /// <summary>Lower <c>obj</c> to the bottom of its layer.
107 /// <c>obj</c> will, then, be the lowest one in the layer it belongs to. Objects on other layers won't get touched.
109 /// See also <see cref="Efl.Gfx.IStack.StackAbove"/>, <see cref="Efl.Gfx.IStack.StackBelow"/> and <see cref="Efl.Gfx.IStack.RaiseToTop"/>
110 /// (Since EFL 1.22)</summary>
111 void LowerToBottom();
112 /// <summary>Object stacking was changed.
113 /// (Since EFL 1.22)</summary>
114 event EventHandler StackingChangedEvt;
115 /// <summary>Retrieves the layer of its canvas that the given object is part of.
116 /// See also <see cref="Efl.Gfx.IStack.SetLayer"/>
117 /// (Since EFL 1.22)</summary>
118 /// <value>The number of the layer to place the object on. Must be between <see cref="Efl.Gfx.Constants.StackLayerMin"/> and <see cref="Efl.Gfx.Constants.StackLayerMax"/>.</value>
123 /// <summary>Get the Evas object stacked right below <c>obj</c>
124 /// This function will traverse layers in its search, if there are objects on layers below the one <c>obj</c> is placed at.
126 /// See also <see cref="Efl.Gfx.IStack.GetLayer"/>, <see cref="Efl.Gfx.IStack.SetLayer"/> and <see cref="Efl.Gfx.IStack.GetBelow"/>
127 /// (Since EFL 1.22)</summary>
128 /// <value>The <see cref="Efl.Gfx.IStack"/> object directly below <c>obj</c>, if any, or <c>null</c>, if none.</value>
129 Efl.Gfx.IStack Below {
132 /// <summary>Get the Evas object stacked right above <c>obj</c>
133 /// This function will traverse layers in its search, if there are objects on layers above the one <c>obj</c> is placed at.
135 /// See also <see cref="Efl.Gfx.IStack.GetLayer"/>, <see cref="Efl.Gfx.IStack.SetLayer"/> and <see cref="Efl.Gfx.IStack.GetBelow"/>
136 /// (Since EFL 1.22)</summary>
137 /// <value>The <see cref="Efl.Gfx.IStack"/> object directly below <c>obj</c>, if any, or <c>null</c>, if none.</value>
138 Efl.Gfx.IStack Above {
142 /// <summary>Efl graphics stack interface
143 /// (Since EFL 1.22)</summary>
144 sealed public class IStackConcrete :
149 ///<summary>Pointer to the native class description.</summary>
150 public override System.IntPtr NativeClass
154 if (((object)this).GetType() == typeof(IStackConcrete))
156 return GetEflClassStatic();
160 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
165 [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr
166 efl_gfx_stack_interface_get();
167 /// <summary>Initializes a new instance of the <see cref="IStack"/> class.
168 /// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
169 private IStackConcrete(System.IntPtr raw) : base(raw)
173 /// <summary>Object stacking was changed.
174 /// (Since EFL 1.22)</summary>
175 public event EventHandler StackingChangedEvt
181 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
183 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
186 EventArgs args = EventArgs.Empty;
189 value?.Invoke(obj, args);
193 Eina.Log.Error(e.ToString());
194 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
199 string key = "_EFL_GFX_ENTITY_EVENT_STACKING_CHANGED";
200 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
208 string key = "_EFL_GFX_ENTITY_EVENT_STACKING_CHANGED";
209 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
213 ///<summary>Method to raise event StackingChangedEvt.</summary>
214 public void OnStackingChangedEvt(EventArgs e)
216 var key = "_EFL_GFX_ENTITY_EVENT_STACKING_CHANGED";
217 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
218 if (desc == IntPtr.Zero)
220 Eina.Log.Error($"Failed to get native event {key}");
224 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
226 /// <summary>Retrieves the layer of its canvas that the given object is part of.
227 /// See also <see cref="Efl.Gfx.IStack.SetLayer"/>
228 /// (Since EFL 1.22)</summary>
229 /// <returns>The number of the layer to place the object on. Must be between <see cref="Efl.Gfx.Constants.StackLayerMin"/> and <see cref="Efl.Gfx.Constants.StackLayerMax"/>.</returns>
230 public short GetLayer() {
231 var _ret_var = Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_layer_get_ptr.Value.Delegate(this.NativeHandle);
232 Eina.Error.RaiseIfUnhandledException();
235 /// <summary>Sets the layer of its canvas that the given object will be part of.
236 /// If you don't use this function, you'll be dealing with an unique layer of objects (the default one). Additional layers are handy when you don't want a set of objects to interfere with another set with regard to stacking. Two layers are completely disjoint in that matter.
238 /// This is a low-level function, which you'd be using when something should be always on top, for example.
240 /// Warning: Don't change the layer of smart objects' children. Smart objects have a layer of their own, which should contain all their child objects.
242 /// See also <see cref="Efl.Gfx.IStack.GetLayer"/>
243 /// (Since EFL 1.22)</summary>
244 /// <param name="l">The number of the layer to place the object on. Must be between <see cref="Efl.Gfx.Constants.StackLayerMin"/> and <see cref="Efl.Gfx.Constants.StackLayerMax"/>.</param>
245 public void SetLayer(short l) {
246 Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_layer_set_ptr.Value.Delegate(this.NativeHandle,l);
247 Eina.Error.RaiseIfUnhandledException();
249 /// <summary>Get the Evas object stacked right below <c>obj</c>
250 /// This function will traverse layers in its search, if there are objects on layers below the one <c>obj</c> is placed at.
252 /// See also <see cref="Efl.Gfx.IStack.GetLayer"/>, <see cref="Efl.Gfx.IStack.SetLayer"/> and <see cref="Efl.Gfx.IStack.GetBelow"/>
253 /// (Since EFL 1.22)</summary>
254 /// <returns>The <see cref="Efl.Gfx.IStack"/> object directly below <c>obj</c>, if any, or <c>null</c>, if none.</returns>
255 public Efl.Gfx.IStack GetBelow() {
256 var _ret_var = Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_below_get_ptr.Value.Delegate(this.NativeHandle);
257 Eina.Error.RaiseIfUnhandledException();
260 /// <summary>Get the Evas object stacked right above <c>obj</c>
261 /// This function will traverse layers in its search, if there are objects on layers above the one <c>obj</c> is placed at.
263 /// See also <see cref="Efl.Gfx.IStack.GetLayer"/>, <see cref="Efl.Gfx.IStack.SetLayer"/> and <see cref="Efl.Gfx.IStack.GetBelow"/>
264 /// (Since EFL 1.22)</summary>
265 /// <returns>The <see cref="Efl.Gfx.IStack"/> object directly below <c>obj</c>, if any, or <c>null</c>, if none.</returns>
266 public Efl.Gfx.IStack GetAbove() {
267 var _ret_var = Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_above_get_ptr.Value.Delegate(this.NativeHandle);
268 Eina.Error.RaiseIfUnhandledException();
271 /// <summary>Stack <c>obj</c> immediately <c>below</c>
272 /// Objects, in a given canvas, are stacked in the order they're added. This means that, if they overlap, the highest ones will cover the lowest ones, in that order. This function is a way to change the stacking order for the objects.
274 /// Its intended to be used with objects belonging to the same layer in a given canvas, otherwise it will fail (and accomplish nothing).
276 /// If you have smart objects on your canvas and <c>obj</c> is a member of one of them, then <c>below</c> must also be a member of the same smart object.
278 /// Similarly, if <c>obj</c> is not a member of a smart object, <c>below</c> must not be either.
280 /// See also <see cref="Efl.Gfx.IStack.GetLayer"/>, <see cref="Efl.Gfx.IStack.SetLayer"/> and <see cref="Efl.Gfx.IStack.StackBelow"/>
281 /// (Since EFL 1.22)</summary>
282 /// <param name="below">The object below which to stack</param>
283 public void StackBelow(Efl.Gfx.IStack below) {
284 Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_below_ptr.Value.Delegate(this.NativeHandle,below);
285 Eina.Error.RaiseIfUnhandledException();
287 /// <summary>Raise <c>obj</c> to the top of its layer.
288 /// <c>obj</c> will, then, be the highest one in the layer it belongs to. Object on other layers won't get touched.
290 /// See also <see cref="Efl.Gfx.IStack.StackAbove"/>, <see cref="Efl.Gfx.IStack.StackBelow"/> and <see cref="Efl.Gfx.IStack.LowerToBottom"/>
291 /// (Since EFL 1.22)</summary>
292 public void RaiseToTop() {
293 Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_raise_to_top_ptr.Value.Delegate(this.NativeHandle);
294 Eina.Error.RaiseIfUnhandledException();
296 /// <summary>Stack <c>obj</c> immediately <c>above</c>
297 /// Objects, in a given canvas, are stacked in the order they're added. This means that, if they overlap, the highest ones will cover the lowest ones, in that order. This function is a way to change the stacking order for the objects.
299 /// Its intended to be used with objects belonging to the same layer in a given canvas, otherwise it will fail (and accomplish nothing).
301 /// If you have smart objects on your canvas and <c>obj</c> is a member of one of them, then <c>above</c> must also be a member of the same smart object.
303 /// Similarly, if <c>obj</c> is not a member of a smart object, <c>above</c> must not be either.
305 /// See also <see cref="Efl.Gfx.IStack.GetLayer"/>, <see cref="Efl.Gfx.IStack.SetLayer"/> and <see cref="Efl.Gfx.IStack.StackBelow"/>
306 /// (Since EFL 1.22)</summary>
307 /// <param name="above">The object above which to stack</param>
308 public void StackAbove(Efl.Gfx.IStack above) {
309 Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_above_ptr.Value.Delegate(this.NativeHandle,above);
310 Eina.Error.RaiseIfUnhandledException();
312 /// <summary>Lower <c>obj</c> to the bottom of its layer.
313 /// <c>obj</c> will, then, be the lowest one in the layer it belongs to. Objects on other layers won't get touched.
315 /// See also <see cref="Efl.Gfx.IStack.StackAbove"/>, <see cref="Efl.Gfx.IStack.StackBelow"/> and <see cref="Efl.Gfx.IStack.RaiseToTop"/>
316 /// (Since EFL 1.22)</summary>
317 public void LowerToBottom() {
318 Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_lower_to_bottom_ptr.Value.Delegate(this.NativeHandle);
319 Eina.Error.RaiseIfUnhandledException();
321 /// <summary>Retrieves the layer of its canvas that the given object is part of.
322 /// See also <see cref="Efl.Gfx.IStack.SetLayer"/>
323 /// (Since EFL 1.22)</summary>
324 /// <value>The number of the layer to place the object on. Must be between <see cref="Efl.Gfx.Constants.StackLayerMin"/> and <see cref="Efl.Gfx.Constants.StackLayerMax"/>.</value>
326 get { return GetLayer(); }
327 set { SetLayer(value); }
329 /// <summary>Get the Evas object stacked right below <c>obj</c>
330 /// This function will traverse layers in its search, if there are objects on layers below the one <c>obj</c> is placed at.
332 /// See also <see cref="Efl.Gfx.IStack.GetLayer"/>, <see cref="Efl.Gfx.IStack.SetLayer"/> and <see cref="Efl.Gfx.IStack.GetBelow"/>
333 /// (Since EFL 1.22)</summary>
334 /// <value>The <see cref="Efl.Gfx.IStack"/> object directly below <c>obj</c>, if any, or <c>null</c>, if none.</value>
335 public Efl.Gfx.IStack Below {
336 get { return GetBelow(); }
338 /// <summary>Get the Evas object stacked right above <c>obj</c>
339 /// This function will traverse layers in its search, if there are objects on layers above the one <c>obj</c> is placed at.
341 /// See also <see cref="Efl.Gfx.IStack.GetLayer"/>, <see cref="Efl.Gfx.IStack.SetLayer"/> and <see cref="Efl.Gfx.IStack.GetBelow"/>
342 /// (Since EFL 1.22)</summary>
343 /// <value>The <see cref="Efl.Gfx.IStack"/> object directly below <c>obj</c>, if any, or <c>null</c>, if none.</value>
344 public Efl.Gfx.IStack Above {
345 get { return GetAbove(); }
347 private static IntPtr GetEflClassStatic()
349 return Efl.Gfx.IStackConcrete.efl_gfx_stack_interface_get();
351 /// <summary>Wrapper for native methods and virtual method delegates.
352 /// For internal use by generated code only.</summary>
353 public class NativeMethods : Efl.Eo.NativeClass
355 private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
356 /// <summary>Gets the list of Eo operations to override.</summary>
357 /// <returns>The list of Eo operations to be overload.</returns>
358 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
360 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
361 var methods = Efl.Eo.Globals.GetUserMethods(type);
363 if (efl_gfx_stack_layer_get_static_delegate == null)
365 efl_gfx_stack_layer_get_static_delegate = new efl_gfx_stack_layer_get_delegate(layer_get);
368 if (methods.FirstOrDefault(m => m.Name == "GetLayer") != null)
370 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_stack_layer_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_stack_layer_get_static_delegate) });
373 if (efl_gfx_stack_layer_set_static_delegate == null)
375 efl_gfx_stack_layer_set_static_delegate = new efl_gfx_stack_layer_set_delegate(layer_set);
378 if (methods.FirstOrDefault(m => m.Name == "SetLayer") != null)
380 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_stack_layer_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_stack_layer_set_static_delegate) });
383 if (efl_gfx_stack_below_get_static_delegate == null)
385 efl_gfx_stack_below_get_static_delegate = new efl_gfx_stack_below_get_delegate(below_get);
388 if (methods.FirstOrDefault(m => m.Name == "GetBelow") != null)
390 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_stack_below_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_stack_below_get_static_delegate) });
393 if (efl_gfx_stack_above_get_static_delegate == null)
395 efl_gfx_stack_above_get_static_delegate = new efl_gfx_stack_above_get_delegate(above_get);
398 if (methods.FirstOrDefault(m => m.Name == "GetAbove") != null)
400 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_stack_above_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_stack_above_get_static_delegate) });
403 if (efl_gfx_stack_below_static_delegate == null)
405 efl_gfx_stack_below_static_delegate = new efl_gfx_stack_below_delegate(stack_below);
408 if (methods.FirstOrDefault(m => m.Name == "StackBelow") != null)
410 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_stack_below"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_stack_below_static_delegate) });
413 if (efl_gfx_stack_raise_to_top_static_delegate == null)
415 efl_gfx_stack_raise_to_top_static_delegate = new efl_gfx_stack_raise_to_top_delegate(raise_to_top);
418 if (methods.FirstOrDefault(m => m.Name == "RaiseToTop") != null)
420 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_stack_raise_to_top"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_stack_raise_to_top_static_delegate) });
423 if (efl_gfx_stack_above_static_delegate == null)
425 efl_gfx_stack_above_static_delegate = new efl_gfx_stack_above_delegate(stack_above);
428 if (methods.FirstOrDefault(m => m.Name == "StackAbove") != null)
430 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_stack_above"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_stack_above_static_delegate) });
433 if (efl_gfx_stack_lower_to_bottom_static_delegate == null)
435 efl_gfx_stack_lower_to_bottom_static_delegate = new efl_gfx_stack_lower_to_bottom_delegate(lower_to_bottom);
438 if (methods.FirstOrDefault(m => m.Name == "LowerToBottom") != null)
440 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_stack_lower_to_bottom"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_stack_lower_to_bottom_static_delegate) });
445 /// <summary>Returns the Eo class for the native methods of this class.</summary>
446 /// <returns>The native class pointer.</returns>
447 public override IntPtr GetEflClass()
449 return Efl.Gfx.IStackConcrete.efl_gfx_stack_interface_get();
452 #pragma warning disable CA1707, CS1591, SA1300, SA1600
455 private delegate short efl_gfx_stack_layer_get_delegate(System.IntPtr obj, System.IntPtr pd);
458 public delegate short efl_gfx_stack_layer_get_api_delegate(System.IntPtr obj);
460 public static Efl.Eo.FunctionWrapper<efl_gfx_stack_layer_get_api_delegate> efl_gfx_stack_layer_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_stack_layer_get_api_delegate>(Module, "efl_gfx_stack_layer_get");
462 private static short layer_get(System.IntPtr obj, System.IntPtr pd)
464 Eina.Log.Debug("function efl_gfx_stack_layer_get was called");
465 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
468 short _ret_var = default(short);
471 _ret_var = ((IStack)ws.Target).GetLayer();
475 Eina.Log.Warning($"Callback error: {e.ToString()}");
476 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
484 return efl_gfx_stack_layer_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
488 private static efl_gfx_stack_layer_get_delegate efl_gfx_stack_layer_get_static_delegate;
491 private delegate void efl_gfx_stack_layer_set_delegate(System.IntPtr obj, System.IntPtr pd, short l);
494 public delegate void efl_gfx_stack_layer_set_api_delegate(System.IntPtr obj, short l);
496 public static Efl.Eo.FunctionWrapper<efl_gfx_stack_layer_set_api_delegate> efl_gfx_stack_layer_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_stack_layer_set_api_delegate>(Module, "efl_gfx_stack_layer_set");
498 private static void layer_set(System.IntPtr obj, System.IntPtr pd, short l)
500 Eina.Log.Debug("function efl_gfx_stack_layer_set was called");
501 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
507 ((IStack)ws.Target).SetLayer(l);
511 Eina.Log.Warning($"Callback error: {e.ToString()}");
512 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
519 efl_gfx_stack_layer_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), l);
523 private static efl_gfx_stack_layer_set_delegate efl_gfx_stack_layer_set_static_delegate;
525 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
526 private delegate Efl.Gfx.IStack efl_gfx_stack_below_get_delegate(System.IntPtr obj, System.IntPtr pd);
528 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
529 public delegate Efl.Gfx.IStack efl_gfx_stack_below_get_api_delegate(System.IntPtr obj);
531 public static Efl.Eo.FunctionWrapper<efl_gfx_stack_below_get_api_delegate> efl_gfx_stack_below_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_stack_below_get_api_delegate>(Module, "efl_gfx_stack_below_get");
533 private static Efl.Gfx.IStack below_get(System.IntPtr obj, System.IntPtr pd)
535 Eina.Log.Debug("function efl_gfx_stack_below_get was called");
536 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
539 Efl.Gfx.IStack _ret_var = default(Efl.Gfx.IStack);
542 _ret_var = ((IStack)ws.Target).GetBelow();
546 Eina.Log.Warning($"Callback error: {e.ToString()}");
547 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
555 return efl_gfx_stack_below_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
559 private static efl_gfx_stack_below_get_delegate efl_gfx_stack_below_get_static_delegate;
561 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
562 private delegate Efl.Gfx.IStack efl_gfx_stack_above_get_delegate(System.IntPtr obj, System.IntPtr pd);
564 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
565 public delegate Efl.Gfx.IStack efl_gfx_stack_above_get_api_delegate(System.IntPtr obj);
567 public static Efl.Eo.FunctionWrapper<efl_gfx_stack_above_get_api_delegate> efl_gfx_stack_above_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_stack_above_get_api_delegate>(Module, "efl_gfx_stack_above_get");
569 private static Efl.Gfx.IStack above_get(System.IntPtr obj, System.IntPtr pd)
571 Eina.Log.Debug("function efl_gfx_stack_above_get was called");
572 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
575 Efl.Gfx.IStack _ret_var = default(Efl.Gfx.IStack);
578 _ret_var = ((IStack)ws.Target).GetAbove();
582 Eina.Log.Warning($"Callback error: {e.ToString()}");
583 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
591 return efl_gfx_stack_above_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
595 private static efl_gfx_stack_above_get_delegate efl_gfx_stack_above_get_static_delegate;
598 private delegate void efl_gfx_stack_below_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IStack below);
601 public delegate void efl_gfx_stack_below_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IStack below);
603 public static Efl.Eo.FunctionWrapper<efl_gfx_stack_below_api_delegate> efl_gfx_stack_below_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_stack_below_api_delegate>(Module, "efl_gfx_stack_below");
605 private static void stack_below(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IStack below)
607 Eina.Log.Debug("function efl_gfx_stack_below was called");
608 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
614 ((IStack)ws.Target).StackBelow(below);
618 Eina.Log.Warning($"Callback error: {e.ToString()}");
619 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
626 efl_gfx_stack_below_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), below);
630 private static efl_gfx_stack_below_delegate efl_gfx_stack_below_static_delegate;
633 private delegate void efl_gfx_stack_raise_to_top_delegate(System.IntPtr obj, System.IntPtr pd);
636 public delegate void efl_gfx_stack_raise_to_top_api_delegate(System.IntPtr obj);
638 public static Efl.Eo.FunctionWrapper<efl_gfx_stack_raise_to_top_api_delegate> efl_gfx_stack_raise_to_top_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_stack_raise_to_top_api_delegate>(Module, "efl_gfx_stack_raise_to_top");
640 private static void raise_to_top(System.IntPtr obj, System.IntPtr pd)
642 Eina.Log.Debug("function efl_gfx_stack_raise_to_top was called");
643 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
649 ((IStack)ws.Target).RaiseToTop();
653 Eina.Log.Warning($"Callback error: {e.ToString()}");
654 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
661 efl_gfx_stack_raise_to_top_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
665 private static efl_gfx_stack_raise_to_top_delegate efl_gfx_stack_raise_to_top_static_delegate;
668 private delegate void efl_gfx_stack_above_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IStack above);
671 public delegate void efl_gfx_stack_above_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IStack above);
673 public static Efl.Eo.FunctionWrapper<efl_gfx_stack_above_api_delegate> efl_gfx_stack_above_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_stack_above_api_delegate>(Module, "efl_gfx_stack_above");
675 private static void stack_above(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IStack above)
677 Eina.Log.Debug("function efl_gfx_stack_above was called");
678 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
684 ((IStack)ws.Target).StackAbove(above);
688 Eina.Log.Warning($"Callback error: {e.ToString()}");
689 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
696 efl_gfx_stack_above_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), above);
700 private static efl_gfx_stack_above_delegate efl_gfx_stack_above_static_delegate;
703 private delegate void efl_gfx_stack_lower_to_bottom_delegate(System.IntPtr obj, System.IntPtr pd);
706 public delegate void efl_gfx_stack_lower_to_bottom_api_delegate(System.IntPtr obj);
708 public static Efl.Eo.FunctionWrapper<efl_gfx_stack_lower_to_bottom_api_delegate> efl_gfx_stack_lower_to_bottom_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_stack_lower_to_bottom_api_delegate>(Module, "efl_gfx_stack_lower_to_bottom");
710 private static void lower_to_bottom(System.IntPtr obj, System.IntPtr pd)
712 Eina.Log.Debug("function efl_gfx_stack_lower_to_bottom was called");
713 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
719 ((IStack)ws.Target).LowerToBottom();
723 Eina.Log.Warning($"Callback error: {e.ToString()}");
724 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
731 efl_gfx_stack_lower_to_bottom_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
735 private static efl_gfx_stack_lower_to_bottom_delegate efl_gfx_stack_lower_to_bottom_static_delegate;
737 #pragma warning restore CA1707, CS1591, SA1300, SA1600