private static void expandable_set(System.IntPtr obj, System.IntPtr pd, Eina.Size2D_StructInternal max_size) { Eina.Log.Debug("function efl_ui_text_alert_popup_expandable_set was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd); if (wrapper != null) { var _in_max_size = Eina.Size2D_StructConversion.ToManaged(max_size); try { ((TextAlertPopup)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_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 view_size_set(System.IntPtr obj, System.IntPtr pd, Eina.Size2D_StructInternal size) { Eina.Log.Debug("function efl_gfx_view_size_set was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd); if (wrapper != null) { var _in_size = Eina.Size2D_StructConversion.ToManaged(size); try { ((View)wrapper).SetViewSize(_in_size); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_gfx_view_size_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), size); } }
private static Eina.Size2D_StructInternal calc_size_min(System.IntPtr obj, System.IntPtr pd, Eina.Size2D_StructInternal restricted) { Eina.Log.Debug("function efl_layout_calc_size_min was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd); if (wrapper != null) { var _in_restricted = Eina.Size2D_StructConversion.ToManaged(restricted); Eina.Size2D _ret_var = default(Eina.Size2D); try { _ret_var = ((Calc)wrapper).CalcSizeMin(_in_restricted); } 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_layout_calc_size_min_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), restricted)); } }