///<summary>Constructor for ListViewLayoutItem.</summary> public ListViewLayoutItem( Efl.Ui.Layout Layout = default(Efl.Ui.Layout), Eina.Future Layout_request = default(Eina.Future), Efl.IModel Children = default(Efl.IModel), int Index_offset = default(int), System.IntPtr Tree_node = default(System.IntPtr), Eina.Size2D Min = default(Eina.Size2D), Eina.Size2D Size = default(Eina.Size2D), Eina.Position2D Pos = default(Eina.Position2D)) { this.Layout = Layout; this.Layout_request = Layout_request; this.Children = Children; this.Index_offset = Index_offset; this.Tree_node = Tree_node; this.Min = Min; this.Size = Size; this.Pos = Pos; }
private static Eina.Size2D.NativeStruct group_size_max_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_layout_group_size_max_get was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { Eina.Size2D _ret_var = default(Eina.Size2D); try { _ret_var = ((IGroup)wrapper).GetGroupSizeMax(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return(_ret_var); } else { return(efl_layout_group_size_max_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)))); } }
private static void min_size_set(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct min) { Eina.Log.Debug("function efl_ui_list_view_model_min_size_set was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { Eina.Size2D _in_min = min; try { ((IListViewModel)wrapper).SetMinSize(_in_min); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_list_view_model_min_size_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), min); } }
private static Eina.Size2D_StructInternal view_size_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_gfx_view_size_get was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd); if (wrapper != null) { Eina.Size2D _ret_var = default(Eina.Size2D); try { _ret_var = ((View)wrapper).GetViewSize(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return(Eina.Size2D_StructConversion.ToInternal(_ret_var)); } else { return(efl_gfx_view_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)))); } }
private static void expandable_set(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct max_size) { Eina.Log.Debug("function efl_ui_scroll_alert_popup_expandable_set was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { Eina.Size2D _in_max_size = max_size; try { ((ScrollAlertPopup)wrapper).SetExpandable(_in_max_size); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_scroll_alert_popup_expandable_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), max_size); } }
private static void size_set(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct size) { Eina.Log.Debug("function efl_gfx_entity_size_set was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { Eina.Size2D _in_size = size; try { ((IEntity)wrapper).SetSize(_in_size); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_gfx_entity_size_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), size); } }
private static Eina.Size2D.NativeStruct expandable_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_scroll_alert_popup_expandable_get was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { Eina.Size2D _ret_var = default(Eina.Size2D); try { _ret_var = ((ScrollAlertPopup)wrapper).GetExpandable(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return(_ret_var); } else { return(efl_ui_scroll_alert_popup_expandable_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)))); } }
private static Eina.Size2D.NativeStruct calc_size_min(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct restricted) { Eina.Log.Debug("function efl_layout_calc_size_min was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { Eina.Size2D _in_restricted = restricted; Eina.Size2D _ret_var = default(Eina.Size2D); try { _ret_var = ((ICalc)wrapper).CalcSizeMin(_in_restricted); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return(_ret_var); } else { return(efl_layout_calc_size_min_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), restricted)); } }
private static void expandable_set(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct max_size) { Eina.Log.Debug("function efl_ui_text_alert_popup_expandable_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { Eina.Size2D _in_max_size = max_size; try { ((TextAlertPopup)ws.Target).SetExpandable(_in_max_size); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_text_alert_popup_expandable_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), max_size); } }
private static void size_set(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct size) { Eina.Log.Debug("function efl_ui_spotlight_manager_size_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { Eina.Size2D _in_size = size; try { ((Manager)ws.Target).SetSize(_in_size); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_spotlight_manager_size_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), size); } }
/// <summary>Changes the size of the given object. /// Note that setting the actual size of an object might be the job of its container, so this function might have no effect. Look at <see cref="Efl.Gfx.IHint"/> instead, when manipulating widgets. /// (Since EFL 1.22)</summary> /// <param name="size">A 2D size in pixel units.</param> public void SetSize(Eina.Size2D size) { Eina.Size2D.NativeStruct _in_size = size; Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_size_set_ptr.Value.Delegate(this.NativeHandle, _in_size); Eina.Error.RaiseIfUnhandledException(); }
/// <summary>Set the expandable of popup. /// If the contents of the popup has min size, the popup will be increased by min size along the Y axis. If max hint is set it will be increased to the value of max hint and scrolling will occur.</summary> /// <param name="max_size">A 2D max size in pixel units.</param> virtual public void SetExpandable(Eina.Size2D max_size) { Eina.Size2D.NativeStruct _in_max_size = max_size; Efl.Ui.TextAlertPopup.NativeMethods.efl_ui_text_alert_popup_expandable_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), _in_max_size); Eina.Error.RaiseIfUnhandledException(); }
/// <summary>Will be called whenever the <see cref="Efl.Ui.ActiveView.Container.ActiveViewSize"/> changes so the <see cref="Efl.Ui.ActiveView.ViewManager"/> can update itself.</summary> /// <param name="size">The new size of the views.</param> virtual public void SetViewSize(Eina.Size2D size) { Eina.Size2D.NativeStruct _in_size = size; Efl.Ui.ActiveView.ViewManager.NativeMethods.efl_ui_active_view_view_manager_view_size_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), _in_size); Eina.Error.RaiseIfUnhandledException(); }
/// <summary>Set the expandable max size of popup. /// If the given max_size is -1, then a popup appears with its size. However, if the given max_size is bigger than 0 the popup size is up to the given max_size. If popup content's min size is bigger than the given max_size the scroller appears in the popup content area.</summary> /// <param name="max_size">A 2D max size in pixel units.</param> virtual public void SetExpandable(Eina.Size2D max_size) { Eina.Size2D.NativeStruct _in_max_size = max_size; Efl.Ui.ScrollAlertPopup.NativeMethods.efl_ui_scroll_alert_popup_expandable_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)), _in_max_size); Eina.Error.RaiseIfUnhandledException(); }
/// <summary>Minimal content size.</summary> public void SetMinSize(Eina.Size2D min) { Eina.Size2D.NativeStruct _in_min = min; Efl.Ui.IListViewModelConcrete.NativeMethods.efl_ui_list_view_model_min_size_set_ptr.Value.Delegate(this.NativeHandle, _in_min); Eina.Error.RaiseIfUnhandledException(); }
/// <summary>The dimensions of this object's viewport. /// This property represents the size of an image (file on disk, vector graphics, GL or 3D scene, ...) view: this is the logical size of a view, not the number of pixels in the buffer, nor its visible size on the window. /// /// For scalable scenes (vector graphics, 3D or GL), this means scaling the contents of the scene and drawing more pixels as a result; For pixmaps this means zooming and stretching up or down the backing buffer to fit this view. /// /// In most cases the view should have the same dimensions as the object on the canvas, for best quality. /// /// <see cref="Efl.Gfx.IView.SetViewSize"/> may not be implemented. If it is, it might trigger a complete recalculation of the scene, or reload of the pixel data. /// /// Refer to each implementing class specific documentation for more details.</summary> /// <param name="size">Size of the view.</param> /// <returns></returns> public void SetViewSize(Eina.Size2D size) { Eina.Size2D.NativeStruct _in_size = size; Efl.Gfx.IViewNativeInherit.efl_gfx_view_size_set_ptr.Value.Delegate(this.NativeHandle, _in_size); Eina.Error.RaiseIfUnhandledException(); }
/// <summary>Will be called whenever the <see cref="Efl.Ui.Spotlight.Container.SpotlightSize"/> changes so the <see cref="Efl.Ui.Spotlight.Manager"/> can update itself.</summary> /// <param name="size">The new size of the sub-widgets.</param> virtual public void SetSize(Eina.Size2D size) { Eina.Size2D.NativeStruct _in_size = size; Efl.Ui.Spotlight.Manager.NativeMethods.efl_ui_spotlight_manager_size_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)), _in_size); Eina.Error.RaiseIfUnhandledException(); }