private static void stack_above(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.Stack above) { Eina.Log.Debug("function efl_gfx_stack_above was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd); if (wrapper != null) { try { ((Stack)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 Efl.Gfx.Stack above_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_gfx_stack_above_get was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd); if (wrapper != null) { Efl.Gfx.Stack _ret_var = default(Efl.Gfx.Stack); try { _ret_var = ((Stack)wrapper).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)))); } }
/// <summary>Stack <c>obj</c> immediately <c>above</c> /// 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. /// /// 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.Stack.GetLayer"/>, <see cref="Efl.Gfx.Stack.SetLayer"/> and <see cref="Efl.Gfx.Stack.StackBelow"/></summary> /// <param name="above">The object above which to stack</param> /// <returns></returns> public void StackAbove(Efl.Gfx.Stack above) { Efl.Gfx.StackNativeInherit.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'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.Stack.GetLayer"/>, <see cref="Efl.Gfx.Stack.SetLayer"/> and <see cref="Efl.Gfx.Stack.StackBelow"/></summary> /// <param name="below">The object below which to stack</param> /// <returns></returns> public void StackBelow(Efl.Gfx.Stack below) { Efl.Gfx.StackNativeInherit.efl_gfx_stack_below_ptr.Value.Delegate(this.NativeHandle, below); Eina.Error.RaiseIfUnhandledException(); }