コード例 #1
0
 private static void bind(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Pager pager, Efl.Canvas.Group group)
 {
     Eina.Log.Debug("function efl_page_transition_bind was called");
     Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
     if (wrapper != null)
     {
         try {
             ((Transition)wrapper).Bind(pager, group);
         } catch (Exception e) {
             Eina.Log.Warning($"Callback error: {e.ToString()}");
             Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
         }
     }
     else
     {
         efl_page_transition_bind_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), pager, group);
     }
 }
コード例 #2
0
 /// <summary>set object</summary>
 /// <param name="pager">pager object</param>
 /// <param name="group">a dummy object for layer adjustment</param>
 /// <returns></returns>
 virtual public void Bind(Efl.Ui.Pager pager, Efl.Canvas.Group group)
 {
     Efl.Page.TransitionNativeInherit.efl_page_transition_bind_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), pager, group);
     Eina.Error.RaiseIfUnhandledException();
 }