private static Efl.Ui.Spotlight.Container stack_gen(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Widget parent) { Eina.Log.Debug("function efl_ui_spotlight_util_stack_gen was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { Efl.Ui.Spotlight.Container _ret_var = default(Efl.Ui.Spotlight.Container); try { _ret_var = Util.StackGen(parent); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return(_ret_var); } else { return(efl_ui_spotlight_util_stack_gen_ptr.Value.Delegate(parent)); } }
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.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(); }
public CircleUIManager(Efl.Ui.Spotlight.Container container) { _handle = Interop.Eext.eext_circle_surface_naviframe_add(container.NativeHandle); }