private static Efl.Gfx.IStack above_get(System.IntPtr obj, System.IntPtr pd)
                {
                    Eina.Log.Debug("function efl_gfx_stack_above_get was called");

                    var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);

                    if (ws != null)
                    {
                        Efl.Gfx.IStack _ret_var = default(Efl.Gfx.IStack);
                        try
                        {
                            _ret_var = ((IStack)ws.Target).GetAbove();
                        }
                        catch (Exception e)
                        {
                            Eina.Log.Warning($"Callback error: {e.ToString()}");
                            Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
                        }

                        return(_ret_var);
                    }
                    else
                    {
                        return(efl_gfx_stack_above_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))));
                    }
                }
Exemple #2
0
                private static Efl.Gfx.IStack below_get(System.IntPtr obj, System.IntPtr pd)
                {
                    Eina.Log.Debug("function efl_gfx_stack_below_get was called");

                    Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
                    if (wrapper != null)
                    {
                        Efl.Gfx.IStack _ret_var = default(Efl.Gfx.IStack);
                        try
                        {
                            _ret_var = ((IStack)wrapper).GetBelow();
                        }
                        catch (Exception e)
                        {
                            Eina.Log.Warning($"Callback error: {e.ToString()}");
                            Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
                        }

                        return(_ret_var);
                    }
                    else
                    {
                        return(efl_gfx_stack_below_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))));
                    }
                }
Exemple #3
0
 private static void stack_above(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IStack above)
 {
     Eina.Log.Debug("function efl_gfx_stack_above was called");
     Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
     if (wrapper != null)
     {
         try {
             ((IStack)wrapper).StackAbove(above);
         } catch (Exception e) {
             Eina.Log.Warning($"Callback error: {e.ToString()}");
             Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
         }
     }
     else
     {
         efl_gfx_stack_above_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), above);
     }
 }
                private static void stack_below(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IStack below)
                {
                    Eina.Log.Debug("function efl_gfx_stack_below was called");
                    var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);

                    if (ws != null)
                    {
                        try
                        {
                            ((IStack)ws.Target).StackBelow(below);
                        }
                        catch (Exception e)
                        {
                            Eina.Log.Warning($"Callback error: {e.ToString()}");
                            Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
                        }
                    }
                    else
                    {
                        efl_gfx_stack_below_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), below);
                    }
                }
 /// <summary>Stack <c>obj</c> immediately <c>above</c>
 /// Objects, in a given canvas, are stacked in the order they&apos;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.
 ///
 /// Its intended to be used with objects belonging to the same layer in a given canvas, otherwise it will fail (and accomplish nothing).
 ///
 /// 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.
 ///
 /// Similarly, if <c>obj</c> is not a member of a smart object, <c>above</c> must not be either.
 ///
 /// See also <see cref="Efl.Gfx.IStack.GetLayer"/>, <see cref="Efl.Gfx.IStack.SetLayer"/> and <see cref="Efl.Gfx.IStack.StackBelow"/>
 /// (Since EFL 1.22)</summary>
 /// <param name="above">The object above which to stack</param>
 public void StackAbove(Efl.Gfx.IStack above)
 {
     Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_above_ptr.Value.Delegate(this.NativeHandle, above);
     Eina.Error.RaiseIfUnhandledException();
 }
 /// <summary>Stack <c>obj</c> immediately <c>below</c>
 /// Objects, in a given canvas, are stacked in the order they&apos;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.
 ///
 /// Its intended to be used with objects belonging to the same layer in a given canvas, otherwise it will fail (and accomplish nothing).
 ///
 /// 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.
 ///
 /// Similarly, if <c>obj</c> is not a member of a smart object, <c>below</c> must not be either.
 ///
 /// See also <see cref="Efl.Gfx.IStack.GetLayer"/>, <see cref="Efl.Gfx.IStack.SetLayer"/> and <see cref="Efl.Gfx.IStack.StackBelow"/>
 /// (Since EFL 1.22)</summary>
 /// <param name="below">The object below which to stack</param>
 public void StackBelow(Efl.Gfx.IStack below)
 {
     Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_below_ptr.Value.Delegate(this.NativeHandle, below);
     Eina.Error.RaiseIfUnhandledException();
 }