2 #pragma warning disable CS1591
4 using System.Runtime.InteropServices;
5 using System.Collections.Generic;
7 using System.Threading;
8 using System.ComponentModel;
13 /// <summary>Efl UI text async class</summary>
14 /// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
15 [Efl.Ui.TextAsync.NativeMethods]
16 [Efl.Eo.BindingEntity]
17 public class TextAsync : Efl.Ui.Text
19 /// <summary>Pointer to the native class description.</summary>
20 public override System.IntPtr NativeClass
24 if (((object)this).GetType() == typeof(TextAsync))
26 return GetEflClassStatic();
30 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
35 [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
36 efl_ui_text_async_class_get();
37 /// <summary>Initializes a new instance of the <see cref="TextAsync"/> class.</summary>
38 /// <param name="parent">Parent instance.</param>
39 /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
40 public TextAsync(Efl.Object parent
41 , System.String style = null) : base(efl_ui_text_async_class_get(), parent)
43 if (Efl.Eo.Globals.ParamHelperCheck(style))
45 SetStyle(Efl.Eo.Globals.GetParamHelper(style));
48 FinishInstantiation();
51 /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
52 /// Do not call this constructor directly.</summary>
53 /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
54 protected TextAsync(ConstructingHandle ch) : base(ch)
58 /// <summary>Initializes a new instance of the <see cref="TextAsync"/> class.
59 /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
60 /// <param name="wh">The native pointer to be wrapped.</param>
61 protected TextAsync(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
65 /// <summary>Initializes a new instance of the <see cref="TextAsync"/> class.
66 /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
67 /// <param name="baseKlass">The pointer to the base native Eo class.</param>
68 /// <param name="parent">The Efl.Object parent of this instance.</param>
69 protected TextAsync(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
73 private static IntPtr GetEflClassStatic()
75 return Efl.Ui.TextAsync.efl_ui_text_async_class_get();
77 /// <summary>Wrapper for native methods and virtual method delegates.
78 /// For internal use by generated code only.</summary>
79 public new class NativeMethods : Efl.Ui.Text.NativeMethods
81 /// <summary>Gets the list of Eo operations to override.</summary>
82 /// <returns>The list of Eo operations to be overload.</returns>
83 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
85 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
86 descs.AddRange(base.GetEoOps(type));
89 /// <summary>Returns the Eo class for the native methods of this class.</summary>
90 /// <returns>The native class pointer.</returns>
91 public override IntPtr GetEflClass()
93 return Efl.Ui.TextAsync.efl_ui_text_async_class_get();
96 #pragma warning disable CA1707, CS1591, SA1300, SA1600
98 #pragma warning restore CA1707, CS1591, SA1300, SA1600
107 #pragma warning disable CS1591
108 public static class Efl_UiTextAsync_ExtensionMethods {
110 #pragma warning restore CS1591