private static Efl.Ui.LayoutBase bar_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_navigation_layout_bar_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { Efl.Ui.LayoutBase _ret_var = default(Efl.Ui.LayoutBase); try { _ret_var = ((NavigationLayout)ws.Target).GetBar(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return(_ret_var); } else { return(efl_ui_navigation_layout_bar_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)))); } }
private static void bar_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.LayoutBase value) { Eina.Log.Debug("function efl_ui_navigation_layout_bar_set was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { try { ((NavigationLayout)wrapper).SetBar(value); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_navigation_layout_bar_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), value); } }
/// <summary>The bar object which is located at the top area as a title. e.g. Navigation_Bar widget(Efl.Ui.Navigation_Bar) can be used as <c>bar</c>.</summary> /// <param name="value">The bar object located at the top area of the Navigation Layout.</param> /// <returns></returns> virtual public void SetBar(Efl.Ui.LayoutBase value) { Efl.Ui.NavigationLayoutNativeInherit.efl_ui_navigation_layout_bar_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), value); Eina.Error.RaiseIfUnhandledException(); }
/// <summary>The bar object which is located at the top area as a title. e.g. Navigation_Bar widget(Efl.Ui.Navigation_Bar) can be used as <c>bar</c>.</summary> /// <param name="value">The bar object located at the top area of the Navigation Layout.</param> virtual public void SetBar(Efl.Ui.LayoutBase value) { Efl.Ui.NavigationLayout.NativeMethods.efl_ui_navigation_layout_bar_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)), value); Eina.Error.RaiseIfUnhandledException(); }