1 #pragma warning disable CS1591
3 using System.Runtime.InteropServices;
4 using System.Collections.Generic;
6 using System.Threading;
7 using System.ComponentModel;
12 ///<summary>Event argument wrapper for event <see cref="Efl.Ui.Check.SelectedChangedEvt"/>.</summary>
13 [Efl.Eo.BindingEntity]
14 public class CheckSelectedChangedEvt_Args : EventArgs {
15 ///<summary>Actual event payload.</summary>
16 public bool arg { get; set; }
18 /// <summary>Check widget
19 /// The check widget allows for toggling a value between true and false. Check objects are a lot like radio objects in layout and functionality, except they do not work as a group, but independently, and only toggle the value of a boolean between false and true.</summary>
20 [Efl.Ui.Check.NativeMethods]
21 [Efl.Eo.BindingEntity]
22 public class Check : Efl.Ui.LayoutBase, Efl.IContent, Efl.IText
24 ///<summary>Pointer to the native class description.</summary>
25 public override System.IntPtr NativeClass
29 if (((object)this).GetType() == typeof(Check))
31 return GetEflClassStatic();
35 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
40 [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
41 efl_ui_check_class_get();
42 /// <summary>Initializes a new instance of the <see cref="Check"/> class.</summary>
43 /// <param name="parent">Parent instance.</param>
44 /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
45 public Check(Efl.Object parent
46 , System.String style = null) : base(efl_ui_check_class_get(), parent)
48 if (Efl.Eo.Globals.ParamHelperCheck(style))
50 SetStyle(Efl.Eo.Globals.GetParamHelper(style));
53 FinishInstantiation();
56 /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
57 /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
58 protected Check(ConstructingHandle ch) : base(ch)
62 /// <summary>Initializes a new instance of the <see cref="Check"/> class.
63 /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
64 /// <param name="wh">The native pointer to be wrapped.</param>
65 protected Check(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
69 /// <summary>Initializes a new instance of the <see cref="Check"/> class.
70 /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
71 /// <param name="baseKlass">The pointer to the base native Eo class.</param>
72 /// <param name="parent">The Efl.Object parent of this instance.</param>
73 protected Check(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
77 /// <summary>Emitted each time selected has changed</summary>
78 public event EventHandler<Efl.Ui.CheckSelectedChangedEvt_Args> SelectedChangedEvt
82 lock (eflBindingEventLock)
84 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
86 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
89 Efl.Ui.CheckSelectedChangedEvt_Args args = new Efl.Ui.CheckSelectedChangedEvt_Args();
90 args.arg = Marshal.ReadByte(evt.Info) != 0;
93 value?.Invoke(obj, args);
97 Eina.Log.Error(e.ToString());
98 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
103 string key = "_EFL_UI_CHECK_EVENT_SELECTED_CHANGED";
104 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
110 lock (eflBindingEventLock)
112 string key = "_EFL_UI_CHECK_EVENT_SELECTED_CHANGED";
113 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
117 ///<summary>Method to raise event SelectedChangedEvt.</summary>
118 public void OnSelectedChangedEvt(Efl.Ui.CheckSelectedChangedEvt_Args e)
120 var key = "_EFL_UI_CHECK_EVENT_SELECTED_CHANGED";
121 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
122 if (desc == IntPtr.Zero)
124 Eina.Log.Error($"Failed to get native event {key}");
128 IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg ? (byte) 1 : (byte) 0);
131 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
135 Marshal.FreeHGlobal(info);
138 /// <summary>Sent after the content is set or unset using the current content object.
139 /// (Since EFL 1.22)</summary>
140 public event EventHandler<Efl.IContentContentChangedEvt_Args> ContentChangedEvt
144 lock (eflBindingEventLock)
146 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
148 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
151 Efl.IContentContentChangedEvt_Args args = new Efl.IContentContentChangedEvt_Args();
152 args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Gfx.IEntityConcrete);
155 value?.Invoke(obj, args);
159 Eina.Log.Error(e.ToString());
160 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
165 string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
166 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
172 lock (eflBindingEventLock)
174 string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
175 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
179 ///<summary>Method to raise event ContentChangedEvt.</summary>
180 public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e)
182 var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
183 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
184 if (desc == IntPtr.Zero)
186 Eina.Log.Error($"Failed to get native event {key}");
190 IntPtr info = e.arg.NativeHandle;
191 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
193 /// <summary>The on/off state of the check object.</summary>
194 /// <returns><c>true</c> if the check object is selected, <c>false</c> otherwise</returns>
195 virtual public bool GetSelected() {
196 var _ret_var = Efl.Ui.Check.NativeMethods.efl_ui_check_selected_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
197 Eina.Error.RaiseIfUnhandledException();
200 /// <summary>The on/off state of the check object.</summary>
201 /// <param name="value"><c>true</c> if the check object is selected, <c>false</c> otherwise</param>
202 virtual public void SetSelected(bool value) {
203 Efl.Ui.Check.NativeMethods.efl_ui_check_selected_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),value);
204 Eina.Error.RaiseIfUnhandledException();
206 /// <summary>Sub-object currently set as this object's single content.
207 /// If it is set multiple times, previous sub-objects are removed first. Therefore, if an invalid <c>content</c> is set the object will become empty (it will have no sub-object).
208 /// (Since EFL 1.22)</summary>
209 /// <returns>The sub-object.</returns>
210 virtual public Efl.Gfx.IEntity GetContent() {
211 var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
212 Eina.Error.RaiseIfUnhandledException();
215 /// <summary>Sub-object currently set as this object's single content.
216 /// If it is set multiple times, previous sub-objects are removed first. Therefore, if an invalid <c>content</c> is set the object will become empty (it will have no sub-object).
217 /// (Since EFL 1.22)</summary>
218 /// <param name="content">The sub-object.</param>
219 /// <returns><c>true</c> if <c>content</c> was successfully swallowed.</returns>
220 virtual public bool SetContent(Efl.Gfx.IEntity content) {
221 var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),content);
222 Eina.Error.RaiseIfUnhandledException();
225 /// <summary>Remove the sub-object currently set as content of this object and return it. This object becomes empty.
226 /// (Since EFL 1.22)</summary>
227 /// <returns>Unswallowed object</returns>
228 virtual public Efl.Gfx.IEntity UnsetContent() {
229 var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
230 Eina.Error.RaiseIfUnhandledException();
233 /// <summary>Retrieves the text string currently being displayed by the given text object.
234 /// Do not free() the return value.
236 /// See also <see cref="Efl.IText.GetText"/>.
237 /// (Since EFL 1.22)</summary>
238 /// <returns>Text string to display on it.</returns>
239 virtual public System.String GetText() {
240 var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
241 Eina.Error.RaiseIfUnhandledException();
244 /// <summary>Sets the text string to be displayed by the given text object.
245 /// See also <see cref="Efl.IText.GetText"/>.
246 /// (Since EFL 1.22)</summary>
247 /// <param name="text">Text string to display on it.</param>
248 virtual public void SetText(System.String text) {
249 Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),text);
250 Eina.Error.RaiseIfUnhandledException();
252 /// <summary>The on/off state of the check object.</summary>
253 /// <value><c>true</c> if the check object is selected, <c>false</c> otherwise</value>
254 public bool Selected {
255 get { return GetSelected(); }
256 set { SetSelected(value); }
258 /// <summary>Sub-object currently set as this object's single content.
259 /// If it is set multiple times, previous sub-objects are removed first. Therefore, if an invalid <c>content</c> is set the object will become empty (it will have no sub-object).
260 /// (Since EFL 1.22)</summary>
261 /// <value>The sub-object.</value>
262 public Efl.Gfx.IEntity Content {
263 get { return GetContent(); }
264 set { SetContent(value); }
266 private static IntPtr GetEflClassStatic()
268 return Efl.Ui.Check.efl_ui_check_class_get();
270 /// <summary>Wrapper for native methods and virtual method delegates.
271 /// For internal use by generated code only.</summary>
272 public new class NativeMethods : Efl.Ui.LayoutBase.NativeMethods
274 private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
275 /// <summary>Gets the list of Eo operations to override.</summary>
276 /// <returns>The list of Eo operations to be overload.</returns>
277 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
279 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
280 var methods = Efl.Eo.Globals.GetUserMethods(type);
282 if (efl_ui_check_selected_get_static_delegate == null)
284 efl_ui_check_selected_get_static_delegate = new efl_ui_check_selected_get_delegate(selected_get);
287 if (methods.FirstOrDefault(m => m.Name == "GetSelected") != null)
289 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_check_selected_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_check_selected_get_static_delegate) });
292 if (efl_ui_check_selected_set_static_delegate == null)
294 efl_ui_check_selected_set_static_delegate = new efl_ui_check_selected_set_delegate(selected_set);
297 if (methods.FirstOrDefault(m => m.Name == "SetSelected") != null)
299 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_check_selected_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_check_selected_set_static_delegate) });
302 if (efl_content_get_static_delegate == null)
304 efl_content_get_static_delegate = new efl_content_get_delegate(content_get);
307 if (methods.FirstOrDefault(m => m.Name == "GetContent") != null)
309 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_get"), func = Marshal.GetFunctionPointerForDelegate(efl_content_get_static_delegate) });
312 if (efl_content_set_static_delegate == null)
314 efl_content_set_static_delegate = new efl_content_set_delegate(content_set);
317 if (methods.FirstOrDefault(m => m.Name == "SetContent") != null)
319 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_set"), func = Marshal.GetFunctionPointerForDelegate(efl_content_set_static_delegate) });
322 if (efl_content_unset_static_delegate == null)
324 efl_content_unset_static_delegate = new efl_content_unset_delegate(content_unset);
327 if (methods.FirstOrDefault(m => m.Name == "UnsetContent") != null)
329 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_unset"), func = Marshal.GetFunctionPointerForDelegate(efl_content_unset_static_delegate) });
332 if (efl_text_get_static_delegate == null)
334 efl_text_get_static_delegate = new efl_text_get_delegate(text_get);
337 if (methods.FirstOrDefault(m => m.Name == "GetText") != null)
339 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_get_static_delegate) });
342 if (efl_text_set_static_delegate == null)
344 efl_text_set_static_delegate = new efl_text_set_delegate(text_set);
347 if (methods.FirstOrDefault(m => m.Name == "SetText") != null)
349 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_set_static_delegate) });
352 descs.AddRange(base.GetEoOps(type));
355 /// <summary>Returns the Eo class for the native methods of this class.</summary>
356 /// <returns>The native class pointer.</returns>
357 public override IntPtr GetEflClass()
359 return Efl.Ui.Check.efl_ui_check_class_get();
362 #pragma warning disable CA1707, CS1591, SA1300, SA1600
364 [return: MarshalAs(UnmanagedType.U1)]
365 private delegate bool efl_ui_check_selected_get_delegate(System.IntPtr obj, System.IntPtr pd);
367 [return: MarshalAs(UnmanagedType.U1)]
368 public delegate bool efl_ui_check_selected_get_api_delegate(System.IntPtr obj);
370 public static Efl.Eo.FunctionWrapper<efl_ui_check_selected_get_api_delegate> efl_ui_check_selected_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_check_selected_get_api_delegate>(Module, "efl_ui_check_selected_get");
372 private static bool selected_get(System.IntPtr obj, System.IntPtr pd)
374 Eina.Log.Debug("function efl_ui_check_selected_get was called");
375 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
378 bool _ret_var = default(bool);
381 _ret_var = ((Check)ws.Target).GetSelected();
385 Eina.Log.Warning($"Callback error: {e.ToString()}");
386 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
394 return efl_ui_check_selected_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
398 private static efl_ui_check_selected_get_delegate efl_ui_check_selected_get_static_delegate;
401 private delegate void efl_ui_check_selected_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool value);
404 public delegate void efl_ui_check_selected_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool value);
406 public static Efl.Eo.FunctionWrapper<efl_ui_check_selected_set_api_delegate> efl_ui_check_selected_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_check_selected_set_api_delegate>(Module, "efl_ui_check_selected_set");
408 private static void selected_set(System.IntPtr obj, System.IntPtr pd, bool value)
410 Eina.Log.Debug("function efl_ui_check_selected_set was called");
411 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
417 ((Check)ws.Target).SetSelected(value);
421 Eina.Log.Warning($"Callback error: {e.ToString()}");
422 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
429 efl_ui_check_selected_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), value);
433 private static efl_ui_check_selected_set_delegate efl_ui_check_selected_set_static_delegate;
435 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
436 private delegate Efl.Gfx.IEntity efl_content_get_delegate(System.IntPtr obj, System.IntPtr pd);
438 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
439 public delegate Efl.Gfx.IEntity efl_content_get_api_delegate(System.IntPtr obj);
441 public static Efl.Eo.FunctionWrapper<efl_content_get_api_delegate> efl_content_get_ptr = new Efl.Eo.FunctionWrapper<efl_content_get_api_delegate>(Module, "efl_content_get");
443 private static Efl.Gfx.IEntity content_get(System.IntPtr obj, System.IntPtr pd)
445 Eina.Log.Debug("function efl_content_get was called");
446 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
449 Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
452 _ret_var = ((Check)ws.Target).GetContent();
456 Eina.Log.Warning($"Callback error: {e.ToString()}");
457 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
465 return efl_content_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
469 private static efl_content_get_delegate efl_content_get_static_delegate;
471 [return: MarshalAs(UnmanagedType.U1)]
472 private delegate bool efl_content_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity content);
474 [return: MarshalAs(UnmanagedType.U1)]
475 public delegate bool efl_content_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity content);
477 public static Efl.Eo.FunctionWrapper<efl_content_set_api_delegate> efl_content_set_ptr = new Efl.Eo.FunctionWrapper<efl_content_set_api_delegate>(Module, "efl_content_set");
479 private static bool content_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity content)
481 Eina.Log.Debug("function efl_content_set was called");
482 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
485 bool _ret_var = default(bool);
488 _ret_var = ((Check)ws.Target).SetContent(content);
492 Eina.Log.Warning($"Callback error: {e.ToString()}");
493 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
501 return efl_content_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), content);
505 private static efl_content_set_delegate efl_content_set_static_delegate;
507 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
508 private delegate Efl.Gfx.IEntity efl_content_unset_delegate(System.IntPtr obj, System.IntPtr pd);
510 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
511 public delegate Efl.Gfx.IEntity efl_content_unset_api_delegate(System.IntPtr obj);
513 public static Efl.Eo.FunctionWrapper<efl_content_unset_api_delegate> efl_content_unset_ptr = new Efl.Eo.FunctionWrapper<efl_content_unset_api_delegate>(Module, "efl_content_unset");
515 private static Efl.Gfx.IEntity content_unset(System.IntPtr obj, System.IntPtr pd)
517 Eina.Log.Debug("function efl_content_unset was called");
518 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
521 Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
524 _ret_var = ((Check)ws.Target).UnsetContent();
528 Eina.Log.Warning($"Callback error: {e.ToString()}");
529 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
537 return efl_content_unset_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
541 private static efl_content_unset_delegate efl_content_unset_static_delegate;
543 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
544 private delegate System.String efl_text_get_delegate(System.IntPtr obj, System.IntPtr pd);
546 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
547 public delegate System.String efl_text_get_api_delegate(System.IntPtr obj);
549 public static Efl.Eo.FunctionWrapper<efl_text_get_api_delegate> efl_text_get_ptr = new Efl.Eo.FunctionWrapper<efl_text_get_api_delegate>(Module, "efl_text_get");
551 private static System.String text_get(System.IntPtr obj, System.IntPtr pd)
553 Eina.Log.Debug("function efl_text_get was called");
554 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
557 System.String _ret_var = default(System.String);
560 _ret_var = ((Check)ws.Target).GetText();
564 Eina.Log.Warning($"Callback error: {e.ToString()}");
565 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
573 return efl_text_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
577 private static efl_text_get_delegate efl_text_get_static_delegate;
580 private delegate void efl_text_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String text);
583 public delegate void efl_text_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String text);
585 public static Efl.Eo.FunctionWrapper<efl_text_set_api_delegate> efl_text_set_ptr = new Efl.Eo.FunctionWrapper<efl_text_set_api_delegate>(Module, "efl_text_set");
587 private static void text_set(System.IntPtr obj, System.IntPtr pd, System.String text)
589 Eina.Log.Debug("function efl_text_set was called");
590 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
596 ((Check)ws.Target).SetText(text);
600 Eina.Log.Warning($"Callback error: {e.ToString()}");
601 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
608 efl_text_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), text);
612 private static efl_text_set_delegate efl_text_set_static_delegate;
614 #pragma warning restore CA1707, CS1591, SA1300, SA1600