private static void bind(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ActiveView.Container active_view) { Eina.Log.Debug("function efl_ui_active_view_indicator_bind was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((Indicator)ws.Target).Bind(active_view); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_active_view_indicator_bind_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), active_view); } }
/// <summary>This method is called the first time an <see cref="Efl.Ui.ActiveView.Indicator"/> is assigned to an <see cref="Efl.Ui.ActiveView.Container"/>, binding them together. /// This call can be used to setup the indicator part of the <c>active_view</c>. /// /// The Active View of the container (if there is any) will be informed to the indicator by a later call to <see cref="Efl.Ui.ActiveView.Indicator.UpdatePosition"/>.</summary> /// <param name="active_view">The container to bind this indicator to.</param> virtual public void Bind(Efl.Ui.ActiveView.Container active_view) { Efl.Ui.ActiveView.Indicator.NativeMethods.efl_ui_active_view_indicator_bind_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), active_view); Eina.Error.RaiseIfUnhandledException(); }
/// <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(); }