Exemplo n.º 1
0
 private static void align_priority_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.PopupAlign first, Efl.Ui.PopupAlign second, Efl.Ui.PopupAlign third, Efl.Ui.PopupAlign fourth, Efl.Ui.PopupAlign fifth)
 {
     Eina.Log.Debug("function efl_ui_anchor_popup_align_priority_set was called");
     Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
     if (wrapper != null)
     {
         try {
             ((AnchorPopup)wrapper).SetAlignPriority(first, second, third, fourth, fifth);
         } catch (Exception e) {
             Eina.Log.Warning($"Callback error: {e.ToString()}");
             Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
         }
     }
     else
     {
         efl_ui_anchor_popup_align_priority_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), first, second, third, fourth, fifth);
     }
 }
Exemplo n.º 2
0
 /// <summary>Set the align priority of a popup.</summary>
 /// <param name="first">First align priority</param>
 /// <param name="second">Second align priority</param>
 /// <param name="third">Third align priority</param>
 /// <param name="fourth">Fourth align priority</param>
 /// <param name="fifth">Fifth align priority</param>
 /// <returns></returns>
 virtual public void SetAlignPriority(Efl.Ui.PopupAlign first, Efl.Ui.PopupAlign second, Efl.Ui.PopupAlign third, Efl.Ui.PopupAlign fourth, Efl.Ui.PopupAlign fifth)
 {
     Efl.Ui.AnchorPopupNativeInherit.efl_ui_anchor_popup_align_priority_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), first, second, third, fourth, fifth);
     Eina.Error.RaiseIfUnhandledException();
 }
Exemplo n.º 3
0
                private static void align_priority_get(System.IntPtr obj, System.IntPtr pd, out Efl.Ui.PopupAlign first, out Efl.Ui.PopupAlign second, out Efl.Ui.PopupAlign third, out Efl.Ui.PopupAlign fourth, out Efl.Ui.PopupAlign fifth)
                {
                    Eina.Log.Debug("function efl_ui_anchor_popup_align_priority_get was called");
                    var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);

                    if (ws != null)
                    {
                        first = default(Efl.Ui.PopupAlign);        second = default(Efl.Ui.PopupAlign);        third = default(Efl.Ui.PopupAlign);        fourth = default(Efl.Ui.PopupAlign);        fifth = default(Efl.Ui.PopupAlign);
                        try
                        {
                            ((AnchorPopup)ws.Target).GetAlignPriority(out first, out second, out third, out fourth, out fifth);
                        }
                        catch (Exception e)
                        {
                            Eina.Log.Warning($"Callback error: {e.ToString()}");
                            Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
                        }
                    }
                    else
                    {
                        efl_ui_anchor_popup_align_priority_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out first, out second, out third, out fourth, out fifth);
                    }
                }
Exemplo n.º 4
0
 /// <summary>Get the align priority of a popup.</summary>
 /// <param name="first">First align priority</param>
 /// <param name="second">Second align priority</param>
 /// <param name="third">Third align priority</param>
 /// <param name="fourth">Fourth align priority</param>
 /// <param name="fifth">Fifth align priority</param>
 virtual public void GetAlignPriority(out Efl.Ui.PopupAlign first, out Efl.Ui.PopupAlign second, out Efl.Ui.PopupAlign third, out Efl.Ui.PopupAlign fourth, out Efl.Ui.PopupAlign fifth)
 {
     Efl.Ui.AnchorPopup.NativeMethods.efl_ui_anchor_popup_align_priority_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), out first, out second, out third, out fourth, out fifth);
     Eina.Error.RaiseIfUnhandledException();
 }
Exemplo n.º 5
0
 /// <summary>Set the align priority of a popup.</summary>
 /// <param name="first">First align priority</param>
 /// <param name="second">Second align priority</param>
 /// <param name="third">Third align priority</param>
 /// <param name="fourth">Fourth align priority</param>
 /// <param name="fifth">Fifth align priority</param>
 virtual public void SetAlignPriority(Efl.Ui.PopupAlign first, Efl.Ui.PopupAlign second, Efl.Ui.PopupAlign third, Efl.Ui.PopupAlign fourth, Efl.Ui.PopupAlign fifth)
 {
     Efl.Ui.AnchorPopup.NativeMethods.efl_ui_anchor_popup_align_priority_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)), first, second, third, fourth, fifth);
     Eina.Error.RaiseIfUnhandledException();
 }