/// <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(); }
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); } }
/// <summary>This method is called the first time an <see cref="Efl.Ui.Spotlight.Manager"/> is assigned to an <see cref="Efl.Ui.Spotlight.Container"/>, binding them together. The manager can read the current content of the container, subscribe to events, or do any initialization it requires.</summary> /// <param name="spotlight">The container to bind the manager to.</param> /// <param name="group">The graphical group where the views should be added with <see cref="Efl.Canvas.Group.AddGroupMember"/> and removed with <see cref="Efl.Canvas.Group.GroupMemberRemove"/>.</param> virtual public void Bind(Efl.Ui.Spotlight.Container spotlight, Efl.Canvas.Group group) { Efl.Ui.Spotlight.Manager.NativeMethods.efl_ui_spotlight_manager_bind_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)), spotlight, group); Eina.Error.RaiseIfUnhandledException(); }
private static void bind(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Spotlight.Container spotlight, Efl.Canvas.Group group) { Eina.Log.Debug("function efl_ui_spotlight_manager_bind was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((Manager)ws.Target).Bind(spotlight, group); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_spotlight_manager_bind_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), spotlight, group); } }
/// <summary>This method is called the first time an <see cref="Efl.Ui.ActiveView.ViewManager"/> is assigned to an <see cref="Efl.Ui.ActiveView.Container"/>, binding them together. The manager can read the current content of the container, subscribe to events, or do any initialization it requires.</summary> /// <param name="active_view">The container to bind the view manager to.</param> /// <param name="group">The graphical group where the views should be added with <see cref="Efl.Canvas.Group.AddGroupMember"/> and removed with <see cref="Efl.Canvas.Group.GroupMemberRemove"/>.</param> virtual public void Bind(Efl.Ui.ActiveView.Container active_view, Efl.Canvas.Group group) { Efl.Ui.ActiveView.ViewManager.NativeMethods.efl_ui_active_view_view_manager_bind_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), active_view, group); Eina.Error.RaiseIfUnhandledException(); }