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>The bg (background) widget is used for setting (solid) background decorations
13 /// in a window (unless it has transparency enabled) or on any container object. It works just like an image but has some properties useful for backgrounds, such as setting it to tiled, centered, scaled or stretched.</summary>
14 [Efl.Ui.ILegacyConcrete.NativeMethods]
15 [Efl.Eo.BindingEntity]
16 public interface ILegacy :
17 Efl.Eo.IWrapper, IDisposable
20 /// <summary>The bg (background) widget is used for setting (solid) background decorations
21 /// in a window (unless it has transparency enabled) or on any container object. It works just like an image but has some properties useful for backgrounds, such as setting it to tiled, centered, scaled or stretched.</summary>
22 sealed public class ILegacyConcrete :
27 ///<summary>Pointer to the native class description.</summary>
28 public override System.IntPtr NativeClass
32 if (((object)this).GetType() == typeof(ILegacyConcrete))
34 return GetEflClassStatic();
38 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
43 /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
44 /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
45 private ILegacyConcrete(ConstructingHandle ch) : base(ch)
49 [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
50 efl_ui_legacy_interface_get();
51 /// <summary>Initializes a new instance of the <see cref="ILegacy"/> class.
52 /// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
53 /// <param name="wh">The native pointer to be wrapped.</param>
54 private ILegacyConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
58 private static IntPtr GetEflClassStatic()
60 return Efl.Ui.ILegacyConcrete.efl_ui_legacy_interface_get();
62 /// <summary>Wrapper for native methods and virtual method delegates.
63 /// For internal use by generated code only.</summary>
64 public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
66 /// <summary>Gets the list of Eo operations to override.</summary>
67 /// <returns>The list of Eo operations to be overload.</returns>
68 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
70 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
73 /// <summary>Returns the Eo class for the native methods of this class.</summary>
74 /// <returns>The native class pointer.</returns>
75 public override IntPtr GetEflClass()
77 return Efl.Ui.ILegacyConcrete.efl_ui_legacy_interface_get();
80 #pragma warning disable CA1707, CS1591, SA1300, SA1600
82 #pragma warning restore CA1707, CS1591, SA1300, SA1600