Circle and efl cs files are updated based on the latest efl.
The namespace Efl.Ui.ActiveView has been changed to Efl.Ui.Spotlight.
eldbus cs files have been removed because they are not opened publicly.
_handle = Interop.Eext.eext_circle_object_progressbar_add(parent.NativeHandle, IntPtr.Zero);
Bar = new CircleProgressBarBar(_handle);
- BarBackground = new CircleProgressBarBarBackground(handle);
+ BarBackground = new CircleProgressBarBarBackground(_handle);
elm_layout_content_set(this.NativeHandle, "efl.swallow.vg", CircleHandle);
}
_handle = Interop.Eext.eext_circle_surface_layout_add(layout.NativeHandle);
}
- public CircleUIManager(Efl.Ui.ActiveView.Container container)
+ public CircleUIManager(Efl.Ui.Spotlight.Container container)
{
_handle = Interop.Eext.eext_circle_surface_naviframe_add(container.NativeHandle);
}
/// </summary>
/// <param name="parent">The Efl.Ui.Widget to which the new MoreOption will be attached as a child.</param>
/// <since_tizen> 6 </since_tizen>
- public MoreOption(Efl.Ui.Widget parent) : base(Interop.Eext.eext_more_option_add(parent.NativeHandle))
+ public MoreOption(Efl.Ui.Widget parent) : base(new ConstructingHandle(Interop.Eext.eext_more_option_add(parent.NativeHandle)))
{
smartClicked = new Interop.Evas.SmartCallback((d, o, e) =>
{
string _mainText;
string _subText;
Image _icon;
+ Image _preIcon;
public IntPtr _handle;
public IntPtr NativeHandle
{
set
{
+ if (_icon != null) _preIcon = _icon;
if (_icon == value) return;
_icon = value;
+
if (NativeHandle != IntPtr.Zero)
{
+ if (_preIcon != null)
+ _preIcon.SetVisible(false);
Interop.Eext.eext_more_option_item_part_content_set(NativeHandle, IconPartName, _icon.NativeHandle);
}
}
/// </summary>
/// <param name="parent">The Efl.Ui.Widget to which the new RotarySelector will be attached as a child.</param>
/// <since_tizen> 6 </since_tizen>
- public RotarySelector(Efl.Ui.Widget parent) : base(Interop.Eext.eext_rotary_selector_add(parent.NativeHandle))
+ public RotarySelector(Efl.Ui.Widget parent) : base(new ConstructingHandle(Interop.Eext.eext_rotary_selector_add(parent.NativeHandle)))
{
smartClicked = new Interop.Evas.SmartCallback((d, o, e) =>
{
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.Threading;
+using System.Reflection;
namespace Efl
{
namespace Eo
{
+/// <summary>
+/// Abstract class that delivers base level binding to Efl Objects.
+///
+/// Most of it is protected functionalities to serve the generated
+/// binding classes that inherit from it.
+/// </summary>
public abstract class EoWrapper : IWrapper, IDisposable
{
- protected readonly object eventLock = new object();
- protected bool inherited = false;
- protected System.IntPtr handle = IntPtr.Zero;
+ /// <summary>Object used to synchronize access to EFL events.</summary>
+ protected readonly object eflBindingEventLock = new object();
+ private bool generated = true;
+ private System.IntPtr handle = IntPtr.Zero;
private static Efl.EventCb ownershipUniqueDelegate = new Efl.EventCb(OwnershipUniqueCallback);
private static Efl.EventCb ownershipSharedDelegate = new Efl.EventCb(OwnershipSharedCallback);
+
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.
+ /// For a class that inherited from an EFL# class to be properly constructed from native code
+ /// one must create a constructor with this signature and calls this base constructor from it.
+ /// This constructor will take care of calling base constructors of the native classes and
+ /// perform additional setup so objects are ready to use.
+ /// It is advisable to check for the <see cref="NativeHandle"/> property in the top level
+ /// constructor and signal an error when it has a value of IntPtr.Zero after this
+ /// constructor completion.
+ /// Warning: Do not use this constructor directly from a `new` statement.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected EoWrapper(ConstructingHandle ch)
+ {
+ generated = false;
+ handle = Efl.Eo.Globals.efl_constructor(Efl.Eo.Globals.efl_super(ch.NativeHandle, Efl.Eo.Globals.efl_class_get(ch.NativeHandle)));
+ if (handle == IntPtr.Zero)
+ {
+ Eina.Log.Warning("Natice constructor returned NULL");
+ return;
+ }
+
+ AddWrapperSupervisor();
+ // Make an additional reference to C#
+ // - Will also call EVENT_OWNERSHIP_SHARED
+ Efl.Eo.Globals.efl_ref(handle);
+ }
+
/// <summary>Initializes a new instance of the <see cref="Object"/> class.
- /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected EoWrapper(System.IntPtr raw)
+ /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.
+ /// Do not implement this constructor.</summary>
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected EoWrapper(Efl.Eo.Globals.WrappingHandle wh)
{
- handle = raw;
+ handle = wh.NativeHandle;
AddWrapperSupervisor();
}
/// Internal usage: Constructor to actually call the native library constructors. C# subclasses
/// must use the public constructor only.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
/// <param name="file">Name of the file from where the constructor is called.</param>
/// <param name="line">Number of the line from where the constructor is called.</param>
- protected EoWrapper(IntPtr baseKlass, System.Type managedType, Efl.Object parent,
+ protected EoWrapper(IntPtr baseKlass, Efl.Object parent,
[CallerFilePath] string file = null,
[CallerLineNumber] int line = 0)
{
- inherited = ((object)this).GetType() != managedType;
+ generated = Efl.Eo.BindingEntity.IsBindingEntity(((object)this).GetType());
IntPtr actual_klass = baseKlass;
- if (inherited)
+ if (!generated)
{
actual_klass = Efl.Eo.ClassRegister.GetInheritKlassOrRegister(baseKlass, ((object)this).GetType());
}
parent_ptr = parent.NativeHandle;
}
- handle = Efl.Eo.Globals._efl_add_internal_start(file, line, actual_klass, parent_ptr, 1, 0);
+ if (generated)
+ {
+ handle = Efl.Eo.Globals._efl_add_internal_start(file, line, actual_klass, parent_ptr, 1, 0);
+ }
+ else
+ {
+ handle = Efl.Eo.Globals._efl_add_internal_start_bindings(file, line, actual_klass, parent_ptr, 1, 0,
+ Efl.Eo.Globals.efl_mono_avoid_top_level_constructor_callback_addr_get(),
+ IntPtr.Zero);
+ }
+
if (handle == System.IntPtr.Zero)
{
throw new Exception("Instantiation failed");
get;
}
+ /// <summary>
+ /// Whether this object type is one of the generated binding classes or a custom
+ /// class defined by the user and that inherit from one of the generated ones.
+ /// </summary>
+ /// <returns>
+ /// True if this object type is one of the generated binding classes,
+ /// false if it is class that is manually defined and that inherits from
+ /// one of the generated ones, including user defined classes.
+ /// </returns>
+ protected bool IsGeneratedBindingClass
+ {
+ get { return generated; }
+ }
+
/// <summary>Releases the underlying native instance.</summary>
protected virtual void Dispose(bool disposing)
{
ws.MakeShared();
}
- /// <sumary>Create and set to the internal native state a C# supervisor for this Eo wrapper. For internal use only.</sumary>
+ /// <summary>Create and set to the internal native state a C# supervisor for this Eo wrapper. For internal use only.</summary>
private void AddWrapperSupervisor()
{
var ws = new Efl.Eo.WrapperSupervisor(this);
AddNativeEventHandler(efl.Libs.Eo, "_EFL_EVENT_OWNERSHIP_SHARED", ownershipSharedDelegate, ownershipSharedDelegate);
Eina.Error.RaiseIfUnhandledException();
}
+
+ /// <summary>
+ /// Struct to be used when constructing objects from native code.
+ /// Wraps the pointer handle to the native object instance.
+ /// </summary>
+ protected struct ConstructingHandle
+ {
+ /// <summary>Constructor for wrapping the native handle.</summary>
+ public ConstructingHandle(IntPtr h)
+ {
+ NativeHandle = h;
+ }
+
+ /// <summary>Pointer to the native instance.</summary>
+ public IntPtr NativeHandle { get; private set; }
+ }
+
+ /// <summary>Wrapper for native methods and virtual method delegates.
+ /// For internal use by generated code only.</summary>
+ public abstract class NativeMethods : Efl.Eo.NativeClass
+ {
+ private static EflConstructorDelegate csharpEflConstructorStaticDelegate = new EflConstructorDelegate(Constructor);
+ private static Efl.Eo.NativeModule EoModule = new Efl.Eo.NativeModule(efl.Libs.Eo);
+
+ private delegate IntPtr EflConstructorDelegate(IntPtr obj, IntPtr pd);
+
+ /// <summary>Gets the list of Eo operations to override.</summary>
+ /// <returns>The list of Eo operations to be overload.</returns>
+ public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(Type type)
+ {
+ var descs = new System.Collections.Generic.List<Efl_Op_Description>();
+
+ descs.Add(new Efl_Op_Description()
+ {
+ api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(EoModule.Module, "efl_constructor"),
+ func = Marshal.GetFunctionPointerForDelegate(csharpEflConstructorStaticDelegate)
+ });
+
+ return descs;
+ }
+
+ private static IntPtr Constructor(IntPtr obj, IntPtr pd)
+ {
+ try
+ {
+ var eoKlass = Efl.Eo.Globals.efl_class_get(obj);
+ var managedType = ClassRegister.GetManagedType(eoKlass);
+ if (managedType == null)
+ {
+ IntPtr nativeName = Efl.Eo.Globals.efl_class_name_get(eoKlass);
+ var name = Eina.StringConversion.NativeUtf8ToManagedString(nativeName);
+ Eina.Log.Warning($"Can't get Managed class for object handle 0x{(UInt64)obj:x} with native class [{name}]");
+ return IntPtr.Zero;
+ }
+
+ var flags = BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic;
+ ConstructorInfo constructor = managedType.GetConstructor(flags, null, new Type[1] { typeof(ConstructingHandle) }, null);
+ if (constructor == null)
+ {
+ Eina.Log.Error($"Type {managedType.FullName} lacks a constructor that receives a ConstructingHandle. It can not be constructed from native code.");
+ return IntPtr.Zero;
+ }
+
+ var eoWrapper = (Efl.Eo.IWrapper) constructor.Invoke(new object[1] { new ConstructingHandle(obj) });
+ if (eoWrapper == null)
+ {
+ Eina.Log.Warning("Constructor was unable to create a new object");
+ return IntPtr.Zero;
+ }
+
+ return eoWrapper.NativeHandle;
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Inherited constructor error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ return IntPtr.Zero;
+ }
+ }
+ }
}
-} // namespace Global
+} // namespace Eo
} // namespace Efl
///<returns>A function pointer that can be used with delegates.</returns>
public static IntPtr LoadFunctionPointer(IntPtr nativeLibraryHandle, string functionName)
{
- Eina.Log.Debug("searching {nativeLibraryHandle} for {functionName}");
+ Eina.Log.Debug($"searching {nativeLibraryHandle} for {functionName}");
var s = FunctionInterop.dlsym(nativeLibraryHandle, functionName);
- Eina.Log.Debug("searching {nativeLibraryHandle} for {functionName}, result {s}");
+ Eina.Log.Debug($"searching {nativeLibraryHandle} for {functionName}, result {s}");
return s;
}
}
namespace Canvas {
/// <summary>Type of a part in an Efl.Canvas.Layout object (edje object).</summary>
+[Efl.Eo.BindingEntity]
public enum LayoutPartType
{
/// <summary>None type value, indicates invalid parts.</summary>
namespace Edje {
+[Efl.Eo.BindingEntity]
public enum Cursor
{
Main = 0,
/// <summary>Efl accelerate interpolator class
/// output = 1 - sin(Pi / 2 + input * Pi / 2);</summary>
[Efl.AccelerateInterpolator.NativeMethods]
+[Efl.Eo.BindingEntity]
public class AccelerateInterpolator : Efl.Object, Efl.IInterpolator
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="AccelerateInterpolator"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public AccelerateInterpolator(Efl.Object parent= null
- ) : base(efl_accelerate_interpolator_class_get(), typeof(AccelerateInterpolator), parent)
+ ) : base(efl_accelerate_interpolator_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected AccelerateInterpolator(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="AccelerateInterpolator"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected AccelerateInterpolator(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected AccelerateInterpolator(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="AccelerateInterpolator"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected AccelerateInterpolator(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected AccelerateInterpolator(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>Factor property</summary>
/// <returns>Factor of the interpolation function.</returns>
virtual public double GetFactor() {
- var _ret_var = Efl.AccelerateInterpolator.NativeMethods.efl_accelerate_interpolator_factor_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.AccelerateInterpolator.NativeMethods.efl_accelerate_interpolator_factor_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Factor property</summary>
/// <param name="factor">Factor of the interpolation function.</param>
virtual public void SetFactor(double factor) {
- Efl.AccelerateInterpolator.NativeMethods.efl_accelerate_interpolator_factor_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),factor);
+ Efl.AccelerateInterpolator.NativeMethods.efl_accelerate_interpolator_factor_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),factor);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Interpolate the given value.</summary>
/// <param name="progress">Input value mapped from 0.0 to 1.0.</param>
/// <returns>Output value calculated by interpolating the input value.</returns>
virtual public double Interpolate(double progress) {
- var _ret_var = Efl.IInterpolatorConcrete.NativeMethods.efl_interpolator_interpolate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),progress);
+ var _ret_var = Efl.IInterpolatorConcrete.NativeMethods.efl_interpolator_interpolate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),progress);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Accessible action mixin</summary>
[Efl.Access.IActionConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IAction :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IActionConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
efl_access_action_mixin_get();
/// <summary>Initializes a new instance of the <see cref="IAction"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IActionConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IActionConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>AT-SPI component mixin</summary>
[Efl.Access.IComponentConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IComponent :
Efl.Gfx.IEntity ,
Efl.Gfx.IStack ,
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IComponentConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
efl_access_component_mixin_get();
/// <summary>Initializes a new instance of the <see cref="IComponent"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IComponentConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IComponentConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_ENTITY_EVENT_VISIBILITY_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_ENTITY_EVENT_POSITION_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_ENTITY_EVENT_SIZE_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_ENTITY_EVENT_STACKING_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Elementary editable text interface</summary>
[Efl.Access.Editable.ITextConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IText :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private ITextConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
efl_access_editable_text_interface_get();
/// <summary>Initializes a new instance of the <see cref="IText"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private ITextConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private ITextConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Accessibility accessible mixin</summary>
[Efl.Access.IObjectConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IObject :
Efl.Eo.IWrapper, IDisposable
{
}
}
///<summary>Event argument wrapper for event <see cref="Efl.Access.IObject.PropertyChangedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IObjectPropertyChangedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public System.String arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Access.IObject.ChildrenChangedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IObjectChildrenChangedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Access.Event.ChildrenChanged.Data arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Access.IObject.StateChangedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IObjectStateChangedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Access.Event.StateChanged.Data arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Access.IObject.BoundsChangedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IObjectBoundsChangedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Access.Event.GeometryChanged.Data arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Access.IObject.ActiveDescendantChangedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IObjectActiveDescendantChangedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Object arg { get; set; }
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IObjectConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
efl_access_object_mixin_get();
/// <summary>Initializes a new instance of the <see cref="IObject"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IObjectConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IObjectConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_OBJECT_EVENT_PROPERTY_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_OBJECT_EVENT_CHILDREN_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_OBJECT_EVENT_STATE_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_OBJECT_EVENT_BOUNDS_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_OBJECT_EVENT_VISIBLE_DATA_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_OBJECT_EVENT_ACTIVE_DESCENDANT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_OBJECT_EVENT_ADDED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_OBJECT_EVENT_REMOVED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_OBJECT_EVENT_MOVE_OUTED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
/// <summary>Gets the list of Eo operations to override.</summary>
namespace Access {
/// <summary>Type of accessibility object</summary>
+[Efl.Eo.BindingEntity]
public enum Type
{
/// <summary>default accessible object</summary>
namespace Access {
/// <summary>Describes the role of an object visible to Accessibility Clients.</summary>
+[Efl.Eo.BindingEntity]
public enum Role
{
/// <summary>Role: invalid</summary>
namespace Access {
/// <summary>Describes the possible states for an object visible to accessibility clients.</summary>
+[Efl.Eo.BindingEntity]
public enum StateType
{
/// <summary>State: invalid</summary>
namespace Access {
/// <summary>Describes the relationship between two objects.</summary>
+[Efl.Eo.BindingEntity]
public enum RelationType
{
/// <summary>No relation</summary>
namespace Info {
/// <summary>The accessible Reading information type that can be read.</summary>
+[Efl.Eo.BindingEntity]
public enum Type
{
/// <summary>Name should be read</summary>
namespace Access {
+[Efl.Eo.BindingEntity]
public enum Gesture
{
OneFingerHover = 0,
namespace Access {
+[Efl.Eo.BindingEntity]
public enum GestureState
{
Start = 0,
/// <summary>Accessibility event listener</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct Handler
{
///<summary>Placeholder field</summary>
/// <summary>Accessibility state changed event data</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct Data
{
/// <summary>Type of the state changed event</summary>
/// <summary>Accessibility geometry changed event data</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct Data
{
/// <summary>X coordinate</summary>
/// <summary>Accessibility children changed event data</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct Data
{
/// <summary>Child is added or not</summary>
/// <summary>Accessibility Attribute</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct Attribute
{
/// <summary>Attribute key</summary>
/// <summary>Accessibility Relation</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct Relation
{
/// <summary>Relation type</summary>
namespace Access {
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct GestureInfo
{
/// <summary>Gesture type</summary>
/// <summary>Elementary access selection interface</summary>
[Efl.Access.ISelectionConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface ISelection :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private ISelectionConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
efl_access_selection_interface_get();
/// <summary>Initializes a new instance of the <see cref="ISelection"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private ISelectionConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private ISelectionConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_SELECTION_EVENT_ACCESS_SELECTION_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Elementary accessible text interface</summary>
[Efl.Access.ITextConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IText :
Efl.Eo.IWrapper, IDisposable
{
}
}
///<summary>Event argument wrapper for event <see cref="Efl.Access.IText.AccessTextInsertedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class ITextAccessTextInsertedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Access.TextChangeInfo arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Access.IText.AccessTextRemovedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class ITextAccessTextRemovedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Access.TextChangeInfo arg { get; set; }
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private ITextConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
efl_access_text_interface_get();
/// <summary>Initializes a new instance of the <see cref="IText"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private ITextConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private ITextConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_TEXT_EVENT_ACCESS_TEXT_CARET_MOVED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_TEXT_EVENT_ACCESS_TEXT_INSERTED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_TEXT_EVENT_ACCESS_TEXT_REMOVED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_TEXT_EVENT_ACCESS_TEXT_SELECTION_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
/// <summary>Gets the list of Eo operations to override.</summary>
namespace Access {
/// <summary>Text accessibility granularity</summary>
+[Efl.Eo.BindingEntity]
public enum TextGranularity
{
/// <summary>Character granularity</summary>
namespace Access {
/// <summary>Text clip type</summary>
+[Efl.Eo.BindingEntity]
public enum TextClipType
{
/// <summary>No clip type</summary>
/// <summary>Text attribute</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct TextAttribute
{
/// <summary>Text attribute name</summary>
/// <summary>Text range</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct TextRange
{
/// <summary>Range start offset</summary>
/// <summary>Text change information</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct TextChangeInfo
{
/// <summary>Change content</summary>
/// <summary>Elementary Access value interface</summary>
[Efl.Access.IValueConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IValue :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IValueConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
efl_access_value_interface_get();
/// <summary>Initializes a new instance of the <see cref="IValue"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IValueConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IValueConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Access widget action mixin</summary>
[Efl.Access.Widget.IActionConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IAction :
Efl.Access.IAction ,
Efl.Eo.IWrapper, IDisposable
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IActionConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
efl_access_widget_action_mixin_get();
/// <summary>Initializes a new instance of the <see cref="IAction"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IActionConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IActionConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_WIDGET_ACTION_EVENT_READING_STATE_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Elementary accessible window interface</summary>
[Efl.Access.IWindowConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IWindow :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IWindowConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
efl_access_window_interface_get();
/// <summary>Initializes a new instance of the <see cref="IWindow"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IWindowConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IWindowConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_WINDOW_EVENT_WINDOW_CREATED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_WINDOW_EVENT_WINDOW_DESTROYED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_WINDOW_EVENT_WINDOW_ACTIVATED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_WINDOW_EVENT_WINDOW_DEACTIVATED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_WINDOW_EVENT_WINDOW_MAXIMIZED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_WINDOW_EVENT_WINDOW_MINIMIZED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_WINDOW_EVENT_WINDOW_RESTORED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
/// <summary>Gets the list of Eo operations to override.</summary>
/// <returns>The list of Eo operations to be overload.</returns>
Efl.Eo.Config.Init();
ecore_init();
evas_init();
- eldbus.Config.Init();
if (components == Efl.Csharp.Components.Ui)
{
}
Eina.Log.Debug("Shutting down Eldbus");
- eldbus.Config.Shutdown();
Eina.Log.Debug("Shutting down Evas");
evas_shutdown();
Eina.Log.Debug("Shutting down Ecore");
/// <summary>Object representing the application itself.
/// (Since EFL 1.22)</summary>
[Efl.App.NativeMethods]
+[Efl.Eo.BindingEntity]
public abstract class App : Efl.Loop, Efl.Core.ICommandLine
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="App"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public App(Efl.Object parent= null
- ) : base(efl_app_class_get(), typeof(App), parent)
+ ) : base(efl_app_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected App(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="App"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected App(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected App(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
[Efl.Eo.PrivateNativeClass]
private class AppRealized : App
{
- private AppRealized(IntPtr ptr) : base(ptr)
+ private AppRealized(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Initializes a new instance of the <see cref="App"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected App(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected App(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_APP_EVENT_PAUSE";
RemoveNativeEventHandler(efl.Libs.Ecore, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_APP_EVENT_RESUME";
RemoveNativeEventHandler(efl.Libs.Ecore, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_APP_EVENT_STANDBY";
RemoveNativeEventHandler(efl.Libs.Ecore, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_APP_EVENT_TERMINATE";
RemoveNativeEventHandler(efl.Libs.Ecore, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_APP_EVENT_SIGNAL_USR1";
RemoveNativeEventHandler(efl.Libs.Ecore, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_APP_EVENT_SIGNAL_USR2";
RemoveNativeEventHandler(efl.Libs.Ecore, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_APP_EVENT_SIGNAL_HUP";
RemoveNativeEventHandler(efl.Libs.Ecore, key, value);
/// (Since EFL 1.22)</summary>
/// <returns>Efl build version</returns>
virtual public Efl.Version GetBuildEflVersion() {
- var _ret_var = Efl.App.NativeMethods.efl_app_build_efl_version_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.App.NativeMethods.efl_app_build_efl_version_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
var __ret_tmp = Eina.PrimitiveConversion.PointerToManaged<Efl.Version>(_ret_var);
/// (Since EFL 1.22)</summary>
/// <returns>Efl version</returns>
virtual public Efl.Version GetEflVersion() {
- var _ret_var = Efl.App.NativeMethods.efl_app_efl_version_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.App.NativeMethods.efl_app_efl_version_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
var __ret_tmp = Eina.PrimitiveConversion.PointerToManaged<Efl.Version>(_ret_var);
///
/// If you set the command the arg_count/value property contents can change and be completely re-evaluated by parsing the command string into an argument array set along with interpreting escapes back into individual argument strings.</summary>
virtual public System.String GetCommand() {
- var _ret_var = Efl.Core.ICommandLineConcrete.NativeMethods.efl_core_command_line_command_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Core.ICommandLineConcrete.NativeMethods.efl_core_command_line_command_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Every element of a string is a argument.</summary>
/// <param name="array">An array where every array field is an argument</param>
/// <returns>On success <c>true</c>, <c>false</c> otherwise</returns>
- virtual public bool SetCommandArray(Eina.Array<System.String> array) {
+ virtual public bool SetCommandArray(Eina.Array<Eina.Stringshare> array) {
var _in_array = array.Handle;
array.Own = false;
array.OwnContent = false;
- var _ret_var = Efl.Core.ICommandLineConcrete.NativeMethods.efl_core_command_line_command_array_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_array);
+ var _ret_var = Efl.Core.ICommandLineConcrete.NativeMethods.efl_core_command_line_command_array_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_array);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="str">A command in form of a string</param>
/// <returns>On success <c>true</c>, <c>false</c> otherwise</returns>
virtual public bool SetCommandString(System.String str) {
- var _ret_var = Efl.Core.ICommandLineConcrete.NativeMethods.efl_core_command_line_command_string_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),str);
+ var _ret_var = Efl.Core.ICommandLineConcrete.NativeMethods.efl_core_command_line_command_string_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),str);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Get the accessor which enables access to each argument that got passed to this object.</summary>
- virtual public Eina.Accessor<System.String> CommandAccess() {
- var _ret_var = Efl.Core.ICommandLineConcrete.NativeMethods.efl_core_command_line_command_access_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ virtual public Eina.Accessor<Eina.Stringshare> CommandAccess() {
+ var _ret_var = Efl.Core.ICommandLineConcrete.NativeMethods.efl_core_command_line_command_access_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Accessor<System.String>(_ret_var, false, false);
+ return new Eina.Accessor<Eina.Stringshare>(_ret_var, false);
}
/// <summary>Returns the app object that is representing this process
/// Note: This function call only works in the main loop thread of the process.
/// <summary>Use an array to fill this object
/// Every element of a string is a argument.</summary>
/// <value>An array where every array field is an argument</value>
- public Eina.Array<System.String> CommandArray {
+ public Eina.Array<Eina.Stringshare> CommandArray {
set { SetCommandArray(value); }
}
/// <summary>Use a string to fill this object
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- var _in_array = new Eina.Array<System.String>(array, true, true);
+ var _in_array = new Eina.Array<Eina.Stringshare>(array, true, true);
bool _ret_var = default(bool);
try
{
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- Eina.Accessor<System.String> _ret_var = default(Eina.Accessor<System.String>);
+ Eina.Accessor<Eina.Stringshare> _ret_var = default(Eina.Accessor<Eina.Stringshare>);
try
{
_ret_var = ((App)ws.Target).CommandAccess();
/// <summary>No description supplied.</summary>
[Efl.Appthread.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Appthread : Efl.Loop, Efl.IThreadIO, Efl.Core.ICommandLine, Efl.Io.ICloser, Efl.Io.IReader, Efl.Io.IWriter
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="Appthread"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public Appthread(Efl.Object parent= null
- ) : base(efl_appthread_class_get(), typeof(Appthread), parent)
+ ) : base(efl_appthread_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Appthread(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Appthread"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Appthread(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Appthread(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Appthread"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Appthread(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Appthread(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_IO_CLOSER_EVENT_CLOSED";
RemoveNativeEventHandler(efl.Libs.Ecore, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_IO_READER_EVENT_CAN_READ_CHANGED";
RemoveNativeEventHandler(efl.Libs.Ecore, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_IO_READER_EVENT_EOS";
RemoveNativeEventHandler(efl.Libs.Ecore, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED";
RemoveNativeEventHandler(efl.Libs.Ecore, key, value);
}
/// <returns>No description supplied.</returns>
virtual public System.IntPtr GetIndata() {
- var _ret_var = Efl.IThreadIOConcrete.NativeMethods.efl_threadio_indata_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IThreadIOConcrete.NativeMethods.efl_threadio_indata_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="data">No description supplied.</param>
virtual public void SetIndata(System.IntPtr data) {
- Efl.IThreadIOConcrete.NativeMethods.efl_threadio_indata_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),data);
+ Efl.IThreadIOConcrete.NativeMethods.efl_threadio_indata_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),data);
Eina.Error.RaiseIfUnhandledException();
}
/// <returns>No description supplied.</returns>
virtual public System.IntPtr GetOutdata() {
- var _ret_var = Efl.IThreadIOConcrete.NativeMethods.efl_threadio_outdata_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IThreadIOConcrete.NativeMethods.efl_threadio_outdata_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="data">No description supplied.</param>
virtual public void SetOutdata(System.IntPtr data) {
- Efl.IThreadIOConcrete.NativeMethods.efl_threadio_outdata_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),data);
+ Efl.IThreadIOConcrete.NativeMethods.efl_threadio_outdata_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),data);
Eina.Error.RaiseIfUnhandledException();
}
/// <param name="func">No description supplied.</param>
virtual public void Call(EFlThreadIOCall func) {
GCHandle func_handle = GCHandle.Alloc(func);
- Efl.IThreadIOConcrete.NativeMethods.efl_threadio_call_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),GCHandle.ToIntPtr(func_handle), EFlThreadIOCallWrapper.Cb, Efl.Eo.Globals.free_gchandle);
+ Efl.IThreadIOConcrete.NativeMethods.efl_threadio_call_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),GCHandle.ToIntPtr(func_handle), EFlThreadIOCallWrapper.Cb, Efl.Eo.Globals.free_gchandle);
Eina.Error.RaiseIfUnhandledException();
}
/// <param name="func">No description supplied.</param>
/// <returns>No description supplied.</returns>
virtual public System.IntPtr CallSync(EFlThreadIOCallSync func) {
GCHandle func_handle = GCHandle.Alloc(func);
- var _ret_var = Efl.IThreadIOConcrete.NativeMethods.efl_threadio_call_sync_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),GCHandle.ToIntPtr(func_handle), EFlThreadIOCallSyncWrapper.Cb, Efl.Eo.Globals.free_gchandle);
+ var _ret_var = Efl.IThreadIOConcrete.NativeMethods.efl_threadio_call_sync_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),GCHandle.ToIntPtr(func_handle), EFlThreadIOCallSyncWrapper.Cb, Efl.Eo.Globals.free_gchandle);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
///
/// If you set the command the arg_count/value property contents can change and be completely re-evaluated by parsing the command string into an argument array set along with interpreting escapes back into individual argument strings.</summary>
virtual public System.String GetCommand() {
- var _ret_var = Efl.Core.ICommandLineConcrete.NativeMethods.efl_core_command_line_command_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Core.ICommandLineConcrete.NativeMethods.efl_core_command_line_command_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Every element of a string is a argument.</summary>
/// <param name="array">An array where every array field is an argument</param>
/// <returns>On success <c>true</c>, <c>false</c> otherwise</returns>
- virtual public bool SetCommandArray(Eina.Array<System.String> array) {
+ virtual public bool SetCommandArray(Eina.Array<Eina.Stringshare> array) {
var _in_array = array.Handle;
array.Own = false;
array.OwnContent = false;
- var _ret_var = Efl.Core.ICommandLineConcrete.NativeMethods.efl_core_command_line_command_array_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_array);
+ var _ret_var = Efl.Core.ICommandLineConcrete.NativeMethods.efl_core_command_line_command_array_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_array);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="str">A command in form of a string</param>
/// <returns>On success <c>true</c>, <c>false</c> otherwise</returns>
virtual public bool SetCommandString(System.String str) {
- var _ret_var = Efl.Core.ICommandLineConcrete.NativeMethods.efl_core_command_line_command_string_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),str);
+ var _ret_var = Efl.Core.ICommandLineConcrete.NativeMethods.efl_core_command_line_command_string_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),str);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Get the accessor which enables access to each argument that got passed to this object.</summary>
- virtual public Eina.Accessor<System.String> CommandAccess() {
- var _ret_var = Efl.Core.ICommandLineConcrete.NativeMethods.efl_core_command_line_command_access_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ virtual public Eina.Accessor<Eina.Stringshare> CommandAccess() {
+ var _ret_var = Efl.Core.ICommandLineConcrete.NativeMethods.efl_core_command_line_command_access_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Accessor<System.String>(_ret_var, false, false);
+ return new Eina.Accessor<Eina.Stringshare>(_ret_var, false);
}
/// <summary>If true will notify object was closed.
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if closed, <c>false</c> otherwise</returns>
virtual public bool GetClosed() {
- var _ret_var = Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_closed_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_closed_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if close on exec(), <c>false</c> otherwise</returns>
virtual public bool GetCloseOnExec() {
- var _ret_var = Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_close_on_exec_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_close_on_exec_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="close_on_exec"><c>true</c> if close on exec(), <c>false</c> otherwise</param>
/// <returns><c>true</c> if could set, <c>false</c> if not supported or failed.</returns>
virtual public bool SetCloseOnExec(bool close_on_exec) {
- var _ret_var = Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_close_on_exec_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),close_on_exec);
+ var _ret_var = Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_close_on_exec_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),close_on_exec);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if close on invalidate, <c>false</c> otherwise</returns>
virtual public bool GetCloseOnInvalidate() {
- var _ret_var = Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_close_on_invalidate_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_close_on_invalidate_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="close_on_invalidate"><c>true</c> if close on invalidate, <c>false</c> otherwise</param>
virtual public void SetCloseOnInvalidate(bool close_on_invalidate) {
- Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_close_on_invalidate_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),close_on_invalidate);
+ Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_close_on_invalidate_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),close_on_invalidate);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Closes the Input/Output object.
/// (Since EFL 1.22)</summary>
/// <returns>0 on succeed, a mapping of errno otherwise</returns>
virtual public Eina.Error Close() {
- var _ret_var = Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_close_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_close_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if it can be read without blocking or failing, <c>false</c> otherwise</returns>
virtual public bool GetCanRead() {
- var _ret_var = Efl.Io.IReaderConcrete.NativeMethods.efl_io_reader_can_read_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Io.IReaderConcrete.NativeMethods.efl_io_reader_can_read_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="can_read"><c>true</c> if it can be read without blocking or failing, <c>false</c> otherwise</param>
virtual public void SetCanRead(bool can_read) {
- Efl.Io.IReaderConcrete.NativeMethods.efl_io_reader_can_read_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),can_read);
+ Efl.Io.IReaderConcrete.NativeMethods.efl_io_reader_can_read_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),can_read);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>If <c>true</c> will notify end of stream.
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if end of stream, <c>false</c> otherwise</returns>
virtual public bool GetEos() {
- var _ret_var = Efl.Io.IReaderConcrete.NativeMethods.efl_io_reader_eos_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Io.IReaderConcrete.NativeMethods.efl_io_reader_eos_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="is_eos"><c>true</c> if end of stream, <c>false</c> otherwise</param>
virtual public void SetEos(bool is_eos) {
- Efl.Io.IReaderConcrete.NativeMethods.efl_io_reader_eos_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),is_eos);
+ Efl.Io.IReaderConcrete.NativeMethods.efl_io_reader_eos_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),is_eos);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Reads data into a pre-allocated buffer.
/// (Since EFL 1.22)</summary>
/// <param name="rw_slice">Provides a pre-allocated memory to be filled up to rw_slice.len. It will be populated and the length will be set to the actually used amount of bytes, which can be smaller than the request.</param>
/// <returns>0 on succeed, a mapping of errno otherwise</returns>
- virtual public Eina.Error Read(ref Eina.RwSlice rw_slice) {
- var _ret_var = Efl.Io.IReaderConcrete.NativeMethods.efl_io_reader_read_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),ref rw_slice);
+ virtual public Eina.Error Read(ref Eina.RwSlice rw_slice) {
+ var _ret_var = Efl.Io.IReaderConcrete.NativeMethods.efl_io_reader_read_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),ref rw_slice);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if it can be written without blocking or failure, <c>false</c> otherwise</returns>
virtual public bool GetCanWrite() {
- var _ret_var = Efl.Io.IWriterConcrete.NativeMethods.efl_io_writer_can_write_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Io.IWriterConcrete.NativeMethods.efl_io_writer_can_write_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="can_write"><c>true</c> if it can be written without blocking or failure, <c>false</c> otherwise</param>
virtual public void SetCanWrite(bool can_write) {
- Efl.Io.IWriterConcrete.NativeMethods.efl_io_writer_can_write_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),can_write);
+ Efl.Io.IWriterConcrete.NativeMethods.efl_io_writer_can_write_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),can_write);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Writes data from a pre-populated buffer.
/// <param name="slice">Provides a pre-populated memory to be used up to slice.len. The returned slice will be adapted as length will be set to the actually used amount of bytes, which can be smaller than the request.</param>
/// <param name="remaining">Convenience to output the remaining parts of slice that was not written. If the full slice was written, this will be a slice of zero-length.</param>
/// <returns>0 on succeed, a mapping of errno otherwise</returns>
- virtual public Eina.Error Write(ref Eina.Slice slice, ref Eina.Slice remaining) {
- var _ret_var = Efl.Io.IWriterConcrete.NativeMethods.efl_io_writer_write_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),ref slice, ref remaining);
+ virtual public Eina.Error Write(ref Eina.Slice slice, ref Eina.Slice remaining) {
+ var _ret_var = Efl.Io.IWriterConcrete.NativeMethods.efl_io_writer_write_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),ref slice, ref remaining);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Use an array to fill this object
/// Every element of a string is a argument.</summary>
/// <value>An array where every array field is an argument</value>
- public Eina.Array<System.String> CommandArray {
+ public Eina.Array<Eina.Stringshare> CommandArray {
set { SetCommandArray(value); }
}
/// <summary>Use a string to fill this object
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- var _in_array = new Eina.Array<System.String>(array, true, true);
+ var _in_array = new Eina.Array<Eina.Stringshare>(array, true, true);
bool _ret_var = default(bool);
try
{
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- Eina.Accessor<System.String> _ret_var = default(Eina.Accessor<System.String>);
+ Eina.Accessor<Eina.Stringshare> _ret_var = default(Eina.Accessor<Eina.Stringshare>);
try
{
_ret_var = ((Appthread)ws.Target).CommandAccess();
private static efl_io_reader_eos_set_delegate efl_io_reader_eos_set_static_delegate;
- private delegate Eina.Error efl_io_reader_read_delegate(System.IntPtr obj, System.IntPtr pd, ref Eina.RwSlice rw_slice);
+ private delegate Eina.Error efl_io_reader_read_delegate(System.IntPtr obj, System.IntPtr pd, ref Eina.RwSlice rw_slice);
- public delegate Eina.Error efl_io_reader_read_api_delegate(System.IntPtr obj, ref Eina.RwSlice rw_slice);
+ public delegate Eina.Error efl_io_reader_read_api_delegate(System.IntPtr obj, ref Eina.RwSlice rw_slice);
public static Efl.Eo.FunctionWrapper<efl_io_reader_read_api_delegate> efl_io_reader_read_ptr = new Efl.Eo.FunctionWrapper<efl_io_reader_read_api_delegate>(Module, "efl_io_reader_read");
- private static Eina.Error read(System.IntPtr obj, System.IntPtr pd, ref Eina.RwSlice rw_slice)
+ private static Eina.Error read(System.IntPtr obj, System.IntPtr pd, ref Eina.RwSlice rw_slice)
{
Eina.Log.Debug("function efl_io_reader_read was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
private static efl_io_writer_can_write_set_delegate efl_io_writer_can_write_set_static_delegate;
- private delegate Eina.Error efl_io_writer_write_delegate(System.IntPtr obj, System.IntPtr pd, ref Eina.Slice slice, ref Eina.Slice remaining);
+ private delegate Eina.Error efl_io_writer_write_delegate(System.IntPtr obj, System.IntPtr pd, ref Eina.Slice slice, ref Eina.Slice remaining);
- public delegate Eina.Error efl_io_writer_write_api_delegate(System.IntPtr obj, ref Eina.Slice slice, ref Eina.Slice remaining);
+ public delegate Eina.Error efl_io_writer_write_api_delegate(System.IntPtr obj, ref Eina.Slice slice, ref Eina.Slice remaining);
public static Efl.Eo.FunctionWrapper<efl_io_writer_write_api_delegate> efl_io_writer_write_ptr = new Efl.Eo.FunctionWrapper<efl_io_writer_write_api_delegate>(Module, "efl_io_writer_write");
- private static Eina.Error write(System.IntPtr obj, System.IntPtr pd, ref Eina.Slice slice, ref Eina.Slice remaining)
+ private static Eina.Error write(System.IntPtr obj, System.IntPtr pd, ref Eina.Slice slice, ref Eina.Slice remaining)
{
Eina.Log.Debug("function efl_io_writer_write was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- remaining = default(Eina.Slice); Eina.Error _ret_var = default(Eina.Error);
+ remaining = default( Eina.Slice); Eina.Error _ret_var = default(Eina.Error);
try
{
_ret_var = ((Appthread)ws.Target).Write(ref slice, ref remaining);
/// <summary>Efl boolean model class</summary>
[Efl.BooleanModel.NativeMethods]
+[Efl.Eo.BindingEntity]
public class BooleanModel : Efl.CompositeModel
{
///<summary>Pointer to the native class description.</summary>
efl_boolean_model_class_get();
/// <summary>Initializes a new instance of the <see cref="BooleanModel"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="model">Model that is/will be See <see cref="Efl.Ui.IView.SetModel"/></param>
- /// <param name="index">Position of this object in the parent model. See <see cref="Efl.CompositeModel.SetIndex"/></param>
+ /// <param name="model">Model that is/will be See <see cref="Efl.Ui.IView.SetModel" /></param>
+ /// <param name="index">Position of this object in the parent model. See <see cref="Efl.CompositeModel.SetIndex" /></param>
public BooleanModel(Efl.Object parent
- , Efl.IModel model, uint? index = null) : base(efl_boolean_model_class_get(), typeof(BooleanModel), parent)
+ , Efl.IModel model, uint? index = null) : base(efl_boolean_model_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(model))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected BooleanModel(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="BooleanModel"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected BooleanModel(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected BooleanModel(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="BooleanModel"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected BooleanModel(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected BooleanModel(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>Add a new named boolean property with a defined default value.</summary>
virtual public void AddBoolean(System.String name, bool default_value) {
- Efl.BooleanModel.NativeMethods.efl_boolean_model_boolean_add_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),name, default_value);
+ Efl.BooleanModel.NativeMethods.efl_boolean_model_boolean_add_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),name, default_value);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Delete an existing named boolean property</summary>
virtual public void DelBoolean(System.String name) {
- Efl.BooleanModel.NativeMethods.efl_boolean_model_boolean_del_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),name);
+ Efl.BooleanModel.NativeMethods.efl_boolean_model_boolean_del_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),name);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get an iterator that will quickly find all the index with the requested value for a specific boolean.</summary>
/// <returns>The iterator that is valid until any change is made on the model.</returns>
virtual public Eina.Iterator<ulong> GetBooleanIterator(System.String name, bool request) {
- var _ret_var = Efl.BooleanModel.NativeMethods.efl_boolean_model_boolean_iterator_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),name, request);
+ var _ret_var = Efl.BooleanModel.NativeMethods.efl_boolean_model_boolean_iterator_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),name, request);
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<ulong>(_ret_var, false, false);
+ return new Eina.Iterator<ulong>(_ret_var, false);
}
private static IntPtr GetEflClassStatic()
{
/// <summary>Efl bounce interpolator class</summary>
[Efl.BounceInterpolator.NativeMethods]
+[Efl.Eo.BindingEntity]
public class BounceInterpolator : Efl.Object, Efl.IInterpolator
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="BounceInterpolator"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public BounceInterpolator(Efl.Object parent= null
- ) : base(efl_bounce_interpolator_class_get(), typeof(BounceInterpolator), parent)
+ ) : base(efl_bounce_interpolator_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected BounceInterpolator(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="BounceInterpolator"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected BounceInterpolator(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected BounceInterpolator(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="BounceInterpolator"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected BounceInterpolator(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected BounceInterpolator(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <param name="factor1">First factor of the interpolation function.</param>
/// <param name="factor2">Second factor of the interpolation function.</param>
virtual public void GetFactors(out double factor1, out double factor2) {
- Efl.BounceInterpolator.NativeMethods.efl_bounce_interpolator_factors_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out factor1, out factor2);
+ Efl.BounceInterpolator.NativeMethods.efl_bounce_interpolator_factors_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out factor1, out factor2);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Factors property</summary>
/// <param name="factor1">First factor of the interpolation function.</param>
/// <param name="factor2">Second factor of the interpolation function.</param>
virtual public void SetFactors(double factor1, double factor2) {
- Efl.BounceInterpolator.NativeMethods.efl_bounce_interpolator_factors_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),factor1, factor2);
+ Efl.BounceInterpolator.NativeMethods.efl_bounce_interpolator_factors_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),factor1, factor2);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Interpolate the given value.</summary>
/// <param name="progress">Input value mapped from 0.0 to 1.0.</param>
/// <returns>Output value calculated by interpolating the input value.</returns>
virtual public double Interpolate(double progress) {
- var _ret_var = Efl.IInterpolatorConcrete.NativeMethods.efl_interpolator_interpolate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),progress);
+ var _ret_var = Efl.IInterpolatorConcrete.NativeMethods.efl_interpolator_interpolate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),progress);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Efl Cached Item interface</summary>
[Efl.Cached.IItemConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IItem :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IItemConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_cached_item_interface_get();
/// <summary>Initializes a new instance of the <see cref="IItem"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IItemConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IItemConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Efl animation class</summary>
[Efl.Canvas.Animation.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Animation : Efl.Object, Efl.IPlayable
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="Animation"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public Animation(Efl.Object parent= null
- ) : base(efl_canvas_animation_class_get(), typeof(Animation), parent)
+ ) : base(efl_canvas_animation_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Animation(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Animation"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Animation(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Animation(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Animation"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Animation(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Animation(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>Keep final state property</summary>
/// <returns><c>true</c> to keep final state, <c>false</c> otherwise.</returns>
virtual public bool GetFinalStateKeep() {
- var _ret_var = Efl.Canvas.Animation.NativeMethods.efl_animation_final_state_keep_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Animation.NativeMethods.efl_animation_final_state_keep_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Keep final state property</summary>
/// <param name="keep"><c>true</c> to keep final state, <c>false</c> otherwise.</param>
virtual public void SetFinalStateKeep(bool keep) {
- Efl.Canvas.Animation.NativeMethods.efl_animation_final_state_keep_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),keep);
+ Efl.Canvas.Animation.NativeMethods.efl_animation_final_state_keep_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),keep);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Duration property</summary>
/// <returns>Duration value.</returns>
virtual public double GetDuration() {
- var _ret_var = Efl.Canvas.Animation.NativeMethods.efl_animation_duration_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Animation.NativeMethods.efl_animation_duration_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Duration property</summary>
/// <param name="sec">Duration value.</param>
virtual public void SetDuration(double sec) {
- Efl.Canvas.Animation.NativeMethods.efl_animation_duration_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),sec);
+ Efl.Canvas.Animation.NativeMethods.efl_animation_duration_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),sec);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Repeat mode property</summary>
/// <returns>Repeat mode. EFL_ANIMATION_REPEAT_MODE_RESTART restarts animation when the animation ends and EFL_ANIMATION_REPEAT_MODE_REVERSE reverses animation when the animation ends.</returns>
virtual public Efl.Canvas.AnimationRepeatMode GetRepeatMode() {
- var _ret_var = Efl.Canvas.Animation.NativeMethods.efl_animation_repeat_mode_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Animation.NativeMethods.efl_animation_repeat_mode_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Repeat mode property</summary>
/// <param name="mode">Repeat mode. EFL_ANIMATION_REPEAT_MODE_RESTART restarts animation when the animation ends and EFL_ANIMATION_REPEAT_MODE_REVERSE reverses animation when the animation ends.</param>
virtual public void SetRepeatMode(Efl.Canvas.AnimationRepeatMode mode) {
- Efl.Canvas.Animation.NativeMethods.efl_animation_repeat_mode_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),mode);
+ Efl.Canvas.Animation.NativeMethods.efl_animation_repeat_mode_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),mode);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Repeat count property</summary>
/// <returns>Repeat count. EFL_ANIMATION_REPEAT_INFINITE repeats animation infinitely.</returns>
virtual public int GetRepeatCount() {
- var _ret_var = Efl.Canvas.Animation.NativeMethods.efl_animation_repeat_count_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Animation.NativeMethods.efl_animation_repeat_count_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Repeat count property</summary>
/// <param name="count">Repeat count. EFL_ANIMATION_REPEAT_INFINITE repeats animation infinitely.</param>
virtual public void SetRepeatCount(int count) {
- Efl.Canvas.Animation.NativeMethods.efl_animation_repeat_count_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),count);
+ Efl.Canvas.Animation.NativeMethods.efl_animation_repeat_count_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),count);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Start delay property</summary>
/// <returns>Delay time, in seconds, from when the animation starts until the animation is animated</returns>
virtual public double GetStartDelay() {
- var _ret_var = Efl.Canvas.Animation.NativeMethods.efl_animation_start_delay_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Animation.NativeMethods.efl_animation_start_delay_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Start delay property</summary>
/// <param name="sec">Delay time, in seconds, from when the animation starts until the animation is animated</param>
virtual public void SetStartDelay(double sec) {
- Efl.Canvas.Animation.NativeMethods.efl_animation_start_delay_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),sec);
+ Efl.Canvas.Animation.NativeMethods.efl_animation_start_delay_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),sec);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Interpolator property</summary>
/// <returns>Interpolator which indicates interpolation function. Efl_Interpolator is required.</returns>
virtual public Efl.IInterpolator GetInterpolator() {
- var _ret_var = Efl.Canvas.Animation.NativeMethods.efl_animation_interpolator_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Animation.NativeMethods.efl_animation_interpolator_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Interpolator property</summary>
/// <param name="interpolator">Interpolator which indicates interpolation function. Efl_Interpolator is required.</param>
virtual public void SetInterpolator(Efl.IInterpolator interpolator) {
- Efl.Canvas.Animation.NativeMethods.efl_animation_interpolator_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),interpolator);
+ Efl.Canvas.Animation.NativeMethods.efl_animation_interpolator_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),interpolator);
Eina.Error.RaiseIfUnhandledException();
}
/// <returns>Final applied progress.</returns>
virtual public double AnimationApply(double progress, Efl.Canvas.Object target) {
- var _ret_var = Efl.Canvas.Animation.NativeMethods.efl_animation_apply_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),progress, target);
+ var _ret_var = Efl.Canvas.Animation.NativeMethods.efl_animation_apply_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),progress, target);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Get the length of play for the media file.</summary>
/// <returns>The length of the stream in seconds.</returns>
virtual public double GetLength() {
- var _ret_var = Efl.IPlayableConcrete.NativeMethods.efl_playable_length_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPlayableConcrete.NativeMethods.efl_playable_length_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
virtual public bool GetPlayable() {
- var _ret_var = Efl.IPlayableConcrete.NativeMethods.efl_playable_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPlayableConcrete.NativeMethods.efl_playable_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Get whether the media file is seekable.</summary>
/// <returns><c>true</c> if seekable.</returns>
virtual public bool GetSeekable() {
- var _ret_var = Efl.IPlayableConcrete.NativeMethods.efl_playable_seekable_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPlayableConcrete.NativeMethods.efl_playable_seekable_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Efl alpha animation class</summary>
[Efl.Canvas.AnimationAlpha.NativeMethods]
+[Efl.Eo.BindingEntity]
public class AnimationAlpha : Efl.Canvas.Animation
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="AnimationAlpha"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public AnimationAlpha(Efl.Object parent= null
- ) : base(efl_canvas_animation_alpha_class_get(), typeof(AnimationAlpha), parent)
+ ) : base(efl_canvas_animation_alpha_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected AnimationAlpha(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="AnimationAlpha"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected AnimationAlpha(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected AnimationAlpha(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="AnimationAlpha"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected AnimationAlpha(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected AnimationAlpha(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <param name="from_alpha">Alpha value when animation starts</param>
/// <param name="to_alpha">Alpha value when animation ends</param>
virtual public void GetAlpha(out double from_alpha, out double to_alpha) {
- Efl.Canvas.AnimationAlpha.NativeMethods.efl_animation_alpha_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out from_alpha, out to_alpha);
+ Efl.Canvas.AnimationAlpha.NativeMethods.efl_animation_alpha_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out from_alpha, out to_alpha);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Alpha property</summary>
/// <param name="from_alpha">Alpha value when animation starts</param>
/// <param name="to_alpha">Alpha value when animation ends</param>
virtual public void SetAlpha(double from_alpha, double to_alpha) {
- Efl.Canvas.AnimationAlpha.NativeMethods.efl_animation_alpha_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),from_alpha, to_alpha);
+ Efl.Canvas.AnimationAlpha.NativeMethods.efl_animation_alpha_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),from_alpha, to_alpha);
Eina.Error.RaiseIfUnhandledException();
}
private static IntPtr GetEflClassStatic()
/// <summary>Efl group animation abstract class</summary>
[Efl.Canvas.AnimationGroup.NativeMethods]
+[Efl.Eo.BindingEntity]
public abstract class AnimationGroup : Efl.Canvas.Animation
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="AnimationGroup"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public AnimationGroup(Efl.Object parent= null
- ) : base(efl_canvas_animation_group_class_get(), typeof(AnimationGroup), parent)
+ ) : base(efl_canvas_animation_group_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected AnimationGroup(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="AnimationGroup"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected AnimationGroup(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected AnimationGroup(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
[Efl.Eo.PrivateNativeClass]
private class AnimationGroupRealized : AnimationGroup
{
- private AnimationGroupRealized(IntPtr ptr) : base(ptr)
+ private AnimationGroupRealized(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Initializes a new instance of the <see cref="AnimationGroup"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected AnimationGroup(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected AnimationGroup(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>Add the given animation to the animation group.</summary>
/// <param name="animation">The animation which needs to be added to the animation group</param>
virtual public void AddAnimation(Efl.Canvas.Animation animation) {
- Efl.Canvas.AnimationGroup.NativeMethods.efl_animation_group_animation_add_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),animation);
+ Efl.Canvas.AnimationGroup.NativeMethods.efl_animation_group_animation_add_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),animation);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Delete the given animation from the animation group.</summary>
/// <param name="animation">The animation which needs to be deleted from the animation group</param>
virtual public void DelAnimation(Efl.Canvas.Animation animation) {
- Efl.Canvas.AnimationGroup.NativeMethods.efl_animation_group_animation_del_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),animation);
+ Efl.Canvas.AnimationGroup.NativeMethods.efl_animation_group_animation_del_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),animation);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the animations of the animation group.</summary>
/// <returns>The animations of the animation group</returns>
virtual public Eina.List<Efl.Canvas.Animation> GetAnimations() {
- var _ret_var = Efl.Canvas.AnimationGroup.NativeMethods.efl_animation_group_animations_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.AnimationGroup.NativeMethods.efl_animation_group_animations_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return new Eina.List<Efl.Canvas.Animation>(_ret_var, false, false);
}
/// <summary>Efl group parallel animation class</summary>
[Efl.Canvas.AnimationGroupParallel.NativeMethods]
+[Efl.Eo.BindingEntity]
public class AnimationGroupParallel : Efl.Canvas.AnimationGroup
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="AnimationGroupParallel"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public AnimationGroupParallel(Efl.Object parent= null
- ) : base(efl_canvas_animation_group_parallel_class_get(), typeof(AnimationGroupParallel), parent)
+ ) : base(efl_canvas_animation_group_parallel_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected AnimationGroupParallel(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="AnimationGroupParallel"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected AnimationGroupParallel(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected AnimationGroupParallel(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="AnimationGroupParallel"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected AnimationGroupParallel(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected AnimationGroupParallel(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>Efl group sequential animation class</summary>
[Efl.Canvas.AnimationGroupSequential.NativeMethods]
+[Efl.Eo.BindingEntity]
public class AnimationGroupSequential : Efl.Canvas.AnimationGroup
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="AnimationGroupSequential"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public AnimationGroupSequential(Efl.Object parent= null
- ) : base(efl_canvas_animation_group_sequential_class_get(), typeof(AnimationGroupSequential), parent)
+ ) : base(efl_canvas_animation_group_sequential_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected AnimationGroupSequential(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="AnimationGroupSequential"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected AnimationGroupSequential(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected AnimationGroupSequential(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="AnimationGroupSequential"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected AnimationGroupSequential(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected AnimationGroupSequential(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
namespace Canvas {
///<summary>Event argument wrapper for event <see cref="Efl.Canvas.AnimationPlayer.RunningEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class AnimationPlayerRunningEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Canvas.ObjectAnimationEvent arg { get; set; }
}
/// <summary>Efl animation object class</summary>
[Efl.Canvas.AnimationPlayer.NativeMethods]
+[Efl.Eo.BindingEntity]
public class AnimationPlayer : Efl.Object, Efl.IPlayer
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="AnimationPlayer"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public AnimationPlayer(Efl.Object parent= null
- ) : base(efl_canvas_animation_player_class_get(), typeof(AnimationPlayer), parent)
+ ) : base(efl_canvas_animation_player_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected AnimationPlayer(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="AnimationPlayer"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected AnimationPlayer(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected AnimationPlayer(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="AnimationPlayer"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected AnimationPlayer(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected AnimationPlayer(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ANIMATION_PLAYER_EVENT_STARTED";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
if (obj != null)
{
Efl.Canvas.AnimationPlayerRunningEvt_Args args = new Efl.Canvas.AnimationPlayerRunningEvt_Args();
- args.arg = default(Efl.Canvas.ObjectAnimationEvent);
+ args.arg = (Efl.Canvas.ObjectAnimationEvent)evt.Info;
try
{
value?.Invoke(obj, args);
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ANIMATION_PLAYER_EVENT_RUNNING";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ANIMATION_PLAYER_EVENT_ENDED";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
virtual public Efl.Canvas.Animation GetAnimation() {
- var _ret_var = Efl.Canvas.AnimationPlayer.NativeMethods.efl_animation_player_animation_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.AnimationPlayer.NativeMethods.efl_animation_player_animation_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
virtual public void SetAnimation(Efl.Canvas.Animation animation) {
- Efl.Canvas.AnimationPlayer.NativeMethods.efl_animation_player_animation_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),animation);
+ Efl.Canvas.AnimationPlayer.NativeMethods.efl_animation_player_animation_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),animation);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Auto delete property</summary>
/// <returns><c>true</c> to delete animation object automatically when animation is finished or animation is cancelled, <c>false</c> otherwise.</returns>
virtual public bool GetAutoDel() {
- var _ret_var = Efl.Canvas.AnimationPlayer.NativeMethods.efl_animation_player_auto_del_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.AnimationPlayer.NativeMethods.efl_animation_player_auto_del_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Auto delete property</summary>
/// <param name="auto_del"><c>true</c> to delete animation object automatically when animation is finished or animation is cancelled, <c>false</c> otherwise.</param>
virtual public void SetAutoDel(bool auto_del) {
- Efl.Canvas.AnimationPlayer.NativeMethods.efl_animation_player_auto_del_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),auto_del);
+ Efl.Canvas.AnimationPlayer.NativeMethods.efl_animation_player_auto_del_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),auto_del);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Target object property</summary>
/// <returns>Target object which is applied animation.</returns>
virtual public Efl.Canvas.Object GetTarget() {
- var _ret_var = Efl.Canvas.AnimationPlayer.NativeMethods.efl_animation_player_target_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.AnimationPlayer.NativeMethods.efl_animation_player_target_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Target object property</summary>
/// <param name="target">Target object which is applied animation.</param>
virtual public void SetTarget(Efl.Canvas.Object target) {
- Efl.Canvas.AnimationPlayer.NativeMethods.efl_animation_player_target_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),target);
+ Efl.Canvas.AnimationPlayer.NativeMethods.efl_animation_player_target_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),target);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Whether or not the playable can be played.</summary>
/// <returns><c>true</c> if the object have playable data, <c>false</c> otherwise</returns>
virtual public bool GetPlayable() {
- var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_playable_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_playable_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Get play/pause state of the media file.</summary>
/// <returns><c>true</c> if playing, <c>false</c> otherwise.</returns>
virtual public bool GetPlay() {
- var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_play_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_play_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This functions sets the currently playing status of the video. Using this function to play or pause the video doesn't alter it's current position.</summary>
/// <param name="play"><c>true</c> if playing, <c>false</c> otherwise.</param>
virtual public void SetPlay(bool play) {
- Efl.IPlayerConcrete.NativeMethods.efl_player_play_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),play);
+ Efl.IPlayerConcrete.NativeMethods.efl_player_play_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),play);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the position in the media file.
/// The position is returned as the number of seconds since the beginning of the media file.</summary>
/// <returns>The position (in seconds).</returns>
virtual public double GetPos() {
- var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_pos_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_pos_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This functions sets the current position of the media file to "sec", this only works on seekable streams. Setting the position doesn't change the playing state of the media file.</summary>
/// <param name="sec">The position (in seconds).</param>
virtual public void SetPos(double sec) {
- Efl.IPlayerConcrete.NativeMethods.efl_player_pos_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),sec);
+ Efl.IPlayerConcrete.NativeMethods.efl_player_pos_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),sec);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get how much of the file has been played.
/// This function gets the progress in playing the file, the return value is in the [0, 1] range.</summary>
/// <returns>The progress within the [0, 1] range.</returns>
virtual public double GetProgress() {
- var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_progress_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_progress_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This function control the speed with which the media file will be played. 1.0 represents the normal speed, 2 double speed, 0.5 half speed and so on.</summary>
/// <returns>The play speed in the [0, infinity) range.</returns>
virtual public double GetPlaySpeed() {
- var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_play_speed_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_play_speed_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This function control the speed with which the media file will be played. 1.0 represents the normal speed, 2 double speed, 0.5 half speed and so on.</summary>
/// <param name="speed">The play speed in the [0, infinity) range.</param>
virtual public void SetPlaySpeed(double speed) {
- Efl.IPlayerConcrete.NativeMethods.efl_player_play_speed_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),speed);
+ Efl.IPlayerConcrete.NativeMethods.efl_player_play_speed_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),speed);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control the audio volume.
/// Controls the audio volume of the stream being played. This has nothing to do with the system volume. This volume will be multiplied by the system volume. e.g.: if the current volume level is 0.5, and the system volume is 50%, it will be 0.5 * 0.5 = 0.25.</summary>
/// <returns>The volume level</returns>
virtual public double GetVolume() {
- var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_volume_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_volume_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Controls the audio volume of the stream being played. This has nothing to do with the system volume. This volume will be multiplied by the system volume. e.g.: if the current volume level is 0.5, and the system volume is 50%, it will be 0.5 * 0.5 = 0.25.</summary>
/// <param name="volume">The volume level</param>
virtual public void SetVolume(double volume) {
- Efl.IPlayerConcrete.NativeMethods.efl_player_volume_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),volume);
+ Efl.IPlayerConcrete.NativeMethods.efl_player_volume_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),volume);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This property controls the audio mute state.</summary>
/// <returns>The mute state. <c>true</c> or <c>false</c>.</returns>
virtual public bool GetMute() {
- var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_mute_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_mute_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>This property controls the audio mute state.</summary>
/// <param name="mute">The mute state. <c>true</c> or <c>false</c>.</param>
virtual public void SetMute(bool mute) {
- Efl.IPlayerConcrete.NativeMethods.efl_player_mute_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),mute);
+ Efl.IPlayerConcrete.NativeMethods.efl_player_mute_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),mute);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the length of play for the media file.</summary>
/// <returns>The length of the stream in seconds.</returns>
virtual public double GetLength() {
- var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_length_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_length_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Get whether the media file is seekable.</summary>
/// <returns><c>true</c> if seekable.</returns>
virtual public bool GetSeekable() {
- var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_seekable_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_seekable_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Start a playing playable object.</summary>
virtual public void Start() {
- Efl.IPlayerConcrete.NativeMethods.efl_player_start_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.IPlayerConcrete.NativeMethods.efl_player_start_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Stop playable object.</summary>
virtual public void Stop() {
- Efl.IPlayerConcrete.NativeMethods.efl_player_stop_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.IPlayerConcrete.NativeMethods.efl_player_stop_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
public Efl.Canvas.Animation Animation {
/// <summary>Efl rotate animation class</summary>
[Efl.Canvas.AnimationRotate.NativeMethods]
+[Efl.Eo.BindingEntity]
public class AnimationRotate : Efl.Canvas.Animation
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="AnimationRotate"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public AnimationRotate(Efl.Object parent= null
- ) : base(efl_canvas_animation_rotate_class_get(), typeof(AnimationRotate), parent)
+ ) : base(efl_canvas_animation_rotate_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected AnimationRotate(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="AnimationRotate"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected AnimationRotate(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected AnimationRotate(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="AnimationRotate"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected AnimationRotate(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected AnimationRotate(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <param name="cx">X relative coordinate of the center point. The left end is 0.0 and the right end is 1.0 (the center is 0.5).</param>
/// <param name="cy">Y relative coordinate of the center point. The top end is 0.0 and the bottom end is 1.0 (the center is 0.5).</param>
virtual public void GetRotate(out double from_degree, out double to_degree, out Efl.Canvas.Object pivot, out double cx, out double cy) {
- Efl.Canvas.AnimationRotate.NativeMethods.efl_animation_rotate_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out from_degree, out to_degree, out pivot, out cx, out cy);
+ Efl.Canvas.AnimationRotate.NativeMethods.efl_animation_rotate_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out from_degree, out to_degree, out pivot, out cx, out cy);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Rotate property</summary>
/// <param name="cx">X relative coordinate of the center point. The left end is 0.0 and the right end is 1.0 (the center is 0.5).</param>
/// <param name="cy">Y relative coordinate of the center point. The top end is 0.0 and the bottom end is 1.0 (the center is 0.5).</param>
virtual public void SetRotate(double from_degree, double to_degree, Efl.Canvas.Object pivot, double cx, double cy) {
- Efl.Canvas.AnimationRotate.NativeMethods.efl_animation_rotate_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),from_degree, to_degree, pivot, cx, cy);
+ Efl.Canvas.AnimationRotate.NativeMethods.efl_animation_rotate_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),from_degree, to_degree, pivot, cx, cy);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Rotate absolute property</summary>
/// <param name="cx">X absolute coordinate of the center point.</param>
/// <param name="cy">Y absolute coordinate of the center point.</param>
virtual public void GetRotateAbsolute(out double from_degree, out double to_degree, out int cx, out int cy) {
- Efl.Canvas.AnimationRotate.NativeMethods.efl_animation_rotate_absolute_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out from_degree, out to_degree, out cx, out cy);
+ Efl.Canvas.AnimationRotate.NativeMethods.efl_animation_rotate_absolute_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out from_degree, out to_degree, out cx, out cy);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Rotate absolute property</summary>
/// <param name="cx">X absolute coordinate of the center point.</param>
/// <param name="cy">Y absolute coordinate of the center point.</param>
virtual public void SetRotateAbsolute(double from_degree, double to_degree, int cx, int cy) {
- Efl.Canvas.AnimationRotate.NativeMethods.efl_animation_rotate_absolute_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),from_degree, to_degree, cx, cy);
+ Efl.Canvas.AnimationRotate.NativeMethods.efl_animation_rotate_absolute_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),from_degree, to_degree, cx, cy);
Eina.Error.RaiseIfUnhandledException();
}
private static IntPtr GetEflClassStatic()
/// <summary>Efl scale animation class</summary>
[Efl.Canvas.AnimationScale.NativeMethods]
+[Efl.Eo.BindingEntity]
public class AnimationScale : Efl.Canvas.Animation
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="AnimationScale"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public AnimationScale(Efl.Object parent= null
- ) : base(efl_canvas_animation_scale_class_get(), typeof(AnimationScale), parent)
+ ) : base(efl_canvas_animation_scale_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected AnimationScale(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="AnimationScale"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected AnimationScale(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected AnimationScale(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="AnimationScale"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected AnimationScale(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected AnimationScale(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <param name="cx">X relative coordinate of the center point. The left end is 0.0 and the right end is 1.0 (the center is 0.5).</param>
/// <param name="cy">Y relative coordinate of the center point. The top end is 0.0 and the bottom end is 1.0 (the center is 0.5).</param>
virtual public void GetScale(out double from_scale_x, out double from_scale_y, out double to_scale_x, out double to_scale_y, out Efl.Canvas.Object pivot, out double cx, out double cy) {
- Efl.Canvas.AnimationScale.NativeMethods.efl_animation_scale_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out from_scale_x, out from_scale_y, out to_scale_x, out to_scale_y, out pivot, out cx, out cy);
+ Efl.Canvas.AnimationScale.NativeMethods.efl_animation_scale_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out from_scale_x, out from_scale_y, out to_scale_x, out to_scale_y, out pivot, out cx, out cy);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Scale property</summary>
/// <param name="cx">X relative coordinate of the center point. The left end is 0.0 and the right end is 1.0 (the center is 0.5).</param>
/// <param name="cy">Y relative coordinate of the center point. The top end is 0.0 and the bottom end is 1.0 (the center is 0.5).</param>
virtual public void SetScale(double from_scale_x, double from_scale_y, double to_scale_x, double to_scale_y, Efl.Canvas.Object pivot, double cx, double cy) {
- Efl.Canvas.AnimationScale.NativeMethods.efl_animation_scale_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),from_scale_x, from_scale_y, to_scale_x, to_scale_y, pivot, cx, cy);
+ Efl.Canvas.AnimationScale.NativeMethods.efl_animation_scale_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),from_scale_x, from_scale_y, to_scale_x, to_scale_y, pivot, cx, cy);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Scale absolute property</summary>
/// <param name="cx">X absolute coordinate of the center point.</param>
/// <param name="cy">Y absolute coordinate of the center point.</param>
virtual public void GetScaleAbsolute(out double from_scale_x, out double from_scale_y, out double to_scale_x, out double to_scale_y, out int cx, out int cy) {
- Efl.Canvas.AnimationScale.NativeMethods.efl_animation_scale_absolute_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out from_scale_x, out from_scale_y, out to_scale_x, out to_scale_y, out cx, out cy);
+ Efl.Canvas.AnimationScale.NativeMethods.efl_animation_scale_absolute_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out from_scale_x, out from_scale_y, out to_scale_x, out to_scale_y, out cx, out cy);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Scale absolute property</summary>
/// <param name="cx">X absolute coordinate of the center point.</param>
/// <param name="cy">Y absolute coordinate of the center point.</param>
virtual public void SetScaleAbsolute(double from_scale_x, double from_scale_y, double to_scale_x, double to_scale_y, int cx, int cy) {
- Efl.Canvas.AnimationScale.NativeMethods.efl_animation_scale_absolute_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),from_scale_x, from_scale_y, to_scale_x, to_scale_y, cx, cy);
+ Efl.Canvas.AnimationScale.NativeMethods.efl_animation_scale_absolute_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),from_scale_x, from_scale_y, to_scale_x, to_scale_y, cx, cy);
Eina.Error.RaiseIfUnhandledException();
}
private static IntPtr GetEflClassStatic()
/// <summary>Efl translate animation class</summary>
[Efl.Canvas.AnimationTranslate.NativeMethods]
+[Efl.Eo.BindingEntity]
public class AnimationTranslate : Efl.Canvas.Animation
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="AnimationTranslate"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public AnimationTranslate(Efl.Object parent= null
- ) : base(efl_canvas_animation_translate_class_get(), typeof(AnimationTranslate), parent)
+ ) : base(efl_canvas_animation_translate_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected AnimationTranslate(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="AnimationTranslate"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected AnimationTranslate(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected AnimationTranslate(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="AnimationTranslate"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected AnimationTranslate(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected AnimationTranslate(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <param name="to_x">Distance moved along x axis when animation ends</param>
/// <param name="to_y">Distance moved along y axis when animation ends</param>
virtual public void GetTranslate(out int from_x, out int from_y, out int to_x, out int to_y) {
- Efl.Canvas.AnimationTranslate.NativeMethods.efl_animation_translate_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out from_x, out from_y, out to_x, out to_y);
+ Efl.Canvas.AnimationTranslate.NativeMethods.efl_animation_translate_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out from_x, out from_y, out to_x, out to_y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Translate property</summary>
/// <param name="to_x">Distance moved along x axis when animation ends</param>
/// <param name="to_y">Distance moved along y axis when animation ends</param>
virtual public void SetTranslate(int from_x, int from_y, int to_x, int to_y) {
- Efl.Canvas.AnimationTranslate.NativeMethods.efl_animation_translate_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),from_x, from_y, to_x, to_y);
+ Efl.Canvas.AnimationTranslate.NativeMethods.efl_animation_translate_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),from_x, from_y, to_x, to_y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Translate absolute property</summary>
/// <param name="to_x">X coordinate when animation ends</param>
/// <param name="to_y">Y coordinate when animation ends</param>
virtual public void GetTranslateAbsolute(out int from_x, out int from_y, out int to_x, out int to_y) {
- Efl.Canvas.AnimationTranslate.NativeMethods.efl_animation_translate_absolute_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out from_x, out from_y, out to_x, out to_y);
+ Efl.Canvas.AnimationTranslate.NativeMethods.efl_animation_translate_absolute_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out from_x, out from_y, out to_x, out to_y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Translate absolute property</summary>
/// <param name="to_x">X coordinate when animation ends</param>
/// <param name="to_y">Y coordinate when animation ends</param>
virtual public void SetTranslateAbsolute(int from_x, int from_y, int to_x, int to_y) {
- Efl.Canvas.AnimationTranslate.NativeMethods.efl_animation_translate_absolute_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),from_x, from_y, to_x, to_y);
+ Efl.Canvas.AnimationTranslate.NativeMethods.efl_animation_translate_absolute_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),from_x, from_y, to_x, to_y);
Eina.Error.RaiseIfUnhandledException();
}
private static IntPtr GetEflClassStatic()
namespace Canvas {
/// <summary>Animation repeat mode</summary>
+[Efl.Eo.BindingEntity]
public enum AnimationRepeatMode
{
/// <summary>Restart animation when the animation ends.</summary>
/// <summary>Information of event running</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct AnimationPlayerEventRunning
{
///<summary>Placeholder field</summary>
///
/// No child objects should be stacked above the event grabber parent while the grabber is visible. A critical error will be raised if this is detected.</summary>
[Efl.Canvas.EventGrabber.NativeMethods]
+[Efl.Eo.BindingEntity]
public class EventGrabber : Efl.Canvas.Group
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="EventGrabber"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public EventGrabber(Efl.Object parent= null
- ) : base(efl_canvas_event_grabber_class_get(), typeof(EventGrabber), parent)
+ ) : base(efl_canvas_event_grabber_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected EventGrabber(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="EventGrabber"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected EventGrabber(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected EventGrabber(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="EventGrabber"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected EventGrabber(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected EventGrabber(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>Stops the grabber from updating its internal stacking order while visible</summary>
/// <returns>If <c>true</c>, stop updating</returns>
virtual public bool GetFreezeWhenVisible() {
- var _ret_var = Efl.Canvas.EventGrabber.NativeMethods.efl_canvas_event_grabber_freeze_when_visible_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.EventGrabber.NativeMethods.efl_canvas_event_grabber_freeze_when_visible_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Stops the grabber from updating its internal stacking order while visible</summary>
/// <param name="set">If <c>true</c>, stop updating</param>
virtual public void SetFreezeWhenVisible(bool set) {
- Efl.Canvas.EventGrabber.NativeMethods.efl_canvas_event_grabber_freeze_when_visible_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),set);
+ Efl.Canvas.EventGrabber.NativeMethods.efl_canvas_event_grabber_freeze_when_visible_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),set);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Stops the grabber from updating its internal stacking order while visible</summary>
/// <summary>Evas internal implementation of filters.</summary>
[Efl.Canvas.Filter.IInternalConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IInternal :
Efl.Gfx.IFilter ,
Efl.Eo.IWrapper, IDisposable
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IInternalConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport(efl.Libs.Evas)] internal static extern System.IntPtr
efl_canvas_filter_internal_mixin_get();
/// <summary>Initializes a new instance of the <see cref="IInternal"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IInternalConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IInternalConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Evas);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>32 bit color data structure</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct Color32
{
/// <summary>Red component of the color</summary>
/// <summary>Filter state name structure</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct StateName
{
/// <summary>Filter state name</summary>
/// <summary>Filter state text structure</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct StateText
{
/// <summary>Text outline color</summary>
/// <summary>Internal structure representing the state of a Gfx Filter</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct State
{
/// <summary>Text state</summary>
///
/// For cetain gesture types, additional methods are defined to provide meaningful gesture information to the user.</summary>
[Efl.Canvas.Gesture.NativeMethods]
+[Efl.Eo.BindingEntity]
public abstract class Gesture : Efl.Object
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="Gesture"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public Gesture(Efl.Object parent= null
- ) : base(efl_canvas_gesture_class_get(), typeof(Gesture), parent)
+ ) : base(efl_canvas_gesture_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Gesture(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Gesture"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Gesture(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Gesture(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
[Efl.Eo.PrivateNativeClass]
private class GestureRealized : Gesture
{
- private GestureRealized(IntPtr ptr) : base(ptr)
+ private GestureRealized(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Initializes a new instance of the <see cref="Gesture"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Gesture(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Gesture(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>This property holds the current state of the gesture.</summary>
/// <returns>gesture state</returns>
virtual public Efl.Canvas.GestureState GetState() {
- var _ret_var = Efl.Canvas.Gesture.NativeMethods.efl_gesture_state_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Gesture.NativeMethods.efl_gesture_state_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>This property holds the current state of the gesture.</summary>
/// <param name="state">gesture state</param>
virtual public void SetState(Efl.Canvas.GestureState state) {
- Efl.Canvas.Gesture.NativeMethods.efl_gesture_state_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),state);
+ Efl.Canvas.Gesture.NativeMethods.efl_gesture_state_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),state);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This property holds the hotspot of the current gesture.</summary>
/// <returns>hotspot co-ordinate</returns>
virtual public Eina.Position2D GetHotspot() {
- var _ret_var = Efl.Canvas.Gesture.NativeMethods.efl_gesture_hotspot_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Gesture.NativeMethods.efl_gesture_hotspot_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="hotspot">hotspot co-ordinate</param>
virtual public void SetHotspot(Eina.Position2D hotspot) {
Eina.Position2D.NativeStruct _in_hotspot = hotspot;
- Efl.Canvas.Gesture.NativeMethods.efl_gesture_hotspot_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_hotspot);
+ Efl.Canvas.Gesture.NativeMethods.efl_gesture_hotspot_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_hotspot);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This property holds the timestamp of the current gesture.</summary>
/// <returns>The timestamp</returns>
virtual public uint GetTimestamp() {
- var _ret_var = Efl.Canvas.Gesture.NativeMethods.efl_gesture_timestamp_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Gesture.NativeMethods.efl_gesture_timestamp_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>This property holds the timestamp of the current gesture.</summary>
/// <param name="timestamp">The timestamp</param>
virtual public void SetTimestamp(uint timestamp) {
- Efl.Canvas.Gesture.NativeMethods.efl_gesture_timestamp_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),timestamp);
+ Efl.Canvas.Gesture.NativeMethods.efl_gesture_timestamp_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),timestamp);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This property holds the current state of the gesture.</summary>
/// <summary>EFL Gesture Double Tap class</summary>
[Efl.Canvas.GestureDoubleTap.NativeMethods]
+[Efl.Eo.BindingEntity]
public class GestureDoubleTap : Efl.Canvas.Gesture
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="GestureDoubleTap"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public GestureDoubleTap(Efl.Object parent= null
- ) : base(efl_canvas_gesture_double_tap_class_get(), typeof(GestureDoubleTap), parent)
+ ) : base(efl_canvas_gesture_double_tap_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected GestureDoubleTap(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="GestureDoubleTap"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected GestureDoubleTap(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected GestureDoubleTap(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="GestureDoubleTap"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected GestureDoubleTap(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected GestureDoubleTap(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>EFL Gesture Flick class</summary>
[Efl.Canvas.GestureFlick.NativeMethods]
+[Efl.Eo.BindingEntity]
public class GestureFlick : Efl.Canvas.Gesture
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="GestureFlick"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public GestureFlick(Efl.Object parent= null
- ) : base(efl_canvas_gesture_flick_class_get(), typeof(GestureFlick), parent)
+ ) : base(efl_canvas_gesture_flick_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected GestureFlick(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="GestureFlick"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected GestureFlick(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected GestureFlick(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="GestureFlick"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected GestureFlick(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected GestureFlick(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>Gets flick gesture momentum value</summary>
/// <returns>The momentum vector</returns>
virtual public Eina.Vector2 GetMomentum() {
- var _ret_var = Efl.Canvas.GestureFlick.NativeMethods.efl_gesture_flick_momentum_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.GestureFlick.NativeMethods.efl_gesture_flick_momentum_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Gets flick direction angle</summary>
/// <returns>The angle value</returns>
virtual public double GetAngle() {
- var _ret_var = Efl.Canvas.GestureFlick.NativeMethods.efl_gesture_flick_angle_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.GestureFlick.NativeMethods.efl_gesture_flick_angle_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>EFL Gesture Long Tap class</summary>
[Efl.Canvas.GestureLongTap.NativeMethods]
+[Efl.Eo.BindingEntity]
public class GestureLongTap : Efl.Canvas.Gesture
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="GestureLongTap"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public GestureLongTap(Efl.Object parent= null
- ) : base(efl_canvas_gesture_long_tap_class_get(), typeof(GestureLongTap), parent)
+ ) : base(efl_canvas_gesture_long_tap_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected GestureLongTap(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="GestureLongTap"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected GestureLongTap(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected GestureLongTap(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="GestureLongTap"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected GestureLongTap(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected GestureLongTap(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>EFL Gesture Manager class</summary>
[Efl.Canvas.GestureManager.NativeMethods]
+[Efl.Eo.BindingEntity]
public class GestureManager : Efl.Object
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="GestureManager"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public GestureManager(Efl.Object parent= null
- ) : base(efl_canvas_gesture_manager_class_get(), typeof(GestureManager), parent)
+ ) : base(efl_canvas_gesture_manager_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected GestureManager(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="GestureManager"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected GestureManager(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected GestureManager(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="GestureManager"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected GestureManager(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected GestureManager(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <param name="name">propery name</param>
/// <returns>value of the property</returns>
virtual public Eina.Value GetConfig(System.String name) {
- var _ret_var = Efl.Canvas.GestureManager.NativeMethods.efl_gesture_manager_config_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),name);
+ var _ret_var = Efl.Canvas.GestureManager.NativeMethods.efl_gesture_manager_config_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),name);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="name">propery name</param>
/// <param name="value">value of the property</param>
virtual public void SetConfig(System.String name, Eina.Value value) {
- Efl.Canvas.GestureManager.NativeMethods.efl_gesture_manager_config_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),name, value);
+ Efl.Canvas.GestureManager.NativeMethods.efl_gesture_manager_config_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),name, value);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This function is called to register a new Efl.Canvas.Gesture_Recognizer</summary>
/// <param name="recognizer">The gesture recognizer object</param>
virtual public void RecognizerRegister(Efl.Canvas.GestureRecognizer recognizer) {
- Efl.Canvas.GestureManager.NativeMethods.efl_gesture_manager_recognizer_register_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),recognizer);
+ Efl.Canvas.GestureManager.NativeMethods.efl_gesture_manager_recognizer_register_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),recognizer);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This function is called to unregister a Efl.Canvas.Gesture_Recognizer</summary>
/// <param name="recognizer">The gesture recognizer object</param>
virtual public void RecognizerUnregister(Efl.Canvas.GestureRecognizer recognizer) {
- Efl.Canvas.GestureManager.NativeMethods.efl_gesture_manager_recognizer_unregister_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),recognizer);
+ Efl.Canvas.GestureManager.NativeMethods.efl_gesture_manager_recognizer_unregister_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),recognizer);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gets event type's recognizer</summary>
/// <param name="gesture_type">The gesture type</param>
/// <returns>The gesture recognizer</returns>
virtual public Efl.Canvas.GestureRecognizer GetRecognizer(Efl.Canvas.GestureRecognizerType gesture_type) {
- var _ret_var = Efl.Canvas.GestureManager.NativeMethods.efl_gesture_manager_recognizer_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),gesture_type);
+ var _ret_var = Efl.Canvas.GestureManager.NativeMethods.efl_gesture_manager_recognizer_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),gesture_type);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>EFL Gesture Momentum class</summary>
[Efl.Canvas.GestureMomentum.NativeMethods]
+[Efl.Eo.BindingEntity]
public class GestureMomentum : Efl.Canvas.Gesture
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="GestureMomentum"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public GestureMomentum(Efl.Object parent= null
- ) : base(efl_canvas_gesture_momentum_class_get(), typeof(GestureMomentum), parent)
+ ) : base(efl_canvas_gesture_momentum_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected GestureMomentum(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="GestureMomentum"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected GestureMomentum(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected GestureMomentum(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="GestureMomentum"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected GestureMomentum(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected GestureMomentum(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>Gets momentum value</summary>
/// <returns>The momentum vector</returns>
virtual public Eina.Vector2 GetMomentum() {
- var _ret_var = Efl.Canvas.GestureMomentum.NativeMethods.efl_gesture_momentum_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.GestureMomentum.NativeMethods.efl_gesture_momentum_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
///
/// The default config values follow the system default config value.</summary>
[Efl.Canvas.GestureRecognizer.NativeMethods]
+[Efl.Eo.BindingEntity]
public abstract class GestureRecognizer : Efl.Object
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="GestureRecognizer"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public GestureRecognizer(Efl.Object parent= null
- ) : base(efl_canvas_gesture_recognizer_class_get(), typeof(GestureRecognizer), parent)
+ ) : base(efl_canvas_gesture_recognizer_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected GestureRecognizer(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="GestureRecognizer"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected GestureRecognizer(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected GestureRecognizer(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
[Efl.Eo.PrivateNativeClass]
private class GestureRecognizerRealized : GestureRecognizer
{
- private GestureRecognizerRealized(IntPtr ptr) : base(ptr)
+ private GestureRecognizerRealized(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Initializes a new instance of the <see cref="GestureRecognizer"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected GestureRecognizer(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected GestureRecognizer(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <param name="name">propery name</param>
/// <returns>value of the property</returns>
virtual public Eina.Value GetConfig(System.String name) {
- var _ret_var = Efl.Canvas.GestureRecognizer.NativeMethods.efl_gesture_recognizer_config_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),name);
+ var _ret_var = Efl.Canvas.GestureRecognizer.NativeMethods.efl_gesture_recognizer_config_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),name);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="target">The target widget</param>
/// <returns>Returns the Efl.Canvas.Gesture event object</returns>
virtual public Efl.Canvas.Gesture Add(Efl.Object target) {
- var _ret_var = Efl.Canvas.GestureRecognizer.NativeMethods.efl_gesture_recognizer_add_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),target);
+ var _ret_var = Efl.Canvas.GestureRecognizer.NativeMethods.efl_gesture_recognizer_add_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),target);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="kw_event">The pointer event</param>
/// <returns>Returns the Efl.Canvas.Gesture event object</returns>
virtual public Efl.Canvas.GestureRecognizerResult Recognize(Efl.Canvas.Gesture gesture, Efl.Object watched, Efl.Canvas.GestureTouch kw_event) {
- var _ret_var = Efl.Canvas.GestureRecognizer.NativeMethods.efl_gesture_recognizer_recognize_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),gesture, watched, kw_event);
+ var _ret_var = Efl.Canvas.GestureRecognizer.NativeMethods.efl_gesture_recognizer_recognize_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),gesture, watched, kw_event);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>This function is called by the framework to reset a given gesture.</summary>
/// <param name="gesture">The gesture object</param>
virtual public void Reset(Efl.Canvas.Gesture gesture) {
- Efl.Canvas.GestureRecognizer.NativeMethods.efl_gesture_recognizer_reset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),gesture);
+ Efl.Canvas.GestureRecognizer.NativeMethods.efl_gesture_recognizer_reset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),gesture);
Eina.Error.RaiseIfUnhandledException();
}
private static IntPtr GetEflClassStatic()
/// <summary>EFL Gesture Recognizer Double Tap class</summary>
[Efl.Canvas.GestureRecognizerDoubleTap.NativeMethods]
+[Efl.Eo.BindingEntity]
public class GestureRecognizerDoubleTap : Efl.Canvas.GestureRecognizer
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="GestureRecognizerDoubleTap"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public GestureRecognizerDoubleTap(Efl.Object parent= null
- ) : base(efl_canvas_gesture_recognizer_double_tap_class_get(), typeof(GestureRecognizerDoubleTap), parent)
+ ) : base(efl_canvas_gesture_recognizer_double_tap_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected GestureRecognizerDoubleTap(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="GestureRecognizerDoubleTap"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected GestureRecognizerDoubleTap(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected GestureRecognizerDoubleTap(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="GestureRecognizerDoubleTap"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected GestureRecognizerDoubleTap(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected GestureRecognizerDoubleTap(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>Sets the time between taps to be recognized as a double tap</summary>
/// <returns>Allowed time gap value</returns>
virtual public double GetTimeout() {
- var _ret_var = Efl.Canvas.GestureRecognizerDoubleTap.NativeMethods.efl_gesture_recognizer_double_tap_timeout_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.GestureRecognizerDoubleTap.NativeMethods.efl_gesture_recognizer_double_tap_timeout_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Sets the time between taps to be recognized as a double tap</summary>
/// <param name="time">Allowed time gap value</param>
virtual public void SetTimeout(double time) {
- Efl.Canvas.GestureRecognizerDoubleTap.NativeMethods.efl_gesture_recognizer_double_tap_timeout_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),time);
+ Efl.Canvas.GestureRecognizerDoubleTap.NativeMethods.efl_gesture_recognizer_double_tap_timeout_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),time);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Sets the time between taps to be recognized as a double tap</summary>
/// <summary>EFL Gesture Recognizer Flick Class</summary>
[Efl.Canvas.GestureRecognizerFlick.NativeMethods]
+[Efl.Eo.BindingEntity]
public class GestureRecognizerFlick : Efl.Canvas.GestureRecognizer
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="GestureRecognizerFlick"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public GestureRecognizerFlick(Efl.Object parent= null
- ) : base(efl_canvas_gesture_recognizer_flick_class_get(), typeof(GestureRecognizerFlick), parent)
+ ) : base(efl_canvas_gesture_recognizer_flick_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected GestureRecognizerFlick(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="GestureRecognizerFlick"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected GestureRecognizerFlick(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected GestureRecognizerFlick(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="GestureRecognizerFlick"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected GestureRecognizerFlick(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected GestureRecognizerFlick(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>EFL Gesture Recognizer Long Tap class</summary>
[Efl.Canvas.GestureRecognizerLongTap.NativeMethods]
+[Efl.Eo.BindingEntity]
public class GestureRecognizerLongTap : Efl.Canvas.GestureRecognizer
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="GestureRecognizerLongTap"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public GestureRecognizerLongTap(Efl.Object parent= null
- ) : base(efl_canvas_gesture_recognizer_long_tap_class_get(), typeof(GestureRecognizerLongTap), parent)
+ ) : base(efl_canvas_gesture_recognizer_long_tap_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected GestureRecognizerLongTap(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="GestureRecognizerLongTap"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected GestureRecognizerLongTap(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected GestureRecognizerLongTap(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="GestureRecognizerLongTap"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected GestureRecognizerLongTap(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected GestureRecognizerLongTap(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>Sets the holding time to be recognized as a long tap.</summary>
/// <returns>Allowed time gap value</returns>
virtual public double GetTimeout() {
- var _ret_var = Efl.Canvas.GestureRecognizerLongTap.NativeMethods.efl_gesture_recognizer_long_tap_timeout_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.GestureRecognizerLongTap.NativeMethods.efl_gesture_recognizer_long_tap_timeout_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Sets the holding time to be recognized as a long tap.</summary>
/// <param name="time">Allowed time gap value</param>
virtual public void SetTimeout(double time) {
- Efl.Canvas.GestureRecognizerLongTap.NativeMethods.efl_gesture_recognizer_long_tap_timeout_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),time);
+ Efl.Canvas.GestureRecognizerLongTap.NativeMethods.efl_gesture_recognizer_long_tap_timeout_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),time);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Sets the holding time to be recognized as a long tap.</summary>
/// <summary>EFL Gesture Recognizer Momentum class</summary>
[Efl.Canvas.GestureRecognizerMomentum.NativeMethods]
+[Efl.Eo.BindingEntity]
public class GestureRecognizerMomentum : Efl.Canvas.GestureRecognizer
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="GestureRecognizerMomentum"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public GestureRecognizerMomentum(Efl.Object parent= null
- ) : base(efl_canvas_gesture_recognizer_momentum_class_get(), typeof(GestureRecognizerMomentum), parent)
+ ) : base(efl_canvas_gesture_recognizer_momentum_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected GestureRecognizerMomentum(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="GestureRecognizerMomentum"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected GestureRecognizerMomentum(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected GestureRecognizerMomentum(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="GestureRecognizerMomentum"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected GestureRecognizerMomentum(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected GestureRecognizerMomentum(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>EFL Gesture Recognizer Tap class</summary>
[Efl.Canvas.GestureRecognizerTap.NativeMethods]
+[Efl.Eo.BindingEntity]
public class GestureRecognizerTap : Efl.Canvas.GestureRecognizer
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="GestureRecognizerTap"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public GestureRecognizerTap(Efl.Object parent= null
- ) : base(efl_canvas_gesture_recognizer_tap_class_get(), typeof(GestureRecognizerTap), parent)
+ ) : base(efl_canvas_gesture_recognizer_tap_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected GestureRecognizerTap(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="GestureRecognizerTap"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected GestureRecognizerTap(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected GestureRecognizerTap(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="GestureRecognizerTap"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected GestureRecognizerTap(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected GestureRecognizerTap(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>EFL Gesture Recognizer Triple Tap class</summary>
[Efl.Canvas.GestureRecognizerTripleTap.NativeMethods]
+[Efl.Eo.BindingEntity]
public class GestureRecognizerTripleTap : Efl.Canvas.GestureRecognizer
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="GestureRecognizerTripleTap"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public GestureRecognizerTripleTap(Efl.Object parent= null
- ) : base(efl_canvas_gesture_recognizer_triple_tap_class_get(), typeof(GestureRecognizerTripleTap), parent)
+ ) : base(efl_canvas_gesture_recognizer_triple_tap_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected GestureRecognizerTripleTap(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="GestureRecognizerTripleTap"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected GestureRecognizerTripleTap(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected GestureRecognizerTripleTap(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="GestureRecognizerTripleTap"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected GestureRecognizerTripleTap(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected GestureRecognizerTripleTap(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>Sets the time between taps to be recognized as a double tap.</summary>
/// <returns>Time value.</returns>
virtual public double GetTimeout() {
- var _ret_var = Efl.Canvas.GestureRecognizerTripleTap.NativeMethods.efl_gesture_recognizer_triple_tap_timeout_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.GestureRecognizerTripleTap.NativeMethods.efl_gesture_recognizer_triple_tap_timeout_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Sets the time between taps to be recognized as a double tap.</summary>
/// <param name="time">Time value.</param>
virtual public void SetTimeout(double time) {
- Efl.Canvas.GestureRecognizerTripleTap.NativeMethods.efl_gesture_recognizer_triple_tap_timeout_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),time);
+ Efl.Canvas.GestureRecognizerTripleTap.NativeMethods.efl_gesture_recognizer_triple_tap_timeout_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),time);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Sets the time between taps to be recognized as a double tap.</summary>
/// <summary>EFL Gesture Recognizer Zoom class</summary>
[Efl.Canvas.GestureRecognizerZoom.NativeMethods]
+[Efl.Eo.BindingEntity]
public class GestureRecognizerZoom : Efl.Canvas.GestureRecognizer
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="GestureRecognizerZoom"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public GestureRecognizerZoom(Efl.Object parent= null
- ) : base(efl_canvas_gesture_recognizer_zoom_class_get(), typeof(GestureRecognizerZoom), parent)
+ ) : base(efl_canvas_gesture_recognizer_zoom_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected GestureRecognizerZoom(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="GestureRecognizerZoom"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected GestureRecognizerZoom(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected GestureRecognizerZoom(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="GestureRecognizerZoom"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected GestureRecognizerZoom(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected GestureRecognizerZoom(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>EFL Gesture Tap class</summary>
[Efl.Canvas.GestureTap.NativeMethods]
+[Efl.Eo.BindingEntity]
public class GestureTap : Efl.Canvas.Gesture
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="GestureTap"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public GestureTap(Efl.Object parent= null
- ) : base(efl_canvas_gesture_tap_class_get(), typeof(GestureTap), parent)
+ ) : base(efl_canvas_gesture_tap_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected GestureTap(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="GestureTap"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected GestureTap(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected GestureTap(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="GestureTap"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected GestureTap(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected GestureTap(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>EFL Gesture Touch class</summary>
[Efl.Canvas.GestureTouch.NativeMethods]
+[Efl.Eo.BindingEntity]
public class GestureTouch : Efl.Object
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="GestureTouch"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public GestureTouch(Efl.Object parent= null
- ) : base(efl_canvas_gesture_touch_class_get(), typeof(GestureTouch), parent)
+ ) : base(efl_canvas_gesture_touch_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected GestureTouch(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="GestureTouch"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected GestureTouch(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected GestureTouch(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="GestureTouch"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected GestureTouch(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected GestureTouch(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>Returns the first touch point.</summary>
/// <returns>The start position.</returns>
virtual public Eina.Position2D GetStartPoint() {
- var _ret_var = Efl.Canvas.GestureTouch.NativeMethods.efl_gesture_touch_start_point_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.GestureTouch.NativeMethods.efl_gesture_touch_start_point_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Returns the current touch point.</summary>
/// <returns>The current position.</returns>
virtual public Eina.Position2D GetCurPoint() {
- var _ret_var = Efl.Canvas.GestureTouch.NativeMethods.efl_gesture_touch_cur_point_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.GestureTouch.NativeMethods.efl_gesture_touch_cur_point_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Returns the timestamp.</summary>
/// <returns>The timestamp.</returns>
virtual public uint GetCurTimestamp() {
- var _ret_var = Efl.Canvas.GestureTouch.NativeMethods.efl_gesture_touch_cur_timestamp_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.GestureTouch.NativeMethods.efl_gesture_touch_cur_timestamp_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>This property tells if the event is multi touch.</summary>
/// <returns>returns <c>true</c> if its a multi touch</returns>
virtual public bool GetMultiTouch() {
- var _ret_var = Efl.Canvas.GestureTouch.NativeMethods.efl_gesture_touch_multi_touch_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.GestureTouch.NativeMethods.efl_gesture_touch_multi_touch_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>This property holds the state of the touch event.</summary>
/// <returns>touch event state</returns>
virtual public Efl.Canvas.GestureTouchState GetState() {
- var _ret_var = Efl.Canvas.GestureTouch.NativeMethods.efl_gesture_touch_state_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.GestureTouch.NativeMethods.efl_gesture_touch_state_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="action">action of the event</param>
virtual public void PointRecord(int tool, Eina.Vector2 pos, uint timestamp, Efl.Pointer.Action action) {
Eina.Vector2.NativeStruct _in_pos = pos;
- Efl.Canvas.GestureTouch.NativeMethods.efl_gesture_touch_point_record_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),tool, _in_pos, timestamp, action);
+ Efl.Canvas.GestureTouch.NativeMethods.efl_gesture_touch_point_record_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),tool, _in_pos, timestamp, action);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Compute the distance between the last two events</summary>
/// <param name="tool">The finger id</param>
/// <returns>The distance vector.</returns>
virtual public Eina.Vector2 Delta(int tool) {
- var _ret_var = Efl.Canvas.GestureTouch.NativeMethods.efl_gesture_touch_delta_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),tool);
+ var _ret_var = Efl.Canvas.GestureTouch.NativeMethods.efl_gesture_touch_delta_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),tool);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="tool">The finger id</param>
/// <returns>The distance vector.</returns>
virtual public Eina.Vector2 Distance(int tool) {
- var _ret_var = Efl.Canvas.GestureTouch.NativeMethods.efl_gesture_touch_distance_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),tool);
+ var _ret_var = Efl.Canvas.GestureTouch.NativeMethods.efl_gesture_touch_distance_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),tool);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>EFL Gesture Triple Tap class</summary>
[Efl.Canvas.GestureTripleTap.NativeMethods]
+[Efl.Eo.BindingEntity]
public class GestureTripleTap : Efl.Canvas.Gesture
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="GestureTripleTap"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public GestureTripleTap(Efl.Object parent= null
- ) : base(efl_canvas_gesture_triple_tap_class_get(), typeof(GestureTripleTap), parent)
+ ) : base(efl_canvas_gesture_triple_tap_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected GestureTripleTap(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="GestureTripleTap"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected GestureTripleTap(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected GestureTripleTap(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="GestureTripleTap"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected GestureTripleTap(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected GestureTripleTap(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
namespace Canvas {
/// <summary>This enum type describes the state of a touch event.</summary>
+[Efl.Eo.BindingEntity]
public enum GestureTouchState
{
/// <summary>Gesture Touch State unknown</summary>
namespace Canvas {
/// <summary>This enum type describes the state of a gesture.</summary>
+[Efl.Eo.BindingEntity]
public enum GestureState
{
/// <summary>No gesture state</summary>
namespace Canvas {
/// <summary>This enum type describes the state of a gesture recognizer.</summary>
+[Efl.Eo.BindingEntity]
public enum GestureRecognizerResult
{
/// <summary>The event does not change the state of the recognizer.</summary>
namespace Canvas {
/// <summary>This enum type describes the state of a touch event.</summary>
+[Efl.Eo.BindingEntity]
public enum GestureRecognizerType
{
Tap = 0,
/// <summary>EFL Gesture Zoom class</summary>
[Efl.Canvas.GestureZoom.NativeMethods]
+[Efl.Eo.BindingEntity]
public class GestureZoom : Efl.Canvas.Gesture
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="GestureZoom"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public GestureZoom(Efl.Object parent= null
- ) : base(efl_canvas_gesture_zoom_class_get(), typeof(GestureZoom), parent)
+ ) : base(efl_canvas_gesture_zoom_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected GestureZoom(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="GestureZoom"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected GestureZoom(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected GestureZoom(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="GestureZoom"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected GestureZoom(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected GestureZoom(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>Gets zoom center point reported to user</summary>
/// <returns>The radius value</returns>
virtual public double GetRadius() {
- var _ret_var = Efl.Canvas.GestureZoom.NativeMethods.efl_gesture_zoom_radius_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.GestureZoom.NativeMethods.efl_gesture_zoom_radius_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Gets zoom value. (1.0 means no zoom)</summary>
/// <returns>The zoom value</returns>
virtual public double GetZoom() {
- var _ret_var = Efl.Canvas.GestureZoom.NativeMethods.efl_gesture_zoom_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.GestureZoom.NativeMethods.efl_gesture_zoom_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
namespace Canvas {
///<summary>Event argument wrapper for event <see cref="Efl.Canvas.Group.MemberAddedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class GroupMemberAddedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Gfx.IEntity arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Canvas.Group.MemberRemovedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class GroupMemberRemovedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Gfx.IEntity arg { get; set; }
/// A group is not necessarily a container (see <see cref="Efl.IContainer"/>) in the sense that a standard widget may not have any empty slots for content. However it's still a group of low-level canvas objects (clipper, raw objects, etc.).
/// (Since EFL 1.22)</summary>
[Efl.Canvas.Group.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Group : Efl.Canvas.Object
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="Group"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public Group(Efl.Object parent= null
- ) : base(efl_canvas_group_class_get(), typeof(Group), parent)
+ ) : base(efl_canvas_group_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Group(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Group"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Group(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Group(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Group"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Group(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Group(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CANVAS_GROUP_EVENT_MEMBER_ADDED";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CANVAS_GROUP_EVENT_MEMBER_REMOVED";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if the group layout needs to be recalculated, <c>false</c> otherwise</returns>
virtual public bool GetGroupNeedRecalculate() {
- var _ret_var = Efl.Canvas.Group.NativeMethods.efl_canvas_group_need_recalculate_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Group.NativeMethods.efl_canvas_group_need_recalculate_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="value"><c>true</c> if the group layout needs to be recalculated, <c>false</c> otherwise</param>
virtual public void SetGroupNeedRecalculate(bool value) {
- Efl.Canvas.Group.NativeMethods.efl_canvas_group_need_recalculate_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),value);
+ Efl.Canvas.Group.NativeMethods.efl_canvas_group_need_recalculate_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),value);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the internal clipper.
/// (Since EFL 1.22)</summary>
/// <returns>A clipper rectangle.</returns>
virtual protected Efl.Canvas.Object GetGroupClipper() {
- var _ret_var = Efl.Canvas.Group.NativeMethods.efl_canvas_group_clipper_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Group.NativeMethods.efl_canvas_group_clipper_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This also forcefully marks the given object as needing recalculation. As an effect, on the next rendering cycle its <see cref="Efl.Canvas.Group.CalculateGroup"/> method will be called.
/// (Since EFL 1.22)</summary>
virtual public void GroupChange() {
- Efl.Canvas.Group.NativeMethods.efl_canvas_group_change_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Canvas.Group.NativeMethods.efl_canvas_group_change_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Triggers an immediate recalculation of this object's geometry.
/// This will also reset the flag <see cref="Efl.Canvas.Group.GroupNeedRecalculate"/>.
/// (Since EFL 1.22)</summary>
virtual public void CalculateGroup() {
- Efl.Canvas.Group.NativeMethods.efl_canvas_group_calculate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Canvas.Group.NativeMethods.efl_canvas_group_calculate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Returns an iterator over the children of this object, which are canvas objects.
/// (Since EFL 1.22)</summary>
/// <returns>Iterator to object children</returns>
virtual public Eina.Iterator<Efl.Canvas.Object> GroupMembersIterate() {
- var _ret_var = Efl.Canvas.Group.NativeMethods.efl_canvas_group_members_iterate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Group.NativeMethods.efl_canvas_group_members_iterate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Canvas.Object>(_ret_var, true, false);
+ return new Eina.Iterator<Efl.Canvas.Object>(_ret_var, true);
}
/// <summary>Set a canvas object as a member of a given group (or smart object).
/// Members will automatically be stacked and layered together with the smart object. The various stacking functions will operate on members relative to the other members instead of the entire canvas, since they now live on an exclusive layer (see <see cref="Efl.Gfx.IStack.StackAbove"/>, for more details).
/// (Since EFL 1.22)</summary>
/// <param name="sub_obj">The member object.</param>
virtual public void AddGroupMember(Efl.Canvas.Object sub_obj) {
- Efl.Canvas.Group.NativeMethods.efl_canvas_group_member_add_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),sub_obj);
+ Efl.Canvas.Group.NativeMethods.efl_canvas_group_member_add_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),sub_obj);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Removes a member object from a given smart object.
/// (Since EFL 1.22)</summary>
/// <param name="sub_obj">The member object to remove.</param>
virtual public void GroupMemberRemove(Efl.Canvas.Object sub_obj) {
- Efl.Canvas.Group.NativeMethods.efl_canvas_group_member_remove_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),sub_obj);
+ Efl.Canvas.Group.NativeMethods.efl_canvas_group_member_remove_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),sub_obj);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Finds out if a given object is a member of this group.
/// <param name="sub_obj">A potential sub object.</param>
/// <returns><c>true</c> if <c>sub_obj</c> is a member of this group.</returns>
virtual public bool IsGroupMember(Efl.Canvas.Object sub_obj) {
- var _ret_var = Efl.Canvas.Group.NativeMethods.efl_canvas_group_member_is_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),sub_obj);
+ var _ret_var = Efl.Canvas.Group.NativeMethods.efl_canvas_group_member_is_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),sub_obj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Low-level Image object.
/// This replaces the legacy Evas Object Image, with only image-related interfaces: file and data images only. This object does not implement any special features such as proxy, snapshot or GL.</summary>
[Efl.Canvas.Image.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Image : Efl.Canvas.ImageInternal, Efl.IFile, Efl.Gfx.IFrameController, Efl.Gfx.IImageLoadController
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="Image"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public Image(Efl.Object parent= null
- ) : base(efl_canvas_image_class_get(), typeof(Image), parent)
+ ) : base(efl_canvas_image_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Image(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Image"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Image(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Image(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Image"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Image(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Image(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_IMAGE_LOAD_CONTROLLER_EVENT_LOAD_DONE";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_IMAGE_LOAD_CONTROLLER_EVENT_LOAD_ERROR";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
/// (Since EFL 1.22)</summary>
/// <returns>The handle to the <see cref="Eina.File"/> that will be used</returns>
virtual public Eina.File GetMmap() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="f">The handle to the <see cref="Eina.File"/> that will be used</param>
/// <returns>0 on success, error code otherwise</returns>
virtual public Eina.Error SetMmap(Eina.File f) {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),f);
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),f);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The file path.</returns>
virtual public System.String GetFile() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="file">The file path.</param>
/// <returns>0 on success, error code otherwise</returns>
virtual public Eina.Error SetFile(System.String file) {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),file);
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),file);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The group that the data belongs to. See the class documentation for particular implementations of this interface to see how this property is used.</returns>
virtual public System.String GetKey() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_key_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_key_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="key">The group that the data belongs to. See the class documentation for particular implementations of this interface to see how this property is used.</param>
virtual public void SetKey(System.String key) {
- Efl.IFileConcrete.NativeMethods.efl_file_key_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),key);
+ Efl.IFileConcrete.NativeMethods.efl_file_key_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),key);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the load state of the object.
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if the object is loaded, <c>false</c> otherwise.</returns>
virtual public bool GetLoaded() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_loaded_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_loaded_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>0 on success, error code otherwise</returns>
virtual public Eina.Error Load() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_load_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_load_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Calling <see cref="Efl.IFile.Unload"/> on an object which is not currently loaded will have no effect.
/// (Since EFL 1.22)</summary>
virtual public void Unload() {
- Efl.IFileConcrete.NativeMethods.efl_file_unload_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.IFileConcrete.NativeMethods.efl_file_unload_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Check if an object can be animated (has multiple frames).
/// This will be <c>true</c> for animated object for instance but <c>false</c> for a single frame object.</summary>
/// <returns><c>true</c> if the object is animated</returns>
virtual public bool GetAnimated() {
- var _ret_var = Efl.Gfx.IFrameControllerConcrete.NativeMethods.efl_gfx_frame_controller_animated_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IFrameControllerConcrete.NativeMethods.efl_gfx_frame_controller_animated_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Ranges from 1 to <see cref="Efl.Gfx.IFrameController.GetFrameCount"/>. Valid only if <see cref="Efl.Gfx.IFrameController.GetAnimated"/>.</summary>
/// <returns>The index of current frame.</returns>
virtual public int GetFrame() {
- var _ret_var = Efl.Gfx.IFrameControllerConcrete.NativeMethods.efl_gfx_frame_controller_frame_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IFrameControllerConcrete.NativeMethods.efl_gfx_frame_controller_frame_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="frame_index">The index of current frame.</param>
/// <returns>Returns <c>true</c> if the frame index is valid.</returns>
virtual public bool SetFrame(int frame_index) {
- var _ret_var = Efl.Gfx.IFrameControllerConcrete.NativeMethods.efl_gfx_frame_controller_frame_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),frame_index);
+ var _ret_var = Efl.Gfx.IFrameControllerConcrete.NativeMethods.efl_gfx_frame_controller_frame_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),frame_index);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Returns -1 if not animated.</summary>
/// <returns>The number of frames in the animated object.</returns>
virtual public int GetFrameCount() {
- var _ret_var = Efl.Gfx.IFrameControllerConcrete.NativeMethods.efl_gfx_frame_controller_frame_count_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IFrameControllerConcrete.NativeMethods.efl_gfx_frame_controller_frame_count_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// The default type is <see cref="Efl.Gfx.FrameControllerLoopHint.Loop"/>.</summary>
/// <returns>Loop type of the animated object.</returns>
virtual public Efl.Gfx.FrameControllerLoopHint GetLoopType() {
- var _ret_var = Efl.Gfx.IFrameControllerConcrete.NativeMethods.efl_gfx_frame_controller_loop_type_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IFrameControllerConcrete.NativeMethods.efl_gfx_frame_controller_loop_type_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// If 0 is returned, then looping should happen indefinitely (no limit to the number of times it loops).</summary>
/// <returns>The number of loop of an animated object.</returns>
virtual public int GetLoopCount() {
- var _ret_var = Efl.Gfx.IFrameControllerConcrete.NativeMethods.efl_gfx_frame_controller_loop_count_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IFrameControllerConcrete.NativeMethods.efl_gfx_frame_controller_loop_count_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="frame_num">Number of frames in the sequence, starts from 0.</param>
/// <returns>Duration in seconds</returns>
virtual public double GetFrameDuration(int start_frame, int frame_num) {
- var _ret_var = Efl.Gfx.IFrameControllerConcrete.NativeMethods.efl_gfx_frame_controller_frame_duration_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),start_frame, frame_num);
+ var _ret_var = Efl.Gfx.IFrameControllerConcrete.NativeMethods.efl_gfx_frame_controller_frame_duration_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),start_frame, frame_num);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Returns the requested load size.</summary>
/// <returns>The image load size.</returns>
virtual public Eina.Size2D GetLoadSize() {
- var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="size">The image load size.</param>
virtual public void SetLoadSize(Eina.Size2D size) {
Eina.Size2D.NativeStruct _in_size = size;
- Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_size_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_size);
+ Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_size_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_size);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the DPI resolution of a loaded image object in the canvas.
/// This function returns the DPI resolution of the given canvas image.</summary>
/// <returns>The DPI resolution.</returns>
virtual public double GetLoadDpi() {
- var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_dpi_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_dpi_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This function sets the DPI resolution of a given loaded canvas image. Most useful for the SVG image loader.</summary>
/// <param name="dpi">The DPI resolution.</param>
virtual public void SetLoadDpi(double dpi) {
- Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_dpi_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dpi);
+ Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_dpi_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dpi);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Indicates whether the <see cref="Efl.Gfx.IImageLoadController.LoadRegion"/> property is supported for the current file.</summary>
/// <returns><c>true</c> if region load of the image is supported, <c>false</c> otherwise</returns>
virtual public bool GetLoadRegionSupport() {
- var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_region_support_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_region_support_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Retrieve the coordinates of a given image object's selective (source image) load region.</summary>
/// <returns>A region of the image.</returns>
virtual public Eina.Rect GetLoadRegion() {
- var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_region_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_region_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="region">A region of the image.</param>
virtual public void SetLoadRegion(Eina.Rect region) {
Eina.Rect.NativeStruct _in_region = region;
- Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_region_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_region);
+ Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_region_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_region);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Defines whether the orientation information in the image file should be honored.
/// The orientation can for instance be set in the EXIF tags of a JPEG image. If this flag is <c>false</c>, then the orientation will be ignored at load time, otherwise the image will be loaded with the proper orientation.</summary>
/// <returns><c>true</c> means that it should honor the orientation information.</returns>
virtual public bool GetLoadOrientation() {
- var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_orientation_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_orientation_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// The orientation can for instance be set in the EXIF tags of a JPEG image. If this flag is <c>false</c>, then the orientation will be ignored at load time, otherwise the image will be loaded with the proper orientation.</summary>
/// <param name="enable"><c>true</c> means that it should honor the orientation information.</param>
virtual public void SetLoadOrientation(bool enable) {
- Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_orientation_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),enable);
+ Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_orientation_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),enable);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The scale down factor is a divider on the original image size.
/// Powers of two (2, 4, 8) are best supported (especially with JPEG)</summary>
/// <returns>The scale down dividing factor.</returns>
virtual public int GetLoadScaleDown() {
- var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_scale_down_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_scale_down_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Requests the image loader to scale down by <c>div</c> times. Call this before starting the actual image load.</summary>
/// <param name="div">The scale down dividing factor.</param>
virtual public void SetLoadScaleDown(int div) {
- Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_scale_down_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),div);
+ Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_scale_down_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),div);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Initial load should skip header check and leave it all to data load
/// If this is true, then future loads of images will defer header loading to a preload stage and/or data load later on rather than at the start when the load begins (e.g. when file is set).</summary>
/// <returns>Will be true if header is to be skipped.</returns>
virtual public bool GetLoadSkipHeader() {
- var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_skip_header_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_skip_header_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Set the skip header state for susbsequent loads of a file.</summary>
/// <param name="skip">Will be true if header is to be skipped.</param>
virtual public void SetLoadSkipHeader(bool skip) {
- Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_skip_header_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),skip);
+ Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_skip_header_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),skip);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Begin preloading an image object's image data in the background.
/// Once the background task is complete the event <c>load</c>,done will be emitted.</summary>
virtual public void LoadAsyncStart() {
- Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_async_start_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_async_start_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Cancel preloading an image object's image data in the background.
/// The object should be left in a state where it has no image data. If cancel is called too late, the image will be kept in memory.</summary>
virtual public void LoadAsyncCancel() {
- Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_async_cancel_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_async_cancel_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the mmaped file from where an object will fetch the real data (it must be an <see cref="Eina.File"/>).
/// <summary>Efl canvas internal image class</summary>
[Efl.Canvas.ImageInternal.NativeMethods]
+[Efl.Eo.BindingEntity]
public abstract class ImageInternal : Efl.Canvas.Object, Efl.IFileSave, Efl.Canvas.Filter.IInternal, Efl.Gfx.IBuffer, Efl.Gfx.IFill, Efl.Gfx.IFilter, Efl.Gfx.IImage, Efl.Gfx.IImageOrientable, Efl.Gfx.IView
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="ImageInternal"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public ImageInternal(Efl.Object parent= null
- ) : base(efl_canvas_image_internal_class_get(), typeof(ImageInternal), parent)
+ ) : base(efl_canvas_image_internal_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected ImageInternal(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="ImageInternal"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected ImageInternal(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected ImageInternal(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
[Efl.Eo.PrivateNativeClass]
private class ImageInternalRealized : ImageInternal
{
- private ImageInternalRealized(IntPtr ptr) : base(ptr)
+ private ImageInternalRealized(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Initializes a new instance of the <see cref="ImageInternal"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected ImageInternal(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected ImageInternal(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_PRELOAD";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_RESIZE";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_UNLOAD";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
/// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
virtual public bool Save(System.String file, System.String key, ref Efl.FileSaveInfo info) {
Efl.FileSaveInfo.NativeStruct _in_info = info;
- var _ret_var = Efl.IFileSaveConcrete.NativeMethods.efl_file_save_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),file, key, ref _in_info);
+ var _ret_var = Efl.IFileSaveConcrete.NativeMethods.efl_file_save_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),file, key, ref _in_info);
Eina.Error.RaiseIfUnhandledException();
info = _in_info;
return _ret_var;
/// <summary>Marks this filter as changed.</summary>
/// <param name="val"><c>true</c> if filter changed, <c>false</c> otherwise</param>
virtual public void SetFilterChanged(bool val) {
- Efl.Canvas.Filter.IInternalConcrete.NativeMethods.evas_filter_changed_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),val);
+ Efl.Canvas.Filter.IInternalConcrete.NativeMethods.evas_filter_changed_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),val);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Marks this filter as invalid.</summary>
/// <param name="val"><c>true</c> if filter is invalid, <c>false</c> otherwise</param>
virtual public void SetFilterInvalid(bool val) {
- Efl.Canvas.Filter.IInternalConcrete.NativeMethods.evas_filter_invalid_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),val);
+ Efl.Canvas.Filter.IInternalConcrete.NativeMethods.evas_filter_invalid_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),val);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Retrieve cached output buffer, if any.
/// Does not increment the reference count.</summary>
/// <returns>Output buffer</returns>
virtual public System.IntPtr GetFilterOutputBuffer() {
- var _ret_var = Efl.Canvas.Filter.IInternalConcrete.NativeMethods.evas_filter_output_buffer_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Filter.IInternalConcrete.NativeMethods.evas_filter_output_buffer_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Called by Efl.Canvas.Filter.Internal to determine whether the input is alpha or rgba.</summary>
/// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
virtual public bool FilterInputAlpha() {
- var _ret_var = Efl.Canvas.Filter.IInternalConcrete.NativeMethods.evas_filter_input_alpha_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Filter.IInternalConcrete.NativeMethods.evas_filter_input_alpha_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="data">Private data for the class</param>
virtual public void FilterStatePrepare(out Efl.Canvas.Filter.State state, System.IntPtr data) {
var _out_state = new Efl.Canvas.Filter.State.NativeStruct();
- Efl.Canvas.Filter.IInternalConcrete.NativeMethods.evas_filter_state_prepare_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out _out_state, data);
+ Efl.Canvas.Filter.IInternalConcrete.NativeMethods.evas_filter_state_prepare_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out _out_state, data);
Eina.Error.RaiseIfUnhandledException();
state = _out_state;
}
/// <param name="do_async"><c>true</c> when the operation should be done asynchronously, <c>false</c> otherwise</param>
/// <returns>Indicates success from the object render function.</returns>
virtual public bool FilterInputRender(System.IntPtr filter, System.IntPtr engine, System.IntPtr output, System.IntPtr drawctx, System.IntPtr data, int l, int r, int t, int b, int x, int y, bool do_async) {
- var _ret_var = Efl.Canvas.Filter.IInternalConcrete.NativeMethods.evas_filter_input_render_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),filter, engine, output, drawctx, data, l, r, t, b, x, y, do_async);
+ var _ret_var = Efl.Canvas.Filter.IInternalConcrete.NativeMethods.evas_filter_input_render_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),filter, engine, output, drawctx, data, l, r, t, b, x, y, do_async);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Called when filter changes must trigger a redraw of the object.
/// Virtual, to be implemented in the parent class.</summary>
virtual public void FilterDirty() {
- Efl.Canvas.Filter.IInternalConcrete.NativeMethods.evas_filter_dirty_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Canvas.Filter.IInternalConcrete.NativeMethods.evas_filter_dirty_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Rectangular size of the pixel buffer as allocated in memory.</summary>
/// <returns>Size of the buffer in pixels.</returns>
virtual public Eina.Size2D GetBufferSize() {
- var _ret_var = Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="sz">Size of the buffer in pixels.</param>
virtual public void SetBufferSize(Eina.Size2D sz) {
Eina.Size2D.NativeStruct _in_sz = sz;
- Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_size_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_sz);
+ Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_size_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_sz);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Returns the current encoding of this buffer's pixels.
/// See <see cref="Efl.Gfx.Colorspace"/> for more information on the supported formats.</summary>
/// <returns>Colorspace</returns>
virtual public Efl.Gfx.Colorspace GetColorspace() {
- var _ret_var = Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_colorspace_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_colorspace_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Retrieve whether alpha channel data is used on this object.</summary>
/// <returns>Whether to use alpha channel (<c>true</c>) data or not (<c>false</c>).</returns>
virtual public bool GetAlpha() {
- var _ret_var = Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_alpha_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_alpha_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This function sets a flag on an image object indicating whether or not to use alpha channel data. A value of <c>true</c> makes it use alpha channel data, and <c>false</c> makes it ignore that data. Note that this has nothing to do with an object's color as manipulated by <see cref="Efl.Gfx.IColor.GetColor"/>.</summary>
/// <param name="alpha">Whether to use alpha channel (<c>true</c>) data or not (<c>false</c>).</param>
virtual public void SetAlpha(bool alpha) {
- Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_alpha_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),alpha);
+ Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_alpha_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),alpha);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Length in bytes of one row of pixels in memory.
/// When applicable, this will include the <see cref="Efl.Gfx.IBuffer.GetBufferBorders"/> as well as potential extra padding.</summary>
/// <returns>Stride</returns>
virtual public int GetStride() {
- var _ret_var = Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_stride_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_stride_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="t">Top border pixels, usually 0 or 1</param>
/// <param name="b">Bottom border pixels, usually 0 or 1</param>
virtual public void GetBufferBorders(out uint l, out uint r, out uint t, out uint b) {
- Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_borders_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out l, out r, out t, out b);
+ Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_borders_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out l, out r, out t, out b);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Mark a sub-region of the given image object to be redrawn.
/// <param name="region">The updated region.</param>
virtual public void AddBufferUpdate(ref Eina.Rect region) {
Eina.Rect.NativeStruct _in_region = region;
- Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_update_add_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),ref _in_region);
+ Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_update_add_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),ref _in_region);
Eina.Error.RaiseIfUnhandledException();
region = _in_region;
}
/// <returns>The data slice. In case of failure, the memory pointer will be <c>null</c>.</returns>
virtual public Eina.RwSlice BufferMap(Efl.Gfx.BufferAccessMode mode, ref Eina.Rect region, Efl.Gfx.Colorspace cspace, int plane, out int stride) {
Eina.Rect.NativeStruct _in_region = region;
- var _ret_var = Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_map_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),mode, ref _in_region, cspace, plane, out stride);
+ var _ret_var = Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_map_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),mode, ref _in_region, cspace, plane, out stride);
Eina.Error.RaiseIfUnhandledException();
region = _in_region;
return _ret_var;
/// <param name="slice">Data slice returned by a previous call to map.</param>
/// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
virtual public bool BufferUnmap(Eina.RwSlice slice) {
- var _ret_var = Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_unmap_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),slice);
+ var _ret_var = Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_unmap_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),slice);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
virtual public bool SetBufferCopy(Eina.Slice slice, Eina.Size2D size, int stride, Efl.Gfx.Colorspace cspace, int plane) {
var _in_slice = Eina.PrimitiveConversion.ManagedToPointerAlloc(slice);
Eina.Size2D.NativeStruct _in_size = size;
- var _ret_var = Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_copy_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_slice, _in_size, stride, cspace, plane);
+ var _ret_var = Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_copy_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_slice, _in_size, stride, cspace, plane);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
virtual public bool SetBufferManaged(Eina.Slice slice, Eina.Size2D size, int stride, Efl.Gfx.Colorspace cspace, int plane) {
var _in_slice = Eina.PrimitiveConversion.ManagedToPointerAlloc(slice);
Eina.Size2D.NativeStruct _in_size = size;
- var _ret_var = Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_managed_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_slice, _in_size, stride, cspace, plane);
+ var _ret_var = Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_managed_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_slice, _in_size, stride, cspace, plane);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="plane">Plane ID. 0 by default. Useful for planar formats only.</param>
/// <returns>The data slice. The memory pointer will be <c>null</c> in case of failure.</returns>
virtual public Eina.Slice GetBufferManaged(int plane) {
- var _ret_var = Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_managed_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),plane);
+ var _ret_var = Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_managed_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),plane);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This flag is <c>true</c> by default (used to be <c>false</c> with the old APIs, and was known as "filled").</summary>
/// <returns><c>true</c> to make the fill property follow object size or <c>false</c> otherwise.</returns>
virtual public bool GetFillAuto() {
- var _ret_var = Efl.Gfx.IFillConcrete.NativeMethods.efl_gfx_fill_auto_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IFillConcrete.NativeMethods.efl_gfx_fill_auto_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This flag is <c>true</c> by default (used to be <c>false</c> with the old APIs, and was known as "filled").</summary>
/// <param name="filled"><c>true</c> to make the fill property follow object size or <c>false</c> otherwise.</param>
virtual public void SetFillAuto(bool filled) {
- Efl.Gfx.IFillConcrete.NativeMethods.efl_gfx_fill_auto_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),filled);
+ Efl.Gfx.IFillConcrete.NativeMethods.efl_gfx_fill_auto_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),filled);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Specifies how to tile an image to fill its rectangle geometry.
/// Setting this property will reset the <see cref="Efl.Gfx.IFill.FillAuto"/> to <c>false</c>.</summary>
/// <returns>The top-left corner to start drawing from as well as the size at which the bound image will be displayed.</returns>
virtual public Eina.Rect GetFill() {
- var _ret_var = Efl.Gfx.IFillConcrete.NativeMethods.efl_gfx_fill_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IFillConcrete.NativeMethods.efl_gfx_fill_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="fill">The top-left corner to start drawing from as well as the size at which the bound image will be displayed.</param>
virtual public void SetFill(Eina.Rect fill) {
Eina.Rect.NativeStruct _in_fill = fill;
- Efl.Gfx.IFillConcrete.NativeMethods.efl_gfx_fill_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_fill);
+ Efl.Gfx.IFillConcrete.NativeMethods.efl_gfx_fill_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_fill);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gets the code of the filter program set on this object. May be <c>null</c>.</summary>
/// <param name="code">The Lua program source code.</param>
/// <param name="name">An optional name for this filter.</param>
virtual public void GetFilterProgram(out System.String code, out System.String name) {
- Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_program_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out code, out name);
+ Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_program_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out code, out name);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set a graphical filter program on this object.
/// <param name="code">The Lua program source code.</param>
/// <param name="name">An optional name for this filter.</param>
virtual public void SetFilterProgram(System.String code, System.String name) {
- Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_program_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),code, name);
+ Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_program_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),code, name);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the current state of the filter.
/// <param name="next_val">Next value, optional</param>
/// <param name="pos">Position, optional</param>
virtual public void GetFilterState(out System.String cur_state, out double cur_val, out System.String next_state, out double next_val, out double pos) {
- Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_state_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out cur_state, out cur_val, out next_state, out next_val, out pos);
+ Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_state_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out cur_state, out cur_val, out next_state, out next_val, out pos);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the current state of the filter.
/// <param name="next_val">Next value, optional</param>
/// <param name="pos">Position, optional</param>
virtual public void SetFilterState(System.String cur_state, double cur_val, System.String next_state, double next_val, double pos) {
- Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_state_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur_state, cur_val, next_state, next_val, pos);
+ Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_state_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur_state, cur_val, next_state, next_val, pos);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gets the padding required to apply this filter.</summary>
/// <param name="t">Padding on the top</param>
/// <param name="b">Padding on the bottom</param>
virtual public void GetFilterPadding(out int l, out int r, out int t, out int b) {
- Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_padding_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out l, out r, out t, out b);
+ Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_padding_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out l, out r, out t, out b);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Bind an object to use as a mask or texture in a filter program.
/// <param name="name">Buffer name as used in the program.</param>
/// <returns>Object to use as a source of pixels.</returns>
virtual public Efl.Gfx.IEntity GetFilterSource(System.String name) {
- var _ret_var = Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_source_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),name);
+ var _ret_var = Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_source_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),name);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="name">Buffer name as used in the program.</param>
/// <param name="source">Object to use as a source of pixels.</param>
virtual public void SetFilterSource(System.String name, Efl.Gfx.IEntity source) {
- Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_source_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),name, source);
+ Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_source_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),name, source);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Extra data used by the filter program.
/// <param name="value">String value to use as data</param>
/// <param name="execute">If <c>true</c>, execute 'name = value'</param>
virtual public void GetFilterData(System.String name, out System.String value, out bool execute) {
- Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_data_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),name, out value, out execute);
+ Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_data_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),name, out value, out execute);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Extra data used by the filter program.
/// <param name="value">String value to use as data</param>
/// <param name="execute">If <c>true</c>, execute 'name = value'</param>
virtual public void SetFilterData(System.String name, System.String value, bool execute) {
- Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_data_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),name, value, execute);
+ Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_data_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),name, value, execute);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Whether to use high-quality image scaling algorithm for this image.
/// <c>true</c> by default</summary>
/// <returns>Whether to use smooth scale or not.</returns>
virtual public bool GetSmoothScale() {
- var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_smooth_scale_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_smooth_scale_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <c>true</c> by default</summary>
/// <param name="smooth_scale">Whether to use smooth scale or not.</param>
virtual public void SetSmoothScale(bool smooth_scale) {
- Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_smooth_scale_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),smooth_scale);
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_smooth_scale_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),smooth_scale);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control how the image is scaled.</summary>
/// <returns>Image scale type</returns>
virtual public Efl.Gfx.ImageScaleType GetScaleType() {
- var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_scale_type_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_scale_type_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Control how the image is scaled.</summary>
/// <param name="scale_type">Image scale type</param>
virtual public void SetScaleType(Efl.Gfx.ImageScaleType scale_type) {
- Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_scale_type_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),scale_type);
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_scale_type_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),scale_type);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Returns 1.0 if not applicable (eg. height = 0).</summary>
/// <returns>The image's ratio.</returns>
virtual public double GetRatio() {
- var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_ratio_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_ratio_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Return the relative area enclosed inside the image where content is expected.
+ /// We do expect content to be inside the limit defined by the border or inside the stretch region. If a stretch region is provided, the content region will encompass the non strechable area that are surrounded by stretchable area. If no border and no stretch region is set, they are assumed to be zero and the full object geometry is where content can be layout on top. The area size change with the object size.
+ ///
+ /// The geometry of the area is expressed relative to the geometry of the object.</summary>
+ /// <returns>A rectangle inside the object boundary that where content is expected.</returns>
+ virtual public Eina.Rect GetContentRegion() {
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_content_region_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="t">The border's top height.</param>
/// <param name="b">The border's bottom height.</param>
virtual public void GetBorder(out int l, out int r, out int t, out int b) {
- Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out l, out r, out t, out b);
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out l, out r, out t, out b);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Dimensions of this image's border, a region that does not scale with the center area.
/// <param name="t">The border's top height.</param>
/// <param name="b">The border's bottom height.</param>
virtual public void SetBorder(int l, int r, int t, int b) {
- Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),l, r, t, b);
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),l, r, t, b);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Scaling factor applied to the image borders.
/// Default value is 1.0 (no scaling).</summary>
/// <returns>The scale factor.</returns>
virtual public double GetBorderScale() {
- var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_scale_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_scale_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Default value is 1.0 (no scaling).</summary>
/// <param name="scale">The scale factor.</param>
virtual public void SetBorderScale(double scale) {
- Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_scale_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),scale);
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_scale_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),scale);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Specifies how the center part of the object (not the borders) should be drawn when EFL is rendering it.
/// The default value is <see cref="Efl.Gfx.BorderFillMode.Default"/>, ie. render and scale the center area, respecting its transparency.</summary>
/// <returns>Fill mode of the center region.</returns>
virtual public Efl.Gfx.BorderFillMode GetBorderCenterFill() {
- var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_center_fill_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_center_fill_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// The default value is <see cref="Efl.Gfx.BorderFillMode.Default"/>, ie. render and scale the center area, respecting its transparency.</summary>
/// <param name="fill">Fill mode of the center region.</param>
virtual public void SetBorderCenterFill(Efl.Gfx.BorderFillMode fill) {
- Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_center_fill_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),fill);
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_center_fill_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),fill);
Eina.Error.RaiseIfUnhandledException();
}
+ /// <summary>This property defines the stretchable pixels region of an image.
+ /// When the regions are set by the user, the method will walk the iterators once and then destroy them. When the regions are retrieved by the user, it is his responsibility to destroy the iterators.. It will remember the information for the lifetime of the object. It will ignore all value of <see cref="Efl.Gfx.IImage.GetBorder"/>, <see cref="Efl.Gfx.IImage.BorderScale"/> and <see cref="Efl.Gfx.IImage.BorderCenterFill"/> . To reset the object you can just pass <c>null</c> to both horizontal and vertical at the same time.</summary>
+ /// <param name="horizontal">Representation of area that are stretchable in the image horizontal space.</param>
+ /// <param name="vertical">Representation of area that are stretchable in the image vertical space.</param>
+ virtual public void GetStretchRegion(out Eina.Iterator<Efl.Gfx.Image.StretchRegion> horizontal, out Eina.Iterator<Efl.Gfx.Image.StretchRegion> vertical) {
+ System.IntPtr _out_horizontal = System.IntPtr.Zero;
+ System.IntPtr _out_vertical = System.IntPtr.Zero;
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_stretch_region_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out _out_horizontal, out _out_vertical);
+ Eina.Error.RaiseIfUnhandledException();
+ horizontal = new Eina.Iterator<Efl.Gfx.Image.StretchRegion>(_out_horizontal, false);
+ vertical = new Eina.Iterator<Efl.Gfx.Image.StretchRegion>(_out_vertical, false);
+ }
+ /// <summary>This property defines the stretchable pixels region of an image.
+ /// When the regions are set by the user, the method will walk the iterators once and then destroy them. When the regions are retrieved by the user, it is his responsibility to destroy the iterators.. It will remember the information for the lifetime of the object. It will ignore all value of <see cref="Efl.Gfx.IImage.GetBorder"/>, <see cref="Efl.Gfx.IImage.BorderScale"/> and <see cref="Efl.Gfx.IImage.BorderCenterFill"/> . To reset the object you can just pass <c>null</c> to both horizontal and vertical at the same time.</summary>
+ /// <param name="horizontal">Representation of area that are stretchable in the image horizontal space.</param>
+ /// <param name="vertical">Representation of area that are stretchable in the image vertical space.</param>
+ /// <returns>return an error code if the stretch_region provided are incorrect.</returns>
+ virtual public Eina.Error SetStretchRegion(Eina.Iterator<Efl.Gfx.Image.StretchRegion> horizontal, Eina.Iterator<Efl.Gfx.Image.StretchRegion> vertical) {
+ var _in_horizontal = horizontal.Handle;
+ var _in_vertical = vertical.Handle;
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_stretch_region_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_horizontal, _in_vertical);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
/// <summary>This represents the size of the original image in pixels.
/// This may be different from the actual geometry on screen or even the size of the loaded pixel buffer. This is the size of the image as stored in the original file.
///
/// This is a read-only property, and may return 0x0.</summary>
/// <returns>The size in pixels.</returns>
virtual public Eina.Size2D GetImageSize() {
- var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This returns #EVAS_IMAGE_CONTENT_HINT_NONE on error.</summary>
/// <returns>Dynamic or static content hint, see <see cref="Efl.Gfx.ImageContentHint"/></returns>
virtual public Efl.Gfx.ImageContentHint GetContentHint() {
- var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_content_hint_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_content_hint_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This function sets the content hint value of the given image of the canvas. For example, if you're on the GL engine and your driver implementation supports it, setting this hint to #EVAS_IMAGE_CONTENT_HINT_DYNAMIC will make it need zero copies at texture upload time, which is an "expensive" operation.</summary>
/// <param name="hint">Dynamic or static content hint, see <see cref="Efl.Gfx.ImageContentHint"/></param>
virtual public void SetContentHint(Efl.Gfx.ImageContentHint hint) {
- Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_content_hint_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),hint);
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_content_hint_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),hint);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the scale hint of a given image of the canvas.
/// This function returns the scale hint value of the given image object of the canvas.</summary>
/// <returns>Scalable or static size hint, see <see cref="Efl.Gfx.ImageScaleHint"/></returns>
virtual public Efl.Gfx.ImageScaleHint GetScaleHint() {
- var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_scale_hint_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_scale_hint_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This function sets the scale hint value of the given image object in the canvas, which will affect how Evas is to cache scaled versions of its original source image.</summary>
/// <param name="hint">Scalable or static size hint, see <see cref="Efl.Gfx.ImageScaleHint"/></param>
virtual public void SetScaleHint(Efl.Gfx.ImageScaleHint hint) {
- Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_scale_hint_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),hint);
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_scale_hint_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),hint);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gets the (last) file loading error for a given object.</summary>
/// <returns>The load error code.</returns>
virtual public Eina.Error GetImageLoadError() {
- var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_load_error_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_load_error_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Control the orientation (rotation and flipping) of a visual object.
/// This can be used to set the rotation on an image or a window, for instance.</summary>
/// <returns>The final orientation of the object.</returns>
- virtual public Efl.Gfx.ImageOrientation GetOrientation() {
- var _ret_var = Efl.Gfx.IImageOrientableConcrete.NativeMethods.efl_gfx_image_orientation_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ virtual public Efl.Gfx.ImageOrientation GetImageOrientation() {
+ var _ret_var = Efl.Gfx.IImageOrientableConcrete.NativeMethods.efl_gfx_image_orientation_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Control the orientation (rotation and flipping) of a visual object.
/// This can be used to set the rotation on an image or a window, for instance.</summary>
/// <param name="dir">The final orientation of the object.</param>
- virtual public void SetOrientation(Efl.Gfx.ImageOrientation dir) {
- Efl.Gfx.IImageOrientableConcrete.NativeMethods.efl_gfx_image_orientation_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dir);
+ virtual public void SetImageOrientation(Efl.Gfx.ImageOrientation dir) {
+ Efl.Gfx.IImageOrientableConcrete.NativeMethods.efl_gfx_image_orientation_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dir);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The dimensions of this object's viewport.
/// Refer to each implementing class specific documentation for more details.</summary>
/// <returns>Size of the view.</returns>
virtual public Eina.Size2D GetViewSize() {
- var _ret_var = Efl.Gfx.IViewConcrete.NativeMethods.efl_gfx_view_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IViewConcrete.NativeMethods.efl_gfx_view_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="size">Size of the view.</param>
virtual public void SetViewSize(Eina.Size2D size) {
Eina.Size2D.NativeStruct _in_size = size;
- Efl.Gfx.IViewConcrete.NativeMethods.efl_gfx_view_size_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_size);
+ Efl.Gfx.IViewConcrete.NativeMethods.efl_gfx_view_size_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_size);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Marks this filter as changed.</summary>
public double Ratio {
get { return GetRatio(); }
}
+ /// <summary>Return the relative area enclosed inside the image where content is expected.
+ /// We do expect content to be inside the limit defined by the border or inside the stretch region. If a stretch region is provided, the content region will encompass the non strechable area that are surrounded by stretchable area. If no border and no stretch region is set, they are assumed to be zero and the full object geometry is where content can be layout on top. The area size change with the object size.
+ ///
+ /// The geometry of the area is expressed relative to the geometry of the object.</summary>
+ /// <value>A rectangle inside the object boundary that where content is expected.</value>
+ public Eina.Rect ContentRegion {
+ get { return GetContentRegion(); }
+ }
/// <summary>Scaling factor applied to the image borders.
/// This value multiplies the size of the <see cref="Efl.Gfx.IImage.GetBorder"/> when scaling an object.
///
/// <summary>Control the orientation (rotation and flipping) of a visual object.
/// This can be used to set the rotation on an image or a window, for instance.</summary>
/// <value>The final orientation of the object.</value>
- public Efl.Gfx.ImageOrientation Orientation {
- get { return GetOrientation(); }
- set { SetOrientation(value); }
+ public Efl.Gfx.ImageOrientation ImageOrientation {
+ get { return GetImageOrientation(); }
+ set { SetImageOrientation(value); }
}
/// <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.
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_ratio_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_ratio_get_static_delegate) });
}
+ if (efl_gfx_image_content_region_get_static_delegate == null)
+ {
+ efl_gfx_image_content_region_get_static_delegate = new efl_gfx_image_content_region_get_delegate(content_region_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetContentRegion") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_content_region_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_content_region_get_static_delegate) });
+ }
+
if (efl_gfx_image_border_get_static_delegate == null)
{
efl_gfx_image_border_get_static_delegate = new efl_gfx_image_border_get_delegate(border_get);
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_border_center_fill_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_border_center_fill_set_static_delegate) });
}
+ if (efl_gfx_image_stretch_region_get_static_delegate == null)
+ {
+ efl_gfx_image_stretch_region_get_static_delegate = new efl_gfx_image_stretch_region_get_delegate(stretch_region_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetStretchRegion") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_stretch_region_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_stretch_region_get_static_delegate) });
+ }
+
+ if (efl_gfx_image_stretch_region_set_static_delegate == null)
+ {
+ efl_gfx_image_stretch_region_set_static_delegate = new efl_gfx_image_stretch_region_set_delegate(stretch_region_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetStretchRegion") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_stretch_region_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_stretch_region_set_static_delegate) });
+ }
+
if (efl_gfx_image_size_get_static_delegate == null)
{
efl_gfx_image_size_get_static_delegate = new efl_gfx_image_size_get_delegate(image_size_get);
if (efl_gfx_image_orientation_get_static_delegate == null)
{
- efl_gfx_image_orientation_get_static_delegate = new efl_gfx_image_orientation_get_delegate(orientation_get);
+ efl_gfx_image_orientation_get_static_delegate = new efl_gfx_image_orientation_get_delegate(image_orientation_get);
}
- if (methods.FirstOrDefault(m => m.Name == "GetOrientation") != null)
+ if (methods.FirstOrDefault(m => m.Name == "GetImageOrientation") != null)
{
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_orientation_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_orientation_get_static_delegate) });
}
if (efl_gfx_image_orientation_set_static_delegate == null)
{
- efl_gfx_image_orientation_set_static_delegate = new efl_gfx_image_orientation_set_delegate(orientation_set);
+ efl_gfx_image_orientation_set_static_delegate = new efl_gfx_image_orientation_set_delegate(image_orientation_set);
}
- if (methods.FirstOrDefault(m => m.Name == "SetOrientation") != null)
+ if (methods.FirstOrDefault(m => m.Name == "SetImageOrientation") != null)
{
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_orientation_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_orientation_set_static_delegate) });
}
private static efl_gfx_image_ratio_get_delegate efl_gfx_image_ratio_get_static_delegate;
+ private delegate Eina.Rect.NativeStruct efl_gfx_image_content_region_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate Eina.Rect.NativeStruct efl_gfx_image_content_region_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_content_region_get_api_delegate> efl_gfx_image_content_region_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_content_region_get_api_delegate>(Module, "efl_gfx_image_content_region_get");
+
+ private static Eina.Rect.NativeStruct content_region_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_gfx_image_content_region_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Rect _ret_var = default(Eina.Rect);
+ try
+ {
+ _ret_var = ((ImageInternal)ws.Target).GetContentRegion();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_gfx_image_content_region_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_gfx_image_content_region_get_delegate efl_gfx_image_content_region_get_static_delegate;
+
+
private delegate void efl_gfx_image_border_get_delegate(System.IntPtr obj, System.IntPtr pd, out int l, out int r, out int t, out int b);
private static efl_gfx_image_border_center_fill_set_delegate efl_gfx_image_border_center_fill_set_static_delegate;
+ private delegate void efl_gfx_image_stretch_region_get_delegate(System.IntPtr obj, System.IntPtr pd, out System.IntPtr horizontal, out System.IntPtr vertical);
+
+
+ public delegate void efl_gfx_image_stretch_region_get_api_delegate(System.IntPtr obj, out System.IntPtr horizontal, out System.IntPtr vertical);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_stretch_region_get_api_delegate> efl_gfx_image_stretch_region_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_stretch_region_get_api_delegate>(Module, "efl_gfx_image_stretch_region_get");
+
+ private static void stretch_region_get(System.IntPtr obj, System.IntPtr pd, out System.IntPtr horizontal, out System.IntPtr vertical)
+ {
+ Eina.Log.Debug("function efl_gfx_image_stretch_region_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Iterator<Efl.Gfx.Image.StretchRegion> _out_horizontal = default(Eina.Iterator<Efl.Gfx.Image.StretchRegion>);
+ Eina.Iterator<Efl.Gfx.Image.StretchRegion> _out_vertical = default(Eina.Iterator<Efl.Gfx.Image.StretchRegion>);
+
+ try
+ {
+ ((ImageInternal)ws.Target).GetStretchRegion(out _out_horizontal, out _out_vertical);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ horizontal = _out_horizontal.Handle;
+ vertical = _out_vertical.Handle;
+
+ }
+ else
+ {
+ efl_gfx_image_stretch_region_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out horizontal, out vertical);
+ }
+ }
+
+ private static efl_gfx_image_stretch_region_get_delegate efl_gfx_image_stretch_region_get_static_delegate;
+
+
+ private delegate Eina.Error efl_gfx_image_stretch_region_set_delegate(System.IntPtr obj, System.IntPtr pd, System.IntPtr horizontal, System.IntPtr vertical);
+
+
+ public delegate Eina.Error efl_gfx_image_stretch_region_set_api_delegate(System.IntPtr obj, System.IntPtr horizontal, System.IntPtr vertical);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_stretch_region_set_api_delegate> efl_gfx_image_stretch_region_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_stretch_region_set_api_delegate>(Module, "efl_gfx_image_stretch_region_set");
+
+ private static Eina.Error stretch_region_set(System.IntPtr obj, System.IntPtr pd, System.IntPtr horizontal, System.IntPtr vertical)
+ {
+ Eina.Log.Debug("function efl_gfx_image_stretch_region_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ var _in_horizontal = new Eina.Iterator<Efl.Gfx.Image.StretchRegion>(horizontal, false);
+ var _in_vertical = new Eina.Iterator<Efl.Gfx.Image.StretchRegion>(vertical, false);
+ Eina.Error _ret_var = default(Eina.Error);
+ try
+ {
+ _ret_var = ((ImageInternal)ws.Target).SetStretchRegion(_in_horizontal, _in_vertical);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_gfx_image_stretch_region_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), horizontal, vertical);
+ }
+ }
+
+ private static efl_gfx_image_stretch_region_set_delegate efl_gfx_image_stretch_region_set_static_delegate;
+
+
private delegate Eina.Size2D.NativeStruct efl_gfx_image_size_get_delegate(System.IntPtr obj, System.IntPtr pd);
public static Efl.Eo.FunctionWrapper<efl_gfx_image_orientation_get_api_delegate> efl_gfx_image_orientation_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_orientation_get_api_delegate>(Module, "efl_gfx_image_orientation_get");
- private static Efl.Gfx.ImageOrientation orientation_get(System.IntPtr obj, System.IntPtr pd)
+ private static Efl.Gfx.ImageOrientation image_orientation_get(System.IntPtr obj, System.IntPtr pd)
{
Eina.Log.Debug("function efl_gfx_image_orientation_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
Efl.Gfx.ImageOrientation _ret_var = default(Efl.Gfx.ImageOrientation);
try
{
- _ret_var = ((ImageInternal)ws.Target).GetOrientation();
+ _ret_var = ((ImageInternal)ws.Target).GetImageOrientation();
}
catch (Exception e)
{
public static Efl.Eo.FunctionWrapper<efl_gfx_image_orientation_set_api_delegate> efl_gfx_image_orientation_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_orientation_set_api_delegate>(Module, "efl_gfx_image_orientation_set");
- private static void orientation_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.ImageOrientation dir)
+ private static void image_orientation_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.ImageOrientation dir)
{
Eina.Log.Debug("function efl_gfx_image_orientation_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
try
{
- ((ImageInternal)ws.Target).SetOrientation(dir);
+ ((ImageInternal)ws.Target).SetImageOrientation(dir);
}
catch (Exception e)
{
namespace Canvas {
///<summary>Event argument wrapper for event <see cref="Efl.Canvas.Layout.PartInvalidEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class LayoutPartInvalidEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public System.String arg { get; set; }
}
/// <summary>Edje object class</summary>
[Efl.Canvas.Layout.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Layout : Efl.Canvas.Group, Efl.IContainer, Efl.IFile, Efl.IObserver, Efl.IPart, Efl.IPlayer, Efl.Gfx.IColorClass, Efl.Gfx.ISizeClass, Efl.Gfx.ITextClass, Efl.Layout.ICalc, Efl.Layout.IGroup, Efl.Layout.ISignal
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="Layout"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public Layout(Efl.Object parent= null
- ) : base(efl_canvas_layout_class_get(), typeof(Layout), parent)
+ ) : base(efl_canvas_layout_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Layout(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Layout"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Layout(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Layout(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Layout"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Layout(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Layout(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_LAYOUT_EVENT_PART_INVALID";
RemoveNativeEventHandler(efl.Libs.Edje, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED";
RemoveNativeEventHandler(efl.Libs.Edje, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED";
RemoveNativeEventHandler(efl.Libs.Edje, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_LAYOUT_EVENT_RECALC";
RemoveNativeEventHandler(efl.Libs.Edje, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_LAYOUT_EVENT_CIRCULAR_DEPENDENCY";
RemoveNativeEventHandler(efl.Libs.Edje, key, value);
/// <summary>Get the current state of animation, <c>true</c> by default.</summary>
/// <returns>The animation state, <c>true</c> by default.</returns>
virtual public bool GetAnimation() {
- var _ret_var = Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_animation_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_animation_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Start or stop animating this object.</summary>
/// <param name="on">The animation state, <c>true</c> by default.</param>
virtual public void SetAnimation(bool on) {
- Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_animation_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),on);
+ Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_animation_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),on);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Returns the seat device given its Edje's name.
/// <param name="name">The name's character string.</param>
/// <returns>The seat device or <c>null</c> if not found.</returns>
virtual public Efl.Input.Device GetSeat(System.String name) {
- var _ret_var = Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_seat_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),name);
+ var _ret_var = Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_seat_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),name);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="device">The seat device</param>
/// <returns>The name's character string or <c>null</c> if not found.</returns>
virtual public System.String GetSeatName(Efl.Input.Device device) {
- var _ret_var = Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_seat_name_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),device);
+ var _ret_var = Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_seat_name_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),device);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Gets the (last) file loading error for a given object.</summary>
/// <returns>The load error code.</returns>
virtual public Eina.Error GetLayoutLoadError() {
- var _ret_var = Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_load_error_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_load_error_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="min_y">The min height policy</param>
/// <returns><c>true</c> on success, or <c>false</c> on error</returns>
virtual public bool GetPartTextMinPolicy(System.String part, System.String state_name, out bool min_x, out bool min_y) {
- var _ret_var = Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_part_text_min_policy_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),part, state_name, out min_x, out min_y);
+ var _ret_var = Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_part_text_min_policy_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),part, state_name, out min_x, out min_y);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="min_y">The min height policy</param>
/// <returns><c>true</c> on success, or <c>false</c> on error</returns>
virtual public bool SetPartTextMinPolicy(System.String part, System.String state_name, bool min_x, bool min_y) {
- var _ret_var = Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_part_text_min_policy_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),part, state_name, min_x, min_y);
+ var _ret_var = Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_part_text_min_policy_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),part, state_name, min_x, min_y);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="part">The part name</param>
/// <returns>The valign 0.0~1.0. -1.0 for respect EDC's align value.</returns>
virtual public double GetPartTextValign(System.String part) {
- var _ret_var = Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_part_text_valign_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),part);
+ var _ret_var = Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_part_text_valign_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),part);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="valign">The valign 0.0~1.0. -1.0 for respect EDC's align value.</param>
/// <returns><c>true</c>, on success or <c>false</c>, on error</returns>
virtual public bool SetPartTextValign(System.String part, double valign) {
- var _ret_var = Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_part_text_valign_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),part, valign);
+ var _ret_var = Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_part_text_valign_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),part, valign);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="part">The part name</param>
/// <returns>The duration. 0.0 for respect EDC's duration value.</returns>
virtual public double GetPartTextMarqueeDuration(System.String part) {
- var _ret_var = Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_part_text_marquee_duration_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),part);
+ var _ret_var = Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_part_text_marquee_duration_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),part);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="duration">The duration. 0.0 for respect EDC's duration value.</param>
/// <returns><c>true</c>, on success or <c>false</c>, on error</returns>
virtual public bool SetPartTextMarqueeDuration(System.String part, double duration) {
- var _ret_var = Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_part_text_marquee_duration_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),part, duration);
+ var _ret_var = Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_part_text_marquee_duration_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),part, duration);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="part">The part name</param>
/// <returns>The speed. 0.0 for respect EDC's speed value.</returns>
virtual public double GetPartTextMarqueeSpeed(System.String part) {
- var _ret_var = Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_part_text_marquee_speed_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),part);
+ var _ret_var = Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_part_text_marquee_speed_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),part);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="speed">The speed. 0.0 for respect EDC's speed value.</param>
/// <returns><c>true</c>, on success or <c>false</c>, on error</returns>
virtual public bool SetPartTextMarqueeSpeed(System.String part, double speed) {
- var _ret_var = Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_part_text_marquee_speed_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),part, speed);
+ var _ret_var = Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_part_text_marquee_speed_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),part, speed);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="part">The part name</param>
/// <returns>The always mode</returns>
virtual public bool GetPartTextMarqueeAlways(System.String part) {
- var _ret_var = Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_part_text_marquee_always_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),part);
+ var _ret_var = Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_part_text_marquee_always_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),part);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="always">The always mode</param>
/// <returns><c>true</c>, on success or <c>false</c>, on error</returns>
virtual public bool SetPartTextMarqueeAlways(System.String part, bool always) {
- var _ret_var = Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_part_text_marquee_always_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),part, always);
+ var _ret_var = Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_part_text_marquee_always_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),part, always);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="part">The part name</param>
/// <returns>The valign 0.0~1.0. -1.0 for respect EDC's align value.</returns>
virtual public double GetPartValign(System.String part) {
- var _ret_var = Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_part_valign_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),part);
+ var _ret_var = Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_part_valign_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),part);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="valign">The valign 0.0~1.0. -1.0 for respect EDC's align value.</param>
/// <returns><c>true</c>, on success or <c>false</c>, on error</returns>
virtual public bool SetPartValign(System.String part, double valign) {
- var _ret_var = Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_part_valign_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),part, valign);
+ var _ret_var = Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_part_valign_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),part, valign);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Iterates over all accessibility-enabled part names.</summary>
/// <returns>Part name iterator</returns>
virtual public Eina.Iterator<System.String> AccessPartIterate() {
- var _ret_var = Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_access_part_iterate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_access_part_iterate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<System.String>(_ret_var, true, false);
+ return new Eina.Iterator<System.String>(_ret_var, true);
}
/// <summary>Unswallow an object from this Edje.</summary>
/// <param name="content">To be removed content.</param>
/// <returns><c>false</c> if <c>content</c> was not a child or can not be removed.</returns>
virtual public bool ContentRemove(Efl.Gfx.IEntity content) {
- var _ret_var = Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_content_remove_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),content);
+ var _ret_var = Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_content_remove_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),content);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// @if MOBILE @since_tizen 3.0 @elseif WEARABLE @since_tizen 3.0 @endif @internal</summary>
/// <param name="parent">The parent object for color class</param>
virtual public void SetColorClassParent(Efl.Object parent) {
- Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_color_class_parent_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),parent);
+ Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_color_class_parent_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),parent);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Unsets the parent object for color class.
/// @if MOBILE @since_tizen 3.0 @elseif WEARABLE @since_tizen 3.0 @endif @internal</summary>
virtual public void UnsetColorClassParent() {
- Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_color_class_parent_unset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_color_class_parent_unset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get a position of the given cursor
/// <param name="x">w</param>
/// <param name="y">h</param>
virtual public void GetPartTextCursorCoord(System.String part, Edje.Cursor cur, out int x, out int y) {
- Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_part_text_cursor_coord_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),part, cur, out x, out y);
+ Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_part_text_cursor_coord_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),part, cur, out x, out y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get a size of the given cursor
/// <param name="w">w</param>
/// <param name="h">h</param>
virtual public void GetPartTextCursorSize(System.String part, Edje.Cursor cur, out int w, out int h) {
- Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_part_text_cursor_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),part, cur, out w, out h);
+ Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_part_text_cursor_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),part, cur, out w, out h);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Returns the cursor geometry of the part relative to the edje object. The cursor geometry is kept in mouse down and move.
/// <param name="w">Cursor width</param>
/// <param name="h">Cursor height</param>
virtual public void GetPartTextCursorOnMouseGeometry(System.String part, out int x, out int y, out int w, out int h) {
- Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_part_text_cursor_on_mouse_geometry_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),part, out x, out y, out w, out h);
+ Efl.Canvas.Layout.NativeMethods.efl_canvas_layout_part_text_cursor_on_mouse_geometry_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),part, out x, out y, out w, out h);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Begin iterating over this object's contents.
/// (Since EFL 1.22)</summary>
/// <returns>Iterator on object's content.</returns>
virtual public Eina.Iterator<Efl.Gfx.IEntity> ContentIterate() {
- var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_iterate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_iterate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true, false);
+ return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true);
}
/// <summary>Returns the number of contained sub-objects.
/// (Since EFL 1.22)</summary>
/// <returns>Number of sub-objects.</returns>
virtual public int ContentCount() {
- var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_count_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_count_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The handle to the <see cref="Eina.File"/> that will be used</returns>
virtual public Eina.File GetMmap() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="f">The handle to the <see cref="Eina.File"/> that will be used</param>
/// <returns>0 on success, error code otherwise</returns>
virtual public Eina.Error SetMmap(Eina.File f) {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),f);
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),f);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The file path.</returns>
virtual public System.String GetFile() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="file">The file path.</param>
/// <returns>0 on success, error code otherwise</returns>
virtual public Eina.Error SetFile(System.String file) {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),file);
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),file);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The group that the data belongs to. See the class documentation for particular implementations of this interface to see how this property is used.</returns>
virtual public System.String GetKey() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_key_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_key_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="key">The group that the data belongs to. See the class documentation for particular implementations of this interface to see how this property is used.</param>
virtual public void SetKey(System.String key) {
- Efl.IFileConcrete.NativeMethods.efl_file_key_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),key);
+ Efl.IFileConcrete.NativeMethods.efl_file_key_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),key);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the load state of the object.
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if the object is loaded, <c>false</c> otherwise.</returns>
virtual public bool GetLoaded() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_loaded_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_loaded_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>0 on success, error code otherwise</returns>
virtual public Eina.Error Load() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_load_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_load_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Calling <see cref="Efl.IFile.Unload"/> on an object which is not currently loaded will have no effect.
/// (Since EFL 1.22)</summary>
virtual public void Unload() {
- Efl.IFileConcrete.NativeMethods.efl_file_unload_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.IFileConcrete.NativeMethods.efl_file_unload_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Update observer according to the changes of observable object.</summary>
/// <param name="key">A key to classify observer groups</param>
/// <param name="data">Required data to update the observer, usually passed by observable object</param>
virtual public void Update(Efl.Object obs, System.String key, System.IntPtr data) {
- Efl.IObserverConcrete.NativeMethods.efl_observer_update_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),obs, key, data);
+ Efl.IObserverConcrete.NativeMethods.efl_observer_update_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),obs, key, data);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get a proxy object referring to a part of an object.
/// <param name="name">The part name.</param>
/// <returns>A (proxy) object, valid for a single call.</returns>
virtual public Efl.Object GetPart(System.String name) {
- var _ret_var = Efl.IPartConcrete.NativeMethods.efl_part_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),name);
+ var _ret_var = Efl.IPartConcrete.NativeMethods.efl_part_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),name);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Whether or not the playable can be played.</summary>
/// <returns><c>true</c> if the object have playable data, <c>false</c> otherwise</returns>
virtual public bool GetPlayable() {
- var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_playable_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_playable_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Get play/pause state of the media file.</summary>
/// <returns><c>true</c> if playing, <c>false</c> otherwise.</returns>
virtual public bool GetPlay() {
- var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_play_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_play_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This functions sets the currently playing status of the video. Using this function to play or pause the video doesn't alter it's current position.</summary>
/// <param name="play"><c>true</c> if playing, <c>false</c> otherwise.</param>
virtual public void SetPlay(bool play) {
- Efl.IPlayerConcrete.NativeMethods.efl_player_play_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),play);
+ Efl.IPlayerConcrete.NativeMethods.efl_player_play_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),play);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the position in the media file.
/// The position is returned as the number of seconds since the beginning of the media file.</summary>
/// <returns>The position (in seconds).</returns>
virtual public double GetPos() {
- var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_pos_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_pos_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This functions sets the current position of the media file to "sec", this only works on seekable streams. Setting the position doesn't change the playing state of the media file.</summary>
/// <param name="sec">The position (in seconds).</param>
virtual public void SetPos(double sec) {
- Efl.IPlayerConcrete.NativeMethods.efl_player_pos_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),sec);
+ Efl.IPlayerConcrete.NativeMethods.efl_player_pos_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),sec);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get how much of the file has been played.
/// This function gets the progress in playing the file, the return value is in the [0, 1] range.</summary>
/// <returns>The progress within the [0, 1] range.</returns>
virtual public double GetProgress() {
- var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_progress_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_progress_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This function control the speed with which the media file will be played. 1.0 represents the normal speed, 2 double speed, 0.5 half speed and so on.</summary>
/// <returns>The play speed in the [0, infinity) range.</returns>
virtual public double GetPlaySpeed() {
- var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_play_speed_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_play_speed_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This function control the speed with which the media file will be played. 1.0 represents the normal speed, 2 double speed, 0.5 half speed and so on.</summary>
/// <param name="speed">The play speed in the [0, infinity) range.</param>
virtual public void SetPlaySpeed(double speed) {
- Efl.IPlayerConcrete.NativeMethods.efl_player_play_speed_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),speed);
+ Efl.IPlayerConcrete.NativeMethods.efl_player_play_speed_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),speed);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control the audio volume.
/// Controls the audio volume of the stream being played. This has nothing to do with the system volume. This volume will be multiplied by the system volume. e.g.: if the current volume level is 0.5, and the system volume is 50%, it will be 0.5 * 0.5 = 0.25.</summary>
/// <returns>The volume level</returns>
virtual public double GetVolume() {
- var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_volume_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_volume_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Controls the audio volume of the stream being played. This has nothing to do with the system volume. This volume will be multiplied by the system volume. e.g.: if the current volume level is 0.5, and the system volume is 50%, it will be 0.5 * 0.5 = 0.25.</summary>
/// <param name="volume">The volume level</param>
virtual public void SetVolume(double volume) {
- Efl.IPlayerConcrete.NativeMethods.efl_player_volume_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),volume);
+ Efl.IPlayerConcrete.NativeMethods.efl_player_volume_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),volume);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This property controls the audio mute state.</summary>
/// <returns>The mute state. <c>true</c> or <c>false</c>.</returns>
virtual public bool GetMute() {
- var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_mute_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_mute_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>This property controls the audio mute state.</summary>
/// <param name="mute">The mute state. <c>true</c> or <c>false</c>.</param>
virtual public void SetMute(bool mute) {
- Efl.IPlayerConcrete.NativeMethods.efl_player_mute_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),mute);
+ Efl.IPlayerConcrete.NativeMethods.efl_player_mute_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),mute);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the length of play for the media file.</summary>
/// <returns>The length of the stream in seconds.</returns>
virtual public double GetLength() {
- var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_length_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_length_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Get whether the media file is seekable.</summary>
/// <returns><c>true</c> if seekable.</returns>
virtual public bool GetSeekable() {
- var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_seekable_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_seekable_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Start a playing playable object.</summary>
virtual public void Start() {
- Efl.IPlayerConcrete.NativeMethods.efl_player_start_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.IPlayerConcrete.NativeMethods.efl_player_start_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Stop playable object.</summary>
virtual public void Stop() {
- Efl.IPlayerConcrete.NativeMethods.efl_player_stop_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.IPlayerConcrete.NativeMethods.efl_player_stop_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the color of color class.
/// <param name="a">The alpha value</param>
/// <returns><c>true</c> if getting the color succeeded, <c>false</c> otherwise</returns>
virtual public bool GetColorClass(System.String color_class, Efl.Gfx.ColorClassLayer layer, out int r, out int g, out int b, out int a) {
- var _ret_var = Efl.Gfx.IColorClassConcrete.NativeMethods.efl_gfx_color_class_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),color_class, layer, out r, out g, out b, out a);
+ var _ret_var = Efl.Gfx.IColorClassConcrete.NativeMethods.efl_gfx_color_class_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),color_class, layer, out r, out g, out b, out a);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="a">The alpha value</param>
/// <returns><c>true</c> if setting the color succeeded, <c>false</c> otherwise</returns>
virtual public bool SetColorClass(System.String color_class, Efl.Gfx.ColorClassLayer layer, int r, int g, int b, int a) {
- var _ret_var = Efl.Gfx.IColorClassConcrete.NativeMethods.efl_gfx_color_class_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),color_class, layer, r, g, b, a);
+ var _ret_var = Efl.Gfx.IColorClassConcrete.NativeMethods.efl_gfx_color_class_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),color_class, layer, r, g, b, a);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="layer">The layer to set the color</param>
/// <returns>the hex color code.</returns>
virtual public System.String GetColorClassCode(System.String color_class, Efl.Gfx.ColorClassLayer layer) {
- var _ret_var = Efl.Gfx.IColorClassConcrete.NativeMethods.efl_gfx_color_class_code_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),color_class, layer);
+ var _ret_var = Efl.Gfx.IColorClassConcrete.NativeMethods.efl_gfx_color_class_code_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),color_class, layer);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="colorcode">the hex color code.</param>
/// <returns><c>true</c> if setting the color succeeded, <c>false</c> otherwise</returns>
virtual public bool SetColorClassCode(System.String color_class, Efl.Gfx.ColorClassLayer layer, System.String colorcode) {
- var _ret_var = Efl.Gfx.IColorClassConcrete.NativeMethods.efl_gfx_color_class_code_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),color_class, layer, colorcode);
+ var _ret_var = Efl.Gfx.IColorClassConcrete.NativeMethods.efl_gfx_color_class_code_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),color_class, layer, colorcode);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="color_class">The name of color class</param>
/// <returns>The description of the target color class or <c>null</c> if not found</returns>
virtual public System.String GetColorClassDescription(System.String color_class) {
- var _ret_var = Efl.Gfx.IColorClassConcrete.NativeMethods.efl_gfx_color_class_description_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),color_class);
+ var _ret_var = Efl.Gfx.IColorClassConcrete.NativeMethods.efl_gfx_color_class_description_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),color_class);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Deleting the color class will emit the signal "color_class,del" for the given Edje object.</summary>
/// <param name="color_class">The name of color_class</param>
virtual public void DelColorClass(System.String color_class) {
- Efl.Gfx.IColorClassConcrete.NativeMethods.efl_gfx_color_class_del_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),color_class);
+ Efl.Gfx.IColorClassConcrete.NativeMethods.efl_gfx_color_class_del_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),color_class);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Delete all color classes defined in object level.
/// This function deletes any color classes defined in object level. Clearing color classes will revert the color of all edje parts to the values defined in global level or theme file.</summary>
virtual public void ClearColorClass() {
- Efl.Gfx.IColorClassConcrete.NativeMethods.efl_gfx_color_class_clear_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Gfx.IColorClassConcrete.NativeMethods.efl_gfx_color_class_clear_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get width and height of size class.
/// <param name="maxh">maximum height</param>
/// <returns><c>true</c>, on success or <c>false</c>, on error</returns>
virtual public bool GetSizeClass(System.String size_class, out int minw, out int minh, out int maxw, out int maxh) {
- var _ret_var = Efl.Gfx.ISizeClassConcrete.NativeMethods.efl_gfx_size_class_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),size_class, out minw, out minh, out maxw, out maxh);
+ var _ret_var = Efl.Gfx.ISizeClassConcrete.NativeMethods.efl_gfx_size_class_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),size_class, out minw, out minh, out maxw, out maxh);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="maxh">maximum height</param>
/// <returns><c>true</c>, on success or <c>false</c>, on error</returns>
virtual public bool SetSizeClass(System.String size_class, int minw, int minh, int maxw, int maxh) {
- var _ret_var = Efl.Gfx.ISizeClassConcrete.NativeMethods.efl_gfx_size_class_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),size_class, minw, minh, maxw, maxh);
+ var _ret_var = Efl.Gfx.ISizeClassConcrete.NativeMethods.efl_gfx_size_class_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),size_class, minw, minh, maxw, maxh);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Deleting the size class will revert it to the values defined by <see cref="Efl.Gfx.ISizeClass.GetSizeClass"/> or the size class defined in the theme file.</summary>
/// <param name="size_class">The size class to be deleted.</param>
virtual public void DelSizeClass(System.String size_class) {
- Efl.Gfx.ISizeClassConcrete.NativeMethods.efl_gfx_size_class_del_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),size_class);
+ Efl.Gfx.ISizeClassConcrete.NativeMethods.efl_gfx_size_class_del_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),size_class);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get font and font size from edje text class.
/// <param name="size">Font Size</param>
/// <returns><c>true</c>, on success or <c>false</c>, on error</returns>
virtual public bool GetTextClass(System.String text_class, out System.String font, out Efl.Font.Size size) {
- var _ret_var = Efl.Gfx.ITextClassConcrete.NativeMethods.efl_gfx_text_class_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),text_class, out font, out size);
+ var _ret_var = Efl.Gfx.ITextClassConcrete.NativeMethods.efl_gfx_text_class_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),text_class, out font, out size);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="size">Font Size</param>
/// <returns><c>true</c>, on success or <c>false</c>, on error</returns>
virtual public bool SetTextClass(System.String text_class, System.String font, Efl.Font.Size size) {
- var _ret_var = Efl.Gfx.ITextClassConcrete.NativeMethods.efl_gfx_text_class_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),text_class, font, size);
+ var _ret_var = Efl.Gfx.ITextClassConcrete.NativeMethods.efl_gfx_text_class_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),text_class, font, size);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Deleting the text class will revert it to the values defined by <see cref="Efl.Gfx.ITextClass.GetTextClass"/> or the text class defined in the theme file.</summary>
/// <param name="text_class">The text class to be deleted.</param>
virtual public void DelTextClass(System.String text_class) {
- Efl.Gfx.ITextClassConcrete.NativeMethods.efl_gfx_text_class_del_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),text_class);
+ Efl.Gfx.ITextClassConcrete.NativeMethods.efl_gfx_text_class_del_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),text_class);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Whether this object updates its size hints automatically.
/// (Since EFL 1.22)</summary>
/// <returns>Whether or not update the size hints.</returns>
virtual public bool GetCalcAutoUpdateHints() {
- var _ret_var = Efl.Layout.ICalcConcrete.NativeMethods.efl_layout_calc_auto_update_hints_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Layout.ICalcConcrete.NativeMethods.efl_layout_calc_auto_update_hints_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="update">Whether or not update the size hints.</param>
virtual public void SetCalcAutoUpdateHints(bool update) {
- Efl.Layout.ICalcConcrete.NativeMethods.efl_layout_calc_auto_update_hints_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),update);
+ Efl.Layout.ICalcConcrete.NativeMethods.efl_layout_calc_auto_update_hints_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),update);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Calculates the minimum required size for a given layout object.
/// <returns>The minimum required size.</returns>
virtual public Eina.Size2D CalcSizeMin(Eina.Size2D restricted) {
Eina.Size2D.NativeStruct _in_restricted = restricted;
- var _ret_var = Efl.Layout.ICalcConcrete.NativeMethods.efl_layout_calc_size_min_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_restricted);
+ var _ret_var = Efl.Layout.ICalcConcrete.NativeMethods.efl_layout_calc_size_min_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_restricted);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The calculated region.</returns>
virtual public Eina.Rect CalcPartsExtends() {
- var _ret_var = Efl.Layout.ICalcConcrete.NativeMethods.efl_layout_calc_parts_extends_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Layout.ICalcConcrete.NativeMethods.efl_layout_calc_parts_extends_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The frozen state or 0 on error</returns>
virtual public int FreezeCalc() {
- var _ret_var = Efl.Layout.ICalcConcrete.NativeMethods.efl_layout_calc_freeze_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Layout.ICalcConcrete.NativeMethods.efl_layout_calc_freeze_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The frozen state or 0 if the object is not frozen or on error.</returns>
virtual public int ThawCalc() {
- var _ret_var = Efl.Layout.ICalcConcrete.NativeMethods.efl_layout_calc_thaw_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Layout.ICalcConcrete.NativeMethods.efl_layout_calc_thaw_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// See also <see cref="Efl.Layout.ICalc.FreezeCalc"/> and <see cref="Efl.Layout.ICalc.ThawCalc"/>.
/// (Since EFL 1.22)</summary>
virtual public void CalcForce() {
- Efl.Layout.ICalcConcrete.NativeMethods.efl_layout_calc_force_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Layout.ICalcConcrete.NativeMethods.efl_layout_calc_force_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gets the minimum size specified -- as an EDC property -- for a given Edje object
/// (Since EFL 1.22)</summary>
/// <returns>The minimum size as set in EDC.</returns>
virtual public Eina.Size2D GetGroupSizeMin() {
- var _ret_var = Efl.Layout.IGroupConcrete.NativeMethods.efl_layout_group_size_min_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Layout.IGroupConcrete.NativeMethods.efl_layout_group_size_min_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The maximum size as set in EDC.</returns>
virtual public Eina.Size2D GetGroupSizeMax() {
- var _ret_var = Efl.Layout.IGroupConcrete.NativeMethods.efl_layout_group_size_max_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Layout.IGroupConcrete.NativeMethods.efl_layout_group_size_max_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="key">The data field's key string</param>
/// <returns>The data's value string.</returns>
virtual public System.String GetGroupData(System.String key) {
- var _ret_var = Efl.Layout.IGroupConcrete.NativeMethods.efl_layout_group_data_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),key);
+ var _ret_var = Efl.Layout.IGroupConcrete.NativeMethods.efl_layout_group_data_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),key);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="part">The part name to check.</param>
/// <returns><c>true</c> if the part exists, <c>false</c> otherwise.</returns>
virtual public bool GetPartExist(System.String part) {
- var _ret_var = Efl.Layout.IGroupConcrete.NativeMethods.efl_layout_group_part_exist_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),part);
+ var _ret_var = Efl.Layout.IGroupConcrete.NativeMethods.efl_layout_group_part_exist_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),part);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="id">A identification number for the message to be sent</param>
/// <param name="msg">The message's payload</param>
virtual public void MessageSend(int id, Eina.Value msg) {
- Efl.Layout.ISignalConcrete.NativeMethods.efl_layout_signal_message_send_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),id, msg);
+ Efl.Layout.ISignalConcrete.NativeMethods.efl_layout_signal_message_send_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),id, msg);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Adds a callback for an arriving Edje signal, emitted by a given Edje object.
/// <returns><c>true</c> in case of success, <c>false</c> in case of error.</returns>
virtual public bool AddSignalCallback(System.String emission, System.String source, EflLayoutSignalCb func) {
GCHandle func_handle = GCHandle.Alloc(func);
- var _ret_var = Efl.Layout.ISignalConcrete.NativeMethods.efl_layout_signal_callback_add_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),emission, source, GCHandle.ToIntPtr(func_handle), EflLayoutSignalCbWrapper.Cb, Efl.Eo.Globals.free_gchandle);
+ var _ret_var = Efl.Layout.ISignalConcrete.NativeMethods.efl_layout_signal_callback_add_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),emission, source, GCHandle.ToIntPtr(func_handle), EflLayoutSignalCbWrapper.Cb, Efl.Eo.Globals.free_gchandle);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <returns><c>true</c> in case of success, <c>false</c> in case of error.</returns>
virtual public bool DelSignalCallback(System.String emission, System.String source, EflLayoutSignalCb func) {
GCHandle func_handle = GCHandle.Alloc(func);
- var _ret_var = Efl.Layout.ISignalConcrete.NativeMethods.efl_layout_signal_callback_del_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),emission, source, GCHandle.ToIntPtr(func_handle), EflLayoutSignalCbWrapper.Cb, Efl.Eo.Globals.free_gchandle);
+ var _ret_var = Efl.Layout.ISignalConcrete.NativeMethods.efl_layout_signal_callback_del_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),emission, source, GCHandle.ToIntPtr(func_handle), EflLayoutSignalCbWrapper.Cb, Efl.Eo.Globals.free_gchandle);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="emission">The signal's "emission" string</param>
/// <param name="source">The signal's "source" string</param>
virtual public void EmitSignal(System.String emission, System.String source) {
- Efl.Layout.ISignalConcrete.NativeMethods.efl_layout_signal_emit_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),emission, source);
+ Efl.Layout.ISignalConcrete.NativeMethods.efl_layout_signal_emit_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),emission, source);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Processes an object's messages and signals queue.
/// (Since EFL 1.22)</summary>
/// <param name="recurse">Whether to process messages on children objects.</param>
virtual public void SignalProcess(bool recurse) {
- Efl.Layout.ISignalConcrete.NativeMethods.efl_layout_signal_process_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),recurse);
+ Efl.Layout.ISignalConcrete.NativeMethods.efl_layout_signal_process_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),recurse);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Whether this object is animating or not.
/// <summary>Common class for part proxy objects for <see cref="Efl.Canvas.Layout"/>.
/// As an <see cref="Efl.IPart"/> implementation class, all objects of this class are meant to be used for one and only one function call. In pseudo-code, the use of object of this type looks like the following: rect = layout.part("somepart").geometry_get();</summary>
[Efl.Canvas.LayoutPart.NativeMethods]
+[Efl.Eo.BindingEntity]
public class LayoutPart : Efl.Object, Efl.Gfx.IEntity, Efl.Ui.IDrag
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="LayoutPart"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public LayoutPart(Efl.Object parent= null
- ) : base(efl_canvas_layout_part_class_get(), typeof(LayoutPart), parent)
+ ) : base(efl_canvas_layout_part_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected LayoutPart(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="LayoutPart"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected LayoutPart(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected LayoutPart(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="LayoutPart"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected LayoutPart(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected LayoutPart(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_ENTITY_EVENT_VISIBILITY_CHANGED";
RemoveNativeEventHandler(efl.Libs.Edje, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_ENTITY_EVENT_POSITION_CHANGED";
RemoveNativeEventHandler(efl.Libs.Edje, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_ENTITY_EVENT_SIZE_CHANGED";
RemoveNativeEventHandler(efl.Libs.Edje, key, value);
/// <param name="state">The name of the state.</param>
/// <param name="val">The value of the state.</param>
virtual public void GetState(out System.String state, out double val) {
- Efl.Canvas.LayoutPart.NativeMethods.efl_canvas_layout_part_state_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out state, out val);
+ Efl.Canvas.LayoutPart.NativeMethods.efl_canvas_layout_part_state_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out state, out val);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Returns the type of the part.</summary>
/// <returns>One of the types or <c>none</c> if not an existing part.</returns>
virtual public Efl.Canvas.LayoutPartType GetPartType() {
- var _ret_var = Efl.Canvas.LayoutPart.NativeMethods.efl_canvas_layout_part_type_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.LayoutPart.NativeMethods.efl_canvas_layout_part_type_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>A 2D coordinate in pixel units.</returns>
virtual public Eina.Position2D GetPosition() {
- var _ret_var = Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_position_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_position_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="pos">A 2D coordinate in pixel units.</param>
virtual public void SetPosition(Eina.Position2D pos) {
Eina.Position2D.NativeStruct _in_pos = pos;
- Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_position_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_pos);
+ Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_position_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_pos);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Retrieves the (rectangular) size of the given Evas object.
/// (Since EFL 1.22)</summary>
/// <returns>A 2D size in pixel units.</returns>
virtual public Eina.Size2D GetSize() {
- var _ret_var = Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="size">A 2D size in pixel units.</param>
virtual public void SetSize(Eina.Size2D size) {
Eina.Size2D.NativeStruct _in_size = size;
- Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_size_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_size);
+ Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_size_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_size);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Rectangular geometry that combines both position and size.
/// (Since EFL 1.22)</summary>
/// <returns>The X,Y position and W,H size, in pixels.</returns>
virtual public Eina.Rect GetGeometry() {
- var _ret_var = Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_geometry_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_geometry_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="rect">The X,Y position and W,H size, in pixels.</param>
virtual public void SetGeometry(Eina.Rect rect) {
Eina.Rect.NativeStruct _in_rect = rect;
- Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_geometry_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_rect);
+ Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_geometry_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_rect);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Retrieves whether or not the given canvas object is visible.
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if to make the object visible, <c>false</c> otherwise</returns>
virtual public bool GetVisible() {
- var _ret_var = Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_visible_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_visible_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="v"><c>true</c> if to make the object visible, <c>false</c> otherwise</param>
virtual public void SetVisible(bool v) {
- Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_visible_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),v);
+ Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_visible_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),v);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gets an object's scaling factor.
/// (Since EFL 1.22)</summary>
/// <returns>The scaling factor (the default value is 0.0, meaning individual scaling is not set)</returns>
virtual public double GetScale() {
- var _ret_var = Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_scale_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_scale_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="scale">The scaling factor (the default value is 0.0, meaning individual scaling is not set)</param>
virtual public void SetScale(double scale) {
- Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_scale_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),scale);
+ Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_scale_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),scale);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gets the draggable object location.</summary>
/// <param name="dy">The y relative position, from 0 to 1.</param>
/// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
virtual public bool GetDragValue(out double dx, out double dy) {
- var _ret_var = Efl.Ui.IDragConcrete.NativeMethods.efl_ui_drag_value_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out dx, out dy);
+ var _ret_var = Efl.Ui.IDragConcrete.NativeMethods.efl_ui_drag_value_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out dx, out dy);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="dy">The y relative position, from 0 to 1.</param>
/// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
virtual public bool SetDragValue(double dx, double dy) {
- var _ret_var = Efl.Ui.IDragConcrete.NativeMethods.efl_ui_drag_value_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dx, dy);
+ var _ret_var = Efl.Ui.IDragConcrete.NativeMethods.efl_ui_drag_value_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dx, dy);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="dh">The drag relative height, from 0 to 1.</param>
/// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
virtual public bool GetDragSize(out double dw, out double dh) {
- var _ret_var = Efl.Ui.IDragConcrete.NativeMethods.efl_ui_drag_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out dw, out dh);
+ var _ret_var = Efl.Ui.IDragConcrete.NativeMethods.efl_ui_drag_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out dw, out dh);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="dh">The drag relative height, from 0 to 1.</param>
/// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
virtual public bool SetDragSize(double dw, double dh) {
- var _ret_var = Efl.Ui.IDragConcrete.NativeMethods.efl_ui_drag_size_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dw, dh);
+ var _ret_var = Efl.Ui.IDragConcrete.NativeMethods.efl_ui_drag_size_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dw, dh);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Gets the draggable direction.</summary>
/// <returns>The direction(s) premitted for drag.</returns>
virtual public Efl.Ui.DragDir GetDragDir() {
- var _ret_var = Efl.Ui.IDragConcrete.NativeMethods.efl_ui_drag_dir_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IDragConcrete.NativeMethods.efl_ui_drag_dir_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="dy">The y step relative amount, from 0 to 1.</param>
/// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
virtual public bool GetDragStep(out double dx, out double dy) {
- var _ret_var = Efl.Ui.IDragConcrete.NativeMethods.efl_ui_drag_step_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out dx, out dy);
+ var _ret_var = Efl.Ui.IDragConcrete.NativeMethods.efl_ui_drag_step_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out dx, out dy);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="dy">The y step relative amount, from 0 to 1.</param>
/// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
virtual public bool SetDragStep(double dx, double dy) {
- var _ret_var = Efl.Ui.IDragConcrete.NativeMethods.efl_ui_drag_step_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dx, dy);
+ var _ret_var = Efl.Ui.IDragConcrete.NativeMethods.efl_ui_drag_step_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dx, dy);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="dy">The y page step increment</param>
/// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
virtual public bool GetDragPage(out double dx, out double dy) {
- var _ret_var = Efl.Ui.IDragConcrete.NativeMethods.efl_ui_drag_page_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out dx, out dy);
+ var _ret_var = Efl.Ui.IDragConcrete.NativeMethods.efl_ui_drag_page_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out dx, out dy);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="dy">The y page step increment</param>
/// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
virtual public bool SetDragPage(double dx, double dy) {
- var _ret_var = Efl.Ui.IDragConcrete.NativeMethods.efl_ui_drag_page_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dx, dy);
+ var _ret_var = Efl.Ui.IDragConcrete.NativeMethods.efl_ui_drag_page_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dx, dy);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="dy">The number of steps vertically.</param>
/// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
virtual public bool MoveDragStep(double dx, double dy) {
- var _ret_var = Efl.Ui.IDragConcrete.NativeMethods.efl_ui_drag_step_move_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dx, dy);
+ var _ret_var = Efl.Ui.IDragConcrete.NativeMethods.efl_ui_drag_step_move_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dx, dy);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="dy">The number of pages vertically.</param>
/// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
virtual public bool MoveDragPage(double dx, double dy) {
- var _ret_var = Efl.Ui.IDragConcrete.NativeMethods.efl_ui_drag_page_move_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dx, dy);
+ var _ret_var = Efl.Ui.IDragConcrete.NativeMethods.efl_ui_drag_page_move_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dx, dy);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Represents a Box created as part of a layout.
/// Its lifetime is limited to one function call only, unless an extra reference is explicitly held.</summary>
[Efl.Canvas.LayoutPartBox.NativeMethods]
+[Efl.Eo.BindingEntity]
public class LayoutPartBox : Efl.Canvas.LayoutPart, Efl.IContainer, Efl.IPack, Efl.IPackLinear, Efl.Ui.ILayoutOrientable, Efl.Ui.ILayoutOrientableReadonly
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="LayoutPartBox"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public LayoutPartBox(Efl.Object parent= null
- ) : base(efl_canvas_layout_part_box_class_get(), typeof(LayoutPartBox), parent)
+ ) : base(efl_canvas_layout_part_box_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected LayoutPartBox(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="LayoutPartBox"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected LayoutPartBox(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected LayoutPartBox(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="LayoutPartBox"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected LayoutPartBox(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected LayoutPartBox(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED";
RemoveNativeEventHandler(efl.Libs.Edje, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED";
RemoveNativeEventHandler(efl.Libs.Edje, key, value);
/// (Since EFL 1.22)</summary>
/// <returns>Iterator on object's content.</returns>
virtual public Eina.Iterator<Efl.Gfx.IEntity> ContentIterate() {
- var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_iterate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_iterate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true, false);
+ return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true);
}
/// <summary>Returns the number of contained sub-objects.
/// (Since EFL 1.22)</summary>
/// <returns>Number of sub-objects.</returns>
virtual public int ContentCount() {
- var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_count_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_count_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Removes all packed sub-objects and unreferences them.</summary>
/// <returns><c>true</c> on success, <c>false</c> otherwise.</returns>
virtual public bool ClearPack() {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_clear_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_clear_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Use with caution.</summary>
/// <returns><c>true</c> on success, <c>false</c> otherwise.</returns>
virtual public bool UnpackAll() {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_all_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_all_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="subobj">The sub-object to unpack.</param>
/// <returns><c>false</c> if <c>subobj</c> wasn't in the container or couldn't be removed.</returns>
virtual public bool Unpack(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="subobj">The object to pack.</param>
/// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
virtual public bool Pack(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="subobj">Object to pack at the beginning.</param>
/// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
virtual public bool PackBegin(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_begin_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_begin_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="subobj">Object to pack at the end.</param>
/// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
virtual public bool PackEnd(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_end_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_end_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="existing">Existing reference sub-object.</param>
/// <returns><c>false</c> if <c>existing</c> could not be found or <c>subobj</c> could not be packed.</returns>
virtual public bool PackBefore(Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_before_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj, existing);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_before_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, existing);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="existing">Existing reference sub-object.</param>
/// <returns><c>false</c> if <c>existing</c> could not be found or <c>subobj</c> could not be packed.</returns>
virtual public bool PackAfter(Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_after_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj, existing);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_after_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, existing);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="index">Index of existing sub-object to insert BEFORE. Valid range is -<c>count</c> to (<c>count</c>-1).</param>
/// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
virtual public bool PackAt(Efl.Gfx.IEntity subobj, int index) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_at_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj, index);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_at_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, index);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="index">Index of the existing sub-object to retrieve. Valid range is -<c>count</c> to (<c>count</c>-1).</param>
/// <returns>The sub-object contained at the given <c>index</c>.</returns>
virtual public Efl.Gfx.IEntity GetPackContent(int index) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),index);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),index);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="subobj">An existing sub-object in this container.</param>
/// <returns>-1 in case <c>subobj</c> is not found, or the index of <c>subobj</c> in the range 0 to (<c>count</c>-1).</returns>
virtual public int GetPackIndex(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_index_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_index_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="index">Index of the sub-object to remove. Valid range is -<c>count</c> to (<c>count</c>-1).</param>
/// <returns>The sub-object if it could be removed.</returns>
virtual public Efl.Gfx.IEntity PackUnpackAt(int index) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_unpack_at_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),index);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_unpack_at_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),index);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Mirroring as defined in <see cref="Efl.Ui.II18n"/> can invert the <c>horizontal</c> direction: it is <c>ltr</c> by default, but becomes <c>rtl</c> if the object is mirrored.</summary>
/// <returns>Direction of the widget.</returns>
virtual public Efl.Ui.LayoutOrientation GetOrientation() {
- var _ret_var = Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Mirroring as defined in <see cref="Efl.Ui.II18n"/> can invert the <c>horizontal</c> direction: it is <c>ltr</c> by default, but becomes <c>rtl</c> if the object is mirrored.</summary>
/// <param name="dir">Direction of the widget.</param>
virtual public void SetOrientation(Efl.Ui.LayoutOrientation dir) {
- Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dir);
+ Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dir);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control the direction of a given widget.
///
/// Note that as a shortcut the widget's functions can be called directly on this part object. In C++: efl::eo::downcast<efl::Text>(layout.part("title")).text_set("hello"); Or in pseudo-C: efl_text_set(efl_part(layout, "title"), "hello"); Or in pseudo-script: layout["title"].text = "hello";</summary>
[Efl.Canvas.LayoutPartExternal.NativeMethods]
+[Efl.Eo.BindingEntity]
public class LayoutPartExternal : Efl.Canvas.LayoutPart, Efl.IContent
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="LayoutPartExternal"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public LayoutPartExternal(Efl.Object parent= null
- ) : base(efl_canvas_layout_part_external_class_get(), typeof(LayoutPartExternal), parent)
+ ) : base(efl_canvas_layout_part_external_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected LayoutPartExternal(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="LayoutPartExternal"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected LayoutPartExternal(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected LayoutPartExternal(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="LayoutPartExternal"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected LayoutPartExternal(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected LayoutPartExternal(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Edje, key, value);
/// (Since EFL 1.22)</summary>
/// <returns>The sub-object.</returns>
virtual public Efl.Gfx.IEntity GetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="content">The sub-object.</param>
/// <returns><c>true</c> if <c>content</c> was successfully swallowed.</returns>
virtual public bool SetContent(Efl.Gfx.IEntity content) {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),content);
+ 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);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Unswallowed object</returns>
virtual public Efl.Gfx.IEntity UnsetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Common class for part proxy objects for <see cref="Efl.Canvas.Layout"/>.
/// As an <see cref="Efl.IPart"/> implementation class, all objects of this class are meant to be used for one and only one function call. In pseudo-code, the use of object of this type looks like the following: rect = layout.part("somepart").geometry_get();</summary>
[Efl.Canvas.LayoutPartInvalid.NativeMethods]
+[Efl.Eo.BindingEntity]
public class LayoutPartInvalid : Efl.Canvas.LayoutPart, Efl.IContainer, Efl.IContent, Efl.IPack, Efl.IPackLinear, Efl.IPackTable, Efl.IText, Efl.ITextCursor, Efl.ITextMarkup, Efl.ITextMarkupInteractive, Efl.Ui.ILayoutOrientable, Efl.Ui.ILayoutOrientableReadonly
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="LayoutPartInvalid"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public LayoutPartInvalid(Efl.Object parent= null
- ) : base(efl_canvas_layout_part_invalid_class_get(), typeof(LayoutPartInvalid), parent)
+ ) : base(efl_canvas_layout_part_invalid_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected LayoutPartInvalid(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="LayoutPartInvalid"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected LayoutPartInvalid(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected LayoutPartInvalid(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="LayoutPartInvalid"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected LayoutPartInvalid(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected LayoutPartInvalid(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED";
RemoveNativeEventHandler(efl.Libs.Edje, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED";
RemoveNativeEventHandler(efl.Libs.Edje, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Edje, key, value);
/// (Since EFL 1.22)</summary>
/// <returns>Iterator on object's content.</returns>
virtual public Eina.Iterator<Efl.Gfx.IEntity> ContentIterate() {
- var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_iterate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_iterate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true, false);
+ return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true);
}
/// <summary>Returns the number of contained sub-objects.
/// (Since EFL 1.22)</summary>
/// <returns>Number of sub-objects.</returns>
virtual public int ContentCount() {
- var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_count_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_count_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The sub-object.</returns>
virtual public Efl.Gfx.IEntity GetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="content">The sub-object.</param>
/// <returns><c>true</c> if <c>content</c> was successfully swallowed.</returns>
virtual public bool SetContent(Efl.Gfx.IEntity content) {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),content);
+ 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);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Unswallowed object</returns>
virtual public Efl.Gfx.IEntity UnsetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Removes all packed sub-objects and unreferences them.</summary>
/// <returns><c>true</c> on success, <c>false</c> otherwise.</returns>
virtual public bool ClearPack() {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_clear_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_clear_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Use with caution.</summary>
/// <returns><c>true</c> on success, <c>false</c> otherwise.</returns>
virtual public bool UnpackAll() {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_all_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_all_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="subobj">The sub-object to unpack.</param>
/// <returns><c>false</c> if <c>subobj</c> wasn't in the container or couldn't be removed.</returns>
virtual public bool Unpack(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="subobj">The object to pack.</param>
/// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
virtual public bool Pack(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="subobj">Object to pack at the beginning.</param>
/// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
virtual public bool PackBegin(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_begin_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_begin_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="subobj">Object to pack at the end.</param>
/// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
virtual public bool PackEnd(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_end_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_end_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="existing">Existing reference sub-object.</param>
/// <returns><c>false</c> if <c>existing</c> could not be found or <c>subobj</c> could not be packed.</returns>
virtual public bool PackBefore(Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_before_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj, existing);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_before_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, existing);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="existing">Existing reference sub-object.</param>
/// <returns><c>false</c> if <c>existing</c> could not be found or <c>subobj</c> could not be packed.</returns>
virtual public bool PackAfter(Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_after_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj, existing);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_after_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, existing);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="index">Index of existing sub-object to insert BEFORE. Valid range is -<c>count</c> to (<c>count</c>-1).</param>
/// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
virtual public bool PackAt(Efl.Gfx.IEntity subobj, int index) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_at_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj, index);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_at_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, index);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="index">Index of the existing sub-object to retrieve. Valid range is -<c>count</c> to (<c>count</c>-1).</param>
/// <returns>The sub-object contained at the given <c>index</c>.</returns>
virtual public Efl.Gfx.IEntity GetPackContent(int index) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),index);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),index);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="subobj">An existing sub-object in this container.</param>
/// <returns>-1 in case <c>subobj</c> is not found, or the index of <c>subobj</c> in the range 0 to (<c>count</c>-1).</returns>
virtual public int GetPackIndex(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_index_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_index_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="index">Index of the sub-object to remove. Valid range is -<c>count</c> to (<c>count</c>-1).</param>
/// <returns>The sub-object if it could be removed.</returns>
virtual public Efl.Gfx.IEntity PackUnpackAt(int index) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_unpack_at_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),index);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_unpack_at_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),index);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="rowspan">Row span</param>
/// <returns>Returns false if item is not a child</returns>
virtual public bool GetTablePosition(Efl.Gfx.IEntity subobj, out int col, out int row, out int colspan, out int rowspan) {
- var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_position_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj, out col, out row, out colspan, out rowspan);
+ var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_position_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, out col, out row, out colspan, out rowspan);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="cols">Number of columns</param>
/// <param name="rows">Number of rows</param>
virtual public void GetTableSize(out int cols, out int rows) {
- Efl.IPackTableConcrete.NativeMethods.efl_pack_table_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out cols, out rows);
+ Efl.IPackTableConcrete.NativeMethods.efl_pack_table_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out cols, out rows);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Combines <see cref="Efl.IPackTable.TableColumns"/> and <see cref="Efl.IPackTable.TableRows"/></summary>
/// <param name="cols">Number of columns</param>
/// <param name="rows">Number of rows</param>
virtual public void SetTableSize(int cols, int rows) {
- Efl.IPackTableConcrete.NativeMethods.efl_pack_table_size_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cols, rows);
+ Efl.IPackTableConcrete.NativeMethods.efl_pack_table_size_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cols, rows);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Specifies the amount of columns the table will have when the fill direction is horizontal. If it is vertical, the amount of columns depends on the amount of cells added and <see cref="Efl.IPackTable.TableRows"/>.</summary>
/// <returns>Amount of columns.</returns>
virtual public int GetTableColumns() {
- var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_columns_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_columns_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Specifies the amount of columns the table will have when the fill direction is horizontal. If it is vertical, the amount of columns depends on the amount of cells added and <see cref="Efl.IPackTable.TableRows"/>.</summary>
/// <param name="cols">Amount of columns.</param>
virtual public void SetTableColumns(int cols) {
- Efl.IPackTableConcrete.NativeMethods.efl_pack_table_columns_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cols);
+ Efl.IPackTableConcrete.NativeMethods.efl_pack_table_columns_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cols);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Specifies the amount of rows the table will have when the fill direction is vertical. If it is horizontal, the amount of rows depends on the amount of cells added and <see cref="Efl.IPackTable.TableColumns"/>.</summary>
/// <returns>Amount of rows.</returns>
virtual public int GetTableRows() {
- var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_rows_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_rows_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Specifies the amount of rows the table will have when the fill direction is vertical. If it is horizontal, the amount of rows depends on the amount of cells added and <see cref="Efl.IPackTable.TableColumns"/>.</summary>
/// <param name="rows">Amount of rows.</param>
virtual public void SetTableRows(int rows) {
- Efl.IPackTableConcrete.NativeMethods.efl_pack_table_rows_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),rows);
+ Efl.IPackTableConcrete.NativeMethods.efl_pack_table_rows_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),rows);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Pack object at a given location in the table.
/// <param name="rowspan">0 means 1, -1 means <see cref="Efl.IPackTable.TableRows"/></param>
/// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
virtual public bool PackTable(Efl.Gfx.IEntity subobj, int col, int row, int colspan, int rowspan) {
- var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj, col, row, colspan, rowspan);
+ var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, col, row, colspan, rowspan);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="below">If <c>true</c> get objects spanning over this cell.</param>
/// <returns>Iterator to table contents</returns>
virtual public Eina.Iterator<Efl.Gfx.IEntity> GetTableContents(int col, int row, bool below) {
- var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_contents_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),col, row, below);
+ var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_contents_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),col, row, below);
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true, false);
+ return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true);
}
/// <summary>Returns a child at a given position, see <see cref="Efl.IPackTable.GetTableContents"/>.</summary>
/// <param name="col">Column number</param>
/// <param name="row">Row number</param>
/// <returns>Child object</returns>
virtual public Efl.Gfx.IEntity GetTableContent(int col, int row) {
- var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),col, row);
+ var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),col, row);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Text string to display on it.</returns>
virtual public System.String GetText() {
- var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="text">Text string to display on it.</param>
virtual public void SetText(System.String text) {
- Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),text);
+ Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),text);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The object's main cursor.</summary>
/// <param name="get_type">Cursor type</param>
/// <returns>Text cursor object</returns>
virtual public Efl.TextCursorCursor GetTextCursor(Efl.TextCursorGetType get_type) {
- var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),get_type);
+ var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),get_type);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="cur">Cursor object</param>
/// <returns>Cursor position</returns>
virtual public int GetCursorPosition(Efl.TextCursorCursor cur) {
- var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_position_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_position_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="cur">Cursor object</param>
/// <param name="position">Cursor position</param>
virtual public void SetCursorPosition(Efl.TextCursorCursor cur, int position) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_position_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur, position);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_position_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur, position);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The content of the cursor (the character under the cursor)</summary>
/// <param name="cur">Cursor object</param>
/// <returns>The unicode codepoint of the character</returns>
virtual public Eina.Unicode GetCursorContent(Efl.TextCursorCursor cur) {
- var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="ch2">The height of the lower cursor</param>
/// <returns><c>true</c> if split cursor, <c>false</c> otherwise.</returns>
virtual public bool GetCursorGeometry(Efl.TextCursorCursor cur, Efl.TextCursorType ctype, out int cx, out int cy, out int cw, out int ch, out int cx2, out int cy2, out int cw2, out int ch2) {
- var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_geometry_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur, ctype, out cx, out cy, out cw, out ch, out cx2, out cy2, out cw2, out ch2);
+ var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_geometry_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur, ctype, out cx, out cy, out cw, out ch, out cx2, out cy2, out cw2, out ch2);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Create new cursor</summary>
/// <returns>Cursor object</returns>
virtual public Efl.TextCursorCursor NewCursor() {
- var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_new_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_new_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Free existing cursor</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorFree(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_free_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_free_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Check if two cursors are equal</summary>
/// <param name="cur2">Cursor 2 object</param>
/// <returns><c>true</c> if cursors are equal, <c>false</c> otherwise</returns>
virtual public bool CursorEqual(Efl.TextCursorCursor cur1, Efl.TextCursorCursor cur2) {
- var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_equal_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur1, cur2);
+ var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_equal_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur1, cur2);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="cur2">Cursor 2 object</param>
/// <returns>Difference between cursors</returns>
virtual public int CursorCompare(Efl.TextCursorCursor cur1, Efl.TextCursorCursor cur2) {
- var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_compare_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur1, cur2);
+ var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_compare_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur1, cur2);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="dst">Destination cursor</param>
/// <param name="src">Source cursor</param>
virtual public void CursorCopy(Efl.TextCursorCursor dst, Efl.TextCursorCursor src) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_copy_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dst, src);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_copy_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dst, src);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Advances to the next character</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorCharNext(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_char_next_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_char_next_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Advances to the previous character</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorCharPrev(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_char_prev_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_char_prev_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Advances to the next grapheme cluster</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorClusterNext(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_cluster_next_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_cluster_next_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Advances to the previous grapheme cluster</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorClusterPrev(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_cluster_prev_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_cluster_prev_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Advances to the first character in this paragraph</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorParagraphCharFirst(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_char_first_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_char_first_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Advances to the last character in this paragraph</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorParagraphCharLast(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_char_last_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_char_last_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Advance to current word start</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorWordStart(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_word_start_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_word_start_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Advance to current word end</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorWordEnd(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_word_end_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_word_end_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Advance to current line first character</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorLineCharFirst(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_line_char_first_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_line_char_first_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Advance to current line last character</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorLineCharLast(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_line_char_last_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_line_char_last_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Advance to current paragraph first character</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorParagraphFirst(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_first_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_first_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Advance to current paragraph last character</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorParagraphLast(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_last_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_last_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Advances to the start of the next text node</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorParagraphNext(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_next_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_next_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Advances to the end of the previous text node</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorParagraphPrev(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_prev_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_prev_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Jump the cursor by the given number of lines</summary>
/// <param name="cur">Cursor object</param>
/// <param name="by">Number of lines</param>
virtual public void CursorLineJumpBy(Efl.TextCursorCursor cur, int by) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_line_jump_by_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur, by);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_line_jump_by_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur, by);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set cursor coordinates</summary>
/// <param name="x">X coord to set by.</param>
/// <param name="y">Y coord to set by.</param>
virtual public void SetCursorCoord(Efl.TextCursorCursor cur, int x, int y) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_coord_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur, x, y);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_coord_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur, x, y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set cursor coordinates according to grapheme clusters. It does not allow to put a cursor to the middle of a grapheme cluster.</summary>
/// <param name="x">X coord to set by.</param>
/// <param name="y">Y coord to set by.</param>
virtual public void SetCursorClusterCoord(Efl.TextCursorCursor cur, int x, int y) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_cluster_coord_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur, x, y);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_cluster_coord_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur, x, y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Adds text to the current cursor position and set the cursor to *after* the start of the text just added.</summary>
/// <param name="text">Text to append (UTF-8 format).</param>
/// <returns>Length of the appended text.</returns>
virtual public int CursorTextInsert(Efl.TextCursorCursor cur, System.String text) {
- var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_text_insert_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur, text);
+ var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_text_insert_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur, text);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Deletes a single character from position pointed by given cursor.</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorCharDelete(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_char_delete_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_char_delete_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Markup property</summary>
/// <returns>The markup-text representation set to this text.</returns>
virtual public System.String GetMarkup() {
- var _ret_var = Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Markup property</summary>
/// <param name="markup">The markup-text representation set to this text.</param>
virtual public void SetMarkup(System.String markup) {
- Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),markup);
+ Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),markup);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Markup of a given range in the text</summary>
/// <param name="end">End of markup region</param>
/// <returns>The markup-text representation set to this text of a given range</returns>
virtual public System.String GetMarkupRange(Efl.TextCursorCursor start, Efl.TextCursorCursor end) {
- var _ret_var = Efl.ITextMarkupInteractiveConcrete.NativeMethods.efl_text_markup_interactive_markup_range_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),start, end);
+ var _ret_var = Efl.ITextMarkupInteractiveConcrete.NativeMethods.efl_text_markup_interactive_markup_range_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),start, end);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="end">End of markup region</param>
/// <param name="markup">The markup-text representation set to this text of a given range</param>
virtual public void SetMarkupRange(Efl.TextCursorCursor start, Efl.TextCursorCursor end, System.String markup) {
- Efl.ITextMarkupInteractiveConcrete.NativeMethods.efl_text_markup_interactive_markup_range_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),start, end, markup);
+ Efl.ITextMarkupInteractiveConcrete.NativeMethods.efl_text_markup_interactive_markup_range_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),start, end, markup);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Inserts a markup text to the text object in a given cursor position</summary>
/// <param name="cur">Cursor position to insert markup</param>
/// <param name="markup">The markup text to insert</param>
virtual public void CursorMarkupInsert(Efl.TextCursorCursor cur, System.String markup) {
- Efl.ITextMarkupInteractiveConcrete.NativeMethods.efl_text_markup_interactive_cursor_markup_insert_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur, markup);
+ Efl.ITextMarkupInteractiveConcrete.NativeMethods.efl_text_markup_interactive_cursor_markup_insert_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur, markup);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control the direction of a given widget.
/// Mirroring as defined in <see cref="Efl.Ui.II18n"/> can invert the <c>horizontal</c> direction: it is <c>ltr</c> by default, but becomes <c>rtl</c> if the object is mirrored.</summary>
/// <returns>Direction of the widget.</returns>
virtual public Efl.Ui.LayoutOrientation GetOrientation() {
- var _ret_var = Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Mirroring as defined in <see cref="Efl.Ui.II18n"/> can invert the <c>horizontal</c> direction: it is <c>ltr</c> by default, but becomes <c>rtl</c> if the object is mirrored.</summary>
/// <param name="dir">Direction of the widget.</param>
virtual public void SetOrientation(Efl.Ui.LayoutOrientation dir) {
- Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dir);
+ Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dir);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Sub-object currently set as this object's single content.
/// <summary>Represents a SWALLOW part of an Edje object.
/// Its lifetime is limited to one function call only, unless an extra reference is explicitely held.</summary>
[Efl.Canvas.LayoutPartSwallow.NativeMethods]
+[Efl.Eo.BindingEntity]
public class LayoutPartSwallow : Efl.Canvas.LayoutPart, Efl.IContent
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="LayoutPartSwallow"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public LayoutPartSwallow(Efl.Object parent= null
- ) : base(efl_canvas_layout_part_swallow_class_get(), typeof(LayoutPartSwallow), parent)
+ ) : base(efl_canvas_layout_part_swallow_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected LayoutPartSwallow(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="LayoutPartSwallow"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected LayoutPartSwallow(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected LayoutPartSwallow(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="LayoutPartSwallow"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected LayoutPartSwallow(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected LayoutPartSwallow(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Edje, key, value);
/// (Since EFL 1.22)</summary>
/// <returns>The sub-object.</returns>
virtual public Efl.Gfx.IEntity GetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="content">The sub-object.</param>
/// <returns><c>true</c> if <c>content</c> was successfully swallowed.</returns>
virtual public bool SetContent(Efl.Gfx.IEntity content) {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),content);
+ 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);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Unswallowed object</returns>
virtual public Efl.Gfx.IEntity UnsetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Represents a Table created as part of a layout.
/// Can not be deleted, this is only a representation of an internal object of an EFL layout.</summary>
[Efl.Canvas.LayoutPartTable.NativeMethods]
+[Efl.Eo.BindingEntity]
public class LayoutPartTable : Efl.Canvas.LayoutPart, Efl.IContainer, Efl.IPack, Efl.IPackTable
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="LayoutPartTable"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public LayoutPartTable(Efl.Object parent= null
- ) : base(efl_canvas_layout_part_table_class_get(), typeof(LayoutPartTable), parent)
+ ) : base(efl_canvas_layout_part_table_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected LayoutPartTable(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="LayoutPartTable"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected LayoutPartTable(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected LayoutPartTable(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="LayoutPartTable"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected LayoutPartTable(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected LayoutPartTable(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED";
RemoveNativeEventHandler(efl.Libs.Edje, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED";
RemoveNativeEventHandler(efl.Libs.Edje, key, value);
/// (Since EFL 1.22)</summary>
/// <returns>Iterator on object's content.</returns>
virtual public Eina.Iterator<Efl.Gfx.IEntity> ContentIterate() {
- var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_iterate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_iterate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true, false);
+ return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true);
}
/// <summary>Returns the number of contained sub-objects.
/// (Since EFL 1.22)</summary>
/// <returns>Number of sub-objects.</returns>
virtual public int ContentCount() {
- var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_count_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_count_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Removes all packed sub-objects and unreferences them.</summary>
/// <returns><c>true</c> on success, <c>false</c> otherwise.</returns>
virtual public bool ClearPack() {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_clear_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_clear_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Use with caution.</summary>
/// <returns><c>true</c> on success, <c>false</c> otherwise.</returns>
virtual public bool UnpackAll() {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_all_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_all_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="subobj">The sub-object to unpack.</param>
/// <returns><c>false</c> if <c>subobj</c> wasn't in the container or couldn't be removed.</returns>
virtual public bool Unpack(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="subobj">The object to pack.</param>
/// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
virtual public bool Pack(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="rowspan">Row span</param>
/// <returns>Returns false if item is not a child</returns>
virtual public bool GetTablePosition(Efl.Gfx.IEntity subobj, out int col, out int row, out int colspan, out int rowspan) {
- var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_position_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj, out col, out row, out colspan, out rowspan);
+ var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_position_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, out col, out row, out colspan, out rowspan);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="cols">Number of columns</param>
/// <param name="rows">Number of rows</param>
virtual public void GetTableSize(out int cols, out int rows) {
- Efl.IPackTableConcrete.NativeMethods.efl_pack_table_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out cols, out rows);
+ Efl.IPackTableConcrete.NativeMethods.efl_pack_table_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out cols, out rows);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Combines <see cref="Efl.IPackTable.TableColumns"/> and <see cref="Efl.IPackTable.TableRows"/></summary>
/// <param name="cols">Number of columns</param>
/// <param name="rows">Number of rows</param>
virtual public void SetTableSize(int cols, int rows) {
- Efl.IPackTableConcrete.NativeMethods.efl_pack_table_size_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cols, rows);
+ Efl.IPackTableConcrete.NativeMethods.efl_pack_table_size_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cols, rows);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Specifies the amount of columns the table will have when the fill direction is horizontal. If it is vertical, the amount of columns depends on the amount of cells added and <see cref="Efl.IPackTable.TableRows"/>.</summary>
/// <returns>Amount of columns.</returns>
virtual public int GetTableColumns() {
- var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_columns_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_columns_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Specifies the amount of columns the table will have when the fill direction is horizontal. If it is vertical, the amount of columns depends on the amount of cells added and <see cref="Efl.IPackTable.TableRows"/>.</summary>
/// <param name="cols">Amount of columns.</param>
virtual public void SetTableColumns(int cols) {
- Efl.IPackTableConcrete.NativeMethods.efl_pack_table_columns_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cols);
+ Efl.IPackTableConcrete.NativeMethods.efl_pack_table_columns_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cols);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Specifies the amount of rows the table will have when the fill direction is vertical. If it is horizontal, the amount of rows depends on the amount of cells added and <see cref="Efl.IPackTable.TableColumns"/>.</summary>
/// <returns>Amount of rows.</returns>
virtual public int GetTableRows() {
- var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_rows_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_rows_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Specifies the amount of rows the table will have when the fill direction is vertical. If it is horizontal, the amount of rows depends on the amount of cells added and <see cref="Efl.IPackTable.TableColumns"/>.</summary>
/// <param name="rows">Amount of rows.</param>
virtual public void SetTableRows(int rows) {
- Efl.IPackTableConcrete.NativeMethods.efl_pack_table_rows_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),rows);
+ Efl.IPackTableConcrete.NativeMethods.efl_pack_table_rows_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),rows);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Pack object at a given location in the table.
/// <param name="rowspan">0 means 1, -1 means <see cref="Efl.IPackTable.TableRows"/></param>
/// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
virtual public bool PackTable(Efl.Gfx.IEntity subobj, int col, int row, int colspan, int rowspan) {
- var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj, col, row, colspan, rowspan);
+ var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, col, row, colspan, rowspan);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="below">If <c>true</c> get objects spanning over this cell.</param>
/// <returns>Iterator to table contents</returns>
virtual public Eina.Iterator<Efl.Gfx.IEntity> GetTableContents(int col, int row, bool below) {
- var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_contents_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),col, row, below);
+ var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_contents_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),col, row, below);
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true, false);
+ return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true);
}
/// <summary>Returns a child at a given position, see <see cref="Efl.IPackTable.GetTableContents"/>.</summary>
/// <param name="col">Column number</param>
/// <param name="row">Row number</param>
/// <returns>Child object</returns>
virtual public Efl.Gfx.IEntity GetTableContent(int col, int row) {
- var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),col, row);
+ var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),col, row);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Represents a TEXT part of a layout
/// Its lifetime is limited to one function call only, unless an extra reference is explicitly held.</summary>
[Efl.Canvas.LayoutPartText.NativeMethods]
+[Efl.Eo.BindingEntity]
public class LayoutPartText : Efl.Canvas.LayoutPart, Efl.IText, Efl.ITextCursor, Efl.ITextFont, Efl.ITextFormat, Efl.ITextMarkup, Efl.ITextMarkupInteractive, Efl.ITextStyle
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="LayoutPartText"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public LayoutPartText(Efl.Object parent= null
- ) : base(efl_canvas_layout_part_text_class_get(), typeof(LayoutPartText), parent)
+ ) : base(efl_canvas_layout_part_text_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected LayoutPartText(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="LayoutPartText"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected LayoutPartText(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected LayoutPartText(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="LayoutPartText"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected LayoutPartText(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected LayoutPartText(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>Sizing policy for text parts.
/// This will determine whether to consider height or width constraints, if text-specific behaviors occur (such as ellipsis, line-wrapping etc.</summary>
+ /// <returns>Desired sizing policy.</returns>
virtual public Efl.Canvas.LayoutPartTextExpand GetTextExpand() {
- var _ret_var = Efl.Canvas.LayoutPartText.NativeMethods.efl_canvas_layout_part_text_expand_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.LayoutPartText.NativeMethods.efl_canvas_layout_part_text_expand_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Sizing policy for text parts.
/// This will determine whether to consider height or width constraints, if text-specific behaviors occur (such as ellipsis, line-wrapping etc.</summary>
+ /// <param name="type">Desired sizing policy.</param>
virtual public void SetTextExpand(Efl.Canvas.LayoutPartTextExpand type) {
- Efl.Canvas.LayoutPartText.NativeMethods.efl_canvas_layout_part_text_expand_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),type);
+ Efl.Canvas.LayoutPartText.NativeMethods.efl_canvas_layout_part_text_expand_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),type);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Retrieves the text string currently being displayed by the given text object.
/// (Since EFL 1.22)</summary>
/// <returns>Text string to display on it.</returns>
virtual public System.String GetText() {
- var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="text">Text string to display on it.</param>
virtual public void SetText(System.String text) {
- Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),text);
+ Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),text);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The object's main cursor.</summary>
/// <param name="get_type">Cursor type</param>
/// <returns>Text cursor object</returns>
virtual public Efl.TextCursorCursor GetTextCursor(Efl.TextCursorGetType get_type) {
- var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),get_type);
+ var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),get_type);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="cur">Cursor object</param>
/// <returns>Cursor position</returns>
virtual public int GetCursorPosition(Efl.TextCursorCursor cur) {
- var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_position_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_position_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="cur">Cursor object</param>
/// <param name="position">Cursor position</param>
virtual public void SetCursorPosition(Efl.TextCursorCursor cur, int position) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_position_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur, position);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_position_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur, position);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The content of the cursor (the character under the cursor)</summary>
/// <param name="cur">Cursor object</param>
/// <returns>The unicode codepoint of the character</returns>
virtual public Eina.Unicode GetCursorContent(Efl.TextCursorCursor cur) {
- var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="ch2">The height of the lower cursor</param>
/// <returns><c>true</c> if split cursor, <c>false</c> otherwise.</returns>
virtual public bool GetCursorGeometry(Efl.TextCursorCursor cur, Efl.TextCursorType ctype, out int cx, out int cy, out int cw, out int ch, out int cx2, out int cy2, out int cw2, out int ch2) {
- var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_geometry_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur, ctype, out cx, out cy, out cw, out ch, out cx2, out cy2, out cw2, out ch2);
+ var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_geometry_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur, ctype, out cx, out cy, out cw, out ch, out cx2, out cy2, out cw2, out ch2);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Create new cursor</summary>
/// <returns>Cursor object</returns>
virtual public Efl.TextCursorCursor NewCursor() {
- var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_new_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_new_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Free existing cursor</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorFree(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_free_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_free_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Check if two cursors are equal</summary>
/// <param name="cur2">Cursor 2 object</param>
/// <returns><c>true</c> if cursors are equal, <c>false</c> otherwise</returns>
virtual public bool CursorEqual(Efl.TextCursorCursor cur1, Efl.TextCursorCursor cur2) {
- var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_equal_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur1, cur2);
+ var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_equal_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur1, cur2);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="cur2">Cursor 2 object</param>
/// <returns>Difference between cursors</returns>
virtual public int CursorCompare(Efl.TextCursorCursor cur1, Efl.TextCursorCursor cur2) {
- var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_compare_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur1, cur2);
+ var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_compare_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur1, cur2);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="dst">Destination cursor</param>
/// <param name="src">Source cursor</param>
virtual public void CursorCopy(Efl.TextCursorCursor dst, Efl.TextCursorCursor src) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_copy_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dst, src);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_copy_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dst, src);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Advances to the next character</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorCharNext(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_char_next_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_char_next_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Advances to the previous character</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorCharPrev(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_char_prev_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_char_prev_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Advances to the next grapheme cluster</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorClusterNext(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_cluster_next_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_cluster_next_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Advances to the previous grapheme cluster</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorClusterPrev(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_cluster_prev_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_cluster_prev_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Advances to the first character in this paragraph</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorParagraphCharFirst(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_char_first_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_char_first_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Advances to the last character in this paragraph</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorParagraphCharLast(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_char_last_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_char_last_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Advance to current word start</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorWordStart(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_word_start_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_word_start_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Advance to current word end</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorWordEnd(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_word_end_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_word_end_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Advance to current line first character</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorLineCharFirst(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_line_char_first_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_line_char_first_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Advance to current line last character</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorLineCharLast(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_line_char_last_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_line_char_last_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Advance to current paragraph first character</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorParagraphFirst(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_first_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_first_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Advance to current paragraph last character</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorParagraphLast(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_last_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_last_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Advances to the start of the next text node</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorParagraphNext(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_next_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_next_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Advances to the end of the previous text node</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorParagraphPrev(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_prev_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_prev_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Jump the cursor by the given number of lines</summary>
/// <param name="cur">Cursor object</param>
/// <param name="by">Number of lines</param>
virtual public void CursorLineJumpBy(Efl.TextCursorCursor cur, int by) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_line_jump_by_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur, by);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_line_jump_by_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur, by);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set cursor coordinates</summary>
/// <param name="x">X coord to set by.</param>
/// <param name="y">Y coord to set by.</param>
virtual public void SetCursorCoord(Efl.TextCursorCursor cur, int x, int y) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_coord_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur, x, y);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_coord_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur, x, y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set cursor coordinates according to grapheme clusters. It does not allow to put a cursor to the middle of a grapheme cluster.</summary>
/// <param name="x">X coord to set by.</param>
/// <param name="y">Y coord to set by.</param>
virtual public void SetCursorClusterCoord(Efl.TextCursorCursor cur, int x, int y) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_cluster_coord_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur, x, y);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_cluster_coord_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur, x, y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Adds text to the current cursor position and set the cursor to *after* the start of the text just added.</summary>
/// <param name="text">Text to append (UTF-8 format).</param>
/// <returns>Length of the appended text.</returns>
virtual public int CursorTextInsert(Efl.TextCursorCursor cur, System.String text) {
- var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_text_insert_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur, text);
+ var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_text_insert_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur, text);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Deletes a single character from position pointed by given cursor.</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorCharDelete(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_char_delete_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_char_delete_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Retrieve the font family and size in use on a given text object.
/// <param name="font">The font family name or filename.</param>
/// <param name="size">The font size, in points.</param>
virtual public void GetFont(out System.String font, out Efl.Font.Size size) {
- Efl.ITextFontConcrete.NativeMethods.efl_text_font_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out font, out size);
+ Efl.ITextFontConcrete.NativeMethods.efl_text_font_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out font, out size);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the font family, filename and size for a given text object.
/// <param name="font">The font family name or filename.</param>
/// <param name="size">The font size, in points.</param>
virtual public void SetFont(System.String font, Efl.Font.Size size) {
- Efl.ITextFontConcrete.NativeMethods.efl_text_font_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),font, size);
+ Efl.ITextFontConcrete.NativeMethods.efl_text_font_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),font, size);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the font file's path which is being used on a given text object.
/// See <see cref="Efl.ITextFont.GetFont"/> for more details.</summary>
/// <returns>The font file's path.</returns>
virtual public System.String GetFontSource() {
- var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_source_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_source_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// See also <see cref="Efl.ITextFont.GetFont"/>.</summary>
/// <param name="font_source">The font file's path.</param>
virtual public void SetFontSource(System.String font_source) {
- Efl.ITextFontConcrete.NativeMethods.efl_text_font_source_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),font_source);
+ Efl.ITextFontConcrete.NativeMethods.efl_text_font_source_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),font_source);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Comma-separated list of font fallbacks
/// Will be used in case the primary font isn't available.</summary>
/// <returns>Font name fallbacks</returns>
virtual public System.String GetFontFallbacks() {
- var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_fallbacks_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_fallbacks_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Will be used in case the primary font isn't available.</summary>
/// <param name="font_fallbacks">Font name fallbacks</param>
virtual public void SetFontFallbacks(System.String font_fallbacks) {
- Efl.ITextFontConcrete.NativeMethods.efl_text_font_fallbacks_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),font_fallbacks);
+ Efl.ITextFontConcrete.NativeMethods.efl_text_font_fallbacks_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),font_fallbacks);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Type of weight of the displayed font
/// Default is <see cref="Efl.TextFontWeight.Normal"/>.</summary>
/// <returns>Font weight</returns>
virtual public Efl.TextFontWeight GetFontWeight() {
- var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_weight_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_weight_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Default is <see cref="Efl.TextFontWeight.Normal"/>.</summary>
/// <param name="font_weight">Font weight</param>
virtual public void SetFontWeight(Efl.TextFontWeight font_weight) {
- Efl.ITextFontConcrete.NativeMethods.efl_text_font_weight_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),font_weight);
+ Efl.ITextFontConcrete.NativeMethods.efl_text_font_weight_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),font_weight);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Type of slant of the displayed font
/// Default is <see cref="Efl.TextFontSlant.Normal"/>.</summary>
/// <returns>Font slant</returns>
virtual public Efl.TextFontSlant GetFontSlant() {
- var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_slant_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_slant_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Default is <see cref="Efl.TextFontSlant.Normal"/>.</summary>
/// <param name="style">Font slant</param>
virtual public void SetFontSlant(Efl.TextFontSlant style) {
- Efl.ITextFontConcrete.NativeMethods.efl_text_font_slant_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),style);
+ Efl.ITextFontConcrete.NativeMethods.efl_text_font_slant_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),style);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Type of width of the displayed font
/// Default is <see cref="Efl.TextFontWidth.Normal"/>.</summary>
/// <returns>Font width</returns>
virtual public Efl.TextFontWidth GetFontWidth() {
- var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_width_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_width_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Default is <see cref="Efl.TextFontWidth.Normal"/>.</summary>
/// <param name="width">Font width</param>
virtual public void SetFontWidth(Efl.TextFontWidth width) {
- Efl.ITextFontConcrete.NativeMethods.efl_text_font_width_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),width);
+ Efl.ITextFontConcrete.NativeMethods.efl_text_font_width_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),width);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Specific language of the displayed font
/// This is used to lookup fonts suitable to the specified language, as well as helping the font shaper backend. The language <c>lang</c> can be either a code e.g "en_US", "auto" to use the system locale, or "none".</summary>
/// <returns>Language</returns>
virtual public System.String GetFontLang() {
- var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_lang_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_lang_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This is used to lookup fonts suitable to the specified language, as well as helping the font shaper backend. The language <c>lang</c> can be either a code e.g "en_US", "auto" to use the system locale, or "none".</summary>
/// <param name="lang">Language</param>
virtual public void SetFontLang(System.String lang) {
- Efl.ITextFontConcrete.NativeMethods.efl_text_font_lang_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),lang);
+ Efl.ITextFontConcrete.NativeMethods.efl_text_font_lang_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),lang);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The bitmap fonts have fixed size glyphs for several available sizes. Basically, it is not scalable. But, it needs to be scalable for some use cases. (ex. colorful emoji fonts)
/// Default is <see cref="Efl.TextFontBitmapScalable.None"/>.</summary>
/// <returns>Scalable</returns>
virtual public Efl.TextFontBitmapScalable GetFontBitmapScalable() {
- var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_bitmap_scalable_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_bitmap_scalable_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Default is <see cref="Efl.TextFontBitmapScalable.None"/>.</summary>
/// <param name="scalable">Scalable</param>
virtual public void SetFontBitmapScalable(Efl.TextFontBitmapScalable scalable) {
- Efl.ITextFontConcrete.NativeMethods.efl_text_font_bitmap_scalable_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),scalable);
+ Efl.ITextFontConcrete.NativeMethods.efl_text_font_bitmap_scalable_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),scalable);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Ellipsis value (number from -1.0 to 1.0)</summary>
/// <returns>Ellipsis value</returns>
virtual public double GetEllipsis() {
- var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_ellipsis_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_ellipsis_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Ellipsis value (number from -1.0 to 1.0)</summary>
/// <param name="value">Ellipsis value</param>
virtual public void SetEllipsis(double value) {
- Efl.ITextFormatConcrete.NativeMethods.efl_text_ellipsis_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),value);
+ Efl.ITextFormatConcrete.NativeMethods.efl_text_ellipsis_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),value);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Wrap mode for use in the text</summary>
/// <returns>Wrap mode</returns>
virtual public Efl.TextFormatWrap GetWrap() {
- var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_wrap_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_wrap_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Wrap mode for use in the text</summary>
/// <param name="wrap">Wrap mode</param>
virtual public void SetWrap(Efl.TextFormatWrap wrap) {
- Efl.ITextFormatConcrete.NativeMethods.efl_text_wrap_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),wrap);
+ Efl.ITextFormatConcrete.NativeMethods.efl_text_wrap_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),wrap);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Multiline is enabled or not</summary>
/// <returns><c>true</c> if multiline is enabled, <c>false</c> otherwise</returns>
virtual public bool GetMultiline() {
- var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_multiline_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_multiline_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Multiline is enabled or not</summary>
/// <param name="enabled"><c>true</c> if multiline is enabled, <c>false</c> otherwise</param>
virtual public void SetMultiline(bool enabled) {
- Efl.ITextFormatConcrete.NativeMethods.efl_text_multiline_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),enabled);
+ Efl.ITextFormatConcrete.NativeMethods.efl_text_multiline_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),enabled);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Horizontal alignment of text</summary>
/// <returns>Alignment type</returns>
virtual public Efl.TextFormatHorizontalAlignmentAutoType GetHalignAutoType() {
- var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_halign_auto_type_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_halign_auto_type_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Horizontal alignment of text</summary>
/// <param name="value">Alignment type</param>
virtual public void SetHalignAutoType(Efl.TextFormatHorizontalAlignmentAutoType value) {
- Efl.ITextFormatConcrete.NativeMethods.efl_text_halign_auto_type_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),value);
+ Efl.ITextFormatConcrete.NativeMethods.efl_text_halign_auto_type_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),value);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Horizontal alignment of text</summary>
/// <returns>Horizontal alignment value</returns>
virtual public double GetHalign() {
- var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_halign_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_halign_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Horizontal alignment of text</summary>
/// <param name="value">Horizontal alignment value</param>
virtual public void SetHalign(double value) {
- Efl.ITextFormatConcrete.NativeMethods.efl_text_halign_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),value);
+ Efl.ITextFormatConcrete.NativeMethods.efl_text_halign_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),value);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Vertical alignment of text</summary>
/// <returns>Vertical alignment value</returns>
virtual public double GetValign() {
- var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_valign_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_valign_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Vertical alignment of text</summary>
/// <param name="value">Vertical alignment value</param>
virtual public void SetValign(double value) {
- Efl.ITextFormatConcrete.NativeMethods.efl_text_valign_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),value);
+ Efl.ITextFormatConcrete.NativeMethods.efl_text_valign_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),value);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Minimal line gap (top and bottom) for each line in the text
/// <c>value</c> is absolute size.</summary>
/// <returns>Line gap value</returns>
virtual public double GetLinegap() {
- var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_linegap_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_linegap_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <c>value</c> is absolute size.</summary>
/// <param name="value">Line gap value</param>
virtual public void SetLinegap(double value) {
- Efl.ITextFormatConcrete.NativeMethods.efl_text_linegap_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),value);
+ Efl.ITextFormatConcrete.NativeMethods.efl_text_linegap_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),value);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Relative line gap (top and bottom) for each line in the text
/// The original line gap value is multiplied by <c>value</c>.</summary>
/// <returns>Relative line gap value</returns>
virtual public double GetLinerelgap() {
- var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_linerelgap_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_linerelgap_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// The original line gap value is multiplied by <c>value</c>.</summary>
/// <param name="value">Relative line gap value</param>
virtual public void SetLinerelgap(double value) {
- Efl.ITextFormatConcrete.NativeMethods.efl_text_linerelgap_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),value);
+ Efl.ITextFormatConcrete.NativeMethods.efl_text_linerelgap_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),value);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Tabstops value</summary>
/// <returns>Tapstops value</returns>
virtual public int GetTabstops() {
- var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_tabstops_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_tabstops_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Tabstops value</summary>
/// <param name="value">Tapstops value</param>
virtual public void SetTabstops(int value) {
- Efl.ITextFormatConcrete.NativeMethods.efl_text_tabstops_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),value);
+ Efl.ITextFormatConcrete.NativeMethods.efl_text_tabstops_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),value);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Whether text is a password</summary>
/// <returns><c>true</c> if the text is a password, <c>false</c> otherwise</returns>
virtual public bool GetPassword() {
- var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_password_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_password_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Whether text is a password</summary>
/// <param name="enabled"><c>true</c> if the text is a password, <c>false</c> otherwise</param>
virtual public void SetPassword(bool enabled) {
- Efl.ITextFormatConcrete.NativeMethods.efl_text_password_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),enabled);
+ Efl.ITextFormatConcrete.NativeMethods.efl_text_password_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),enabled);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The character used to replace characters that can't be displayed
/// Currently only used to replace characters if <see cref="Efl.ITextFormat.Password"/> is enabled.</summary>
/// <returns>Replacement character</returns>
virtual public System.String GetReplacementChar() {
- var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_replacement_char_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_replacement_char_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Currently only used to replace characters if <see cref="Efl.ITextFormat.Password"/> is enabled.</summary>
/// <param name="repch">Replacement character</param>
virtual public void SetReplacementChar(System.String repch) {
- Efl.ITextFormatConcrete.NativeMethods.efl_text_replacement_char_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),repch);
+ Efl.ITextFormatConcrete.NativeMethods.efl_text_replacement_char_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),repch);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Markup property</summary>
/// <returns>The markup-text representation set to this text.</returns>
virtual public System.String GetMarkup() {
- var _ret_var = Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Markup property</summary>
/// <param name="markup">The markup-text representation set to this text.</param>
virtual public void SetMarkup(System.String markup) {
- Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),markup);
+ Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),markup);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Markup of a given range in the text</summary>
/// <param name="end">End of markup region</param>
/// <returns>The markup-text representation set to this text of a given range</returns>
virtual public System.String GetMarkupRange(Efl.TextCursorCursor start, Efl.TextCursorCursor end) {
- var _ret_var = Efl.ITextMarkupInteractiveConcrete.NativeMethods.efl_text_markup_interactive_markup_range_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),start, end);
+ var _ret_var = Efl.ITextMarkupInteractiveConcrete.NativeMethods.efl_text_markup_interactive_markup_range_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),start, end);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="end">End of markup region</param>
/// <param name="markup">The markup-text representation set to this text of a given range</param>
virtual public void SetMarkupRange(Efl.TextCursorCursor start, Efl.TextCursorCursor end, System.String markup) {
- Efl.ITextMarkupInteractiveConcrete.NativeMethods.efl_text_markup_interactive_markup_range_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),start, end, markup);
+ Efl.ITextMarkupInteractiveConcrete.NativeMethods.efl_text_markup_interactive_markup_range_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),start, end, markup);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Inserts a markup text to the text object in a given cursor position</summary>
/// <param name="cur">Cursor position to insert markup</param>
/// <param name="markup">The markup text to insert</param>
virtual public void CursorMarkupInsert(Efl.TextCursorCursor cur, System.String markup) {
- Efl.ITextMarkupInteractiveConcrete.NativeMethods.efl_text_markup_interactive_cursor_markup_insert_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur, markup);
+ Efl.ITextMarkupInteractiveConcrete.NativeMethods.efl_text_markup_interactive_cursor_markup_insert_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur, markup);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of text, excluding style</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void GetNormalColor(out byte r, out byte g, out byte b, out byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_normal_color_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out r, out g, out b, out a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_normal_color_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out r, out g, out b, out a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of text, excluding style</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void SetNormalColor(byte r, byte g, byte b, byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_normal_color_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),r, g, b, a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_normal_color_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),r, g, b, a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Enable or disable backing type</summary>
/// <returns>Backing type</returns>
virtual public Efl.TextStyleBackingType GetBackingType() {
- var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_backing_type_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_backing_type_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Enable or disable backing type</summary>
/// <param name="type">Backing type</param>
virtual public void SetBackingType(Efl.TextStyleBackingType type) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_backing_type_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),type);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_backing_type_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),type);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Backing color</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void GetBackingColor(out byte r, out byte g, out byte b, out byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_backing_color_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out r, out g, out b, out a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_backing_color_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out r, out g, out b, out a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Backing color</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void SetBackingColor(byte r, byte g, byte b, byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_backing_color_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),r, g, b, a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_backing_color_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),r, g, b, a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Sets an underline style on the text</summary>
/// <returns>Underline type</returns>
virtual public Efl.TextStyleUnderlineType GetUnderlineType() {
- var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_type_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_type_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Sets an underline style on the text</summary>
/// <param name="type">Underline type</param>
virtual public void SetUnderlineType(Efl.TextStyleUnderlineType type) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_type_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),type);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_type_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),type);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of normal underline style</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void GetUnderlineColor(out byte r, out byte g, out byte b, out byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_color_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out r, out g, out b, out a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_color_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out r, out g, out b, out a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of normal underline style</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void SetUnderlineColor(byte r, byte g, byte b, byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_color_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),r, g, b, a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_color_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),r, g, b, a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Height of underline style</summary>
/// <returns>Height</returns>
virtual public double GetUnderlineHeight() {
- var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_height_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_height_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Height of underline style</summary>
/// <param name="height">Height</param>
virtual public void SetUnderlineHeight(double height) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_height_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),height);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_height_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),height);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of dashed underline style</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void GetUnderlineDashedColor(out byte r, out byte g, out byte b, out byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_dashed_color_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out r, out g, out b, out a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_dashed_color_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out r, out g, out b, out a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of dashed underline style</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void SetUnderlineDashedColor(byte r, byte g, byte b, byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_dashed_color_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),r, g, b, a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_dashed_color_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),r, g, b, a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Width of dashed underline style</summary>
/// <returns>Width</returns>
virtual public int GetUnderlineDashedWidth() {
- var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_dashed_width_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_dashed_width_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Width of dashed underline style</summary>
/// <param name="width">Width</param>
virtual public void SetUnderlineDashedWidth(int width) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_dashed_width_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),width);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_dashed_width_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),width);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gap of dashed underline style</summary>
/// <returns>Gap</returns>
virtual public int GetUnderlineDashedGap() {
- var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_dashed_gap_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_dashed_gap_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Gap of dashed underline style</summary>
/// <param name="gap">Gap</param>
virtual public void SetUnderlineDashedGap(int gap) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_dashed_gap_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),gap);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_dashed_gap_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),gap);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of underline2 style</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void GetUnderline2Color(out byte r, out byte g, out byte b, out byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_underline2_color_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out r, out g, out b, out a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_underline2_color_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out r, out g, out b, out a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of underline2 style</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void SetUnderline2Color(byte r, byte g, byte b, byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_underline2_color_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),r, g, b, a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_underline2_color_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),r, g, b, a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Type of strikethrough style</summary>
/// <returns>Strikethrough type</returns>
virtual public Efl.TextStyleStrikethroughType GetStrikethroughType() {
- var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_strikethrough_type_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_strikethrough_type_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Type of strikethrough style</summary>
/// <param name="type">Strikethrough type</param>
virtual public void SetStrikethroughType(Efl.TextStyleStrikethroughType type) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_strikethrough_type_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),type);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_strikethrough_type_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),type);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of strikethrough_style</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void GetStrikethroughColor(out byte r, out byte g, out byte b, out byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_strikethrough_color_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out r, out g, out b, out a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_strikethrough_color_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out r, out g, out b, out a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of strikethrough_style</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void SetStrikethroughColor(byte r, byte g, byte b, byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_strikethrough_color_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),r, g, b, a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_strikethrough_color_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),r, g, b, a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Type of effect used for the displayed text</summary>
/// <returns>Effect type</returns>
virtual public Efl.TextStyleEffectType GetEffectType() {
- var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_effect_type_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_effect_type_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Type of effect used for the displayed text</summary>
/// <param name="type">Effect type</param>
virtual public void SetEffectType(Efl.TextStyleEffectType type) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_effect_type_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),type);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_effect_type_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),type);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of outline effect</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void GetOutlineColor(out byte r, out byte g, out byte b, out byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_outline_color_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out r, out g, out b, out a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_outline_color_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out r, out g, out b, out a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of outline effect</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void SetOutlineColor(byte r, byte g, byte b, byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_outline_color_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),r, g, b, a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_outline_color_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),r, g, b, a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Direction of shadow effect</summary>
/// <returns>Shadow direction</returns>
virtual public Efl.TextStyleShadowDirection GetShadowDirection() {
- var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_shadow_direction_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_shadow_direction_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Direction of shadow effect</summary>
/// <param name="type">Shadow direction</param>
virtual public void SetShadowDirection(Efl.TextStyleShadowDirection type) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_shadow_direction_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),type);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_shadow_direction_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),type);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of shadow effect</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void GetShadowColor(out byte r, out byte g, out byte b, out byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_shadow_color_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out r, out g, out b, out a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_shadow_color_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out r, out g, out b, out a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of shadow effect</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void SetShadowColor(byte r, byte g, byte b, byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_shadow_color_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),r, g, b, a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_shadow_color_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),r, g, b, a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of glow effect</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void GetGlowColor(out byte r, out byte g, out byte b, out byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_glow_color_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out r, out g, out b, out a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_glow_color_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out r, out g, out b, out a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of glow effect</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void SetGlowColor(byte r, byte g, byte b, byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_glow_color_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),r, g, b, a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_glow_color_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),r, g, b, a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Second color of the glow effect</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void GetGlow2Color(out byte r, out byte g, out byte b, out byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_glow2_color_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out r, out g, out b, out a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_glow2_color_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out r, out g, out b, out a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Second color of the glow effect</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void SetGlow2Color(byte r, byte g, byte b, byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_glow2_color_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),r, g, b, a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_glow2_color_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),r, g, b, a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Program that applies a special filter
/// See <see cref="Efl.Gfx.IFilter"/>.</summary>
/// <returns>Filter code</returns>
virtual public System.String GetGfxFilter() {
- var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_gfx_filter_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_gfx_filter_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// See <see cref="Efl.Gfx.IFilter"/>.</summary>
/// <param name="code">Filter code</param>
virtual public void SetGfxFilter(System.String code) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_gfx_filter_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),code);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_gfx_filter_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),code);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Sizing policy for text parts.
/// This will determine whether to consider height or width constraints, if text-specific behaviors occur (such as ellipsis, line-wrapping etc.</summary>
+ /// <value>Desired sizing policy.</value>
public Efl.Canvas.LayoutPartTextExpand TextExpand {
get { return GetTextExpand(); }
set { SetTextExpand(value); }
namespace Canvas {
-/// <summary>Text layout policy to enforce. If none is set, min/max descriptions are taken in considerations solely.</summary>
+/// <summary>Text layout policy to enforce. If none is set, only min/max descriptions are taken into account.</summary>
+[Efl.Eo.BindingEntity]
public enum LayoutPartTextExpand
{
/// <summary>No policy. Use default description parameters.</summary>
None = 0,
+/// <summary>Text is tied to the left side of the container.</summary>
MinX = 1,
+/// <summary>Text is tied to the top side of the container.</summary>
MinY = 2,
+/// <summary>Text is tied to the right side of the container.</summary>
MaxX = 4,
+/// <summary>Text is tied to the bottom side of the container.</summary>
MaxY = 8,
}
namespace Canvas {
///<summary>Event argument wrapper for event <see cref="Efl.Canvas.Object.AnimatorTickEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class ObjectAnimatorTickEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.EventAnimatorTick arg { get; set; }
/// <summary>Efl canvas object abstract class
/// (Since EFL 1.22)</summary>
[Efl.Canvas.Object.NativeMethods]
+[Efl.Eo.BindingEntity]
public abstract class Object : Efl.LoopConsumer, Efl.Canvas.IPointer, Efl.Gesture.IEvents, Efl.Gfx.IColor, Efl.Gfx.IEntity, Efl.Gfx.IHint, Efl.Gfx.IMapping, Efl.Gfx.IStack, Efl.Input.IInterface, Efl.Ui.II18n
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="Object"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public Object(Efl.Object parent= null
- ) : base(efl_canvas_object_class_get(), typeof(Object), parent)
+ ) : base(efl_canvas_object_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Object(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Object"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Object(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Object(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
[Efl.Eo.PrivateNativeClass]
private class ObjectRealized : Object
{
- private ObjectRealized(IntPtr ptr) : base(ptr)
+ private ObjectRealized(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Initializes a new instance of the <see cref="Object"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Object(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Object(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CANVAS_OBJECT_EVENT_ANIMATOR_TICK";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_GESTURE_TAP";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_GESTURE_DOUBLE_TAP";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_GESTURE_TRIPLE_TAP";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_GESTURE_LONG_TAP";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_GESTURE_MOMENTUM";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_GESTURE_FLICK";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_GESTURE_ZOOM";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_ENTITY_EVENT_VISIBILITY_CHANGED";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_ENTITY_EVENT_POSITION_CHANGED";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_ENTITY_EVENT_SIZE_CHANGED";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_ENTITY_EVENT_HINTS_CHANGED";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_ENTITY_EVENT_STACKING_CHANGED";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_POINTER_MOVE";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_POINTER_DOWN";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_POINTER_UP";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_POINTER_CANCEL";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_POINTER_IN";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_POINTER_OUT";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_POINTER_WHEEL";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_POINTER_AXIS";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_FINGER_MOVE";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_FINGER_DOWN";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_FINGER_UP";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_KEY_DOWN";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_KEY_UP";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_HOLD";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_FOCUS_IN";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_FOCUS_OUT";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
/// <param name="dev">The pointer device to set/get the mode. Use <c>null</c> for the default pointer.</param>
/// <returns>The pointer mode</returns>
virtual public Efl.Input.ObjectPointerMode GetPointerModeByDevice(Efl.Input.Device dev) {
- var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_pointer_mode_by_device_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dev);
+ var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_pointer_mode_by_device_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dev);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="pointer_mode">The pointer mode</param>
/// <returns><c>true</c> if pointer mode was set, <c>false</c> otherwise</returns>
virtual public bool SetPointerModeByDevice(Efl.Input.Device dev, Efl.Input.ObjectPointerMode pointer_mode) {
- var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_pointer_mode_by_device_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dev, pointer_mode);
+ var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_pointer_mode_by_device_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dev, pointer_mode);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Input pointer mode</returns>
virtual public Efl.Input.ObjectPointerMode GetPointerMode() {
- var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_pointer_mode_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_pointer_mode_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="pointer_mode">Input pointer mode</param>
/// <returns><c>true</c> if pointer behaviour was set, <c>false</c> otherwise</returns>
virtual public bool SetPointerMode(Efl.Input.ObjectPointerMode pointer_mode) {
- var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_pointer_mode_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),pointer_mode);
+ var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_pointer_mode_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),pointer_mode);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Blend or copy.</returns>
virtual public Efl.Gfx.RenderOp GetRenderOp() {
- var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_render_op_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_render_op_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="render_op">Blend or copy.</param>
virtual public void SetRenderOp(Efl.Gfx.RenderOp render_op) {
- Efl.Canvas.Object.NativeMethods.efl_canvas_object_render_op_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),render_op);
+ Efl.Canvas.Object.NativeMethods.efl_canvas_object_render_op_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),render_op);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the object clipping <c>obj</c> (if any).
/// (Since EFL 1.22)</summary>
/// <returns>The object to clip <c>obj</c> by.</returns>
virtual public Efl.Canvas.Object GetClipper() {
- var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_clipper_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_clipper_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="clipper">The object to clip <c>obj</c> by.</param>
virtual public void SetClipper(Efl.Canvas.Object clipper) {
- Efl.Canvas.Object.NativeMethods.efl_canvas_object_clipper_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),clipper);
+ Efl.Canvas.Object.NativeMethods.efl_canvas_object_clipper_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),clipper);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Determine whether an object is set to repeat events.
/// (Since EFL 1.22)</summary>
/// <returns>Whether <c>obj</c> is to repeat events (<c>true</c>) or not (<c>false</c>).</returns>
virtual public bool GetRepeatEvents() {
- var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_repeat_events_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_repeat_events_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="repeat">Whether <c>obj</c> is to repeat events (<c>true</c>) or not (<c>false</c>).</param>
virtual public void SetRepeatEvents(bool repeat) {
- Efl.Canvas.Object.NativeMethods.efl_canvas_object_repeat_events_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),repeat);
+ Efl.Canvas.Object.NativeMethods.efl_canvas_object_repeat_events_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),repeat);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Indicates that this object is the keyboard event receiver on its canvas.
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> when set as focused or <c>false</c> otherwise.</returns>
virtual public bool GetKeyFocus() {
- var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_key_focus_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_key_focus_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="focus"><c>true</c> when set as focused or <c>false</c> otherwise.</param>
virtual public void SetKeyFocus(bool focus) {
- Efl.Canvas.Object.NativeMethods.efl_canvas_object_key_focus_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),focus);
+ Efl.Canvas.Object.NativeMethods.efl_canvas_object_key_focus_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),focus);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Check if this object is focused.
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if focused by at least one seat or <c>false</c> otherwise.</returns>
virtual public bool GetSeatFocus() {
- var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_seat_focus_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_seat_focus_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Whether to use precise point collision detection or not. The default value is false.</returns>
virtual public bool GetPreciseIsInside() {
- var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_precise_is_inside_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_precise_is_inside_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="precise">Whether to use precise point collision detection or not. The default value is false.</param>
virtual public void SetPreciseIsInside(bool precise) {
- Efl.Canvas.Object.NativeMethods.efl_canvas_object_precise_is_inside_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),precise);
+ Efl.Canvas.Object.NativeMethods.efl_canvas_object_precise_is_inside_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),precise);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Retrieve whether an Evas object is set to propagate events.
/// (Since EFL 1.22)</summary>
/// <returns>Whether to propagate events (<c>true</c>) or not (<c>false</c>).</returns>
virtual public bool GetPropagateEvents() {
- var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_propagate_events_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_propagate_events_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="propagate">Whether to propagate events (<c>true</c>) or not (<c>false</c>).</param>
virtual public void SetPropagateEvents(bool propagate) {
- Efl.Canvas.Object.NativeMethods.efl_canvas_object_propagate_events_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),propagate);
+ Efl.Canvas.Object.NativeMethods.efl_canvas_object_propagate_events_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),propagate);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Determine whether an object is set to pass (ignore) events.
/// (Since EFL 1.22)</summary>
/// <returns>Whether <c>obj</c> is to pass events (<c>true</c>) or not (<c>false</c>).</returns>
virtual public bool GetPassEvents() {
- var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_pass_events_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_pass_events_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="pass">Whether <c>obj</c> is to pass events (<c>true</c>) or not (<c>false</c>).</param>
virtual public void SetPassEvents(bool pass) {
- Efl.Canvas.Object.NativeMethods.efl_canvas_object_pass_events_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),pass);
+ Efl.Canvas.Object.NativeMethods.efl_canvas_object_pass_events_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),pass);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Retrieves whether or not the given Evas object is to be drawn anti_aliased.
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if the object is to be anti_aliased, <c>false</c> otherwise.</returns>
virtual public bool GetAntiAlias() {
- var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_anti_alias_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_anti_alias_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="anti_alias"><c>true</c> if the object is to be anti_aliased, <c>false</c> otherwise.</param>
virtual public void SetAntiAlias(bool anti_alias) {
- Efl.Canvas.Object.NativeMethods.efl_canvas_object_anti_alias_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),anti_alias);
+ Efl.Canvas.Object.NativeMethods.efl_canvas_object_anti_alias_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),anti_alias);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Return a list of objects currently clipped by <c>obj</c>.
/// (Since EFL 1.22)</summary>
/// <returns>An iterator over the list of objects clipped by <c>obj</c>.</returns>
virtual public Eina.Iterator<Efl.Canvas.Object> GetClippedObjects() {
- var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_clipped_objects_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_clipped_objects_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Canvas.Object>(_ret_var, false, false);
+ return new Eina.Iterator<Efl.Canvas.Object>(_ret_var, false);
}
/// <summary>Gets the parent smart object of a given Evas object, if it has one.
/// This can be different from <see cref="Efl.Object.Parent"/> because this one is used internally for rendering and the normal parent is what the user expects to be the parent.
/// (Since EFL 1.22)</summary>
/// <returns>The parent smart object of <c>obj</c> or <c>null</c>.</returns>
virtual protected Efl.Canvas.Object GetRenderParent() {
- var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_render_parent_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_render_parent_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Paragraph direction for the given object.</returns>
virtual public Efl.TextBidirectionalType GetParagraphDirection() {
- var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_paragraph_direction_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_paragraph_direction_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="dir">Paragraph direction for the given object.</param>
virtual public void SetParagraphDirection(Efl.TextBidirectionalType dir) {
- Efl.Canvas.Object.NativeMethods.efl_canvas_object_paragraph_direction_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dir);
+ Efl.Canvas.Object.NativeMethods.efl_canvas_object_paragraph_direction_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dir);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Returns the state of the "no-render" flag, which means, when true, that an object should never be rendered on the canvas.
/// (Since EFL 1.22)</summary>
/// <returns>Enable "no-render" mode.</returns>
virtual public bool GetNoRender() {
- var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_no_render_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_no_render_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="enable">Enable "no-render" mode.</param>
virtual public void SetNoRender(bool enable) {
- Efl.Canvas.Object.NativeMethods.efl_canvas_object_no_render_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),enable);
+ Efl.Canvas.Object.NativeMethods.efl_canvas_object_no_render_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),enable);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Returns whether the coords are logically inside the object.
/// <returns><c>true</c> if the coords are inside the object, <c>false</c> otherwise</returns>
virtual public bool GetCoordsInside(Eina.Position2D pos) {
Eina.Position2D.NativeStruct _in_pos = pos;
- var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_coords_inside_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_pos);
+ var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_coords_inside_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_pos);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="seat">The seat to check if the object is focused. Use <c>null</c> for the default seat.</param>
/// <returns><c>true</c> if focused or <c>false</c> otherwise.</returns>
virtual public bool CheckSeatFocus(Efl.Input.Device seat) {
- var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_seat_focus_check_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),seat);
+ var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_seat_focus_check_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),seat);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="seat">The seat that should be added to the focus list. Use <c>null</c> for the default seat.</param>
/// <returns><c>true</c> if the focus has been set or <c>false</c> otherwise.</returns>
virtual public bool AddSeatFocus(Efl.Input.Device seat) {
- var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_seat_focus_add_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),seat);
+ var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_seat_focus_add_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),seat);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="seat">The seat that should be removed from the focus list. Use <c>null</c> for the default seat.</param>
/// <returns><c>true</c> if the seat was removed from the focus list or <c>false</c> otherwise.</returns>
virtual public bool DelSeatFocus(Efl.Input.Device seat) {
- var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_seat_focus_del_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),seat);
+ var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_seat_focus_del_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),seat);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The number of objects clipped by <c>obj</c></returns>
virtual public uint ClippedObjectsCount() {
- var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_clipped_objects_count_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_clipped_objects_count_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="exclusive">Request that the <c>obj</c> is the only object receiving the <c>keyname</c> events.</param>
/// <returns><c>true</c> if the call succeeded, <c>false</c> otherwise.</returns>
virtual public bool GrabKey(System.String keyname, Efl.Input.Modifier modifiers, Efl.Input.Modifier not_modifiers, bool exclusive) {
- var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_key_grab_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),keyname, modifiers, not_modifiers, exclusive);
+ var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_key_grab_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),keyname, modifiers, not_modifiers, exclusive);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="modifiers">A mask of modifiers that must be present to trigger the event.</param>
/// <param name="not_modifiers">A mask of modifiers that must not not be present to trigger the event.</param>
virtual public void UngrabKey(System.String keyname, Efl.Input.Modifier modifiers, Efl.Input.Modifier not_modifiers) {
- Efl.Canvas.Object.NativeMethods.efl_canvas_object_key_ungrab_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),keyname, modifiers, not_modifiers);
+ Efl.Canvas.Object.NativeMethods.efl_canvas_object_key_ungrab_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),keyname, modifiers, not_modifiers);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Returns current canvas's gesture manager
/// (Since EFL 1.22)</summary>
/// <returns>The gesture manager</returns>
virtual public Efl.Canvas.GestureManager GetGestureManager() {
- var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_gesture_manager_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_gesture_manager_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="seat">The seat to consider, if <c>null</c> then the default seat will be used.</param>
/// <returns><c>true</c> if the mouse pointer is inside the canvas, <c>false</c> otherwise</returns>
virtual public bool GetPointerInside(Efl.Input.Device seat) {
- var _ret_var = Efl.Canvas.IPointerConcrete.NativeMethods.efl_canvas_pointer_inside_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),seat);
+ var _ret_var = Efl.Canvas.IPointerConcrete.NativeMethods.efl_canvas_pointer_inside_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),seat);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Use null pointers on the components you're not interested in: they'll be ignored by the function.
/// (Since EFL 1.22)</summary>
virtual public void GetColor(out int r, out int g, out int b, out int a) {
- Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out r, out g, out b, out a);
+ Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out r, out g, out b, out a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Sets the general/main color of the given Evas object to the given one.
/// These color values are expected to be premultiplied by alpha.
/// (Since EFL 1.22)</summary>
virtual public void SetColor(int r, int g, int b, int a) {
- Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),r, g, b, a);
+ Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),r, g, b, a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get hex color code of given Evas object. This returns a short lived hex color code string.
/// (Since EFL 1.22)</summary>
/// <returns>the hex color code.</returns>
virtual public System.String GetColorCode() {
- var _ret_var = Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_code_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_code_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="colorcode">the hex color code.</param>
virtual public void SetColorCode(System.String colorcode) {
- Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_code_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),colorcode);
+ Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_code_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),colorcode);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Retrieves the position of the given canvas object.
/// (Since EFL 1.22)</summary>
/// <returns>A 2D coordinate in pixel units.</returns>
virtual public Eina.Position2D GetPosition() {
- var _ret_var = Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_position_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_position_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="pos">A 2D coordinate in pixel units.</param>
virtual public void SetPosition(Eina.Position2D pos) {
Eina.Position2D.NativeStruct _in_pos = pos;
- Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_position_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_pos);
+ Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_position_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_pos);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Retrieves the (rectangular) size of the given Evas object.
/// (Since EFL 1.22)</summary>
/// <returns>A 2D size in pixel units.</returns>
virtual public Eina.Size2D GetSize() {
- var _ret_var = Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="size">A 2D size in pixel units.</param>
virtual public void SetSize(Eina.Size2D size) {
Eina.Size2D.NativeStruct _in_size = size;
- Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_size_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_size);
+ Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_size_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_size);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Rectangular geometry that combines both position and size.
/// (Since EFL 1.22)</summary>
/// <returns>The X,Y position and W,H size, in pixels.</returns>
virtual public Eina.Rect GetGeometry() {
- var _ret_var = Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_geometry_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_geometry_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="rect">The X,Y position and W,H size, in pixels.</param>
virtual public void SetGeometry(Eina.Rect rect) {
Eina.Rect.NativeStruct _in_rect = rect;
- Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_geometry_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_rect);
+ Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_geometry_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_rect);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Retrieves whether or not the given canvas object is visible.
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if to make the object visible, <c>false</c> otherwise</returns>
virtual public bool GetVisible() {
- var _ret_var = Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_visible_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_visible_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="v"><c>true</c> if to make the object visible, <c>false</c> otherwise</param>
virtual public void SetVisible(bool v) {
- Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_visible_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),v);
+ Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_visible_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),v);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gets an object's scaling factor.
/// (Since EFL 1.22)</summary>
/// <returns>The scaling factor (the default value is 0.0, meaning individual scaling is not set)</returns>
virtual public double GetScale() {
- var _ret_var = Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_scale_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_scale_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="scale">The scaling factor (the default value is 0.0, meaning individual scaling is not set)</param>
virtual public void SetScale(double scale) {
- Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_scale_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),scale);
+ Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_scale_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),scale);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Defines the aspect ratio to respect when scaling this object.
/// <param name="sz">Base size to use for aspecting.</param>
virtual public void GetHintAspect(out Efl.Gfx.HintAspect mode, out Eina.Size2D sz) {
var _out_sz = new Eina.Size2D.NativeStruct();
- Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_aspect_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out mode, out _out_sz);
+ Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_aspect_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out mode, out _out_sz);
Eina.Error.RaiseIfUnhandledException();
sz = _out_sz;
}
/// <param name="sz">Base size to use for aspecting.</param>
virtual public void SetHintAspect(Efl.Gfx.HintAspect mode, Eina.Size2D sz) {
Eina.Size2D.NativeStruct _in_sz = sz;
- Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_aspect_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),mode, _in_sz);
+ Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_aspect_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),mode, _in_sz);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Hints on the object's maximum size.
/// (Since EFL 1.22)</summary>
/// <returns>Maximum size (hint) in pixels, (-1, -1) by default for canvas objects).</returns>
virtual public Eina.Size2D GetHintSizeMax() {
- var _ret_var = Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_size_max_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_size_max_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="sz">Maximum size (hint) in pixels, (-1, -1) by default for canvas objects).</param>
virtual public void SetHintSizeMax(Eina.Size2D sz) {
Eina.Size2D.NativeStruct _in_sz = sz;
- Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_size_max_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_sz);
+ Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_size_max_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_sz);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Hints on the object's minimum size.
/// (Since EFL 1.22)</summary>
/// <returns>Minimum size (hint) in pixels.</returns>
virtual public Eina.Size2D GetHintSizeMin() {
- var _ret_var = Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_size_min_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_size_min_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="sz">Minimum size (hint) in pixels.</param>
virtual public void SetHintSizeMin(Eina.Size2D sz) {
Eina.Size2D.NativeStruct _in_sz = sz;
- Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_size_min_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_sz);
+ Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_size_min_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_sz);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the "intrinsic" minimum size of this object.
/// (Since EFL 1.22)</summary>
/// <returns>Minimum size (hint) in pixels.</returns>
virtual public Eina.Size2D GetHintSizeRestrictedMin() {
- var _ret_var = Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_size_restricted_min_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_size_restricted_min_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="sz">Minimum size (hint) in pixels.</param>
virtual public void SetHintSizeRestrictedMin(Eina.Size2D sz) {
Eina.Size2D.NativeStruct _in_sz = sz;
- Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_size_restricted_min_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_sz);
+ Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_size_restricted_min_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_sz);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Read-only minimum size combining both <see cref="Efl.Gfx.IHint.HintSizeRestrictedMin"/> and <see cref="Efl.Gfx.IHint.HintSizeMin"/> hints.
/// (Since EFL 1.22)</summary>
/// <returns>Minimum size (hint) in pixels.</returns>
virtual public Eina.Size2D GetHintSizeCombinedMin() {
- var _ret_var = Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_size_combined_min_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_size_combined_min_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="t">Integer to specify top padding.</param>
/// <param name="b">Integer to specify bottom padding.</param>
virtual public void GetHintMargin(out int l, out int r, out int t, out int b) {
- Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_margin_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out l, out r, out t, out b);
+ Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_margin_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out l, out r, out t, out b);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Hints for an object's margin or padding space.
/// <param name="t">Integer to specify top padding.</param>
/// <param name="b">Integer to specify bottom padding.</param>
virtual public void SetHintMargin(int l, int r, int t, int b) {
- Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_margin_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),l, r, t, b);
+ Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_margin_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),l, r, t, b);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Hints for an object's weight.
/// <param name="x">Non-negative double value to use as horizontal weight hint.</param>
/// <param name="y">Non-negative double value to use as vertical weight hint.</param>
virtual public void GetHintWeight(out double x, out double y) {
- Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_weight_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out x, out y);
+ Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_weight_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out x, out y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Hints for an object's weight.
/// <param name="x">Non-negative double value to use as horizontal weight hint.</param>
/// <param name="y">Non-negative double value to use as vertical weight hint.</param>
virtual public void SetHintWeight(double x, double y) {
- Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_weight_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),x, y);
+ Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_weight_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Hints for an object's alignment.
/// <param name="x">Double, ranging from 0.0 to 1.0.</param>
/// <param name="y">Double, ranging from 0.0 to 1.0.</param>
virtual public void GetHintAlign(out double x, out double y) {
- Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_align_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out x, out y);
+ Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_align_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out x, out y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Hints for an object's alignment.
/// <param name="x">Double, ranging from 0.0 to 1.0.</param>
/// <param name="y">Double, ranging from 0.0 to 1.0.</param>
virtual public void SetHintAlign(double x, double y) {
- Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_align_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),x, y);
+ Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_align_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Hints for an object's fill property that used to specify "justify" or "fill" by some users. <see cref="Efl.Gfx.IHint.GetHintFill"/> specify whether to fill the space inside the boundaries of a container/manager.
/// <param name="x"><c>true</c> if to fill the object space, <c>false</c> otherwise, to use as horizontal fill hint.</param>
/// <param name="y"><c>true</c> if to fill the object space, <c>false</c> otherwise, to use as vertical fill hint.</param>
virtual public void GetHintFill(out bool x, out bool y) {
- Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_fill_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out x, out y);
+ Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_fill_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out x, out y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Hints for an object's fill property that used to specify "justify" or "fill" by some users. <see cref="Efl.Gfx.IHint.GetHintFill"/> specify whether to fill the space inside the boundaries of a container/manager.
/// <param name="x"><c>true</c> if to fill the object space, <c>false</c> otherwise, to use as horizontal fill hint.</param>
/// <param name="y"><c>true</c> if to fill the object space, <c>false</c> otherwise, to use as vertical fill hint.</param>
virtual public void SetHintFill(bool x, bool y) {
- Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_fill_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),x, y);
+ Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_fill_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Number of points of a map.
/// (Since EFL 1.22)</summary>
/// <returns>The number of points of map</returns>
virtual public int GetMappingPointCount() {
- var _ret_var = Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_point_count_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_point_count_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="count">The number of points of map</param>
virtual public void SetMappingPointCount(int count) {
- Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_point_count_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),count);
+ Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_point_count_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),count);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Clockwise state of a map (read-only).
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if clockwise, <c>false</c> if counter clockwise</returns>
virtual public bool GetMappingClockwise() {
- var _ret_var = Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_clockwise_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_clockwise_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> by default.</returns>
virtual public bool GetMappingSmooth() {
- var _ret_var = Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_smooth_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_smooth_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="smooth"><c>true</c> by default.</param>
virtual public void SetMappingSmooth(bool smooth) {
- Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_smooth_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),smooth);
+ Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_smooth_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),smooth);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Alpha flag for map rendering.
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> by default.</returns>
virtual public bool GetMappingAlpha() {
- var _ret_var = Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_alpha_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_alpha_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="alpha"><c>true</c> by default.</param>
virtual public void SetMappingAlpha(bool alpha) {
- Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_alpha_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),alpha);
+ Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_alpha_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),alpha);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>A point's absolute coordinate on the canvas.
/// <param name="y">Point Y coordinate in absolute pixel coordinates.</param>
/// <param name="z">Point Z coordinate hint (pre-perspective transform).</param>
virtual public void GetMappingCoordAbsolute(int idx, out double x, out double y, out double z) {
- Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_coord_absolute_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),idx, out x, out y, out z);
+ Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_coord_absolute_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),idx, out x, out y, out z);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>A point's absolute coordinate on the canvas.
/// <param name="y">Point Y coordinate in absolute pixel coordinates.</param>
/// <param name="z">Point Z coordinate hint (pre-perspective transform).</param>
virtual public void SetMappingCoordAbsolute(int idx, double x, double y, double z) {
- Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_coord_absolute_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),idx, x, y, z);
+ Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_coord_absolute_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),idx, x, y, z);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Map point's U and V texture source point.
/// <param name="u">Relative X coordinate within the image, from 0 to 1.</param>
/// <param name="v">Relative Y coordinate within the image, from 0 to 1.</param>
virtual public void GetMappingUv(int idx, out double u, out double v) {
- Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_uv_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),idx, out u, out v);
+ Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_uv_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),idx, out u, out v);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Map point's U and V texture source point.
/// <param name="u">Relative X coordinate within the image, from 0 to 1.</param>
/// <param name="v">Relative Y coordinate within the image, from 0 to 1.</param>
virtual public void SetMappingUv(int idx, double u, double v) {
- Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_uv_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),idx, u, v);
+ Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_uv_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),idx, u, v);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of a vertex in the map.
/// <param name="b">Blue (0 - 255)</param>
/// <param name="a">Alpha (0 - 255)</param>
virtual public void GetMappingColor(int idx, out int r, out int g, out int b, out int a) {
- Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_color_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),idx, out r, out g, out b, out a);
+ Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_color_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),idx, out r, out g, out b, out a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of a vertex in the map.
/// <param name="b">Blue (0 - 255)</param>
/// <param name="a">Alpha (0 - 255)</param>
virtual public void SetMappingColor(int idx, int r, int g, int b, int a) {
- Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_color_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),idx, r, g, b, a);
+ Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_color_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),idx, r, g, b, a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Read-only property indicating whether an object is mapped.
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if the object is mapped.</returns>
virtual public bool HasMapping() {
- var _ret_var = Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_has_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_has_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This will reset all transformations to identity, meaning the points' colors, positions and UV coordinates will be reset to their default values. <see cref="Efl.Gfx.IMapping.HasMapping"/> will then return <c>false</c>. This function will not modify the values of <see cref="Efl.Gfx.IMapping.MappingSmooth"/> or <see cref="Efl.Gfx.IMapping.MappingAlpha"/>.
/// (Since EFL 1.22)</summary>
virtual public void ResetMapping() {
- Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_reset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_reset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Apply a translation to the object using map.
/// <param name="dy">Distance in pixels along the Y axis.</param>
/// <param name="dz">Distance in pixels along the Z axis.</param>
virtual public void Translate(double dx, double dy, double dz) {
- Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_translate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dx, dy, dz);
+ Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_translate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dx, dy, dz);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Apply a rotation to the object.
/// <param name="cx">X relative coordinate of the center point.</param>
/// <param name="cy">y relative coordinate of the center point.</param>
virtual public void Rotate(double degrees, Efl.Gfx.IEntity pivot, double cx, double cy) {
- Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_rotate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),degrees, pivot, cx, cy);
+ Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_rotate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),degrees, pivot, cx, cy);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Rotate the object around 3 axes in 3D.
/// <param name="cy">y relative coordinate of the center point.</param>
/// <param name="cz">Z absolute coordinate of the center point.</param>
virtual public void Rotate3d(double dx, double dy, double dz, Efl.Gfx.IEntity pivot, double cx, double cy, double cz) {
- Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_rotate_3d_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dx, dy, dz, pivot, cx, cy, cz);
+ Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_rotate_3d_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dx, dy, dz, pivot, cx, cy, cz);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Rotate the object in 3D using a unit quaternion.
/// <param name="cy">y relative coordinate of the center point.</param>
/// <param name="cz">Z absolute coordinate of the center point.</param>
virtual public void RotateQuat(double qx, double qy, double qz, double qw, Efl.Gfx.IEntity pivot, double cx, double cy, double cz) {
- Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_rotate_quat_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),qx, qy, qz, qw, pivot, cx, cy, cz);
+ Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_rotate_quat_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),qx, qy, qz, qw, pivot, cx, cy, cz);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Apply a zoom to the object.
/// <param name="cx">X relative coordinate of the center point.</param>
/// <param name="cy">y relative coordinate of the center point.</param>
virtual public void Zoom(double zoomx, double zoomy, Efl.Gfx.IEntity pivot, double cx, double cy) {
- Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_zoom_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),zoomx, zoomy, pivot, cx, cy);
+ Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_zoom_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),zoomx, zoomy, pivot, cx, cy);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Apply a lighting effect on the object.
/// <param name="ag">Ambient color green value (0 - 255).</param>
/// <param name="ab">Ambient color blue value (0 - 255).</param>
virtual public void Lighting3d(Efl.Gfx.IEntity pivot, double lx, double ly, double lz, int lr, int lg, int lb, int ar, int ag, int ab) {
- Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_lighting_3d_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),pivot, lx, ly, lz, lr, lg, lb, ar, ag, ab);
+ Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_lighting_3d_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),pivot, lx, ly, lz, lr, lg, lb, ar, ag, ab);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Apply a perspective transform to the map
/// <param name="z0">The "0" Z plane value.</param>
/// <param name="foc">The focal distance, must be greater than 0.</param>
virtual public void Perspective3d(Efl.Gfx.IEntity pivot, double px, double py, double z0, double foc) {
- Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_perspective_3d_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),pivot, px, py, z0, foc);
+ Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_perspective_3d_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),pivot, px, py, z0, foc);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Apply a rotation to the object, using absolute coordinates.
/// <param name="cx">X absolute coordinate in pixels of the center point.</param>
/// <param name="cy">y absolute coordinate in pixels of the center point.</param>
virtual public void RotateAbsolute(double degrees, double cx, double cy) {
- Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_rotate_absolute_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),degrees, cx, cy);
+ Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_rotate_absolute_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),degrees, cx, cy);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Rotate the object around 3 axes in 3D, using absolute coordinates.
/// <param name="cy">y absolute coordinate in pixels of the center point.</param>
/// <param name="cz">Z absolute coordinate of the center point.</param>
virtual public void Rotate3dAbsolute(double dx, double dy, double dz, double cx, double cy, double cz) {
- Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_rotate_3d_absolute_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dx, dy, dz, cx, cy, cz);
+ Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_rotate_3d_absolute_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dx, dy, dz, cx, cy, cz);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Rotate the object in 3D using a unit quaternion, using absolute coordinates.
/// <param name="cy">y absolute coordinate in pixels of the center point.</param>
/// <param name="cz">Z absolute coordinate of the center point.</param>
virtual public void RotateQuatAbsolute(double qx, double qy, double qz, double qw, double cx, double cy, double cz) {
- Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_rotate_quat_absolute_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),qx, qy, qz, qw, cx, cy, cz);
+ Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_rotate_quat_absolute_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),qx, qy, qz, qw, cx, cy, cz);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Apply a zoom to the object, using absolute coordinates.
/// <param name="cx">X absolute coordinate in pixels of the center point.</param>
/// <param name="cy">y absolute coordinate in pixels of the center point.</param>
virtual public void ZoomAbsolute(double zoomx, double zoomy, double cx, double cy) {
- Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_zoom_absolute_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),zoomx, zoomy, cx, cy);
+ Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_zoom_absolute_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),zoomx, zoomy, cx, cy);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Apply a lighting effect to the object.
/// <param name="ag">Ambient color green value (0 - 255).</param>
/// <param name="ab">Ambient color blue value (0 - 255).</param>
virtual public void Lighting3dAbsolute(double lx, double ly, double lz, int lr, int lg, int lb, int ar, int ag, int ab) {
- Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_lighting_3d_absolute_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),lx, ly, lz, lr, lg, lb, ar, ag, ab);
+ Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_lighting_3d_absolute_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),lx, ly, lz, lr, lg, lb, ar, ag, ab);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Apply a perspective transform to the map
/// <param name="z0">The "0" Z plane value.</param>
/// <param name="foc">The focal distance, must be greater than 0.</param>
virtual public void Perspective3dAbsolute(double px, double py, double z0, double foc) {
- Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_perspective_3d_absolute_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),px, py, z0, foc);
+ Efl.Gfx.IMappingConcrete.NativeMethods.efl_gfx_mapping_perspective_3d_absolute_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),px, py, z0, foc);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Retrieves the layer of its canvas that the given object is part of.
/// (Since EFL 1.22)</summary>
/// <returns>The number of the layer to place the object on. Must be between <see cref="Efl.Gfx.Constants.StackLayerMin"/> and <see cref="Efl.Gfx.Constants.StackLayerMax"/>.</returns>
virtual public short GetLayer() {
- var _ret_var = Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_layer_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_layer_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="l">The number of the layer to place the object on. Must be between <see cref="Efl.Gfx.Constants.StackLayerMin"/> and <see cref="Efl.Gfx.Constants.StackLayerMax"/>.</param>
virtual public void SetLayer(short l) {
- Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_layer_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),l);
+ Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_layer_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),l);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the Evas object stacked right below <c>obj</c>
/// (Since EFL 1.22)</summary>
/// <returns>The <see cref="Efl.Gfx.IStack"/> object directly below <c>obj</c>, if any, or <c>null</c>, if none.</returns>
virtual public Efl.Gfx.IStack GetBelow() {
- var _ret_var = Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_below_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_below_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The <see cref="Efl.Gfx.IStack"/> object directly below <c>obj</c>, if any, or <c>null</c>, if none.</returns>
virtual public Efl.Gfx.IStack GetAbove() {
- var _ret_var = Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_above_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_above_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="below">The object below which to stack</param>
virtual public void StackBelow(Efl.Gfx.IStack below) {
- Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_below_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),below);
+ Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_below_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),below);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Raise <c>obj</c> to the top of its layer.
/// See also <see cref="Efl.Gfx.IStack.StackAbove"/>, <see cref="Efl.Gfx.IStack.StackBelow"/> and <see cref="Efl.Gfx.IStack.LowerToBottom"/>
/// (Since EFL 1.22)</summary>
virtual public void RaiseToTop() {
- Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_raise_to_top_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_raise_to_top_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Stack <c>obj</c> immediately <c>above</c>
/// (Since EFL 1.22)</summary>
/// <param name="above">The object above which to stack</param>
virtual public void StackAbove(Efl.Gfx.IStack above) {
- Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_above_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),above);
+ Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_above_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),above);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Lower <c>obj</c> to the bottom of its layer.
/// See also <see cref="Efl.Gfx.IStack.StackAbove"/>, <see cref="Efl.Gfx.IStack.StackBelow"/> and <see cref="Efl.Gfx.IStack.RaiseToTop"/>
/// (Since EFL 1.22)</summary>
virtual public void LowerToBottom() {
- Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_lower_to_bottom_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_lower_to_bottom_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Check if input events from a given seat is enabled.</summary>
/// <param name="seat">The seat to act on.</param>
/// <returns><c>true</c> to enable events for a seat or <c>false</c> otherwise.</returns>
virtual public bool GetSeatEventFilter(Efl.Input.Device seat) {
- var _ret_var = Efl.Input.IInterfaceConcrete.NativeMethods.efl_input_seat_event_filter_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),seat);
+ var _ret_var = Efl.Input.IInterfaceConcrete.NativeMethods.efl_input_seat_event_filter_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),seat);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="seat">The seat to act on.</param>
/// <param name="enable"><c>true</c> to enable events for a seat or <c>false</c> otherwise.</param>
virtual public void SetSeatEventFilter(Efl.Input.Device seat, bool enable) {
- Efl.Input.IInterfaceConcrete.NativeMethods.efl_input_seat_event_filter_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),seat, enable);
+ Efl.Input.IInterfaceConcrete.NativeMethods.efl_input_seat_event_filter_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),seat, enable);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Whether this object should be mirrored.
/// If mirrored, an object is in RTL (right to left) mode instead of LTR (left to right).</summary>
/// <returns><c>true</c> for RTL, <c>false</c> for LTR (default).</returns>
virtual public bool GetMirrored() {
- var _ret_var = Efl.Ui.II18nConcrete.NativeMethods.efl_ui_mirrored_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.II18nConcrete.NativeMethods.efl_ui_mirrored_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// If mirrored, an object is in RTL (right to left) mode instead of LTR (left to right).</summary>
/// <param name="rtl"><c>true</c> for RTL, <c>false</c> for LTR (default).</param>
virtual public void SetMirrored(bool rtl) {
- Efl.Ui.II18nConcrete.NativeMethods.efl_ui_mirrored_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),rtl);
+ Efl.Ui.II18nConcrete.NativeMethods.efl_ui_mirrored_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),rtl);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Whether the property <see cref="Efl.Ui.II18n.Mirrored"/> should be set automatically.
/// This property may be implemented by high-level widgets (in Efl.Ui) but not by low-level widgets (in <see cref="Efl.Canvas.IScene"/>) as the configuration should affect only high-level widgets.</summary>
/// <returns>Whether the widget uses automatic mirroring</returns>
virtual public bool GetMirroredAutomatic() {
- var _ret_var = Efl.Ui.II18nConcrete.NativeMethods.efl_ui_mirrored_automatic_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.II18nConcrete.NativeMethods.efl_ui_mirrored_automatic_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This property may be implemented by high-level widgets (in Efl.Ui) but not by low-level widgets (in <see cref="Efl.Canvas.IScene"/>) as the configuration should affect only high-level widgets.</summary>
/// <param name="automatic">Whether the widget uses automatic mirroring</param>
virtual public void SetMirroredAutomatic(bool automatic) {
- Efl.Ui.II18nConcrete.NativeMethods.efl_ui_mirrored_automatic_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),automatic);
+ Efl.Ui.II18nConcrete.NativeMethods.efl_ui_mirrored_automatic_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),automatic);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gets the language for this object.</summary>
/// <returns>The current language.</returns>
virtual public System.String GetLanguage() {
- var _ret_var = Efl.Ui.II18nConcrete.NativeMethods.efl_ui_language_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.II18nConcrete.NativeMethods.efl_ui_language_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Sets the language for this object.</summary>
/// <param name="language">The current language.</param>
virtual public void SetLanguage(System.String language) {
- Efl.Ui.II18nConcrete.NativeMethods.efl_ui_language_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),language);
+ Efl.Ui.II18nConcrete.NativeMethods.efl_ui_language_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),language);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Low-level pointer behaviour.
/// <summary>Information of animation events</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct ObjectAnimationEvent
{
///<summary>Placeholder field</summary>
/// <summary>EFL event animator tick data structure</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct EventAnimatorTick
{
/// <summary>Area of the canvas that will be pushed to screen.</summary>
/// <summary>Efl Canvas Pointer interface
/// (Since EFL 1.22)</summary>
[Efl.Canvas.IPointerConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IPointer :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IPointerConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_canvas_pointer_interface_get();
/// <summary>Initializes a new instance of the <see cref="IPointer"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IPointerConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IPointerConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Low-level polygon object</summary>
[Efl.Canvas.Polygon.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Polygon : Efl.Canvas.Object
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="Polygon"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public Polygon(Efl.Object parent= null
- ) : base(efl_canvas_polygon_class_get(), typeof(Polygon), parent)
+ ) : base(efl_canvas_polygon_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Polygon(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Polygon"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Polygon(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Polygon(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Polygon"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Polygon(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Polygon(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <param name="pos">A point coordinate.</param>
virtual public void AddPoint(Eina.Position2D pos) {
Eina.Position2D.NativeStruct _in_pos = pos;
- Efl.Canvas.Polygon.NativeMethods.efl_canvas_polygon_point_add_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_pos);
+ Efl.Canvas.Polygon.NativeMethods.efl_canvas_polygon_point_add_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_pos);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Removes all of the points from the given evas polygon object.</summary>
virtual public void ClearPoints() {
- Efl.Canvas.Polygon.NativeMethods.efl_canvas_polygon_points_clear_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Canvas.Polygon.NativeMethods.efl_canvas_polygon_points_clear_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
private static IntPtr GetEflClassStatic()
/// <summary>Low-level proxy image object.
/// A proxy is a special kind of image containing the pixels from a source object attached to it. It can be used to apply some sort of image transformation to any object (eg. filters, map or zoom).</summary>
[Efl.Canvas.Proxy.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Proxy : Efl.Canvas.ImageInternal
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="Proxy"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public Proxy(Efl.Object parent= null
- ) : base(efl_canvas_proxy_class_get(), typeof(Proxy), parent)
+ ) : base(efl_canvas_proxy_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Proxy(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Proxy"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Proxy(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Proxy(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Proxy"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Proxy(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Proxy(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// Warning: You cannot set a proxy as another proxy's source.</summary>
/// <returns>Source object to use for the proxy.</returns>
virtual public Efl.Canvas.Object GetSource() {
- var _ret_var = Efl.Canvas.Proxy.NativeMethods.efl_canvas_proxy_source_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Proxy.NativeMethods.efl_canvas_proxy_source_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="src">Source object to use for the proxy.</param>
/// <returns>Returns <c>true</c> in case of success.</returns>
virtual public bool SetSource(Efl.Canvas.Object src) {
- var _ret_var = Efl.Canvas.Proxy.NativeMethods.efl_canvas_proxy_source_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),src);
+ var _ret_var = Efl.Canvas.Proxy.NativeMethods.efl_canvas_proxy_source_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),src);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <c>true</c> means both objects will share the same clip.</summary>
/// <returns>Whether <c>obj</c> is clipped by the source clipper (<c>true</c>) or not (<c>false</c>).</returns>
virtual public bool GetSourceClip() {
- var _ret_var = Efl.Canvas.Proxy.NativeMethods.efl_canvas_proxy_source_clip_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Proxy.NativeMethods.efl_canvas_proxy_source_clip_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <c>true</c> means both objects will share the same clip.</summary>
/// <param name="source_clip">Whether <c>obj</c> is clipped by the source clipper (<c>true</c>) or not (<c>false</c>).</param>
virtual public void SetSourceClip(bool source_clip) {
- Efl.Canvas.Proxy.NativeMethods.efl_canvas_proxy_source_clip_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),source_clip);
+ Efl.Canvas.Proxy.NativeMethods.efl_canvas_proxy_source_clip_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),source_clip);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Defines whether the events on this object are repeated to the source.
/// If <c>source</c> is <c>false</c>, events occurring on <c>obj</c> will be processed only on it.</summary>
/// <returns>Whether this object should pass events (<c>true</c>) or not (<c>false</c>) to its source.</returns>
virtual public bool GetSourceEvents() {
- var _ret_var = Efl.Canvas.Proxy.NativeMethods.efl_canvas_proxy_source_events_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Proxy.NativeMethods.efl_canvas_proxy_source_events_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// If <c>source</c> is <c>false</c>, events occurring on <c>obj</c> will be processed only on it.</summary>
/// <param name="repeat">Whether this object should pass events (<c>true</c>) or not (<c>false</c>) to its source.</param>
virtual public void SetSourceEvents(bool repeat) {
- Efl.Canvas.Proxy.NativeMethods.efl_canvas_proxy_source_events_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),repeat);
+ Efl.Canvas.Proxy.NativeMethods.efl_canvas_proxy_source_events_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),repeat);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The source object for this proxy.
/// <summary>Evas canvas rectangle class</summary>
[Efl.Canvas.Rectangle.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Rectangle : Efl.Canvas.Object
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="Rectangle"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public Rectangle(Efl.Object parent= null
- ) : base(efl_canvas_rectangle_class_get(), typeof(Rectangle), parent)
+ ) : base(efl_canvas_rectangle_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Rectangle(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Rectangle"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Rectangle(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Rectangle(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Rectangle"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Rectangle(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Rectangle(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>Interface containing basic canvas-related methods and events.
/// (Since EFL 1.22)</summary>
[Efl.Canvas.ISceneConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IScene :
Efl.Eo.IWrapper, IDisposable
{
}
}
///<summary>Event argument wrapper for event <see cref="Efl.Canvas.IScene.ObjectFocusInEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class ISceneObjectFocusInEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Input.Focus arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Canvas.IScene.ObjectFocusOutEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class ISceneObjectFocusOutEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Input.Focus arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Canvas.IScene.RenderPostEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class ISceneRenderPostEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Gfx.Event.RenderPost arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Canvas.IScene.DeviceChangedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class ISceneDeviceChangedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Input.Device arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Canvas.IScene.DeviceAddedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class ISceneDeviceAddedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Input.Device arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Canvas.IScene.DeviceRemovedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class ISceneDeviceRemovedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Input.Device arg { get; set; }
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private ISceneConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_canvas_scene_interface_get();
/// <summary>Initializes a new instance of the <see cref="IScene"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private ISceneConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private ISceneConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CANVAS_SCENE_EVENT_SCENE_FOCUS_IN";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CANVAS_SCENE_EVENT_SCENE_FOCUS_OUT";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CANVAS_SCENE_EVENT_OBJECT_FOCUS_IN";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CANVAS_SCENE_EVENT_OBJECT_FOCUS_OUT";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CANVAS_SCENE_EVENT_RENDER_PRE";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CANVAS_SCENE_EVENT_RENDER_POST";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CANVAS_SCENE_EVENT_DEVICE_CHANGED";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CANVAS_SCENE_EVENT_DEVICE_ADDED";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CANVAS_SCENE_EVENT_DEVICE_REMOVED";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
Eina.Position2D.NativeStruct _in_pos = pos;
var _ret_var = Efl.Canvas.ISceneConcrete.NativeMethods.efl_canvas_scene_objects_at_xy_get_ptr.Value.Delegate(this.NativeHandle,_in_pos, include_pass_events_objects, include_hidden_objects);
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true, false);
+ return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true);
}
/// <summary>Retrieve the object stacked at the top of a given position in a canvas.
/// This function will traverse all the layers of the given canvas, from top to bottom, querying for objects with areas covering the given position. The user can exclude from the query objects which are hidden and/or which are set to pass events.
Eina.Rect.NativeStruct _in_rect = rect;
var _ret_var = Efl.Canvas.ISceneConcrete.NativeMethods.efl_canvas_scene_objects_in_rectangle_get_ptr.Value.Delegate(this.NativeHandle,_in_rect, include_pass_events_objects, include_hidden_objects);
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true, false);
+ return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true);
}
/// <summary>Retrieve the canvas object stacked at the top of a given rectangular region in a canvas
/// This function will traverse all the layers of the given canvas, from top to bottom, querying for objects with areas overlapping with the given rectangular region. The user can exclude from the query objects which are hidden and/or which are set to pass events.
public Eina.Iterator<Efl.Input.Device> Seats() {
var _ret_var = Efl.Canvas.ISceneConcrete.NativeMethods.efl_canvas_scene_seats_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Input.Device>(_ret_var, true, false);
+ return new Eina.Iterator<Efl.Input.Device>(_ret_var, true);
}
/// <summary>Get if the canvas is currently calculating group objects.
/// (Since EFL 1.22)</summary>
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Low-level snapshot image object.
/// A snapshot is a special kind of image containing the pixels from all the objects below it. This allows applications to save screenshots of all or part of their UI, or apply filters to parts of the UI.</summary>
[Efl.Canvas.Snapshot.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Snapshot : Efl.Canvas.ImageInternal
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="Snapshot"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public Snapshot(Efl.Object parent= null
- ) : base(efl_canvas_snapshot_class_get(), typeof(Snapshot), parent)
+ ) : base(efl_canvas_snapshot_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Snapshot(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Snapshot"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Snapshot(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Snapshot(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Snapshot"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Snapshot(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Snapshot(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>Native surfaces usually bound to an externally-managed buffer.
/// The attached <see cref="Efl.Canvas.Surface.NativeBuffer"/> is entirely platform-dependent, which means some of this mixin's subclasses will not work (constructor returns <c>null</c>) on some platforms. This class is meant to be used from native code only (C or C++), with direct access to the display system or a buffer allocation system.</summary>
[Efl.Canvas.Surface.NativeMethods]
+[Efl.Eo.BindingEntity]
public abstract class Surface : Efl.Canvas.ImageInternal
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="Surface"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public Surface(Efl.Object parent= null
- ) : base(efl_canvas_surface_class_get(), typeof(Surface), parent)
+ ) : base(efl_canvas_surface_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Surface(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Surface"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Surface(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Surface(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
[Efl.Eo.PrivateNativeClass]
private class SurfaceRealized : Surface
{
- private SurfaceRealized(IntPtr ptr) : base(ptr)
+ private SurfaceRealized(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Initializes a new instance of the <see cref="Surface"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Surface(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Surface(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// Set to <c>null</c> to detach this surface from the external buffer.</summary>
/// <returns>The external buffer, depends on its type.</returns>
virtual public System.IntPtr GetNativeBuffer() {
- var _ret_var = Efl.Canvas.Surface.NativeMethods.efl_canvas_surface_native_buffer_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Surface.NativeMethods.efl_canvas_surface_native_buffer_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="buffer">The external buffer, depends on its type.</param>
/// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
virtual public bool SetNativeBuffer(System.IntPtr buffer) {
- var _ret_var = Efl.Canvas.Surface.NativeMethods.efl_canvas_surface_native_buffer_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),buffer);
+ var _ret_var = Efl.Canvas.Surface.NativeMethods.efl_canvas_surface_native_buffer_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),buffer);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Native Tizen Buffer Manager surface for Efl canvas</summary>
[Efl.Canvas.SurfaceTbm.NativeMethods]
+[Efl.Eo.BindingEntity]
public class SurfaceTbm : Efl.Canvas.Surface
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="SurfaceTbm"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public SurfaceTbm(Efl.Object parent= null
- ) : base(efl_canvas_surface_tbm_class_get(), typeof(SurfaceTbm), parent)
+ ) : base(efl_canvas_surface_tbm_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected SurfaceTbm(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="SurfaceTbm"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected SurfaceTbm(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected SurfaceTbm(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="SurfaceTbm"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected SurfaceTbm(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected SurfaceTbm(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>Native Wayland surface for Efl canvas</summary>
[Efl.Canvas.SurfaceWayland.NativeMethods]
+[Efl.Eo.BindingEntity]
public class SurfaceWayland : Efl.Canvas.Surface
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="SurfaceWayland"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public SurfaceWayland(Efl.Object parent= null
- ) : base(efl_canvas_surface_wayland_class_get(), typeof(SurfaceWayland), parent)
+ ) : base(efl_canvas_surface_wayland_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected SurfaceWayland(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="SurfaceWayland"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected SurfaceWayland(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected SurfaceWayland(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="SurfaceWayland"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected SurfaceWayland(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected SurfaceWayland(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>Native X11 surface for Efl canvas</summary>
[Efl.Canvas.SurfaceX11.NativeMethods]
+[Efl.Eo.BindingEntity]
public class SurfaceX11 : Efl.Canvas.Surface
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="SurfaceX11"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public SurfaceX11(Efl.Object parent= null
- ) : base(efl_canvas_surface_x11_class_get(), typeof(SurfaceX11), parent)
+ ) : base(efl_canvas_surface_x11_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected SurfaceX11(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="SurfaceX11"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected SurfaceX11(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected SurfaceX11(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="SurfaceX11"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected SurfaceX11(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected SurfaceX11(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <param name="visual">X11 Visual for this Pixmap.</param>
/// <param name="pixmap">X11 Pixmap ID.</param>
virtual public void GetPixmap(out System.IntPtr visual, out uint pixmap) {
- Efl.Canvas.SurfaceX11.NativeMethods.efl_canvas_surface_x11_pixmap_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out visual, out pixmap);
+ Efl.Canvas.SurfaceX11.NativeMethods.efl_canvas_surface_x11_pixmap_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out visual, out pixmap);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This is a helper for <see cref="Efl.Canvas.Surface.NativeBuffer"/>.</summary>
/// <param name="pixmap">X11 Pixmap ID.</param>
/// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
virtual public bool SetPixmap(System.IntPtr visual, uint pixmap) {
- var _ret_var = Efl.Canvas.SurfaceX11.NativeMethods.efl_canvas_surface_x11_pixmap_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),visual, pixmap);
+ var _ret_var = Efl.Canvas.SurfaceX11.NativeMethods.efl_canvas_surface_x11_pixmap_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),visual, pixmap);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>The type used by <see cref="Efl.Canvas.Surface.NativeBuffer"/>.</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct SurfaceX11Pixmap
{
/// <summary>X11 Visual for this Pixmap.</summary>
/// <summary>Efl canvas text class</summary>
[Efl.Canvas.Text.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Text : Efl.Canvas.Object, Efl.IText, Efl.ITextAnnotate, Efl.ITextCursor, Efl.ITextFont, Efl.ITextFormat, Efl.ITextMarkup, Efl.ITextMarkupInteractive, Efl.ITextStyle, Efl.Canvas.Filter.IInternal, Efl.Gfx.IFilter
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="Text"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public Text(Efl.Object parent= null
- ) : base(efl_canvas_text_class_get(), typeof(Text), parent)
+ ) : base(efl_canvas_text_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Text(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Text"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Text(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Text(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Text"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Text(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Text(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CANVAS_TEXT_EVENT_CURSOR_CHANGED";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CANVAS_TEXT_EVENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CANVAS_TEXT_EVENT_STYLE_INSETS_CHANGED";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
/// <summary>Whether the object is empty (no text) or not</summary>
/// <returns><c>true</c> if empty, <c>false</c> otherwise</returns>
virtual public bool GetIsEmpty() {
- var _ret_var = Efl.Canvas.Text.NativeMethods.efl_canvas_text_is_empty_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Text.NativeMethods.efl_canvas_text_is_empty_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="t">Top padding</param>
/// <param name="b">Bottom padding</param>
virtual public void GetStyleInsets(out int l, out int r, out int t, out int b) {
- Efl.Canvas.Text.NativeMethods.efl_canvas_text_style_insets_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out l, out r, out t, out b);
+ Efl.Canvas.Text.NativeMethods.efl_canvas_text_style_insets_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out l, out r, out t, out b);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>BiDi delimiters are used for in-paragraph separation of bidi segments. This is useful, for example, in the recipient fields of e-mail clients where bidi oddities can occur when mixing RTL and LTR.</summary>
/// <returns>A null terminated string of delimiters, e.g ",|" or <c>null</c> if empty</returns>
virtual public System.String GetBidiDelimiters() {
- var _ret_var = Efl.Canvas.Text.NativeMethods.efl_canvas_text_bidi_delimiters_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Text.NativeMethods.efl_canvas_text_bidi_delimiters_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>BiDi delimiters are used for in-paragraph separation of bidi segments. This is useful, for example, in the recipient fields of e-mail clients where bidi oddities can occur when mixing RTL and LTR.</summary>
/// <param name="delim">A null terminated string of delimiters, e.g ",|" or <c>null</c> if empty</param>
virtual public void SetBidiDelimiters(System.String delim) {
- Efl.Canvas.Text.NativeMethods.efl_canvas_text_bidi_delimiters_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),delim);
+ Efl.Canvas.Text.NativeMethods.efl_canvas_text_bidi_delimiters_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),delim);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>When <c>true</c>, newline character will behave as a paragraph separator.</summary>
/// <returns><c>true</c> for legacy mode, <c>false</c> otherwise</returns>
virtual public bool GetLegacyNewline() {
- var _ret_var = Efl.Canvas.Text.NativeMethods.efl_canvas_text_legacy_newline_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Text.NativeMethods.efl_canvas_text_legacy_newline_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>When <c>true</c>, newline character will behave as a paragraph separator.</summary>
/// <param name="mode"><c>true</c> for legacy mode, <c>false</c> otherwise</param>
virtual public void SetLegacyNewline(bool mode) {
- Efl.Canvas.Text.NativeMethods.efl_canvas_text_legacy_newline_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),mode);
+ Efl.Canvas.Text.NativeMethods.efl_canvas_text_legacy_newline_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),mode);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The text style of the object.
/// <param name="key">The name to the style. <c>NULL</c> is the default style</param>
/// <returns>The style</returns>
virtual public System.String GetStyle(System.String key) {
- var _ret_var = Efl.Canvas.Text.NativeMethods.efl_canvas_text_style_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),key);
+ var _ret_var = Efl.Canvas.Text.NativeMethods.efl_canvas_text_style_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),key);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="key">The name to the style. <c>NULL</c> is the default style</param>
/// <param name="style">The style</param>
virtual public void SetStyle(System.String key, System.String style) {
- Efl.Canvas.Text.NativeMethods.efl_canvas_text_style_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),key, style);
+ Efl.Canvas.Text.NativeMethods.efl_canvas_text_style_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),key, style);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The formatted width and height.
/// <param name="w">The width of the object.</param>
/// <param name="h">The height of the object.</param>
virtual public void GetSizeFormatted(out int w, out int h) {
- Efl.Canvas.Text.NativeMethods.efl_canvas_text_size_formatted_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out w, out h);
+ Efl.Canvas.Text.NativeMethods.efl_canvas_text_size_formatted_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out w, out h);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The native width and height.
/// <param name="w">The width returned.</param>
/// <param name="h">The height returned.</param>
virtual public void GetSizeNative(out int w, out int h) {
- Efl.Canvas.Text.NativeMethods.efl_canvas_text_size_native_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out w, out h);
+ Efl.Canvas.Text.NativeMethods.efl_canvas_text_size_native_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out w, out h);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Returns the currently visible range.
/// <param name="end">Range end position</param>
/// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
virtual public bool GetVisibleRange(Efl.TextCursorCursor start, Efl.TextCursorCursor end) {
- var _ret_var = Efl.Canvas.Text.NativeMethods.efl_canvas_text_visible_range_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),start, end);
+ var _ret_var = Efl.Canvas.Text.NativeMethods.efl_canvas_text_visible_range_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),start, end);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="cur2">End of range</param>
/// <returns>The text in the given range</returns>
virtual public System.String GetRangeText(Efl.TextCursorCursor cur1, Efl.TextCursorCursor cur2) {
- var _ret_var = Efl.Canvas.Text.NativeMethods.efl_canvas_text_range_text_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur1, cur2);
+ var _ret_var = Efl.Canvas.Text.NativeMethods.efl_canvas_text_range_text_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur1, cur2);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="cur2">End of range</param>
/// <returns>Iterator on all geoemtries of the given range</returns>
virtual public Eina.Iterator<Eina.Rect> GetRangeGeometry(Efl.TextCursorCursor cur1, Efl.TextCursorCursor cur2) {
- var _ret_var = Efl.Canvas.Text.NativeMethods.efl_canvas_text_range_geometry_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur1, cur2);
+ var _ret_var = Efl.Canvas.Text.NativeMethods.efl_canvas_text_range_geometry_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur1, cur2);
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Eina.Rect>(_ret_var, true, false);
+ return new Eina.Iterator<Eina.Rect>(_ret_var, true);
}
/// <summary>Get the "simple" geometry of a range.
/// The geometry is the geometry in which rectangles in middle lines of range are merged into one big rectangle. This is an optimized version of <see cref="Efl.Canvas.Text.GetRangeGeometry"/>.</summary>
/// <param name="cur2">End of range</param>
/// <returns>Iterator on all simple geometries of the given range</returns>
virtual public Eina.Iterator<Eina.Rect> GetRangeSimpleGeometry(Efl.TextCursorCursor cur1, Efl.TextCursorCursor cur2) {
- var _ret_var = Efl.Canvas.Text.NativeMethods.efl_canvas_text_range_simple_geometry_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur1, cur2);
+ var _ret_var = Efl.Canvas.Text.NativeMethods.efl_canvas_text_range_simple_geometry_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur1, cur2);
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Eina.Rect>(_ret_var, true, false);
+ return new Eina.Iterator<Eina.Rect>(_ret_var, true);
}
/// <summary>Deletes the range between given cursors.
/// This removes all the text in given range [<c>start</c>,<c>end</c>].</summary>
/// <param name="cur1">Range start position</param>
/// <param name="cur2">Range end position</param>
virtual public void RangeDelete(Efl.TextCursorCursor cur1, Efl.TextCursorCursor cur2) {
- Efl.Canvas.Text.NativeMethods.efl_canvas_text_range_delete_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur1, cur2);
+ Efl.Canvas.Text.NativeMethods.efl_canvas_text_range_delete_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur1, cur2);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Add obstacle evas object <c>eo_obs</c> to be observed during layout of text.
/// <param name="eo_obs">Obstacle object</param>
/// <returns><c>true</c> on success, <c>false</c> otherwise.</returns>
virtual public bool AddObstacle(Efl.Canvas.Object eo_obs) {
- var _ret_var = Efl.Canvas.Text.NativeMethods.efl_canvas_text_obstacle_add_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),eo_obs);
+ var _ret_var = Efl.Canvas.Text.NativeMethods.efl_canvas_text_obstacle_add_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),eo_obs);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="eo_obs">Obstacle object</param>
/// <returns><c>true</c> on success, <c>false</c> otherwise.</returns>
virtual public bool DelObstacle(Efl.Canvas.Object eo_obs) {
- var _ret_var = Efl.Canvas.Text.NativeMethods.efl_canvas_text_obstacle_del_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),eo_obs);
+ var _ret_var = Efl.Canvas.Text.NativeMethods.efl_canvas_text_obstacle_del_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),eo_obs);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
///
/// For example: if you have just repositioned the obstacles to differrent coordinates relative to the textblock, you need to call this so it will consider this new state and will relayout the text.</summary>
virtual public void UpdateObstacles() {
- Efl.Canvas.Text.NativeMethods.efl_canvas_text_obstacles_update_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Canvas.Text.NativeMethods.efl_canvas_text_obstacles_update_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Requests to layout the text off the mainloop.
/// Once layout is complete, the result is returned as <see cref="Eina.Rect"/>, with w, h fields set.</summary>
/// <returns>Future for layout result</returns>
virtual public Eina.Future AsyncLayout() {
- var _ret_var = Efl.Canvas.Text.NativeMethods.efl_canvas_text_async_layout_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Text.NativeMethods.efl_canvas_text_async_layout_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Text string to display on it.</returns>
virtual public System.String GetText() {
- var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="text">Text string to display on it.</param>
virtual public void SetText(System.String text) {
- Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),text);
+ Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),text);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>A new format for <c>annotation</c>.
/// <param name="annotation">Given annotation</param>
/// <returns>The new format for the given annotation</returns>
virtual public System.String GetAnnotation(Efl.TextAnnotateAnnotation annotation) {
- var _ret_var = Efl.ITextAnnotateConcrete.NativeMethods.efl_text_annotation_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),annotation);
+ var _ret_var = Efl.ITextAnnotateConcrete.NativeMethods.efl_text_annotation_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),annotation);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="format">The new format for the given annotation</param>
/// <returns><c>true</c> on success, <c>false</c> otherwise.</returns>
virtual public bool SetAnnotation(Efl.TextAnnotateAnnotation annotation, System.String format) {
- var _ret_var = Efl.ITextAnnotateConcrete.NativeMethods.efl_text_annotation_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),annotation, format);
+ var _ret_var = Efl.ITextAnnotateConcrete.NativeMethods.efl_text_annotation_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),annotation, format);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="cur">Cursor object</param>
/// <returns>Annotation</returns>
virtual public Efl.TextAnnotateAnnotation GetCursorItemAnnotation(Efl.TextCursorCursor cur) {
- var _ret_var = Efl.ITextAnnotateConcrete.NativeMethods.efl_text_cursor_item_annotation_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ var _ret_var = Efl.ITextAnnotateConcrete.NativeMethods.efl_text_cursor_item_annotation_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="end">End of range</param>
/// <returns>Handle of the Annotation</returns>
virtual public Eina.Iterator<Efl.TextAnnotateAnnotation> GetRangeAnnotations(Efl.TextCursorCursor start, Efl.TextCursorCursor end) {
- var _ret_var = Efl.ITextAnnotateConcrete.NativeMethods.efl_text_range_annotations_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),start, end);
+ var _ret_var = Efl.ITextAnnotateConcrete.NativeMethods.efl_text_range_annotations_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),start, end);
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.TextAnnotateAnnotation>(_ret_var, true, false);
+ return new Eina.Iterator<Efl.TextAnnotateAnnotation>(_ret_var, true);
}
/// <summary>Inserts an annotation format in a specified range [<c>start</c>, <c>end</c> - 1].
/// The <c>format</c> will be applied to the given range, and the <c>annotation</c> handle will be returned for further handling.</summary>
/// <param name="format">Annotation format</param>
/// <returns>Handle of inserted annotation</returns>
virtual public Efl.TextAnnotateAnnotation AnnotationInsert(Efl.TextCursorCursor start, Efl.TextCursorCursor end, System.String format) {
- var _ret_var = Efl.ITextAnnotateConcrete.NativeMethods.efl_text_annotation_insert_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),start, end, format);
+ var _ret_var = Efl.ITextAnnotateConcrete.NativeMethods.efl_text_annotation_insert_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),start, end, format);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="annotation">Annotation to be removed</param>
/// <returns><c>true</c> on success, <c>false</c> otherwise.</returns>
virtual public bool DelAnnotation(Efl.TextAnnotateAnnotation annotation) {
- var _ret_var = Efl.ITextAnnotateConcrete.NativeMethods.efl_text_annotation_del_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),annotation);
+ var _ret_var = Efl.ITextAnnotateConcrete.NativeMethods.efl_text_annotation_del_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),annotation);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="start">Cursor to be set to the start position of the annotation in the text</param>
/// <param name="end">Cursor to be set to the end position of the annotation in the text</param>
virtual public void GetAnnotationPositions(Efl.TextAnnotateAnnotation annotation, Efl.TextCursorCursor start, Efl.TextCursorCursor end) {
- Efl.ITextAnnotateConcrete.NativeMethods.efl_text_annotation_positions_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),annotation, start, end);
+ Efl.ITextAnnotateConcrete.NativeMethods.efl_text_annotation_positions_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),annotation, start, end);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Whether this is an "item" type of annotation. Should be used before querying the annotation's geometry, as only "item" annotations have a geometry.
/// <param name="annotation">Given annotation</param>
/// <returns><c>true</c> if given annotation is an object item, <c>false</c> otherwise</returns>
virtual public bool AnnotationIsItem(Efl.TextAnnotateAnnotation annotation) {
- var _ret_var = Efl.ITextAnnotateConcrete.NativeMethods.efl_text_annotation_is_item_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),annotation);
+ var _ret_var = Efl.ITextAnnotateConcrete.NativeMethods.efl_text_annotation_is_item_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),annotation);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="h">Height of the annotation</param>
/// <returns><c>true</c> if given annotation is an object item, <c>false</c> otherwise</returns>
virtual public bool GetItemGeometry(Efl.TextAnnotateAnnotation an, out int x, out int y, out int w, out int h) {
- var _ret_var = Efl.ITextAnnotateConcrete.NativeMethods.efl_text_item_geometry_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),an, out x, out y, out w, out h);
+ var _ret_var = Efl.ITextAnnotateConcrete.NativeMethods.efl_text_item_geometry_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),an, out x, out y, out w, out h);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="format">Size format of the inserted item. This hints how to size the item in the text.</param>
/// <returns>The annotation handle of the inserted item.</returns>
virtual public Efl.TextAnnotateAnnotation CursorItemInsert(Efl.TextCursorCursor cur, System.String item, System.String format) {
- var _ret_var = Efl.ITextAnnotateConcrete.NativeMethods.efl_text_cursor_item_insert_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur, item, format);
+ var _ret_var = Efl.ITextAnnotateConcrete.NativeMethods.efl_text_cursor_item_insert_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur, item, format);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="get_type">Cursor type</param>
/// <returns>Text cursor object</returns>
virtual public Efl.TextCursorCursor GetTextCursor(Efl.TextCursorGetType get_type) {
- var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),get_type);
+ var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),get_type);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="cur">Cursor object</param>
/// <returns>Cursor position</returns>
virtual public int GetCursorPosition(Efl.TextCursorCursor cur) {
- var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_position_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_position_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="cur">Cursor object</param>
/// <param name="position">Cursor position</param>
virtual public void SetCursorPosition(Efl.TextCursorCursor cur, int position) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_position_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur, position);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_position_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur, position);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The content of the cursor (the character under the cursor)</summary>
/// <param name="cur">Cursor object</param>
/// <returns>The unicode codepoint of the character</returns>
virtual public Eina.Unicode GetCursorContent(Efl.TextCursorCursor cur) {
- var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="ch2">The height of the lower cursor</param>
/// <returns><c>true</c> if split cursor, <c>false</c> otherwise.</returns>
virtual public bool GetCursorGeometry(Efl.TextCursorCursor cur, Efl.TextCursorType ctype, out int cx, out int cy, out int cw, out int ch, out int cx2, out int cy2, out int cw2, out int ch2) {
- var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_geometry_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur, ctype, out cx, out cy, out cw, out ch, out cx2, out cy2, out cw2, out ch2);
+ var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_geometry_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur, ctype, out cx, out cy, out cw, out ch, out cx2, out cy2, out cw2, out ch2);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Create new cursor</summary>
/// <returns>Cursor object</returns>
virtual public Efl.TextCursorCursor NewCursor() {
- var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_new_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_new_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Free existing cursor</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorFree(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_free_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_free_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Check if two cursors are equal</summary>
/// <param name="cur2">Cursor 2 object</param>
/// <returns><c>true</c> if cursors are equal, <c>false</c> otherwise</returns>
virtual public bool CursorEqual(Efl.TextCursorCursor cur1, Efl.TextCursorCursor cur2) {
- var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_equal_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur1, cur2);
+ var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_equal_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur1, cur2);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="cur2">Cursor 2 object</param>
/// <returns>Difference between cursors</returns>
virtual public int CursorCompare(Efl.TextCursorCursor cur1, Efl.TextCursorCursor cur2) {
- var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_compare_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur1, cur2);
+ var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_compare_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur1, cur2);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="dst">Destination cursor</param>
/// <param name="src">Source cursor</param>
virtual public void CursorCopy(Efl.TextCursorCursor dst, Efl.TextCursorCursor src) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_copy_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dst, src);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_copy_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dst, src);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Advances to the next character</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorCharNext(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_char_next_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_char_next_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Advances to the previous character</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorCharPrev(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_char_prev_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_char_prev_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Advances to the next grapheme cluster</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorClusterNext(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_cluster_next_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_cluster_next_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Advances to the previous grapheme cluster</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorClusterPrev(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_cluster_prev_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_cluster_prev_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Advances to the first character in this paragraph</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorParagraphCharFirst(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_char_first_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_char_first_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Advances to the last character in this paragraph</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorParagraphCharLast(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_char_last_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_char_last_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Advance to current word start</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorWordStart(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_word_start_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_word_start_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Advance to current word end</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorWordEnd(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_word_end_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_word_end_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Advance to current line first character</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorLineCharFirst(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_line_char_first_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_line_char_first_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Advance to current line last character</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorLineCharLast(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_line_char_last_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_line_char_last_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Advance to current paragraph first character</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorParagraphFirst(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_first_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_first_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Advance to current paragraph last character</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorParagraphLast(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_last_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_last_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Advances to the start of the next text node</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorParagraphNext(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_next_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_next_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Advances to the end of the previous text node</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorParagraphPrev(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_prev_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_prev_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Jump the cursor by the given number of lines</summary>
/// <param name="cur">Cursor object</param>
/// <param name="by">Number of lines</param>
virtual public void CursorLineJumpBy(Efl.TextCursorCursor cur, int by) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_line_jump_by_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur, by);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_line_jump_by_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur, by);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set cursor coordinates</summary>
/// <param name="x">X coord to set by.</param>
/// <param name="y">Y coord to set by.</param>
virtual public void SetCursorCoord(Efl.TextCursorCursor cur, int x, int y) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_coord_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur, x, y);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_coord_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur, x, y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set cursor coordinates according to grapheme clusters. It does not allow to put a cursor to the middle of a grapheme cluster.</summary>
/// <param name="x">X coord to set by.</param>
/// <param name="y">Y coord to set by.</param>
virtual public void SetCursorClusterCoord(Efl.TextCursorCursor cur, int x, int y) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_cluster_coord_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur, x, y);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_cluster_coord_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur, x, y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Adds text to the current cursor position and set the cursor to *after* the start of the text just added.</summary>
/// <param name="text">Text to append (UTF-8 format).</param>
/// <returns>Length of the appended text.</returns>
virtual public int CursorTextInsert(Efl.TextCursorCursor cur, System.String text) {
- var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_text_insert_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur, text);
+ var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_text_insert_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur, text);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Deletes a single character from position pointed by given cursor.</summary>
/// <param name="cur">Cursor object</param>
virtual public void CursorCharDelete(Efl.TextCursorCursor cur) {
- Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_char_delete_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur);
+ Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_char_delete_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Retrieve the font family and size in use on a given text object.
/// <param name="font">The font family name or filename.</param>
/// <param name="size">The font size, in points.</param>
virtual public void GetFont(out System.String font, out Efl.Font.Size size) {
- Efl.ITextFontConcrete.NativeMethods.efl_text_font_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out font, out size);
+ Efl.ITextFontConcrete.NativeMethods.efl_text_font_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out font, out size);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the font family, filename and size for a given text object.
/// <param name="font">The font family name or filename.</param>
/// <param name="size">The font size, in points.</param>
virtual public void SetFont(System.String font, Efl.Font.Size size) {
- Efl.ITextFontConcrete.NativeMethods.efl_text_font_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),font, size);
+ Efl.ITextFontConcrete.NativeMethods.efl_text_font_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),font, size);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the font file's path which is being used on a given text object.
/// See <see cref="Efl.ITextFont.GetFont"/> for more details.</summary>
/// <returns>The font file's path.</returns>
virtual public System.String GetFontSource() {
- var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_source_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_source_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// See also <see cref="Efl.ITextFont.GetFont"/>.</summary>
/// <param name="font_source">The font file's path.</param>
virtual public void SetFontSource(System.String font_source) {
- Efl.ITextFontConcrete.NativeMethods.efl_text_font_source_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),font_source);
+ Efl.ITextFontConcrete.NativeMethods.efl_text_font_source_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),font_source);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Comma-separated list of font fallbacks
/// Will be used in case the primary font isn't available.</summary>
/// <returns>Font name fallbacks</returns>
virtual public System.String GetFontFallbacks() {
- var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_fallbacks_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_fallbacks_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Will be used in case the primary font isn't available.</summary>
/// <param name="font_fallbacks">Font name fallbacks</param>
virtual public void SetFontFallbacks(System.String font_fallbacks) {
- Efl.ITextFontConcrete.NativeMethods.efl_text_font_fallbacks_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),font_fallbacks);
+ Efl.ITextFontConcrete.NativeMethods.efl_text_font_fallbacks_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),font_fallbacks);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Type of weight of the displayed font
/// Default is <see cref="Efl.TextFontWeight.Normal"/>.</summary>
/// <returns>Font weight</returns>
virtual public Efl.TextFontWeight GetFontWeight() {
- var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_weight_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_weight_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Default is <see cref="Efl.TextFontWeight.Normal"/>.</summary>
/// <param name="font_weight">Font weight</param>
virtual public void SetFontWeight(Efl.TextFontWeight font_weight) {
- Efl.ITextFontConcrete.NativeMethods.efl_text_font_weight_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),font_weight);
+ Efl.ITextFontConcrete.NativeMethods.efl_text_font_weight_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),font_weight);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Type of slant of the displayed font
/// Default is <see cref="Efl.TextFontSlant.Normal"/>.</summary>
/// <returns>Font slant</returns>
virtual public Efl.TextFontSlant GetFontSlant() {
- var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_slant_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_slant_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Default is <see cref="Efl.TextFontSlant.Normal"/>.</summary>
/// <param name="style">Font slant</param>
virtual public void SetFontSlant(Efl.TextFontSlant style) {
- Efl.ITextFontConcrete.NativeMethods.efl_text_font_slant_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),style);
+ Efl.ITextFontConcrete.NativeMethods.efl_text_font_slant_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),style);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Type of width of the displayed font
/// Default is <see cref="Efl.TextFontWidth.Normal"/>.</summary>
/// <returns>Font width</returns>
virtual public Efl.TextFontWidth GetFontWidth() {
- var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_width_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_width_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Default is <see cref="Efl.TextFontWidth.Normal"/>.</summary>
/// <param name="width">Font width</param>
virtual public void SetFontWidth(Efl.TextFontWidth width) {
- Efl.ITextFontConcrete.NativeMethods.efl_text_font_width_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),width);
+ Efl.ITextFontConcrete.NativeMethods.efl_text_font_width_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),width);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Specific language of the displayed font
/// This is used to lookup fonts suitable to the specified language, as well as helping the font shaper backend. The language <c>lang</c> can be either a code e.g "en_US", "auto" to use the system locale, or "none".</summary>
/// <returns>Language</returns>
virtual public System.String GetFontLang() {
- var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_lang_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_lang_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This is used to lookup fonts suitable to the specified language, as well as helping the font shaper backend. The language <c>lang</c> can be either a code e.g "en_US", "auto" to use the system locale, or "none".</summary>
/// <param name="lang">Language</param>
virtual public void SetFontLang(System.String lang) {
- Efl.ITextFontConcrete.NativeMethods.efl_text_font_lang_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),lang);
+ Efl.ITextFontConcrete.NativeMethods.efl_text_font_lang_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),lang);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The bitmap fonts have fixed size glyphs for several available sizes. Basically, it is not scalable. But, it needs to be scalable for some use cases. (ex. colorful emoji fonts)
/// Default is <see cref="Efl.TextFontBitmapScalable.None"/>.</summary>
/// <returns>Scalable</returns>
virtual public Efl.TextFontBitmapScalable GetFontBitmapScalable() {
- var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_bitmap_scalable_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_bitmap_scalable_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Default is <see cref="Efl.TextFontBitmapScalable.None"/>.</summary>
/// <param name="scalable">Scalable</param>
virtual public void SetFontBitmapScalable(Efl.TextFontBitmapScalable scalable) {
- Efl.ITextFontConcrete.NativeMethods.efl_text_font_bitmap_scalable_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),scalable);
+ Efl.ITextFontConcrete.NativeMethods.efl_text_font_bitmap_scalable_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),scalable);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Ellipsis value (number from -1.0 to 1.0)</summary>
/// <returns>Ellipsis value</returns>
virtual public double GetEllipsis() {
- var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_ellipsis_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_ellipsis_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Ellipsis value (number from -1.0 to 1.0)</summary>
/// <param name="value">Ellipsis value</param>
virtual public void SetEllipsis(double value) {
- Efl.ITextFormatConcrete.NativeMethods.efl_text_ellipsis_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),value);
+ Efl.ITextFormatConcrete.NativeMethods.efl_text_ellipsis_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),value);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Wrap mode for use in the text</summary>
/// <returns>Wrap mode</returns>
virtual public Efl.TextFormatWrap GetWrap() {
- var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_wrap_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_wrap_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Wrap mode for use in the text</summary>
/// <param name="wrap">Wrap mode</param>
virtual public void SetWrap(Efl.TextFormatWrap wrap) {
- Efl.ITextFormatConcrete.NativeMethods.efl_text_wrap_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),wrap);
+ Efl.ITextFormatConcrete.NativeMethods.efl_text_wrap_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),wrap);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Multiline is enabled or not</summary>
/// <returns><c>true</c> if multiline is enabled, <c>false</c> otherwise</returns>
virtual public bool GetMultiline() {
- var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_multiline_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_multiline_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Multiline is enabled or not</summary>
/// <param name="enabled"><c>true</c> if multiline is enabled, <c>false</c> otherwise</param>
virtual public void SetMultiline(bool enabled) {
- Efl.ITextFormatConcrete.NativeMethods.efl_text_multiline_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),enabled);
+ Efl.ITextFormatConcrete.NativeMethods.efl_text_multiline_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),enabled);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Horizontal alignment of text</summary>
/// <returns>Alignment type</returns>
virtual public Efl.TextFormatHorizontalAlignmentAutoType GetHalignAutoType() {
- var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_halign_auto_type_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_halign_auto_type_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Horizontal alignment of text</summary>
/// <param name="value">Alignment type</param>
virtual public void SetHalignAutoType(Efl.TextFormatHorizontalAlignmentAutoType value) {
- Efl.ITextFormatConcrete.NativeMethods.efl_text_halign_auto_type_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),value);
+ Efl.ITextFormatConcrete.NativeMethods.efl_text_halign_auto_type_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),value);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Horizontal alignment of text</summary>
/// <returns>Horizontal alignment value</returns>
virtual public double GetHalign() {
- var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_halign_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_halign_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Horizontal alignment of text</summary>
/// <param name="value">Horizontal alignment value</param>
virtual public void SetHalign(double value) {
- Efl.ITextFormatConcrete.NativeMethods.efl_text_halign_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),value);
+ Efl.ITextFormatConcrete.NativeMethods.efl_text_halign_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),value);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Vertical alignment of text</summary>
/// <returns>Vertical alignment value</returns>
virtual public double GetValign() {
- var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_valign_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_valign_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Vertical alignment of text</summary>
/// <param name="value">Vertical alignment value</param>
virtual public void SetValign(double value) {
- Efl.ITextFormatConcrete.NativeMethods.efl_text_valign_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),value);
+ Efl.ITextFormatConcrete.NativeMethods.efl_text_valign_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),value);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Minimal line gap (top and bottom) for each line in the text
/// <c>value</c> is absolute size.</summary>
/// <returns>Line gap value</returns>
virtual public double GetLinegap() {
- var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_linegap_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_linegap_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <c>value</c> is absolute size.</summary>
/// <param name="value">Line gap value</param>
virtual public void SetLinegap(double value) {
- Efl.ITextFormatConcrete.NativeMethods.efl_text_linegap_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),value);
+ Efl.ITextFormatConcrete.NativeMethods.efl_text_linegap_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),value);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Relative line gap (top and bottom) for each line in the text
/// The original line gap value is multiplied by <c>value</c>.</summary>
/// <returns>Relative line gap value</returns>
virtual public double GetLinerelgap() {
- var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_linerelgap_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_linerelgap_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// The original line gap value is multiplied by <c>value</c>.</summary>
/// <param name="value">Relative line gap value</param>
virtual public void SetLinerelgap(double value) {
- Efl.ITextFormatConcrete.NativeMethods.efl_text_linerelgap_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),value);
+ Efl.ITextFormatConcrete.NativeMethods.efl_text_linerelgap_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),value);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Tabstops value</summary>
/// <returns>Tapstops value</returns>
virtual public int GetTabstops() {
- var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_tabstops_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_tabstops_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Tabstops value</summary>
/// <param name="value">Tapstops value</param>
virtual public void SetTabstops(int value) {
- Efl.ITextFormatConcrete.NativeMethods.efl_text_tabstops_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),value);
+ Efl.ITextFormatConcrete.NativeMethods.efl_text_tabstops_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),value);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Whether text is a password</summary>
/// <returns><c>true</c> if the text is a password, <c>false</c> otherwise</returns>
virtual public bool GetPassword() {
- var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_password_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_password_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Whether text is a password</summary>
/// <param name="enabled"><c>true</c> if the text is a password, <c>false</c> otherwise</param>
virtual public void SetPassword(bool enabled) {
- Efl.ITextFormatConcrete.NativeMethods.efl_text_password_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),enabled);
+ Efl.ITextFormatConcrete.NativeMethods.efl_text_password_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),enabled);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The character used to replace characters that can't be displayed
/// Currently only used to replace characters if <see cref="Efl.ITextFormat.Password"/> is enabled.</summary>
/// <returns>Replacement character</returns>
virtual public System.String GetReplacementChar() {
- var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_replacement_char_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_replacement_char_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Currently only used to replace characters if <see cref="Efl.ITextFormat.Password"/> is enabled.</summary>
/// <param name="repch">Replacement character</param>
virtual public void SetReplacementChar(System.String repch) {
- Efl.ITextFormatConcrete.NativeMethods.efl_text_replacement_char_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),repch);
+ Efl.ITextFormatConcrete.NativeMethods.efl_text_replacement_char_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),repch);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Markup property</summary>
/// <returns>The markup-text representation set to this text.</returns>
virtual public System.String GetMarkup() {
- var _ret_var = Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Markup property</summary>
/// <param name="markup">The markup-text representation set to this text.</param>
virtual public void SetMarkup(System.String markup) {
- Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),markup);
+ Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),markup);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Markup of a given range in the text</summary>
/// <param name="end">End of markup region</param>
/// <returns>The markup-text representation set to this text of a given range</returns>
virtual public System.String GetMarkupRange(Efl.TextCursorCursor start, Efl.TextCursorCursor end) {
- var _ret_var = Efl.ITextMarkupInteractiveConcrete.NativeMethods.efl_text_markup_interactive_markup_range_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),start, end);
+ var _ret_var = Efl.ITextMarkupInteractiveConcrete.NativeMethods.efl_text_markup_interactive_markup_range_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),start, end);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="end">End of markup region</param>
/// <param name="markup">The markup-text representation set to this text of a given range</param>
virtual public void SetMarkupRange(Efl.TextCursorCursor start, Efl.TextCursorCursor end, System.String markup) {
- Efl.ITextMarkupInteractiveConcrete.NativeMethods.efl_text_markup_interactive_markup_range_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),start, end, markup);
+ Efl.ITextMarkupInteractiveConcrete.NativeMethods.efl_text_markup_interactive_markup_range_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),start, end, markup);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Inserts a markup text to the text object in a given cursor position</summary>
/// <param name="cur">Cursor position to insert markup</param>
/// <param name="markup">The markup text to insert</param>
virtual public void CursorMarkupInsert(Efl.TextCursorCursor cur, System.String markup) {
- Efl.ITextMarkupInteractiveConcrete.NativeMethods.efl_text_markup_interactive_cursor_markup_insert_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur, markup);
+ Efl.ITextMarkupInteractiveConcrete.NativeMethods.efl_text_markup_interactive_cursor_markup_insert_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur, markup);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of text, excluding style</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void GetNormalColor(out byte r, out byte g, out byte b, out byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_normal_color_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out r, out g, out b, out a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_normal_color_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out r, out g, out b, out a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of text, excluding style</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void SetNormalColor(byte r, byte g, byte b, byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_normal_color_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),r, g, b, a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_normal_color_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),r, g, b, a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Enable or disable backing type</summary>
/// <returns>Backing type</returns>
virtual public Efl.TextStyleBackingType GetBackingType() {
- var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_backing_type_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_backing_type_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Enable or disable backing type</summary>
/// <param name="type">Backing type</param>
virtual public void SetBackingType(Efl.TextStyleBackingType type) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_backing_type_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),type);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_backing_type_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),type);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Backing color</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void GetBackingColor(out byte r, out byte g, out byte b, out byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_backing_color_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out r, out g, out b, out a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_backing_color_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out r, out g, out b, out a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Backing color</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void SetBackingColor(byte r, byte g, byte b, byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_backing_color_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),r, g, b, a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_backing_color_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),r, g, b, a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Sets an underline style on the text</summary>
/// <returns>Underline type</returns>
virtual public Efl.TextStyleUnderlineType GetUnderlineType() {
- var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_type_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_type_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Sets an underline style on the text</summary>
/// <param name="type">Underline type</param>
virtual public void SetUnderlineType(Efl.TextStyleUnderlineType type) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_type_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),type);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_type_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),type);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of normal underline style</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void GetUnderlineColor(out byte r, out byte g, out byte b, out byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_color_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out r, out g, out b, out a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_color_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out r, out g, out b, out a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of normal underline style</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void SetUnderlineColor(byte r, byte g, byte b, byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_color_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),r, g, b, a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_color_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),r, g, b, a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Height of underline style</summary>
/// <returns>Height</returns>
virtual public double GetUnderlineHeight() {
- var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_height_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_height_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Height of underline style</summary>
/// <param name="height">Height</param>
virtual public void SetUnderlineHeight(double height) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_height_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),height);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_height_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),height);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of dashed underline style</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void GetUnderlineDashedColor(out byte r, out byte g, out byte b, out byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_dashed_color_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out r, out g, out b, out a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_dashed_color_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out r, out g, out b, out a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of dashed underline style</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void SetUnderlineDashedColor(byte r, byte g, byte b, byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_dashed_color_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),r, g, b, a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_dashed_color_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),r, g, b, a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Width of dashed underline style</summary>
/// <returns>Width</returns>
virtual public int GetUnderlineDashedWidth() {
- var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_dashed_width_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_dashed_width_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Width of dashed underline style</summary>
/// <param name="width">Width</param>
virtual public void SetUnderlineDashedWidth(int width) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_dashed_width_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),width);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_dashed_width_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),width);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gap of dashed underline style</summary>
/// <returns>Gap</returns>
virtual public int GetUnderlineDashedGap() {
- var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_dashed_gap_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_dashed_gap_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Gap of dashed underline style</summary>
/// <param name="gap">Gap</param>
virtual public void SetUnderlineDashedGap(int gap) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_dashed_gap_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),gap);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_dashed_gap_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),gap);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of underline2 style</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void GetUnderline2Color(out byte r, out byte g, out byte b, out byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_underline2_color_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out r, out g, out b, out a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_underline2_color_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out r, out g, out b, out a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of underline2 style</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void SetUnderline2Color(byte r, byte g, byte b, byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_underline2_color_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),r, g, b, a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_underline2_color_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),r, g, b, a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Type of strikethrough style</summary>
/// <returns>Strikethrough type</returns>
virtual public Efl.TextStyleStrikethroughType GetStrikethroughType() {
- var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_strikethrough_type_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_strikethrough_type_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Type of strikethrough style</summary>
/// <param name="type">Strikethrough type</param>
virtual public void SetStrikethroughType(Efl.TextStyleStrikethroughType type) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_strikethrough_type_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),type);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_strikethrough_type_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),type);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of strikethrough_style</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void GetStrikethroughColor(out byte r, out byte g, out byte b, out byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_strikethrough_color_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out r, out g, out b, out a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_strikethrough_color_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out r, out g, out b, out a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of strikethrough_style</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void SetStrikethroughColor(byte r, byte g, byte b, byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_strikethrough_color_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),r, g, b, a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_strikethrough_color_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),r, g, b, a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Type of effect used for the displayed text</summary>
/// <returns>Effect type</returns>
virtual public Efl.TextStyleEffectType GetEffectType() {
- var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_effect_type_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_effect_type_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Type of effect used for the displayed text</summary>
/// <param name="type">Effect type</param>
virtual public void SetEffectType(Efl.TextStyleEffectType type) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_effect_type_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),type);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_effect_type_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),type);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of outline effect</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void GetOutlineColor(out byte r, out byte g, out byte b, out byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_outline_color_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out r, out g, out b, out a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_outline_color_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out r, out g, out b, out a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of outline effect</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void SetOutlineColor(byte r, byte g, byte b, byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_outline_color_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),r, g, b, a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_outline_color_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),r, g, b, a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Direction of shadow effect</summary>
/// <returns>Shadow direction</returns>
virtual public Efl.TextStyleShadowDirection GetShadowDirection() {
- var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_shadow_direction_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_shadow_direction_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Direction of shadow effect</summary>
/// <param name="type">Shadow direction</param>
virtual public void SetShadowDirection(Efl.TextStyleShadowDirection type) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_shadow_direction_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),type);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_shadow_direction_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),type);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of shadow effect</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void GetShadowColor(out byte r, out byte g, out byte b, out byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_shadow_color_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out r, out g, out b, out a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_shadow_color_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out r, out g, out b, out a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of shadow effect</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void SetShadowColor(byte r, byte g, byte b, byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_shadow_color_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),r, g, b, a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_shadow_color_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),r, g, b, a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of glow effect</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void GetGlowColor(out byte r, out byte g, out byte b, out byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_glow_color_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out r, out g, out b, out a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_glow_color_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out r, out g, out b, out a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of glow effect</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void SetGlowColor(byte r, byte g, byte b, byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_glow_color_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),r, g, b, a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_glow_color_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),r, g, b, a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Second color of the glow effect</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void GetGlow2Color(out byte r, out byte g, out byte b, out byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_glow2_color_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out r, out g, out b, out a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_glow2_color_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out r, out g, out b, out a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Second color of the glow effect</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void SetGlow2Color(byte r, byte g, byte b, byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_glow2_color_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),r, g, b, a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_glow2_color_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),r, g, b, a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Program that applies a special filter
/// See <see cref="Efl.Gfx.IFilter"/>.</summary>
/// <returns>Filter code</returns>
virtual public System.String GetGfxFilter() {
- var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_gfx_filter_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_gfx_filter_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// See <see cref="Efl.Gfx.IFilter"/>.</summary>
/// <param name="code">Filter code</param>
virtual public void SetGfxFilter(System.String code) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_gfx_filter_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),code);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_gfx_filter_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),code);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Marks this filter as changed.</summary>
/// <param name="val"><c>true</c> if filter changed, <c>false</c> otherwise</param>
virtual public void SetFilterChanged(bool val) {
- Efl.Canvas.Filter.IInternalConcrete.NativeMethods.evas_filter_changed_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),val);
+ Efl.Canvas.Filter.IInternalConcrete.NativeMethods.evas_filter_changed_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),val);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Marks this filter as invalid.</summary>
/// <param name="val"><c>true</c> if filter is invalid, <c>false</c> otherwise</param>
virtual public void SetFilterInvalid(bool val) {
- Efl.Canvas.Filter.IInternalConcrete.NativeMethods.evas_filter_invalid_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),val);
+ Efl.Canvas.Filter.IInternalConcrete.NativeMethods.evas_filter_invalid_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),val);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Retrieve cached output buffer, if any.
/// Does not increment the reference count.</summary>
/// <returns>Output buffer</returns>
virtual public System.IntPtr GetFilterOutputBuffer() {
- var _ret_var = Efl.Canvas.Filter.IInternalConcrete.NativeMethods.evas_filter_output_buffer_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Filter.IInternalConcrete.NativeMethods.evas_filter_output_buffer_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Called by Efl.Canvas.Filter.Internal to determine whether the input is alpha or rgba.</summary>
/// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
virtual public bool FilterInputAlpha() {
- var _ret_var = Efl.Canvas.Filter.IInternalConcrete.NativeMethods.evas_filter_input_alpha_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Filter.IInternalConcrete.NativeMethods.evas_filter_input_alpha_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="data">Private data for the class</param>
virtual public void FilterStatePrepare(out Efl.Canvas.Filter.State state, System.IntPtr data) {
var _out_state = new Efl.Canvas.Filter.State.NativeStruct();
- Efl.Canvas.Filter.IInternalConcrete.NativeMethods.evas_filter_state_prepare_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out _out_state, data);
+ Efl.Canvas.Filter.IInternalConcrete.NativeMethods.evas_filter_state_prepare_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out _out_state, data);
Eina.Error.RaiseIfUnhandledException();
state = _out_state;
}
/// <param name="do_async"><c>true</c> when the operation should be done asynchronously, <c>false</c> otherwise</param>
/// <returns>Indicates success from the object render function.</returns>
virtual public bool FilterInputRender(System.IntPtr filter, System.IntPtr engine, System.IntPtr output, System.IntPtr drawctx, System.IntPtr data, int l, int r, int t, int b, int x, int y, bool do_async) {
- var _ret_var = Efl.Canvas.Filter.IInternalConcrete.NativeMethods.evas_filter_input_render_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),filter, engine, output, drawctx, data, l, r, t, b, x, y, do_async);
+ var _ret_var = Efl.Canvas.Filter.IInternalConcrete.NativeMethods.evas_filter_input_render_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),filter, engine, output, drawctx, data, l, r, t, b, x, y, do_async);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Called when filter changes must trigger a redraw of the object.
/// Virtual, to be implemented in the parent class.</summary>
virtual public void FilterDirty() {
- Efl.Canvas.Filter.IInternalConcrete.NativeMethods.evas_filter_dirty_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Canvas.Filter.IInternalConcrete.NativeMethods.evas_filter_dirty_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gets the code of the filter program set on this object. May be <c>null</c>.</summary>
/// <param name="code">The Lua program source code.</param>
/// <param name="name">An optional name for this filter.</param>
virtual public void GetFilterProgram(out System.String code, out System.String name) {
- Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_program_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out code, out name);
+ Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_program_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out code, out name);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set a graphical filter program on this object.
/// <param name="code">The Lua program source code.</param>
/// <param name="name">An optional name for this filter.</param>
virtual public void SetFilterProgram(System.String code, System.String name) {
- Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_program_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),code, name);
+ Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_program_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),code, name);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the current state of the filter.
/// <param name="next_val">Next value, optional</param>
/// <param name="pos">Position, optional</param>
virtual public void GetFilterState(out System.String cur_state, out double cur_val, out System.String next_state, out double next_val, out double pos) {
- Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_state_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out cur_state, out cur_val, out next_state, out next_val, out pos);
+ Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_state_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out cur_state, out cur_val, out next_state, out next_val, out pos);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the current state of the filter.
/// <param name="next_val">Next value, optional</param>
/// <param name="pos">Position, optional</param>
virtual public void SetFilterState(System.String cur_state, double cur_val, System.String next_state, double next_val, double pos) {
- Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_state_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur_state, cur_val, next_state, next_val, pos);
+ Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_state_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur_state, cur_val, next_state, next_val, pos);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gets the padding required to apply this filter.</summary>
/// <param name="t">Padding on the top</param>
/// <param name="b">Padding on the bottom</param>
virtual public void GetFilterPadding(out int l, out int r, out int t, out int b) {
- Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_padding_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out l, out r, out t, out b);
+ Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_padding_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out l, out r, out t, out b);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Bind an object to use as a mask or texture in a filter program.
/// <param name="name">Buffer name as used in the program.</param>
/// <returns>Object to use as a source of pixels.</returns>
virtual public Efl.Gfx.IEntity GetFilterSource(System.String name) {
- var _ret_var = Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_source_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),name);
+ var _ret_var = Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_source_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),name);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="name">Buffer name as used in the program.</param>
/// <param name="source">Object to use as a source of pixels.</param>
virtual public void SetFilterSource(System.String name, Efl.Gfx.IEntity source) {
- Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_source_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),name, source);
+ Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_source_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),name, source);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Extra data used by the filter program.
/// <param name="value">String value to use as data</param>
/// <param name="execute">If <c>true</c>, execute 'name = value'</param>
virtual public void GetFilterData(System.String name, out System.String value, out bool execute) {
- Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_data_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),name, out value, out execute);
+ Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_data_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),name, out value, out execute);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Extra data used by the filter program.
/// <param name="value">String value to use as data</param>
/// <param name="execute">If <c>true</c>, execute 'name = value'</param>
virtual public void SetFilterData(System.String name, System.String value, bool execute) {
- Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_data_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),name, value, execute);
+ Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_data_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),name, value, execute);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Async wrapper for <see cref="AsyncLayout" />.</summary>
/// <summary>EFL text style data structure</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct TextStyle
{
///<summary>Placeholder field</summary>
/// <summary>Object factory that creates Efl.Canvas.Object objects.
/// Translates a given key to an object (item), to be later placed in a text for higher level usages. The translation implementation is left to be decided by the inheriting class, whether it is by treating the <c>key</c> as an image path, or a key associated with a real-path in a hashtable or something else entirely.</summary>
[Efl.Canvas.ITextFactoryConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface ITextFactory :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private ITextFactoryConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport(efl.Libs.Evas)] internal static extern System.IntPtr
efl_canvas_text_factory_interface_get();
/// <summary>Initializes a new instance of the <see cref="ITextFactory"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private ITextFactoryConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private ITextFactoryConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Evas);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Efl vector graphics container class</summary>
[Efl.Canvas.Vg.Container.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Container : Efl.Canvas.Vg.Node
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="Container"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public Container(Efl.Object parent= null
- ) : base(efl_canvas_vg_container_class_get(), typeof(Container), parent)
+ ) : base(efl_canvas_vg_container_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Container(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Container"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Container(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Container(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Container"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Container(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Container(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <param name="name">Child node name</param>
/// <returns>Child object</returns>
virtual public Efl.Canvas.Vg.Node GetChild(System.String name) {
- var _ret_var = Efl.Canvas.Vg.Container.NativeMethods.efl_canvas_vg_container_child_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),name);
+ var _ret_var = Efl.Canvas.Vg.Container.NativeMethods.efl_canvas_vg_container_child_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),name);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Get all children of container</summary>
/// <returns>Iterator to children</returns>
virtual public Eina.Iterator<Efl.Canvas.Vg.Node> GetChildren() {
- var _ret_var = Efl.Canvas.Vg.Container.NativeMethods.efl_canvas_vg_container_children_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Vg.Container.NativeMethods.efl_canvas_vg_container_children_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Canvas.Vg.Node>(_ret_var, true, false);
+ return new Eina.Iterator<Efl.Canvas.Vg.Node>(_ret_var, true);
}
private static IntPtr GetEflClassStatic()
{
/// <summary>Efl vectopr graphics gradient abstract class</summary>
[Efl.Canvas.Vg.Gradient.NativeMethods]
+[Efl.Eo.BindingEntity]
public abstract class Gradient : Efl.Canvas.Vg.Node, Efl.Gfx.IGradient
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="Gradient"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public Gradient(Efl.Object parent= null
- ) : base(efl_canvas_vg_gradient_class_get(), typeof(Gradient), parent)
+ ) : base(efl_canvas_vg_gradient_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Gradient(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Gradient"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Gradient(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Gradient(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
[Efl.Eo.PrivateNativeClass]
private class GradientRealized : Gradient
{
- private GradientRealized(IntPtr ptr) : base(ptr)
+ private GradientRealized(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Initializes a new instance of the <see cref="Gradient"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Gradient(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Gradient(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <param name="length">Length of the list</param>
virtual public void GetStop(out Efl.Gfx.GradientStop colors, out uint length) {
var _out_colors = new System.IntPtr();
- Efl.Gfx.IGradientConcrete.NativeMethods.efl_gfx_gradient_stop_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out _out_colors, out length);
+ Efl.Gfx.IGradientConcrete.NativeMethods.efl_gfx_gradient_stop_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out _out_colors, out length);
Eina.Error.RaiseIfUnhandledException();
colors = Eina.PrimitiveConversion.PointerToManaged<Efl.Gfx.GradientStop>(_out_colors);
}
/// <param name="length">Length of the list</param>
virtual public void SetStop(ref Efl.Gfx.GradientStop colors, uint length) {
Efl.Gfx.GradientStop.NativeStruct _in_colors = colors;
- Efl.Gfx.IGradientConcrete.NativeMethods.efl_gfx_gradient_stop_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),ref _in_colors, length);
+ Efl.Gfx.IGradientConcrete.NativeMethods.efl_gfx_gradient_stop_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),ref _in_colors, length);
Eina.Error.RaiseIfUnhandledException();
colors = _in_colors;
}
/// <summary>Returns the spread method use by this gradient. The default is EFL_GFX_GRADIENT_SPREAD_PAD.</summary>
/// <returns>Spread type to be used</returns>
virtual public Efl.Gfx.GradientSpread GetSpread() {
- var _ret_var = Efl.Gfx.IGradientConcrete.NativeMethods.efl_gfx_gradient_spread_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IGradientConcrete.NativeMethods.efl_gfx_gradient_spread_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Specifies the spread method that should be used for this gradient.</summary>
/// <param name="s">Spread type to be used</param>
virtual public void SetSpread(Efl.Gfx.GradientSpread s) {
- Efl.Gfx.IGradientConcrete.NativeMethods.efl_gfx_gradient_spread_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),s);
+ Efl.Gfx.IGradientConcrete.NativeMethods.efl_gfx_gradient_spread_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),s);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Returns the spread method use by this gradient. The default is EFL_GFX_GRADIENT_SPREAD_PAD.</summary>
/// <summary>Efl vector graphics gradient linear class</summary>
[Efl.Canvas.Vg.GradientLinear.NativeMethods]
+[Efl.Eo.BindingEntity]
public class GradientLinear : Efl.Canvas.Vg.Gradient, Efl.Gfx.IGradientLinear
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="GradientLinear"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public GradientLinear(Efl.Object parent= null
- ) : base(efl_canvas_vg_gradient_linear_class_get(), typeof(GradientLinear), parent)
+ ) : base(efl_canvas_vg_gradient_linear_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected GradientLinear(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="GradientLinear"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected GradientLinear(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected GradientLinear(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="GradientLinear"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected GradientLinear(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected GradientLinear(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <param name="x">X co-ordinate of start point</param>
/// <param name="y">Y co-ordinate of start point</param>
virtual public void GetStart(out double x, out double y) {
- Efl.Gfx.IGradientLinearConcrete.NativeMethods.efl_gfx_gradient_linear_start_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out x, out y);
+ Efl.Gfx.IGradientLinearConcrete.NativeMethods.efl_gfx_gradient_linear_start_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out x, out y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Sets the start point of this linear gradient.</summary>
/// <param name="x">X co-ordinate of start point</param>
/// <param name="y">Y co-ordinate of start point</param>
virtual public void SetStart(double x, double y) {
- Efl.Gfx.IGradientLinearConcrete.NativeMethods.efl_gfx_gradient_linear_start_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),x, y);
+ Efl.Gfx.IGradientLinearConcrete.NativeMethods.efl_gfx_gradient_linear_start_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gets the end point of this linear gradient.</summary>
/// <param name="x">X co-ordinate of end point</param>
/// <param name="y">Y co-ordinate of end point</param>
virtual public void GetEnd(out double x, out double y) {
- Efl.Gfx.IGradientLinearConcrete.NativeMethods.efl_gfx_gradient_linear_end_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out x, out y);
+ Efl.Gfx.IGradientLinearConcrete.NativeMethods.efl_gfx_gradient_linear_end_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out x, out y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Sets the end point of this linear gradient.</summary>
/// <param name="x">X co-ordinate of end point</param>
/// <param name="y">Y co-ordinate of end point</param>
virtual public void SetEnd(double x, double y) {
- Efl.Gfx.IGradientLinearConcrete.NativeMethods.efl_gfx_gradient_linear_end_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),x, y);
+ Efl.Gfx.IGradientLinearConcrete.NativeMethods.efl_gfx_gradient_linear_end_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y);
Eina.Error.RaiseIfUnhandledException();
}
private static IntPtr GetEflClassStatic()
/// <summary>Efl vector graphics gradient radial class</summary>
[Efl.Canvas.Vg.GradientRadial.NativeMethods]
+[Efl.Eo.BindingEntity]
public class GradientRadial : Efl.Canvas.Vg.Gradient, Efl.Gfx.IGradientRadial
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="GradientRadial"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public GradientRadial(Efl.Object parent= null
- ) : base(efl_canvas_vg_gradient_radial_class_get(), typeof(GradientRadial), parent)
+ ) : base(efl_canvas_vg_gradient_radial_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected GradientRadial(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="GradientRadial"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected GradientRadial(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected GradientRadial(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="GradientRadial"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected GradientRadial(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected GradientRadial(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <param name="x">X co-ordinate of center point</param>
/// <param name="y">Y co-ordinate of center point</param>
virtual public void GetCenter(out double x, out double y) {
- Efl.Gfx.IGradientRadialConcrete.NativeMethods.efl_gfx_gradient_radial_center_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out x, out y);
+ Efl.Gfx.IGradientRadialConcrete.NativeMethods.efl_gfx_gradient_radial_center_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out x, out y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Sets the center of this radial gradient.</summary>
/// <param name="x">X co-ordinate of center point</param>
/// <param name="y">Y co-ordinate of center point</param>
virtual public void SetCenter(double x, double y) {
- Efl.Gfx.IGradientRadialConcrete.NativeMethods.efl_gfx_gradient_radial_center_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),x, y);
+ Efl.Gfx.IGradientRadialConcrete.NativeMethods.efl_gfx_gradient_radial_center_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gets the center radius of this radial gradient.</summary>
/// <returns>Center radius</returns>
virtual public double GetRadius() {
- var _ret_var = Efl.Gfx.IGradientRadialConcrete.NativeMethods.efl_gfx_gradient_radial_radius_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IGradientRadialConcrete.NativeMethods.efl_gfx_gradient_radial_radius_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Sets the center radius of this radial gradient.</summary>
/// <param name="r">Center radius</param>
virtual public void SetRadius(double r) {
- Efl.Gfx.IGradientRadialConcrete.NativeMethods.efl_gfx_gradient_radial_radius_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),r);
+ Efl.Gfx.IGradientRadialConcrete.NativeMethods.efl_gfx_gradient_radial_radius_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),r);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gets the focal point of this radial gradient.</summary>
/// <param name="x">X co-ordinate of focal point</param>
/// <param name="y">Y co-ordinate of focal point</param>
virtual public void GetFocal(out double x, out double y) {
- Efl.Gfx.IGradientRadialConcrete.NativeMethods.efl_gfx_gradient_radial_focal_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out x, out y);
+ Efl.Gfx.IGradientRadialConcrete.NativeMethods.efl_gfx_gradient_radial_focal_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out x, out y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Sets the focal point of this radial gradient.</summary>
/// <param name="x">X co-ordinate of focal point</param>
/// <param name="y">Y co-ordinate of focal point</param>
virtual public void SetFocal(double x, double y) {
- Efl.Gfx.IGradientRadialConcrete.NativeMethods.efl_gfx_gradient_radial_focal_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),x, y);
+ Efl.Gfx.IGradientRadialConcrete.NativeMethods.efl_gfx_gradient_radial_focal_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gets the center radius of this radial gradient.</summary>
/// <summary>Efl vector graphics abstract class</summary>
[Efl.Canvas.Vg.Node.NativeMethods]
+[Efl.Eo.BindingEntity]
public abstract class Node : Efl.Object, Efl.IDuplicate, Efl.Gfx.IColor, Efl.Gfx.IEntity, Efl.Gfx.IPath, Efl.Gfx.IStack
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="Node"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public Node(Efl.Object parent= null
- ) : base(efl_canvas_vg_node_class_get(), typeof(Node), parent)
+ ) : base(efl_canvas_vg_node_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Node(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Node"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Node(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Node(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
[Efl.Eo.PrivateNativeClass]
private class NodeRealized : Node
{
- private NodeRealized(IntPtr ptr) : base(ptr)
+ private NodeRealized(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Initializes a new instance of the <see cref="Node"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Node(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Node(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_ENTITY_EVENT_VISIBILITY_CHANGED";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_ENTITY_EVENT_POSITION_CHANGED";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_ENTITY_EVENT_SIZE_CHANGED";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_ENTITY_EVENT_STACKING_CHANGED";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
/// <summary>Gets the transformation matrix used for this node object.</summary>
/// <returns>Transformation matrix.</returns>
virtual public Eina.Matrix3 GetTransformation() {
- var _ret_var = Efl.Canvas.Vg.Node.NativeMethods.efl_canvas_vg_node_transformation_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Vg.Node.NativeMethods.efl_canvas_vg_node_transformation_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
var __ret_tmp = Eina.PrimitiveConversion.PointerToManaged<Eina.Matrix3>(_ret_var);
/// <param name="m">Transformation matrix.</param>
virtual public void SetTransformation(ref Eina.Matrix3 m) {
Eina.Matrix3.NativeStruct _in_m = m;
- Efl.Canvas.Vg.Node.NativeMethods.efl_canvas_vg_node_transformation_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),ref _in_m);
+ Efl.Canvas.Vg.Node.NativeMethods.efl_canvas_vg_node_transformation_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),ref _in_m);
Eina.Error.RaiseIfUnhandledException();
m = _in_m;
}
/// <param name="x"><c>origin</c> x position.</param>
/// <param name="y"><c>origin</c> y position.</param>
virtual public void GetOrigin(out double x, out double y) {
- Efl.Canvas.Vg.Node.NativeMethods.efl_canvas_vg_node_origin_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out x, out y);
+ Efl.Canvas.Vg.Node.NativeMethods.efl_canvas_vg_node_origin_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out x, out y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Sets the origin position of the node object.
/// <param name="x"><c>origin</c> x position.</param>
/// <param name="y"><c>origin</c> y position.</param>
virtual public void SetOrigin(double x, double y) {
- Efl.Canvas.Vg.Node.NativeMethods.efl_canvas_vg_node_origin_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),x, y);
+ Efl.Canvas.Vg.Node.NativeMethods.efl_canvas_vg_node_origin_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set Mask Node to this renderer</summary>
/// <param name="mask">Mask object</param>
/// <param name="op">Masking Option. Reserved</param>
virtual public void SetMask(Efl.Canvas.Vg.Node mask, int op) {
- Efl.Canvas.Vg.Node.NativeMethods.efl_canvas_vg_node_mask_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),mask, op);
+ Efl.Canvas.Vg.Node.NativeMethods.efl_canvas_vg_node_mask_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),mask, op);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Creates a carbon copy of this object and returns it.
/// The newly created object will have no event handlers or anything of the sort.</summary>
/// <returns>Returned carbon copy</returns>
virtual public Efl.IDuplicate Duplicate() {
- var _ret_var = Efl.IDuplicateConcrete.NativeMethods.efl_duplicate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IDuplicateConcrete.NativeMethods.efl_duplicate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Use null pointers on the components you're not interested in: they'll be ignored by the function.
/// (Since EFL 1.22)</summary>
virtual public void GetColor(out int r, out int g, out int b, out int a) {
- Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out r, out g, out b, out a);
+ Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out r, out g, out b, out a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Sets the general/main color of the given Evas object to the given one.
/// These color values are expected to be premultiplied by alpha.
/// (Since EFL 1.22)</summary>
virtual public void SetColor(int r, int g, int b, int a) {
- Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),r, g, b, a);
+ Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),r, g, b, a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get hex color code of given Evas object. This returns a short lived hex color code string.
/// (Since EFL 1.22)</summary>
/// <returns>the hex color code.</returns>
virtual public System.String GetColorCode() {
- var _ret_var = Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_code_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_code_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="colorcode">the hex color code.</param>
virtual public void SetColorCode(System.String colorcode) {
- Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_code_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),colorcode);
+ Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_code_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),colorcode);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Retrieves the position of the given canvas object.
/// (Since EFL 1.22)</summary>
/// <returns>A 2D coordinate in pixel units.</returns>
virtual public Eina.Position2D GetPosition() {
- var _ret_var = Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_position_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_position_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="pos">A 2D coordinate in pixel units.</param>
virtual public void SetPosition(Eina.Position2D pos) {
Eina.Position2D.NativeStruct _in_pos = pos;
- Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_position_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_pos);
+ Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_position_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_pos);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Retrieves the (rectangular) size of the given Evas object.
/// (Since EFL 1.22)</summary>
/// <returns>A 2D size in pixel units.</returns>
virtual public Eina.Size2D GetSize() {
- var _ret_var = Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="size">A 2D size in pixel units.</param>
virtual public void SetSize(Eina.Size2D size) {
Eina.Size2D.NativeStruct _in_size = size;
- Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_size_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_size);
+ Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_size_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_size);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Rectangular geometry that combines both position and size.
/// (Since EFL 1.22)</summary>
/// <returns>The X,Y position and W,H size, in pixels.</returns>
virtual public Eina.Rect GetGeometry() {
- var _ret_var = Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_geometry_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_geometry_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="rect">The X,Y position and W,H size, in pixels.</param>
virtual public void SetGeometry(Eina.Rect rect) {
Eina.Rect.NativeStruct _in_rect = rect;
- Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_geometry_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_rect);
+ Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_geometry_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_rect);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Retrieves whether or not the given canvas object is visible.
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if to make the object visible, <c>false</c> otherwise</returns>
virtual public bool GetVisible() {
- var _ret_var = Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_visible_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_visible_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="v"><c>true</c> if to make the object visible, <c>false</c> otherwise</param>
virtual public void SetVisible(bool v) {
- Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_visible_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),v);
+ Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_visible_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),v);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gets an object's scaling factor.
/// (Since EFL 1.22)</summary>
/// <returns>The scaling factor (the default value is 0.0, meaning individual scaling is not set)</returns>
virtual public double GetScale() {
- var _ret_var = Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_scale_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_scale_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="scale">The scaling factor (the default value is 0.0, meaning individual scaling is not set)</param>
virtual public void SetScale(double scale) {
- Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_scale_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),scale);
+ Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_scale_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),scale);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the list of commands and points to be used to create the content of path.</summary>
virtual public void GetPath(out Efl.Gfx.PathCommandType op, out double points) {
System.IntPtr _out_op = System.IntPtr.Zero;
System.IntPtr _out_points = System.IntPtr.Zero;
- Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out _out_op, out _out_points);
+ Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out _out_op, out _out_points);
Eina.Error.RaiseIfUnhandledException();
op = Eina.PrimitiveConversion.PointerToManaged<Efl.Gfx.PathCommandType>(_out_op);
points = Eina.PrimitiveConversion.PointerToManaged<double>(_out_points);
virtual public void SetPath(Efl.Gfx.PathCommandType op, double points) {
var _in_op = Eina.PrimitiveConversion.ManagedToPointerAlloc(op);
var _in_points = Eina.PrimitiveConversion.ManagedToPointerAlloc(points);
- Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_op, _in_points);
+ Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_op, _in_points);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Path length property</summary>
/// <param name="commands">Commands</param>
/// <param name="points">Points</param>
virtual public void GetLength(out uint commands, out uint points) {
- Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_length_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out commands, out points);
+ Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_length_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out commands, out points);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Current point coordinates</summary>
/// <param name="x">X co-ordinate of the current point.</param>
/// <param name="y">Y co-ordinate of the current point.</param>
virtual public void GetCurrent(out double x, out double y) {
- Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_current_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out x, out y);
+ Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_current_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out x, out y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Current control point coordinates</summary>
/// <param name="x">X co-ordinate of control point.</param>
/// <param name="y">Y co-ordinate of control point.</param>
virtual public void GetCurrentCtrl(out double x, out double y) {
- Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_current_ctrl_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out x, out y);
+ Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_current_ctrl_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out x, out y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Copy the path data from the object specified.</summary>
/// <param name="dup_from">Shape object from where data will be copied.</param>
virtual public void CopyFrom(Efl.Object dup_from) {
- Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_copy_from_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dup_from);
+ Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_copy_from_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dup_from);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Compute and return the bounding box of the currently set path</summary>
/// <param name="r">Contain the bounding box of the currently set path</param>
virtual public void GetBounds(out Eina.Rect r) {
var _out_r = new Eina.Rect.NativeStruct();
- Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_bounds_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out _out_r);
+ Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_bounds_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out _out_r);
Eina.Error.RaiseIfUnhandledException();
r = _out_r;
}
/// <summary>Reset the path data of the path object.</summary>
virtual public void Reset() {
- Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_reset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_reset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Moves the current point to the given point, implicitly starting a new subpath and closing the previous one.
/// <param name="x">X co-ordinate of the current point.</param>
/// <param name="y">Y co-ordinate of the current point.</param>
virtual public void AppendMoveTo(double x, double y) {
- Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_move_to_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),x, y);
+ Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_move_to_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Adds a straight line from the current position to the given end point. After the line is drawn, the current position is updated to be at the end point of the line.
/// <param name="x">X co-ordinate of end point of the line.</param>
/// <param name="y">Y co-ordinate of end point of the line.</param>
virtual public void AppendLineTo(double x, double y) {
- Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_line_to_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),x, y);
+ Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_line_to_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Adds a quadratic Bezier curve between the current position and the given end point (x,y) using the control points specified by (ctrl_x, ctrl_y). After the path is drawn, the current position is updated to be at the end point of the path.</summary>
/// <param name="ctrl_x">X co-ordinate of control point.</param>
/// <param name="ctrl_y">Y co-ordinate of control point.</param>
virtual public void AppendQuadraticTo(double x, double y, double ctrl_x, double ctrl_y) {
- Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_quadratic_to_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),x, y, ctrl_x, ctrl_y);
+ Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_quadratic_to_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y, ctrl_x, ctrl_y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Same as efl_gfx_path_append_quadratic_to() api only difference is that it uses the current control point to draw the bezier.
/// <param name="x">X co-ordinate of end point of the line.</param>
/// <param name="y">Y co-ordinate of end point of the line.</param>
virtual public void AppendSquadraticTo(double x, double y) {
- Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_squadratic_to_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),x, y);
+ Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_squadratic_to_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Adds a cubic Bezier curve between the current position and the given end point (x,y) using the control points specified by (ctrl_x0, ctrl_y0), and (ctrl_x1, ctrl_y1). After the path is drawn, the current position is updated to be at the end point of the path.</summary>
/// <param name="x">X co-ordinate of end point of the line.</param>
/// <param name="y">Y co-ordinate of end point of the line.</param>
virtual public void AppendCubicTo(double ctrl_x0, double ctrl_y0, double ctrl_x1, double ctrl_y1, double x, double y) {
- Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_cubic_to_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),ctrl_x0, ctrl_y0, ctrl_x1, ctrl_y1, x, y);
+ Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_cubic_to_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),ctrl_x0, ctrl_y0, ctrl_x1, ctrl_y1, x, y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Same as efl_gfx_path_append_cubic_to() api only difference is that it uses the current control point to draw the bezier.
/// <param name="ctrl_x">X co-ordinate of 2nd control point.</param>
/// <param name="ctrl_y">Y co-ordinate of 2nd control point.</param>
virtual public void AppendScubicTo(double x, double y, double ctrl_x, double ctrl_y) {
- Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_scubic_to_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),x, y, ctrl_x, ctrl_y);
+ Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_scubic_to_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y, ctrl_x, ctrl_y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Append an arc that connects from the current point int the point list to the given point (x,y). The arc is defined by the given radius in x-direction (rx) and radius in y direction (ry).
/// <param name="large_arc">Defines whether to draw the larger arc or smaller arc joining two point.</param>
/// <param name="sweep">Defines whether the arc will be drawn counter-clockwise or clockwise from current point to the end point taking into account the large_arc property.</param>
virtual public void AppendArcTo(double x, double y, double rx, double ry, double angle, bool large_arc, bool sweep) {
- Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_arc_to_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),x, y, rx, ry, angle, large_arc, sweep);
+ Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_arc_to_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y, rx, ry, angle, large_arc, sweep);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Append an arc that enclosed in the given rectangle (x, y, w, h). The angle is defined in counter clock wise , use -ve angle for clockwise arc.</summary>
/// <param name="start_angle">Angle at which the arc will start</param>
/// <param name="sweep_length">@ Length of the arc.</param>
virtual public void AppendArc(double x, double y, double w, double h, double start_angle, double sweep_length) {
- Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_arc_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),x, y, w, h, start_angle, sweep_length);
+ Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_arc_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y, w, h, start_angle, sweep_length);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Closes the current subpath by drawing a line to the beginning of the subpath, automatically starting a new path. The current point of the new path is (0, 0).
/// If the subpath does not contain any points, this function does nothing.</summary>
virtual public void CloseAppend() {
- Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_close_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_close_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Append a circle with given center and radius.</summary>
/// <param name="y">Y co-ordinate of the center of the circle.</param>
/// <param name="radius">Radius of the circle.</param>
virtual public void AppendCircle(double x, double y, double radius) {
- Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_circle_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),x, y, radius);
+ Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_circle_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y, radius);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Append the given rectangle with rounded corner to the path.
/// <param name="rx">The x radius of the rounded corner and should be in range [ 0 to w/2 ]</param>
/// <param name="ry">The y radius of the rounded corner and should be in range [ 0 to h/2 ]</param>
virtual public void AppendRect(double x, double y, double w, double h, double rx, double ry) {
- Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_rect_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),x, y, w, h, rx, ry);
+ Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_rect_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y, w, h, rx, ry);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Append SVG path data</summary>
/// <param name="svg_path_data">SVG path data to append</param>
virtual public void AppendSvgPath(System.String svg_path_data) {
- Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_svg_path_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),svg_path_data);
+ Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_svg_path_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),svg_path_data);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Creates intermediary path part-way between two paths
/// <param name="pos_map">Position map in range 0.0 to 1.0</param>
/// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
virtual public bool Interpolate(Efl.Object from, Efl.Object to, double pos_map) {
- var _ret_var = Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_interpolate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),from, to, pos_map);
+ var _ret_var = Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_interpolate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),from, to, pos_map);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="with">Object</param>
/// <returns>True on success, <c>false</c> otherwise</returns>
virtual public bool EqualCommands(Efl.Object with) {
- var _ret_var = Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_equal_commands_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),with);
+ var _ret_var = Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_equal_commands_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),with);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="cmd_count">Commands count to reserve</param>
/// <param name="pts_count">Pointers count to reserve</param>
virtual public void Reserve(uint cmd_count, uint pts_count) {
- Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_reserve_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cmd_count, pts_count);
+ Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_reserve_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cmd_count, pts_count);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Request to update the path object.
/// One path object may get appending several path calls (such as append_cubic, append_rect, etc) to construct the final path data. Here commit means all path data is prepared and now object could update its own internal status based on the last path information.</summary>
virtual public void Commit() {
- Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_commit_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_commit_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Retrieves the layer of its canvas that the given object is part of.
/// (Since EFL 1.22)</summary>
/// <returns>The number of the layer to place the object on. Must be between <see cref="Efl.Gfx.Constants.StackLayerMin"/> and <see cref="Efl.Gfx.Constants.StackLayerMax"/>.</returns>
virtual public short GetLayer() {
- var _ret_var = Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_layer_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_layer_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="l">The number of the layer to place the object on. Must be between <see cref="Efl.Gfx.Constants.StackLayerMin"/> and <see cref="Efl.Gfx.Constants.StackLayerMax"/>.</param>
virtual public void SetLayer(short l) {
- Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_layer_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),l);
+ Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_layer_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),l);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the Evas object stacked right below <c>obj</c>
/// (Since EFL 1.22)</summary>
/// <returns>The <see cref="Efl.Gfx.IStack"/> object directly below <c>obj</c>, if any, or <c>null</c>, if none.</returns>
virtual public Efl.Gfx.IStack GetBelow() {
- var _ret_var = Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_below_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_below_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The <see cref="Efl.Gfx.IStack"/> object directly below <c>obj</c>, if any, or <c>null</c>, if none.</returns>
virtual public Efl.Gfx.IStack GetAbove() {
- var _ret_var = Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_above_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_above_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="below">The object below which to stack</param>
virtual public void StackBelow(Efl.Gfx.IStack below) {
- Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_below_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),below);
+ Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_below_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),below);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Raise <c>obj</c> to the top of its layer.
/// See also <see cref="Efl.Gfx.IStack.StackAbove"/>, <see cref="Efl.Gfx.IStack.StackBelow"/> and <see cref="Efl.Gfx.IStack.LowerToBottom"/>
/// (Since EFL 1.22)</summary>
virtual public void RaiseToTop() {
- Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_raise_to_top_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_raise_to_top_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Stack <c>obj</c> immediately <c>above</c>
/// (Since EFL 1.22)</summary>
/// <param name="above">The object above which to stack</param>
virtual public void StackAbove(Efl.Gfx.IStack above) {
- Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_above_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),above);
+ Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_above_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),above);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Lower <c>obj</c> to the bottom of its layer.
/// See also <see cref="Efl.Gfx.IStack.StackAbove"/>, <see cref="Efl.Gfx.IStack.StackBelow"/> and <see cref="Efl.Gfx.IStack.RaiseToTop"/>
/// (Since EFL 1.22)</summary>
virtual public void LowerToBottom() {
- Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_lower_to_bottom_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_lower_to_bottom_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gets the transformation matrix used for this node object.</summary>
/// <summary>Efl vector graphics class</summary>
[Efl.Canvas.Vg.Object.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Object : Efl.Canvas.Object, Efl.IFile, Efl.IFileSave, Efl.Gfx.IFrameController
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="Object"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public Object(Efl.Object parent= null
- ) : base(efl_canvas_vg_object_class_get(), typeof(Object), parent)
+ ) : base(efl_canvas_vg_object_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Object(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Object"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Object(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Object(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Object"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Object(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Object(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>Control how the viewbox is mapped to the vg canvas's viewport.</summary>
/// <returns>Fill mode type</returns>
virtual public Efl.Canvas.Vg.FillMode GetFillMode() {
- var _ret_var = Efl.Canvas.Vg.Object.NativeMethods.efl_canvas_vg_object_fill_mode_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Vg.Object.NativeMethods.efl_canvas_vg_object_fill_mode_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Control how the viewbox is mapped to the vg canvas's viewport.</summary>
/// <param name="fill_mode">Fill mode type</param>
virtual public void SetFillMode(Efl.Canvas.Vg.FillMode fill_mode) {
- Efl.Canvas.Vg.Object.NativeMethods.efl_canvas_vg_object_fill_mode_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),fill_mode);
+ Efl.Canvas.Vg.Object.NativeMethods.efl_canvas_vg_object_fill_mode_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),fill_mode);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the current viewbox from the evas_object_vg</summary>
/// <returns>viewbox for the vg canvas</returns>
virtual public Eina.Rect GetViewbox() {
- var _ret_var = Efl.Canvas.Vg.Object.NativeMethods.efl_canvas_vg_object_viewbox_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Vg.Object.NativeMethods.efl_canvas_vg_object_viewbox_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="viewbox">viewbox for the vg canvas</param>
virtual public void SetViewbox(Eina.Rect viewbox) {
Eina.Rect.NativeStruct _in_viewbox = viewbox;
- Efl.Canvas.Vg.Object.NativeMethods.efl_canvas_vg_object_viewbox_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_viewbox);
+ Efl.Canvas.Vg.Object.NativeMethods.efl_canvas_vg_object_viewbox_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_viewbox);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control how the viewbox is positioned inside the viewport.</summary>
/// <param name="align_x">Alignment in the horizontal axis (0 <= align_x <= 1).</param>
/// <param name="align_y">Alignment in the vertical axis (0 <= align_y <= 1).</param>
virtual public void GetViewboxAlign(out double align_x, out double align_y) {
- Efl.Canvas.Vg.Object.NativeMethods.efl_canvas_vg_object_viewbox_align_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out align_x, out align_y);
+ Efl.Canvas.Vg.Object.NativeMethods.efl_canvas_vg_object_viewbox_align_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out align_x, out align_y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control how the viewbox is positioned inside the viewport.</summary>
/// <param name="align_x">Alignment in the horizontal axis (0 <= align_x <= 1).</param>
/// <param name="align_y">Alignment in the vertical axis (0 <= align_y <= 1).</param>
virtual public void SetViewboxAlign(double align_x, double align_y) {
- Efl.Canvas.Vg.Object.NativeMethods.efl_canvas_vg_object_viewbox_align_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),align_x, align_y);
+ Efl.Canvas.Vg.Object.NativeMethods.efl_canvas_vg_object_viewbox_align_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),align_x, align_y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the root node of the evas_object_vg.</summary>
/// <returns>Root node of the VG canvas.</returns>
virtual public Efl.Canvas.Vg.Node GetRootNode() {
- var _ret_var = Efl.Canvas.Vg.Object.NativeMethods.efl_canvas_vg_object_root_node_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Vg.Object.NativeMethods.efl_canvas_vg_object_root_node_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// It takes the ownership of the root node.</summary>
/// <param name="root">Root node of the VG canvas.</param>
virtual public void SetRootNode(Efl.Canvas.Vg.Node root) {
- Efl.Canvas.Vg.Object.NativeMethods.efl_canvas_vg_object_root_node_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),root);
+ Efl.Canvas.Vg.Object.NativeMethods.efl_canvas_vg_object_root_node_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),root);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the default vector size that specified from vector resource.
/// (Since EFL 1.22)</summary>
virtual public Eina.Size2D GetDefaultSize() {
- var _ret_var = Efl.Canvas.Vg.Object.NativeMethods.efl_canvas_vg_object_default_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Vg.Object.NativeMethods.efl_canvas_vg_object_default_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The handle to the <see cref="Eina.File"/> that will be used</returns>
virtual public Eina.File GetMmap() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="f">The handle to the <see cref="Eina.File"/> that will be used</param>
/// <returns>0 on success, error code otherwise</returns>
virtual public Eina.Error SetMmap(Eina.File f) {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),f);
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),f);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The file path.</returns>
virtual public System.String GetFile() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="file">The file path.</param>
/// <returns>0 on success, error code otherwise</returns>
virtual public Eina.Error SetFile(System.String file) {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),file);
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),file);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The group that the data belongs to. See the class documentation for particular implementations of this interface to see how this property is used.</returns>
virtual public System.String GetKey() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_key_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_key_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="key">The group that the data belongs to. See the class documentation for particular implementations of this interface to see how this property is used.</param>
virtual public void SetKey(System.String key) {
- Efl.IFileConcrete.NativeMethods.efl_file_key_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),key);
+ Efl.IFileConcrete.NativeMethods.efl_file_key_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),key);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the load state of the object.
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if the object is loaded, <c>false</c> otherwise.</returns>
virtual public bool GetLoaded() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_loaded_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_loaded_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>0 on success, error code otherwise</returns>
virtual public Eina.Error Load() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_load_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_load_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Calling <see cref="Efl.IFile.Unload"/> on an object which is not currently loaded will have no effect.
/// (Since EFL 1.22)</summary>
virtual public void Unload() {
- Efl.IFileConcrete.NativeMethods.efl_file_unload_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.IFileConcrete.NativeMethods.efl_file_unload_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Save the given image object's contents to an (image) file.
/// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
virtual public bool Save(System.String file, System.String key, ref Efl.FileSaveInfo info) {
Efl.FileSaveInfo.NativeStruct _in_info = info;
- var _ret_var = Efl.IFileSaveConcrete.NativeMethods.efl_file_save_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),file, key, ref _in_info);
+ var _ret_var = Efl.IFileSaveConcrete.NativeMethods.efl_file_save_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),file, key, ref _in_info);
Eina.Error.RaiseIfUnhandledException();
info = _in_info;
return _ret_var;
/// This will be <c>true</c> for animated object for instance but <c>false</c> for a single frame object.</summary>
/// <returns><c>true</c> if the object is animated</returns>
virtual public bool GetAnimated() {
- var _ret_var = Efl.Gfx.IFrameControllerConcrete.NativeMethods.efl_gfx_frame_controller_animated_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IFrameControllerConcrete.NativeMethods.efl_gfx_frame_controller_animated_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Ranges from 1 to <see cref="Efl.Gfx.IFrameController.GetFrameCount"/>. Valid only if <see cref="Efl.Gfx.IFrameController.GetAnimated"/>.</summary>
/// <returns>The index of current frame.</returns>
virtual public int GetFrame() {
- var _ret_var = Efl.Gfx.IFrameControllerConcrete.NativeMethods.efl_gfx_frame_controller_frame_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IFrameControllerConcrete.NativeMethods.efl_gfx_frame_controller_frame_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="frame_index">The index of current frame.</param>
/// <returns>Returns <c>true</c> if the frame index is valid.</returns>
virtual public bool SetFrame(int frame_index) {
- var _ret_var = Efl.Gfx.IFrameControllerConcrete.NativeMethods.efl_gfx_frame_controller_frame_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),frame_index);
+ var _ret_var = Efl.Gfx.IFrameControllerConcrete.NativeMethods.efl_gfx_frame_controller_frame_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),frame_index);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Returns -1 if not animated.</summary>
/// <returns>The number of frames in the animated object.</returns>
virtual public int GetFrameCount() {
- var _ret_var = Efl.Gfx.IFrameControllerConcrete.NativeMethods.efl_gfx_frame_controller_frame_count_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IFrameControllerConcrete.NativeMethods.efl_gfx_frame_controller_frame_count_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// The default type is <see cref="Efl.Gfx.FrameControllerLoopHint.Loop"/>.</summary>
/// <returns>Loop type of the animated object.</returns>
virtual public Efl.Gfx.FrameControllerLoopHint GetLoopType() {
- var _ret_var = Efl.Gfx.IFrameControllerConcrete.NativeMethods.efl_gfx_frame_controller_loop_type_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IFrameControllerConcrete.NativeMethods.efl_gfx_frame_controller_loop_type_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// If 0 is returned, then looping should happen indefinitely (no limit to the number of times it loops).</summary>
/// <returns>The number of loop of an animated object.</returns>
virtual public int GetLoopCount() {
- var _ret_var = Efl.Gfx.IFrameControllerConcrete.NativeMethods.efl_gfx_frame_controller_loop_count_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IFrameControllerConcrete.NativeMethods.efl_gfx_frame_controller_loop_count_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="frame_num">Number of frames in the sequence, starts from 0.</param>
/// <returns>Duration in seconds</returns>
virtual public double GetFrameDuration(int start_frame, int frame_num) {
- var _ret_var = Efl.Gfx.IFrameControllerConcrete.NativeMethods.efl_gfx_frame_controller_frame_duration_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),start_frame, frame_num);
+ var _ret_var = Efl.Gfx.IFrameControllerConcrete.NativeMethods.efl_gfx_frame_controller_frame_duration_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),start_frame, frame_num);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
namespace Vg {
/// <summary>Enumeration that defines how viewbox will be filled int the vg canvs's viewport. default Fill_Mode is <c>none</c></summary>
+[Efl.Eo.BindingEntity]
public enum FillMode
{
/// <summary>Don't scale the viewbox. Placed it inside viewport taking align property into account</summary>
/// <summary>Efl vector graphics shape class</summary>
[Efl.Canvas.Vg.Shape.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Shape : Efl.Canvas.Vg.Node, Efl.Gfx.IShape
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="Shape"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public Shape(Efl.Object parent= null
- ) : base(efl_canvas_vg_shape_class_get(), typeof(Shape), parent)
+ ) : base(efl_canvas_vg_shape_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Shape(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Shape"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Shape(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Shape(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Shape"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Shape(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Shape(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>Fill of the shape object</summary>
/// <returns>Fill object</returns>
virtual public Efl.Canvas.Vg.Node GetFill() {
- var _ret_var = Efl.Canvas.Vg.Shape.NativeMethods.efl_canvas_vg_shape_fill_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Vg.Shape.NativeMethods.efl_canvas_vg_shape_fill_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Fill of the shape object</summary>
/// <param name="f">Fill object</param>
virtual public void SetFill(Efl.Canvas.Vg.Node f) {
- Efl.Canvas.Vg.Shape.NativeMethods.efl_canvas_vg_shape_fill_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),f);
+ Efl.Canvas.Vg.Shape.NativeMethods.efl_canvas_vg_shape_fill_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),f);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Stroke fill of the shape object</summary>
/// <returns>Stroke fill object</returns>
virtual public Efl.Canvas.Vg.Node GetStrokeFill() {
- var _ret_var = Efl.Canvas.Vg.Shape.NativeMethods.efl_canvas_vg_shape_stroke_fill_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Vg.Shape.NativeMethods.efl_canvas_vg_shape_stroke_fill_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Stroke fill of the shape object</summary>
/// <param name="f">Stroke fill object</param>
virtual public void SetStrokeFill(Efl.Canvas.Vg.Node f) {
- Efl.Canvas.Vg.Shape.NativeMethods.efl_canvas_vg_shape_stroke_fill_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),f);
+ Efl.Canvas.Vg.Shape.NativeMethods.efl_canvas_vg_shape_stroke_fill_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),f);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Stroke marker of the shape object</summary>
/// <returns>Stroke marker object</returns>
virtual public Efl.Canvas.Vg.Node GetStrokeMarker() {
- var _ret_var = Efl.Canvas.Vg.Shape.NativeMethods.efl_canvas_vg_shape_stroke_marker_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Vg.Shape.NativeMethods.efl_canvas_vg_shape_stroke_marker_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Stroke marker of the shape object</summary>
/// <param name="m">Stroke marker object</param>
virtual public void SetStrokeMarker(Efl.Canvas.Vg.Node m) {
- Efl.Canvas.Vg.Shape.NativeMethods.efl_canvas_vg_shape_stroke_marker_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),m);
+ Efl.Canvas.Vg.Shape.NativeMethods.efl_canvas_vg_shape_stroke_marker_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),m);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The stroke scale to be used for stroking the path. Will be used along with stroke width property.</summary>
/// <returns>Stroke scale value</returns>
virtual public double GetStrokeScale() {
- var _ret_var = Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_scale_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_scale_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>The stroke scale to be used for stroking the path. Will be used along with stroke width property.</summary>
/// <param name="s">Stroke scale value</param>
virtual public void SetStrokeScale(double s) {
- Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_scale_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),s);
+ Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_scale_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),s);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The color to be used for stroking the path.</summary>
/// <param name="b">The blue component of the given color.</param>
/// <param name="a">The alpha component of the given color.</param>
virtual public void GetStrokeColor(out int r, out int g, out int b, out int a) {
- Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_color_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out r, out g, out b, out a);
+ Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_color_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out r, out g, out b, out a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The color to be used for stroking the path.</summary>
/// <param name="b">The blue component of the given color.</param>
/// <param name="a">The alpha component of the given color.</param>
virtual public void SetStrokeColor(int r, int g, int b, int a) {
- Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_color_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),r, g, b, a);
+ Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_color_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),r, g, b, a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The stroke width to be used for stroking the path.</summary>
/// <returns>Stroke width to be used</returns>
virtual public double GetStrokeWidth() {
- var _ret_var = Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_width_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_width_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>The stroke width to be used for stroking the path.</summary>
/// <param name="w">Stroke width to be used</param>
virtual public void SetStrokeWidth(double w) {
- Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_width_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),w);
+ Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_width_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),w);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Not implemented</summary>
/// <returns>Centered stroke location</returns>
virtual public double GetStrokeLocation() {
- var _ret_var = Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_location_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_location_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Not implemented</summary>
/// <param name="centered">Centered stroke location</param>
virtual public void SetStrokeLocation(double centered) {
- Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_location_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),centered);
+ Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_location_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),centered);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set stroke dash pattern. A dash pattern is specified by dashes, an array of <see cref="Efl.Gfx.Dash"/>. <see cref="Efl.Gfx.Dash"/> values(length, gap) must be positive.
/// <param name="length">Stroke dash length</param>
virtual public void GetStrokeDash(out Efl.Gfx.Dash dash, out uint length) {
var _out_dash = new System.IntPtr();
- Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_dash_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out _out_dash, out length);
+ Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_dash_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out _out_dash, out length);
Eina.Error.RaiseIfUnhandledException();
dash = Eina.PrimitiveConversion.PointerToManaged<Efl.Gfx.Dash>(_out_dash);
}
/// <param name="length">Stroke dash length</param>
virtual public void SetStrokeDash(ref Efl.Gfx.Dash dash, uint length) {
Efl.Gfx.Dash.NativeStruct _in_dash = dash;
- Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_dash_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),ref _in_dash, length);
+ Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_dash_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),ref _in_dash, length);
Eina.Error.RaiseIfUnhandledException();
dash = _in_dash;
}
/// See also <see cref="Efl.Gfx.Cap"/>.</summary>
/// <returns>Cap style to use, default is <see cref="Efl.Gfx.Cap.Butt"/></returns>
virtual public Efl.Gfx.Cap GetStrokeCap() {
- var _ret_var = Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_cap_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_cap_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// See also <see cref="Efl.Gfx.Cap"/>.</summary>
/// <param name="c">Cap style to use, default is <see cref="Efl.Gfx.Cap.Butt"/></param>
virtual public void SetStrokeCap(Efl.Gfx.Cap c) {
- Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_cap_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),c);
+ Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_cap_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),c);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The join style to be used for stroking the path. The join style will be used for joining the two line segment while stroking the path.
/// See also <see cref="Efl.Gfx.Join"/>.</summary>
/// <returns>Join style to use, default is <see cref="Efl.Gfx.Join.Miter"/></returns>
virtual public Efl.Gfx.Join GetStrokeJoin() {
- var _ret_var = Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_join_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_join_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// See also <see cref="Efl.Gfx.Join"/>.</summary>
/// <param name="j">Join style to use, default is <see cref="Efl.Gfx.Join.Miter"/></param>
virtual public void SetStrokeJoin(Efl.Gfx.Join j) {
- Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_join_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),j);
+ Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_join_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),j);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The fill rule of the given shape object. <see cref="Efl.Gfx.FillRule.Winding"/> or <see cref="Efl.Gfx.FillRule.OddEven"/>.</summary>
/// <returns>The current fill rule of the shape object. One of <see cref="Efl.Gfx.FillRule.Winding"/> or <see cref="Efl.Gfx.FillRule.OddEven"/></returns>
virtual public Efl.Gfx.FillRule GetFillRule() {
- var _ret_var = Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_fill_rule_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_fill_rule_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>The fill rule of the given shape object. <see cref="Efl.Gfx.FillRule.Winding"/> or <see cref="Efl.Gfx.FillRule.OddEven"/>.</summary>
/// <param name="fill_rule">The current fill rule of the shape object. One of <see cref="Efl.Gfx.FillRule.Winding"/> or <see cref="Efl.Gfx.FillRule.OddEven"/></param>
virtual public void SetFillRule(Efl.Gfx.FillRule fill_rule) {
- Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_fill_rule_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),fill_rule);
+ Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_fill_rule_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),fill_rule);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Fill of the shape object</summary>
/// <summary>Efl model for all composite class which provide a unified API to set source of data.
/// This class also provide an <see cref="Efl.IModel.GetProperty"/> "<c>child</c>.index" that match the value of <see cref="Efl.CompositeModel.Index"/>.</summary>
[Efl.CompositeModel.NativeMethods]
+[Efl.Eo.BindingEntity]
public class CompositeModel : Efl.LoopModel, Efl.Ui.IView
{
///<summary>Pointer to the native class description.</summary>
efl_composite_model_class_get();
/// <summary>Initializes a new instance of the <see cref="CompositeModel"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="model">Model that is/will be See <see cref="Efl.Ui.IView.SetModel"/></param>
- /// <param name="index">Position of this object in the parent model. See <see cref="Efl.CompositeModel.SetIndex"/></param>
+ /// <param name="model">Model that is/will be See <see cref="Efl.Ui.IView.SetModel" /></param>
+ /// <param name="index">Position of this object in the parent model. See <see cref="Efl.CompositeModel.SetIndex" /></param>
public CompositeModel(Efl.Object parent
- , Efl.IModel model, uint? index = null) : base(efl_composite_model_class_get(), typeof(CompositeModel), parent)
+ , Efl.IModel model, uint? index = null) : base(efl_composite_model_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(model))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected CompositeModel(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="CompositeModel"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected CompositeModel(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected CompositeModel(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="CompositeModel"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected CompositeModel(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected CompositeModel(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>Get the index. It will only work after the object has been finalized.</summary>
/// <returns>Index of the object in the parent model. The index is uniq and start from zero.</returns>
virtual public uint GetIndex() {
- var _ret_var = Efl.CompositeModel.NativeMethods.efl_composite_model_index_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.CompositeModel.NativeMethods.efl_composite_model_index_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Set the index. It can only be set before the object is finalized, but after the Model it compose is set and only if that Model does not provide an index already.</summary>
/// <param name="index">Index of the object in the parent model. The index is uniq and start from zero.</param>
virtual public void SetIndex(uint index) {
- Efl.CompositeModel.NativeMethods.efl_composite_model_index_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),index);
+ Efl.CompositeModel.NativeMethods.efl_composite_model_index_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),index);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Model that is/will be</summary>
/// <returns>Efl model</returns>
virtual public Efl.IModel GetModel() {
- var _ret_var = Efl.Ui.IViewConcrete.NativeMethods.efl_ui_view_model_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IViewConcrete.NativeMethods.efl_ui_view_model_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Model that is/will be</summary>
/// <param name="model">Efl model</param>
virtual public void SetModel(Efl.IModel model) {
- Efl.Ui.IViewConcrete.NativeMethods.efl_ui_view_model_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),model);
+ Efl.Ui.IViewConcrete.NativeMethods.efl_ui_view_model_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),model);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Position of this object in the parent model.</summary>
/// <summary>A generic configuration interface, that holds key-value pairs.</summary>
[Efl.IConfigConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IConfig :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IConfigConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_config_interface_get();
/// <summary>Initializes a new instance of the <see cref="IConfig"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IConfigConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IConfigConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>This class is a singleton representing the global configuration for the running application.</summary>
[Efl.ConfigGlobal.NativeMethods]
+[Efl.Eo.BindingEntity]
public class ConfigGlobal : Efl.Object, Efl.IConfig
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="ConfigGlobal"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public ConfigGlobal(Efl.Object parent= null
- ) : base(efl_config_global_class_get(), typeof(ConfigGlobal), parent)
+ ) : base(efl_config_global_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected ConfigGlobal(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="ConfigGlobal"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected ConfigGlobal(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected ConfigGlobal(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="ConfigGlobal"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected ConfigGlobal(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected ConfigGlobal(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// This gets or sets the global profile that is applied to all Elementary applications.</summary>
/// <returns>Profile name</returns>
virtual public System.String GetProfile() {
- var _ret_var = Efl.ConfigGlobal.NativeMethods.efl_config_profile_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ConfigGlobal.NativeMethods.efl_config_profile_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This gets or sets the global profile that is applied to all Elementary applications.</summary>
/// <param name="profile">Profile name</param>
virtual public void SetProfile(System.String profile) {
- Efl.ConfigGlobal.NativeMethods.efl_config_profile_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),profile);
+ Efl.ConfigGlobal.NativeMethods.efl_config_profile_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),profile);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Saves Elementary configuration to disk.
/// <param name="profile">The profile name.</param>
/// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
virtual protected bool Save(System.String profile) {
- var _ret_var = Efl.ConfigGlobal.NativeMethods.efl_config_save_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),profile);
+ var _ret_var = Efl.ConfigGlobal.NativeMethods.efl_config_save_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),profile);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="hidden">If <c>true</c>, gets the full list of profiles, including those stored in hidden files.</param>
/// <returns>Iterator to profiles</returns>
virtual public Eina.Iterator<System.String> ProfileIterate(bool hidden) {
- var _ret_var = Efl.ConfigGlobal.NativeMethods.efl_config_profile_iterate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),hidden);
+ var _ret_var = Efl.ConfigGlobal.NativeMethods.efl_config_profile_iterate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),hidden);
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<System.String>(_ret_var, true, false);
+ return new Eina.Iterator<System.String>(_ret_var, true);
}
/// <summary>Returns whether a profile exists or not.</summary>
/// <param name="profile">Profile name</param>
/// <returns><c>true</c> if profile exists, <c>false</c> otherwise</returns>
virtual public bool ProfileExists(System.String profile) {
- var _ret_var = Efl.ConfigGlobal.NativeMethods.efl_config_profile_exists_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),profile);
+ var _ret_var = Efl.ConfigGlobal.NativeMethods.efl_config_profile_exists_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),profile);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="is_user"><c>true</c> to lookup for a user profile or <c>false</c> for a system one.</param>
/// <returns>Directory of the profile, free after use.</returns>
virtual public System.String GetProfileDir(System.String profile, bool is_user) {
- var _ret_var = Efl.ConfigGlobal.NativeMethods.efl_config_profile_dir_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),profile, is_user);
+ var _ret_var = Efl.ConfigGlobal.NativeMethods.efl_config_profile_dir_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),profile, is_user);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="profile">The new profile's name.</param>
/// <param name="options">Derive options detailing how to modify.</param>
virtual protected void AddProfileDerived(System.String profile, System.String options) {
- Efl.ConfigGlobal.NativeMethods.efl_config_profile_derived_add_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),profile, options);
+ Efl.ConfigGlobal.NativeMethods.efl_config_profile_derived_add_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),profile, options);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Deletes a profile that is derived from the current one.
/// At this point it is not expected that anyone would generally use this API except if you are a desktop environment and so the user base of this API will be enlightenment itself.</summary>
/// <param name="profile">The name of the profile that is to be deleted.</param>
virtual protected void DelProfileDerived(System.String profile) {
- Efl.ConfigGlobal.NativeMethods.efl_config_profile_derived_del_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),profile);
+ Efl.ConfigGlobal.NativeMethods.efl_config_profile_derived_del_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),profile);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>A generic configuration value, referred to by name.</summary>
/// <param name="name">Configuration option name.</param>
/// <returns>The value. It will be empty if it doesn't exist. The caller must free it after use (using <c>eina_value_free</c>() in C).</returns>
virtual public Eina.Value GetConfig(System.String name) {
- var _ret_var = Efl.IConfigConcrete.NativeMethods.efl_config_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),name);
+ var _ret_var = Efl.IConfigConcrete.NativeMethods.efl_config_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),name);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="value">Configuration option value. May be <c>null</c> if not found.</param>
/// <returns><c>false</c> in case of error: value type was invalid, the config can't be changed, config does not exist...</returns>
virtual public bool SetConfig(System.String name, Eina.Value value) {
- var _ret_var = Efl.IConfigConcrete.NativeMethods.efl_config_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),name, value);
+ var _ret_var = Efl.IConfigConcrete.NativeMethods.efl_config_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),name, value);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// APIs in this interface deal with containers of multiple sub-objects, not with individual parts.
/// (Since EFL 1.22)</summary>
[Efl.IContainerConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IContainer :
Efl.Eo.IWrapper, IDisposable
{
event EventHandler<Efl.IContainerContentRemovedEvt_Args> ContentRemovedEvt;
}
///<summary>Event argument wrapper for event <see cref="Efl.IContainer.ContentAddedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IContainerContentAddedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Gfx.IEntity arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.IContainer.ContentRemovedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IContainerContentRemovedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Gfx.IEntity arg { get; set; }
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IContainerConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_container_interface_get();
/// <summary>Initializes a new instance of the <see cref="IContainer"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IContainerConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IContainerConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
public Eina.Iterator<Efl.Gfx.IEntity> ContentIterate() {
var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_iterate_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true, false);
+ return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true);
}
/// <summary>Returns the number of contained sub-objects.
/// (Since EFL 1.22)</summary>
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
///
/// Several containers can be supplied and the number of allocated children is based on the container of the largest size.</summary>
[Efl.ContainerModel.NativeMethods]
+[Efl.Eo.BindingEntity]
public class ContainerModel : Efl.CompositeModel
{
///<summary>Pointer to the native class description.</summary>
efl_container_model_class_get();
/// <summary>Initializes a new instance of the <see cref="ContainerModel"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="model">Model that is/will be See <see cref="Efl.Ui.IView.SetModel"/></param>
- /// <param name="index">Position of this object in the parent model. See <see cref="Efl.CompositeModel.SetIndex"/></param>
+ /// <param name="model">Model that is/will be See <see cref="Efl.Ui.IView.SetModel" /></param>
+ /// <param name="index">Position of this object in the parent model. See <see cref="Efl.CompositeModel.SetIndex" /></param>
public ContainerModel(Efl.Object parent
- , Efl.IModel model, uint? index = null) : base(efl_container_model_class_get(), typeof(ContainerModel), parent)
+ , Efl.IModel model, uint? index = null) : base(efl_container_model_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(model))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected ContainerModel(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="ContainerModel"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected ContainerModel(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected ContainerModel(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="ContainerModel"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected ContainerModel(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected ContainerModel(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <param name="name">Property name</param>
/// <returns>Property type</returns>
virtual public Eina.ValueType GetChildPropertyValueType(System.String name) {
- var _ret_var = Efl.ContainerModel.NativeMethods.efl_container_model_child_property_value_type_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),name);
+ var _ret_var = Efl.ContainerModel.NativeMethods.efl_container_model_child_property_value_type_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),name);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
virtual public bool AddChildProperty(System.String name, Eina.ValueType type, Eina.Iterator<System.IntPtr> values) {
var _in_values = values.Handle;
values.Own = false;
- var _ret_var = Efl.ContainerModel.NativeMethods.efl_container_model_child_property_add_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),name, type, _in_values);
+ var _ret_var = Efl.ContainerModel.NativeMethods.efl_container_model_child_property_add_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),name, type, _in_values);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- var _in_values = new Eina.Iterator<System.IntPtr>(values, true, false);
+ var _in_values = new Eina.Iterator<System.IntPtr>(values, true);
bool _ret_var = default(bool);
try
{
/// This is used for the default content part of widgets, as well as for individual parts through <see cref="Efl.IPart"/>.
/// (Since EFL 1.22)</summary>
[Efl.IContentConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IContent :
Efl.Eo.IWrapper, IDisposable
{
}
}
///<summary>Event argument wrapper for event <see cref="Efl.IContent.ContentChangedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IContentContentChangedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Gfx.IEntity arg { get; set; }
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IContentConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_content_interface_get();
/// <summary>Initializes a new instance of the <see cref="IContent"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IContentConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IContentConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Efl control interface</summary>
[Efl.IControlConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IControl :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IControlConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_control_interface_get();
/// <summary>Initializes a new instance of the <see cref="IControl"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IControlConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IControlConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>A mixin that implements standard functions for command lines.
/// This object parses the command line that gets passed, later the object can be accessed via accessor or the string directly.</summary>
[Efl.Core.ICommandLineConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface ICommandLine :
Efl.Eo.IWrapper, IDisposable
{
/// Every element of a string is a argument.</summary>
/// <param name="array">An array where every array field is an argument</param>
/// <returns>On success <c>true</c>, <c>false</c> otherwise</returns>
-bool SetCommandArray(Eina.Array<System.String> array);
+bool SetCommandArray(Eina.Array<Eina.Stringshare> array);
/// <summary>Use a string to fill this object
/// The string will be split at every unescaped ' ', every resulting substring will be a new argument to the command line.</summary>
/// <param name="str">A command in form of a string</param>
/// <returns>On success <c>true</c>, <c>false</c> otherwise</returns>
bool SetCommandString(System.String str);
/// <summary>Get the accessor which enables access to each argument that got passed to this object.</summary>
-Eina.Accessor<System.String> CommandAccess();
+Eina.Accessor<Eina.Stringshare> CommandAccess();
/// <summary>A commandline that encodes arguments in a command string. This command is unix shell-style, thus whitespace separates arguments unless escaped. Also a semi-colon ';', ampersand '&', pipe/bar '|', hash '#', bracket, square brace, brace character ('(', ')', '[', ']', '{', '}'), exclamation mark '!', backquote '`', greator or less than ('>' '<') character unless escaped or in quotes would cause args_count/value to not be generated properly, because it would force complex shell interpretation which will not be supported in evaluating the arg_count/value information, but the final shell may interpret this if this is executed via a command-line shell. To not be a complex shell command, it should be simple with paths, options and variable expansions, but nothing more complex involving the above unescaped characters.
/// "cat -option /path/file" "cat 'quoted argument'" "cat ~/path/escaped argument" "/bin/cat escaped argument <c>VARIABLE</c>" etc.
///
/// <summary>Use an array to fill this object
/// Every element of a string is a argument.</summary>
/// <value>An array where every array field is an argument</value>
- Eina.Array<System.String> CommandArray {
+ Eina.Array<Eina.Stringshare> CommandArray {
set ;
}
/// <summary>Use a string to fill this object
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private ICommandLineConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport(efl.Libs.Ecore)] internal static extern System.IntPtr
efl_core_command_line_mixin_get();
/// <summary>Initializes a new instance of the <see cref="ICommandLine"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private ICommandLineConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private ICommandLineConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// Every element of a string is a argument.</summary>
/// <param name="array">An array where every array field is an argument</param>
/// <returns>On success <c>true</c>, <c>false</c> otherwise</returns>
- public bool SetCommandArray(Eina.Array<System.String> array) {
+ public bool SetCommandArray(Eina.Array<Eina.Stringshare> array) {
var _in_array = array.Handle;
array.Own = false;
array.OwnContent = false;
return _ret_var;
}
/// <summary>Get the accessor which enables access to each argument that got passed to this object.</summary>
- public Eina.Accessor<System.String> CommandAccess() {
+ public Eina.Accessor<Eina.Stringshare> CommandAccess() {
var _ret_var = Efl.Core.ICommandLineConcrete.NativeMethods.efl_core_command_line_command_access_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Accessor<System.String>(_ret_var, false, false);
+ return new Eina.Accessor<Eina.Stringshare>(_ret_var, false);
}
/// <summary>A commandline that encodes arguments in a command string. This command is unix shell-style, thus whitespace separates arguments unless escaped. Also a semi-colon ';', ampersand '&', pipe/bar '|', hash '#', bracket, square brace, brace character ('(', ')', '[', ']', '{', '}'), exclamation mark '!', backquote '`', greator or less than ('>' '<') character unless escaped or in quotes would cause args_count/value to not be generated properly, because it would force complex shell interpretation which will not be supported in evaluating the arg_count/value information, but the final shell may interpret this if this is executed via a command-line shell. To not be a complex shell command, it should be simple with paths, options and variable expansions, but nothing more complex involving the above unescaped characters.
/// "cat -option /path/file" "cat 'quoted argument'" "cat ~/path/escaped argument" "/bin/cat escaped argument <c>VARIABLE</c>" etc.
/// <summary>Use an array to fill this object
/// Every element of a string is a argument.</summary>
/// <value>An array where every array field is an argument</value>
- public Eina.Array<System.String> CommandArray {
+ public Eina.Array<Eina.Stringshare> CommandArray {
set { SetCommandArray(value); }
}
/// <summary>Use a string to fill this object
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Ecore);
/// <summary>Gets the list of Eo operations to override.</summary>
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- var _in_array = new Eina.Array<System.String>(array, true, true);
+ var _in_array = new Eina.Array<Eina.Stringshare>(array, true, true);
bool _ret_var = default(bool);
try
{
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- Eina.Accessor<System.String> _ret_var = default(Eina.Accessor<System.String>);
+ Eina.Accessor<Eina.Stringshare> _ret_var = default(Eina.Accessor<Eina.Stringshare>);
try
{
_ret_var = ((ICommandLine)ws.Target).CommandAccess();
///
/// A object can be forked, which will only copy its values, changes to the returned object will not change the object where it is forked off.</summary>
[Efl.Core.Env.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Env : Efl.Object, Efl.IDuplicate
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="Env"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public Env(Efl.Object parent= null
- ) : base(efl_core_env_class_get(), typeof(Env), parent)
+ ) : base(efl_core_env_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Env(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Env"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Env(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Env(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Env"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Env(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Env(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <param name="var">The name of the variable</param>
/// <returns>Set var to this value if not <c>NULL</c>, otherwise clear this env value if value is <c>NULL</c> or if it is an empty string</returns>
virtual public System.String GetEnv(System.String var) {
- var _ret_var = Efl.Core.Env.NativeMethods.efl_core_env_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),var);
+ var _ret_var = Efl.Core.Env.NativeMethods.efl_core_env_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),var);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="var">The name of the variable</param>
/// <param name="value">Set var to this value if not <c>NULL</c>, otherwise clear this env value if value is <c>NULL</c> or if it is an empty string</param>
virtual public void SetEnv(System.String var, System.String value) {
- Efl.Core.Env.NativeMethods.efl_core_env_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),var, value);
+ Efl.Core.Env.NativeMethods.efl_core_env_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),var, value);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the content of this object.
/// This will return a iterator that contains all keys that are part of this object.</summary>
virtual public Eina.Iterator<System.String> GetContent() {
- var _ret_var = Efl.Core.Env.NativeMethods.efl_core_env_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Core.Env.NativeMethods.efl_core_env_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<System.String>(_ret_var, false, false);
+ return new Eina.Iterator<System.String>(_ret_var, false);
}
/// <summary>Remove the pair with the matching <c>var</c> from this object</summary>
/// <param name="var">The name of the variable</param>
virtual public void Unset(System.String var) {
- Efl.Core.Env.NativeMethods.efl_core_env_unset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),var);
+ Efl.Core.Env.NativeMethods.efl_core_env_unset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),var);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Remove all pairs from this object</summary>
virtual public void Clear() {
- Efl.Core.Env.NativeMethods.efl_core_env_clear_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Core.Env.NativeMethods.efl_core_env_clear_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Creates a carbon copy of this object and returns it.
/// The newly created object will have no event handlers or anything of the sort.</summary>
/// <returns>Returned carbon copy</returns>
virtual public Efl.IDuplicate Duplicate() {
- var _ret_var = Efl.IDuplicateConcrete.NativeMethods.efl_duplicate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IDuplicateConcrete.NativeMethods.efl_duplicate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
namespace Core {
[Efl.Core.ProcEnv.NativeMethods]
+[Efl.Eo.BindingEntity]
public class ProcEnv : Efl.Core.Env
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="ProcEnv"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public ProcEnv(Efl.Object parent= null
- ) : base(efl_core_proc_env_class_get(), typeof(ProcEnv), parent)
+ ) : base(efl_core_proc_env_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected ProcEnv(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="ProcEnv"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected ProcEnv(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected ProcEnv(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="ProcEnv"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected ProcEnv(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected ProcEnv(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
Efl.Eo.Config.Init();
ecore_init();
evas_init();
- eldbus.Config.Init();
if (component == Components.Ui)
{
elm_shutdown();
}
- eldbus.Config.Shutdown();
evas_shutdown();
ecore_shutdown();
Efl.Eo.Config.Shutdown();
/// <summary>
/// Called when the application is started. Arguments from the command line are passed here.
/// </summary>
- protected abstract void OnInitialize(Eina.Array<System.String> args);
+ protected abstract void OnInitialize(string[] args);
/// <summary>
/// Arguments are passed here, Additional calls to this function may occure,
{
Init(components);
Efl.App app = Efl.App.AppMain;
- Eina.Array<String> command_line = new Eina.Array<String>();
- command_line.Append(Environment.GetCommandLineArgs());
+ var command_line = new Eina.Array<Eina.Stringshare>();
+ command_line.Append(Array.ConvertAll(Environment.GetCommandLineArgs(), s => (Eina.Stringshare)s));
#if EFL_BETA
app.SetCommandArray(command_line);
#endif
{
if (evt.arg.Initialization)
{
- OnInitialize(evt.arg.Argv);
+ var evtArgv = evt.arg.Argv;
+ int n = evtArgv.Length;
+ var argv = new string[n];
+ for (int i = 0; i < n; ++i)
+ {
+ argv[i] = evtArgv[i];
+ }
+
+ OnInitialize(argv);
}
OnArguments(evt.arg);
/// <summary>Efl cubic_bezier interpolator class</summary>
[Efl.CubicBezierInterpolator.NativeMethods]
+[Efl.Eo.BindingEntity]
public class CubicBezierInterpolator : Efl.Object, Efl.IInterpolator
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="CubicBezierInterpolator"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public CubicBezierInterpolator(Efl.Object parent= null
- ) : base(efl_cubic_bezier_interpolator_class_get(), typeof(CubicBezierInterpolator), parent)
+ ) : base(efl_cubic_bezier_interpolator_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected CubicBezierInterpolator(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="CubicBezierInterpolator"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected CubicBezierInterpolator(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected CubicBezierInterpolator(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="CubicBezierInterpolator"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected CubicBezierInterpolator(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected CubicBezierInterpolator(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <param name="factor3">Third factor of the interpolation function.</param>
/// <param name="factor4">Fourth factor of the interpolation function.</param>
virtual public void GetFactors(out double factor1, out double factor2, out double factor3, out double factor4) {
- Efl.CubicBezierInterpolator.NativeMethods.efl_cubic_bezier_interpolator_factors_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out factor1, out factor2, out factor3, out factor4);
+ Efl.CubicBezierInterpolator.NativeMethods.efl_cubic_bezier_interpolator_factors_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out factor1, out factor2, out factor3, out factor4);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Factors property</summary>
/// <param name="factor3">Third factor of the interpolation function.</param>
/// <param name="factor4">Fourth factor of the interpolation function.</param>
virtual public void SetFactors(double factor1, double factor2, double factor3, double factor4) {
- Efl.CubicBezierInterpolator.NativeMethods.efl_cubic_bezier_interpolator_factors_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),factor1, factor2, factor3, factor4);
+ Efl.CubicBezierInterpolator.NativeMethods.efl_cubic_bezier_interpolator_factors_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),factor1, factor2, factor3, factor4);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Interpolate the given value.</summary>
/// <param name="progress">Input value mapped from 0.0 to 1.0.</param>
/// <returns>Output value calculated by interpolating the input value.</returns>
virtual public double Interpolate(double progress) {
- var _ret_var = Efl.IInterpolatorConcrete.NativeMethods.efl_interpolator_interpolate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),progress);
+ var _ret_var = Efl.IInterpolatorConcrete.NativeMethods.efl_interpolator_interpolate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),progress);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Efl decelerate interpolator class
/// output = sin(input * Pi / 2);</summary>
[Efl.DecelerateInterpolator.NativeMethods]
+[Efl.Eo.BindingEntity]
public class DecelerateInterpolator : Efl.Object, Efl.IInterpolator
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="DecelerateInterpolator"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public DecelerateInterpolator(Efl.Object parent= null
- ) : base(efl_decelerate_interpolator_class_get(), typeof(DecelerateInterpolator), parent)
+ ) : base(efl_decelerate_interpolator_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected DecelerateInterpolator(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="DecelerateInterpolator"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected DecelerateInterpolator(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected DecelerateInterpolator(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="DecelerateInterpolator"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected DecelerateInterpolator(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected DecelerateInterpolator(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>Factor property</summary>
/// <returns>Factor of the interpolation function.</returns>
virtual public double GetFactor() {
- var _ret_var = Efl.DecelerateInterpolator.NativeMethods.efl_decelerate_interpolator_factor_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.DecelerateInterpolator.NativeMethods.efl_decelerate_interpolator_factor_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Factor property</summary>
/// <param name="factor">Factor of the interpolation function.</param>
virtual public void SetFactor(double factor) {
- Efl.DecelerateInterpolator.NativeMethods.efl_decelerate_interpolator_factor_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),factor);
+ Efl.DecelerateInterpolator.NativeMethods.efl_decelerate_interpolator_factor_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),factor);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Interpolate the given value.</summary>
/// <param name="progress">Input value mapped from 0.0 to 1.0.</param>
/// <returns>Output value calculated by interpolating the input value.</returns>
virtual public double Interpolate(double progress) {
- var _ret_var = Efl.IInterpolatorConcrete.NativeMethods.efl_interpolator_interpolate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),progress);
+ var _ret_var = Efl.IInterpolatorConcrete.NativeMethods.efl_interpolator_interpolate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),progress);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Efl divisor interpolator class</summary>
[Efl.DivisorInterpolator.NativeMethods]
+[Efl.Eo.BindingEntity]
public class DivisorInterpolator : Efl.Object, Efl.IInterpolator
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="DivisorInterpolator"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public DivisorInterpolator(Efl.Object parent= null
- ) : base(efl_divisor_interpolator_class_get(), typeof(DivisorInterpolator), parent)
+ ) : base(efl_divisor_interpolator_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected DivisorInterpolator(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="DivisorInterpolator"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected DivisorInterpolator(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected DivisorInterpolator(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="DivisorInterpolator"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected DivisorInterpolator(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected DivisorInterpolator(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <param name="factor1">First factor of the interpolation function.</param>
/// <param name="factor2">Second factor of the interpolation function.</param>
virtual public void GetFactors(out double factor1, out double factor2) {
- Efl.DivisorInterpolator.NativeMethods.efl_divisor_interpolator_factors_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out factor1, out factor2);
+ Efl.DivisorInterpolator.NativeMethods.efl_divisor_interpolator_factors_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out factor1, out factor2);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Factors property</summary>
/// <param name="factor1">First factor of the interpolation function.</param>
/// <param name="factor2">Second factor of the interpolation function.</param>
virtual public void SetFactors(double factor1, double factor2) {
- Efl.DivisorInterpolator.NativeMethods.efl_divisor_interpolator_factors_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),factor1, factor2);
+ Efl.DivisorInterpolator.NativeMethods.efl_divisor_interpolator_factors_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),factor1, factor2);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Interpolate the given value.</summary>
/// <param name="progress">Input value mapped from 0.0 to 1.0.</param>
/// <returns>Output value calculated by interpolating the input value.</returns>
virtual public double Interpolate(double progress) {
- var _ret_var = Efl.IInterpolatorConcrete.NativeMethods.efl_interpolator_interpolate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),progress);
+ var _ret_var = Efl.IInterpolatorConcrete.NativeMethods.efl_interpolator_interpolate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),progress);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>An interface for duplication of objects.
/// Objects implementing this interface can be duplicated with <see cref="Efl.IDuplicate.Duplicate"/>.</summary>
[Efl.IDuplicateConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IDuplicate :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IDuplicateConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_duplicate_interface_get();
/// <summary>Initializes a new instance of the <see cref="IDuplicate"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IDuplicateConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IDuplicateConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
using System.ComponentModel;
namespace Efl {
-/// <summary>No description supplied.</summary>
+/// <summary>Further customization of <see cref="Efl.Task"/>, including signals and environment control.</summary>
[Efl.Exe.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Exe : Efl.Task, Efl.Core.ICommandLine, Efl.Io.ICloser, Efl.Io.IReader, Efl.Io.IWriter
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="Exe"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public Exe(Efl.Object parent= null
- ) : base(efl_exe_class_get(), typeof(Exe), parent)
+ ) : base(efl_exe_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Exe(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Exe"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Exe(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Exe(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Exe"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Exe(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Exe(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_IO_CLOSER_EVENT_CLOSED";
RemoveNativeEventHandler(efl.Libs.Ecore, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_IO_READER_EVENT_CAN_READ_CHANGED";
RemoveNativeEventHandler(efl.Libs.Ecore, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_IO_READER_EVENT_EOS";
RemoveNativeEventHandler(efl.Libs.Ecore, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED";
RemoveNativeEventHandler(efl.Libs.Ecore, key, value);
Marshal.FreeHGlobal(info);
}
}
- /// <returns>No description supplied.</returns>
+ /// <summary>Customize the task's behavior.</summary>
+ /// <returns>Flags.</returns>
virtual public Efl.ExeFlags GetExeFlags() {
- var _ret_var = Efl.Exe.NativeMethods.efl_exe_flags_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Exe.NativeMethods.efl_exe_flags_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
- /// <param name="flags">No description supplied.</param>
+ /// <summary>Customize the task's behavior.</summary>
+ /// <param name="flags">Flags.</param>
virtual public void SetExeFlags(Efl.ExeFlags flags) {
- Efl.Exe.NativeMethods.efl_exe_flags_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),flags);
+ Efl.Exe.NativeMethods.efl_exe_flags_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),flags);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The final exit signal of this task.</summary>
- /// <returns>The exit signal, or -1 if no exit signal happened</returns>
+ /// <returns>The exit signal, or -1 if no exit signal happened.</returns>
virtual public int GetExitSignal() {
- var _ret_var = Efl.Exe.NativeMethods.efl_exe_exit_signal_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Exe.NativeMethods.efl_exe_exit_signal_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
- /// <summary>Get the object assosiated with this object</summary>
+ /// <summary>If <c>env</c> is <c>null</c> then the process created by this object is going to inherit the environment of this process.
+ /// In case <c>env</c> is not <c>null</c> then the environment variables declared in this object will represent the environment passed to the new process.</summary>
/// <returns><c>env</c> will be referenced until this object does not need it anymore.</returns>
virtual public Efl.Core.Env GetEnv() {
- var _ret_var = Efl.Exe.NativeMethods.efl_exe_env_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Exe.NativeMethods.efl_exe_env_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
- /// <summary>Set the object assosiated with this object</summary>
+ /// <summary>If <c>env</c> is <c>null</c> then the process created by this object is going to inherit the environment of this process.
+ /// In case <c>env</c> is not <c>null</c> then the environment variables declared in this object will represent the environment passed to the new process.</summary>
/// <param name="env"><c>env</c> will be referenced until this object does not need it anymore.</param>
virtual public void SetEnv(Efl.Core.Env env) {
- Efl.Exe.NativeMethods.efl_exe_env_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),env);
+ Efl.Exe.NativeMethods.efl_exe_env_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),env);
Eina.Error.RaiseIfUnhandledException();
}
- /// <param name="sig">Send this signal to the task</param>
+ /// <summary>Send a signal to this task.</summary>
+ /// <param name="sig">Signal number to send.</param>
virtual public void Signal(Efl.ExeSignal sig) {
- Efl.Exe.NativeMethods.efl_exe_signal_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),sig);
+ Efl.Exe.NativeMethods.efl_exe_signal_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),sig);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>A commandline that encodes arguments in a command string. This command is unix shell-style, thus whitespace separates arguments unless escaped. Also a semi-colon ';', ampersand '&', pipe/bar '|', hash '#', bracket, square brace, brace character ('(', ')', '[', ']', '{', '}'), exclamation mark '!', backquote '`', greator or less than ('>' '<') character unless escaped or in quotes would cause args_count/value to not be generated properly, because it would force complex shell interpretation which will not be supported in evaluating the arg_count/value information, but the final shell may interpret this if this is executed via a command-line shell. To not be a complex shell command, it should be simple with paths, options and variable expansions, but nothing more complex involving the above unescaped characters.
///
/// If you set the command the arg_count/value property contents can change and be completely re-evaluated by parsing the command string into an argument array set along with interpreting escapes back into individual argument strings.</summary>
virtual public System.String GetCommand() {
- var _ret_var = Efl.Core.ICommandLineConcrete.NativeMethods.efl_core_command_line_command_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Core.ICommandLineConcrete.NativeMethods.efl_core_command_line_command_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Every element of a string is a argument.</summary>
/// <param name="array">An array where every array field is an argument</param>
/// <returns>On success <c>true</c>, <c>false</c> otherwise</returns>
- virtual public bool SetCommandArray(Eina.Array<System.String> array) {
+ virtual public bool SetCommandArray(Eina.Array<Eina.Stringshare> array) {
var _in_array = array.Handle;
array.Own = false;
array.OwnContent = false;
- var _ret_var = Efl.Core.ICommandLineConcrete.NativeMethods.efl_core_command_line_command_array_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_array);
+ var _ret_var = Efl.Core.ICommandLineConcrete.NativeMethods.efl_core_command_line_command_array_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_array);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="str">A command in form of a string</param>
/// <returns>On success <c>true</c>, <c>false</c> otherwise</returns>
virtual public bool SetCommandString(System.String str) {
- var _ret_var = Efl.Core.ICommandLineConcrete.NativeMethods.efl_core_command_line_command_string_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),str);
+ var _ret_var = Efl.Core.ICommandLineConcrete.NativeMethods.efl_core_command_line_command_string_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),str);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Get the accessor which enables access to each argument that got passed to this object.</summary>
- virtual public Eina.Accessor<System.String> CommandAccess() {
- var _ret_var = Efl.Core.ICommandLineConcrete.NativeMethods.efl_core_command_line_command_access_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ virtual public Eina.Accessor<Eina.Stringshare> CommandAccess() {
+ var _ret_var = Efl.Core.ICommandLineConcrete.NativeMethods.efl_core_command_line_command_access_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Accessor<System.String>(_ret_var, false, false);
+ return new Eina.Accessor<Eina.Stringshare>(_ret_var, false);
}
/// <summary>If true will notify object was closed.
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if closed, <c>false</c> otherwise</returns>
virtual public bool GetClosed() {
- var _ret_var = Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_closed_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_closed_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if close on exec(), <c>false</c> otherwise</returns>
virtual public bool GetCloseOnExec() {
- var _ret_var = Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_close_on_exec_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_close_on_exec_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="close_on_exec"><c>true</c> if close on exec(), <c>false</c> otherwise</param>
/// <returns><c>true</c> if could set, <c>false</c> if not supported or failed.</returns>
virtual public bool SetCloseOnExec(bool close_on_exec) {
- var _ret_var = Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_close_on_exec_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),close_on_exec);
+ var _ret_var = Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_close_on_exec_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),close_on_exec);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if close on invalidate, <c>false</c> otherwise</returns>
virtual public bool GetCloseOnInvalidate() {
- var _ret_var = Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_close_on_invalidate_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_close_on_invalidate_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="close_on_invalidate"><c>true</c> if close on invalidate, <c>false</c> otherwise</param>
virtual public void SetCloseOnInvalidate(bool close_on_invalidate) {
- Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_close_on_invalidate_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),close_on_invalidate);
+ Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_close_on_invalidate_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),close_on_invalidate);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Closes the Input/Output object.
/// (Since EFL 1.22)</summary>
/// <returns>0 on succeed, a mapping of errno otherwise</returns>
virtual public Eina.Error Close() {
- var _ret_var = Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_close_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_close_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if it can be read without blocking or failing, <c>false</c> otherwise</returns>
virtual public bool GetCanRead() {
- var _ret_var = Efl.Io.IReaderConcrete.NativeMethods.efl_io_reader_can_read_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Io.IReaderConcrete.NativeMethods.efl_io_reader_can_read_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="can_read"><c>true</c> if it can be read without blocking or failing, <c>false</c> otherwise</param>
virtual public void SetCanRead(bool can_read) {
- Efl.Io.IReaderConcrete.NativeMethods.efl_io_reader_can_read_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),can_read);
+ Efl.Io.IReaderConcrete.NativeMethods.efl_io_reader_can_read_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),can_read);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>If <c>true</c> will notify end of stream.
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if end of stream, <c>false</c> otherwise</returns>
virtual public bool GetEos() {
- var _ret_var = Efl.Io.IReaderConcrete.NativeMethods.efl_io_reader_eos_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Io.IReaderConcrete.NativeMethods.efl_io_reader_eos_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="is_eos"><c>true</c> if end of stream, <c>false</c> otherwise</param>
virtual public void SetEos(bool is_eos) {
- Efl.Io.IReaderConcrete.NativeMethods.efl_io_reader_eos_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),is_eos);
+ Efl.Io.IReaderConcrete.NativeMethods.efl_io_reader_eos_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),is_eos);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Reads data into a pre-allocated buffer.
/// (Since EFL 1.22)</summary>
/// <param name="rw_slice">Provides a pre-allocated memory to be filled up to rw_slice.len. It will be populated and the length will be set to the actually used amount of bytes, which can be smaller than the request.</param>
/// <returns>0 on succeed, a mapping of errno otherwise</returns>
- virtual public Eina.Error Read(ref Eina.RwSlice rw_slice) {
- var _ret_var = Efl.Io.IReaderConcrete.NativeMethods.efl_io_reader_read_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),ref rw_slice);
+ virtual public Eina.Error Read(ref Eina.RwSlice rw_slice) {
+ var _ret_var = Efl.Io.IReaderConcrete.NativeMethods.efl_io_reader_read_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),ref rw_slice);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if it can be written without blocking or failure, <c>false</c> otherwise</returns>
virtual public bool GetCanWrite() {
- var _ret_var = Efl.Io.IWriterConcrete.NativeMethods.efl_io_writer_can_write_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Io.IWriterConcrete.NativeMethods.efl_io_writer_can_write_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="can_write"><c>true</c> if it can be written without blocking or failure, <c>false</c> otherwise</param>
virtual public void SetCanWrite(bool can_write) {
- Efl.Io.IWriterConcrete.NativeMethods.efl_io_writer_can_write_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),can_write);
+ Efl.Io.IWriterConcrete.NativeMethods.efl_io_writer_can_write_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),can_write);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Writes data from a pre-populated buffer.
/// <param name="slice">Provides a pre-populated memory to be used up to slice.len. The returned slice will be adapted as length will be set to the actually used amount of bytes, which can be smaller than the request.</param>
/// <param name="remaining">Convenience to output the remaining parts of slice that was not written. If the full slice was written, this will be a slice of zero-length.</param>
/// <returns>0 on succeed, a mapping of errno otherwise</returns>
- virtual public Eina.Error Write(ref Eina.Slice slice, ref Eina.Slice remaining) {
- var _ret_var = Efl.Io.IWriterConcrete.NativeMethods.efl_io_writer_write_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),ref slice, ref remaining);
+ virtual public Eina.Error Write(ref Eina.Slice slice, ref Eina.Slice remaining) {
+ var _ret_var = Efl.Io.IWriterConcrete.NativeMethods.efl_io_writer_write_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),ref slice, ref remaining);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
- /// <value>No description supplied.</value>
+ /// <summary>Customize the task's behavior.</summary>
+ /// <value>Flags.</value>
public Efl.ExeFlags ExeFlags {
get { return GetExeFlags(); }
set { SetExeFlags(value); }
}
/// <summary>The final exit signal of this task.</summary>
- /// <value>The exit signal, or -1 if no exit signal happened</value>
+ /// <value>The exit signal, or -1 if no exit signal happened.</value>
public int ExitSignal {
get { return GetExitSignal(); }
}
/// <summary>Use an array to fill this object
/// Every element of a string is a argument.</summary>
/// <value>An array where every array field is an argument</value>
- public Eina.Array<System.String> CommandArray {
+ public Eina.Array<Eina.Stringshare> CommandArray {
set { SetCommandArray(value); }
}
/// <summary>Use a string to fill this object
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- var _in_array = new Eina.Array<System.String>(array, true, true);
+ var _in_array = new Eina.Array<Eina.Stringshare>(array, true, true);
bool _ret_var = default(bool);
try
{
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- Eina.Accessor<System.String> _ret_var = default(Eina.Accessor<System.String>);
+ Eina.Accessor<Eina.Stringshare> _ret_var = default(Eina.Accessor<Eina.Stringshare>);
try
{
_ret_var = ((Exe)ws.Target).CommandAccess();
private static efl_io_reader_eos_set_delegate efl_io_reader_eos_set_static_delegate;
- private delegate Eina.Error efl_io_reader_read_delegate(System.IntPtr obj, System.IntPtr pd, ref Eina.RwSlice rw_slice);
+ private delegate Eina.Error efl_io_reader_read_delegate(System.IntPtr obj, System.IntPtr pd, ref Eina.RwSlice rw_slice);
- public delegate Eina.Error efl_io_reader_read_api_delegate(System.IntPtr obj, ref Eina.RwSlice rw_slice);
+ public delegate Eina.Error efl_io_reader_read_api_delegate(System.IntPtr obj, ref Eina.RwSlice rw_slice);
public static Efl.Eo.FunctionWrapper<efl_io_reader_read_api_delegate> efl_io_reader_read_ptr = new Efl.Eo.FunctionWrapper<efl_io_reader_read_api_delegate>(Module, "efl_io_reader_read");
- private static Eina.Error read(System.IntPtr obj, System.IntPtr pd, ref Eina.RwSlice rw_slice)
+ private static Eina.Error read(System.IntPtr obj, System.IntPtr pd, ref Eina.RwSlice rw_slice)
{
Eina.Log.Debug("function efl_io_reader_read was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
private static efl_io_writer_can_write_set_delegate efl_io_writer_can_write_set_static_delegate;
- private delegate Eina.Error efl_io_writer_write_delegate(System.IntPtr obj, System.IntPtr pd, ref Eina.Slice slice, ref Eina.Slice remaining);
+ private delegate Eina.Error efl_io_writer_write_delegate(System.IntPtr obj, System.IntPtr pd, ref Eina.Slice slice, ref Eina.Slice remaining);
- public delegate Eina.Error efl_io_writer_write_api_delegate(System.IntPtr obj, ref Eina.Slice slice, ref Eina.Slice remaining);
+ public delegate Eina.Error efl_io_writer_write_api_delegate(System.IntPtr obj, ref Eina.Slice slice, ref Eina.Slice remaining);
public static Efl.Eo.FunctionWrapper<efl_io_writer_write_api_delegate> efl_io_writer_write_ptr = new Efl.Eo.FunctionWrapper<efl_io_writer_write_api_delegate>(Module, "efl_io_writer_write");
- private static Eina.Error write(System.IntPtr obj, System.IntPtr pd, ref Eina.Slice slice, ref Eina.Slice remaining)
+ private static Eina.Error write(System.IntPtr obj, System.IntPtr pd, ref Eina.Slice slice, ref Eina.Slice remaining)
{
Eina.Log.Debug("function efl_io_writer_write was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- remaining = default(Eina.Slice); Eina.Error _ret_var = default(Eina.Error);
+ remaining = default( Eina.Slice); Eina.Error _ret_var = default(Eina.Error);
try
{
_ret_var = ((Exe)ws.Target).Write(ref slice, ref remaining);
namespace Efl {
-/// <summary>No description supplied.</summary>
+/// <summary>Signal is a notification, a message sent by either operating system or some application to our program. Signals are a mechanism for one-way asynchronous notifications. A signal may be sent from the kernel to a process, from a process to another process, or from a process to itself. Signal typically alert a process to some event, such as a segmentation fault, or the user pressing Ctrl-C.</summary>
+[Efl.Eo.BindingEntity]
public enum ExeSignal
{
+/// <summary>Terminal interrupt.</summary>
Int = 0,
+/// <summary>Terminal quit.</summary>
Quit = 1,
+/// <summary>Termination.</summary>
Term = 2,
+/// <summary>Kill(can't be caught or ignored).</summary>
Kill = 3,
+/// <summary>Continue executing, if stopped.</summary>
Cont = 4,
+/// <summary>Stop executing(can't be caught or ignored).</summary>
Stop = 5,
+/// <summary>Hangup.</summary>
Hup = 6,
+/// <summary>User defined signal 1.</summary>
Usr1 = 7,
+/// <summary>User defined signal 2.</summary>
Usr2 = 8,
}
namespace Efl {
-/// <summary>No description supplied.</summary>
+/// <summary>Flags to customize task behavior.</summary>
+[Efl.Eo.BindingEntity]
public enum ExeFlags
{
+/// <summary>No special flags.</summary>
None = 0,
+/// <summary>Process will be executed in its own session.</summary>
GroupLeader = 1,
+/// <summary>Exit process when parent process exits.</summary>
ExitWithParent = 2,
+/// <summary>All console IO will be hidden.</summary>
HideIo = 4,
}
/// <summary>Efl file interface
/// (Since EFL 1.22)</summary>
[Efl.IFileConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IFile :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IFileConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_file_mixin_get();
/// <summary>Initializes a new instance of the <see cref="IFile"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IFileConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IFileConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Efl file saving interface
/// (Since EFL 1.22)</summary>
[Efl.IFileSaveConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IFileSave :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IFileSaveConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_file_save_interface_get();
/// <summary>Initializes a new instance of the <see cref="IFileSave"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IFileSaveConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IFileSaveConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Info used to determine various attributes when saving a file.
/// (Since EFL 1.22)</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct FileSaveInfo
{
/// <summary>The quality level (0-100) to save the file with; commonly used when saving image files.</summary>
using System.ComponentModel;
/// <param name="parent">This object can be used to know when to cancel the future.</param>
/// <param name="child">You must reference this object for the duration of your use of it as the caller will not do that for you.</param>
+[Efl.Eo.BindingEntity]
public delegate Eina.Future EflFilterModel(Efl.FilterModel parent, Efl.IModel child);
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Eina.FutureMarshaler))]public delegate Eina.Future EflFilterModelInternal(IntPtr data, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.FilterModel parent, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.IModel child);
internal class EflFilterModelWrapper : IDisposable
/// <summary>Efl model designed to filter its children.</summary>
[Efl.FilterModel.NativeMethods]
+[Efl.Eo.BindingEntity]
public class FilterModel : Efl.CompositeModel
{
///<summary>Pointer to the native class description.</summary>
efl_filter_model_class_get();
/// <summary>Initializes a new instance of the <see cref="FilterModel"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="filterSet">Set a filter function that will catch children from the composited model. See <see cref="Efl.FilterModel.SetFilter"/></param>
- /// <param name="model">Model that is/will be See <see cref="Efl.Ui.IView.SetModel"/></param>
- /// <param name="index">Position of this object in the parent model. See <see cref="Efl.CompositeModel.SetIndex"/></param>
+ /// <param name="filterSet">Set a filter function that will catch children from the composited model. See <see cref="Efl.FilterModel.SetFilter" /></param>
+ /// <param name="model">Model that is/will be See <see cref="Efl.Ui.IView.SetModel" /></param>
+ /// <param name="index">Position of this object in the parent model. See <see cref="Efl.CompositeModel.SetIndex" /></param>
public FilterModel(Efl.Object parent
- , EflFilterModel filterSet, Efl.IModel model, uint? index = null) : base(efl_filter_model_class_get(), typeof(FilterModel), parent)
+ , EflFilterModel filterSet, Efl.IModel model, uint? index = null) : base(efl_filter_model_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(filterSet))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected FilterModel(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="FilterModel"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected FilterModel(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected FilterModel(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="FilterModel"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected FilterModel(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected FilterModel(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <param name="filter">Filter callback</param>
virtual public void SetFilter(EflFilterModel filter) {
GCHandle filter_handle = GCHandle.Alloc(filter);
- Efl.FilterModel.NativeMethods.efl_filter_model_filter_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),GCHandle.ToIntPtr(filter_handle), EflFilterModelWrapper.Cb, Efl.Eo.Globals.free_gchandle);
+ Efl.FilterModel.NativeMethods.efl_filter_model_filter_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),GCHandle.ToIntPtr(filter_handle), EflFilterModelWrapper.Cb, Efl.Eo.Globals.free_gchandle);
Eina.Error.RaiseIfUnhandledException();
}
private static IntPtr GetEflClassStatic()
///
/// It does not model anything in particular and does not affect anything else in the system.</summary>
[Efl.GenericModel.NativeMethods]
+[Efl.Eo.BindingEntity]
public class GenericModel : Efl.LoopModel
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="GenericModel"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public GenericModel(Efl.Object parent= null
- ) : base(efl_generic_model_class_get(), typeof(GenericModel), parent)
+ ) : base(efl_generic_model_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected GenericModel(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="GenericModel"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected GenericModel(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected GenericModel(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="GenericModel"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected GenericModel(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected GenericModel(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
namespace Gesture {
[Efl.Gesture.IEventsConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IEvents :
Efl.Eo.IWrapper, IDisposable
{
event EventHandler<Efl.Gesture.IEventsGestureZoomEvt_Args> GestureZoomEvt;
}
///<summary>Event argument wrapper for event <see cref="Efl.Gesture.IEvents.GestureTapEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IEventsGestureTapEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Canvas.GestureTap arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Gesture.IEvents.GestureDoubleTapEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IEventsGestureDoubleTapEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Canvas.GestureDoubleTap arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Gesture.IEvents.GestureTripleTapEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IEventsGestureTripleTapEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Canvas.GestureTripleTap arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Gesture.IEvents.GestureLongTapEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IEventsGestureLongTapEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Canvas.GestureLongTap arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Gesture.IEvents.GestureMomentumEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IEventsGestureMomentumEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Canvas.GestureMomentum arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Gesture.IEvents.GestureFlickEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IEventsGestureFlickEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Canvas.GestureFlick arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Gesture.IEvents.GestureZoomEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IEventsGestureZoomEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Canvas.GestureZoom arg { get; set; }
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IEventsConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport(efl.Libs.Evas)] internal static extern System.IntPtr
efl_gesture_events_interface_get();
/// <summary>Initializes a new instance of the <see cref="IEvents"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IEventsConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IEventsConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_GESTURE_TAP";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_GESTURE_DOUBLE_TAP";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_GESTURE_TRIPLE_TAP";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_GESTURE_LONG_TAP";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_GESTURE_MOMENTUM";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_GESTURE_FLICK";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_GESTURE_ZOOM";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
/// <summary>Gets the list of Eo operations to override.</summary>
/// <returns>The list of Eo operations to be overload.</returns>
/// <summary>API common to all UI container objects.</summary>
[Efl.Gfx.IArrangementConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IArrangement :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IArrangementConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_gfx_arrangement_interface_get();
/// <summary>Initializes a new instance of the <see cref="IArrangement"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IArrangementConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IArrangementConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>A simple API to apply blur effects.
/// Those API's might use <see cref="Efl.Gfx.IFilter"/> internally. It might be necessary to also specify the color of the blur with <see cref="Efl.Gfx.IColor.GetColor"/>.</summary>
[Efl.Gfx.IBlurConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IBlur :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IBlurConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_gfx_blur_interface_get();
/// <summary>Initializes a new instance of the <see cref="IBlur"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IBlurConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IBlurConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Common APIs for all objects representing images and 2D pixel buffers.</summary>
[Efl.Gfx.IBufferConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IBuffer :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IBufferConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_gfx_buffer_interface_get();
/// <summary>Initializes a new instance of the <see cref="IBuffer"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IBufferConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IBufferConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
namespace Gfx {
/// <summary>Graphics buffer access mode</summary>
+[Efl.Eo.BindingEntity]
public enum BufferAccessMode
{
/// <summary>No buffer access</summary>
/// <summary>Efl Gfx Color mixin class
/// (Since EFL 1.22)</summary>
[Efl.Gfx.IColorConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IColor :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IColorConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_gfx_color_mixin_get();
/// <summary>Initializes a new instance of the <see cref="IColor"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IColorConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IColorConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Efl Gfx Color Class mixin class</summary>
[Efl.Gfx.IColorClassConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IColorClass :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IColorClassConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_gfx_color_class_mixin_get();
/// <summary>Initializes a new instance of the <see cref="IColorClass"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IColorClassConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IColorClassConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Efl graphics interface
/// (Since EFL 1.22)</summary>
[Efl.Gfx.IEntityConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IEntity :
Efl.Eo.IWrapper, IDisposable
{
}
}
///<summary>Event argument wrapper for event <see cref="Efl.Gfx.IEntity.VisibilityChangedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IEntityVisibilityChangedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public bool arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Gfx.IEntity.PositionChangedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IEntityPositionChangedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Eina.Position2D arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Gfx.IEntity.SizeChangedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IEntitySizeChangedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Eina.Size2D arg { get; set; }
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IEntityConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_gfx_entity_interface_get();
/// <summary>Initializes a new instance of the <see cref="IEntity"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IEntityConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IEntityConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_ENTITY_EVENT_VISIBILITY_CHANGED";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_ENTITY_EVENT_POSITION_CHANGED";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_ENTITY_EVENT_SIZE_CHANGED";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Efl graphics fill interface</summary>
[Efl.Gfx.IFillConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IFill :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IFillConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_gfx_fill_interface_get();
/// <summary>Initializes a new instance of the <see cref="IFill"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IFillConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IFillConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
///
/// This was a beta feature since 1.15.</summary>
[Efl.Gfx.IFilterConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IFilter :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IFilterConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_gfx_filter_interface_get();
/// <summary>Initializes a new instance of the <see cref="IFilter"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IFilterConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IFilterConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Efl frame controller of frame based animated object interface.</summary>
[Efl.Gfx.IFrameControllerConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IFrameController :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IFrameControllerConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_gfx_frame_controller_interface_get();
/// <summary>Initializes a new instance of the <see cref="IFrameController"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IFrameControllerConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IFrameControllerConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
namespace Gfx {
/// <summary>Frame loop modes</summary>
+[Efl.Eo.BindingEntity]
public enum FrameControllerLoopHint
{
/// <summary>No looping order specified.</summary>
/// <summary>Efl graphics gradient interface</summary>
[Efl.Gfx.IGradientConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IGradient :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IGradientConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_gfx_gradient_interface_get();
/// <summary>Initializes a new instance of the <see cref="IGradient"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IGradientConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IGradientConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Efl graphics gradient linear interface</summary>
[Efl.Gfx.IGradientLinearConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IGradientLinear :
Efl.Gfx.IGradient ,
Efl.Eo.IWrapper, IDisposable
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IGradientLinearConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_gfx_gradient_linear_interface_get();
/// <summary>Initializes a new instance of the <see cref="IGradientLinear"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IGradientLinearConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IGradientLinearConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Efl graphics gradient radial interface</summary>
[Efl.Gfx.IGradientRadialConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IGradientRadial :
Efl.Gfx.IGradient ,
Efl.Eo.IWrapper, IDisposable
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IGradientRadialConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_gfx_gradient_radial_interface_get();
/// <summary>Initializes a new instance of the <see cref="IGradientRadial"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IGradientRadialConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IGradientRadialConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Efl graphics hint interface
/// (Since EFL 1.22)</summary>
[Efl.Gfx.IHintConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IHint :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IHintConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_gfx_hint_interface_get();
/// <summary>Initializes a new instance of the <see cref="IHint"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IHintConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IHintConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_ENTITY_EVENT_HINTS_CHANGED";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Common APIs for all 2D images that can be rendered on the canvas.</summary>
[Efl.Gfx.IImageConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IImage :
Efl.Eo.IWrapper, IDisposable
{
/// <summary>Returns 1.0 if not applicable (eg. height = 0).</summary>
/// <returns>The image's ratio.</returns>
double GetRatio();
+ /// <summary>Return the relative area enclosed inside the image where content is expected.
+/// We do expect content to be inside the limit defined by the border or inside the stretch region. If a stretch region is provided, the content region will encompass the non strechable area that are surrounded by stretchable area. If no border and no stretch region is set, they are assumed to be zero and the full object geometry is where content can be layout on top. The area size change with the object size.
+///
+/// The geometry of the area is expressed relative to the geometry of the object.</summary>
+/// <returns>A rectangle inside the object boundary that where content is expected.</returns>
+Eina.Rect GetContentRegion();
/// <summary>Dimensions of this image's border, a region that does not scale with the center area.
/// When EFL renders an image, its source may be scaled to fit the size of the object. This function sets an area from the borders of the image inwards which is not to be scaled. This function is useful for making frames and for widget theming, where, for example, buttons may be of varying sizes, but their border size must remain constant.
///
/// The default value is <see cref="Efl.Gfx.BorderFillMode.Default"/>, ie. render and scale the center area, respecting its transparency.</summary>
/// <param name="fill">Fill mode of the center region.</param>
void SetBorderCenterFill(Efl.Gfx.BorderFillMode fill);
+ /// <summary>This property defines the stretchable pixels region of an image.
+/// When the regions are set by the user, the method will walk the iterators once and then destroy them. When the regions are retrieved by the user, it is his responsibility to destroy the iterators.. It will remember the information for the lifetime of the object. It will ignore all value of <see cref="Efl.Gfx.IImage.GetBorder"/>, <see cref="Efl.Gfx.IImage.BorderScale"/> and <see cref="Efl.Gfx.IImage.BorderCenterFill"/> . To reset the object you can just pass <c>null</c> to both horizontal and vertical at the same time.</summary>
+/// <param name="horizontal">Representation of area that are stretchable in the image horizontal space.</param>
+/// <param name="vertical">Representation of area that are stretchable in the image vertical space.</param>
+void GetStretchRegion(out Eina.Iterator<Efl.Gfx.Image.StretchRegion> horizontal, out Eina.Iterator<Efl.Gfx.Image.StretchRegion> vertical);
+ /// <summary>This property defines the stretchable pixels region of an image.
+/// When the regions are set by the user, the method will walk the iterators once and then destroy them. When the regions are retrieved by the user, it is his responsibility to destroy the iterators.. It will remember the information for the lifetime of the object. It will ignore all value of <see cref="Efl.Gfx.IImage.GetBorder"/>, <see cref="Efl.Gfx.IImage.BorderScale"/> and <see cref="Efl.Gfx.IImage.BorderCenterFill"/> . To reset the object you can just pass <c>null</c> to both horizontal and vertical at the same time.</summary>
+/// <param name="horizontal">Representation of area that are stretchable in the image horizontal space.</param>
+/// <param name="vertical">Representation of area that are stretchable in the image vertical space.</param>
+/// <returns>return an error code if the stretch_region provided are incorrect.</returns>
+Eina.Error SetStretchRegion(Eina.Iterator<Efl.Gfx.Image.StretchRegion> horizontal, Eina.Iterator<Efl.Gfx.Image.StretchRegion> vertical);
/// <summary>This represents the size of the original image in pixels.
/// This may be different from the actual geometry on screen or even the size of the loaded pixel buffer. This is the size of the image as stored in the original file.
///
/// <summary>Gets the (last) file loading error for a given object.</summary>
/// <returns>The load error code.</returns>
Eina.Error GetImageLoadError();
- /// <summary>Image data has been preloaded.</summary>
+ /// <summary>Image data has been preloaded.</summary>
event EventHandler ImagePreloadEvt;
/// <summary>Image was resized (its pixel data).</summary>
event EventHandler ImageResizeEvt;
double Ratio {
get ;
}
+ /// <summary>Return the relative area enclosed inside the image where content is expected.
+ /// We do expect content to be inside the limit defined by the border or inside the stretch region. If a stretch region is provided, the content region will encompass the non strechable area that are surrounded by stretchable area. If no border and no stretch region is set, they are assumed to be zero and the full object geometry is where content can be layout on top. The area size change with the object size.
+ ///
+ /// The geometry of the area is expressed relative to the geometry of the object.</summary>
+ /// <value>A rectangle inside the object boundary that where content is expected.</value>
+ Eina.Rect ContentRegion {
+ get ;
+ }
/// <summary>Scaling factor applied to the image borders.
/// This value multiplies the size of the <see cref="Efl.Gfx.IImage.GetBorder"/> when scaling an object.
///
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IImageConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_gfx_image_interface_get();
/// <summary>Initializes a new instance of the <see cref="IImage"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IImageConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IImageConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_PRELOAD";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_RESIZE";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_UNLOAD";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_ratio_get_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
+ }
+ /// <summary>Return the relative area enclosed inside the image where content is expected.
+ /// We do expect content to be inside the limit defined by the border or inside the stretch region. If a stretch region is provided, the content region will encompass the non strechable area that are surrounded by stretchable area. If no border and no stretch region is set, they are assumed to be zero and the full object geometry is where content can be layout on top. The area size change with the object size.
+ ///
+ /// The geometry of the area is expressed relative to the geometry of the object.</summary>
+ /// <returns>A rectangle inside the object boundary that where content is expected.</returns>
+ public Eina.Rect GetContentRegion() {
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_content_region_get_ptr.Value.Delegate(this.NativeHandle);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
}
/// <summary>Dimensions of this image's border, a region that does not scale with the center area.
/// When EFL renders an image, its source may be scaled to fit the size of the object. This function sets an area from the borders of the image inwards which is not to be scaled. This function is useful for making frames and for widget theming, where, for example, buttons may be of varying sizes, but their border size must remain constant.
Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_center_fill_set_ptr.Value.Delegate(this.NativeHandle,fill);
Eina.Error.RaiseIfUnhandledException();
}
+ /// <summary>This property defines the stretchable pixels region of an image.
+ /// When the regions are set by the user, the method will walk the iterators once and then destroy them. When the regions are retrieved by the user, it is his responsibility to destroy the iterators.. It will remember the information for the lifetime of the object. It will ignore all value of <see cref="Efl.Gfx.IImage.GetBorder"/>, <see cref="Efl.Gfx.IImage.BorderScale"/> and <see cref="Efl.Gfx.IImage.BorderCenterFill"/> . To reset the object you can just pass <c>null</c> to both horizontal and vertical at the same time.</summary>
+ /// <param name="horizontal">Representation of area that are stretchable in the image horizontal space.</param>
+ /// <param name="vertical">Representation of area that are stretchable in the image vertical space.</param>
+ public void GetStretchRegion(out Eina.Iterator<Efl.Gfx.Image.StretchRegion> horizontal, out Eina.Iterator<Efl.Gfx.Image.StretchRegion> vertical) {
+ System.IntPtr _out_horizontal = System.IntPtr.Zero;
+ System.IntPtr _out_vertical = System.IntPtr.Zero;
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_stretch_region_get_ptr.Value.Delegate(this.NativeHandle,out _out_horizontal, out _out_vertical);
+ Eina.Error.RaiseIfUnhandledException();
+ horizontal = new Eina.Iterator<Efl.Gfx.Image.StretchRegion>(_out_horizontal, false);
+ vertical = new Eina.Iterator<Efl.Gfx.Image.StretchRegion>(_out_vertical, false);
+ }
+ /// <summary>This property defines the stretchable pixels region of an image.
+ /// When the regions are set by the user, the method will walk the iterators once and then destroy them. When the regions are retrieved by the user, it is his responsibility to destroy the iterators.. It will remember the information for the lifetime of the object. It will ignore all value of <see cref="Efl.Gfx.IImage.GetBorder"/>, <see cref="Efl.Gfx.IImage.BorderScale"/> and <see cref="Efl.Gfx.IImage.BorderCenterFill"/> . To reset the object you can just pass <c>null</c> to both horizontal and vertical at the same time.</summary>
+ /// <param name="horizontal">Representation of area that are stretchable in the image horizontal space.</param>
+ /// <param name="vertical">Representation of area that are stretchable in the image vertical space.</param>
+ /// <returns>return an error code if the stretch_region provided are incorrect.</returns>
+ public Eina.Error SetStretchRegion(Eina.Iterator<Efl.Gfx.Image.StretchRegion> horizontal, Eina.Iterator<Efl.Gfx.Image.StretchRegion> vertical) {
+ var _in_horizontal = horizontal.Handle;
+ var _in_vertical = vertical.Handle;
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_stretch_region_set_ptr.Value.Delegate(this.NativeHandle,_in_horizontal, _in_vertical);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
/// <summary>This represents the size of the original image in pixels.
/// This may be different from the actual geometry on screen or even the size of the loaded pixel buffer. This is the size of the image as stored in the original file.
///
public double Ratio {
get { return GetRatio(); }
}
+ /// <summary>Return the relative area enclosed inside the image where content is expected.
+ /// We do expect content to be inside the limit defined by the border or inside the stretch region. If a stretch region is provided, the content region will encompass the non strechable area that are surrounded by stretchable area. If no border and no stretch region is set, they are assumed to be zero and the full object geometry is where content can be layout on top. The area size change with the object size.
+ ///
+ /// The geometry of the area is expressed relative to the geometry of the object.</summary>
+ /// <value>A rectangle inside the object boundary that where content is expected.</value>
+ public Eina.Rect ContentRegion {
+ get { return GetContentRegion(); }
+ }
/// <summary>Scaling factor applied to the image borders.
/// This value multiplies the size of the <see cref="Efl.Gfx.IImage.GetBorder"/> when scaling an object.
///
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_ratio_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_ratio_get_static_delegate) });
}
+ if (efl_gfx_image_content_region_get_static_delegate == null)
+ {
+ efl_gfx_image_content_region_get_static_delegate = new efl_gfx_image_content_region_get_delegate(content_region_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetContentRegion") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_content_region_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_content_region_get_static_delegate) });
+ }
+
if (efl_gfx_image_border_get_static_delegate == null)
{
efl_gfx_image_border_get_static_delegate = new efl_gfx_image_border_get_delegate(border_get);
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_border_center_fill_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_border_center_fill_set_static_delegate) });
}
+ if (efl_gfx_image_stretch_region_get_static_delegate == null)
+ {
+ efl_gfx_image_stretch_region_get_static_delegate = new efl_gfx_image_stretch_region_get_delegate(stretch_region_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetStretchRegion") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_stretch_region_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_stretch_region_get_static_delegate) });
+ }
+
+ if (efl_gfx_image_stretch_region_set_static_delegate == null)
+ {
+ efl_gfx_image_stretch_region_set_static_delegate = new efl_gfx_image_stretch_region_set_delegate(stretch_region_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetStretchRegion") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_stretch_region_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_stretch_region_set_static_delegate) });
+ }
+
if (efl_gfx_image_size_get_static_delegate == null)
{
efl_gfx_image_size_get_static_delegate = new efl_gfx_image_size_get_delegate(image_size_get);
private static efl_gfx_image_ratio_get_delegate efl_gfx_image_ratio_get_static_delegate;
+ private delegate Eina.Rect.NativeStruct efl_gfx_image_content_region_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate Eina.Rect.NativeStruct efl_gfx_image_content_region_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_content_region_get_api_delegate> efl_gfx_image_content_region_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_content_region_get_api_delegate>(Module, "efl_gfx_image_content_region_get");
+
+ private static Eina.Rect.NativeStruct content_region_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_gfx_image_content_region_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Rect _ret_var = default(Eina.Rect);
+ try
+ {
+ _ret_var = ((IImage)ws.Target).GetContentRegion();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_gfx_image_content_region_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_gfx_image_content_region_get_delegate efl_gfx_image_content_region_get_static_delegate;
+
+
private delegate void efl_gfx_image_border_get_delegate(System.IntPtr obj, System.IntPtr pd, out int l, out int r, out int t, out int b);
private static efl_gfx_image_border_center_fill_set_delegate efl_gfx_image_border_center_fill_set_static_delegate;
+ private delegate void efl_gfx_image_stretch_region_get_delegate(System.IntPtr obj, System.IntPtr pd, out System.IntPtr horizontal, out System.IntPtr vertical);
+
+
+ public delegate void efl_gfx_image_stretch_region_get_api_delegate(System.IntPtr obj, out System.IntPtr horizontal, out System.IntPtr vertical);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_stretch_region_get_api_delegate> efl_gfx_image_stretch_region_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_stretch_region_get_api_delegate>(Module, "efl_gfx_image_stretch_region_get");
+
+ private static void stretch_region_get(System.IntPtr obj, System.IntPtr pd, out System.IntPtr horizontal, out System.IntPtr vertical)
+ {
+ Eina.Log.Debug("function efl_gfx_image_stretch_region_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Iterator<Efl.Gfx.Image.StretchRegion> _out_horizontal = default(Eina.Iterator<Efl.Gfx.Image.StretchRegion>);
+ Eina.Iterator<Efl.Gfx.Image.StretchRegion> _out_vertical = default(Eina.Iterator<Efl.Gfx.Image.StretchRegion>);
+
+ try
+ {
+ ((IImage)ws.Target).GetStretchRegion(out _out_horizontal, out _out_vertical);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ horizontal = _out_horizontal.Handle;
+ vertical = _out_vertical.Handle;
+
+ }
+ else
+ {
+ efl_gfx_image_stretch_region_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out horizontal, out vertical);
+ }
+ }
+
+ private static efl_gfx_image_stretch_region_get_delegate efl_gfx_image_stretch_region_get_static_delegate;
+
+
+ private delegate Eina.Error efl_gfx_image_stretch_region_set_delegate(System.IntPtr obj, System.IntPtr pd, System.IntPtr horizontal, System.IntPtr vertical);
+
+
+ public delegate Eina.Error efl_gfx_image_stretch_region_set_api_delegate(System.IntPtr obj, System.IntPtr horizontal, System.IntPtr vertical);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_stretch_region_set_api_delegate> efl_gfx_image_stretch_region_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_stretch_region_set_api_delegate>(Module, "efl_gfx_image_stretch_region_set");
+
+ private static Eina.Error stretch_region_set(System.IntPtr obj, System.IntPtr pd, System.IntPtr horizontal, System.IntPtr vertical)
+ {
+ Eina.Log.Debug("function efl_gfx_image_stretch_region_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ var _in_horizontal = new Eina.Iterator<Efl.Gfx.Image.StretchRegion>(horizontal, false);
+ var _in_vertical = new Eina.Iterator<Efl.Gfx.Image.StretchRegion>(vertical, false);
+ Eina.Error _ret_var = default(Eina.Error);
+ try
+ {
+ _ret_var = ((IImage)ws.Target).SetStretchRegion(_in_horizontal, _in_vertical);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_gfx_image_stretch_region_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), horizontal, vertical);
+ }
+ }
+
+ private static efl_gfx_image_stretch_region_set_delegate efl_gfx_image_stretch_region_set_static_delegate;
+
+
private delegate Eina.Size2D.NativeStruct efl_gfx_image_size_get_delegate(System.IntPtr obj, System.IntPtr pd);
namespace Gfx {
/// <summary>How an image's data is to be treated by EFL, for optimization.</summary>
+[Efl.Eo.BindingEntity]
public enum ImageContentHint
{
/// <summary>No hint on the content (default).</summary>
namespace Gfx {
/// <summary>How an image's data is to be treated by EFL, with regard to scaling cache.</summary>
+[Efl.Eo.BindingEntity]
public enum ImageScaleHint
{
/// <summary>No hint on the scaling (default).</summary>
namespace Gfx {
/// <summary>Enumeration that defines scale types of an image.</summary>
+[Efl.Eo.BindingEntity]
public enum ImageScaleType
{
/// <summary>Scale the image so that it matches the object's area exactly. The image's aspect ratio might be changed.</summary>
}
+namespace Efl {
+
+namespace Gfx {
+
+namespace Image {
+
+/// <summary>This struct holds the description of a stretchable region in one dimension (vertical or horizontal). Used when scaling an image.
+/// <c>offset</c> + <c>length</c> should be smaller than image size in that dimension.</summary>
+[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
+public struct StretchRegion
+{
+ /// <summary>First pixel of the stretchable region, starting at 0.</summary>
+ public uint Offset;
+ /// <summary>Length of the stretchable region in pixels.</summary>
+ public uint Length;
+ ///<summary>Constructor for StretchRegion.</summary>
+ public StretchRegion(
+ uint Offset = default(uint),
+ uint Length = default(uint) )
+ {
+ this.Offset = Offset;
+ this.Length = Length;
+ }
+
+ ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
+ ///<param name="ptr">Native pointer to be converted.</param>
+ public static implicit operator StretchRegion(IntPtr ptr)
+ {
+ var tmp = (StretchRegion.NativeStruct)Marshal.PtrToStructure(ptr, typeof(StretchRegion.NativeStruct));
+ return tmp;
+ }
+
+ #pragma warning disable CS1591
+
+ ///<summary>Internal wrapper for struct StretchRegion.</summary>
+ [StructLayout(LayoutKind.Sequential)]
+ public struct NativeStruct
+ {
+
+ public uint Offset;
+
+ public uint Length;
+ ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ public static implicit operator StretchRegion.NativeStruct(StretchRegion _external_struct)
+ {
+ var _internal_struct = new StretchRegion.NativeStruct();
+ _internal_struct.Offset = _external_struct.Offset;
+ _internal_struct.Length = _external_struct.Length;
+ return _internal_struct;
+ }
+
+ ///<summary>Implicit conversion to the managed representation.</summary>
+ public static implicit operator StretchRegion(StretchRegion.NativeStruct _internal_struct)
+ {
+ var _external_struct = new StretchRegion();
+ _external_struct.Offset = _internal_struct.Offset;
+ _external_struct.Length = _internal_struct.Length;
+ return _external_struct;
+ }
+
+ }
+
+ #pragma warning restore CS1591
+
+}
+
+}
+
+}
+
+}
+
/// <summary>Common APIs for all loadable 2D images.</summary>
[Efl.Gfx.IImageLoadControllerConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IImageLoadController :
Efl.Eo.IWrapper, IDisposable
{
}
}
///<summary>Event argument wrapper for event <see cref="Efl.Gfx.IImageLoadController.LoadErrorEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IImageLoadControllerLoadErrorEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Eina.Error arg { get; set; }
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IImageLoadControllerConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_gfx_image_load_controller_interface_get();
/// <summary>Initializes a new instance of the <see cref="IImageLoadController"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IImageLoadControllerConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IImageLoadControllerConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_IMAGE_LOAD_CONTROLLER_EVENT_LOAD_DONE";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_IMAGE_LOAD_CONTROLLER_EVENT_LOAD_ERROR";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Interface for objects which can be oriented.</summary>
[Efl.Gfx.IImageOrientableConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IImageOrientable :
Efl.Eo.IWrapper, IDisposable
{
/// <summary>Control the orientation (rotation and flipping) of a visual object.
/// This can be used to set the rotation on an image or a window, for instance.</summary>
/// <returns>The final orientation of the object.</returns>
-Efl.Gfx.ImageOrientation GetOrientation();
+Efl.Gfx.ImageOrientation GetImageOrientation();
/// <summary>Control the orientation (rotation and flipping) of a visual object.
/// This can be used to set the rotation on an image or a window, for instance.</summary>
/// <param name="dir">The final orientation of the object.</param>
-void SetOrientation(Efl.Gfx.ImageOrientation dir);
+void SetImageOrientation(Efl.Gfx.ImageOrientation dir);
/// <summary>Control the orientation (rotation and flipping) of a visual object.
/// This can be used to set the rotation on an image or a window, for instance.</summary>
/// <value>The final orientation of the object.</value>
- Efl.Gfx.ImageOrientation Orientation {
+ Efl.Gfx.ImageOrientation ImageOrientation {
get ;
set ;
}
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IImageOrientableConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_gfx_image_orientable_interface_get();
/// <summary>Initializes a new instance of the <see cref="IImageOrientable"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IImageOrientableConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IImageOrientableConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Control the orientation (rotation and flipping) of a visual object.
/// This can be used to set the rotation on an image or a window, for instance.</summary>
/// <returns>The final orientation of the object.</returns>
- public Efl.Gfx.ImageOrientation GetOrientation() {
+ public Efl.Gfx.ImageOrientation GetImageOrientation() {
var _ret_var = Efl.Gfx.IImageOrientableConcrete.NativeMethods.efl_gfx_image_orientation_get_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
/// <summary>Control the orientation (rotation and flipping) of a visual object.
/// This can be used to set the rotation on an image or a window, for instance.</summary>
/// <param name="dir">The final orientation of the object.</param>
- public void SetOrientation(Efl.Gfx.ImageOrientation dir) {
+ public void SetImageOrientation(Efl.Gfx.ImageOrientation dir) {
Efl.Gfx.IImageOrientableConcrete.NativeMethods.efl_gfx_image_orientation_set_ptr.Value.Delegate(this.NativeHandle,dir);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control the orientation (rotation and flipping) of a visual object.
/// This can be used to set the rotation on an image or a window, for instance.</summary>
/// <value>The final orientation of the object.</value>
- public Efl.Gfx.ImageOrientation Orientation {
- get { return GetOrientation(); }
- set { SetOrientation(value); }
+ public Efl.Gfx.ImageOrientation ImageOrientation {
+ get { return GetImageOrientation(); }
+ set { SetImageOrientation(value); }
}
private static IntPtr GetEflClassStatic()
{
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
if (efl_gfx_image_orientation_get_static_delegate == null)
{
- efl_gfx_image_orientation_get_static_delegate = new efl_gfx_image_orientation_get_delegate(orientation_get);
+ efl_gfx_image_orientation_get_static_delegate = new efl_gfx_image_orientation_get_delegate(image_orientation_get);
}
- if (methods.FirstOrDefault(m => m.Name == "GetOrientation") != null)
+ if (methods.FirstOrDefault(m => m.Name == "GetImageOrientation") != null)
{
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_orientation_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_orientation_get_static_delegate) });
}
if (efl_gfx_image_orientation_set_static_delegate == null)
{
- efl_gfx_image_orientation_set_static_delegate = new efl_gfx_image_orientation_set_delegate(orientation_set);
+ efl_gfx_image_orientation_set_static_delegate = new efl_gfx_image_orientation_set_delegate(image_orientation_set);
}
- if (methods.FirstOrDefault(m => m.Name == "SetOrientation") != null)
+ if (methods.FirstOrDefault(m => m.Name == "SetImageOrientation") != null)
{
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_orientation_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_orientation_set_static_delegate) });
}
public static Efl.Eo.FunctionWrapper<efl_gfx_image_orientation_get_api_delegate> efl_gfx_image_orientation_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_orientation_get_api_delegate>(Module, "efl_gfx_image_orientation_get");
- private static Efl.Gfx.ImageOrientation orientation_get(System.IntPtr obj, System.IntPtr pd)
+ private static Efl.Gfx.ImageOrientation image_orientation_get(System.IntPtr obj, System.IntPtr pd)
{
Eina.Log.Debug("function efl_gfx_image_orientation_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
Efl.Gfx.ImageOrientation _ret_var = default(Efl.Gfx.ImageOrientation);
try
{
- _ret_var = ((IImageOrientable)ws.Target).GetOrientation();
+ _ret_var = ((IImageOrientable)ws.Target).GetImageOrientation();
}
catch (Exception e)
{
public static Efl.Eo.FunctionWrapper<efl_gfx_image_orientation_set_api_delegate> efl_gfx_image_orientation_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_orientation_set_api_delegate>(Module, "efl_gfx_image_orientation_set");
- private static void orientation_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.ImageOrientation dir)
+ private static void image_orientation_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.ImageOrientation dir)
{
Eina.Log.Debug("function efl_gfx_image_orientation_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
try
{
- ((IImageOrientable)ws.Target).SetOrientation(dir);
+ ((IImageOrientable)ws.Target).SetImageOrientation(dir);
}
catch (Exception e)
{
/// <summary>An orientation type, to rotate and flip images.
/// This is similar to EXIF's orientation. Directional values (<c>up</c>, <c>down</c>, <c>left</c>, <c>right</c>) indicate the final direction in which the top of the image will be facing (e.g. a picture of a house will have its roof pointing to the right if the <c>right</c> orientation is used). Flipping values (<c>flip_horizontal</c> and <c>flip_vertical</c>) can be additionaly added to produce a mirroring in each axis. Not to be confused with <see cref="Efl.Ui.LayoutOrientation"/> which is meant for widgets, rather than images and canvases. This enum is used to rotate images, videos and the like.</summary>
+[Efl.Eo.BindingEntity]
public enum ImageOrientation
{
/// <summary>Default, same as up, do not rotate.</summary>
/// At the moment of writing, maps can only have 4 points (no more, no less).
/// (Since EFL 1.22)</summary>
[Efl.Gfx.IMappingConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IMapping :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IMappingConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport(efl.Libs.Evas)] internal static extern System.IntPtr
efl_gfx_mapping_mixin_get();
/// <summary>Initializes a new instance of the <see cref="IMapping"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IMappingConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IMappingConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Evas);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>EFL graphics path object interface</summary>
[Efl.Gfx.IPathConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IPath :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IPathConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_gfx_path_mixin_get();
/// <summary>Initializes a new instance of the <see cref="IPath"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IPathConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IPathConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>EFL graphics shape object interface</summary>
[Efl.Gfx.IShapeConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IShape :
Efl.Gfx.IPath ,
Efl.Eo.IWrapper, IDisposable
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IShapeConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_gfx_shape_mixin_get();
/// <summary>Initializes a new instance of the <see cref="IShape"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IShapeConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IShapeConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Efl Gfx Size Class interface</summary>
[Efl.Gfx.ISizeClassConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface ISizeClass :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private ISizeClassConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_gfx_size_class_interface_get();
/// <summary>Initializes a new instance of the <see cref="ISizeClass"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private ISizeClassConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private ISizeClassConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Efl graphics stack interface
/// (Since EFL 1.22)</summary>
[Efl.Gfx.IStackConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IStack :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IStackConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_gfx_stack_interface_get();
/// <summary>Initializes a new instance of the <see cref="IStack"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IStackConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IStackConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_ENTITY_EVENT_STACKING_CHANGED";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Efl Gfx Text Class interface</summary>
[Efl.Gfx.ITextClassConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface ITextClass :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private ITextClassConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_gfx_text_class_interface_get();
/// <summary>Initializes a new instance of the <see cref="ITextClass"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private ITextClassConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private ITextClassConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
namespace Gfx {
/// <summary>Graphics colorspace type</summary>
+[Efl.Eo.BindingEntity]
public enum Colorspace
{
/// <summary>ARGB 32 bits per pixel, high-byte is Alpha, accessed one 32bit word at a time.</summary>
namespace Gfx {
/// <summary>Graphics render operation mode</summary>
+[Efl.Eo.BindingEntity]
public enum RenderOp
{
/// <summary>Alpha blending onto destination (default); d = d*(1-sa) + s.</summary>
/// <summary>These values determine how the points are interpreted in a stream of points.
/// (Since EFL 1.14)</summary>
+[Efl.Eo.BindingEntity]
public enum PathCommandType
{
/// <summary>The end of stream , no more points to process.</summary>
/// <summary>These values determine how the end of opened sub-paths are rendered in a stroke. <see cref="Efl.Gfx.IShape.SetStrokeCap"/>
/// (Since EFL 1.14)</summary>
+[Efl.Eo.BindingEntity]
public enum Cap
{
/// <summary>The end of lines is rendered as a full stop on the last point itself.</summary>
/// <summary>These values determine how two joining lines are rendered in a stroker. <see cref="Efl.Gfx.IShape.SetStrokeJoin"/>
/// (Since EFL 1.14)</summary>
+[Efl.Eo.BindingEntity]
public enum Join
{
/// <summary>Used to render rounded line joins. Circular arcs are used to join two lines smoothly.</summary>
/// <summary>Specifies how the area outside the gradient area should be filled. <see cref="Efl.Gfx.IGradient.SetSpread"/>
/// (Since EFL 1.14)</summary>
+[Efl.Eo.BindingEntity]
public enum GradientSpread
{
/// <summary>The area is filled with the closest stop color. This is the default.</summary>
/// <summary>Type defining how an image content get filled.
/// (Since EFL 1.14)</summary>
+[Efl.Eo.BindingEntity]
public enum FillRule
{
/// <summary>Draw a horizontal line from the point to a location outside the shape. Determine whether the direction of the line at each intersection point is up or down. The winding number is determined by summing the direction of each intersection. If the number is non zero, the point is inside the shape. This mode is the default</summary>
namespace Gfx {
/// <summary>How an image's center region (the complement to the border region) should be rendered by EFL</summary>
+[Efl.Eo.BindingEntity]
public enum BorderFillMode
{
/// <summary>Image's center region is <c>not</c> to be rendered</summary>
/// <summary>What property got changed for this object
/// (Since EFL 1.18)</summary>
+[Efl.Eo.BindingEntity]
public enum ChangeFlag
{
/// <summary>Nothing changed.</summary>
/// <summary>Aspect types/policies for scaling size hints.
/// See also <see cref="Efl.Gfx.IHint.GetHintAspect"/>.</summary>
+[Efl.Eo.BindingEntity]
public enum HintAspect
{
/// <summary>No preference on either direction of the container for aspect ratio control.</summary>
namespace Gfx {
/// <summary>Efl Gfx Color Class layer enum</summary>
+[Efl.Eo.BindingEntity]
public enum ColorClassLayer
{
/// <summary>Default color</summary>
/// <summary>Type describing dash. <see cref="Efl.Gfx.IShape.GetStrokeDash"/>
/// (Since EFL 1.14)</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct Dash
{
/// <summary>Dash drawing length.</summary>
/// <summary>Type defining gradient stops. Describes the location and color of a transition point in a gradient.
/// (Since EFL 1.14)</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct GradientStop
{
/// <summary>The location of the gradient stop within the gradient vector</summary>
/// <summary>Internal structure for <see cref="Efl.Gfx.Stroke"/>.</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct StrokeColor
{
/// <summary>The component R color of the stroke</summary>
/// <summary>Type defining stroke information. Describes the properties to define the path stroke.
/// (Since EFL 1.14)</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct Stroke
{
/// <summary>Stroke scale</summary>
/// <summary>Public shape</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct ShapePublic
{
/// <summary>Internal representation as stroke</summary>
/// <summary>Data sent along a "render,post" event, after a frame has been rendered.</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct RenderPost
{
/// <summary>A list of rectangles that were updated in the canvas.</summary>
/// <summary>Efl graphics view interface</summary>
[Efl.Gfx.IViewConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IView :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IViewConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_gfx_view_interface_get();
/// <summary>Initializes a new instance of the <see cref="IView"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IViewConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IViewConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Represents a pointing device such as a touch finger, pen or mouse.</summary>
[Efl.Input.Device.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Device : Efl.Object
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="Device"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public Device(Efl.Object parent= null
- ) : base(efl_input_device_class_get(), typeof(Device), parent)
+ ) : base(efl_input_device_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Device(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Device"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Device(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Device(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Device"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Device(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Device(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>Device type property</summary>
/// <returns>Input device class</returns>
virtual public Efl.Input.DeviceType GetDeviceType() {
- var _ret_var = Efl.Input.Device.NativeMethods.efl_input_device_type_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.Device.NativeMethods.efl_input_device_type_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Device type property</summary>
/// <param name="klass">Input device class</param>
virtual public void SetDeviceType(Efl.Input.DeviceType klass) {
- Efl.Input.Device.NativeMethods.efl_input_device_type_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),klass);
+ Efl.Input.Device.NativeMethods.efl_input_device_type_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),klass);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Device source property</summary>
/// <returns>Input device</returns>
virtual public Efl.Input.Device GetSource() {
- var _ret_var = Efl.Input.Device.NativeMethods.efl_input_device_source_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.Device.NativeMethods.efl_input_device_source_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Device source property</summary>
/// <param name="src">Input device</param>
virtual public void SetSource(Efl.Input.Device src) {
- Efl.Input.Device.NativeMethods.efl_input_device_source_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),src);
+ Efl.Input.Device.NativeMethods.efl_input_device_source_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),src);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the <see cref="Efl.Input.Device"/> that represents a seat.
/// In case no seat is found, <c>null</c> is returned.</summary>
/// <returns>The seat this device belongs to.</returns>
virtual public Efl.Input.Device GetSeat() {
- var _ret_var = Efl.Input.Device.NativeMethods.efl_input_device_seat_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.Device.NativeMethods.efl_input_device_seat_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Seat id number</summary>
/// <returns>The id of the seat</returns>
virtual public uint GetSeatId() {
- var _ret_var = Efl.Input.Device.NativeMethods.efl_input_device_seat_id_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.Device.NativeMethods.efl_input_device_seat_id_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Seat id number</summary>
/// <param name="id">The id of the seat</param>
virtual public void SetSeatId(uint id) {
- Efl.Input.Device.NativeMethods.efl_input_device_seat_id_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),id);
+ Efl.Input.Device.NativeMethods.efl_input_device_seat_id_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),id);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The number of pointer devices in this seat.
/// Pointer devices are the ones whose <see cref="Efl.Input.Device.DeviceType"/> is <c>mouse</c>, <c>pen</c>, <c>touch</c> or <c>wand</c>. In case this device is not of the type <c>seat</c>, -1 is returned.</summary>
/// <returns>The number of pointer devices.</returns>
virtual public int GetPointerDeviceCount() {
- var _ret_var = Efl.Input.Device.NativeMethods.efl_input_device_pointer_device_count_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.Device.NativeMethods.efl_input_device_pointer_device_count_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary><c>true</c> if <see cref="Efl.Input.Device.DeviceType"/> is <c>mouse</c>, <c>pen</c>, <c>touch</c> or <c>wand</c>.</summary>
/// <returns><c>true</c> if the device has pointing capabilities.</returns>
virtual public bool GetIsPointerType() {
- var _ret_var = Efl.Input.Device.NativeMethods.efl_input_device_is_pointer_type_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.Device.NativeMethods.efl_input_device_is_pointer_type_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This is only meaningful with seat devices, as they are groups of real input devices.</summary>
/// <returns>List of device children</returns>
virtual public Eina.Iterator<Efl.Input.Device> ChildrenIterate() {
- var _ret_var = Efl.Input.Device.NativeMethods.efl_input_device_children_iterate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.Device.NativeMethods.efl_input_device_children_iterate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Input.Device>(_ret_var, true, false);
+ return new Eina.Iterator<Efl.Input.Device>(_ret_var, true);
}
/// <summary>Device type property</summary>
/// <value>Input device class</value>
/// <summary>General type of input device.
/// Legacy support since 1.8 as <c>Evas_Device_Class</c>.</summary>
+[Efl.Eo.BindingEntity]
public enum DeviceType
{
/// <summary>Not a device.</summary>
/// <summary>General type of input device.
/// Legacy support since 1.8 as <c>Evas_Device_Subclass</c>.</summary>
+[Efl.Eo.BindingEntity]
public enum DeviceSubtype
{
/// <summary>Not a device.</summary>
/// <summary>Represents a generic event data.
/// Note: Most Efl Events do not carry Efl Objects, rather simple data structures. This class is intended to carry more complex event data, such as pointer events.</summary>
[Efl.Input.IEventConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IEvent :
Efl.IDuplicate ,
Efl.Eo.IWrapper, IDisposable
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IEventConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport(efl.Libs.Evas)] internal static extern System.IntPtr
efl_input_event_mixin_get();
/// <summary>Initializes a new instance of the <see cref="IEvent"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IEventConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IEventConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Evas);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Represents a focus event.
/// (Since EFL 1.22)</summary>
[Efl.Input.Focus.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Focus : Efl.Object, Efl.IDuplicate, Efl.Input.IEvent
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="Focus"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public Focus(Efl.Object parent= null
- ) : base(efl_input_focus_class_get(), typeof(Focus), parent)
+ ) : base(efl_input_focus_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Focus(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Focus"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Focus(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Focus(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Focus"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Focus(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Focus(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// (Since EFL 1.22)</summary>
/// <returns>The focused object. In case this represents a canvas focus the object will be <c>null</c></returns>
virtual public Efl.Object GetObject() {
- var _ret_var = Efl.Input.Focus.NativeMethods.efl_input_focus_object_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.Focus.NativeMethods.efl_input_focus_object_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="kw_object">The focused object. In case this represents a canvas focus the object will be <c>null</c></param>
virtual public void SetObject(Efl.Object kw_object) {
- Efl.Input.Focus.NativeMethods.efl_input_focus_object_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),kw_object);
+ Efl.Input.Focus.NativeMethods.efl_input_focus_object_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),kw_object);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Creates a carbon copy of this object and returns it.
/// The newly created object will have no event handlers or anything of the sort.</summary>
/// <returns>Returned carbon copy</returns>
virtual public Efl.IDuplicate Duplicate() {
- var _ret_var = Efl.IDuplicateConcrete.NativeMethods.efl_duplicate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IDuplicateConcrete.NativeMethods.efl_duplicate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// If the event is generated by a server (eg. X.org or Wayland), then the time may be set by the server. Usually this time will be based on the monotonic clock, if available, but this class can not guarantee it.</summary>
/// <returns>Time in milliseconds when the event happened.</returns>
virtual public double GetTimestamp() {
- var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_timestamp_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_timestamp_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Call this when generating events manually.</summary>
/// <param name="ms">Time in milliseconds when the event happened.</param>
virtual public void SetTimestamp(double ms) {
- Efl.Input.IEventConcrete.NativeMethods.efl_input_timestamp_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),ms);
+ Efl.Input.IEventConcrete.NativeMethods.efl_input_timestamp_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),ms);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Input device that originated this event.</summary>
/// <returns>Input device origin</returns>
virtual public Efl.Input.Device GetDevice() {
- var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_device_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_device_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Input device that originated this event.</summary>
/// <param name="dev">Input device origin</param>
virtual public void SetDevice(Efl.Input.Device dev) {
- Efl.Input.IEventConcrete.NativeMethods.efl_input_device_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dev);
+ Efl.Input.IEventConcrete.NativeMethods.efl_input_device_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dev);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Extra flags for this event, may be changed by the user.</summary>
/// <returns>Input event flags</returns>
virtual public Efl.Input.Flags GetEventFlags() {
- var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_event_flags_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_event_flags_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Extra flags for this event, may be changed by the user.</summary>
/// <param name="flags">Input event flags</param>
virtual public void SetEventFlags(Efl.Input.Flags flags) {
- Efl.Input.IEventConcrete.NativeMethods.efl_input_event_flags_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),flags);
+ Efl.Input.IEventConcrete.NativeMethods.efl_input_event_flags_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),flags);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary><c>true</c> if <see cref="Efl.Input.IEvent.EventFlags"/> indicates the event is on hold.</summary>
/// <returns><c>true</c> if the event is on hold, <c>false</c> otherwise</returns>
virtual public bool GetProcessed() {
- var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_processed_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_processed_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary><c>true</c> if <see cref="Efl.Input.IEvent.EventFlags"/> indicates the event is on hold.</summary>
/// <param name="val"><c>true</c> if the event is on hold, <c>false</c> otherwise</param>
virtual public void SetProcessed(bool val) {
- Efl.Input.IEventConcrete.NativeMethods.efl_input_processed_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),val);
+ Efl.Input.IEventConcrete.NativeMethods.efl_input_processed_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),val);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary><c>true</c> if <see cref="Efl.Input.IEvent.EventFlags"/> indicates the event happened while scrolling.</summary>
/// <returns><c>true</c> if the event happened while scrolling, <c>false</c> otherwise</returns>
virtual public bool GetScrolling() {
- var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_scrolling_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_scrolling_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary><c>true</c> if <see cref="Efl.Input.IEvent.EventFlags"/> indicates the event happened while scrolling.</summary>
/// <param name="val"><c>true</c> if the event happened while scrolling, <c>false</c> otherwise</param>
virtual public void SetScrolling(bool val) {
- Efl.Input.IEventConcrete.NativeMethods.efl_input_scrolling_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),val);
+ Efl.Input.IEventConcrete.NativeMethods.efl_input_scrolling_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),val);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary><c>true</c> if the event was fake, not triggered by real hardware.</summary>
/// <returns><c>true</c> if the event was not from real hardware, <c>false</c> otherwise</returns>
virtual public bool GetFake() {
- var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_fake_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_fake_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Resets the internal data to 0 or default values.</summary>
virtual public void Reset() {
- Efl.Input.IEventConcrete.NativeMethods.efl_input_reset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Input.IEventConcrete.NativeMethods.efl_input_reset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The focused object
/// <summary>Event data sent when inputs are put on hold or resumed.</summary>
[Efl.Input.Hold.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Hold : Efl.Object, Efl.IDuplicate, Efl.Input.IEvent
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="Hold"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public Hold(Efl.Object parent= null
- ) : base(efl_input_hold_class_get(), typeof(Hold), parent)
+ ) : base(efl_input_hold_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Hold(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Hold"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Hold(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Hold(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Hold"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Hold(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Hold(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>Property to show if inputs are now on hold.</summary>
/// <returns><c>true</c> if inputs are on hold, <c>false</c> otherwise</returns>
virtual public bool GetHold() {
- var _ret_var = Efl.Input.Hold.NativeMethods.efl_input_hold_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.Hold.NativeMethods.efl_input_hold_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Property to show if inputs are now on hold.</summary>
/// <param name="val"><c>true</c> if inputs are on hold, <c>false</c> otherwise</param>
virtual public void SetHold(bool val) {
- Efl.Input.Hold.NativeMethods.efl_input_hold_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),val);
+ Efl.Input.Hold.NativeMethods.efl_input_hold_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),val);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Creates a carbon copy of this object and returns it.
/// The newly created object will have no event handlers or anything of the sort.</summary>
/// <returns>Returned carbon copy</returns>
virtual public Efl.IDuplicate Duplicate() {
- var _ret_var = Efl.IDuplicateConcrete.NativeMethods.efl_duplicate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IDuplicateConcrete.NativeMethods.efl_duplicate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// If the event is generated by a server (eg. X.org or Wayland), then the time may be set by the server. Usually this time will be based on the monotonic clock, if available, but this class can not guarantee it.</summary>
/// <returns>Time in milliseconds when the event happened.</returns>
virtual public double GetTimestamp() {
- var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_timestamp_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_timestamp_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Call this when generating events manually.</summary>
/// <param name="ms">Time in milliseconds when the event happened.</param>
virtual public void SetTimestamp(double ms) {
- Efl.Input.IEventConcrete.NativeMethods.efl_input_timestamp_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),ms);
+ Efl.Input.IEventConcrete.NativeMethods.efl_input_timestamp_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),ms);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Input device that originated this event.</summary>
/// <returns>Input device origin</returns>
virtual public Efl.Input.Device GetDevice() {
- var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_device_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_device_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Input device that originated this event.</summary>
/// <param name="dev">Input device origin</param>
virtual public void SetDevice(Efl.Input.Device dev) {
- Efl.Input.IEventConcrete.NativeMethods.efl_input_device_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dev);
+ Efl.Input.IEventConcrete.NativeMethods.efl_input_device_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dev);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Extra flags for this event, may be changed by the user.</summary>
/// <returns>Input event flags</returns>
virtual public Efl.Input.Flags GetEventFlags() {
- var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_event_flags_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_event_flags_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Extra flags for this event, may be changed by the user.</summary>
/// <param name="flags">Input event flags</param>
virtual public void SetEventFlags(Efl.Input.Flags flags) {
- Efl.Input.IEventConcrete.NativeMethods.efl_input_event_flags_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),flags);
+ Efl.Input.IEventConcrete.NativeMethods.efl_input_event_flags_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),flags);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary><c>true</c> if <see cref="Efl.Input.IEvent.EventFlags"/> indicates the event is on hold.</summary>
/// <returns><c>true</c> if the event is on hold, <c>false</c> otherwise</returns>
virtual public bool GetProcessed() {
- var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_processed_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_processed_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary><c>true</c> if <see cref="Efl.Input.IEvent.EventFlags"/> indicates the event is on hold.</summary>
/// <param name="val"><c>true</c> if the event is on hold, <c>false</c> otherwise</param>
virtual public void SetProcessed(bool val) {
- Efl.Input.IEventConcrete.NativeMethods.efl_input_processed_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),val);
+ Efl.Input.IEventConcrete.NativeMethods.efl_input_processed_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),val);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary><c>true</c> if <see cref="Efl.Input.IEvent.EventFlags"/> indicates the event happened while scrolling.</summary>
/// <returns><c>true</c> if the event happened while scrolling, <c>false</c> otherwise</returns>
virtual public bool GetScrolling() {
- var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_scrolling_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_scrolling_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary><c>true</c> if <see cref="Efl.Input.IEvent.EventFlags"/> indicates the event happened while scrolling.</summary>
/// <param name="val"><c>true</c> if the event happened while scrolling, <c>false</c> otherwise</param>
virtual public void SetScrolling(bool val) {
- Efl.Input.IEventConcrete.NativeMethods.efl_input_scrolling_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),val);
+ Efl.Input.IEventConcrete.NativeMethods.efl_input_scrolling_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),val);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary><c>true</c> if the event was fake, not triggered by real hardware.</summary>
/// <returns><c>true</c> if the event was not from real hardware, <c>false</c> otherwise</returns>
virtual public bool GetFake() {
- var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_fake_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_fake_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Resets the internal data to 0 or default values.</summary>
virtual public void Reset() {
- Efl.Input.IEventConcrete.NativeMethods.efl_input_reset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Input.IEventConcrete.NativeMethods.efl_input_reset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The time at which an event was generated.
///
/// A "key" is a key press from a keyboard or equivalent type of input device. Long, repeated, key presses will always happen like this: down...up,down...up,down...up (not down...up or down...down...down...up).</summary>
[Efl.Input.IInterfaceConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IInterface :
Efl.Eo.IWrapper, IDisposable
{
event EventHandler<Efl.Input.IInterfaceFocusOutEvt_Args> FocusOutEvt;
}
///<summary>Event argument wrapper for event <see cref="Efl.Input.IInterface.PointerMoveEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IInterfacePointerMoveEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Input.Pointer arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Input.IInterface.PointerDownEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IInterfacePointerDownEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Input.Pointer arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Input.IInterface.PointerUpEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IInterfacePointerUpEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Input.Pointer arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Input.IInterface.PointerCancelEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IInterfacePointerCancelEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Input.Pointer arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Input.IInterface.PointerInEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IInterfacePointerInEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Input.Pointer arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Input.IInterface.PointerOutEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IInterfacePointerOutEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Input.Pointer arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Input.IInterface.PointerWheelEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IInterfacePointerWheelEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Input.Pointer arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Input.IInterface.PointerAxisEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IInterfacePointerAxisEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Input.Pointer arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Input.IInterface.FingerMoveEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IInterfaceFingerMoveEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Input.Pointer arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Input.IInterface.FingerDownEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IInterfaceFingerDownEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Input.Pointer arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Input.IInterface.FingerUpEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IInterfaceFingerUpEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Input.Pointer arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Input.IInterface.KeyDownEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IInterfaceKeyDownEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Input.Key arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Input.IInterface.KeyUpEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IInterfaceKeyUpEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Input.Key arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Input.IInterface.HoldEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IInterfaceHoldEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Input.Hold arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Input.IInterface.FocusInEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IInterfaceFocusInEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Input.Focus arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Input.IInterface.FocusOutEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IInterfaceFocusOutEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Input.Focus arg { get; set; }
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IInterfaceConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport(efl.Libs.Evas)] internal static extern System.IntPtr
efl_input_interface_interface_get();
/// <summary>Initializes a new instance of the <see cref="IInterface"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IInterfaceConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IInterfaceConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_POINTER_MOVE";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_POINTER_DOWN";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_POINTER_UP";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_POINTER_CANCEL";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_POINTER_IN";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_POINTER_OUT";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_POINTER_WHEEL";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_POINTER_AXIS";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_FINGER_MOVE";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_FINGER_DOWN";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_FINGER_UP";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_KEY_DOWN";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_KEY_UP";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_HOLD";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_FOCUS_IN";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_FOCUS_OUT";
RemoveNativeEventHandler(efl.Libs.Evas, key, value);
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Evas);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Represents a single key event from a keyboard or similar device.</summary>
[Efl.Input.Key.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Key : Efl.Object, Efl.IDuplicate, Efl.Input.IEvent, Efl.Input.IState
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="Key"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public Key(Efl.Object parent= null
- ) : base(efl_input_key_class_get(), typeof(Key), parent)
+ ) : base(efl_input_key_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Key(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Key"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Key(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Key(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Key"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Key(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Key(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary><c>true</c> if the key is down, <c>false</c> if it is released.</summary>
/// <returns><c>true</c> if the key is pressed, <c>false</c> otherwise</returns>
virtual public bool GetPressed() {
- var _ret_var = Efl.Input.Key.NativeMethods.efl_input_key_pressed_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.Key.NativeMethods.efl_input_key_pressed_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary><c>true</c> if the key is down, <c>false</c> if it is released.</summary>
/// <param name="val"><c>true</c> if the key is pressed, <c>false</c> otherwise</param>
virtual public void SetPressed(bool val) {
- Efl.Input.Key.NativeMethods.efl_input_key_pressed_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),val);
+ Efl.Input.Key.NativeMethods.efl_input_key_pressed_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),val);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Name string of the key.</summary>
/// <returns>Key name</returns>
virtual public System.String GetKeyName() {
- var _ret_var = Efl.Input.Key.NativeMethods.efl_input_key_name_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.Key.NativeMethods.efl_input_key_name_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Name string of the key.</summary>
/// <param name="val">Key name</param>
virtual public void SetKeyName(System.String val) {
- Efl.Input.Key.NativeMethods.efl_input_key_name_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),val);
+ Efl.Input.Key.NativeMethods.efl_input_key_name_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),val);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Logical key.
/// Eg. Shift + 1 = exclamation</summary>
/// <returns>Logical key name</returns>
virtual public System.String GetKey() {
- var _ret_var = Efl.Input.Key.NativeMethods.efl_input_key_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.Key.NativeMethods.efl_input_key_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Eg. Shift + 1 = exclamation</summary>
/// <param name="val">Logical key name</param>
virtual public void SetKey(System.String val) {
- Efl.Input.Key.NativeMethods.efl_input_key_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),val);
+ Efl.Input.Key.NativeMethods.efl_input_key_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),val);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>A UTF8 string if this keystroke has produced a visible string to be added.</summary>
/// <returns>Visible string from key press in UTF8</returns>
virtual public System.String GetString() {
- var _ret_var = Efl.Input.Key.NativeMethods.efl_input_key_string_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.Key.NativeMethods.efl_input_key_string_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>A UTF8 string if this keystroke has produced a visible string to be added.</summary>
/// <param name="val">Visible string from key press in UTF8</param>
virtual public void SetString(System.String val) {
- Efl.Input.Key.NativeMethods.efl_input_key_string_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),val);
+ Efl.Input.Key.NativeMethods.efl_input_key_string_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),val);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>A UTF8 string if this keystroke has modified a string in the middle of being composed.
/// Note: This string replaces the previous one</summary>
/// <returns>Composed key string in UTF8</returns>
virtual public System.String GetComposeString() {
- var _ret_var = Efl.Input.Key.NativeMethods.efl_input_key_compose_string_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.Key.NativeMethods.efl_input_key_compose_string_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Note: This string replaces the previous one</summary>
/// <param name="val">Composed key string in UTF8</param>
virtual public void SetComposeString(System.String val) {
- Efl.Input.Key.NativeMethods.efl_input_key_compose_string_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),val);
+ Efl.Input.Key.NativeMethods.efl_input_key_compose_string_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),val);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Key scan code numeric value.</summary>
/// <returns>Key scan code</returns>
virtual public int GetKeyCode() {
- var _ret_var = Efl.Input.Key.NativeMethods.efl_input_key_code_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.Key.NativeMethods.efl_input_key_code_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Key scan code numeric value.</summary>
/// <param name="val">Key scan code</param>
virtual public void SetKeyCode(int val) {
- Efl.Input.Key.NativeMethods.efl_input_key_code_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),val);
+ Efl.Input.Key.NativeMethods.efl_input_key_code_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),val);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Creates a carbon copy of this object and returns it.
/// The newly created object will have no event handlers or anything of the sort.</summary>
/// <returns>Returned carbon copy</returns>
virtual public Efl.IDuplicate Duplicate() {
- var _ret_var = Efl.IDuplicateConcrete.NativeMethods.efl_duplicate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IDuplicateConcrete.NativeMethods.efl_duplicate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// If the event is generated by a server (eg. X.org or Wayland), then the time may be set by the server. Usually this time will be based on the monotonic clock, if available, but this class can not guarantee it.</summary>
/// <returns>Time in milliseconds when the event happened.</returns>
virtual public double GetTimestamp() {
- var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_timestamp_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_timestamp_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Call this when generating events manually.</summary>
/// <param name="ms">Time in milliseconds when the event happened.</param>
virtual public void SetTimestamp(double ms) {
- Efl.Input.IEventConcrete.NativeMethods.efl_input_timestamp_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),ms);
+ Efl.Input.IEventConcrete.NativeMethods.efl_input_timestamp_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),ms);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Input device that originated this event.</summary>
/// <returns>Input device origin</returns>
virtual public Efl.Input.Device GetDevice() {
- var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_device_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_device_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Input device that originated this event.</summary>
/// <param name="dev">Input device origin</param>
virtual public void SetDevice(Efl.Input.Device dev) {
- Efl.Input.IEventConcrete.NativeMethods.efl_input_device_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dev);
+ Efl.Input.IEventConcrete.NativeMethods.efl_input_device_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dev);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Extra flags for this event, may be changed by the user.</summary>
/// <returns>Input event flags</returns>
virtual public Efl.Input.Flags GetEventFlags() {
- var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_event_flags_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_event_flags_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Extra flags for this event, may be changed by the user.</summary>
/// <param name="flags">Input event flags</param>
virtual public void SetEventFlags(Efl.Input.Flags flags) {
- Efl.Input.IEventConcrete.NativeMethods.efl_input_event_flags_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),flags);
+ Efl.Input.IEventConcrete.NativeMethods.efl_input_event_flags_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),flags);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary><c>true</c> if <see cref="Efl.Input.IEvent.EventFlags"/> indicates the event is on hold.</summary>
/// <returns><c>true</c> if the event is on hold, <c>false</c> otherwise</returns>
virtual public bool GetProcessed() {
- var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_processed_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_processed_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary><c>true</c> if <see cref="Efl.Input.IEvent.EventFlags"/> indicates the event is on hold.</summary>
/// <param name="val"><c>true</c> if the event is on hold, <c>false</c> otherwise</param>
virtual public void SetProcessed(bool val) {
- Efl.Input.IEventConcrete.NativeMethods.efl_input_processed_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),val);
+ Efl.Input.IEventConcrete.NativeMethods.efl_input_processed_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),val);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary><c>true</c> if <see cref="Efl.Input.IEvent.EventFlags"/> indicates the event happened while scrolling.</summary>
/// <returns><c>true</c> if the event happened while scrolling, <c>false</c> otherwise</returns>
virtual public bool GetScrolling() {
- var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_scrolling_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_scrolling_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary><c>true</c> if <see cref="Efl.Input.IEvent.EventFlags"/> indicates the event happened while scrolling.</summary>
/// <param name="val"><c>true</c> if the event happened while scrolling, <c>false</c> otherwise</param>
virtual public void SetScrolling(bool val) {
- Efl.Input.IEventConcrete.NativeMethods.efl_input_scrolling_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),val);
+ Efl.Input.IEventConcrete.NativeMethods.efl_input_scrolling_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),val);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary><c>true</c> if the event was fake, not triggered by real hardware.</summary>
/// <returns><c>true</c> if the event was not from real hardware, <c>false</c> otherwise</returns>
virtual public bool GetFake() {
- var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_fake_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_fake_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Resets the internal data to 0 or default values.</summary>
virtual public void Reset() {
- Efl.Input.IEventConcrete.NativeMethods.efl_input_reset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Input.IEventConcrete.NativeMethods.efl_input_reset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Indicates whether a key modifier is on, such as Ctrl, Shift, ...
/// <param name="seat">The seat device, may be <c>null</c></param>
/// <returns><c>true</c> if the key modifier is pressed.</returns>
virtual public bool GetModifierEnabled(Efl.Input.Modifier mod, Efl.Input.Device seat) {
- var _ret_var = Efl.Input.IStateConcrete.NativeMethods.efl_input_modifier_enabled_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),mod, seat);
+ var _ret_var = Efl.Input.IStateConcrete.NativeMethods.efl_input_modifier_enabled_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),mod, seat);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="seat">The seat device, may be <c>null</c></param>
/// <returns><c>true</c> if the key lock is on.</returns>
virtual public bool GetLockEnabled(Efl.Input.Lock kw_lock, Efl.Input.Device seat) {
- var _ret_var = Efl.Input.IStateConcrete.NativeMethods.efl_input_lock_enabled_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),kw_lock, seat);
+ var _ret_var = Efl.Input.IStateConcrete.NativeMethods.efl_input_lock_enabled_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),kw_lock, seat);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Event data carried over with any pointer event (mouse, touch, pen, ...)</summary>
[Efl.Input.Pointer.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Pointer : Efl.Object, Efl.IDuplicate, Efl.Input.IEvent, Efl.Input.IState
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="Pointer"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public Pointer(Efl.Object parent= null
- ) : base(efl_input_pointer_class_get(), typeof(Pointer), parent)
+ ) : base(efl_input_pointer_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Pointer(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Pointer"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Pointer(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Pointer(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Pointer"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Pointer(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Pointer(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>The action represented by this event.</summary>
/// <returns>Event action</returns>
virtual public Efl.Pointer.Action GetAction() {
- var _ret_var = Efl.Input.Pointer.NativeMethods.efl_input_pointer_action_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.Pointer.NativeMethods.efl_input_pointer_action_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>The action represented by this event.</summary>
/// <param name="act">Event action</param>
virtual public void SetAction(Efl.Pointer.Action act) {
- Efl.Input.Pointer.NativeMethods.efl_input_pointer_action_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),act);
+ Efl.Input.Pointer.NativeMethods.efl_input_pointer_action_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),act);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary><c>true</c> if this event carries a valid value for the specified <c>key</c>.</summary>
/// <param name="key">Pressed <c>key</c></param>
/// <returns><c>true</c> if input value is valid, <c>false</c> otherwise</returns>
virtual public bool GetValueHas(Efl.Input.Value key) {
- var _ret_var = Efl.Input.Pointer.NativeMethods.efl_input_pointer_value_has_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),key);
+ var _ret_var = Efl.Input.Pointer.NativeMethods.efl_input_pointer_value_has_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),key);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="key"><c>key</c></param>
/// <returns><c>key</c> value</returns>
virtual public double GetValue(Efl.Input.Value key) {
- var _ret_var = Efl.Input.Pointer.NativeMethods.efl_input_pointer_value_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),key);
+ var _ret_var = Efl.Input.Pointer.NativeMethods.efl_input_pointer_value_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),key);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="val"><c>key</c> value</param>
/// <returns><c>false</c> if the value could not be set (eg. delta).</returns>
virtual public bool SetValue(Efl.Input.Value key, double val) {
- var _ret_var = Efl.Input.Pointer.NativeMethods.efl_input_pointer_value_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),key, val);
+ var _ret_var = Efl.Input.Pointer.NativeMethods.efl_input_pointer_value_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),key, val);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Valid if and only if <see cref="Efl.Input.Pointer.GetValueHas"/>(<c>button</c>) is <c>true</c>.</summary>
/// <returns>1 to 32, 0 if not a button event.</returns>
virtual public int GetButton() {
- var _ret_var = Efl.Input.Pointer.NativeMethods.efl_input_pointer_button_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.Pointer.NativeMethods.efl_input_pointer_button_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Valid if and only if <see cref="Efl.Input.Pointer.GetValueHas"/>(<c>button</c>) is <c>true</c>.</summary>
/// <param name="but">1 to 32, 0 if not a button event.</param>
virtual public void SetButton(int but) {
- Efl.Input.Pointer.NativeMethods.efl_input_pointer_button_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),but);
+ Efl.Input.Pointer.NativeMethods.efl_input_pointer_button_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),but);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Whether a mouse button is pressed at the moment of the event.
/// <param name="button">1 to 32, 0 if not a button event.</param>
/// <returns><c>true</c> when the button was pressed, <c>false</c> otherwise</returns>
virtual public bool GetButtonPressed(int button) {
- var _ret_var = Efl.Input.Pointer.NativeMethods.efl_input_pointer_button_pressed_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),button);
+ var _ret_var = Efl.Input.Pointer.NativeMethods.efl_input_pointer_button_pressed_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),button);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="button">1 to 32, 0 if not a button event.</param>
/// <param name="pressed"><c>true</c> when the button was pressed, <c>false</c> otherwise</param>
virtual public void SetButtonPressed(int button, bool pressed) {
- Efl.Input.Pointer.NativeMethods.efl_input_pointer_button_pressed_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),button, pressed);
+ Efl.Input.Pointer.NativeMethods.efl_input_pointer_button_pressed_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),button, pressed);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Position where the event happened, relative to the window.
/// See <see cref="Efl.Input.Pointer.PrecisePosition"/> for floating point precision (subpixel location).</summary>
/// <returns>The position of the event, in pixels.</returns>
virtual public Eina.Position2D GetPosition() {
- var _ret_var = Efl.Input.Pointer.NativeMethods.efl_input_pointer_position_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.Pointer.NativeMethods.efl_input_pointer_position_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="pos">The position of the event, in pixels.</param>
virtual public void SetPosition(Eina.Position2D pos) {
Eina.Position2D.NativeStruct _in_pos = pos;
- Efl.Input.Pointer.NativeMethods.efl_input_pointer_position_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_pos);
+ Efl.Input.Pointer.NativeMethods.efl_input_pointer_position_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_pos);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Position where the event happened, relative to the window.
/// See also <see cref="Efl.Input.Pointer.Position"/>.</summary>
/// <returns>The position of the event, in pixels.</returns>
virtual public Eina.Vector2 GetPrecisePosition() {
- var _ret_var = Efl.Input.Pointer.NativeMethods.efl_input_pointer_precise_position_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.Pointer.NativeMethods.efl_input_pointer_precise_position_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="pos">The position of the event, in pixels.</param>
virtual public void SetPrecisePosition(Eina.Vector2 pos) {
Eina.Vector2.NativeStruct _in_pos = pos;
- Efl.Input.Pointer.NativeMethods.efl_input_pointer_precise_position_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_pos);
+ Efl.Input.Pointer.NativeMethods.efl_input_pointer_precise_position_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_pos);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Position of the previous event, valid for move events.
/// This position, in integers, is an approximation of <see cref="Efl.Input.Pointer.GetValue"/>(<c>previous_x</c>), <see cref="Efl.Input.Pointer.GetValue"/>(<c>previous_y</c>). Use <see cref="Efl.Input.Pointer.PreviousPosition"/> if you need simple pixel positions, but prefer the generic interface if you need precise coordinates.</summary>
/// <returns>The position of the event, in pixels.</returns>
virtual public Eina.Position2D GetPreviousPosition() {
- var _ret_var = Efl.Input.Pointer.NativeMethods.efl_input_pointer_previous_position_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.Pointer.NativeMethods.efl_input_pointer_previous_position_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="pos">The position of the event, in pixels.</param>
virtual public void SetPreviousPosition(Eina.Position2D pos) {
Eina.Position2D.NativeStruct _in_pos = pos;
- Efl.Input.Pointer.NativeMethods.efl_input_pointer_previous_position_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_pos);
+ Efl.Input.Pointer.NativeMethods.efl_input_pointer_previous_position_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_pos);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>TThe ID associated with this pointer.
/// In case there are multiple pointers (for example when multiple fingers are touching the screen) this number uniquely identifies each pointer, for as long as it is present. This is, when a finger is lifted its ID can be later reused by another finger touching the screen.</summary>
/// <returns>An ID uniquely identifying this pointer among the currently present pointers.</returns>
virtual public int GetTouchId() {
- var _ret_var = Efl.Input.Pointer.NativeMethods.efl_input_pointer_touch_id_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.Pointer.NativeMethods.efl_input_pointer_touch_id_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// In case there are multiple pointers (for example when multiple fingers are touching the screen) this number uniquely identifies each pointer, for as long as it is present. This is, when a finger is lifted its ID can be later reused by another finger touching the screen.</summary>
/// <param name="id">An ID uniquely identifying this pointer among the currently present pointers.</param>
virtual public void SetTouchId(int id) {
- Efl.Input.Pointer.NativeMethods.efl_input_pointer_touch_id_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),id);
+ Efl.Input.Pointer.NativeMethods.efl_input_pointer_touch_id_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),id);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The object where this event first originated, in case of propagation or repetition of the event.</summary>
/// <returns>Source object: <see cref="Efl.Gfx.IEntity"/></returns>
virtual public Efl.Object GetSource() {
- var _ret_var = Efl.Input.Pointer.NativeMethods.efl_input_pointer_source_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.Pointer.NativeMethods.efl_input_pointer_source_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>The object where this event first originated, in case of propagation or repetition of the event.</summary>
/// <param name="src">Source object: <see cref="Efl.Gfx.IEntity"/></param>
virtual public void SetSource(Efl.Object src) {
- Efl.Input.Pointer.NativeMethods.efl_input_pointer_source_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),src);
+ Efl.Input.Pointer.NativeMethods.efl_input_pointer_source_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),src);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Double or triple click information.</summary>
/// <returns>Button information flags</returns>
virtual public Efl.Pointer.Flags GetButtonFlags() {
- var _ret_var = Efl.Input.Pointer.NativeMethods.efl_input_pointer_button_flags_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.Pointer.NativeMethods.efl_input_pointer_button_flags_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Double or triple click information.</summary>
/// <param name="flags">Button information flags</param>
virtual public void SetButtonFlags(Efl.Pointer.Flags flags) {
- Efl.Input.Pointer.NativeMethods.efl_input_pointer_button_flags_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),flags);
+ Efl.Input.Pointer.NativeMethods.efl_input_pointer_button_flags_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),flags);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary><c>true</c> if <see cref="Efl.Input.Pointer.ButtonFlags"/> indicates a double click (2nd press).
/// This is just a helper function around <see cref="Efl.Input.Pointer.ButtonFlags"/>.</summary>
/// <returns><c>true</c> if the button press was a double click, <c>false</c> otherwise</returns>
virtual public bool GetDoubleClick() {
- var _ret_var = Efl.Input.Pointer.NativeMethods.efl_input_pointer_double_click_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.Pointer.NativeMethods.efl_input_pointer_double_click_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This is just a helper function around <see cref="Efl.Input.Pointer.ButtonFlags"/>.</summary>
/// <param name="val"><c>true</c> if the button press was a double click, <c>false</c> otherwise</param>
virtual public void SetDoubleClick(bool val) {
- Efl.Input.Pointer.NativeMethods.efl_input_pointer_double_click_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),val);
+ Efl.Input.Pointer.NativeMethods.efl_input_pointer_double_click_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),val);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary><c>true</c> if <see cref="Efl.Input.Pointer.ButtonFlags"/> indicates a triple click (3rd press).
/// This is just a helper function around <see cref="Efl.Input.Pointer.ButtonFlags"/>.</summary>
/// <returns><c>true</c> if the button press was a triple click, <c>false</c> otherwise</returns>
virtual public bool GetTripleClick() {
- var _ret_var = Efl.Input.Pointer.NativeMethods.efl_input_pointer_triple_click_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.Pointer.NativeMethods.efl_input_pointer_triple_click_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This is just a helper function around <see cref="Efl.Input.Pointer.ButtonFlags"/>.</summary>
/// <param name="val"><c>true</c> if the button press was a triple click, <c>false</c> otherwise</param>
virtual public void SetTripleClick(bool val) {
- Efl.Input.Pointer.NativeMethods.efl_input_pointer_triple_click_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),val);
+ Efl.Input.Pointer.NativeMethods.efl_input_pointer_triple_click_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),val);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Direction of the wheel, usually vertical.</summary>
/// <returns>If <c>true</c> this was a horizontal wheel.</returns>
virtual public bool GetWheelHorizontal() {
- var _ret_var = Efl.Input.Pointer.NativeMethods.efl_input_pointer_wheel_horizontal_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.Pointer.NativeMethods.efl_input_pointer_wheel_horizontal_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Direction of the wheel, usually vertical.</summary>
/// <param name="horizontal">If <c>true</c> this was a horizontal wheel.</param>
virtual public void SetWheelHorizontal(bool horizontal) {
- Efl.Input.Pointer.NativeMethods.efl_input_pointer_wheel_horizontal_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),horizontal);
+ Efl.Input.Pointer.NativeMethods.efl_input_pointer_wheel_horizontal_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),horizontal);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Delta movement of the wheel in discrete steps.</summary>
/// <returns>Wheel movement delta</returns>
virtual public int GetWheelDelta() {
- var _ret_var = Efl.Input.Pointer.NativeMethods.efl_input_pointer_wheel_delta_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.Pointer.NativeMethods.efl_input_pointer_wheel_delta_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Delta movement of the wheel in discrete steps.</summary>
/// <param name="dist">Wheel movement delta</param>
virtual public void SetWheelDelta(int dist) {
- Efl.Input.Pointer.NativeMethods.efl_input_pointer_wheel_delta_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dist);
+ Efl.Input.Pointer.NativeMethods.efl_input_pointer_wheel_delta_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dist);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Creates a carbon copy of this object and returns it.
/// The newly created object will have no event handlers or anything of the sort.</summary>
/// <returns>Returned carbon copy</returns>
virtual public Efl.IDuplicate Duplicate() {
- var _ret_var = Efl.IDuplicateConcrete.NativeMethods.efl_duplicate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IDuplicateConcrete.NativeMethods.efl_duplicate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// If the event is generated by a server (eg. X.org or Wayland), then the time may be set by the server. Usually this time will be based on the monotonic clock, if available, but this class can not guarantee it.</summary>
/// <returns>Time in milliseconds when the event happened.</returns>
virtual public double GetTimestamp() {
- var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_timestamp_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_timestamp_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Call this when generating events manually.</summary>
/// <param name="ms">Time in milliseconds when the event happened.</param>
virtual public void SetTimestamp(double ms) {
- Efl.Input.IEventConcrete.NativeMethods.efl_input_timestamp_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),ms);
+ Efl.Input.IEventConcrete.NativeMethods.efl_input_timestamp_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),ms);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Input device that originated this event.</summary>
/// <returns>Input device origin</returns>
virtual public Efl.Input.Device GetDevice() {
- var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_device_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_device_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Input device that originated this event.</summary>
/// <param name="dev">Input device origin</param>
virtual public void SetDevice(Efl.Input.Device dev) {
- Efl.Input.IEventConcrete.NativeMethods.efl_input_device_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dev);
+ Efl.Input.IEventConcrete.NativeMethods.efl_input_device_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dev);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Extra flags for this event, may be changed by the user.</summary>
/// <returns>Input event flags</returns>
virtual public Efl.Input.Flags GetEventFlags() {
- var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_event_flags_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_event_flags_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Extra flags for this event, may be changed by the user.</summary>
/// <param name="flags">Input event flags</param>
virtual public void SetEventFlags(Efl.Input.Flags flags) {
- Efl.Input.IEventConcrete.NativeMethods.efl_input_event_flags_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),flags);
+ Efl.Input.IEventConcrete.NativeMethods.efl_input_event_flags_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),flags);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary><c>true</c> if <see cref="Efl.Input.IEvent.EventFlags"/> indicates the event is on hold.</summary>
/// <returns><c>true</c> if the event is on hold, <c>false</c> otherwise</returns>
virtual public bool GetProcessed() {
- var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_processed_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_processed_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary><c>true</c> if <see cref="Efl.Input.IEvent.EventFlags"/> indicates the event is on hold.</summary>
/// <param name="val"><c>true</c> if the event is on hold, <c>false</c> otherwise</param>
virtual public void SetProcessed(bool val) {
- Efl.Input.IEventConcrete.NativeMethods.efl_input_processed_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),val);
+ Efl.Input.IEventConcrete.NativeMethods.efl_input_processed_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),val);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary><c>true</c> if <see cref="Efl.Input.IEvent.EventFlags"/> indicates the event happened while scrolling.</summary>
/// <returns><c>true</c> if the event happened while scrolling, <c>false</c> otherwise</returns>
virtual public bool GetScrolling() {
- var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_scrolling_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_scrolling_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary><c>true</c> if <see cref="Efl.Input.IEvent.EventFlags"/> indicates the event happened while scrolling.</summary>
/// <param name="val"><c>true</c> if the event happened while scrolling, <c>false</c> otherwise</param>
virtual public void SetScrolling(bool val) {
- Efl.Input.IEventConcrete.NativeMethods.efl_input_scrolling_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),val);
+ Efl.Input.IEventConcrete.NativeMethods.efl_input_scrolling_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),val);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary><c>true</c> if the event was fake, not triggered by real hardware.</summary>
/// <returns><c>true</c> if the event was not from real hardware, <c>false</c> otherwise</returns>
virtual public bool GetFake() {
- var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_fake_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_fake_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Resets the internal data to 0 or default values.</summary>
virtual public void Reset() {
- Efl.Input.IEventConcrete.NativeMethods.efl_input_reset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Input.IEventConcrete.NativeMethods.efl_input_reset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Indicates whether a key modifier is on, such as Ctrl, Shift, ...
/// <param name="seat">The seat device, may be <c>null</c></param>
/// <returns><c>true</c> if the key modifier is pressed.</returns>
virtual public bool GetModifierEnabled(Efl.Input.Modifier mod, Efl.Input.Device seat) {
- var _ret_var = Efl.Input.IStateConcrete.NativeMethods.efl_input_modifier_enabled_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),mod, seat);
+ var _ret_var = Efl.Input.IStateConcrete.NativeMethods.efl_input_modifier_enabled_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),mod, seat);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="seat">The seat device, may be <c>null</c></param>
/// <returns><c>true</c> if the key lock is on.</returns>
virtual public bool GetLockEnabled(Efl.Input.Lock kw_lock, Efl.Input.Device seat) {
- var _ret_var = Efl.Input.IStateConcrete.NativeMethods.efl_input_lock_enabled_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),kw_lock, seat);
+ var _ret_var = Efl.Input.IStateConcrete.NativeMethods.efl_input_lock_enabled_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),kw_lock, seat);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Efl input state interface.
/// (Since EFL 1.22)</summary>
[Efl.Input.IStateConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IState :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IStateConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport(efl.Libs.Evas)] internal static extern System.IntPtr
efl_input_state_interface_get();
/// <summary>Initializes a new instance of the <see cref="IState"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IStateConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IStateConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Evas);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Pointer event type. Represents which kind of event this is.
/// (Since EFL 1.19)</summary>
+[Efl.Eo.BindingEntity]
public enum Action
{
/// <summary>Not a valid event, or nothing new happened (eg. when querying current state of touch points).</summary>
/// <summary>Pointer flags indicating whether a double or triple click is under way.
/// (Since EFL 1.19)</summary>
+[Efl.Eo.BindingEntity]
public enum Flags
{
/// <summary>No extra mouse button data</summary>
/// <summary>Special flags set during an input event propagation.
/// (Since EFL 1.19)</summary>
+[Efl.Eo.BindingEntity]
public enum Flags
{
/// <summary>No fancy flags set</summary>
///
/// In the mode <c>nograb</c>, the pointer will always be bound to the object right below it.
/// (Since EFL 1.19)</summary>
+[Efl.Eo.BindingEntity]
public enum ObjectPointerMode
{
/// <summary>Default, X11-like.</summary>
/// <summary>Keys for the generic values of all events.
/// (Since EFL 1.19)</summary>
+[Efl.Eo.BindingEntity]
public enum Value
{
/// <summary>Not a valid value type.</summary>
///
/// The available keys may vary depending on the physical keyboard layout, or language and keyboard settings, or depending on the platform.
/// (Since EFL 1.20)</summary>
+[Efl.Eo.BindingEntity]
public enum Modifier
{
/// <summary>No key modifier</summary>
///
/// The available keys may vary depending on the physical keyboard layout, or language and keyboard settings, or depending on the platform.
/// (Since EFL 1.20)</summary>
+[Efl.Eo.BindingEntity]
public enum Lock
{
/// <summary>No key modifier</summary>
/// <summary>Efl interpolator interface</summary>
[Efl.IInterpolatorConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IInterpolator :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IInterpolatorConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_interpolator_interface_get();
/// <summary>Initializes a new instance of the <see cref="IInterpolator"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IInterpolatorConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IInterpolatorConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// Calls to <see cref="Efl.Io.ICloser.Close"/> may or may not block, that's not up to this interface to specify.
/// (Since EFL 1.22)</summary>
[Efl.Io.ICloserConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface ICloser :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private ICloserConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_io_closer_interface_get();
/// <summary>Initializes a new instance of the <see cref="ICloser"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private ICloserConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private ICloserConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_IO_CLOSER_EVENT_CLOSED";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Generic interface for objects that can change or report position.</summary>
[Efl.Io.IPositionerConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IPositioner :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IPositionerConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_io_positioner_mixin_get();
/// <summary>Initializes a new instance of the <see cref="IPositioner"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IPositionerConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IPositionerConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_IO_POSITIONER_EVENT_POSITION_CHANGED";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
namespace Io {
/// <summary>Seek position modes</summary>
+[Efl.Eo.BindingEntity]
public enum PositionerWhence
{
/// <summary>Seek from start of the stream/file</summary>
/// Calls to <see cref="Efl.Io.IReader.Read"/> may or may not block, that's not up to this interface to specify. The user can check based on <see cref="Efl.Io.IReader.Eos"/> property and signal if the stream reached an end, with event "can_read,changed" or property <see cref="Efl.Io.IReader.CanRead"/> to known whenever a read would have data to return.
/// (Since EFL 1.22)</summary>
[Efl.Io.IReaderConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IReader :
Efl.Eo.IWrapper, IDisposable
{
/// (Since EFL 1.22)</summary>
/// <param name="rw_slice">Provides a pre-allocated memory to be filled up to rw_slice.len. It will be populated and the length will be set to the actually used amount of bytes, which can be smaller than the request.</param>
/// <returns>0 on succeed, a mapping of errno otherwise</returns>
-Eina.Error Read(ref Eina.RwSlice rw_slice);
+Eina.Error Read(ref Eina.RwSlice rw_slice);
/// <summary>Notifies can_read property changed.
/// If <see cref="Efl.Io.IReader.CanRead"/> is <c>true</c> there is data to <see cref="Efl.Io.IReader.Read"/> without blocking/error. If <see cref="Efl.Io.IReader.CanRead"/> is <c>false</c>, <see cref="Efl.Io.IReader.Read"/> would either block or fail.
///
}
}
///<summary>Event argument wrapper for event <see cref="Efl.Io.IReader.CanReadChangedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IReaderCanReadChangedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public bool arg { get; set; }
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IReaderConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_io_reader_interface_get();
/// <summary>Initializes a new instance of the <see cref="IReader"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IReaderConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IReaderConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_IO_READER_EVENT_CAN_READ_CHANGED";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_IO_READER_EVENT_EOS";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
/// (Since EFL 1.22)</summary>
/// <param name="rw_slice">Provides a pre-allocated memory to be filled up to rw_slice.len. It will be populated and the length will be set to the actually used amount of bytes, which can be smaller than the request.</param>
/// <returns>0 on succeed, a mapping of errno otherwise</returns>
- public Eina.Error Read(ref Eina.RwSlice rw_slice) {
+ public Eina.Error Read(ref Eina.RwSlice rw_slice) {
var _ret_var = Efl.Io.IReaderConcrete.NativeMethods.efl_io_reader_read_ptr.Value.Delegate(this.NativeHandle,ref rw_slice);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
private static efl_io_reader_eos_set_delegate efl_io_reader_eos_set_static_delegate;
- private delegate Eina.Error efl_io_reader_read_delegate(System.IntPtr obj, System.IntPtr pd, ref Eina.RwSlice rw_slice);
+ private delegate Eina.Error efl_io_reader_read_delegate(System.IntPtr obj, System.IntPtr pd, ref Eina.RwSlice rw_slice);
- public delegate Eina.Error efl_io_reader_read_api_delegate(System.IntPtr obj, ref Eina.RwSlice rw_slice);
+ public delegate Eina.Error efl_io_reader_read_api_delegate(System.IntPtr obj, ref Eina.RwSlice rw_slice);
public static Efl.Eo.FunctionWrapper<efl_io_reader_read_api_delegate> efl_io_reader_read_ptr = new Efl.Eo.FunctionWrapper<efl_io_reader_read_api_delegate>(Module, "efl_io_reader_read");
- private static Eina.Error read(System.IntPtr obj, System.IntPtr pd, ref Eina.RwSlice rw_slice)
+ private static Eina.Error read(System.IntPtr obj, System.IntPtr pd, ref Eina.RwSlice rw_slice)
{
Eina.Log.Debug("function efl_io_reader_read was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
/// Calls to <see cref="Efl.Io.IWriter.Write"/> may or may not block: that's not up to this interface to specify. The user can check with event "can_write,changed" or property <see cref="Efl.Io.IWriter.CanWrite"/> to known whenever a write could push more data.
/// (Since EFL 1.22)</summary>
[Efl.Io.IWriterConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IWriter :
Efl.Eo.IWrapper, IDisposable
{
/// <param name="slice">Provides a pre-populated memory to be used up to slice.len. The returned slice will be adapted as length will be set to the actually used amount of bytes, which can be smaller than the request.</param>
/// <param name="remaining">Convenience to output the remaining parts of slice that was not written. If the full slice was written, this will be a slice of zero-length.</param>
/// <returns>0 on succeed, a mapping of errno otherwise</returns>
-Eina.Error Write(ref Eina.Slice slice, ref Eina.Slice remaining);
+Eina.Error Write(ref Eina.Slice slice, ref Eina.Slice remaining);
/// <summary>Notifies can_write property changed.
/// If <see cref="Efl.Io.IWriter.CanWrite"/> is <c>true</c> there is data to <see cref="Efl.Io.IWriter.Write"/> without blocking/error. If <see cref="Efl.Io.IWriter.CanWrite"/> is <c>false</c>, <see cref="Efl.Io.IWriter.Write"/> would either block or fail.
///
}
}
///<summary>Event argument wrapper for event <see cref="Efl.Io.IWriter.CanWriteChangedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IWriterCanWriteChangedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public bool arg { get; set; }
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IWriterConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_io_writer_interface_get();
/// <summary>Initializes a new instance of the <see cref="IWriter"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IWriterConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IWriterConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
/// <param name="slice">Provides a pre-populated memory to be used up to slice.len. The returned slice will be adapted as length will be set to the actually used amount of bytes, which can be smaller than the request.</param>
/// <param name="remaining">Convenience to output the remaining parts of slice that was not written. If the full slice was written, this will be a slice of zero-length.</param>
/// <returns>0 on succeed, a mapping of errno otherwise</returns>
- public Eina.Error Write(ref Eina.Slice slice, ref Eina.Slice remaining) {
+ public Eina.Error Write(ref Eina.Slice slice, ref Eina.Slice remaining) {
var _ret_var = Efl.Io.IWriterConcrete.NativeMethods.efl_io_writer_write_ptr.Value.Delegate(this.NativeHandle,ref slice, ref remaining);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
private static efl_io_writer_can_write_set_delegate efl_io_writer_can_write_set_static_delegate;
- private delegate Eina.Error efl_io_writer_write_delegate(System.IntPtr obj, System.IntPtr pd, ref Eina.Slice slice, ref Eina.Slice remaining);
+ private delegate Eina.Error efl_io_writer_write_delegate(System.IntPtr obj, System.IntPtr pd, ref Eina.Slice slice, ref Eina.Slice remaining);
- public delegate Eina.Error efl_io_writer_write_api_delegate(System.IntPtr obj, ref Eina.Slice slice, ref Eina.Slice remaining);
+ public delegate Eina.Error efl_io_writer_write_api_delegate(System.IntPtr obj, ref Eina.Slice slice, ref Eina.Slice remaining);
public static Efl.Eo.FunctionWrapper<efl_io_writer_write_api_delegate> efl_io_writer_write_ptr = new Efl.Eo.FunctionWrapper<efl_io_writer_write_api_delegate>(Module, "efl_io_writer_write");
- private static Eina.Error write(System.IntPtr obj, System.IntPtr pd, ref Eina.Slice slice, ref Eina.Slice remaining)
+ private static Eina.Error write(System.IntPtr obj, System.IntPtr pd, ref Eina.Slice slice, ref Eina.Slice remaining)
{
Eina.Log.Debug("function efl_io_writer_write was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- remaining = default(Eina.Slice); Eina.Error _ret_var = default(Eina.Error);
+ remaining = default( Eina.Slice); Eina.Error _ret_var = default(Eina.Error);
try
{
_ret_var = ((IWriter)ws.Target).Write(ref slice, ref remaining);
/// This defines all the APIs supported by legacy "Edje" object, known in EO API as Efl.Canvas.Layout.
/// (Since EFL 1.22)</summary>
[Efl.Layout.ICalcConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface ICalc :
Efl.Eo.IWrapper, IDisposable
{
}
}
///<summary>Event argument wrapper for event <see cref="Efl.Layout.ICalc.CircularDependencyEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class ICalcCircularDependencyEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Eina.Array<System.String> arg { get; set; }
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private ICalcConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport(efl.Libs.Edje)] internal static extern System.IntPtr
efl_layout_calc_interface_get();
/// <summary>Initializes a new instance of the <see cref="ICalc"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private ICalcConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private ICalcConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_LAYOUT_EVENT_RECALC";
RemoveNativeEventHandler(efl.Libs.Edje, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_LAYOUT_EVENT_CIRCULAR_DEPENDENCY";
RemoveNativeEventHandler(efl.Libs.Edje, key, value);
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Edje);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>APIs representing static data from a group in an edje file.
/// (Since EFL 1.22)</summary>
[Efl.Layout.IGroupConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IGroup :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IGroupConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport(efl.Libs.Edje)] internal static extern System.IntPtr
efl_layout_group_interface_get();
/// <summary>Initializes a new instance of the <see cref="IGroup"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IGroupConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IGroupConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Edje);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <param name="kw_object">The object the callback is being triggered from.</param>
/// <param name="emission">The name component of the signal.</param>
/// <param name="source">The source of a signal used as context.</param>
+[Efl.Eo.BindingEntity]
public delegate void EflLayoutSignalCb(Efl.Layout.ISignal kw_object, System.String emission, System.String source);
public delegate void EflLayoutSignalCbInternal(IntPtr data, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Layout.ISignal kw_object, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String emission, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String source);
internal class EflLayoutSignalCbWrapper : IDisposable
/// <summary>Layouts asynchronous messaging and signaling interface.
/// (Since EFL 1.22)</summary>
[Efl.Layout.ISignalConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface ISignal :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private ISignalConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport(efl.Libs.Edje)] internal static extern System.IntPtr
efl_layout_signal_interface_get();
/// <summary>Initializes a new instance of the <see cref="ISignal"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private ISignalConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private ISignalConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Edje);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Efl linear interpolator class</summary>
[Efl.LinearInterpolator.NativeMethods]
+[Efl.Eo.BindingEntity]
public class LinearInterpolator : Efl.Object, Efl.IInterpolator
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="LinearInterpolator"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public LinearInterpolator(Efl.Object parent= null
- ) : base(efl_linear_interpolator_class_get(), typeof(LinearInterpolator), parent)
+ ) : base(efl_linear_interpolator_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected LinearInterpolator(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="LinearInterpolator"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected LinearInterpolator(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected LinearInterpolator(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="LinearInterpolator"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected LinearInterpolator(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected LinearInterpolator(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <param name="progress">Input value mapped from 0.0 to 1.0.</param>
/// <returns>Output value calculated by interpolating the input value.</returns>
virtual public double Interpolate(double progress) {
- var _ret_var = Efl.IInterpolatorConcrete.NativeMethods.efl_interpolator_interpolate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),progress);
+ var _ret_var = Efl.IInterpolatorConcrete.NativeMethods.efl_interpolator_interpolate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),progress);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
namespace Efl {
///<summary>Event argument wrapper for event <see cref="Efl.Loop.ArgumentsEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class LoopArgumentsEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.LoopArguments arg { get; set; }
/// The Efl main loop provides a clean and tiny event loop library with many modules to do lots of convenient things for a programmer, saving time and effort. It's lean and designed to work on anything from embedded systems all the way up to large and powerful multi-cpu workstations. The main loop has a number of primitives you can use. It serializes these and allows for greater responsiveness without the need for threads (or any other concurrency). However you can provide these if you need to.
/// (Since EFL 1.22)</summary>
[Efl.Loop.NativeMethods]
+[Efl.Eo.BindingEntity]
public abstract class Loop : Efl.Task
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="Loop"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public Loop(Efl.Object parent= null
- ) : base(efl_loop_class_get(), typeof(Loop), parent)
+ ) : base(efl_loop_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Loop(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Loop"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Loop(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Loop(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
[Efl.Eo.PrivateNativeClass]
private class LoopRealized : Loop
{
- private LoopRealized(IntPtr ptr) : base(ptr)
+ private LoopRealized(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Initializes a new instance of the <see cref="Loop"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Loop(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Loop(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_LOOP_EVENT_IDLE_ENTER";
RemoveNativeEventHandler(efl.Libs.Ecore, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_LOOP_EVENT_IDLE_EXIT";
RemoveNativeEventHandler(efl.Libs.Ecore, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_LOOP_EVENT_IDLE";
RemoveNativeEventHandler(efl.Libs.Ecore, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_LOOP_EVENT_ARGUMENTS";
RemoveNativeEventHandler(efl.Libs.Ecore, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_LOOP_EVENT_POLL_HIGH";
RemoveNativeEventHandler(efl.Libs.Ecore, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_LOOP_EVENT_POLL_MEDIUM";
RemoveNativeEventHandler(efl.Libs.Ecore, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_LOOP_EVENT_POLL_LOW";
RemoveNativeEventHandler(efl.Libs.Ecore, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_LOOP_EVENT_QUIT";
RemoveNativeEventHandler(efl.Libs.Ecore, key, value);
/// (Since EFL 1.22)</summary>
/// <returns>Time to sleep for each "loop iteration"</returns>
virtual public double GetThrottle() {
- var _ret_var = Efl.Loop.NativeMethods.efl_loop_throttle_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Loop.NativeMethods.efl_loop_throttle_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="amount">Time to sleep for each "loop iteration"</param>
virtual public void SetThrottle(double amount) {
- Efl.Loop.NativeMethods.efl_loop_throttle_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),amount);
+ Efl.Loop.NativeMethods.efl_loop_throttle_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),amount);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This gets the time that the main loop ceased waiting for timouts and/or events to come in or for signals or any other interrupt source. This should be considered a reference point for all time based activity that should calculate its timepoint from the return of ecore_loop_time_get(). Note that this time is meant to be used as relative to other times obtained on this run. If you need absolute time references, use a unix timestamp instead.
/// (Since EFL 1.22)</summary>
/// <returns>Time in seconds</returns>
virtual public double GetTime() {
- var _ret_var = Efl.Loop.NativeMethods.efl_loop_time_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Loop.NativeMethods.efl_loop_time_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="timepoint">Time in seconds</param>
virtual protected void SetTime(double timepoint) {
- Efl.Loop.NativeMethods.efl_loop_time_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),timepoint);
+ Efl.Loop.NativeMethods.efl_loop_time_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),timepoint);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Runs a single iteration of the main loop to process everything on the queue.
/// (Since EFL 1.22)</summary>
virtual public void Iterate() {
- Efl.Loop.NativeMethods.efl_loop_iterate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Loop.NativeMethods.efl_loop_iterate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Runs a single iteration of the main loop to process everything on the queue with block/non-blocking status.
/// <param name="may_block">A flag if the main loop has a possibility of blocking.</param>
/// <returns>Return from single iteration run</returns>
virtual public int IterateMayBlock(int may_block) {
- var _ret_var = Efl.Loop.NativeMethods.efl_loop_iterate_may_block_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),may_block);
+ var _ret_var = Efl.Loop.NativeMethods.efl_loop_iterate_may_block_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),may_block);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Value set by quit()</returns>
virtual public Eina.Value Begin() {
- var _ret_var = Efl.Loop.NativeMethods.efl_loop_begin_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Loop.NativeMethods.efl_loop_begin_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="exit_code">Returned value by begin()</param>
virtual public void Quit(Eina.Value exit_code) {
var _in_exit_code = exit_code.GetNative();
- Efl.Loop.NativeMethods.efl_loop_quit_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_exit_code);
+ Efl.Loop.NativeMethods.efl_loop_quit_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_exit_code);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>A future promise that will be resolved from a clean main loop context as soon as possible.
/// (Since EFL 1.22)</summary>
/// <returns>The future handle.</returns>
virtual public Eina.Future Job() {
- var _ret_var = Efl.Loop.NativeMethods.efl_loop_job_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Loop.NativeMethods.efl_loop_job_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The future handle.</returns>
virtual public Eina.Future Idle() {
- var _ret_var = Efl.Loop.NativeMethods.efl_loop_idle_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Loop.NativeMethods.efl_loop_idle_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="time">The time from now in second that the main loop will wait before triggering it.</param>
/// <returns>The future handle.</returns>
virtual public Eina.Future Timeout(double time) {
- var _ret_var = Efl.Loop.NativeMethods.efl_loop_timeout_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),time);
+ var _ret_var = Efl.Loop.NativeMethods.efl_loop_timeout_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),time);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="provider">The provider for the newly registered class that has to provide that said Efl.Class.</param>
/// <returns><c>true</c> if successfully register, <c>false</c> otherwise.</returns>
virtual public bool Register(Type klass, Efl.Object provider) {
- var _ret_var = Efl.Loop.NativeMethods.efl_loop_register_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),klass, provider);
+ var _ret_var = Efl.Loop.NativeMethods.efl_loop_register_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),klass, provider);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="provider">The provider for the registered class to unregister.</param>
/// <returns><c>true</c> if successfully unregistered, <c>false</c> otherwise.</returns>
virtual public bool Unregister(Type klass, Efl.Object provider) {
- var _ret_var = Efl.Loop.NativeMethods.efl_loop_unregister_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),klass, provider);
+ var _ret_var = Efl.Loop.NativeMethods.efl_loop_unregister_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),klass, provider);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>EFL loop arguments data structure
/// (Since EFL 1.22)</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct LoopArguments
{
/// <summary>Array with loop arguments</summary>
- public Eina.Array<System.String> Argv;
+ public Eina.Array<Eina.Stringshare> Argv;
/// <summary>Set to <c>true</c> when the program should initialize its internal state. This happen once per process instance.</summary>
public bool Initialization;
///<summary>Constructor for LoopArguments.</summary>
public LoopArguments(
- Eina.Array<System.String> Argv = default(Eina.Array<System.String>),
+ Eina.Array<Eina.Stringshare> Argv = default(Eina.Array<Eina.Stringshare>),
bool Initialization = default(bool) )
{
this.Argv = Argv;
public static implicit operator LoopArguments(LoopArguments.NativeStruct _internal_struct)
{
var _external_struct = new LoopArguments();
- _external_struct.Argv = new Eina.Array<System.String>(_internal_struct.Argv, false, false);
+ _external_struct.Argv = new Eina.Array<Eina.Stringshare>(_internal_struct.Argv, false, false);
_external_struct.Initialization = _internal_struct.Initialization != 0;
return _external_struct;
}
/// <summary>An <see cref="Efl.LoopConsumer"/> is a class which requires one of the parents to provide an <see cref="Efl.Loop"/> interface when performing <see cref="Efl.Object.FindProvider"/>. It will enforce this by only allowing parents which provide such an interface or <c>NULL</c>.
/// (Since EFL 1.22)</summary>
[Efl.LoopConsumer.NativeMethods]
+[Efl.Eo.BindingEntity]
public abstract class LoopConsumer : Efl.Object
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="LoopConsumer"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public LoopConsumer(Efl.Object parent= null
- ) : base(efl_loop_consumer_class_get(), typeof(LoopConsumer), parent)
+ ) : base(efl_loop_consumer_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected LoopConsumer(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="LoopConsumer"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected LoopConsumer(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected LoopConsumer(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
[Efl.Eo.PrivateNativeClass]
private class LoopConsumerRealized : LoopConsumer
{
- private LoopConsumerRealized(IntPtr ptr) : base(ptr)
+ private LoopConsumerRealized(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Initializes a new instance of the <see cref="LoopConsumer"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected LoopConsumer(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected LoopConsumer(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// (Since EFL 1.22)</summary>
/// <returns>Efl loop</returns>
virtual public Efl.Loop GetLoop() {
- var _ret_var = Efl.LoopConsumer.NativeMethods.efl_loop_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.LoopConsumer.NativeMethods.efl_loop_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <returns>The future or <c>NULL</c> on error.</returns>
virtual public Eina.Future FutureResolved(Eina.Value result) {
var _in_result = result.GetNative();
- var _ret_var = Efl.LoopConsumer.NativeMethods.efl_loop_future_resolved_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_result);
+ var _ret_var = Efl.LoopConsumer.NativeMethods.efl_loop_future_resolved_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_result);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="error">An Eina_Error value</param>
/// <returns>The future or <c>NULL</c> on error.</returns>
virtual public Eina.Future FutureRejected(Eina.Error error) {
- var _ret_var = Efl.LoopConsumer.NativeMethods.efl_loop_future_rejected_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),error);
+ var _ret_var = Efl.LoopConsumer.NativeMethods.efl_loop_future_rejected_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),error);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The new promise.</returns>
virtual public Eina.Promise NewPromise() {
- var _ret_var = Efl.LoopConsumer.NativeMethods.efl_loop_promise_new_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.LoopConsumer.NativeMethods.efl_loop_promise_new_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Fds are objects that watch the activity on a given file descriptor. This file descriptor can be a network, a file, provided by a library.
/// The object will trigger relevant events depending on what's happening.</summary>
[Efl.LoopFd.NativeMethods]
+[Efl.Eo.BindingEntity]
public class LoopFd : Efl.LoopConsumer
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="LoopFd"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public LoopFd(Efl.Object parent= null
- ) : base(efl_loop_fd_class_get(), typeof(LoopFd), parent)
+ ) : base(efl_loop_fd_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected LoopFd(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="LoopFd"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected LoopFd(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected LoopFd(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="LoopFd"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected LoopFd(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected LoopFd(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_LOOP_FD_EVENT_READ";
RemoveNativeEventHandler(efl.Libs.Ecore, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_LOOP_FD_EVENT_WRITE";
RemoveNativeEventHandler(efl.Libs.Ecore, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_LOOP_FD_EVENT_ERROR";
RemoveNativeEventHandler(efl.Libs.Ecore, key, value);
/// <summary>Defines which file descriptor to watch. If it is a file, use file_fd variant.</summary>
/// <returns>The file descriptor.</returns>
virtual public int GetFd() {
- var _ret_var = Efl.LoopFd.NativeMethods.efl_loop_fd_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.LoopFd.NativeMethods.efl_loop_fd_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Defines the fd to watch.</summary>
/// <param name="fd">The file descriptor.</param>
virtual public void SetFd(int fd) {
- Efl.LoopFd.NativeMethods.efl_loop_fd_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),fd);
+ Efl.LoopFd.NativeMethods.efl_loop_fd_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),fd);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Defines which file descriptor to watch when watching a file.</summary>
/// <returns>The file descriptor.</returns>
virtual public int GetFdFile() {
- var _ret_var = Efl.LoopFd.NativeMethods.efl_loop_fd_file_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.LoopFd.NativeMethods.efl_loop_fd_file_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Defines the fd to watch on.</summary>
/// <param name="fd">The file descriptor.</param>
virtual public void SetFdFile(int fd) {
- Efl.LoopFd.NativeMethods.efl_loop_fd_file_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),fd);
+ Efl.LoopFd.NativeMethods.efl_loop_fd_file_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),fd);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Defines which file descriptor to watch. If it is a file, use file_fd variant.</summary>
/// <summary>An object that describes an low-level source of I/O to listen to for available data to be read or written, depending on the OS and data source type. When I/O becomes available various events are produced and the callbacks attached to them will be called.</summary>
[Efl.LoopHandler.NativeMethods]
+[Efl.Eo.BindingEntity]
public class LoopHandler : Efl.Object
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="LoopHandler"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public LoopHandler(Efl.Object parent= null
- ) : base(efl_loop_handler_class_get(), typeof(LoopHandler), parent)
+ ) : base(efl_loop_handler_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected LoopHandler(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="LoopHandler"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected LoopHandler(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected LoopHandler(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="LoopHandler"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected LoopHandler(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected LoopHandler(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_LOOP_HANDLER_EVENT_READ";
RemoveNativeEventHandler(efl.Libs.Ecore, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_LOOP_HANDLER_EVENT_WRITE";
RemoveNativeEventHandler(efl.Libs.Ecore, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_LOOP_HANDLER_EVENT_ERROR";
RemoveNativeEventHandler(efl.Libs.Ecore, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_LOOP_HANDLER_EVENT_BUFFER";
RemoveNativeEventHandler(efl.Libs.Ecore, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_LOOP_HANDLER_EVENT_PREPARE";
RemoveNativeEventHandler(efl.Libs.Ecore, key, value);
/// <summary>This sets what kind of I/O should be listened to only when using a fd or fd_file for the handler</summary>
/// <returns>The flags that indicate what kind of I/O should be listened for like read, write or error channels.</returns>
virtual public Efl.LoopHandlerFlags GetActive() {
- var _ret_var = Efl.LoopHandler.NativeMethods.efl_loop_handler_active_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.LoopHandler.NativeMethods.efl_loop_handler_active_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>This sets what kind of I/O should be listened to only when using a fd or fd_file for the handler</summary>
/// <param name="flags">The flags that indicate what kind of I/O should be listened for like read, write or error channels.</param>
virtual public void SetActive(Efl.LoopHandlerFlags flags) {
- Efl.LoopHandler.NativeMethods.efl_loop_handler_active_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),flags);
+ Efl.LoopHandler.NativeMethods.efl_loop_handler_active_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),flags);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Controls a file descriptor to listen to for I/O, which points to a data pipe such as a device, socket or pipe etc.</summary>
/// <returns>The file descriptor</returns>
virtual public int GetFd() {
- var _ret_var = Efl.LoopHandler.NativeMethods.efl_loop_handler_fd_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.LoopHandler.NativeMethods.efl_loop_handler_fd_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Controls a file descriptor to listen to for I/O, which points to a data pipe such as a device, socket or pipe etc.</summary>
/// <param name="fd">The file descriptor</param>
virtual public void SetFd(int fd) {
- Efl.LoopHandler.NativeMethods.efl_loop_handler_fd_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),fd);
+ Efl.LoopHandler.NativeMethods.efl_loop_handler_fd_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),fd);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Controls a file descriptor to listen to for I/O that specifically points to a file in storage and not a device, socket or pipe etc.</summary>
/// <returns>The file descriptor</returns>
virtual public int GetFdFile() {
- var _ret_var = Efl.LoopHandler.NativeMethods.efl_loop_handler_fd_file_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.LoopHandler.NativeMethods.efl_loop_handler_fd_file_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Controls a file descriptor to listen to for I/O that specifically points to a file in storage and not a device, socket or pipe etc.</summary>
/// <param name="fd">The file descriptor</param>
virtual public void SetFdFile(int fd) {
- Efl.LoopHandler.NativeMethods.efl_loop_handler_fd_file_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),fd);
+ Efl.LoopHandler.NativeMethods.efl_loop_handler_fd_file_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),fd);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Controls a windows win32 object handle to listen to for I/O. When it becomes available for any data the read event will be produced.</summary>
/// <returns>A win32 object handle</returns>
virtual public System.IntPtr GetWin32() {
- var _ret_var = Efl.LoopHandler.NativeMethods.efl_loop_handler_win32_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.LoopHandler.NativeMethods.efl_loop_handler_win32_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Controls a windows win32 object handle to listen to for I/O. When it becomes available for any data the read event will be produced.</summary>
/// <param name="handle">A win32 object handle</param>
virtual public void SetWin32(System.IntPtr handle) {
- Efl.LoopHandler.NativeMethods.efl_loop_handler_win32_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),handle);
+ Efl.LoopHandler.NativeMethods.efl_loop_handler_win32_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),handle);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This sets what kind of I/O should be listened to only when using a fd or fd_file for the handler</summary>
namespace Efl {
/// <summary>A set of flags that can be OR'd together to indicate which are desired</summary>
+[Efl.Eo.BindingEntity]
public enum LoopHandlerFlags
{
/// <summary>No I/O is desired (generally useless)</summary>
namespace Efl {
///<summary>Event argument wrapper for event <see cref="Efl.LoopMessage.MessageEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class LoopMessageMessageEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.LoopMessage arg { get; set; }
}
/// <summary>Base message payload object class. Inherit this and extend for specific message types.</summary>
[Efl.LoopMessage.NativeMethods]
+[Efl.Eo.BindingEntity]
public class LoopMessage : Efl.Object
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="LoopMessage"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public LoopMessage(Efl.Object parent= null
- ) : base(efl_loop_message_class_get(), typeof(LoopMessage), parent)
+ ) : base(efl_loop_message_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected LoopMessage(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="LoopMessage"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected LoopMessage(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected LoopMessage(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="LoopMessage"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected LoopMessage(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected LoopMessage(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_LOOP_MESSAGE_EVENT_MESSAGE";
RemoveNativeEventHandler(efl.Libs.Ecore, key, value);
/// <summary>Used internally for futures on the loop</summary>
[Efl.LoopMessageFuture.NativeMethods]
+[Efl.Eo.BindingEntity]
public class LoopMessageFuture : Efl.LoopMessage
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="LoopMessageFuture"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public LoopMessageFuture(Efl.Object parent= null
- ) : base(efl_loop_message_future_class_get(), typeof(LoopMessageFuture), parent)
+ ) : base(efl_loop_message_future_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected LoopMessageFuture(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="LoopMessageFuture"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected LoopMessageFuture(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected LoopMessageFuture(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="LoopMessageFuture"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected LoopMessageFuture(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected LoopMessageFuture(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>No description supplied.</summary>
/// <returns>No description supplied.</returns>
virtual public System.IntPtr GetData() {
- var _ret_var = Efl.LoopMessageFuture.NativeMethods.efl_loop_message_future_data_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.LoopMessageFuture.NativeMethods.efl_loop_message_future_data_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>No description supplied.</summary>
/// <param name="data">No description supplied.</param>
virtual public void SetData(System.IntPtr data) {
- Efl.LoopMessageFuture.NativeMethods.efl_loop_message_future_data_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),data);
+ Efl.LoopMessageFuture.NativeMethods.efl_loop_message_future_data_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),data);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>No description supplied.</summary>
namespace Efl {
///<summary>Event argument wrapper for event <see cref="Efl.LoopMessageFutureHandler.MessageFutureEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class LoopMessageFutureHandlerMessageFutureEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.LoopMessageFuture arg { get; set; }
}
/// <summary>Internal use for future on an efl loop - replacing legacy ecore events</summary>
[Efl.LoopMessageFutureHandler.NativeMethods]
+[Efl.Eo.BindingEntity]
public class LoopMessageFutureHandler : Efl.LoopMessageHandler
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="LoopMessageFutureHandler"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public LoopMessageFutureHandler(Efl.Object parent= null
- ) : base(efl_loop_message_future_handler_class_get(), typeof(LoopMessageFutureHandler), parent)
+ ) : base(efl_loop_message_future_handler_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected LoopMessageFutureHandler(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="LoopMessageFutureHandler"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected LoopMessageFutureHandler(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected LoopMessageFutureHandler(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="LoopMessageFutureHandler"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected LoopMessageFutureHandler(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected LoopMessageFutureHandler(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_LOOP_MESSAGE_FUTURE_HANDLER_EVENT_MESSAGE_FUTURE";
RemoveNativeEventHandler(efl.Libs.Ecore, key, value);
/// <summary>No description supplied.</summary>
/// <returns>No description supplied.</returns>
virtual public Efl.LoopMessageFuture AddMessageType() {
- var _ret_var = Efl.LoopMessageFutureHandler.NativeMethods.efl_loop_message_future_handler_message_type_add_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.LoopMessageFutureHandler.NativeMethods.efl_loop_message_future_handler_message_type_add_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
namespace Efl {
///<summary>Event argument wrapper for event <see cref="Efl.LoopMessageHandler.MessageEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class LoopMessageHandlerMessageEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.LoopMessage arg { get; set; }
}
/// <summary>Message handlers represent a single message type on the Efl.Loop parent object. These message handlers can be used to listen for that message type by listening to the message event for the generic case or a class specific event type to get specific message object typing correct.</summary>
[Efl.LoopMessageHandler.NativeMethods]
+[Efl.Eo.BindingEntity]
public class LoopMessageHandler : Efl.Object
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="LoopMessageHandler"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public LoopMessageHandler(Efl.Object parent= null
- ) : base(efl_loop_message_handler_class_get(), typeof(LoopMessageHandler), parent)
+ ) : base(efl_loop_message_handler_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected LoopMessageHandler(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="LoopMessageHandler"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected LoopMessageHandler(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected LoopMessageHandler(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="LoopMessageHandler"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected LoopMessageHandler(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected LoopMessageHandler(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_LOOP_MESSAGE_HANDLER_EVENT_MESSAGE";
RemoveNativeEventHandler(efl.Libs.Ecore, key, value);
/// <summary>Creates a new message object of the correct type for this message type.</summary>
/// <returns>The new message payload object.</returns>
virtual public Efl.LoopMessage AddMessage() {
- var _ret_var = Efl.LoopMessageHandler.NativeMethods.efl_loop_message_handler_message_add_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.LoopMessageHandler.NativeMethods.efl_loop_message_handler_message_add_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Place the message on the queue to be called later when message_process() is called on the loop object.</summary>
/// <param name="message">The message to place on the queue.</param>
virtual public void MessageSend(Efl.LoopMessage message) {
- Efl.LoopMessageHandler.NativeMethods.efl_loop_message_handler_message_send_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),message);
+ Efl.LoopMessageHandler.NativeMethods.efl_loop_message_handler_message_send_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),message);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Overide me (implement) then call super after calling the right callback type if you specialize the message type.</summary>
/// <param name="message">Generic message event type</param>
virtual public void CallMessage(Efl.LoopMessage message) {
- Efl.LoopMessageHandler.NativeMethods.efl_loop_message_handler_message_call_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),message);
+ Efl.LoopMessageHandler.NativeMethods.efl_loop_message_handler_message_call_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),message);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Delete all queued messages belonging to this message handler that are pending on the queue so they are not processed later.</summary>
/// <returns>True if any messages of this type were cleared.</returns>
virtual public bool ClearMessage() {
- var _ret_var = Efl.LoopMessageHandler.NativeMethods.efl_loop_message_handler_message_clear_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.LoopMessageHandler.NativeMethods.efl_loop_message_handler_message_clear_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
namespace Efl {
[Efl.LoopModel.NativeMethods]
+[Efl.Eo.BindingEntity]
public abstract class LoopModel : Efl.LoopConsumer, Efl.IModel
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="LoopModel"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public LoopModel(Efl.Object parent= null
- ) : base(efl_loop_model_class_get(), typeof(LoopModel), parent)
+ ) : base(efl_loop_model_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected LoopModel(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="LoopModel"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected LoopModel(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected LoopModel(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
[Efl.Eo.PrivateNativeClass]
private class LoopModelRealized : LoopModel
{
- private LoopModelRealized(IntPtr ptr) : base(ptr)
+ private LoopModelRealized(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Initializes a new instance of the <see cref="LoopModel"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected LoopModel(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected LoopModel(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_MODEL_EVENT_PROPERTIES_CHANGED";
RemoveNativeEventHandler(efl.Libs.Ecore, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_MODEL_EVENT_CHILD_ADDED";
RemoveNativeEventHandler(efl.Libs.Ecore, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_MODEL_EVENT_CHILD_REMOVED";
RemoveNativeEventHandler(efl.Libs.Ecore, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_MODEL_EVENT_CHILDREN_COUNT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Ecore, key, value);
/// <summary>To be called when a Child model is created by <see cref="Efl.IModel.GetChildrenSlice"/> by the one creating the child object.
/// This function is used to properly define the lifecycle of the new Child Model object and make sure that once it has 0 ref except its parent Model, it will be destroyed. This function should only be called once per child. It is useful for <see cref="Efl.IModel"/> who have a lot of children and shouldn't keep more than what is used in memory.</summary>
virtual public void VolatileMake() {
- Efl.LoopModel.NativeMethods.efl_loop_model_volatile_make_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.LoopModel.NativeMethods.efl_loop_model_volatile_make_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get properties from model.
/// See also <see cref="Efl.IModel.PropertiesChangedEvt"/>.</summary>
/// <returns>Array of current properties</returns>
virtual public Eina.Iterator<System.String> GetProperties() {
- var _ret_var = Efl.IModelConcrete.NativeMethods.efl_model_properties_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IModelConcrete.NativeMethods.efl_model_properties_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<System.String>(_ret_var, true, false);
+ return new Eina.Iterator<System.String>(_ret_var, true);
}
/// <summary>Retrieve the value of a given property name.
/// At this point the caller is free to get values from properties. The event <see cref="Efl.IModel.PropertiesChangedEvt"/> may be raised to notify listeners of the property/value.
/// <param name="property">Property name</param>
/// <returns>Property value</returns>
virtual public Eina.Value GetProperty(System.String property) {
- var _ret_var = Efl.IModelConcrete.NativeMethods.efl_model_property_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),property);
+ var _ret_var = Efl.IModelConcrete.NativeMethods.efl_model_property_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),property);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="value">Property value</param>
/// <returns>Return an error in case the property could not be set, the value that was set otherwise.</returns>
virtual public Eina.Future SetProperty(System.String property, Eina.Value value) {
- var _ret_var = Efl.IModelConcrete.NativeMethods.efl_model_property_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),property, value);
+ var _ret_var = Efl.IModelConcrete.NativeMethods.efl_model_property_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),property, value);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// See also <see cref="Efl.IModel.GetChildrenSlice"/>.</summary>
/// <returns>Current known children count</returns>
virtual public uint GetChildrenCount() {
- var _ret_var = Efl.IModelConcrete.NativeMethods.efl_model_children_count_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IModelConcrete.NativeMethods.efl_model_children_count_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="property">Property name.</param>
/// <returns>Future to be resolved when the property changes to anything other than error:EAGAIN</returns>
virtual public Eina.Future GetPropertyReady(System.String property) {
- var _ret_var = Efl.IModelConcrete.NativeMethods.efl_model_property_ready_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),property);
+ var _ret_var = Efl.IModelConcrete.NativeMethods.efl_model_property_ready_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),property);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="count">Range size. If count is 0, start is ignored.</param>
/// <returns>Array of children</returns>
virtual public Eina.Future GetChildrenSlice(uint start, uint count) {
- var _ret_var = Efl.IModelConcrete.NativeMethods.efl_model_children_slice_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),start, count);
+ var _ret_var = Efl.IModelConcrete.NativeMethods.efl_model_children_slice_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),start, count);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Add a new child, possibly dummy, depending on the implementation, of a internal keeping. When the child is effectively added the event <see cref="Efl.IModel.ChildAddedEvt"/> is then raised and the new child is kept along with other children.</summary>
/// <returns>Child object</returns>
virtual public Efl.Object AddChild() {
- var _ret_var = Efl.IModelConcrete.NativeMethods.efl_model_child_add_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IModelConcrete.NativeMethods.efl_model_child_add_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Remove a child of a internal keeping. When the child is effectively removed the event <see cref="Efl.IModel.ChildRemovedEvt"/> is then raised to give a chance for listeners to perform any cleanup and/or update references.</summary>
/// <param name="child">Child to be removed</param>
virtual public void DelChild(Efl.Object child) {
- Efl.IModelConcrete.NativeMethods.efl_model_child_del_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),child);
+ Efl.IModelConcrete.NativeMethods.efl_model_child_del_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),child);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Async wrapper for <see cref="SetProperty" />.</summary>
/// The <see cref="Efl.Object.FreezeEvent"/> and <see cref="Efl.Object.ThawEvent"/> calls are used to pause and unpause the timer.
/// (Since EFL 1.22)</summary>
[Efl.LoopTimer.NativeMethods]
+[Efl.Eo.BindingEntity]
public class LoopTimer : Efl.LoopConsumer
{
///<summary>Pointer to the native class description.</summary>
efl_loop_timer_class_get();
/// <summary>Initializes a new instance of the <see cref="LoopTimer"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="timerInterval">Interval the timer ticks on. See <see cref="Efl.LoopTimer.SetTimerInterval"/></param>
+ /// <param name="timerInterval">Interval the timer ticks on. See <see cref="Efl.LoopTimer.SetTimerInterval" /></param>
public LoopTimer(Efl.Object parent
- , double timerInterval) : base(efl_loop_timer_class_get(), typeof(LoopTimer), parent)
+ , double timerInterval) : base(efl_loop_timer_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(timerInterval))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected LoopTimer(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="LoopTimer"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected LoopTimer(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected LoopTimer(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="LoopTimer"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected LoopTimer(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected LoopTimer(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_LOOP_TIMER_EVENT_TIMER_TICK";
RemoveNativeEventHandler(efl.Libs.Ecore, key, value);
/// (Since EFL 1.22)</summary>
/// <returns>The new interval in seconds</returns>
virtual public double GetTimerInterval() {
- var _ret_var = Efl.LoopTimer.NativeMethods.efl_loop_timer_interval_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.LoopTimer.NativeMethods.efl_loop_timer_interval_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="kw_in">The new interval in seconds</param>
virtual public void SetTimerInterval(double kw_in) {
- Efl.LoopTimer.NativeMethods.efl_loop_timer_interval_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),kw_in);
+ Efl.LoopTimer.NativeMethods.efl_loop_timer_interval_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),kw_in);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gets the pending time regarding a timer.
/// (Since EFL 1.22)</summary>
/// <returns>Pending time</returns>
virtual public double GetTimePending() {
- var _ret_var = Efl.LoopTimer.NativeMethods.efl_loop_timer_time_pending_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.LoopTimer.NativeMethods.efl_loop_timer_time_pending_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This is equal to delaying the timer by the already passed time, since the timer started ticking
/// (Since EFL 1.22)</summary>
virtual public void ResetTimer() {
- Efl.LoopTimer.NativeMethods.efl_loop_timer_reset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.LoopTimer.NativeMethods.efl_loop_timer_reset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This effectively resets a timer but based on the time when this iteration of the main loop started.
/// (Since EFL 1.22)</summary>
virtual public void ResetTimerLoop() {
- Efl.LoopTimer.NativeMethods.efl_loop_timer_loop_reset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.LoopTimer.NativeMethods.efl_loop_timer_loop_reset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Adds a delay to the next occurrence of a timer. This doesn't affect the timer interval.
/// (Since EFL 1.22)</summary>
/// <param name="add">The amount of time by which to delay the timer in seconds</param>
virtual public void TimerDelay(double add) {
- Efl.LoopTimer.NativeMethods.efl_loop_timer_delay_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),add);
+ Efl.LoopTimer.NativeMethods.efl_loop_timer_delay_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),add);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Interval the timer ticks on.
/// <summary>Efl model interface</summary>
[Efl.IModelConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IModel :
Efl.Eo.IWrapper, IDisposable
{
}
}
///<summary>Event argument wrapper for event <see cref="Efl.IModel.PropertiesChangedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IModelPropertiesChangedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.ModelPropertyEvent arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.IModel.ChildAddedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IModelChildAddedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.ModelChildrenEvent arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.IModel.ChildRemovedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IModelChildRemovedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.ModelChildrenEvent arg { get; set; }
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IModelConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_model_interface_get();
/// <summary>Initializes a new instance of the <see cref="IModel"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IModelConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IModelConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_MODEL_EVENT_PROPERTIES_CHANGED";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_MODEL_EVENT_CHILD_ADDED";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_MODEL_EVENT_CHILD_REMOVED";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_MODEL_EVENT_CHILDREN_COUNT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
public Eina.Iterator<System.String> GetProperties() {
var _ret_var = Efl.IModelConcrete.NativeMethods.efl_model_properties_get_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<System.String>(_ret_var, true, false);
+ return new Eina.Iterator<System.String>(_ret_var, true);
}
/// <summary>Retrieve the value of a given property name.
/// At this point the caller is free to get values from properties. The event <see cref="Efl.IModel.PropertiesChangedEvt"/> may be raised to notify listeners of the property/value.
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>EFL model property event data structure</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct ModelPropertyEvent
{
/// <summary>List of changed properties</summary>
- public Eina.Array<System.String> Changed_properties;
+ public Eina.Array<Eina.Stringshare> Changed_properties;
/// <summary>Removed properties identified by name</summary>
- public Eina.Array<System.String> Invalidated_properties;
+ public Eina.Array<Eina.Stringshare> Invalidated_properties;
///<summary>Constructor for ModelPropertyEvent.</summary>
public ModelPropertyEvent(
- Eina.Array<System.String> Changed_properties = default(Eina.Array<System.String>),
- Eina.Array<System.String> Invalidated_properties = default(Eina.Array<System.String>) )
+ Eina.Array<Eina.Stringshare> Changed_properties = default(Eina.Array<Eina.Stringshare>),
+ Eina.Array<Eina.Stringshare> Invalidated_properties = default(Eina.Array<Eina.Stringshare>) )
{
this.Changed_properties = Changed_properties;
this.Invalidated_properties = Invalidated_properties;
public static implicit operator ModelPropertyEvent(ModelPropertyEvent.NativeStruct _internal_struct)
{
var _external_struct = new ModelPropertyEvent();
- _external_struct.Changed_properties = new Eina.Array<System.String>(_internal_struct.Changed_properties, false, false);
- _external_struct.Invalidated_properties = new Eina.Array<System.String>(_internal_struct.Invalidated_properties, false, false);
+ _external_struct.Changed_properties = new Eina.Array<Eina.Stringshare>(_internal_struct.Changed_properties, false, false);
+ _external_struct.Invalidated_properties = new Eina.Array<Eina.Stringshare>(_internal_struct.Invalidated_properties, false, false);
return _external_struct;
}
/// <summary>Every time a child is added the event <see cref="Efl.IModel.ChildAddedEvt"/> is dispatched passing along this structure.</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct ModelChildrenEvent
{
/// <summary>index is a hint and is intended to provide a way for applications to control/know children relative positions through listings.</summary>
/// Life Cycle Objects are created with efl_add() and mostly disposed of with efl_del(). As an optimization, efl_add() accepts a list of initialization functions which the programmer can use to further customize the object before it is fully constructed. Also, objects can have a parent which will keep them alive as long as the parent is alive, so the programmer does not need to keep track of references. (See the <see cref="Efl.Object.Parent"/> property for details). Due to the above characteristics, EFL objects undergo the following phases during their Life Cycle: - Construction: The Efl.Object.constructor method is called. Afterwards, any user-supplied initialization methods are called. - Finalization: The <see cref="Efl.Object.FinalizeAdd"/> method is called and <see cref="Efl.Object.GetFinalized"/> is set to <c>true</c> when it returns. Object is usable at this point. - Invalidation: The object has lost its parent. The <see cref="Efl.Object.Invalidate"/> method is called so all the object's relationships can be terminated. <see cref="Efl.Object.GetInvalidated"/> is set to <c>true</c>. - Destruction: The object has no parent and it can be destroyed. The <see cref="Efl.Object.Destructor"/> method is called, use it to return any resources the object might have gathered during its life.
/// (Since EFL 1.22)</summary>
[Efl.Object.NativeMethods]
+[Efl.Eo.BindingEntity]
public abstract class Object : Efl.Eo.EoWrapper
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="Object"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public Object(Efl.Object parent= null
- ) : base(efl_object_class_get(), typeof(Object), parent)
+ ) : base(efl_object_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Object(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Object"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Object(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Object(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
[Efl.Eo.PrivateNativeClass]
private class ObjectRealized : Object
{
- private ObjectRealized(IntPtr ptr) : base(ptr)
+ private ObjectRealized(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Initializes a new instance of the <see cref="Object"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Object(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Object(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_DEL";
RemoveNativeEventHandler(efl.Libs.Eo, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_INVALIDATE";
RemoveNativeEventHandler(efl.Libs.Eo, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_NOREF";
RemoveNativeEventHandler(efl.Libs.Eo, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_OWNERSHIP_UNIQUE";
RemoveNativeEventHandler(efl.Libs.Eo, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_OWNERSHIP_SHARED";
RemoveNativeEventHandler(efl.Libs.Eo, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_EVENT_DESTRUCT";
RemoveNativeEventHandler(efl.Libs.Eo, key, value);
/// (Since EFL 1.22)</summary>
/// <returns>The new parent.</returns>
virtual public Efl.Object GetParent() {
- var _ret_var = Efl.Object.NativeMethods.efl_parent_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Object.NativeMethods.efl_parent_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="parent">The new parent.</param>
virtual public void SetParent(Efl.Object parent) {
- Efl.Object.NativeMethods.efl_parent_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),parent);
+ Efl.Object.NativeMethods.efl_parent_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),parent);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The name of the object.
/// (Since EFL 1.22)</summary>
/// <returns>The name.</returns>
virtual public System.String GetName() {
- var _ret_var = Efl.Object.NativeMethods.efl_name_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Object.NativeMethods.efl_name_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="name">The name.</param>
virtual public void SetName(System.String name) {
- Efl.Object.NativeMethods.efl_name_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),name);
+ Efl.Object.NativeMethods.efl_name_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),name);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>A human readable comment for the object.
/// (Since EFL 1.22)</summary>
/// <returns>The comment.</returns>
virtual public System.String GetComment() {
- var _ret_var = Efl.Object.NativeMethods.efl_comment_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Object.NativeMethods.efl_comment_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="comment">The comment.</param>
virtual public void SetComment(System.String comment) {
- Efl.Object.NativeMethods.efl_comment_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),comment);
+ Efl.Object.NativeMethods.efl_comment_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),comment);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Return the global count of freeze events.
/// (Since EFL 1.22)</summary>
/// <returns>The event freeze count of this object.</returns>
virtual public int GetEventFreezeCount() {
- var _ret_var = Efl.Object.NativeMethods.efl_event_freeze_count_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Object.NativeMethods.efl_event_freeze_count_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if the object is finalized, <c>false</c> otherwise.</returns>
virtual public bool GetFinalized() {
- var _ret_var = Efl.Object.NativeMethods.efl_finalized_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Object.NativeMethods.efl_finalized_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if the object is invalidated, <c>false</c> otherwise.</returns>
virtual public bool GetInvalidated() {
- var _ret_var = Efl.Object.NativeMethods.efl_invalidated_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Object.NativeMethods.efl_invalidated_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if the object is invalidating, <c>false</c> otherwise.</returns>
virtual public bool GetInvalidating() {
- var _ret_var = Efl.Object.NativeMethods.efl_invalidating_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Object.NativeMethods.efl_invalidating_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Whether to allow efl_unref() to zero even if <see cref="Efl.Object.Parent"/> is not <c>null</c>.</returns>
virtual public bool GetAllowParentUnref() {
- var _ret_var = Efl.Object.NativeMethods.efl_allow_parent_unref_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Object.NativeMethods.efl_allow_parent_unref_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="allow">Whether to allow efl_unref() to zero even if <see cref="Efl.Object.Parent"/> is not <c>null</c>.</param>
virtual public void SetAllowParentUnref(bool allow) {
- Efl.Object.NativeMethods.efl_allow_parent_unref_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),allow);
+ Efl.Object.NativeMethods.efl_allow_parent_unref_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),allow);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Build a read-only name for this object used for debugging.
/// (Since EFL 1.22)</summary>
/// <param name="sb">A string buffer, must not be <c>null</c>.</param>
virtual public void DebugNameOverride(Eina.Strbuf sb) {
- Efl.Object.NativeMethods.efl_debug_name_override_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),sb);
+ Efl.Object.NativeMethods.efl_debug_name_override_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),sb);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Searches upwards in the object tree for a provider which knows the given class/interface.
/// <param name="klass">The class identifier to search for.</param>
/// <returns>Object from the provider list.</returns>
virtual public Efl.Object FindProvider(Type klass) {
- var _ret_var = Efl.Object.NativeMethods.efl_provider_find_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),klass);
+ var _ret_var = Efl.Object.NativeMethods.efl_provider_find_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),klass);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Will be called once <see cref="Efl.Object.Invalidate"/> has returned. See the Life Cycle section in this class' description.
/// (Since EFL 1.22)</summary>
virtual public void Destructor() {
- Efl.Object.NativeMethods.efl_destructor_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Object.NativeMethods.efl_destructor_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Implement this method to finish the initialization of your object after all (if any) user-provided configuration methods have been executed.
/// (Since EFL 1.22)</summary>
/// <returns>The new object. Return <c>NULL</c> to abort object creation.</returns>
virtual public Efl.Object FinalizeAdd() {
- var _ret_var = Efl.Object.NativeMethods.efl_finalize_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Object.NativeMethods.efl_finalize_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// It is called when the parent reference is lost or set to <c>NULL</c>. After this call returns, <see cref="Efl.Object.GetInvalidated"/> is set to <c>true</c>. This allows a simpler tear down of complex hierarchies, by performing object destruction in two steps, first all object relationships are broken and then the isolated objects are destroyed. Performing everything in the <see cref="Efl.Object.Destructor"/> can sometimes lead to deadlocks, but implementing this method is optional if this is not your case. When an object with a parent is destroyed, it first receives a call to <see cref="Efl.Object.Invalidate"/> and then to <see cref="Efl.Object.Destructor"/>. See the Life Cycle section in this class' description.
/// (Since EFL 1.22)</summary>
virtual public void Invalidate() {
- Efl.Object.NativeMethods.efl_invalidate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Object.NativeMethods.efl_invalidate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Find a child object with the given name and return it.
/// <param name="search">The name search string.</param>
/// <returns>The first object found.</returns>
virtual public Efl.Object FindName(System.String search) {
- var _ret_var = Efl.Object.NativeMethods.efl_name_find_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),search);
+ var _ret_var = Efl.Object.NativeMethods.efl_name_find_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),search);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Allows event callbacks to be called again for this object after a call to <see cref="Efl.Object.FreezeEvent"/>. The amount of thaws must match the amount of freezes for events to be re-enabled.
/// (Since EFL 1.22)</summary>
virtual public void ThawEvent() {
- Efl.Object.NativeMethods.efl_event_thaw_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Object.NativeMethods.efl_event_thaw_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Freeze events of this object.
/// Prevents event callbacks from being called for this object. Enable events again using <see cref="Efl.Object.ThawEvent"/>. Events marked <c>hot</c> cannot be stopped.
/// (Since EFL 1.22)</summary>
virtual public void FreezeEvent() {
- Efl.Object.NativeMethods.efl_event_freeze_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Object.NativeMethods.efl_event_freeze_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gobally thaw events for ALL EFL OBJECTS.
/// This stops the current callback call. Any other callbacks for the current event will not be called. This is useful when you want to filter out events. Just add higher priority events and call this under certain conditions to block a certain event.
/// (Since EFL 1.22)</summary>
virtual public void EventCallbackStop() {
- Efl.Object.NativeMethods.efl_event_callback_stop_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Object.NativeMethods.efl_event_callback_stop_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Remove an event callback forwarder for a specified event and object.
/// <param name="new_obj">The object to emit events from</param>
virtual public void DelEventCallbackForwarder(Efl.EventDescription desc, Efl.Object new_obj) {
var _in_desc = Eina.PrimitiveConversion.ManagedToPointerAlloc(desc);
- Efl.Object.NativeMethods.efl_event_callback_forwarder_del_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_desc, new_obj);
+ Efl.Object.NativeMethods.efl_event_callback_forwarder_del_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_desc, new_obj);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get an iterator on all childrens
/// (Since EFL 1.22)</summary>
/// <returns>Children iterator</returns>
virtual public Eina.Iterator<Efl.Object> NewChildrenIterator() {
- var _ret_var = Efl.Object.NativeMethods.efl_children_iterator_new_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Object.NativeMethods.efl_children_iterator_new_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Object>(_ret_var, true, false);
+ return new Eina.Iterator<Efl.Object>(_ret_var, true);
}
/// <summary>Make an object a composite object of another.
/// The class of comp_obj must be part of the extensions of the class of the parent. It isn't possible to attach more then 1 composite of the same class. This function also sets the parent of comp_obj to parent.
/// <param name="comp_obj">the object that will be used to composite the parent.</param>
/// <returns><c>true</c> if successful. <c>false</c> otherwise.</returns>
virtual public bool AttachComposite(Efl.Object comp_obj) {
- var _ret_var = Efl.Object.NativeMethods.efl_composite_attach_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),comp_obj);
+ var _ret_var = Efl.Object.NativeMethods.efl_composite_attach_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),comp_obj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="comp_obj">The object that will be removed from the parent.</param>
/// <returns><c>true</c> if successful. <c>false</c> otherwise.</returns>
virtual public bool CompositeDetach(Efl.Object comp_obj) {
- var _ret_var = Efl.Object.NativeMethods.efl_composite_detach_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),comp_obj);
+ var _ret_var = Efl.Object.NativeMethods.efl_composite_detach_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),comp_obj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if it is. <c>false</c> otherwise.</returns>
virtual public bool IsCompositePart() {
- var _ret_var = Efl.Object.NativeMethods.efl_composite_part_is_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Object.NativeMethods.efl_composite_part_is_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Eo);
/// <summary>Gets the list of Eo operations to override.</summary>
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_composite_part_is"), func = Marshal.GetFunctionPointerForDelegate(efl_composite_part_is_static_delegate) });
}
+ descs.AddRange(base.GetEoOps(type));
return descs;
}
/// <summary>Returns the Eo class for the native methods of this class.</summary>
/// This is the full event information passed to callbacks in C.
/// (Since EFL 1.22)</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct Event
{
/// <summary>The object the callback was called on.
/// <summary>Efl observable class</summary>
[Efl.Observable.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Observable : Efl.Object
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="Observable"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public Observable(Efl.Object parent= null
- ) : base(efl_observable_class_get(), typeof(Observable), parent)
+ ) : base(efl_observable_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Observable(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Observable"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Observable(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Observable(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Observable"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Observable(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Observable(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <param name="key">A key to classify observer groups</param>
/// <param name="obs">An observer object</param>
virtual public void AddObserver(System.String key, Efl.IObserver obs) {
- Efl.Observable.NativeMethods.efl_observable_observer_add_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),key, obs);
+ Efl.Observable.NativeMethods.efl_observable_observer_add_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),key, obs);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Delete an observer from a group of observers.
/// <param name="key">A key to classify observer groups</param>
/// <param name="obs">An observer object</param>
virtual public void DelObserver(System.String key, Efl.IObserver obs) {
- Efl.Observable.NativeMethods.efl_observable_observer_del_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),key, obs);
+ Efl.Observable.NativeMethods.efl_observable_observer_del_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),key, obs);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Clear an observer from all groups of observers.</summary>
/// <param name="obs">An observer object</param>
virtual public void ObserverClean(Efl.IObserver obs) {
- Efl.Observable.NativeMethods.efl_observable_observer_clean_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),obs);
+ Efl.Observable.NativeMethods.efl_observable_observer_clean_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),obs);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Return a new iterator associated with a group of observers.</summary>
/// <param name="key">A key to classify observer groups</param>
/// <returns>Iterator for observers group</returns>
virtual public Eina.Iterator<Efl.IObserver> NewObserversIterator(System.String key) {
- var _ret_var = Efl.Observable.NativeMethods.efl_observable_observers_iterator_new_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),key);
+ var _ret_var = Efl.Observable.NativeMethods.efl_observable_observers_iterator_new_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),key);
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.IObserver>(_ret_var, true, false);
+ return new Eina.Iterator<Efl.IObserver>(_ret_var, true);
}
/// <summary>Update all observers in a group by calling their update() method.</summary>
/// <param name="key">A key to classify observer groups</param>
/// <param name="data">Required data to update observer</param>
virtual public void UpdateObservers(System.String key, System.IntPtr data) {
- Efl.Observable.NativeMethods.efl_observable_observers_update_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),key, data);
+ Efl.Observable.NativeMethods.efl_observable_observers_update_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),key, data);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Return a new iterator associated to this observable.</summary>
/// <returns>Iterator for observer</returns>
virtual public Eina.Iterator<Efl.ObservableTuple> NewIteratorTuple() {
- var _ret_var = Efl.Observable.NativeMethods.efl_observable_iterator_tuple_new_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Observable.NativeMethods.efl_observable_iterator_tuple_new_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.ObservableTuple>(_ret_var, true, false);
+ return new Eina.Iterator<Efl.ObservableTuple>(_ret_var, true);
}
private static IntPtr GetEflClassStatic()
{
/// <summary>This type describes an observable touple</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct ObservableTuple
{
/// <summary>Touple key</summary>
{
var _external_struct = new ObservableTuple();
_external_struct.Key = Eina.StringConversion.NativeUtf8ToManagedString(_internal_struct.Key);
- _external_struct.Data = new Eina.Iterator<Efl.IObserver>(_internal_struct.Data, false, false);
+ _external_struct.Data = new Eina.Iterator<Efl.IObserver>(_internal_struct.Data, false);
return _external_struct;
}
/// <summary>Efl observer interface</summary>
[Efl.IObserverConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IObserver :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IObserverConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_observer_interface_get();
/// <summary>Initializes a new instance of the <see cref="IObserver"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IObserverConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IObserverConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Common interface for objects (containers) with multiple contents (sub-objects) which can be added and removed at runtime.</summary>
[Efl.IPackConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IPack :
Efl.IContainer ,
Efl.Eo.IWrapper, IDisposable
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IPackConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_pack_interface_get();
/// <summary>Initializes a new instance of the <see cref="IPack"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IPackConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IPackConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
public Eina.Iterator<Efl.Gfx.IEntity> ContentIterate() {
var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_iterate_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true, false);
+ return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true);
}
/// <summary>Returns the number of contained sub-objects.
/// (Since EFL 1.22)</summary>
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Low-level APIs for object that can lay their children out.
/// Used for containers (box, grid).</summary>
[Efl.IPackLayoutConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IPackLayout :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IPackLayoutConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_pack_layout_interface_get();
/// <summary>Initializes a new instance of the <see cref="IPackLayout"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IPackLayoutConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IPackLayoutConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_PACK_EVENT_LAYOUT_UPDATED";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Common interface for objects (containers) with multiple contents (sub-objects) which can be added and removed at runtime in a linear fashion.
/// This means the sub-objects are internally organized in an ordered list.</summary>
[Efl.IPackLinearConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IPackLinear :
Efl.IPack ,
Efl.Eo.IWrapper, IDisposable
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IPackLinearConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_pack_linear_interface_get();
/// <summary>Initializes a new instance of the <see cref="IPackLinear"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IPackLinearConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IPackLinearConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
public Eina.Iterator<Efl.Gfx.IEntity> ContentIterate() {
var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_iterate_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true, false);
+ return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true);
}
/// <summary>Returns the number of contained sub-objects.
/// (Since EFL 1.22)</summary>
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Interface for 2D containers which arrange their elements on a table with rows and columns.
/// Elements can be positioned on a specific row and column, or they can be simply added to the table using <see cref="Efl.IPack.Pack"/> and the container will chose where to put them.</summary>
[Efl.IPackTableConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IPackTable :
Efl.IPack ,
Efl.Eo.IWrapper, IDisposable
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IPackTableConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_pack_table_interface_get();
/// <summary>Initializes a new instance of the <see cref="IPackTable"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IPackTableConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IPackTableConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
public Eina.Iterator<Efl.Gfx.IEntity> GetTableContents(int col, int row, bool below) {
var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_contents_get_ptr.Value.Delegate(this.NativeHandle,col, row, below);
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true, false);
+ return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true);
}
/// <summary>Returns a child at a given position, see <see cref="Efl.IPackTable.GetTableContents"/>.</summary>
/// <param name="col">Column number</param>
public Eina.Iterator<Efl.Gfx.IEntity> ContentIterate() {
var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_iterate_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true, false);
+ return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true);
}
/// <summary>Returns the number of contained sub-objects.
/// (Since EFL 1.22)</summary>
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// part = ref(part(obj, "part")) func1(part, args) func2(part, args) func3(part, args) unref(part)
/// (Since EFL 1.22)</summary>
[Efl.IPartConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IPart :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IPartConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_part_interface_get();
/// <summary>Initializes a new instance of the <see cref="IPart"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IPartConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IPartConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Efl media playable interface</summary>
[Efl.IPlayableConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IPlayable :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IPlayableConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_playable_interface_get();
/// <summary>Initializes a new instance of the <see cref="IPlayable"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IPlayableConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IPlayableConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Efl media player interface</summary>
[Efl.IPlayerConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IPlayer :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IPlayerConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_player_interface_get();
/// <summary>Initializes a new instance of the <see cref="IPlayer"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IPlayerConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IPlayerConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Efl screen interface
/// (Since EFL 1.22)</summary>
[Efl.IScreenConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IScreen :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IScreenConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_screen_interface_get();
/// <summary>Initializes a new instance of the <see cref="IScreen"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IScreenConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IScreenConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
namespace Efl {
///<summary>Event argument wrapper for event <see cref="Efl.SelectModel.SelectedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class SelectModelSelectedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Object arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.SelectModel.UnselectedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class SelectModelUnselectedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Object arg { get; set; }
}
/// <summary>Efl select model class</summary>
[Efl.SelectModel.NativeMethods]
+[Efl.Eo.BindingEntity]
public class SelectModel : Efl.BooleanModel
{
///<summary>Pointer to the native class description.</summary>
efl_select_model_class_get();
/// <summary>Initializes a new instance of the <see cref="SelectModel"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="model">Model that is/will be See <see cref="Efl.Ui.IView.SetModel"/></param>
- /// <param name="index">Position of this object in the parent model. See <see cref="Efl.CompositeModel.SetIndex"/></param>
+ /// <param name="model">Model that is/will be See <see cref="Efl.Ui.IView.SetModel" /></param>
+ /// <param name="index">Position of this object in the parent model. See <see cref="Efl.CompositeModel.SetIndex" /></param>
public SelectModel(Efl.Object parent
- , Efl.IModel model, uint? index = null) : base(efl_select_model_class_get(), typeof(SelectModel), parent)
+ , Efl.IModel model, uint? index = null) : base(efl_select_model_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(model))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected SelectModel(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="SelectModel"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected SelectModel(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected SelectModel(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="SelectModel"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected SelectModel(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected SelectModel(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_SELECT_MODEL_EVENT_SELECTED";
RemoveNativeEventHandler(efl.Libs.Ecore, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_SELECT_MODEL_EVENT_UNSELECTED";
RemoveNativeEventHandler(efl.Libs.Ecore, key, value);
IntPtr info = e.arg.NativeHandle;
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
+ /// <summary>Define if we support only one exclusive selection at a time when set to <c>true</c>.
+ /// If disable with <c>false</c>, it will have the behavior of a multi select mode.</summary>
+ /// <returns><c>true</c> will enable the exclusive mode.</returns>
+ virtual public bool GetSingleSelection() {
+ var _ret_var = Efl.SelectModel.NativeMethods.efl_select_model_single_selection_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Define if we support only one exclusive selection at a time when set to <c>true</c>.
+ /// If disable with <c>false</c>, it will have the behavior of a multi select mode.</summary>
+ /// <param name="enable"><c>true</c> will enable the exclusive mode.</param>
+ virtual public void SetSingleSelection(bool enable) {
+ Efl.SelectModel.NativeMethods.efl_select_model_single_selection_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),enable);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Get an iterator of all the selected child of this model.</summary>
+ /// <returns>The iterator give indexes of selected child. It is valid until any change is made on the model.</returns>
+ virtual public Eina.Iterator<ulong> GetSelected() {
+ var _ret_var = Efl.SelectModel.NativeMethods.efl_select_model_selected_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return new Eina.Iterator<ulong>(_ret_var, false);
+ }
+ /// <summary>Get an iterator of all the child of this model that are not selected.</summary>
+ /// <returns>The iterator give indexes of unselected child. It is valid until any change is made on the model.</returns>
+ virtual public Eina.Iterator<ulong> GetUnselected() {
+ var _ret_var = Efl.SelectModel.NativeMethods.efl_select_model_unselected_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return new Eina.Iterator<ulong>(_ret_var, false);
+ }
+ /// <summary>Define if we support only one exclusive selection at a time when set to <c>true</c>.
+ /// If disable with <c>false</c>, it will have the behavior of a multi select mode.</summary>
+ /// <value><c>true</c> will enable the exclusive mode.</value>
+ public bool SingleSelection {
+ get { return GetSingleSelection(); }
+ set { SetSingleSelection(value); }
+ }
private static IntPtr GetEflClassStatic()
{
return Efl.SelectModel.efl_select_model_class_get();
/// For internal use by generated code only.</summary>
public new class NativeMethods : Efl.BooleanModel.NativeMethods
{
+ private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Ecore);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <returns>The list of Eo operations to be overload.</returns>
public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
{
var descs = new System.Collections.Generic.List<Efl_Op_Description>();
+ var methods = Efl.Eo.Globals.GetUserMethods(type);
+
+ if (efl_select_model_single_selection_get_static_delegate == null)
+ {
+ efl_select_model_single_selection_get_static_delegate = new efl_select_model_single_selection_get_delegate(single_selection_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetSingleSelection") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_select_model_single_selection_get"), func = Marshal.GetFunctionPointerForDelegate(efl_select_model_single_selection_get_static_delegate) });
+ }
+
+ if (efl_select_model_single_selection_set_static_delegate == null)
+ {
+ efl_select_model_single_selection_set_static_delegate = new efl_select_model_single_selection_set_delegate(single_selection_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetSingleSelection") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_select_model_single_selection_set"), func = Marshal.GetFunctionPointerForDelegate(efl_select_model_single_selection_set_static_delegate) });
+ }
+
+ if (efl_select_model_selected_get_static_delegate == null)
+ {
+ efl_select_model_selected_get_static_delegate = new efl_select_model_selected_get_delegate(selected_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetSelected") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_select_model_selected_get"), func = Marshal.GetFunctionPointerForDelegate(efl_select_model_selected_get_static_delegate) });
+ }
+
+ if (efl_select_model_unselected_get_static_delegate == null)
+ {
+ efl_select_model_unselected_get_static_delegate = new efl_select_model_unselected_get_delegate(unselected_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetUnselected") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_select_model_unselected_get"), func = Marshal.GetFunctionPointerForDelegate(efl_select_model_unselected_get_static_delegate) });
+ }
+
descs.AddRange(base.GetEoOps(type));
return descs;
}
#pragma warning disable CA1707, CS1591, SA1300, SA1600
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_select_model_single_selection_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_select_model_single_selection_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_select_model_single_selection_get_api_delegate> efl_select_model_single_selection_get_ptr = new Efl.Eo.FunctionWrapper<efl_select_model_single_selection_get_api_delegate>(Module, "efl_select_model_single_selection_get");
+
+ private static bool single_selection_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_select_model_single_selection_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((SelectModel)ws.Target).GetSingleSelection();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_select_model_single_selection_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_select_model_single_selection_get_delegate efl_select_model_single_selection_get_static_delegate;
+
+
+ private delegate void efl_select_model_single_selection_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool enable);
+
+
+ public delegate void efl_select_model_single_selection_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool enable);
+
+ public static Efl.Eo.FunctionWrapper<efl_select_model_single_selection_set_api_delegate> efl_select_model_single_selection_set_ptr = new Efl.Eo.FunctionWrapper<efl_select_model_single_selection_set_api_delegate>(Module, "efl_select_model_single_selection_set");
+
+ private static void single_selection_set(System.IntPtr obj, System.IntPtr pd, bool enable)
+ {
+ Eina.Log.Debug("function efl_select_model_single_selection_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((SelectModel)ws.Target).SetSingleSelection(enable);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_select_model_single_selection_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), enable);
+ }
+ }
+
+ private static efl_select_model_single_selection_set_delegate efl_select_model_single_selection_set_static_delegate;
+
+
+ private delegate System.IntPtr efl_select_model_selected_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate System.IntPtr efl_select_model_selected_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_select_model_selected_get_api_delegate> efl_select_model_selected_get_ptr = new Efl.Eo.FunctionWrapper<efl_select_model_selected_get_api_delegate>(Module, "efl_select_model_selected_get");
+
+ private static System.IntPtr selected_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_select_model_selected_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Iterator<ulong> _ret_var = default(Eina.Iterator<ulong>);
+ try
+ {
+ _ret_var = ((SelectModel)ws.Target).GetSelected();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var.Handle;
+
+ }
+ else
+ {
+ return efl_select_model_selected_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_select_model_selected_get_delegate efl_select_model_selected_get_static_delegate;
+
+
+ private delegate System.IntPtr efl_select_model_unselected_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate System.IntPtr efl_select_model_unselected_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_select_model_unselected_get_api_delegate> efl_select_model_unselected_get_ptr = new Efl.Eo.FunctionWrapper<efl_select_model_unselected_get_api_delegate>(Module, "efl_select_model_unselected_get");
+
+ private static System.IntPtr unselected_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_select_model_unselected_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Iterator<ulong> _ret_var = default(Eina.Iterator<ulong>);
+ try
+ {
+ _ret_var = ((SelectModel)ws.Target).GetUnselected();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var.Handle;
+
+ }
+ else
+ {
+ return efl_select_model_unselected_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_select_model_unselected_get_delegate efl_select_model_unselected_get_static_delegate;
+
#pragma warning restore CA1707, CS1591, SA1300, SA1600
}
/// <summary>Efl sinusoidal interpolator class
/// output = (1 - cos(input * Pi)) / 2;</summary>
[Efl.SinusoidalInterpolator.NativeMethods]
+[Efl.Eo.BindingEntity]
public class SinusoidalInterpolator : Efl.Object, Efl.IInterpolator
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="SinusoidalInterpolator"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public SinusoidalInterpolator(Efl.Object parent= null
- ) : base(efl_sinusoidal_interpolator_class_get(), typeof(SinusoidalInterpolator), parent)
+ ) : base(efl_sinusoidal_interpolator_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected SinusoidalInterpolator(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="SinusoidalInterpolator"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected SinusoidalInterpolator(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected SinusoidalInterpolator(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="SinusoidalInterpolator"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected SinusoidalInterpolator(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected SinusoidalInterpolator(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>Factor property</summary>
/// <returns>Factor of the interpolation function.</returns>
virtual public double GetFactor() {
- var _ret_var = Efl.SinusoidalInterpolator.NativeMethods.efl_sinusoidal_interpolator_factor_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.SinusoidalInterpolator.NativeMethods.efl_sinusoidal_interpolator_factor_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Factor property</summary>
/// <param name="factor">Factor of the interpolation function.</param>
virtual public void SetFactor(double factor) {
- Efl.SinusoidalInterpolator.NativeMethods.efl_sinusoidal_interpolator_factor_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),factor);
+ Efl.SinusoidalInterpolator.NativeMethods.efl_sinusoidal_interpolator_factor_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),factor);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Interpolate the given value.</summary>
/// <param name="progress">Input value mapped from 0.0 to 1.0.</param>
/// <returns>Output value calculated by interpolating the input value.</returns>
virtual public double Interpolate(double progress) {
- var _ret_var = Efl.IInterpolatorConcrete.NativeMethods.efl_interpolator_interpolate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),progress);
+ var _ret_var = Efl.IInterpolatorConcrete.NativeMethods.efl_interpolator_interpolate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),progress);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Efl spring interpolator class</summary>
[Efl.SpringInterpolator.NativeMethods]
+[Efl.Eo.BindingEntity]
public class SpringInterpolator : Efl.Object, Efl.IInterpolator
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="SpringInterpolator"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public SpringInterpolator(Efl.Object parent= null
- ) : base(efl_spring_interpolator_class_get(), typeof(SpringInterpolator), parent)
+ ) : base(efl_spring_interpolator_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected SpringInterpolator(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="SpringInterpolator"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected SpringInterpolator(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected SpringInterpolator(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="SpringInterpolator"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected SpringInterpolator(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected SpringInterpolator(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <param name="factor1">First factor of the interpolation function.</param>
/// <param name="factor2">Second factor of the interpolation function.</param>
virtual public void GetFactors(out double factor1, out double factor2) {
- Efl.SpringInterpolator.NativeMethods.efl_spring_interpolator_factors_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out factor1, out factor2);
+ Efl.SpringInterpolator.NativeMethods.efl_spring_interpolator_factors_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out factor1, out factor2);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Factors property</summary>
/// <param name="factor1">First factor of the interpolation function.</param>
/// <param name="factor2">Second factor of the interpolation function.</param>
virtual public void SetFactors(double factor1, double factor2) {
- Efl.SpringInterpolator.NativeMethods.efl_spring_interpolator_factors_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),factor1, factor2);
+ Efl.SpringInterpolator.NativeMethods.efl_spring_interpolator_factors_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),factor1, factor2);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Interpolate the given value.</summary>
/// <param name="progress">Input value mapped from 0.0 to 1.0.</param>
/// <returns>Output value calculated by interpolating the input value.</returns>
virtual public double Interpolate(double progress) {
- var _ret_var = Efl.IInterpolatorConcrete.NativeMethods.efl_interpolator_interpolate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),progress);
+ var _ret_var = Efl.IInterpolatorConcrete.NativeMethods.efl_interpolator_interpolate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),progress);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
using System.ComponentModel;
namespace Efl {
-/// <summary>No description supplied.
+/// <summary>EFL's abstraction for a task (process).
/// (Since EFL 1.22)</summary>
[Efl.Task.NativeMethods]
+[Efl.Eo.BindingEntity]
public abstract class Task : Efl.LoopConsumer
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="Task"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public Task(Efl.Object parent= null
- ) : base(efl_task_class_get(), typeof(Task), parent)
+ ) : base(efl_task_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Task(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Task"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Task(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Task(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
[Efl.Eo.PrivateNativeClass]
private class TaskRealized : Task
{
- private TaskRealized(IntPtr ptr) : base(ptr)
+ private TaskRealized(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Initializes a new instance of the <see cref="Task"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Task(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Task(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>The priority of this task.
/// (Since EFL 1.22)</summary>
- /// <returns>No description supplied.</returns>
+ /// <returns>Desired priority.</returns>
virtual public Efl.TaskPriority GetPriority() {
- var _ret_var = Efl.Task.NativeMethods.efl_task_priority_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Task.NativeMethods.efl_task_priority_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>The priority of this task.
/// (Since EFL 1.22)</summary>
- /// <param name="priority">No description supplied.</param>
+ /// <param name="priority">Desired priority.</param>
virtual public void SetPriority(Efl.TaskPriority priority) {
- Efl.Task.NativeMethods.efl_task_priority_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),priority);
+ Efl.Task.NativeMethods.efl_task_priority_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),priority);
Eina.Error.RaiseIfUnhandledException();
}
- /// <summary>The final exit code of this task.
+ /// <summary>The final exit code of this task. This is the code that will be produced upon task completion.
/// (Since EFL 1.22)</summary>
- /// <returns>No description supplied.</returns>
+ /// <returns>The exit code.</returns>
virtual public int GetExitCode() {
- var _ret_var = Efl.Task.NativeMethods.efl_task_exit_code_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Task.NativeMethods.efl_task_exit_code_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
- /// <returns>No description supplied.</returns>
+ /// <summary>Flags to further customize task's behavior.
+ /// (Since EFL 1.22)</summary>
+ /// <returns>Desired task flags.</returns>
virtual public Efl.TaskFlags GetFlags() {
- var _ret_var = Efl.Task.NativeMethods.efl_task_flags_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Task.NativeMethods.efl_task_flags_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
- /// <param name="flags">No description supplied.</param>
+ /// <summary>Flags to further customize task's behavior.
+ /// (Since EFL 1.22)</summary>
+ /// <param name="flags">Desired task flags.</param>
virtual public void SetFlags(Efl.TaskFlags flags) {
- Efl.Task.NativeMethods.efl_task_flags_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),flags);
+ Efl.Task.NativeMethods.efl_task_flags_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),flags);
Eina.Error.RaiseIfUnhandledException();
}
- /// <summary>Actually run the task
+ /// <summary>Actually run the task.
/// (Since EFL 1.22)</summary>
- /// <returns>A future triggered when task exits and is passed int exit code</returns>
+ /// <returns>A future triggered when task exits and is passed int exit code.</returns>
virtual public Eina.Future Run() {
- var _ret_var = Efl.Task.NativeMethods.efl_task_run_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Task.NativeMethods.efl_task_run_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
- /// <summary>Request the task end (may send a signal or interrupt signal resulting in a terminate event being tiggered in the target task loop)
+ /// <summary>Request the task end (may send a signal or interrupt signal resulting in a terminate event being tiggered in the target task loop).
/// (Since EFL 1.22)</summary>
virtual public void End() {
- Efl.Task.NativeMethods.efl_task_end_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Task.NativeMethods.efl_task_end_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Async wrapper for <see cref="Run" />.</summary>
/// <summary>The priority of this task.
/// (Since EFL 1.22)</summary>
- /// <value>No description supplied.</value>
+ /// <value>Desired priority.</value>
public Efl.TaskPriority Priority {
get { return GetPriority(); }
set { SetPriority(value); }
}
- /// <summary>The final exit code of this task.
+ /// <summary>The final exit code of this task. This is the code that will be produced upon task completion.
/// (Since EFL 1.22)</summary>
- /// <value>No description supplied.</value>
+ /// <value>The exit code.</value>
public int ExitCode {
get { return GetExitCode(); }
}
- /// <value>No description supplied.</value>
+ /// <summary>Flags to further customize task's behavior.
+ /// (Since EFL 1.22)</summary>
+ /// <value>Desired task flags.</value>
public Efl.TaskFlags Flags {
get { return GetFlags(); }
set { SetFlags(value); }
namespace Efl {
-/// <summary>No description supplied.
+/// <summary>How much processor time will this task get compared to other tasks running on the same processor.
/// (Since EFL 1.22)</summary>
+[Efl.Eo.BindingEntity]
public enum TaskPriority
{
+/// <summary>Neither above nor below average priority. This is the default.</summary>
Normal = 0,
+/// <summary>Far below average priority.</summary>
Background = 1,
+/// <summary>Below average priority.</summary>
Low = 2,
+/// <summary>Above average priority.</summary>
High = 3,
+/// <summary>Far above average priority.</summary>
Ultra = 4,
}
namespace Efl {
-/// <summary>No description supplied.
+/// <summary>Flags to further customize task's behavior.
/// (Since EFL 1.22)</summary>
+[Efl.Eo.BindingEntity]
public enum TaskFlags
{
+/// <summary>No special flags.</summary>
None = 0,
+/// <summary>Task will require console input.</summary>
UseStdin = 1,
+/// <summary>Task will require console output.</summary>
UseStdout = 2,
+/// <summary>Task will not produce an exit code upon termination.</summary>
NoExitCodeError = 4,
}
/// <summary>Efl text interface
/// (Since EFL 1.22)</summary>
[Efl.ITextConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IText :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private ITextConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_text_interface_get();
/// <summary>Initializes a new instance of the <see cref="IText"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private ITextConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private ITextConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Cursor API</summary>
[Efl.ITextAnnotateConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface ITextAnnotate :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private ITextAnnotateConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_text_annotate_interface_get();
/// <summary>Initializes a new instance of the <see cref="ITextAnnotate"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private ITextAnnotateConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private ITextAnnotateConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
public Eina.Iterator<Efl.TextAnnotateAnnotation> GetRangeAnnotations(Efl.TextCursorCursor start, Efl.TextCursorCursor end) {
var _ret_var = Efl.ITextAnnotateConcrete.NativeMethods.efl_text_range_annotations_get_ptr.Value.Delegate(this.NativeHandle,start, end);
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.TextAnnotateAnnotation>(_ret_var, true, false);
+ return new Eina.Iterator<Efl.TextAnnotateAnnotation>(_ret_var, true);
}
/// <summary>Inserts an annotation format in a specified range [<c>start</c>, <c>end</c> - 1].
/// The <c>format</c> will be applied to the given range, and the <c>annotation</c> handle will be returned for further handling.</summary>
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Cursor API</summary>
[Efl.ITextCursorConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface ITextCursor :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private ITextCursorConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_text_cursor_interface_get();
/// <summary>Initializes a new instance of the <see cref="ITextCursor"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private ITextCursorConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private ITextCursorConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
namespace Efl {
/// <summary>All available cursor states</summary>
+[Efl.Eo.BindingEntity]
public enum TextCursorGetType
{
/// <summary>Main cursor state (alias to "main")</summary>
namespace Efl {
/// <summary>Text cursor types</summary>
+[Efl.Eo.BindingEntity]
public enum TextCursorType
{
/// <summary>Cursor type before</summary>
/// <summary>Font settings of the text</summary>
[Efl.ITextFontConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface ITextFont :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private ITextFontConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_text_font_interface_get();
/// <summary>Initializes a new instance of the <see cref="ITextFont"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private ITextFontConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private ITextFontConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
namespace Efl {
/// <summary>Type of font weight</summary>
+[Efl.Eo.BindingEntity]
public enum TextFontWeight
{
/// <summary>Normal font weight</summary>
namespace Efl {
/// <summary>Type of font width</summary>
+[Efl.Eo.BindingEntity]
public enum TextFontWidth
{
/// <summary>Normal font width</summary>
namespace Efl {
/// <summary>Type of font slant</summary>
+[Efl.Eo.BindingEntity]
public enum TextFontSlant
{
/// <summary>Normal font slant</summary>
namespace Efl {
/// <summary>Scalable of bitmap fonts</summary>
+[Efl.Eo.BindingEntity]
public enum TextFontBitmapScalable
{
/// <summary>Disable scalable feature for bitmap fonts.</summary>
/// <summary>The look and layout of the text
/// The text format can affect the geometry of the text object, as well as how characters are presented.</summary>
[Efl.ITextFormatConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface ITextFormat :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private ITextFormatConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_text_format_interface_get();
/// <summary>Initializes a new instance of the <see cref="ITextFormat"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private ITextFormatConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private ITextFormatConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
namespace Efl {
/// <summary>Wrap mode of the text (not in effect if not multiline)</summary>
+[Efl.Eo.BindingEntity]
public enum TextFormatWrap
{
/// <summary>No wrapping</summary>
namespace Efl {
/// <summary>Auto-horizontal alignment of the text</summary>
+[Efl.Eo.BindingEntity]
public enum TextFormatHorizontalAlignmentAutoType
{
/// <summary>No auto-alignment rule</summary>
/// <summary>This is an interface interactive text inputs should implement</summary>
[Efl.ITextInteractiveConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface ITextInteractive :
Efl.IText ,
Efl.ITextFont ,
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private ITextInteractiveConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
efl_text_interactive_interface_get();
/// <summary>Initializes a new instance of the <see cref="ITextInteractive"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private ITextInteractiveConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private ITextInteractiveConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_TEXT_INTERACTIVE_EVENT_TEXT_SELECTION_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Markup data that populates the text object's style and format</summary>
[Efl.ITextMarkupConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface ITextMarkup :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private ITextMarkupConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_text_markup_interface_get();
/// <summary>Initializes a new instance of the <see cref="ITextMarkup"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private ITextMarkupConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private ITextMarkupConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Markup data that populates the text object's style and format</summary>
[Efl.ITextMarkupInteractiveConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface ITextMarkupInteractive :
Efl.ITextCursor ,
Efl.Eo.IWrapper, IDisposable
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private ITextMarkupInteractiveConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_text_markup_interactive_interface_get();
/// <summary>Initializes a new instance of the <see cref="ITextMarkupInteractive"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private ITextMarkupInteractiveConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private ITextMarkupInteractiveConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Utility class for markup, such as conversions</summary>
[Efl.TextMarkupUtil.NativeMethods]
+[Efl.Eo.BindingEntity]
public class TextMarkupUtil : Efl.Eo.EoWrapper
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="TextMarkupUtil"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public TextMarkupUtil(Efl.Object parent= null
- ) : base(efl_text_markup_util_class_get(), typeof(TextMarkupUtil), parent)
+ ) : base(efl_text_markup_util_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected TextMarkupUtil(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="TextMarkupUtil"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected TextMarkupUtil(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected TextMarkupUtil(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="TextMarkupUtil"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected TextMarkupUtil(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected TextMarkupUtil(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
{
var descs = new System.Collections.Generic.List<Efl_Op_Description>();
+ descs.AddRange(base.GetEoOps(type));
return descs;
}
/// <summary>Returns the Eo class for the native methods of this class.</summary>
/// <summary>Style to apply to the text
/// A style can be coloring, effects, underline, strikethrough etc.</summary>
[Efl.ITextStyleConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface ITextStyle :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private ITextStyleConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_text_style_interface_get();
/// <summary>Initializes a new instance of the <see cref="ITextStyle"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private ITextStyleConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private ITextStyleConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
namespace Efl {
/// <summary>Whether to apply backing style to the displayed text or not</summary>
+[Efl.Eo.BindingEntity]
public enum TextStyleBackingType
{
/// <summary>Do not use backing</summary>
namespace Efl {
/// <summary>Whether to apply strikethrough style to the displayed text or not</summary>
+[Efl.Eo.BindingEntity]
public enum TextStyleStrikethroughType
{
/// <summary>Do not use strikethrough</summary>
namespace Efl {
/// <summary>Effect to apply to the displayed text</summary>
+[Efl.Eo.BindingEntity]
public enum TextStyleEffectType
{
/// <summary>No effect</summary>
namespace Efl {
/// <summary>Direction of the shadow style, if used</summary>
+[Efl.Eo.BindingEntity]
public enum TextStyleShadowDirection
{
/// <summary>Shadow towards bottom right</summary>
namespace Efl {
/// <summary>Underline type of the displayed text</summary>
+[Efl.Eo.BindingEntity]
public enum TextStyleUnderlineType
{
/// <summary>Text without underline</summary>
namespace Efl {
/// <summary>Bidirectionaltext type</summary>
+[Efl.Eo.BindingEntity]
public enum TextBidirectionalType
{
/// <summary>Natural text type, same as neutral</summary>
/// <summary>This structure includes all the information about content changes.
/// It's meant to be used to implement undo/redo.</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct TextChangeInfo
{
/// <summary>The content added/removed</summary>
namespace Efl {
[Efl.Thread.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Thread : Efl.Task, Efl.IThreadIO, Efl.Core.ICommandLine, Efl.Io.ICloser, Efl.Io.IReader, Efl.Io.IWriter
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="Thread"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public Thread(Efl.Object parent= null
- ) : base(efl_thread_class_get(), typeof(Thread), parent)
+ ) : base(efl_thread_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Thread(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Thread"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Thread(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Thread(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Thread"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Thread(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Thread(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_IO_CLOSER_EVENT_CLOSED";
RemoveNativeEventHandler(efl.Libs.Ecore, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_IO_READER_EVENT_CAN_READ_CHANGED";
RemoveNativeEventHandler(efl.Libs.Ecore, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_IO_READER_EVENT_EOS";
RemoveNativeEventHandler(efl.Libs.Ecore, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED";
RemoveNativeEventHandler(efl.Libs.Ecore, key, value);
}
/// <returns>No description supplied.</returns>
virtual public System.IntPtr GetIndata() {
- var _ret_var = Efl.IThreadIOConcrete.NativeMethods.efl_threadio_indata_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IThreadIOConcrete.NativeMethods.efl_threadio_indata_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="data">No description supplied.</param>
virtual public void SetIndata(System.IntPtr data) {
- Efl.IThreadIOConcrete.NativeMethods.efl_threadio_indata_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),data);
+ Efl.IThreadIOConcrete.NativeMethods.efl_threadio_indata_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),data);
Eina.Error.RaiseIfUnhandledException();
}
/// <returns>No description supplied.</returns>
virtual public System.IntPtr GetOutdata() {
- var _ret_var = Efl.IThreadIOConcrete.NativeMethods.efl_threadio_outdata_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IThreadIOConcrete.NativeMethods.efl_threadio_outdata_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="data">No description supplied.</param>
virtual public void SetOutdata(System.IntPtr data) {
- Efl.IThreadIOConcrete.NativeMethods.efl_threadio_outdata_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),data);
+ Efl.IThreadIOConcrete.NativeMethods.efl_threadio_outdata_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),data);
Eina.Error.RaiseIfUnhandledException();
}
/// <param name="func">No description supplied.</param>
virtual public void Call(EFlThreadIOCall func) {
GCHandle func_handle = GCHandle.Alloc(func);
- Efl.IThreadIOConcrete.NativeMethods.efl_threadio_call_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),GCHandle.ToIntPtr(func_handle), EFlThreadIOCallWrapper.Cb, Efl.Eo.Globals.free_gchandle);
+ Efl.IThreadIOConcrete.NativeMethods.efl_threadio_call_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),GCHandle.ToIntPtr(func_handle), EFlThreadIOCallWrapper.Cb, Efl.Eo.Globals.free_gchandle);
Eina.Error.RaiseIfUnhandledException();
}
/// <param name="func">No description supplied.</param>
/// <returns>No description supplied.</returns>
virtual public System.IntPtr CallSync(EFlThreadIOCallSync func) {
GCHandle func_handle = GCHandle.Alloc(func);
- var _ret_var = Efl.IThreadIOConcrete.NativeMethods.efl_threadio_call_sync_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),GCHandle.ToIntPtr(func_handle), EFlThreadIOCallSyncWrapper.Cb, Efl.Eo.Globals.free_gchandle);
+ var _ret_var = Efl.IThreadIOConcrete.NativeMethods.efl_threadio_call_sync_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),GCHandle.ToIntPtr(func_handle), EFlThreadIOCallSyncWrapper.Cb, Efl.Eo.Globals.free_gchandle);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
///
/// If you set the command the arg_count/value property contents can change and be completely re-evaluated by parsing the command string into an argument array set along with interpreting escapes back into individual argument strings.</summary>
virtual public System.String GetCommand() {
- var _ret_var = Efl.Core.ICommandLineConcrete.NativeMethods.efl_core_command_line_command_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Core.ICommandLineConcrete.NativeMethods.efl_core_command_line_command_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Every element of a string is a argument.</summary>
/// <param name="array">An array where every array field is an argument</param>
/// <returns>On success <c>true</c>, <c>false</c> otherwise</returns>
- virtual public bool SetCommandArray(Eina.Array<System.String> array) {
+ virtual public bool SetCommandArray(Eina.Array<Eina.Stringshare> array) {
var _in_array = array.Handle;
array.Own = false;
array.OwnContent = false;
- var _ret_var = Efl.Core.ICommandLineConcrete.NativeMethods.efl_core_command_line_command_array_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_array);
+ var _ret_var = Efl.Core.ICommandLineConcrete.NativeMethods.efl_core_command_line_command_array_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_array);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="str">A command in form of a string</param>
/// <returns>On success <c>true</c>, <c>false</c> otherwise</returns>
virtual public bool SetCommandString(System.String str) {
- var _ret_var = Efl.Core.ICommandLineConcrete.NativeMethods.efl_core_command_line_command_string_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),str);
+ var _ret_var = Efl.Core.ICommandLineConcrete.NativeMethods.efl_core_command_line_command_string_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),str);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Get the accessor which enables access to each argument that got passed to this object.</summary>
- virtual public Eina.Accessor<System.String> CommandAccess() {
- var _ret_var = Efl.Core.ICommandLineConcrete.NativeMethods.efl_core_command_line_command_access_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ virtual public Eina.Accessor<Eina.Stringshare> CommandAccess() {
+ var _ret_var = Efl.Core.ICommandLineConcrete.NativeMethods.efl_core_command_line_command_access_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Accessor<System.String>(_ret_var, false, false);
+ return new Eina.Accessor<Eina.Stringshare>(_ret_var, false);
}
/// <summary>If true will notify object was closed.
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if closed, <c>false</c> otherwise</returns>
virtual public bool GetClosed() {
- var _ret_var = Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_closed_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_closed_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if close on exec(), <c>false</c> otherwise</returns>
virtual public bool GetCloseOnExec() {
- var _ret_var = Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_close_on_exec_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_close_on_exec_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="close_on_exec"><c>true</c> if close on exec(), <c>false</c> otherwise</param>
/// <returns><c>true</c> if could set, <c>false</c> if not supported or failed.</returns>
virtual public bool SetCloseOnExec(bool close_on_exec) {
- var _ret_var = Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_close_on_exec_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),close_on_exec);
+ var _ret_var = Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_close_on_exec_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),close_on_exec);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if close on invalidate, <c>false</c> otherwise</returns>
virtual public bool GetCloseOnInvalidate() {
- var _ret_var = Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_close_on_invalidate_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_close_on_invalidate_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="close_on_invalidate"><c>true</c> if close on invalidate, <c>false</c> otherwise</param>
virtual public void SetCloseOnInvalidate(bool close_on_invalidate) {
- Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_close_on_invalidate_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),close_on_invalidate);
+ Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_close_on_invalidate_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),close_on_invalidate);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Closes the Input/Output object.
/// (Since EFL 1.22)</summary>
/// <returns>0 on succeed, a mapping of errno otherwise</returns>
virtual public Eina.Error Close() {
- var _ret_var = Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_close_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_close_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if it can be read without blocking or failing, <c>false</c> otherwise</returns>
virtual public bool GetCanRead() {
- var _ret_var = Efl.Io.IReaderConcrete.NativeMethods.efl_io_reader_can_read_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Io.IReaderConcrete.NativeMethods.efl_io_reader_can_read_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="can_read"><c>true</c> if it can be read without blocking or failing, <c>false</c> otherwise</param>
virtual public void SetCanRead(bool can_read) {
- Efl.Io.IReaderConcrete.NativeMethods.efl_io_reader_can_read_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),can_read);
+ Efl.Io.IReaderConcrete.NativeMethods.efl_io_reader_can_read_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),can_read);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>If <c>true</c> will notify end of stream.
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if end of stream, <c>false</c> otherwise</returns>
virtual public bool GetEos() {
- var _ret_var = Efl.Io.IReaderConcrete.NativeMethods.efl_io_reader_eos_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Io.IReaderConcrete.NativeMethods.efl_io_reader_eos_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="is_eos"><c>true</c> if end of stream, <c>false</c> otherwise</param>
virtual public void SetEos(bool is_eos) {
- Efl.Io.IReaderConcrete.NativeMethods.efl_io_reader_eos_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),is_eos);
+ Efl.Io.IReaderConcrete.NativeMethods.efl_io_reader_eos_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),is_eos);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Reads data into a pre-allocated buffer.
/// (Since EFL 1.22)</summary>
/// <param name="rw_slice">Provides a pre-allocated memory to be filled up to rw_slice.len. It will be populated and the length will be set to the actually used amount of bytes, which can be smaller than the request.</param>
/// <returns>0 on succeed, a mapping of errno otherwise</returns>
- virtual public Eina.Error Read(ref Eina.RwSlice rw_slice) {
- var _ret_var = Efl.Io.IReaderConcrete.NativeMethods.efl_io_reader_read_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),ref rw_slice);
+ virtual public Eina.Error Read(ref Eina.RwSlice rw_slice) {
+ var _ret_var = Efl.Io.IReaderConcrete.NativeMethods.efl_io_reader_read_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),ref rw_slice);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if it can be written without blocking or failure, <c>false</c> otherwise</returns>
virtual public bool GetCanWrite() {
- var _ret_var = Efl.Io.IWriterConcrete.NativeMethods.efl_io_writer_can_write_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Io.IWriterConcrete.NativeMethods.efl_io_writer_can_write_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="can_write"><c>true</c> if it can be written without blocking or failure, <c>false</c> otherwise</param>
virtual public void SetCanWrite(bool can_write) {
- Efl.Io.IWriterConcrete.NativeMethods.efl_io_writer_can_write_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),can_write);
+ Efl.Io.IWriterConcrete.NativeMethods.efl_io_writer_can_write_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),can_write);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Writes data from a pre-populated buffer.
/// <param name="slice">Provides a pre-populated memory to be used up to slice.len. The returned slice will be adapted as length will be set to the actually used amount of bytes, which can be smaller than the request.</param>
/// <param name="remaining">Convenience to output the remaining parts of slice that was not written. If the full slice was written, this will be a slice of zero-length.</param>
/// <returns>0 on succeed, a mapping of errno otherwise</returns>
- virtual public Eina.Error Write(ref Eina.Slice slice, ref Eina.Slice remaining) {
- var _ret_var = Efl.Io.IWriterConcrete.NativeMethods.efl_io_writer_write_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),ref slice, ref remaining);
+ virtual public Eina.Error Write(ref Eina.Slice slice, ref Eina.Slice remaining) {
+ var _ret_var = Efl.Io.IWriterConcrete.NativeMethods.efl_io_writer_write_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),ref slice, ref remaining);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Use an array to fill this object
/// Every element of a string is a argument.</summary>
/// <value>An array where every array field is an argument</value>
- public Eina.Array<System.String> CommandArray {
+ public Eina.Array<Eina.Stringshare> CommandArray {
set { SetCommandArray(value); }
}
/// <summary>Use a string to fill this object
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- var _in_array = new Eina.Array<System.String>(array, true, true);
+ var _in_array = new Eina.Array<Eina.Stringshare>(array, true, true);
bool _ret_var = default(bool);
try
{
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- Eina.Accessor<System.String> _ret_var = default(Eina.Accessor<System.String>);
+ Eina.Accessor<Eina.Stringshare> _ret_var = default(Eina.Accessor<Eina.Stringshare>);
try
{
_ret_var = ((Thread)ws.Target).CommandAccess();
private static efl_io_reader_eos_set_delegate efl_io_reader_eos_set_static_delegate;
- private delegate Eina.Error efl_io_reader_read_delegate(System.IntPtr obj, System.IntPtr pd, ref Eina.RwSlice rw_slice);
+ private delegate Eina.Error efl_io_reader_read_delegate(System.IntPtr obj, System.IntPtr pd, ref Eina.RwSlice rw_slice);
- public delegate Eina.Error efl_io_reader_read_api_delegate(System.IntPtr obj, ref Eina.RwSlice rw_slice);
+ public delegate Eina.Error efl_io_reader_read_api_delegate(System.IntPtr obj, ref Eina.RwSlice rw_slice);
public static Efl.Eo.FunctionWrapper<efl_io_reader_read_api_delegate> efl_io_reader_read_ptr = new Efl.Eo.FunctionWrapper<efl_io_reader_read_api_delegate>(Module, "efl_io_reader_read");
- private static Eina.Error read(System.IntPtr obj, System.IntPtr pd, ref Eina.RwSlice rw_slice)
+ private static Eina.Error read(System.IntPtr obj, System.IntPtr pd, ref Eina.RwSlice rw_slice)
{
Eina.Log.Debug("function efl_io_reader_read was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
private static efl_io_writer_can_write_set_delegate efl_io_writer_can_write_set_static_delegate;
- private delegate Eina.Error efl_io_writer_write_delegate(System.IntPtr obj, System.IntPtr pd, ref Eina.Slice slice, ref Eina.Slice remaining);
+ private delegate Eina.Error efl_io_writer_write_delegate(System.IntPtr obj, System.IntPtr pd, ref Eina.Slice slice, ref Eina.Slice remaining);
- public delegate Eina.Error efl_io_writer_write_api_delegate(System.IntPtr obj, ref Eina.Slice slice, ref Eina.Slice remaining);
+ public delegate Eina.Error efl_io_writer_write_api_delegate(System.IntPtr obj, ref Eina.Slice slice, ref Eina.Slice remaining);
public static Efl.Eo.FunctionWrapper<efl_io_writer_write_api_delegate> efl_io_writer_write_ptr = new Efl.Eo.FunctionWrapper<efl_io_writer_write_api_delegate>(Module, "efl_io_writer_write");
- private static Eina.Error write(System.IntPtr obj, System.IntPtr pd, ref Eina.Slice slice, ref Eina.Slice remaining)
+ private static Eina.Error write(System.IntPtr obj, System.IntPtr pd, ref Eina.Slice slice, ref Eina.Slice remaining)
{
Eina.Log.Debug("function efl_io_writer_write was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- remaining = default(Eina.Slice); Eina.Error _ret_var = default(Eina.Error);
+ remaining = default( Eina.Slice); Eina.Error _ret_var = default(Eina.Error);
try
{
_ret_var = ((Thread)ws.Target).Write(ref slice, ref remaining);
using System.Threading;
using System.ComponentModel;
/// <param name="kw_event">No description supplied.</param>
+[Efl.Eo.BindingEntity]
public delegate void EFlThreadIOCall(ref Efl.Event kw_event);
public delegate void EFlThreadIOCallInternal(IntPtr data, ref Efl.Event.NativeStruct kw_event);
internal class EFlThreadIOCallWrapper : IDisposable
/// <param name="kw_event">No description supplied.</param>
+[Efl.Eo.BindingEntity]
public delegate System.IntPtr EFlThreadIOCallSync(ref Efl.Event kw_event);
public delegate System.IntPtr EFlThreadIOCallSyncInternal(IntPtr data, ref Efl.Event.NativeStruct kw_event);
internal class EFlThreadIOCallSyncWrapper : IDisposable
/// <summary>No description supplied.</summary>
[Efl.IThreadIOConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IThreadIO :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IThreadIOConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport(efl.Libs.Ecore)] internal static extern System.IntPtr
efl_threadio_mixin_get();
/// <summary>Initializes a new instance of the <see cref="IThreadIO"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IThreadIOConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IThreadIOConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Ecore);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>This type is a alias for struct tm. It is intended to be a standard way to reference it in .eo files.
/// (Since EFL 1.18)</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct Time
{
/// <summary>Seconds. [0-60] (1 leap second)</summary>
/// This may be used to query the current running version of EFL. Or it can be passed by applications at startup time to inform EFL of the version a certain application was built for.
/// (Since EFL 1.18)</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct Version
{
/// <summary>Major component of the version (>= 1).</summary>
namespace Focus {
/// <summary>Focus directions.</summary>
+[Efl.Eo.BindingEntity]
public enum Direction
{
/// <summary>previous direction</summary>
/// <summary>Focus Movement Policy.
/// (Since EFL 1.10)</summary>
+[Efl.Eo.BindingEntity]
public enum MovePolicy
{
/// <summary>Move focus by mouse click or touch. Elementary focus is set on mouse click and this is checked at mouse up time. (default)</summary>
/// <summary>Slider's indicator visibility mode.
/// (Since EFL 1.13)</summary>
+[Efl.Eo.BindingEntity]
public enum SliderIndicatorVisibleMode
{
/// <summary>show indicator on mouse down or change in slider value</summary>
/// <summary>Focus Autoscroll Mode
/// (Since EFL 1.10)</summary>
+[Efl.Eo.BindingEntity]
public enum AutoscrollMode
{
/// <summary>Directly show the focused region or item automatically.</summary>
/// <summary>Software cursor mode.
/// (Since EFL 1.7)</summary>
+[Efl.Eo.BindingEntity]
public enum SoftcursorMode
{
/// <summary>Auto-detect if a software cursor should be used (default).</summary>
namespace Ui {
/// <summary>Accessibility</summary>
+[Efl.Eo.BindingEntity]
public enum Activate
{
/// <summary>Activate default</summary>
/// <summary>Widget orientation mode, or how the theme handles screen orientation.
/// Note: Support for this feature is highly dependent on the theme in use. At the time of writing, the default theme for EFL does not implement support for orientation modes.</summary>
+[Efl.Eo.BindingEntity]
public enum WidgetOrientationMode
{
/// <summary>Default or automatic mode: if the widget's theme supports orientation, it will be handled automatically.</summary>
+++ /dev/null
-#pragma warning disable CS1591
-using System;
-using System.Runtime.InteropServices;
-using System.Collections.Generic;
-using System.Linq;
-using System.Threading;
-using System.ComponentModel;
-namespace Efl {
-
-namespace Ui {
-
-namespace ActiveView {
-
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.ActiveView.Container.TransitionStartEvt"/>.</summary>
-public class ContainerTransitionStartEvt_Args : EventArgs {
- ///<summary>Actual event payload.</summary>
- public Efl.Ui.ActiveView.TransitionEvent arg { get; set; }
-}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.ActiveView.Container.TransitionEndEvt"/>.</summary>
-public class ContainerTransitionEndEvt_Args : EventArgs {
- ///<summary>Actual event payload.</summary>
- public Efl.Ui.ActiveView.TransitionEvent arg { get; set; }
-}
-/// <summary>The Active View widget is a container for other sub-widgets (views), where only one sub-widget is active at any given time.
-/// Views are added using the <see cref="Efl.IPackLinear"/> interface and the active view is selected using <see cref="Efl.Ui.ActiveView.Container.ActiveIndex"/>.
-///
-/// The way the different views are rendered can be customized through the <see cref="Efl.Ui.ActiveView.Container.ViewManager"/> object. For example, only the active view might be shown, or it might be shown in a central position whereas the other views are displayed on the sides, or grayed-out. All views are displayed with the same size, selected with <see cref="Efl.Ui.ActiveView.Container.ActiveViewSize"/>.
-///
-/// Additionally, the transition from one view to another can be animated. This animation is also controlled by the <see cref="Efl.Ui.ActiveView.Container.ViewManager"/> object.
-///
-/// Also, an indicator widget can be used to show a visual cue of how many views are there and which one is the active one.
-///
-/// This class can be used to create other widgets like Pagers, Tabbed pagers or Stacks, where each view represents a "page" full of other widgets. All these cases can be implemented with a different <see cref="Efl.Ui.ActiveView.Container.ViewManager"/> and use the same <see cref="Efl.Ui.ActiveView.Container"/>.</summary>
-[Efl.Ui.ActiveView.Container.NativeMethods]
-public class Container : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLinear
-{
- ///<summary>Pointer to the native class description.</summary>
- public override System.IntPtr NativeClass
- {
- get
- {
- if (((object)this).GetType() == typeof(Container))
- {
- return GetEflClassStatic();
- }
- else
- {
- return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
- }
- }
- }
-
- [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
- efl_ui_active_view_container_class_get();
- /// <summary>Initializes a new instance of the <see cref="Container"/> class.</summary>
- /// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
- public Container(Efl.Object parent
- , System.String style = null) : base(efl_ui_active_view_container_class_get(), typeof(Container), parent)
- {
- if (Efl.Eo.Globals.ParamHelperCheck(style))
- {
- SetStyle(Efl.Eo.Globals.GetParamHelper(style));
- }
-
- FinishInstantiation();
- }
-
- /// <summary>Initializes a new instance of the <see cref="Container"/> class.
- /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Container(System.IntPtr raw) : base(raw)
- {
- }
-
- /// <summary>Initializes a new instance of the <see cref="Container"/> class.
- /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
- /// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
- /// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Container(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
- {
- }
-
- /// <summary>A transition animation has started.</summary>
- public event EventHandler<Efl.Ui.ActiveView.ContainerTransitionStartEvt_Args> TransitionStartEvt
- {
- add
- {
- lock (eventLock)
- {
- Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
- {
- var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
- if (obj != null)
- {
- Efl.Ui.ActiveView.ContainerTransitionStartEvt_Args args = new Efl.Ui.ActiveView.ContainerTransitionStartEvt_Args();
- args.arg = evt.Info;
- try
- {
- value?.Invoke(obj, args);
- }
- catch (Exception e)
- {
- Eina.Log.Error(e.ToString());
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
- }
- };
-
- string key = "_EFL_UI_ACTIVE_VIEW_EVENT_TRANSITION_START";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eventLock)
- {
- string key = "_EFL_UI_ACTIVE_VIEW_EVENT_TRANSITION_START";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event TransitionStartEvt.</summary>
- public void OnTransitionStartEvt(Efl.Ui.ActiveView.ContainerTransitionStartEvt_Args e)
- {
- var key = "_EFL_UI_ACTIVE_VIEW_EVENT_TRANSITION_START";
- IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
- if (desc == IntPtr.Zero)
- {
- Eina.Log.Error($"Failed to get native event {key}");
- return;
- }
-
- IntPtr info = Marshal.AllocHGlobal(Marshal.SizeOf(e.arg));
- try
- {
- Marshal.StructureToPtr(e.arg, info, false);
- Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
- }
- finally
- {
- Marshal.FreeHGlobal(info);
- }
- }
- /// <summary>A transition animation has ended.</summary>
- public event EventHandler<Efl.Ui.ActiveView.ContainerTransitionEndEvt_Args> TransitionEndEvt
- {
- add
- {
- lock (eventLock)
- {
- Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
- {
- var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
- if (obj != null)
- {
- Efl.Ui.ActiveView.ContainerTransitionEndEvt_Args args = new Efl.Ui.ActiveView.ContainerTransitionEndEvt_Args();
- args.arg = evt.Info;
- try
- {
- value?.Invoke(obj, args);
- }
- catch (Exception e)
- {
- Eina.Log.Error(e.ToString());
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
- }
- };
-
- string key = "_EFL_UI_ACTIVE_VIEW_EVENT_TRANSITION_END";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eventLock)
- {
- string key = "_EFL_UI_ACTIVE_VIEW_EVENT_TRANSITION_END";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event TransitionEndEvt.</summary>
- public void OnTransitionEndEvt(Efl.Ui.ActiveView.ContainerTransitionEndEvt_Args e)
- {
- var key = "_EFL_UI_ACTIVE_VIEW_EVENT_TRANSITION_END";
- IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
- if (desc == IntPtr.Zero)
- {
- Eina.Log.Error($"Failed to get native event {key}");
- return;
- }
-
- IntPtr info = Marshal.AllocHGlobal(Marshal.SizeOf(e.arg));
- try
- {
- Marshal.StructureToPtr(e.arg, info, false);
- Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
- }
- finally
- {
- Marshal.FreeHGlobal(info);
- }
- }
- /// <summary>This object defines how views are rendered and animated. If it is not set, only the active view is shown and transitions are instantaneous (not animated).</summary>
- /// <returns>The View Manager object or <c>NULL</c>.</returns>
- virtual public Efl.Ui.ActiveView.ViewManager GetViewManager() {
- var _ret_var = Efl.Ui.ActiveView.Container.NativeMethods.efl_ui_active_view_manager_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>This object defines how views are rendered and animated. If it is not set, only the active view is shown and transitions are instantaneous (not animated).</summary>
- /// <param name="view_manager">The View Manager object or <c>NULL</c>.</param>
- virtual public void SetViewManager(Efl.Ui.ActiveView.ViewManager view_manager) {
- Efl.Ui.ActiveView.Container.NativeMethods.efl_ui_active_view_manager_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),view_manager);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>An indicator object to use, which will display the current state of the Active View (number of views and active one). When this object is set, it is immediately updated to reflect the current state of the widget. Its location inside the container is controlled by the <see cref="Efl.Ui.ActiveView.Container.ViewManager"/>.</summary>
- /// <returns>The Indicator object or <c>NULL</c>.</returns>
- virtual public Efl.Ui.ActiveView.Indicator GetIndicator() {
- var _ret_var = Efl.Ui.ActiveView.Container.NativeMethods.efl_ui_active_view_indicator_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>An indicator object to use, which will display the current state of the Active View (number of views and active one). When this object is set, it is immediately updated to reflect the current state of the widget. Its location inside the container is controlled by the <see cref="Efl.Ui.ActiveView.Container.ViewManager"/>.</summary>
- /// <param name="indicator">The Indicator object or <c>NULL</c>.</param>
- virtual public void SetIndicator(Efl.Ui.ActiveView.Indicator indicator) {
- Efl.Ui.ActiveView.Container.NativeMethods.efl_ui_active_view_indicator_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),indicator);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Currently active view among all the views added to this widget.
- /// Changing this value might trigger an animation.</summary>
- /// <returns>Index of the active view, from 0 to the number of views - 1 (<see cref="Efl.IContainer.ContentCount"/> - 1).</returns>
- virtual public int GetActiveIndex() {
- var _ret_var = Efl.Ui.ActiveView.Container.NativeMethods.efl_ui_active_view_active_index_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Currently active view among all the views added to this widget.
- /// Changing this value might trigger an animation.</summary>
- /// <param name="index">Index of the active view, from 0 to the number of views - 1 (<see cref="Efl.IContainer.ContentCount"/> - 1).</param>
- virtual public void SetActiveIndex(int index) {
- Efl.Ui.ActiveView.Container.NativeMethods.efl_ui_active_view_active_index_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),index);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>The size to use when displaying the Active View. This is used by the <see cref="Efl.Ui.ActiveView.Container.ViewManager"/> to perform the rendering. Views other than the Active one may or may not use this size.</summary>
- /// <returns>Render size for the Active View. (-1, -1) means that all available space inside the container is used.</returns>
- virtual public Eina.Size2D GetActiveViewSize() {
- var _ret_var = Efl.Ui.ActiveView.Container.NativeMethods.efl_ui_active_view_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>The size to use when displaying the Active View. This is used by the <see cref="Efl.Ui.ActiveView.Container.ViewManager"/> to perform the rendering. Views other than the Active one may or may not use this size.</summary>
- /// <param name="size">Render size for the Active View. (-1, -1) means that all available space inside the container is used.</param>
- virtual public void SetActiveViewSize(Eina.Size2D size) {
- Eina.Size2D.NativeStruct _in_size = size;
- Efl.Ui.ActiveView.Container.NativeMethods.efl_ui_active_view_size_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_size);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Packs a new view at the position indicated by <see cref="Efl.Ui.ActiveView.Container.ActiveIndex"/> (0 by default).
- /// This is the same behavior as a push operation on a stack.
- ///
- /// An animation might be triggered to make the new active view come into position.</summary>
- /// <param name="view">View to add and set to be the active view.</param>
- virtual public void Push(Efl.Gfx.IEntity view) {
- Efl.Ui.ActiveView.Container.NativeMethods.efl_ui_active_view_push_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),view);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Removes the active view from the widget.
- /// The views behind it naturally flow down so the next one becomes the active view. This is the same behavior as a pop operation on a stack. When combined with <see cref="Efl.Ui.ActiveView.Container.Push"/> you don't have to worry about <see cref="Efl.Ui.ActiveView.Container.ActiveIndex"/> since only the first view is manipulated.
- ///
- /// An animation might be triggered to make the new active view come into position and the old one disappear.
- ///
- /// The removed view can be returned to the caller or deleted (depending on <c>delete_on_transition_end</c>).</summary>
- /// <param name="deletion_on_transition_end">if <c>true</c>, then the object will be deleted before resolving the future, and a NULL pointer is the value of the future. <c>false</c> if no operation should be applied to it</param>
- /// <returns>This Future gets resolved when any transition animation finishes and the popped view is ready for collection. If there is no animation, the Future resolves immediately. If <c>deletion_on_transition_end</c> is <c>true</c> then this widget will destroy the popped view and the Future will contain no Value. Otherwise, the caller becomes the owner of the view contained in the Future and must dispose of it appropriately.</returns>
- virtual public Eina.Future Pop(bool deletion_on_transition_end) {
- var _ret_var = Efl.Ui.ActiveView.Container.NativeMethods.efl_ui_active_view_pop_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),deletion_on_transition_end);
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Removes all packed sub-objects and unreferences them.</summary>
- /// <returns><c>true</c> on success, <c>false</c> otherwise.</returns>
- virtual public bool ClearPack() {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_clear_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Removes all packed sub-objects without unreferencing them.
- /// Use with caution.</summary>
- /// <returns><c>true</c> on success, <c>false</c> otherwise.</returns>
- virtual public bool UnpackAll() {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_all_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Removes an existing sub-object from the container without deleting it.</summary>
- /// <param name="subobj">The sub-object to unpack.</param>
- /// <returns><c>false</c> if <c>subobj</c> wasn't in the container or couldn't be removed.</returns>
- virtual public bool Unpack(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Adds a sub-object to this container.
- /// Depending on the container this will either fill in the default spot, replacing any already existing element or append to the end of the container if there is no default part.
- ///
- /// When this container is deleted, it will request deletion of the given <c>subobj</c>. Use <see cref="Efl.IPack.Unpack"/> to remove <c>subobj</c> from this container without deleting it.</summary>
- /// <param name="subobj">The object to pack.</param>
- /// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
- virtual public bool Pack(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Prepend an object at the beginning of this container.
- /// This is the same as <see cref="Efl.IPackLinear.PackAt"/>(<c>subobj</c>, 0).
- ///
- /// When this container is deleted, it will request deletion of the given <c>subobj</c>. Use <see cref="Efl.IPack.Unpack"/> to remove <c>subobj</c> from this container without deleting it.</summary>
- /// <param name="subobj">Object to pack at the beginning.</param>
- /// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
- virtual public bool PackBegin(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_begin_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Append object at the end of this container.
- /// This is the same as <see cref="Efl.IPackLinear.PackAt"/>(<c>subobj</c>, -1).
- ///
- /// When this container is deleted, it will request deletion of the given <c>subobj</c>. Use <see cref="Efl.IPack.Unpack"/> to remove <c>subobj</c> from this container without deleting it.</summary>
- /// <param name="subobj">Object to pack at the end.</param>
- /// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
- virtual public bool PackEnd(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_end_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Prepend an object before an existing sub-object.
- /// When this container is deleted, it will request deletion of the given <c>subobj</c>. Use <see cref="Efl.IPack.Unpack"/> to remove <c>subobj</c> from this container without deleting it.</summary>
- /// <param name="subobj">Object to pack before <c>existing</c>.</param>
- /// <param name="existing">Existing reference sub-object.</param>
- /// <returns><c>false</c> if <c>existing</c> could not be found or <c>subobj</c> could not be packed.</returns>
- virtual public bool PackBefore(Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_before_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj, existing);
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Append an object after an existing sub-object.
- /// When this container is deleted, it will request deletion of the given <c>subobj</c>. Use <see cref="Efl.IPack.Unpack"/> to remove <c>subobj</c> from this container without deleting it.</summary>
- /// <param name="subobj">Object to pack after <c>existing</c>.</param>
- /// <param name="existing">Existing reference sub-object.</param>
- /// <returns><c>false</c> if <c>existing</c> could not be found or <c>subobj</c> could not be packed.</returns>
- virtual public bool PackAfter(Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_after_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj, existing);
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Inserts <c>subobj</c> BEFORE the sub-object at position <c>index</c>.
- /// <c>index</c> ranges from -<c>count</c> to <c>count</c>-1, where positive numbers go from first sub-object (0) to last (<c>count</c>-1), and negative numbers go from last sub-object (-1) to first (-<c>count</c>). <c>count</c> is the number of sub-objects currently in the container as returned by <see cref="Efl.IContainer.ContentCount"/>.
- ///
- /// If <c>index</c> is less than -<c>count</c>, it will trigger <see cref="Efl.IPackLinear.PackBegin"/>(<c>subobj</c>) whereas <c>index</c> greater than <c>count</c>-1 will trigger <see cref="Efl.IPackLinear.PackEnd"/>(<c>subobj</c>).
- ///
- /// When this container is deleted, it will request deletion of the given <c>subobj</c>. Use <see cref="Efl.IPack.Unpack"/> to remove <c>subobj</c> from this container without deleting it.</summary>
- /// <param name="subobj">Object to pack.</param>
- /// <param name="index">Index of existing sub-object to insert BEFORE. Valid range is -<c>count</c> to (<c>count</c>-1).</param>
- /// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
- virtual public bool PackAt(Efl.Gfx.IEntity subobj, int index) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_at_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj, index);
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Sub-object at a given <c>index</c> in this container.
- /// <c>index</c> ranges from -<c>count</c> to <c>count</c>-1, where positive numbers go from first sub-object (0) to last (<c>count</c>-1), and negative numbers go from last sub-object (-1) to first (-<c>count</c>). <c>count</c> is the number of sub-objects currently in the container as returned by <see cref="Efl.IContainer.ContentCount"/>.
- ///
- /// If <c>index</c> is less than -<c>count</c>, it will return the first sub-object whereas <c>index</c> greater than <c>count</c>-1 will return the last sub-object.</summary>
- /// <param name="index">Index of the existing sub-object to retrieve. Valid range is -<c>count</c> to (<c>count</c>-1).</param>
- /// <returns>The sub-object contained at the given <c>index</c>.</returns>
- virtual public Efl.Gfx.IEntity GetPackContent(int index) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),index);
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Get the index of a sub-object in this container.</summary>
- /// <param name="subobj">An existing sub-object in this container.</param>
- /// <returns>-1 in case <c>subobj</c> is not found, or the index of <c>subobj</c> in the range 0 to (<c>count</c>-1).</returns>
- virtual public int GetPackIndex(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_index_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Pop out (remove) the sub-object at the specified <c>index</c>.
- /// <c>index</c> ranges from -<c>count</c> to <c>count</c>-1, where positive numbers go from first sub-object (0) to last (<c>count</c>-1), and negative numbers go from last sub-object (-1) to first (-<c>count</c>). <c>count</c> is the number of sub-objects currently in the container as returned by <see cref="Efl.IContainer.ContentCount"/>.
- ///
- /// If <c>index</c> is less than -<c>count</c>, it will remove the first sub-object whereas <c>index</c> greater than <c>count</c>-1 will remove the last sub-object.</summary>
- /// <param name="index">Index of the sub-object to remove. Valid range is -<c>count</c> to (<c>count</c>-1).</param>
- /// <returns>The sub-object if it could be removed.</returns>
- virtual public Efl.Gfx.IEntity PackUnpackAt(int index) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_unpack_at_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),index);
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Async wrapper for <see cref="Pop" />.</summary>
- /// <param name="deletion_on_transition_end">if <c>true</c>, then the object will be deleted before resolving the future, and a NULL pointer is the value of the future. <c>false</c> if no operation should be applied to it</param>
- /// <param name="token">Token to notify the async operation of external request to cancel.</param>
- /// <returns>An async task wrapping the result of the operation.</returns>
- public System.Threading.Tasks.Task<Eina.Value> PopAsync(bool deletion_on_transition_end, System.Threading.CancellationToken token = default(System.Threading.CancellationToken))
- {
- Eina.Future future = Pop( deletion_on_transition_end);
- return Efl.Eo.Globals.WrapAsync(future, token);
- }
-
- /// <summary>This object defines how views are rendered and animated. If it is not set, only the active view is shown and transitions are instantaneous (not animated).</summary>
- /// <value>The View Manager object or <c>NULL</c>.</value>
- public Efl.Ui.ActiveView.ViewManager ViewManager {
- get { return GetViewManager(); }
- set { SetViewManager(value); }
- }
- /// <summary>An indicator object to use, which will display the current state of the Active View (number of views and active one). When this object is set, it is immediately updated to reflect the current state of the widget. Its location inside the container is controlled by the <see cref="Efl.Ui.ActiveView.Container.ViewManager"/>.</summary>
- /// <value>The Indicator object or <c>NULL</c>.</value>
- public Efl.Ui.ActiveView.Indicator Indicator {
- get { return GetIndicator(); }
- set { SetIndicator(value); }
- }
- /// <summary>Currently active view among all the views added to this widget.
- /// Changing this value might trigger an animation.</summary>
- /// <value>Index of the active view, from 0 to the number of views - 1 (<see cref="Efl.IContainer.ContentCount"/> - 1).</value>
- public int ActiveIndex {
- get { return GetActiveIndex(); }
- set { SetActiveIndex(value); }
- }
- /// <summary>The size to use when displaying the Active View. This is used by the <see cref="Efl.Ui.ActiveView.Container.ViewManager"/> to perform the rendering. Views other than the Active one may or may not use this size.</summary>
- /// <value>Render size for the Active View. (-1, -1) means that all available space inside the container is used.</value>
- public Eina.Size2D ActiveViewSize {
- get { return GetActiveViewSize(); }
- set { SetActiveViewSize(value); }
- }
- private static IntPtr GetEflClassStatic()
- {
- return Efl.Ui.ActiveView.Container.efl_ui_active_view_container_class_get();
- }
- /// <summary>Wrapper for native methods and virtual method delegates.
- /// For internal use by generated code only.</summary>
- public new class NativeMethods : Efl.Ui.LayoutBase.NativeMethods
- {
- private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
- /// <summary>Gets the list of Eo operations to override.</summary>
- /// <returns>The list of Eo operations to be overload.</returns>
- public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
- {
- var descs = new System.Collections.Generic.List<Efl_Op_Description>();
- var methods = Efl.Eo.Globals.GetUserMethods(type);
-
- if (efl_ui_active_view_manager_get_static_delegate == null)
- {
- efl_ui_active_view_manager_get_static_delegate = new efl_ui_active_view_manager_get_delegate(view_manager_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetViewManager") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_active_view_manager_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_active_view_manager_get_static_delegate) });
- }
-
- if (efl_ui_active_view_manager_set_static_delegate == null)
- {
- efl_ui_active_view_manager_set_static_delegate = new efl_ui_active_view_manager_set_delegate(view_manager_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetViewManager") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_active_view_manager_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_active_view_manager_set_static_delegate) });
- }
-
- if (efl_ui_active_view_indicator_get_static_delegate == null)
- {
- efl_ui_active_view_indicator_get_static_delegate = new efl_ui_active_view_indicator_get_delegate(indicator_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetIndicator") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_active_view_indicator_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_active_view_indicator_get_static_delegate) });
- }
-
- if (efl_ui_active_view_indicator_set_static_delegate == null)
- {
- efl_ui_active_view_indicator_set_static_delegate = new efl_ui_active_view_indicator_set_delegate(indicator_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetIndicator") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_active_view_indicator_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_active_view_indicator_set_static_delegate) });
- }
-
- if (efl_ui_active_view_active_index_get_static_delegate == null)
- {
- efl_ui_active_view_active_index_get_static_delegate = new efl_ui_active_view_active_index_get_delegate(active_index_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetActiveIndex") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_active_view_active_index_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_active_view_active_index_get_static_delegate) });
- }
-
- if (efl_ui_active_view_active_index_set_static_delegate == null)
- {
- efl_ui_active_view_active_index_set_static_delegate = new efl_ui_active_view_active_index_set_delegate(active_index_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetActiveIndex") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_active_view_active_index_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_active_view_active_index_set_static_delegate) });
- }
-
- if (efl_ui_active_view_size_get_static_delegate == null)
- {
- efl_ui_active_view_size_get_static_delegate = new efl_ui_active_view_size_get_delegate(active_view_size_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetActiveViewSize") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_active_view_size_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_active_view_size_get_static_delegate) });
- }
-
- if (efl_ui_active_view_size_set_static_delegate == null)
- {
- efl_ui_active_view_size_set_static_delegate = new efl_ui_active_view_size_set_delegate(active_view_size_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetActiveViewSize") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_active_view_size_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_active_view_size_set_static_delegate) });
- }
-
- if (efl_ui_active_view_push_static_delegate == null)
- {
- efl_ui_active_view_push_static_delegate = new efl_ui_active_view_push_delegate(push);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "Push") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_active_view_push"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_active_view_push_static_delegate) });
- }
-
- if (efl_ui_active_view_pop_static_delegate == null)
- {
- efl_ui_active_view_pop_static_delegate = new efl_ui_active_view_pop_delegate(pop);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "Pop") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_active_view_pop"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_active_view_pop_static_delegate) });
- }
-
- if (efl_pack_clear_static_delegate == null)
- {
- efl_pack_clear_static_delegate = new efl_pack_clear_delegate(pack_clear);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "ClearPack") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_clear"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_clear_static_delegate) });
- }
-
- if (efl_pack_unpack_all_static_delegate == null)
- {
- efl_pack_unpack_all_static_delegate = new efl_pack_unpack_all_delegate(unpack_all);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "UnpackAll") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_unpack_all"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_unpack_all_static_delegate) });
- }
-
- if (efl_pack_unpack_static_delegate == null)
- {
- efl_pack_unpack_static_delegate = new efl_pack_unpack_delegate(unpack);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "Unpack") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_unpack"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_unpack_static_delegate) });
- }
-
- if (efl_pack_static_delegate == null)
- {
- efl_pack_static_delegate = new efl_pack_delegate(pack);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "Pack") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_static_delegate) });
- }
-
- if (efl_pack_begin_static_delegate == null)
- {
- efl_pack_begin_static_delegate = new efl_pack_begin_delegate(pack_begin);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "PackBegin") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_begin"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_begin_static_delegate) });
- }
-
- if (efl_pack_end_static_delegate == null)
- {
- efl_pack_end_static_delegate = new efl_pack_end_delegate(pack_end);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "PackEnd") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_end"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_end_static_delegate) });
- }
-
- if (efl_pack_before_static_delegate == null)
- {
- efl_pack_before_static_delegate = new efl_pack_before_delegate(pack_before);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "PackBefore") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_before"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_before_static_delegate) });
- }
-
- if (efl_pack_after_static_delegate == null)
- {
- efl_pack_after_static_delegate = new efl_pack_after_delegate(pack_after);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "PackAfter") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_after"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_after_static_delegate) });
- }
-
- if (efl_pack_at_static_delegate == null)
- {
- efl_pack_at_static_delegate = new efl_pack_at_delegate(pack_at);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "PackAt") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_at"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_at_static_delegate) });
- }
-
- if (efl_pack_content_get_static_delegate == null)
- {
- efl_pack_content_get_static_delegate = new efl_pack_content_get_delegate(pack_content_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetPackContent") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_content_get"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_content_get_static_delegate) });
- }
-
- if (efl_pack_index_get_static_delegate == null)
- {
- efl_pack_index_get_static_delegate = new efl_pack_index_get_delegate(pack_index_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetPackIndex") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_index_get"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_index_get_static_delegate) });
- }
-
- if (efl_pack_unpack_at_static_delegate == null)
- {
- efl_pack_unpack_at_static_delegate = new efl_pack_unpack_at_delegate(pack_unpack_at);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "PackUnpackAt") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_unpack_at"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_unpack_at_static_delegate) });
- }
-
- descs.AddRange(base.GetEoOps(type));
- return descs;
- }
- /// <summary>Returns the Eo class for the native methods of this class.</summary>
- /// <returns>The native class pointer.</returns>
- public override IntPtr GetEflClass()
- {
- return Efl.Ui.ActiveView.Container.efl_ui_active_view_container_class_get();
- }
-
- #pragma warning disable CA1707, CS1591, SA1300, SA1600
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.OwnTag>))]
- private delegate Efl.Ui.ActiveView.ViewManager efl_ui_active_view_manager_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.OwnTag>))]
- public delegate Efl.Ui.ActiveView.ViewManager efl_ui_active_view_manager_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_active_view_manager_get_api_delegate> efl_ui_active_view_manager_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_active_view_manager_get_api_delegate>(Module, "efl_ui_active_view_manager_get");
-
- private static Efl.Ui.ActiveView.ViewManager view_manager_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_active_view_manager_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Efl.Ui.ActiveView.ViewManager _ret_var = default(Efl.Ui.ActiveView.ViewManager);
- try
- {
- _ret_var = ((Container)ws.Target).GetViewManager();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_active_view_manager_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_active_view_manager_get_delegate efl_ui_active_view_manager_get_static_delegate;
-
-
- private delegate void efl_ui_active_view_manager_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.OwnTag>))] Efl.Ui.ActiveView.ViewManager view_manager);
-
-
- public delegate void efl_ui_active_view_manager_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.OwnTag>))] Efl.Ui.ActiveView.ViewManager view_manager);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_active_view_manager_set_api_delegate> efl_ui_active_view_manager_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_active_view_manager_set_api_delegate>(Module, "efl_ui_active_view_manager_set");
-
- private static void view_manager_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ActiveView.ViewManager view_manager)
- {
- Eina.Log.Debug("function efl_ui_active_view_manager_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Container)ws.Target).SetViewManager(view_manager);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_active_view_manager_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), view_manager);
- }
- }
-
- private static efl_ui_active_view_manager_set_delegate efl_ui_active_view_manager_set_static_delegate;
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.OwnTag>))]
- private delegate Efl.Ui.ActiveView.Indicator efl_ui_active_view_indicator_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.OwnTag>))]
- public delegate Efl.Ui.ActiveView.Indicator efl_ui_active_view_indicator_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_active_view_indicator_get_api_delegate> efl_ui_active_view_indicator_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_active_view_indicator_get_api_delegate>(Module, "efl_ui_active_view_indicator_get");
-
- private static Efl.Ui.ActiveView.Indicator indicator_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_active_view_indicator_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Efl.Ui.ActiveView.Indicator _ret_var = default(Efl.Ui.ActiveView.Indicator);
- try
- {
- _ret_var = ((Container)ws.Target).GetIndicator();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_active_view_indicator_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_active_view_indicator_get_delegate efl_ui_active_view_indicator_get_static_delegate;
-
-
- private delegate void efl_ui_active_view_indicator_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.OwnTag>))] Efl.Ui.ActiveView.Indicator indicator);
-
-
- public delegate void efl_ui_active_view_indicator_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.OwnTag>))] Efl.Ui.ActiveView.Indicator indicator);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_active_view_indicator_set_api_delegate> efl_ui_active_view_indicator_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_active_view_indicator_set_api_delegate>(Module, "efl_ui_active_view_indicator_set");
-
- private static void indicator_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ActiveView.Indicator indicator)
- {
- Eina.Log.Debug("function efl_ui_active_view_indicator_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Container)ws.Target).SetIndicator(indicator);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_active_view_indicator_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), indicator);
- }
- }
-
- private static efl_ui_active_view_indicator_set_delegate efl_ui_active_view_indicator_set_static_delegate;
-
-
- private delegate int efl_ui_active_view_active_index_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate int efl_ui_active_view_active_index_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_active_view_active_index_get_api_delegate> efl_ui_active_view_active_index_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_active_view_active_index_get_api_delegate>(Module, "efl_ui_active_view_active_index_get");
-
- private static int active_index_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_active_view_active_index_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- int _ret_var = default(int);
- try
- {
- _ret_var = ((Container)ws.Target).GetActiveIndex();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_active_view_active_index_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_active_view_active_index_get_delegate efl_ui_active_view_active_index_get_static_delegate;
-
-
- private delegate void efl_ui_active_view_active_index_set_delegate(System.IntPtr obj, System.IntPtr pd, int index);
-
-
- public delegate void efl_ui_active_view_active_index_set_api_delegate(System.IntPtr obj, int index);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_active_view_active_index_set_api_delegate> efl_ui_active_view_active_index_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_active_view_active_index_set_api_delegate>(Module, "efl_ui_active_view_active_index_set");
-
- private static void active_index_set(System.IntPtr obj, System.IntPtr pd, int index)
- {
- Eina.Log.Debug("function efl_ui_active_view_active_index_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Container)ws.Target).SetActiveIndex(index);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_active_view_active_index_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), index);
- }
- }
-
- private static efl_ui_active_view_active_index_set_delegate efl_ui_active_view_active_index_set_static_delegate;
-
-
- private delegate Eina.Size2D.NativeStruct efl_ui_active_view_size_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate Eina.Size2D.NativeStruct efl_ui_active_view_size_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_active_view_size_get_api_delegate> efl_ui_active_view_size_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_active_view_size_get_api_delegate>(Module, "efl_ui_active_view_size_get");
-
- private static Eina.Size2D.NativeStruct active_view_size_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_active_view_size_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Eina.Size2D _ret_var = default(Eina.Size2D);
- try
- {
- _ret_var = ((Container)ws.Target).GetActiveViewSize();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_active_view_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_active_view_size_get_delegate efl_ui_active_view_size_get_static_delegate;
-
-
- private delegate void efl_ui_active_view_size_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct size);
-
-
- public delegate void efl_ui_active_view_size_set_api_delegate(System.IntPtr obj, Eina.Size2D.NativeStruct size);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_active_view_size_set_api_delegate> efl_ui_active_view_size_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_active_view_size_set_api_delegate>(Module, "efl_ui_active_view_size_set");
-
- private static void active_view_size_set(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct size)
- {
- Eina.Log.Debug("function efl_ui_active_view_size_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Eina.Size2D _in_size = size;
-
- try
- {
- ((Container)ws.Target).SetActiveViewSize(_in_size);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_active_view_size_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), size);
- }
- }
-
- private static efl_ui_active_view_size_set_delegate efl_ui_active_view_size_set_static_delegate;
-
-
- private delegate void efl_ui_active_view_push_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity view);
-
-
- public delegate void efl_ui_active_view_push_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity view);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_active_view_push_api_delegate> efl_ui_active_view_push_ptr = new Efl.Eo.FunctionWrapper<efl_ui_active_view_push_api_delegate>(Module, "efl_ui_active_view_push");
-
- private static void push(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity view)
- {
- Eina.Log.Debug("function efl_ui_active_view_push was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Container)ws.Target).Push(view);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_active_view_push_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), view);
- }
- }
-
- private static efl_ui_active_view_push_delegate efl_ui_active_view_push_static_delegate;
-
- [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Eina.FutureMarshaler))]
- private delegate Eina.Future efl_ui_active_view_pop_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool deletion_on_transition_end);
-
- [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Eina.FutureMarshaler))]
- public delegate Eina.Future efl_ui_active_view_pop_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool deletion_on_transition_end);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_active_view_pop_api_delegate> efl_ui_active_view_pop_ptr = new Efl.Eo.FunctionWrapper<efl_ui_active_view_pop_api_delegate>(Module, "efl_ui_active_view_pop");
-
- private static Eina.Future pop(System.IntPtr obj, System.IntPtr pd, bool deletion_on_transition_end)
- {
- Eina.Log.Debug("function efl_ui_active_view_pop was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Eina.Future _ret_var = default( Eina.Future);
- try
- {
- _ret_var = ((Container)ws.Target).Pop(deletion_on_transition_end);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_active_view_pop_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), deletion_on_transition_end);
- }
- }
-
- private static efl_ui_active_view_pop_delegate efl_ui_active_view_pop_static_delegate;
-
- [return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_pack_clear_delegate(System.IntPtr obj, System.IntPtr pd);
-
- [return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_pack_clear_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_pack_clear_api_delegate> efl_pack_clear_ptr = new Efl.Eo.FunctionWrapper<efl_pack_clear_api_delegate>(Module, "efl_pack_clear");
-
- private static bool pack_clear(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_pack_clear was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- bool _ret_var = default(bool);
- try
- {
- _ret_var = ((Container)ws.Target).ClearPack();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_pack_clear_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_pack_clear_delegate efl_pack_clear_static_delegate;
-
- [return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_pack_unpack_all_delegate(System.IntPtr obj, System.IntPtr pd);
-
- [return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_pack_unpack_all_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_pack_unpack_all_api_delegate> efl_pack_unpack_all_ptr = new Efl.Eo.FunctionWrapper<efl_pack_unpack_all_api_delegate>(Module, "efl_pack_unpack_all");
-
- private static bool unpack_all(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_pack_unpack_all was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- bool _ret_var = default(bool);
- try
- {
- _ret_var = ((Container)ws.Target).UnpackAll();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_pack_unpack_all_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_pack_unpack_all_delegate efl_pack_unpack_all_static_delegate;
-
- [return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_pack_unpack_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
-
- [return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_pack_unpack_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
-
- public static Efl.Eo.FunctionWrapper<efl_pack_unpack_api_delegate> efl_pack_unpack_ptr = new Efl.Eo.FunctionWrapper<efl_pack_unpack_api_delegate>(Module, "efl_pack_unpack");
-
- private static bool unpack(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj)
- {
- Eina.Log.Debug("function efl_pack_unpack was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- bool _ret_var = default(bool);
- try
- {
- _ret_var = ((Container)ws.Target).Unpack(subobj);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_pack_unpack_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj);
- }
- }
-
- private static efl_pack_unpack_delegate efl_pack_unpack_static_delegate;
-
- [return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_pack_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
-
- [return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_pack_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
-
- public static Efl.Eo.FunctionWrapper<efl_pack_api_delegate> efl_pack_ptr = new Efl.Eo.FunctionWrapper<efl_pack_api_delegate>(Module, "efl_pack");
-
- private static bool pack(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj)
- {
- Eina.Log.Debug("function efl_pack was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- bool _ret_var = default(bool);
- try
- {
- _ret_var = ((Container)ws.Target).Pack(subobj);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_pack_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj);
- }
- }
-
- private static efl_pack_delegate efl_pack_static_delegate;
-
- [return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_pack_begin_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
-
- [return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_pack_begin_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
-
- public static Efl.Eo.FunctionWrapper<efl_pack_begin_api_delegate> efl_pack_begin_ptr = new Efl.Eo.FunctionWrapper<efl_pack_begin_api_delegate>(Module, "efl_pack_begin");
-
- private static bool pack_begin(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj)
- {
- Eina.Log.Debug("function efl_pack_begin was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- bool _ret_var = default(bool);
- try
- {
- _ret_var = ((Container)ws.Target).PackBegin(subobj);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_pack_begin_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj);
- }
- }
-
- private static efl_pack_begin_delegate efl_pack_begin_static_delegate;
-
- [return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_pack_end_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
-
- [return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_pack_end_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
-
- public static Efl.Eo.FunctionWrapper<efl_pack_end_api_delegate> efl_pack_end_ptr = new Efl.Eo.FunctionWrapper<efl_pack_end_api_delegate>(Module, "efl_pack_end");
-
- private static bool pack_end(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj)
- {
- Eina.Log.Debug("function efl_pack_end was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- bool _ret_var = default(bool);
- try
- {
- _ret_var = ((Container)ws.Target).PackEnd(subobj);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_pack_end_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj);
- }
- }
-
- private static efl_pack_end_delegate efl_pack_end_static_delegate;
-
- [return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_pack_before_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity existing);
-
- [return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_pack_before_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity existing);
-
- public static Efl.Eo.FunctionWrapper<efl_pack_before_api_delegate> efl_pack_before_ptr = new Efl.Eo.FunctionWrapper<efl_pack_before_api_delegate>(Module, "efl_pack_before");
-
- private static bool pack_before(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing)
- {
- Eina.Log.Debug("function efl_pack_before was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- bool _ret_var = default(bool);
- try
- {
- _ret_var = ((Container)ws.Target).PackBefore(subobj, existing);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_pack_before_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, existing);
- }
- }
-
- private static efl_pack_before_delegate efl_pack_before_static_delegate;
-
- [return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_pack_after_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity existing);
-
- [return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_pack_after_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity existing);
-
- public static Efl.Eo.FunctionWrapper<efl_pack_after_api_delegate> efl_pack_after_ptr = new Efl.Eo.FunctionWrapper<efl_pack_after_api_delegate>(Module, "efl_pack_after");
-
- private static bool pack_after(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing)
- {
- Eina.Log.Debug("function efl_pack_after was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- bool _ret_var = default(bool);
- try
- {
- _ret_var = ((Container)ws.Target).PackAfter(subobj, existing);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_pack_after_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, existing);
- }
- }
-
- private static efl_pack_after_delegate efl_pack_after_static_delegate;
-
- [return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_pack_at_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, int index);
-
- [return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_pack_at_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, int index);
-
- public static Efl.Eo.FunctionWrapper<efl_pack_at_api_delegate> efl_pack_at_ptr = new Efl.Eo.FunctionWrapper<efl_pack_at_api_delegate>(Module, "efl_pack_at");
-
- private static bool pack_at(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, int index)
- {
- Eina.Log.Debug("function efl_pack_at was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- bool _ret_var = default(bool);
- try
- {
- _ret_var = ((Container)ws.Target).PackAt(subobj, index);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_pack_at_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, index);
- }
- }
-
- private static efl_pack_at_delegate efl_pack_at_static_delegate;
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- private delegate Efl.Gfx.IEntity efl_pack_content_get_delegate(System.IntPtr obj, System.IntPtr pd, int index);
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- public delegate Efl.Gfx.IEntity efl_pack_content_get_api_delegate(System.IntPtr obj, int index);
-
- public static Efl.Eo.FunctionWrapper<efl_pack_content_get_api_delegate> efl_pack_content_get_ptr = new Efl.Eo.FunctionWrapper<efl_pack_content_get_api_delegate>(Module, "efl_pack_content_get");
-
- private static Efl.Gfx.IEntity pack_content_get(System.IntPtr obj, System.IntPtr pd, int index)
- {
- Eina.Log.Debug("function efl_pack_content_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
- try
- {
- _ret_var = ((Container)ws.Target).GetPackContent(index);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_pack_content_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), index);
- }
- }
-
- private static efl_pack_content_get_delegate efl_pack_content_get_static_delegate;
-
-
- private delegate int efl_pack_index_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
-
-
- public delegate int efl_pack_index_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
-
- public static Efl.Eo.FunctionWrapper<efl_pack_index_get_api_delegate> efl_pack_index_get_ptr = new Efl.Eo.FunctionWrapper<efl_pack_index_get_api_delegate>(Module, "efl_pack_index_get");
-
- private static int pack_index_get(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj)
- {
- Eina.Log.Debug("function efl_pack_index_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- int _ret_var = default(int);
- try
- {
- _ret_var = ((Container)ws.Target).GetPackIndex(subobj);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_pack_index_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj);
- }
- }
-
- private static efl_pack_index_get_delegate efl_pack_index_get_static_delegate;
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- private delegate Efl.Gfx.IEntity efl_pack_unpack_at_delegate(System.IntPtr obj, System.IntPtr pd, int index);
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- public delegate Efl.Gfx.IEntity efl_pack_unpack_at_api_delegate(System.IntPtr obj, int index);
-
- public static Efl.Eo.FunctionWrapper<efl_pack_unpack_at_api_delegate> efl_pack_unpack_at_ptr = new Efl.Eo.FunctionWrapper<efl_pack_unpack_at_api_delegate>(Module, "efl_pack_unpack_at");
-
- private static Efl.Gfx.IEntity pack_unpack_at(System.IntPtr obj, System.IntPtr pd, int index)
- {
- Eina.Log.Debug("function efl_pack_unpack_at was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
- try
- {
- _ret_var = ((Container)ws.Target).PackUnpackAt(index);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_pack_unpack_at_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), index);
- }
- }
-
- private static efl_pack_unpack_at_delegate efl_pack_unpack_at_static_delegate;
-
- #pragma warning restore CA1707, CS1591, SA1300, SA1600
-
-}
-}
-}
-
-}
-
-}
-
-namespace Efl {
-
-namespace Ui {
-
-namespace ActiveView {
-
-/// <summary>Information regarding transition events.</summary>
-[StructLayout(LayoutKind.Sequential)]
-public struct TransitionEvent
-{
- /// <summary>The view index from where the transition started, -1 if not known.</summary>
- public int From;
- /// <summary>The view index to where the transition is headed, -1 if not known.</summary>
- public int To;
- ///<summary>Constructor for TransitionEvent.</summary>
- public TransitionEvent(
- int From = default(int),
- int To = default(int) )
- {
- this.From = From;
- this.To = To;
- }
-
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
- public static implicit operator TransitionEvent(IntPtr ptr)
- {
- var tmp = (TransitionEvent.NativeStruct)Marshal.PtrToStructure(ptr, typeof(TransitionEvent.NativeStruct));
- return tmp;
- }
-
- #pragma warning disable CS1591
-
- ///<summary>Internal wrapper for struct TransitionEvent.</summary>
- [StructLayout(LayoutKind.Sequential)]
- public struct NativeStruct
- {
-
- public int From;
-
- public int To;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
- public static implicit operator TransitionEvent.NativeStruct(TransitionEvent _external_struct)
- {
- var _internal_struct = new TransitionEvent.NativeStruct();
- _internal_struct.From = _external_struct.From;
- _internal_struct.To = _external_struct.To;
- return _internal_struct;
- }
-
- ///<summary>Implicit conversion to the managed representation.</summary>
- public static implicit operator TransitionEvent(TransitionEvent.NativeStruct _internal_struct)
- {
- var _external_struct = new TransitionEvent();
- _external_struct.From = _internal_struct.From;
- _external_struct.To = _internal_struct.To;
- return _external_struct;
- }
-
- }
-
- #pragma warning restore CS1591
-
-}
-
-}
-
-}
-
-}
-
+++ /dev/null
-#pragma warning disable CS1591
-using System;
-using System.Runtime.InteropServices;
-using System.Collections.Generic;
-using System.Linq;
-using System.Threading;
-using System.ComponentModel;
-namespace Efl {
-
-namespace Ui {
-
-namespace ActiveView {
-
-/// <summary>Object used by <see cref="Efl.Ui.ActiveView.Container"/> to render an indication of the active view's position among the rest of the container's views.
-/// An example would be Android's little dots in the home screen.</summary>
-[Efl.Ui.ActiveView.Indicator.NativeMethods]
-public abstract class Indicator : Efl.Object
-{
- ///<summary>Pointer to the native class description.</summary>
- public override System.IntPtr NativeClass
- {
- get
- {
- if (((object)this).GetType() == typeof(Indicator))
- {
- return GetEflClassStatic();
- }
- else
- {
- return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
- }
- }
- }
-
- [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
- efl_ui_active_view_indicator_class_get();
- /// <summary>Initializes a new instance of the <see cref="Indicator"/> class.</summary>
- /// <param name="parent">Parent instance.</param>
- public Indicator(Efl.Object parent= null
- ) : base(efl_ui_active_view_indicator_class_get(), typeof(Indicator), parent)
- {
- FinishInstantiation();
- }
-
- /// <summary>Initializes a new instance of the <see cref="Indicator"/> class.
- /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Indicator(System.IntPtr raw) : base(raw)
- {
- }
-
- [Efl.Eo.PrivateNativeClass]
- private class IndicatorRealized : Indicator
- {
- private IndicatorRealized(IntPtr ptr) : base(ptr)
- {
- }
- }
- /// <summary>Initializes a new instance of the <see cref="Indicator"/> class.
- /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
- /// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
- /// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Indicator(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
- {
- }
-
- /// <summary>This method is called the first time an <see cref="Efl.Ui.ActiveView.Indicator"/> is assigned to an <see cref="Efl.Ui.ActiveView.Container"/>, binding them together.
- /// This call can be used to setup the indicator part of the <c>active_view</c>.
- ///
- /// The Active View of the container (if there is any) will be informed to the indicator by a later call to <see cref="Efl.Ui.ActiveView.Indicator.UpdatePosition"/>.</summary>
- /// <param name="active_view">The container to bind this indicator to.</param>
- virtual public void Bind(Efl.Ui.ActiveView.Container active_view) {
- Efl.Ui.ActiveView.Indicator.NativeMethods.efl_ui_active_view_indicator_bind_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),active_view);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>A <c>subobj</c> has been added at position <c>index</c> in the bound container.
- /// The manager should check the container's <see cref="Efl.Ui.ActiveView.Container.ActiveIndex"/> since indices might have shifted due to the insertion of the new object.</summary>
- /// <param name="subobj">The new object that has been added to the container.</param>
- /// <param name="index">The index of the new object in the container's list.</param>
- virtual public void AddContent(Efl.Gfx.IEntity subobj, int index) {
- Efl.Ui.ActiveView.Indicator.NativeMethods.efl_ui_active_view_indicator_content_add_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj, index);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>The <c>subobj</c> at position <c>index</c> in the bound container has been removed.
- /// The manager should check the container's <see cref="Efl.Ui.ActiveView.Container.ActiveIndex"/> since indices might have shifted due to the removal of the object.</summary>
- /// <param name="subobj">The object being removed from the container.</param>
- /// <param name="index">The index this object had in the container's list.</param>
- virtual public void DelContent(Efl.Gfx.IEntity subobj, int index) {
- Efl.Ui.ActiveView.Indicator.NativeMethods.efl_ui_active_view_indicator_content_del_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj, index);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>This method tells the indicator that <see cref="Efl.Ui.ActiveView.Container.ActiveIndex"/> has changed in the bound container.
- /// <c>position</c> ranges from -1 to the number of views in the bound container (<see cref="Efl.IContainer.ContentCount"/>). Notice this allows moving to a position before the first view or past the last view, which might happen if the view is thumb-scrolled out-of-bounds. Indicators can choose to render these out-of-bounds positions or not.
- ///
- /// Fractional values indicate positions in-between two views and should be respected to obtain a smooth transition.</summary>
- /// <param name="position">The index of the active view, or a value in-between views if a transition is currently playing.</param>
- virtual public void UpdatePosition(double position) {
- Efl.Ui.ActiveView.Indicator.NativeMethods.efl_ui_active_view_indicator_position_update_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),position);
- Eina.Error.RaiseIfUnhandledException();
- }
- private static IntPtr GetEflClassStatic()
- {
- return Efl.Ui.ActiveView.Indicator.efl_ui_active_view_indicator_class_get();
- }
- /// <summary>Wrapper for native methods and virtual method delegates.
- /// For internal use by generated code only.</summary>
- public new class NativeMethods : Efl.Object.NativeMethods
- {
- private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
- /// <summary>Gets the list of Eo operations to override.</summary>
- /// <returns>The list of Eo operations to be overload.</returns>
- public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
- {
- var descs = new System.Collections.Generic.List<Efl_Op_Description>();
- var methods = Efl.Eo.Globals.GetUserMethods(type);
-
- if (efl_ui_active_view_indicator_bind_static_delegate == null)
- {
- efl_ui_active_view_indicator_bind_static_delegate = new efl_ui_active_view_indicator_bind_delegate(bind);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "Bind") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_active_view_indicator_bind"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_active_view_indicator_bind_static_delegate) });
- }
-
- if (efl_ui_active_view_indicator_content_add_static_delegate == null)
- {
- efl_ui_active_view_indicator_content_add_static_delegate = new efl_ui_active_view_indicator_content_add_delegate(content_add);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "AddContent") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_active_view_indicator_content_add"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_active_view_indicator_content_add_static_delegate) });
- }
-
- if (efl_ui_active_view_indicator_content_del_static_delegate == null)
- {
- efl_ui_active_view_indicator_content_del_static_delegate = new efl_ui_active_view_indicator_content_del_delegate(content_del);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "DelContent") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_active_view_indicator_content_del"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_active_view_indicator_content_del_static_delegate) });
- }
-
- if (efl_ui_active_view_indicator_position_update_static_delegate == null)
- {
- efl_ui_active_view_indicator_position_update_static_delegate = new efl_ui_active_view_indicator_position_update_delegate(position_update);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "UpdatePosition") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_active_view_indicator_position_update"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_active_view_indicator_position_update_static_delegate) });
- }
-
- descs.AddRange(base.GetEoOps(type));
- return descs;
- }
- /// <summary>Returns the Eo class for the native methods of this class.</summary>
- /// <returns>The native class pointer.</returns>
- public override IntPtr GetEflClass()
- {
- return Efl.Ui.ActiveView.Indicator.efl_ui_active_view_indicator_class_get();
- }
-
- #pragma warning disable CA1707, CS1591, SA1300, SA1600
-
-
- private delegate void efl_ui_active_view_indicator_bind_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.ActiveView.Container active_view);
-
-
- public delegate void efl_ui_active_view_indicator_bind_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.ActiveView.Container active_view);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_active_view_indicator_bind_api_delegate> efl_ui_active_view_indicator_bind_ptr = new Efl.Eo.FunctionWrapper<efl_ui_active_view_indicator_bind_api_delegate>(Module, "efl_ui_active_view_indicator_bind");
-
- private static void bind(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ActiveView.Container active_view)
- {
- Eina.Log.Debug("function efl_ui_active_view_indicator_bind was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Indicator)ws.Target).Bind(active_view);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_active_view_indicator_bind_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), active_view);
- }
- }
-
- private static efl_ui_active_view_indicator_bind_delegate efl_ui_active_view_indicator_bind_static_delegate;
-
-
- private delegate void efl_ui_active_view_indicator_content_add_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, int index);
-
-
- public delegate void efl_ui_active_view_indicator_content_add_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, int index);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_active_view_indicator_content_add_api_delegate> efl_ui_active_view_indicator_content_add_ptr = new Efl.Eo.FunctionWrapper<efl_ui_active_view_indicator_content_add_api_delegate>(Module, "efl_ui_active_view_indicator_content_add");
-
- private static void content_add(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, int index)
- {
- Eina.Log.Debug("function efl_ui_active_view_indicator_content_add was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Indicator)ws.Target).AddContent(subobj, index);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_active_view_indicator_content_add_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, index);
- }
- }
-
- private static efl_ui_active_view_indicator_content_add_delegate efl_ui_active_view_indicator_content_add_static_delegate;
-
-
- private delegate void efl_ui_active_view_indicator_content_del_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, int index);
-
-
- public delegate void efl_ui_active_view_indicator_content_del_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, int index);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_active_view_indicator_content_del_api_delegate> efl_ui_active_view_indicator_content_del_ptr = new Efl.Eo.FunctionWrapper<efl_ui_active_view_indicator_content_del_api_delegate>(Module, "efl_ui_active_view_indicator_content_del");
-
- private static void content_del(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, int index)
- {
- Eina.Log.Debug("function efl_ui_active_view_indicator_content_del was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Indicator)ws.Target).DelContent(subobj, index);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_active_view_indicator_content_del_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, index);
- }
- }
-
- private static efl_ui_active_view_indicator_content_del_delegate efl_ui_active_view_indicator_content_del_static_delegate;
-
-
- private delegate void efl_ui_active_view_indicator_position_update_delegate(System.IntPtr obj, System.IntPtr pd, double position);
-
-
- public delegate void efl_ui_active_view_indicator_position_update_api_delegate(System.IntPtr obj, double position);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_active_view_indicator_position_update_api_delegate> efl_ui_active_view_indicator_position_update_ptr = new Efl.Eo.FunctionWrapper<efl_ui_active_view_indicator_position_update_api_delegate>(Module, "efl_ui_active_view_indicator_position_update");
-
- private static void position_update(System.IntPtr obj, System.IntPtr pd, double position)
- {
- Eina.Log.Debug("function efl_ui_active_view_indicator_position_update was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Indicator)ws.Target).UpdatePosition(position);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_active_view_indicator_position_update_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), position);
- }
- }
-
- private static efl_ui_active_view_indicator_position_update_delegate efl_ui_active_view_indicator_position_update_static_delegate;
-
- #pragma warning restore CA1707, CS1591, SA1300, SA1600
-
-}
-}
-}
-
-}
-
-}
-
+++ /dev/null
-#pragma warning disable CS1591
-using System;
-using System.Runtime.InteropServices;
-using System.Collections.Generic;
-using System.Linq;
-using System.Threading;
-using System.ComponentModel;
-namespace Efl {
-
-namespace Ui {
-
-namespace ActiveView {
-
-[Efl.Ui.ActiveView.IndicatorIcon.NativeMethods]
-public class IndicatorIcon : Efl.Ui.ActiveView.Indicator
-{
- ///<summary>Pointer to the native class description.</summary>
- public override System.IntPtr NativeClass
- {
- get
- {
- if (((object)this).GetType() == typeof(IndicatorIcon))
- {
- return GetEflClassStatic();
- }
- else
- {
- return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
- }
- }
- }
-
- [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
- efl_ui_active_view_indicator_icon_class_get();
- /// <summary>Initializes a new instance of the <see cref="IndicatorIcon"/> class.</summary>
- /// <param name="parent">Parent instance.</param>
- public IndicatorIcon(Efl.Object parent= null
- ) : base(efl_ui_active_view_indicator_icon_class_get(), typeof(IndicatorIcon), parent)
- {
- FinishInstantiation();
- }
-
- /// <summary>Initializes a new instance of the <see cref="IndicatorIcon"/> class.
- /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected IndicatorIcon(System.IntPtr raw) : base(raw)
- {
- }
-
- /// <summary>Initializes a new instance of the <see cref="IndicatorIcon"/> class.
- /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
- /// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
- /// <param name="parent">The Efl.Object parent of this instance.</param>
- protected IndicatorIcon(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
- {
- }
-
- private static IntPtr GetEflClassStatic()
- {
- return Efl.Ui.ActiveView.IndicatorIcon.efl_ui_active_view_indicator_icon_class_get();
- }
- /// <summary>Wrapper for native methods and virtual method delegates.
- /// For internal use by generated code only.</summary>
- public new class NativeMethods : Efl.Ui.ActiveView.Indicator.NativeMethods
- {
- /// <summary>Gets the list of Eo operations to override.</summary>
- /// <returns>The list of Eo operations to be overload.</returns>
- public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
- {
- var descs = new System.Collections.Generic.List<Efl_Op_Description>();
- descs.AddRange(base.GetEoOps(type));
- return descs;
- }
- /// <summary>Returns the Eo class for the native methods of this class.</summary>
- /// <returns>The native class pointer.</returns>
- public override IntPtr GetEflClass()
- {
- return Efl.Ui.ActiveView.IndicatorIcon.efl_ui_active_view_indicator_icon_class_get();
- }
-
- #pragma warning disable CA1707, CS1591, SA1300, SA1600
-
- #pragma warning restore CA1707, CS1591, SA1300, SA1600
-
-}
-}
-}
-
-}
-
-}
-
+++ /dev/null
-#pragma warning disable CS1591
-using System;
-using System.Runtime.InteropServices;
-using System.Collections.Generic;
-using System.Linq;
-using System.Threading;
-using System.ComponentModel;
-namespace Efl {
-
-namespace Ui {
-
-namespace ActiveView {
-
-[Efl.Ui.ActiveView.Util.NativeMethods]
-public class Util : Efl.Eo.EoWrapper
-{
- ///<summary>Pointer to the native class description.</summary>
- public override System.IntPtr NativeClass
- {
- get
- {
- if (((object)this).GetType() == typeof(Util))
- {
- return GetEflClassStatic();
- }
- else
- {
- return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
- }
- }
- }
-
- [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
- efl_ui_active_view_util_class_get();
- /// <summary>Initializes a new instance of the <see cref="Util"/> class.</summary>
- /// <param name="parent">Parent instance.</param>
- public Util(Efl.Object parent= null
- ) : base(efl_ui_active_view_util_class_get(), typeof(Util), parent)
- {
- FinishInstantiation();
- }
-
- /// <summary>Initializes a new instance of the <see cref="Util"/> class.
- /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Util(System.IntPtr raw) : base(raw)
- {
- }
-
- /// <summary>Initializes a new instance of the <see cref="Util"/> class.
- /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
- /// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
- /// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Util(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
- {
- }
-
- /// <summary>Get a preconfigured stack obejct</summary>
- public static Efl.Ui.ActiveView.Container StackGen(Efl.Ui.Widget parent) {
- var _ret_var = Efl.Ui.ActiveView.Util.NativeMethods.efl_ui_active_view_util_stack_gen_ptr.Value.Delegate(parent);
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- private static IntPtr GetEflClassStatic()
- {
- return Efl.Ui.ActiveView.Util.efl_ui_active_view_util_class_get();
- }
- /// <summary>Wrapper for native methods and virtual method delegates.
- /// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
- {
- private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
- /// <summary>Gets the list of Eo operations to override.</summary>
- /// <returns>The list of Eo operations to be overload.</returns>
- public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
- {
- var descs = new System.Collections.Generic.List<Efl_Op_Description>();
- return descs;
- }
- /// <summary>Returns the Eo class for the native methods of this class.</summary>
- /// <returns>The native class pointer.</returns>
- public override IntPtr GetEflClass()
- {
- return Efl.Ui.ActiveView.Util.efl_ui_active_view_util_class_get();
- }
-
- #pragma warning disable CA1707, CS1591, SA1300, SA1600
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- private delegate Efl.Ui.ActiveView.Container efl_ui_active_view_util_stack_gen_delegate([MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Widget parent);
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- public delegate Efl.Ui.ActiveView.Container efl_ui_active_view_util_stack_gen_api_delegate([MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Widget parent);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_active_view_util_stack_gen_api_delegate> efl_ui_active_view_util_stack_gen_ptr = new Efl.Eo.FunctionWrapper<efl_ui_active_view_util_stack_gen_api_delegate>(Module, "efl_ui_active_view_util_stack_gen");
-
- private static Efl.Ui.ActiveView.Container stack_gen(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Widget parent)
- {
- Eina.Log.Debug("function efl_ui_active_view_util_stack_gen was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Efl.Ui.ActiveView.Container _ret_var = default(Efl.Ui.ActiveView.Container);
- try
- {
- _ret_var = Util.StackGen(parent);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_active_view_util_stack_gen_ptr.Value.Delegate(parent);
- }
- }
-
- #pragma warning restore CA1707, CS1591, SA1300, SA1600
-
-}
-}
-}
-
-}
-
-}
-
+++ /dev/null
-#pragma warning disable CS1591
-using System;
-using System.Runtime.InteropServices;
-using System.Collections.Generic;
-using System.Linq;
-using System.Threading;
-using System.ComponentModel;
-namespace Efl {
-
-namespace Ui {
-
-namespace ActiveView {
-
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.ActiveView.ViewManager.PosUpdateEvt"/>.</summary>
-public class ViewManagerPosUpdateEvt_Args : EventArgs {
- ///<summary>Actual event payload.</summary>
- public double arg { get; set; }
-}
-/// <summary>Manager object used by <see cref="Efl.Ui.ActiveView.Container"/> to handle rendering and animation of its views, and user interaction.
-/// For instance, changes to the currently active view (<see cref="Efl.Ui.ActiveView.Container.ActiveIndex"/>) can be animated with a transition. This object can also handle user interaction. For example, dragging the active view to one side to get to a different view (like an Android home screen). Such user interactions should end up setting a new <see cref="Efl.Ui.ActiveView.Container.ActiveIndex"/>. During a transition, the evolution of the current position should be exposed by emitting <c>pos_update</c> events.</summary>
-[Efl.Ui.ActiveView.ViewManager.NativeMethods]
-public abstract class ViewManager : Efl.Object
-{
- ///<summary>Pointer to the native class description.</summary>
- public override System.IntPtr NativeClass
- {
- get
- {
- if (((object)this).GetType() == typeof(ViewManager))
- {
- return GetEflClassStatic();
- }
- else
- {
- return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
- }
- }
- }
-
- [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
- efl_ui_active_view_view_manager_class_get();
- /// <summary>Initializes a new instance of the <see cref="ViewManager"/> class.</summary>
- /// <param name="parent">Parent instance.</param>
- public ViewManager(Efl.Object parent= null
- ) : base(efl_ui_active_view_view_manager_class_get(), typeof(ViewManager), parent)
- {
- FinishInstantiation();
- }
-
- /// <summary>Initializes a new instance of the <see cref="ViewManager"/> class.
- /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected ViewManager(System.IntPtr raw) : base(raw)
- {
- }
-
- [Efl.Eo.PrivateNativeClass]
- private class ViewManagerRealized : ViewManager
- {
- private ViewManagerRealized(IntPtr ptr) : base(ptr)
- {
- }
- }
- /// <summary>Initializes a new instance of the <see cref="ViewManager"/> class.
- /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
- /// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
- /// <param name="parent">The Efl.Object parent of this instance.</param>
- protected ViewManager(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
- {
- }
-
- /// <summary>Index of the view currently being displayed. Fractional values indicate a position in-between views. For instance, when transitioning from view 2 to view 3, this event should be emitted with monotonically increasing values ranging from 2.0 to 3.0. Animations can perform any movement they want, but the reported <c>pos_update</c> must move in the same direction.</summary>
- public event EventHandler<Efl.Ui.ActiveView.ViewManagerPosUpdateEvt_Args> PosUpdateEvt
- {
- add
- {
- lock (eventLock)
- {
- Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
- {
- var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
- if (obj != null)
- {
- Efl.Ui.ActiveView.ViewManagerPosUpdateEvt_Args args = new Efl.Ui.ActiveView.ViewManagerPosUpdateEvt_Args();
- args.arg = Eina.PrimitiveConversion.PointerToManaged<double>(evt.Info);
- try
- {
- value?.Invoke(obj, args);
- }
- catch (Exception e)
- {
- Eina.Log.Error(e.ToString());
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
- }
- };
-
- string key = "_EFL_UI_ACTIVE_VIEW_VIEW_MANAGER_EVENT_POS_UPDATE";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eventLock)
- {
- string key = "_EFL_UI_ACTIVE_VIEW_VIEW_MANAGER_EVENT_POS_UPDATE";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event PosUpdateEvt.</summary>
- public void OnPosUpdateEvt(Efl.Ui.ActiveView.ViewManagerPosUpdateEvt_Args e)
- {
- var key = "_EFL_UI_ACTIVE_VIEW_VIEW_MANAGER_EVENT_POS_UPDATE";
- IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
- if (desc == IntPtr.Zero)
- {
- Eina.Log.Error($"Failed to get native event {key}");
- return;
- }
-
- IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg);
- try
- {
- Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
- }
- finally
- {
- Marshal.FreeHGlobal(info);
- }
- }
- /// <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>This flag can be used to disable animations.</summary>
- /// <returns><c>true</c> if you want animations to happen, <c>false</c> otherwise.</returns>
- virtual public bool GetAnimationEnabled() {
- var _ret_var = Efl.Ui.ActiveView.ViewManager.NativeMethods.efl_ui_active_view_view_manager_animation_enabled_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>This flag can be used to disable animations.</summary>
- /// <param name="enable"><c>true</c> if you want animations to happen, <c>false</c> otherwise.</param>
- virtual public void SetAnimationEnabled(bool enable) {
- Efl.Ui.ActiveView.ViewManager.NativeMethods.efl_ui_active_view_view_manager_animation_enabled_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),enable);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>This method is called the first time an <see cref="Efl.Ui.ActiveView.ViewManager"/> is assigned to an <see cref="Efl.Ui.ActiveView.Container"/>, binding them together. The manager can read the current content of the container, subscribe to events, or do any initialization it requires.</summary>
- /// <param name="active_view">The container to bind the view manager to.</param>
- /// <param name="group">The graphical group where the views should be added with <see cref="Efl.Canvas.Group.AddGroupMember"/> and removed with <see cref="Efl.Canvas.Group.GroupMemberRemove"/>.</param>
- virtual public void Bind(Efl.Ui.ActiveView.Container active_view, Efl.Canvas.Group group) {
- Efl.Ui.ActiveView.ViewManager.NativeMethods.efl_ui_active_view_view_manager_bind_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),active_view, group);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>A <c>subobj</c> has been added at position <c>index</c> in the bound container.
- /// The manager should check the container's <see cref="Efl.Ui.ActiveView.Container.ActiveIndex"/> since indices might have shifted due to the insertion of the new object.</summary>
- /// <param name="subobj">The new object that has been added to the container.</param>
- /// <param name="index">The index of the new object in the container's list.</param>
- virtual public void AddContent(Efl.Gfx.IEntity subobj, int index) {
- Efl.Ui.ActiveView.ViewManager.NativeMethods.efl_ui_active_view_view_manager_content_add_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj, index);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>The <c>subobj</c> at position <c>index</c> in the bound container has been removed.
- /// The manager should check the container's <see cref="Efl.Ui.ActiveView.Container.ActiveIndex"/> since indices might have shifted due to the removal of the object.</summary>
- /// <param name="subobj">The object being removed from the container.</param>
- /// <param name="index">The index this object had in the container's list.</param>
- virtual public void DelContent(Efl.Gfx.IEntity subobj, int index) {
- Efl.Ui.ActiveView.ViewManager.NativeMethods.efl_ui_active_view_view_manager_content_del_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj, index);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Switch from one view to another. If there was no previous view, <c>from</c> might be -1. This function should display an animation if the <see cref="Efl.Ui.ActiveView.ViewManager"/> supports them.</summary>
- /// <param name="from">Index of the starting view in the container's list. Might be -1 if unknown.</param>
- /// <param name="to">Index of the target view in the container's list.</param>
- virtual public void SwitchTo(int from, int to) {
- Efl.Ui.ActiveView.ViewManager.NativeMethods.efl_ui_active_view_view_manager_switch_to_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),from, to);
- 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>
- /// <value>The new size of the views.</value>
- public Eina.Size2D ViewSize {
- set { SetViewSize(value); }
- }
- /// <summary>This flag can be used to disable animations.</summary>
- /// <value><c>true</c> if you want animations to happen, <c>false</c> otherwise.</value>
- public bool AnimationEnabled {
- get { return GetAnimationEnabled(); }
- set { SetAnimationEnabled(value); }
- }
- private static IntPtr GetEflClassStatic()
- {
- return Efl.Ui.ActiveView.ViewManager.efl_ui_active_view_view_manager_class_get();
- }
- /// <summary>Wrapper for native methods and virtual method delegates.
- /// For internal use by generated code only.</summary>
- public new class NativeMethods : Efl.Object.NativeMethods
- {
- private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
- /// <summary>Gets the list of Eo operations to override.</summary>
- /// <returns>The list of Eo operations to be overload.</returns>
- public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
- {
- var descs = new System.Collections.Generic.List<Efl_Op_Description>();
- var methods = Efl.Eo.Globals.GetUserMethods(type);
-
- if (efl_ui_active_view_view_manager_view_size_set_static_delegate == null)
- {
- efl_ui_active_view_view_manager_view_size_set_static_delegate = new efl_ui_active_view_view_manager_view_size_set_delegate(view_size_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetViewSize") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_active_view_view_manager_view_size_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_active_view_view_manager_view_size_set_static_delegate) });
- }
-
- if (efl_ui_active_view_view_manager_animation_enabled_get_static_delegate == null)
- {
- efl_ui_active_view_view_manager_animation_enabled_get_static_delegate = new efl_ui_active_view_view_manager_animation_enabled_get_delegate(animation_enabled_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetAnimationEnabled") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_active_view_view_manager_animation_enabled_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_active_view_view_manager_animation_enabled_get_static_delegate) });
- }
-
- if (efl_ui_active_view_view_manager_animation_enabled_set_static_delegate == null)
- {
- efl_ui_active_view_view_manager_animation_enabled_set_static_delegate = new efl_ui_active_view_view_manager_animation_enabled_set_delegate(animation_enabled_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetAnimationEnabled") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_active_view_view_manager_animation_enabled_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_active_view_view_manager_animation_enabled_set_static_delegate) });
- }
-
- if (efl_ui_active_view_view_manager_bind_static_delegate == null)
- {
- efl_ui_active_view_view_manager_bind_static_delegate = new efl_ui_active_view_view_manager_bind_delegate(bind);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "Bind") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_active_view_view_manager_bind"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_active_view_view_manager_bind_static_delegate) });
- }
-
- if (efl_ui_active_view_view_manager_content_add_static_delegate == null)
- {
- efl_ui_active_view_view_manager_content_add_static_delegate = new efl_ui_active_view_view_manager_content_add_delegate(content_add);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "AddContent") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_active_view_view_manager_content_add"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_active_view_view_manager_content_add_static_delegate) });
- }
-
- if (efl_ui_active_view_view_manager_content_del_static_delegate == null)
- {
- efl_ui_active_view_view_manager_content_del_static_delegate = new efl_ui_active_view_view_manager_content_del_delegate(content_del);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "DelContent") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_active_view_view_manager_content_del"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_active_view_view_manager_content_del_static_delegate) });
- }
-
- if (efl_ui_active_view_view_manager_switch_to_static_delegate == null)
- {
- efl_ui_active_view_view_manager_switch_to_static_delegate = new efl_ui_active_view_view_manager_switch_to_delegate(switch_to);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SwitchTo") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_active_view_view_manager_switch_to"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_active_view_view_manager_switch_to_static_delegate) });
- }
-
- descs.AddRange(base.GetEoOps(type));
- return descs;
- }
- /// <summary>Returns the Eo class for the native methods of this class.</summary>
- /// <returns>The native class pointer.</returns>
- public override IntPtr GetEflClass()
- {
- return Efl.Ui.ActiveView.ViewManager.efl_ui_active_view_view_manager_class_get();
- }
-
- #pragma warning disable CA1707, CS1591, SA1300, SA1600
-
-
- private delegate void efl_ui_active_view_view_manager_view_size_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct size);
-
-
- public delegate void efl_ui_active_view_view_manager_view_size_set_api_delegate(System.IntPtr obj, Eina.Size2D.NativeStruct size);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_active_view_view_manager_view_size_set_api_delegate> efl_ui_active_view_view_manager_view_size_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_active_view_view_manager_view_size_set_api_delegate>(Module, "efl_ui_active_view_view_manager_view_size_set");
-
- private static void view_size_set(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct size)
- {
- Eina.Log.Debug("function efl_ui_active_view_view_manager_view_size_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Eina.Size2D _in_size = size;
-
- try
- {
- ((ViewManager)ws.Target).SetViewSize(_in_size);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_active_view_view_manager_view_size_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), size);
- }
- }
-
- private static efl_ui_active_view_view_manager_view_size_set_delegate efl_ui_active_view_view_manager_view_size_set_static_delegate;
-
- [return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_ui_active_view_view_manager_animation_enabled_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- [return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_ui_active_view_view_manager_animation_enabled_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_active_view_view_manager_animation_enabled_get_api_delegate> efl_ui_active_view_view_manager_animation_enabled_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_active_view_view_manager_animation_enabled_get_api_delegate>(Module, "efl_ui_active_view_view_manager_animation_enabled_get");
-
- private static bool animation_enabled_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_active_view_view_manager_animation_enabled_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- bool _ret_var = default(bool);
- try
- {
- _ret_var = ((ViewManager)ws.Target).GetAnimationEnabled();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_active_view_view_manager_animation_enabled_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_active_view_view_manager_animation_enabled_get_delegate efl_ui_active_view_view_manager_animation_enabled_get_static_delegate;
-
-
- private delegate void efl_ui_active_view_view_manager_animation_enabled_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool enable);
-
-
- public delegate void efl_ui_active_view_view_manager_animation_enabled_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool enable);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_active_view_view_manager_animation_enabled_set_api_delegate> efl_ui_active_view_view_manager_animation_enabled_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_active_view_view_manager_animation_enabled_set_api_delegate>(Module, "efl_ui_active_view_view_manager_animation_enabled_set");
-
- private static void animation_enabled_set(System.IntPtr obj, System.IntPtr pd, bool enable)
- {
- Eina.Log.Debug("function efl_ui_active_view_view_manager_animation_enabled_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((ViewManager)ws.Target).SetAnimationEnabled(enable);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_active_view_view_manager_animation_enabled_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), enable);
- }
- }
-
- private static efl_ui_active_view_view_manager_animation_enabled_set_delegate efl_ui_active_view_view_manager_animation_enabled_set_static_delegate;
-
-
- private delegate void efl_ui_active_view_view_manager_bind_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.ActiveView.Container active_view, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Group group);
-
-
- public delegate void efl_ui_active_view_view_manager_bind_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.ActiveView.Container active_view, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Group group);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_active_view_view_manager_bind_api_delegate> efl_ui_active_view_view_manager_bind_ptr = new Efl.Eo.FunctionWrapper<efl_ui_active_view_view_manager_bind_api_delegate>(Module, "efl_ui_active_view_view_manager_bind");
-
- private static void bind(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ActiveView.Container active_view, Efl.Canvas.Group group)
- {
- Eina.Log.Debug("function efl_ui_active_view_view_manager_bind was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((ViewManager)ws.Target).Bind(active_view, group);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_active_view_view_manager_bind_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), active_view, group);
- }
- }
-
- private static efl_ui_active_view_view_manager_bind_delegate efl_ui_active_view_view_manager_bind_static_delegate;
-
-
- private delegate void efl_ui_active_view_view_manager_content_add_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, int index);
-
-
- public delegate void efl_ui_active_view_view_manager_content_add_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, int index);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_active_view_view_manager_content_add_api_delegate> efl_ui_active_view_view_manager_content_add_ptr = new Efl.Eo.FunctionWrapper<efl_ui_active_view_view_manager_content_add_api_delegate>(Module, "efl_ui_active_view_view_manager_content_add");
-
- private static void content_add(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, int index)
- {
- Eina.Log.Debug("function efl_ui_active_view_view_manager_content_add was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((ViewManager)ws.Target).AddContent(subobj, index);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_active_view_view_manager_content_add_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, index);
- }
- }
-
- private static efl_ui_active_view_view_manager_content_add_delegate efl_ui_active_view_view_manager_content_add_static_delegate;
-
-
- private delegate void efl_ui_active_view_view_manager_content_del_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, int index);
-
-
- public delegate void efl_ui_active_view_view_manager_content_del_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, int index);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_active_view_view_manager_content_del_api_delegate> efl_ui_active_view_view_manager_content_del_ptr = new Efl.Eo.FunctionWrapper<efl_ui_active_view_view_manager_content_del_api_delegate>(Module, "efl_ui_active_view_view_manager_content_del");
-
- private static void content_del(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, int index)
- {
- Eina.Log.Debug("function efl_ui_active_view_view_manager_content_del was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((ViewManager)ws.Target).DelContent(subobj, index);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_active_view_view_manager_content_del_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, index);
- }
- }
-
- private static efl_ui_active_view_view_manager_content_del_delegate efl_ui_active_view_view_manager_content_del_static_delegate;
-
-
- private delegate void efl_ui_active_view_view_manager_switch_to_delegate(System.IntPtr obj, System.IntPtr pd, int from, int to);
-
-
- public delegate void efl_ui_active_view_view_manager_switch_to_api_delegate(System.IntPtr obj, int from, int to);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_active_view_view_manager_switch_to_api_delegate> efl_ui_active_view_view_manager_switch_to_ptr = new Efl.Eo.FunctionWrapper<efl_ui_active_view_view_manager_switch_to_api_delegate>(Module, "efl_ui_active_view_view_manager_switch_to");
-
- private static void switch_to(System.IntPtr obj, System.IntPtr pd, int from, int to)
- {
- Eina.Log.Debug("function efl_ui_active_view_view_manager_switch_to was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((ViewManager)ws.Target).SwitchTo(from, to);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_active_view_view_manager_switch_to_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), from, to);
- }
- }
-
- private static efl_ui_active_view_view_manager_switch_to_delegate efl_ui_active_view_view_manager_switch_to_static_delegate;
-
- #pragma warning restore CA1707, CS1591, SA1300, SA1600
-
-}
-}
-}
-
-}
-
-}
-
+++ /dev/null
-#pragma warning disable CS1591
-using System;
-using System.Runtime.InteropServices;
-using System.Collections.Generic;
-using System.Linq;
-using System.Threading;
-using System.ComponentModel;
-namespace Efl {
-
-namespace Ui {
-
-namespace ActiveView {
-
-[Efl.Ui.ActiveView.ViewManagerScroll.NativeMethods]
-public class ViewManagerScroll : Efl.Ui.ActiveView.ViewManager
-{
- ///<summary>Pointer to the native class description.</summary>
- public override System.IntPtr NativeClass
- {
- get
- {
- if (((object)this).GetType() == typeof(ViewManagerScroll))
- {
- return GetEflClassStatic();
- }
- else
- {
- return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
- }
- }
- }
-
- [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
- efl_ui_active_view_view_manager_scroll_class_get();
- /// <summary>Initializes a new instance of the <see cref="ViewManagerScroll"/> class.</summary>
- /// <param name="parent">Parent instance.</param>
- public ViewManagerScroll(Efl.Object parent= null
- ) : base(efl_ui_active_view_view_manager_scroll_class_get(), typeof(ViewManagerScroll), parent)
- {
- FinishInstantiation();
- }
-
- /// <summary>Initializes a new instance of the <see cref="ViewManagerScroll"/> class.
- /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected ViewManagerScroll(System.IntPtr raw) : base(raw)
- {
- }
-
- /// <summary>Initializes a new instance of the <see cref="ViewManagerScroll"/> class.
- /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
- /// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
- /// <param name="parent">The Efl.Object parent of this instance.</param>
- protected ViewManagerScroll(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
- {
- }
-
- private static IntPtr GetEflClassStatic()
- {
- return Efl.Ui.ActiveView.ViewManagerScroll.efl_ui_active_view_view_manager_scroll_class_get();
- }
- /// <summary>Wrapper for native methods and virtual method delegates.
- /// For internal use by generated code only.</summary>
- public new class NativeMethods : Efl.Ui.ActiveView.ViewManager.NativeMethods
- {
- /// <summary>Gets the list of Eo operations to override.</summary>
- /// <returns>The list of Eo operations to be overload.</returns>
- public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
- {
- var descs = new System.Collections.Generic.List<Efl_Op_Description>();
- descs.AddRange(base.GetEoOps(type));
- return descs;
- }
- /// <summary>Returns the Eo class for the native methods of this class.</summary>
- /// <returns>The native class pointer.</returns>
- public override IntPtr GetEflClass()
- {
- return Efl.Ui.ActiveView.ViewManagerScroll.efl_ui_active_view_view_manager_scroll_class_get();
- }
-
- #pragma warning disable CA1707, CS1591, SA1300, SA1600
-
- #pragma warning restore CA1707, CS1591, SA1300, SA1600
-
-}
-}
-}
-
-}
-
-}
-
+++ /dev/null
-#pragma warning disable CS1591
-using System;
-using System.Runtime.InteropServices;
-using System.Collections.Generic;
-using System.Linq;
-using System.Threading;
-using System.ComponentModel;
-namespace Efl {
-
-namespace Ui {
-
-namespace ActiveView {
-
-[Efl.Ui.ActiveView.ViewManagerStack.NativeMethods]
-public class ViewManagerStack : Efl.Ui.ActiveView.ViewManager
-{
- ///<summary>Pointer to the native class description.</summary>
- public override System.IntPtr NativeClass
- {
- get
- {
- if (((object)this).GetType() == typeof(ViewManagerStack))
- {
- return GetEflClassStatic();
- }
- else
- {
- return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
- }
- }
- }
-
- [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
- efl_ui_active_view_view_manager_stack_class_get();
- /// <summary>Initializes a new instance of the <see cref="ViewManagerStack"/> class.</summary>
- /// <param name="parent">Parent instance.</param>
- public ViewManagerStack(Efl.Object parent= null
- ) : base(efl_ui_active_view_view_manager_stack_class_get(), typeof(ViewManagerStack), parent)
- {
- FinishInstantiation();
- }
-
- /// <summary>Initializes a new instance of the <see cref="ViewManagerStack"/> class.
- /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected ViewManagerStack(System.IntPtr raw) : base(raw)
- {
- }
-
- /// <summary>Initializes a new instance of the <see cref="ViewManagerStack"/> class.
- /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
- /// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
- /// <param name="parent">The Efl.Object parent of this instance.</param>
- protected ViewManagerStack(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
- {
- }
-
- private static IntPtr GetEflClassStatic()
- {
- return Efl.Ui.ActiveView.ViewManagerStack.efl_ui_active_view_view_manager_stack_class_get();
- }
- /// <summary>Wrapper for native methods and virtual method delegates.
- /// For internal use by generated code only.</summary>
- public new class NativeMethods : Efl.Ui.ActiveView.ViewManager.NativeMethods
- {
- /// <summary>Gets the list of Eo operations to override.</summary>
- /// <returns>The list of Eo operations to be overload.</returns>
- public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
- {
- var descs = new System.Collections.Generic.List<Efl_Op_Description>();
- descs.AddRange(base.GetEoOps(type));
- return descs;
- }
- /// <summary>Returns the Eo class for the native methods of this class.</summary>
- /// <returns>The native class pointer.</returns>
- public override IntPtr GetEflClass()
- {
- return Efl.Ui.ActiveView.ViewManagerStack.efl_ui_active_view_view_manager_stack_class_get();
- }
-
- #pragma warning disable CA1707, CS1591, SA1300, SA1600
-
- #pragma warning restore CA1707, CS1591, SA1300, SA1600
-
-}
-}
-}
-
-}
-
-}
-
namespace Ui {
///<summary>Event argument wrapper for event <see cref="Efl.Ui.AlertPopup.ButtonClickedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class AlertPopupButtonClickedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Ui.AlertPopupButtonClickedEvent arg { get; set; }
}
/// <summary>EFL UI Alert Popup class</summary>
[Efl.Ui.AlertPopup.NativeMethods]
+[Efl.Eo.BindingEntity]
public class AlertPopup : Efl.Ui.Popup
{
///<summary>Pointer to the native class description.</summary>
efl_ui_alert_popup_class_get();
/// <summary>Initializes a new instance of the <see cref="AlertPopup"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public AlertPopup(Efl.Object parent
- , System.String style = null) : base(efl_ui_alert_popup_class_get(), typeof(AlertPopup), parent)
+ , System.String style = null) : base(efl_ui_alert_popup_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected AlertPopup(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="AlertPopup"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected AlertPopup(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected AlertPopup(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="AlertPopup"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected AlertPopup(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected AlertPopup(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_ALERT_POPUP_EVENT_BUTTON_CLICKED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// <param name="text">Alert string on button</param>
/// <param name="icon">Alert icon on button</param>
virtual public void SetButton(Efl.Ui.AlertPopupButton type, System.String text, Efl.Object icon) {
- Efl.Ui.AlertPopup.NativeMethods.efl_ui_alert_popup_button_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),type, text, icon);
+ Efl.Ui.AlertPopup.NativeMethods.efl_ui_alert_popup_button_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),type, text, icon);
Eina.Error.RaiseIfUnhandledException();
}
private static IntPtr GetEflClassStatic()
namespace Ui {
/// <summary>Defines the type of the alert button.</summary>
+[Efl.Eo.BindingEntity]
public enum AlertPopupButton
{
/// <summary>Button having positive meaning. e.g. "Yes"</summary>
/// <summary>Information of clicked event</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct AlertPopupButtonClickedEvent
{
/// <summary>Clicked button type</summary>
/// <summary>Efl UI Alert Popup internal part class</summary>
[Efl.Ui.AlertPopupPart.NativeMethods]
+[Efl.Eo.BindingEntity]
public class AlertPopupPart : Efl.Ui.LayoutPartText
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="AlertPopupPart"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public AlertPopupPart(Efl.Object parent= null
- ) : base(efl_ui_alert_popup_part_class_get(), typeof(AlertPopupPart), parent)
+ ) : base(efl_ui_alert_popup_part_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected AlertPopupPart(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="AlertPopupPart"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected AlertPopupPart(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected AlertPopupPart(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="AlertPopupPart"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected AlertPopupPart(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected AlertPopupPart(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>EFL UI Anchor Popup class</summary>
[Efl.Ui.AnchorPopup.NativeMethods]
+[Efl.Eo.BindingEntity]
public class AnchorPopup : Efl.Ui.Popup
{
///<summary>Pointer to the native class description.</summary>
efl_ui_anchor_popup_class_get();
/// <summary>Initializes a new instance of the <see cref="AnchorPopup"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public AnchorPopup(Efl.Object parent
- , System.String style = null) : base(efl_ui_anchor_popup_class_get(), typeof(AnchorPopup), parent)
+ , System.String style = null) : base(efl_ui_anchor_popup_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected AnchorPopup(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="AnchorPopup"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected AnchorPopup(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected AnchorPopup(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="AnchorPopup"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected AnchorPopup(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected AnchorPopup(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>Returns the anchor object which the popup is following.</summary>
/// <returns>The object which popup is following.</returns>
virtual public Efl.Canvas.Object GetAnchor() {
- var _ret_var = Efl.Ui.AnchorPopup.NativeMethods.efl_ui_anchor_popup_anchor_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.AnchorPopup.NativeMethods.efl_ui_anchor_popup_anchor_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Set anchor popup to follow an anchor object. If anchor object is moved or parent window is resized, the anchor popup moves to the new position. If anchor object is set to NULL, the anchor popup stops following the anchor object. When the popup is moved by using gfx_position_set, anchor is set NULL.</summary>
/// <param name="anchor">The object which popup is following.</param>
virtual public void SetAnchor(Efl.Canvas.Object anchor) {
- Efl.Ui.AnchorPopup.NativeMethods.efl_ui_anchor_popup_anchor_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),anchor);
+ Efl.Ui.AnchorPopup.NativeMethods.efl_ui_anchor_popup_anchor_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),anchor);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the align priority of a popup.</summary>
/// <param name="fourth">Fourth align priority</param>
/// <param name="fifth">Fifth align priority</param>
virtual public void GetAlignPriority(out Efl.Ui.PopupAlign first, out Efl.Ui.PopupAlign second, out Efl.Ui.PopupAlign third, out Efl.Ui.PopupAlign fourth, out Efl.Ui.PopupAlign fifth) {
- Efl.Ui.AnchorPopup.NativeMethods.efl_ui_anchor_popup_align_priority_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out first, out second, out third, out fourth, out fifth);
+ Efl.Ui.AnchorPopup.NativeMethods.efl_ui_anchor_popup_align_priority_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out first, out second, out third, out fourth, out fifth);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the align priority of a popup.</summary>
/// <param name="fourth">Fourth align priority</param>
/// <param name="fifth">Fifth align priority</param>
virtual public void SetAlignPriority(Efl.Ui.PopupAlign first, Efl.Ui.PopupAlign second, Efl.Ui.PopupAlign third, Efl.Ui.PopupAlign fourth, Efl.Ui.PopupAlign fifth) {
- Efl.Ui.AnchorPopup.NativeMethods.efl_ui_anchor_popup_align_priority_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),first, second, third, fourth, fifth);
+ Efl.Ui.AnchorPopup.NativeMethods.efl_ui_anchor_popup_align_priority_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),first, second, third, fourth, fifth);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Returns the anchor object which the popup is following.</summary>
/// <summary>Interface for autorepeating clicks.
/// This interface abstracts functions for enabling / disabling this feature. When enabled, keeping a button pressed will continuously emit the <c>repeated</c> event until the button is released. The time it takes until it starts emitting the event is given by <see cref="Efl.Ui.IAutorepeat.AutorepeatInitialTimeout"/>, and the time between each new emission by <see cref="Efl.Ui.IAutorepeat.AutorepeatGapTimeout"/>.</summary>
[Efl.Ui.IAutorepeatConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IAutorepeat :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IAutorepeatConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_ui_autorepeat_interface_get();
/// <summary>Initializes a new instance of the <see cref="IAutorepeat"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IAutorepeatConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IAutorepeatConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_AUTOREPEAT_EVENT_REPEATED";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>The bg (background) widget is used for setting (solid) background decorations for a window (unless it has transparency enabled) or for 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>
[Efl.Ui.Bg.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Bg : Efl.Ui.LayoutBase, Efl.IFile, Efl.Gfx.IImage, Efl.Gfx.IImageLoadController
{
///<summary>Pointer to the native class description.</summary>
efl_ui_bg_class_get();
/// <summary>Initializes a new instance of the <see cref="Bg"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public Bg(Efl.Object parent
- , System.String style = null) : base(efl_ui_bg_class_get(), typeof(Bg), parent)
+ , System.String style = null) : base(efl_ui_bg_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Bg(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Bg"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Bg(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Bg(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Bg"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Bg(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Bg(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_PRELOAD";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_RESIZE";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_UNLOAD";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_IMAGE_LOAD_CONTROLLER_EVENT_LOAD_DONE";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_IMAGE_LOAD_CONTROLLER_EVENT_LOAD_ERROR";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// (Since EFL 1.22)</summary>
/// <returns>The handle to the <see cref="Eina.File"/> that will be used</returns>
virtual public Eina.File GetMmap() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="f">The handle to the <see cref="Eina.File"/> that will be used</param>
/// <returns>0 on success, error code otherwise</returns>
virtual public Eina.Error SetMmap(Eina.File f) {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),f);
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),f);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The file path.</returns>
virtual public System.String GetFile() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="file">The file path.</param>
/// <returns>0 on success, error code otherwise</returns>
virtual public Eina.Error SetFile(System.String file) {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),file);
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),file);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The group that the data belongs to. See the class documentation for particular implementations of this interface to see how this property is used.</returns>
virtual public System.String GetKey() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_key_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_key_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="key">The group that the data belongs to. See the class documentation for particular implementations of this interface to see how this property is used.</param>
virtual public void SetKey(System.String key) {
- Efl.IFileConcrete.NativeMethods.efl_file_key_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),key);
+ Efl.IFileConcrete.NativeMethods.efl_file_key_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),key);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the load state of the object.
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if the object is loaded, <c>false</c> otherwise.</returns>
virtual public bool GetLoaded() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_loaded_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_loaded_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>0 on success, error code otherwise</returns>
virtual public Eina.Error Load() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_load_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_load_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Calling <see cref="Efl.IFile.Unload"/> on an object which is not currently loaded will have no effect.
/// (Since EFL 1.22)</summary>
virtual public void Unload() {
- Efl.IFileConcrete.NativeMethods.efl_file_unload_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.IFileConcrete.NativeMethods.efl_file_unload_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Whether to use high-quality image scaling algorithm for this image.
/// <c>true</c> by default</summary>
/// <returns>Whether to use smooth scale or not.</returns>
virtual public bool GetSmoothScale() {
- var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_smooth_scale_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_smooth_scale_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <c>true</c> by default</summary>
/// <param name="smooth_scale">Whether to use smooth scale or not.</param>
virtual public void SetSmoothScale(bool smooth_scale) {
- Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_smooth_scale_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),smooth_scale);
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_smooth_scale_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),smooth_scale);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control how the image is scaled.</summary>
/// <returns>Image scale type</returns>
virtual public Efl.Gfx.ImageScaleType GetScaleType() {
- var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_scale_type_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_scale_type_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Control how the image is scaled.</summary>
/// <param name="scale_type">Image scale type</param>
virtual public void SetScaleType(Efl.Gfx.ImageScaleType scale_type) {
- Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_scale_type_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),scale_type);
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_scale_type_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),scale_type);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Returns 1.0 if not applicable (eg. height = 0).</summary>
/// <returns>The image's ratio.</returns>
virtual public double GetRatio() {
- var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_ratio_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_ratio_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Return the relative area enclosed inside the image where content is expected.
+ /// We do expect content to be inside the limit defined by the border or inside the stretch region. If a stretch region is provided, the content region will encompass the non strechable area that are surrounded by stretchable area. If no border and no stretch region is set, they are assumed to be zero and the full object geometry is where content can be layout on top. The area size change with the object size.
+ ///
+ /// The geometry of the area is expressed relative to the geometry of the object.</summary>
+ /// <returns>A rectangle inside the object boundary that where content is expected.</returns>
+ virtual public Eina.Rect GetContentRegion() {
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_content_region_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="t">The border's top height.</param>
/// <param name="b">The border's bottom height.</param>
virtual public void GetBorder(out int l, out int r, out int t, out int b) {
- Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out l, out r, out t, out b);
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out l, out r, out t, out b);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Dimensions of this image's border, a region that does not scale with the center area.
/// <param name="t">The border's top height.</param>
/// <param name="b">The border's bottom height.</param>
virtual public void SetBorder(int l, int r, int t, int b) {
- Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),l, r, t, b);
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),l, r, t, b);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Scaling factor applied to the image borders.
/// Default value is 1.0 (no scaling).</summary>
/// <returns>The scale factor.</returns>
virtual public double GetBorderScale() {
- var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_scale_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_scale_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Default value is 1.0 (no scaling).</summary>
/// <param name="scale">The scale factor.</param>
virtual public void SetBorderScale(double scale) {
- Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_scale_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),scale);
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_scale_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),scale);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Specifies how the center part of the object (not the borders) should be drawn when EFL is rendering it.
/// The default value is <see cref="Efl.Gfx.BorderFillMode.Default"/>, ie. render and scale the center area, respecting its transparency.</summary>
/// <returns>Fill mode of the center region.</returns>
virtual public Efl.Gfx.BorderFillMode GetBorderCenterFill() {
- var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_center_fill_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_center_fill_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// The default value is <see cref="Efl.Gfx.BorderFillMode.Default"/>, ie. render and scale the center area, respecting its transparency.</summary>
/// <param name="fill">Fill mode of the center region.</param>
virtual public void SetBorderCenterFill(Efl.Gfx.BorderFillMode fill) {
- Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_center_fill_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),fill);
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_center_fill_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),fill);
Eina.Error.RaiseIfUnhandledException();
}
+ /// <summary>This property defines the stretchable pixels region of an image.
+ /// When the regions are set by the user, the method will walk the iterators once and then destroy them. When the regions are retrieved by the user, it is his responsibility to destroy the iterators.. It will remember the information for the lifetime of the object. It will ignore all value of <see cref="Efl.Gfx.IImage.GetBorder"/>, <see cref="Efl.Gfx.IImage.BorderScale"/> and <see cref="Efl.Gfx.IImage.BorderCenterFill"/> . To reset the object you can just pass <c>null</c> to both horizontal and vertical at the same time.</summary>
+ /// <param name="horizontal">Representation of area that are stretchable in the image horizontal space.</param>
+ /// <param name="vertical">Representation of area that are stretchable in the image vertical space.</param>
+ virtual public void GetStretchRegion(out Eina.Iterator<Efl.Gfx.Image.StretchRegion> horizontal, out Eina.Iterator<Efl.Gfx.Image.StretchRegion> vertical) {
+ System.IntPtr _out_horizontal = System.IntPtr.Zero;
+ System.IntPtr _out_vertical = System.IntPtr.Zero;
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_stretch_region_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out _out_horizontal, out _out_vertical);
+ Eina.Error.RaiseIfUnhandledException();
+ horizontal = new Eina.Iterator<Efl.Gfx.Image.StretchRegion>(_out_horizontal, false);
+ vertical = new Eina.Iterator<Efl.Gfx.Image.StretchRegion>(_out_vertical, false);
+ }
+ /// <summary>This property defines the stretchable pixels region of an image.
+ /// When the regions are set by the user, the method will walk the iterators once and then destroy them. When the regions are retrieved by the user, it is his responsibility to destroy the iterators.. It will remember the information for the lifetime of the object. It will ignore all value of <see cref="Efl.Gfx.IImage.GetBorder"/>, <see cref="Efl.Gfx.IImage.BorderScale"/> and <see cref="Efl.Gfx.IImage.BorderCenterFill"/> . To reset the object you can just pass <c>null</c> to both horizontal and vertical at the same time.</summary>
+ /// <param name="horizontal">Representation of area that are stretchable in the image horizontal space.</param>
+ /// <param name="vertical">Representation of area that are stretchable in the image vertical space.</param>
+ /// <returns>return an error code if the stretch_region provided are incorrect.</returns>
+ virtual public Eina.Error SetStretchRegion(Eina.Iterator<Efl.Gfx.Image.StretchRegion> horizontal, Eina.Iterator<Efl.Gfx.Image.StretchRegion> vertical) {
+ var _in_horizontal = horizontal.Handle;
+ var _in_vertical = vertical.Handle;
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_stretch_region_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_horizontal, _in_vertical);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
/// <summary>This represents the size of the original image in pixels.
/// This may be different from the actual geometry on screen or even the size of the loaded pixel buffer. This is the size of the image as stored in the original file.
///
/// This is a read-only property, and may return 0x0.</summary>
/// <returns>The size in pixels.</returns>
virtual public Eina.Size2D GetImageSize() {
- var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This returns #EVAS_IMAGE_CONTENT_HINT_NONE on error.</summary>
/// <returns>Dynamic or static content hint, see <see cref="Efl.Gfx.ImageContentHint"/></returns>
virtual public Efl.Gfx.ImageContentHint GetContentHint() {
- var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_content_hint_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_content_hint_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This function sets the content hint value of the given image of the canvas. For example, if you're on the GL engine and your driver implementation supports it, setting this hint to #EVAS_IMAGE_CONTENT_HINT_DYNAMIC will make it need zero copies at texture upload time, which is an "expensive" operation.</summary>
/// <param name="hint">Dynamic or static content hint, see <see cref="Efl.Gfx.ImageContentHint"/></param>
virtual public void SetContentHint(Efl.Gfx.ImageContentHint hint) {
- Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_content_hint_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),hint);
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_content_hint_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),hint);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the scale hint of a given image of the canvas.
/// This function returns the scale hint value of the given image object of the canvas.</summary>
/// <returns>Scalable or static size hint, see <see cref="Efl.Gfx.ImageScaleHint"/></returns>
virtual public Efl.Gfx.ImageScaleHint GetScaleHint() {
- var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_scale_hint_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_scale_hint_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This function sets the scale hint value of the given image object in the canvas, which will affect how Evas is to cache scaled versions of its original source image.</summary>
/// <param name="hint">Scalable or static size hint, see <see cref="Efl.Gfx.ImageScaleHint"/></param>
virtual public void SetScaleHint(Efl.Gfx.ImageScaleHint hint) {
- Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_scale_hint_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),hint);
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_scale_hint_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),hint);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gets the (last) file loading error for a given object.</summary>
/// <returns>The load error code.</returns>
virtual public Eina.Error GetImageLoadError() {
- var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_load_error_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_load_error_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Returns the requested load size.</summary>
/// <returns>The image load size.</returns>
virtual public Eina.Size2D GetLoadSize() {
- var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="size">The image load size.</param>
virtual public void SetLoadSize(Eina.Size2D size) {
Eina.Size2D.NativeStruct _in_size = size;
- Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_size_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_size);
+ Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_size_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_size);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the DPI resolution of a loaded image object in the canvas.
/// This function returns the DPI resolution of the given canvas image.</summary>
/// <returns>The DPI resolution.</returns>
virtual public double GetLoadDpi() {
- var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_dpi_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_dpi_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This function sets the DPI resolution of a given loaded canvas image. Most useful for the SVG image loader.</summary>
/// <param name="dpi">The DPI resolution.</param>
virtual public void SetLoadDpi(double dpi) {
- Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_dpi_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dpi);
+ Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_dpi_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dpi);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Indicates whether the <see cref="Efl.Gfx.IImageLoadController.LoadRegion"/> property is supported for the current file.</summary>
/// <returns><c>true</c> if region load of the image is supported, <c>false</c> otherwise</returns>
virtual public bool GetLoadRegionSupport() {
- var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_region_support_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_region_support_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Retrieve the coordinates of a given image object's selective (source image) load region.</summary>
/// <returns>A region of the image.</returns>
virtual public Eina.Rect GetLoadRegion() {
- var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_region_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_region_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="region">A region of the image.</param>
virtual public void SetLoadRegion(Eina.Rect region) {
Eina.Rect.NativeStruct _in_region = region;
- Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_region_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_region);
+ Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_region_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_region);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Defines whether the orientation information in the image file should be honored.
/// The orientation can for instance be set in the EXIF tags of a JPEG image. If this flag is <c>false</c>, then the orientation will be ignored at load time, otherwise the image will be loaded with the proper orientation.</summary>
/// <returns><c>true</c> means that it should honor the orientation information.</returns>
virtual public bool GetLoadOrientation() {
- var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_orientation_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_orientation_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// The orientation can for instance be set in the EXIF tags of a JPEG image. If this flag is <c>false</c>, then the orientation will be ignored at load time, otherwise the image will be loaded with the proper orientation.</summary>
/// <param name="enable"><c>true</c> means that it should honor the orientation information.</param>
virtual public void SetLoadOrientation(bool enable) {
- Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_orientation_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),enable);
+ Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_orientation_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),enable);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The scale down factor is a divider on the original image size.
/// Powers of two (2, 4, 8) are best supported (especially with JPEG)</summary>
/// <returns>The scale down dividing factor.</returns>
virtual public int GetLoadScaleDown() {
- var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_scale_down_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_scale_down_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Requests the image loader to scale down by <c>div</c> times. Call this before starting the actual image load.</summary>
/// <param name="div">The scale down dividing factor.</param>
virtual public void SetLoadScaleDown(int div) {
- Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_scale_down_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),div);
+ Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_scale_down_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),div);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Initial load should skip header check and leave it all to data load
/// If this is true, then future loads of images will defer header loading to a preload stage and/or data load later on rather than at the start when the load begins (e.g. when file is set).</summary>
/// <returns>Will be true if header is to be skipped.</returns>
virtual public bool GetLoadSkipHeader() {
- var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_skip_header_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_skip_header_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Set the skip header state for susbsequent loads of a file.</summary>
/// <param name="skip">Will be true if header is to be skipped.</param>
virtual public void SetLoadSkipHeader(bool skip) {
- Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_skip_header_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),skip);
+ Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_skip_header_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),skip);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Begin preloading an image object's image data in the background.
/// Once the background task is complete the event <c>load</c>,done will be emitted.</summary>
virtual public void LoadAsyncStart() {
- Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_async_start_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_async_start_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Cancel preloading an image object's image data in the background.
/// The object should be left in a state where it has no image data. If cancel is called too late, the image will be kept in memory.</summary>
virtual public void LoadAsyncCancel() {
- Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_async_cancel_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_async_cancel_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the mmaped file from where an object will fetch the real data (it must be an <see cref="Eina.File"/>).
public double Ratio {
get { return GetRatio(); }
}
+ /// <summary>Return the relative area enclosed inside the image where content is expected.
+ /// We do expect content to be inside the limit defined by the border or inside the stretch region. If a stretch region is provided, the content region will encompass the non strechable area that are surrounded by stretchable area. If no border and no stretch region is set, they are assumed to be zero and the full object geometry is where content can be layout on top. The area size change with the object size.
+ ///
+ /// The geometry of the area is expressed relative to the geometry of the object.</summary>
+ /// <value>A rectangle inside the object boundary that where content is expected.</value>
+ public Eina.Rect ContentRegion {
+ get { return GetContentRegion(); }
+ }
/// <summary>Scaling factor applied to the image borders.
/// This value multiplies the size of the <see cref="Efl.Gfx.IImage.GetBorder"/> when scaling an object.
///
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_ratio_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_ratio_get_static_delegate) });
}
+ if (efl_gfx_image_content_region_get_static_delegate == null)
+ {
+ efl_gfx_image_content_region_get_static_delegate = new efl_gfx_image_content_region_get_delegate(content_region_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetContentRegion") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_content_region_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_content_region_get_static_delegate) });
+ }
+
if (efl_gfx_image_border_get_static_delegate == null)
{
efl_gfx_image_border_get_static_delegate = new efl_gfx_image_border_get_delegate(border_get);
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_border_center_fill_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_border_center_fill_set_static_delegate) });
}
+ if (efl_gfx_image_stretch_region_get_static_delegate == null)
+ {
+ efl_gfx_image_stretch_region_get_static_delegate = new efl_gfx_image_stretch_region_get_delegate(stretch_region_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetStretchRegion") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_stretch_region_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_stretch_region_get_static_delegate) });
+ }
+
+ if (efl_gfx_image_stretch_region_set_static_delegate == null)
+ {
+ efl_gfx_image_stretch_region_set_static_delegate = new efl_gfx_image_stretch_region_set_delegate(stretch_region_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetStretchRegion") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_stretch_region_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_stretch_region_set_static_delegate) });
+ }
+
if (efl_gfx_image_size_get_static_delegate == null)
{
efl_gfx_image_size_get_static_delegate = new efl_gfx_image_size_get_delegate(image_size_get);
private static efl_gfx_image_ratio_get_delegate efl_gfx_image_ratio_get_static_delegate;
+ private delegate Eina.Rect.NativeStruct efl_gfx_image_content_region_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate Eina.Rect.NativeStruct efl_gfx_image_content_region_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_content_region_get_api_delegate> efl_gfx_image_content_region_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_content_region_get_api_delegate>(Module, "efl_gfx_image_content_region_get");
+
+ private static Eina.Rect.NativeStruct content_region_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_gfx_image_content_region_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Rect _ret_var = default(Eina.Rect);
+ try
+ {
+ _ret_var = ((Bg)ws.Target).GetContentRegion();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_gfx_image_content_region_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_gfx_image_content_region_get_delegate efl_gfx_image_content_region_get_static_delegate;
+
+
private delegate void efl_gfx_image_border_get_delegate(System.IntPtr obj, System.IntPtr pd, out int l, out int r, out int t, out int b);
private static efl_gfx_image_border_center_fill_set_delegate efl_gfx_image_border_center_fill_set_static_delegate;
+ private delegate void efl_gfx_image_stretch_region_get_delegate(System.IntPtr obj, System.IntPtr pd, out System.IntPtr horizontal, out System.IntPtr vertical);
+
+
+ public delegate void efl_gfx_image_stretch_region_get_api_delegate(System.IntPtr obj, out System.IntPtr horizontal, out System.IntPtr vertical);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_stretch_region_get_api_delegate> efl_gfx_image_stretch_region_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_stretch_region_get_api_delegate>(Module, "efl_gfx_image_stretch_region_get");
+
+ private static void stretch_region_get(System.IntPtr obj, System.IntPtr pd, out System.IntPtr horizontal, out System.IntPtr vertical)
+ {
+ Eina.Log.Debug("function efl_gfx_image_stretch_region_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Iterator<Efl.Gfx.Image.StretchRegion> _out_horizontal = default(Eina.Iterator<Efl.Gfx.Image.StretchRegion>);
+ Eina.Iterator<Efl.Gfx.Image.StretchRegion> _out_vertical = default(Eina.Iterator<Efl.Gfx.Image.StretchRegion>);
+
+ try
+ {
+ ((Bg)ws.Target).GetStretchRegion(out _out_horizontal, out _out_vertical);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ horizontal = _out_horizontal.Handle;
+ vertical = _out_vertical.Handle;
+
+ }
+ else
+ {
+ efl_gfx_image_stretch_region_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out horizontal, out vertical);
+ }
+ }
+
+ private static efl_gfx_image_stretch_region_get_delegate efl_gfx_image_stretch_region_get_static_delegate;
+
+
+ private delegate Eina.Error efl_gfx_image_stretch_region_set_delegate(System.IntPtr obj, System.IntPtr pd, System.IntPtr horizontal, System.IntPtr vertical);
+
+
+ public delegate Eina.Error efl_gfx_image_stretch_region_set_api_delegate(System.IntPtr obj, System.IntPtr horizontal, System.IntPtr vertical);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_stretch_region_set_api_delegate> efl_gfx_image_stretch_region_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_stretch_region_set_api_delegate>(Module, "efl_gfx_image_stretch_region_set");
+
+ private static Eina.Error stretch_region_set(System.IntPtr obj, System.IntPtr pd, System.IntPtr horizontal, System.IntPtr vertical)
+ {
+ Eina.Log.Debug("function efl_gfx_image_stretch_region_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ var _in_horizontal = new Eina.Iterator<Efl.Gfx.Image.StretchRegion>(horizontal, false);
+ var _in_vertical = new Eina.Iterator<Efl.Gfx.Image.StretchRegion>(vertical, false);
+ Eina.Error _ret_var = default(Eina.Error);
+ try
+ {
+ _ret_var = ((Bg)ws.Target).SetStretchRegion(_in_horizontal, _in_vertical);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_gfx_image_stretch_region_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), horizontal, vertical);
+ }
+ }
+
+ private static efl_gfx_image_stretch_region_set_delegate efl_gfx_image_stretch_region_set_static_delegate;
+
+
private delegate Eina.Size2D.NativeStruct efl_gfx_image_size_get_delegate(System.IntPtr obj, System.IntPtr pd);
namespace Ui {
-/// <summary>The box widget.
-/// A box arranges objects in a linear fashion, governed by a layout function that defines the details of this arrangement.
+/// <summary>A container that arranges children widgets in a vertical or horizontal fashion.
+/// The Box widget is the most basic (and the most used) of the container widgets. Other widgets are added to the Box through the <see cref="Efl.IPackLinear"/> interface, and the layout direction (either vertical or horizontal) is controlled through the <see cref="Efl.Ui.ILayoutOrientable.Orientation"/> property.
///
-/// By default, the box will use an internal function to set the layout to a single row, either vertical or horizontal. This layout is affected by a number of parameters. The values given by <see cref="Efl.Gfx.IArrangement.GetContentPadding"/> and <see cref="Efl.Gfx.IArrangement.GetContentAlign"/> and the hints set to each object in the box.
+/// The Box widget itself is invisible, as are most container widgets: Their purpose is to handle the position and size of all their children so you don't have to.
///
-/// FIXME: THIS CLASS NEEDS GOOD UP TO DATE DOCUMENTATION. LEGACY BOX AND UI BOX BEHAVE SLIGHTLY DIFFERENTLY AND USE VASTLY DIFFERENT APIS.</summary>
+/// All widgets inside a vertical Box container will have the same width as the container, and their heights will be automatically chosen so that they cover the whole surface of the container from top to bottom (Imagine a stack of pizza boxes neatly fitting inside your oven). The <see cref="Efl.Ui.Box.Homogeneous"/> property then controls whether all widgets have the same height (homogeneous) or not.
+///
+/// A horizontal Box container example would be the button toolbar at the top of most word processing programs.
+///
+/// Precise layout can be further customized through the <see cref="Efl.Gfx.IArrangement"/> interface on the Box itself, or through the <see cref="Efl.Gfx.IHint"/> interface on each of the children widgets.</summary>
[Efl.Ui.Box.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Box : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPackLayout, Efl.IPackLinear, Efl.Gfx.IArrangement, Efl.Ui.ILayoutOrientable
{
///<summary>Pointer to the native class description.</summary>
efl_ui_box_class_get();
/// <summary>Initializes a new instance of the <see cref="Box"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public Box(Efl.Object parent
- , System.String style = null) : base(efl_ui_box_class_get(), typeof(Box), parent)
+ , System.String style = null) : base(efl_ui_box_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Box(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Box"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Box(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Box(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Box"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Box(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Box(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_PACK_EVENT_LAYOUT_UPDATED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Control homogeneous mode.
- /// This will enable the homogeneous mode where children are of the same weight and of the same min size which is determined by maximum min size of children.</summary>
- /// <returns><c>true</c> if the box is homogeneous, <c>false</c> otherwise</returns>
+ /// <summary>In homogeneous mode all children of a vertical Box have the same height, equal to the height of the tallest widget. Children of a horizontal Box have the same width, equal to the width of the widest widget. Otherwise, individual widget sizes are not modified.</summary>
+ /// <returns><c>true</c> if the Box is homogeneous, <c>false</c> otherwise.</returns>
virtual public bool GetHomogeneous() {
- var _ret_var = Efl.Ui.Box.NativeMethods.efl_ui_box_homogeneous_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Box.NativeMethods.efl_ui_box_homogeneous_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
- /// <summary>Control homogeneous mode.
- /// This will enable the homogeneous mode where children are of the same weight and of the same min size which is determined by maximum min size of children.</summary>
- /// <param name="homogeneous"><c>true</c> if the box is homogeneous, <c>false</c> otherwise</param>
+ /// <summary>In homogeneous mode all children of a vertical Box have the same height, equal to the height of the tallest widget. Children of a horizontal Box have the same width, equal to the width of the widest widget. Otherwise, individual widget sizes are not modified.</summary>
+ /// <param name="homogeneous"><c>true</c> if the Box is homogeneous, <c>false</c> otherwise.</param>
virtual public void SetHomogeneous(bool homogeneous) {
- Efl.Ui.Box.NativeMethods.efl_ui_box_homogeneous_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),homogeneous);
+ Efl.Ui.Box.NativeMethods.efl_ui_box_homogeneous_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),homogeneous);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Begin iterating over this object's contents.
/// (Since EFL 1.22)</summary>
/// <returns>Iterator on object's content.</returns>
virtual public Eina.Iterator<Efl.Gfx.IEntity> ContentIterate() {
- var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_iterate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_iterate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true, false);
+ return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true);
}
/// <summary>Returns the number of contained sub-objects.
/// (Since EFL 1.22)</summary>
/// <returns>Number of sub-objects.</returns>
virtual public int ContentCount() {
- var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_count_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_count_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Removes all packed sub-objects and unreferences them.</summary>
/// <returns><c>true</c> on success, <c>false</c> otherwise.</returns>
virtual public bool ClearPack() {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_clear_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_clear_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Use with caution.</summary>
/// <returns><c>true</c> on success, <c>false</c> otherwise.</returns>
virtual public bool UnpackAll() {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_all_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_all_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="subobj">The sub-object to unpack.</param>
/// <returns><c>false</c> if <c>subobj</c> wasn't in the container or couldn't be removed.</returns>
virtual public bool Unpack(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="subobj">The object to pack.</param>
/// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
virtual public bool Pack(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Requests EFL to call the <see cref="Efl.IPackLayout.UpdateLayout"/> method on this object.
/// This <see cref="Efl.IPackLayout.UpdateLayout"/> may be called asynchronously.</summary>
virtual public void LayoutRequest() {
- Efl.IPackLayoutConcrete.NativeMethods.efl_pack_layout_request_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.IPackLayoutConcrete.NativeMethods.efl_pack_layout_request_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Implementation of this container's layout algorithm.
///
/// This can be overriden to implement custom layout behaviors.</summary>
virtual public void UpdateLayout() {
- Efl.IPackLayoutConcrete.NativeMethods.efl_pack_layout_update_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.IPackLayoutConcrete.NativeMethods.efl_pack_layout_update_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Prepend an object at the beginning of this container.
/// <param name="subobj">Object to pack at the beginning.</param>
/// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
virtual public bool PackBegin(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_begin_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_begin_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="subobj">Object to pack at the end.</param>
/// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
virtual public bool PackEnd(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_end_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_end_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="existing">Existing reference sub-object.</param>
/// <returns><c>false</c> if <c>existing</c> could not be found or <c>subobj</c> could not be packed.</returns>
virtual public bool PackBefore(Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_before_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj, existing);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_before_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, existing);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="existing">Existing reference sub-object.</param>
/// <returns><c>false</c> if <c>existing</c> could not be found or <c>subobj</c> could not be packed.</returns>
virtual public bool PackAfter(Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_after_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj, existing);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_after_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, existing);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="index">Index of existing sub-object to insert BEFORE. Valid range is -<c>count</c> to (<c>count</c>-1).</param>
/// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
virtual public bool PackAt(Efl.Gfx.IEntity subobj, int index) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_at_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj, index);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_at_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, index);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="index">Index of the existing sub-object to retrieve. Valid range is -<c>count</c> to (<c>count</c>-1).</param>
/// <returns>The sub-object contained at the given <c>index</c>.</returns>
virtual public Efl.Gfx.IEntity GetPackContent(int index) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),index);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),index);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="subobj">An existing sub-object in this container.</param>
/// <returns>-1 in case <c>subobj</c> is not found, or the index of <c>subobj</c> in the range 0 to (<c>count</c>-1).</returns>
virtual public int GetPackIndex(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_index_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_index_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="index">Index of the sub-object to remove. Valid range is -<c>count</c> to (<c>count</c>-1).</param>
/// <returns>The sub-object if it could be removed.</returns>
virtual public Efl.Gfx.IEntity PackUnpackAt(int index) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_unpack_at_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),index);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_unpack_at_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),index);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="align_horiz">Horizontal alignment</param>
/// <param name="align_vert">Vertical alignment</param>
virtual public void GetContentAlign(out double align_horiz, out double align_vert) {
- Efl.Gfx.IArrangementConcrete.NativeMethods.efl_gfx_arrangement_content_align_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out align_horiz, out align_vert);
+ Efl.Gfx.IArrangementConcrete.NativeMethods.efl_gfx_arrangement_content_align_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out align_horiz, out align_vert);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Alignment of the container within its bounds</summary>
/// <param name="align_horiz">Horizontal alignment</param>
/// <param name="align_vert">Vertical alignment</param>
virtual public void SetContentAlign(double align_horiz, double align_vert) {
- Efl.Gfx.IArrangementConcrete.NativeMethods.efl_gfx_arrangement_content_align_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),align_horiz, align_vert);
+ Efl.Gfx.IArrangementConcrete.NativeMethods.efl_gfx_arrangement_content_align_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),align_horiz, align_vert);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Padding between items contained in this object.</summary>
/// <param name="pad_vert">Vertical padding</param>
/// <param name="scalable"><c>true</c> if scalable, <c>false</c> otherwise</param>
virtual public void GetContentPadding(out double pad_horiz, out double pad_vert, out bool scalable) {
- Efl.Gfx.IArrangementConcrete.NativeMethods.efl_gfx_arrangement_content_padding_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out pad_horiz, out pad_vert, out scalable);
+ Efl.Gfx.IArrangementConcrete.NativeMethods.efl_gfx_arrangement_content_padding_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out pad_horiz, out pad_vert, out scalable);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Padding between items contained in this object.</summary>
/// <param name="pad_vert">Vertical padding</param>
/// <param name="scalable"><c>true</c> if scalable, <c>false</c> otherwise</param>
virtual public void SetContentPadding(double pad_horiz, double pad_vert, bool scalable) {
- Efl.Gfx.IArrangementConcrete.NativeMethods.efl_gfx_arrangement_content_padding_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),pad_horiz, pad_vert, scalable);
+ Efl.Gfx.IArrangementConcrete.NativeMethods.efl_gfx_arrangement_content_padding_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),pad_horiz, pad_vert, scalable);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control the direction of a given widget.
/// Mirroring as defined in <see cref="Efl.Ui.II18n"/> can invert the <c>horizontal</c> direction: it is <c>ltr</c> by default, but becomes <c>rtl</c> if the object is mirrored.</summary>
/// <returns>Direction of the widget.</returns>
virtual public Efl.Ui.LayoutOrientation GetOrientation() {
- var _ret_var = Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Mirroring as defined in <see cref="Efl.Ui.II18n"/> can invert the <c>horizontal</c> direction: it is <c>ltr</c> by default, but becomes <c>rtl</c> if the object is mirrored.</summary>
/// <param name="dir">Direction of the widget.</param>
virtual public void SetOrientation(Efl.Ui.LayoutOrientation dir) {
- Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dir);
+ Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dir);
Eina.Error.RaiseIfUnhandledException();
}
- /// <summary>Control homogeneous mode.
- /// This will enable the homogeneous mode where children are of the same weight and of the same min size which is determined by maximum min size of children.</summary>
- /// <value><c>true</c> if the box is homogeneous, <c>false</c> otherwise</value>
+ /// <summary>In homogeneous mode all children of a vertical Box have the same height, equal to the height of the tallest widget. Children of a horizontal Box have the same width, equal to the width of the widest widget. Otherwise, individual widget sizes are not modified.</summary>
+ /// <value><c>true</c> if the Box is homogeneous, <c>false</c> otherwise.</value>
public bool Homogeneous {
get { return GetHomogeneous(); }
set { SetHomogeneous(value); }
/// <summary>A custom layout engine for <see cref="Efl.Ui.Box"/>.</summary>
[Efl.Ui.BoxFlow.NativeMethods]
+[Efl.Eo.BindingEntity]
public class BoxFlow : Efl.Ui.Box
{
///<summary>Pointer to the native class description.</summary>
efl_ui_box_flow_class_get();
/// <summary>Initializes a new instance of the <see cref="BoxFlow"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public BoxFlow(Efl.Object parent
- , System.String style = null) : base(efl_ui_box_flow_class_get(), typeof(BoxFlow), parent)
+ , System.String style = null) : base(efl_ui_box_flow_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected BoxFlow(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="BoxFlow"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected BoxFlow(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected BoxFlow(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="BoxFlow"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected BoxFlow(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected BoxFlow(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>A custom layout engine for <see cref="Efl.Ui.Box"/> that stacks items.
/// Items will be stacked on top of each other (in the Z direction).</summary>
[Efl.Ui.BoxStack.NativeMethods]
+[Efl.Eo.BindingEntity]
public class BoxStack : Efl.Ui.Box
{
///<summary>Pointer to the native class description.</summary>
efl_ui_box_stack_class_get();
/// <summary>Initializes a new instance of the <see cref="BoxStack"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public BoxStack(Efl.Object parent
- , System.String style = null) : base(efl_ui_box_stack_class_get(), typeof(BoxStack), parent)
+ , System.String style = null) : base(efl_ui_box_stack_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected BoxStack(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="BoxStack"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected BoxStack(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected BoxStack(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="BoxStack"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected BoxStack(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected BoxStack(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>Push-button widget
/// Press it and run some function. It can contain a simple label and icon object and it also has an autorepeat feature.</summary>
[Efl.Ui.Button.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Button : Efl.Ui.LayoutBase, Efl.IContent, Efl.IText, Efl.Ui.IAutorepeat, Efl.Ui.IClickable
{
///<summary>Pointer to the native class description.</summary>
efl_ui_button_class_get();
/// <summary>Initializes a new instance of the <see cref="Button"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public Button(Efl.Object parent
- , System.String style = null) : base(efl_ui_button_class_get(), typeof(Button), parent)
+ , System.String style = null) : base(efl_ui_button_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Button(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Button"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Button(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Button(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Button"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Button(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Button(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_AUTOREPEAT_EVENT_REPEATED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_CLICKED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_CLICKED_ANY";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_PRESSED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_UNPRESSED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_LONGPRESSED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// (Since EFL 1.22)</summary>
/// <returns>The sub-object.</returns>
virtual public Efl.Gfx.IEntity GetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="content">The sub-object.</param>
/// <returns><c>true</c> if <c>content</c> was successfully swallowed.</returns>
virtual public bool SetContent(Efl.Gfx.IEntity content) {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),content);
+ 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);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Unswallowed object</returns>
virtual public Efl.Gfx.IEntity UnsetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Text string to display on it.</returns>
virtual public System.String GetText() {
- var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="text">Text string to display on it.</param>
virtual public void SetText(System.String text) {
- Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),text);
+ Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),text);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The initial timeout before the autorepeat event is generated.
/// See also <see cref="Efl.Ui.IAutorepeat.AutorepeatEnabled"/> and <see cref="Efl.Ui.IAutorepeat.AutorepeatGapTimeout"/>.</summary>
/// <returns>Timeout in seconds.</returns>
virtual public double GetAutorepeatInitialTimeout() {
- var _ret_var = Efl.Ui.IAutorepeatConcrete.NativeMethods.efl_ui_autorepeat_initial_timeout_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IAutorepeatConcrete.NativeMethods.efl_ui_autorepeat_initial_timeout_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// See also <see cref="Efl.Ui.IAutorepeat.AutorepeatEnabled"/> and <see cref="Efl.Ui.IAutorepeat.AutorepeatGapTimeout"/>.</summary>
/// <param name="t">Timeout in seconds.</param>
virtual public void SetAutorepeatInitialTimeout(double t) {
- Efl.Ui.IAutorepeatConcrete.NativeMethods.efl_ui_autorepeat_initial_timeout_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),t);
+ Efl.Ui.IAutorepeatConcrete.NativeMethods.efl_ui_autorepeat_initial_timeout_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),t);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The interval between each generated autorepeat event.
/// See also <see cref="Efl.Ui.IAutorepeat.AutorepeatInitialTimeout"/>.</summary>
/// <returns>Time interval in seconds.</returns>
virtual public double GetAutorepeatGapTimeout() {
- var _ret_var = Efl.Ui.IAutorepeatConcrete.NativeMethods.efl_ui_autorepeat_gap_timeout_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IAutorepeatConcrete.NativeMethods.efl_ui_autorepeat_gap_timeout_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// See also <see cref="Efl.Ui.IAutorepeat.AutorepeatInitialTimeout"/>.</summary>
/// <param name="t">Time interval in seconds.</param>
virtual public void SetAutorepeatGapTimeout(double t) {
- Efl.Ui.IAutorepeatConcrete.NativeMethods.efl_ui_autorepeat_gap_timeout_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),t);
+ Efl.Ui.IAutorepeatConcrete.NativeMethods.efl_ui_autorepeat_gap_timeout_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),t);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Turn on/off the autorepeat event generated when a button is kept pressed.
/// When off, no autorepeat is performed and buttons emit a normal <c>clicked</c> event when they are clicked.</summary>
/// <returns>A bool to turn on/off the repeat event generation.</returns>
virtual public bool GetAutorepeatEnabled() {
- var _ret_var = Efl.Ui.IAutorepeatConcrete.NativeMethods.efl_ui_autorepeat_enabled_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IAutorepeatConcrete.NativeMethods.efl_ui_autorepeat_enabled_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// When off, no autorepeat is performed and buttons emit a normal <c>clicked</c> event when they are clicked.</summary>
/// <param name="on">A bool to turn on/off the repeat event generation.</param>
virtual public void SetAutorepeatEnabled(bool on) {
- Efl.Ui.IAutorepeatConcrete.NativeMethods.efl_ui_autorepeat_enabled_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),on);
+ Efl.Ui.IAutorepeatConcrete.NativeMethods.efl_ui_autorepeat_enabled_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),on);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Change internal states that a button got pressed.
/// When the button is already pressed, this is silently ignored.</summary>
/// <param name="button">The number of the button. FIXME ensure to have the right interval of possible input</param>
virtual public void Press(uint button) {
- Efl.Ui.IClickableConcrete.NativeMethods.efl_ui_clickable_press_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),button);
+ Efl.Ui.IClickableConcrete.NativeMethods.efl_ui_clickable_press_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),button);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Change internal states that a button got unpressed.
/// When the button is not pressed, this is silently ignored.</summary>
/// <param name="button">The number of the button. FIXME ensure to have the right interval of possible input</param>
virtual public void Unpress(uint button) {
- Efl.Ui.IClickableConcrete.NativeMethods.efl_ui_clickable_unpress_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),button);
+ Efl.Ui.IClickableConcrete.NativeMethods.efl_ui_clickable_unpress_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),button);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This aborts the internal state after a press call.
/// This will stop the timer for longpress. And set the state of the clickable mixin back into the unpressed state.</summary>
virtual public void ResetButtonState(uint button) {
- Efl.Ui.IClickableConcrete.NativeMethods.efl_ui_clickable_button_state_reset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),button);
+ Efl.Ui.IClickableConcrete.NativeMethods.efl_ui_clickable_button_state_reset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),button);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Sub-object currently set as this object's single content.
/// <summary>Elementary button internal part class</summary>
[Efl.Ui.ButtonLegacyPart.NativeMethods]
+[Efl.Eo.BindingEntity]
public class ButtonLegacyPart : Efl.Ui.LayoutPartContent
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="ButtonLegacyPart"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public ButtonLegacyPart(Efl.Object parent= null
- ) : base(efl_ui_button_legacy_part_class_get(), typeof(ButtonLegacyPart), parent)
+ ) : base(efl_ui_button_legacy_part_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected ButtonLegacyPart(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="ButtonLegacyPart"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected ButtonLegacyPart(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected ButtonLegacyPart(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="ButtonLegacyPart"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected ButtonLegacyPart(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected ButtonLegacyPart(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
///
/// The cache might decide to flush itself when the application event pause is triggered.</summary>
[Efl.Ui.CachingFactory.NativeMethods]
+[Efl.Eo.BindingEntity]
public class CachingFactory : Efl.Ui.WidgetFactory
{
///<summary>Pointer to the native class description.</summary>
efl_ui_caching_factory_class_get();
/// <summary>Initializes a new instance of the <see cref="CachingFactory"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="itemClass">Define the class of the item returned by this factory. See <see cref="Efl.Ui.WidgetFactory.SetItemClass"/></param>
+ /// <param name="itemClass">Define the class of the item returned by this factory. See <see cref="Efl.Ui.WidgetFactory.SetItemClass" /></param>
public CachingFactory(Efl.Object parent
- , Type itemClass = null) : base(efl_ui_caching_factory_class_get(), typeof(CachingFactory), parent)
+ , Type itemClass = null) : base(efl_ui_caching_factory_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(itemClass))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected CachingFactory(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="CachingFactory"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected CachingFactory(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected CachingFactory(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="CachingFactory"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected CachingFactory(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected CachingFactory(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>Define the maxium size in Bytes that all the object waiting on standby in the cache take. They must provide the <see cref="Efl.Cached.IItem"/> interface for an accurate accounting.</summary>
/// <returns>When set to zero, there is no limit on the amount of memory the cache will use.</returns>
virtual public uint GetMemoryLimit() {
- var _ret_var = Efl.Ui.CachingFactory.NativeMethods.efl_ui_caching_factory_memory_limit_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.CachingFactory.NativeMethods.efl_ui_caching_factory_memory_limit_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Define the maxium size in Bytes that all the object waiting on standby in the cache take. They must provide the <see cref="Efl.Cached.IItem"/> interface for an accurate accounting.</summary>
/// <param name="limit">When set to zero, there is no limit on the amount of memory the cache will use.</param>
virtual public void SetMemoryLimit(uint limit) {
- Efl.Ui.CachingFactory.NativeMethods.efl_ui_caching_factory_memory_limit_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),limit);
+ Efl.Ui.CachingFactory.NativeMethods.efl_ui_caching_factory_memory_limit_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),limit);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Define how many maximum number of items are waiting on standby in the cache.</summary>
/// <returns>When set to zero, there is no limit to the amount of items stored in the cache.</returns>
virtual public uint GetItemsLimit() {
- var _ret_var = Efl.Ui.CachingFactory.NativeMethods.efl_ui_caching_factory_items_limit_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.CachingFactory.NativeMethods.efl_ui_caching_factory_items_limit_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Define how many maximum number of items are waiting on standby in the cache.</summary>
/// <param name="limit">When set to zero, there is no limit to the amount of items stored in the cache.</param>
virtual public void SetItemsLimit(uint limit) {
- Efl.Ui.CachingFactory.NativeMethods.efl_ui_caching_factory_items_limit_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),limit);
+ Efl.Ui.CachingFactory.NativeMethods.efl_ui_caching_factory_items_limit_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),limit);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Define the maxium size in Bytes that all the object waiting on standby in the cache take. They must provide the <see cref="Efl.Cached.IItem"/> interface for an accurate accounting.</summary>
/// <summary>Calendar widget
/// It helps applications to flexibly display a calendar with day of the week, date, year and month. Applications are able to set specific dates to be reported back, when selected, in the smart callbacks of the calendar widget.</summary>
[Efl.Ui.Calendar.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Calendar : Efl.Ui.LayoutBase, Efl.Ui.IFormat, Efl.Ui.Focus.IComposition
{
///<summary>Pointer to the native class description.</summary>
efl_ui_calendar_class_get();
/// <summary>Initializes a new instance of the <see cref="Calendar"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public Calendar(Efl.Object parent
- , System.String style = null) : base(efl_ui_calendar_class_get(), typeof(Calendar), parent)
+ , System.String style = null) : base(efl_ui_calendar_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Calendar(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Calendar"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Calendar(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Calendar(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Calendar"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Calendar(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Calendar(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_CALENDAR_EVENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// This is the day that will appear in the left-most column (eg. Monday in France or Sunday in the US).</summary>
/// <returns>The first day of the week.</returns>
virtual public Efl.Ui.CalendarWeekday GetFirstDayOfWeek() {
- var _ret_var = Efl.Ui.Calendar.NativeMethods.efl_ui_calendar_first_day_of_week_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Calendar.NativeMethods.efl_ui_calendar_first_day_of_week_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This is the day that will appear in the left-most column (eg. Monday in France or Sunday in the US).</summary>
/// <param name="day">The first day of the week.</param>
virtual public void SetFirstDayOfWeek(Efl.Ui.CalendarWeekday day) {
- Efl.Ui.Calendar.NativeMethods.efl_ui_calendar_first_day_of_week_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),day);
+ Efl.Ui.Calendar.NativeMethods.efl_ui_calendar_first_day_of_week_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),day);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the minimum date.
/// Default value is 1 JAN,1902.</summary>
/// <returns>Time structure containing the minimum date.</returns>
virtual public Efl.Time GetDateMin() {
- var _ret_var = Efl.Ui.Calendar.NativeMethods.efl_ui_calendar_date_min_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Calendar.NativeMethods.efl_ui_calendar_date_min_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <returns><c>true</c>, on success, <c>false</c> otherwise</returns>
virtual public bool SetDateMin(Efl.Time min) {
Efl.Time.NativeStruct _in_min = min;
- var _ret_var = Efl.Ui.Calendar.NativeMethods.efl_ui_calendar_date_min_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_min);
+ var _ret_var = Efl.Ui.Calendar.NativeMethods.efl_ui_calendar_date_min_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_min);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// If the maximum year is a negative value, it will be limited depending on the platform architecture (year 2037 for 32 bits);</summary>
/// <returns>Time structure containing the maximum date.</returns>
virtual public Efl.Time GetDateMax() {
- var _ret_var = Efl.Ui.Calendar.NativeMethods.efl_ui_calendar_date_max_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Calendar.NativeMethods.efl_ui_calendar_date_max_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <returns><c>true</c>, on success, <c>false</c> otherwise</returns>
virtual public bool SetDateMax(Efl.Time max) {
Efl.Time.NativeStruct _in_max = max;
- var _ret_var = Efl.Ui.Calendar.NativeMethods.efl_ui_calendar_date_max_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_max);
+ var _ret_var = Efl.Ui.Calendar.NativeMethods.efl_ui_calendar_date_max_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_max);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>The selected date on calendar.</summary>
/// <returns>Time structure containing the selected date.</returns>
virtual public Efl.Time GetDate() {
- var _ret_var = Efl.Ui.Calendar.NativeMethods.efl_ui_calendar_date_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Calendar.NativeMethods.efl_ui_calendar_date_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <returns><c>true</c>, on success, <c>false</c> otherwise</returns>
virtual public bool SetDate(Efl.Time date) {
Efl.Time.NativeStruct _in_date = date;
- var _ret_var = Efl.Ui.Calendar.NativeMethods.efl_ui_calendar_date_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_date);
+ var _ret_var = Efl.Ui.Calendar.NativeMethods.efl_ui_calendar_date_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_date);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
- /// <summary>Set the format function pointer to format the string.</summary>
- /// <param name="func">The format function callback</param>
- virtual public void SetFormatCb(Efl.Ui.FormatFuncCb func) {
+ /// <summary>User-provided function which takes care of converting an <see cref="Eina.Value"/> into a text string. The user is then completely in control of how the string is generated, but it is the most cumbersome method to use. If the conversion fails the other mechanisms will be tried, according to their priorities.</summary>
+ /// <returns>User-provided formatting function.</returns>
+ virtual public Efl.Ui.FormatFunc GetFormatFunc() {
+ var _ret_var = Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_func_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>User-provided function which takes care of converting an <see cref="Eina.Value"/> into a text string. The user is then completely in control of how the string is generated, but it is the most cumbersome method to use. If the conversion fails the other mechanisms will be tried, according to their priorities.</summary>
+ /// <param name="func">User-provided formatting function.</param>
+ virtual public void SetFormatFunc(Efl.Ui.FormatFunc func) {
GCHandle func_handle = GCHandle.Alloc(func);
- Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_cb_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),GCHandle.ToIntPtr(func_handle), Efl.Ui.FormatFuncCbWrapper.Cb, Efl.Eo.Globals.free_gchandle);
+ Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_func_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),GCHandle.ToIntPtr(func_handle), Efl.Ui.FormatFuncWrapper.Cb, Efl.Eo.Globals.free_gchandle);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>User-provided list of values which are to be rendered using specific text strings. This is more convenient to use than <see cref="Efl.Ui.IFormat.FormatFunc"/> and is perfectly suited for cases where the strings make more sense than the numerical values. For example, weekday names ("Monday", "Tuesday", ...) are friendlier than numbers 1 to 7. If a value is not found in the list, the other mechanisms will be tried according to their priorities. List members do not need to be in any particular order. They are sorted internally for performance reasons.</summary>
+ /// <returns>Accessor over a list of value-text pairs. The method will dispose of the accessor, but not of its contents. For convenience, Eina offers a range of helper methods to obtain accessors from Eina.Array, Eina.List or even plain C arrays.</returns>
+ virtual public Eina.Accessor<Efl.Ui.FormatValue> GetFormatValues() {
+ var _ret_var = Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_values_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return new Eina.Accessor<Efl.Ui.FormatValue>(_ret_var, false);
+ }
+ /// <summary>User-provided list of values which are to be rendered using specific text strings. This is more convenient to use than <see cref="Efl.Ui.IFormat.FormatFunc"/> and is perfectly suited for cases where the strings make more sense than the numerical values. For example, weekday names ("Monday", "Tuesday", ...) are friendlier than numbers 1 to 7. If a value is not found in the list, the other mechanisms will be tried according to their priorities. List members do not need to be in any particular order. They are sorted internally for performance reasons.</summary>
+ /// <param name="values">Accessor over a list of value-text pairs. The method will dispose of the accessor, but not of its contents. For convenience, Eina offers a range of helper methods to obtain accessors from Eina.Array, Eina.List or even plain C arrays.</param>
+ virtual public void SetFormatValues(Eina.Accessor<Efl.Ui.FormatValue> values) {
+ var _in_values = values.Handle;
+ Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_values_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_values);
Eina.Error.RaiseIfUnhandledException();
}
- /// <summary>Control the format string for a given units label
- /// If <c>NULL</c> is passed to <c>format</c>, it will hide <c>obj</c>'s units area completely. If not, it'll set the <b>format string</b> for the units label text. The units label is provided as a floating point value, so the units text can display at most one floating point value. Note that the units label is optional. Use a format string such as "%1.2f meters" for example.
+ /// <summary>A user-provided, string used to format the numerical value.
+ /// For example, "%1.2f meters", "%.0%%" or "%d items".
+ ///
+ /// This is the simplest formatting mechanism, working pretty much like <c>printf</c>.
+ ///
+ /// Different format specifiers (the character after the %) are available, depending on the <c>type</c> used. Use <see cref="Efl.Ui.FormatStringType.Simple"/> for simple numerical values and <see cref="Efl.Ui.FormatStringType.Time"/> for time and date values. For instance, %d means "integer" when the first type is used, but it means "day of the month as a decimal number" in the second.
+ ///
+ /// Pass <c>NULL</c> to disable this mechanism.</summary>
+ /// <param name="kw_string">Formatting string containing regular characters and format specifiers.</param>
+ /// <param name="type">Type of formatting string, which controls how the different format specifiers are to be traslated.</param>
+ virtual public void GetFormatString(out System.String kw_string, out Efl.Ui.FormatStringType type) {
+ Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_string_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out kw_string, out type);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>A user-provided, string used to format the numerical value.
+ /// For example, "%1.2f meters", "%.0%%" or "%d items".
///
- /// Note: The default format string is an integer percentage, as in $"%.0f %%".</summary>
- /// <returns>The format string for <c>obj</c>'s units label.</returns>
- virtual public System.String GetFormatString() {
- var _ret_var = Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_string_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ /// This is the simplest formatting mechanism, working pretty much like <c>printf</c>.
+ ///
+ /// Different format specifiers (the character after the %) are available, depending on the <c>type</c> used. Use <see cref="Efl.Ui.FormatStringType.Simple"/> for simple numerical values and <see cref="Efl.Ui.FormatStringType.Time"/> for time and date values. For instance, %d means "integer" when the first type is used, but it means "day of the month as a decimal number" in the second.
+ ///
+ /// Pass <c>NULL</c> to disable this mechanism.</summary>
+ /// <param name="kw_string">Formatting string containing regular characters and format specifiers.</param>
+ /// <param name="type">Type of formatting string, which controls how the different format specifiers are to be traslated.</param>
+ virtual public void SetFormatString(System.String kw_string, Efl.Ui.FormatStringType type) {
+ Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_string_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),kw_string, type);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Internal method to be used by widgets including this mixin to perform the conversion from the internal numerical value into the text representation (Users of these widgets do not need to call this method).
+ /// <see cref="Efl.Ui.IFormat.GetFormattedValue"/> uses any user-provided mechanism to perform the conversion, according to their priorities, and implements a simple fallback if all mechanisms fail.</summary>
+ /// <param name="str">Output formatted string. Its contents will be overwritten by this method.</param>
+ /// <param name="value">The <see cref="Eina.Value"/> to convert to text.</param>
+ virtual public void GetFormattedValue(Eina.Strbuf str, Eina.Value value) {
+ Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_formatted_value_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),str, value);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Internal method to be used by widgets including this mixin. It can only be used when a <see cref="Efl.Ui.IFormat.GetFormatString"/> has been supplied, and it returns the number of decimal places that the format string will produce for floating point values.
+ /// For example, "%.2f" returns 2, and "%d" returns 0;</summary>
+ /// <returns>Number of decimal places, or 0 for non-floating point types.</returns>
+ virtual public int GetDecimalPlaces() {
+ var _ret_var = Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_decimal_places_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
- /// <summary>Control the format string for a given units label
- /// If <c>NULL</c> is passed to <c>format</c>, it will hide <c>obj</c>'s units area completely. If not, it'll set the <b>format string</b> for the units label text. The units label is provided as a floating point value, so the units text can display at most one floating point value. Note that the units label is optional. Use a format string such as "%1.2f meters" for example.
- ///
- /// Note: The default format string is an integer percentage, as in $"%.0f %%".</summary>
- /// <param name="units">The format string for <c>obj</c>'s units label.</param>
- virtual public void SetFormatString(System.String units) {
- Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_string_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),units);
+ /// <summary>Internal method to be implemented by widgets including this mixin.
+ /// The mixin will call this method to signal the widget that the formatting has changed and therefore the current value should be converted and rendered again. Widgets must typically call <see cref="Efl.Ui.IFormat.GetFormattedValue"/> and display the returned string. This is something they are already doing (whenever the value changes, for example) so there should be no extra code written to implement this method.</summary>
+ virtual public void ApplyFormattedValue() {
+ Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_apply_formatted_value_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
- }
+ }
/// <summary>Set the order of elements that will be used for composition
/// Elements of the list can be either an Efl.Ui.Widget, an Efl.Ui.Focus.Object or an Efl.Gfx.
///
/// If the element is a Efl.Ui.Widget nothing is done and the widget is simply part of the order.</summary>
/// <returns>The order to use</returns>
virtual public Eina.List<Efl.Gfx.IEntity> GetCompositionElements() {
- var _ret_var = Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_elements_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_elements_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return new Eina.List<Efl.Gfx.IEntity>(_ret_var, true, false);
}
virtual public void SetCompositionElements(Eina.List<Efl.Gfx.IEntity> logical_order) {
var _in_logical_order = logical_order.Handle;
logical_order.Own = false;
- Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_elements_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_logical_order);
+ Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_elements_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_logical_order);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set to true if all children should be registered as logicals</summary>
/// <returns><c>true</c> or <c>false</c></returns>
virtual public bool GetLogicalMode() {
- var _ret_var = Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_logical_mode_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_logical_mode_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Set to true if all children should be registered as logicals</summary>
/// <param name="logical_mode"><c>true</c> or <c>false</c></param>
virtual public void SetLogicalMode(bool logical_mode) {
- Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_logical_mode_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),logical_mode);
+ Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_logical_mode_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),logical_mode);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Mark this widget as dirty, the children can be considered to be changed after that call</summary>
virtual public void Dirty() {
- Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_dirty_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_dirty_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>A call to prepare the children of this element, called if marked as dirty
/// You can use this function to call composition_elements.</summary>
virtual public void Prepare() {
- Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_prepare_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_prepare_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The first day of week to use on calendar widgets.
get { return GetDate(); }
set { SetDate(value); }
}
- /// <summary>Set the format function pointer to format the string.</summary>
- /// <value>The format function callback</value>
- public Efl.Ui.FormatFuncCb FormatCb {
- set { SetFormatCb(value); }
+ /// <summary>User-provided function which takes care of converting an <see cref="Eina.Value"/> into a text string. The user is then completely in control of how the string is generated, but it is the most cumbersome method to use. If the conversion fails the other mechanisms will be tried, according to their priorities.</summary>
+ /// <value>User-provided formatting function.</value>
+ public Efl.Ui.FormatFunc FormatFunc {
+ get { return GetFormatFunc(); }
+ set { SetFormatFunc(value); }
}
- /// <summary>Control the format string for a given units label
- /// If <c>NULL</c> is passed to <c>format</c>, it will hide <c>obj</c>'s units area completely. If not, it'll set the <b>format string</b> for the units label text. The units label is provided as a floating point value, so the units text can display at most one floating point value. Note that the units label is optional. Use a format string such as "%1.2f meters" for example.
- ///
- /// Note: The default format string is an integer percentage, as in $"%.0f %%".</summary>
- /// <value>The format string for <c>obj</c>'s units label.</value>
- public System.String FormatString {
- get { return GetFormatString(); }
- set { SetFormatString(value); }
+ /// <summary>User-provided list of values which are to be rendered using specific text strings. This is more convenient to use than <see cref="Efl.Ui.IFormat.FormatFunc"/> and is perfectly suited for cases where the strings make more sense than the numerical values. For example, weekday names ("Monday", "Tuesday", ...) are friendlier than numbers 1 to 7. If a value is not found in the list, the other mechanisms will be tried according to their priorities. List members do not need to be in any particular order. They are sorted internally for performance reasons.</summary>
+ /// <value>Accessor over a list of value-text pairs. The method will dispose of the accessor, but not of its contents. For convenience, Eina offers a range of helper methods to obtain accessors from Eina.Array, Eina.List or even plain C arrays.</value>
+ public Eina.Accessor<Efl.Ui.FormatValue> FormatValues {
+ get { return GetFormatValues(); }
+ set { SetFormatValues(value); }
}
/// <summary>Set the order of elements that will be used for composition
/// Elements of the list can be either an Efl.Ui.Widget, an Efl.Ui.Focus.Object or an Efl.Gfx.
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_calendar_date_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_calendar_date_set_static_delegate) });
}
- if (efl_ui_format_cb_set_static_delegate == null)
+ if (efl_ui_format_func_get_static_delegate == null)
+ {
+ efl_ui_format_func_get_static_delegate = new efl_ui_format_func_get_delegate(format_func_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetFormatFunc") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_func_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_func_get_static_delegate) });
+ }
+
+ if (efl_ui_format_func_set_static_delegate == null)
{
- efl_ui_format_cb_set_static_delegate = new efl_ui_format_cb_set_delegate(format_cb_set);
+ efl_ui_format_func_set_static_delegate = new efl_ui_format_func_set_delegate(format_func_set);
}
- if (methods.FirstOrDefault(m => m.Name == "SetFormatCb") != null)
+ if (methods.FirstOrDefault(m => m.Name == "SetFormatFunc") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_cb_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_cb_set_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_func_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_func_set_static_delegate) });
+ }
+
+ if (efl_ui_format_values_get_static_delegate == null)
+ {
+ efl_ui_format_values_get_static_delegate = new efl_ui_format_values_get_delegate(format_values_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetFormatValues") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_values_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_values_get_static_delegate) });
+ }
+
+ if (efl_ui_format_values_set_static_delegate == null)
+ {
+ efl_ui_format_values_set_static_delegate = new efl_ui_format_values_set_delegate(format_values_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetFormatValues") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_values_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_values_set_static_delegate) });
}
if (efl_ui_format_string_get_static_delegate == null)
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_string_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_string_set_static_delegate) });
}
+ if (efl_ui_format_formatted_value_get_static_delegate == null)
+ {
+ efl_ui_format_formatted_value_get_static_delegate = new efl_ui_format_formatted_value_get_delegate(formatted_value_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetFormattedValue") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_formatted_value_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_formatted_value_get_static_delegate) });
+ }
+
+ if (efl_ui_format_decimal_places_get_static_delegate == null)
+ {
+ efl_ui_format_decimal_places_get_static_delegate = new efl_ui_format_decimal_places_get_delegate(decimal_places_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetDecimalPlaces") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_decimal_places_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_decimal_places_get_static_delegate) });
+ }
+
+ if (efl_ui_format_apply_formatted_value_static_delegate == null)
+ {
+ efl_ui_format_apply_formatted_value_static_delegate = new efl_ui_format_apply_formatted_value_delegate(apply_formatted_value);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "ApplyFormattedValue") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_apply_formatted_value"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_apply_formatted_value_static_delegate) });
+ }
+
if (efl_ui_focus_composition_elements_get_static_delegate == null)
{
efl_ui_focus_composition_elements_get_static_delegate = new efl_ui_focus_composition_elements_get_delegate(composition_elements_get);
private static efl_ui_calendar_date_set_delegate efl_ui_calendar_date_set_static_delegate;
- private delegate void efl_ui_format_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, Efl.Ui.FormatFuncCbInternal func, EinaFreeCb func_free_cb);
+ private delegate Efl.Ui.FormatFunc efl_ui_format_func_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate Efl.Ui.FormatFunc efl_ui_format_func_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_format_func_get_api_delegate> efl_ui_format_func_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_func_get_api_delegate>(Module, "efl_ui_format_func_get");
+
+ private static Efl.Ui.FormatFunc format_func_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_format_func_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.Ui.FormatFunc _ret_var = default(Efl.Ui.FormatFunc);
+ try
+ {
+ _ret_var = ((Calendar)ws.Target).GetFormatFunc();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_format_func_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_format_func_get_delegate efl_ui_format_func_get_static_delegate;
+
+
+ private delegate void efl_ui_format_func_set_delegate(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, Efl.Ui.FormatFuncInternal func, EinaFreeCb func_free_cb);
- public delegate void efl_ui_format_cb_set_api_delegate(System.IntPtr obj, IntPtr func_data, Efl.Ui.FormatFuncCbInternal func, EinaFreeCb func_free_cb);
+ public delegate void efl_ui_format_func_set_api_delegate(System.IntPtr obj, IntPtr func_data, Efl.Ui.FormatFuncInternal func, EinaFreeCb func_free_cb);
- public static Efl.Eo.FunctionWrapper<efl_ui_format_cb_set_api_delegate> efl_ui_format_cb_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_cb_set_api_delegate>(Module, "efl_ui_format_cb_set");
+ public static Efl.Eo.FunctionWrapper<efl_ui_format_func_set_api_delegate> efl_ui_format_func_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_func_set_api_delegate>(Module, "efl_ui_format_func_set");
- private static void format_cb_set(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, Efl.Ui.FormatFuncCbInternal func, EinaFreeCb func_free_cb)
+ private static void format_func_set(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, Efl.Ui.FormatFuncInternal func, EinaFreeCb func_free_cb)
{
- Eina.Log.Debug("function efl_ui_format_cb_set was called");
+ Eina.Log.Debug("function efl_ui_format_func_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- Efl.Ui.FormatFuncCbWrapper func_wrapper = new Efl.Ui.FormatFuncCbWrapper(func, func_data, func_free_cb);
+ Efl.Ui.FormatFuncWrapper func_wrapper = new Efl.Ui.FormatFuncWrapper(func, func_data, func_free_cb);
try
{
- ((Calendar)ws.Target).SetFormatCb(func_wrapper.ManagedCb);
+ ((Calendar)ws.Target).SetFormatFunc(func_wrapper.ManagedCb);
}
catch (Exception e)
{
}
else
{
- efl_ui_format_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), func_data, func, func_free_cb);
+ efl_ui_format_func_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), func_data, func, func_free_cb);
}
}
- private static efl_ui_format_cb_set_delegate efl_ui_format_cb_set_static_delegate;
+ private static efl_ui_format_func_set_delegate efl_ui_format_func_set_static_delegate;
+
+
+ private delegate System.IntPtr efl_ui_format_values_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate System.IntPtr efl_ui_format_values_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_format_values_get_api_delegate> efl_ui_format_values_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_values_get_api_delegate>(Module, "efl_ui_format_values_get");
+
+ private static System.IntPtr format_values_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_format_values_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Accessor<Efl.Ui.FormatValue> _ret_var = default(Eina.Accessor<Efl.Ui.FormatValue>);
+ try
+ {
+ _ret_var = ((Calendar)ws.Target).GetFormatValues();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var.Handle;
+
+ }
+ else
+ {
+ return efl_ui_format_values_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
- [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
- private delegate System.String efl_ui_format_string_get_delegate(System.IntPtr obj, System.IntPtr pd);
+ private static efl_ui_format_values_get_delegate efl_ui_format_values_get_static_delegate;
- [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
- public delegate System.String efl_ui_format_string_get_api_delegate(System.IntPtr obj);
+
+ private delegate void efl_ui_format_values_set_delegate(System.IntPtr obj, System.IntPtr pd, System.IntPtr values);
+
+
+ public delegate void efl_ui_format_values_set_api_delegate(System.IntPtr obj, System.IntPtr values);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_format_values_set_api_delegate> efl_ui_format_values_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_values_set_api_delegate>(Module, "efl_ui_format_values_set");
+
+ private static void format_values_set(System.IntPtr obj, System.IntPtr pd, System.IntPtr values)
+ {
+ Eina.Log.Debug("function efl_ui_format_values_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ var _in_values = new Eina.Accessor<Efl.Ui.FormatValue>(values, false);
+
+ try
+ {
+ ((Calendar)ws.Target).SetFormatValues(_in_values);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_format_values_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), values);
+ }
+ }
+
+ private static efl_ui_format_values_set_delegate efl_ui_format_values_set_static_delegate;
+
+
+ private delegate void efl_ui_format_string_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String kw_string, out Efl.Ui.FormatStringType type);
+
+
+ public delegate void efl_ui_format_string_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String kw_string, out Efl.Ui.FormatStringType type);
public static Efl.Eo.FunctionWrapper<efl_ui_format_string_get_api_delegate> efl_ui_format_string_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_string_get_api_delegate>(Module, "efl_ui_format_string_get");
- private static System.String format_string_get(System.IntPtr obj, System.IntPtr pd)
+ private static void format_string_get(System.IntPtr obj, System.IntPtr pd, out System.String kw_string, out Efl.Ui.FormatStringType type)
{
Eina.Log.Debug("function efl_ui_format_string_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- System.String _ret_var = default(System.String);
+ System.String _out_kw_string = default(System.String);
+ type = default(Efl.Ui.FormatStringType);
try
{
- _ret_var = ((Calendar)ws.Target).GetFormatString();
+ ((Calendar)ws.Target).GetFormatString(out _out_kw_string, out type);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
- return _ret_var;
-
+ kw_string = _out_kw_string;
+
}
else
{
- return efl_ui_format_string_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ efl_ui_format_string_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out kw_string, out type);
}
}
private static efl_ui_format_string_get_delegate efl_ui_format_string_get_static_delegate;
- private delegate void efl_ui_format_string_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String units);
+ private delegate void efl_ui_format_string_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String kw_string, Efl.Ui.FormatStringType type);
- public delegate void efl_ui_format_string_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String units);
+ public delegate void efl_ui_format_string_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String kw_string, Efl.Ui.FormatStringType type);
public static Efl.Eo.FunctionWrapper<efl_ui_format_string_set_api_delegate> efl_ui_format_string_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_string_set_api_delegate>(Module, "efl_ui_format_string_set");
- private static void format_string_set(System.IntPtr obj, System.IntPtr pd, System.String units)
+ private static void format_string_set(System.IntPtr obj, System.IntPtr pd, System.String kw_string, Efl.Ui.FormatStringType type)
{
Eina.Log.Debug("function efl_ui_format_string_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
-
+
try
{
- ((Calendar)ws.Target).SetFormatString(units);
+ ((Calendar)ws.Target).SetFormatString(kw_string, type);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+
}
else
{
- efl_ui_format_string_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), units);
+ efl_ui_format_string_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), kw_string, type);
}
}
private static efl_ui_format_string_set_delegate efl_ui_format_string_set_static_delegate;
+ private delegate void efl_ui_format_formatted_value_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StrbufKeepOwnershipMarshaler))] Eina.Strbuf str, Eina.ValueNative value);
+
+
+ public delegate void efl_ui_format_formatted_value_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StrbufKeepOwnershipMarshaler))] Eina.Strbuf str, Eina.ValueNative value);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_format_formatted_value_get_api_delegate> efl_ui_format_formatted_value_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_formatted_value_get_api_delegate>(Module, "efl_ui_format_formatted_value_get");
+
+ private static void formatted_value_get(System.IntPtr obj, System.IntPtr pd, Eina.Strbuf str, Eina.ValueNative value)
+ {
+ Eina.Log.Debug("function efl_ui_format_formatted_value_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Calendar)ws.Target).GetFormattedValue(str, value);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_format_formatted_value_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), str, value);
+ }
+ }
+
+ private static efl_ui_format_formatted_value_get_delegate efl_ui_format_formatted_value_get_static_delegate;
+
+
+ private delegate int efl_ui_format_decimal_places_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate int efl_ui_format_decimal_places_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_format_decimal_places_get_api_delegate> efl_ui_format_decimal_places_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_decimal_places_get_api_delegate>(Module, "efl_ui_format_decimal_places_get");
+
+ private static int decimal_places_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_format_decimal_places_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ int _ret_var = default(int);
+ try
+ {
+ _ret_var = ((Calendar)ws.Target).GetDecimalPlaces();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_format_decimal_places_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_format_decimal_places_get_delegate efl_ui_format_decimal_places_get_static_delegate;
+
+
+ private delegate void efl_ui_format_apply_formatted_value_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate void efl_ui_format_apply_formatted_value_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_format_apply_formatted_value_api_delegate> efl_ui_format_apply_formatted_value_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_apply_formatted_value_api_delegate>(Module, "efl_ui_format_apply_formatted_value");
+
+ private static void apply_formatted_value(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_format_apply_formatted_value was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Calendar)ws.Target).ApplyFormattedValue();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_format_apply_formatted_value_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_format_apply_formatted_value_delegate efl_ui_format_apply_formatted_value_static_delegate;
+
+
private delegate System.IntPtr efl_ui_focus_composition_elements_get_delegate(System.IntPtr obj, System.IntPtr pd);
/// <summary>A weekday
/// See also <see cref="Efl.Ui.Calendar.SetFirstDayOfWeek"/>.</summary>
+[Efl.Eo.BindingEntity]
public enum CalendarWeekday
{
/// <summary>Sunday weekday</summary>
/// <summary>EFL UI Calendar Item class</summary>
[Efl.Ui.CalendarItem.NativeMethods]
+[Efl.Eo.BindingEntity]
public class CalendarItem : Efl.Object, Efl.Ui.Focus.IObject
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="CalendarItem"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public CalendarItem(Efl.Object parent= null
- ) : base(efl_ui_calendar_item_class_get(), typeof(CalendarItem), parent)
+ ) : base(efl_ui_calendar_item_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected CalendarItem(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="CalendarItem"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected CalendarItem(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected CalendarItem(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="CalendarItem"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected CalendarItem(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected CalendarItem(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_MANAGER_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_PARENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_OBJECT_EVENT_CHILD_FOCUS_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_GEOMETRY_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// <summary>Day number</summary>
/// <returns>Day number</returns>
virtual public int GetDayNumber() {
- var _ret_var = Efl.Ui.CalendarItem.NativeMethods.efl_ui_calendar_item_day_number_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.CalendarItem.NativeMethods.efl_ui_calendar_item_day_number_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Day number</summary>
/// <param name="i">Day number</param>
virtual public void SetDayNumber(int i) {
- Efl.Ui.CalendarItem.NativeMethods.efl_ui_calendar_item_day_number_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),i);
+ Efl.Ui.CalendarItem.NativeMethods.efl_ui_calendar_item_day_number_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),i);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The geometry (that is, the bounding rectangle) used to calculate the relationship with other objects.
/// (Since EFL 1.22)</summary>
/// <returns>The geometry to use.</returns>
virtual public Eina.Rect GetFocusGeometry() {
- var _ret_var = Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_focus_geometry_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_focus_geometry_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The focused state of the object.</returns>
virtual public bool GetFocus() {
- var _ret_var = Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_focus_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_focus_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="focus">The focused state of the object.</param>
virtual public void SetFocus(bool focus) {
- Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_focus_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),focus);
+ Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_focus_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),focus);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This is the focus manager where this focus object is registered in. The element which is the <c>root</c> of a Efl.Ui.Focus.Manager will not have this focus manager as this object, but rather the second focus manager where it is registered in.
/// (Since EFL 1.22)</summary>
/// <returns>The manager object</returns>
virtual public Efl.Ui.Focus.IManager GetFocusManager() {
- var _ret_var = Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_focus_manager_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_focus_manager_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The focus parent.</returns>
virtual public Efl.Ui.Focus.IObject GetFocusParent() {
- var _ret_var = Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_focus_parent_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_focus_parent_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if a child has focus.</returns>
virtual public bool GetChildFocus() {
- var _ret_var = Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_child_focus_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_child_focus_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="child_focus"><c>true</c> if a child has focus.</param>
virtual public void SetChildFocus(bool child_focus) {
- Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_child_focus_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),child_focus);
+ Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_child_focus_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),child_focus);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Tells the object that its children will be queried soon by the focus manager. Overwrite this to update the order of the children. Deleting items in this call will result in undefined behaviour and may cause your system to crash.
/// (Since EFL 1.22)</summary>
virtual public void SetupOrder() {
- Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_setup_order_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_setup_order_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This is called when <see cref="Efl.Ui.Focus.IObject.SetupOrder"/> is called, but only on the first call, additional recursive calls to <see cref="Efl.Ui.Focus.IObject.SetupOrder"/> will not call this function again.
/// (Since EFL 1.22)</summary>
virtual public void SetupOrderNonRecursive() {
- Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_setup_order_non_recursive_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_setup_order_non_recursive_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Virtual function handling focus in/out events on the widget
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if this widget can handle focus, <c>false</c> otherwise</returns>
virtual public bool UpdateOnFocus() {
- var _ret_var = Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_on_focus_update_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_on_focus_update_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
namespace Ui {
///<summary>Event argument wrapper for event <see cref="Efl.Ui.Check.SelectedChangedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class CheckSelectedChangedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public bool arg { get; set; }
/// <summary>Check widget
/// 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>
[Efl.Ui.Check.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Check : Efl.Ui.LayoutBase, Efl.IContent, Efl.IText
{
///<summary>Pointer to the native class description.</summary>
efl_ui_check_class_get();
/// <summary>Initializes a new instance of the <see cref="Check"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public Check(Efl.Object parent
- , System.String style = null) : base(efl_ui_check_class_get(), typeof(Check), parent)
+ , System.String style = null) : base(efl_ui_check_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Check(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Check"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Check(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Check(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Check"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Check(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Check(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_CHECK_EVENT_SELECTED_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// <summary>The on/off state of the check object.</summary>
/// <returns><c>true</c> if the check object is selected, <c>false</c> otherwise</returns>
virtual public bool GetSelected() {
- var _ret_var = Efl.Ui.Check.NativeMethods.efl_ui_check_selected_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ 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)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>The on/off state of the check object.</summary>
/// <param name="value"><c>true</c> if the check object is selected, <c>false</c> otherwise</param>
virtual public void SetSelected(bool value) {
- Efl.Ui.Check.NativeMethods.efl_ui_check_selected_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),value);
+ 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);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Sub-object currently set as this object's single content.
/// (Since EFL 1.22)</summary>
/// <returns>The sub-object.</returns>
virtual public Efl.Gfx.IEntity GetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="content">The sub-object.</param>
/// <returns><c>true</c> if <c>content</c> was successfully swallowed.</returns>
virtual public bool SetContent(Efl.Gfx.IEntity content) {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),content);
+ 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);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Unswallowed object</returns>
virtual public Efl.Gfx.IEntity UnsetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Text string to display on it.</returns>
virtual public System.String GetText() {
- var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="text">Text string to display on it.</param>
virtual public void SetText(System.String text) {
- Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),text);
+ Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),text);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The on/off state of the check object.</summary>
/// <summary>Elementary check internal part class</summary>
[Efl.Ui.CheckLegacyPart.NativeMethods]
+[Efl.Eo.BindingEntity]
public class CheckLegacyPart : Efl.Ui.LayoutPartContent
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="CheckLegacyPart"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public CheckLegacyPart(Efl.Object parent= null
- ) : base(efl_ui_check_legacy_part_class_get(), typeof(CheckLegacyPart), parent)
+ ) : base(efl_ui_check_legacy_part_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected CheckLegacyPart(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="CheckLegacyPart"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected CheckLegacyPart(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected CheckLegacyPart(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="CheckLegacyPart"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected CheckLegacyPart(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected CheckLegacyPart(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>Efl UI clickable interface</summary>
[Efl.Ui.IClickableConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IClickable :
Efl.Eo.IWrapper, IDisposable
{
event EventHandler<Efl.Ui.IClickableLongpressedEvt_Args> LongpressedEvt;
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.IClickable.ClickedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IClickableClickedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Ui.ClickableClicked arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.IClickable.ClickedAnyEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IClickableClickedAnyEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Ui.ClickableClicked arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.IClickable.PressedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IClickablePressedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public int arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.IClickable.UnpressedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IClickableUnpressedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public int arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.IClickable.LongpressedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IClickableLongpressedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public int arg { get; set; }
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IClickableConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
efl_ui_clickable_mixin_get();
/// <summary>Initializes a new instance of the <see cref="IClickable"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IClickableConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IClickableConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_CLICKED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_CLICKED_ANY";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_PRESSED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_UNPRESSED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_LONGPRESSED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>A struct that expresses a click in elementary.</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct ClickableClicked
{
/// <summary>The amount of how often the clicked event was repeated in a certain amount of time</summary>
namespace Ui {
+/// <summary>Helper class that connects theme signals or object events to the <see cref="Efl.Ui.IClickable"/> interface.
+/// This simplifies creating widgets that implement the <see cref="Efl.Ui.IClickable"/> interface.</summary>
[Efl.Ui.ClickableUtil.NativeMethods]
+[Efl.Eo.BindingEntity]
public class ClickableUtil : Efl.Eo.EoWrapper
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="ClickableUtil"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public ClickableUtil(Efl.Object parent= null
- ) : base(efl_ui_clickable_util_class_get(), typeof(ClickableUtil), parent)
+ ) : base(efl_ui_clickable_util_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected ClickableUtil(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="ClickableUtil"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected ClickableUtil(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected ClickableUtil(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="ClickableUtil"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected ClickableUtil(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected ClickableUtil(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
- /// <summary>This will listen to the standard events of a theme, and emit the events on clickable
- /// This means, widgets themselfs do not neccessarily need to listen to the theme signals. This function does this, and calls the correct clickable functions.</summary>
- /// <param name="kw_object">The object to listen on</param>
- /// <param name="clickable">The object to call the clickable events on</param>
+ /// <summary>This will listen to the standard "click" events on a theme and emit the appropriate events through the <see cref="Efl.Ui.IClickable"/> interface.
+ /// Using these methods widgets do not need to listen to the theme signals. This class does it and calls the correct clickable functions.
+ ///
+ /// This handles theme signals "efl,action,press", "efl,action,unpress" and "efl,action,mouse_out", and the <see cref="Efl.Input.IInterface.PointerMoveEvt"/> event.</summary>
+ /// <param name="kw_object">The object to listen on.</param>
+ /// <param name="clickable">The object to call the clickable methods on.</param>
public static void BindToTheme(Efl.Canvas.Layout kw_object, Efl.Ui.IClickable clickable) {
Efl.Ui.ClickableUtil.NativeMethods.efl_ui_clickable_util_bind_to_theme_ptr.Value.Delegate(kw_object, clickable);
Eina.Error.RaiseIfUnhandledException();
}
- /// <summary>This will listen to the standard events on a object, and call the correct methods on clickable
- /// This means, widgets themselfs do not neccessarily need to listen to the events on the object. This function does this, and calls the correct clickable functions.</summary>
- /// <param name="kw_object">The object to listen on</param>
- /// <param name="clickable">The object to call the clickable events on</param>
+ /// <summary>This will listen to the standard "click" events on an object, and emit the appropriate events through the <see cref="Efl.Ui.IClickable"/> interface.
+ /// Using these methods widgets do not need to listen to the object events. This class does it and calls the correct clickable functions.
+ ///
+ /// The handled events are <see cref="Efl.Input.IInterface.PointerUpEvt"/> and <see cref="Efl.Input.IInterface.PointerDownEvt"/>.</summary>
+ /// <param name="kw_object">The object to listen on.</param>
+ /// <param name="clickable">The object to call the clickable methods on.</param>
public static void BindToObject(Efl.Input.IInterface kw_object, Efl.Ui.IClickable clickable) {
Efl.Ui.ClickableUtil.NativeMethods.efl_ui_clickable_util_bind_to_object_ptr.Value.Delegate(kw_object, clickable);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
/// <summary>Gets the list of Eo operations to override.</summary>
public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
{
var descs = new System.Collections.Generic.List<Efl_Op_Description>();
+ descs.AddRange(base.GetEoOps(type));
return descs;
}
/// <summary>Returns the Eo class for the native methods of this class.</summary>
/// <summary>Efl UI clock class</summary>
[Efl.Ui.Clock.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Clock : Efl.Ui.LayoutBase
{
///<summary>Pointer to the native class description.</summary>
efl_ui_clock_class_get();
/// <summary>Initializes a new instance of the <see cref="Clock"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public Clock(Efl.Object parent
- , System.String style = null) : base(efl_ui_clock_class_get(), typeof(Clock), parent)
+ , System.String style = null) : base(efl_ui_clock_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Clock(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Clock"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Clock(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Clock(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Clock"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Clock(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Clock(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_CLOCK_EVENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// Default format is taken as per the system locale settings.</summary>
/// <returns>The clock format.</returns>
virtual public System.String GetFormat() {
- var _ret_var = Efl.Ui.Clock.NativeMethods.efl_ui_clock_format_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Clock.NativeMethods.efl_ui_clock_format_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Default format is taken as per the system locale settings.</summary>
/// <param name="fmt">The clock format.</param>
virtual public void SetFormat(System.String fmt) {
- Efl.Ui.Clock.NativeMethods.efl_ui_clock_format_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),fmt);
+ Efl.Ui.Clock.NativeMethods.efl_ui_clock_format_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),fmt);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Whether the given clock widget should be paused or not.
/// This function pauses or starts the clock widget.</summary>
/// <returns><c>true</c> to pause clock, <c>false</c> otherwise</returns>
virtual public bool GetPause() {
- var _ret_var = Efl.Ui.Clock.NativeMethods.efl_ui_clock_pause_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Clock.NativeMethods.efl_ui_clock_pause_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This function pauses or starts the clock widget.</summary>
/// <param name="paused"><c>true</c> to pause clock, <c>false</c> otherwise</param>
virtual public void SetPause(bool paused) {
- Efl.Ui.Clock.NativeMethods.efl_ui_clock_pause_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),paused);
+ Efl.Ui.Clock.NativeMethods.efl_ui_clock_pause_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),paused);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Digits of the given clock widget should be editable when in editing mode.</summary>
/// <returns><c>true</c> to set edit mode, <c>false</c> otherwise</returns>
virtual public bool GetEditMode() {
- var _ret_var = Efl.Ui.Clock.NativeMethods.efl_ui_clock_edit_mode_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Clock.NativeMethods.efl_ui_clock_edit_mode_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Digits of the given clock widget should be editable when in editing mode.</summary>
/// <param name="value"><c>true</c> to set edit mode, <c>false</c> otherwise</param>
virtual public void SetEditMode(bool value) {
- Efl.Ui.Clock.NativeMethods.efl_ui_clock_edit_mode_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),value);
+ Efl.Ui.Clock.NativeMethods.efl_ui_clock_edit_mode_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),value);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The lower boundary of a field.
/// Minute: default value range is from 0 to 59.</summary>
/// <returns>Time structure containing the minimum time value.</returns>
virtual public Efl.Time GetTimeMin() {
- var _ret_var = Efl.Ui.Clock.NativeMethods.efl_ui_clock_time_min_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Clock.NativeMethods.efl_ui_clock_time_min_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="mintime">Time structure containing the minimum time value.</param>
virtual public void SetTimeMin(Efl.Time mintime) {
Efl.Time.NativeStruct _in_mintime = mintime;
- Efl.Ui.Clock.NativeMethods.efl_ui_clock_time_min_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_mintime);
+ Efl.Ui.Clock.NativeMethods.efl_ui_clock_time_min_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_mintime);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The upper boundary of a field.
/// Minute: default value range is from 0 to 59.</summary>
/// <returns>Time structure containing the maximum time value.</returns>
virtual public Efl.Time GetTimeMax() {
- var _ret_var = Efl.Ui.Clock.NativeMethods.efl_ui_clock_time_max_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Clock.NativeMethods.efl_ui_clock_time_max_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="maxtime">Time structure containing the maximum time value.</param>
virtual public void SetTimeMax(Efl.Time maxtime) {
Efl.Time.NativeStruct _in_maxtime = maxtime;
- Efl.Ui.Clock.NativeMethods.efl_ui_clock_time_max_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_maxtime);
+ Efl.Ui.Clock.NativeMethods.efl_ui_clock_time_max_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_maxtime);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The current value of a clock object.
/// Minute: default value range is from 0 to 59.</summary>
/// <returns>Time structure containing the time value.</returns>
virtual public Efl.Time GetTime() {
- var _ret_var = Efl.Ui.Clock.NativeMethods.efl_ui_clock_time_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Clock.NativeMethods.efl_ui_clock_time_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="curtime">Time structure containing the time value.</param>
virtual public void SetTime(Efl.Time curtime) {
Efl.Time.NativeStruct _in_curtime = curtime;
- Efl.Ui.Clock.NativeMethods.efl_ui_clock_time_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_curtime);
+ Efl.Ui.Clock.NativeMethods.efl_ui_clock_time_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_curtime);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The field to be visible/not.</summary>
/// <param name="fieldtype">Type of the field. #EFL_UI_CLOCK_TYPE_YEAR etc.</param>
/// <returns><c>true</c> field can be visible, <c>false</c> otherwise.</returns>
virtual public bool GetFieldVisible(Efl.Ui.ClockType fieldtype) {
- var _ret_var = Efl.Ui.Clock.NativeMethods.efl_ui_clock_field_visible_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),fieldtype);
+ var _ret_var = Efl.Ui.Clock.NativeMethods.efl_ui_clock_field_visible_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),fieldtype);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="fieldtype">Type of the field. #EFL_UI_CLOCK_TYPE_YEAR etc.</param>
/// <param name="visible"><c>true</c> field can be visible, <c>false</c> otherwise.</param>
virtual public void SetFieldVisible(Efl.Ui.ClockType fieldtype, bool visible) {
- Efl.Ui.Clock.NativeMethods.efl_ui_clock_field_visible_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),fieldtype, visible);
+ Efl.Ui.Clock.NativeMethods.efl_ui_clock_field_visible_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),fieldtype, visible);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the field limits of a field.
/// <param name="min">Reference to field's minimum value.</param>
/// <param name="max">Reference to field's maximum value.</param>
virtual public void GetFieldLimit(Efl.Ui.ClockType fieldtype, out int min, out int max) {
- Efl.Ui.Clock.NativeMethods.efl_ui_clock_field_limit_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),fieldtype, out min, out max);
+ Efl.Ui.Clock.NativeMethods.efl_ui_clock_field_limit_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),fieldtype, out min, out max);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set a field to be visible or not.
/// <param name="min">Reference to field's minimum value.</param>
/// <param name="max">Reference to field's maximum value.</param>
virtual public void SetFieldLimit(Efl.Ui.ClockType fieldtype, int min, int max) {
- Efl.Ui.Clock.NativeMethods.efl_ui_clock_field_limit_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),fieldtype, min, max);
+ Efl.Ui.Clock.NativeMethods.efl_ui_clock_field_limit_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),fieldtype, min, max);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The current clock format. Format is a combination of allowed Libc date format specifiers like: "%b %d, %Y %I : %M %p".
namespace Ui {
/// <summary>Identifies a clock field, The widget supports 6 fields : Year, month, Date, Hour, Minute, AM/PM</summary>
+[Efl.Eo.BindingEntity]
public enum ClockType
{
/// <summary>Indicates Year field.</summary>
/// <summary>Datepicker widget
/// This is a widget which allows the user to pick a date using internal spinner. User can use the internal spinner to select year, month, day or user can input value using internal entry.</summary>
[Efl.Ui.Datepicker.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Datepicker : Efl.Ui.LayoutBase
{
///<summary>Pointer to the native class description.</summary>
efl_ui_datepicker_class_get();
/// <summary>Initializes a new instance of the <see cref="Datepicker"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public Datepicker(Efl.Object parent
- , System.String style = null) : base(efl_ui_datepicker_class_get(), typeof(Datepicker), parent)
+ , System.String style = null) : base(efl_ui_datepicker_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Datepicker(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Datepicker"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Datepicker(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Datepicker(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Datepicker"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Datepicker(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Datepicker(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_DATEPICKER_EVENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// <param name="month">The month value from 1 to 12.</param>
/// <param name="day">The day value from 1 to 31.</param>
virtual public void GetMin(out int year, out int month, out int day) {
- Efl.Ui.Datepicker.NativeMethods.efl_ui_datepicker_min_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out year, out month, out day);
+ Efl.Ui.Datepicker.NativeMethods.efl_ui_datepicker_min_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out year, out month, out day);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The lower boundary of date.
/// <param name="month">The month value from 1 to 12.</param>
/// <param name="day">The day value from 1 to 31.</param>
virtual public void SetMin(int year, int month, int day) {
- Efl.Ui.Datepicker.NativeMethods.efl_ui_datepicker_min_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),year, month, day);
+ Efl.Ui.Datepicker.NativeMethods.efl_ui_datepicker_min_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),year, month, day);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The upper boundary of date.
/// <param name="month">The month value from 1 to 12.</param>
/// <param name="day">The day value from 1 to 31.</param>
virtual public void GetMax(out int year, out int month, out int day) {
- Efl.Ui.Datepicker.NativeMethods.efl_ui_datepicker_max_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out year, out month, out day);
+ Efl.Ui.Datepicker.NativeMethods.efl_ui_datepicker_max_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out year, out month, out day);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The upper boundary of date.
/// <param name="month">The month value from 1 to 12.</param>
/// <param name="day">The day value from 1 to 31.</param>
virtual public void SetMax(int year, int month, int day) {
- Efl.Ui.Datepicker.NativeMethods.efl_ui_datepicker_max_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),year, month, day);
+ Efl.Ui.Datepicker.NativeMethods.efl_ui_datepicker_max_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),year, month, day);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The current value of date.
/// <param name="month">The month value from 1 to 12.</param>
/// <param name="day">The day value from 1 to 31.</param>
virtual public void GetDate(out int year, out int month, out int day) {
- Efl.Ui.Datepicker.NativeMethods.efl_ui_datepicker_date_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out year, out month, out day);
+ Efl.Ui.Datepicker.NativeMethods.efl_ui_datepicker_date_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out year, out month, out day);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The current value of date.
/// <param name="month">The month value from 1 to 12.</param>
/// <param name="day">The day value from 1 to 31.</param>
virtual public void SetDate(int year, int month, int day) {
- Efl.Ui.Datepicker.NativeMethods.efl_ui_datepicker_date_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),year, month, day);
+ Efl.Ui.Datepicker.NativeMethods.efl_ui_datepicker_date_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),year, month, day);
Eina.Error.RaiseIfUnhandledException();
}
private static IntPtr GetEflClassStatic()
namespace Ui {
[Efl.Ui.IDndConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IDnd :
Efl.Eo.IWrapper, IDisposable
{
event EventHandler<Efl.Ui.IDndDragDropEvt_Args> DragDropEvt;
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.IDnd.DragAcceptEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IDndDragAcceptEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public bool arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.IDnd.DragPosEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IDndDragPosEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Dnd.DragPos arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.IDnd.DragDropEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IDndDragDropEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Ui.SelectionData arg { get; set; }
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IDndConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
efl_ui_dnd_mixin_get();
/// <summary>Initializes a new instance of the <see cref="IDnd"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IDndConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IDndConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_DND_EVENT_DRAG_ACCEPT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_DND_EVENT_DRAG_DONE";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_DND_EVENT_DRAG_ENTER";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_DND_EVENT_DRAG_LEAVE";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_DND_EVENT_DRAG_POS";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_DND_EVENT_DRAG_DROP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
/// <summary>Gets the list of Eo operations to override.</summary>
namespace Ui {
[Efl.Ui.IDndContainerConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IDndContainer :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IDndContainerConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
efl_ui_dnd_container_mixin_get();
/// <summary>Initializes a new instance of the <see cref="IDndContainer"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IDndContainerConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IDndContainerConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <param name="win">The window to create the objects relative to</param>
/// <param name="drag_obj">The drag object</param>
/// <param name="off">Offset from the icon position to the cursor</param>
+[Efl.Eo.BindingEntity]
public delegate Efl.Canvas.Object DragIconCreate(Efl.Canvas.Object win, Efl.Canvas.Object drag_obj, out Eina.Position2D off);
[return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]public delegate Efl.Canvas.Object DragIconCreateInternal(IntPtr data, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Object win, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Object drag_obj, out Eina.Position2D.NativeStruct off);
internal class DragIconCreateWrapper : IDisposable
/// <param name="format">Data format</param>
/// <param name="drag_data">Data</param>
/// <param name="action">The drag action</param>
+[Efl.Eo.BindingEntity]
public delegate void DragDataGet(Efl.Canvas.Object obj, out Efl.Ui.SelectionFormat format, ref Eina.RwSlice drag_data, out Efl.Ui.SelectionAction action);
public delegate void DragDataGetInternal(IntPtr data, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Object obj, out Efl.Ui.SelectionFormat format, ref Eina.RwSlice drag_data, out Efl.Ui.SelectionAction action);
internal class DragDataGetWrapper : IDisposable
/// <param name="obj">The container object</param>
/// <param name="pos">The coordinates to get item</param>
/// <param name="posret">position relative to item (left (-1), middle (0), right (1)</param>
+[Efl.Eo.BindingEntity]
public delegate Efl.Object ItemGet(Efl.Canvas.Object obj, Eina.Position2D pos, out Eina.Position2D posret);
[return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]public delegate Efl.Object ItemGetInternal(IntPtr data, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Object obj, Eina.Position2D.NativeStruct pos, out Eina.Position2D.NativeStruct posret);
internal class ItemGetWrapper : IDisposable
namespace Dnd {
/// <param name="obj">The container object</param>
+[Efl.Eo.BindingEntity]
public delegate Eina.List<Efl.Canvas.Object> DragIconListCreate(Efl.Canvas.Object obj);
public delegate System.IntPtr DragIconListCreateInternal(IntPtr data, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Object obj);
internal class DragIconListCreateWrapper : IDisposable
namespace Dnd {
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct DragAccept
{
public bool Accepted;
namespace Dnd {
+/// <summary>Dragging position information.</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct DragPos
{
/// <summary>Evas Coordinate</summary>
namespace Dnd {
+/// <summary>Drop information for a drag&drop operation.</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct DragItemContainerDrop
{
/// <summary>The item object</summary>
/// <summary>Common interface for draggable objects and parts.</summary>
[Efl.Ui.IDragConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IDrag :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IDragConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_ui_drag_interface_get();
/// <summary>Initializes a new instance of the <see cref="IDrag"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IDragConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IDragConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Efl UI draggable interface</summary>
[Efl.Ui.IDraggableConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IDraggable :
Efl.Eo.IWrapper, IDisposable
{
}
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.IDraggable.DragEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IDraggableDragEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Object arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.IDraggable.DragStopEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IDraggableDragStopEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Object arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.IDraggable.DragStartUpEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IDraggableDragStartUpEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Object arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.IDraggable.DragStartDownEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IDraggableDragStartDownEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Object arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.IDraggable.DragStartRightEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IDraggableDragStartRightEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Object arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.IDraggable.DragStartLeftEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IDraggableDragStartLeftEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Object arg { get; set; }
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IDraggableConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_ui_draggable_interface_get();
/// <summary>Initializes a new instance of the <see cref="IDraggable"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IDraggableConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IDraggableConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_DRAG";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_DRAG_START";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_DRAG_STOP";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_DRAG_END";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_DRAG_START_UP";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_DRAG_START_DOWN";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_DRAG_START_RIGHT";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_DRAG_START_LEFT";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Efl UI factory interface</summary>
[Efl.Ui.IFactoryConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IFactory :
Efl.Ui.IFactoryBind ,
Efl.Ui.IPropertyBind ,
event EventHandler<Efl.Ui.IFactoryCreatedEvt_Args> CreatedEvt;
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.IFactory.CreatedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IFactoryCreatedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Ui.FactoryItemCreatedEvent arg { get; set; }
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IFactoryConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_ui_factory_interface_get();
/// <summary>Initializes a new instance of the <see cref="IFactory"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IFactoryConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IFactoryConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FACTORY_EVENT_CREATED";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_PROPERTY_BIND_EVENT_PROPERTIES_CHANGED";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_PROPERTY_BIND_EVENT_PROPERTY_BOUND";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>EFL Ui Factory event structure provided when an item was just created.</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct FactoryItemCreatedEvent
{
/// <summary>The model already set on the new item.</summary>
/// <summary>Efl UI Property interface. view object can have <see cref="Efl.IModel"/> and need to set cotent with those model stored data. the interface can help binding the factory to create object with model property data. see <see cref="Efl.IModel"/> see <see cref="Efl.Ui.IFactory"/></summary>
[Efl.Ui.IFactoryBindConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IFactoryBind :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IFactoryBindConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_ui_factory_bind_interface_get();
/// <summary>Initializes a new instance of the <see cref="IFactoryBind"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IFactoryBindConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IFactoryBindConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Efl UI flip class</summary>
[Efl.Ui.Flip.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Flip : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPackLinear
{
///<summary>Pointer to the native class description.</summary>
efl_ui_flip_class_get();
/// <summary>Initializes a new instance of the <see cref="Flip"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public Flip(Efl.Object parent
- , System.String style = null) : base(efl_ui_flip_class_get(), typeof(Flip), parent)
+ , System.String style = null) : base(efl_ui_flip_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Flip(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Flip"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Flip(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Flip(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Flip"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Flip(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Flip(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FLIP_EVENT_ANIMATE_BEGIN";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FLIP_EVENT_ANIMATE_DONE";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// <summary>Get the interactive flip mode.</summary>
/// <returns>The interactive flip mode to use.</returns>
virtual public Efl.Ui.FlipInteraction GetInteraction() {
- var _ret_var = Efl.Ui.Flip.NativeMethods.efl_ui_flip_interaction_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Flip.NativeMethods.efl_ui_flip_interaction_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Note: #ELM_FLIP_INTERACTION_ROTATE won't cause #ELM_FLIP_ROTATE_XZ_CENTER_AXIS or #ELM_FLIP_ROTATE_YZ_CENTER_AXIS to happen, those can only be achieved with <see cref="Efl.Ui.Flip.Go"/>.</summary>
/// <param name="mode">The interactive flip mode to use.</param>
virtual public void SetInteraction(Efl.Ui.FlipInteraction mode) {
- Efl.Ui.Flip.NativeMethods.efl_ui_flip_interaction_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),mode);
+ Efl.Ui.Flip.NativeMethods.efl_ui_flip_interaction_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),mode);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get flip front visibility state.</summary>
/// <returns><c>true</c> if front front is showing, <c>false</c> if the back is showing.</returns>
virtual public bool GetFrontVisible() {
- var _ret_var = Efl.Ui.Flip.NativeMethods.efl_ui_flip_front_visible_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Flip.NativeMethods.efl_ui_flip_front_visible_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="dir">The hit area to set.</param>
/// <param name="hitsize">The amount of that dimension (0.0 to 1.0) to use.</param>
virtual public void SetInteractionDirectionHitsize(Efl.Ui.LayoutOrientation dir, double hitsize) {
- Efl.Ui.Flip.NativeMethods.efl_ui_flip_interaction_direction_hitsize_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dir, hitsize);
+ Efl.Ui.Flip.NativeMethods.efl_ui_flip_interaction_direction_hitsize_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dir, hitsize);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the amount of the flip that is sensitive to interactive flip.</summary>
/// <param name="dir">The direction to check.</param>
/// <returns>The size set for that direction.</returns>
virtual public double GetInteractionDirectionHitsize(Efl.Ui.LayoutOrientation dir) {
- var _ret_var = Efl.Ui.Flip.NativeMethods.efl_ui_flip_interaction_direction_hitsize_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dir);
+ var _ret_var = Efl.Ui.Flip.NativeMethods.efl_ui_flip_interaction_direction_hitsize_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dir);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="dir">The direction to change.</param>
/// <param name="enabled">If that direction is enabled or not.</param>
virtual public void SetInteractionDirectionEnabled(Efl.Ui.LayoutOrientation dir, bool enabled) {
- Efl.Ui.Flip.NativeMethods.efl_ui_flip_interaction_direction_enabled_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dir, enabled);
+ Efl.Ui.Flip.NativeMethods.efl_ui_flip_interaction_direction_enabled_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dir, enabled);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the enabled state of that flip direction.</summary>
/// <param name="dir">The direction to check.</param>
/// <returns>If that direction is enabled or not.</returns>
virtual public bool GetInteractionDirectionEnabled(Efl.Ui.LayoutOrientation dir) {
- var _ret_var = Efl.Ui.Flip.NativeMethods.efl_ui_flip_interaction_direction_enabled_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dir);
+ var _ret_var = Efl.Ui.Flip.NativeMethods.efl_ui_flip_interaction_direction_enabled_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dir);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// There a number of possible animations to use for flipping, namely #ELM_FLIP_ROTATE_X_CENTER_AXIS (rotate the currently visible content around a horizontal axis in the middle of its height, the other content is shown as the other side of the flip), #ELM_FLIP_ROTATE_Y_CENTER_AXIS (rotate the currently visible content around a vertical axis in the middle of its width, the other content is shown as the other side of the flip), #ELM_FLIP_ROTATE_XZ_CENTER_AXIS (rotate the currently visible content around a diagonal axis in the middle of its width, the other content is shown as the other side of the flip), #ELM_FLIP_ROTATE_YZ_CENTER_AXIS (rotate the currently visible content around a diagonal axis in the middle of its height, the other content is shown as the other side of the flip). #ELM_FLIP_CUBE_LEFT (rotate the currently visible content to the left as if the flip was a cube, the other content is shown as the right face of the cube), #ELM_FLIP_CUBE_RIGHT (rotate the currently visible content to the right as if the flip was a cube, the other content is shown as the left face of the cube), #ELM_FLIP_CUBE_UP (rotate the currently visible content up as if the flip was a cube, the other content is shown as the bottom face of the cube), #ELM_FLIP_CUBE_DOWN (rotate the currently visible content down as if the flip was a cube, the other content is shown as the upper face of the cube), #ELM_FLIP_PAGE_LEFT (move the currently visible content to the left as if the flip was a book, the other content is shown as the page below that), #ELM_FLIP_PAGE_RIGHT (move the currently visible content to the right as if the flip was a book, the other content is shown as the page below it), #ELM_FLIP_PAGE_UP (move the currently visible content up as if the flip was a book, the other content is shown as the page below it), #ELM_FLIP_PAGE_DOWN (move the currently visible content down as if the flip was a book, the other content is shown as the page below that) and #ELM_FLIP_CROSS_FADE (fade out the currently visible content, while fading in the invisible content).</summary>
/// <param name="mode">The mode type.</param>
virtual public void Go(Efl.Ui.FlipMode mode) {
- Efl.Ui.Flip.NativeMethods.efl_ui_flip_go_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),mode);
+ Efl.Ui.Flip.NativeMethods.efl_ui_flip_go_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),mode);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Runs the flip animation to front or back.
/// <param name="front">If <c>true</c>, makes front visible, otherwise makes back.</param>
/// <param name="mode">The mode type.</param>
virtual public void GoTo(bool front, Efl.Ui.FlipMode mode) {
- Efl.Ui.Flip.NativeMethods.efl_ui_flip_go_to_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),front, mode);
+ Efl.Ui.Flip.NativeMethods.efl_ui_flip_go_to_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),front, mode);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Begin iterating over this object's contents.
/// (Since EFL 1.22)</summary>
/// <returns>Iterator on object's content.</returns>
virtual public Eina.Iterator<Efl.Gfx.IEntity> ContentIterate() {
- var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_iterate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_iterate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true, false);
+ return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true);
}
/// <summary>Returns the number of contained sub-objects.
/// (Since EFL 1.22)</summary>
/// <returns>Number of sub-objects.</returns>
virtual public int ContentCount() {
- var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_count_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_count_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Removes all packed sub-objects and unreferences them.</summary>
/// <returns><c>true</c> on success, <c>false</c> otherwise.</returns>
virtual public bool ClearPack() {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_clear_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_clear_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Use with caution.</summary>
/// <returns><c>true</c> on success, <c>false</c> otherwise.</returns>
virtual public bool UnpackAll() {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_all_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_all_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="subobj">The sub-object to unpack.</param>
/// <returns><c>false</c> if <c>subobj</c> wasn't in the container or couldn't be removed.</returns>
virtual public bool Unpack(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="subobj">The object to pack.</param>
/// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
virtual public bool Pack(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="subobj">Object to pack at the beginning.</param>
/// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
virtual public bool PackBegin(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_begin_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_begin_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="subobj">Object to pack at the end.</param>
/// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
virtual public bool PackEnd(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_end_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_end_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="existing">Existing reference sub-object.</param>
/// <returns><c>false</c> if <c>existing</c> could not be found or <c>subobj</c> could not be packed.</returns>
virtual public bool PackBefore(Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_before_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj, existing);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_before_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, existing);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="existing">Existing reference sub-object.</param>
/// <returns><c>false</c> if <c>existing</c> could not be found or <c>subobj</c> could not be packed.</returns>
virtual public bool PackAfter(Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_after_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj, existing);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_after_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, existing);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="index">Index of existing sub-object to insert BEFORE. Valid range is -<c>count</c> to (<c>count</c>-1).</param>
/// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
virtual public bool PackAt(Efl.Gfx.IEntity subobj, int index) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_at_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj, index);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_at_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, index);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="index">Index of the existing sub-object to retrieve. Valid range is -<c>count</c> to (<c>count</c>-1).</param>
/// <returns>The sub-object contained at the given <c>index</c>.</returns>
virtual public Efl.Gfx.IEntity GetPackContent(int index) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),index);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),index);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="subobj">An existing sub-object in this container.</param>
/// <returns>-1 in case <c>subobj</c> is not found, or the index of <c>subobj</c> in the range 0 to (<c>count</c>-1).</returns>
virtual public int GetPackIndex(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_index_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_index_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="index">Index of the sub-object to remove. Valid range is -<c>count</c> to (<c>count</c>-1).</param>
/// <returns>The sub-object if it could be removed.</returns>
virtual public Efl.Gfx.IEntity PackUnpackAt(int index) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_unpack_at_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),index);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_unpack_at_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),index);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
namespace Ui {
/// <summary>Efl UI flip mode</summary>
+[Efl.Eo.BindingEntity]
public enum FlipMode
{
/// <summary>Rotate Y center axis flip mode</summary>
namespace Ui {
/// <summary>Efl UI flip interaction</summary>
+[Efl.Eo.BindingEntity]
public enum FlipInteraction
{
/// <summary>No interaction</summary>
/// <summary>Efl UI flip internal class</summary>
[Efl.Ui.FlipPart.NativeMethods]
+[Efl.Eo.BindingEntity]
public class FlipPart : Efl.Ui.WidgetPart, Efl.IContent
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="FlipPart"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public FlipPart(Efl.Object parent= null
- ) : base(efl_ui_flip_part_class_get(), typeof(FlipPart), parent)
+ ) : base(efl_ui_flip_part_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected FlipPart(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="FlipPart"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected FlipPart(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected FlipPart(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="FlipPart"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected FlipPart(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected FlipPart(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// (Since EFL 1.22)</summary>
/// <returns>The sub-object.</returns>
virtual public Efl.Gfx.IEntity GetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="content">The sub-object.</param>
/// <returns><c>true</c> if <c>content</c> was successfully swallowed.</returns>
virtual public bool SetContent(Efl.Gfx.IEntity content) {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),content);
+ 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);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Unswallowed object</returns>
virtual public Efl.Gfx.IEntity UnsetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>This defines the inheriting widget as Composition widget.
/// A composition widget is a widget that's the logical parent of another set of widgets which can be used for interaction.</summary>
[Efl.Ui.Focus.ICompositionConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IComposition :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private ICompositionConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
efl_ui_focus_composition_mixin_get();
/// <summary>Initializes a new instance of the <see cref="IComposition"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private ICompositionConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private ICompositionConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
/// <summary>Gets the list of Eo operations to override.</summary>
///
/// Once the object is hidden or destroyed the focus will go back to the mainwindow, where it was before.</summary>
[Efl.Ui.Focus.ILayerConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface ILayer :
Efl.Ui.IWidgetFocusManager ,
Efl.Eo.IWrapper, IDisposable
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private ILayerConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
efl_ui_focus_layer_mixin_get();
/// <summary>Initializes a new instance of the <see cref="ILayer"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private ILayerConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private ILayerConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_REDIRECT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_FLUSH_PRE";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_COORDS_DIRTY";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_MANAGER_FOCUS_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_DIRTY_LOGIC_FREEZE_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
public Eina.Iterator<Efl.Ui.Focus.IObject> GetBorderElements() {
var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_border_elements_get_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false, false);
+ return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false);
}
/// <summary>Get all elements that are at the border of the viewport
/// Every element returned by this is located inside the viewport rectangle, but has a right, left, down or up neighbor outside the viewport.
Eina.Rect.NativeStruct _in_viewport = viewport;
var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_viewport_elements_get_ptr.Value.Delegate(this.NativeHandle,_in_viewport);
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false, false);
+ return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false);
}
/// <summary>Root node for all logical subtrees.
/// This property can only be set once.
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
/// <summary>Gets the list of Eo operations to override.</summary>
/// This interface is built in order to support movement of the focus property in a set of widgets. The movement of the focus property can happen in a tree manner, or a graph manner. The movement is also keeping track of the history of focused elements. The tree interpretation differentiates between logical and non-logical widgets, a logical widget cannot receive focus whereas a non-logical one can.
/// (Since EFL 1.22)</summary>
[Efl.Ui.Focus.IManagerConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IManager :
Efl.Eo.IWrapper, IDisposable
{
}
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.Focus.IManager.RedirectChangedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IManagerRedirectChangedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Ui.Focus.IManager arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.Focus.IManager.ManagerFocusChangedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IManagerManagerFocusChangedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Ui.Focus.IObject arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.Focus.IManager.DirtyLogicFreezeChangedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IManagerDirtyLogicFreezeChangedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public bool arg { get; set; }
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IManagerConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
efl_ui_focus_manager_interface_get();
/// <summary>Initializes a new instance of the <see cref="IManager"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IManagerConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IManagerConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_REDIRECT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_FLUSH_PRE";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_COORDS_DIRTY";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_MANAGER_FOCUS_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_DIRTY_LOGIC_FREEZE_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
public Eina.Iterator<Efl.Ui.Focus.IObject> GetBorderElements() {
var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_border_elements_get_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false, false);
+ return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false);
}
/// <summary>Get all elements that are at the border of the viewport
/// Every element returned by this is located inside the viewport rectangle, but has a right, left, down or up neighbor outside the viewport.
Eina.Rect.NativeStruct _in_viewport = viewport;
var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_viewport_elements_get_ptr.Value.Delegate(this.NativeHandle,_in_viewport);
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false, false);
+ return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false);
}
/// <summary>Root node for all logical subtrees.
/// This property can only be set once.
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Structure holding the graph of relations between focusable objects.</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct Relations
{
/// <summary>List of objects on the right side</summary>
/// <summary>Structure holding the focus object with extra information on logical end
/// (Since EFL 1.22)</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct ManagerLogicalEndDetail
{
/// <summary><c>true</c> if element is registered as regular element in the <see cref="Efl.Ui.Focus.IManager"/> obejct, <c>false</c> otherwise</summary>
/// <summary>Calculates the directions of Efl.Ui.Focus.Direction
/// Each registered item will get an other registered object in each direction. You can get items for the currently focused item if you call request move.</summary>
[Efl.Ui.Focus.ManagerCalc.NativeMethods]
+[Efl.Eo.BindingEntity]
public class ManagerCalc : Efl.Object, Efl.Ui.Focus.IManager
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="ManagerCalc"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public ManagerCalc(Efl.Object parent= null
- ) : base(efl_ui_focus_manager_calc_class_get(), typeof(ManagerCalc), parent)
+ ) : base(efl_ui_focus_manager_calc_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected ManagerCalc(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="ManagerCalc"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected ManagerCalc(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected ManagerCalc(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="ManagerCalc"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected ManagerCalc(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected ManagerCalc(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_REDIRECT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_FLUSH_PRE";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_COORDS_DIRTY";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_MANAGER_FOCUS_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_DIRTY_LOGIC_FREEZE_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// <param name="redirect">The redirect manager to set once this child is focused can be NULL for no redirect</param>
/// <returns><c>true</c> if successful, <c>false</c> otherwise</returns>
virtual public bool Register(Efl.Ui.Focus.IObject child, Efl.Ui.Focus.IObject parent, Efl.Ui.Focus.IManager redirect) {
- var _ret_var = Efl.Ui.Focus.ManagerCalc.NativeMethods.efl_ui_focus_manager_calc_register_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),child, parent, redirect);
+ var _ret_var = Efl.Ui.Focus.ManagerCalc.NativeMethods.efl_ui_focus_manager_calc_register_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),child, parent, redirect);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="redirect">The redirect manager to set once this child is focused can be <c>null</c> for no redirect</param>
/// <returns><c>true</c> if successful, <c>false</c> otherwise</returns>
virtual public bool RegisterLogical(Efl.Ui.Focus.IObject child, Efl.Ui.Focus.IObject parent, Efl.Ui.Focus.IManager redirect) {
- var _ret_var = Efl.Ui.Focus.ManagerCalc.NativeMethods.efl_ui_focus_manager_calc_register_logical_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),child, parent, redirect);
+ var _ret_var = Efl.Ui.Focus.ManagerCalc.NativeMethods.efl_ui_focus_manager_calc_register_logical_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),child, parent, redirect);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="redirect">Once <c>child</c> is focused this element will be set as redirect</param>
/// <returns><c>true</c> if successful, <c>false</c> otherwise</returns>
virtual public bool UpdateRedirect(Efl.Ui.Focus.IObject child, Efl.Ui.Focus.IManager redirect) {
- var _ret_var = Efl.Ui.Focus.ManagerCalc.NativeMethods.efl_ui_focus_manager_calc_update_redirect_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),child, redirect);
+ var _ret_var = Efl.Ui.Focus.ManagerCalc.NativeMethods.efl_ui_focus_manager_calc_update_redirect_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),child, redirect);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="parent">The parent which now will be the logical parent of child</param>
/// <returns><c>true</c> if successful, <c>false</c> otherwise</returns>
virtual public bool UpdateParent(Efl.Ui.Focus.IObject child, Efl.Ui.Focus.IObject parent) {
- var _ret_var = Efl.Ui.Focus.ManagerCalc.NativeMethods.efl_ui_focus_manager_calc_update_parent_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),child, parent);
+ var _ret_var = Efl.Ui.Focus.ManagerCalc.NativeMethods.efl_ui_focus_manager_calc_update_parent_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),child, parent);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
virtual public bool UpdateChildren(Efl.Ui.Focus.IObject parent, Eina.List<Efl.Ui.Focus.IObject> children) {
var _in_children = children.Handle;
children.Own = false;
- var _ret_var = Efl.Ui.Focus.ManagerCalc.NativeMethods.efl_ui_focus_manager_calc_update_children_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),parent, _in_children);
+ var _ret_var = Efl.Ui.Focus.ManagerCalc.NativeMethods.efl_ui_focus_manager_calc_update_children_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),parent, _in_children);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
virtual public void UpdateOrder(Efl.Ui.Focus.IObject parent, Eina.List<Efl.Ui.Focus.IObject> children) {
var _in_children = children.Handle;
children.Own = false;
- Efl.Ui.Focus.ManagerCalc.NativeMethods.efl_ui_focus_manager_calc_update_order_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),parent, _in_children);
+ Efl.Ui.Focus.ManagerCalc.NativeMethods.efl_ui_focus_manager_calc_update_order_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),parent, _in_children);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Unregister the given item from the focus graph.</summary>
/// <param name="child">The child to unregister.</param>
virtual public void Unregister(Efl.Ui.Focus.IObject child) {
- Efl.Ui.Focus.ManagerCalc.NativeMethods.efl_ui_focus_manager_calc_unregister_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),child);
+ Efl.Ui.Focus.ManagerCalc.NativeMethods.efl_ui_focus_manager_calc_unregister_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),child);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The element which is currently focused by this manager
/// (Since EFL 1.22)</summary>
/// <returns>Currently focused element.</returns>
virtual public Efl.Ui.Focus.IObject GetManagerFocus() {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_focus_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_focus_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="focus">Currently focused element.</param>
virtual public void SetManagerFocus(Efl.Ui.Focus.IObject focus) {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_focus_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),focus);
+ Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_focus_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),focus);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Add another manager to serve the move requests.
/// (Since EFL 1.22)</summary>
/// <returns>The redirect manager.</returns>
virtual public Efl.Ui.Focus.IManager GetRedirect() {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_redirect_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_redirect_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="redirect">The redirect manager.</param>
virtual public void SetRedirect(Efl.Ui.Focus.IManager redirect) {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_redirect_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),redirect);
+ Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_redirect_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),redirect);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The list of elements which are at the border of the graph.
/// (Since EFL 1.22)</summary>
/// <returns>An iterator over the border objects.</returns>
virtual public Eina.Iterator<Efl.Ui.Focus.IObject> GetBorderElements() {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_border_elements_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_border_elements_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false, false);
+ return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false);
}
/// <summary>Get all elements that are at the border of the viewport
/// Every element returned by this is located inside the viewport rectangle, but has a right, left, down or up neighbor outside the viewport.
/// <returns>The list of border objects.</returns>
virtual public Eina.Iterator<Efl.Ui.Focus.IObject> GetViewportElements(Eina.Rect viewport) {
Eina.Rect.NativeStruct _in_viewport = viewport;
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_viewport_elements_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_viewport);
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_viewport_elements_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_viewport);
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false, false);
+ return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false);
}
/// <summary>Root node for all logical subtrees.
/// This property can only be set once.
/// (Since EFL 1.22)</summary>
/// <returns>Will be registered into this manager object.</returns>
virtual public Efl.Ui.Focus.IObject GetRoot() {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_root_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_root_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="root">Will be registered into this manager object.</param>
/// <returns>If <c>true</c>, this is the root node</returns>
virtual public bool SetRoot(Efl.Ui.Focus.IObject root) {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_root_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),root);
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_root_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),root);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="direction">The direction to move to.</param>
/// <returns>The element which is now focused.</returns>
virtual public Efl.Ui.Focus.IObject Move(Efl.Ui.Focus.Direction direction) {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_move_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),direction);
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_move_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),direction);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="logical">Wether you want to have a logical node as result or a non-logical. Note, in a <see cref="Efl.Ui.Focus.IManager.Move"/> call no logical node will get focus.</param>
/// <returns>Object that would receive focus if moved in the given direction.</returns>
virtual public Efl.Ui.Focus.IObject MoveRequest(Efl.Ui.Focus.Direction direction, Efl.Ui.Focus.IObject child, bool logical) {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_request_move_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),direction, child, logical);
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_request_move_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),direction, child, logical);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="root">Parent for returned child.</param>
/// <returns>Child of passed parameter.</returns>
virtual public Efl.Ui.Focus.IObject RequestSubchild(Efl.Ui.Focus.IObject root) {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_request_subchild_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),root);
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_request_subchild_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),root);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="child">The child object to inspect.</param>
/// <returns>The list of relations starting from <c>child</c>.</returns>
virtual public Efl.Ui.Focus.Relations Fetch(Efl.Ui.Focus.IObject child) {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_fetch_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),child);
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_fetch_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),child);
Eina.Error.RaiseIfUnhandledException();
var __ret_tmp = Eina.PrimitiveConversion.PointerToManaged<Efl.Ui.Focus.Relations>(_ret_var);
Marshal.FreeHGlobal(_ret_var);
/// (Since EFL 1.22)</summary>
/// <returns>Last object.</returns>
virtual public Efl.Ui.Focus.ManagerLogicalEndDetail LogicalEnd() {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_logical_end_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_logical_end_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// You should focus another element immediately after calling this, in order to always have a focused object.
/// (Since EFL 1.22)</summary>
virtual public void ResetHistory() {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_reset_history_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_reset_history_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Remove the uppermost history element, and focus the previous one.
/// If there is an element that was focused before, it will be used. Otherwise, the best fitting element from the registered elements will be focused.
/// (Since EFL 1.22)</summary>
virtual public void PopHistoryStack() {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_pop_history_stack_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_pop_history_stack_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Called when this manager is set as redirect.
/// <param name="direction">The direction in which this should be setup.</param>
/// <param name="entry">The object that caused this manager to be redirect.</param>
virtual public void SetupOnFirstTouch(Efl.Ui.Focus.Direction direction, Efl.Ui.Focus.IObject entry) {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_setup_on_first_touch_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),direction, entry);
+ Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_setup_on_first_touch_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),direction, entry);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This disables the cache invalidation when an object is moved.
/// Even if an object is moved, the focus manager will not recalculate its relations. This can be used when you know that the set of widgets in the focus manager is moved the same way, so the relations between the widets in the set do not change and the complex calculations can be avoided. Use <see cref="Efl.Ui.Focus.IManager.DirtyLogicUnfreeze"/> to re-enable relationship calculation.
/// (Since EFL 1.22)</summary>
virtual public void FreezeDirtyLogic() {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_dirty_logic_freeze_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_dirty_logic_freeze_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This enables the cache invalidation when an object is moved.
/// This is the counterpart to <see cref="Efl.Ui.Focus.IManager.FreezeDirtyLogic"/>.
/// (Since EFL 1.22)</summary>
virtual public void DirtyLogicUnfreeze() {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_dirty_logic_unfreeze_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_dirty_logic_unfreeze_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The element which is currently focused by this manager
/// <summary>This class ensures that the root is at least focusable, if nothing else is focusable</summary>
[Efl.Ui.Focus.ManagerRootFocus.NativeMethods]
+[Efl.Eo.BindingEntity]
public class ManagerRootFocus : Efl.Ui.Focus.ManagerCalc
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="ManagerRootFocus"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public ManagerRootFocus(Efl.Object parent= null
- ) : base(efl_ui_focus_manager_root_focus_class_get(), typeof(ManagerRootFocus), parent)
+ ) : base(efl_ui_focus_manager_root_focus_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected ManagerRootFocus(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="ManagerRootFocus"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected ManagerRootFocus(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected ManagerRootFocus(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="ManagerRootFocus"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected ManagerRootFocus(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected ManagerRootFocus(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>The default replacement object for the case that there is no focusable object inside the manager is the root object. However, you can change this by setting this value to something else. <c>null</c> is triggered as the same value as Efl.Ui.Focus.Manager.root.get</summary>
/// <returns>Canvas object</returns>
virtual public Efl.Canvas.Object GetCanvasObject() {
- var _ret_var = Efl.Ui.Focus.ManagerRootFocus.NativeMethods.efl_ui_focus_manager_root_focus_canvas_object_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.ManagerRootFocus.NativeMethods.efl_ui_focus_manager_root_focus_canvas_object_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>The default replacement object for the case that there is no focusable object inside the manager is the root object. However, you can change this by setting this value to something else. <c>null</c> is triggered as the same value as Efl.Ui.Focus.Manager.root.get</summary>
/// <param name="canvas_object">Canvas object</param>
virtual public void SetCanvasObject(Efl.Canvas.Object canvas_object) {
- Efl.Ui.Focus.ManagerRootFocus.NativeMethods.efl_ui_focus_manager_root_focus_canvas_object_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),canvas_object);
+ Efl.Ui.Focus.ManagerRootFocus.NativeMethods.efl_ui_focus_manager_root_focus_canvas_object_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),canvas_object);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The default replacement object for the case that there is no focusable object inside the manager is the root object. However, you can change this by setting this value to something else. <c>null</c> is triggered as the same value as Efl.Ui.Focus.Manager.root.get</summary>
///
/// You can filter the border elements by overriding the property <see cref="Efl.Ui.Focus.IManager.GetBorderElements"/>.</summary>
[Efl.Ui.Focus.IManagerSubConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IManagerSub :
Efl.Ui.Focus.IManager ,
Efl.Eo.IWrapper, IDisposable
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IManagerSubConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
efl_ui_focus_manager_sub_mixin_get();
/// <summary>Initializes a new instance of the <see cref="IManagerSub"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IManagerSubConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IManagerSubConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_REDIRECT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_FLUSH_PRE";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_COORDS_DIRTY";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_MANAGER_FOCUS_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_DIRTY_LOGIC_FREEZE_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
public Eina.Iterator<Efl.Ui.Focus.IObject> GetBorderElements() {
var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_border_elements_get_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false, false);
+ return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false);
}
/// <summary>Get all elements that are at the border of the viewport
/// Every element returned by this is located inside the viewport rectangle, but has a right, left, down or up neighbor outside the viewport.
Eina.Rect.NativeStruct _in_viewport = viewport;
var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_viewport_elements_get_ptr.Value.Delegate(this.NativeHandle,_in_viewport);
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false, false);
+ return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false);
}
/// <summary>Root node for all logical subtrees.
/// This property can only be set once.
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
/// <summary>Gets the list of Eo operations to override.</summary>
/// Focusmanagers are ensuring that if they give focus to something, that they are registered in the upper focus manager. The most upper focus manager does not need to do that, and can implement this interface to indicate that.
/// (Since EFL 1.22)</summary>
[Efl.Ui.Focus.IManagerWindowRootConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IManagerWindowRoot :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IManagerWindowRootConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
efl_ui_focus_manager_window_root_interface_get();
/// <summary>Initializes a new instance of the <see cref="IManagerWindowRoot"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IManagerWindowRootConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IManagerWindowRootConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
/// <summary>Gets the list of Eo operations to override.</summary>
/// <returns>The list of Eo operations to be overload.</returns>
/// <summary>Functions of focusable objects.
/// (Since EFL 1.22)</summary>
[Efl.Ui.Focus.IObjectConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IObject :
Efl.Eo.IWrapper, IDisposable
{
}
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.Focus.IObject.FocusChangedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IObjectFocusChangedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public bool arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.Focus.IObject.FocusManagerChangedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IObjectFocusManagerChangedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Ui.Focus.IManager arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.Focus.IObject.FocusParentChangedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IObjectFocusParentChangedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Ui.Focus.IObject arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.Focus.IObject.ChildFocusChangedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IObjectChildFocusChangedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public bool arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.Focus.IObject.FocusGeometryChangedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IObjectFocusGeometryChangedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Eina.Rect arg { get; set; }
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IObjectConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
efl_ui_focus_object_mixin_get();
/// <summary>Initializes a new instance of the <see cref="IObject"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IObjectConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IObjectConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_MANAGER_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_PARENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_OBJECT_EVENT_CHILD_FOCUS_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_GEOMETRY_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>EFL UI Focus Util class</summary>
[Efl.Ui.Focus.Util.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Util : Efl.Object
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="Util"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public Util(Efl.Object parent= null
- ) : base(efl_ui_focus_util_class_get(), typeof(Util), parent)
+ ) : base(efl_ui_focus_util_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Util(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Util"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Util(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Util(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Util"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Util(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Util(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
namespace Ui {
-/// <param name="str">the formated string to be appended by user.</param>
-/// <param name="value">The <see cref="Eina.Value"/> passed by <c>obj</c>.</param>
-public delegate void FormatFuncCb(Eina.Strbuf str, Eina.Value value);
-public delegate void FormatFuncCbInternal(IntPtr data, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StrbufKeepOwnershipMarshaler))] Eina.Strbuf str, Eina.ValueNative value);
-internal class FormatFuncCbWrapper : IDisposable
+/// <param name="str">Output formatted string. Its contents will be overwritten by this method.</param>
+/// <param name="value">The <see cref="Eina.Value"/> to convert to text.</param>
+[Efl.Eo.BindingEntity]
+public delegate bool FormatFunc(Eina.Strbuf str, Eina.Value value);
+[return: MarshalAs(UnmanagedType.U1)]public delegate bool FormatFuncInternal(IntPtr data, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StrbufKeepOwnershipMarshaler))] Eina.Strbuf str, Eina.ValueNative value);
+internal class FormatFuncWrapper : IDisposable
{
- private FormatFuncCbInternal _cb;
+ private FormatFuncInternal _cb;
private IntPtr _cb_data;
private EinaFreeCb _cb_free_cb;
- internal FormatFuncCbWrapper (FormatFuncCbInternal _cb, IntPtr _cb_data, EinaFreeCb _cb_free_cb)
+ internal FormatFuncWrapper (FormatFuncInternal _cb, IntPtr _cb_data, EinaFreeCb _cb_free_cb)
{
this._cb = _cb;
this._cb_data = _cb_data;
this._cb_free_cb = _cb_free_cb;
}
- ~FormatFuncCbWrapper()
+ ~FormatFuncWrapper()
{
Dispose(false);
}
GC.SuppressFinalize(this);
}
- internal void ManagedCb(Eina.Strbuf str,Eina.Value value)
+ internal bool ManagedCb(Eina.Strbuf str,Eina.Value value)
{
- _cb(_cb_data, str, value);
+ var _ret_var = _cb(_cb_data, str, value);
Eina.Error.RaiseIfUnhandledException();
- }
+ return _ret_var;
+ }
- internal static void Cb(IntPtr cb_data, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StrbufKeepOwnershipMarshaler))] Eina.Strbuf str, Eina.ValueNative value)
+ [return: MarshalAs(UnmanagedType.U1)] internal static bool Cb(IntPtr cb_data, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StrbufKeepOwnershipMarshaler))] Eina.Strbuf str, Eina.ValueNative value)
{
GCHandle handle = GCHandle.FromIntPtr(cb_data);
- FormatFuncCb cb = (FormatFuncCb)handle.Target;
-
+ FormatFunc cb = (FormatFunc)handle.Target;
+ bool _ret_var = default(bool);
try {
- cb(str, value);
+ _ret_var = cb(str, value);
} catch (Exception e) {
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
- }
+ return _ret_var;
+ }
}
}
namespace Ui {
-/// <summary>interface class for format_func</summary>
+/// <summary>Helper mixin that simplifies converting numerical values to text.
+/// A number of widgets represent a numerical value but display a text representation. For example, an <see cref="Efl.Ui.Progressbar"/> can hold the number 0.75 but display the string "75%", or an <see cref="Efl.Ui.Spin"/> can hold numbers 1 to 7, but display the strings "Monday" thru "Sunday".
+///
+/// This conversion can be controlled through the <see cref="Efl.Ui.IFormat.FormatFunc"/>, <see cref="Efl.Ui.IFormat.FormatValues"/> and <see cref="Efl.Ui.IFormat.GetFormatString"/> properties. Only one of them needs to be set. When more than one is set <see cref="Efl.Ui.IFormat.FormatValues"/> has the highest priority, followed by <see cref="Efl.Ui.IFormat.FormatFunc"/> and then <see cref="Efl.Ui.IFormat.GetFormatString"/>. If one mechanism fails to produce a valid string the others will be tried (if provided) in descending order of priority. If no user-provided mechanism works, a fallback is used that just displays the value.
+///
+/// Widgets including this mixin offer their users different properties to control how <see cref="Eina.Value"/>'s are converted to text.</summary>
[Efl.Ui.IFormatConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IFormat :
Efl.Eo.IWrapper, IDisposable
{
- /// <summary>Set the format function pointer to format the string.</summary>
-/// <param name="func">The format function callback</param>
-void SetFormatCb(Efl.Ui.FormatFuncCb func);
- /// <summary>Control the format string for a given units label
-/// If <c>NULL</c> is passed to <c>format</c>, it will hide <c>obj</c>'s units area completely. If not, it'll set the <b>format string</b> for the units label text. The units label is provided as a floating point value, so the units text can display at most one floating point value. Note that the units label is optional. Use a format string such as "%1.2f meters" for example.
+ /// <summary>User-provided function which takes care of converting an <see cref="Eina.Value"/> into a text string. The user is then completely in control of how the string is generated, but it is the most cumbersome method to use. If the conversion fails the other mechanisms will be tried, according to their priorities.</summary>
+/// <returns>User-provided formatting function.</returns>
+Efl.Ui.FormatFunc GetFormatFunc();
+ /// <summary>User-provided function which takes care of converting an <see cref="Eina.Value"/> into a text string. The user is then completely in control of how the string is generated, but it is the most cumbersome method to use. If the conversion fails the other mechanisms will be tried, according to their priorities.</summary>
+/// <param name="func">User-provided formatting function.</param>
+void SetFormatFunc(Efl.Ui.FormatFunc func);
+ /// <summary>User-provided list of values which are to be rendered using specific text strings. This is more convenient to use than <see cref="Efl.Ui.IFormat.FormatFunc"/> and is perfectly suited for cases where the strings make more sense than the numerical values. For example, weekday names ("Monday", "Tuesday", ...) are friendlier than numbers 1 to 7. If a value is not found in the list, the other mechanisms will be tried according to their priorities. List members do not need to be in any particular order. They are sorted internally for performance reasons.</summary>
+/// <returns>Accessor over a list of value-text pairs. The method will dispose of the accessor, but not of its contents. For convenience, Eina offers a range of helper methods to obtain accessors from Eina.Array, Eina.List or even plain C arrays.</returns>
+Eina.Accessor<Efl.Ui.FormatValue> GetFormatValues();
+ /// <summary>User-provided list of values which are to be rendered using specific text strings. This is more convenient to use than <see cref="Efl.Ui.IFormat.FormatFunc"/> and is perfectly suited for cases where the strings make more sense than the numerical values. For example, weekday names ("Monday", "Tuesday", ...) are friendlier than numbers 1 to 7. If a value is not found in the list, the other mechanisms will be tried according to their priorities. List members do not need to be in any particular order. They are sorted internally for performance reasons.</summary>
+/// <param name="values">Accessor over a list of value-text pairs. The method will dispose of the accessor, but not of its contents. For convenience, Eina offers a range of helper methods to obtain accessors from Eina.Array, Eina.List or even plain C arrays.</param>
+void SetFormatValues(Eina.Accessor<Efl.Ui.FormatValue> values);
+ /// <summary>A user-provided, string used to format the numerical value.
+/// For example, "%1.2f meters", "%.0%%" or "%d items".
+///
+/// This is the simplest formatting mechanism, working pretty much like <c>printf</c>.
+///
+/// Different format specifiers (the character after the %) are available, depending on the <c>type</c> used. Use <see cref="Efl.Ui.FormatStringType.Simple"/> for simple numerical values and <see cref="Efl.Ui.FormatStringType.Time"/> for time and date values. For instance, %d means "integer" when the first type is used, but it means "day of the month as a decimal number" in the second.
+///
+/// Pass <c>NULL</c> to disable this mechanism.</summary>
+/// <param name="kw_string">Formatting string containing regular characters and format specifiers.</param>
+/// <param name="type">Type of formatting string, which controls how the different format specifiers are to be traslated.</param>
+void GetFormatString(out System.String kw_string, out Efl.Ui.FormatStringType type);
+ /// <summary>A user-provided, string used to format the numerical value.
+/// For example, "%1.2f meters", "%.0%%" or "%d items".
+///
+/// This is the simplest formatting mechanism, working pretty much like <c>printf</c>.
///
-/// Note: The default format string is an integer percentage, as in $"%.0f %%".</summary>
-/// <returns>The format string for <c>obj</c>'s units label.</returns>
-System.String GetFormatString();
- /// <summary>Control the format string for a given units label
-/// If <c>NULL</c> is passed to <c>format</c>, it will hide <c>obj</c>'s units area completely. If not, it'll set the <b>format string</b> for the units label text. The units label is provided as a floating point value, so the units text can display at most one floating point value. Note that the units label is optional. Use a format string such as "%1.2f meters" for example.
+/// Different format specifiers (the character after the %) are available, depending on the <c>type</c> used. Use <see cref="Efl.Ui.FormatStringType.Simple"/> for simple numerical values and <see cref="Efl.Ui.FormatStringType.Time"/> for time and date values. For instance, %d means "integer" when the first type is used, but it means "day of the month as a decimal number" in the second.
///
-/// Note: The default format string is an integer percentage, as in $"%.0f %%".</summary>
-/// <param name="units">The format string for <c>obj</c>'s units label.</param>
-void SetFormatString(System.String units);
- /// <summary>Set the format function pointer to format the string.</summary>
- /// <value>The format function callback</value>
- Efl.Ui.FormatFuncCb FormatCb {
+/// Pass <c>NULL</c> to disable this mechanism.</summary>
+/// <param name="kw_string">Formatting string containing regular characters and format specifiers.</param>
+/// <param name="type">Type of formatting string, which controls how the different format specifiers are to be traslated.</param>
+void SetFormatString(System.String kw_string, Efl.Ui.FormatStringType type);
+ /// <summary>Internal method to be used by widgets including this mixin to perform the conversion from the internal numerical value into the text representation (Users of these widgets do not need to call this method).
+/// <see cref="Efl.Ui.IFormat.GetFormattedValue"/> uses any user-provided mechanism to perform the conversion, according to their priorities, and implements a simple fallback if all mechanisms fail.</summary>
+/// <param name="str">Output formatted string. Its contents will be overwritten by this method.</param>
+/// <param name="value">The <see cref="Eina.Value"/> to convert to text.</param>
+void GetFormattedValue(Eina.Strbuf str, Eina.Value value);
+ /// <summary>Internal method to be used by widgets including this mixin. It can only be used when a <see cref="Efl.Ui.IFormat.GetFormatString"/> has been supplied, and it returns the number of decimal places that the format string will produce for floating point values.
+/// For example, "%.2f" returns 2, and "%d" returns 0;</summary>
+/// <returns>Number of decimal places, or 0 for non-floating point types.</returns>
+int GetDecimalPlaces();
+ /// <summary>Internal method to be implemented by widgets including this mixin.
+/// The mixin will call this method to signal the widget that the formatting has changed and therefore the current value should be converted and rendered again. Widgets must typically call <see cref="Efl.Ui.IFormat.GetFormattedValue"/> and display the returned string. This is something they are already doing (whenever the value changes, for example) so there should be no extra code written to implement this method.</summary>
+void ApplyFormattedValue();
+ /// <summary>User-provided function which takes care of converting an <see cref="Eina.Value"/> into a text string. The user is then completely in control of how the string is generated, but it is the most cumbersome method to use. If the conversion fails the other mechanisms will be tried, according to their priorities.</summary>
+ /// <value>User-provided formatting function.</value>
+ Efl.Ui.FormatFunc FormatFunc {
+ get ;
set ;
}
- /// <summary>Control the format string for a given units label
- /// If <c>NULL</c> is passed to <c>format</c>, it will hide <c>obj</c>'s units area completely. If not, it'll set the <b>format string</b> for the units label text. The units label is provided as a floating point value, so the units text can display at most one floating point value. Note that the units label is optional. Use a format string such as "%1.2f meters" for example.
- ///
- /// Note: The default format string is an integer percentage, as in $"%.0f %%".</summary>
- /// <value>The format string for <c>obj</c>'s units label.</value>
- System.String FormatString {
+ /// <summary>User-provided list of values which are to be rendered using specific text strings. This is more convenient to use than <see cref="Efl.Ui.IFormat.FormatFunc"/> and is perfectly suited for cases where the strings make more sense than the numerical values. For example, weekday names ("Monday", "Tuesday", ...) are friendlier than numbers 1 to 7. If a value is not found in the list, the other mechanisms will be tried according to their priorities. List members do not need to be in any particular order. They are sorted internally for performance reasons.</summary>
+ /// <value>Accessor over a list of value-text pairs. The method will dispose of the accessor, but not of its contents. For convenience, Eina offers a range of helper methods to obtain accessors from Eina.Array, Eina.List or even plain C arrays.</value>
+ Eina.Accessor<Efl.Ui.FormatValue> FormatValues {
get ;
set ;
}
}
-/// <summary>interface class for format_func</summary>
+/// <summary>Helper mixin that simplifies converting numerical values to text.
+/// A number of widgets represent a numerical value but display a text representation. For example, an <see cref="Efl.Ui.Progressbar"/> can hold the number 0.75 but display the string "75%", or an <see cref="Efl.Ui.Spin"/> can hold numbers 1 to 7, but display the strings "Monday" thru "Sunday".
+///
+/// This conversion can be controlled through the <see cref="Efl.Ui.IFormat.FormatFunc"/>, <see cref="Efl.Ui.IFormat.FormatValues"/> and <see cref="Efl.Ui.IFormat.GetFormatString"/> properties. Only one of them needs to be set. When more than one is set <see cref="Efl.Ui.IFormat.FormatValues"/> has the highest priority, followed by <see cref="Efl.Ui.IFormat.FormatFunc"/> and then <see cref="Efl.Ui.IFormat.GetFormatString"/>. If one mechanism fails to produce a valid string the others will be tried (if provided) in descending order of priority. If no user-provided mechanism works, a fallback is used that just displays the value.
+///
+/// Widgets including this mixin offer their users different properties to control how <see cref="Eina.Value"/>'s are converted to text.</summary>
sealed public class IFormatConcrete :
Efl.Eo.EoWrapper
, IFormat
}
}
- [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IFormatConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
+ [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
efl_ui_format_mixin_get();
/// <summary>Initializes a new instance of the <see cref="IFormat"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IFormatConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IFormatConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
- /// <summary>Set the format function pointer to format the string.</summary>
- /// <param name="func">The format function callback</param>
- public void SetFormatCb(Efl.Ui.FormatFuncCb func) {
+ /// <summary>User-provided function which takes care of converting an <see cref="Eina.Value"/> into a text string. The user is then completely in control of how the string is generated, but it is the most cumbersome method to use. If the conversion fails the other mechanisms will be tried, according to their priorities.</summary>
+ /// <returns>User-provided formatting function.</returns>
+ public Efl.Ui.FormatFunc GetFormatFunc() {
+ var _ret_var = Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_func_get_ptr.Value.Delegate(this.NativeHandle);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>User-provided function which takes care of converting an <see cref="Eina.Value"/> into a text string. The user is then completely in control of how the string is generated, but it is the most cumbersome method to use. If the conversion fails the other mechanisms will be tried, according to their priorities.</summary>
+ /// <param name="func">User-provided formatting function.</param>
+ public void SetFormatFunc(Efl.Ui.FormatFunc func) {
GCHandle func_handle = GCHandle.Alloc(func);
- Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_cb_set_ptr.Value.Delegate(this.NativeHandle,GCHandle.ToIntPtr(func_handle), Efl.Ui.FormatFuncCbWrapper.Cb, Efl.Eo.Globals.free_gchandle);
+ Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_func_set_ptr.Value.Delegate(this.NativeHandle,GCHandle.ToIntPtr(func_handle), Efl.Ui.FormatFuncWrapper.Cb, Efl.Eo.Globals.free_gchandle);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>User-provided list of values which are to be rendered using specific text strings. This is more convenient to use than <see cref="Efl.Ui.IFormat.FormatFunc"/> and is perfectly suited for cases where the strings make more sense than the numerical values. For example, weekday names ("Monday", "Tuesday", ...) are friendlier than numbers 1 to 7. If a value is not found in the list, the other mechanisms will be tried according to their priorities. List members do not need to be in any particular order. They are sorted internally for performance reasons.</summary>
+ /// <returns>Accessor over a list of value-text pairs. The method will dispose of the accessor, but not of its contents. For convenience, Eina offers a range of helper methods to obtain accessors from Eina.Array, Eina.List or even plain C arrays.</returns>
+ public Eina.Accessor<Efl.Ui.FormatValue> GetFormatValues() {
+ var _ret_var = Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_values_get_ptr.Value.Delegate(this.NativeHandle);
+ Eina.Error.RaiseIfUnhandledException();
+ return new Eina.Accessor<Efl.Ui.FormatValue>(_ret_var, false);
+ }
+ /// <summary>User-provided list of values which are to be rendered using specific text strings. This is more convenient to use than <see cref="Efl.Ui.IFormat.FormatFunc"/> and is perfectly suited for cases where the strings make more sense than the numerical values. For example, weekday names ("Monday", "Tuesday", ...) are friendlier than numbers 1 to 7. If a value is not found in the list, the other mechanisms will be tried according to their priorities. List members do not need to be in any particular order. They are sorted internally for performance reasons.</summary>
+ /// <param name="values">Accessor over a list of value-text pairs. The method will dispose of the accessor, but not of its contents. For convenience, Eina offers a range of helper methods to obtain accessors from Eina.Array, Eina.List or even plain C arrays.</param>
+ public void SetFormatValues(Eina.Accessor<Efl.Ui.FormatValue> values) {
+ var _in_values = values.Handle;
+ Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_values_set_ptr.Value.Delegate(this.NativeHandle,_in_values);
Eina.Error.RaiseIfUnhandledException();
}
- /// <summary>Control the format string for a given units label
- /// If <c>NULL</c> is passed to <c>format</c>, it will hide <c>obj</c>'s units area completely. If not, it'll set the <b>format string</b> for the units label text. The units label is provided as a floating point value, so the units text can display at most one floating point value. Note that the units label is optional. Use a format string such as "%1.2f meters" for example.
+ /// <summary>A user-provided, string used to format the numerical value.
+ /// For example, "%1.2f meters", "%.0%%" or "%d items".
///
- /// Note: The default format string is an integer percentage, as in $"%.0f %%".</summary>
- /// <returns>The format string for <c>obj</c>'s units label.</returns>
- public System.String GetFormatString() {
- var _ret_var = Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_string_get_ptr.Value.Delegate(this.NativeHandle);
+ /// This is the simplest formatting mechanism, working pretty much like <c>printf</c>.
+ ///
+ /// Different format specifiers (the character after the %) are available, depending on the <c>type</c> used. Use <see cref="Efl.Ui.FormatStringType.Simple"/> for simple numerical values and <see cref="Efl.Ui.FormatStringType.Time"/> for time and date values. For instance, %d means "integer" when the first type is used, but it means "day of the month as a decimal number" in the second.
+ ///
+ /// Pass <c>NULL</c> to disable this mechanism.</summary>
+ /// <param name="kw_string">Formatting string containing regular characters and format specifiers.</param>
+ /// <param name="type">Type of formatting string, which controls how the different format specifiers are to be traslated.</param>
+ public void GetFormatString(out System.String kw_string, out Efl.Ui.FormatStringType type) {
+ Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_string_get_ptr.Value.Delegate(this.NativeHandle,out kw_string, out type);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>A user-provided, string used to format the numerical value.
+ /// For example, "%1.2f meters", "%.0%%" or "%d items".
+ ///
+ /// This is the simplest formatting mechanism, working pretty much like <c>printf</c>.
+ ///
+ /// Different format specifiers (the character after the %) are available, depending on the <c>type</c> used. Use <see cref="Efl.Ui.FormatStringType.Simple"/> for simple numerical values and <see cref="Efl.Ui.FormatStringType.Time"/> for time and date values. For instance, %d means "integer" when the first type is used, but it means "day of the month as a decimal number" in the second.
+ ///
+ /// Pass <c>NULL</c> to disable this mechanism.</summary>
+ /// <param name="kw_string">Formatting string containing regular characters and format specifiers.</param>
+ /// <param name="type">Type of formatting string, which controls how the different format specifiers are to be traslated.</param>
+ public void SetFormatString(System.String kw_string, Efl.Ui.FormatStringType type) {
+ Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_string_set_ptr.Value.Delegate(this.NativeHandle,kw_string, type);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Internal method to be used by widgets including this mixin to perform the conversion from the internal numerical value into the text representation (Users of these widgets do not need to call this method).
+ /// <see cref="Efl.Ui.IFormat.GetFormattedValue"/> uses any user-provided mechanism to perform the conversion, according to their priorities, and implements a simple fallback if all mechanisms fail.</summary>
+ /// <param name="str">Output formatted string. Its contents will be overwritten by this method.</param>
+ /// <param name="value">The <see cref="Eina.Value"/> to convert to text.</param>
+ public void GetFormattedValue(Eina.Strbuf str, Eina.Value value) {
+ Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_formatted_value_get_ptr.Value.Delegate(this.NativeHandle,str, value);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Internal method to be used by widgets including this mixin. It can only be used when a <see cref="Efl.Ui.IFormat.GetFormatString"/> has been supplied, and it returns the number of decimal places that the format string will produce for floating point values.
+ /// For example, "%.2f" returns 2, and "%d" returns 0;</summary>
+ /// <returns>Number of decimal places, or 0 for non-floating point types.</returns>
+ public int GetDecimalPlaces() {
+ var _ret_var = Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_decimal_places_get_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
- /// <summary>Control the format string for a given units label
- /// If <c>NULL</c> is passed to <c>format</c>, it will hide <c>obj</c>'s units area completely. If not, it'll set the <b>format string</b> for the units label text. The units label is provided as a floating point value, so the units text can display at most one floating point value. Note that the units label is optional. Use a format string such as "%1.2f meters" for example.
- ///
- /// Note: The default format string is an integer percentage, as in $"%.0f %%".</summary>
- /// <param name="units">The format string for <c>obj</c>'s units label.</param>
- public void SetFormatString(System.String units) {
- Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_string_set_ptr.Value.Delegate(this.NativeHandle,units);
+ /// <summary>Internal method to be implemented by widgets including this mixin.
+ /// The mixin will call this method to signal the widget that the formatting has changed and therefore the current value should be converted and rendered again. Widgets must typically call <see cref="Efl.Ui.IFormat.GetFormattedValue"/> and display the returned string. This is something they are already doing (whenever the value changes, for example) so there should be no extra code written to implement this method.</summary>
+ public void ApplyFormattedValue() {
+ Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_apply_formatted_value_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Set the format function pointer to format the string.</summary>
- /// <value>The format function callback</value>
- public Efl.Ui.FormatFuncCb FormatCb {
- set { SetFormatCb(value); }
+ }
+ /// <summary>User-provided function which takes care of converting an <see cref="Eina.Value"/> into a text string. The user is then completely in control of how the string is generated, but it is the most cumbersome method to use. If the conversion fails the other mechanisms will be tried, according to their priorities.</summary>
+ /// <value>User-provided formatting function.</value>
+ public Efl.Ui.FormatFunc FormatFunc {
+ get { return GetFormatFunc(); }
+ set { SetFormatFunc(value); }
}
- /// <summary>Control the format string for a given units label
- /// If <c>NULL</c> is passed to <c>format</c>, it will hide <c>obj</c>'s units area completely. If not, it'll set the <b>format string</b> for the units label text. The units label is provided as a floating point value, so the units text can display at most one floating point value. Note that the units label is optional. Use a format string such as "%1.2f meters" for example.
- ///
- /// Note: The default format string is an integer percentage, as in $"%.0f %%".</summary>
- /// <value>The format string for <c>obj</c>'s units label.</value>
- public System.String FormatString {
- get { return GetFormatString(); }
- set { SetFormatString(value); }
+ /// <summary>User-provided list of values which are to be rendered using specific text strings. This is more convenient to use than <see cref="Efl.Ui.IFormat.FormatFunc"/> and is perfectly suited for cases where the strings make more sense than the numerical values. For example, weekday names ("Monday", "Tuesday", ...) are friendlier than numbers 1 to 7. If a value is not found in the list, the other mechanisms will be tried according to their priorities. List members do not need to be in any particular order. They are sorted internally for performance reasons.</summary>
+ /// <value>Accessor over a list of value-text pairs. The method will dispose of the accessor, but not of its contents. For convenience, Eina offers a range of helper methods to obtain accessors from Eina.Array, Eina.List or even plain C arrays.</value>
+ public Eina.Accessor<Efl.Ui.FormatValue> FormatValues {
+ get { return GetFormatValues(); }
+ set { SetFormatValues(value); }
}
private static IntPtr GetEflClassStatic()
{
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
- private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
+ private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <returns>The list of Eo operations to be overload.</returns>
public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
var descs = new System.Collections.Generic.List<Efl_Op_Description>();
var methods = Efl.Eo.Globals.GetUserMethods(type);
- if (efl_ui_format_cb_set_static_delegate == null)
+ if (efl_ui_format_func_get_static_delegate == null)
{
- efl_ui_format_cb_set_static_delegate = new efl_ui_format_cb_set_delegate(format_cb_set);
+ efl_ui_format_func_get_static_delegate = new efl_ui_format_func_get_delegate(format_func_get);
}
- if (methods.FirstOrDefault(m => m.Name == "SetFormatCb") != null)
+ if (methods.FirstOrDefault(m => m.Name == "GetFormatFunc") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_cb_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_cb_set_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_func_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_func_get_static_delegate) });
+ }
+
+ if (efl_ui_format_func_set_static_delegate == null)
+ {
+ efl_ui_format_func_set_static_delegate = new efl_ui_format_func_set_delegate(format_func_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetFormatFunc") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_func_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_func_set_static_delegate) });
+ }
+
+ if (efl_ui_format_values_get_static_delegate == null)
+ {
+ efl_ui_format_values_get_static_delegate = new efl_ui_format_values_get_delegate(format_values_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetFormatValues") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_values_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_values_get_static_delegate) });
+ }
+
+ if (efl_ui_format_values_set_static_delegate == null)
+ {
+ efl_ui_format_values_set_static_delegate = new efl_ui_format_values_set_delegate(format_values_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetFormatValues") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_values_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_values_set_static_delegate) });
}
if (efl_ui_format_string_get_static_delegate == null)
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_string_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_string_set_static_delegate) });
}
+ if (efl_ui_format_formatted_value_get_static_delegate == null)
+ {
+ efl_ui_format_formatted_value_get_static_delegate = new efl_ui_format_formatted_value_get_delegate(formatted_value_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetFormattedValue") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_formatted_value_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_formatted_value_get_static_delegate) });
+ }
+
+ if (efl_ui_format_decimal_places_get_static_delegate == null)
+ {
+ efl_ui_format_decimal_places_get_static_delegate = new efl_ui_format_decimal_places_get_delegate(decimal_places_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetDecimalPlaces") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_decimal_places_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_decimal_places_get_static_delegate) });
+ }
+
+ if (efl_ui_format_apply_formatted_value_static_delegate == null)
+ {
+ efl_ui_format_apply_formatted_value_static_delegate = new efl_ui_format_apply_formatted_value_delegate(apply_formatted_value);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "ApplyFormattedValue") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_apply_formatted_value"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_apply_formatted_value_static_delegate) });
+ }
+
return descs;
}
/// <summary>Returns the Eo class for the native methods of this class.</summary>
#pragma warning disable CA1707, CS1591, SA1300, SA1600
- private delegate void efl_ui_format_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, Efl.Ui.FormatFuncCbInternal func, EinaFreeCb func_free_cb);
+ private delegate Efl.Ui.FormatFunc efl_ui_format_func_get_delegate(System.IntPtr obj, System.IntPtr pd);
- public delegate void efl_ui_format_cb_set_api_delegate(System.IntPtr obj, IntPtr func_data, Efl.Ui.FormatFuncCbInternal func, EinaFreeCb func_free_cb);
+ public delegate Efl.Ui.FormatFunc efl_ui_format_func_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<efl_ui_format_cb_set_api_delegate> efl_ui_format_cb_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_cb_set_api_delegate>(Module, "efl_ui_format_cb_set");
+ public static Efl.Eo.FunctionWrapper<efl_ui_format_func_get_api_delegate> efl_ui_format_func_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_func_get_api_delegate>(Module, "efl_ui_format_func_get");
- private static void format_cb_set(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, Efl.Ui.FormatFuncCbInternal func, EinaFreeCb func_free_cb)
+ private static Efl.Ui.FormatFunc format_func_get(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function efl_ui_format_cb_set was called");
+ Eina.Log.Debug("function efl_ui_format_func_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- Efl.Ui.FormatFuncCbWrapper func_wrapper = new Efl.Ui.FormatFuncCbWrapper(func, func_data, func_free_cb);
+ Efl.Ui.FormatFunc _ret_var = default(Efl.Ui.FormatFunc);
+ try
+ {
+ _ret_var = ((IFormat)ws.Target).GetFormatFunc();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_format_func_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_format_func_get_delegate efl_ui_format_func_get_static_delegate;
+
+
+ private delegate void efl_ui_format_func_set_delegate(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, Efl.Ui.FormatFuncInternal func, EinaFreeCb func_free_cb);
+
+
+ public delegate void efl_ui_format_func_set_api_delegate(System.IntPtr obj, IntPtr func_data, Efl.Ui.FormatFuncInternal func, EinaFreeCb func_free_cb);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_format_func_set_api_delegate> efl_ui_format_func_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_func_set_api_delegate>(Module, "efl_ui_format_func_set");
+
+ private static void format_func_set(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, Efl.Ui.FormatFuncInternal func, EinaFreeCb func_free_cb)
+ {
+ Eina.Log.Debug("function efl_ui_format_func_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.Ui.FormatFuncWrapper func_wrapper = new Efl.Ui.FormatFuncWrapper(func, func_data, func_free_cb);
try
{
- ((IFormat)ws.Target).SetFormatCb(func_wrapper.ManagedCb);
+ ((IFormat)ws.Target).SetFormatFunc(func_wrapper.ManagedCb);
}
catch (Exception e)
{
}
else
{
- efl_ui_format_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), func_data, func, func_free_cb);
+ efl_ui_format_func_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), func_data, func, func_free_cb);
}
}
- private static efl_ui_format_cb_set_delegate efl_ui_format_cb_set_static_delegate;
+ private static efl_ui_format_func_set_delegate efl_ui_format_func_set_static_delegate;
+
+
+ private delegate System.IntPtr efl_ui_format_values_get_delegate(System.IntPtr obj, System.IntPtr pd);
- [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
- private delegate System.String efl_ui_format_string_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ public delegate System.IntPtr efl_ui_format_values_get_api_delegate(System.IntPtr obj);
- [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
- public delegate System.String efl_ui_format_string_get_api_delegate(System.IntPtr obj);
+ public static Efl.Eo.FunctionWrapper<efl_ui_format_values_get_api_delegate> efl_ui_format_values_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_values_get_api_delegate>(Module, "efl_ui_format_values_get");
+
+ private static System.IntPtr format_values_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_format_values_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Accessor<Efl.Ui.FormatValue> _ret_var = default(Eina.Accessor<Efl.Ui.FormatValue>);
+ try
+ {
+ _ret_var = ((IFormat)ws.Target).GetFormatValues();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var.Handle;
+
+ }
+ else
+ {
+ return efl_ui_format_values_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_format_values_get_delegate efl_ui_format_values_get_static_delegate;
+
+
+ private delegate void efl_ui_format_values_set_delegate(System.IntPtr obj, System.IntPtr pd, System.IntPtr values);
+
+
+ public delegate void efl_ui_format_values_set_api_delegate(System.IntPtr obj, System.IntPtr values);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_format_values_set_api_delegate> efl_ui_format_values_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_values_set_api_delegate>(Module, "efl_ui_format_values_set");
+
+ private static void format_values_set(System.IntPtr obj, System.IntPtr pd, System.IntPtr values)
+ {
+ Eina.Log.Debug("function efl_ui_format_values_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ var _in_values = new Eina.Accessor<Efl.Ui.FormatValue>(values, false);
+
+ try
+ {
+ ((IFormat)ws.Target).SetFormatValues(_in_values);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_format_values_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), values);
+ }
+ }
+
+ private static efl_ui_format_values_set_delegate efl_ui_format_values_set_static_delegate;
+
+
+ private delegate void efl_ui_format_string_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String kw_string, out Efl.Ui.FormatStringType type);
+
+
+ public delegate void efl_ui_format_string_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String kw_string, out Efl.Ui.FormatStringType type);
public static Efl.Eo.FunctionWrapper<efl_ui_format_string_get_api_delegate> efl_ui_format_string_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_string_get_api_delegate>(Module, "efl_ui_format_string_get");
- private static System.String format_string_get(System.IntPtr obj, System.IntPtr pd)
+ private static void format_string_get(System.IntPtr obj, System.IntPtr pd, out System.String kw_string, out Efl.Ui.FormatStringType type)
{
Eina.Log.Debug("function efl_ui_format_string_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- System.String _ret_var = default(System.String);
+ System.String _out_kw_string = default(System.String);
+ type = default(Efl.Ui.FormatStringType);
try
{
- _ret_var = ((IFormat)ws.Target).GetFormatString();
+ ((IFormat)ws.Target).GetFormatString(out _out_kw_string, out type);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
- return _ret_var;
-
+ kw_string = _out_kw_string;
+
}
else
{
- return efl_ui_format_string_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ efl_ui_format_string_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out kw_string, out type);
}
}
private static efl_ui_format_string_get_delegate efl_ui_format_string_get_static_delegate;
- private delegate void efl_ui_format_string_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String units);
+ private delegate void efl_ui_format_string_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String kw_string, Efl.Ui.FormatStringType type);
- public delegate void efl_ui_format_string_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String units);
+ public delegate void efl_ui_format_string_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String kw_string, Efl.Ui.FormatStringType type);
public static Efl.Eo.FunctionWrapper<efl_ui_format_string_set_api_delegate> efl_ui_format_string_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_string_set_api_delegate>(Module, "efl_ui_format_string_set");
- private static void format_string_set(System.IntPtr obj, System.IntPtr pd, System.String units)
+ private static void format_string_set(System.IntPtr obj, System.IntPtr pd, System.String kw_string, Efl.Ui.FormatStringType type)
{
Eina.Log.Debug("function efl_ui_format_string_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
-
+
try
{
- ((IFormat)ws.Target).SetFormatString(units);
+ ((IFormat)ws.Target).SetFormatString(kw_string, type);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+
}
else
{
- efl_ui_format_string_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), units);
+ efl_ui_format_string_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), kw_string, type);
}
}
private static efl_ui_format_string_set_delegate efl_ui_format_string_set_static_delegate;
+
+ private delegate void efl_ui_format_formatted_value_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StrbufKeepOwnershipMarshaler))] Eina.Strbuf str, Eina.ValueNative value);
+
+
+ public delegate void efl_ui_format_formatted_value_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StrbufKeepOwnershipMarshaler))] Eina.Strbuf str, Eina.ValueNative value);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_format_formatted_value_get_api_delegate> efl_ui_format_formatted_value_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_formatted_value_get_api_delegate>(Module, "efl_ui_format_formatted_value_get");
+
+ private static void formatted_value_get(System.IntPtr obj, System.IntPtr pd, Eina.Strbuf str, Eina.ValueNative value)
+ {
+ Eina.Log.Debug("function efl_ui_format_formatted_value_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((IFormat)ws.Target).GetFormattedValue(str, value);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_format_formatted_value_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), str, value);
+ }
+ }
+
+ private static efl_ui_format_formatted_value_get_delegate efl_ui_format_formatted_value_get_static_delegate;
+
+
+ private delegate int efl_ui_format_decimal_places_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate int efl_ui_format_decimal_places_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_format_decimal_places_get_api_delegate> efl_ui_format_decimal_places_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_decimal_places_get_api_delegate>(Module, "efl_ui_format_decimal_places_get");
+
+ private static int decimal_places_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_format_decimal_places_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ int _ret_var = default(int);
+ try
+ {
+ _ret_var = ((IFormat)ws.Target).GetDecimalPlaces();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_format_decimal_places_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_format_decimal_places_get_delegate efl_ui_format_decimal_places_get_static_delegate;
+
+
+ private delegate void efl_ui_format_apply_formatted_value_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate void efl_ui_format_apply_formatted_value_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_format_apply_formatted_value_api_delegate> efl_ui_format_apply_formatted_value_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_apply_formatted_value_api_delegate>(Module, "efl_ui_format_apply_formatted_value");
+
+ private static void apply_formatted_value(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_format_apply_formatted_value was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((IFormat)ws.Target).ApplyFormattedValue();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_format_apply_formatted_value_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_format_apply_formatted_value_delegate efl_ui_format_apply_formatted_value_static_delegate;
+
#pragma warning restore CA1707, CS1591, SA1300, SA1600
}
}
+namespace Efl {
+
+namespace Ui {
+
+/// <summary>Type of formatting string.</summary>
+[Efl.Eo.BindingEntity]
+public enum FormatStringType
+{
+/// <summary>This is the simplest formatting mechanism, working pretty much like <c>printf</c>. Accepted formats are <c>s</c>, <c>f</c>, <c>F</c>, <c>d</c>, <c>u</c>, <c>i</c>, <c>o</c>, <c>x</c> and <c>X</c>. For example, "%1.2f meters", "%.0%%" or "%d items".</summary>
+Simple = 0,
+/// <summary>A strftime-style string used to format date and time values. For example, "%A" for the full name of the day or "%y" for the year as a decimal number without a century (range 00 to 99). Note that these are not the <c>printf</c> formats. See the man page for the <c>strftime</c> function for the complete list.</summary>
+Time = 1,
+}
+
+}
+
+}
+
+namespace Efl {
+
+namespace Ui {
+
+/// <summary>A value which should always be displayed as a specific text string. See <see cref="Efl.Ui.IFormat.FormatValues"/>.</summary>
+[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
+public struct FormatValue
+{
+ /// <summary>Input value.</summary>
+ public int Value;
+ /// <summary>Text string to replace it.</summary>
+ public System.String Text;
+ ///<summary>Constructor for FormatValue.</summary>
+ public FormatValue(
+ int Value = default(int),
+ System.String Text = default(System.String) )
+ {
+ this.Value = Value;
+ this.Text = Text;
+ }
+
+ ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
+ ///<param name="ptr">Native pointer to be converted.</param>
+ public static implicit operator FormatValue(IntPtr ptr)
+ {
+ var tmp = (FormatValue.NativeStruct)Marshal.PtrToStructure(ptr, typeof(FormatValue.NativeStruct));
+ return tmp;
+ }
+
+ #pragma warning disable CS1591
+
+ ///<summary>Internal wrapper for struct FormatValue.</summary>
+ [StructLayout(LayoutKind.Sequential)]
+ public struct NativeStruct
+ {
+
+ public int Value;
+ ///<summary>Internal wrapper for field Text</summary>
+ public System.IntPtr Text;
+ ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ public static implicit operator FormatValue.NativeStruct(FormatValue _external_struct)
+ {
+ var _internal_struct = new FormatValue.NativeStruct();
+ _internal_struct.Value = _external_struct.Value;
+ _internal_struct.Text = Eina.MemoryNative.StrDup(_external_struct.Text);
+ return _internal_struct;
+ }
+
+ ///<summary>Implicit conversion to the managed representation.</summary>
+ public static implicit operator FormatValue(FormatValue.NativeStruct _internal_struct)
+ {
+ var _external_struct = new FormatValue();
+ _external_struct.Value = _internal_struct.Value;
+ _external_struct.Text = Eina.StringConversion.NativeUtf8ToManagedString(_internal_struct.Text);
+ return _external_struct;
+ }
+
+ }
+
+ #pragma warning restore CS1591
+
+}
+
+}
+
+}
+
/// <summary>Frame widget
/// The Frame widget allows for collapsing and expanding the content widget by clicking on the frame label. the label and content can be set using text_set and content_set api.</summary>
[Efl.Ui.Frame.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Frame : Efl.Ui.LayoutBase, Efl.IContent, Efl.IText, Efl.ITextMarkup, Efl.Ui.IClickable
{
///<summary>Pointer to the native class description.</summary>
efl_ui_frame_class_get();
/// <summary>Initializes a new instance of the <see cref="Frame"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public Frame(Efl.Object parent
- , System.String style = null) : base(efl_ui_frame_class_get(), typeof(Frame), parent)
+ , System.String style = null) : base(efl_ui_frame_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Frame(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Frame"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Frame(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Frame(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Frame"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Frame(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Frame(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_CLICKED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_CLICKED_ANY";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_PRESSED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_UNPRESSED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_LONGPRESSED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// <summary>Determine the collapse state of a frame Use this to determine the collapse state of a frame.</summary>
/// <returns><c>true</c> to collapse, <c>false</c> to expand.</returns>
virtual public bool GetCollapse() {
- var _ret_var = Efl.Ui.Frame.NativeMethods.efl_ui_frame_collapse_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Frame.NativeMethods.efl_ui_frame_collapse_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Manually collapse a frame without animations Use this to toggle the collapsed state of a frame, bypassing animations.</summary>
/// <param name="collapse"><c>true</c> to collapse, <c>false</c> to expand.</param>
virtual public void SetCollapse(bool collapse) {
- Efl.Ui.Frame.NativeMethods.efl_ui_frame_collapse_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),collapse);
+ Efl.Ui.Frame.NativeMethods.efl_ui_frame_collapse_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),collapse);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Determine autocollapsing of a frame
/// When this returns <c>true</c>, clicking a frame's label will collapse the frame vertically, shrinking it to the height of the label. By default, this is DISABLED.</summary>
/// <returns>Whether to enable autocollapse.</returns>
virtual public bool GetAutocollapse() {
- var _ret_var = Efl.Ui.Frame.NativeMethods.efl_ui_frame_autocollapse_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Frame.NativeMethods.efl_ui_frame_autocollapse_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Toggle autocollapsing of a frame When <c>enable</c> is <c>true</c>, clicking a frame's label will collapse the frame vertically, shrinking it to the height of the label. By default, this is DISABLED.</summary>
/// <param name="autocollapse">Whether to enable autocollapse.</param>
virtual public void SetAutocollapse(bool autocollapse) {
- Efl.Ui.Frame.NativeMethods.efl_ui_frame_autocollapse_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),autocollapse);
+ Efl.Ui.Frame.NativeMethods.efl_ui_frame_autocollapse_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),autocollapse);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Manually collapse a frame with animations Use this to toggle the collapsed state of a frame, triggering animations.</summary>
/// <param name="collapse"><c>true</c> to collapse, <c>false</c> to expand.</param>
virtual public void CollapseGo(bool collapse) {
- Efl.Ui.Frame.NativeMethods.efl_ui_frame_collapse_go_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),collapse);
+ Efl.Ui.Frame.NativeMethods.efl_ui_frame_collapse_go_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),collapse);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Sub-object currently set as this object's single content.
/// (Since EFL 1.22)</summary>
/// <returns>The sub-object.</returns>
virtual public Efl.Gfx.IEntity GetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="content">The sub-object.</param>
/// <returns><c>true</c> if <c>content</c> was successfully swallowed.</returns>
virtual public bool SetContent(Efl.Gfx.IEntity content) {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),content);
+ 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);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Unswallowed object</returns>
virtual public Efl.Gfx.IEntity UnsetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Text string to display on it.</returns>
virtual public System.String GetText() {
- var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="text">Text string to display on it.</param>
virtual public void SetText(System.String text) {
- Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),text);
+ Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),text);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Markup property</summary>
/// <returns>The markup-text representation set to this text.</returns>
virtual public System.String GetMarkup() {
- var _ret_var = Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Markup property</summary>
/// <param name="markup">The markup-text representation set to this text.</param>
virtual public void SetMarkup(System.String markup) {
- Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),markup);
+ Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),markup);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Change internal states that a button got pressed.
/// When the button is already pressed, this is silently ignored.</summary>
/// <param name="button">The number of the button. FIXME ensure to have the right interval of possible input</param>
virtual public void Press(uint button) {
- Efl.Ui.IClickableConcrete.NativeMethods.efl_ui_clickable_press_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),button);
+ Efl.Ui.IClickableConcrete.NativeMethods.efl_ui_clickable_press_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),button);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Change internal states that a button got unpressed.
/// When the button is not pressed, this is silently ignored.</summary>
/// <param name="button">The number of the button. FIXME ensure to have the right interval of possible input</param>
virtual public void Unpress(uint button) {
- Efl.Ui.IClickableConcrete.NativeMethods.efl_ui_clickable_unpress_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),button);
+ Efl.Ui.IClickableConcrete.NativeMethods.efl_ui_clickable_unpress_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),button);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This aborts the internal state after a press call.
/// This will stop the timer for longpress. And set the state of the clickable mixin back into the unpressed state.</summary>
virtual public void ResetButtonState(uint button) {
- Efl.Ui.IClickableConcrete.NativeMethods.efl_ui_clickable_button_state_reset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),button);
+ Efl.Ui.IClickableConcrete.NativeMethods.efl_ui_clickable_button_state_reset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),button);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Determine the collapse state of a frame Use this to determine the collapse state of a frame.</summary>
/// <summary>Simple grid widget with Pack interface.</summary>
[Efl.Ui.Grid.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLinear, Efl.Gfx.IArrangement, Efl.Ui.ILayoutOrientable, Efl.Ui.IMultiSelectable, Efl.Ui.IScrollable, Efl.Ui.IScrollableInteractive, Efl.Ui.IScrollbar, Efl.Ui.ISelectable
{
///<summary>Pointer to the native class description.</summary>
efl_ui_grid_class_get();
/// <summary>Initializes a new instance of the <see cref="Grid"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public Grid(Efl.Object parent
- , System.String style = null) : base(efl_ui_grid_class_get(), typeof(Grid), parent)
+ , System.String style = null) : base(efl_ui_grid_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Grid(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Grid"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Grid(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Grid(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Grid"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Grid(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Grid(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_PACK_EVENT_LAYOUT_UPDATED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_START";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_STOP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_UP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_DOWN";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_LEFT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_RIGHT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_EDGE_UP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_EDGE_DOWN";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_EDGE_LEFT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_EDGE_RIGHT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_ANIM_START";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_DRAG_START";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Called when bar is pressed</summary>
+ /// <summary>Called when bar is pressed.</summary>
public event EventHandler<Efl.Ui.IScrollbarBarPressEvt_Args> BarPressEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
if (obj != null)
{
Efl.Ui.IScrollbarBarPressEvt_Args args = new Efl.Ui.IScrollbarBarPressEvt_Args();
- args.arg = default(Efl.Ui.ScrollbarDirection);
+ args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
try
{
value?.Invoke(obj, args);
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
Marshal.FreeHGlobal(info);
}
}
- /// <summary>Called when bar is unpressed</summary>
+ /// <summary>Called when bar is unpressed.</summary>
public event EventHandler<Efl.Ui.IScrollbarBarUnpressEvt_Args> BarUnpressEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
if (obj != null)
{
Efl.Ui.IScrollbarBarUnpressEvt_Args args = new Efl.Ui.IScrollbarBarUnpressEvt_Args();
- args.arg = default(Efl.Ui.ScrollbarDirection);
+ args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
try
{
value?.Invoke(obj, args);
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
Marshal.FreeHGlobal(info);
}
}
- /// <summary>Called when bar is dragged</summary>
+ /// <summary>Called when bar is dragged.</summary>
public event EventHandler<Efl.Ui.IScrollbarBarDragEvt_Args> BarDragEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
if (obj != null)
{
Efl.Ui.IScrollbarBarDragEvt_Args args = new Efl.Ui.IScrollbarBarDragEvt_Args();
- args.arg = default(Efl.Ui.ScrollbarDirection);
+ args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
try
{
value?.Invoke(obj, args);
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
Marshal.FreeHGlobal(info);
}
}
- /// <summary>Called when bar size is changed</summary>
+ /// <summary>Called when bar size is changed.</summary>
public event EventHandler BarSizeChangedEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Called when bar position is changed</summary>
+ /// <summary>Called when bar position is changed.</summary>
public event EventHandler BarPosChangedEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Callend when bar is shown</summary>
+ /// <summary>Callend when bar is shown.</summary>
public event EventHandler<Efl.Ui.IScrollbarBarShowEvt_Args> BarShowEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
if (obj != null)
{
Efl.Ui.IScrollbarBarShowEvt_Args args = new Efl.Ui.IScrollbarBarShowEvt_Args();
- args.arg = default(Efl.Ui.ScrollbarDirection);
+ args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
try
{
value?.Invoke(obj, args);
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
Marshal.FreeHGlobal(info);
}
}
- /// <summary>Called when bar is hidden</summary>
+ /// <summary>Called when bar is hidden.</summary>
public event EventHandler<Efl.Ui.IScrollbarBarHideEvt_Args> BarHideEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
if (obj != null)
{
Efl.Ui.IScrollbarBarHideEvt_Args args = new Efl.Ui.IScrollbarBarHideEvt_Args();
- args.arg = default(Efl.Ui.ScrollbarDirection);
+ args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
try
{
value?.Invoke(obj, args);
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_ITEM_SELECTED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_ITEM_UNSELECTED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SELECTION_PASTE";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SELECTION_COPY";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SELECTION_CUT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SELECTION_START";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SELECTION_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SELECTION_CLEARED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// <summary>Property data of item size.</summary>
/// <returns>last selected item of grid.</returns>
virtual public Eina.Size2D GetItemSize() {
- var _ret_var = Efl.Ui.Grid.NativeMethods.efl_ui_grid_item_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Grid.NativeMethods.efl_ui_grid_item_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="size">last selected item of grid.</param>
virtual public void SetItemSize(Eina.Size2D size) {
Eina.Size2D.NativeStruct _in_size = size;
- Efl.Ui.Grid.NativeMethods.efl_ui_grid_item_size_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_size);
+ Efl.Ui.Grid.NativeMethods.efl_ui_grid_item_size_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_size);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Property data of last selected item.</summary>
/// <returns>last selected item of grid.</returns>
virtual public Efl.Ui.GridItem GetLastSelectedItem() {
- var _ret_var = Efl.Ui.Grid.NativeMethods.efl_ui_grid_last_selected_item_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Grid.NativeMethods.efl_ui_grid_last_selected_item_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="item">Target item.</param>
/// <param name="animation">Boolean value for animation of scroll move.</param>
virtual public void ItemScroll(Efl.Ui.GridItem item, bool animation) {
- Efl.Ui.Grid.NativeMethods.efl_ui_grid_item_scroll_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),item, animation);
+ Efl.Ui.Grid.NativeMethods.efl_ui_grid_item_scroll_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),item, animation);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>scroll move the item to show at the align position of the viewport.</summary>
/// <param name="align">align value in Viewport.</param>
/// <param name="animation">Boolean value for animation of scroll move.</param>
virtual public void ItemScrollAlign(Efl.Ui.GridItem item, double align, bool animation) {
- Efl.Ui.Grid.NativeMethods.efl_ui_grid_item_scroll_align_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),item, align, animation);
+ Efl.Ui.Grid.NativeMethods.efl_ui_grid_item_scroll_align_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),item, align, animation);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the selected items iterator. The iterator sequence will be decided by selection.</summary>
/// <returns>Iterator covered by selected items list. user have to free the iterator after used.</returns>
virtual public Eina.Iterator<Efl.Ui.GridItem> GetSelectedItems() {
- var _ret_var = Efl.Ui.Grid.NativeMethods.efl_ui_grid_selected_items_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Grid.NativeMethods.efl_ui_grid_selected_items_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Ui.GridItem>(_ret_var, true, false);
+ return new Eina.Iterator<Efl.Ui.GridItem>(_ret_var, true);
}
/// <summary>Removes all packed sub-objects and unreferences them.</summary>
/// <returns><c>true</c> on success, <c>false</c> otherwise.</returns>
virtual public bool ClearPack() {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_clear_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_clear_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Use with caution.</summary>
/// <returns><c>true</c> on success, <c>false</c> otherwise.</returns>
virtual public bool UnpackAll() {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_all_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_all_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="subobj">The sub-object to unpack.</param>
/// <returns><c>false</c> if <c>subobj</c> wasn't in the container or couldn't be removed.</returns>
virtual public bool Unpack(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="subobj">The object to pack.</param>
/// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
virtual public bool Pack(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Requests EFL to call the <see cref="Efl.IPackLayout.UpdateLayout"/> method on this object.
/// This <see cref="Efl.IPackLayout.UpdateLayout"/> may be called asynchronously.</summary>
virtual public void LayoutRequest() {
- Efl.IPackLayoutConcrete.NativeMethods.efl_pack_layout_request_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.IPackLayoutConcrete.NativeMethods.efl_pack_layout_request_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Implementation of this container's layout algorithm.
///
/// This can be overriden to implement custom layout behaviors.</summary>
virtual public void UpdateLayout() {
- Efl.IPackLayoutConcrete.NativeMethods.efl_pack_layout_update_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.IPackLayoutConcrete.NativeMethods.efl_pack_layout_update_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Prepend an object at the beginning of this container.
/// <param name="subobj">Object to pack at the beginning.</param>
/// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
virtual public bool PackBegin(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_begin_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_begin_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="subobj">Object to pack at the end.</param>
/// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
virtual public bool PackEnd(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_end_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_end_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="existing">Existing reference sub-object.</param>
/// <returns><c>false</c> if <c>existing</c> could not be found or <c>subobj</c> could not be packed.</returns>
virtual public bool PackBefore(Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_before_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj, existing);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_before_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, existing);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="existing">Existing reference sub-object.</param>
/// <returns><c>false</c> if <c>existing</c> could not be found or <c>subobj</c> could not be packed.</returns>
virtual public bool PackAfter(Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_after_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj, existing);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_after_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, existing);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="index">Index of existing sub-object to insert BEFORE. Valid range is -<c>count</c> to (<c>count</c>-1).</param>
/// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
virtual public bool PackAt(Efl.Gfx.IEntity subobj, int index) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_at_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj, index);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_at_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, index);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="index">Index of the existing sub-object to retrieve. Valid range is -<c>count</c> to (<c>count</c>-1).</param>
/// <returns>The sub-object contained at the given <c>index</c>.</returns>
virtual public Efl.Gfx.IEntity GetPackContent(int index) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),index);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),index);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="subobj">An existing sub-object in this container.</param>
/// <returns>-1 in case <c>subobj</c> is not found, or the index of <c>subobj</c> in the range 0 to (<c>count</c>-1).</returns>
virtual public int GetPackIndex(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_index_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_index_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="index">Index of the sub-object to remove. Valid range is -<c>count</c> to (<c>count</c>-1).</param>
/// <returns>The sub-object if it could be removed.</returns>
virtual public Efl.Gfx.IEntity PackUnpackAt(int index) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_unpack_at_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),index);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_unpack_at_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),index);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="align_horiz">Horizontal alignment</param>
/// <param name="align_vert">Vertical alignment</param>
virtual public void GetContentAlign(out double align_horiz, out double align_vert) {
- Efl.Gfx.IArrangementConcrete.NativeMethods.efl_gfx_arrangement_content_align_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out align_horiz, out align_vert);
+ Efl.Gfx.IArrangementConcrete.NativeMethods.efl_gfx_arrangement_content_align_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out align_horiz, out align_vert);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Alignment of the container within its bounds</summary>
/// <param name="align_horiz">Horizontal alignment</param>
/// <param name="align_vert">Vertical alignment</param>
virtual public void SetContentAlign(double align_horiz, double align_vert) {
- Efl.Gfx.IArrangementConcrete.NativeMethods.efl_gfx_arrangement_content_align_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),align_horiz, align_vert);
+ Efl.Gfx.IArrangementConcrete.NativeMethods.efl_gfx_arrangement_content_align_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),align_horiz, align_vert);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Padding between items contained in this object.</summary>
/// <param name="pad_vert">Vertical padding</param>
/// <param name="scalable"><c>true</c> if scalable, <c>false</c> otherwise</param>
virtual public void GetContentPadding(out double pad_horiz, out double pad_vert, out bool scalable) {
- Efl.Gfx.IArrangementConcrete.NativeMethods.efl_gfx_arrangement_content_padding_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out pad_horiz, out pad_vert, out scalable);
+ Efl.Gfx.IArrangementConcrete.NativeMethods.efl_gfx_arrangement_content_padding_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out pad_horiz, out pad_vert, out scalable);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Padding between items contained in this object.</summary>
/// <param name="pad_vert">Vertical padding</param>
/// <param name="scalable"><c>true</c> if scalable, <c>false</c> otherwise</param>
virtual public void SetContentPadding(double pad_horiz, double pad_vert, bool scalable) {
- Efl.Gfx.IArrangementConcrete.NativeMethods.efl_gfx_arrangement_content_padding_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),pad_horiz, pad_vert, scalable);
+ Efl.Gfx.IArrangementConcrete.NativeMethods.efl_gfx_arrangement_content_padding_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),pad_horiz, pad_vert, scalable);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control the direction of a given widget.
/// Mirroring as defined in <see cref="Efl.Ui.II18n"/> can invert the <c>horizontal</c> direction: it is <c>ltr</c> by default, but becomes <c>rtl</c> if the object is mirrored.</summary>
/// <returns>Direction of the widget.</returns>
virtual public Efl.Ui.LayoutOrientation GetOrientation() {
- var _ret_var = Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Mirroring as defined in <see cref="Efl.Ui.II18n"/> can invert the <c>horizontal</c> direction: it is <c>ltr</c> by default, but becomes <c>rtl</c> if the object is mirrored.</summary>
/// <param name="dir">Direction of the widget.</param>
virtual public void SetOrientation(Efl.Ui.LayoutOrientation dir) {
- Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dir);
+ Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dir);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The mode type for children selection.</summary>
/// <returns>Type of selection of children</returns>
virtual public Efl.Ui.SelectMode GetSelectMode() {
- var _ret_var = Efl.Ui.IMultiSelectableConcrete.NativeMethods.efl_ui_select_mode_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IMultiSelectableConcrete.NativeMethods.efl_ui_select_mode_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>The mode type for children selection.</summary>
/// <param name="mode">Type of selection of children</param>
virtual public void SetSelectMode(Efl.Ui.SelectMode mode) {
- Efl.Ui.IMultiSelectableConcrete.NativeMethods.efl_ui_select_mode_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),mode);
+ Efl.Ui.IMultiSelectableConcrete.NativeMethods.efl_ui_select_mode_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),mode);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The content position</summary>
/// <returns>The position is virtual value, (0, 0) starting at the top-left.</returns>
virtual public Eina.Position2D GetContentPos() {
- var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_pos_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_pos_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="pos">The position is virtual value, (0, 0) starting at the top-left.</param>
virtual public void SetContentPos(Eina.Position2D pos) {
Eina.Position2D.NativeStruct _in_pos = pos;
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_pos_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_pos);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_pos_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_pos);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The content size</summary>
/// <returns>The content size in pixels.</returns>
virtual public Eina.Size2D GetContentSize() {
- var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>The viewport geometry</summary>
/// <returns>It is absolute geometry.</returns>
virtual public Eina.Rect GetViewportGeometry() {
- var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_viewport_geometry_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_viewport_geometry_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="horiz">Horizontal bounce policy.</param>
/// <param name="vert">Vertical bounce policy.</param>
virtual public void GetBounceEnabled(out bool horiz, out bool vert) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_bounce_enabled_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out horiz, out vert);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_bounce_enabled_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out horiz, out vert);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Bouncing behavior
/// <param name="horiz">Horizontal bounce policy.</param>
/// <param name="vert">Vertical bounce policy.</param>
virtual public void SetBounceEnabled(bool horiz, bool vert) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_bounce_enabled_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),horiz, vert);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_bounce_enabled_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),horiz, vert);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Freeze property This function will freeze scrolling movement (by input of a user). Unlike efl_ui_scrollable_movement_block_set, this function freezes bidirectionally. If you want to freeze in only one direction, See <see cref="Efl.Ui.IScrollableInteractive.SetMovementBlock"/>.</summary>
/// <returns><c>true</c> if freeze, <c>false</c> otherwise</returns>
virtual public bool GetScrollFreeze() {
- var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_freeze_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_freeze_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Freeze property This function will freeze scrolling movement (by input of a user). Unlike efl_ui_scrollable_movement_block_set, this function freezes bidirectionally. If you want to freeze in only one direction, See <see cref="Efl.Ui.IScrollableInteractive.SetMovementBlock"/>.</summary>
/// <param name="freeze"><c>true</c> if freeze, <c>false</c> otherwise</param>
virtual public void SetScrollFreeze(bool freeze) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_freeze_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),freeze);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_freeze_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),freeze);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Hold property When hold turns on, it only scrolls by holding action.</summary>
/// <returns><c>true</c> if hold, <c>false</c> otherwise</returns>
virtual public bool GetScrollHold() {
- var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_hold_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_hold_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Hold property When hold turns on, it only scrolls by holding action.</summary>
/// <param name="hold"><c>true</c> if hold, <c>false</c> otherwise</param>
virtual public void SetScrollHold(bool hold) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_hold_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),hold);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_hold_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),hold);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Controls an infinite loop for a scroller.</summary>
/// <param name="loop_h">The scrolling horizontal loop</param>
/// <param name="loop_v">The Scrolling vertical loop</param>
virtual public void GetLooping(out bool loop_h, out bool loop_v) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_looping_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out loop_h, out loop_v);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_looping_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out loop_h, out loop_v);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Controls an infinite loop for a scroller.</summary>
/// <param name="loop_h">The scrolling horizontal loop</param>
/// <param name="loop_v">The Scrolling vertical loop</param>
virtual public void SetLooping(bool loop_h, bool loop_v) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_looping_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),loop_h, loop_v);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_looping_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),loop_h, loop_v);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Blocking of scrolling (per axis)
/// This function will block scrolling movement (by input of a user) in a given direction. You can disable movements in the X axis, the Y axis or both. The default value is <c>none</c>, where movements are allowed in both directions.</summary>
/// <returns>Which axis (or axes) to block</returns>
virtual public Efl.Ui.ScrollBlock GetMovementBlock() {
- var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_movement_block_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_movement_block_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This function will block scrolling movement (by input of a user) in a given direction. You can disable movements in the X axis, the Y axis or both. The default value is <c>none</c>, where movements are allowed in both directions.</summary>
/// <param name="block">Which axis (or axes) to block</param>
virtual public void SetMovementBlock(Efl.Ui.ScrollBlock block) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_movement_block_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),block);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_movement_block_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),block);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control scrolling gravity on the scrollable
/// <param name="x">Horizontal scrolling gravity</param>
/// <param name="y">Vertical scrolling gravity</param>
virtual public void GetGravity(out double x, out double y) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_gravity_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out x, out y);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_gravity_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out x, out y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control scrolling gravity on the scrollable
/// <param name="x">Horizontal scrolling gravity</param>
/// <param name="y">Vertical scrolling gravity</param>
virtual public void SetGravity(double x, double y) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_gravity_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),x, y);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_gravity_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Prevent the scrollable from being smaller than the minimum size of the content.
/// <param name="w">Whether to limit the minimum horizontal size</param>
/// <param name="h">Whether to limit the minimum vertical size</param>
virtual public void SetMatchContent(bool w, bool h) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_match_content_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),w, h);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_match_content_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),w, h);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control the step size
/// Use this call to set step size. This value is used when scroller scroll by arrow key event.</summary>
/// <returns>The step size in pixels</returns>
virtual public Eina.Position2D GetStepSize() {
- var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_step_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_step_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="step">The step size in pixels</param>
virtual public void SetStepSize(Eina.Position2D step) {
Eina.Position2D.NativeStruct _in_step = step;
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_step_size_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_step);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_step_size_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_step);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Show a specific virtual region within the scroller content object.
/// <param name="animation">Whether to scroll with animation or not</param>
virtual public void Scroll(Eina.Rect rect, bool animation) {
Eina.Rect.NativeStruct _in_rect = rect;
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_rect, animation);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_rect, animation);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Scrollbar visibility policy</summary>
- /// <param name="hbar">Horizontal scrollbar</param>
- /// <param name="vbar">Vertical scrollbar</param>
+ /// <param name="hbar">Horizontal scrollbar.</param>
+ /// <param name="vbar">Vertical scrollbar.</param>
virtual public void GetBarMode(out Efl.Ui.ScrollbarMode hbar, out Efl.Ui.ScrollbarMode vbar) {
- Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_mode_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out hbar, out vbar);
+ Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_mode_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out hbar, out vbar);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Scrollbar visibility policy</summary>
- /// <param name="hbar">Horizontal scrollbar</param>
- /// <param name="vbar">Vertical scrollbar</param>
+ /// <param name="hbar">Horizontal scrollbar.</param>
+ /// <param name="vbar">Vertical scrollbar.</param>
virtual public void SetBarMode(Efl.Ui.ScrollbarMode hbar, Efl.Ui.ScrollbarMode vbar) {
- Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_mode_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),hbar, vbar);
+ Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_mode_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),hbar, vbar);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Scrollbar size. It is calculated based on viewport size-content sizes.</summary>
- /// <param name="width">Value between 0.0 and 1.0</param>
- /// <param name="height">Value between 0.0 and 1.0</param>
+ /// <param name="width">Value between 0.0 and 1.0.</param>
+ /// <param name="height">Value between 0.0 and 1.0.</param>
virtual public void GetBarSize(out double width, out double height) {
- Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out width, out height);
+ Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out width, out height);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Scrollbar position. It is calculated based on current position-maximum positions.</summary>
- /// <param name="posx">Value between 0.0 and 1.0</param>
- /// <param name="posy">Value between 0.0 and 1.0</param>
+ /// <param name="posx">Value between 0.0 and 1.0.</param>
+ /// <param name="posy">Value between 0.0 and 1.0.</param>
virtual public void GetBarPosition(out double posx, out double posy) {
- Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_position_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out posx, out posy);
+ Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_position_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out posx, out posy);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Scrollbar position. It is calculated based on current position-maximum positions.</summary>
- /// <param name="posx">Value between 0.0 and 1.0</param>
- /// <param name="posy">Value between 0.0 and 1.0</param>
+ /// <param name="posx">Value between 0.0 and 1.0.</param>
+ /// <param name="posy">Value between 0.0 and 1.0.</param>
virtual public void SetBarPosition(double posx, double posy) {
- Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_position_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),posx, posy);
+ Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_position_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),posx, posy);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Update bar visibility.
- /// The object will call this function whenever the bar need to be shown or hidden.</summary>
+ /// The object will call this function whenever the bar needs to be shown or hidden.</summary>
virtual public void UpdateBarVisibility() {
- Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_visibility_update_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_visibility_update_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Property data of item size.</summary>
/// <summary>Grid Default Item class. This class need to be sub object of list widget. Text and contents can be set using <see cref="Efl.IText"/>, <see cref="Efl.IContent"/> or <see cref="Efl.IPart"/>.</summary>
[Efl.Ui.GridDefaultItem.NativeMethods]
+[Efl.Eo.BindingEntity]
public class GridDefaultItem : Efl.Ui.GridItem, Efl.IContent, Efl.IText, Efl.ITextMarkup
{
///<summary>Pointer to the native class description.</summary>
efl_ui_grid_default_item_class_get();
/// <summary>Initializes a new instance of the <see cref="GridDefaultItem"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public GridDefaultItem(Efl.Object parent
- , System.String style = null) : base(efl_ui_grid_default_item_class_get(), typeof(GridDefaultItem), parent)
+ , System.String style = null) : base(efl_ui_grid_default_item_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected GridDefaultItem(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="GridDefaultItem"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected GridDefaultItem(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected GridDefaultItem(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="GridDefaultItem"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected GridDefaultItem(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected GridDefaultItem(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// (Since EFL 1.22)</summary>
/// <returns>The sub-object.</returns>
virtual public Efl.Gfx.IEntity GetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="content">The sub-object.</param>
/// <returns><c>true</c> if <c>content</c> was successfully swallowed.</returns>
virtual public bool SetContent(Efl.Gfx.IEntity content) {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),content);
+ 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);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Unswallowed object</returns>
virtual public Efl.Gfx.IEntity UnsetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Text string to display on it.</returns>
virtual public System.String GetText() {
- var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="text">Text string to display on it.</param>
virtual public void SetText(System.String text) {
- Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),text);
+ Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),text);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Markup property</summary>
/// <returns>The markup-text representation set to this text.</returns>
virtual public System.String GetMarkup() {
- var _ret_var = Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Markup property</summary>
/// <param name="markup">The markup-text representation set to this text.</param>
virtual public void SetMarkup(System.String markup) {
- Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),markup);
+ Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),markup);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Sub-object currently set as this object's single content.
namespace Ui {
[Efl.Ui.GridItem.NativeMethods]
+[Efl.Eo.BindingEntity]
public abstract class GridItem : Efl.Ui.Item
{
///<summary>Pointer to the native class description.</summary>
efl_ui_grid_item_class_get();
/// <summary>Initializes a new instance of the <see cref="GridItem"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public GridItem(Efl.Object parent
- , System.String style = null) : base(efl_ui_grid_item_class_get(), typeof(GridItem), parent)
+ , System.String style = null) : base(efl_ui_grid_item_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected GridItem(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="GridItem"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected GridItem(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected GridItem(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
[Efl.Eo.PrivateNativeClass]
private class GridItemRealized : GridItem
{
- private GridItemRealized(IntPtr ptr) : base(ptr)
+ private GridItemRealized(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Initializes a new instance of the <see cref="GridItem"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected GridItem(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected GridItem(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>A common Internationalization interface for UI objects.</summary>
[Efl.Ui.II18nConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface II18n :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private II18nConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_ui_i18n_interface_get();
/// <summary>Initializes a new instance of the <see cref="II18n"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private II18nConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private II18nConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
namespace Ui {
///<summary>Event argument wrapper for event <see cref="Efl.Ui.Image.DropEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class ImageDropEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public System.String arg { get; set; }
/// <summary>Efl UI image class
/// When loading images from a file, the <see cref="Efl.IFile.Key"/> property can be used to access different streams. For example, when accessing Evas image caches.</summary>
[Efl.Ui.Image.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IImage, Efl.Gfx.IImageLoadController, Efl.Gfx.IImageOrientable, Efl.Gfx.IView, Efl.Layout.ICalc, Efl.Layout.IGroup, Efl.Layout.ISignal, Efl.Ui.IClickable, Efl.Ui.IDraggable
{
///<summary>Pointer to the native class description.</summary>
efl_ui_image_class_get();
/// <summary>Initializes a new instance of the <see cref="Image"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public Image(Efl.Object parent
- , System.String style = null) : base(efl_ui_image_class_get(), typeof(Image), parent)
+ , System.String style = null) : base(efl_ui_image_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Image(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Image"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Image(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Image(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Image"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Image(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Image(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_IMAGE_EVENT_DROP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_PRELOAD";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_RESIZE";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_UNLOAD";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_IMAGE_LOAD_CONTROLLER_EVENT_LOAD_DONE";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_IMAGE_LOAD_CONTROLLER_EVENT_LOAD_ERROR";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_LAYOUT_EVENT_RECALC";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_LAYOUT_EVENT_CIRCULAR_DEPENDENCY";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_CLICKED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_CLICKED_ANY";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_PRESSED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_UNPRESSED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_LONGPRESSED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_DRAG";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_DRAG_START";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_DRAG_STOP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_DRAG_END";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_DRAG_START_UP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_DRAG_START_DOWN";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_DRAG_START_RIGHT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_DRAG_START_LEFT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// <param name="scale_up">If <c>true</c>, the internal image might be scaled up if necessary according to the scale type. if <c>false</c>, the internal image is not scaled up no matter what the scale type is.</param>
/// <param name="scale_down">If <c>true</c>, the internal image might be scaled down if necessary according to the scale type. if <c>false</c>, the internal image is not scaled down no matter what the scale type is.</param>
virtual public void GetScalable(out bool scale_up, out bool scale_down) {
- Efl.Ui.Image.NativeMethods.efl_ui_image_scalable_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out scale_up, out scale_down);
+ Efl.Ui.Image.NativeMethods.efl_ui_image_scalable_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out scale_up, out scale_down);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Enable or disable scaling up or down the internal image.</summary>
/// <param name="scale_up">If <c>true</c>, the internal image might be scaled up if necessary according to the scale type. if <c>false</c>, the internal image is not scaled up no matter what the scale type is.</param>
/// <param name="scale_down">If <c>true</c>, the internal image might be scaled down if necessary according to the scale type. if <c>false</c>, the internal image is not scaled down no matter what the scale type is.</param>
virtual public void SetScalable(bool scale_up, bool scale_down) {
- Efl.Ui.Image.NativeMethods.efl_ui_image_scalable_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),scale_up, scale_down);
+ Efl.Ui.Image.NativeMethods.efl_ui_image_scalable_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),scale_up, scale_down);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Controls how the internal image is positioned inside an image object.</summary>
/// <param name="align_x">Alignment in the horizontal axis (0 <= align_x <= 1).</param>
/// <param name="align_y">Alignment in the vertical axis (0 <= align_y <= 1).</param>
virtual public void GetAlign(out double align_x, out double align_y) {
- Efl.Ui.Image.NativeMethods.efl_ui_image_align_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out align_x, out align_y);
+ Efl.Ui.Image.NativeMethods.efl_ui_image_align_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out align_x, out align_y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Controls how the internal image is positioned inside an image object.</summary>
/// <param name="align_x">Alignment in the horizontal axis (0 <= align_x <= 1).</param>
/// <param name="align_y">Alignment in the vertical axis (0 <= align_y <= 1).</param>
virtual public void SetAlign(double align_x, double align_y) {
- Efl.Ui.Image.NativeMethods.efl_ui_image_align_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),align_x, align_y);
+ Efl.Ui.Image.NativeMethods.efl_ui_image_align_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),align_x, align_y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the icon name of image set by icon standard names.
/// If the image was set using efl_file_set() instead of <see cref="Efl.Ui.Image.SetIcon"/>, then this function will return null.</summary>
/// <returns>The icon name</returns>
virtual public System.String GetIcon() {
- var _ret_var = Efl.Ui.Image.NativeMethods.efl_ui_image_icon_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Image.NativeMethods.efl_ui_image_icon_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="name">The icon name</param>
/// <returns><c>true</c> on success, <c>false</c> on error</returns>
virtual public bool SetIcon(System.String name) {
- var _ret_var = Efl.Ui.Image.NativeMethods.efl_ui_image_icon_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),name);
+ var _ret_var = Efl.Ui.Image.NativeMethods.efl_ui_image_icon_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),name);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The handle to the <see cref="Eina.File"/> that will be used</returns>
virtual public Eina.File GetMmap() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="f">The handle to the <see cref="Eina.File"/> that will be used</param>
/// <returns>0 on success, error code otherwise</returns>
virtual public Eina.Error SetMmap(Eina.File f) {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),f);
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),f);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The file path.</returns>
virtual public System.String GetFile() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="file">The file path.</param>
/// <returns>0 on success, error code otherwise</returns>
virtual public Eina.Error SetFile(System.String file) {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),file);
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),file);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The group that the data belongs to. See the class documentation for particular implementations of this interface to see how this property is used.</returns>
virtual public System.String GetKey() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_key_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_key_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="key">The group that the data belongs to. See the class documentation for particular implementations of this interface to see how this property is used.</param>
virtual public void SetKey(System.String key) {
- Efl.IFileConcrete.NativeMethods.efl_file_key_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),key);
+ Efl.IFileConcrete.NativeMethods.efl_file_key_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),key);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the load state of the object.
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if the object is loaded, <c>false</c> otherwise.</returns>
virtual public bool GetLoaded() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_loaded_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_loaded_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>0 on success, error code otherwise</returns>
virtual public Eina.Error Load() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_load_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_load_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Calling <see cref="Efl.IFile.Unload"/> on an object which is not currently loaded will have no effect.
/// (Since EFL 1.22)</summary>
virtual public void Unload() {
- Efl.IFileConcrete.NativeMethods.efl_file_unload_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.IFileConcrete.NativeMethods.efl_file_unload_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Whether or not the playable can be played.</summary>
/// <returns><c>true</c> if the object have playable data, <c>false</c> otherwise</returns>
virtual public bool GetPlayable() {
- var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_playable_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_playable_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Get play/pause state of the media file.</summary>
/// <returns><c>true</c> if playing, <c>false</c> otherwise.</returns>
virtual public bool GetPlay() {
- var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_play_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_play_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This functions sets the currently playing status of the video. Using this function to play or pause the video doesn't alter it's current position.</summary>
/// <param name="play"><c>true</c> if playing, <c>false</c> otherwise.</param>
virtual public void SetPlay(bool play) {
- Efl.IPlayerConcrete.NativeMethods.efl_player_play_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),play);
+ Efl.IPlayerConcrete.NativeMethods.efl_player_play_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),play);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the position in the media file.
/// The position is returned as the number of seconds since the beginning of the media file.</summary>
/// <returns>The position (in seconds).</returns>
virtual public double GetPos() {
- var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_pos_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_pos_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This functions sets the current position of the media file to "sec", this only works on seekable streams. Setting the position doesn't change the playing state of the media file.</summary>
/// <param name="sec">The position (in seconds).</param>
virtual public void SetPos(double sec) {
- Efl.IPlayerConcrete.NativeMethods.efl_player_pos_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),sec);
+ Efl.IPlayerConcrete.NativeMethods.efl_player_pos_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),sec);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get how much of the file has been played.
/// This function gets the progress in playing the file, the return value is in the [0, 1] range.</summary>
/// <returns>The progress within the [0, 1] range.</returns>
virtual public double GetProgress() {
- var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_progress_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_progress_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This function control the speed with which the media file will be played. 1.0 represents the normal speed, 2 double speed, 0.5 half speed and so on.</summary>
/// <returns>The play speed in the [0, infinity) range.</returns>
virtual public double GetPlaySpeed() {
- var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_play_speed_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_play_speed_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This function control the speed with which the media file will be played. 1.0 represents the normal speed, 2 double speed, 0.5 half speed and so on.</summary>
/// <param name="speed">The play speed in the [0, infinity) range.</param>
virtual public void SetPlaySpeed(double speed) {
- Efl.IPlayerConcrete.NativeMethods.efl_player_play_speed_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),speed);
+ Efl.IPlayerConcrete.NativeMethods.efl_player_play_speed_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),speed);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control the audio volume.
/// Controls the audio volume of the stream being played. This has nothing to do with the system volume. This volume will be multiplied by the system volume. e.g.: if the current volume level is 0.5, and the system volume is 50%, it will be 0.5 * 0.5 = 0.25.</summary>
/// <returns>The volume level</returns>
virtual public double GetVolume() {
- var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_volume_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_volume_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Controls the audio volume of the stream being played. This has nothing to do with the system volume. This volume will be multiplied by the system volume. e.g.: if the current volume level is 0.5, and the system volume is 50%, it will be 0.5 * 0.5 = 0.25.</summary>
/// <param name="volume">The volume level</param>
virtual public void SetVolume(double volume) {
- Efl.IPlayerConcrete.NativeMethods.efl_player_volume_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),volume);
+ Efl.IPlayerConcrete.NativeMethods.efl_player_volume_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),volume);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This property controls the audio mute state.</summary>
/// <returns>The mute state. <c>true</c> or <c>false</c>.</returns>
virtual public bool GetMute() {
- var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_mute_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_mute_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>This property controls the audio mute state.</summary>
/// <param name="mute">The mute state. <c>true</c> or <c>false</c>.</param>
virtual public void SetMute(bool mute) {
- Efl.IPlayerConcrete.NativeMethods.efl_player_mute_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),mute);
+ Efl.IPlayerConcrete.NativeMethods.efl_player_mute_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),mute);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the length of play for the media file.</summary>
/// <returns>The length of the stream in seconds.</returns>
virtual public double GetLength() {
- var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_length_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_length_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Get whether the media file is seekable.</summary>
/// <returns><c>true</c> if seekable.</returns>
virtual public bool GetSeekable() {
- var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_seekable_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_seekable_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Start a playing playable object.</summary>
virtual public void Start() {
- Efl.IPlayerConcrete.NativeMethods.efl_player_start_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.IPlayerConcrete.NativeMethods.efl_player_start_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Stop playable object.</summary>
virtual public void Stop() {
- Efl.IPlayerConcrete.NativeMethods.efl_player_stop_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.IPlayerConcrete.NativeMethods.efl_player_stop_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Whether to use high-quality image scaling algorithm for this image.
/// <c>true</c> by default</summary>
/// <returns>Whether to use smooth scale or not.</returns>
virtual public bool GetSmoothScale() {
- var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_smooth_scale_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_smooth_scale_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <c>true</c> by default</summary>
/// <param name="smooth_scale">Whether to use smooth scale or not.</param>
virtual public void SetSmoothScale(bool smooth_scale) {
- Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_smooth_scale_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),smooth_scale);
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_smooth_scale_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),smooth_scale);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control how the image is scaled.</summary>
/// <returns>Image scale type</returns>
virtual public Efl.Gfx.ImageScaleType GetScaleType() {
- var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_scale_type_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_scale_type_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Control how the image is scaled.</summary>
/// <param name="scale_type">Image scale type</param>
virtual public void SetScaleType(Efl.Gfx.ImageScaleType scale_type) {
- Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_scale_type_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),scale_type);
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_scale_type_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),scale_type);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Returns 1.0 if not applicable (eg. height = 0).</summary>
/// <returns>The image's ratio.</returns>
virtual public double GetRatio() {
- var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_ratio_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_ratio_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Return the relative area enclosed inside the image where content is expected.
+ /// We do expect content to be inside the limit defined by the border or inside the stretch region. If a stretch region is provided, the content region will encompass the non strechable area that are surrounded by stretchable area. If no border and no stretch region is set, they are assumed to be zero and the full object geometry is where content can be layout on top. The area size change with the object size.
+ ///
+ /// The geometry of the area is expressed relative to the geometry of the object.</summary>
+ /// <returns>A rectangle inside the object boundary that where content is expected.</returns>
+ virtual public Eina.Rect GetContentRegion() {
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_content_region_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="t">The border's top height.</param>
/// <param name="b">The border's bottom height.</param>
virtual public void GetBorder(out int l, out int r, out int t, out int b) {
- Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out l, out r, out t, out b);
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out l, out r, out t, out b);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Dimensions of this image's border, a region that does not scale with the center area.
/// <param name="t">The border's top height.</param>
/// <param name="b">The border's bottom height.</param>
virtual public void SetBorder(int l, int r, int t, int b) {
- Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),l, r, t, b);
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),l, r, t, b);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Scaling factor applied to the image borders.
/// Default value is 1.0 (no scaling).</summary>
/// <returns>The scale factor.</returns>
virtual public double GetBorderScale() {
- var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_scale_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_scale_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Default value is 1.0 (no scaling).</summary>
/// <param name="scale">The scale factor.</param>
virtual public void SetBorderScale(double scale) {
- Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_scale_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),scale);
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_scale_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),scale);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Specifies how the center part of the object (not the borders) should be drawn when EFL is rendering it.
/// The default value is <see cref="Efl.Gfx.BorderFillMode.Default"/>, ie. render and scale the center area, respecting its transparency.</summary>
/// <returns>Fill mode of the center region.</returns>
virtual public Efl.Gfx.BorderFillMode GetBorderCenterFill() {
- var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_center_fill_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_center_fill_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// The default value is <see cref="Efl.Gfx.BorderFillMode.Default"/>, ie. render and scale the center area, respecting its transparency.</summary>
/// <param name="fill">Fill mode of the center region.</param>
virtual public void SetBorderCenterFill(Efl.Gfx.BorderFillMode fill) {
- Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_center_fill_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),fill);
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_center_fill_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),fill);
Eina.Error.RaiseIfUnhandledException();
}
+ /// <summary>This property defines the stretchable pixels region of an image.
+ /// When the regions are set by the user, the method will walk the iterators once and then destroy them. When the regions are retrieved by the user, it is his responsibility to destroy the iterators.. It will remember the information for the lifetime of the object. It will ignore all value of <see cref="Efl.Gfx.IImage.GetBorder"/>, <see cref="Efl.Gfx.IImage.BorderScale"/> and <see cref="Efl.Gfx.IImage.BorderCenterFill"/> . To reset the object you can just pass <c>null</c> to both horizontal and vertical at the same time.</summary>
+ /// <param name="horizontal">Representation of area that are stretchable in the image horizontal space.</param>
+ /// <param name="vertical">Representation of area that are stretchable in the image vertical space.</param>
+ virtual public void GetStretchRegion(out Eina.Iterator<Efl.Gfx.Image.StretchRegion> horizontal, out Eina.Iterator<Efl.Gfx.Image.StretchRegion> vertical) {
+ System.IntPtr _out_horizontal = System.IntPtr.Zero;
+ System.IntPtr _out_vertical = System.IntPtr.Zero;
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_stretch_region_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out _out_horizontal, out _out_vertical);
+ Eina.Error.RaiseIfUnhandledException();
+ horizontal = new Eina.Iterator<Efl.Gfx.Image.StretchRegion>(_out_horizontal, false);
+ vertical = new Eina.Iterator<Efl.Gfx.Image.StretchRegion>(_out_vertical, false);
+ }
+ /// <summary>This property defines the stretchable pixels region of an image.
+ /// When the regions are set by the user, the method will walk the iterators once and then destroy them. When the regions are retrieved by the user, it is his responsibility to destroy the iterators.. It will remember the information for the lifetime of the object. It will ignore all value of <see cref="Efl.Gfx.IImage.GetBorder"/>, <see cref="Efl.Gfx.IImage.BorderScale"/> and <see cref="Efl.Gfx.IImage.BorderCenterFill"/> . To reset the object you can just pass <c>null</c> to both horizontal and vertical at the same time.</summary>
+ /// <param name="horizontal">Representation of area that are stretchable in the image horizontal space.</param>
+ /// <param name="vertical">Representation of area that are stretchable in the image vertical space.</param>
+ /// <returns>return an error code if the stretch_region provided are incorrect.</returns>
+ virtual public Eina.Error SetStretchRegion(Eina.Iterator<Efl.Gfx.Image.StretchRegion> horizontal, Eina.Iterator<Efl.Gfx.Image.StretchRegion> vertical) {
+ var _in_horizontal = horizontal.Handle;
+ var _in_vertical = vertical.Handle;
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_stretch_region_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_horizontal, _in_vertical);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
/// <summary>This represents the size of the original image in pixels.
/// This may be different from the actual geometry on screen or even the size of the loaded pixel buffer. This is the size of the image as stored in the original file.
///
/// This is a read-only property, and may return 0x0.</summary>
/// <returns>The size in pixels.</returns>
virtual public Eina.Size2D GetImageSize() {
- var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This returns #EVAS_IMAGE_CONTENT_HINT_NONE on error.</summary>
/// <returns>Dynamic or static content hint, see <see cref="Efl.Gfx.ImageContentHint"/></returns>
virtual public Efl.Gfx.ImageContentHint GetContentHint() {
- var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_content_hint_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_content_hint_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This function sets the content hint value of the given image of the canvas. For example, if you're on the GL engine and your driver implementation supports it, setting this hint to #EVAS_IMAGE_CONTENT_HINT_DYNAMIC will make it need zero copies at texture upload time, which is an "expensive" operation.</summary>
/// <param name="hint">Dynamic or static content hint, see <see cref="Efl.Gfx.ImageContentHint"/></param>
virtual public void SetContentHint(Efl.Gfx.ImageContentHint hint) {
- Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_content_hint_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),hint);
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_content_hint_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),hint);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the scale hint of a given image of the canvas.
/// This function returns the scale hint value of the given image object of the canvas.</summary>
/// <returns>Scalable or static size hint, see <see cref="Efl.Gfx.ImageScaleHint"/></returns>
virtual public Efl.Gfx.ImageScaleHint GetScaleHint() {
- var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_scale_hint_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_scale_hint_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This function sets the scale hint value of the given image object in the canvas, which will affect how Evas is to cache scaled versions of its original source image.</summary>
/// <param name="hint">Scalable or static size hint, see <see cref="Efl.Gfx.ImageScaleHint"/></param>
virtual public void SetScaleHint(Efl.Gfx.ImageScaleHint hint) {
- Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_scale_hint_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),hint);
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_scale_hint_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),hint);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gets the (last) file loading error for a given object.</summary>
/// <returns>The load error code.</returns>
virtual public Eina.Error GetImageLoadError() {
- var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_load_error_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_load_error_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Returns the requested load size.</summary>
/// <returns>The image load size.</returns>
virtual public Eina.Size2D GetLoadSize() {
- var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="size">The image load size.</param>
virtual public void SetLoadSize(Eina.Size2D size) {
Eina.Size2D.NativeStruct _in_size = size;
- Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_size_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_size);
+ Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_size_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_size);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the DPI resolution of a loaded image object in the canvas.
/// This function returns the DPI resolution of the given canvas image.</summary>
/// <returns>The DPI resolution.</returns>
virtual public double GetLoadDpi() {
- var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_dpi_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_dpi_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This function sets the DPI resolution of a given loaded canvas image. Most useful for the SVG image loader.</summary>
/// <param name="dpi">The DPI resolution.</param>
virtual public void SetLoadDpi(double dpi) {
- Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_dpi_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dpi);
+ Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_dpi_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dpi);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Indicates whether the <see cref="Efl.Gfx.IImageLoadController.LoadRegion"/> property is supported for the current file.</summary>
/// <returns><c>true</c> if region load of the image is supported, <c>false</c> otherwise</returns>
virtual public bool GetLoadRegionSupport() {
- var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_region_support_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_region_support_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Retrieve the coordinates of a given image object's selective (source image) load region.</summary>
/// <returns>A region of the image.</returns>
virtual public Eina.Rect GetLoadRegion() {
- var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_region_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_region_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="region">A region of the image.</param>
virtual public void SetLoadRegion(Eina.Rect region) {
Eina.Rect.NativeStruct _in_region = region;
- Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_region_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_region);
+ Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_region_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_region);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Defines whether the orientation information in the image file should be honored.
/// The orientation can for instance be set in the EXIF tags of a JPEG image. If this flag is <c>false</c>, then the orientation will be ignored at load time, otherwise the image will be loaded with the proper orientation.</summary>
/// <returns><c>true</c> means that it should honor the orientation information.</returns>
virtual public bool GetLoadOrientation() {
- var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_orientation_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_orientation_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// The orientation can for instance be set in the EXIF tags of a JPEG image. If this flag is <c>false</c>, then the orientation will be ignored at load time, otherwise the image will be loaded with the proper orientation.</summary>
/// <param name="enable"><c>true</c> means that it should honor the orientation information.</param>
virtual public void SetLoadOrientation(bool enable) {
- Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_orientation_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),enable);
+ Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_orientation_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),enable);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The scale down factor is a divider on the original image size.
/// Powers of two (2, 4, 8) are best supported (especially with JPEG)</summary>
/// <returns>The scale down dividing factor.</returns>
virtual public int GetLoadScaleDown() {
- var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_scale_down_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_scale_down_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Requests the image loader to scale down by <c>div</c> times. Call this before starting the actual image load.</summary>
/// <param name="div">The scale down dividing factor.</param>
virtual public void SetLoadScaleDown(int div) {
- Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_scale_down_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),div);
+ Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_scale_down_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),div);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Initial load should skip header check and leave it all to data load
/// If this is true, then future loads of images will defer header loading to a preload stage and/or data load later on rather than at the start when the load begins (e.g. when file is set).</summary>
/// <returns>Will be true if header is to be skipped.</returns>
virtual public bool GetLoadSkipHeader() {
- var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_skip_header_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_skip_header_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Set the skip header state for susbsequent loads of a file.</summary>
/// <param name="skip">Will be true if header is to be skipped.</param>
virtual public void SetLoadSkipHeader(bool skip) {
- Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_skip_header_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),skip);
+ Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_skip_header_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),skip);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Begin preloading an image object's image data in the background.
/// Once the background task is complete the event <c>load</c>,done will be emitted.</summary>
virtual public void LoadAsyncStart() {
- Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_async_start_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_async_start_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Cancel preloading an image object's image data in the background.
/// The object should be left in a state where it has no image data. If cancel is called too late, the image will be kept in memory.</summary>
virtual public void LoadAsyncCancel() {
- Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_async_cancel_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_async_cancel_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control the orientation (rotation and flipping) of a visual object.
/// This can be used to set the rotation on an image or a window, for instance.</summary>
/// <returns>The final orientation of the object.</returns>
- virtual public Efl.Gfx.ImageOrientation GetOrientation() {
- var _ret_var = Efl.Gfx.IImageOrientableConcrete.NativeMethods.efl_gfx_image_orientation_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ virtual public Efl.Gfx.ImageOrientation GetImageOrientation() {
+ var _ret_var = Efl.Gfx.IImageOrientableConcrete.NativeMethods.efl_gfx_image_orientation_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Control the orientation (rotation and flipping) of a visual object.
/// This can be used to set the rotation on an image or a window, for instance.</summary>
/// <param name="dir">The final orientation of the object.</param>
- virtual public void SetOrientation(Efl.Gfx.ImageOrientation dir) {
- Efl.Gfx.IImageOrientableConcrete.NativeMethods.efl_gfx_image_orientation_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dir);
+ virtual public void SetImageOrientation(Efl.Gfx.ImageOrientation dir) {
+ Efl.Gfx.IImageOrientableConcrete.NativeMethods.efl_gfx_image_orientation_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dir);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The dimensions of this object's viewport.
/// Refer to each implementing class specific documentation for more details.</summary>
/// <returns>Size of the view.</returns>
virtual public Eina.Size2D GetViewSize() {
- var _ret_var = Efl.Gfx.IViewConcrete.NativeMethods.efl_gfx_view_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IViewConcrete.NativeMethods.efl_gfx_view_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="size">Size of the view.</param>
virtual public void SetViewSize(Eina.Size2D size) {
Eina.Size2D.NativeStruct _in_size = size;
- Efl.Gfx.IViewConcrete.NativeMethods.efl_gfx_view_size_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_size);
+ Efl.Gfx.IViewConcrete.NativeMethods.efl_gfx_view_size_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_size);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Whether this object updates its size hints automatically.
/// (Since EFL 1.22)</summary>
/// <returns>Whether or not update the size hints.</returns>
virtual public bool GetCalcAutoUpdateHints() {
- var _ret_var = Efl.Layout.ICalcConcrete.NativeMethods.efl_layout_calc_auto_update_hints_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Layout.ICalcConcrete.NativeMethods.efl_layout_calc_auto_update_hints_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="update">Whether or not update the size hints.</param>
virtual public void SetCalcAutoUpdateHints(bool update) {
- Efl.Layout.ICalcConcrete.NativeMethods.efl_layout_calc_auto_update_hints_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),update);
+ Efl.Layout.ICalcConcrete.NativeMethods.efl_layout_calc_auto_update_hints_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),update);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Calculates the minimum required size for a given layout object.
/// <returns>The minimum required size.</returns>
virtual public Eina.Size2D CalcSizeMin(Eina.Size2D restricted) {
Eina.Size2D.NativeStruct _in_restricted = restricted;
- var _ret_var = Efl.Layout.ICalcConcrete.NativeMethods.efl_layout_calc_size_min_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_restricted);
+ var _ret_var = Efl.Layout.ICalcConcrete.NativeMethods.efl_layout_calc_size_min_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_restricted);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The calculated region.</returns>
virtual public Eina.Rect CalcPartsExtends() {
- var _ret_var = Efl.Layout.ICalcConcrete.NativeMethods.efl_layout_calc_parts_extends_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Layout.ICalcConcrete.NativeMethods.efl_layout_calc_parts_extends_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The frozen state or 0 on error</returns>
virtual public int FreezeCalc() {
- var _ret_var = Efl.Layout.ICalcConcrete.NativeMethods.efl_layout_calc_freeze_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Layout.ICalcConcrete.NativeMethods.efl_layout_calc_freeze_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The frozen state or 0 if the object is not frozen or on error.</returns>
virtual public int ThawCalc() {
- var _ret_var = Efl.Layout.ICalcConcrete.NativeMethods.efl_layout_calc_thaw_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Layout.ICalcConcrete.NativeMethods.efl_layout_calc_thaw_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// See also <see cref="Efl.Layout.ICalc.FreezeCalc"/> and <see cref="Efl.Layout.ICalc.ThawCalc"/>.
/// (Since EFL 1.22)</summary>
virtual public void CalcForce() {
- Efl.Layout.ICalcConcrete.NativeMethods.efl_layout_calc_force_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Layout.ICalcConcrete.NativeMethods.efl_layout_calc_force_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gets the minimum size specified -- as an EDC property -- for a given Edje object
/// (Since EFL 1.22)</summary>
/// <returns>The minimum size as set in EDC.</returns>
virtual public Eina.Size2D GetGroupSizeMin() {
- var _ret_var = Efl.Layout.IGroupConcrete.NativeMethods.efl_layout_group_size_min_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Layout.IGroupConcrete.NativeMethods.efl_layout_group_size_min_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The maximum size as set in EDC.</returns>
virtual public Eina.Size2D GetGroupSizeMax() {
- var _ret_var = Efl.Layout.IGroupConcrete.NativeMethods.efl_layout_group_size_max_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Layout.IGroupConcrete.NativeMethods.efl_layout_group_size_max_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="key">The data field's key string</param>
/// <returns>The data's value string.</returns>
virtual public System.String GetGroupData(System.String key) {
- var _ret_var = Efl.Layout.IGroupConcrete.NativeMethods.efl_layout_group_data_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),key);
+ var _ret_var = Efl.Layout.IGroupConcrete.NativeMethods.efl_layout_group_data_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),key);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="part">The part name to check.</param>
/// <returns><c>true</c> if the part exists, <c>false</c> otherwise.</returns>
virtual public bool GetPartExist(System.String part) {
- var _ret_var = Efl.Layout.IGroupConcrete.NativeMethods.efl_layout_group_part_exist_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),part);
+ var _ret_var = Efl.Layout.IGroupConcrete.NativeMethods.efl_layout_group_part_exist_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),part);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="id">A identification number for the message to be sent</param>
/// <param name="msg">The message's payload</param>
virtual public void MessageSend(int id, Eina.Value msg) {
- Efl.Layout.ISignalConcrete.NativeMethods.efl_layout_signal_message_send_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),id, msg);
+ Efl.Layout.ISignalConcrete.NativeMethods.efl_layout_signal_message_send_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),id, msg);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Adds a callback for an arriving Edje signal, emitted by a given Edje object.
/// <returns><c>true</c> in case of success, <c>false</c> in case of error.</returns>
virtual public bool AddSignalCallback(System.String emission, System.String source, EflLayoutSignalCb func) {
GCHandle func_handle = GCHandle.Alloc(func);
- var _ret_var = Efl.Layout.ISignalConcrete.NativeMethods.efl_layout_signal_callback_add_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),emission, source, GCHandle.ToIntPtr(func_handle), EflLayoutSignalCbWrapper.Cb, Efl.Eo.Globals.free_gchandle);
+ var _ret_var = Efl.Layout.ISignalConcrete.NativeMethods.efl_layout_signal_callback_add_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),emission, source, GCHandle.ToIntPtr(func_handle), EflLayoutSignalCbWrapper.Cb, Efl.Eo.Globals.free_gchandle);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <returns><c>true</c> in case of success, <c>false</c> in case of error.</returns>
virtual public bool DelSignalCallback(System.String emission, System.String source, EflLayoutSignalCb func) {
GCHandle func_handle = GCHandle.Alloc(func);
- var _ret_var = Efl.Layout.ISignalConcrete.NativeMethods.efl_layout_signal_callback_del_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),emission, source, GCHandle.ToIntPtr(func_handle), EflLayoutSignalCbWrapper.Cb, Efl.Eo.Globals.free_gchandle);
+ var _ret_var = Efl.Layout.ISignalConcrete.NativeMethods.efl_layout_signal_callback_del_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),emission, source, GCHandle.ToIntPtr(func_handle), EflLayoutSignalCbWrapper.Cb, Efl.Eo.Globals.free_gchandle);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="emission">The signal's "emission" string</param>
/// <param name="source">The signal's "source" string</param>
virtual public void EmitSignal(System.String emission, System.String source) {
- Efl.Layout.ISignalConcrete.NativeMethods.efl_layout_signal_emit_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),emission, source);
+ Efl.Layout.ISignalConcrete.NativeMethods.efl_layout_signal_emit_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),emission, source);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Processes an object's messages and signals queue.
/// (Since EFL 1.22)</summary>
/// <param name="recurse">Whether to process messages on children objects.</param>
virtual public void SignalProcess(bool recurse) {
- Efl.Layout.ISignalConcrete.NativeMethods.efl_layout_signal_process_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),recurse);
+ Efl.Layout.ISignalConcrete.NativeMethods.efl_layout_signal_process_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),recurse);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Change internal states that a button got pressed.
/// When the button is already pressed, this is silently ignored.</summary>
/// <param name="button">The number of the button. FIXME ensure to have the right interval of possible input</param>
virtual public void Press(uint button) {
- Efl.Ui.IClickableConcrete.NativeMethods.efl_ui_clickable_press_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),button);
+ Efl.Ui.IClickableConcrete.NativeMethods.efl_ui_clickable_press_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),button);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Change internal states that a button got unpressed.
/// When the button is not pressed, this is silently ignored.</summary>
/// <param name="button">The number of the button. FIXME ensure to have the right interval of possible input</param>
virtual public void Unpress(uint button) {
- Efl.Ui.IClickableConcrete.NativeMethods.efl_ui_clickable_unpress_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),button);
+ Efl.Ui.IClickableConcrete.NativeMethods.efl_ui_clickable_unpress_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),button);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This aborts the internal state after a press call.
/// This will stop the timer for longpress. And set the state of the clickable mixin back into the unpressed state.</summary>
virtual public void ResetButtonState(uint button) {
- Efl.Ui.IClickableConcrete.NativeMethods.efl_ui_clickable_button_state_reset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),button);
+ Efl.Ui.IClickableConcrete.NativeMethods.efl_ui_clickable_button_state_reset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),button);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control whether the object's content is changed by drag and drop.
/// If <c>drag_target</c> is true the object can be the target of a dragging object. The content of this object can then be changed into dragging content. For example, if an object deals with image and <c>drag_target</c> is true, the user can drag the new image and drop it into said object. This object's image can then be changed into a new image.</summary>
/// <returns>Turn on or off drop_target. Default is <c>false</c>.</returns>
virtual public bool GetDragTarget() {
- var _ret_var = Efl.Ui.IDraggableConcrete.NativeMethods.efl_ui_draggable_drag_target_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IDraggableConcrete.NativeMethods.efl_ui_draggable_drag_target_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// If <c>drag_target</c> is true the object can be the target of a dragging object. The content of this object can then be changed into dragging content. For example, if an object deals with image and <c>drag_target</c> is true, the user can drag the new image and drop it into said object. This object's image can then be changed into a new image.</summary>
/// <param name="set">Turn on or off drop_target. Default is <c>false</c>.</param>
virtual public void SetDragTarget(bool set) {
- Efl.Ui.IDraggableConcrete.NativeMethods.efl_ui_draggable_drag_target_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),set);
+ Efl.Ui.IDraggableConcrete.NativeMethods.efl_ui_draggable_drag_target_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),set);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the icon name of image set by icon standard names.
public double Ratio {
get { return GetRatio(); }
}
+ /// <summary>Return the relative area enclosed inside the image where content is expected.
+ /// We do expect content to be inside the limit defined by the border or inside the stretch region. If a stretch region is provided, the content region will encompass the non strechable area that are surrounded by stretchable area. If no border and no stretch region is set, they are assumed to be zero and the full object geometry is where content can be layout on top. The area size change with the object size.
+ ///
+ /// The geometry of the area is expressed relative to the geometry of the object.</summary>
+ /// <value>A rectangle inside the object boundary that where content is expected.</value>
+ public Eina.Rect ContentRegion {
+ get { return GetContentRegion(); }
+ }
/// <summary>Scaling factor applied to the image borders.
/// This value multiplies the size of the <see cref="Efl.Gfx.IImage.GetBorder"/> when scaling an object.
///
/// <summary>Control the orientation (rotation and flipping) of a visual object.
/// This can be used to set the rotation on an image or a window, for instance.</summary>
/// <value>The final orientation of the object.</value>
- public Efl.Gfx.ImageOrientation Orientation {
- get { return GetOrientation(); }
- set { SetOrientation(value); }
+ public Efl.Gfx.ImageOrientation ImageOrientation {
+ get { return GetImageOrientation(); }
+ set { SetImageOrientation(value); }
}
/// <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.
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_ratio_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_ratio_get_static_delegate) });
}
+ if (efl_gfx_image_content_region_get_static_delegate == null)
+ {
+ efl_gfx_image_content_region_get_static_delegate = new efl_gfx_image_content_region_get_delegate(content_region_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetContentRegion") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_content_region_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_content_region_get_static_delegate) });
+ }
+
if (efl_gfx_image_border_get_static_delegate == null)
{
efl_gfx_image_border_get_static_delegate = new efl_gfx_image_border_get_delegate(border_get);
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_border_center_fill_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_border_center_fill_set_static_delegate) });
}
+ if (efl_gfx_image_stretch_region_get_static_delegate == null)
+ {
+ efl_gfx_image_stretch_region_get_static_delegate = new efl_gfx_image_stretch_region_get_delegate(stretch_region_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetStretchRegion") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_stretch_region_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_stretch_region_get_static_delegate) });
+ }
+
+ if (efl_gfx_image_stretch_region_set_static_delegate == null)
+ {
+ efl_gfx_image_stretch_region_set_static_delegate = new efl_gfx_image_stretch_region_set_delegate(stretch_region_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetStretchRegion") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_stretch_region_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_stretch_region_set_static_delegate) });
+ }
+
if (efl_gfx_image_size_get_static_delegate == null)
{
efl_gfx_image_size_get_static_delegate = new efl_gfx_image_size_get_delegate(image_size_get);
if (efl_gfx_image_orientation_get_static_delegate == null)
{
- efl_gfx_image_orientation_get_static_delegate = new efl_gfx_image_orientation_get_delegate(orientation_get);
+ efl_gfx_image_orientation_get_static_delegate = new efl_gfx_image_orientation_get_delegate(image_orientation_get);
}
- if (methods.FirstOrDefault(m => m.Name == "GetOrientation") != null)
+ if (methods.FirstOrDefault(m => m.Name == "GetImageOrientation") != null)
{
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_orientation_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_orientation_get_static_delegate) });
}
if (efl_gfx_image_orientation_set_static_delegate == null)
{
- efl_gfx_image_orientation_set_static_delegate = new efl_gfx_image_orientation_set_delegate(orientation_set);
+ efl_gfx_image_orientation_set_static_delegate = new efl_gfx_image_orientation_set_delegate(image_orientation_set);
}
- if (methods.FirstOrDefault(m => m.Name == "SetOrientation") != null)
+ if (methods.FirstOrDefault(m => m.Name == "SetImageOrientation") != null)
{
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_orientation_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_orientation_set_static_delegate) });
}
private static efl_gfx_image_ratio_get_delegate efl_gfx_image_ratio_get_static_delegate;
+ private delegate Eina.Rect.NativeStruct efl_gfx_image_content_region_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate Eina.Rect.NativeStruct efl_gfx_image_content_region_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_content_region_get_api_delegate> efl_gfx_image_content_region_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_content_region_get_api_delegate>(Module, "efl_gfx_image_content_region_get");
+
+ private static Eina.Rect.NativeStruct content_region_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_gfx_image_content_region_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Rect _ret_var = default(Eina.Rect);
+ try
+ {
+ _ret_var = ((Image)ws.Target).GetContentRegion();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_gfx_image_content_region_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_gfx_image_content_region_get_delegate efl_gfx_image_content_region_get_static_delegate;
+
+
private delegate void efl_gfx_image_border_get_delegate(System.IntPtr obj, System.IntPtr pd, out int l, out int r, out int t, out int b);
private static efl_gfx_image_border_center_fill_set_delegate efl_gfx_image_border_center_fill_set_static_delegate;
+ private delegate void efl_gfx_image_stretch_region_get_delegate(System.IntPtr obj, System.IntPtr pd, out System.IntPtr horizontal, out System.IntPtr vertical);
+
+
+ public delegate void efl_gfx_image_stretch_region_get_api_delegate(System.IntPtr obj, out System.IntPtr horizontal, out System.IntPtr vertical);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_stretch_region_get_api_delegate> efl_gfx_image_stretch_region_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_stretch_region_get_api_delegate>(Module, "efl_gfx_image_stretch_region_get");
+
+ private static void stretch_region_get(System.IntPtr obj, System.IntPtr pd, out System.IntPtr horizontal, out System.IntPtr vertical)
+ {
+ Eina.Log.Debug("function efl_gfx_image_stretch_region_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Iterator<Efl.Gfx.Image.StretchRegion> _out_horizontal = default(Eina.Iterator<Efl.Gfx.Image.StretchRegion>);
+ Eina.Iterator<Efl.Gfx.Image.StretchRegion> _out_vertical = default(Eina.Iterator<Efl.Gfx.Image.StretchRegion>);
+
+ try
+ {
+ ((Image)ws.Target).GetStretchRegion(out _out_horizontal, out _out_vertical);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ horizontal = _out_horizontal.Handle;
+ vertical = _out_vertical.Handle;
+
+ }
+ else
+ {
+ efl_gfx_image_stretch_region_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out horizontal, out vertical);
+ }
+ }
+
+ private static efl_gfx_image_stretch_region_get_delegate efl_gfx_image_stretch_region_get_static_delegate;
+
+
+ private delegate Eina.Error efl_gfx_image_stretch_region_set_delegate(System.IntPtr obj, System.IntPtr pd, System.IntPtr horizontal, System.IntPtr vertical);
+
+
+ public delegate Eina.Error efl_gfx_image_stretch_region_set_api_delegate(System.IntPtr obj, System.IntPtr horizontal, System.IntPtr vertical);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_stretch_region_set_api_delegate> efl_gfx_image_stretch_region_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_stretch_region_set_api_delegate>(Module, "efl_gfx_image_stretch_region_set");
+
+ private static Eina.Error stretch_region_set(System.IntPtr obj, System.IntPtr pd, System.IntPtr horizontal, System.IntPtr vertical)
+ {
+ Eina.Log.Debug("function efl_gfx_image_stretch_region_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ var _in_horizontal = new Eina.Iterator<Efl.Gfx.Image.StretchRegion>(horizontal, false);
+ var _in_vertical = new Eina.Iterator<Efl.Gfx.Image.StretchRegion>(vertical, false);
+ Eina.Error _ret_var = default(Eina.Error);
+ try
+ {
+ _ret_var = ((Image)ws.Target).SetStretchRegion(_in_horizontal, _in_vertical);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_gfx_image_stretch_region_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), horizontal, vertical);
+ }
+ }
+
+ private static efl_gfx_image_stretch_region_set_delegate efl_gfx_image_stretch_region_set_static_delegate;
+
+
private delegate Eina.Size2D.NativeStruct efl_gfx_image_size_get_delegate(System.IntPtr obj, System.IntPtr pd);
public static Efl.Eo.FunctionWrapper<efl_gfx_image_orientation_get_api_delegate> efl_gfx_image_orientation_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_orientation_get_api_delegate>(Module, "efl_gfx_image_orientation_get");
- private static Efl.Gfx.ImageOrientation orientation_get(System.IntPtr obj, System.IntPtr pd)
+ private static Efl.Gfx.ImageOrientation image_orientation_get(System.IntPtr obj, System.IntPtr pd)
{
Eina.Log.Debug("function efl_gfx_image_orientation_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
Efl.Gfx.ImageOrientation _ret_var = default(Efl.Gfx.ImageOrientation);
try
{
- _ret_var = ((Image)ws.Target).GetOrientation();
+ _ret_var = ((Image)ws.Target).GetImageOrientation();
}
catch (Exception e)
{
public static Efl.Eo.FunctionWrapper<efl_gfx_image_orientation_set_api_delegate> efl_gfx_image_orientation_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_orientation_set_api_delegate>(Module, "efl_gfx_image_orientation_set");
- private static void orientation_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.ImageOrientation dir)
+ private static void image_orientation_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.ImageOrientation dir)
{
Eina.Log.Debug("function efl_gfx_image_orientation_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
try
{
- ((Image)ws.Target).SetOrientation(dir);
+ ((Image)ws.Target).SetImageOrientation(dir);
}
catch (Exception e)
{
/// <summary>Structure associated with smart callback 'download,progress'.</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct ImageProgress
{
/// <summary>Current percentage</summary>
/// <summary>Structure associated with smart callback 'download,progress'.</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct ImageError
{
/// <summary>Error status of the download</summary>
/// <summary>Efl UI image factory class</summary>
[Efl.Ui.ImageFactory.NativeMethods]
+[Efl.Eo.BindingEntity]
public class ImageFactory : Efl.Ui.CachingFactory
{
///<summary>Pointer to the native class description.</summary>
efl_ui_image_factory_class_get();
/// <summary>Initializes a new instance of the <see cref="ImageFactory"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="itemClass">Define the class of the item returned by this factory. See <see cref="Efl.Ui.WidgetFactory.SetItemClass"/></param>
+ /// <param name="itemClass">Define the class of the item returned by this factory. See <see cref="Efl.Ui.WidgetFactory.SetItemClass" /></param>
public ImageFactory(Efl.Object parent
- , Type itemClass = null) : base(efl_ui_image_factory_class_get(), typeof(ImageFactory), parent)
+ , Type itemClass = null) : base(efl_ui_image_factory_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(itemClass))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected ImageFactory(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="ImageFactory"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected ImageFactory(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected ImageFactory(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="ImageFactory"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected ImageFactory(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected ImageFactory(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
namespace Ui {
///<summary>Event argument wrapper for event <see cref="Efl.Ui.ImageZoomable.DownloadProgressEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class ImageZoomableDownloadProgressEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Elm.Photocam.Progress arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.ImageZoomable.DownloadErrorEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class ImageZoomableDownloadErrorEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Elm.Photocam.Error arg { get; set; }
}
/// <summary>Elementary Image Zoomable class</summary>
[Efl.Ui.ImageZoomable.NativeMethods]
+[Efl.Eo.BindingEntity]
public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollableInteractive, Efl.Ui.IScrollbar, Efl.Ui.IZoom
{
///<summary>Pointer to the native class description.</summary>
efl_ui_image_zoomable_class_get();
/// <summary>Initializes a new instance of the <see cref="ImageZoomable"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public ImageZoomable(Efl.Object parent
- , System.String style = null) : base(efl_ui_image_zoomable_class_get(), typeof(ImageZoomable), parent)
+ , System.String style = null) : base(efl_ui_image_zoomable_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected ImageZoomable(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="ImageZoomable"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected ImageZoomable(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected ImageZoomable(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="ImageZoomable"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected ImageZoomable(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected ImageZoomable(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_IMAGE_ZOOMABLE_EVENT_PRESS";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_IMAGE_ZOOMABLE_EVENT_LOAD";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_IMAGE_ZOOMABLE_EVENT_LOADED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_IMAGE_ZOOMABLE_EVENT_LOAD_DETAIL";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_IMAGE_ZOOMABLE_EVENT_LOADED_DETAIL";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_IMAGE_ZOOMABLE_EVENT_DOWNLOAD_START";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
if (obj != null)
{
Efl.Ui.ImageZoomableDownloadProgressEvt_Args args = new Efl.Ui.ImageZoomableDownloadProgressEvt_Args();
- args.arg = default(Elm.Photocam.Progress);
+ args.arg = (Elm.Photocam.Progress)evt.Info;
try
{
value?.Invoke(obj, args);
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_IMAGE_ZOOMABLE_EVENT_DOWNLOAD_PROGRESS";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_IMAGE_ZOOMABLE_EVENT_DOWNLOAD_DONE";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
if (obj != null)
{
Efl.Ui.ImageZoomableDownloadErrorEvt_Args args = new Efl.Ui.ImageZoomableDownloadErrorEvt_Args();
- args.arg = default(Elm.Photocam.Error);
+ args.arg = (Elm.Photocam.Error)evt.Info;
try
{
value?.Invoke(obj, args);
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_IMAGE_ZOOMABLE_EVENT_DOWNLOAD_ERROR";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_START";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_STOP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_UP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_DOWN";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_LEFT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_RIGHT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_EDGE_UP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_EDGE_DOWN";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_EDGE_LEFT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_EDGE_RIGHT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_ANIM_START";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_DRAG_START";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Called when bar is pressed</summary>
+ /// <summary>Called when bar is pressed.</summary>
public event EventHandler<Efl.Ui.IScrollbarBarPressEvt_Args> BarPressEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
if (obj != null)
{
Efl.Ui.IScrollbarBarPressEvt_Args args = new Efl.Ui.IScrollbarBarPressEvt_Args();
- args.arg = default(Efl.Ui.ScrollbarDirection);
+ args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
try
{
value?.Invoke(obj, args);
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
Marshal.FreeHGlobal(info);
}
}
- /// <summary>Called when bar is unpressed</summary>
+ /// <summary>Called when bar is unpressed.</summary>
public event EventHandler<Efl.Ui.IScrollbarBarUnpressEvt_Args> BarUnpressEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
if (obj != null)
{
Efl.Ui.IScrollbarBarUnpressEvt_Args args = new Efl.Ui.IScrollbarBarUnpressEvt_Args();
- args.arg = default(Efl.Ui.ScrollbarDirection);
+ args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
try
{
value?.Invoke(obj, args);
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
Marshal.FreeHGlobal(info);
}
}
- /// <summary>Called when bar is dragged</summary>
+ /// <summary>Called when bar is dragged.</summary>
public event EventHandler<Efl.Ui.IScrollbarBarDragEvt_Args> BarDragEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
if (obj != null)
{
Efl.Ui.IScrollbarBarDragEvt_Args args = new Efl.Ui.IScrollbarBarDragEvt_Args();
- args.arg = default(Efl.Ui.ScrollbarDirection);
+ args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
try
{
value?.Invoke(obj, args);
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
Marshal.FreeHGlobal(info);
}
}
- /// <summary>Called when bar size is changed</summary>
+ /// <summary>Called when bar size is changed.</summary>
public event EventHandler BarSizeChangedEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Called when bar position is changed</summary>
+ /// <summary>Called when bar position is changed.</summary>
public event EventHandler BarPosChangedEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Callend when bar is shown</summary>
+ /// <summary>Callend when bar is shown.</summary>
public event EventHandler<Efl.Ui.IScrollbarBarShowEvt_Args> BarShowEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
if (obj != null)
{
Efl.Ui.IScrollbarBarShowEvt_Args args = new Efl.Ui.IScrollbarBarShowEvt_Args();
- args.arg = default(Efl.Ui.ScrollbarDirection);
+ args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
try
{
value?.Invoke(obj, args);
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
Marshal.FreeHGlobal(info);
}
}
- /// <summary>Called when bar is hidden</summary>
+ /// <summary>Called when bar is hidden.</summary>
public event EventHandler<Efl.Ui.IScrollbarBarHideEvt_Args> BarHideEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
if (obj != null)
{
Efl.Ui.IScrollbarBarHideEvt_Args args = new Efl.Ui.IScrollbarBarHideEvt_Args();
- args.arg = default(Efl.Ui.ScrollbarDirection);
+ args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
try
{
value?.Invoke(obj, args);
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_ZOOM_START";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_ZOOM_STOP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_ZOOM_CHANGE";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// This gets the current gesture state for the photocam object.</summary>
/// <returns>The gesture state.</returns>
virtual public bool GetGestureEnabled() {
- var _ret_var = Efl.Ui.ImageZoomable.NativeMethods.efl_ui_image_zoomable_gesture_enabled_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.ImageZoomable.NativeMethods.efl_ui_image_zoomable_gesture_enabled_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This sets the gesture state to on or off for photocam. The default is off. This will start multi touch zooming.</summary>
/// <param name="gesture">The gesture state.</param>
virtual public void SetGestureEnabled(bool gesture) {
- Efl.Ui.ImageZoomable.NativeMethods.efl_ui_image_zoomable_gesture_enabled_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),gesture);
+ Efl.Ui.ImageZoomable.NativeMethods.efl_ui_image_zoomable_gesture_enabled_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),gesture);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the region of the image that is currently shown
/// See also <see cref="Efl.Ui.ImageZoomable.SetImageRegion"/>.</summary>
/// <returns>The region in the original image pixels.</returns>
virtual public Eina.Rect GetImageRegion() {
- var _ret_var = Efl.Ui.ImageZoomable.NativeMethods.efl_ui_image_zoomable_image_region_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.ImageZoomable.NativeMethods.efl_ui_image_zoomable_image_region_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="region">The region in the original image pixels.</param>
virtual public void SetImageRegion(Eina.Rect region) {
Eina.Rect.NativeStruct _in_region = region;
- Efl.Ui.ImageZoomable.NativeMethods.efl_ui_image_zoomable_image_region_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_region);
+ Efl.Ui.ImageZoomable.NativeMethods.efl_ui_image_zoomable_image_region_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_region);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The content position</summary>
/// <returns>The position is virtual value, (0, 0) starting at the top-left.</returns>
virtual public Eina.Position2D GetContentPos() {
- var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_pos_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_pos_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="pos">The position is virtual value, (0, 0) starting at the top-left.</param>
virtual public void SetContentPos(Eina.Position2D pos) {
Eina.Position2D.NativeStruct _in_pos = pos;
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_pos_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_pos);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_pos_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_pos);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The content size</summary>
/// <returns>The content size in pixels.</returns>
virtual public Eina.Size2D GetContentSize() {
- var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>The viewport geometry</summary>
/// <returns>It is absolute geometry.</returns>
virtual public Eina.Rect GetViewportGeometry() {
- var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_viewport_geometry_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_viewport_geometry_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="horiz">Horizontal bounce policy.</param>
/// <param name="vert">Vertical bounce policy.</param>
virtual public void GetBounceEnabled(out bool horiz, out bool vert) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_bounce_enabled_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out horiz, out vert);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_bounce_enabled_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out horiz, out vert);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Bouncing behavior
/// <param name="horiz">Horizontal bounce policy.</param>
/// <param name="vert">Vertical bounce policy.</param>
virtual public void SetBounceEnabled(bool horiz, bool vert) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_bounce_enabled_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),horiz, vert);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_bounce_enabled_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),horiz, vert);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Freeze property This function will freeze scrolling movement (by input of a user). Unlike efl_ui_scrollable_movement_block_set, this function freezes bidirectionally. If you want to freeze in only one direction, See <see cref="Efl.Ui.IScrollableInteractive.SetMovementBlock"/>.</summary>
/// <returns><c>true</c> if freeze, <c>false</c> otherwise</returns>
virtual public bool GetScrollFreeze() {
- var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_freeze_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_freeze_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Freeze property This function will freeze scrolling movement (by input of a user). Unlike efl_ui_scrollable_movement_block_set, this function freezes bidirectionally. If you want to freeze in only one direction, See <see cref="Efl.Ui.IScrollableInteractive.SetMovementBlock"/>.</summary>
/// <param name="freeze"><c>true</c> if freeze, <c>false</c> otherwise</param>
virtual public void SetScrollFreeze(bool freeze) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_freeze_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),freeze);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_freeze_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),freeze);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Hold property When hold turns on, it only scrolls by holding action.</summary>
/// <returns><c>true</c> if hold, <c>false</c> otherwise</returns>
virtual public bool GetScrollHold() {
- var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_hold_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_hold_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Hold property When hold turns on, it only scrolls by holding action.</summary>
/// <param name="hold"><c>true</c> if hold, <c>false</c> otherwise</param>
virtual public void SetScrollHold(bool hold) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_hold_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),hold);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_hold_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),hold);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Controls an infinite loop for a scroller.</summary>
/// <param name="loop_h">The scrolling horizontal loop</param>
/// <param name="loop_v">The Scrolling vertical loop</param>
virtual public void GetLooping(out bool loop_h, out bool loop_v) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_looping_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out loop_h, out loop_v);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_looping_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out loop_h, out loop_v);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Controls an infinite loop for a scroller.</summary>
/// <param name="loop_h">The scrolling horizontal loop</param>
/// <param name="loop_v">The Scrolling vertical loop</param>
virtual public void SetLooping(bool loop_h, bool loop_v) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_looping_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),loop_h, loop_v);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_looping_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),loop_h, loop_v);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Blocking of scrolling (per axis)
/// This function will block scrolling movement (by input of a user) in a given direction. You can disable movements in the X axis, the Y axis or both. The default value is <c>none</c>, where movements are allowed in both directions.</summary>
/// <returns>Which axis (or axes) to block</returns>
virtual public Efl.Ui.ScrollBlock GetMovementBlock() {
- var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_movement_block_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_movement_block_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This function will block scrolling movement (by input of a user) in a given direction. You can disable movements in the X axis, the Y axis or both. The default value is <c>none</c>, where movements are allowed in both directions.</summary>
/// <param name="block">Which axis (or axes) to block</param>
virtual public void SetMovementBlock(Efl.Ui.ScrollBlock block) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_movement_block_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),block);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_movement_block_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),block);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control scrolling gravity on the scrollable
/// <param name="x">Horizontal scrolling gravity</param>
/// <param name="y">Vertical scrolling gravity</param>
virtual public void GetGravity(out double x, out double y) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_gravity_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out x, out y);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_gravity_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out x, out y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control scrolling gravity on the scrollable
/// <param name="x">Horizontal scrolling gravity</param>
/// <param name="y">Vertical scrolling gravity</param>
virtual public void SetGravity(double x, double y) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_gravity_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),x, y);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_gravity_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Prevent the scrollable from being smaller than the minimum size of the content.
/// <param name="w">Whether to limit the minimum horizontal size</param>
/// <param name="h">Whether to limit the minimum vertical size</param>
virtual public void SetMatchContent(bool w, bool h) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_match_content_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),w, h);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_match_content_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),w, h);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control the step size
/// Use this call to set step size. This value is used when scroller scroll by arrow key event.</summary>
/// <returns>The step size in pixels</returns>
virtual public Eina.Position2D GetStepSize() {
- var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_step_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_step_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="step">The step size in pixels</param>
virtual public void SetStepSize(Eina.Position2D step) {
Eina.Position2D.NativeStruct _in_step = step;
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_step_size_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_step);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_step_size_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_step);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Show a specific virtual region within the scroller content object.
/// <param name="animation">Whether to scroll with animation or not</param>
virtual public void Scroll(Eina.Rect rect, bool animation) {
Eina.Rect.NativeStruct _in_rect = rect;
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_rect, animation);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_rect, animation);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Scrollbar visibility policy</summary>
- /// <param name="hbar">Horizontal scrollbar</param>
- /// <param name="vbar">Vertical scrollbar</param>
+ /// <param name="hbar">Horizontal scrollbar.</param>
+ /// <param name="vbar">Vertical scrollbar.</param>
virtual public void GetBarMode(out Efl.Ui.ScrollbarMode hbar, out Efl.Ui.ScrollbarMode vbar) {
- Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_mode_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out hbar, out vbar);
+ Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_mode_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out hbar, out vbar);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Scrollbar visibility policy</summary>
- /// <param name="hbar">Horizontal scrollbar</param>
- /// <param name="vbar">Vertical scrollbar</param>
+ /// <param name="hbar">Horizontal scrollbar.</param>
+ /// <param name="vbar">Vertical scrollbar.</param>
virtual public void SetBarMode(Efl.Ui.ScrollbarMode hbar, Efl.Ui.ScrollbarMode vbar) {
- Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_mode_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),hbar, vbar);
+ Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_mode_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),hbar, vbar);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Scrollbar size. It is calculated based on viewport size-content sizes.</summary>
- /// <param name="width">Value between 0.0 and 1.0</param>
- /// <param name="height">Value between 0.0 and 1.0</param>
+ /// <param name="width">Value between 0.0 and 1.0.</param>
+ /// <param name="height">Value between 0.0 and 1.0.</param>
virtual public void GetBarSize(out double width, out double height) {
- Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out width, out height);
+ Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out width, out height);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Scrollbar position. It is calculated based on current position-maximum positions.</summary>
- /// <param name="posx">Value between 0.0 and 1.0</param>
- /// <param name="posy">Value between 0.0 and 1.0</param>
+ /// <param name="posx">Value between 0.0 and 1.0.</param>
+ /// <param name="posy">Value between 0.0 and 1.0.</param>
virtual public void GetBarPosition(out double posx, out double posy) {
- Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_position_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out posx, out posy);
+ Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_position_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out posx, out posy);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Scrollbar position. It is calculated based on current position-maximum positions.</summary>
- /// <param name="posx">Value between 0.0 and 1.0</param>
- /// <param name="posy">Value between 0.0 and 1.0</param>
+ /// <param name="posx">Value between 0.0 and 1.0.</param>
+ /// <param name="posy">Value between 0.0 and 1.0.</param>
virtual public void SetBarPosition(double posx, double posy) {
- Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_position_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),posx, posy);
+ Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_position_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),posx, posy);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Update bar visibility.
- /// The object will call this function whenever the bar need to be shown or hidden.</summary>
+ /// The object will call this function whenever the bar needs to be shown or hidden.</summary>
virtual public void UpdateBarVisibility() {
- Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_visibility_update_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_visibility_update_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This sets the zoom animation state to on or off for zoomable. The default is off. When <c>paused</c> is <c>true</c>, it will stop zooming using animation on zoom level changes and change instantly, stopping any existing animations that are running.</summary>
/// <returns>The paused state.</returns>
virtual public bool GetZoomAnimation() {
- var _ret_var = Efl.Ui.IZoomConcrete.NativeMethods.efl_ui_zoom_animation_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IZoomConcrete.NativeMethods.efl_ui_zoom_animation_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>This sets the zoom animation state to on or off for zoomable. The default is off. When <c>paused</c> is <c>true</c>, it will stop zooming using animation on zoom level changes and change instantly, stopping any existing animations that are running.</summary>
/// <param name="paused">The paused state.</param>
virtual public void SetZoomAnimation(bool paused) {
- Efl.Ui.IZoomConcrete.NativeMethods.efl_ui_zoom_animation_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),paused);
+ Efl.Ui.IZoomConcrete.NativeMethods.efl_ui_zoom_animation_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),paused);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the zoom level of the photo
/// This returns the current zoom level of the zoomable object. Note that if you set the fill mode to other than #EFL_UI_ZOOM_MODE_MANUAL (which is the default), the zoom level may be changed at any time by the zoomable object itself to account for photo size and zoomable viewport size.</summary>
/// <returns>The zoom level to set</returns>
virtual public double GetZoomLevel() {
- var _ret_var = Efl.Ui.IZoomConcrete.NativeMethods.efl_ui_zoom_level_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IZoomConcrete.NativeMethods.efl_ui_zoom_level_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This sets the zoom level. If <c>zoom</c> is 1, it means no zoom. If it's smaller than 1, it means zoom in. If it's bigger than 1, it means zoom out. For example, <c>zoom</c> 1 will be 1:1 pixel for pixel. <c>zoom</c> 2 will be 2:1 (that is 2x2 photo pixels will display as 1 on-screen pixel) which is a zoom out. 4:1 will be 4x4 photo pixels as 1 screen pixel, and so on. The <c>zoom</c> parameter must be greater than 0. It is suggested to stick to powers of 2. (1, 2, 4, 8, 16, 32, etc.).</summary>
/// <param name="zoom">The zoom level to set</param>
virtual public void SetZoomLevel(double zoom) {
- Efl.Ui.IZoomConcrete.NativeMethods.efl_ui_zoom_level_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),zoom);
+ Efl.Ui.IZoomConcrete.NativeMethods.efl_ui_zoom_level_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),zoom);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the zoom mode
/// This gets the current zoom mode of the zoomable object.</summary>
/// <returns>The zoom mode.</returns>
virtual public Efl.Ui.ZoomMode GetZoomMode() {
- var _ret_var = Efl.Ui.IZoomConcrete.NativeMethods.efl_ui_zoom_mode_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IZoomConcrete.NativeMethods.efl_ui_zoom_mode_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// #EFL_UI_ZOOM_MODE_AUTO_FIT) will adjust zoom so the photo fits EXACTLY inside the scroll frame with no pixels outside this region. #EFL_UI_ZOOM_MODE_AUTO_FILL will be similar but ensure no pixels within the frame are left unfilled.</summary>
/// <param name="mode">The zoom mode.</param>
virtual public void SetZoomMode(Efl.Ui.ZoomMode mode) {
- Efl.Ui.IZoomConcrete.NativeMethods.efl_ui_zoom_mode_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),mode);
+ Efl.Ui.IZoomConcrete.NativeMethods.efl_ui_zoom_mode_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),mode);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the gesture state for photocam.
namespace Photocam {
+/// <summary>Photocam error information.</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct Error
{
///<summary>Placeholder field</summary>
namespace Photocam {
+/// <summary>Photocam progress information.</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct Progress
{
///<summary>Placeholder field</summary>
/// <summary>Elementary photocom pan class</summary>
[Efl.Ui.ImageZoomablePan.NativeMethods]
+[Efl.Eo.BindingEntity]
public class ImageZoomablePan : Efl.Ui.Pan
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="ImageZoomablePan"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public ImageZoomablePan(Efl.Object parent= null
- ) : base(efl_ui_image_zoomable_pan_class_get(), typeof(ImageZoomablePan), parent)
+ ) : base(efl_ui_image_zoomable_pan_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected ImageZoomablePan(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="ImageZoomablePan"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected ImageZoomablePan(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected ImageZoomablePan(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="ImageZoomablePan"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected ImageZoomablePan(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected ImageZoomablePan(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>Item abstract class for pack widget. All item have to be inherited from this class.</summary>
[Efl.Ui.Item.NativeMethods]
+[Efl.Eo.BindingEntity]
public abstract class Item : Efl.Ui.LayoutBase, Efl.Ui.IClickable, Efl.Ui.ISelectable
{
///<summary>Pointer to the native class description.</summary>
efl_ui_item_class_get();
/// <summary>Initializes a new instance of the <see cref="Item"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public Item(Efl.Object parent
- , System.String style = null) : base(efl_ui_item_class_get(), typeof(Item), parent)
+ , System.String style = null) : base(efl_ui_item_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Item(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Item"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Item(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Item(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
[Efl.Eo.PrivateNativeClass]
private class ItemRealized : Item
{
- private ItemRealized(IntPtr ptr) : base(ptr)
+ private ItemRealized(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Initializes a new instance of the <see cref="Item"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Item(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Item(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_CLICKED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_CLICKED_ANY";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_PRESSED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_UNPRESSED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_LONGPRESSED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_ITEM_SELECTED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_ITEM_UNSELECTED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SELECTION_PASTE";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SELECTION_COPY";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SELECTION_CUT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SELECTION_START";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SELECTION_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SELECTION_CLEARED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
/// <summary>index number of item from their parent object.</summary>
virtual public int GetIndex() {
- var _ret_var = Efl.Ui.Item.NativeMethods.efl_ui_item_index_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Item.NativeMethods.efl_ui_item_index_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Select property for item object. Item can be selected by user mouse/key input also</summary>
virtual public bool GetSelected() {
- var _ret_var = Efl.Ui.Item.NativeMethods.efl_ui_item_selected_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Item.NativeMethods.efl_ui_item_selected_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Select property for item object. Item can be selected by user mouse/key input also</summary>
virtual public void SetSelected(bool select) {
- Efl.Ui.Item.NativeMethods.efl_ui_item_selected_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),select);
+ Efl.Ui.Item.NativeMethods.efl_ui_item_selected_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),select);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>The container this object is part of.
+ /// You should never use this property yourself, the container will set it. Unsetting this while the item is packed into a container does not have an impact on its state in the container.</summary>
+ /// <returns>The container this item is in.</returns>
+ virtual public Efl.Ui.Widget GetContainer() {
+ var _ret_var = Efl.Ui.Item.NativeMethods.efl_ui_item_container_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>The container this object is part of.
+ /// You should never use this property yourself, the container will set it. Unsetting this while the item is packed into a container does not have an impact on its state in the container.</summary>
+ /// <param name="container">The container this item is in.</param>
+ virtual public void SetContainer(Efl.Ui.Widget container) {
+ Efl.Ui.Item.NativeMethods.efl_ui_item_container_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),container);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Change internal states that a button got pressed.
/// When the button is already pressed, this is silently ignored.</summary>
/// <param name="button">The number of the button. FIXME ensure to have the right interval of possible input</param>
virtual public void Press(uint button) {
- Efl.Ui.IClickableConcrete.NativeMethods.efl_ui_clickable_press_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),button);
+ Efl.Ui.IClickableConcrete.NativeMethods.efl_ui_clickable_press_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),button);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Change internal states that a button got unpressed.
/// When the button is not pressed, this is silently ignored.</summary>
/// <param name="button">The number of the button. FIXME ensure to have the right interval of possible input</param>
virtual public void Unpress(uint button) {
- Efl.Ui.IClickableConcrete.NativeMethods.efl_ui_clickable_unpress_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),button);
+ Efl.Ui.IClickableConcrete.NativeMethods.efl_ui_clickable_unpress_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),button);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This aborts the internal state after a press call.
/// This will stop the timer for longpress. And set the state of the clickable mixin back into the unpressed state.</summary>
virtual public void ResetButtonState(uint button) {
- Efl.Ui.IClickableConcrete.NativeMethods.efl_ui_clickable_button_state_reset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),button);
+ Efl.Ui.IClickableConcrete.NativeMethods.efl_ui_clickable_button_state_reset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),button);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>index number of item from their parent object.</summary>
get { return GetSelected(); }
set { SetSelected(value); }
}
+ /// <summary>The container this object is part of.
+ /// You should never use this property yourself, the container will set it. Unsetting this while the item is packed into a container does not have an impact on its state in the container.</summary>
+ /// <value>The container this item is in.</value>
+ public Efl.Ui.Widget Container {
+ get { return GetContainer(); }
+ set { SetContainer(value); }
+ }
private static IntPtr GetEflClassStatic()
{
return Efl.Ui.Item.efl_ui_item_class_get();
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_item_selected_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_item_selected_set_static_delegate) });
}
+ if (efl_ui_item_container_get_static_delegate == null)
+ {
+ efl_ui_item_container_get_static_delegate = new efl_ui_item_container_get_delegate(container_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetContainer") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_item_container_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_item_container_get_static_delegate) });
+ }
+
+ if (efl_ui_item_container_set_static_delegate == null)
+ {
+ efl_ui_item_container_set_static_delegate = new efl_ui_item_container_set_delegate(container_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetContainer") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_item_container_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_item_container_set_static_delegate) });
+ }
+
if (efl_ui_clickable_press_static_delegate == null)
{
efl_ui_clickable_press_static_delegate = new efl_ui_clickable_press_delegate(press);
private static efl_ui_item_selected_set_delegate efl_ui_item_selected_set_static_delegate;
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ private delegate Efl.Ui.Widget efl_ui_item_container_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ public delegate Efl.Ui.Widget efl_ui_item_container_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_item_container_get_api_delegate> efl_ui_item_container_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_item_container_get_api_delegate>(Module, "efl_ui_item_container_get");
+
+ private static Efl.Ui.Widget container_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_item_container_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.Ui.Widget _ret_var = default(Efl.Ui.Widget);
+ try
+ {
+ _ret_var = ((Item)ws.Target).GetContainer();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_item_container_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_item_container_get_delegate efl_ui_item_container_get_static_delegate;
+
+
+ private delegate void efl_ui_item_container_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Widget container);
+
+
+ public delegate void efl_ui_item_container_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Widget container);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_item_container_set_api_delegate> efl_ui_item_container_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_item_container_set_api_delegate>(Module, "efl_ui_item_container_set");
+
+ private static void container_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Widget container)
+ {
+ Eina.Log.Debug("function efl_ui_item_container_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Item)ws.Target).SetContainer(container);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_item_container_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), container);
+ }
+ }
+
+ private static efl_ui_item_container_set_delegate efl_ui_item_container_set_static_delegate;
+
private delegate void efl_ui_clickable_press_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
/// <summary>Item internal content part class</summary>
[Efl.Ui.ItemPartContent.NativeMethods]
+[Efl.Eo.BindingEntity]
public class ItemPartContent : Efl.Ui.LayoutPart, Efl.IContent
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="ItemPartContent"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public ItemPartContent(Efl.Object parent= null
- ) : base(efl_ui_item_part_content_class_get(), typeof(ItemPartContent), parent)
+ ) : base(efl_ui_item_part_content_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected ItemPartContent(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="ItemPartContent"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected ItemPartContent(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected ItemPartContent(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="ItemPartContent"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected ItemPartContent(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected ItemPartContent(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// (Since EFL 1.22)</summary>
/// <returns>The sub-object.</returns>
virtual public Efl.Gfx.IEntity GetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="content">The sub-object.</param>
/// <returns><c>true</c> if <c>content</c> was successfully swallowed.</returns>
virtual public bool SetContent(Efl.Gfx.IEntity content) {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),content);
+ 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);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Unswallowed object</returns>
virtual public Efl.Gfx.IEntity UnsetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Item internal content of extra part class</summary>
[Efl.Ui.ItemPartExtra.NativeMethods]
+[Efl.Eo.BindingEntity]
public class ItemPartExtra : Efl.Ui.LayoutPart, Efl.IContent
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="ItemPartExtra"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public ItemPartExtra(Efl.Object parent= null
- ) : base(efl_ui_item_part_extra_class_get(), typeof(ItemPartExtra), parent)
+ ) : base(efl_ui_item_part_extra_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected ItemPartExtra(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="ItemPartExtra"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected ItemPartExtra(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected ItemPartExtra(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="ItemPartExtra"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected ItemPartExtra(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected ItemPartExtra(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// (Since EFL 1.22)</summary>
/// <returns>The sub-object.</returns>
virtual public Efl.Gfx.IEntity GetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="content">The sub-object.</param>
/// <returns><c>true</c> if <c>content</c> was successfully swallowed.</returns>
virtual public bool SetContent(Efl.Gfx.IEntity content) {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),content);
+ 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);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Unswallowed object</returns>
virtual public Efl.Gfx.IEntity UnsetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Item internal content of icon part class</summary>
[Efl.Ui.ItemPartIcon.NativeMethods]
+[Efl.Eo.BindingEntity]
public class ItemPartIcon : Efl.Ui.LayoutPart, Efl.IContent
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="ItemPartIcon"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public ItemPartIcon(Efl.Object parent= null
- ) : base(efl_ui_item_part_icon_class_get(), typeof(ItemPartIcon), parent)
+ ) : base(efl_ui_item_part_icon_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected ItemPartIcon(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="ItemPartIcon"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected ItemPartIcon(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected ItemPartIcon(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="ItemPartIcon"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected ItemPartIcon(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected ItemPartIcon(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// (Since EFL 1.22)</summary>
/// <returns>The sub-object.</returns>
virtual public Efl.Gfx.IEntity GetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="content">The sub-object.</param>
/// <returns><c>true</c> if <c>content</c> was successfully swallowed.</returns>
virtual public bool SetContent(Efl.Gfx.IEntity content) {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),content);
+ 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);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Unswallowed object</returns>
virtual public Efl.Gfx.IEntity UnsetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Item internal text part class</summary>
[Efl.Ui.ItemPartText.NativeMethods]
+[Efl.Eo.BindingEntity]
public class ItemPartText : Efl.Ui.LayoutPart, Efl.IText, Efl.ITextMarkup, Efl.Ui.IL10n
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="ItemPartText"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public ItemPartText(Efl.Object parent= null
- ) : base(efl_ui_item_part_text_class_get(), typeof(ItemPartText), parent)
+ ) : base(efl_ui_item_part_text_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected ItemPartText(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="ItemPartText"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected ItemPartText(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected ItemPartText(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="ItemPartText"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected ItemPartText(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected ItemPartText(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// (Since EFL 1.22)</summary>
/// <returns>Text string to display on it.</returns>
virtual public System.String GetText() {
- var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="text">Text string to display on it.</param>
virtual public void SetText(System.String text) {
- Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),text);
+ Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),text);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Markup property</summary>
/// <returns>The markup-text representation set to this text.</returns>
virtual public System.String GetMarkup() {
- var _ret_var = Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Markup property</summary>
/// <param name="markup">The markup-text representation set to this text.</param>
virtual public void SetMarkup(System.String markup) {
- Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),markup);
+ Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),markup);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>A unique string to be translated.
/// <param name="domain">A translation domain. If <c>null</c> this means the default domain is used.</param>
/// <returns>This returns the untranslated value of <c>label</c>. The translated string can usually be retrieved with <see cref="Efl.IText.GetText"/>.</returns>
virtual public System.String GetL10nText(out System.String domain) {
- var _ret_var = Efl.Ui.IL10nConcrete.NativeMethods.efl_ui_l10n_text_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out domain);
+ var _ret_var = Efl.Ui.IL10nConcrete.NativeMethods.efl_ui_l10n_text_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out domain);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="label">A unique (untranslated) string.</param>
/// <param name="domain">A translation domain. If <c>null</c> this uses the default domain (eg. set by <c>textdomain</c>()).</param>
virtual public void SetL10nText(System.String label, System.String domain) {
- Efl.Ui.IL10nConcrete.NativeMethods.efl_ui_l10n_text_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),label, domain);
+ Efl.Ui.IL10nConcrete.NativeMethods.efl_ui_l10n_text_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),label, domain);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Requests this object to update its text strings for the current locale.
///
/// This function is a hook meant to be implemented by any object that supports translation. This can be called whenever a new object is created or when the current locale changes, for instance. This should only trigger further calls to <see cref="Efl.Ui.IL10n.UpdateTranslation"/> to children objects.</summary>
virtual public void UpdateTranslation() {
- Efl.Ui.IL10nConcrete.NativeMethods.efl_ui_l10n_translation_update_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.IL10nConcrete.NativeMethods.efl_ui_l10n_translation_update_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Markup property</summary>
/// <summary>Interface for all translatable text APIs.
/// This is intended for translation of human readable on-screen text strings but may also be used in text-to-speech situations.</summary>
[Efl.Ui.IL10nConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IL10n :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IL10nConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
efl_ui_l10n_interface_get();
/// <summary>Initializes a new instance of the <see cref="IL10n"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IL10nConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IL10nConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
/// <summary>Gets the list of Eo operations to override.</summary>
/// When loading layouts from a file, use the <see cref="Efl.IFile.Key"/> property to specify the group that the data belongs to, in case it's an EET file (including Edje files).
/// (Since EFL 1.22)</summary>
[Efl.Ui.Layout.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Layout : Efl.Ui.LayoutBase, Efl.IFile
{
///<summary>Pointer to the native class description.</summary>
efl_ui_layout_class_get();
/// <summary>Initializes a new instance of the <see cref="Layout"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public Layout(Efl.Object parent
- , System.String style = null) : base(efl_ui_layout_class_get(), typeof(Layout), parent)
+ , System.String style = null) : base(efl_ui_layout_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Layout(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Layout"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Layout(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Layout(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Layout"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Layout(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Layout(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// (Since EFL 1.22)</summary>
/// <returns>The handle to the <see cref="Eina.File"/> that will be used</returns>
virtual public Eina.File GetMmap() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="f">The handle to the <see cref="Eina.File"/> that will be used</param>
/// <returns>0 on success, error code otherwise</returns>
virtual public Eina.Error SetMmap(Eina.File f) {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),f);
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),f);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The file path.</returns>
virtual public System.String GetFile() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="file">The file path.</param>
/// <returns>0 on success, error code otherwise</returns>
virtual public Eina.Error SetFile(System.String file) {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),file);
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),file);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The group that the data belongs to. See the class documentation for particular implementations of this interface to see how this property is used.</returns>
virtual public System.String GetKey() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_key_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_key_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="key">The group that the data belongs to. See the class documentation for particular implementations of this interface to see how this property is used.</param>
virtual public void SetKey(System.String key) {
- Efl.IFileConcrete.NativeMethods.efl_file_key_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),key);
+ Efl.IFileConcrete.NativeMethods.efl_file_key_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),key);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the load state of the object.
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if the object is loaded, <c>false</c> otherwise.</returns>
virtual public bool GetLoaded() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_loaded_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_loaded_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>0 on success, error code otherwise</returns>
virtual public Eina.Error Load() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_load_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_load_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Calling <see cref="Efl.IFile.Unload"/> on an object which is not currently loaded will have no effect.
/// (Since EFL 1.22)</summary>
virtual public void Unload() {
- Efl.IFileConcrete.NativeMethods.efl_file_unload_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.IFileConcrete.NativeMethods.efl_file_unload_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the mmaped file from where an object will fetch the real data (it must be an <see cref="Eina.File"/>).
/// <summary>Elementary layout abstract
/// (Since EFL 1.22)</summary>
[Efl.Ui.LayoutBase.NativeMethods]
+[Efl.Eo.BindingEntity]
public abstract class LayoutBase : Efl.Ui.Widget, Efl.IContainer, Efl.Layout.ICalc, Efl.Layout.IGroup, Efl.Layout.ISignal, Efl.Ui.IFactoryBind
{
///<summary>Pointer to the native class description.</summary>
efl_ui_layout_base_class_get();
/// <summary>Initializes a new instance of the <see cref="LayoutBase"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public LayoutBase(Efl.Object parent
- , System.String style = null) : base(efl_ui_layout_base_class_get(), typeof(LayoutBase), parent)
+ , System.String style = null) : base(efl_ui_layout_base_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected LayoutBase(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="LayoutBase"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected LayoutBase(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected LayoutBase(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
[Efl.Eo.PrivateNativeClass]
private class LayoutBaseRealized : LayoutBase
{
- private LayoutBaseRealized(IntPtr ptr) : base(ptr)
+ private LayoutBaseRealized(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Initializes a new instance of the <see cref="LayoutBase"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected LayoutBase(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected LayoutBase(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_LAYOUT_EVENT_THEME_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_LAYOUT_EVENT_RECALC";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_LAYOUT_EVENT_CIRCULAR_DEPENDENCY";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// <param name="group">The group, eg. "base".</param>
/// <param name="style">The style to use, eg "default".</param>
virtual public void GetTheme(out System.String klass, out System.String group, out System.String style) {
- Efl.Ui.LayoutBase.NativeMethods.efl_ui_layout_theme_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out klass, out group, out style);
+ Efl.Ui.LayoutBase.NativeMethods.efl_ui_layout_theme_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out klass, out group, out style);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The theme of this widget, defines which edje group will be used.
/// <param name="style">The style to use, eg "default".</param>
/// <returns>Whether the theme was successfully applied or not, see the Efl.Ui.Theme.Apply_Error subset of <see cref="Eina.Error"/> for more information.</returns>
virtual public Eina.Error SetTheme(System.String klass, System.String group, System.String style) {
- var _ret_var = Efl.Ui.LayoutBase.NativeMethods.efl_ui_layout_theme_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),klass, group, style);
+ var _ret_var = Efl.Ui.LayoutBase.NativeMethods.efl_ui_layout_theme_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),klass, group, style);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> to mirror orientation changes to the theme <c>false</c> otherwise</returns>
virtual public bool GetAutomaticThemeRotation() {
- var _ret_var = Efl.Ui.LayoutBase.NativeMethods.efl_ui_layout_automatic_theme_rotation_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.LayoutBase.NativeMethods.efl_ui_layout_automatic_theme_rotation_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="automatic"><c>true</c> to mirror orientation changes to the theme <c>false</c> otherwise</param>
virtual public void SetAutomaticThemeRotation(bool automatic) {
- Efl.Ui.LayoutBase.NativeMethods.efl_ui_layout_automatic_theme_rotation_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),automatic);
+ Efl.Ui.LayoutBase.NativeMethods.efl_ui_layout_automatic_theme_rotation_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),automatic);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Apply a new rotation value to this object.
/// (Since EFL 1.22)</summary>
/// <param name="orientation">The new rotation angle, in degrees.</param>
virtual public void ThemeRotationApply(int orientation) {
- Efl.Ui.LayoutBase.NativeMethods.efl_ui_layout_theme_rotation_apply_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),orientation);
+ Efl.Ui.LayoutBase.NativeMethods.efl_ui_layout_theme_rotation_apply_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),orientation);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Begin iterating over this object's contents.
/// (Since EFL 1.22)</summary>
/// <returns>Iterator on object's content.</returns>
virtual public Eina.Iterator<Efl.Gfx.IEntity> ContentIterate() {
- var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_iterate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_iterate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true, false);
+ return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true);
}
/// <summary>Returns the number of contained sub-objects.
/// (Since EFL 1.22)</summary>
/// <returns>Number of sub-objects.</returns>
virtual public int ContentCount() {
- var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_count_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_count_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Whether or not update the size hints.</returns>
virtual public bool GetCalcAutoUpdateHints() {
- var _ret_var = Efl.Layout.ICalcConcrete.NativeMethods.efl_layout_calc_auto_update_hints_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Layout.ICalcConcrete.NativeMethods.efl_layout_calc_auto_update_hints_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="update">Whether or not update the size hints.</param>
virtual public void SetCalcAutoUpdateHints(bool update) {
- Efl.Layout.ICalcConcrete.NativeMethods.efl_layout_calc_auto_update_hints_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),update);
+ Efl.Layout.ICalcConcrete.NativeMethods.efl_layout_calc_auto_update_hints_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),update);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Calculates the minimum required size for a given layout object.
/// <returns>The minimum required size.</returns>
virtual public Eina.Size2D CalcSizeMin(Eina.Size2D restricted) {
Eina.Size2D.NativeStruct _in_restricted = restricted;
- var _ret_var = Efl.Layout.ICalcConcrete.NativeMethods.efl_layout_calc_size_min_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_restricted);
+ var _ret_var = Efl.Layout.ICalcConcrete.NativeMethods.efl_layout_calc_size_min_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_restricted);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The calculated region.</returns>
virtual public Eina.Rect CalcPartsExtends() {
- var _ret_var = Efl.Layout.ICalcConcrete.NativeMethods.efl_layout_calc_parts_extends_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Layout.ICalcConcrete.NativeMethods.efl_layout_calc_parts_extends_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The frozen state or 0 on error</returns>
virtual public int FreezeCalc() {
- var _ret_var = Efl.Layout.ICalcConcrete.NativeMethods.efl_layout_calc_freeze_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Layout.ICalcConcrete.NativeMethods.efl_layout_calc_freeze_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The frozen state or 0 if the object is not frozen or on error.</returns>
virtual public int ThawCalc() {
- var _ret_var = Efl.Layout.ICalcConcrete.NativeMethods.efl_layout_calc_thaw_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Layout.ICalcConcrete.NativeMethods.efl_layout_calc_thaw_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// See also <see cref="Efl.Layout.ICalc.FreezeCalc"/> and <see cref="Efl.Layout.ICalc.ThawCalc"/>.
/// (Since EFL 1.22)</summary>
virtual public void CalcForce() {
- Efl.Layout.ICalcConcrete.NativeMethods.efl_layout_calc_force_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Layout.ICalcConcrete.NativeMethods.efl_layout_calc_force_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gets the minimum size specified -- as an EDC property -- for a given Edje object
/// (Since EFL 1.22)</summary>
/// <returns>The minimum size as set in EDC.</returns>
virtual public Eina.Size2D GetGroupSizeMin() {
- var _ret_var = Efl.Layout.IGroupConcrete.NativeMethods.efl_layout_group_size_min_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Layout.IGroupConcrete.NativeMethods.efl_layout_group_size_min_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The maximum size as set in EDC.</returns>
virtual public Eina.Size2D GetGroupSizeMax() {
- var _ret_var = Efl.Layout.IGroupConcrete.NativeMethods.efl_layout_group_size_max_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Layout.IGroupConcrete.NativeMethods.efl_layout_group_size_max_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="key">The data field's key string</param>
/// <returns>The data's value string.</returns>
virtual public System.String GetGroupData(System.String key) {
- var _ret_var = Efl.Layout.IGroupConcrete.NativeMethods.efl_layout_group_data_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),key);
+ var _ret_var = Efl.Layout.IGroupConcrete.NativeMethods.efl_layout_group_data_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),key);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="part">The part name to check.</param>
/// <returns><c>true</c> if the part exists, <c>false</c> otherwise.</returns>
virtual public bool GetPartExist(System.String part) {
- var _ret_var = Efl.Layout.IGroupConcrete.NativeMethods.efl_layout_group_part_exist_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),part);
+ var _ret_var = Efl.Layout.IGroupConcrete.NativeMethods.efl_layout_group_part_exist_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),part);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="id">A identification number for the message to be sent</param>
/// <param name="msg">The message's payload</param>
virtual public void MessageSend(int id, Eina.Value msg) {
- Efl.Layout.ISignalConcrete.NativeMethods.efl_layout_signal_message_send_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),id, msg);
+ Efl.Layout.ISignalConcrete.NativeMethods.efl_layout_signal_message_send_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),id, msg);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Adds a callback for an arriving Edje signal, emitted by a given Edje object.
/// <returns><c>true</c> in case of success, <c>false</c> in case of error.</returns>
virtual public bool AddSignalCallback(System.String emission, System.String source, EflLayoutSignalCb func) {
GCHandle func_handle = GCHandle.Alloc(func);
- var _ret_var = Efl.Layout.ISignalConcrete.NativeMethods.efl_layout_signal_callback_add_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),emission, source, GCHandle.ToIntPtr(func_handle), EflLayoutSignalCbWrapper.Cb, Efl.Eo.Globals.free_gchandle);
+ var _ret_var = Efl.Layout.ISignalConcrete.NativeMethods.efl_layout_signal_callback_add_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),emission, source, GCHandle.ToIntPtr(func_handle), EflLayoutSignalCbWrapper.Cb, Efl.Eo.Globals.free_gchandle);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <returns><c>true</c> in case of success, <c>false</c> in case of error.</returns>
virtual public bool DelSignalCallback(System.String emission, System.String source, EflLayoutSignalCb func) {
GCHandle func_handle = GCHandle.Alloc(func);
- var _ret_var = Efl.Layout.ISignalConcrete.NativeMethods.efl_layout_signal_callback_del_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),emission, source, GCHandle.ToIntPtr(func_handle), EflLayoutSignalCbWrapper.Cb, Efl.Eo.Globals.free_gchandle);
+ var _ret_var = Efl.Layout.ISignalConcrete.NativeMethods.efl_layout_signal_callback_del_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),emission, source, GCHandle.ToIntPtr(func_handle), EflLayoutSignalCbWrapper.Cb, Efl.Eo.Globals.free_gchandle);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="emission">The signal's "emission" string</param>
/// <param name="source">The signal's "source" string</param>
virtual public void EmitSignal(System.String emission, System.String source) {
- Efl.Layout.ISignalConcrete.NativeMethods.efl_layout_signal_emit_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),emission, source);
+ Efl.Layout.ISignalConcrete.NativeMethods.efl_layout_signal_emit_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),emission, source);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Processes an object's messages and signals queue.
/// (Since EFL 1.22)</summary>
/// <param name="recurse">Whether to process messages on children objects.</param>
virtual public void SignalProcess(bool recurse) {
- Efl.Layout.ISignalConcrete.NativeMethods.efl_layout_signal_process_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),recurse);
+ Efl.Layout.ISignalConcrete.NativeMethods.efl_layout_signal_process_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),recurse);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>bind the factory with the given key string. when the data is ready or changed, factory create the object and bind the data to the key action and process promised work. Note: the input <see cref="Efl.Ui.IFactory"/> need to be <see cref="Efl.Ui.IPropertyBind.PropertyBind"/> at least once.</summary>
/// <param name="key">Key string for bind model property data</param>
/// <param name="factory"><see cref="Efl.Ui.IFactory"/> for create and bind model property data</param>
virtual public void FactoryBind(System.String key, Efl.Ui.IFactory factory) {
- Efl.Ui.IFactoryBindConcrete.NativeMethods.efl_ui_factory_bind_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),key, factory);
+ Efl.Ui.IFactoryBindConcrete.NativeMethods.efl_ui_factory_bind_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),key, factory);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This flag tells if this object will automatically mirror the rotation changes of the window to this object.
/// <summary>Efl Ui Layout Factory class</summary>
[Efl.Ui.LayoutFactory.NativeMethods]
+[Efl.Eo.BindingEntity]
public class LayoutFactory : Efl.Ui.CachingFactory
{
///<summary>Pointer to the native class description.</summary>
efl_ui_layout_factory_class_get();
/// <summary>Initializes a new instance of the <see cref="LayoutFactory"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="itemClass">Define the class of the item returned by this factory. See <see cref="Efl.Ui.WidgetFactory.SetItemClass"/></param>
+ /// <param name="itemClass">Define the class of the item returned by this factory. See <see cref="Efl.Ui.WidgetFactory.SetItemClass" /></param>
public LayoutFactory(Efl.Object parent
- , Type itemClass = null) : base(efl_ui_layout_factory_class_get(), typeof(LayoutFactory), parent)
+ , Type itemClass = null) : base(efl_ui_layout_factory_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(itemClass))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected LayoutFactory(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="LayoutFactory"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected LayoutFactory(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected LayoutFactory(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="LayoutFactory"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected LayoutFactory(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected LayoutFactory(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <param name="group">The group.</param>
/// <param name="style">The style to used.</param>
virtual public void ThemeConfig(System.String klass, System.String group, System.String style) {
- Efl.Ui.LayoutFactory.NativeMethods.efl_ui_layout_factory_theme_config_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),klass, group, style);
+ Efl.Ui.LayoutFactory.NativeMethods.efl_ui_layout_factory_theme_config_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),klass, group, style);
Eina.Error.RaiseIfUnhandledException();
}
private static IntPtr GetEflClassStatic()
/// <summary>Interface for UI objects which can have more than one orientation.
/// For example, sliders, which can be horizontal or vertical, or container boxes, which can arrange their elements in a horizontal or vertical fashion.</summary>
[Efl.Ui.ILayoutOrientableConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface ILayoutOrientable :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private ILayoutOrientableConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_ui_layout_orientable_interface_get();
/// <summary>Initializes a new instance of the <see cref="ILayoutOrientable"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private ILayoutOrientableConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private ILayoutOrientableConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// Not to be confused with <see cref="Efl.Gfx.ImageOrientation"/> which is for images and canvases. This enum is used to define how widgets should expand and orient themselves, not to rotate images.
///
/// See also <see cref="Efl.Ui.ILayoutOrientable"/>.</summary>
+[Efl.Eo.BindingEntity]
public enum LayoutOrientation
{
/// <summary>Default direction. Each widget may have a different default.</summary>
namespace Ui {
[Efl.Ui.ILayoutOrientableReadonlyConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface ILayoutOrientableReadonly :
Efl.Ui.ILayoutOrientable ,
Efl.Eo.IWrapper, IDisposable
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private ILayoutOrientableReadonlyConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_ui_layout_orientable_readonly_mixin_get();
/// <summary>Initializes a new instance of the <see cref="ILayoutOrientableReadonly"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private ILayoutOrientableReadonlyConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private ILayoutOrientableReadonlyConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Elementary layout internal part class</summary>
[Efl.Ui.LayoutPart.NativeMethods]
+[Efl.Eo.BindingEntity]
public class LayoutPart : Efl.Ui.WidgetPart
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="LayoutPart"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public LayoutPart(Efl.Object parent= null
- ) : base(efl_ui_layout_part_class_get(), typeof(LayoutPart), parent)
+ ) : base(efl_ui_layout_part_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected LayoutPart(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="LayoutPart"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected LayoutPart(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected LayoutPart(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="LayoutPart"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected LayoutPart(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected LayoutPart(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>Elementary layout internal part background class</summary>
[Efl.Ui.LayoutPartBg.NativeMethods]
+[Efl.Eo.BindingEntity]
public class LayoutPartBg : Efl.Ui.WidgetPartBg
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="LayoutPartBg"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public LayoutPartBg(Efl.Object parent= null
- ) : base(efl_ui_layout_part_bg_class_get(), typeof(LayoutPartBg), parent)
+ ) : base(efl_ui_layout_part_bg_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected LayoutPartBg(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="LayoutPartBg"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected LayoutPartBg(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected LayoutPartBg(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="LayoutPartBg"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected LayoutPartBg(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected LayoutPartBg(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>Represents a Box created as part of a layout.
/// Cannot be deleted. This is only a representation of an internal object of an EFL layout.</summary>
[Efl.Ui.LayoutPartBox.NativeMethods]
+[Efl.Eo.BindingEntity]
public class LayoutPartBox : Efl.Ui.LayoutPart, Efl.IContainer, Efl.IPack, Efl.IPackLinear, Efl.Ui.ILayoutOrientable, Efl.Ui.ILayoutOrientableReadonly
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="LayoutPartBox"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public LayoutPartBox(Efl.Object parent= null
- ) : base(efl_ui_layout_part_box_class_get(), typeof(LayoutPartBox), parent)
+ ) : base(efl_ui_layout_part_box_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected LayoutPartBox(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="LayoutPartBox"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected LayoutPartBox(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected LayoutPartBox(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="LayoutPartBox"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected LayoutPartBox(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected LayoutPartBox(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// <param name="layout">Real part object</param>
/// <param name="part">Real part name</param>
virtual protected void SetRealPart(Efl.Object layout, System.String part) {
- Efl.Ui.LayoutPartBox.NativeMethods.efl_ui_layout_part_box_real_part_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),layout, part);
+ Efl.Ui.LayoutPartBox.NativeMethods.efl_ui_layout_part_box_real_part_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),layout, part);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Begin iterating over this object's contents.
/// (Since EFL 1.22)</summary>
/// <returns>Iterator on object's content.</returns>
virtual public Eina.Iterator<Efl.Gfx.IEntity> ContentIterate() {
- var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_iterate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_iterate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true, false);
+ return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true);
}
/// <summary>Returns the number of contained sub-objects.
/// (Since EFL 1.22)</summary>
/// <returns>Number of sub-objects.</returns>
virtual public int ContentCount() {
- var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_count_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_count_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Removes all packed sub-objects and unreferences them.</summary>
/// <returns><c>true</c> on success, <c>false</c> otherwise.</returns>
virtual public bool ClearPack() {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_clear_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_clear_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Use with caution.</summary>
/// <returns><c>true</c> on success, <c>false</c> otherwise.</returns>
virtual public bool UnpackAll() {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_all_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_all_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="subobj">The sub-object to unpack.</param>
/// <returns><c>false</c> if <c>subobj</c> wasn't in the container or couldn't be removed.</returns>
virtual public bool Unpack(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="subobj">The object to pack.</param>
/// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
virtual public bool Pack(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="subobj">Object to pack at the beginning.</param>
/// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
virtual public bool PackBegin(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_begin_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_begin_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="subobj">Object to pack at the end.</param>
/// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
virtual public bool PackEnd(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_end_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_end_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="existing">Existing reference sub-object.</param>
/// <returns><c>false</c> if <c>existing</c> could not be found or <c>subobj</c> could not be packed.</returns>
virtual public bool PackBefore(Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_before_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj, existing);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_before_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, existing);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="existing">Existing reference sub-object.</param>
/// <returns><c>false</c> if <c>existing</c> could not be found or <c>subobj</c> could not be packed.</returns>
virtual public bool PackAfter(Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_after_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj, existing);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_after_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, existing);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="index">Index of existing sub-object to insert BEFORE. Valid range is -<c>count</c> to (<c>count</c>-1).</param>
/// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
virtual public bool PackAt(Efl.Gfx.IEntity subobj, int index) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_at_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj, index);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_at_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, index);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="index">Index of the existing sub-object to retrieve. Valid range is -<c>count</c> to (<c>count</c>-1).</param>
/// <returns>The sub-object contained at the given <c>index</c>.</returns>
virtual public Efl.Gfx.IEntity GetPackContent(int index) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),index);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),index);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="subobj">An existing sub-object in this container.</param>
/// <returns>-1 in case <c>subobj</c> is not found, or the index of <c>subobj</c> in the range 0 to (<c>count</c>-1).</returns>
virtual public int GetPackIndex(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_index_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_index_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="index">Index of the sub-object to remove. Valid range is -<c>count</c> to (<c>count</c>-1).</param>
/// <returns>The sub-object if it could be removed.</returns>
virtual public Efl.Gfx.IEntity PackUnpackAt(int index) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_unpack_at_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),index);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_unpack_at_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),index);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Mirroring as defined in <see cref="Efl.Ui.II18n"/> can invert the <c>horizontal</c> direction: it is <c>ltr</c> by default, but becomes <c>rtl</c> if the object is mirrored.</summary>
/// <returns>Direction of the widget.</returns>
virtual public Efl.Ui.LayoutOrientation GetOrientation() {
- var _ret_var = Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Mirroring as defined in <see cref="Efl.Ui.II18n"/> can invert the <c>horizontal</c> direction: it is <c>ltr</c> by default, but becomes <c>rtl</c> if the object is mirrored.</summary>
/// <param name="dir">Direction of the widget.</param>
virtual public void SetOrientation(Efl.Ui.LayoutOrientation dir) {
- Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dir);
+ Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dir);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control the direction of a given widget.
/// <summary>Elementary layout internal part class</summary>
[Efl.Ui.LayoutPartContent.NativeMethods]
+[Efl.Eo.BindingEntity]
public class LayoutPartContent : Efl.Ui.LayoutPart, Efl.IContent
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="LayoutPartContent"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public LayoutPartContent(Efl.Object parent= null
- ) : base(efl_ui_layout_part_content_class_get(), typeof(LayoutPartContent), parent)
+ ) : base(efl_ui_layout_part_content_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected LayoutPartContent(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="LayoutPartContent"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected LayoutPartContent(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected LayoutPartContent(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="LayoutPartContent"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected LayoutPartContent(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected LayoutPartContent(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// (Since EFL 1.22)</summary>
/// <returns>The sub-object.</returns>
virtual public Efl.Gfx.IEntity GetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="content">The sub-object.</param>
/// <returns><c>true</c> if <c>content</c> was successfully swallowed.</returns>
virtual public bool SetContent(Efl.Gfx.IEntity content) {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),content);
+ 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);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Unswallowed object</returns>
virtual public Efl.Gfx.IEntity UnsetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Elementary layout internal part class</summary>
[Efl.Ui.LayoutPartLegacy.NativeMethods]
+[Efl.Eo.BindingEntity]
public class LayoutPartLegacy : Efl.Ui.LayoutPart, Efl.IContent, Efl.IText, Efl.ITextMarkup, Efl.Ui.IL10n
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="LayoutPartLegacy"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public LayoutPartLegacy(Efl.Object parent= null
- ) : base(efl_ui_layout_part_legacy_class_get(), typeof(LayoutPartLegacy), parent)
+ ) : base(efl_ui_layout_part_legacy_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected LayoutPartLegacy(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="LayoutPartLegacy"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected LayoutPartLegacy(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected LayoutPartLegacy(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="LayoutPartLegacy"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected LayoutPartLegacy(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected LayoutPartLegacy(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// (Since EFL 1.22)</summary>
/// <returns>The sub-object.</returns>
virtual public Efl.Gfx.IEntity GetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="content">The sub-object.</param>
/// <returns><c>true</c> if <c>content</c> was successfully swallowed.</returns>
virtual public bool SetContent(Efl.Gfx.IEntity content) {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),content);
+ 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);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Unswallowed object</returns>
virtual public Efl.Gfx.IEntity UnsetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Text string to display on it.</returns>
virtual public System.String GetText() {
- var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="text">Text string to display on it.</param>
virtual public void SetText(System.String text) {
- Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),text);
+ Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),text);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Markup property</summary>
/// <returns>The markup-text representation set to this text.</returns>
virtual public System.String GetMarkup() {
- var _ret_var = Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Markup property</summary>
/// <param name="markup">The markup-text representation set to this text.</param>
virtual public void SetMarkup(System.String markup) {
- Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),markup);
+ Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),markup);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>A unique string to be translated.
/// <param name="domain">A translation domain. If <c>null</c> this means the default domain is used.</param>
/// <returns>This returns the untranslated value of <c>label</c>. The translated string can usually be retrieved with <see cref="Efl.IText.GetText"/>.</returns>
virtual public System.String GetL10nText(out System.String domain) {
- var _ret_var = Efl.Ui.IL10nConcrete.NativeMethods.efl_ui_l10n_text_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out domain);
+ var _ret_var = Efl.Ui.IL10nConcrete.NativeMethods.efl_ui_l10n_text_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out domain);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="label">A unique (untranslated) string.</param>
/// <param name="domain">A translation domain. If <c>null</c> this uses the default domain (eg. set by <c>textdomain</c>()).</param>
virtual public void SetL10nText(System.String label, System.String domain) {
- Efl.Ui.IL10nConcrete.NativeMethods.efl_ui_l10n_text_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),label, domain);
+ Efl.Ui.IL10nConcrete.NativeMethods.efl_ui_l10n_text_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),label, domain);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Requests this object to update its text strings for the current locale.
///
/// This function is a hook meant to be implemented by any object that supports translation. This can be called whenever a new object is created or when the current locale changes, for instance. This should only trigger further calls to <see cref="Efl.Ui.IL10n.UpdateTranslation"/> to children objects.</summary>
virtual public void UpdateTranslation() {
- Efl.Ui.IL10nConcrete.NativeMethods.efl_ui_l10n_translation_update_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.IL10nConcrete.NativeMethods.efl_ui_l10n_translation_update_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Sub-object currently set as this object's single content.
/// <summary>Represents a Table created as part of a layout.
/// Cannot be deleted. This is only a representation of an internal object of an EFL layout.</summary>
[Efl.Ui.LayoutPartTable.NativeMethods]
+[Efl.Eo.BindingEntity]
public class LayoutPartTable : Efl.Ui.LayoutPart, Efl.IContainer, Efl.IPack, Efl.IPackTable
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="LayoutPartTable"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public LayoutPartTable(Efl.Object parent= null
- ) : base(efl_ui_layout_part_table_class_get(), typeof(LayoutPartTable), parent)
+ ) : base(efl_ui_layout_part_table_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected LayoutPartTable(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="LayoutPartTable"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected LayoutPartTable(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected LayoutPartTable(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="LayoutPartTable"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected LayoutPartTable(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected LayoutPartTable(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// <param name="layout">Real part object</param>
/// <param name="part">Real part name</param>
virtual protected void SetRealPart(Efl.Object layout, System.String part) {
- Efl.Ui.LayoutPartTable.NativeMethods.efl_ui_layout_part_table_real_part_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),layout, part);
+ Efl.Ui.LayoutPartTable.NativeMethods.efl_ui_layout_part_table_real_part_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),layout, part);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Begin iterating over this object's contents.
/// (Since EFL 1.22)</summary>
/// <returns>Iterator on object's content.</returns>
virtual public Eina.Iterator<Efl.Gfx.IEntity> ContentIterate() {
- var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_iterate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_iterate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true, false);
+ return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true);
}
/// <summary>Returns the number of contained sub-objects.
/// (Since EFL 1.22)</summary>
/// <returns>Number of sub-objects.</returns>
virtual public int ContentCount() {
- var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_count_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_count_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Removes all packed sub-objects and unreferences them.</summary>
/// <returns><c>true</c> on success, <c>false</c> otherwise.</returns>
virtual public bool ClearPack() {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_clear_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_clear_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Use with caution.</summary>
/// <returns><c>true</c> on success, <c>false</c> otherwise.</returns>
virtual public bool UnpackAll() {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_all_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_all_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="subobj">The sub-object to unpack.</param>
/// <returns><c>false</c> if <c>subobj</c> wasn't in the container or couldn't be removed.</returns>
virtual public bool Unpack(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="subobj">The object to pack.</param>
/// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
virtual public bool Pack(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="rowspan">Row span</param>
/// <returns>Returns false if item is not a child</returns>
virtual public bool GetTablePosition(Efl.Gfx.IEntity subobj, out int col, out int row, out int colspan, out int rowspan) {
- var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_position_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj, out col, out row, out colspan, out rowspan);
+ var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_position_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, out col, out row, out colspan, out rowspan);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="cols">Number of columns</param>
/// <param name="rows">Number of rows</param>
virtual public void GetTableSize(out int cols, out int rows) {
- Efl.IPackTableConcrete.NativeMethods.efl_pack_table_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out cols, out rows);
+ Efl.IPackTableConcrete.NativeMethods.efl_pack_table_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out cols, out rows);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Combines <see cref="Efl.IPackTable.TableColumns"/> and <see cref="Efl.IPackTable.TableRows"/></summary>
/// <param name="cols">Number of columns</param>
/// <param name="rows">Number of rows</param>
virtual public void SetTableSize(int cols, int rows) {
- Efl.IPackTableConcrete.NativeMethods.efl_pack_table_size_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cols, rows);
+ Efl.IPackTableConcrete.NativeMethods.efl_pack_table_size_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cols, rows);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Specifies the amount of columns the table will have when the fill direction is horizontal. If it is vertical, the amount of columns depends on the amount of cells added and <see cref="Efl.IPackTable.TableRows"/>.</summary>
/// <returns>Amount of columns.</returns>
virtual public int GetTableColumns() {
- var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_columns_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_columns_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Specifies the amount of columns the table will have when the fill direction is horizontal. If it is vertical, the amount of columns depends on the amount of cells added and <see cref="Efl.IPackTable.TableRows"/>.</summary>
/// <param name="cols">Amount of columns.</param>
virtual public void SetTableColumns(int cols) {
- Efl.IPackTableConcrete.NativeMethods.efl_pack_table_columns_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cols);
+ Efl.IPackTableConcrete.NativeMethods.efl_pack_table_columns_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cols);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Specifies the amount of rows the table will have when the fill direction is vertical. If it is horizontal, the amount of rows depends on the amount of cells added and <see cref="Efl.IPackTable.TableColumns"/>.</summary>
/// <returns>Amount of rows.</returns>
virtual public int GetTableRows() {
- var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_rows_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_rows_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Specifies the amount of rows the table will have when the fill direction is vertical. If it is horizontal, the amount of rows depends on the amount of cells added and <see cref="Efl.IPackTable.TableColumns"/>.</summary>
/// <param name="rows">Amount of rows.</param>
virtual public void SetTableRows(int rows) {
- Efl.IPackTableConcrete.NativeMethods.efl_pack_table_rows_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),rows);
+ Efl.IPackTableConcrete.NativeMethods.efl_pack_table_rows_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),rows);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Pack object at a given location in the table.
/// <param name="rowspan">0 means 1, -1 means <see cref="Efl.IPackTable.TableRows"/></param>
/// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
virtual public bool PackTable(Efl.Gfx.IEntity subobj, int col, int row, int colspan, int rowspan) {
- var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj, col, row, colspan, rowspan);
+ var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, col, row, colspan, rowspan);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="below">If <c>true</c> get objects spanning over this cell.</param>
/// <returns>Iterator to table contents</returns>
virtual public Eina.Iterator<Efl.Gfx.IEntity> GetTableContents(int col, int row, bool below) {
- var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_contents_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),col, row, below);
+ var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_contents_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),col, row, below);
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true, false);
+ return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true);
}
/// <summary>Returns a child at a given position, see <see cref="Efl.IPackTable.GetTableContents"/>.</summary>
/// <param name="col">Column number</param>
/// <param name="row">Row number</param>
/// <returns>Child object</returns>
virtual public Efl.Gfx.IEntity GetTableContent(int col, int row) {
- var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),col, row);
+ var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),col, row);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Elementary layout internal part class</summary>
[Efl.Ui.LayoutPartText.NativeMethods]
+[Efl.Eo.BindingEntity]
public class LayoutPartText : Efl.Ui.LayoutPart, Efl.IText, Efl.ITextMarkup, Efl.Ui.IL10n
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="LayoutPartText"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public LayoutPartText(Efl.Object parent= null
- ) : base(efl_ui_layout_part_text_class_get(), typeof(LayoutPartText), parent)
+ ) : base(efl_ui_layout_part_text_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected LayoutPartText(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="LayoutPartText"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected LayoutPartText(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected LayoutPartText(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="LayoutPartText"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected LayoutPartText(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected LayoutPartText(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// (Since EFL 1.22)</summary>
/// <returns>Text string to display on it.</returns>
virtual public System.String GetText() {
- var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="text">Text string to display on it.</param>
virtual public void SetText(System.String text) {
- Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),text);
+ Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),text);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Markup property</summary>
/// <returns>The markup-text representation set to this text.</returns>
virtual public System.String GetMarkup() {
- var _ret_var = Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Markup property</summary>
/// <param name="markup">The markup-text representation set to this text.</param>
virtual public void SetMarkup(System.String markup) {
- Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),markup);
+ Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),markup);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>A unique string to be translated.
/// <param name="domain">A translation domain. If <c>null</c> this means the default domain is used.</param>
/// <returns>This returns the untranslated value of <c>label</c>. The translated string can usually be retrieved with <see cref="Efl.IText.GetText"/>.</returns>
virtual public System.String GetL10nText(out System.String domain) {
- var _ret_var = Efl.Ui.IL10nConcrete.NativeMethods.efl_ui_l10n_text_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out domain);
+ var _ret_var = Efl.Ui.IL10nConcrete.NativeMethods.efl_ui_l10n_text_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out domain);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="label">A unique (untranslated) string.</param>
/// <param name="domain">A translation domain. If <c>null</c> this uses the default domain (eg. set by <c>textdomain</c>()).</param>
virtual public void SetL10nText(System.String label, System.String domain) {
- Efl.Ui.IL10nConcrete.NativeMethods.efl_ui_l10n_text_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),label, domain);
+ Efl.Ui.IL10nConcrete.NativeMethods.efl_ui_l10n_text_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),label, domain);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Requests this object to update its text strings for the current locale.
///
/// This function is a hook meant to be implemented by any object that supports translation. This can be called whenever a new object is created or when the current locale changes, for instance. This should only trigger further calls to <see cref="Efl.Ui.IL10n.UpdateTranslation"/> to children objects.</summary>
virtual public void UpdateTranslation() {
- Efl.Ui.IL10nConcrete.NativeMethods.efl_ui_l10n_translation_update_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.IL10nConcrete.NativeMethods.efl_ui_l10n_translation_update_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Markup property</summary>
/// <summary>The bg (background) widget is used for setting (solid) background decorations
/// 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>
[Efl.Ui.ILegacyConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface ILegacy :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private ILegacyConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
efl_ui_legacy_interface_get();
/// <summary>Initializes a new instance of the <see cref="ILegacy"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private ILegacyConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private ILegacyConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
/// <summary>Gets the list of Eo operations to override.</summary>
/// <returns>The list of Eo operations to be overload.</returns>
/// <summary>Simple list widget with Pack interface.</summary>
[Efl.Ui.List.NativeMethods]
+[Efl.Eo.BindingEntity]
public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLinear, Efl.Gfx.IArrangement, Efl.Ui.IMultiSelectable, Efl.Ui.IScrollable, Efl.Ui.IScrollableInteractive, Efl.Ui.IScrollbar, Efl.Ui.ISelectable
{
///<summary>Pointer to the native class description.</summary>
efl_ui_list_class_get();
/// <summary>Initializes a new instance of the <see cref="List"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public List(Efl.Object parent
- , System.String style = null) : base(efl_ui_list_class_get(), typeof(List), parent)
+ , System.String style = null) : base(efl_ui_list_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected List(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="List"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected List(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected List(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="List"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected List(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected List(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_PACK_EVENT_LAYOUT_UPDATED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_START";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_STOP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_UP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_DOWN";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_LEFT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_RIGHT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_EDGE_UP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_EDGE_DOWN";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_EDGE_LEFT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_EDGE_RIGHT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_ANIM_START";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_DRAG_START";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Called when bar is pressed</summary>
+ /// <summary>Called when bar is pressed.</summary>
public event EventHandler<Efl.Ui.IScrollbarBarPressEvt_Args> BarPressEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
if (obj != null)
{
Efl.Ui.IScrollbarBarPressEvt_Args args = new Efl.Ui.IScrollbarBarPressEvt_Args();
- args.arg = default(Efl.Ui.ScrollbarDirection);
+ args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
try
{
value?.Invoke(obj, args);
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
Marshal.FreeHGlobal(info);
}
}
- /// <summary>Called when bar is unpressed</summary>
+ /// <summary>Called when bar is unpressed.</summary>
public event EventHandler<Efl.Ui.IScrollbarBarUnpressEvt_Args> BarUnpressEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
if (obj != null)
{
Efl.Ui.IScrollbarBarUnpressEvt_Args args = new Efl.Ui.IScrollbarBarUnpressEvt_Args();
- args.arg = default(Efl.Ui.ScrollbarDirection);
+ args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
try
{
value?.Invoke(obj, args);
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
Marshal.FreeHGlobal(info);
}
}
- /// <summary>Called when bar is dragged</summary>
+ /// <summary>Called when bar is dragged.</summary>
public event EventHandler<Efl.Ui.IScrollbarBarDragEvt_Args> BarDragEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
if (obj != null)
{
Efl.Ui.IScrollbarBarDragEvt_Args args = new Efl.Ui.IScrollbarBarDragEvt_Args();
- args.arg = default(Efl.Ui.ScrollbarDirection);
+ args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
try
{
value?.Invoke(obj, args);
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
Marshal.FreeHGlobal(info);
}
}
- /// <summary>Called when bar size is changed</summary>
+ /// <summary>Called when bar size is changed.</summary>
public event EventHandler BarSizeChangedEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Called when bar position is changed</summary>
+ /// <summary>Called when bar position is changed.</summary>
public event EventHandler BarPosChangedEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Callend when bar is shown</summary>
+ /// <summary>Callend when bar is shown.</summary>
public event EventHandler<Efl.Ui.IScrollbarBarShowEvt_Args> BarShowEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
if (obj != null)
{
Efl.Ui.IScrollbarBarShowEvt_Args args = new Efl.Ui.IScrollbarBarShowEvt_Args();
- args.arg = default(Efl.Ui.ScrollbarDirection);
+ args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
try
{
value?.Invoke(obj, args);
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
Marshal.FreeHGlobal(info);
}
}
- /// <summary>Called when bar is hidden</summary>
+ /// <summary>Called when bar is hidden.</summary>
public event EventHandler<Efl.Ui.IScrollbarBarHideEvt_Args> BarHideEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
if (obj != null)
{
Efl.Ui.IScrollbarBarHideEvt_Args args = new Efl.Ui.IScrollbarBarHideEvt_Args();
- args.arg = default(Efl.Ui.ScrollbarDirection);
+ args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
try
{
value?.Invoke(obj, args);
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_ITEM_SELECTED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_ITEM_UNSELECTED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SELECTION_PASTE";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SELECTION_COPY";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SELECTION_CUT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SELECTION_START";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SELECTION_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SELECTION_CLEARED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// <summary>Property data of last selected item.</summary>
/// <returns>last selected item of list.</returns>
virtual public Efl.Ui.ListItem GetLastSelectedItem() {
- var _ret_var = Efl.Ui.List.NativeMethods.efl_ui_list_last_selected_item_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.List.NativeMethods.efl_ui_list_last_selected_item_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="item">Target item.</param>
/// <param name="animation">Boolean value for animation of scroll move.</param>
virtual public void ItemScroll(Efl.Ui.ListItem item, bool animation) {
- Efl.Ui.List.NativeMethods.efl_ui_list_item_scroll_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),item, animation);
+ Efl.Ui.List.NativeMethods.efl_ui_list_item_scroll_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),item, animation);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>scroll move the item to show at the align position of the viewport.</summary>
/// <param name="align">align value in Viewport.</param>
/// <param name="animation">Boolean value for animation of scroll move.</param>
virtual public void ItemScrollAlign(Efl.Ui.ListItem item, double align, bool animation) {
- Efl.Ui.List.NativeMethods.efl_ui_list_item_scroll_align_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),item, align, animation);
+ Efl.Ui.List.NativeMethods.efl_ui_list_item_scroll_align_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),item, align, animation);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the selected items iterator. The iterator sequence will be decided by selection.</summary>
/// <returns>Iterator covered by selected items list. user have to free the iterator after used.</returns>
virtual public Eina.Iterator<Efl.Ui.ListItem> GetSelectedItems() {
- var _ret_var = Efl.Ui.List.NativeMethods.efl_ui_list_selected_items_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.List.NativeMethods.efl_ui_list_selected_items_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Ui.ListItem>(_ret_var, true, false);
+ return new Eina.Iterator<Efl.Ui.ListItem>(_ret_var, true);
}
/// <summary>Removes all packed sub-objects and unreferences them.</summary>
/// <returns><c>true</c> on success, <c>false</c> otherwise.</returns>
virtual public bool ClearPack() {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_clear_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_clear_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Use with caution.</summary>
/// <returns><c>true</c> on success, <c>false</c> otherwise.</returns>
virtual public bool UnpackAll() {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_all_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_all_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="subobj">The sub-object to unpack.</param>
/// <returns><c>false</c> if <c>subobj</c> wasn't in the container or couldn't be removed.</returns>
virtual public bool Unpack(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="subobj">The object to pack.</param>
/// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
virtual public bool Pack(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Requests EFL to call the <see cref="Efl.IPackLayout.UpdateLayout"/> method on this object.
/// This <see cref="Efl.IPackLayout.UpdateLayout"/> may be called asynchronously.</summary>
virtual public void LayoutRequest() {
- Efl.IPackLayoutConcrete.NativeMethods.efl_pack_layout_request_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.IPackLayoutConcrete.NativeMethods.efl_pack_layout_request_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Implementation of this container's layout algorithm.
///
/// This can be overriden to implement custom layout behaviors.</summary>
virtual public void UpdateLayout() {
- Efl.IPackLayoutConcrete.NativeMethods.efl_pack_layout_update_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.IPackLayoutConcrete.NativeMethods.efl_pack_layout_update_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Prepend an object at the beginning of this container.
/// <param name="subobj">Object to pack at the beginning.</param>
/// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
virtual public bool PackBegin(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_begin_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_begin_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="subobj">Object to pack at the end.</param>
/// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
virtual public bool PackEnd(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_end_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_end_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="existing">Existing reference sub-object.</param>
/// <returns><c>false</c> if <c>existing</c> could not be found or <c>subobj</c> could not be packed.</returns>
virtual public bool PackBefore(Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_before_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj, existing);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_before_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, existing);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="existing">Existing reference sub-object.</param>
/// <returns><c>false</c> if <c>existing</c> could not be found or <c>subobj</c> could not be packed.</returns>
virtual public bool PackAfter(Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_after_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj, existing);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_after_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, existing);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="index">Index of existing sub-object to insert BEFORE. Valid range is -<c>count</c> to (<c>count</c>-1).</param>
/// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
virtual public bool PackAt(Efl.Gfx.IEntity subobj, int index) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_at_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj, index);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_at_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, index);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="index">Index of the existing sub-object to retrieve. Valid range is -<c>count</c> to (<c>count</c>-1).</param>
/// <returns>The sub-object contained at the given <c>index</c>.</returns>
virtual public Efl.Gfx.IEntity GetPackContent(int index) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),index);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),index);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="subobj">An existing sub-object in this container.</param>
/// <returns>-1 in case <c>subobj</c> is not found, or the index of <c>subobj</c> in the range 0 to (<c>count</c>-1).</returns>
virtual public int GetPackIndex(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_index_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_index_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="index">Index of the sub-object to remove. Valid range is -<c>count</c> to (<c>count</c>-1).</param>
/// <returns>The sub-object if it could be removed.</returns>
virtual public Efl.Gfx.IEntity PackUnpackAt(int index) {
- var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_unpack_at_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),index);
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_unpack_at_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),index);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="align_horiz">Horizontal alignment</param>
/// <param name="align_vert">Vertical alignment</param>
virtual public void GetContentAlign(out double align_horiz, out double align_vert) {
- Efl.Gfx.IArrangementConcrete.NativeMethods.efl_gfx_arrangement_content_align_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out align_horiz, out align_vert);
+ Efl.Gfx.IArrangementConcrete.NativeMethods.efl_gfx_arrangement_content_align_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out align_horiz, out align_vert);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Alignment of the container within its bounds</summary>
/// <param name="align_horiz">Horizontal alignment</param>
/// <param name="align_vert">Vertical alignment</param>
virtual public void SetContentAlign(double align_horiz, double align_vert) {
- Efl.Gfx.IArrangementConcrete.NativeMethods.efl_gfx_arrangement_content_align_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),align_horiz, align_vert);
+ Efl.Gfx.IArrangementConcrete.NativeMethods.efl_gfx_arrangement_content_align_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),align_horiz, align_vert);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Padding between items contained in this object.</summary>
/// <param name="pad_vert">Vertical padding</param>
/// <param name="scalable"><c>true</c> if scalable, <c>false</c> otherwise</param>
virtual public void GetContentPadding(out double pad_horiz, out double pad_vert, out bool scalable) {
- Efl.Gfx.IArrangementConcrete.NativeMethods.efl_gfx_arrangement_content_padding_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out pad_horiz, out pad_vert, out scalable);
+ Efl.Gfx.IArrangementConcrete.NativeMethods.efl_gfx_arrangement_content_padding_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out pad_horiz, out pad_vert, out scalable);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Padding between items contained in this object.</summary>
/// <param name="pad_vert">Vertical padding</param>
/// <param name="scalable"><c>true</c> if scalable, <c>false</c> otherwise</param>
virtual public void SetContentPadding(double pad_horiz, double pad_vert, bool scalable) {
- Efl.Gfx.IArrangementConcrete.NativeMethods.efl_gfx_arrangement_content_padding_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),pad_horiz, pad_vert, scalable);
+ Efl.Gfx.IArrangementConcrete.NativeMethods.efl_gfx_arrangement_content_padding_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),pad_horiz, pad_vert, scalable);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The mode type for children selection.</summary>
/// <returns>Type of selection of children</returns>
virtual public Efl.Ui.SelectMode GetSelectMode() {
- var _ret_var = Efl.Ui.IMultiSelectableConcrete.NativeMethods.efl_ui_select_mode_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IMultiSelectableConcrete.NativeMethods.efl_ui_select_mode_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>The mode type for children selection.</summary>
/// <param name="mode">Type of selection of children</param>
virtual public void SetSelectMode(Efl.Ui.SelectMode mode) {
- Efl.Ui.IMultiSelectableConcrete.NativeMethods.efl_ui_select_mode_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),mode);
+ Efl.Ui.IMultiSelectableConcrete.NativeMethods.efl_ui_select_mode_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),mode);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The content position</summary>
/// <returns>The position is virtual value, (0, 0) starting at the top-left.</returns>
virtual public Eina.Position2D GetContentPos() {
- var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_pos_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_pos_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="pos">The position is virtual value, (0, 0) starting at the top-left.</param>
virtual public void SetContentPos(Eina.Position2D pos) {
Eina.Position2D.NativeStruct _in_pos = pos;
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_pos_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_pos);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_pos_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_pos);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The content size</summary>
/// <returns>The content size in pixels.</returns>
virtual public Eina.Size2D GetContentSize() {
- var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>The viewport geometry</summary>
/// <returns>It is absolute geometry.</returns>
virtual public Eina.Rect GetViewportGeometry() {
- var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_viewport_geometry_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_viewport_geometry_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="horiz">Horizontal bounce policy.</param>
/// <param name="vert">Vertical bounce policy.</param>
virtual public void GetBounceEnabled(out bool horiz, out bool vert) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_bounce_enabled_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out horiz, out vert);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_bounce_enabled_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out horiz, out vert);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Bouncing behavior
/// <param name="horiz">Horizontal bounce policy.</param>
/// <param name="vert">Vertical bounce policy.</param>
virtual public void SetBounceEnabled(bool horiz, bool vert) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_bounce_enabled_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),horiz, vert);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_bounce_enabled_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),horiz, vert);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Freeze property This function will freeze scrolling movement (by input of a user). Unlike efl_ui_scrollable_movement_block_set, this function freezes bidirectionally. If you want to freeze in only one direction, See <see cref="Efl.Ui.IScrollableInteractive.SetMovementBlock"/>.</summary>
/// <returns><c>true</c> if freeze, <c>false</c> otherwise</returns>
virtual public bool GetScrollFreeze() {
- var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_freeze_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_freeze_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Freeze property This function will freeze scrolling movement (by input of a user). Unlike efl_ui_scrollable_movement_block_set, this function freezes bidirectionally. If you want to freeze in only one direction, See <see cref="Efl.Ui.IScrollableInteractive.SetMovementBlock"/>.</summary>
/// <param name="freeze"><c>true</c> if freeze, <c>false</c> otherwise</param>
virtual public void SetScrollFreeze(bool freeze) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_freeze_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),freeze);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_freeze_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),freeze);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Hold property When hold turns on, it only scrolls by holding action.</summary>
/// <returns><c>true</c> if hold, <c>false</c> otherwise</returns>
virtual public bool GetScrollHold() {
- var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_hold_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_hold_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Hold property When hold turns on, it only scrolls by holding action.</summary>
/// <param name="hold"><c>true</c> if hold, <c>false</c> otherwise</param>
virtual public void SetScrollHold(bool hold) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_hold_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),hold);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_hold_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),hold);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Controls an infinite loop for a scroller.</summary>
/// <param name="loop_h">The scrolling horizontal loop</param>
/// <param name="loop_v">The Scrolling vertical loop</param>
virtual public void GetLooping(out bool loop_h, out bool loop_v) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_looping_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out loop_h, out loop_v);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_looping_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out loop_h, out loop_v);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Controls an infinite loop for a scroller.</summary>
/// <param name="loop_h">The scrolling horizontal loop</param>
/// <param name="loop_v">The Scrolling vertical loop</param>
virtual public void SetLooping(bool loop_h, bool loop_v) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_looping_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),loop_h, loop_v);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_looping_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),loop_h, loop_v);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Blocking of scrolling (per axis)
/// This function will block scrolling movement (by input of a user) in a given direction. You can disable movements in the X axis, the Y axis or both. The default value is <c>none</c>, where movements are allowed in both directions.</summary>
/// <returns>Which axis (or axes) to block</returns>
virtual public Efl.Ui.ScrollBlock GetMovementBlock() {
- var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_movement_block_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_movement_block_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This function will block scrolling movement (by input of a user) in a given direction. You can disable movements in the X axis, the Y axis or both. The default value is <c>none</c>, where movements are allowed in both directions.</summary>
/// <param name="block">Which axis (or axes) to block</param>
virtual public void SetMovementBlock(Efl.Ui.ScrollBlock block) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_movement_block_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),block);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_movement_block_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),block);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control scrolling gravity on the scrollable
/// <param name="x">Horizontal scrolling gravity</param>
/// <param name="y">Vertical scrolling gravity</param>
virtual public void GetGravity(out double x, out double y) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_gravity_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out x, out y);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_gravity_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out x, out y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control scrolling gravity on the scrollable
/// <param name="x">Horizontal scrolling gravity</param>
/// <param name="y">Vertical scrolling gravity</param>
virtual public void SetGravity(double x, double y) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_gravity_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),x, y);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_gravity_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Prevent the scrollable from being smaller than the minimum size of the content.
/// <param name="w">Whether to limit the minimum horizontal size</param>
/// <param name="h">Whether to limit the minimum vertical size</param>
virtual public void SetMatchContent(bool w, bool h) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_match_content_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),w, h);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_match_content_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),w, h);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control the step size
/// Use this call to set step size. This value is used when scroller scroll by arrow key event.</summary>
/// <returns>The step size in pixels</returns>
virtual public Eina.Position2D GetStepSize() {
- var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_step_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_step_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="step">The step size in pixels</param>
virtual public void SetStepSize(Eina.Position2D step) {
Eina.Position2D.NativeStruct _in_step = step;
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_step_size_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_step);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_step_size_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_step);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Show a specific virtual region within the scroller content object.
/// <param name="animation">Whether to scroll with animation or not</param>
virtual public void Scroll(Eina.Rect rect, bool animation) {
Eina.Rect.NativeStruct _in_rect = rect;
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_rect, animation);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_rect, animation);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Scrollbar visibility policy</summary>
- /// <param name="hbar">Horizontal scrollbar</param>
- /// <param name="vbar">Vertical scrollbar</param>
+ /// <param name="hbar">Horizontal scrollbar.</param>
+ /// <param name="vbar">Vertical scrollbar.</param>
virtual public void GetBarMode(out Efl.Ui.ScrollbarMode hbar, out Efl.Ui.ScrollbarMode vbar) {
- Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_mode_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out hbar, out vbar);
+ Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_mode_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out hbar, out vbar);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Scrollbar visibility policy</summary>
- /// <param name="hbar">Horizontal scrollbar</param>
- /// <param name="vbar">Vertical scrollbar</param>
+ /// <param name="hbar">Horizontal scrollbar.</param>
+ /// <param name="vbar">Vertical scrollbar.</param>
virtual public void SetBarMode(Efl.Ui.ScrollbarMode hbar, Efl.Ui.ScrollbarMode vbar) {
- Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_mode_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),hbar, vbar);
+ Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_mode_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),hbar, vbar);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Scrollbar size. It is calculated based on viewport size-content sizes.</summary>
- /// <param name="width">Value between 0.0 and 1.0</param>
- /// <param name="height">Value between 0.0 and 1.0</param>
+ /// <param name="width">Value between 0.0 and 1.0.</param>
+ /// <param name="height">Value between 0.0 and 1.0.</param>
virtual public void GetBarSize(out double width, out double height) {
- Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out width, out height);
+ Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out width, out height);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Scrollbar position. It is calculated based on current position-maximum positions.</summary>
- /// <param name="posx">Value between 0.0 and 1.0</param>
- /// <param name="posy">Value between 0.0 and 1.0</param>
+ /// <param name="posx">Value between 0.0 and 1.0.</param>
+ /// <param name="posy">Value between 0.0 and 1.0.</param>
virtual public void GetBarPosition(out double posx, out double posy) {
- Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_position_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out posx, out posy);
+ Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_position_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out posx, out posy);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Scrollbar position. It is calculated based on current position-maximum positions.</summary>
- /// <param name="posx">Value between 0.0 and 1.0</param>
- /// <param name="posy">Value between 0.0 and 1.0</param>
+ /// <param name="posx">Value between 0.0 and 1.0.</param>
+ /// <param name="posy">Value between 0.0 and 1.0.</param>
virtual public void SetBarPosition(double posx, double posy) {
- Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_position_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),posx, posy);
+ Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_position_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),posx, posy);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Update bar visibility.
- /// The object will call this function whenever the bar need to be shown or hidden.</summary>
+ /// The object will call this function whenever the bar needs to be shown or hidden.</summary>
virtual public void UpdateBarVisibility() {
- Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_visibility_update_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_visibility_update_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Property data of last selected item.</summary>
/// <summary>List Default Item class. This class need to be sub object of list widget. text and contents can be appliable by efl_text, efl_content or efl_part APIs.</summary>
[Efl.Ui.ListDefaultItem.NativeMethods]
+[Efl.Eo.BindingEntity]
public class ListDefaultItem : Efl.Ui.ListItem, Efl.IContent, Efl.IText, Efl.ITextMarkup
{
///<summary>Pointer to the native class description.</summary>
efl_ui_list_default_item_class_get();
/// <summary>Initializes a new instance of the <see cref="ListDefaultItem"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public ListDefaultItem(Efl.Object parent
- , System.String style = null) : base(efl_ui_list_default_item_class_get(), typeof(ListDefaultItem), parent)
+ , System.String style = null) : base(efl_ui_list_default_item_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected ListDefaultItem(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="ListDefaultItem"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected ListDefaultItem(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected ListDefaultItem(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="ListDefaultItem"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected ListDefaultItem(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected ListDefaultItem(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// (Since EFL 1.22)</summary>
/// <returns>The sub-object.</returns>
virtual public Efl.Gfx.IEntity GetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="content">The sub-object.</param>
/// <returns><c>true</c> if <c>content</c> was successfully swallowed.</returns>
virtual public bool SetContent(Efl.Gfx.IEntity content) {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),content);
+ 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);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Unswallowed object</returns>
virtual public Efl.Gfx.IEntity UnsetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Text string to display on it.</returns>
virtual public System.String GetText() {
- var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="text">Text string to display on it.</param>
virtual public void SetText(System.String text) {
- Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),text);
+ Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),text);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Markup property</summary>
/// <returns>The markup-text representation set to this text.</returns>
virtual public System.String GetMarkup() {
- var _ret_var = Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Markup property</summary>
/// <param name="markup">The markup-text representation set to this text.</param>
virtual public void SetMarkup(System.String markup) {
- Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),markup);
+ Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),markup);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Sub-object currently set as this object's single content.
namespace Ui {
[Efl.Ui.ListItem.NativeMethods]
+[Efl.Eo.BindingEntity]
public abstract class ListItem : Efl.Ui.Item
{
///<summary>Pointer to the native class description.</summary>
efl_ui_list_item_class_get();
/// <summary>Initializes a new instance of the <see cref="ListItem"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public ListItem(Efl.Object parent
- , System.String style = null) : base(efl_ui_list_item_class_get(), typeof(ListItem), parent)
+ , System.String style = null) : base(efl_ui_list_item_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected ListItem(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="ListItem"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected ListItem(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected ListItem(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
[Efl.Eo.PrivateNativeClass]
private class ListItemRealized : ListItem
{
- private ListItemRealized(IntPtr ptr) : base(ptr)
+ private ListItemRealized(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Initializes a new instance of the <see cref="ListItem"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected ListItem(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected ListItem(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>List Placeholder Item class. This item have only one swallow space, thus user can decorate item by filling the swallow with any kind of container.</summary>
[Efl.Ui.ListPlaceholderItem.NativeMethods]
+[Efl.Eo.BindingEntity]
public class ListPlaceholderItem : Efl.Ui.ListItem, Efl.IContent
{
///<summary>Pointer to the native class description.</summary>
efl_ui_list_placeholder_item_class_get();
/// <summary>Initializes a new instance of the <see cref="ListPlaceholderItem"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public ListPlaceholderItem(Efl.Object parent
- , System.String style = null) : base(efl_ui_list_placeholder_item_class_get(), typeof(ListPlaceholderItem), parent)
+ , System.String style = null) : base(efl_ui_list_placeholder_item_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected ListPlaceholderItem(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="ListPlaceholderItem"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected ListPlaceholderItem(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected ListPlaceholderItem(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="ListPlaceholderItem"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected ListPlaceholderItem(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected ListPlaceholderItem(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// (Since EFL 1.22)</summary>
/// <returns>The sub-object.</returns>
virtual public Efl.Gfx.IEntity GetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="content">The sub-object.</param>
/// <returns><c>true</c> if <c>content</c> was successfully swallowed.</returns>
virtual public bool SetContent(Efl.Gfx.IEntity content) {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),content);
+ 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);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Unswallowed object</returns>
virtual public Efl.Gfx.IEntity UnsetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
namespace Ui {
///<summary>Event argument wrapper for event <see cref="Efl.Ui.ListView.ItemRealizedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class ListViewItemRealizedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Ui.ListViewItemEvent arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.ListView.ItemUnrealizedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class ListViewItemUnrealizedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Ui.ListViewItemEvent arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.ListView.ItemFocusedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class ListViewItemFocusedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Ui.ListViewItemEvent arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.ListView.ItemUnfocusedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class ListViewItemUnfocusedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Ui.ListViewItemEvent arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.ListView.ItemHighlightedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class ListViewItemHighlightedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Ui.ListViewItemEvent arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.ListView.ItemUnhighlightedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class ListViewItemUnhighlightedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Ui.ListViewItemEvent arg { get; set; }
}
[Efl.Ui.ListView.NativeMethods]
+[Efl.Eo.BindingEntity]
public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListViewModel, Efl.Ui.IScrollable, Efl.Ui.IScrollableInteractive, Efl.Ui.IScrollbar, Efl.Ui.ISelectable, Efl.Ui.IWidgetFocusManager, Efl.Ui.Focus.IComposition, Efl.Ui.Focus.IManager, Efl.Ui.Focus.IManagerSub
{
///<summary>Pointer to the native class description.</summary>
efl_ui_list_view_class_get();
/// <summary>Initializes a new instance of the <see cref="ListView"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public ListView(Efl.Object parent
- , System.String style = null) : base(efl_ui_list_view_class_get(), typeof(ListView), parent)
+ , System.String style = null) : base(efl_ui_list_view_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected ListView(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="ListView"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected ListView(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected ListView(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="ListView"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected ListView(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected ListView(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_LIST_VIEW_EVENT_ITEM_REALIZED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_LIST_VIEW_EVENT_ITEM_UNREALIZED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_LIST_VIEW_EVENT_ITEM_FOCUSED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_LIST_VIEW_EVENT_ITEM_UNFOCUSED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_LIST_VIEW_EVENT_ITEM_HIGHLIGHTED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_LIST_VIEW_EVENT_ITEM_UNHIGHLIGHTED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_SELECTION_EVENT_ACCESS_SELECTION_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_START";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_STOP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_UP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_DOWN";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_LEFT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_RIGHT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_EDGE_UP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_EDGE_DOWN";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_EDGE_LEFT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_EDGE_RIGHT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_ANIM_START";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_DRAG_START";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Called when bar is pressed</summary>
+ /// <summary>Called when bar is pressed.</summary>
public event EventHandler<Efl.Ui.IScrollbarBarPressEvt_Args> BarPressEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
if (obj != null)
{
Efl.Ui.IScrollbarBarPressEvt_Args args = new Efl.Ui.IScrollbarBarPressEvt_Args();
- args.arg = default(Efl.Ui.ScrollbarDirection);
+ args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
try
{
value?.Invoke(obj, args);
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
Marshal.FreeHGlobal(info);
}
}
- /// <summary>Called when bar is unpressed</summary>
+ /// <summary>Called when bar is unpressed.</summary>
public event EventHandler<Efl.Ui.IScrollbarBarUnpressEvt_Args> BarUnpressEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
if (obj != null)
{
Efl.Ui.IScrollbarBarUnpressEvt_Args args = new Efl.Ui.IScrollbarBarUnpressEvt_Args();
- args.arg = default(Efl.Ui.ScrollbarDirection);
+ args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
try
{
value?.Invoke(obj, args);
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
Marshal.FreeHGlobal(info);
}
}
- /// <summary>Called when bar is dragged</summary>
+ /// <summary>Called when bar is dragged.</summary>
public event EventHandler<Efl.Ui.IScrollbarBarDragEvt_Args> BarDragEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
if (obj != null)
{
Efl.Ui.IScrollbarBarDragEvt_Args args = new Efl.Ui.IScrollbarBarDragEvt_Args();
- args.arg = default(Efl.Ui.ScrollbarDirection);
+ args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
try
{
value?.Invoke(obj, args);
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
Marshal.FreeHGlobal(info);
}
}
- /// <summary>Called when bar size is changed</summary>
+ /// <summary>Called when bar size is changed.</summary>
public event EventHandler BarSizeChangedEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Called when bar position is changed</summary>
+ /// <summary>Called when bar position is changed.</summary>
public event EventHandler BarPosChangedEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Callend when bar is shown</summary>
+ /// <summary>Callend when bar is shown.</summary>
public event EventHandler<Efl.Ui.IScrollbarBarShowEvt_Args> BarShowEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
if (obj != null)
{
Efl.Ui.IScrollbarBarShowEvt_Args args = new Efl.Ui.IScrollbarBarShowEvt_Args();
- args.arg = default(Efl.Ui.ScrollbarDirection);
+ args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
try
{
value?.Invoke(obj, args);
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
Marshal.FreeHGlobal(info);
}
}
- /// <summary>Called when bar is hidden</summary>
+ /// <summary>Called when bar is hidden.</summary>
public event EventHandler<Efl.Ui.IScrollbarBarHideEvt_Args> BarHideEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
if (obj != null)
{
Efl.Ui.IScrollbarBarHideEvt_Args args = new Efl.Ui.IScrollbarBarHideEvt_Args();
- args.arg = default(Efl.Ui.ScrollbarDirection);
+ args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
try
{
value?.Invoke(obj, args);
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_ITEM_SELECTED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_ITEM_UNSELECTED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SELECTION_PASTE";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SELECTION_COPY";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SELECTION_CUT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SELECTION_START";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SELECTION_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SELECTION_CLEARED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_REDIRECT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_FLUSH_PRE";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_COORDS_DIRTY";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_MANAGER_FOCUS_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_DIRTY_LOGIC_FREEZE_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
Marshal.FreeHGlobal(info);
}
}
- /// <summary>Get whether the homogeneous mode is enabled.</summary>
- /// <returns>Assume the items within the genlist are of the same height and width. Default is <c>false</c>.</returns>
+ /// <summary>When in homogeneous mode, all items have the same height and width. Otherwise, each item's size is respected.</summary>
+ /// <returns>Homogeneous mode setting. Default is <c>false</c>.</returns>
virtual public bool GetHomogeneous() {
- var _ret_var = Efl.Ui.ListView.NativeMethods.efl_ui_list_view_homogeneous_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.ListView.NativeMethods.efl_ui_list_view_homogeneous_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
- /// <summary>Enable/disable homogeneous mode.</summary>
- /// <param name="homogeneous">Assume the items within the genlist are of the same height and width. Default is <c>false</c>.</param>
+ /// <summary>When in homogeneous mode, all items have the same height and width. Otherwise, each item's size is respected.</summary>
+ /// <param name="homogeneous">Homogeneous mode setting. Default is <c>false</c>.</param>
virtual public void SetHomogeneous(bool homogeneous) {
- Efl.Ui.ListView.NativeMethods.efl_ui_list_view_homogeneous_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),homogeneous);
+ Efl.Ui.ListView.NativeMethods.efl_ui_list_view_homogeneous_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),homogeneous);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Listview select mode.</summary>
/// <returns>The select mode.</returns>
virtual public Elm.Object.SelectMode GetSelectMode() {
- var _ret_var = Efl.Ui.ListView.NativeMethods.efl_ui_list_view_select_mode_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.ListView.NativeMethods.efl_ui_list_view_select_mode_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Listview select mode.</summary>
/// <param name="mode">The select mode.</param>
virtual public void SetSelectMode(Elm.Object.SelectMode mode) {
- Efl.Ui.ListView.NativeMethods.efl_ui_list_view_select_mode_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),mode);
+ Efl.Ui.ListView.NativeMethods.efl_ui_list_view_select_mode_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),mode);
Eina.Error.RaiseIfUnhandledException();
}
+ /// <summary>TBD</summary>
+ /// <returns>TBD</returns>
virtual public System.String GetDefaultStyle() {
- var _ret_var = Efl.Ui.ListView.NativeMethods.efl_ui_list_view_default_style_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.ListView.NativeMethods.efl_ui_list_view_default_style_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
+ /// <summary>TBD</summary>
+ /// <param name="style">TBD</param>
virtual public void SetDefaultStyle(System.String style) {
- Efl.Ui.ListView.NativeMethods.efl_ui_list_view_default_style_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),style);
+ Efl.Ui.ListView.NativeMethods.efl_ui_list_view_default_style_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),style);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Listview layout factory set.</summary>
/// <param name="factory">The factory.</param>
virtual public void SetLayoutFactory(Efl.Ui.IFactory factory) {
- Efl.Ui.ListView.NativeMethods.efl_ui_list_view_layout_factory_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),factory);
+ Efl.Ui.ListView.NativeMethods.efl_ui_list_view_layout_factory_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),factory);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gets the number of currently selected children</summary>
/// <returns>Number of currently selected children</returns>
virtual public int GetSelectedChildrenCount() {
- var _ret_var = Efl.Access.ISelectionConcrete.NativeMethods.efl_access_selection_selected_children_count_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Access.ISelectionConcrete.NativeMethods.efl_access_selection_selected_children_count_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="selected_child_index">Index of child</param>
/// <returns>Child object</returns>
virtual public Efl.Object GetSelectedChild(int selected_child_index) {
- var _ret_var = Efl.Access.ISelectionConcrete.NativeMethods.efl_access_selection_selected_child_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),selected_child_index);
+ var _ret_var = Efl.Access.ISelectionConcrete.NativeMethods.efl_access_selection_selected_child_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),selected_child_index);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="child_index">Index of child</param>
/// <returns><c>true</c> if selection was added, <c>false</c> otherwise</returns>
virtual public bool ChildSelect(int child_index) {
- var _ret_var = Efl.Access.ISelectionConcrete.NativeMethods.efl_access_selection_child_select_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),child_index);
+ var _ret_var = Efl.Access.ISelectionConcrete.NativeMethods.efl_access_selection_child_select_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),child_index);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="child_index">Index of child</param>
/// <returns><c>true</c> if selection was removed, <c>false</c> otherwise</returns>
virtual public bool SelectedChildDeselect(int child_index) {
- var _ret_var = Efl.Access.ISelectionConcrete.NativeMethods.efl_access_selection_selected_child_deselect_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),child_index);
+ var _ret_var = Efl.Access.ISelectionConcrete.NativeMethods.efl_access_selection_selected_child_deselect_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),child_index);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="child_index">Index of child</param>
/// <returns><c>true</c> if child is selected, <c>false</c> otherwise</returns>
virtual public bool IsChildSelected(int child_index) {
- var _ret_var = Efl.Access.ISelectionConcrete.NativeMethods.efl_access_selection_is_child_selected_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),child_index);
+ var _ret_var = Efl.Access.ISelectionConcrete.NativeMethods.efl_access_selection_is_child_selected_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),child_index);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Adds selection for all children</summary>
/// <returns><c>true</c> if selection was added to all children, <c>false</c> otherwise</returns>
virtual public bool AllChildrenSelect() {
- var _ret_var = Efl.Access.ISelectionConcrete.NativeMethods.efl_access_selection_all_children_select_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Access.ISelectionConcrete.NativeMethods.efl_access_selection_all_children_select_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Clears the current selection</summary>
/// <returns><c>true</c> if selection was cleared, <c>false</c> otherwise</returns>
virtual public bool ClearAccessSelection() {
- var _ret_var = Efl.Access.ISelectionConcrete.NativeMethods.efl_access_selection_clear_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Access.ISelectionConcrete.NativeMethods.efl_access_selection_clear_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="child_index">Index of child</param>
/// <returns><c>true</c> if selection was removed, <c>false</c> otherwise</returns>
virtual public bool ChildDeselect(int child_index) {
- var _ret_var = Efl.Access.ISelectionConcrete.NativeMethods.efl_access_selection_child_deselect_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),child_index);
+ var _ret_var = Efl.Access.ISelectionConcrete.NativeMethods.efl_access_selection_child_deselect_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),child_index);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
virtual public void SetLoadRange(int first, int count) {
- Efl.Ui.IListViewModelConcrete.NativeMethods.efl_ui_list_view_model_load_range_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),first, count);
+ Efl.Ui.IListViewModelConcrete.NativeMethods.efl_ui_list_view_model_load_range_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),first, count);
Eina.Error.RaiseIfUnhandledException();
}
virtual public int GetModelSize() {
- var _ret_var = Efl.Ui.IListViewModelConcrete.NativeMethods.efl_ui_list_view_model_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IListViewModelConcrete.NativeMethods.efl_ui_list_view_model_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Minimal content size.</summary>
virtual public Eina.Size2D GetMinSize() {
- var _ret_var = Efl.Ui.IListViewModelConcrete.NativeMethods.efl_ui_list_view_model_min_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IListViewModelConcrete.NativeMethods.efl_ui_list_view_model_min_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Minimal content size.</summary>
virtual 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((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_min);
+ Efl.Ui.IListViewModelConcrete.NativeMethods.efl_ui_list_view_model_min_size_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_min);
Eina.Error.RaiseIfUnhandledException();
}
virtual public Efl.Ui.ListViewLayoutItem Realize(ref Efl.Ui.ListViewLayoutItem item) {
Efl.Ui.ListViewLayoutItem.NativeStruct _in_item = item;
- var _ret_var = Efl.Ui.IListViewModelConcrete.NativeMethods.efl_ui_list_view_model_realize_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),ref _in_item);
+ var _ret_var = Efl.Ui.IListViewModelConcrete.NativeMethods.efl_ui_list_view_model_realize_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),ref _in_item);
Eina.Error.RaiseIfUnhandledException();
item = _in_item;
var __ret_tmp = Eina.PrimitiveConversion.PointerToManaged<Efl.Ui.ListViewLayoutItem>(_ret_var);
}
virtual public void Unrealize(ref Efl.Ui.ListViewLayoutItem item) {
Efl.Ui.ListViewLayoutItem.NativeStruct _in_item = item;
- Efl.Ui.IListViewModelConcrete.NativeMethods.efl_ui_list_view_model_unrealize_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),ref _in_item);
+ Efl.Ui.IListViewModelConcrete.NativeMethods.efl_ui_list_view_model_unrealize_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),ref _in_item);
Eina.Error.RaiseIfUnhandledException();
item = _in_item;
}
/// <summary>The content position</summary>
/// <returns>The position is virtual value, (0, 0) starting at the top-left.</returns>
virtual public Eina.Position2D GetContentPos() {
- var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_pos_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_pos_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="pos">The position is virtual value, (0, 0) starting at the top-left.</param>
virtual public void SetContentPos(Eina.Position2D pos) {
Eina.Position2D.NativeStruct _in_pos = pos;
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_pos_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_pos);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_pos_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_pos);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The content size</summary>
/// <returns>The content size in pixels.</returns>
virtual public Eina.Size2D GetContentSize() {
- var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>The viewport geometry</summary>
/// <returns>It is absolute geometry.</returns>
virtual public Eina.Rect GetViewportGeometry() {
- var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_viewport_geometry_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_viewport_geometry_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="horiz">Horizontal bounce policy.</param>
/// <param name="vert">Vertical bounce policy.</param>
virtual public void GetBounceEnabled(out bool horiz, out bool vert) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_bounce_enabled_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out horiz, out vert);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_bounce_enabled_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out horiz, out vert);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Bouncing behavior
/// <param name="horiz">Horizontal bounce policy.</param>
/// <param name="vert">Vertical bounce policy.</param>
virtual public void SetBounceEnabled(bool horiz, bool vert) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_bounce_enabled_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),horiz, vert);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_bounce_enabled_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),horiz, vert);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Freeze property This function will freeze scrolling movement (by input of a user). Unlike efl_ui_scrollable_movement_block_set, this function freezes bidirectionally. If you want to freeze in only one direction, See <see cref="Efl.Ui.IScrollableInteractive.SetMovementBlock"/>.</summary>
/// <returns><c>true</c> if freeze, <c>false</c> otherwise</returns>
virtual public bool GetScrollFreeze() {
- var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_freeze_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_freeze_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Freeze property This function will freeze scrolling movement (by input of a user). Unlike efl_ui_scrollable_movement_block_set, this function freezes bidirectionally. If you want to freeze in only one direction, See <see cref="Efl.Ui.IScrollableInteractive.SetMovementBlock"/>.</summary>
/// <param name="freeze"><c>true</c> if freeze, <c>false</c> otherwise</param>
virtual public void SetScrollFreeze(bool freeze) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_freeze_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),freeze);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_freeze_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),freeze);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Hold property When hold turns on, it only scrolls by holding action.</summary>
/// <returns><c>true</c> if hold, <c>false</c> otherwise</returns>
virtual public bool GetScrollHold() {
- var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_hold_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_hold_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Hold property When hold turns on, it only scrolls by holding action.</summary>
/// <param name="hold"><c>true</c> if hold, <c>false</c> otherwise</param>
virtual public void SetScrollHold(bool hold) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_hold_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),hold);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_hold_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),hold);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Controls an infinite loop for a scroller.</summary>
/// <param name="loop_h">The scrolling horizontal loop</param>
/// <param name="loop_v">The Scrolling vertical loop</param>
virtual public void GetLooping(out bool loop_h, out bool loop_v) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_looping_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out loop_h, out loop_v);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_looping_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out loop_h, out loop_v);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Controls an infinite loop for a scroller.</summary>
/// <param name="loop_h">The scrolling horizontal loop</param>
/// <param name="loop_v">The Scrolling vertical loop</param>
virtual public void SetLooping(bool loop_h, bool loop_v) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_looping_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),loop_h, loop_v);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_looping_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),loop_h, loop_v);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Blocking of scrolling (per axis)
/// This function will block scrolling movement (by input of a user) in a given direction. You can disable movements in the X axis, the Y axis or both. The default value is <c>none</c>, where movements are allowed in both directions.</summary>
/// <returns>Which axis (or axes) to block</returns>
virtual public Efl.Ui.ScrollBlock GetMovementBlock() {
- var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_movement_block_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_movement_block_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This function will block scrolling movement (by input of a user) in a given direction. You can disable movements in the X axis, the Y axis or both. The default value is <c>none</c>, where movements are allowed in both directions.</summary>
/// <param name="block">Which axis (or axes) to block</param>
virtual public void SetMovementBlock(Efl.Ui.ScrollBlock block) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_movement_block_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),block);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_movement_block_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),block);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control scrolling gravity on the scrollable
/// <param name="x">Horizontal scrolling gravity</param>
/// <param name="y">Vertical scrolling gravity</param>
virtual public void GetGravity(out double x, out double y) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_gravity_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out x, out y);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_gravity_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out x, out y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control scrolling gravity on the scrollable
/// <param name="x">Horizontal scrolling gravity</param>
/// <param name="y">Vertical scrolling gravity</param>
virtual public void SetGravity(double x, double y) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_gravity_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),x, y);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_gravity_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Prevent the scrollable from being smaller than the minimum size of the content.
/// <param name="w">Whether to limit the minimum horizontal size</param>
/// <param name="h">Whether to limit the minimum vertical size</param>
virtual public void SetMatchContent(bool w, bool h) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_match_content_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),w, h);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_match_content_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),w, h);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control the step size
/// Use this call to set step size. This value is used when scroller scroll by arrow key event.</summary>
/// <returns>The step size in pixels</returns>
virtual public Eina.Position2D GetStepSize() {
- var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_step_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_step_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="step">The step size in pixels</param>
virtual public void SetStepSize(Eina.Position2D step) {
Eina.Position2D.NativeStruct _in_step = step;
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_step_size_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_step);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_step_size_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_step);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Show a specific virtual region within the scroller content object.
/// <param name="animation">Whether to scroll with animation or not</param>
virtual public void Scroll(Eina.Rect rect, bool animation) {
Eina.Rect.NativeStruct _in_rect = rect;
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_rect, animation);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_rect, animation);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Scrollbar visibility policy</summary>
- /// <param name="hbar">Horizontal scrollbar</param>
- /// <param name="vbar">Vertical scrollbar</param>
+ /// <param name="hbar">Horizontal scrollbar.</param>
+ /// <param name="vbar">Vertical scrollbar.</param>
virtual public void GetBarMode(out Efl.Ui.ScrollbarMode hbar, out Efl.Ui.ScrollbarMode vbar) {
- Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_mode_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out hbar, out vbar);
+ Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_mode_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out hbar, out vbar);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Scrollbar visibility policy</summary>
- /// <param name="hbar">Horizontal scrollbar</param>
- /// <param name="vbar">Vertical scrollbar</param>
+ /// <param name="hbar">Horizontal scrollbar.</param>
+ /// <param name="vbar">Vertical scrollbar.</param>
virtual public void SetBarMode(Efl.Ui.ScrollbarMode hbar, Efl.Ui.ScrollbarMode vbar) {
- Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_mode_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),hbar, vbar);
+ Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_mode_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),hbar, vbar);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Scrollbar size. It is calculated based on viewport size-content sizes.</summary>
- /// <param name="width">Value between 0.0 and 1.0</param>
- /// <param name="height">Value between 0.0 and 1.0</param>
+ /// <param name="width">Value between 0.0 and 1.0.</param>
+ /// <param name="height">Value between 0.0 and 1.0.</param>
virtual public void GetBarSize(out double width, out double height) {
- Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out width, out height);
+ Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out width, out height);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Scrollbar position. It is calculated based on current position-maximum positions.</summary>
- /// <param name="posx">Value between 0.0 and 1.0</param>
- /// <param name="posy">Value between 0.0 and 1.0</param>
+ /// <param name="posx">Value between 0.0 and 1.0.</param>
+ /// <param name="posy">Value between 0.0 and 1.0.</param>
virtual public void GetBarPosition(out double posx, out double posy) {
- Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_position_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out posx, out posy);
+ Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_position_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out posx, out posy);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Scrollbar position. It is calculated based on current position-maximum positions.</summary>
- /// <param name="posx">Value between 0.0 and 1.0</param>
- /// <param name="posy">Value between 0.0 and 1.0</param>
+ /// <param name="posx">Value between 0.0 and 1.0.</param>
+ /// <param name="posy">Value between 0.0 and 1.0.</param>
virtual public void SetBarPosition(double posx, double posy) {
- Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_position_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),posx, posy);
+ Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_position_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),posx, posy);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Update bar visibility.
- /// The object will call this function whenever the bar need to be shown or hidden.</summary>
+ /// The object will call this function whenever the bar needs to be shown or hidden.</summary>
virtual public void UpdateBarVisibility() {
- Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_visibility_update_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_visibility_update_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>If the widget needs a focus manager, this function will be called.
/// <param name="root">The logical root object for focus.</param>
/// <returns>The focus manager.</returns>
virtual public Efl.Ui.Focus.IManager FocusManagerCreate(Efl.Ui.Focus.IObject root) {
- var _ret_var = Efl.Ui.IWidgetFocusManagerConcrete.NativeMethods.efl_ui_widget_focus_manager_create_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),root);
+ var _ret_var = Efl.Ui.IWidgetFocusManagerConcrete.NativeMethods.efl_ui_widget_focus_manager_create_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),root);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// If the element is a Efl.Ui.Widget nothing is done and the widget is simply part of the order.</summary>
/// <returns>The order to use</returns>
virtual public Eina.List<Efl.Gfx.IEntity> GetCompositionElements() {
- var _ret_var = Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_elements_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_elements_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return new Eina.List<Efl.Gfx.IEntity>(_ret_var, true, false);
}
virtual public void SetCompositionElements(Eina.List<Efl.Gfx.IEntity> logical_order) {
var _in_logical_order = logical_order.Handle;
logical_order.Own = false;
- Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_elements_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_logical_order);
+ Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_elements_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_logical_order);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set to true if all children should be registered as logicals</summary>
/// <returns><c>true</c> or <c>false</c></returns>
virtual public bool GetLogicalMode() {
- var _ret_var = Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_logical_mode_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_logical_mode_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Set to true if all children should be registered as logicals</summary>
/// <param name="logical_mode"><c>true</c> or <c>false</c></param>
virtual public void SetLogicalMode(bool logical_mode) {
- Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_logical_mode_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),logical_mode);
+ Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_logical_mode_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),logical_mode);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Mark this widget as dirty, the children can be considered to be changed after that call</summary>
virtual public void Dirty() {
- Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_dirty_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_dirty_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>A call to prepare the children of this element, called if marked as dirty
/// You can use this function to call composition_elements.</summary>
virtual public void Prepare() {
- Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_prepare_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_prepare_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The element which is currently focused by this manager
/// (Since EFL 1.22)</summary>
/// <returns>Currently focused element.</returns>
virtual public Efl.Ui.Focus.IObject GetManagerFocus() {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_focus_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_focus_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="focus">Currently focused element.</param>
virtual public void SetManagerFocus(Efl.Ui.Focus.IObject focus) {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_focus_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),focus);
+ Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_focus_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),focus);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Add another manager to serve the move requests.
/// (Since EFL 1.22)</summary>
/// <returns>The redirect manager.</returns>
virtual public Efl.Ui.Focus.IManager GetRedirect() {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_redirect_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_redirect_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="redirect">The redirect manager.</param>
virtual public void SetRedirect(Efl.Ui.Focus.IManager redirect) {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_redirect_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),redirect);
+ Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_redirect_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),redirect);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The list of elements which are at the border of the graph.
/// (Since EFL 1.22)</summary>
/// <returns>An iterator over the border objects.</returns>
virtual public Eina.Iterator<Efl.Ui.Focus.IObject> GetBorderElements() {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_border_elements_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_border_elements_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false, false);
+ return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false);
}
/// <summary>Get all elements that are at the border of the viewport
/// Every element returned by this is located inside the viewport rectangle, but has a right, left, down or up neighbor outside the viewport.
/// <returns>The list of border objects.</returns>
virtual public Eina.Iterator<Efl.Ui.Focus.IObject> GetViewportElements(Eina.Rect viewport) {
Eina.Rect.NativeStruct _in_viewport = viewport;
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_viewport_elements_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_viewport);
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_viewport_elements_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_viewport);
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false, false);
+ return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false);
}
/// <summary>Root node for all logical subtrees.
/// This property can only be set once.
/// (Since EFL 1.22)</summary>
/// <returns>Will be registered into this manager object.</returns>
virtual public Efl.Ui.Focus.IObject GetRoot() {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_root_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_root_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="root">Will be registered into this manager object.</param>
/// <returns>If <c>true</c>, this is the root node</returns>
virtual public bool SetRoot(Efl.Ui.Focus.IObject root) {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_root_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),root);
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_root_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),root);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="direction">The direction to move to.</param>
/// <returns>The element which is now focused.</returns>
virtual public Efl.Ui.Focus.IObject Move(Efl.Ui.Focus.Direction direction) {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_move_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),direction);
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_move_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),direction);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="logical">Wether you want to have a logical node as result or a non-logical. Note, in a <see cref="Efl.Ui.Focus.IManager.Move"/> call no logical node will get focus.</param>
/// <returns>Object that would receive focus if moved in the given direction.</returns>
virtual public Efl.Ui.Focus.IObject MoveRequest(Efl.Ui.Focus.Direction direction, Efl.Ui.Focus.IObject child, bool logical) {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_request_move_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),direction, child, logical);
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_request_move_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),direction, child, logical);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="root">Parent for returned child.</param>
/// <returns>Child of passed parameter.</returns>
virtual public Efl.Ui.Focus.IObject RequestSubchild(Efl.Ui.Focus.IObject root) {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_request_subchild_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),root);
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_request_subchild_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),root);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="child">The child object to inspect.</param>
/// <returns>The list of relations starting from <c>child</c>.</returns>
virtual public Efl.Ui.Focus.Relations Fetch(Efl.Ui.Focus.IObject child) {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_fetch_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),child);
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_fetch_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),child);
Eina.Error.RaiseIfUnhandledException();
var __ret_tmp = Eina.PrimitiveConversion.PointerToManaged<Efl.Ui.Focus.Relations>(_ret_var);
Marshal.FreeHGlobal(_ret_var);
/// (Since EFL 1.22)</summary>
/// <returns>Last object.</returns>
virtual public Efl.Ui.Focus.ManagerLogicalEndDetail LogicalEnd() {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_logical_end_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_logical_end_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// You should focus another element immediately after calling this, in order to always have a focused object.
/// (Since EFL 1.22)</summary>
virtual public void ResetHistory() {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_reset_history_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_reset_history_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Remove the uppermost history element, and focus the previous one.
/// If there is an element that was focused before, it will be used. Otherwise, the best fitting element from the registered elements will be focused.
/// (Since EFL 1.22)</summary>
virtual public void PopHistoryStack() {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_pop_history_stack_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_pop_history_stack_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Called when this manager is set as redirect.
/// <param name="direction">The direction in which this should be setup.</param>
/// <param name="entry">The object that caused this manager to be redirect.</param>
virtual public void SetupOnFirstTouch(Efl.Ui.Focus.Direction direction, Efl.Ui.Focus.IObject entry) {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_setup_on_first_touch_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),direction, entry);
+ Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_setup_on_first_touch_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),direction, entry);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This disables the cache invalidation when an object is moved.
/// Even if an object is moved, the focus manager will not recalculate its relations. This can be used when you know that the set of widgets in the focus manager is moved the same way, so the relations between the widets in the set do not change and the complex calculations can be avoided. Use <see cref="Efl.Ui.Focus.IManager.DirtyLogicUnfreeze"/> to re-enable relationship calculation.
/// (Since EFL 1.22)</summary>
virtual public void FreezeDirtyLogic() {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_dirty_logic_freeze_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_dirty_logic_freeze_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This enables the cache invalidation when an object is moved.
/// This is the counterpart to <see cref="Efl.Ui.Focus.IManager.FreezeDirtyLogic"/>.
/// (Since EFL 1.22)</summary>
virtual public void DirtyLogicUnfreeze() {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_dirty_logic_unfreeze_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_dirty_logic_unfreeze_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
- /// <summary>Get whether the homogeneous mode is enabled.</summary>
- /// <value>Assume the items within the genlist are of the same height and width. Default is <c>false</c>.</value>
+ /// <summary>When in homogeneous mode, all items have the same height and width. Otherwise, each item's size is respected.</summary>
+ /// <value>Homogeneous mode setting. Default is <c>false</c>.</value>
public bool Homogeneous {
get { return GetHomogeneous(); }
set { SetHomogeneous(value); }
get { return GetSelectMode(); }
set { SetSelectMode(value); }
}
+ /// <summary>TBD</summary>
+ /// <value>TBD</value>
public System.String DefaultStyle {
get { return GetDefaultStyle(); }
set { SetDefaultStyle(value); }
namespace Ui {
+/// <summary>Information related to item events.</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct ListViewItemEvent
{
+ /// <summary>TBD</summary>
public Efl.Ui.Layout Layout;
+ /// <summary>TBD</summary>
public Efl.IModel Child;
+ /// <summary>TBD</summary>
public int Index;
///<summary>Constructor for ListViewItemEvent.</summary>
public ListViewItemEvent(
namespace Ui {
[Efl.Ui.IListViewModelConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IListViewModel :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IListViewModelConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
efl_ui_list_view_model_interface_get();
/// <summary>Initializes a new instance of the <see cref="IListViewModel"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IListViewModelConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IListViewModelConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Elementary Efl_Ui_List_View pan class</summary>
[Efl.Ui.ListViewPan.NativeMethods]
+[Efl.Eo.BindingEntity]
public class ListViewPan : Efl.Ui.Pan
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="ListViewPan"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public ListViewPan(Efl.Object parent= null
- ) : base(efl_ui_list_view_pan_class_get(), typeof(ListViewPan), parent)
+ ) : base(efl_ui_list_view_pan_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected ListViewPan(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="ListViewPan"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected ListViewPan(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected ListViewPan(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="ListViewPan"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected ListViewPan(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected ListViewPan(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
namespace Ui {
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct ListViewLayoutItem
{
public Efl.Ui.Layout Layout;
}
+/// <summary>TBD</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct EflUiListViewSegArray
{
///<summary>Placeholder field</summary>
/// <summary>Efl UI Multi selectable interface. The container have to control select property of multiple chidren.</summary>
[Efl.Ui.IMultiSelectableConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IMultiSelectable :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IMultiSelectableConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_ui_multi_selectable_interface_get();
/// <summary>Initializes a new instance of the <see cref="IMultiSelectable"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IMultiSelectableConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IMultiSelectableConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
namespace Ui {
/// <summary>Type of multi selectable object.</summary>
+[Efl.Eo.BindingEntity]
public enum SelectMode
{
/// <summary>Only single child is selected. if the child is selected, previous selected child will be unselected.</summary>
/// <summary>Navigation_Bar widget.
/// Navigation_Bar widget provides a bar form useful for navigation. Navigation_Bar has a back button which is used to navigate to the previous content in the stack.</summary>
[Efl.Ui.NavigationBar.NativeMethods]
+[Efl.Eo.BindingEntity]
public class NavigationBar : Efl.Ui.LayoutBase, Efl.IText
{
///<summary>Pointer to the native class description.</summary>
efl_ui_navigation_bar_class_get();
/// <summary>Initializes a new instance of the <see cref="NavigationBar"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public NavigationBar(Efl.Object parent
- , System.String style = null) : base(efl_ui_navigation_bar_class_get(), typeof(NavigationBar), parent)
+ , System.String style = null) : base(efl_ui_navigation_bar_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected NavigationBar(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="NavigationBar"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected NavigationBar(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected NavigationBar(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="NavigationBar"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected NavigationBar(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected NavigationBar(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// (Since EFL 1.22)</summary>
/// <returns>Text string to display on it.</returns>
virtual public System.String GetText() {
- var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="text">Text string to display on it.</param>
virtual public void SetText(System.String text) {
- Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),text);
+ Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),text);
Eina.Error.RaiseIfUnhandledException();
}
private static IntPtr GetEflClassStatic()
/// <summary>Efl UI Navigation_Bar internal part class</summary>
[Efl.Ui.NavigationBarPart.NativeMethods]
+[Efl.Eo.BindingEntity]
public class NavigationBarPart : Efl.Ui.LayoutPartContent
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="NavigationBarPart"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public NavigationBarPart(Efl.Object parent= null
- ) : base(efl_ui_navigation_bar_part_class_get(), typeof(NavigationBarPart), parent)
+ ) : base(efl_ui_navigation_bar_part_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected NavigationBarPart(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="NavigationBarPart"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected NavigationBarPart(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected NavigationBarPart(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="NavigationBarPart"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected NavigationBarPart(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected NavigationBarPart(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>Efl Ui Navigation_Bar internal part back button class</summary>
[Efl.Ui.NavigationBarPartBackButton.NativeMethods]
+[Efl.Eo.BindingEntity]
public class NavigationBarPartBackButton : Efl.Ui.LayoutPart, Efl.IContent, Efl.IText, Efl.Gfx.IEntity
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="NavigationBarPartBackButton"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public NavigationBarPartBackButton(Efl.Object parent= null
- ) : base(efl_ui_navigation_bar_part_back_button_class_get(), typeof(NavigationBarPartBackButton), parent)
+ ) : base(efl_ui_navigation_bar_part_back_button_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected NavigationBarPartBackButton(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="NavigationBarPartBackButton"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected NavigationBarPartBackButton(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected NavigationBarPartBackButton(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="NavigationBarPartBackButton"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected NavigationBarPartBackButton(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected NavigationBarPartBackButton(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_ENTITY_EVENT_VISIBILITY_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_ENTITY_EVENT_POSITION_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_ENTITY_EVENT_SIZE_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// (Since EFL 1.22)</summary>
/// <returns>The sub-object.</returns>
virtual public Efl.Gfx.IEntity GetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="content">The sub-object.</param>
/// <returns><c>true</c> if <c>content</c> was successfully swallowed.</returns>
virtual public bool SetContent(Efl.Gfx.IEntity content) {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),content);
+ 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);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Unswallowed object</returns>
virtual public Efl.Gfx.IEntity UnsetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Text string to display on it.</returns>
virtual public System.String GetText() {
- var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="text">Text string to display on it.</param>
virtual public void SetText(System.String text) {
- Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),text);
+ Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),text);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Retrieves the position of the given canvas object.
/// (Since EFL 1.22)</summary>
/// <returns>A 2D coordinate in pixel units.</returns>
virtual public Eina.Position2D GetPosition() {
- var _ret_var = Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_position_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_position_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="pos">A 2D coordinate in pixel units.</param>
virtual public void SetPosition(Eina.Position2D pos) {
Eina.Position2D.NativeStruct _in_pos = pos;
- Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_position_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_pos);
+ Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_position_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_pos);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Retrieves the (rectangular) size of the given Evas object.
/// (Since EFL 1.22)</summary>
/// <returns>A 2D size in pixel units.</returns>
virtual public Eina.Size2D GetSize() {
- var _ret_var = Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="size">A 2D size in pixel units.</param>
virtual public void SetSize(Eina.Size2D size) {
Eina.Size2D.NativeStruct _in_size = size;
- Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_size_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_size);
+ Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_size_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_size);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Rectangular geometry that combines both position and size.
/// (Since EFL 1.22)</summary>
/// <returns>The X,Y position and W,H size, in pixels.</returns>
virtual public Eina.Rect GetGeometry() {
- var _ret_var = Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_geometry_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_geometry_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="rect">The X,Y position and W,H size, in pixels.</param>
virtual public void SetGeometry(Eina.Rect rect) {
Eina.Rect.NativeStruct _in_rect = rect;
- Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_geometry_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_rect);
+ Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_geometry_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_rect);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Retrieves whether or not the given canvas object is visible.
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if to make the object visible, <c>false</c> otherwise</returns>
virtual public bool GetVisible() {
- var _ret_var = Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_visible_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_visible_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="v"><c>true</c> if to make the object visible, <c>false</c> otherwise</param>
virtual public void SetVisible(bool v) {
- Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_visible_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),v);
+ Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_visible_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),v);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gets an object's scaling factor.
/// (Since EFL 1.22)</summary>
/// <returns>The scaling factor (the default value is 0.0, meaning individual scaling is not set)</returns>
virtual public double GetScale() {
- var _ret_var = Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_scale_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_scale_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="scale">The scaling factor (the default value is 0.0, meaning individual scaling is not set)</param>
virtual public void SetScale(double scale) {
- Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_scale_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),scale);
+ Efl.Gfx.IEntityConcrete.NativeMethods.efl_gfx_entity_scale_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),scale);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Sub-object currently set as this object's single content.
/// <summary>Navigation_Layout widget.
/// Navigation_Layout widget provides a layout form useful for navigation. Navigation_Layout widget is used to be pushed to or popped from Stack widget(Efl.Ui.Stack class) as a content.</summary>
[Efl.Ui.NavigationLayout.NativeMethods]
+[Efl.Eo.BindingEntity]
public class NavigationLayout : Efl.Ui.LayoutBase, Efl.IContent
{
///<summary>Pointer to the native class description.</summary>
efl_ui_navigation_layout_class_get();
/// <summary>Initializes a new instance of the <see cref="NavigationLayout"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public NavigationLayout(Efl.Object parent
- , System.String style = null) : base(efl_ui_navigation_layout_class_get(), typeof(NavigationLayout), parent)
+ , System.String style = null) : base(efl_ui_navigation_layout_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected NavigationLayout(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="NavigationLayout"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected NavigationLayout(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected NavigationLayout(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="NavigationLayout"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected NavigationLayout(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected NavigationLayout(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// <summary>The bar object which is located at the top area as a title. e.g. Navigation_Bar widget(Efl.Ui.Navigation_Bar) can be used as <c>bar</c>.</summary>
/// <returns>The bar object located at the top area of the Navigation Layout.</returns>
virtual public Efl.Ui.LayoutBase GetBar() {
- var _ret_var = Efl.Ui.NavigationLayout.NativeMethods.efl_ui_navigation_layout_bar_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.NavigationLayout.NativeMethods.efl_ui_navigation_layout_bar_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>The bar object which is located at the top area as a title. e.g. Navigation_Bar widget(Efl.Ui.Navigation_Bar) can be used as <c>bar</c>.</summary>
/// <param name="value">The bar object located at the top area of the Navigation Layout.</param>
virtual public void SetBar(Efl.Ui.LayoutBase value) {
- Efl.Ui.NavigationLayout.NativeMethods.efl_ui_navigation_layout_bar_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),value);
+ Efl.Ui.NavigationLayout.NativeMethods.efl_ui_navigation_layout_bar_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),value);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Sub-object currently set as this object's single content.
/// (Since EFL 1.22)</summary>
/// <returns>The sub-object.</returns>
virtual public Efl.Gfx.IEntity GetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="content">The sub-object.</param>
/// <returns><c>true</c> if <c>content</c> was successfully swallowed.</returns>
virtual public bool SetContent(Efl.Gfx.IEntity content) {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),content);
+ 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);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Unswallowed object</returns>
virtual public Efl.Gfx.IEntity UnsetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
+++ /dev/null
-#pragma warning disable CS1591
-using System;
-using System.Runtime.InteropServices;
-using System.Collections.Generic;
-using System.Linq;
-using System.Threading;
-using System.ComponentModel;
-namespace Efl {
-
-namespace Ui {
-
-/// <summary>Efl UI nstate class</summary>
-[Efl.Ui.Nstate.NativeMethods]
-public class Nstate : Efl.Ui.Button
-{
- ///<summary>Pointer to the native class description.</summary>
- public override System.IntPtr NativeClass
- {
- get
- {
- if (((object)this).GetType() == typeof(Nstate))
- {
- return GetEflClassStatic();
- }
- else
- {
- return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
- }
- }
- }
-
- [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
- efl_ui_nstate_class_get();
- /// <summary>Initializes a new instance of the <see cref="Nstate"/> class.</summary>
- /// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
- public Nstate(Efl.Object parent
- , System.String style = null) : base(efl_ui_nstate_class_get(), typeof(Nstate), parent)
- {
- if (Efl.Eo.Globals.ParamHelperCheck(style))
- {
- SetStyle(Efl.Eo.Globals.GetParamHelper(style));
- }
-
- FinishInstantiation();
- }
-
- /// <summary>Initializes a new instance of the <see cref="Nstate"/> class.
- /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Nstate(System.IntPtr raw) : base(raw)
- {
- }
-
- /// <summary>Initializes a new instance of the <see cref="Nstate"/> class.
- /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
- /// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
- /// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Nstate(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
- {
- }
-
- /// <summary>Called when the value changed.</summary>
- public event EventHandler ChangedEvt
- {
- add
- {
- lock (eventLock)
- {
- Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
- {
- var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
- if (obj != null)
- {
- EventArgs args = EventArgs.Empty;
- try
- {
- value?.Invoke(obj, args);
- }
- catch (Exception e)
- {
- Eina.Log.Error(e.ToString());
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
- }
- };
-
- string key = "_EFL_UI_NSTATE_EVENT_CHANGED";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eventLock)
- {
- string key = "_EFL_UI_NSTATE_EVENT_CHANGED";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ChangedEvt.</summary>
- public void OnChangedEvt(EventArgs e)
- {
- var key = "_EFL_UI_NSTATE_EVENT_CHANGED";
- IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
- if (desc == IntPtr.Zero)
- {
- Eina.Log.Error($"Failed to get native event {key}");
- return;
- }
-
- Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
- }
- /// <summary>Maximum number of states</summary>
- /// <returns>The number of states.</returns>
- virtual public int GetCount() {
- var _ret_var = Efl.Ui.Nstate.NativeMethods.efl_ui_nstate_count_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Maximum number of states</summary>
- /// <param name="nstate">The number of states.</param>
- virtual public void SetCount(int nstate) {
- Efl.Ui.Nstate.NativeMethods.efl_ui_nstate_count_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),nstate);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Get the state value.</summary>
- /// <returns>The state.</returns>
- virtual public int GetValue() {
- var _ret_var = Efl.Ui.Nstate.NativeMethods.efl_ui_nstate_value_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Set the particular state given in (0...nstate}.</summary>
- /// <param name="state">The state.</param>
- virtual public void SetValue(int state) {
- Efl.Ui.Nstate.NativeMethods.efl_ui_nstate_value_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),state);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Activate widget</summary>
- virtual protected void Activate() {
- Efl.Ui.Nstate.NativeMethods.efl_ui_nstate_activate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Maximum number of states</summary>
- /// <value>The number of states.</value>
- public int Count {
- get { return GetCount(); }
- set { SetCount(value); }
- }
- /// <summary>Get the state value.</summary>
- /// <value>The state.</value>
- public int Value {
- get { return GetValue(); }
- set { SetValue(value); }
- }
- private static IntPtr GetEflClassStatic()
- {
- return Efl.Ui.Nstate.efl_ui_nstate_class_get();
- }
- /// <summary>Wrapper for native methods and virtual method delegates.
- /// For internal use by generated code only.</summary>
- public new class NativeMethods : Efl.Ui.Button.NativeMethods
- {
- private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
- /// <summary>Gets the list of Eo operations to override.</summary>
- /// <returns>The list of Eo operations to be overload.</returns>
- public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
- {
- var descs = new System.Collections.Generic.List<Efl_Op_Description>();
- var methods = Efl.Eo.Globals.GetUserMethods(type);
-
- if (efl_ui_nstate_count_get_static_delegate == null)
- {
- efl_ui_nstate_count_get_static_delegate = new efl_ui_nstate_count_get_delegate(count_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetCount") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_nstate_count_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_nstate_count_get_static_delegate) });
- }
-
- if (efl_ui_nstate_count_set_static_delegate == null)
- {
- efl_ui_nstate_count_set_static_delegate = new efl_ui_nstate_count_set_delegate(count_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetCount") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_nstate_count_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_nstate_count_set_static_delegate) });
- }
-
- if (efl_ui_nstate_value_get_static_delegate == null)
- {
- efl_ui_nstate_value_get_static_delegate = new efl_ui_nstate_value_get_delegate(value_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetValue") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_nstate_value_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_nstate_value_get_static_delegate) });
- }
-
- if (efl_ui_nstate_value_set_static_delegate == null)
- {
- efl_ui_nstate_value_set_static_delegate = new efl_ui_nstate_value_set_delegate(value_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetValue") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_nstate_value_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_nstate_value_set_static_delegate) });
- }
-
- if (efl_ui_nstate_activate_static_delegate == null)
- {
- efl_ui_nstate_activate_static_delegate = new efl_ui_nstate_activate_delegate(activate);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "Activate") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_nstate_activate"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_nstate_activate_static_delegate) });
- }
-
- descs.AddRange(base.GetEoOps(type));
- return descs;
- }
- /// <summary>Returns the Eo class for the native methods of this class.</summary>
- /// <returns>The native class pointer.</returns>
- public override IntPtr GetEflClass()
- {
- return Efl.Ui.Nstate.efl_ui_nstate_class_get();
- }
-
- #pragma warning disable CA1707, CS1591, SA1300, SA1600
-
-
- private delegate int efl_ui_nstate_count_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate int efl_ui_nstate_count_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_nstate_count_get_api_delegate> efl_ui_nstate_count_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_nstate_count_get_api_delegate>(Module, "efl_ui_nstate_count_get");
-
- private static int count_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_nstate_count_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- int _ret_var = default(int);
- try
- {
- _ret_var = ((Nstate)ws.Target).GetCount();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_nstate_count_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_nstate_count_get_delegate efl_ui_nstate_count_get_static_delegate;
-
-
- private delegate void efl_ui_nstate_count_set_delegate(System.IntPtr obj, System.IntPtr pd, int nstate);
-
-
- public delegate void efl_ui_nstate_count_set_api_delegate(System.IntPtr obj, int nstate);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_nstate_count_set_api_delegate> efl_ui_nstate_count_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_nstate_count_set_api_delegate>(Module, "efl_ui_nstate_count_set");
-
- private static void count_set(System.IntPtr obj, System.IntPtr pd, int nstate)
- {
- Eina.Log.Debug("function efl_ui_nstate_count_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Nstate)ws.Target).SetCount(nstate);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_nstate_count_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), nstate);
- }
- }
-
- private static efl_ui_nstate_count_set_delegate efl_ui_nstate_count_set_static_delegate;
-
-
- private delegate int efl_ui_nstate_value_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate int efl_ui_nstate_value_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_nstate_value_get_api_delegate> efl_ui_nstate_value_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_nstate_value_get_api_delegate>(Module, "efl_ui_nstate_value_get");
-
- private static int value_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_nstate_value_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- int _ret_var = default(int);
- try
- {
- _ret_var = ((Nstate)ws.Target).GetValue();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_nstate_value_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_nstate_value_get_delegate efl_ui_nstate_value_get_static_delegate;
-
-
- private delegate void efl_ui_nstate_value_set_delegate(System.IntPtr obj, System.IntPtr pd, int state);
-
-
- public delegate void efl_ui_nstate_value_set_api_delegate(System.IntPtr obj, int state);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_nstate_value_set_api_delegate> efl_ui_nstate_value_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_nstate_value_set_api_delegate>(Module, "efl_ui_nstate_value_set");
-
- private static void value_set(System.IntPtr obj, System.IntPtr pd, int state)
- {
- Eina.Log.Debug("function efl_ui_nstate_value_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Nstate)ws.Target).SetValue(state);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_nstate_value_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), state);
- }
- }
-
- private static efl_ui_nstate_value_set_delegate efl_ui_nstate_value_set_static_delegate;
-
-
- private delegate void efl_ui_nstate_activate_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate void efl_ui_nstate_activate_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_nstate_activate_api_delegate> efl_ui_nstate_activate_ptr = new Efl.Eo.FunctionWrapper<efl_ui_nstate_activate_api_delegate>(Module, "efl_ui_nstate_activate");
-
- private static void activate(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_nstate_activate was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Nstate)ws.Target).Activate();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_nstate_activate_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_nstate_activate_delegate efl_ui_nstate_activate_static_delegate;
-
- #pragma warning restore CA1707, CS1591, SA1300, SA1600
-
-}
-}
-}
-
-}
-
/// <summary>Elementary pan class</summary>
[Efl.Ui.Pan.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Pan : Efl.Canvas.Group, Efl.IContent
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="Pan"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public Pan(Efl.Object parent= null
- ) : base(efl_ui_pan_class_get(), typeof(Pan), parent)
+ ) : base(efl_ui_pan_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Pan(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Pan"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Pan(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Pan(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Pan"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Pan(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Pan(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_PAN_EVENT_PAN_CONTENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_PAN_EVENT_PAN_VIEWPORT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_PAN_EVENT_PAN_POSITION_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
/// <summary>Position</summary>
virtual public Eina.Position2D GetPanPosition() {
- var _ret_var = Efl.Ui.Pan.NativeMethods.efl_ui_pan_position_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Pan.NativeMethods.efl_ui_pan_position_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Position</summary>
virtual public void SetPanPosition(Eina.Position2D position) {
Eina.Position2D.NativeStruct _in_position = position;
- Efl.Ui.Pan.NativeMethods.efl_ui_pan_position_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_position);
+ Efl.Ui.Pan.NativeMethods.efl_ui_pan_position_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_position);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Content size</summary>
virtual public Eina.Size2D GetContentSize() {
- var _ret_var = Efl.Ui.Pan.NativeMethods.efl_ui_pan_content_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Pan.NativeMethods.efl_ui_pan_content_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>The minimal position to scroll</summary>
virtual public Eina.Position2D GetPanPositionMin() {
- var _ret_var = Efl.Ui.Pan.NativeMethods.efl_ui_pan_position_min_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Pan.NativeMethods.efl_ui_pan_position_min_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>The maximal position to scroll</summary>
virtual public Eina.Position2D GetPanPositionMax() {
- var _ret_var = Efl.Ui.Pan.NativeMethods.efl_ui_pan_position_max_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Pan.NativeMethods.efl_ui_pan_position_max_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The sub-object.</returns>
virtual public Efl.Gfx.IEntity GetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="content">The sub-object.</param>
/// <returns><c>true</c> if <c>content</c> was successfully swallowed.</returns>
virtual public bool SetContent(Efl.Gfx.IEntity content) {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),content);
+ 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);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Unswallowed object</returns>
virtual public Efl.Gfx.IEntity UnsetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Elementary panel class</summary>
[Efl.Ui.Panel.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui.IWidgetFocusManager, Efl.Ui.Focus.ILayer, Efl.Ui.Focus.IManager, Efl.Ui.Focus.IManagerSub, Elm.IInterfaceScrollable
{
///<summary>Pointer to the native class description.</summary>
efl_ui_panel_class_get();
/// <summary>Initializes a new instance of the <see cref="Panel"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public Panel(Efl.Object parent
- , System.String style = null) : base(efl_ui_panel_class_get(), typeof(Panel), parent)
+ , System.String style = null) : base(efl_ui_panel_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Panel(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Panel"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Panel(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Panel(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Panel"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Panel(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Panel(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_PANEL_EVENT_TOGGLED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_START";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_STOP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_UP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_DOWN";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_LEFT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_RIGHT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_EDGE_UP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_EDGE_DOWN";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_EDGE_LEFT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_EDGE_RIGHT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_ANIM_START";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_DRAG_START";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_REDIRECT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_FLUSH_PRE";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_COORDS_DIRTY";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_MANAGER_FOCUS_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_DIRTY_LOGIC_FREEZE_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_ELM_INTERFACE_SCROLLABLE_EVENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// <summary>Gets the orientation of the panel.</summary>
/// <returns>The panel orientation.</returns>
virtual public Efl.Ui.PanelOrient GetOrient() {
- var _ret_var = Efl.Ui.Panel.NativeMethods.efl_ui_panel_orient_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Panel.NativeMethods.efl_ui_panel_orient_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Sets from where the panel will (dis)appear.</summary>
/// <param name="orient">The panel orientation.</param>
virtual public void SetOrient(Efl.Ui.PanelOrient orient) {
- Efl.Ui.Panel.NativeMethods.efl_ui_panel_orient_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),orient);
+ Efl.Ui.Panel.NativeMethods.efl_ui_panel_orient_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),orient);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gets the state of the panel.</summary>
/// <returns>If <c>true</c>, the panel will run the animation to disappear.</returns>
virtual public bool GetHidden() {
- var _ret_var = Efl.Ui.Panel.NativeMethods.efl_ui_panel_hidden_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Panel.NativeMethods.efl_ui_panel_hidden_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Sets the state of the panel.</summary>
/// <param name="hidden">If <c>true</c>, the panel will run the animation to disappear.</param>
virtual public void SetHidden(bool hidden) {
- Efl.Ui.Panel.NativeMethods.efl_ui_panel_hidden_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),hidden);
+ Efl.Ui.Panel.NativeMethods.efl_ui_panel_hidden_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),hidden);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gets the state of the scrollability.</summary>
/// <returns>The scrollable state.</returns>
virtual public bool GetScrollable() {
- var _ret_var = Efl.Ui.Panel.NativeMethods.efl_ui_panel_scrollable_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Panel.NativeMethods.efl_ui_panel_scrollable_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Sets the scrollability of the panel.</summary>
/// <param name="scrollable">The scrollable state.</param>
virtual public void SetScrollable(bool scrollable) {
- Efl.Ui.Panel.NativeMethods.efl_ui_panel_scrollable_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),scrollable);
+ Efl.Ui.Panel.NativeMethods.efl_ui_panel_scrollable_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),scrollable);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gets the size of the scrollable panel.</summary>
/// <returns>Size ratio</returns>
virtual public double GetScrollableContentSize() {
- var _ret_var = Efl.Ui.Panel.NativeMethods.efl_ui_panel_scrollable_content_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Panel.NativeMethods.efl_ui_panel_scrollable_content_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Sets the size of the scrollable panel.</summary>
/// <param name="ratio">Size ratio</param>
virtual public void SetScrollableContentSize(double ratio) {
- Efl.Ui.Panel.NativeMethods.efl_ui_panel_scrollable_content_size_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),ratio);
+ Efl.Ui.Panel.NativeMethods.efl_ui_panel_scrollable_content_size_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),ratio);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Toggle the hidden state of the panel from code</summary>
virtual public void Toggle() {
- Efl.Ui.Panel.NativeMethods.efl_ui_panel_toggle_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Panel.NativeMethods.efl_ui_panel_toggle_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Sub-object currently set as this object's single content.
/// (Since EFL 1.22)</summary>
/// <returns>The sub-object.</returns>
virtual public Efl.Gfx.IEntity GetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="content">The sub-object.</param>
/// <returns><c>true</c> if <c>content</c> was successfully swallowed.</returns>
virtual public bool SetContent(Efl.Gfx.IEntity content) {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),content);
+ 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);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Unswallowed object</returns>
virtual public Efl.Gfx.IEntity UnsetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="root">The logical root object for focus.</param>
/// <returns>The focus manager.</returns>
virtual public Efl.Ui.Focus.IManager FocusManagerCreate(Efl.Ui.Focus.IObject root) {
- var _ret_var = Efl.Ui.IWidgetFocusManagerConcrete.NativeMethods.efl_ui_widget_focus_manager_create_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),root);
+ var _ret_var = Efl.Ui.IWidgetFocusManagerConcrete.NativeMethods.efl_ui_widget_focus_manager_create_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),root);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Enable property</summary>
/// <returns><c>true</c> to set enable the layer <c>false</c> to disable it</returns>
virtual public bool GetEnable() {
- var _ret_var = Efl.Ui.Focus.ILayerConcrete.NativeMethods.efl_ui_focus_layer_enable_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.ILayerConcrete.NativeMethods.efl_ui_focus_layer_enable_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Enable property</summary>
/// <param name="v"><c>true</c> to set enable the layer <c>false</c> to disable it</param>
virtual public void SetEnable(bool v) {
- Efl.Ui.Focus.ILayerConcrete.NativeMethods.efl_ui_focus_layer_enable_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),v);
+ Efl.Ui.Focus.ILayerConcrete.NativeMethods.efl_ui_focus_layer_enable_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),v);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Constructor for setting the behaviour of the layer</summary>
/// <param name="enable_on_visible"><c>true</c> means layer will set itself once the inheriting widget becomes visible, <c>false</c> means the layer isn't enabled automatically</param>
/// <param name="cycle">If <c>true</c> the focus will cycle in the layer, if <c>false</c></param>
virtual public void GetBehaviour(out bool enable_on_visible, out bool cycle) {
- Efl.Ui.Focus.ILayerConcrete.NativeMethods.efl_ui_focus_layer_behaviour_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out enable_on_visible, out cycle);
+ Efl.Ui.Focus.ILayerConcrete.NativeMethods.efl_ui_focus_layer_behaviour_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out enable_on_visible, out cycle);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Constructor for setting the behaviour of the layer</summary>
/// <param name="enable_on_visible"><c>true</c> means layer will set itself once the inheriting widget becomes visible, <c>false</c> means the layer isn't enabled automatically</param>
/// <param name="cycle">If <c>true</c> the focus will cycle in the layer, if <c>false</c></param>
virtual public void SetBehaviour(bool enable_on_visible, bool cycle) {
- Efl.Ui.Focus.ILayerConcrete.NativeMethods.efl_ui_focus_layer_behaviour_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),enable_on_visible, cycle);
+ Efl.Ui.Focus.ILayerConcrete.NativeMethods.efl_ui_focus_layer_behaviour_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),enable_on_visible, cycle);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The element which is currently focused by this manager
/// (Since EFL 1.22)</summary>
/// <returns>Currently focused element.</returns>
virtual public Efl.Ui.Focus.IObject GetManagerFocus() {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_focus_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_focus_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="focus">Currently focused element.</param>
virtual public void SetManagerFocus(Efl.Ui.Focus.IObject focus) {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_focus_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),focus);
+ Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_focus_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),focus);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Add another manager to serve the move requests.
/// (Since EFL 1.22)</summary>
/// <returns>The redirect manager.</returns>
virtual public Efl.Ui.Focus.IManager GetRedirect() {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_redirect_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_redirect_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="redirect">The redirect manager.</param>
virtual public void SetRedirect(Efl.Ui.Focus.IManager redirect) {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_redirect_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),redirect);
+ Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_redirect_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),redirect);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The list of elements which are at the border of the graph.
/// (Since EFL 1.22)</summary>
/// <returns>An iterator over the border objects.</returns>
virtual public Eina.Iterator<Efl.Ui.Focus.IObject> GetBorderElements() {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_border_elements_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_border_elements_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false, false);
+ return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false);
}
/// <summary>Get all elements that are at the border of the viewport
/// Every element returned by this is located inside the viewport rectangle, but has a right, left, down or up neighbor outside the viewport.
/// <returns>The list of border objects.</returns>
virtual public Eina.Iterator<Efl.Ui.Focus.IObject> GetViewportElements(Eina.Rect viewport) {
Eina.Rect.NativeStruct _in_viewport = viewport;
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_viewport_elements_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_viewport);
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_viewport_elements_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_viewport);
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false, false);
+ return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false);
}
/// <summary>Root node for all logical subtrees.
/// This property can only be set once.
/// (Since EFL 1.22)</summary>
/// <returns>Will be registered into this manager object.</returns>
virtual public Efl.Ui.Focus.IObject GetRoot() {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_root_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_root_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="root">Will be registered into this manager object.</param>
/// <returns>If <c>true</c>, this is the root node</returns>
virtual public bool SetRoot(Efl.Ui.Focus.IObject root) {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_root_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),root);
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_root_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),root);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="direction">The direction to move to.</param>
/// <returns>The element which is now focused.</returns>
virtual public Efl.Ui.Focus.IObject Move(Efl.Ui.Focus.Direction direction) {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_move_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),direction);
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_move_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),direction);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="logical">Wether you want to have a logical node as result or a non-logical. Note, in a <see cref="Efl.Ui.Focus.IManager.Move"/> call no logical node will get focus.</param>
/// <returns>Object that would receive focus if moved in the given direction.</returns>
virtual public Efl.Ui.Focus.IObject MoveRequest(Efl.Ui.Focus.Direction direction, Efl.Ui.Focus.IObject child, bool logical) {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_request_move_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),direction, child, logical);
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_request_move_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),direction, child, logical);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="root">Parent for returned child.</param>
/// <returns>Child of passed parameter.</returns>
virtual public Efl.Ui.Focus.IObject RequestSubchild(Efl.Ui.Focus.IObject root) {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_request_subchild_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),root);
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_request_subchild_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),root);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="child">The child object to inspect.</param>
/// <returns>The list of relations starting from <c>child</c>.</returns>
virtual public Efl.Ui.Focus.Relations Fetch(Efl.Ui.Focus.IObject child) {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_fetch_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),child);
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_fetch_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),child);
Eina.Error.RaiseIfUnhandledException();
var __ret_tmp = Eina.PrimitiveConversion.PointerToManaged<Efl.Ui.Focus.Relations>(_ret_var);
Marshal.FreeHGlobal(_ret_var);
/// (Since EFL 1.22)</summary>
/// <returns>Last object.</returns>
virtual public Efl.Ui.Focus.ManagerLogicalEndDetail LogicalEnd() {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_logical_end_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_logical_end_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// You should focus another element immediately after calling this, in order to always have a focused object.
/// (Since EFL 1.22)</summary>
virtual public void ResetHistory() {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_reset_history_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_reset_history_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Remove the uppermost history element, and focus the previous one.
/// If there is an element that was focused before, it will be used. Otherwise, the best fitting element from the registered elements will be focused.
/// (Since EFL 1.22)</summary>
virtual public void PopHistoryStack() {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_pop_history_stack_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_pop_history_stack_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Called when this manager is set as redirect.
/// <param name="direction">The direction in which this should be setup.</param>
/// <param name="entry">The object that caused this manager to be redirect.</param>
virtual public void SetupOnFirstTouch(Efl.Ui.Focus.Direction direction, Efl.Ui.Focus.IObject entry) {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_setup_on_first_touch_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),direction, entry);
+ Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_setup_on_first_touch_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),direction, entry);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This disables the cache invalidation when an object is moved.
/// Even if an object is moved, the focus manager will not recalculate its relations. This can be used when you know that the set of widgets in the focus manager is moved the same way, so the relations between the widets in the set do not change and the complex calculations can be avoided. Use <see cref="Efl.Ui.Focus.IManager.DirtyLogicUnfreeze"/> to re-enable relationship calculation.
/// (Since EFL 1.22)</summary>
virtual public void FreezeDirtyLogic() {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_dirty_logic_freeze_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_dirty_logic_freeze_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This enables the cache invalidation when an object is moved.
/// This is the counterpart to <see cref="Efl.Ui.Focus.IManager.FreezeDirtyLogic"/>.
/// (Since EFL 1.22)</summary>
virtual public void DirtyLogicUnfreeze() {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_dirty_logic_unfreeze_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_dirty_logic_unfreeze_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control scrolling gravity on the scrollable
/// <param name="x">Horizontal scrolling gravity</param>
/// <param name="y">Vertical scrolling gravity</param>
virtual public void GetGravity(out double x, out double y) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_gravity_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out x, out y);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_gravity_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out x, out y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control scrolling gravity on the scrollable
/// <param name="x">Horizontal scrolling gravity</param>
/// <param name="y">Vertical scrolling gravity</param>
virtual public void SetGravity(double x, double y) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_gravity_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),x, y);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_gravity_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Bouncing behavior
/// <param name="horiz">Horizontal bounce policy.</param>
/// <param name="vert">Vertical bounce policy.</param>
virtual public void GetBounceAllow(out bool horiz, out bool vert) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_bounce_allow_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out horiz, out vert);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_bounce_allow_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out horiz, out vert);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Bouncing behavior
/// <param name="horiz">Horizontal bounce policy.</param>
/// <param name="vert">Vertical bounce policy.</param>
virtual public void SetBounceAllow(bool horiz, bool vert) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_bounce_allow_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),horiz, vert);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_bounce_allow_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),horiz, vert);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control Wheel disable Enable or disable mouse wheel to be used to scroll the scroller content. heel is enabled by default.</summary>
/// <returns><c>true</c> if wheel is disabled, <c>false</c> otherwise</returns>
virtual public bool GetWheelDisabled() {
- var _ret_var = Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_wheel_disabled_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_wheel_disabled_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Control Wheel disable Enable or disable mouse wheel to be used to scroll the scroller content. heel is enabled by default.</summary>
/// <param name="disabled"><c>true</c> if wheel is disabled, <c>false</c> otherwise</param>
virtual public void SetWheelDisabled(bool disabled) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_wheel_disabled_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),disabled);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_wheel_disabled_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),disabled);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Blocking of scrolling (per axis)
/// What makes this function different from freeze_push(), hold_push() and lock_x_set() (or lock_y_set()) is that it doesn't propagate its effects to any parent or child widget of <c>obj</c>. Only the target scrollable widget will be locked with regard to scrolling.</summary>
/// <returns>Which axis (or axes) to block</returns>
virtual public Efl.Ui.ScrollBlock GetMovementBlock() {
- var _ret_var = Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_movement_block_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_movement_block_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// What makes this function different from freeze_push(), hold_push() and lock_x_set() (or lock_y_set()) is that it doesn't propagate its effects to any parent or child widget of <c>obj</c>. Only the target scrollable widget will be locked with regard to scrolling.</summary>
/// <param name="block">Which axis (or axes) to block</param>
virtual public void SetMovementBlock(Efl.Ui.ScrollBlock block) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_movement_block_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),block);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_movement_block_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),block);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Momentum animator</summary>
/// <returns><c>true</c> if disabled, <c>false</c> otherwise</returns>
virtual public bool GetMomentumAnimatorDisabled() {
- var _ret_var = Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_momentum_animator_disabled_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_momentum_animator_disabled_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Momentum animator</summary>
/// <param name="disabled"><c>true</c> if disabled, <c>false</c> otherwise</param>
virtual public void SetMomentumAnimatorDisabled(bool disabled) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_momentum_animator_disabled_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),disabled);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_momentum_animator_disabled_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),disabled);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Scrollbar visibility policy
/// <param name="hbar">Horizontal scrollbar policy</param>
/// <param name="vbar">Vertical scrollbar policy</param>
virtual public void GetPolicy(out Elm.Scroller.Policy hbar, out Elm.Scroller.Policy vbar) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_policy_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out hbar, out vbar);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_policy_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out hbar, out vbar);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Scrollbar visibility policy
/// <param name="hbar">Horizontal scrollbar policy</param>
/// <param name="vbar">Vertical scrollbar policy</param>
virtual public void SetPolicy(Elm.Scroller.Policy hbar, Elm.Scroller.Policy vbar) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_policy_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),hbar, vbar);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_policy_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),hbar, vbar);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Currently visible content region
/// <param name="w">Width of the region</param>
/// <param name="h">Height of the region</param>
virtual public void GetContentRegion(out int x, out int y, out int w, out int h) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_region_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out x, out y, out w, out h);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_region_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out x, out y, out w, out h);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Currently visible content region
/// <param name="w">Width of the region</param>
/// <param name="h">Height of the region</param>
virtual public void SetContentRegion(int x, int y, int w, int h) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_region_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),x, y, w, h);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_region_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y, w, h);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>It decides whether the scrollable object propagates the events to content object or not.</summary>
/// <returns><c>true</c> if events are propagated, <c>false</c> otherwise</returns>
virtual public bool GetContentEvents() {
- var _ret_var = Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_events_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_events_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>It decides whether the scrollable object propagates the events to content object or not.</summary>
/// <param name="repeat_events"><c>true</c> if events are propagated, <c>false</c> otherwise</param>
virtual public void SetContentEvents(bool repeat_events) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_events_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),repeat_events);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_events_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),repeat_events);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Scroll page size relative to viewport size.
/// <param name="x">The horizontal page relative size</param>
/// <param name="y">The vertical page relative size</param>
virtual public void GetPageSize(out int x, out int y) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_page_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out x, out y);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_page_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out x, out y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Scroll page size relative to viewport size.
/// <param name="x">The horizontal page relative size</param>
/// <param name="y">The vertical page relative size</param>
virtual public void SetPageSize(int x, int y) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_page_size_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),x, y);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_page_size_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Bounce animator</summary>
/// <returns><c>true</c> if bounce animation is disabled, <c>false</c> otherwise</returns>
virtual public bool GetBounceAnimatorDisabled() {
- var _ret_var = Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_bounce_animator_disabled_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_bounce_animator_disabled_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Bounce animator</summary>
/// <param name="disabled"><c>true</c> if bounce animation is disabled, <c>false</c> otherwise</param>
virtual public void SetBounceAnimatorDisabled(bool disabled) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_bounce_animator_disabled_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),disabled);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_bounce_animator_disabled_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),disabled);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Page scroll limit</summary>
/// <param name="page_limit_h">Page limit horizontal</param>
/// <param name="page_limit_v">Page limit vertical</param>
virtual public void GetPageScrollLimit(out int page_limit_h, out int page_limit_v) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_page_scroll_limit_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out page_limit_h, out page_limit_v);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_page_scroll_limit_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out page_limit_h, out page_limit_v);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Page scroll limit</summary>
/// <param name="page_limit_h">Page limit horizontal</param>
/// <param name="page_limit_v">Page limit vertical</param>
virtual public void SetPageScrollLimit(int page_limit_h, int page_limit_v) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_page_scroll_limit_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),page_limit_h, page_limit_v);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_page_scroll_limit_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),page_limit_h, page_limit_v);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Page snapping behavior
/// <param name="horiz">Allow snap horizontally</param>
/// <param name="vert">Allow snap vertically</param>
virtual public void GetPageSnapAllow(out bool horiz, out bool vert) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_page_snap_allow_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out horiz, out vert);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_page_snap_allow_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out horiz, out vert);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Page snapping behavior
/// <param name="horiz">Allow snap horizontally</param>
/// <param name="vert">Allow snap vertically</param>
virtual public void SetPageSnapAllow(bool horiz, bool vert) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_page_snap_allow_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),horiz, vert);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_page_snap_allow_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),horiz, vert);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Pagin property</summary>
/// <param name="pagesize_h">Page size horizontal</param>
/// <param name="pagesize_v">Page size vertical</param>
virtual public void GetPaging(out double pagerel_h, out double pagerel_v, out int pagesize_h, out int pagesize_v) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_paging_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out pagerel_h, out pagerel_v, out pagesize_h, out pagesize_v);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_paging_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out pagerel_h, out pagerel_v, out pagesize_h, out pagesize_v);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Pagin property</summary>
/// <param name="pagesize_h">Page size horizontal</param>
/// <param name="pagesize_v">Page size vertical</param>
virtual public void SetPaging(double pagerel_h, double pagerel_v, int pagesize_h, int pagesize_v) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_paging_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),pagerel_h, pagerel_v, pagesize_h, pagesize_v);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_paging_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),pagerel_h, pagerel_v, pagesize_h, pagesize_v);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Single direction scroll configuration
/// The hard behavior restricts the scrolling to a single direction all of the time while the soft one will restrict depending on factors such as the movement angle. If the user scrolls roughly in one direction only, it will only move according to it while if the move was clearly wanted on both axes, it will happen on both of them.</summary>
/// <returns>The single direction scroll policy</returns>
virtual public Elm.Scroller.SingleDirection GetSingleDirection() {
- var _ret_var = Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_single_direction_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_single_direction_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// The hard behavior restricts the scrolling to a single direction all of the time while the soft one will restrict depending on factors such as the movement angle. If the user scrolls roughly in one direction only, it will only move according to it while if the move was clearly wanted on both axes, it will happen on both of them.</summary>
/// <param name="single_dir">The single direction scroll policy</param>
virtual public void SetSingleDirection(Elm.Scroller.SingleDirection single_dir) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_single_direction_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),single_dir);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_single_direction_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),single_dir);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Step size</summary>
/// <param name="x">X coordinate</param>
/// <param name="y">Y coordinate</param>
virtual public void GetStepSize(out int x, out int y) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_step_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out x, out y);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_step_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out x, out y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Step size</summary>
/// <param name="x">X coordinate</param>
/// <param name="y">Y coordinate</param>
virtual public void SetStepSize(int x, int y) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_step_size_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),x, y);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_step_size_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Controls an infinite loop for a scroller.</summary>
/// <param name="loop_h">The scrolling horizontal loop</param>
/// <param name="loop_v">The scrolling vertical loop</param>
virtual public void GetContentLoop(out bool loop_h, out bool loop_v) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_loop_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out loop_h, out loop_v);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_loop_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out loop_h, out loop_v);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Controls an infinite loop for a scroller.</summary>
/// <param name="loop_h">The scrolling horizontal loop</param>
/// <param name="loop_v">The scrolling vertical loop</param>
virtual public void SetContentLoop(bool loop_h, bool loop_v) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_loop_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),loop_h, loop_v);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_loop_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),loop_h, loop_v);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the callback to run when the content has been moved up.</summary>
/// <param name="scroll_up_cb">The callback</param>
virtual public void SetScrollUpCb(ElmInterfaceScrollableCb scroll_up_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_scroll_up_cb_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),scroll_up_cb);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_scroll_up_cb_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),scroll_up_cb);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the callback to run when the horizontal scrollbar is dragged.</summary>
/// <param name="hbar_drag_cb">The callback</param>
virtual public void SetHbarDragCb(ElmInterfaceScrollableCb hbar_drag_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_hbar_drag_cb_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),hbar_drag_cb);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_hbar_drag_cb_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),hbar_drag_cb);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the callback to run when dragging of the contents has started.</summary>
/// <param name="drag_start_cb">The callback</param>
virtual public void SetDragStartCb(ElmInterfaceScrollableCb drag_start_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_drag_start_cb_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),drag_start_cb);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_drag_start_cb_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),drag_start_cb);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the callback to run when scrolling of the contents has started.</summary>
/// <param name="scroll_start_cb">The callback</param>
virtual public void SetScrollStartCb(ElmInterfaceScrollableCb scroll_start_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_scroll_start_cb_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),scroll_start_cb);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_scroll_start_cb_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),scroll_start_cb);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Freeze property</summary>
/// <param name="freeze"><c>true</c> if freeze, <c>false</c> otherwise</param>
virtual public void SetFreeze(bool freeze) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_freeze_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),freeze);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_freeze_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),freeze);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>When the viewport is resized, the callback is called.</summary>
/// <param name="viewport_resize_cb">The callback</param>
virtual public void SetContentViewportResizeCb(ElmInterfaceScrollableResizeCb viewport_resize_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_viewport_resize_cb_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),viewport_resize_cb);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_viewport_resize_cb_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),viewport_resize_cb);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the callback to run when the content has been moved to the left</summary>
/// <param name="scroll_left_cb">The callback</param>
virtual public void SetScrollLeftCb(ElmInterfaceScrollableCb scroll_left_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_scroll_left_cb_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),scroll_left_cb);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_scroll_left_cb_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),scroll_left_cb);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the callback to run when the vertical scrollbar is pressed.</summary>
/// <param name="vbar_press_cb">The callback</param>
virtual public void SetVbarPressCb(ElmInterfaceScrollableCb vbar_press_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_vbar_press_cb_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),vbar_press_cb);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_vbar_press_cb_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),vbar_press_cb);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the callback to run when the horizontal scrollbar is pressed.</summary>
/// <param name="hbar_press_cb">The callback</param>
virtual public void SetHbarPressCb(ElmInterfaceScrollableCb hbar_press_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_hbar_press_cb_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),hbar_press_cb);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_hbar_press_cb_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),hbar_press_cb);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the callback to run when the horizontal scrollbar is unpressed.</summary>
/// <param name="hbar_unpress_cb">The callback</param>
virtual public void SetHbarUnpressCb(ElmInterfaceScrollableCb hbar_unpress_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_hbar_unpress_cb_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),hbar_unpress_cb);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_hbar_unpress_cb_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),hbar_unpress_cb);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the callback to run when dragging of the contents has stopped.</summary>
/// <param name="drag_stop_cb">The callback</param>
virtual public void SetDragStopCb(ElmInterfaceScrollableCb drag_stop_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_drag_stop_cb_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),drag_stop_cb);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_drag_stop_cb_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),drag_stop_cb);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the callback to run when scrolling of the contents has stopped.</summary>
/// <param name="scroll_stop_cb">The callback</param>
virtual public void SetScrollStopCb(ElmInterfaceScrollableCb scroll_stop_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_scroll_stop_cb_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),scroll_stop_cb);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_scroll_stop_cb_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),scroll_stop_cb);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Extern pan</summary>
/// <param name="pan">Pan object</param>
virtual public void SetExternPan(Efl.Canvas.Object pan) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_extern_pan_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),pan);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_extern_pan_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),pan);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the callback to run when the visible page changes.</summary>
/// <param name="page_change_cb">The callback</param>
virtual public void SetPageChangeCb(ElmInterfaceScrollableCb page_change_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_page_change_cb_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),page_change_cb);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_page_change_cb_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),page_change_cb);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Hold property</summary>
/// <param name="hold"><c>true</c> if hold, <c>false</c> otherwise</param>
virtual public void SetHold(bool hold) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_hold_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),hold);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_hold_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),hold);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the callback to run when the scrolling animation has started.</summary>
/// <param name="animate_start_cb">The callback</param>
virtual public void SetAnimateStartCb(ElmInterfaceScrollableCb animate_start_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_animate_start_cb_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),animate_start_cb);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_animate_start_cb_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),animate_start_cb);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the callback to run when the content has been moved down.</summary>
/// <param name="scroll_down_cb">The callback</param>
virtual public void SetScrollDownCb(ElmInterfaceScrollableCb scroll_down_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_scroll_down_cb_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),scroll_down_cb);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_scroll_down_cb_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),scroll_down_cb);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set scroll page size relative to viewport size.</summary>
/// <param name="h_pagerel">Page relation horizontal</param>
/// <param name="v_pagerel">Page relation vertical</param>
virtual public void SetPageRelative(double h_pagerel, double v_pagerel) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_page_relative_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),h_pagerel, v_pagerel);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_page_relative_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),h_pagerel, v_pagerel);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the callback to run when the content has been moved.</summary>
/// <param name="scroll_cb">The callback</param>
virtual public void SetScrollCb(ElmInterfaceScrollableCb scroll_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_scroll_cb_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),scroll_cb);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_scroll_cb_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),scroll_cb);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the callback to run when the scrolling animation has stopped.</summary>
/// <param name="animate_stop_cb">The callback</param>
virtual public void SetAnimateStopCb(ElmInterfaceScrollableCb animate_stop_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_animate_stop_cb_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),animate_stop_cb);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_animate_stop_cb_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),animate_stop_cb);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>set the callback to run on minimal limit content</summary>
/// <param name="min_limit_cb">The callback</param>
virtual public void SetContentMinLimitCb(ElmInterfaceScrollableMinLimitCb min_limit_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_min_limit_cb_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),min_limit_cb);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_min_limit_cb_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),min_limit_cb);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the callback to run when the content has been moved to the right.</summary>
/// <param name="scroll_right_cb">The callback</param>
virtual public void SetScrollRightCb(ElmInterfaceScrollableCb scroll_right_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_scroll_right_cb_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),scroll_right_cb);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_scroll_right_cb_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),scroll_right_cb);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Content property</summary>
/// <param name="content">Content object</param>
virtual public void SetScrollableContent(Efl.Canvas.Object content) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),content);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),content);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the callback to run when the left edge of the content has been reached.</summary>
/// <param name="edge_left_cb">The callback</param>
virtual public void SetEdgeLeftCb(ElmInterfaceScrollableCb edge_left_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_edge_left_cb_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),edge_left_cb);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_edge_left_cb_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),edge_left_cb);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the callback to run when the horizontal scrollbar is dragged.</summary>
/// <param name="vbar_drag_cb">The callback</param>
virtual public void SetVbarDragCb(ElmInterfaceScrollableCb vbar_drag_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_vbar_drag_cb_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),vbar_drag_cb);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_vbar_drag_cb_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),vbar_drag_cb);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the callback to run when the horizontal scrollbar is unpressed.</summary>
/// <param name="vbar_unpress_cb">The callback</param>
virtual public void SetVbarUnpressCb(ElmInterfaceScrollableCb vbar_unpress_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_vbar_unpress_cb_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),vbar_unpress_cb);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_vbar_unpress_cb_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),vbar_unpress_cb);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the callback to run when the bottom edge of the content has been reached.</summary>
/// <param name="edge_bottom_cb">The callback</param>
virtual public void SetEdgeBottomCb(ElmInterfaceScrollableCb edge_bottom_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_edge_bottom_cb_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),edge_bottom_cb);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_edge_bottom_cb_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),edge_bottom_cb);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the callback to run when the right edge of the content has been reached.</summary>
/// <param name="edge_right_cb">The callback</param>
virtual public void SetEdgeRightCb(ElmInterfaceScrollableCb edge_right_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_edge_right_cb_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),edge_right_cb);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_edge_right_cb_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),edge_right_cb);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the callback to run when the top edge of the content has been reached.</summary>
/// <param name="edge_top_cb">The callback</param>
virtual public void SetEdgeTopCb(ElmInterfaceScrollableCb edge_top_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_edge_top_cb_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),edge_top_cb);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_edge_top_cb_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),edge_top_cb);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Object property</summary>
/// <param name="edje_object">Edje object</param>
/// <param name="hit_rectangle">Evas object</param>
virtual public void SetObjects(Efl.Canvas.Object edje_object, Efl.Canvas.Object hit_rectangle) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_objects_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),edje_object, hit_rectangle);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_objects_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),edje_object, hit_rectangle);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get scroll last page number.
/// <param name="pagenumber_h">The horizontal page number</param>
/// <param name="pagenumber_v">The vertical page number</param>
virtual public void GetLastPage(out int pagenumber_h, out int pagenumber_v) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_last_page_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out pagenumber_h, out pagenumber_v);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_last_page_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out pagenumber_h, out pagenumber_v);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get scroll current page number.
/// <param name="pagenumber_h">The horizontal page number</param>
/// <param name="pagenumber_v">The vertical page number</param>
virtual public void GetCurrentPage(out int pagenumber_h, out int pagenumber_v) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_current_page_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out pagenumber_h, out pagenumber_v);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_current_page_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out pagenumber_h, out pagenumber_v);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Content viewport geometry</summary>
/// <param name="w">Width</param>
/// <param name="h">Height</param>
virtual public void GetContentViewportGeometry(out int x, out int y, out int w, out int h) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_viewport_geometry_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out x, out y, out w, out h);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_viewport_geometry_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out x, out y, out w, out h);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the size of the content object
/// <param name="w">Width of the content object.</param>
/// <param name="h">Height of the content object.</param>
virtual public void GetContentSize(out int w, out int h) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out w, out h);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out w, out h);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Whether scrolling should loop around.</summary>
/// <returns>True to enable looping.</returns>
virtual public bool GetItemLoopEnabled() {
- var _ret_var = Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_item_loop_enabled_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_item_loop_enabled_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Whether scrolling should loop around.</summary>
/// <param name="enable">True to enable looping.</param>
virtual public void SetItemLoopEnabled(bool enable) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_item_loop_enabled_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),enable);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_item_loop_enabled_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),enable);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the content position</summary>
/// <param name="y">Y coordinate</param>
/// <param name="sig">Send signals to the theme corresponding to the scroll direction, or if an edge was reached.</param>
virtual public void SetContentPos(int x, int y, bool sig) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_pos_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),x, y, sig);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_pos_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y, sig);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get content position</summary>
/// <param name="x">X coordinate</param>
/// <param name="y">Y coordinate</param>
virtual public void GetContentPos(out int x, out int y) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_pos_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out x, out y);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_pos_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out x, out y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Show a specific virtual region within the scroller content object by page number.
/// <param name="pagenumber_h">The horizontal page number</param>
/// <param name="pagenumber_v">The vertical page number</param>
virtual public void ShowPage(int pagenumber_h, int pagenumber_v) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_page_show_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),pagenumber_h, pagenumber_v);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_page_show_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),pagenumber_h, pagenumber_v);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Show a specific virtual region within the scroller content object.
/// <param name="w">Width of the region</param>
/// <param name="h">Height of the region</param>
virtual public void RegionBringIn(int x, int y, int w, int h) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_region_bring_in_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),x, y, w, h);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_region_bring_in_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y, w, h);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Show a specific virtual region within the scroller content object by page number.
/// <param name="pagenumber_h">The horizontal page number</param>
/// <param name="pagenumber_v">The vertical page number</param>
virtual public void PageBringIn(int pagenumber_h, int pagenumber_v) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_page_bring_in_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),pagenumber_h, pagenumber_v);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_page_bring_in_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),pagenumber_h, pagenumber_v);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Show a specific virtual region within the scroller content object
/// <param name="w">Width of the region</param>
/// <param name="h">Height of the region</param>
virtual public void ShowContentRegion(int x, int y, int w, int h) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_region_show_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),x, y, w, h);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_region_show_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y, w, h);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Prevent the scrollable from being smaller than the minimum size of the content.
/// <param name="w">Whether to limit the minimum horizontal size</param>
/// <param name="h">Whether to limit the minimum vertical size</param>
virtual public void ContentMinLimit(bool w, bool h) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_min_limit_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),w, h);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_min_limit_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),w, h);
Eina.Error.RaiseIfUnhandledException();
}
virtual public void SetWantedRegion(int x, int y) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_wanted_region_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),x, y);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_wanted_region_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y);
Eina.Error.RaiseIfUnhandledException();
}
virtual public void CustomPanPosAdjust(int x, int y) {
var _in_x = Eina.PrimitiveConversion.ManagedToPointerAlloc(x);
var _in_y = Eina.PrimitiveConversion.ManagedToPointerAlloc(y);
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_custom_pan_pos_adjust_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_x, _in_y);
+ Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_custom_pan_pos_adjust_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_x, _in_y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gets the orientation of the panel.</summary>
namespace Ui {
/// <summary>Panel orientation mode</summary>
+[Efl.Eo.BindingEntity]
public enum PanelOrient
{
/// <summary>Panel (dis)appears from the top</summary>
/// <summary>Panel scroll information</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct PanelScrollInfo
{
/// <summary>content scrolled position (0.0 ~ 1.0) in the panel</summary>
/// <summary>Elementary panes class</summary>
[Efl.Ui.Panes.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Panes : Efl.Ui.LayoutBase, Efl.Ui.IClickable, Efl.Ui.ILayoutOrientable
{
///<summary>Pointer to the native class description.</summary>
efl_ui_panes_class_get();
/// <summary>Initializes a new instance of the <see cref="Panes"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public Panes(Efl.Object parent
- , System.String style = null) : base(efl_ui_panes_class_get(), typeof(Panes), parent)
+ , System.String style = null) : base(efl_ui_panes_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Panes(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Panes"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Panes(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Panes(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Panes"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Panes(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Panes(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_ELM_PANES_EVENT_PRESS";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_ELM_PANES_EVENT_UNPRESS";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_CLICKED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_CLICKED_ANY";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_PRESSED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_UNPRESSED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_LONGPRESSED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// Note: This ratio will change when user drags the panes bar.</summary>
/// <returns>Value between 0.0 and 1.0 representing split ratio between panes first and second parts.</returns>
virtual public double GetSplitRatio() {
- var _ret_var = Efl.Ui.Panes.NativeMethods.efl_ui_panes_split_ratio_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Panes.NativeMethods.efl_ui_panes_split_ratio_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Note: This ratio will change when user drags the panes bar.</summary>
/// <param name="ratio">Value between 0.0 and 1.0 representing split ratio between panes first and second parts.</param>
virtual public void SetSplitRatio(double ratio) {
- Efl.Ui.Panes.NativeMethods.efl_ui_panes_split_ratio_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),ratio);
+ Efl.Ui.Panes.NativeMethods.efl_ui_panes_split_ratio_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),ratio);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set whether the left and right panes can be resized by user interaction.
/// By default panes' contents are resizable by user interaction.</summary>
/// <returns>Use <c>true</c> to fix the left and right panes sizes and make them not to be resized by user interaction. Use <c>false</c> to make them resizable.</returns>
virtual public bool GetFixed() {
- var _ret_var = Efl.Ui.Panes.NativeMethods.efl_ui_panes_fixed_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Panes.NativeMethods.efl_ui_panes_fixed_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// By default panes' contents are resizable by user interaction.</summary>
/// <param name="kw_fixed">Use <c>true</c> to fix the left and right panes sizes and make them not to be resized by user interaction. Use <c>false</c> to make them resizable.</param>
virtual public void SetFixed(bool kw_fixed) {
- Efl.Ui.Panes.NativeMethods.efl_ui_panes_fixed_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),kw_fixed);
+ Efl.Ui.Panes.NativeMethods.efl_ui_panes_fixed_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),kw_fixed);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Change internal states that a button got pressed.
/// When the button is already pressed, this is silently ignored.</summary>
/// <param name="button">The number of the button. FIXME ensure to have the right interval of possible input</param>
virtual public void Press(uint button) {
- Efl.Ui.IClickableConcrete.NativeMethods.efl_ui_clickable_press_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),button);
+ Efl.Ui.IClickableConcrete.NativeMethods.efl_ui_clickable_press_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),button);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Change internal states that a button got unpressed.
/// When the button is not pressed, this is silently ignored.</summary>
/// <param name="button">The number of the button. FIXME ensure to have the right interval of possible input</param>
virtual public void Unpress(uint button) {
- Efl.Ui.IClickableConcrete.NativeMethods.efl_ui_clickable_unpress_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),button);
+ Efl.Ui.IClickableConcrete.NativeMethods.efl_ui_clickable_unpress_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),button);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This aborts the internal state after a press call.
/// This will stop the timer for longpress. And set the state of the clickable mixin back into the unpressed state.</summary>
virtual public void ResetButtonState(uint button) {
- Efl.Ui.IClickableConcrete.NativeMethods.efl_ui_clickable_button_state_reset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),button);
+ Efl.Ui.IClickableConcrete.NativeMethods.efl_ui_clickable_button_state_reset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),button);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control the direction of a given widget.
/// Mirroring as defined in <see cref="Efl.Ui.II18n"/> can invert the <c>horizontal</c> direction: it is <c>ltr</c> by default, but becomes <c>rtl</c> if the object is mirrored.</summary>
/// <returns>Direction of the widget.</returns>
virtual public Efl.Ui.LayoutOrientation GetOrientation() {
- var _ret_var = Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Mirroring as defined in <see cref="Efl.Ui.II18n"/> can invert the <c>horizontal</c> direction: it is <c>ltr</c> by default, but becomes <c>rtl</c> if the object is mirrored.</summary>
/// <param name="dir">Direction of the widget.</param>
virtual public void SetOrientation(Efl.Ui.LayoutOrientation dir) {
- Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dir);
+ Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dir);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the split ratio between panes widget first and second parts.
/// <summary>Elementary Panes internal part class</summary>
[Efl.Ui.PanesPart.NativeMethods]
+[Efl.Eo.BindingEntity]
public class PanesPart : Efl.Ui.LayoutPartContent
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="PanesPart"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public PanesPart(Efl.Object parent= null
- ) : base(efl_ui_panes_part_class_get(), typeof(PanesPart), parent)
+ ) : base(efl_ui_panes_part_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected PanesPart(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="PanesPart"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected PanesPart(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected PanesPart(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="PanesPart"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected PanesPart(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected PanesPart(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>Allows the user to set size hints to be respected and ignored combined with a minimum size. If this flag is set, the minimum size set by <see cref="Efl.Gfx.IHint.SetHintSizeMin"/> is respected forcefully.</summary>
/// <returns>If <c>true</c> minimum size is forced</returns>
virtual public bool GetHintMinAllow() {
- var _ret_var = Efl.Ui.PanesPart.NativeMethods.efl_ui_panes_part_hint_min_allow_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.PanesPart.NativeMethods.efl_ui_panes_part_hint_min_allow_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Allows the user to set size hints to be respected and ignored combined with a minimum size. If this flag is set, the minimum size set by <see cref="Efl.Gfx.IHint.SetHintSizeMin"/> is respected forcefully.</summary>
/// <param name="allow">If <c>true</c> minimum size is forced</param>
virtual public void SetHintMinAllow(bool allow) {
- Efl.Ui.PanesPart.NativeMethods.efl_ui_panes_part_hint_min_allow_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),allow);
+ Efl.Ui.PanesPart.NativeMethods.efl_ui_panes_part_hint_min_allow_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),allow);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Controls the relative minimum size of panes widget's part.
/// If <see cref="Efl.Gfx.IHint.SetHintSizeMin"/> is also used along with <see cref="Efl.Ui.PanesPart.SetSplitRatioMin"/>, maximum value is set as minimum size to part.</summary>
/// <returns>Value between 0.0 and 1.0 representing size proportion of first part's minimum size.</returns>
virtual public double GetSplitRatioMin() {
- var _ret_var = Efl.Ui.PanesPart.NativeMethods.efl_ui_panes_part_split_ratio_min_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.PanesPart.NativeMethods.efl_ui_panes_part_split_ratio_min_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// If <see cref="Efl.Gfx.IHint.SetHintSizeMin"/> is also used along with <see cref="Efl.Ui.PanesPart.SetSplitRatioMin"/>, maximum value is set as minimum size to part.</summary>
/// <param name="size">Value between 0.0 and 1.0 representing size proportion of first part's minimum size.</param>
virtual public void SetSplitRatioMin(double size) {
- Efl.Ui.PanesPart.NativeMethods.efl_ui_panes_part_split_ratio_min_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),size);
+ Efl.Ui.PanesPart.NativeMethods.efl_ui_panes_part_split_ratio_min_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),size);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Allows the user to set size hints to be respected and ignored combined with a minimum size. If this flag is set, the minimum size set by <see cref="Efl.Gfx.IHint.SetHintSizeMin"/> is respected forcefully.</summary>
/// <summary>EFL UI popup class</summary>
[Efl.Ui.Popup.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Popup : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IWidgetFocusManager, Efl.Ui.Focus.ILayer, Efl.Ui.Focus.IManager
{
///<summary>Pointer to the native class description.</summary>
efl_ui_popup_class_get();
/// <summary>Initializes a new instance of the <see cref="Popup"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public Popup(Efl.Object parent
- , System.String style = null) : base(efl_ui_popup_class_get(), typeof(Popup), parent)
+ , System.String style = null) : base(efl_ui_popup_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Popup(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Popup"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Popup(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Popup(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Popup"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Popup(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Popup(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_POPUP_EVENT_BACKWALL_CLICKED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_POPUP_EVENT_TIMEOUT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_REDIRECT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_FLUSH_PRE";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_COORDS_DIRTY";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_MANAGER_FOCUS_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_DIRTY_LOGIC_FREEZE_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// <summary>Get the current popup alignment.</summary>
/// <returns>Alignment type</returns>
virtual public Efl.Ui.PopupAlign GetAlign() {
- var _ret_var = Efl.Ui.Popup.NativeMethods.efl_ui_popup_align_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Popup.NativeMethods.efl_ui_popup_align_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Set the popup alignment.</summary>
/// <param name="type">Alignment type</param>
virtual public void SetAlign(Efl.Ui.PopupAlign type) {
- Efl.Ui.Popup.NativeMethods.efl_ui_popup_align_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),type);
+ Efl.Ui.Popup.NativeMethods.efl_ui_popup_align_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),type);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the currently set timeout seconds.</summary>
/// <returns>Timeout in seconds</returns>
virtual public double GetTimeout() {
- var _ret_var = Efl.Ui.Popup.NativeMethods.efl_ui_popup_timeout_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Popup.NativeMethods.efl_ui_popup_timeout_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Set the timeout seconds. After timeout seconds, popup will be deleted automatically.</summary>
/// <param name="time">Timeout in seconds</param>
virtual public void SetTimeout(double time) {
- Efl.Ui.Popup.NativeMethods.efl_ui_popup_timeout_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),time);
+ Efl.Ui.Popup.NativeMethods.efl_ui_popup_timeout_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),time);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>get the current popup size.</summary>
virtual public Eina.Size2D GetPopupSize() {
- var _ret_var = Efl.Ui.Popup.NativeMethods.efl_ui_popup_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Popup.NativeMethods.efl_ui_popup_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Set the popup size.</summary>
virtual public void SetPopupSize(Eina.Size2D size) {
Eina.Size2D.NativeStruct _in_size = size;
- Efl.Ui.Popup.NativeMethods.efl_ui_popup_size_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_size);
+ Efl.Ui.Popup.NativeMethods.efl_ui_popup_size_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_size);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Sub-object currently set as this object's single content.
/// (Since EFL 1.22)</summary>
/// <returns>The sub-object.</returns>
virtual public Efl.Gfx.IEntity GetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="content">The sub-object.</param>
/// <returns><c>true</c> if <c>content</c> was successfully swallowed.</returns>
virtual public bool SetContent(Efl.Gfx.IEntity content) {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),content);
+ 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);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Unswallowed object</returns>
virtual public Efl.Gfx.IEntity UnsetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="root">The logical root object for focus.</param>
/// <returns>The focus manager.</returns>
virtual public Efl.Ui.Focus.IManager FocusManagerCreate(Efl.Ui.Focus.IObject root) {
- var _ret_var = Efl.Ui.IWidgetFocusManagerConcrete.NativeMethods.efl_ui_widget_focus_manager_create_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),root);
+ var _ret_var = Efl.Ui.IWidgetFocusManagerConcrete.NativeMethods.efl_ui_widget_focus_manager_create_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),root);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Enable property</summary>
/// <returns><c>true</c> to set enable the layer <c>false</c> to disable it</returns>
virtual public bool GetEnable() {
- var _ret_var = Efl.Ui.Focus.ILayerConcrete.NativeMethods.efl_ui_focus_layer_enable_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.ILayerConcrete.NativeMethods.efl_ui_focus_layer_enable_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Enable property</summary>
/// <param name="v"><c>true</c> to set enable the layer <c>false</c> to disable it</param>
virtual public void SetEnable(bool v) {
- Efl.Ui.Focus.ILayerConcrete.NativeMethods.efl_ui_focus_layer_enable_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),v);
+ Efl.Ui.Focus.ILayerConcrete.NativeMethods.efl_ui_focus_layer_enable_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),v);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Constructor for setting the behaviour of the layer</summary>
/// <param name="enable_on_visible"><c>true</c> means layer will set itself once the inheriting widget becomes visible, <c>false</c> means the layer isn't enabled automatically</param>
/// <param name="cycle">If <c>true</c> the focus will cycle in the layer, if <c>false</c></param>
virtual public void GetBehaviour(out bool enable_on_visible, out bool cycle) {
- Efl.Ui.Focus.ILayerConcrete.NativeMethods.efl_ui_focus_layer_behaviour_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out enable_on_visible, out cycle);
+ Efl.Ui.Focus.ILayerConcrete.NativeMethods.efl_ui_focus_layer_behaviour_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out enable_on_visible, out cycle);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Constructor for setting the behaviour of the layer</summary>
/// <param name="enable_on_visible"><c>true</c> means layer will set itself once the inheriting widget becomes visible, <c>false</c> means the layer isn't enabled automatically</param>
/// <param name="cycle">If <c>true</c> the focus will cycle in the layer, if <c>false</c></param>
virtual public void SetBehaviour(bool enable_on_visible, bool cycle) {
- Efl.Ui.Focus.ILayerConcrete.NativeMethods.efl_ui_focus_layer_behaviour_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),enable_on_visible, cycle);
+ Efl.Ui.Focus.ILayerConcrete.NativeMethods.efl_ui_focus_layer_behaviour_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),enable_on_visible, cycle);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The element which is currently focused by this manager
/// (Since EFL 1.22)</summary>
/// <returns>Currently focused element.</returns>
virtual public Efl.Ui.Focus.IObject GetManagerFocus() {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_focus_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_focus_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="focus">Currently focused element.</param>
virtual public void SetManagerFocus(Efl.Ui.Focus.IObject focus) {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_focus_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),focus);
+ Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_focus_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),focus);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Add another manager to serve the move requests.
/// (Since EFL 1.22)</summary>
/// <returns>The redirect manager.</returns>
virtual public Efl.Ui.Focus.IManager GetRedirect() {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_redirect_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_redirect_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="redirect">The redirect manager.</param>
virtual public void SetRedirect(Efl.Ui.Focus.IManager redirect) {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_redirect_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),redirect);
+ Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_redirect_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),redirect);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The list of elements which are at the border of the graph.
/// (Since EFL 1.22)</summary>
/// <returns>An iterator over the border objects.</returns>
virtual public Eina.Iterator<Efl.Ui.Focus.IObject> GetBorderElements() {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_border_elements_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_border_elements_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false, false);
+ return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false);
}
/// <summary>Get all elements that are at the border of the viewport
/// Every element returned by this is located inside the viewport rectangle, but has a right, left, down or up neighbor outside the viewport.
/// <returns>The list of border objects.</returns>
virtual public Eina.Iterator<Efl.Ui.Focus.IObject> GetViewportElements(Eina.Rect viewport) {
Eina.Rect.NativeStruct _in_viewport = viewport;
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_viewport_elements_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_viewport);
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_viewport_elements_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_viewport);
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false, false);
+ return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false);
}
/// <summary>Root node for all logical subtrees.
/// This property can only be set once.
/// (Since EFL 1.22)</summary>
/// <returns>Will be registered into this manager object.</returns>
virtual public Efl.Ui.Focus.IObject GetRoot() {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_root_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_root_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="root">Will be registered into this manager object.</param>
/// <returns>If <c>true</c>, this is the root node</returns>
virtual public bool SetRoot(Efl.Ui.Focus.IObject root) {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_root_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),root);
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_root_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),root);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="direction">The direction to move to.</param>
/// <returns>The element which is now focused.</returns>
virtual public Efl.Ui.Focus.IObject Move(Efl.Ui.Focus.Direction direction) {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_move_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),direction);
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_move_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),direction);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="logical">Wether you want to have a logical node as result or a non-logical. Note, in a <see cref="Efl.Ui.Focus.IManager.Move"/> call no logical node will get focus.</param>
/// <returns>Object that would receive focus if moved in the given direction.</returns>
virtual public Efl.Ui.Focus.IObject MoveRequest(Efl.Ui.Focus.Direction direction, Efl.Ui.Focus.IObject child, bool logical) {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_request_move_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),direction, child, logical);
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_request_move_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),direction, child, logical);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="root">Parent for returned child.</param>
/// <returns>Child of passed parameter.</returns>
virtual public Efl.Ui.Focus.IObject RequestSubchild(Efl.Ui.Focus.IObject root) {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_request_subchild_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),root);
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_request_subchild_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),root);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="child">The child object to inspect.</param>
/// <returns>The list of relations starting from <c>child</c>.</returns>
virtual public Efl.Ui.Focus.Relations Fetch(Efl.Ui.Focus.IObject child) {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_fetch_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),child);
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_fetch_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),child);
Eina.Error.RaiseIfUnhandledException();
var __ret_tmp = Eina.PrimitiveConversion.PointerToManaged<Efl.Ui.Focus.Relations>(_ret_var);
Marshal.FreeHGlobal(_ret_var);
/// (Since EFL 1.22)</summary>
/// <returns>Last object.</returns>
virtual public Efl.Ui.Focus.ManagerLogicalEndDetail LogicalEnd() {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_logical_end_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_logical_end_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// You should focus another element immediately after calling this, in order to always have a focused object.
/// (Since EFL 1.22)</summary>
virtual public void ResetHistory() {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_reset_history_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_reset_history_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Remove the uppermost history element, and focus the previous one.
/// If there is an element that was focused before, it will be used. Otherwise, the best fitting element from the registered elements will be focused.
/// (Since EFL 1.22)</summary>
virtual public void PopHistoryStack() {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_pop_history_stack_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_pop_history_stack_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Called when this manager is set as redirect.
/// <param name="direction">The direction in which this should be setup.</param>
/// <param name="entry">The object that caused this manager to be redirect.</param>
virtual public void SetupOnFirstTouch(Efl.Ui.Focus.Direction direction, Efl.Ui.Focus.IObject entry) {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_setup_on_first_touch_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),direction, entry);
+ Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_setup_on_first_touch_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),direction, entry);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This disables the cache invalidation when an object is moved.
/// Even if an object is moved, the focus manager will not recalculate its relations. This can be used when you know that the set of widgets in the focus manager is moved the same way, so the relations between the widets in the set do not change and the complex calculations can be avoided. Use <see cref="Efl.Ui.Focus.IManager.DirtyLogicUnfreeze"/> to re-enable relationship calculation.
/// (Since EFL 1.22)</summary>
virtual public void FreezeDirtyLogic() {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_dirty_logic_freeze_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_dirty_logic_freeze_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This enables the cache invalidation when an object is moved.
/// This is the counterpart to <see cref="Efl.Ui.Focus.IManager.FreezeDirtyLogic"/>.
/// (Since EFL 1.22)</summary>
virtual public void DirtyLogicUnfreeze() {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_dirty_logic_unfreeze_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_dirty_logic_unfreeze_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the current popup alignment.</summary>
namespace Ui {
/// <summary>Popup alignment type</summary>
+[Efl.Eo.BindingEntity]
public enum PopupAlign
{
/// <summary>Popup not aligned</summary>
/// <summary>Efl UI Popup internal part backwall class</summary>
[Efl.Ui.PopupPartBackwall.NativeMethods]
+[Efl.Eo.BindingEntity]
public class PopupPartBackwall : Efl.Ui.LayoutPart, Efl.IFile
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="PopupPartBackwall"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public PopupPartBackwall(Efl.Object parent= null
- ) : base(efl_ui_popup_part_backwall_class_get(), typeof(PopupPartBackwall), parent)
+ ) : base(efl_ui_popup_part_backwall_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected PopupPartBackwall(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="PopupPartBackwall"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected PopupPartBackwall(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected PopupPartBackwall(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="PopupPartBackwall"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected PopupPartBackwall(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected PopupPartBackwall(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>Determine whether backwall is set to repeat events.</summary>
/// <returns>Whether <c>obj</c> is to repeat events (<c>true</c>) or not (<c>false</c>).</returns>
virtual public bool GetRepeatEvents() {
- var _ret_var = Efl.Ui.PopupPartBackwall.NativeMethods.efl_ui_popup_part_backwall_repeat_events_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.PopupPartBackwall.NativeMethods.efl_ui_popup_part_backwall_repeat_events_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// If <c>repeat</c> is <c>false</c>, events occurring on <c>obj</c> will be processed only on it.</summary>
/// <param name="repeat">Whether <c>obj</c> is to repeat events (<c>true</c>) or not (<c>false</c>).</param>
virtual public void SetRepeatEvents(bool repeat) {
- Efl.Ui.PopupPartBackwall.NativeMethods.efl_ui_popup_part_backwall_repeat_events_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),repeat);
+ Efl.Ui.PopupPartBackwall.NativeMethods.efl_ui_popup_part_backwall_repeat_events_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),repeat);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the mmaped file from where an object will fetch the real data (it must be an <see cref="Eina.File"/>).
/// (Since EFL 1.22)</summary>
/// <returns>The handle to the <see cref="Eina.File"/> that will be used</returns>
virtual public Eina.File GetMmap() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="f">The handle to the <see cref="Eina.File"/> that will be used</param>
/// <returns>0 on success, error code otherwise</returns>
virtual public Eina.Error SetMmap(Eina.File f) {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),f);
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),f);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The file path.</returns>
virtual public System.String GetFile() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="file">The file path.</param>
/// <returns>0 on success, error code otherwise</returns>
virtual public Eina.Error SetFile(System.String file) {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),file);
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),file);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The group that the data belongs to. See the class documentation for particular implementations of this interface to see how this property is used.</returns>
virtual public System.String GetKey() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_key_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_key_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="key">The group that the data belongs to. See the class documentation for particular implementations of this interface to see how this property is used.</param>
virtual public void SetKey(System.String key) {
- Efl.IFileConcrete.NativeMethods.efl_file_key_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),key);
+ Efl.IFileConcrete.NativeMethods.efl_file_key_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),key);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the load state of the object.
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if the object is loaded, <c>false</c> otherwise.</returns>
virtual public bool GetLoaded() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_loaded_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_loaded_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>0 on success, error code otherwise</returns>
virtual public Eina.Error Load() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_load_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_load_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Calling <see cref="Efl.IFile.Unload"/> on an object which is not currently loaded will have no effect.
/// (Since EFL 1.22)</summary>
virtual public void Unload() {
- Efl.IFileConcrete.NativeMethods.efl_file_unload_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.IFileConcrete.NativeMethods.efl_file_unload_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Determine whether backwall is set to repeat events.</summary>
/// <summary>Elementary progressbar class</summary>
[Efl.Ui.Progressbar.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Progressbar : Efl.Ui.LayoutBase, Efl.IContent, Efl.IText, Efl.ITextMarkup, Efl.Access.IValue, Efl.Ui.IFormat, Efl.Ui.ILayoutOrientable, Efl.Ui.IRangeDisplay
{
///<summary>Pointer to the native class description.</summary>
efl_ui_progressbar_class_get();
/// <summary>Initializes a new instance of the <see cref="Progressbar"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public Progressbar(Efl.Object parent
- , System.String style = null) : base(efl_ui_progressbar_class_get(), typeof(Progressbar), parent)
+ , System.String style = null) : base(efl_ui_progressbar_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Progressbar(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Progressbar"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Progressbar(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Progressbar(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Progressbar"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Progressbar(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Progressbar(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_PROGRESSBAR_EVENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// By default progress bars display values from low to high boundaries. There are situations however in which the progress of a given task is unknown. In these cases, you can set a progress bar widget to a "pulsing state" to give the user an idea that some computation is being done without showing the precise progress rate. In the default theme, it will animate the bar with content, switching constantly between filling it and back to non-filled in a loop. To start and stop this pulsing animation you need to explicitly call <see cref="Efl.Ui.Progressbar.SetPulse"/>.</summary>
/// <returns><c>true</c> to put <c>obj</c> in pulsing mode, <c>false</c> to put it back to its default one</returns>
virtual public bool GetPulseMode() {
- var _ret_var = Efl.Ui.Progressbar.NativeMethods.efl_ui_progressbar_pulse_mode_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Progressbar.NativeMethods.efl_ui_progressbar_pulse_mode_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// By default progress bars display values from low to high boundaries. There are situations however in which the progress of a given task is unknown. In these cases, you can set a progress bar widget to a "pulsing state" to give the user an idea that some computation is being done without showing the precise progress rate. In the default theme, it will animate the bar with content, switching constantly between filling it and back to non-filled in a loop. To start and stop this pulsing animation you need to explicitly call <see cref="Efl.Ui.Progressbar.SetPulse"/>.</summary>
/// <param name="pulse"><c>true</c> to put <c>obj</c> in pulsing mode, <c>false</c> to put it back to its default one</param>
virtual public void SetPulseMode(bool pulse) {
- Efl.Ui.Progressbar.NativeMethods.efl_ui_progressbar_pulse_mode_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),pulse);
+ Efl.Ui.Progressbar.NativeMethods.efl_ui_progressbar_pulse_mode_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),pulse);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the pulsing state on a given progressbar widget. See <see cref="Efl.Ui.Progressbar.PulseMode"/>.</summary>
/// <returns><c>true</c>, to start the pulsing animation, <c>false</c> to stop it</returns>
virtual public bool GetPulse() {
- var _ret_var = Efl.Ui.Progressbar.NativeMethods.efl_ui_progressbar_pulse_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Progressbar.NativeMethods.efl_ui_progressbar_pulse_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Note: This call won't do anything if <c>obj</c> is not under "pulsing mode". See <see cref="Efl.Ui.Progressbar.PulseMode"/>.</summary>
/// <param name="state"><c>true</c>, to start the pulsing animation, <c>false</c> to stop it</param>
virtual public void SetPulse(bool state) {
- Efl.Ui.Progressbar.NativeMethods.efl_ui_progressbar_pulse_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),state);
+ Efl.Ui.Progressbar.NativeMethods.efl_ui_progressbar_pulse_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),state);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Whether a textual progress label is shown alongside the progressbar to give an exact numerical indication of the current progress.
+ /// Not to be confused with the widget label set through <see cref="Efl.IText.GetText"/>.</summary>
+ /// <returns><c>true</c> to show the progress label.</returns>
+ virtual public bool GetShowProgressLabel() {
+ var _ret_var = Efl.Ui.Progressbar.NativeMethods.efl_ui_progressbar_show_progress_label_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Whether a textual progress label is shown alongside the progressbar to give an exact numerical indication of the current progress.
+ /// Not to be confused with the widget label set through <see cref="Efl.IText.GetText"/>.</summary>
+ /// <param name="show"><c>true</c> to show the progress label.</param>
+ virtual public void SetShowProgressLabel(bool show) {
+ Efl.Ui.Progressbar.NativeMethods.efl_ui_progressbar_show_progress_label_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),show);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Sub-object currently set as this object's single content.
/// (Since EFL 1.22)</summary>
/// <returns>The sub-object.</returns>
virtual public Efl.Gfx.IEntity GetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="content">The sub-object.</param>
/// <returns><c>true</c> if <c>content</c> was successfully swallowed.</returns>
virtual public bool SetContent(Efl.Gfx.IEntity content) {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),content);
+ 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);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Unswallowed object</returns>
virtual public Efl.Gfx.IEntity UnsetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Text string to display on it.</returns>
virtual public System.String GetText() {
- var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="text">Text string to display on it.</param>
virtual public void SetText(System.String text) {
- Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),text);
+ Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),text);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Markup property</summary>
/// <returns>The markup-text representation set to this text.</returns>
virtual public System.String GetMarkup() {
- var _ret_var = Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Markup property</summary>
/// <param name="markup">The markup-text representation set to this text.</param>
virtual public void SetMarkup(System.String markup) {
- Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),markup);
+ Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),markup);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gets value displayed by a accessible widget.</summary>
/// <param name="value">Value of widget casted to floating point number.</param>
/// <param name="text">string describing value in given context eg. small, enough</param>
virtual public void GetValueAndText(out double value, out System.String text) {
- Efl.Access.IValueConcrete.NativeMethods.efl_access_value_and_text_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out value, out text);
+ Efl.Access.IValueConcrete.NativeMethods.efl_access_value_and_text_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out value, out text);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Value and text property</summary>
/// <param name="text">string describing value in given context eg. small, enough</param>
/// <returns><c>true</c> if setting widgets value has succeeded, otherwise <c>false</c> .</returns>
virtual public bool SetValueAndText(double value, System.String text) {
- var _ret_var = Efl.Access.IValueConcrete.NativeMethods.efl_access_value_and_text_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),value, text);
+ var _ret_var = Efl.Access.IValueConcrete.NativeMethods.efl_access_value_and_text_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),value, text);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="upper_limit">Upper limit of the range</param>
/// <param name="description">Description of the range</param>
virtual public void GetRange(out double lower_limit, out double upper_limit, out System.String description) {
- Efl.Access.IValueConcrete.NativeMethods.efl_access_value_range_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out lower_limit, out upper_limit, out description);
+ Efl.Access.IValueConcrete.NativeMethods.efl_access_value_range_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out lower_limit, out upper_limit, out description);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gets an minimal incrementation value</summary>
/// <returns>Minimal incrementation value</returns>
virtual public double GetIncrement() {
- var _ret_var = Efl.Access.IValueConcrete.NativeMethods.efl_access_value_increment_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Access.IValueConcrete.NativeMethods.efl_access_value_increment_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>User-provided function which takes care of converting an <see cref="Eina.Value"/> into a text string. The user is then completely in control of how the string is generated, but it is the most cumbersome method to use. If the conversion fails the other mechanisms will be tried, according to their priorities.</summary>
+ /// <returns>User-provided formatting function.</returns>
+ virtual public Efl.Ui.FormatFunc GetFormatFunc() {
+ var _ret_var = Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_func_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
- /// <summary>Set the format function pointer to format the string.</summary>
- /// <param name="func">The format function callback</param>
- virtual public void SetFormatCb(Efl.Ui.FormatFuncCb func) {
+ /// <summary>User-provided function which takes care of converting an <see cref="Eina.Value"/> into a text string. The user is then completely in control of how the string is generated, but it is the most cumbersome method to use. If the conversion fails the other mechanisms will be tried, according to their priorities.</summary>
+ /// <param name="func">User-provided formatting function.</param>
+ virtual public void SetFormatFunc(Efl.Ui.FormatFunc func) {
GCHandle func_handle = GCHandle.Alloc(func);
- Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_cb_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),GCHandle.ToIntPtr(func_handle), Efl.Ui.FormatFuncCbWrapper.Cb, Efl.Eo.Globals.free_gchandle);
+ Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_func_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),GCHandle.ToIntPtr(func_handle), Efl.Ui.FormatFuncWrapper.Cb, Efl.Eo.Globals.free_gchandle);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>User-provided list of values which are to be rendered using specific text strings. This is more convenient to use than <see cref="Efl.Ui.IFormat.FormatFunc"/> and is perfectly suited for cases where the strings make more sense than the numerical values. For example, weekday names ("Monday", "Tuesday", ...) are friendlier than numbers 1 to 7. If a value is not found in the list, the other mechanisms will be tried according to their priorities. List members do not need to be in any particular order. They are sorted internally for performance reasons.</summary>
+ /// <returns>Accessor over a list of value-text pairs. The method will dispose of the accessor, but not of its contents. For convenience, Eina offers a range of helper methods to obtain accessors from Eina.Array, Eina.List or even plain C arrays.</returns>
+ virtual public Eina.Accessor<Efl.Ui.FormatValue> GetFormatValues() {
+ var _ret_var = Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_values_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return new Eina.Accessor<Efl.Ui.FormatValue>(_ret_var, false);
+ }
+ /// <summary>User-provided list of values which are to be rendered using specific text strings. This is more convenient to use than <see cref="Efl.Ui.IFormat.FormatFunc"/> and is perfectly suited for cases where the strings make more sense than the numerical values. For example, weekday names ("Monday", "Tuesday", ...) are friendlier than numbers 1 to 7. If a value is not found in the list, the other mechanisms will be tried according to their priorities. List members do not need to be in any particular order. They are sorted internally for performance reasons.</summary>
+ /// <param name="values">Accessor over a list of value-text pairs. The method will dispose of the accessor, but not of its contents. For convenience, Eina offers a range of helper methods to obtain accessors from Eina.Array, Eina.List or even plain C arrays.</param>
+ virtual public void SetFormatValues(Eina.Accessor<Efl.Ui.FormatValue> values) {
+ var _in_values = values.Handle;
+ Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_values_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_values);
Eina.Error.RaiseIfUnhandledException();
}
- /// <summary>Control the format string for a given units label
- /// If <c>NULL</c> is passed to <c>format</c>, it will hide <c>obj</c>'s units area completely. If not, it'll set the <b>format string</b> for the units label text. The units label is provided as a floating point value, so the units text can display at most one floating point value. Note that the units label is optional. Use a format string such as "%1.2f meters" for example.
+ /// <summary>A user-provided, string used to format the numerical value.
+ /// For example, "%1.2f meters", "%.0%%" or "%d items".
///
- /// Note: The default format string is an integer percentage, as in $"%.0f %%".</summary>
- /// <returns>The format string for <c>obj</c>'s units label.</returns>
- virtual public System.String GetFormatString() {
- var _ret_var = Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_string_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ /// This is the simplest formatting mechanism, working pretty much like <c>printf</c>.
+ ///
+ /// Different format specifiers (the character after the %) are available, depending on the <c>type</c> used. Use <see cref="Efl.Ui.FormatStringType.Simple"/> for simple numerical values and <see cref="Efl.Ui.FormatStringType.Time"/> for time and date values. For instance, %d means "integer" when the first type is used, but it means "day of the month as a decimal number" in the second.
+ ///
+ /// Pass <c>NULL</c> to disable this mechanism.</summary>
+ /// <param name="kw_string">Formatting string containing regular characters and format specifiers.</param>
+ /// <param name="type">Type of formatting string, which controls how the different format specifiers are to be traslated.</param>
+ virtual public void GetFormatString(out System.String kw_string, out Efl.Ui.FormatStringType type) {
+ Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_string_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out kw_string, out type);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>A user-provided, string used to format the numerical value.
+ /// For example, "%1.2f meters", "%.0%%" or "%d items".
+ ///
+ /// This is the simplest formatting mechanism, working pretty much like <c>printf</c>.
+ ///
+ /// Different format specifiers (the character after the %) are available, depending on the <c>type</c> used. Use <see cref="Efl.Ui.FormatStringType.Simple"/> for simple numerical values and <see cref="Efl.Ui.FormatStringType.Time"/> for time and date values. For instance, %d means "integer" when the first type is used, but it means "day of the month as a decimal number" in the second.
+ ///
+ /// Pass <c>NULL</c> to disable this mechanism.</summary>
+ /// <param name="kw_string">Formatting string containing regular characters and format specifiers.</param>
+ /// <param name="type">Type of formatting string, which controls how the different format specifiers are to be traslated.</param>
+ virtual public void SetFormatString(System.String kw_string, Efl.Ui.FormatStringType type) {
+ Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_string_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),kw_string, type);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Internal method to be used by widgets including this mixin to perform the conversion from the internal numerical value into the text representation (Users of these widgets do not need to call this method).
+ /// <see cref="Efl.Ui.IFormat.GetFormattedValue"/> uses any user-provided mechanism to perform the conversion, according to their priorities, and implements a simple fallback if all mechanisms fail.</summary>
+ /// <param name="str">Output formatted string. Its contents will be overwritten by this method.</param>
+ /// <param name="value">The <see cref="Eina.Value"/> to convert to text.</param>
+ virtual public void GetFormattedValue(Eina.Strbuf str, Eina.Value value) {
+ Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_formatted_value_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),str, value);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Internal method to be used by widgets including this mixin. It can only be used when a <see cref="Efl.Ui.IFormat.GetFormatString"/> has been supplied, and it returns the number of decimal places that the format string will produce for floating point values.
+ /// For example, "%.2f" returns 2, and "%d" returns 0;</summary>
+ /// <returns>Number of decimal places, or 0 for non-floating point types.</returns>
+ virtual public int GetDecimalPlaces() {
+ var _ret_var = Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_decimal_places_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
- /// <summary>Control the format string for a given units label
- /// If <c>NULL</c> is passed to <c>format</c>, it will hide <c>obj</c>'s units area completely. If not, it'll set the <b>format string</b> for the units label text. The units label is provided as a floating point value, so the units text can display at most one floating point value. Note that the units label is optional. Use a format string such as "%1.2f meters" for example.
- ///
- /// Note: The default format string is an integer percentage, as in $"%.0f %%".</summary>
- /// <param name="units">The format string for <c>obj</c>'s units label.</param>
- virtual public void SetFormatString(System.String units) {
- Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_string_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),units);
+ /// <summary>Internal method to be implemented by widgets including this mixin.
+ /// The mixin will call this method to signal the widget that the formatting has changed and therefore the current value should be converted and rendered again. Widgets must typically call <see cref="Efl.Ui.IFormat.GetFormattedValue"/> and display the returned string. This is something they are already doing (whenever the value changes, for example) so there should be no extra code written to implement this method.</summary>
+ virtual public void ApplyFormattedValue() {
+ Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_apply_formatted_value_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
- }
+ }
/// <summary>Control the direction of a given widget.
/// Use this function to change how your widget is to be disposed: vertically or horizontally or inverted vertically or inverted horizontally.
///
/// Mirroring as defined in <see cref="Efl.Ui.II18n"/> can invert the <c>horizontal</c> direction: it is <c>ltr</c> by default, but becomes <c>rtl</c> if the object is mirrored.</summary>
/// <returns>Direction of the widget.</returns>
virtual public Efl.Ui.LayoutOrientation GetOrientation() {
- var _ret_var = Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Mirroring as defined in <see cref="Efl.Ui.II18n"/> can invert the <c>horizontal</c> direction: it is <c>ltr</c> by default, but becomes <c>rtl</c> if the object is mirrored.</summary>
/// <param name="dir">Direction of the widget.</param>
virtual public void SetOrientation(Efl.Ui.LayoutOrientation dir) {
- Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dir);
+ Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dir);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control the range value (in percentage) on a given range widget
/// Note: If you pass a value out of the specified interval for <c>val</c>, it will be interpreted as the closest of the boundary values in the interval.</summary>
/// <returns>The range value (must be between $0.0 and 1.0)</returns>
virtual public double GetRangeValue() {
- var _ret_var = Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_value_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_value_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Note: If you pass a value out of the specified interval for <c>val</c>, it will be interpreted as the closest of the boundary values in the interval.</summary>
/// <param name="val">The range value (must be between $0.0 and 1.0)</param>
virtual public void SetRangeValue(double val) {
- Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_value_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),val);
+ Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_value_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),val);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the minimum and maximum values of the given range widget.
/// <param name="min">The minimum value.</param>
/// <param name="max">The maximum value.</param>
virtual public void GetRangeLimits(out double min, out double max) {
- Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_limits_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out min, out max);
+ Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_limits_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out min, out max);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the minimum and maximum values for given range widget.
/// <param name="min">The minimum value.</param>
/// <param name="max">The maximum value.</param>
virtual public void SetRangeLimits(double min, double max) {
- Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_limits_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),min, max);
+ Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_limits_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),min, max);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control whether a given progress bar widget is at "pulsing mode" or not.
get { return GetPulse(); }
set { SetPulse(value); }
}
+ /// <summary>Whether a textual progress label is shown alongside the progressbar to give an exact numerical indication of the current progress.
+ /// Not to be confused with the widget label set through <see cref="Efl.IText.GetText"/>.</summary>
+ /// <value><c>true</c> to show the progress label.</value>
+ public bool ShowProgressLabel {
+ get { return GetShowProgressLabel(); }
+ set { SetShowProgressLabel(value); }
+ }
/// <summary>Sub-object currently set as this object's single content.
/// 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).
/// (Since EFL 1.22)</summary>
public double Increment {
get { return GetIncrement(); }
}
- /// <summary>Set the format function pointer to format the string.</summary>
- /// <value>The format function callback</value>
- public Efl.Ui.FormatFuncCb FormatCb {
- set { SetFormatCb(value); }
+ /// <summary>User-provided function which takes care of converting an <see cref="Eina.Value"/> into a text string. The user is then completely in control of how the string is generated, but it is the most cumbersome method to use. If the conversion fails the other mechanisms will be tried, according to their priorities.</summary>
+ /// <value>User-provided formatting function.</value>
+ public Efl.Ui.FormatFunc FormatFunc {
+ get { return GetFormatFunc(); }
+ set { SetFormatFunc(value); }
}
- /// <summary>Control the format string for a given units label
- /// If <c>NULL</c> is passed to <c>format</c>, it will hide <c>obj</c>'s units area completely. If not, it'll set the <b>format string</b> for the units label text. The units label is provided as a floating point value, so the units text can display at most one floating point value. Note that the units label is optional. Use a format string such as "%1.2f meters" for example.
- ///
- /// Note: The default format string is an integer percentage, as in $"%.0f %%".</summary>
- /// <value>The format string for <c>obj</c>'s units label.</value>
- public System.String FormatString {
- get { return GetFormatString(); }
- set { SetFormatString(value); }
+ /// <summary>User-provided list of values which are to be rendered using specific text strings. This is more convenient to use than <see cref="Efl.Ui.IFormat.FormatFunc"/> and is perfectly suited for cases where the strings make more sense than the numerical values. For example, weekday names ("Monday", "Tuesday", ...) are friendlier than numbers 1 to 7. If a value is not found in the list, the other mechanisms will be tried according to their priorities. List members do not need to be in any particular order. They are sorted internally for performance reasons.</summary>
+ /// <value>Accessor over a list of value-text pairs. The method will dispose of the accessor, but not of its contents. For convenience, Eina offers a range of helper methods to obtain accessors from Eina.Array, Eina.List or even plain C arrays.</value>
+ public Eina.Accessor<Efl.Ui.FormatValue> FormatValues {
+ get { return GetFormatValues(); }
+ set { SetFormatValues(value); }
}
/// <summary>Control the direction of a given widget.
/// Use this function to change how your widget is to be disposed: vertically or horizontally or inverted vertically or inverted horizontally.
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_progressbar_pulse_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_progressbar_pulse_set_static_delegate) });
}
+ if (efl_ui_progressbar_show_progress_label_get_static_delegate == null)
+ {
+ efl_ui_progressbar_show_progress_label_get_static_delegate = new efl_ui_progressbar_show_progress_label_get_delegate(show_progress_label_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetShowProgressLabel") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_progressbar_show_progress_label_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_progressbar_show_progress_label_get_static_delegate) });
+ }
+
+ if (efl_ui_progressbar_show_progress_label_set_static_delegate == null)
+ {
+ efl_ui_progressbar_show_progress_label_set_static_delegate = new efl_ui_progressbar_show_progress_label_set_delegate(show_progress_label_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetShowProgressLabel") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_progressbar_show_progress_label_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_progressbar_show_progress_label_set_static_delegate) });
+ }
+
if (efl_content_get_static_delegate == null)
{
efl_content_get_static_delegate = new efl_content_get_delegate(content_get);
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_value_increment_get"), func = Marshal.GetFunctionPointerForDelegate(efl_access_value_increment_get_static_delegate) });
}
- if (efl_ui_format_cb_set_static_delegate == null)
+ if (efl_ui_format_func_get_static_delegate == null)
+ {
+ efl_ui_format_func_get_static_delegate = new efl_ui_format_func_get_delegate(format_func_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetFormatFunc") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_func_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_func_get_static_delegate) });
+ }
+
+ if (efl_ui_format_func_set_static_delegate == null)
+ {
+ efl_ui_format_func_set_static_delegate = new efl_ui_format_func_set_delegate(format_func_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetFormatFunc") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_func_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_func_set_static_delegate) });
+ }
+
+ if (efl_ui_format_values_get_static_delegate == null)
+ {
+ efl_ui_format_values_get_static_delegate = new efl_ui_format_values_get_delegate(format_values_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetFormatValues") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_values_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_values_get_static_delegate) });
+ }
+
+ if (efl_ui_format_values_set_static_delegate == null)
{
- efl_ui_format_cb_set_static_delegate = new efl_ui_format_cb_set_delegate(format_cb_set);
+ efl_ui_format_values_set_static_delegate = new efl_ui_format_values_set_delegate(format_values_set);
}
- if (methods.FirstOrDefault(m => m.Name == "SetFormatCb") != null)
+ if (methods.FirstOrDefault(m => m.Name == "SetFormatValues") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_cb_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_cb_set_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_values_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_values_set_static_delegate) });
}
if (efl_ui_format_string_get_static_delegate == null)
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_string_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_string_set_static_delegate) });
}
+ if (efl_ui_format_formatted_value_get_static_delegate == null)
+ {
+ efl_ui_format_formatted_value_get_static_delegate = new efl_ui_format_formatted_value_get_delegate(formatted_value_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetFormattedValue") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_formatted_value_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_formatted_value_get_static_delegate) });
+ }
+
+ if (efl_ui_format_decimal_places_get_static_delegate == null)
+ {
+ efl_ui_format_decimal_places_get_static_delegate = new efl_ui_format_decimal_places_get_delegate(decimal_places_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetDecimalPlaces") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_decimal_places_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_decimal_places_get_static_delegate) });
+ }
+
+ if (efl_ui_format_apply_formatted_value_static_delegate == null)
+ {
+ efl_ui_format_apply_formatted_value_static_delegate = new efl_ui_format_apply_formatted_value_delegate(apply_formatted_value);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "ApplyFormattedValue") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_apply_formatted_value"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_apply_formatted_value_static_delegate) });
+ }
+
if (efl_ui_layout_orientation_get_static_delegate == null)
{
efl_ui_layout_orientation_get_static_delegate = new efl_ui_layout_orientation_get_delegate(orientation_get);
private static efl_ui_progressbar_pulse_set_delegate efl_ui_progressbar_pulse_set_static_delegate;
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_ui_progressbar_show_progress_label_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_ui_progressbar_show_progress_label_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_progressbar_show_progress_label_get_api_delegate> efl_ui_progressbar_show_progress_label_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_progressbar_show_progress_label_get_api_delegate>(Module, "efl_ui_progressbar_show_progress_label_get");
+
+ private static bool show_progress_label_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_progressbar_show_progress_label_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((Progressbar)ws.Target).GetShowProgressLabel();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_progressbar_show_progress_label_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_progressbar_show_progress_label_get_delegate efl_ui_progressbar_show_progress_label_get_static_delegate;
+
+
+ private delegate void efl_ui_progressbar_show_progress_label_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool show);
+
+
+ public delegate void efl_ui_progressbar_show_progress_label_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool show);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_progressbar_show_progress_label_set_api_delegate> efl_ui_progressbar_show_progress_label_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_progressbar_show_progress_label_set_api_delegate>(Module, "efl_ui_progressbar_show_progress_label_set");
+
+ private static void show_progress_label_set(System.IntPtr obj, System.IntPtr pd, bool show)
+ {
+ Eina.Log.Debug("function efl_ui_progressbar_show_progress_label_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Progressbar)ws.Target).SetShowProgressLabel(show);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_progressbar_show_progress_label_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), show);
+ }
+ }
+
+ private static efl_ui_progressbar_show_progress_label_set_delegate efl_ui_progressbar_show_progress_label_set_static_delegate;
+
[return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
private delegate Efl.Gfx.IEntity efl_content_get_delegate(System.IntPtr obj, System.IntPtr pd);
private static efl_access_value_increment_get_delegate efl_access_value_increment_get_static_delegate;
- private delegate void efl_ui_format_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, Efl.Ui.FormatFuncCbInternal func, EinaFreeCb func_free_cb);
+ private delegate Efl.Ui.FormatFunc efl_ui_format_func_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate Efl.Ui.FormatFunc efl_ui_format_func_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_format_func_get_api_delegate> efl_ui_format_func_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_func_get_api_delegate>(Module, "efl_ui_format_func_get");
+
+ private static Efl.Ui.FormatFunc format_func_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_format_func_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.Ui.FormatFunc _ret_var = default(Efl.Ui.FormatFunc);
+ try
+ {
+ _ret_var = ((Progressbar)ws.Target).GetFormatFunc();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_format_func_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_format_func_get_delegate efl_ui_format_func_get_static_delegate;
+
+
+ private delegate void efl_ui_format_func_set_delegate(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, Efl.Ui.FormatFuncInternal func, EinaFreeCb func_free_cb);
- public delegate void efl_ui_format_cb_set_api_delegate(System.IntPtr obj, IntPtr func_data, Efl.Ui.FormatFuncCbInternal func, EinaFreeCb func_free_cb);
+ public delegate void efl_ui_format_func_set_api_delegate(System.IntPtr obj, IntPtr func_data, Efl.Ui.FormatFuncInternal func, EinaFreeCb func_free_cb);
- public static Efl.Eo.FunctionWrapper<efl_ui_format_cb_set_api_delegate> efl_ui_format_cb_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_cb_set_api_delegate>(Module, "efl_ui_format_cb_set");
+ public static Efl.Eo.FunctionWrapper<efl_ui_format_func_set_api_delegate> efl_ui_format_func_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_func_set_api_delegate>(Module, "efl_ui_format_func_set");
- private static void format_cb_set(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, Efl.Ui.FormatFuncCbInternal func, EinaFreeCb func_free_cb)
+ private static void format_func_set(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, Efl.Ui.FormatFuncInternal func, EinaFreeCb func_free_cb)
{
- Eina.Log.Debug("function efl_ui_format_cb_set was called");
+ Eina.Log.Debug("function efl_ui_format_func_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- Efl.Ui.FormatFuncCbWrapper func_wrapper = new Efl.Ui.FormatFuncCbWrapper(func, func_data, func_free_cb);
+ Efl.Ui.FormatFuncWrapper func_wrapper = new Efl.Ui.FormatFuncWrapper(func, func_data, func_free_cb);
try
{
- ((Progressbar)ws.Target).SetFormatCb(func_wrapper.ManagedCb);
+ ((Progressbar)ws.Target).SetFormatFunc(func_wrapper.ManagedCb);
}
catch (Exception e)
{
}
else
{
- efl_ui_format_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), func_data, func, func_free_cb);
+ efl_ui_format_func_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), func_data, func, func_free_cb);
}
}
- private static efl_ui_format_cb_set_delegate efl_ui_format_cb_set_static_delegate;
+ private static efl_ui_format_func_set_delegate efl_ui_format_func_set_static_delegate;
- [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
- private delegate System.String efl_ui_format_string_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ private delegate System.IntPtr efl_ui_format_values_get_delegate(System.IntPtr obj, System.IntPtr pd);
- [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
- public delegate System.String efl_ui_format_string_get_api_delegate(System.IntPtr obj);
+
+ public delegate System.IntPtr efl_ui_format_values_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_format_values_get_api_delegate> efl_ui_format_values_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_values_get_api_delegate>(Module, "efl_ui_format_values_get");
+
+ private static System.IntPtr format_values_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_format_values_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Accessor<Efl.Ui.FormatValue> _ret_var = default(Eina.Accessor<Efl.Ui.FormatValue>);
+ try
+ {
+ _ret_var = ((Progressbar)ws.Target).GetFormatValues();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var.Handle;
+
+ }
+ else
+ {
+ return efl_ui_format_values_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_format_values_get_delegate efl_ui_format_values_get_static_delegate;
+
+
+ private delegate void efl_ui_format_values_set_delegate(System.IntPtr obj, System.IntPtr pd, System.IntPtr values);
+
+
+ public delegate void efl_ui_format_values_set_api_delegate(System.IntPtr obj, System.IntPtr values);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_format_values_set_api_delegate> efl_ui_format_values_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_values_set_api_delegate>(Module, "efl_ui_format_values_set");
+
+ private static void format_values_set(System.IntPtr obj, System.IntPtr pd, System.IntPtr values)
+ {
+ Eina.Log.Debug("function efl_ui_format_values_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ var _in_values = new Eina.Accessor<Efl.Ui.FormatValue>(values, false);
+
+ try
+ {
+ ((Progressbar)ws.Target).SetFormatValues(_in_values);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_format_values_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), values);
+ }
+ }
+
+ private static efl_ui_format_values_set_delegate efl_ui_format_values_set_static_delegate;
+
+
+ private delegate void efl_ui_format_string_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String kw_string, out Efl.Ui.FormatStringType type);
+
+
+ public delegate void efl_ui_format_string_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String kw_string, out Efl.Ui.FormatStringType type);
public static Efl.Eo.FunctionWrapper<efl_ui_format_string_get_api_delegate> efl_ui_format_string_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_string_get_api_delegate>(Module, "efl_ui_format_string_get");
- private static System.String format_string_get(System.IntPtr obj, System.IntPtr pd)
+ private static void format_string_get(System.IntPtr obj, System.IntPtr pd, out System.String kw_string, out Efl.Ui.FormatStringType type)
{
Eina.Log.Debug("function efl_ui_format_string_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- System.String _ret_var = default(System.String);
+ System.String _out_kw_string = default(System.String);
+ type = default(Efl.Ui.FormatStringType);
try
{
- _ret_var = ((Progressbar)ws.Target).GetFormatString();
+ ((Progressbar)ws.Target).GetFormatString(out _out_kw_string, out type);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
- return _ret_var;
-
+ kw_string = _out_kw_string;
+
}
else
{
- return efl_ui_format_string_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ efl_ui_format_string_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out kw_string, out type);
}
}
private static efl_ui_format_string_get_delegate efl_ui_format_string_get_static_delegate;
- private delegate void efl_ui_format_string_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String units);
+ private delegate void efl_ui_format_string_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String kw_string, Efl.Ui.FormatStringType type);
- public delegate void efl_ui_format_string_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String units);
+ public delegate void efl_ui_format_string_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String kw_string, Efl.Ui.FormatStringType type);
public static Efl.Eo.FunctionWrapper<efl_ui_format_string_set_api_delegate> efl_ui_format_string_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_string_set_api_delegate>(Module, "efl_ui_format_string_set");
- private static void format_string_set(System.IntPtr obj, System.IntPtr pd, System.String units)
+ private static void format_string_set(System.IntPtr obj, System.IntPtr pd, System.String kw_string, Efl.Ui.FormatStringType type)
{
Eina.Log.Debug("function efl_ui_format_string_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
-
+
try
{
- ((Progressbar)ws.Target).SetFormatString(units);
+ ((Progressbar)ws.Target).SetFormatString(kw_string, type);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+
}
else
{
- efl_ui_format_string_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), units);
+ efl_ui_format_string_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), kw_string, type);
}
}
private static efl_ui_format_string_set_delegate efl_ui_format_string_set_static_delegate;
+ private delegate void efl_ui_format_formatted_value_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StrbufKeepOwnershipMarshaler))] Eina.Strbuf str, Eina.ValueNative value);
+
+
+ public delegate void efl_ui_format_formatted_value_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StrbufKeepOwnershipMarshaler))] Eina.Strbuf str, Eina.ValueNative value);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_format_formatted_value_get_api_delegate> efl_ui_format_formatted_value_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_formatted_value_get_api_delegate>(Module, "efl_ui_format_formatted_value_get");
+
+ private static void formatted_value_get(System.IntPtr obj, System.IntPtr pd, Eina.Strbuf str, Eina.ValueNative value)
+ {
+ Eina.Log.Debug("function efl_ui_format_formatted_value_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Progressbar)ws.Target).GetFormattedValue(str, value);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_format_formatted_value_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), str, value);
+ }
+ }
+
+ private static efl_ui_format_formatted_value_get_delegate efl_ui_format_formatted_value_get_static_delegate;
+
+
+ private delegate int efl_ui_format_decimal_places_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate int efl_ui_format_decimal_places_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_format_decimal_places_get_api_delegate> efl_ui_format_decimal_places_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_decimal_places_get_api_delegate>(Module, "efl_ui_format_decimal_places_get");
+
+ private static int decimal_places_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_format_decimal_places_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ int _ret_var = default(int);
+ try
+ {
+ _ret_var = ((Progressbar)ws.Target).GetDecimalPlaces();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_format_decimal_places_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_format_decimal_places_get_delegate efl_ui_format_decimal_places_get_static_delegate;
+
+
+ private delegate void efl_ui_format_apply_formatted_value_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate void efl_ui_format_apply_formatted_value_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_format_apply_formatted_value_api_delegate> efl_ui_format_apply_formatted_value_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_apply_formatted_value_api_delegate>(Module, "efl_ui_format_apply_formatted_value");
+
+ private static void apply_formatted_value(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_format_apply_formatted_value was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Progressbar)ws.Target).ApplyFormattedValue();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_format_apply_formatted_value_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_format_apply_formatted_value_delegate efl_ui_format_apply_formatted_value_static_delegate;
+
+
private delegate Efl.Ui.LayoutOrientation efl_ui_layout_orientation_get_delegate(System.IntPtr obj, System.IntPtr pd);
/// <summary>Elementary progressbar internal part class</summary>
[Efl.Ui.ProgressbarLegacyPart.NativeMethods]
+[Efl.Eo.BindingEntity]
public class ProgressbarLegacyPart : Efl.Ui.LayoutPartContent
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="ProgressbarLegacyPart"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public ProgressbarLegacyPart(Efl.Object parent= null
- ) : base(efl_ui_progressbar_legacy_part_class_get(), typeof(ProgressbarLegacyPart), parent)
+ ) : base(efl_ui_progressbar_legacy_part_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected ProgressbarLegacyPart(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="ProgressbarLegacyPart"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected ProgressbarLegacyPart(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected ProgressbarLegacyPart(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="ProgressbarLegacyPart"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected ProgressbarLegacyPart(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected ProgressbarLegacyPart(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>Elementary progressbar internal part class</summary>
[Efl.Ui.ProgressbarPart.NativeMethods]
+[Efl.Eo.BindingEntity]
public class ProgressbarPart : Efl.Ui.LayoutPart, Efl.Ui.IRangeDisplay
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="ProgressbarPart"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public ProgressbarPart(Efl.Object parent= null
- ) : base(efl_ui_progressbar_part_class_get(), typeof(ProgressbarPart), parent)
+ ) : base(efl_ui_progressbar_part_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected ProgressbarPart(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="ProgressbarPart"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected ProgressbarPart(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected ProgressbarPart(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="ProgressbarPart"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected ProgressbarPart(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected ProgressbarPart(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// Note: If you pass a value out of the specified interval for <c>val</c>, it will be interpreted as the closest of the boundary values in the interval.</summary>
/// <returns>The range value (must be between $0.0 and 1.0)</returns>
virtual public double GetRangeValue() {
- var _ret_var = Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_value_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_value_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Note: If you pass a value out of the specified interval for <c>val</c>, it will be interpreted as the closest of the boundary values in the interval.</summary>
/// <param name="val">The range value (must be between $0.0 and 1.0)</param>
virtual public void SetRangeValue(double val) {
- Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_value_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),val);
+ Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_value_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),val);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the minimum and maximum values of the given range widget.
/// <param name="min">The minimum value.</param>
/// <param name="max">The maximum value.</param>
virtual public void GetRangeLimits(out double min, out double max) {
- Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_limits_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out min, out max);
+ Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_limits_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out min, out max);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the minimum and maximum values for given range widget.
/// <param name="min">The minimum value.</param>
/// <param name="max">The maximum value.</param>
virtual public void SetRangeLimits(double min, double max) {
- Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_limits_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),min, max);
+ Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_limits_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),min, max);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control the range value (in percentage) on a given range widget
/// <summary>Efl UI Property_Bind interface. view object can have <see cref="Efl.IModel"/> to manage the data, the interface can help loading and tracking child data from the model property. see <see cref="Efl.IModel"/> see <see cref="Efl.Ui.IFactory"/></summary>
[Efl.Ui.IPropertyBindConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IPropertyBind :
Efl.Eo.IWrapper, IDisposable
{
event EventHandler<Efl.Ui.IPropertyBindPropertyBoundEvt_Args> PropertyBoundEvt;
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.IPropertyBind.PropertiesChangedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IPropertyBindPropertiesChangedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Ui.PropertyEvent arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.IPropertyBind.PropertyBoundEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IPropertyBindPropertyBoundEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public System.String arg { get; set; }
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IPropertyBindConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_ui_property_bind_interface_get();
/// <summary>Initializes a new instance of the <see cref="IPropertyBind"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IPropertyBindConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IPropertyBindConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_PROPERTY_BIND_EVENT_PROPERTIES_CHANGED";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_PROPERTY_BIND_EVENT_PROPERTY_BOUND";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>EFL Ui property event data structure triggered when an object property change due to the interaction on the object.</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct PropertyEvent
{
/// <summary>List of changed properties</summary>
- public Eina.Array<System.String> Changed_properties;
+ public Eina.Array<Eina.Stringshare> Changed_properties;
///<summary>Constructor for PropertyEvent.</summary>
public PropertyEvent(
- Eina.Array<System.String> Changed_properties = default(Eina.Array<System.String>) )
+ Eina.Array<Eina.Stringshare> Changed_properties = default(Eina.Array<Eina.Stringshare>) )
{
this.Changed_properties = Changed_properties;
}
public static implicit operator PropertyEvent(PropertyEvent.NativeStruct _internal_struct)
{
var _external_struct = new PropertyEvent();
- _external_struct.Changed_properties = new Eina.Array<System.String>(_internal_struct.Changed_properties, false, false);
+ _external_struct.Changed_properties = new Eina.Array<Eina.Stringshare>(_internal_struct.Changed_properties, false, false);
return _external_struct;
}
///
/// To handle button grouping, you can either use an <see cref="Efl.Ui.RadioGroupImpl"/> object or use more convenient widgets like <see cref="Efl.Ui.RadioBox"/>.</summary>
[Efl.Ui.Radio.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Radio : Efl.Ui.Check
{
///<summary>Pointer to the native class description.</summary>
efl_ui_radio_class_get();
/// <summary>Initializes a new instance of the <see cref="Radio"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public Radio(Efl.Object parent
- , System.String style = null) : base(efl_ui_radio_class_get(), typeof(Radio), parent)
+ , System.String style = null) : base(efl_ui_radio_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Radio(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Radio"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Radio(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Radio(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Radio"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Radio(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Radio(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// All non-negative values are legal but keep in mind that 0 is the starting value for all new groups: If no button in the group has this value, then no button in the group is initially selected. -1 is the value that <see cref="Efl.Ui.IRadioGroup.SelectedValue"/> returns when no button is selected and therefore cannot be used.</summary>
/// <returns>The value to use when this radio button is selected. Any value can be used but 0 and -1 have special meanings as described above.</returns>
virtual public int GetStateValue() {
- var _ret_var = Efl.Ui.Radio.NativeMethods.efl_ui_radio_state_value_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Radio.NativeMethods.efl_ui_radio_state_value_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// All non-negative values are legal but keep in mind that 0 is the starting value for all new groups: If no button in the group has this value, then no button in the group is initially selected. -1 is the value that <see cref="Efl.Ui.IRadioGroup.SelectedValue"/> returns when no button is selected and therefore cannot be used.</summary>
/// <param name="value">The value to use when this radio button is selected. Any value can be used but 0 and -1 have special meanings as described above.</param>
virtual public void SetStateValue(int value) {
- Efl.Ui.Radio.NativeMethods.efl_ui_radio_state_value_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),value);
+ Efl.Ui.Radio.NativeMethods.efl_ui_radio_state_value_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),value);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Integer value that this radio button represents.
/// <summary>A standard <see cref="Efl.Ui.Box"/> container which automatically handles grouping of any <see cref="Efl.Ui.Radio"/> widget added to it.
/// All <see cref="Efl.Ui.Radio"/> widgets are added to the same internal group which you only indirectly access through this object.</summary>
[Efl.Ui.RadioBox.NativeMethods]
+[Efl.Eo.BindingEntity]
public class RadioBox : Efl.Ui.Box, Efl.Ui.IRadioGroup
{
///<summary>Pointer to the native class description.</summary>
efl_ui_radio_box_class_get();
/// <summary>Initializes a new instance of the <see cref="RadioBox"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public RadioBox(Efl.Object parent
- , System.String style = null) : base(efl_ui_radio_box_class_get(), typeof(RadioBox), parent)
+ , System.String style = null) : base(efl_ui_radio_box_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected RadioBox(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="RadioBox"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected RadioBox(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected RadioBox(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="RadioBox"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected RadioBox(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected RadioBox(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_RADIO_GROUP_EVENT_VALUE_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// See also <see cref="Efl.Ui.IRadioGroup.SelectedValue"/>.</summary>
/// <returns>The currently selected radio button in the group, or <c>NULL</c>.</returns>
virtual public Efl.Ui.Radio GetSelectedObject() {
- var _ret_var = Efl.Ui.IRadioGroupConcrete.NativeMethods.efl_ui_radio_group_selected_object_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IRadioGroupConcrete.NativeMethods.efl_ui_radio_group_selected_object_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// See also <see cref="Efl.Ui.IRadioGroup.SelectedValue"/>.</summary>
/// <param name="selected_object">The currently selected radio button in the group, or <c>NULL</c>.</param>
virtual public void SetSelectedObject(Efl.Ui.Radio selected_object) {
- Efl.Ui.IRadioGroupConcrete.NativeMethods.efl_ui_radio_group_selected_object_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),selected_object);
+ Efl.Ui.IRadioGroupConcrete.NativeMethods.efl_ui_radio_group_selected_object_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),selected_object);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The value associated with the currently selected button in the group. Give each radio button in the group a different value using <see cref="Efl.Ui.Radio.StateValue"/>.
/// A value of -1 means that no button is selected. Only values associated with the buttons in the group (and -1) can be used.</summary>
/// <returns>The value of the currently selected radio button, or -1.</returns>
virtual public int GetSelectedValue() {
- var _ret_var = Efl.Ui.IRadioGroupConcrete.NativeMethods.efl_ui_radio_group_selected_value_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IRadioGroupConcrete.NativeMethods.efl_ui_radio_group_selected_value_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// A value of -1 means that no button is selected. Only values associated with the buttons in the group (and -1) can be used.</summary>
/// <param name="selected_value">The value of the currently selected radio button, or -1.</param>
virtual public void SetSelectedValue(int selected_value) {
- Efl.Ui.IRadioGroupConcrete.NativeMethods.efl_ui_radio_group_selected_value_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),selected_value);
+ Efl.Ui.IRadioGroupConcrete.NativeMethods.efl_ui_radio_group_selected_value_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),selected_value);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Register a new <see cref="Efl.Ui.Radio"/> button to this group. Keep in mind that registering to a group will only handle button grouping, you still need to add the button to a layout for it to be rendered.
/// See also <see cref="Efl.Ui.IRadioGroup.Unregister"/>.</summary>
/// <param name="radio">The radio button to add to the group.</param>
virtual public void Register(Efl.Ui.Radio radio) {
- Efl.Ui.IRadioGroupConcrete.NativeMethods.efl_ui_radio_group_register_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),radio);
+ Efl.Ui.IRadioGroupConcrete.NativeMethods.efl_ui_radio_group_register_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),radio);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Unregister an <see cref="Efl.Ui.Radio"/> button from this group. This will unlink the behavior of this button from the other buttons in the group, but if it still belongs to a layout, it will still be rendered.
/// See also <see cref="Efl.Ui.IRadioGroup.Register"/>.</summary>
/// <param name="radio">The radio button to remove from the group.</param>
virtual public void Unregister(Efl.Ui.Radio radio) {
- Efl.Ui.IRadioGroupConcrete.NativeMethods.efl_ui_radio_group_unregister_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),radio);
+ Efl.Ui.IRadioGroupConcrete.NativeMethods.efl_ui_radio_group_unregister_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),radio);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Currently selected button in a radio button group, or <c>NULL</c> if no button is selected.
/// <summary>Interface for manually handling a group of <see cref="Efl.Ui.Radio"/> buttons.
/// See the documentation of <see cref="Efl.Ui.Radio"/> for an explanation of radio button grouping.</summary>
[Efl.Ui.IRadioGroupConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IRadioGroup :
Efl.Eo.IWrapper, IDisposable
{
}
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.IRadioGroup.ValueChangedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IRadioGroupValueChangedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public int arg { get; set; }
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IRadioGroupConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
efl_ui_radio_group_interface_get();
/// <summary>Initializes a new instance of the <see cref="IRadioGroup"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IRadioGroupConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IRadioGroupConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_RADIO_GROUP_EVENT_VALUE_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Object with the default implementation for <see cref="Efl.Ui.IRadioGroup"/>.</summary>
[Efl.Ui.RadioGroupImpl.NativeMethods]
+[Efl.Eo.BindingEntity]
public class RadioGroupImpl : Efl.Object, Efl.Ui.IRadioGroup
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="RadioGroupImpl"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public RadioGroupImpl(Efl.Object parent= null
- ) : base(efl_ui_radio_group_impl_class_get(), typeof(RadioGroupImpl), parent)
+ ) : base(efl_ui_radio_group_impl_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected RadioGroupImpl(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="RadioGroupImpl"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected RadioGroupImpl(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected RadioGroupImpl(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="RadioGroupImpl"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected RadioGroupImpl(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected RadioGroupImpl(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_RADIO_GROUP_EVENT_VALUE_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// See also <see cref="Efl.Ui.IRadioGroup.SelectedValue"/>.</summary>
/// <returns>The currently selected radio button in the group, or <c>NULL</c>.</returns>
virtual public Efl.Ui.Radio GetSelectedObject() {
- var _ret_var = Efl.Ui.IRadioGroupConcrete.NativeMethods.efl_ui_radio_group_selected_object_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IRadioGroupConcrete.NativeMethods.efl_ui_radio_group_selected_object_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// See also <see cref="Efl.Ui.IRadioGroup.SelectedValue"/>.</summary>
/// <param name="selected_object">The currently selected radio button in the group, or <c>NULL</c>.</param>
virtual public void SetSelectedObject(Efl.Ui.Radio selected_object) {
- Efl.Ui.IRadioGroupConcrete.NativeMethods.efl_ui_radio_group_selected_object_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),selected_object);
+ Efl.Ui.IRadioGroupConcrete.NativeMethods.efl_ui_radio_group_selected_object_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),selected_object);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The value associated with the currently selected button in the group. Give each radio button in the group a different value using <see cref="Efl.Ui.Radio.StateValue"/>.
/// A value of -1 means that no button is selected. Only values associated with the buttons in the group (and -1) can be used.</summary>
/// <returns>The value of the currently selected radio button, or -1.</returns>
virtual public int GetSelectedValue() {
- var _ret_var = Efl.Ui.IRadioGroupConcrete.NativeMethods.efl_ui_radio_group_selected_value_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IRadioGroupConcrete.NativeMethods.efl_ui_radio_group_selected_value_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// A value of -1 means that no button is selected. Only values associated with the buttons in the group (and -1) can be used.</summary>
/// <param name="selected_value">The value of the currently selected radio button, or -1.</param>
virtual public void SetSelectedValue(int selected_value) {
- Efl.Ui.IRadioGroupConcrete.NativeMethods.efl_ui_radio_group_selected_value_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),selected_value);
+ Efl.Ui.IRadioGroupConcrete.NativeMethods.efl_ui_radio_group_selected_value_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),selected_value);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Register a new <see cref="Efl.Ui.Radio"/> button to this group. Keep in mind that registering to a group will only handle button grouping, you still need to add the button to a layout for it to be rendered.
/// See also <see cref="Efl.Ui.IRadioGroup.Unregister"/>.</summary>
/// <param name="radio">The radio button to add to the group.</param>
virtual public void Register(Efl.Ui.Radio radio) {
- Efl.Ui.IRadioGroupConcrete.NativeMethods.efl_ui_radio_group_register_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),radio);
+ Efl.Ui.IRadioGroupConcrete.NativeMethods.efl_ui_radio_group_register_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),radio);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Unregister an <see cref="Efl.Ui.Radio"/> button from this group. This will unlink the behavior of this button from the other buttons in the group, but if it still belongs to a layout, it will still be rendered.
/// See also <see cref="Efl.Ui.IRadioGroup.Register"/>.</summary>
/// <param name="radio">The radio button to remove from the group.</param>
virtual public void Unregister(Efl.Ui.Radio radio) {
- Efl.Ui.IRadioGroupConcrete.NativeMethods.efl_ui_radio_group_unregister_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),radio);
+ Efl.Ui.IRadioGroupConcrete.NativeMethods.efl_ui_radio_group_unregister_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),radio);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Currently selected button in a radio button group, or <c>NULL</c> if no button is selected.
/// <summary>Elementary radio internal part class</summary>
[Efl.Ui.RadioLegacyPart.NativeMethods]
+[Efl.Eo.BindingEntity]
public class RadioLegacyPart : Efl.Ui.LayoutPartContent
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="RadioLegacyPart"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public RadioLegacyPart(Efl.Object parent= null
- ) : base(efl_ui_radio_legacy_part_class_get(), typeof(RadioLegacyPart), parent)
+ ) : base(efl_ui_radio_legacy_part_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected RadioLegacyPart(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="RadioLegacyPart"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected RadioLegacyPart(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected RadioLegacyPart(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="RadioLegacyPart"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected RadioLegacyPart(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected RadioLegacyPart(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>Interface that contains properties regarding the displaying of a range.</summary>
[Efl.Ui.IRangeDisplayConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IRangeDisplay :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IRangeDisplayConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_ui_range_display_interface_get();
/// <summary>Initializes a new instance of the <see cref="IRangeDisplay"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IRangeDisplayConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IRangeDisplayConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Interface that extends the normal displaying properties with usage properties.
/// The properties defined here are used to manipulate the way a user interacts with a displayed range.</summary>
[Efl.Ui.IRangeInteractiveConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IRangeInteractive :
Efl.Ui.IRangeDisplay ,
Efl.Eo.IWrapper, IDisposable
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IRangeInteractiveConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_ui_range_interactive_interface_get();
/// <summary>Initializes a new instance of the <see cref="IRangeInteractive"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IRangeInteractiveConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IRangeInteractiveConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>The relative layout class.
/// A relative layout calculates the size and position of all the children based on their relationship to each other.</summary>
[Efl.Ui.RelativeLayout.NativeMethods]
+[Efl.Eo.BindingEntity]
public class RelativeLayout : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPackLayout
{
///<summary>Pointer to the native class description.</summary>
efl_ui_relative_layout_class_get();
/// <summary>Initializes a new instance of the <see cref="RelativeLayout"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public RelativeLayout(Efl.Object parent
- , System.String style = null) : base(efl_ui_relative_layout_class_get(), typeof(RelativeLayout), parent)
+ , System.String style = null) : base(efl_ui_relative_layout_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected RelativeLayout(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="RelativeLayout"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected RelativeLayout(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected RelativeLayout(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="RelativeLayout"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected RelativeLayout(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected RelativeLayout(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_PACK_EVENT_LAYOUT_UPDATED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// <param name="target">The relative target.</param>
/// <param name="relative">The ratio between left and right of the target, ranging from 0.0 to 1.0.</param>
virtual public void GetRelationLeft(Efl.Object child, out Efl.Object target, out double relative) {
- Efl.Ui.RelativeLayout.NativeMethods.efl_ui_relative_layout_relation_left_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),child, out target, out relative);
+ Efl.Ui.RelativeLayout.NativeMethods.efl_ui_relative_layout_relation_left_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),child, out target, out relative);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Specifies the left side edge of the child relative to the target. By default, target is parent and relative is 0.0.</summary>
/// <param name="target">The relative target.</param>
/// <param name="relative">The ratio between left and right of the target, ranging from 0.0 to 1.0.</param>
virtual public void SetRelationLeft(Efl.Object child, Efl.Object target, double relative) {
- Efl.Ui.RelativeLayout.NativeMethods.efl_ui_relative_layout_relation_left_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),child, target, relative);
+ Efl.Ui.RelativeLayout.NativeMethods.efl_ui_relative_layout_relation_left_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),child, target, relative);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Specifies the right side edge of the child relative to the target. By default, target is parent and relative is 1.0.</summary>
/// <param name="target">The relative target.</param>
/// <param name="relative">The ratio between left and right of the target, ranging from 0.0 to 1.0.</param>
virtual public void GetRelationRight(Efl.Object child, out Efl.Object target, out double relative) {
- Efl.Ui.RelativeLayout.NativeMethods.efl_ui_relative_layout_relation_right_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),child, out target, out relative);
+ Efl.Ui.RelativeLayout.NativeMethods.efl_ui_relative_layout_relation_right_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),child, out target, out relative);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Specifies the right side edge of the child relative to the target. By default, target is parent and relative is 1.0.</summary>
/// <param name="target">The relative target.</param>
/// <param name="relative">The ratio between left and right of the target, ranging from 0.0 to 1.0.</param>
virtual public void SetRelationRight(Efl.Object child, Efl.Object target, double relative) {
- Efl.Ui.RelativeLayout.NativeMethods.efl_ui_relative_layout_relation_right_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),child, target, relative);
+ Efl.Ui.RelativeLayout.NativeMethods.efl_ui_relative_layout_relation_right_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),child, target, relative);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Specifies the top side edge of the child relative to the target. By default, target is parent and relative is 0.0.</summary>
/// <param name="target">The relative target.</param>
/// <param name="relative">The ratio between top and bottom of the target, ranging from 0.0 to 1.0.</param>
virtual public void GetRelationTop(Efl.Object child, out Efl.Object target, out double relative) {
- Efl.Ui.RelativeLayout.NativeMethods.efl_ui_relative_layout_relation_top_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),child, out target, out relative);
+ Efl.Ui.RelativeLayout.NativeMethods.efl_ui_relative_layout_relation_top_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),child, out target, out relative);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Specifies the top side edge of the child relative to the target. By default, target is parent and relative is 0.0.</summary>
/// <param name="target">The relative target.</param>
/// <param name="relative">The ratio between top and bottom of the target, ranging from 0.0 to 1.0.</param>
virtual public void SetRelationTop(Efl.Object child, Efl.Object target, double relative) {
- Efl.Ui.RelativeLayout.NativeMethods.efl_ui_relative_layout_relation_top_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),child, target, relative);
+ Efl.Ui.RelativeLayout.NativeMethods.efl_ui_relative_layout_relation_top_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),child, target, relative);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Specifies the bottom side edge of the child relative to the target. By default, target is parent and relative is 1.0.</summary>
/// <param name="target">The relative target.</param>
/// <param name="relative">The ratio between top and bottom of the target, ranging from 0.0 to 1.0.</param>
virtual public void GetRelationBottom(Efl.Object child, out Efl.Object target, out double relative) {
- Efl.Ui.RelativeLayout.NativeMethods.efl_ui_relative_layout_relation_bottom_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),child, out target, out relative);
+ Efl.Ui.RelativeLayout.NativeMethods.efl_ui_relative_layout_relation_bottom_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),child, out target, out relative);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Specifies the bottom side edge of the child relative to the target. By default, target is parent and relative is 1.0.</summary>
/// <param name="target">The relative target.</param>
/// <param name="relative">The ratio between top and bottom of the target, ranging from 0.0 to 1.0.</param>
virtual public void SetRelationBottom(Efl.Object child, Efl.Object target, double relative) {
- Efl.Ui.RelativeLayout.NativeMethods.efl_ui_relative_layout_relation_bottom_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),child, target, relative);
+ Efl.Ui.RelativeLayout.NativeMethods.efl_ui_relative_layout_relation_bottom_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),child, target, relative);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Begin iterating over this object's contents.
/// (Since EFL 1.22)</summary>
/// <returns>Iterator on object's content.</returns>
virtual public Eina.Iterator<Efl.Gfx.IEntity> ContentIterate() {
- var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_iterate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_iterate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true, false);
+ return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true);
}
/// <summary>Returns the number of contained sub-objects.
/// (Since EFL 1.22)</summary>
/// <returns>Number of sub-objects.</returns>
virtual public int ContentCount() {
- var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_count_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_count_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Removes all packed sub-objects and unreferences them.</summary>
/// <returns><c>true</c> on success, <c>false</c> otherwise.</returns>
virtual public bool ClearPack() {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_clear_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_clear_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Use with caution.</summary>
/// <returns><c>true</c> on success, <c>false</c> otherwise.</returns>
virtual public bool UnpackAll() {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_all_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_all_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="subobj">The sub-object to unpack.</param>
/// <returns><c>false</c> if <c>subobj</c> wasn't in the container or couldn't be removed.</returns>
virtual public bool Unpack(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="subobj">The object to pack.</param>
/// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
virtual public bool Pack(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Requests EFL to call the <see cref="Efl.IPackLayout.UpdateLayout"/> method on this object.
/// This <see cref="Efl.IPackLayout.UpdateLayout"/> may be called asynchronously.</summary>
virtual public void LayoutRequest() {
- Efl.IPackLayoutConcrete.NativeMethods.efl_pack_layout_request_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.IPackLayoutConcrete.NativeMethods.efl_pack_layout_request_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Implementation of this container's layout algorithm.
///
/// This can be overriden to implement custom layout behaviors.</summary>
virtual public void UpdateLayout() {
- Efl.IPackLayoutConcrete.NativeMethods.efl_pack_layout_update_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.IPackLayoutConcrete.NativeMethods.efl_pack_layout_update_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
private static IntPtr GetEflClassStatic()
/// <summary>EFL UI Scroll Alert Popup class</summary>
[Efl.Ui.ScrollAlertPopup.NativeMethods]
+[Efl.Eo.BindingEntity]
public class ScrollAlertPopup : Efl.Ui.AlertPopup
{
///<summary>Pointer to the native class description.</summary>
efl_ui_scroll_alert_popup_class_get();
/// <summary>Initializes a new instance of the <see cref="ScrollAlertPopup"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public ScrollAlertPopup(Efl.Object parent
- , System.String style = null) : base(efl_ui_scroll_alert_popup_class_get(), typeof(ScrollAlertPopup), parent)
+ , System.String style = null) : base(efl_ui_scroll_alert_popup_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected ScrollAlertPopup(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="ScrollAlertPopup"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected ScrollAlertPopup(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected ScrollAlertPopup(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="ScrollAlertPopup"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected ScrollAlertPopup(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected ScrollAlertPopup(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// If the given max_size is -1, then 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>
/// <returns>A 2D max size in pixel units.</returns>
virtual public Eina.Size2D GetExpandable() {
- var _ret_var = Efl.Ui.ScrollAlertPopup.NativeMethods.efl_ui_scroll_alert_popup_expandable_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.ScrollAlertPopup.NativeMethods.efl_ui_scroll_alert_popup_expandable_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <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((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_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>Get the expandable max size of popup.
/// <summary>Efl UI Scroll Alert Popup internal part class</summary>
[Efl.Ui.ScrollAlertPopupPart.NativeMethods]
+[Efl.Eo.BindingEntity]
public class ScrollAlertPopupPart : Efl.Ui.LayoutPart, Efl.IContent, Efl.IText
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="ScrollAlertPopupPart"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public ScrollAlertPopupPart(Efl.Object parent= null
- ) : base(efl_ui_scroll_alert_popup_part_class_get(), typeof(ScrollAlertPopupPart), parent)
+ ) : base(efl_ui_scroll_alert_popup_part_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected ScrollAlertPopupPart(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="ScrollAlertPopupPart"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected ScrollAlertPopupPart(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected ScrollAlertPopupPart(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="ScrollAlertPopupPart"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected ScrollAlertPopupPart(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected ScrollAlertPopupPart(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// (Since EFL 1.22)</summary>
/// <returns>The sub-object.</returns>
virtual public Efl.Gfx.IEntity GetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="content">The sub-object.</param>
/// <returns><c>true</c> if <c>content</c> was successfully swallowed.</returns>
virtual public bool SetContent(Efl.Gfx.IEntity content) {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),content);
+ 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);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Unswallowed object</returns>
virtual public Efl.Gfx.IEntity UnsetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Text string to display on it.</returns>
virtual public System.String GetText() {
- var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="text">Text string to display on it.</param>
virtual public void SetText(System.String text) {
- Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),text);
+ Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),text);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Sub-object currently set as this object's single content.
/// <summary>Efl ui scroll manager class</summary>
[Efl.Ui.Scroll.Manager.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScrollableInteractive, Efl.Ui.IScrollbar
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="Manager"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public Manager(Efl.Object parent= null
- ) : base(efl_ui_scroll_manager_class_get(), typeof(Manager), parent)
+ ) : base(efl_ui_scroll_manager_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Manager(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Manager"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Manager(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Manager(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Manager"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Manager(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Manager(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_START";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_STOP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_UP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_DOWN";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_LEFT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_RIGHT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_EDGE_UP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_EDGE_DOWN";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_EDGE_LEFT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_EDGE_RIGHT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_ANIM_START";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_DRAG_START";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Called when bar is pressed</summary>
+ /// <summary>Called when bar is pressed.</summary>
public event EventHandler<Efl.Ui.IScrollbarBarPressEvt_Args> BarPressEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
if (obj != null)
{
Efl.Ui.IScrollbarBarPressEvt_Args args = new Efl.Ui.IScrollbarBarPressEvt_Args();
- args.arg = default(Efl.Ui.ScrollbarDirection);
+ args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
try
{
value?.Invoke(obj, args);
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
Marshal.FreeHGlobal(info);
}
}
- /// <summary>Called when bar is unpressed</summary>
+ /// <summary>Called when bar is unpressed.</summary>
public event EventHandler<Efl.Ui.IScrollbarBarUnpressEvt_Args> BarUnpressEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
if (obj != null)
{
Efl.Ui.IScrollbarBarUnpressEvt_Args args = new Efl.Ui.IScrollbarBarUnpressEvt_Args();
- args.arg = default(Efl.Ui.ScrollbarDirection);
+ args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
try
{
value?.Invoke(obj, args);
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
Marshal.FreeHGlobal(info);
}
}
- /// <summary>Called when bar is dragged</summary>
+ /// <summary>Called when bar is dragged.</summary>
public event EventHandler<Efl.Ui.IScrollbarBarDragEvt_Args> BarDragEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
if (obj != null)
{
Efl.Ui.IScrollbarBarDragEvt_Args args = new Efl.Ui.IScrollbarBarDragEvt_Args();
- args.arg = default(Efl.Ui.ScrollbarDirection);
+ args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
try
{
value?.Invoke(obj, args);
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
Marshal.FreeHGlobal(info);
}
}
- /// <summary>Called when bar size is changed</summary>
+ /// <summary>Called when bar size is changed.</summary>
public event EventHandler BarSizeChangedEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Called when bar position is changed</summary>
+ /// <summary>Called when bar position is changed.</summary>
public event EventHandler BarPosChangedEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Callend when bar is shown</summary>
+ /// <summary>Callend when bar is shown.</summary>
public event EventHandler<Efl.Ui.IScrollbarBarShowEvt_Args> BarShowEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
if (obj != null)
{
Efl.Ui.IScrollbarBarShowEvt_Args args = new Efl.Ui.IScrollbarBarShowEvt_Args();
- args.arg = default(Efl.Ui.ScrollbarDirection);
+ args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
try
{
value?.Invoke(obj, args);
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
Marshal.FreeHGlobal(info);
}
}
- /// <summary>Called when bar is hidden</summary>
+ /// <summary>Called when bar is hidden.</summary>
public event EventHandler<Efl.Ui.IScrollbarBarHideEvt_Args> BarHideEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
if (obj != null)
{
Efl.Ui.IScrollbarBarHideEvt_Args args = new Efl.Ui.IScrollbarBarHideEvt_Args();
- args.arg = default(Efl.Ui.ScrollbarDirection);
+ args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
try
{
value?.Invoke(obj, args);
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// This property is protected as it is meant for scrollable object implementations only, to set and access the internal pan object. If pan is set to NULL, scrolling does not work.</summary>
/// <param name="pan">Pan object</param>
virtual protected void SetPan(Efl.Ui.Pan pan) {
- Efl.Ui.Scroll.Manager.NativeMethods.efl_ui_scroll_manager_pan_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),pan);
+ Efl.Ui.Scroll.Manager.NativeMethods.efl_ui_scroll_manager_pan_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),pan);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Whether this object should be mirrored.
/// If mirrored, an object is in RTL (right to left) mode instead of LTR (left to right).</summary>
/// <returns><c>true</c> for RTL, <c>false</c> for LTR (default).</returns>
virtual public bool GetMirrored() {
- var _ret_var = Efl.Ui.II18nConcrete.NativeMethods.efl_ui_mirrored_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.II18nConcrete.NativeMethods.efl_ui_mirrored_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// If mirrored, an object is in RTL (right to left) mode instead of LTR (left to right).</summary>
/// <param name="rtl"><c>true</c> for RTL, <c>false</c> for LTR (default).</param>
virtual public void SetMirrored(bool rtl) {
- Efl.Ui.II18nConcrete.NativeMethods.efl_ui_mirrored_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),rtl);
+ Efl.Ui.II18nConcrete.NativeMethods.efl_ui_mirrored_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),rtl);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Whether the property <see cref="Efl.Ui.II18n.Mirrored"/> should be set automatically.
/// This property may be implemented by high-level widgets (in Efl.Ui) but not by low-level widgets (in <see cref="Efl.Canvas.IScene"/>) as the configuration should affect only high-level widgets.</summary>
/// <returns>Whether the widget uses automatic mirroring</returns>
virtual public bool GetMirroredAutomatic() {
- var _ret_var = Efl.Ui.II18nConcrete.NativeMethods.efl_ui_mirrored_automatic_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.II18nConcrete.NativeMethods.efl_ui_mirrored_automatic_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This property may be implemented by high-level widgets (in Efl.Ui) but not by low-level widgets (in <see cref="Efl.Canvas.IScene"/>) as the configuration should affect only high-level widgets.</summary>
/// <param name="automatic">Whether the widget uses automatic mirroring</param>
virtual public void SetMirroredAutomatic(bool automatic) {
- Efl.Ui.II18nConcrete.NativeMethods.efl_ui_mirrored_automatic_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),automatic);
+ Efl.Ui.II18nConcrete.NativeMethods.efl_ui_mirrored_automatic_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),automatic);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gets the language for this object.</summary>
/// <returns>The current language.</returns>
virtual public System.String GetLanguage() {
- var _ret_var = Efl.Ui.II18nConcrete.NativeMethods.efl_ui_language_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.II18nConcrete.NativeMethods.efl_ui_language_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Sets the language for this object.</summary>
/// <param name="language">The current language.</param>
virtual public void SetLanguage(System.String language) {
- Efl.Ui.II18nConcrete.NativeMethods.efl_ui_language_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),language);
+ Efl.Ui.II18nConcrete.NativeMethods.efl_ui_language_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),language);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The content position</summary>
/// <returns>The position is virtual value, (0, 0) starting at the top-left.</returns>
virtual public Eina.Position2D GetContentPos() {
- var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_pos_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_pos_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="pos">The position is virtual value, (0, 0) starting at the top-left.</param>
virtual public void SetContentPos(Eina.Position2D pos) {
Eina.Position2D.NativeStruct _in_pos = pos;
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_pos_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_pos);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_pos_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_pos);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The content size</summary>
/// <returns>The content size in pixels.</returns>
virtual public Eina.Size2D GetContentSize() {
- var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>The viewport geometry</summary>
/// <returns>It is absolute geometry.</returns>
virtual public Eina.Rect GetViewportGeometry() {
- var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_viewport_geometry_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_viewport_geometry_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="horiz">Horizontal bounce policy.</param>
/// <param name="vert">Vertical bounce policy.</param>
virtual public void GetBounceEnabled(out bool horiz, out bool vert) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_bounce_enabled_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out horiz, out vert);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_bounce_enabled_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out horiz, out vert);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Bouncing behavior
/// <param name="horiz">Horizontal bounce policy.</param>
/// <param name="vert">Vertical bounce policy.</param>
virtual public void SetBounceEnabled(bool horiz, bool vert) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_bounce_enabled_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),horiz, vert);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_bounce_enabled_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),horiz, vert);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Freeze property This function will freeze scrolling movement (by input of a user). Unlike efl_ui_scrollable_movement_block_set, this function freezes bidirectionally. If you want to freeze in only one direction, See <see cref="Efl.Ui.IScrollableInteractive.SetMovementBlock"/>.</summary>
/// <returns><c>true</c> if freeze, <c>false</c> otherwise</returns>
virtual public bool GetScrollFreeze() {
- var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_freeze_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_freeze_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Freeze property This function will freeze scrolling movement (by input of a user). Unlike efl_ui_scrollable_movement_block_set, this function freezes bidirectionally. If you want to freeze in only one direction, See <see cref="Efl.Ui.IScrollableInteractive.SetMovementBlock"/>.</summary>
/// <param name="freeze"><c>true</c> if freeze, <c>false</c> otherwise</param>
virtual public void SetScrollFreeze(bool freeze) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_freeze_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),freeze);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_freeze_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),freeze);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Hold property When hold turns on, it only scrolls by holding action.</summary>
/// <returns><c>true</c> if hold, <c>false</c> otherwise</returns>
virtual public bool GetScrollHold() {
- var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_hold_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_hold_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Hold property When hold turns on, it only scrolls by holding action.</summary>
/// <param name="hold"><c>true</c> if hold, <c>false</c> otherwise</param>
virtual public void SetScrollHold(bool hold) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_hold_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),hold);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_hold_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),hold);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Controls an infinite loop for a scroller.</summary>
/// <param name="loop_h">The scrolling horizontal loop</param>
/// <param name="loop_v">The Scrolling vertical loop</param>
virtual public void GetLooping(out bool loop_h, out bool loop_v) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_looping_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out loop_h, out loop_v);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_looping_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out loop_h, out loop_v);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Controls an infinite loop for a scroller.</summary>
/// <param name="loop_h">The scrolling horizontal loop</param>
/// <param name="loop_v">The Scrolling vertical loop</param>
virtual public void SetLooping(bool loop_h, bool loop_v) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_looping_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),loop_h, loop_v);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_looping_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),loop_h, loop_v);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Blocking of scrolling (per axis)
/// This function will block scrolling movement (by input of a user) in a given direction. You can disable movements in the X axis, the Y axis or both. The default value is <c>none</c>, where movements are allowed in both directions.</summary>
/// <returns>Which axis (or axes) to block</returns>
virtual public Efl.Ui.ScrollBlock GetMovementBlock() {
- var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_movement_block_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_movement_block_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This function will block scrolling movement (by input of a user) in a given direction. You can disable movements in the X axis, the Y axis or both. The default value is <c>none</c>, where movements are allowed in both directions.</summary>
/// <param name="block">Which axis (or axes) to block</param>
virtual public void SetMovementBlock(Efl.Ui.ScrollBlock block) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_movement_block_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),block);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_movement_block_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),block);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control scrolling gravity on the scrollable
/// <param name="x">Horizontal scrolling gravity</param>
/// <param name="y">Vertical scrolling gravity</param>
virtual public void GetGravity(out double x, out double y) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_gravity_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out x, out y);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_gravity_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out x, out y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control scrolling gravity on the scrollable
/// <param name="x">Horizontal scrolling gravity</param>
/// <param name="y">Vertical scrolling gravity</param>
virtual public void SetGravity(double x, double y) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_gravity_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),x, y);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_gravity_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Prevent the scrollable from being smaller than the minimum size of the content.
/// <param name="w">Whether to limit the minimum horizontal size</param>
/// <param name="h">Whether to limit the minimum vertical size</param>
virtual public void SetMatchContent(bool w, bool h) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_match_content_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),w, h);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_match_content_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),w, h);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control the step size
/// Use this call to set step size. This value is used when scroller scroll by arrow key event.</summary>
/// <returns>The step size in pixels</returns>
virtual public Eina.Position2D GetStepSize() {
- var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_step_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_step_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="step">The step size in pixels</param>
virtual public void SetStepSize(Eina.Position2D step) {
Eina.Position2D.NativeStruct _in_step = step;
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_step_size_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_step);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_step_size_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_step);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Show a specific virtual region within the scroller content object.
/// <param name="animation">Whether to scroll with animation or not</param>
virtual public void Scroll(Eina.Rect rect, bool animation) {
Eina.Rect.NativeStruct _in_rect = rect;
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_rect, animation);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_rect, animation);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Scrollbar visibility policy</summary>
- /// <param name="hbar">Horizontal scrollbar</param>
- /// <param name="vbar">Vertical scrollbar</param>
+ /// <param name="hbar">Horizontal scrollbar.</param>
+ /// <param name="vbar">Vertical scrollbar.</param>
virtual public void GetBarMode(out Efl.Ui.ScrollbarMode hbar, out Efl.Ui.ScrollbarMode vbar) {
- Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_mode_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out hbar, out vbar);
+ Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_mode_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out hbar, out vbar);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Scrollbar visibility policy</summary>
- /// <param name="hbar">Horizontal scrollbar</param>
- /// <param name="vbar">Vertical scrollbar</param>
+ /// <param name="hbar">Horizontal scrollbar.</param>
+ /// <param name="vbar">Vertical scrollbar.</param>
virtual public void SetBarMode(Efl.Ui.ScrollbarMode hbar, Efl.Ui.ScrollbarMode vbar) {
- Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_mode_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),hbar, vbar);
+ Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_mode_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),hbar, vbar);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Scrollbar size. It is calculated based on viewport size-content sizes.</summary>
- /// <param name="width">Value between 0.0 and 1.0</param>
- /// <param name="height">Value between 0.0 and 1.0</param>
+ /// <param name="width">Value between 0.0 and 1.0.</param>
+ /// <param name="height">Value between 0.0 and 1.0.</param>
virtual public void GetBarSize(out double width, out double height) {
- Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out width, out height);
+ Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out width, out height);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Scrollbar position. It is calculated based on current position-maximum positions.</summary>
- /// <param name="posx">Value between 0.0 and 1.0</param>
- /// <param name="posy">Value between 0.0 and 1.0</param>
+ /// <param name="posx">Value between 0.0 and 1.0.</param>
+ /// <param name="posy">Value between 0.0 and 1.0.</param>
virtual public void GetBarPosition(out double posx, out double posy) {
- Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_position_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out posx, out posy);
+ Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_position_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out posx, out posy);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Scrollbar position. It is calculated based on current position-maximum positions.</summary>
- /// <param name="posx">Value between 0.0 and 1.0</param>
- /// <param name="posy">Value between 0.0 and 1.0</param>
+ /// <param name="posx">Value between 0.0 and 1.0.</param>
+ /// <param name="posy">Value between 0.0 and 1.0.</param>
virtual public void SetBarPosition(double posx, double posy) {
- Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_position_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),posx, posy);
+ Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_position_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),posx, posy);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Update bar visibility.
- /// The object will call this function whenever the bar need to be shown or hidden.</summary>
+ /// The object will call this function whenever the bar needs to be shown or hidden.</summary>
virtual public void UpdateBarVisibility() {
- Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_visibility_update_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_visibility_update_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This is the internal pan object managed by scroll manager.
/// <summary>Efl UI scrollable interface</summary>
[Efl.Ui.IScrollableConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IScrollable :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IScrollableConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_ui_scrollable_interface_get();
/// <summary>Initializes a new instance of the <see cref="IScrollable"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IScrollableConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IScrollableConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_START";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_STOP";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_UP";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_DOWN";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_LEFT";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_RIGHT";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_EDGE_UP";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_EDGE_DOWN";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_EDGE_LEFT";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_EDGE_RIGHT";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_ANIM_START";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_DRAG_START";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
/// <summary>Gets the list of Eo operations to override.</summary>
/// <returns>The list of Eo operations to be overload.</returns>
/// <summary>Direction in which a scroller should be blocked.
/// Note: These options may be effective only in case of thumbscroll (i.e. when scrolling by dragging).</summary>
+[Efl.Eo.BindingEntity]
public enum ScrollBlock
{
/// <summary>Don't block any movement.</summary>
namespace Ui {
[Efl.Ui.IScrollableInteractiveConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IScrollableInteractive :
Efl.Ui.IScrollable ,
Efl.Eo.IWrapper, IDisposable
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IScrollableInteractiveConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_ui_scrollable_interactive_interface_get();
/// <summary>Initializes a new instance of the <see cref="IScrollableInteractive"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IScrollableInteractiveConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IScrollableInteractiveConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_START";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_STOP";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_UP";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_DOWN";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_LEFT";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_RIGHT";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_EDGE_UP";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_EDGE_DOWN";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_EDGE_LEFT";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_EDGE_RIGHT";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_ANIM_START";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_DRAG_START";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
namespace Ui {
+/// <summary>Interface used by widgets which can display scrollbars, enabling them to contain more content than actually fits inside them.</summary>
[Efl.Ui.IScrollbarConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IScrollbar :
Efl.Eo.IWrapper, IDisposable
{
/// <summary>Scrollbar visibility policy</summary>
-/// <param name="hbar">Horizontal scrollbar</param>
-/// <param name="vbar">Vertical scrollbar</param>
+/// <param name="hbar">Horizontal scrollbar.</param>
+/// <param name="vbar">Vertical scrollbar.</param>
void GetBarMode(out Efl.Ui.ScrollbarMode hbar, out Efl.Ui.ScrollbarMode vbar);
/// <summary>Scrollbar visibility policy</summary>
-/// <param name="hbar">Horizontal scrollbar</param>
-/// <param name="vbar">Vertical scrollbar</param>
+/// <param name="hbar">Horizontal scrollbar.</param>
+/// <param name="vbar">Vertical scrollbar.</param>
void SetBarMode(Efl.Ui.ScrollbarMode hbar, Efl.Ui.ScrollbarMode vbar);
/// <summary>Scrollbar size. It is calculated based on viewport size-content sizes.</summary>
-/// <param name="width">Value between 0.0 and 1.0</param>
-/// <param name="height">Value between 0.0 and 1.0</param>
+/// <param name="width">Value between 0.0 and 1.0.</param>
+/// <param name="height">Value between 0.0 and 1.0.</param>
void GetBarSize(out double width, out double height);
/// <summary>Scrollbar position. It is calculated based on current position-maximum positions.</summary>
-/// <param name="posx">Value between 0.0 and 1.0</param>
-/// <param name="posy">Value between 0.0 and 1.0</param>
+/// <param name="posx">Value between 0.0 and 1.0.</param>
+/// <param name="posy">Value between 0.0 and 1.0.</param>
void GetBarPosition(out double posx, out double posy);
/// <summary>Scrollbar position. It is calculated based on current position-maximum positions.</summary>
-/// <param name="posx">Value between 0.0 and 1.0</param>
-/// <param name="posy">Value between 0.0 and 1.0</param>
+/// <param name="posx">Value between 0.0 and 1.0.</param>
+/// <param name="posy">Value between 0.0 and 1.0.</param>
void SetBarPosition(double posx, double posy);
/// <summary>Update bar visibility.
-/// The object will call this function whenever the bar need to be shown or hidden.</summary>
+/// The object will call this function whenever the bar needs to be shown or hidden.</summary>
void UpdateBarVisibility();
- /// <summary>Called when bar is pressed</summary>
+ /// <summary>Called when bar is pressed.</summary>
event EventHandler<Efl.Ui.IScrollbarBarPressEvt_Args> BarPressEvt;
- /// <summary>Called when bar is unpressed</summary>
+ /// <summary>Called when bar is unpressed.</summary>
event EventHandler<Efl.Ui.IScrollbarBarUnpressEvt_Args> BarUnpressEvt;
- /// <summary>Called when bar is dragged</summary>
+ /// <summary>Called when bar is dragged.</summary>
event EventHandler<Efl.Ui.IScrollbarBarDragEvt_Args> BarDragEvt;
- /// <summary>Called when bar size is changed</summary>
+ /// <summary>Called when bar size is changed.</summary>
event EventHandler BarSizeChangedEvt;
- /// <summary>Called when bar position is changed</summary>
+ /// <summary>Called when bar position is changed.</summary>
event EventHandler BarPosChangedEvt;
- /// <summary>Callend when bar is shown</summary>
+ /// <summary>Callend when bar is shown.</summary>
event EventHandler<Efl.Ui.IScrollbarBarShowEvt_Args> BarShowEvt;
- /// <summary>Called when bar is hidden</summary>
+ /// <summary>Called when bar is hidden.</summary>
event EventHandler<Efl.Ui.IScrollbarBarHideEvt_Args> BarHideEvt;
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.IScrollbar.BarPressEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IScrollbarBarPressEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Ui.ScrollbarDirection arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.IScrollbar.BarUnpressEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IScrollbarBarUnpressEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Ui.ScrollbarDirection arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.IScrollbar.BarDragEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IScrollbarBarDragEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Ui.ScrollbarDirection arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.IScrollbar.BarShowEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IScrollbarBarShowEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Ui.ScrollbarDirection arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.IScrollbar.BarHideEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class IScrollbarBarHideEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Ui.ScrollbarDirection arg { get; set; }
}
+/// <summary>Interface used by widgets which can display scrollbars, enabling them to contain more content than actually fits inside them.</summary>
sealed public class IScrollbarConcrete :
Efl.Eo.EoWrapper
, IScrollbar
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IScrollbarConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_ui_scrollbar_interface_get();
/// <summary>Initializes a new instance of the <see cref="IScrollbar"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IScrollbarConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IScrollbarConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
- /// <summary>Called when bar is pressed</summary>
+ /// <summary>Called when bar is pressed.</summary>
public event EventHandler<Efl.Ui.IScrollbarBarPressEvt_Args> BarPressEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
if (obj != null)
{
Efl.Ui.IScrollbarBarPressEvt_Args args = new Efl.Ui.IScrollbarBarPressEvt_Args();
- args.arg = default(Efl.Ui.ScrollbarDirection);
+ args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
try
{
value?.Invoke(obj, args);
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
Marshal.FreeHGlobal(info);
}
}
- /// <summary>Called when bar is unpressed</summary>
+ /// <summary>Called when bar is unpressed.</summary>
public event EventHandler<Efl.Ui.IScrollbarBarUnpressEvt_Args> BarUnpressEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
if (obj != null)
{
Efl.Ui.IScrollbarBarUnpressEvt_Args args = new Efl.Ui.IScrollbarBarUnpressEvt_Args();
- args.arg = default(Efl.Ui.ScrollbarDirection);
+ args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
try
{
value?.Invoke(obj, args);
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
Marshal.FreeHGlobal(info);
}
}
- /// <summary>Called when bar is dragged</summary>
+ /// <summary>Called when bar is dragged.</summary>
public event EventHandler<Efl.Ui.IScrollbarBarDragEvt_Args> BarDragEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
if (obj != null)
{
Efl.Ui.IScrollbarBarDragEvt_Args args = new Efl.Ui.IScrollbarBarDragEvt_Args();
- args.arg = default(Efl.Ui.ScrollbarDirection);
+ args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
try
{
value?.Invoke(obj, args);
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
Marshal.FreeHGlobal(info);
}
}
- /// <summary>Called when bar size is changed</summary>
+ /// <summary>Called when bar size is changed.</summary>
public event EventHandler BarSizeChangedEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Called when bar position is changed</summary>
+ /// <summary>Called when bar position is changed.</summary>
public event EventHandler BarPosChangedEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Callend when bar is shown</summary>
+ /// <summary>Callend when bar is shown.</summary>
public event EventHandler<Efl.Ui.IScrollbarBarShowEvt_Args> BarShowEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
if (obj != null)
{
Efl.Ui.IScrollbarBarShowEvt_Args args = new Efl.Ui.IScrollbarBarShowEvt_Args();
- args.arg = default(Efl.Ui.ScrollbarDirection);
+ args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
try
{
value?.Invoke(obj, args);
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
Marshal.FreeHGlobal(info);
}
}
- /// <summary>Called when bar is hidden</summary>
+ /// <summary>Called when bar is hidden.</summary>
public event EventHandler<Efl.Ui.IScrollbarBarHideEvt_Args> BarHideEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
if (obj != null)
{
Efl.Ui.IScrollbarBarHideEvt_Args args = new Efl.Ui.IScrollbarBarHideEvt_Args();
- args.arg = default(Efl.Ui.ScrollbarDirection);
+ args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
try
{
value?.Invoke(obj, args);
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
}
}
/// <summary>Scrollbar visibility policy</summary>
- /// <param name="hbar">Horizontal scrollbar</param>
- /// <param name="vbar">Vertical scrollbar</param>
+ /// <param name="hbar">Horizontal scrollbar.</param>
+ /// <param name="vbar">Vertical scrollbar.</param>
public void GetBarMode(out Efl.Ui.ScrollbarMode hbar, out Efl.Ui.ScrollbarMode vbar) {
Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_mode_get_ptr.Value.Delegate(this.NativeHandle,out hbar, out vbar);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Scrollbar visibility policy</summary>
- /// <param name="hbar">Horizontal scrollbar</param>
- /// <param name="vbar">Vertical scrollbar</param>
+ /// <param name="hbar">Horizontal scrollbar.</param>
+ /// <param name="vbar">Vertical scrollbar.</param>
public void SetBarMode(Efl.Ui.ScrollbarMode hbar, Efl.Ui.ScrollbarMode vbar) {
Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_mode_set_ptr.Value.Delegate(this.NativeHandle,hbar, vbar);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Scrollbar size. It is calculated based on viewport size-content sizes.</summary>
- /// <param name="width">Value between 0.0 and 1.0</param>
- /// <param name="height">Value between 0.0 and 1.0</param>
+ /// <param name="width">Value between 0.0 and 1.0.</param>
+ /// <param name="height">Value between 0.0 and 1.0.</param>
public void GetBarSize(out double width, out double height) {
Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_size_get_ptr.Value.Delegate(this.NativeHandle,out width, out height);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Scrollbar position. It is calculated based on current position-maximum positions.</summary>
- /// <param name="posx">Value between 0.0 and 1.0</param>
- /// <param name="posy">Value between 0.0 and 1.0</param>
+ /// <param name="posx">Value between 0.0 and 1.0.</param>
+ /// <param name="posy">Value between 0.0 and 1.0.</param>
public void GetBarPosition(out double posx, out double posy) {
Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_position_get_ptr.Value.Delegate(this.NativeHandle,out posx, out posy);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Scrollbar position. It is calculated based on current position-maximum positions.</summary>
- /// <param name="posx">Value between 0.0 and 1.0</param>
- /// <param name="posy">Value between 0.0 and 1.0</param>
+ /// <param name="posx">Value between 0.0 and 1.0.</param>
+ /// <param name="posy">Value between 0.0 and 1.0.</param>
public void SetBarPosition(double posx, double posy) {
Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_position_set_ptr.Value.Delegate(this.NativeHandle,posx, posy);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Update bar visibility.
- /// The object will call this function whenever the bar need to be shown or hidden.</summary>
+ /// The object will call this function whenever the bar needs to be shown or hidden.</summary>
public void UpdateBarVisibility() {
Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_visibility_update_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
namespace Ui {
+/// <summary>When should the scrollbar be shown.</summary>
+[Efl.Eo.BindingEntity]
public enum ScrollbarMode
{
/// <summary>Visible if necessary</summary>
namespace Ui {
+/// <summary>What kind of scrollbar is this.</summary>
+[Efl.Eo.BindingEntity]
public enum ScrollbarDirection
{
+/// <summary>Goes along the X axis.</summary>
Horizontal = 0,
+/// <summary>Goes along the Y axis.</summary>
Vertical = 1,
+/// <summary>For internal use only</summary>
Last = 2,
}
/// <summary>Efl ui scroller class</summary>
[Efl.Ui.Scroller.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui.IScrollableInteractive, Efl.Ui.IScrollbar, Efl.Ui.IWidgetFocusManager, Efl.Ui.Focus.IManager, Efl.Ui.Focus.IManagerSub
{
///<summary>Pointer to the native class description.</summary>
efl_ui_scroller_class_get();
/// <summary>Initializes a new instance of the <see cref="Scroller"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public Scroller(Efl.Object parent
- , System.String style = null) : base(efl_ui_scroller_class_get(), typeof(Scroller), parent)
+ , System.String style = null) : base(efl_ui_scroller_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Scroller(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Scroller"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Scroller(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Scroller(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Scroller"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Scroller(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Scroller(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_START";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_STOP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_UP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_DOWN";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_LEFT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_RIGHT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_EDGE_UP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_EDGE_DOWN";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_EDGE_LEFT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_EDGE_RIGHT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_ANIM_START";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_DRAG_START";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Called when bar is pressed</summary>
+ /// <summary>Called when bar is pressed.</summary>
public event EventHandler<Efl.Ui.IScrollbarBarPressEvt_Args> BarPressEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
if (obj != null)
{
Efl.Ui.IScrollbarBarPressEvt_Args args = new Efl.Ui.IScrollbarBarPressEvt_Args();
- args.arg = default(Efl.Ui.ScrollbarDirection);
+ args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
try
{
value?.Invoke(obj, args);
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
Marshal.FreeHGlobal(info);
}
}
- /// <summary>Called when bar is unpressed</summary>
+ /// <summary>Called when bar is unpressed.</summary>
public event EventHandler<Efl.Ui.IScrollbarBarUnpressEvt_Args> BarUnpressEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
if (obj != null)
{
Efl.Ui.IScrollbarBarUnpressEvt_Args args = new Efl.Ui.IScrollbarBarUnpressEvt_Args();
- args.arg = default(Efl.Ui.ScrollbarDirection);
+ args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
try
{
value?.Invoke(obj, args);
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
Marshal.FreeHGlobal(info);
}
}
- /// <summary>Called when bar is dragged</summary>
+ /// <summary>Called when bar is dragged.</summary>
public event EventHandler<Efl.Ui.IScrollbarBarDragEvt_Args> BarDragEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
if (obj != null)
{
Efl.Ui.IScrollbarBarDragEvt_Args args = new Efl.Ui.IScrollbarBarDragEvt_Args();
- args.arg = default(Efl.Ui.ScrollbarDirection);
+ args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
try
{
value?.Invoke(obj, args);
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
Marshal.FreeHGlobal(info);
}
}
- /// <summary>Called when bar size is changed</summary>
+ /// <summary>Called when bar size is changed.</summary>
public event EventHandler BarSizeChangedEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Called when bar position is changed</summary>
+ /// <summary>Called when bar position is changed.</summary>
public event EventHandler BarPosChangedEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Callend when bar is shown</summary>
+ /// <summary>Callend when bar is shown.</summary>
public event EventHandler<Efl.Ui.IScrollbarBarShowEvt_Args> BarShowEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
if (obj != null)
{
Efl.Ui.IScrollbarBarShowEvt_Args args = new Efl.Ui.IScrollbarBarShowEvt_Args();
- args.arg = default(Efl.Ui.ScrollbarDirection);
+ args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
try
{
value?.Invoke(obj, args);
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
Marshal.FreeHGlobal(info);
}
}
- /// <summary>Called when bar is hidden</summary>
+ /// <summary>Called when bar is hidden.</summary>
public event EventHandler<Efl.Ui.IScrollbarBarHideEvt_Args> BarHideEvt
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
if (obj != null)
{
Efl.Ui.IScrollbarBarHideEvt_Args args = new Efl.Ui.IScrollbarBarHideEvt_Args();
- args.arg = default(Efl.Ui.ScrollbarDirection);
+ args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
try
{
value?.Invoke(obj, args);
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_REDIRECT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_FLUSH_PRE";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_COORDS_DIRTY";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_MANAGER_FOCUS_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_DIRTY_LOGIC_FREEZE_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// (Since EFL 1.22)</summary>
/// <returns>The sub-object.</returns>
virtual public Efl.Gfx.IEntity GetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="content">The sub-object.</param>
/// <returns><c>true</c> if <c>content</c> was successfully swallowed.</returns>
virtual public bool SetContent(Efl.Gfx.IEntity content) {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),content);
+ 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);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Unswallowed object</returns>
virtual public Efl.Gfx.IEntity UnsetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>The content position</summary>
/// <returns>The position is virtual value, (0, 0) starting at the top-left.</returns>
virtual public Eina.Position2D GetContentPos() {
- var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_pos_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_pos_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="pos">The position is virtual value, (0, 0) starting at the top-left.</param>
virtual public void SetContentPos(Eina.Position2D pos) {
Eina.Position2D.NativeStruct _in_pos = pos;
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_pos_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_pos);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_pos_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_pos);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The content size</summary>
/// <returns>The content size in pixels.</returns>
virtual public Eina.Size2D GetContentSize() {
- var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>The viewport geometry</summary>
/// <returns>It is absolute geometry.</returns>
virtual public Eina.Rect GetViewportGeometry() {
- var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_viewport_geometry_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_viewport_geometry_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="horiz">Horizontal bounce policy.</param>
/// <param name="vert">Vertical bounce policy.</param>
virtual public void GetBounceEnabled(out bool horiz, out bool vert) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_bounce_enabled_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out horiz, out vert);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_bounce_enabled_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out horiz, out vert);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Bouncing behavior
/// <param name="horiz">Horizontal bounce policy.</param>
/// <param name="vert">Vertical bounce policy.</param>
virtual public void SetBounceEnabled(bool horiz, bool vert) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_bounce_enabled_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),horiz, vert);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_bounce_enabled_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),horiz, vert);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Freeze property This function will freeze scrolling movement (by input of a user). Unlike efl_ui_scrollable_movement_block_set, this function freezes bidirectionally. If you want to freeze in only one direction, See <see cref="Efl.Ui.IScrollableInteractive.SetMovementBlock"/>.</summary>
/// <returns><c>true</c> if freeze, <c>false</c> otherwise</returns>
virtual public bool GetScrollFreeze() {
- var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_freeze_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_freeze_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Freeze property This function will freeze scrolling movement (by input of a user). Unlike efl_ui_scrollable_movement_block_set, this function freezes bidirectionally. If you want to freeze in only one direction, See <see cref="Efl.Ui.IScrollableInteractive.SetMovementBlock"/>.</summary>
/// <param name="freeze"><c>true</c> if freeze, <c>false</c> otherwise</param>
virtual public void SetScrollFreeze(bool freeze) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_freeze_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),freeze);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_freeze_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),freeze);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Hold property When hold turns on, it only scrolls by holding action.</summary>
/// <returns><c>true</c> if hold, <c>false</c> otherwise</returns>
virtual public bool GetScrollHold() {
- var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_hold_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_hold_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Hold property When hold turns on, it only scrolls by holding action.</summary>
/// <param name="hold"><c>true</c> if hold, <c>false</c> otherwise</param>
virtual public void SetScrollHold(bool hold) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_hold_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),hold);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_hold_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),hold);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Controls an infinite loop for a scroller.</summary>
/// <param name="loop_h">The scrolling horizontal loop</param>
/// <param name="loop_v">The Scrolling vertical loop</param>
virtual public void GetLooping(out bool loop_h, out bool loop_v) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_looping_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out loop_h, out loop_v);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_looping_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out loop_h, out loop_v);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Controls an infinite loop for a scroller.</summary>
/// <param name="loop_h">The scrolling horizontal loop</param>
/// <param name="loop_v">The Scrolling vertical loop</param>
virtual public void SetLooping(bool loop_h, bool loop_v) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_looping_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),loop_h, loop_v);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_looping_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),loop_h, loop_v);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Blocking of scrolling (per axis)
/// This function will block scrolling movement (by input of a user) in a given direction. You can disable movements in the X axis, the Y axis or both. The default value is <c>none</c>, where movements are allowed in both directions.</summary>
/// <returns>Which axis (or axes) to block</returns>
virtual public Efl.Ui.ScrollBlock GetMovementBlock() {
- var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_movement_block_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_movement_block_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This function will block scrolling movement (by input of a user) in a given direction. You can disable movements in the X axis, the Y axis or both. The default value is <c>none</c>, where movements are allowed in both directions.</summary>
/// <param name="block">Which axis (or axes) to block</param>
virtual public void SetMovementBlock(Efl.Ui.ScrollBlock block) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_movement_block_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),block);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_movement_block_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),block);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control scrolling gravity on the scrollable
/// <param name="x">Horizontal scrolling gravity</param>
/// <param name="y">Vertical scrolling gravity</param>
virtual public void GetGravity(out double x, out double y) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_gravity_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out x, out y);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_gravity_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out x, out y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control scrolling gravity on the scrollable
/// <param name="x">Horizontal scrolling gravity</param>
/// <param name="y">Vertical scrolling gravity</param>
virtual public void SetGravity(double x, double y) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_gravity_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),x, y);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_gravity_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Prevent the scrollable from being smaller than the minimum size of the content.
/// <param name="w">Whether to limit the minimum horizontal size</param>
/// <param name="h">Whether to limit the minimum vertical size</param>
virtual public void SetMatchContent(bool w, bool h) {
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_match_content_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),w, h);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_match_content_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),w, h);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control the step size
/// Use this call to set step size. This value is used when scroller scroll by arrow key event.</summary>
/// <returns>The step size in pixels</returns>
virtual public Eina.Position2D GetStepSize() {
- var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_step_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_step_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="step">The step size in pixels</param>
virtual public void SetStepSize(Eina.Position2D step) {
Eina.Position2D.NativeStruct _in_step = step;
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_step_size_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_step);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_step_size_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_step);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Show a specific virtual region within the scroller content object.
/// <param name="animation">Whether to scroll with animation or not</param>
virtual public void Scroll(Eina.Rect rect, bool animation) {
Eina.Rect.NativeStruct _in_rect = rect;
- Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_rect, animation);
+ Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_rect, animation);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Scrollbar visibility policy</summary>
- /// <param name="hbar">Horizontal scrollbar</param>
- /// <param name="vbar">Vertical scrollbar</param>
+ /// <param name="hbar">Horizontal scrollbar.</param>
+ /// <param name="vbar">Vertical scrollbar.</param>
virtual public void GetBarMode(out Efl.Ui.ScrollbarMode hbar, out Efl.Ui.ScrollbarMode vbar) {
- Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_mode_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out hbar, out vbar);
+ Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_mode_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out hbar, out vbar);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Scrollbar visibility policy</summary>
- /// <param name="hbar">Horizontal scrollbar</param>
- /// <param name="vbar">Vertical scrollbar</param>
+ /// <param name="hbar">Horizontal scrollbar.</param>
+ /// <param name="vbar">Vertical scrollbar.</param>
virtual public void SetBarMode(Efl.Ui.ScrollbarMode hbar, Efl.Ui.ScrollbarMode vbar) {
- Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_mode_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),hbar, vbar);
+ Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_mode_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),hbar, vbar);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Scrollbar size. It is calculated based on viewport size-content sizes.</summary>
- /// <param name="width">Value between 0.0 and 1.0</param>
- /// <param name="height">Value between 0.0 and 1.0</param>
+ /// <param name="width">Value between 0.0 and 1.0.</param>
+ /// <param name="height">Value between 0.0 and 1.0.</param>
virtual public void GetBarSize(out double width, out double height) {
- Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out width, out height);
+ Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out width, out height);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Scrollbar position. It is calculated based on current position-maximum positions.</summary>
- /// <param name="posx">Value between 0.0 and 1.0</param>
- /// <param name="posy">Value between 0.0 and 1.0</param>
+ /// <param name="posx">Value between 0.0 and 1.0.</param>
+ /// <param name="posy">Value between 0.0 and 1.0.</param>
virtual public void GetBarPosition(out double posx, out double posy) {
- Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_position_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out posx, out posy);
+ Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_position_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out posx, out posy);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Scrollbar position. It is calculated based on current position-maximum positions.</summary>
- /// <param name="posx">Value between 0.0 and 1.0</param>
- /// <param name="posy">Value between 0.0 and 1.0</param>
+ /// <param name="posx">Value between 0.0 and 1.0.</param>
+ /// <param name="posy">Value between 0.0 and 1.0.</param>
virtual public void SetBarPosition(double posx, double posy) {
- Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_position_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),posx, posy);
+ Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_position_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),posx, posy);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Update bar visibility.
- /// The object will call this function whenever the bar need to be shown or hidden.</summary>
+ /// The object will call this function whenever the bar needs to be shown or hidden.</summary>
virtual public void UpdateBarVisibility() {
- Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_visibility_update_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_visibility_update_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>If the widget needs a focus manager, this function will be called.
/// <param name="root">The logical root object for focus.</param>
/// <returns>The focus manager.</returns>
virtual public Efl.Ui.Focus.IManager FocusManagerCreate(Efl.Ui.Focus.IObject root) {
- var _ret_var = Efl.Ui.IWidgetFocusManagerConcrete.NativeMethods.efl_ui_widget_focus_manager_create_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),root);
+ var _ret_var = Efl.Ui.IWidgetFocusManagerConcrete.NativeMethods.efl_ui_widget_focus_manager_create_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),root);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Currently focused element.</returns>
virtual public Efl.Ui.Focus.IObject GetManagerFocus() {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_focus_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_focus_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="focus">Currently focused element.</param>
virtual public void SetManagerFocus(Efl.Ui.Focus.IObject focus) {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_focus_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),focus);
+ Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_focus_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),focus);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Add another manager to serve the move requests.
/// (Since EFL 1.22)</summary>
/// <returns>The redirect manager.</returns>
virtual public Efl.Ui.Focus.IManager GetRedirect() {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_redirect_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_redirect_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="redirect">The redirect manager.</param>
virtual public void SetRedirect(Efl.Ui.Focus.IManager redirect) {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_redirect_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),redirect);
+ Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_redirect_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),redirect);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The list of elements which are at the border of the graph.
/// (Since EFL 1.22)</summary>
/// <returns>An iterator over the border objects.</returns>
virtual public Eina.Iterator<Efl.Ui.Focus.IObject> GetBorderElements() {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_border_elements_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_border_elements_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false, false);
+ return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false);
}
/// <summary>Get all elements that are at the border of the viewport
/// Every element returned by this is located inside the viewport rectangle, but has a right, left, down or up neighbor outside the viewport.
/// <returns>The list of border objects.</returns>
virtual public Eina.Iterator<Efl.Ui.Focus.IObject> GetViewportElements(Eina.Rect viewport) {
Eina.Rect.NativeStruct _in_viewport = viewport;
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_viewport_elements_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_viewport);
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_viewport_elements_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_viewport);
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false, false);
+ return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false);
}
/// <summary>Root node for all logical subtrees.
/// This property can only be set once.
/// (Since EFL 1.22)</summary>
/// <returns>Will be registered into this manager object.</returns>
virtual public Efl.Ui.Focus.IObject GetRoot() {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_root_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_root_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="root">Will be registered into this manager object.</param>
/// <returns>If <c>true</c>, this is the root node</returns>
virtual public bool SetRoot(Efl.Ui.Focus.IObject root) {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_root_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),root);
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_root_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),root);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="direction">The direction to move to.</param>
/// <returns>The element which is now focused.</returns>
virtual public Efl.Ui.Focus.IObject Move(Efl.Ui.Focus.Direction direction) {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_move_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),direction);
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_move_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),direction);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="logical">Wether you want to have a logical node as result or a non-logical. Note, in a <see cref="Efl.Ui.Focus.IManager.Move"/> call no logical node will get focus.</param>
/// <returns>Object that would receive focus if moved in the given direction.</returns>
virtual public Efl.Ui.Focus.IObject MoveRequest(Efl.Ui.Focus.Direction direction, Efl.Ui.Focus.IObject child, bool logical) {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_request_move_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),direction, child, logical);
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_request_move_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),direction, child, logical);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="root">Parent for returned child.</param>
/// <returns>Child of passed parameter.</returns>
virtual public Efl.Ui.Focus.IObject RequestSubchild(Efl.Ui.Focus.IObject root) {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_request_subchild_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),root);
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_request_subchild_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),root);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="child">The child object to inspect.</param>
/// <returns>The list of relations starting from <c>child</c>.</returns>
virtual public Efl.Ui.Focus.Relations Fetch(Efl.Ui.Focus.IObject child) {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_fetch_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),child);
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_fetch_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),child);
Eina.Error.RaiseIfUnhandledException();
var __ret_tmp = Eina.PrimitiveConversion.PointerToManaged<Efl.Ui.Focus.Relations>(_ret_var);
Marshal.FreeHGlobal(_ret_var);
/// (Since EFL 1.22)</summary>
/// <returns>Last object.</returns>
virtual public Efl.Ui.Focus.ManagerLogicalEndDetail LogicalEnd() {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_logical_end_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_logical_end_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// You should focus another element immediately after calling this, in order to always have a focused object.
/// (Since EFL 1.22)</summary>
virtual public void ResetHistory() {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_reset_history_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_reset_history_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Remove the uppermost history element, and focus the previous one.
/// If there is an element that was focused before, it will be used. Otherwise, the best fitting element from the registered elements will be focused.
/// (Since EFL 1.22)</summary>
virtual public void PopHistoryStack() {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_pop_history_stack_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_pop_history_stack_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Called when this manager is set as redirect.
/// <param name="direction">The direction in which this should be setup.</param>
/// <param name="entry">The object that caused this manager to be redirect.</param>
virtual public void SetupOnFirstTouch(Efl.Ui.Focus.Direction direction, Efl.Ui.Focus.IObject entry) {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_setup_on_first_touch_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),direction, entry);
+ Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_setup_on_first_touch_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),direction, entry);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This disables the cache invalidation when an object is moved.
/// Even if an object is moved, the focus manager will not recalculate its relations. This can be used when you know that the set of widgets in the focus manager is moved the same way, so the relations between the widets in the set do not change and the complex calculations can be avoided. Use <see cref="Efl.Ui.Focus.IManager.DirtyLogicUnfreeze"/> to re-enable relationship calculation.
/// (Since EFL 1.22)</summary>
virtual public void FreezeDirtyLogic() {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_dirty_logic_freeze_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_dirty_logic_freeze_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This enables the cache invalidation when an object is moved.
/// This is the counterpart to <see cref="Efl.Ui.Focus.IManager.FreezeDirtyLogic"/>.
/// (Since EFL 1.22)</summary>
virtual public void DirtyLogicUnfreeze() {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_dirty_logic_unfreeze_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_dirty_logic_unfreeze_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Sub-object currently set as this object's single content.
/// <summary>Efl UI selectable interface</summary>
[Efl.Ui.ISelectableConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface ISelectable :
Efl.Eo.IWrapper, IDisposable
{
event EventHandler SelectionClearedEvt;
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.ISelectable.ItemSelectedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class ISelectableItemSelectedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Object arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.ISelectable.ItemUnselectedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class ISelectableItemUnselectedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Object arg { get; set; }
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private ISelectableConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_ui_selectable_interface_get();
/// <summary>Initializes a new instance of the <see cref="ISelectable"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private ISelectableConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private ISelectableConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_ITEM_SELECTED";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_ITEM_UNSELECTED";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SELECTION_PASTE";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SELECTION_COPY";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SELECTION_CUT";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SELECTION_START";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SELECTION_CHANGED";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SELECTION_CLEARED";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
/// <summary>Gets the list of Eo operations to override.</summary>
/// <returns>The list of Eo operations to be overload.</returns>
/// <summary>Efl Ui Selection class</summary>
[Efl.Ui.ISelectionConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface ISelection :
Efl.Eo.IWrapper, IDisposable
{
event EventHandler<Efl.Ui.ISelectionWmSelectionChangedEvt_Args> WmSelectionChangedEvt;
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.ISelection.WmSelectionChangedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class ISelectionWmSelectionChangedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Ui.SelectionChanged arg { get; set; }
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private ISelectionConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
efl_ui_selection_mixin_get();
/// <summary>Initializes a new instance of the <see cref="ISelection"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private ISelectionConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private ISelectionConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SELECTION_EVENT_WM_SELECTION_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <param name="obj">Object which requested for the selection</param>
/// <param name="seldata">Selection data</param>
+[Efl.Eo.BindingEntity]
public delegate void SelectionDataReady(Efl.Object obj, ref Efl.Ui.SelectionData seldata);
public delegate void SelectionDataReadyInternal(IntPtr data, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Object obj, ref Efl.Ui.SelectionData.NativeStruct seldata);
internal class SelectionDataReadyWrapper : IDisposable
namespace Ui {
/// <summary>Selection type</summary>
+[Efl.Eo.BindingEntity]
public enum SelectionType
{
/// <summary>Primary text selection (highlighted or selected text)</summary>
namespace Ui {
/// <summary>Selection format</summary>
+[Efl.Eo.BindingEntity]
public enum SelectionFormat
{
/// <summary>For matching every possible atom</summary>
namespace Ui {
/// <summary>Defines the kind of action associated with the drop data</summary>
+[Efl.Eo.BindingEntity]
public enum SelectionAction
{
/// <summary>Action type is unknown</summary>
/// <summary>Structure holding the info about selected data</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct SelectionData
{
/// <summary>Coordinates of the drop (DND operations only)</summary>
namespace Ui {
+/// <summary>Selection-changed specific information.</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct SelectionChanged
{
/// <summary>Selection type</summary>
/// <summary>Elementary slider class</summary>
[Efl.Ui.Slider.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Slider : Efl.Ui.LayoutBase, Efl.Access.IValue, Efl.Ui.ILayoutOrientable, Efl.Ui.IRangeDisplay, Efl.Ui.IRangeInteractive
{
///<summary>Pointer to the native class description.</summary>
efl_ui_slider_class_get();
/// <summary>Initializes a new instance of the <see cref="Slider"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public Slider(Efl.Object parent
- , System.String style = null) : base(efl_ui_slider_class_get(), typeof(Slider), parent)
+ , System.String style = null) : base(efl_ui_slider_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Slider(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Slider"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Slider(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Slider(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Slider"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Slider(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Slider(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SLIDER_EVENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SLIDER_EVENT_STEADY";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SLIDER_EVENT_SLIDER_DRAG_START";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SLIDER_EVENT_SLIDER_DRAG_STOP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// <param name="value">Value of widget casted to floating point number.</param>
/// <param name="text">string describing value in given context eg. small, enough</param>
virtual public void GetValueAndText(out double value, out System.String text) {
- Efl.Access.IValueConcrete.NativeMethods.efl_access_value_and_text_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out value, out text);
+ Efl.Access.IValueConcrete.NativeMethods.efl_access_value_and_text_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out value, out text);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Value and text property</summary>
/// <param name="text">string describing value in given context eg. small, enough</param>
/// <returns><c>true</c> if setting widgets value has succeeded, otherwise <c>false</c> .</returns>
virtual public bool SetValueAndText(double value, System.String text) {
- var _ret_var = Efl.Access.IValueConcrete.NativeMethods.efl_access_value_and_text_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),value, text);
+ var _ret_var = Efl.Access.IValueConcrete.NativeMethods.efl_access_value_and_text_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),value, text);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="upper_limit">Upper limit of the range</param>
/// <param name="description">Description of the range</param>
virtual public void GetRange(out double lower_limit, out double upper_limit, out System.String description) {
- Efl.Access.IValueConcrete.NativeMethods.efl_access_value_range_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out lower_limit, out upper_limit, out description);
+ Efl.Access.IValueConcrete.NativeMethods.efl_access_value_range_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out lower_limit, out upper_limit, out description);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gets an minimal incrementation value</summary>
/// <returns>Minimal incrementation value</returns>
virtual public double GetIncrement() {
- var _ret_var = Efl.Access.IValueConcrete.NativeMethods.efl_access_value_increment_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Access.IValueConcrete.NativeMethods.efl_access_value_increment_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Mirroring as defined in <see cref="Efl.Ui.II18n"/> can invert the <c>horizontal</c> direction: it is <c>ltr</c> by default, but becomes <c>rtl</c> if the object is mirrored.</summary>
/// <returns>Direction of the widget.</returns>
virtual public Efl.Ui.LayoutOrientation GetOrientation() {
- var _ret_var = Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Mirroring as defined in <see cref="Efl.Ui.II18n"/> can invert the <c>horizontal</c> direction: it is <c>ltr</c> by default, but becomes <c>rtl</c> if the object is mirrored.</summary>
/// <param name="dir">Direction of the widget.</param>
virtual public void SetOrientation(Efl.Ui.LayoutOrientation dir) {
- Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dir);
+ Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dir);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control the range value (in percentage) on a given range widget
/// Note: If you pass a value out of the specified interval for <c>val</c>, it will be interpreted as the closest of the boundary values in the interval.</summary>
/// <returns>The range value (must be between $0.0 and 1.0)</returns>
virtual public double GetRangeValue() {
- var _ret_var = Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_value_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_value_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Note: If you pass a value out of the specified interval for <c>val</c>, it will be interpreted as the closest of the boundary values in the interval.</summary>
/// <param name="val">The range value (must be between $0.0 and 1.0)</param>
virtual public void SetRangeValue(double val) {
- Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_value_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),val);
+ Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_value_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),val);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the minimum and maximum values of the given range widget.
/// <param name="min">The minimum value.</param>
/// <param name="max">The maximum value.</param>
virtual public void GetRangeLimits(out double min, out double max) {
- Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_limits_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out min, out max);
+ Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_limits_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out min, out max);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the minimum and maximum values for given range widget.
/// <param name="min">The minimum value.</param>
/// <param name="max">The maximum value.</param>
virtual public void SetRangeLimits(double min, double max) {
- Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_limits_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),min, max);
+ Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_limits_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),min, max);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control the step used to increment or decrement values for given widget.
/// Warning: The step value should be bigger than 0.</summary>
/// <returns>The step value.</returns>
virtual public double GetRangeStep() {
- var _ret_var = Efl.Ui.IRangeInteractiveConcrete.NativeMethods.efl_ui_range_step_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IRangeInteractiveConcrete.NativeMethods.efl_ui_range_step_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Warning: The step value should be bigger than 0.</summary>
/// <param name="step">The step value.</param>
virtual public void SetRangeStep(double step) {
- Efl.Ui.IRangeInteractiveConcrete.NativeMethods.efl_ui_range_step_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),step);
+ Efl.Ui.IRangeInteractiveConcrete.NativeMethods.efl_ui_range_step_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),step);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gets an minimal incrementation value</summary>
/// <summary>An interval slider.
/// This is a slider with two indicators.</summary>
[Efl.Ui.SliderInterval.NativeMethods]
+[Efl.Eo.BindingEntity]
public class SliderInterval : Efl.Ui.Slider
{
///<summary>Pointer to the native class description.</summary>
efl_ui_slider_interval_class_get();
/// <summary>Initializes a new instance of the <see cref="SliderInterval"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public SliderInterval(Efl.Object parent
- , System.String style = null) : base(efl_ui_slider_interval_class_get(), typeof(SliderInterval), parent)
+ , System.String style = null) : base(efl_ui_slider_interval_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected SliderInterval(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="SliderInterval"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected SliderInterval(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected SliderInterval(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="SliderInterval"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected SliderInterval(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected SliderInterval(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <param name="from">interval minimum value</param>
/// <param name="to">interval maximum value</param>
virtual public void GetIntervalValue(out double from, out double to) {
- Efl.Ui.SliderInterval.NativeMethods.efl_ui_slider_interval_value_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out from, out to);
+ Efl.Ui.SliderInterval.NativeMethods.efl_ui_slider_interval_value_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out from, out to);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Sets up position of two indicators at start and end position.</summary>
/// <param name="from">interval minimum value</param>
/// <param name="to">interval maximum value</param>
virtual public void SetIntervalValue(double from, double to) {
- Efl.Ui.SliderInterval.NativeMethods.efl_ui_slider_interval_value_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),from, to);
+ Efl.Ui.SliderInterval.NativeMethods.efl_ui_slider_interval_value_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),from, to);
Eina.Error.RaiseIfUnhandledException();
}
private static IntPtr GetEflClassStatic()
namespace Ui {
/// <summary>A Spin.
-/// This is a widget which allows the user to increase or decrease numeric values using user interactions. It's a basic type of widget for choosing and displaying values.</summary>
+/// This is a widget which allows the user to increase or decrease a numeric value using arrow buttons. It's a basic type of widget for choosing and displaying values.</summary>
[Efl.Ui.Spin.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Spin : Efl.Ui.LayoutBase, Efl.Access.IValue, Efl.Ui.IFormat, Efl.Ui.IRangeDisplay, Efl.Ui.IRangeInteractive
{
///<summary>Pointer to the native class description.</summary>
efl_ui_spin_class_get();
/// <summary>Initializes a new instance of the <see cref="Spin"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public Spin(Efl.Object parent
- , System.String style = null) : base(efl_ui_spin_class_get(), typeof(Spin), parent)
+ , System.String style = null) : base(efl_ui_spin_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Spin(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Spin"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Spin(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Spin(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Spin"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Spin(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Spin(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SPIN_EVENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SPIN_EVENT_MIN_REACHED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SPIN_EVENT_MAX_REACHED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Control special string to display in the place of the numerical value.
- /// It's useful for cases when a user should select an item that is better indicated by a label than a value. For example, weekdays or months.
- ///
- /// Note: If another label was previously set to <c>value</c>, it will be replaced by the new label.</summary>
- /// <returns>The array of special values, or NULL if none</returns>
- virtual public Eina.Array<Efl.Ui.SpinSpecialValue> GetSpecialValue() {
- var _ret_var = Efl.Ui.Spin.NativeMethods.efl_ui_spin_special_value_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
- Eina.Error.RaiseIfUnhandledException();
- return new Eina.Array<Efl.Ui.SpinSpecialValue>(_ret_var, false, false);
- }
- /// <summary>Control special string to display in the place of the numerical value.
- /// It's useful for cases when a user should select an item that is better indicated by a label than a value. For example, weekdays or months.
- ///
- /// Note: If another label was previously set to <c>value</c>, it will be replaced by the new label.</summary>
- /// <param name="values">The array of special values, or NULL if none</param>
- virtual public void SetSpecialValue(Eina.Array<Efl.Ui.SpinSpecialValue> values) {
- var _in_values = values.Handle;
- Efl.Ui.Spin.NativeMethods.efl_ui_spin_special_value_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_values);
- Eina.Error.RaiseIfUnhandledException();
- }
/// <summary>Gets value displayed by a accessible widget.</summary>
/// <param name="value">Value of widget casted to floating point number.</param>
/// <param name="text">string describing value in given context eg. small, enough</param>
virtual public void GetValueAndText(out double value, out System.String text) {
- Efl.Access.IValueConcrete.NativeMethods.efl_access_value_and_text_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out value, out text);
+ Efl.Access.IValueConcrete.NativeMethods.efl_access_value_and_text_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out value, out text);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Value and text property</summary>
/// <param name="text">string describing value in given context eg. small, enough</param>
/// <returns><c>true</c> if setting widgets value has succeeded, otherwise <c>false</c> .</returns>
virtual public bool SetValueAndText(double value, System.String text) {
- var _ret_var = Efl.Access.IValueConcrete.NativeMethods.efl_access_value_and_text_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),value, text);
+ var _ret_var = Efl.Access.IValueConcrete.NativeMethods.efl_access_value_and_text_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),value, text);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="upper_limit">Upper limit of the range</param>
/// <param name="description">Description of the range</param>
virtual public void GetRange(out double lower_limit, out double upper_limit, out System.String description) {
- Efl.Access.IValueConcrete.NativeMethods.efl_access_value_range_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out lower_limit, out upper_limit, out description);
+ Efl.Access.IValueConcrete.NativeMethods.efl_access_value_range_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out lower_limit, out upper_limit, out description);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gets an minimal incrementation value</summary>
/// <returns>Minimal incrementation value</returns>
virtual public double GetIncrement() {
- var _ret_var = Efl.Access.IValueConcrete.NativeMethods.efl_access_value_increment_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Access.IValueConcrete.NativeMethods.efl_access_value_increment_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
- /// <summary>Set the format function pointer to format the string.</summary>
- /// <param name="func">The format function callback</param>
- virtual public void SetFormatCb(Efl.Ui.FormatFuncCb func) {
+ /// <summary>User-provided function which takes care of converting an <see cref="Eina.Value"/> into a text string. The user is then completely in control of how the string is generated, but it is the most cumbersome method to use. If the conversion fails the other mechanisms will be tried, according to their priorities.</summary>
+ /// <returns>User-provided formatting function.</returns>
+ virtual public Efl.Ui.FormatFunc GetFormatFunc() {
+ var _ret_var = Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_func_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>User-provided function which takes care of converting an <see cref="Eina.Value"/> into a text string. The user is then completely in control of how the string is generated, but it is the most cumbersome method to use. If the conversion fails the other mechanisms will be tried, according to their priorities.</summary>
+ /// <param name="func">User-provided formatting function.</param>
+ virtual public void SetFormatFunc(Efl.Ui.FormatFunc func) {
GCHandle func_handle = GCHandle.Alloc(func);
- Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_cb_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),GCHandle.ToIntPtr(func_handle), Efl.Ui.FormatFuncCbWrapper.Cb, Efl.Eo.Globals.free_gchandle);
+ Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_func_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),GCHandle.ToIntPtr(func_handle), Efl.Ui.FormatFuncWrapper.Cb, Efl.Eo.Globals.free_gchandle);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>User-provided list of values which are to be rendered using specific text strings. This is more convenient to use than <see cref="Efl.Ui.IFormat.FormatFunc"/> and is perfectly suited for cases where the strings make more sense than the numerical values. For example, weekday names ("Monday", "Tuesday", ...) are friendlier than numbers 1 to 7. If a value is not found in the list, the other mechanisms will be tried according to their priorities. List members do not need to be in any particular order. They are sorted internally for performance reasons.</summary>
+ /// <returns>Accessor over a list of value-text pairs. The method will dispose of the accessor, but not of its contents. For convenience, Eina offers a range of helper methods to obtain accessors from Eina.Array, Eina.List or even plain C arrays.</returns>
+ virtual public Eina.Accessor<Efl.Ui.FormatValue> GetFormatValues() {
+ var _ret_var = Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_values_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return new Eina.Accessor<Efl.Ui.FormatValue>(_ret_var, false);
+ }
+ /// <summary>User-provided list of values which are to be rendered using specific text strings. This is more convenient to use than <see cref="Efl.Ui.IFormat.FormatFunc"/> and is perfectly suited for cases where the strings make more sense than the numerical values. For example, weekday names ("Monday", "Tuesday", ...) are friendlier than numbers 1 to 7. If a value is not found in the list, the other mechanisms will be tried according to their priorities. List members do not need to be in any particular order. They are sorted internally for performance reasons.</summary>
+ /// <param name="values">Accessor over a list of value-text pairs. The method will dispose of the accessor, but not of its contents. For convenience, Eina offers a range of helper methods to obtain accessors from Eina.Array, Eina.List or even plain C arrays.</param>
+ virtual public void SetFormatValues(Eina.Accessor<Efl.Ui.FormatValue> values) {
+ var _in_values = values.Handle;
+ Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_values_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_values);
Eina.Error.RaiseIfUnhandledException();
}
- /// <summary>Control the format string for a given units label
- /// If <c>NULL</c> is passed to <c>format</c>, it will hide <c>obj</c>'s units area completely. If not, it'll set the <b>format string</b> for the units label text. The units label is provided as a floating point value, so the units text can display at most one floating point value. Note that the units label is optional. Use a format string such as "%1.2f meters" for example.
+ /// <summary>A user-provided, string used to format the numerical value.
+ /// For example, "%1.2f meters", "%.0%%" or "%d items".
+ ///
+ /// This is the simplest formatting mechanism, working pretty much like <c>printf</c>.
///
- /// Note: The default format string is an integer percentage, as in $"%.0f %%".</summary>
- /// <returns>The format string for <c>obj</c>'s units label.</returns>
- virtual public System.String GetFormatString() {
- var _ret_var = Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_string_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ /// Different format specifiers (the character after the %) are available, depending on the <c>type</c> used. Use <see cref="Efl.Ui.FormatStringType.Simple"/> for simple numerical values and <see cref="Efl.Ui.FormatStringType.Time"/> for time and date values. For instance, %d means "integer" when the first type is used, but it means "day of the month as a decimal number" in the second.
+ ///
+ /// Pass <c>NULL</c> to disable this mechanism.</summary>
+ /// <param name="kw_string">Formatting string containing regular characters and format specifiers.</param>
+ /// <param name="type">Type of formatting string, which controls how the different format specifiers are to be traslated.</param>
+ virtual public void GetFormatString(out System.String kw_string, out Efl.Ui.FormatStringType type) {
+ Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_string_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out kw_string, out type);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>A user-provided, string used to format the numerical value.
+ /// For example, "%1.2f meters", "%.0%%" or "%d items".
+ ///
+ /// This is the simplest formatting mechanism, working pretty much like <c>printf</c>.
+ ///
+ /// Different format specifiers (the character after the %) are available, depending on the <c>type</c> used. Use <see cref="Efl.Ui.FormatStringType.Simple"/> for simple numerical values and <see cref="Efl.Ui.FormatStringType.Time"/> for time and date values. For instance, %d means "integer" when the first type is used, but it means "day of the month as a decimal number" in the second.
+ ///
+ /// Pass <c>NULL</c> to disable this mechanism.</summary>
+ /// <param name="kw_string">Formatting string containing regular characters and format specifiers.</param>
+ /// <param name="type">Type of formatting string, which controls how the different format specifiers are to be traslated.</param>
+ virtual public void SetFormatString(System.String kw_string, Efl.Ui.FormatStringType type) {
+ Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_string_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),kw_string, type);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Internal method to be used by widgets including this mixin to perform the conversion from the internal numerical value into the text representation (Users of these widgets do not need to call this method).
+ /// <see cref="Efl.Ui.IFormat.GetFormattedValue"/> uses any user-provided mechanism to perform the conversion, according to their priorities, and implements a simple fallback if all mechanisms fail.</summary>
+ /// <param name="str">Output formatted string. Its contents will be overwritten by this method.</param>
+ /// <param name="value">The <see cref="Eina.Value"/> to convert to text.</param>
+ virtual public void GetFormattedValue(Eina.Strbuf str, Eina.Value value) {
+ Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_formatted_value_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),str, value);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Internal method to be used by widgets including this mixin. It can only be used when a <see cref="Efl.Ui.IFormat.GetFormatString"/> has been supplied, and it returns the number of decimal places that the format string will produce for floating point values.
+ /// For example, "%.2f" returns 2, and "%d" returns 0;</summary>
+ /// <returns>Number of decimal places, or 0 for non-floating point types.</returns>
+ virtual public int GetDecimalPlaces() {
+ var _ret_var = Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_decimal_places_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
- /// <summary>Control the format string for a given units label
- /// If <c>NULL</c> is passed to <c>format</c>, it will hide <c>obj</c>'s units area completely. If not, it'll set the <b>format string</b> for the units label text. The units label is provided as a floating point value, so the units text can display at most one floating point value. Note that the units label is optional. Use a format string such as "%1.2f meters" for example.
- ///
- /// Note: The default format string is an integer percentage, as in $"%.0f %%".</summary>
- /// <param name="units">The format string for <c>obj</c>'s units label.</param>
- virtual public void SetFormatString(System.String units) {
- Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_string_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),units);
+ /// <summary>Internal method to be implemented by widgets including this mixin.
+ /// The mixin will call this method to signal the widget that the formatting has changed and therefore the current value should be converted and rendered again. Widgets must typically call <see cref="Efl.Ui.IFormat.GetFormattedValue"/> and display the returned string. This is something they are already doing (whenever the value changes, for example) so there should be no extra code written to implement this method.</summary>
+ virtual public void ApplyFormattedValue() {
+ Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_apply_formatted_value_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
- }
+ }
/// <summary>Control the range value (in percentage) on a given range widget
/// Use this call to set range levels.
///
/// Note: If you pass a value out of the specified interval for <c>val</c>, it will be interpreted as the closest of the boundary values in the interval.</summary>
/// <returns>The range value (must be between $0.0 and 1.0)</returns>
virtual public double GetRangeValue() {
- var _ret_var = Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_value_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_value_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Note: If you pass a value out of the specified interval for <c>val</c>, it will be interpreted as the closest of the boundary values in the interval.</summary>
/// <param name="val">The range value (must be between $0.0 and 1.0)</param>
virtual public void SetRangeValue(double val) {
- Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_value_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),val);
+ Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_value_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),val);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the minimum and maximum values of the given range widget.
/// <param name="min">The minimum value.</param>
/// <param name="max">The maximum value.</param>
virtual public void GetRangeLimits(out double min, out double max) {
- Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_limits_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out min, out max);
+ Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_limits_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out min, out max);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the minimum and maximum values for given range widget.
/// <param name="min">The minimum value.</param>
/// <param name="max">The maximum value.</param>
virtual public void SetRangeLimits(double min, double max) {
- Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_limits_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),min, max);
+ Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_limits_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),min, max);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control the step used to increment or decrement values for given widget.
/// Warning: The step value should be bigger than 0.</summary>
/// <returns>The step value.</returns>
virtual public double GetRangeStep() {
- var _ret_var = Efl.Ui.IRangeInteractiveConcrete.NativeMethods.efl_ui_range_step_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IRangeInteractiveConcrete.NativeMethods.efl_ui_range_step_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Warning: The step value should be bigger than 0.</summary>
/// <param name="step">The step value.</param>
virtual public void SetRangeStep(double step) {
- Efl.Ui.IRangeInteractiveConcrete.NativeMethods.efl_ui_range_step_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),step);
+ Efl.Ui.IRangeInteractiveConcrete.NativeMethods.efl_ui_range_step_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),step);
Eina.Error.RaiseIfUnhandledException();
}
- /// <summary>Control special string to display in the place of the numerical value.
- /// It's useful for cases when a user should select an item that is better indicated by a label than a value. For example, weekdays or months.
- ///
- /// Note: If another label was previously set to <c>value</c>, it will be replaced by the new label.</summary>
- /// <value>The array of special values, or NULL if none</value>
- public Eina.Array<Efl.Ui.SpinSpecialValue> SpecialValue {
- get { return GetSpecialValue(); }
- set { SetSpecialValue(value); }
- }
/// <summary>Gets an minimal incrementation value</summary>
/// <value>Minimal incrementation value</value>
public double Increment {
get { return GetIncrement(); }
}
- /// <summary>Set the format function pointer to format the string.</summary>
- /// <value>The format function callback</value>
- public Efl.Ui.FormatFuncCb FormatCb {
- set { SetFormatCb(value); }
+ /// <summary>User-provided function which takes care of converting an <see cref="Eina.Value"/> into a text string. The user is then completely in control of how the string is generated, but it is the most cumbersome method to use. If the conversion fails the other mechanisms will be tried, according to their priorities.</summary>
+ /// <value>User-provided formatting function.</value>
+ public Efl.Ui.FormatFunc FormatFunc {
+ get { return GetFormatFunc(); }
+ set { SetFormatFunc(value); }
}
- /// <summary>Control the format string for a given units label
- /// If <c>NULL</c> is passed to <c>format</c>, it will hide <c>obj</c>'s units area completely. If not, it'll set the <b>format string</b> for the units label text. The units label is provided as a floating point value, so the units text can display at most one floating point value. Note that the units label is optional. Use a format string such as "%1.2f meters" for example.
- ///
- /// Note: The default format string is an integer percentage, as in $"%.0f %%".</summary>
- /// <value>The format string for <c>obj</c>'s units label.</value>
- public System.String FormatString {
- get { return GetFormatString(); }
- set { SetFormatString(value); }
+ /// <summary>User-provided list of values which are to be rendered using specific text strings. This is more convenient to use than <see cref="Efl.Ui.IFormat.FormatFunc"/> and is perfectly suited for cases where the strings make more sense than the numerical values. For example, weekday names ("Monday", "Tuesday", ...) are friendlier than numbers 1 to 7. If a value is not found in the list, the other mechanisms will be tried according to their priorities. List members do not need to be in any particular order. They are sorted internally for performance reasons.</summary>
+ /// <value>Accessor over a list of value-text pairs. The method will dispose of the accessor, but not of its contents. For convenience, Eina offers a range of helper methods to obtain accessors from Eina.Array, Eina.List or even plain C arrays.</value>
+ public Eina.Accessor<Efl.Ui.FormatValue> FormatValues {
+ get { return GetFormatValues(); }
+ set { SetFormatValues(value); }
}
/// <summary>Control the range value (in percentage) on a given range widget
/// Use this call to set range levels.
var descs = new System.Collections.Generic.List<Efl_Op_Description>();
var methods = Efl.Eo.Globals.GetUserMethods(type);
- if (efl_ui_spin_special_value_get_static_delegate == null)
- {
- efl_ui_spin_special_value_get_static_delegate = new efl_ui_spin_special_value_get_delegate(special_value_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetSpecialValue") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spin_special_value_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spin_special_value_get_static_delegate) });
- }
-
- if (efl_ui_spin_special_value_set_static_delegate == null)
- {
- efl_ui_spin_special_value_set_static_delegate = new efl_ui_spin_special_value_set_delegate(special_value_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetSpecialValue") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spin_special_value_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spin_special_value_set_static_delegate) });
- }
-
if (efl_access_value_and_text_get_static_delegate == null)
{
efl_access_value_and_text_get_static_delegate = new efl_access_value_and_text_get_delegate(value_and_text_get);
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_value_increment_get"), func = Marshal.GetFunctionPointerForDelegate(efl_access_value_increment_get_static_delegate) });
}
- if (efl_ui_format_cb_set_static_delegate == null)
+ if (efl_ui_format_func_get_static_delegate == null)
+ {
+ efl_ui_format_func_get_static_delegate = new efl_ui_format_func_get_delegate(format_func_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetFormatFunc") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_func_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_func_get_static_delegate) });
+ }
+
+ if (efl_ui_format_func_set_static_delegate == null)
{
- efl_ui_format_cb_set_static_delegate = new efl_ui_format_cb_set_delegate(format_cb_set);
+ efl_ui_format_func_set_static_delegate = new efl_ui_format_func_set_delegate(format_func_set);
}
- if (methods.FirstOrDefault(m => m.Name == "SetFormatCb") != null)
+ if (methods.FirstOrDefault(m => m.Name == "SetFormatFunc") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_cb_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_cb_set_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_func_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_func_set_static_delegate) });
+ }
+
+ if (efl_ui_format_values_get_static_delegate == null)
+ {
+ efl_ui_format_values_get_static_delegate = new efl_ui_format_values_get_delegate(format_values_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetFormatValues") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_values_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_values_get_static_delegate) });
+ }
+
+ if (efl_ui_format_values_set_static_delegate == null)
+ {
+ efl_ui_format_values_set_static_delegate = new efl_ui_format_values_set_delegate(format_values_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetFormatValues") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_values_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_values_set_static_delegate) });
}
if (efl_ui_format_string_get_static_delegate == null)
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_string_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_string_set_static_delegate) });
}
+ if (efl_ui_format_formatted_value_get_static_delegate == null)
+ {
+ efl_ui_format_formatted_value_get_static_delegate = new efl_ui_format_formatted_value_get_delegate(formatted_value_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetFormattedValue") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_formatted_value_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_formatted_value_get_static_delegate) });
+ }
+
+ if (efl_ui_format_decimal_places_get_static_delegate == null)
+ {
+ efl_ui_format_decimal_places_get_static_delegate = new efl_ui_format_decimal_places_get_delegate(decimal_places_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetDecimalPlaces") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_decimal_places_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_decimal_places_get_static_delegate) });
+ }
+
+ if (efl_ui_format_apply_formatted_value_static_delegate == null)
+ {
+ efl_ui_format_apply_formatted_value_static_delegate = new efl_ui_format_apply_formatted_value_delegate(apply_formatted_value);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "ApplyFormattedValue") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_apply_formatted_value"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_apply_formatted_value_static_delegate) });
+ }
+
if (efl_ui_range_value_get_static_delegate == null)
{
efl_ui_range_value_get_static_delegate = new efl_ui_range_value_get_delegate(range_value_get);
#pragma warning disable CA1707, CS1591, SA1300, SA1600
- private delegate System.IntPtr efl_ui_spin_special_value_get_delegate(System.IntPtr obj, System.IntPtr pd);
+ private delegate void efl_access_value_and_text_get_delegate(System.IntPtr obj, System.IntPtr pd, out double value, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String text);
- public delegate System.IntPtr efl_ui_spin_special_value_get_api_delegate(System.IntPtr obj);
+ public delegate void efl_access_value_and_text_get_api_delegate(System.IntPtr obj, out double value, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String text);
- public static Efl.Eo.FunctionWrapper<efl_ui_spin_special_value_get_api_delegate> efl_ui_spin_special_value_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spin_special_value_get_api_delegate>(Module, "efl_ui_spin_special_value_get");
+ public static Efl.Eo.FunctionWrapper<efl_access_value_and_text_get_api_delegate> efl_access_value_and_text_get_ptr = new Efl.Eo.FunctionWrapper<efl_access_value_and_text_get_api_delegate>(Module, "efl_access_value_and_text_get");
- private static System.IntPtr special_value_get(System.IntPtr obj, System.IntPtr pd)
+ private static void value_and_text_get(System.IntPtr obj, System.IntPtr pd, out double value, out System.String text)
{
- Eina.Log.Debug("function efl_ui_spin_special_value_get was called");
+ Eina.Log.Debug("function efl_access_value_and_text_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- Eina.Array<Efl.Ui.SpinSpecialValue> _ret_var = default(Eina.Array<Efl.Ui.SpinSpecialValue>);
+ value = default(double); System.String _out_text = default(System.String);
+
try
{
- _ret_var = ((Spin)ws.Target).GetSpecialValue();
+ ((Spin)ws.Target).GetValueAndText(out value, out _out_text);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
- return _ret_var.Handle;
+ text = _out_text;
+
+ }
+ else
+ {
+ efl_access_value_and_text_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out value, out text);
+ }
+ }
+
+ private static efl_access_value_and_text_get_delegate efl_access_value_and_text_get_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_access_value_and_text_set_delegate(System.IntPtr obj, System.IntPtr pd, double value, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String text);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_access_value_and_text_set_api_delegate(System.IntPtr obj, double value, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String text);
+
+ public static Efl.Eo.FunctionWrapper<efl_access_value_and_text_set_api_delegate> efl_access_value_and_text_set_ptr = new Efl.Eo.FunctionWrapper<efl_access_value_and_text_set_api_delegate>(Module, "efl_access_value_and_text_set");
+
+ private static bool value_and_text_set(System.IntPtr obj, System.IntPtr pd, double value, System.String text)
+ {
+ Eina.Log.Debug("function efl_access_value_and_text_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((Spin)ws.Target).SetValueAndText(value, text);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
}
else
{
- return efl_ui_spin_special_value_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ return efl_access_value_and_text_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), value, text);
}
}
- private static efl_ui_spin_special_value_get_delegate efl_ui_spin_special_value_get_static_delegate;
+ private static efl_access_value_and_text_set_delegate efl_access_value_and_text_set_static_delegate;
- private delegate void efl_ui_spin_special_value_set_delegate(System.IntPtr obj, System.IntPtr pd, System.IntPtr values);
+ private delegate void efl_access_value_range_get_delegate(System.IntPtr obj, System.IntPtr pd, out double lower_limit, out double upper_limit, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String description);
- public delegate void efl_ui_spin_special_value_set_api_delegate(System.IntPtr obj, System.IntPtr values);
+ public delegate void efl_access_value_range_get_api_delegate(System.IntPtr obj, out double lower_limit, out double upper_limit, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String description);
- public static Efl.Eo.FunctionWrapper<efl_ui_spin_special_value_set_api_delegate> efl_ui_spin_special_value_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spin_special_value_set_api_delegate>(Module, "efl_ui_spin_special_value_set");
+ public static Efl.Eo.FunctionWrapper<efl_access_value_range_get_api_delegate> efl_access_value_range_get_ptr = new Efl.Eo.FunctionWrapper<efl_access_value_range_get_api_delegate>(Module, "efl_access_value_range_get");
- private static void special_value_set(System.IntPtr obj, System.IntPtr pd, System.IntPtr values)
+ private static void range_get(System.IntPtr obj, System.IntPtr pd, out double lower_limit, out double upper_limit, out System.String description)
{
- Eina.Log.Debug("function efl_ui_spin_special_value_set was called");
+ Eina.Log.Debug("function efl_access_value_range_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- var _in_values = new Eina.Array<Efl.Ui.SpinSpecialValue>(values, false, false);
-
+ lower_limit = default(double); upper_limit = default(double); System.String _out_description = default(System.String);
+
try
{
- ((Spin)ws.Target).SetSpecialValue(_in_values);
+ ((Spin)ws.Target).GetRange(out lower_limit, out upper_limit, out _out_description);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+ description = _out_description;
+
}
else
{
- efl_ui_spin_special_value_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), values);
+ efl_access_value_range_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out lower_limit, out upper_limit, out description);
}
}
- private static efl_ui_spin_special_value_set_delegate efl_ui_spin_special_value_set_static_delegate;
+ private static efl_access_value_range_get_delegate efl_access_value_range_get_static_delegate;
- private delegate void efl_access_value_and_text_get_delegate(System.IntPtr obj, System.IntPtr pd, out double value, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String text);
+ private delegate double efl_access_value_increment_get_delegate(System.IntPtr obj, System.IntPtr pd);
- public delegate void efl_access_value_and_text_get_api_delegate(System.IntPtr obj, out double value, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String text);
+ public delegate double efl_access_value_increment_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<efl_access_value_and_text_get_api_delegate> efl_access_value_and_text_get_ptr = new Efl.Eo.FunctionWrapper<efl_access_value_and_text_get_api_delegate>(Module, "efl_access_value_and_text_get");
+ public static Efl.Eo.FunctionWrapper<efl_access_value_increment_get_api_delegate> efl_access_value_increment_get_ptr = new Efl.Eo.FunctionWrapper<efl_access_value_increment_get_api_delegate>(Module, "efl_access_value_increment_get");
- private static void value_and_text_get(System.IntPtr obj, System.IntPtr pd, out double value, out System.String text)
+ private static double increment_get(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function efl_access_value_and_text_get was called");
+ Eina.Log.Debug("function efl_access_value_increment_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- value = default(double); System.String _out_text = default(System.String);
-
+ double _ret_var = default(double);
try
{
- ((Spin)ws.Target).GetValueAndText(out value, out _out_text);
+ _ret_var = ((Spin)ws.Target).GetIncrement();
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
- text = _out_text;
-
+ return _ret_var;
+
}
else
{
- efl_access_value_and_text_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out value, out text);
+ return efl_access_value_increment_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
- private static efl_access_value_and_text_get_delegate efl_access_value_and_text_get_static_delegate;
+ private static efl_access_value_increment_get_delegate efl_access_value_increment_get_static_delegate;
- [return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_access_value_and_text_set_delegate(System.IntPtr obj, System.IntPtr pd, double value, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String text);
+
+ private delegate Efl.Ui.FormatFunc efl_ui_format_func_get_delegate(System.IntPtr obj, System.IntPtr pd);
- [return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_access_value_and_text_set_api_delegate(System.IntPtr obj, double value, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String text);
+
+ public delegate Efl.Ui.FormatFunc efl_ui_format_func_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<efl_access_value_and_text_set_api_delegate> efl_access_value_and_text_set_ptr = new Efl.Eo.FunctionWrapper<efl_access_value_and_text_set_api_delegate>(Module, "efl_access_value_and_text_set");
+ public static Efl.Eo.FunctionWrapper<efl_ui_format_func_get_api_delegate> efl_ui_format_func_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_func_get_api_delegate>(Module, "efl_ui_format_func_get");
- private static bool value_and_text_set(System.IntPtr obj, System.IntPtr pd, double value, System.String text)
+ private static Efl.Ui.FormatFunc format_func_get(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function efl_access_value_and_text_set was called");
+ Eina.Log.Debug("function efl_ui_format_func_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- bool _ret_var = default(bool);
+ Efl.Ui.FormatFunc _ret_var = default(Efl.Ui.FormatFunc);
try
{
- _ret_var = ((Spin)ws.Target).SetValueAndText(value, text);
+ _ret_var = ((Spin)ws.Target).GetFormatFunc();
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
- return _ret_var;
+ return _ret_var;
}
else
{
- return efl_access_value_and_text_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), value, text);
+ return efl_ui_format_func_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
- private static efl_access_value_and_text_set_delegate efl_access_value_and_text_set_static_delegate;
+ private static efl_ui_format_func_get_delegate efl_ui_format_func_get_static_delegate;
- private delegate void efl_access_value_range_get_delegate(System.IntPtr obj, System.IntPtr pd, out double lower_limit, out double upper_limit, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String description);
+ private delegate void efl_ui_format_func_set_delegate(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, Efl.Ui.FormatFuncInternal func, EinaFreeCb func_free_cb);
- public delegate void efl_access_value_range_get_api_delegate(System.IntPtr obj, out double lower_limit, out double upper_limit, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String description);
+ public delegate void efl_ui_format_func_set_api_delegate(System.IntPtr obj, IntPtr func_data, Efl.Ui.FormatFuncInternal func, EinaFreeCb func_free_cb);
- public static Efl.Eo.FunctionWrapper<efl_access_value_range_get_api_delegate> efl_access_value_range_get_ptr = new Efl.Eo.FunctionWrapper<efl_access_value_range_get_api_delegate>(Module, "efl_access_value_range_get");
+ public static Efl.Eo.FunctionWrapper<efl_ui_format_func_set_api_delegate> efl_ui_format_func_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_func_set_api_delegate>(Module, "efl_ui_format_func_set");
- private static void range_get(System.IntPtr obj, System.IntPtr pd, out double lower_limit, out double upper_limit, out System.String description)
+ private static void format_func_set(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, Efl.Ui.FormatFuncInternal func, EinaFreeCb func_free_cb)
{
- Eina.Log.Debug("function efl_access_value_range_get was called");
+ Eina.Log.Debug("function efl_ui_format_func_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- lower_limit = default(double); upper_limit = default(double); System.String _out_description = default(System.String);
-
+ Efl.Ui.FormatFuncWrapper func_wrapper = new Efl.Ui.FormatFuncWrapper(func, func_data, func_free_cb);
+
try
{
- ((Spin)ws.Target).GetRange(out lower_limit, out upper_limit, out _out_description);
+ ((Spin)ws.Target).SetFormatFunc(func_wrapper.ManagedCb);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
- description = _out_description;
-
+
}
else
{
- efl_access_value_range_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out lower_limit, out upper_limit, out description);
+ efl_ui_format_func_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), func_data, func, func_free_cb);
}
}
- private static efl_access_value_range_get_delegate efl_access_value_range_get_static_delegate;
+ private static efl_ui_format_func_set_delegate efl_ui_format_func_set_static_delegate;
- private delegate double efl_access_value_increment_get_delegate(System.IntPtr obj, System.IntPtr pd);
+ private delegate System.IntPtr efl_ui_format_values_get_delegate(System.IntPtr obj, System.IntPtr pd);
- public delegate double efl_access_value_increment_get_api_delegate(System.IntPtr obj);
+ public delegate System.IntPtr efl_ui_format_values_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<efl_access_value_increment_get_api_delegate> efl_access_value_increment_get_ptr = new Efl.Eo.FunctionWrapper<efl_access_value_increment_get_api_delegate>(Module, "efl_access_value_increment_get");
+ public static Efl.Eo.FunctionWrapper<efl_ui_format_values_get_api_delegate> efl_ui_format_values_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_values_get_api_delegate>(Module, "efl_ui_format_values_get");
- private static double increment_get(System.IntPtr obj, System.IntPtr pd)
+ private static System.IntPtr format_values_get(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function efl_access_value_increment_get was called");
+ Eina.Log.Debug("function efl_ui_format_values_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- double _ret_var = default(double);
+ Eina.Accessor<Efl.Ui.FormatValue> _ret_var = default(Eina.Accessor<Efl.Ui.FormatValue>);
try
{
- _ret_var = ((Spin)ws.Target).GetIncrement();
+ _ret_var = ((Spin)ws.Target).GetFormatValues();
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
- return _ret_var;
+ return _ret_var.Handle;
}
else
{
- return efl_access_value_increment_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ return efl_ui_format_values_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
- private static efl_access_value_increment_get_delegate efl_access_value_increment_get_static_delegate;
+ private static efl_ui_format_values_get_delegate efl_ui_format_values_get_static_delegate;
- private delegate void efl_ui_format_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, Efl.Ui.FormatFuncCbInternal func, EinaFreeCb func_free_cb);
+ private delegate void efl_ui_format_values_set_delegate(System.IntPtr obj, System.IntPtr pd, System.IntPtr values);
- public delegate void efl_ui_format_cb_set_api_delegate(System.IntPtr obj, IntPtr func_data, Efl.Ui.FormatFuncCbInternal func, EinaFreeCb func_free_cb);
+ public delegate void efl_ui_format_values_set_api_delegate(System.IntPtr obj, System.IntPtr values);
- public static Efl.Eo.FunctionWrapper<efl_ui_format_cb_set_api_delegate> efl_ui_format_cb_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_cb_set_api_delegate>(Module, "efl_ui_format_cb_set");
+ public static Efl.Eo.FunctionWrapper<efl_ui_format_values_set_api_delegate> efl_ui_format_values_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_values_set_api_delegate>(Module, "efl_ui_format_values_set");
- private static void format_cb_set(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, Efl.Ui.FormatFuncCbInternal func, EinaFreeCb func_free_cb)
+ private static void format_values_set(System.IntPtr obj, System.IntPtr pd, System.IntPtr values)
{
- Eina.Log.Debug("function efl_ui_format_cb_set was called");
+ Eina.Log.Debug("function efl_ui_format_values_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- Efl.Ui.FormatFuncCbWrapper func_wrapper = new Efl.Ui.FormatFuncCbWrapper(func, func_data, func_free_cb);
-
+ var _in_values = new Eina.Accessor<Efl.Ui.FormatValue>(values, false);
+
try
{
- ((Spin)ws.Target).SetFormatCb(func_wrapper.ManagedCb);
+ ((Spin)ws.Target).SetFormatValues(_in_values);
}
catch (Exception e)
{
}
else
{
- efl_ui_format_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), func_data, func, func_free_cb);
+ efl_ui_format_values_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), values);
}
}
- private static efl_ui_format_cb_set_delegate efl_ui_format_cb_set_static_delegate;
+ private static efl_ui_format_values_set_delegate efl_ui_format_values_set_static_delegate;
- [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
- private delegate System.String efl_ui_format_string_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ private delegate void efl_ui_format_string_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String kw_string, out Efl.Ui.FormatStringType type);
- [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
- public delegate System.String efl_ui_format_string_get_api_delegate(System.IntPtr obj);
+
+ public delegate void efl_ui_format_string_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String kw_string, out Efl.Ui.FormatStringType type);
public static Efl.Eo.FunctionWrapper<efl_ui_format_string_get_api_delegate> efl_ui_format_string_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_string_get_api_delegate>(Module, "efl_ui_format_string_get");
- private static System.String format_string_get(System.IntPtr obj, System.IntPtr pd)
+ private static void format_string_get(System.IntPtr obj, System.IntPtr pd, out System.String kw_string, out Efl.Ui.FormatStringType type)
{
Eina.Log.Debug("function efl_ui_format_string_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- System.String _ret_var = default(System.String);
+ System.String _out_kw_string = default(System.String);
+ type = default(Efl.Ui.FormatStringType);
try
{
- _ret_var = ((Spin)ws.Target).GetFormatString();
+ ((Spin)ws.Target).GetFormatString(out _out_kw_string, out type);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
- return _ret_var;
-
+ kw_string = _out_kw_string;
+
}
else
{
- return efl_ui_format_string_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ efl_ui_format_string_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out kw_string, out type);
}
}
private static efl_ui_format_string_get_delegate efl_ui_format_string_get_static_delegate;
- private delegate void efl_ui_format_string_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String units);
+ private delegate void efl_ui_format_string_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String kw_string, Efl.Ui.FormatStringType type);
- public delegate void efl_ui_format_string_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String units);
+ public delegate void efl_ui_format_string_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String kw_string, Efl.Ui.FormatStringType type);
public static Efl.Eo.FunctionWrapper<efl_ui_format_string_set_api_delegate> efl_ui_format_string_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_string_set_api_delegate>(Module, "efl_ui_format_string_set");
- private static void format_string_set(System.IntPtr obj, System.IntPtr pd, System.String units)
+ private static void format_string_set(System.IntPtr obj, System.IntPtr pd, System.String kw_string, Efl.Ui.FormatStringType type)
{
Eina.Log.Debug("function efl_ui_format_string_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
-
+
try
{
- ((Spin)ws.Target).SetFormatString(units);
+ ((Spin)ws.Target).SetFormatString(kw_string, type);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+
}
else
{
- efl_ui_format_string_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), units);
+ efl_ui_format_string_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), kw_string, type);
}
}
private static efl_ui_format_string_set_delegate efl_ui_format_string_set_static_delegate;
+ private delegate void efl_ui_format_formatted_value_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StrbufKeepOwnershipMarshaler))] Eina.Strbuf str, Eina.ValueNative value);
+
+
+ public delegate void efl_ui_format_formatted_value_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StrbufKeepOwnershipMarshaler))] Eina.Strbuf str, Eina.ValueNative value);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_format_formatted_value_get_api_delegate> efl_ui_format_formatted_value_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_formatted_value_get_api_delegate>(Module, "efl_ui_format_formatted_value_get");
+
+ private static void formatted_value_get(System.IntPtr obj, System.IntPtr pd, Eina.Strbuf str, Eina.ValueNative value)
+ {
+ Eina.Log.Debug("function efl_ui_format_formatted_value_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Spin)ws.Target).GetFormattedValue(str, value);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_format_formatted_value_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), str, value);
+ }
+ }
+
+ private static efl_ui_format_formatted_value_get_delegate efl_ui_format_formatted_value_get_static_delegate;
+
+
+ private delegate int efl_ui_format_decimal_places_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate int efl_ui_format_decimal_places_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_format_decimal_places_get_api_delegate> efl_ui_format_decimal_places_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_decimal_places_get_api_delegate>(Module, "efl_ui_format_decimal_places_get");
+
+ private static int decimal_places_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_format_decimal_places_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ int _ret_var = default(int);
+ try
+ {
+ _ret_var = ((Spin)ws.Target).GetDecimalPlaces();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_format_decimal_places_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_format_decimal_places_get_delegate efl_ui_format_decimal_places_get_static_delegate;
+
+
+ private delegate void efl_ui_format_apply_formatted_value_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate void efl_ui_format_apply_formatted_value_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_format_apply_formatted_value_api_delegate> efl_ui_format_apply_formatted_value_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_apply_formatted_value_api_delegate>(Module, "efl_ui_format_apply_formatted_value");
+
+ private static void apply_formatted_value(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_format_apply_formatted_value was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Spin)ws.Target).ApplyFormattedValue();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_format_apply_formatted_value_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_format_apply_formatted_value_delegate efl_ui_format_apply_formatted_value_static_delegate;
+
+
private delegate double efl_ui_range_value_get_delegate(System.IntPtr obj, System.IntPtr pd);
}
-namespace Efl {
-
-namespace Ui {
-
-/// <summary>Special value</summary>
-[StructLayout(LayoutKind.Sequential)]
-public struct SpinSpecialValue
-{
- /// <summary>Target value</summary>
- public double Value;
- /// <summary>String to replace</summary>
- public System.String Label;
- ///<summary>Constructor for SpinSpecialValue.</summary>
- public SpinSpecialValue(
- double Value = default(double),
- System.String Label = default(System.String) )
- {
- this.Value = Value;
- this.Label = Label;
- }
-
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
- public static implicit operator SpinSpecialValue(IntPtr ptr)
- {
- var tmp = (SpinSpecialValue.NativeStruct)Marshal.PtrToStructure(ptr, typeof(SpinSpecialValue.NativeStruct));
- return tmp;
- }
-
- #pragma warning disable CS1591
-
- ///<summary>Internal wrapper for struct SpinSpecialValue.</summary>
- [StructLayout(LayoutKind.Sequential)]
- public struct NativeStruct
- {
-
- public double Value;
- ///<summary>Internal wrapper for field Label</summary>
- public System.IntPtr Label;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
- public static implicit operator SpinSpecialValue.NativeStruct(SpinSpecialValue _external_struct)
- {
- var _internal_struct = new SpinSpecialValue.NativeStruct();
- _internal_struct.Value = _external_struct.Value;
- _internal_struct.Label = Eina.MemoryNative.StrDup(_external_struct.Label);
- return _internal_struct;
- }
-
- ///<summary>Implicit conversion to the managed representation.</summary>
- public static implicit operator SpinSpecialValue(SpinSpecialValue.NativeStruct _internal_struct)
- {
- var _external_struct = new SpinSpecialValue();
- _external_struct.Value = _internal_struct.Value;
- _external_struct.Label = Eina.StringConversion.NativeUtf8ToManagedString(_internal_struct.Label);
- return _external_struct;
- }
-
- }
-
- #pragma warning restore CS1591
-
-}
-
-}
-
-}
-
/// <summary>A Button Spin.
/// This is a widget which allows the user to increase or decrease numeric values using the arrow buttons or to edit values directly by clicking over them and inputting new ones.</summary>
[Efl.Ui.SpinButton.NativeMethods]
+[Efl.Eo.BindingEntity]
public class SpinButton : Efl.Ui.Spin, Efl.Ui.ILayoutOrientable, Efl.Ui.Focus.IComposition
{
///<summary>Pointer to the native class description.</summary>
efl_ui_spin_button_class_get();
/// <summary>Initializes a new instance of the <see cref="SpinButton"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public SpinButton(Efl.Object parent
- , System.String style = null) : base(efl_ui_spin_button_class_get(), typeof(SpinButton), parent)
+ , System.String style = null) : base(efl_ui_spin_button_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected SpinButton(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="SpinButton"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected SpinButton(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected SpinButton(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="SpinButton"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected SpinButton(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected SpinButton(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SPIN_BUTTON_EVENT_DELAY_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// When the user decrements the value (using left or bottom arrow), it will display $50.</summary>
/// <returns><c>true</c> to enable circulate or <c>false</c> to disable it.</returns>
virtual public bool GetCirculate() {
- var _ret_var = Efl.Ui.SpinButton.NativeMethods.efl_ui_spin_button_circulate_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.SpinButton.NativeMethods.efl_ui_spin_button_circulate_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// When the user decrements the value (using left or bottom arrow), it will display $50.</summary>
/// <param name="circulate"><c>true</c> to enable circulate or <c>false</c> to disable it.</param>
virtual public void SetCirculate(bool circulate) {
- Efl.Ui.SpinButton.NativeMethods.efl_ui_spin_button_circulate_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),circulate);
+ Efl.Ui.SpinButton.NativeMethods.efl_ui_spin_button_circulate_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),circulate);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control whether the spin can be directly edited by the user.
/// Spin objects can have editing disabled, in which case they can only be changed by using arrows. This is useful for situations where you don't want your users to write their own value. It's especially useful when using special values. The user can see the real values instead of special label when editing.</summary>
/// <returns><c>true</c> to allow users to edit it or <c>false</c> to don't allow users to edit it directly.</returns>
virtual public bool GetEditable() {
- var _ret_var = Efl.Ui.SpinButton.NativeMethods.efl_ui_spin_button_editable_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.SpinButton.NativeMethods.efl_ui_spin_button_editable_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Spin objects can have editing disabled, in which case they can only be changed by using arrows. This is useful for situations where you don't want your users to write their own value. It's especially useful when using special values. The user can see the real values instead of special label when editing.</summary>
/// <param name="editable"><c>true</c> to allow users to edit it or <c>false</c> to don't allow users to edit it directly.</param>
virtual public void SetEditable(bool editable) {
- Efl.Ui.SpinButton.NativeMethods.efl_ui_spin_button_editable_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),editable);
+ Efl.Ui.SpinButton.NativeMethods.efl_ui_spin_button_editable_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),editable);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control the direction of a given widget.
/// Mirroring as defined in <see cref="Efl.Ui.II18n"/> can invert the <c>horizontal</c> direction: it is <c>ltr</c> by default, but becomes <c>rtl</c> if the object is mirrored.</summary>
/// <returns>Direction of the widget.</returns>
virtual public Efl.Ui.LayoutOrientation GetOrientation() {
- var _ret_var = Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Mirroring as defined in <see cref="Efl.Ui.II18n"/> can invert the <c>horizontal</c> direction: it is <c>ltr</c> by default, but becomes <c>rtl</c> if the object is mirrored.</summary>
/// <param name="dir">Direction of the widget.</param>
virtual public void SetOrientation(Efl.Ui.LayoutOrientation dir) {
- Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dir);
+ Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dir);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the order of elements that will be used for composition
/// If the element is a Efl.Ui.Widget nothing is done and the widget is simply part of the order.</summary>
/// <returns>The order to use</returns>
virtual public Eina.List<Efl.Gfx.IEntity> GetCompositionElements() {
- var _ret_var = Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_elements_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_elements_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return new Eina.List<Efl.Gfx.IEntity>(_ret_var, true, false);
}
virtual public void SetCompositionElements(Eina.List<Efl.Gfx.IEntity> logical_order) {
var _in_logical_order = logical_order.Handle;
logical_order.Own = false;
- Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_elements_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_logical_order);
+ Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_elements_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_logical_order);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set to true if all children should be registered as logicals</summary>
/// <returns><c>true</c> or <c>false</c></returns>
virtual public bool GetLogicalMode() {
- var _ret_var = Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_logical_mode_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_logical_mode_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Set to true if all children should be registered as logicals</summary>
/// <param name="logical_mode"><c>true</c> or <c>false</c></param>
virtual public void SetLogicalMode(bool logical_mode) {
- Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_logical_mode_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),logical_mode);
+ Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_logical_mode_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),logical_mode);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Mark this widget as dirty, the children can be considered to be changed after that call</summary>
virtual public void Dirty() {
- Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_dirty_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_dirty_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>A call to prepare the children of this element, called if marked as dirty
/// You can use this function to call composition_elements.</summary>
virtual public void Prepare() {
- Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_prepare_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_prepare_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control whether the spin should circulate value when it reaches its minimum or maximum value.
--- /dev/null
+#pragma warning disable CS1591
+using System;
+using System.Runtime.InteropServices;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading;
+using System.ComponentModel;
+namespace Efl {
+
+namespace Ui {
+
+namespace Spotlight {
+
+///<summary>Event argument wrapper for event <see cref="Efl.Ui.Spotlight.Container.TransitionStartEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
+public class ContainerTransitionStartEvt_Args : EventArgs {
+ ///<summary>Actual event payload.</summary>
+ public Efl.Ui.Spotlight.TransitionEvent arg { get; set; }
+}
+///<summary>Event argument wrapper for event <see cref="Efl.Ui.Spotlight.Container.TransitionEndEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
+public class ContainerTransitionEndEvt_Args : EventArgs {
+ ///<summary>Actual event payload.</summary>
+ public Efl.Ui.Spotlight.TransitionEvent arg { get; set; }
+}
+/// <summary>The Spotlight widget is a container for other sub-widgets, where only one sub-widget is active at any given time.
+/// Sub-widgets are added using the <see cref="Efl.IPackLinear"/> interface and the active one (the one in the "spotlight") is selected using <see cref="Efl.Ui.Spotlight.Container.ActiveIndex"/>.
+///
+/// The way the different sub-widgets are rendered can be customized through the <see cref="Efl.Ui.Spotlight.Container.SpotlightManager"/> object. For example, only the active sub-widget might be shown, or it might be shown in a central position whereas the other sub-widgets are displayed on the sides, or grayed-out. All sub-widgets are displayed with the same size, selected with <see cref="Efl.Ui.Spotlight.Container.SpotlightSize"/>.
+///
+/// Additionally, the transition from one sub-widget to another can be animated. This animation is also controlled by the <see cref="Efl.Ui.Spotlight.Container.SpotlightManager"/> object.
+///
+/// Also, an indicator widget can be used to show a visual cue of how many sub-widgets are there and which one is the active one.
+///
+/// This class can be used to create other widgets like Pagers, Tabbed pagers or Stacks, where each sub-widget represents a "page" full of other widgets. All these cases can be implemented with a different <see cref="Efl.Ui.Spotlight.Container.SpotlightManager"/> and use the same <see cref="Efl.Ui.Spotlight.Container"/>.</summary>
+[Efl.Ui.Spotlight.Container.NativeMethods]
+[Efl.Eo.BindingEntity]
+public class Container : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLinear
+{
+ ///<summary>Pointer to the native class description.</summary>
+ public override System.IntPtr NativeClass
+ {
+ get
+ {
+ if (((object)this).GetType() == typeof(Container))
+ {
+ return GetEflClassStatic();
+ }
+ else
+ {
+ return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
+ }
+ }
+ }
+
+ [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
+ efl_ui_spotlight_container_class_get();
+ /// <summary>Initializes a new instance of the <see cref="Container"/> class.</summary>
+ /// <param name="parent">Parent instance.</param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
+ public Container(Efl.Object parent
+ , System.String style = null) : base(efl_ui_spotlight_container_class_get(), parent)
+ {
+ if (Efl.Eo.Globals.ParamHelperCheck(style))
+ {
+ SetStyle(Efl.Eo.Globals.GetParamHelper(style));
+ }
+
+ FinishInstantiation();
+ }
+
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Container(ConstructingHandle ch) : base(ch)
+ {
+ }
+
+ /// <summary>Initializes a new instance of the <see cref="Container"/> class.
+ /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Container(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
+ {
+ }
+
+ /// <summary>Initializes a new instance of the <see cref="Container"/> class.
+ /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
+ /// <param name="baseKlass">The pointer to the base native Eo class.</param>
+ /// <param name="parent">The Efl.Object parent of this instance.</param>
+ protected Container(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
+ {
+ }
+
+ /// <summary>A transition animation has started.</summary>
+ public event EventHandler<Efl.Ui.Spotlight.ContainerTransitionStartEvt_Args> TransitionStartEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
+ {
+ var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
+ if (obj != null)
+ {
+ Efl.Ui.Spotlight.ContainerTransitionStartEvt_Args args = new Efl.Ui.Spotlight.ContainerTransitionStartEvt_Args();
+ args.arg = evt.Info;
+ try
+ {
+ value?.Invoke(obj, args);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Error(e.ToString());
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+ }
+ };
+
+ string key = "_EFL_UI_SPOTLIGHT_EVENT_TRANSITION_START";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_SPOTLIGHT_EVENT_TRANSITION_START";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ ///<summary>Method to raise event TransitionStartEvt.</summary>
+ public void OnTransitionStartEvt(Efl.Ui.Spotlight.ContainerTransitionStartEvt_Args e)
+ {
+ var key = "_EFL_UI_SPOTLIGHT_EVENT_TRANSITION_START";
+ IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
+ if (desc == IntPtr.Zero)
+ {
+ Eina.Log.Error($"Failed to get native event {key}");
+ return;
+ }
+
+ IntPtr info = Marshal.AllocHGlobal(Marshal.SizeOf(e.arg));
+ try
+ {
+ Marshal.StructureToPtr(e.arg, info, false);
+ Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
+ }
+ finally
+ {
+ Marshal.FreeHGlobal(info);
+ }
+ }
+ /// <summary>A transition animation has ended.</summary>
+ public event EventHandler<Efl.Ui.Spotlight.ContainerTransitionEndEvt_Args> TransitionEndEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
+ {
+ var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
+ if (obj != null)
+ {
+ Efl.Ui.Spotlight.ContainerTransitionEndEvt_Args args = new Efl.Ui.Spotlight.ContainerTransitionEndEvt_Args();
+ args.arg = evt.Info;
+ try
+ {
+ value?.Invoke(obj, args);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Error(e.ToString());
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+ }
+ };
+
+ string key = "_EFL_UI_SPOTLIGHT_EVENT_TRANSITION_END";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_SPOTLIGHT_EVENT_TRANSITION_END";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ ///<summary>Method to raise event TransitionEndEvt.</summary>
+ public void OnTransitionEndEvt(Efl.Ui.Spotlight.ContainerTransitionEndEvt_Args e)
+ {
+ var key = "_EFL_UI_SPOTLIGHT_EVENT_TRANSITION_END";
+ IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
+ if (desc == IntPtr.Zero)
+ {
+ Eina.Log.Error($"Failed to get native event {key}");
+ return;
+ }
+
+ IntPtr info = Marshal.AllocHGlobal(Marshal.SizeOf(e.arg));
+ try
+ {
+ Marshal.StructureToPtr(e.arg, info, false);
+ Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
+ }
+ finally
+ {
+ Marshal.FreeHGlobal(info);
+ }
+ }
+ /// <summary>This object defines how sub-widgets are rendered and animated. If it is not set, only the active sub-widget is shown and transitions are instantaneous (not animated).</summary>
+ /// <returns>The Spotlight Manager object or <c>NULL</c>.</returns>
+ virtual public Efl.Ui.Spotlight.Manager GetSpotlightManager() {
+ var _ret_var = Efl.Ui.Spotlight.Container.NativeMethods.efl_ui_spotlight_manager_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>This object defines how sub-widgets are rendered and animated. If it is not set, only the active sub-widget is shown and transitions are instantaneous (not animated).</summary>
+ /// <param name="spotlight_manager">The Spotlight Manager object or <c>NULL</c>.</param>
+ virtual public void SetSpotlightManager(Efl.Ui.Spotlight.Manager spotlight_manager) {
+ Efl.Ui.Spotlight.Container.NativeMethods.efl_ui_spotlight_manager_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),spotlight_manager);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>An indicator object to use, which will display the current state of the spotlight (number of sub-widgets and active one). When this object is set, it is immediately updated to reflect the current state of the widget. Its location inside the container is controlled by the <see cref="Efl.Ui.Spotlight.Container.SpotlightManager"/>.</summary>
+ /// <returns>The Indicator object or <c>NULL</c>.</returns>
+ virtual public Efl.Ui.Spotlight.Indicator GetIndicator() {
+ var _ret_var = Efl.Ui.Spotlight.Container.NativeMethods.efl_ui_spotlight_indicator_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>An indicator object to use, which will display the current state of the spotlight (number of sub-widgets and active one). When this object is set, it is immediately updated to reflect the current state of the widget. Its location inside the container is controlled by the <see cref="Efl.Ui.Spotlight.Container.SpotlightManager"/>.</summary>
+ /// <param name="indicator">The Indicator object or <c>NULL</c>.</param>
+ virtual public void SetIndicator(Efl.Ui.Spotlight.Indicator indicator) {
+ Efl.Ui.Spotlight.Container.NativeMethods.efl_ui_spotlight_indicator_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),indicator);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Currently active sub-widget (the one with the spotlight) among all the sub-widgets added to this widget
+ /// Changing this value might trigger an animation.</summary>
+ /// <returns>Index of the sub-widget that has the spotlight, from 0 to the number of sub-widgets - 1 (<see cref="Efl.IContainer.ContentCount"/> - 1).</returns>
+ virtual public int GetActiveIndex() {
+ var _ret_var = Efl.Ui.Spotlight.Container.NativeMethods.efl_ui_spotlight_active_index_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Currently active sub-widget (the one with the spotlight) among all the sub-widgets added to this widget
+ /// Changing this value might trigger an animation.</summary>
+ /// <param name="index">Index of the sub-widget that has the spotlight, from 0 to the number of sub-widgets - 1 (<see cref="Efl.IContainer.ContentCount"/> - 1).</param>
+ virtual public void SetActiveIndex(int index) {
+ Efl.Ui.Spotlight.Container.NativeMethods.efl_ui_spotlight_active_index_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),index);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>The size to use when displaying the Sub-Widget which has the spotlight. This is used by the <see cref="Efl.Ui.Spotlight.Container.SpotlightManager"/> to perform the rendering. Sub-Widgets other than the Active one may or may not use this size.</summary>
+ /// <returns>Render size for the spotlight. (-1, -1) means that all available space inside the container is used.</returns>
+ virtual public Eina.Size2D GetSpotlightSize() {
+ var _ret_var = Efl.Ui.Spotlight.Container.NativeMethods.efl_ui_spotlight_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>The size to use when displaying the Sub-Widget which has the spotlight. This is used by the <see cref="Efl.Ui.Spotlight.Container.SpotlightManager"/> to perform the rendering. Sub-Widgets other than the Active one may or may not use this size.</summary>
+ /// <param name="size">Render size for the spotlight. (-1, -1) means that all available space inside the container is used.</param>
+ virtual public void SetSpotlightSize(Eina.Size2D size) {
+ Eina.Size2D.NativeStruct _in_size = size;
+ Efl.Ui.Spotlight.Container.NativeMethods.efl_ui_spotlight_size_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_size);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Packs a new sub-widget at the position indicated by <see cref="Efl.Ui.Spotlight.Container.ActiveIndex"/> (0 by default).
+ /// This is the same behavior as a push operation on a stack.
+ ///
+ /// An animation might be triggered to give the new sub-widget the spotlight and come into position.</summary>
+ /// <param name="widget">Sub-Widget to add and set to be the spotlight sub-widget.</param>
+ virtual public void Push(Efl.Gfx.IEntity widget) {
+ Efl.Ui.Spotlight.Container.NativeMethods.efl_ui_spotlight_push_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),widget);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Removes the sub-widget that has the spotlight from the widget.
+ /// The sub-widgets behind it naturally flow down so the next one gets the spotlight. This is the same behavior as a pop operation on a stack. When combined with <see cref="Efl.Ui.Spotlight.Container.Push"/> you don't have to worry about <see cref="Efl.Ui.Spotlight.Container.ActiveIndex"/> since only the first sub-widget is manipulated.
+ ///
+ /// An animation might be triggered to give the new sub-widget the spotlight, come into position and the old one disappear.
+ ///
+ /// The removed sub-widget can be returned to the caller or deleted (depending on <c>delete_on_transition_end</c>).</summary>
+ /// <param name="deletion_on_transition_end">if <c>true</c>, then the object will be deleted before resolving the future, and a NULL pointer is the value of the future. <c>false</c> if no operation should be applied to it</param>
+ /// <returns>This Future gets resolved when any transition animation finishes and the popped sub-widget is ready for collection. If there is no animation, the Future resolves immediately. If <c>deletion_on_transition_end</c> is <c>true</c> then this widget will destroy the popped sub-widget and the Future will contain no Value. Otherwise, the caller becomes the owner of the sub-widget contained in the Future and must dispose of it appropriately.</returns>
+ virtual public Eina.Future Pop(bool deletion_on_transition_end) {
+ var _ret_var = Efl.Ui.Spotlight.Container.NativeMethods.efl_ui_spotlight_pop_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),deletion_on_transition_end);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Removes all packed sub-objects and unreferences them.</summary>
+ /// <returns><c>true</c> on success, <c>false</c> otherwise.</returns>
+ virtual public bool ClearPack() {
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_clear_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Removes all packed sub-objects without unreferencing them.
+ /// Use with caution.</summary>
+ /// <returns><c>true</c> on success, <c>false</c> otherwise.</returns>
+ virtual public bool UnpackAll() {
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_all_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Removes an existing sub-object from the container without deleting it.</summary>
+ /// <param name="subobj">The sub-object to unpack.</param>
+ /// <returns><c>false</c> if <c>subobj</c> wasn't in the container or couldn't be removed.</returns>
+ virtual public bool Unpack(Efl.Gfx.IEntity subobj) {
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Adds a sub-object to this container.
+ /// Depending on the container this will either fill in the default spot, replacing any already existing element or append to the end of the container if there is no default part.
+ ///
+ /// When this container is deleted, it will request deletion of the given <c>subobj</c>. Use <see cref="Efl.IPack.Unpack"/> to remove <c>subobj</c> from this container without deleting it.</summary>
+ /// <param name="subobj">The object to pack.</param>
+ /// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
+ virtual public bool Pack(Efl.Gfx.IEntity subobj) {
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Prepend an object at the beginning of this container.
+ /// This is the same as <see cref="Efl.IPackLinear.PackAt"/>(<c>subobj</c>, 0).
+ ///
+ /// When this container is deleted, it will request deletion of the given <c>subobj</c>. Use <see cref="Efl.IPack.Unpack"/> to remove <c>subobj</c> from this container without deleting it.</summary>
+ /// <param name="subobj">Object to pack at the beginning.</param>
+ /// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
+ virtual public bool PackBegin(Efl.Gfx.IEntity subobj) {
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_begin_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Append object at the end of this container.
+ /// This is the same as <see cref="Efl.IPackLinear.PackAt"/>(<c>subobj</c>, -1).
+ ///
+ /// When this container is deleted, it will request deletion of the given <c>subobj</c>. Use <see cref="Efl.IPack.Unpack"/> to remove <c>subobj</c> from this container without deleting it.</summary>
+ /// <param name="subobj">Object to pack at the end.</param>
+ /// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
+ virtual public bool PackEnd(Efl.Gfx.IEntity subobj) {
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_end_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Prepend an object before an existing sub-object.
+ /// When this container is deleted, it will request deletion of the given <c>subobj</c>. Use <see cref="Efl.IPack.Unpack"/> to remove <c>subobj</c> from this container without deleting it.</summary>
+ /// <param name="subobj">Object to pack before <c>existing</c>.</param>
+ /// <param name="existing">Existing reference sub-object.</param>
+ /// <returns><c>false</c> if <c>existing</c> could not be found or <c>subobj</c> could not be packed.</returns>
+ virtual public bool PackBefore(Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing) {
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_before_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, existing);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Append an object after an existing sub-object.
+ /// When this container is deleted, it will request deletion of the given <c>subobj</c>. Use <see cref="Efl.IPack.Unpack"/> to remove <c>subobj</c> from this container without deleting it.</summary>
+ /// <param name="subobj">Object to pack after <c>existing</c>.</param>
+ /// <param name="existing">Existing reference sub-object.</param>
+ /// <returns><c>false</c> if <c>existing</c> could not be found or <c>subobj</c> could not be packed.</returns>
+ virtual public bool PackAfter(Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing) {
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_after_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, existing);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Inserts <c>subobj</c> BEFORE the sub-object at position <c>index</c>.
+ /// <c>index</c> ranges from -<c>count</c> to <c>count</c>-1, where positive numbers go from first sub-object (0) to last (<c>count</c>-1), and negative numbers go from last sub-object (-1) to first (-<c>count</c>). <c>count</c> is the number of sub-objects currently in the container as returned by <see cref="Efl.IContainer.ContentCount"/>.
+ ///
+ /// If <c>index</c> is less than -<c>count</c>, it will trigger <see cref="Efl.IPackLinear.PackBegin"/>(<c>subobj</c>) whereas <c>index</c> greater than <c>count</c>-1 will trigger <see cref="Efl.IPackLinear.PackEnd"/>(<c>subobj</c>).
+ ///
+ /// When this container is deleted, it will request deletion of the given <c>subobj</c>. Use <see cref="Efl.IPack.Unpack"/> to remove <c>subobj</c> from this container without deleting it.</summary>
+ /// <param name="subobj">Object to pack.</param>
+ /// <param name="index">Index of existing sub-object to insert BEFORE. Valid range is -<c>count</c> to (<c>count</c>-1).</param>
+ /// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
+ virtual public bool PackAt(Efl.Gfx.IEntity subobj, int index) {
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_at_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, index);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Sub-object at a given <c>index</c> in this container.
+ /// <c>index</c> ranges from -<c>count</c> to <c>count</c>-1, where positive numbers go from first sub-object (0) to last (<c>count</c>-1), and negative numbers go from last sub-object (-1) to first (-<c>count</c>). <c>count</c> is the number of sub-objects currently in the container as returned by <see cref="Efl.IContainer.ContentCount"/>.
+ ///
+ /// If <c>index</c> is less than -<c>count</c>, it will return the first sub-object whereas <c>index</c> greater than <c>count</c>-1 will return the last sub-object.</summary>
+ /// <param name="index">Index of the existing sub-object to retrieve. Valid range is -<c>count</c> to (<c>count</c>-1).</param>
+ /// <returns>The sub-object contained at the given <c>index</c>.</returns>
+ virtual public Efl.Gfx.IEntity GetPackContent(int index) {
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),index);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Get the index of a sub-object in this container.</summary>
+ /// <param name="subobj">An existing sub-object in this container.</param>
+ /// <returns>-1 in case <c>subobj</c> is not found, or the index of <c>subobj</c> in the range 0 to (<c>count</c>-1).</returns>
+ virtual public int GetPackIndex(Efl.Gfx.IEntity subobj) {
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_index_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Pop out (remove) the sub-object at the specified <c>index</c>.
+ /// <c>index</c> ranges from -<c>count</c> to <c>count</c>-1, where positive numbers go from first sub-object (0) to last (<c>count</c>-1), and negative numbers go from last sub-object (-1) to first (-<c>count</c>). <c>count</c> is the number of sub-objects currently in the container as returned by <see cref="Efl.IContainer.ContentCount"/>.
+ ///
+ /// If <c>index</c> is less than -<c>count</c>, it will remove the first sub-object whereas <c>index</c> greater than <c>count</c>-1 will remove the last sub-object.</summary>
+ /// <param name="index">Index of the sub-object to remove. Valid range is -<c>count</c> to (<c>count</c>-1).</param>
+ /// <returns>The sub-object if it could be removed.</returns>
+ virtual public Efl.Gfx.IEntity PackUnpackAt(int index) {
+ var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_unpack_at_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),index);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Async wrapper for <see cref="Pop" />.</summary>
+ /// <param name="deletion_on_transition_end">if <c>true</c>, then the object will be deleted before resolving the future, and a NULL pointer is the value of the future. <c>false</c> if no operation should be applied to it</param>
+ /// <param name="token">Token to notify the async operation of external request to cancel.</param>
+ /// <returns>An async task wrapping the result of the operation.</returns>
+ public System.Threading.Tasks.Task<Eina.Value> PopAsync(bool deletion_on_transition_end, System.Threading.CancellationToken token = default(System.Threading.CancellationToken))
+ {
+ Eina.Future future = Pop( deletion_on_transition_end);
+ return Efl.Eo.Globals.WrapAsync(future, token);
+ }
+
+ /// <summary>This object defines how sub-widgets are rendered and animated. If it is not set, only the active sub-widget is shown and transitions are instantaneous (not animated).</summary>
+ /// <value>The Spotlight Manager object or <c>NULL</c>.</value>
+ public Efl.Ui.Spotlight.Manager SpotlightManager {
+ get { return GetSpotlightManager(); }
+ set { SetSpotlightManager(value); }
+ }
+ /// <summary>An indicator object to use, which will display the current state of the spotlight (number of sub-widgets and active one). When this object is set, it is immediately updated to reflect the current state of the widget. Its location inside the container is controlled by the <see cref="Efl.Ui.Spotlight.Container.SpotlightManager"/>.</summary>
+ /// <value>The Indicator object or <c>NULL</c>.</value>
+ public Efl.Ui.Spotlight.Indicator Indicator {
+ get { return GetIndicator(); }
+ set { SetIndicator(value); }
+ }
+ /// <summary>Currently active sub-widget (the one with the spotlight) among all the sub-widgets added to this widget
+ /// Changing this value might trigger an animation.</summary>
+ /// <value>Index of the sub-widget that has the spotlight, from 0 to the number of sub-widgets - 1 (<see cref="Efl.IContainer.ContentCount"/> - 1).</value>
+ public int ActiveIndex {
+ get { return GetActiveIndex(); }
+ set { SetActiveIndex(value); }
+ }
+ /// <summary>The size to use when displaying the Sub-Widget which has the spotlight. This is used by the <see cref="Efl.Ui.Spotlight.Container.SpotlightManager"/> to perform the rendering. Sub-Widgets other than the Active one may or may not use this size.</summary>
+ /// <value>Render size for the spotlight. (-1, -1) means that all available space inside the container is used.</value>
+ public Eina.Size2D SpotlightSize {
+ get { return GetSpotlightSize(); }
+ set { SetSpotlightSize(value); }
+ }
+ private static IntPtr GetEflClassStatic()
+ {
+ return Efl.Ui.Spotlight.Container.efl_ui_spotlight_container_class_get();
+ }
+ /// <summary>Wrapper for native methods and virtual method delegates.
+ /// For internal use by generated code only.</summary>
+ public new class NativeMethods : Efl.Ui.LayoutBase.NativeMethods
+ {
+ private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
+ /// <summary>Gets the list of Eo operations to override.</summary>
+ /// <returns>The list of Eo operations to be overload.</returns>
+ public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
+ {
+ var descs = new System.Collections.Generic.List<Efl_Op_Description>();
+ var methods = Efl.Eo.Globals.GetUserMethods(type);
+
+ if (efl_ui_spotlight_manager_get_static_delegate == null)
+ {
+ efl_ui_spotlight_manager_get_static_delegate = new efl_ui_spotlight_manager_get_delegate(spotlight_manager_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetSpotlightManager") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spotlight_manager_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spotlight_manager_get_static_delegate) });
+ }
+
+ if (efl_ui_spotlight_manager_set_static_delegate == null)
+ {
+ efl_ui_spotlight_manager_set_static_delegate = new efl_ui_spotlight_manager_set_delegate(spotlight_manager_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetSpotlightManager") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spotlight_manager_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spotlight_manager_set_static_delegate) });
+ }
+
+ if (efl_ui_spotlight_indicator_get_static_delegate == null)
+ {
+ efl_ui_spotlight_indicator_get_static_delegate = new efl_ui_spotlight_indicator_get_delegate(indicator_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetIndicator") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spotlight_indicator_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spotlight_indicator_get_static_delegate) });
+ }
+
+ if (efl_ui_spotlight_indicator_set_static_delegate == null)
+ {
+ efl_ui_spotlight_indicator_set_static_delegate = new efl_ui_spotlight_indicator_set_delegate(indicator_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetIndicator") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spotlight_indicator_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spotlight_indicator_set_static_delegate) });
+ }
+
+ if (efl_ui_spotlight_active_index_get_static_delegate == null)
+ {
+ efl_ui_spotlight_active_index_get_static_delegate = new efl_ui_spotlight_active_index_get_delegate(active_index_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetActiveIndex") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spotlight_active_index_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spotlight_active_index_get_static_delegate) });
+ }
+
+ if (efl_ui_spotlight_active_index_set_static_delegate == null)
+ {
+ efl_ui_spotlight_active_index_set_static_delegate = new efl_ui_spotlight_active_index_set_delegate(active_index_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetActiveIndex") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spotlight_active_index_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spotlight_active_index_set_static_delegate) });
+ }
+
+ if (efl_ui_spotlight_size_get_static_delegate == null)
+ {
+ efl_ui_spotlight_size_get_static_delegate = new efl_ui_spotlight_size_get_delegate(spotlight_size_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetSpotlightSize") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spotlight_size_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spotlight_size_get_static_delegate) });
+ }
+
+ if (efl_ui_spotlight_size_set_static_delegate == null)
+ {
+ efl_ui_spotlight_size_set_static_delegate = new efl_ui_spotlight_size_set_delegate(spotlight_size_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetSpotlightSize") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spotlight_size_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spotlight_size_set_static_delegate) });
+ }
+
+ if (efl_ui_spotlight_push_static_delegate == null)
+ {
+ efl_ui_spotlight_push_static_delegate = new efl_ui_spotlight_push_delegate(push);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "Push") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spotlight_push"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spotlight_push_static_delegate) });
+ }
+
+ if (efl_ui_spotlight_pop_static_delegate == null)
+ {
+ efl_ui_spotlight_pop_static_delegate = new efl_ui_spotlight_pop_delegate(pop);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "Pop") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spotlight_pop"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spotlight_pop_static_delegate) });
+ }
+
+ if (efl_pack_clear_static_delegate == null)
+ {
+ efl_pack_clear_static_delegate = new efl_pack_clear_delegate(pack_clear);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "ClearPack") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_clear"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_clear_static_delegate) });
+ }
+
+ if (efl_pack_unpack_all_static_delegate == null)
+ {
+ efl_pack_unpack_all_static_delegate = new efl_pack_unpack_all_delegate(unpack_all);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "UnpackAll") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_unpack_all"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_unpack_all_static_delegate) });
+ }
+
+ if (efl_pack_unpack_static_delegate == null)
+ {
+ efl_pack_unpack_static_delegate = new efl_pack_unpack_delegate(unpack);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "Unpack") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_unpack"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_unpack_static_delegate) });
+ }
+
+ if (efl_pack_static_delegate == null)
+ {
+ efl_pack_static_delegate = new efl_pack_delegate(pack);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "Pack") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_static_delegate) });
+ }
+
+ if (efl_pack_begin_static_delegate == null)
+ {
+ efl_pack_begin_static_delegate = new efl_pack_begin_delegate(pack_begin);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "PackBegin") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_begin"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_begin_static_delegate) });
+ }
+
+ if (efl_pack_end_static_delegate == null)
+ {
+ efl_pack_end_static_delegate = new efl_pack_end_delegate(pack_end);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "PackEnd") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_end"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_end_static_delegate) });
+ }
+
+ if (efl_pack_before_static_delegate == null)
+ {
+ efl_pack_before_static_delegate = new efl_pack_before_delegate(pack_before);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "PackBefore") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_before"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_before_static_delegate) });
+ }
+
+ if (efl_pack_after_static_delegate == null)
+ {
+ efl_pack_after_static_delegate = new efl_pack_after_delegate(pack_after);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "PackAfter") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_after"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_after_static_delegate) });
+ }
+
+ if (efl_pack_at_static_delegate == null)
+ {
+ efl_pack_at_static_delegate = new efl_pack_at_delegate(pack_at);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "PackAt") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_at"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_at_static_delegate) });
+ }
+
+ if (efl_pack_content_get_static_delegate == null)
+ {
+ efl_pack_content_get_static_delegate = new efl_pack_content_get_delegate(pack_content_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetPackContent") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_content_get"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_content_get_static_delegate) });
+ }
+
+ if (efl_pack_index_get_static_delegate == null)
+ {
+ efl_pack_index_get_static_delegate = new efl_pack_index_get_delegate(pack_index_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetPackIndex") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_index_get"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_index_get_static_delegate) });
+ }
+
+ if (efl_pack_unpack_at_static_delegate == null)
+ {
+ efl_pack_unpack_at_static_delegate = new efl_pack_unpack_at_delegate(pack_unpack_at);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "PackUnpackAt") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_unpack_at"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_unpack_at_static_delegate) });
+ }
+
+ descs.AddRange(base.GetEoOps(type));
+ return descs;
+ }
+ /// <summary>Returns the Eo class for the native methods of this class.</summary>
+ /// <returns>The native class pointer.</returns>
+ public override IntPtr GetEflClass()
+ {
+ return Efl.Ui.Spotlight.Container.efl_ui_spotlight_container_class_get();
+ }
+
+ #pragma warning disable CA1707, CS1591, SA1300, SA1600
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.OwnTag>))]
+ private delegate Efl.Ui.Spotlight.Manager efl_ui_spotlight_manager_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.OwnTag>))]
+ public delegate Efl.Ui.Spotlight.Manager efl_ui_spotlight_manager_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_spotlight_manager_get_api_delegate> efl_ui_spotlight_manager_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spotlight_manager_get_api_delegate>(Module, "efl_ui_spotlight_manager_get");
+
+ private static Efl.Ui.Spotlight.Manager spotlight_manager_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_spotlight_manager_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.Ui.Spotlight.Manager _ret_var = default(Efl.Ui.Spotlight.Manager);
+ try
+ {
+ _ret_var = ((Container)ws.Target).GetSpotlightManager();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_spotlight_manager_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_spotlight_manager_get_delegate efl_ui_spotlight_manager_get_static_delegate;
+
+
+ private delegate void efl_ui_spotlight_manager_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.OwnTag>))] Efl.Ui.Spotlight.Manager spotlight_manager);
+
+
+ public delegate void efl_ui_spotlight_manager_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.OwnTag>))] Efl.Ui.Spotlight.Manager spotlight_manager);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_spotlight_manager_set_api_delegate> efl_ui_spotlight_manager_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spotlight_manager_set_api_delegate>(Module, "efl_ui_spotlight_manager_set");
+
+ private static void spotlight_manager_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Spotlight.Manager spotlight_manager)
+ {
+ Eina.Log.Debug("function efl_ui_spotlight_manager_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Container)ws.Target).SetSpotlightManager(spotlight_manager);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_spotlight_manager_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), spotlight_manager);
+ }
+ }
+
+ private static efl_ui_spotlight_manager_set_delegate efl_ui_spotlight_manager_set_static_delegate;
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.OwnTag>))]
+ private delegate Efl.Ui.Spotlight.Indicator efl_ui_spotlight_indicator_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.OwnTag>))]
+ public delegate Efl.Ui.Spotlight.Indicator efl_ui_spotlight_indicator_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_spotlight_indicator_get_api_delegate> efl_ui_spotlight_indicator_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spotlight_indicator_get_api_delegate>(Module, "efl_ui_spotlight_indicator_get");
+
+ private static Efl.Ui.Spotlight.Indicator indicator_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_spotlight_indicator_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.Ui.Spotlight.Indicator _ret_var = default(Efl.Ui.Spotlight.Indicator);
+ try
+ {
+ _ret_var = ((Container)ws.Target).GetIndicator();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_spotlight_indicator_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_spotlight_indicator_get_delegate efl_ui_spotlight_indicator_get_static_delegate;
+
+
+ private delegate void efl_ui_spotlight_indicator_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.OwnTag>))] Efl.Ui.Spotlight.Indicator indicator);
+
+
+ public delegate void efl_ui_spotlight_indicator_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.OwnTag>))] Efl.Ui.Spotlight.Indicator indicator);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_spotlight_indicator_set_api_delegate> efl_ui_spotlight_indicator_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spotlight_indicator_set_api_delegate>(Module, "efl_ui_spotlight_indicator_set");
+
+ private static void indicator_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Spotlight.Indicator indicator)
+ {
+ Eina.Log.Debug("function efl_ui_spotlight_indicator_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Container)ws.Target).SetIndicator(indicator);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_spotlight_indicator_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), indicator);
+ }
+ }
+
+ private static efl_ui_spotlight_indicator_set_delegate efl_ui_spotlight_indicator_set_static_delegate;
+
+
+ private delegate int efl_ui_spotlight_active_index_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate int efl_ui_spotlight_active_index_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_spotlight_active_index_get_api_delegate> efl_ui_spotlight_active_index_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spotlight_active_index_get_api_delegate>(Module, "efl_ui_spotlight_active_index_get");
+
+ private static int active_index_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_spotlight_active_index_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ int _ret_var = default(int);
+ try
+ {
+ _ret_var = ((Container)ws.Target).GetActiveIndex();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_spotlight_active_index_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_spotlight_active_index_get_delegate efl_ui_spotlight_active_index_get_static_delegate;
+
+
+ private delegate void efl_ui_spotlight_active_index_set_delegate(System.IntPtr obj, System.IntPtr pd, int index);
+
+
+ public delegate void efl_ui_spotlight_active_index_set_api_delegate(System.IntPtr obj, int index);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_spotlight_active_index_set_api_delegate> efl_ui_spotlight_active_index_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spotlight_active_index_set_api_delegate>(Module, "efl_ui_spotlight_active_index_set");
+
+ private static void active_index_set(System.IntPtr obj, System.IntPtr pd, int index)
+ {
+ Eina.Log.Debug("function efl_ui_spotlight_active_index_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Container)ws.Target).SetActiveIndex(index);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_spotlight_active_index_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), index);
+ }
+ }
+
+ private static efl_ui_spotlight_active_index_set_delegate efl_ui_spotlight_active_index_set_static_delegate;
+
+
+ private delegate Eina.Size2D.NativeStruct efl_ui_spotlight_size_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate Eina.Size2D.NativeStruct efl_ui_spotlight_size_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_spotlight_size_get_api_delegate> efl_ui_spotlight_size_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spotlight_size_get_api_delegate>(Module, "efl_ui_spotlight_size_get");
+
+ private static Eina.Size2D.NativeStruct spotlight_size_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_spotlight_size_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Size2D _ret_var = default(Eina.Size2D);
+ try
+ {
+ _ret_var = ((Container)ws.Target).GetSpotlightSize();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_spotlight_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_spotlight_size_get_delegate efl_ui_spotlight_size_get_static_delegate;
+
+
+ private delegate void efl_ui_spotlight_size_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct size);
+
+
+ public delegate void efl_ui_spotlight_size_set_api_delegate(System.IntPtr obj, Eina.Size2D.NativeStruct size);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_spotlight_size_set_api_delegate> efl_ui_spotlight_size_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spotlight_size_set_api_delegate>(Module, "efl_ui_spotlight_size_set");
+
+ private static void spotlight_size_set(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct size)
+ {
+ Eina.Log.Debug("function efl_ui_spotlight_size_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Size2D _in_size = size;
+
+ try
+ {
+ ((Container)ws.Target).SetSpotlightSize(_in_size);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_spotlight_size_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), size);
+ }
+ }
+
+ private static efl_ui_spotlight_size_set_delegate efl_ui_spotlight_size_set_static_delegate;
+
+
+ private delegate void efl_ui_spotlight_push_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity widget);
+
+
+ public delegate void efl_ui_spotlight_push_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity widget);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_spotlight_push_api_delegate> efl_ui_spotlight_push_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spotlight_push_api_delegate>(Module, "efl_ui_spotlight_push");
+
+ private static void push(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity widget)
+ {
+ Eina.Log.Debug("function efl_ui_spotlight_push was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Container)ws.Target).Push(widget);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_spotlight_push_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), widget);
+ }
+ }
+
+ private static efl_ui_spotlight_push_delegate efl_ui_spotlight_push_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Eina.FutureMarshaler))]
+ private delegate Eina.Future efl_ui_spotlight_pop_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool deletion_on_transition_end);
+
+ [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Eina.FutureMarshaler))]
+ public delegate Eina.Future efl_ui_spotlight_pop_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool deletion_on_transition_end);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_spotlight_pop_api_delegate> efl_ui_spotlight_pop_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spotlight_pop_api_delegate>(Module, "efl_ui_spotlight_pop");
+
+ private static Eina.Future pop(System.IntPtr obj, System.IntPtr pd, bool deletion_on_transition_end)
+ {
+ Eina.Log.Debug("function efl_ui_spotlight_pop was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Future _ret_var = default( Eina.Future);
+ try
+ {
+ _ret_var = ((Container)ws.Target).Pop(deletion_on_transition_end);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_spotlight_pop_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), deletion_on_transition_end);
+ }
+ }
+
+ private static efl_ui_spotlight_pop_delegate efl_ui_spotlight_pop_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_pack_clear_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_pack_clear_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_pack_clear_api_delegate> efl_pack_clear_ptr = new Efl.Eo.FunctionWrapper<efl_pack_clear_api_delegate>(Module, "efl_pack_clear");
+
+ private static bool pack_clear(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_pack_clear was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((Container)ws.Target).ClearPack();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_pack_clear_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_pack_clear_delegate efl_pack_clear_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_pack_unpack_all_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_pack_unpack_all_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_pack_unpack_all_api_delegate> efl_pack_unpack_all_ptr = new Efl.Eo.FunctionWrapper<efl_pack_unpack_all_api_delegate>(Module, "efl_pack_unpack_all");
+
+ private static bool unpack_all(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_pack_unpack_all was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((Container)ws.Target).UnpackAll();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_pack_unpack_all_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_pack_unpack_all_delegate efl_pack_unpack_all_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_pack_unpack_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_pack_unpack_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
+
+ public static Efl.Eo.FunctionWrapper<efl_pack_unpack_api_delegate> efl_pack_unpack_ptr = new Efl.Eo.FunctionWrapper<efl_pack_unpack_api_delegate>(Module, "efl_pack_unpack");
+
+ private static bool unpack(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj)
+ {
+ Eina.Log.Debug("function efl_pack_unpack was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((Container)ws.Target).Unpack(subobj);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_pack_unpack_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj);
+ }
+ }
+
+ private static efl_pack_unpack_delegate efl_pack_unpack_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_pack_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_pack_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
+
+ public static Efl.Eo.FunctionWrapper<efl_pack_api_delegate> efl_pack_ptr = new Efl.Eo.FunctionWrapper<efl_pack_api_delegate>(Module, "efl_pack");
+
+ private static bool pack(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj)
+ {
+ Eina.Log.Debug("function efl_pack was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((Container)ws.Target).Pack(subobj);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_pack_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj);
+ }
+ }
+
+ private static efl_pack_delegate efl_pack_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_pack_begin_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_pack_begin_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
+
+ public static Efl.Eo.FunctionWrapper<efl_pack_begin_api_delegate> efl_pack_begin_ptr = new Efl.Eo.FunctionWrapper<efl_pack_begin_api_delegate>(Module, "efl_pack_begin");
+
+ private static bool pack_begin(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj)
+ {
+ Eina.Log.Debug("function efl_pack_begin was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((Container)ws.Target).PackBegin(subobj);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_pack_begin_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj);
+ }
+ }
+
+ private static efl_pack_begin_delegate efl_pack_begin_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_pack_end_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_pack_end_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
+
+ public static Efl.Eo.FunctionWrapper<efl_pack_end_api_delegate> efl_pack_end_ptr = new Efl.Eo.FunctionWrapper<efl_pack_end_api_delegate>(Module, "efl_pack_end");
+
+ private static bool pack_end(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj)
+ {
+ Eina.Log.Debug("function efl_pack_end was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((Container)ws.Target).PackEnd(subobj);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_pack_end_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj);
+ }
+ }
+
+ private static efl_pack_end_delegate efl_pack_end_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_pack_before_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity existing);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_pack_before_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity existing);
+
+ public static Efl.Eo.FunctionWrapper<efl_pack_before_api_delegate> efl_pack_before_ptr = new Efl.Eo.FunctionWrapper<efl_pack_before_api_delegate>(Module, "efl_pack_before");
+
+ private static bool pack_before(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing)
+ {
+ Eina.Log.Debug("function efl_pack_before was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((Container)ws.Target).PackBefore(subobj, existing);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_pack_before_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, existing);
+ }
+ }
+
+ private static efl_pack_before_delegate efl_pack_before_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_pack_after_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity existing);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_pack_after_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity existing);
+
+ public static Efl.Eo.FunctionWrapper<efl_pack_after_api_delegate> efl_pack_after_ptr = new Efl.Eo.FunctionWrapper<efl_pack_after_api_delegate>(Module, "efl_pack_after");
+
+ private static bool pack_after(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing)
+ {
+ Eina.Log.Debug("function efl_pack_after was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((Container)ws.Target).PackAfter(subobj, existing);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_pack_after_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, existing);
+ }
+ }
+
+ private static efl_pack_after_delegate efl_pack_after_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_pack_at_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, int index);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_pack_at_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, int index);
+
+ public static Efl.Eo.FunctionWrapper<efl_pack_at_api_delegate> efl_pack_at_ptr = new Efl.Eo.FunctionWrapper<efl_pack_at_api_delegate>(Module, "efl_pack_at");
+
+ private static bool pack_at(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, int index)
+ {
+ Eina.Log.Debug("function efl_pack_at was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((Container)ws.Target).PackAt(subobj, index);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_pack_at_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, index);
+ }
+ }
+
+ private static efl_pack_at_delegate efl_pack_at_static_delegate;
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ private delegate Efl.Gfx.IEntity efl_pack_content_get_delegate(System.IntPtr obj, System.IntPtr pd, int index);
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ public delegate Efl.Gfx.IEntity efl_pack_content_get_api_delegate(System.IntPtr obj, int index);
+
+ public static Efl.Eo.FunctionWrapper<efl_pack_content_get_api_delegate> efl_pack_content_get_ptr = new Efl.Eo.FunctionWrapper<efl_pack_content_get_api_delegate>(Module, "efl_pack_content_get");
+
+ private static Efl.Gfx.IEntity pack_content_get(System.IntPtr obj, System.IntPtr pd, int index)
+ {
+ Eina.Log.Debug("function efl_pack_content_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
+ try
+ {
+ _ret_var = ((Container)ws.Target).GetPackContent(index);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_pack_content_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), index);
+ }
+ }
+
+ private static efl_pack_content_get_delegate efl_pack_content_get_static_delegate;
+
+
+ private delegate int efl_pack_index_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
+
+
+ public delegate int efl_pack_index_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
+
+ public static Efl.Eo.FunctionWrapper<efl_pack_index_get_api_delegate> efl_pack_index_get_ptr = new Efl.Eo.FunctionWrapper<efl_pack_index_get_api_delegate>(Module, "efl_pack_index_get");
+
+ private static int pack_index_get(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj)
+ {
+ Eina.Log.Debug("function efl_pack_index_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ int _ret_var = default(int);
+ try
+ {
+ _ret_var = ((Container)ws.Target).GetPackIndex(subobj);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_pack_index_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj);
+ }
+ }
+
+ private static efl_pack_index_get_delegate efl_pack_index_get_static_delegate;
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ private delegate Efl.Gfx.IEntity efl_pack_unpack_at_delegate(System.IntPtr obj, System.IntPtr pd, int index);
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ public delegate Efl.Gfx.IEntity efl_pack_unpack_at_api_delegate(System.IntPtr obj, int index);
+
+ public static Efl.Eo.FunctionWrapper<efl_pack_unpack_at_api_delegate> efl_pack_unpack_at_ptr = new Efl.Eo.FunctionWrapper<efl_pack_unpack_at_api_delegate>(Module, "efl_pack_unpack_at");
+
+ private static Efl.Gfx.IEntity pack_unpack_at(System.IntPtr obj, System.IntPtr pd, int index)
+ {
+ Eina.Log.Debug("function efl_pack_unpack_at was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
+ try
+ {
+ _ret_var = ((Container)ws.Target).PackUnpackAt(index);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_pack_unpack_at_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), index);
+ }
+ }
+
+ private static efl_pack_unpack_at_delegate efl_pack_unpack_at_static_delegate;
+
+ #pragma warning restore CA1707, CS1591, SA1300, SA1600
+
+}
+}
+}
+
+}
+
+}
+
+namespace Efl {
+
+namespace Ui {
+
+namespace Spotlight {
+
+/// <summary>Information regarding transition events.</summary>
+[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
+public struct TransitionEvent
+{
+ /// <summary>The index from where the transition started, -1 if not known.</summary>
+ public int From;
+ /// <summary>The index to where the transition is headed, -1 if not known.</summary>
+ public int To;
+ ///<summary>Constructor for TransitionEvent.</summary>
+ public TransitionEvent(
+ int From = default(int),
+ int To = default(int) )
+ {
+ this.From = From;
+ this.To = To;
+ }
+
+ ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
+ ///<param name="ptr">Native pointer to be converted.</param>
+ public static implicit operator TransitionEvent(IntPtr ptr)
+ {
+ var tmp = (TransitionEvent.NativeStruct)Marshal.PtrToStructure(ptr, typeof(TransitionEvent.NativeStruct));
+ return tmp;
+ }
+
+ #pragma warning disable CS1591
+
+ ///<summary>Internal wrapper for struct TransitionEvent.</summary>
+ [StructLayout(LayoutKind.Sequential)]
+ public struct NativeStruct
+ {
+
+ public int From;
+
+ public int To;
+ ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ public static implicit operator TransitionEvent.NativeStruct(TransitionEvent _external_struct)
+ {
+ var _internal_struct = new TransitionEvent.NativeStruct();
+ _internal_struct.From = _external_struct.From;
+ _internal_struct.To = _external_struct.To;
+ return _internal_struct;
+ }
+
+ ///<summary>Implicit conversion to the managed representation.</summary>
+ public static implicit operator TransitionEvent(TransitionEvent.NativeStruct _internal_struct)
+ {
+ var _external_struct = new TransitionEvent();
+ _external_struct.From = _internal_struct.From;
+ _external_struct.To = _internal_struct.To;
+ return _external_struct;
+ }
+
+ }
+
+ #pragma warning restore CS1591
+
+}
+
+}
+
+}
+
+}
+
--- /dev/null
+#pragma warning disable CS1591
+using System;
+using System.Runtime.InteropServices;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading;
+using System.ComponentModel;
+namespace Efl {
+
+namespace Ui {
+
+namespace Spotlight {
+
+/// <summary>Object used by <see cref="Efl.Ui.Spotlight.Container"/> to render an indication of the active widgets's position among the rest of the container's widgets.
+/// An example would be Android's little dots in the home screen.</summary>
+[Efl.Ui.Spotlight.Indicator.NativeMethods]
+[Efl.Eo.BindingEntity]
+public abstract class Indicator : Efl.Object
+{
+ ///<summary>Pointer to the native class description.</summary>
+ public override System.IntPtr NativeClass
+ {
+ get
+ {
+ if (((object)this).GetType() == typeof(Indicator))
+ {
+ return GetEflClassStatic();
+ }
+ else
+ {
+ return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
+ }
+ }
+ }
+
+ [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
+ efl_ui_spotlight_indicator_class_get();
+ /// <summary>Initializes a new instance of the <see cref="Indicator"/> class.</summary>
+ /// <param name="parent">Parent instance.</param>
+ public Indicator(Efl.Object parent= null
+ ) : base(efl_ui_spotlight_indicator_class_get(), parent)
+ {
+ FinishInstantiation();
+ }
+
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Indicator(ConstructingHandle ch) : base(ch)
+ {
+ }
+
+ /// <summary>Initializes a new instance of the <see cref="Indicator"/> class.
+ /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Indicator(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
+ {
+ }
+
+ [Efl.Eo.PrivateNativeClass]
+ private class IndicatorRealized : Indicator
+ {
+ private IndicatorRealized(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
+ {
+ }
+ }
+ /// <summary>Initializes a new instance of the <see cref="Indicator"/> class.
+ /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
+ /// <param name="baseKlass">The pointer to the base native Eo class.</param>
+ /// <param name="parent">The Efl.Object parent of this instance.</param>
+ protected Indicator(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
+ {
+ }
+
+ /// <summary>This method is called the first time an <see cref="Efl.Ui.Spotlight.Indicator"/> is assigned to an <see cref="Efl.Ui.Spotlight.Container"/>, binding them together.
+ /// This call can be used to setup the indicator part of the <c>spotlight</c>.
+ ///
+ /// The Active View of the container (if there is any) will be informed to the indicator by a later call to <see cref="Efl.Ui.Spotlight.Indicator.UpdatePosition"/>.</summary>
+ /// <param name="spotlight">The container to bind this indicator to.</param>
+ virtual public void Bind(Efl.Ui.Spotlight.Container spotlight) {
+ Efl.Ui.Spotlight.Indicator.NativeMethods.efl_ui_spotlight_indicator_bind_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),spotlight);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>A <c>subobj</c> has been added at position <c>index</c> in the bound container.
+ /// The manager should check the container's <see cref="Efl.Ui.Spotlight.Container.ActiveIndex"/> since indices might have shifted due to the insertion of the new object.</summary>
+ /// <param name="subobj">The new object that has been added to the container.</param>
+ /// <param name="index">The index of the new object in the container's list.</param>
+ virtual public void AddContent(Efl.Gfx.IEntity subobj, int index) {
+ Efl.Ui.Spotlight.Indicator.NativeMethods.efl_ui_spotlight_indicator_content_add_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, index);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>The <c>subobj</c> at position <c>index</c> in the bound container has been removed.
+ /// The manager should check the container's <see cref="Efl.Ui.Spotlight.Container.ActiveIndex"/> since indices might have shifted due to the removal of the object.</summary>
+ /// <param name="subobj">The object being removed from the container.</param>
+ /// <param name="index">The index this object had in the container's list.</param>
+ virtual public void DelContent(Efl.Gfx.IEntity subobj, int index) {
+ Efl.Ui.Spotlight.Indicator.NativeMethods.efl_ui_spotlight_indicator_content_del_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, index);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>This method tells the indicator that <see cref="Efl.Ui.Spotlight.Container.ActiveIndex"/> has changed in the bound container.
+ /// <c>position</c> ranges from -1 to the number of views in the bound container (<see cref="Efl.IContainer.ContentCount"/>). Notice this allows moving to a position before the first view or past the last view, which might happen if the view is thumb-scrolled out-of-bounds. Indicators can choose to render these out-of-bounds positions or not.
+ ///
+ /// Fractional values indicate positions in-between two views and should be respected to obtain a smooth transition.</summary>
+ /// <param name="position">The index of the active view, or a value in-between views if a transition is currently playing.</param>
+ virtual public void UpdatePosition(double position) {
+ Efl.Ui.Spotlight.Indicator.NativeMethods.efl_ui_spotlight_indicator_position_update_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),position);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ private static IntPtr GetEflClassStatic()
+ {
+ return Efl.Ui.Spotlight.Indicator.efl_ui_spotlight_indicator_class_get();
+ }
+ /// <summary>Wrapper for native methods and virtual method delegates.
+ /// For internal use by generated code only.</summary>
+ public new class NativeMethods : Efl.Object.NativeMethods
+ {
+ private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
+ /// <summary>Gets the list of Eo operations to override.</summary>
+ /// <returns>The list of Eo operations to be overload.</returns>
+ public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
+ {
+ var descs = new System.Collections.Generic.List<Efl_Op_Description>();
+ var methods = Efl.Eo.Globals.GetUserMethods(type);
+
+ if (efl_ui_spotlight_indicator_bind_static_delegate == null)
+ {
+ efl_ui_spotlight_indicator_bind_static_delegate = new efl_ui_spotlight_indicator_bind_delegate(bind);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "Bind") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spotlight_indicator_bind"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spotlight_indicator_bind_static_delegate) });
+ }
+
+ if (efl_ui_spotlight_indicator_content_add_static_delegate == null)
+ {
+ efl_ui_spotlight_indicator_content_add_static_delegate = new efl_ui_spotlight_indicator_content_add_delegate(content_add);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "AddContent") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spotlight_indicator_content_add"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spotlight_indicator_content_add_static_delegate) });
+ }
+
+ if (efl_ui_spotlight_indicator_content_del_static_delegate == null)
+ {
+ efl_ui_spotlight_indicator_content_del_static_delegate = new efl_ui_spotlight_indicator_content_del_delegate(content_del);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "DelContent") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spotlight_indicator_content_del"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spotlight_indicator_content_del_static_delegate) });
+ }
+
+ if (efl_ui_spotlight_indicator_position_update_static_delegate == null)
+ {
+ efl_ui_spotlight_indicator_position_update_static_delegate = new efl_ui_spotlight_indicator_position_update_delegate(position_update);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "UpdatePosition") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spotlight_indicator_position_update"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spotlight_indicator_position_update_static_delegate) });
+ }
+
+ descs.AddRange(base.GetEoOps(type));
+ return descs;
+ }
+ /// <summary>Returns the Eo class for the native methods of this class.</summary>
+ /// <returns>The native class pointer.</returns>
+ public override IntPtr GetEflClass()
+ {
+ return Efl.Ui.Spotlight.Indicator.efl_ui_spotlight_indicator_class_get();
+ }
+
+ #pragma warning disable CA1707, CS1591, SA1300, SA1600
+
+
+ private delegate void efl_ui_spotlight_indicator_bind_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Spotlight.Container spotlight);
+
+
+ public delegate void efl_ui_spotlight_indicator_bind_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Spotlight.Container spotlight);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_spotlight_indicator_bind_api_delegate> efl_ui_spotlight_indicator_bind_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spotlight_indicator_bind_api_delegate>(Module, "efl_ui_spotlight_indicator_bind");
+
+ private static void bind(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Spotlight.Container spotlight)
+ {
+ Eina.Log.Debug("function efl_ui_spotlight_indicator_bind was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Indicator)ws.Target).Bind(spotlight);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_spotlight_indicator_bind_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), spotlight);
+ }
+ }
+
+ private static efl_ui_spotlight_indicator_bind_delegate efl_ui_spotlight_indicator_bind_static_delegate;
+
+
+ private delegate void efl_ui_spotlight_indicator_content_add_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, int index);
+
+
+ public delegate void efl_ui_spotlight_indicator_content_add_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, int index);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_spotlight_indicator_content_add_api_delegate> efl_ui_spotlight_indicator_content_add_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spotlight_indicator_content_add_api_delegate>(Module, "efl_ui_spotlight_indicator_content_add");
+
+ private static void content_add(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, int index)
+ {
+ Eina.Log.Debug("function efl_ui_spotlight_indicator_content_add was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Indicator)ws.Target).AddContent(subobj, index);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_spotlight_indicator_content_add_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, index);
+ }
+ }
+
+ private static efl_ui_spotlight_indicator_content_add_delegate efl_ui_spotlight_indicator_content_add_static_delegate;
+
+
+ private delegate void efl_ui_spotlight_indicator_content_del_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, int index);
+
+
+ public delegate void efl_ui_spotlight_indicator_content_del_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, int index);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_spotlight_indicator_content_del_api_delegate> efl_ui_spotlight_indicator_content_del_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spotlight_indicator_content_del_api_delegate>(Module, "efl_ui_spotlight_indicator_content_del");
+
+ private static void content_del(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, int index)
+ {
+ Eina.Log.Debug("function efl_ui_spotlight_indicator_content_del was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Indicator)ws.Target).DelContent(subobj, index);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_spotlight_indicator_content_del_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, index);
+ }
+ }
+
+ private static efl_ui_spotlight_indicator_content_del_delegate efl_ui_spotlight_indicator_content_del_static_delegate;
+
+
+ private delegate void efl_ui_spotlight_indicator_position_update_delegate(System.IntPtr obj, System.IntPtr pd, double position);
+
+
+ public delegate void efl_ui_spotlight_indicator_position_update_api_delegate(System.IntPtr obj, double position);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_spotlight_indicator_position_update_api_delegate> efl_ui_spotlight_indicator_position_update_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spotlight_indicator_position_update_api_delegate>(Module, "efl_ui_spotlight_indicator_position_update");
+
+ private static void position_update(System.IntPtr obj, System.IntPtr pd, double position)
+ {
+ Eina.Log.Debug("function efl_ui_spotlight_indicator_position_update was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Indicator)ws.Target).UpdatePosition(position);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_spotlight_indicator_position_update_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), position);
+ }
+ }
+
+ private static efl_ui_spotlight_indicator_position_update_delegate efl_ui_spotlight_indicator_position_update_static_delegate;
+
+ #pragma warning restore CA1707, CS1591, SA1300, SA1600
+
+}
+}
+}
+
+}
+
+}
+
--- /dev/null
+#pragma warning disable CS1591
+using System;
+using System.Runtime.InteropServices;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading;
+using System.ComponentModel;
+namespace Efl {
+
+namespace Ui {
+
+namespace Spotlight {
+
+[Efl.Ui.Spotlight.IndicatorIcon.NativeMethods]
+[Efl.Eo.BindingEntity]
+public class IndicatorIcon : Efl.Ui.Spotlight.Indicator
+{
+ ///<summary>Pointer to the native class description.</summary>
+ public override System.IntPtr NativeClass
+ {
+ get
+ {
+ if (((object)this).GetType() == typeof(IndicatorIcon))
+ {
+ return GetEflClassStatic();
+ }
+ else
+ {
+ return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
+ }
+ }
+ }
+
+ [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
+ efl_ui_spotlight_indicator_icon_class_get();
+ /// <summary>Initializes a new instance of the <see cref="IndicatorIcon"/> class.</summary>
+ /// <param name="parent">Parent instance.</param>
+ public IndicatorIcon(Efl.Object parent= null
+ ) : base(efl_ui_spotlight_indicator_icon_class_get(), parent)
+ {
+ FinishInstantiation();
+ }
+
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected IndicatorIcon(ConstructingHandle ch) : base(ch)
+ {
+ }
+
+ /// <summary>Initializes a new instance of the <see cref="IndicatorIcon"/> class.
+ /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected IndicatorIcon(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
+ {
+ }
+
+ /// <summary>Initializes a new instance of the <see cref="IndicatorIcon"/> class.
+ /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
+ /// <param name="baseKlass">The pointer to the base native Eo class.</param>
+ /// <param name="parent">The Efl.Object parent of this instance.</param>
+ protected IndicatorIcon(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
+ {
+ }
+
+ private static IntPtr GetEflClassStatic()
+ {
+ return Efl.Ui.Spotlight.IndicatorIcon.efl_ui_spotlight_indicator_icon_class_get();
+ }
+ /// <summary>Wrapper for native methods and virtual method delegates.
+ /// For internal use by generated code only.</summary>
+ public new class NativeMethods : Efl.Ui.Spotlight.Indicator.NativeMethods
+ {
+ /// <summary>Gets the list of Eo operations to override.</summary>
+ /// <returns>The list of Eo operations to be overload.</returns>
+ public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
+ {
+ var descs = new System.Collections.Generic.List<Efl_Op_Description>();
+ descs.AddRange(base.GetEoOps(type));
+ return descs;
+ }
+ /// <summary>Returns the Eo class for the native methods of this class.</summary>
+ /// <returns>The native class pointer.</returns>
+ public override IntPtr GetEflClass()
+ {
+ return Efl.Ui.Spotlight.IndicatorIcon.efl_ui_spotlight_indicator_icon_class_get();
+ }
+
+ #pragma warning disable CA1707, CS1591, SA1300, SA1600
+
+ #pragma warning restore CA1707, CS1591, SA1300, SA1600
+
+}
+}
+}
+
+}
+
+}
+
--- /dev/null
+#pragma warning disable CS1591
+using System;
+using System.Runtime.InteropServices;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading;
+using System.ComponentModel;
+namespace Efl {
+
+namespace Ui {
+
+namespace Spotlight {
+
+///<summary>Event argument wrapper for event <see cref="Efl.Ui.Spotlight.Manager.PosUpdateEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
+public class ManagerPosUpdateEvt_Args : EventArgs {
+ ///<summary>Actual event payload.</summary>
+ public double arg { get; set; }
+}
+/// <summary>Manager object used by <see cref="Efl.Ui.Spotlight.Container"/> to handle rendering and animation of its sub-widgets, and user interaction.
+/// For instance, changes to the current sub-widget in the spotlight (<see cref="Efl.Ui.Spotlight.Container.ActiveIndex"/>) can be animated with a transition. This object can also handle user interaction. For example, dragging the sub-widget to one side to get to a different sub-widget (like an smartphone home screen). Such user interactions should end up setting a new <see cref="Efl.Ui.Spotlight.Container.ActiveIndex"/>. During a transition, the evolution of the current position should be exposed by emitting <c>pos_update</c> events.</summary>
+[Efl.Ui.Spotlight.Manager.NativeMethods]
+[Efl.Eo.BindingEntity]
+public abstract class Manager : Efl.Object
+{
+ ///<summary>Pointer to the native class description.</summary>
+ public override System.IntPtr NativeClass
+ {
+ get
+ {
+ if (((object)this).GetType() == typeof(Manager))
+ {
+ return GetEflClassStatic();
+ }
+ else
+ {
+ return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
+ }
+ }
+ }
+
+ [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
+ efl_ui_spotlight_manager_class_get();
+ /// <summary>Initializes a new instance of the <see cref="Manager"/> class.</summary>
+ /// <param name="parent">Parent instance.</param>
+ public Manager(Efl.Object parent= null
+ ) : base(efl_ui_spotlight_manager_class_get(), parent)
+ {
+ FinishInstantiation();
+ }
+
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Manager(ConstructingHandle ch) : base(ch)
+ {
+ }
+
+ /// <summary>Initializes a new instance of the <see cref="Manager"/> class.
+ /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Manager(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
+ {
+ }
+
+ [Efl.Eo.PrivateNativeClass]
+ private class ManagerRealized : Manager
+ {
+ private ManagerRealized(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
+ {
+ }
+ }
+ /// <summary>Initializes a new instance of the <see cref="Manager"/> class.
+ /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
+ /// <param name="baseKlass">The pointer to the base native Eo class.</param>
+ /// <param name="parent">The Efl.Object parent of this instance.</param>
+ protected Manager(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
+ {
+ }
+
+ /// <summary>Index of the sub-widget currently being displayed. Fractional values indicate a position in-between sub-widgets. For instance, when transitioning from sub-widget 2 to sub-widget 3, this event should be emitted with monotonically increasing values ranging from 2.0 to 3.0. Animations can perform any movement they want, but the reported <c>pos_update</c> must move in the same direction.</summary>
+ public event EventHandler<Efl.Ui.Spotlight.ManagerPosUpdateEvt_Args> PosUpdateEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
+ {
+ var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
+ if (obj != null)
+ {
+ Efl.Ui.Spotlight.ManagerPosUpdateEvt_Args args = new Efl.Ui.Spotlight.ManagerPosUpdateEvt_Args();
+ args.arg = Eina.PrimitiveConversion.PointerToManaged<double>(evt.Info);
+ try
+ {
+ value?.Invoke(obj, args);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Error(e.ToString());
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+ }
+ };
+
+ string key = "_EFL_UI_SPOTLIGHT_MANAGER_EVENT_POS_UPDATE";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_SPOTLIGHT_MANAGER_EVENT_POS_UPDATE";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ ///<summary>Method to raise event PosUpdateEvt.</summary>
+ public void OnPosUpdateEvt(Efl.Ui.Spotlight.ManagerPosUpdateEvt_Args e)
+ {
+ var key = "_EFL_UI_SPOTLIGHT_MANAGER_EVENT_POS_UPDATE";
+ IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
+ if (desc == IntPtr.Zero)
+ {
+ Eina.Log.Error($"Failed to get native event {key}");
+ return;
+ }
+
+ IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg);
+ try
+ {
+ Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
+ }
+ finally
+ {
+ Marshal.FreeHGlobal(info);
+ }
+ }
+ /// <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();
+ }
+ /// <summary>This flag can be used to disable animations.</summary>
+ /// <returns><c>true</c> if you want animations to happen, <c>false</c> otherwise.</returns>
+ virtual public bool GetAnimationEnabled() {
+ var _ret_var = Efl.Ui.Spotlight.Manager.NativeMethods.efl_ui_spotlight_manager_animation_enabled_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>This flag can be used to disable animations.</summary>
+ /// <param name="enable"><c>true</c> if you want animations to happen, <c>false</c> otherwise.</param>
+ virtual public void SetAnimationEnabled(bool enable) {
+ Efl.Ui.Spotlight.Manager.NativeMethods.efl_ui_spotlight_manager_animation_enabled_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),enable);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>This method is called the first time an <see cref="Efl.Ui.Spotlight.Manager"/> is assigned to an <see cref="Efl.Ui.Spotlight.Container"/>, binding them together. The manager can read the current content of the container, subscribe to events, or do any initialization it requires.</summary>
+ /// <param name="spotlight">The container to bind the manager to.</param>
+ /// <param name="group">The graphical group where the views should be added with <see cref="Efl.Canvas.Group.AddGroupMember"/> and removed with <see cref="Efl.Canvas.Group.GroupMemberRemove"/>.</param>
+ virtual public void Bind(Efl.Ui.Spotlight.Container spotlight, Efl.Canvas.Group group) {
+ Efl.Ui.Spotlight.Manager.NativeMethods.efl_ui_spotlight_manager_bind_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),spotlight, group);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>A <c>subobj</c> has been added at position <c>index</c> in the bound container.
+ /// The manager should check the container's <see cref="Efl.Ui.Spotlight.Container.ActiveIndex"/> since indices might have shifted due to the insertion of the new object.</summary>
+ /// <param name="subobj">The new object that has been added to the container.</param>
+ /// <param name="index">The index of the new object in the container's list.</param>
+ virtual public void AddContent(Efl.Gfx.IEntity subobj, int index) {
+ Efl.Ui.Spotlight.Manager.NativeMethods.efl_ui_spotlight_manager_content_add_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, index);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>The <c>subobj</c> at position <c>index</c> in the bound container has been removed.
+ /// The manager should check the container's <see cref="Efl.Ui.Spotlight.Container.ActiveIndex"/> since indices might have shifted due to the removal of the object.</summary>
+ /// <param name="subobj">The object being removed from the container.</param>
+ /// <param name="index">The index this object had in the container's list.</param>
+ virtual public void DelContent(Efl.Gfx.IEntity subobj, int index) {
+ Efl.Ui.Spotlight.Manager.NativeMethods.efl_ui_spotlight_manager_content_del_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, index);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Switch from one sub-widget to another. If there was no previous sub-widget, <c>from</c> might be -1. This function should display an animation if the <see cref="Efl.Ui.Spotlight.Manager"/> supports them.</summary>
+ /// <param name="from">Index of the starting sub-widget in the container's list. Might be -1 if unknown.</param>
+ /// <param name="to">Index of the target sub-widget in the container's list.</param>
+ virtual public void SwitchTo(int from, int to) {
+ Efl.Ui.Spotlight.Manager.NativeMethods.efl_ui_spotlight_manager_switch_to_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),from, to);
+ 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>
+ /// <value>The new size of the sub-widgets.</value>
+ public Eina.Size2D Size {
+ set { SetSize(value); }
+ }
+ /// <summary>This flag can be used to disable animations.</summary>
+ /// <value><c>true</c> if you want animations to happen, <c>false</c> otherwise.</value>
+ public bool AnimationEnabled {
+ get { return GetAnimationEnabled(); }
+ set { SetAnimationEnabled(value); }
+ }
+ private static IntPtr GetEflClassStatic()
+ {
+ return Efl.Ui.Spotlight.Manager.efl_ui_spotlight_manager_class_get();
+ }
+ /// <summary>Wrapper for native methods and virtual method delegates.
+ /// For internal use by generated code only.</summary>
+ public new class NativeMethods : Efl.Object.NativeMethods
+ {
+ private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
+ /// <summary>Gets the list of Eo operations to override.</summary>
+ /// <returns>The list of Eo operations to be overload.</returns>
+ public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
+ {
+ var descs = new System.Collections.Generic.List<Efl_Op_Description>();
+ var methods = Efl.Eo.Globals.GetUserMethods(type);
+
+ if (efl_ui_spotlight_manager_size_set_static_delegate == null)
+ {
+ efl_ui_spotlight_manager_size_set_static_delegate = new efl_ui_spotlight_manager_size_set_delegate(size_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetSize") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spotlight_manager_size_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spotlight_manager_size_set_static_delegate) });
+ }
+
+ if (efl_ui_spotlight_manager_animation_enabled_get_static_delegate == null)
+ {
+ efl_ui_spotlight_manager_animation_enabled_get_static_delegate = new efl_ui_spotlight_manager_animation_enabled_get_delegate(animation_enabled_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetAnimationEnabled") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spotlight_manager_animation_enabled_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spotlight_manager_animation_enabled_get_static_delegate) });
+ }
+
+ if (efl_ui_spotlight_manager_animation_enabled_set_static_delegate == null)
+ {
+ efl_ui_spotlight_manager_animation_enabled_set_static_delegate = new efl_ui_spotlight_manager_animation_enabled_set_delegate(animation_enabled_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetAnimationEnabled") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spotlight_manager_animation_enabled_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spotlight_manager_animation_enabled_set_static_delegate) });
+ }
+
+ if (efl_ui_spotlight_manager_bind_static_delegate == null)
+ {
+ efl_ui_spotlight_manager_bind_static_delegate = new efl_ui_spotlight_manager_bind_delegate(bind);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "Bind") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spotlight_manager_bind"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spotlight_manager_bind_static_delegate) });
+ }
+
+ if (efl_ui_spotlight_manager_content_add_static_delegate == null)
+ {
+ efl_ui_spotlight_manager_content_add_static_delegate = new efl_ui_spotlight_manager_content_add_delegate(content_add);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "AddContent") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spotlight_manager_content_add"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spotlight_manager_content_add_static_delegate) });
+ }
+
+ if (efl_ui_spotlight_manager_content_del_static_delegate == null)
+ {
+ efl_ui_spotlight_manager_content_del_static_delegate = new efl_ui_spotlight_manager_content_del_delegate(content_del);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "DelContent") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spotlight_manager_content_del"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spotlight_manager_content_del_static_delegate) });
+ }
+
+ if (efl_ui_spotlight_manager_switch_to_static_delegate == null)
+ {
+ efl_ui_spotlight_manager_switch_to_static_delegate = new efl_ui_spotlight_manager_switch_to_delegate(switch_to);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SwitchTo") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spotlight_manager_switch_to"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spotlight_manager_switch_to_static_delegate) });
+ }
+
+ descs.AddRange(base.GetEoOps(type));
+ return descs;
+ }
+ /// <summary>Returns the Eo class for the native methods of this class.</summary>
+ /// <returns>The native class pointer.</returns>
+ public override IntPtr GetEflClass()
+ {
+ return Efl.Ui.Spotlight.Manager.efl_ui_spotlight_manager_class_get();
+ }
+
+ #pragma warning disable CA1707, CS1591, SA1300, SA1600
+
+
+ private delegate void efl_ui_spotlight_manager_size_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct size);
+
+
+ public delegate void efl_ui_spotlight_manager_size_set_api_delegate(System.IntPtr obj, Eina.Size2D.NativeStruct size);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_spotlight_manager_size_set_api_delegate> efl_ui_spotlight_manager_size_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spotlight_manager_size_set_api_delegate>(Module, "efl_ui_spotlight_manager_size_set");
+
+ 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);
+ }
+ }
+
+ private static efl_ui_spotlight_manager_size_set_delegate efl_ui_spotlight_manager_size_set_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_ui_spotlight_manager_animation_enabled_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_ui_spotlight_manager_animation_enabled_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_spotlight_manager_animation_enabled_get_api_delegate> efl_ui_spotlight_manager_animation_enabled_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spotlight_manager_animation_enabled_get_api_delegate>(Module, "efl_ui_spotlight_manager_animation_enabled_get");
+
+ private static bool animation_enabled_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_spotlight_manager_animation_enabled_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((Manager)ws.Target).GetAnimationEnabled();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_spotlight_manager_animation_enabled_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_spotlight_manager_animation_enabled_get_delegate efl_ui_spotlight_manager_animation_enabled_get_static_delegate;
+
+
+ private delegate void efl_ui_spotlight_manager_animation_enabled_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool enable);
+
+
+ public delegate void efl_ui_spotlight_manager_animation_enabled_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool enable);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_spotlight_manager_animation_enabled_set_api_delegate> efl_ui_spotlight_manager_animation_enabled_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spotlight_manager_animation_enabled_set_api_delegate>(Module, "efl_ui_spotlight_manager_animation_enabled_set");
+
+ private static void animation_enabled_set(System.IntPtr obj, System.IntPtr pd, bool enable)
+ {
+ Eina.Log.Debug("function efl_ui_spotlight_manager_animation_enabled_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Manager)ws.Target).SetAnimationEnabled(enable);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_spotlight_manager_animation_enabled_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), enable);
+ }
+ }
+
+ private static efl_ui_spotlight_manager_animation_enabled_set_delegate efl_ui_spotlight_manager_animation_enabled_set_static_delegate;
+
+
+ private delegate void efl_ui_spotlight_manager_bind_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Spotlight.Container spotlight, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Group group);
+
+
+ public delegate void efl_ui_spotlight_manager_bind_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Spotlight.Container spotlight, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Group group);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_spotlight_manager_bind_api_delegate> efl_ui_spotlight_manager_bind_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spotlight_manager_bind_api_delegate>(Module, "efl_ui_spotlight_manager_bind");
+
+ private static void bind(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Spotlight.Container spotlight, Efl.Canvas.Group group)
+ {
+ Eina.Log.Debug("function efl_ui_spotlight_manager_bind was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Manager)ws.Target).Bind(spotlight, group);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_spotlight_manager_bind_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), spotlight, group);
+ }
+ }
+
+ private static efl_ui_spotlight_manager_bind_delegate efl_ui_spotlight_manager_bind_static_delegate;
+
+
+ private delegate void efl_ui_spotlight_manager_content_add_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, int index);
+
+
+ public delegate void efl_ui_spotlight_manager_content_add_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, int index);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_spotlight_manager_content_add_api_delegate> efl_ui_spotlight_manager_content_add_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spotlight_manager_content_add_api_delegate>(Module, "efl_ui_spotlight_manager_content_add");
+
+ private static void content_add(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, int index)
+ {
+ Eina.Log.Debug("function efl_ui_spotlight_manager_content_add was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Manager)ws.Target).AddContent(subobj, index);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_spotlight_manager_content_add_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, index);
+ }
+ }
+
+ private static efl_ui_spotlight_manager_content_add_delegate efl_ui_spotlight_manager_content_add_static_delegate;
+
+
+ private delegate void efl_ui_spotlight_manager_content_del_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, int index);
+
+
+ public delegate void efl_ui_spotlight_manager_content_del_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, int index);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_spotlight_manager_content_del_api_delegate> efl_ui_spotlight_manager_content_del_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spotlight_manager_content_del_api_delegate>(Module, "efl_ui_spotlight_manager_content_del");
+
+ private static void content_del(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, int index)
+ {
+ Eina.Log.Debug("function efl_ui_spotlight_manager_content_del was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Manager)ws.Target).DelContent(subobj, index);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_spotlight_manager_content_del_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, index);
+ }
+ }
+
+ private static efl_ui_spotlight_manager_content_del_delegate efl_ui_spotlight_manager_content_del_static_delegate;
+
+
+ private delegate void efl_ui_spotlight_manager_switch_to_delegate(System.IntPtr obj, System.IntPtr pd, int from, int to);
+
+
+ public delegate void efl_ui_spotlight_manager_switch_to_api_delegate(System.IntPtr obj, int from, int to);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_spotlight_manager_switch_to_api_delegate> efl_ui_spotlight_manager_switch_to_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spotlight_manager_switch_to_api_delegate>(Module, "efl_ui_spotlight_manager_switch_to");
+
+ private static void switch_to(System.IntPtr obj, System.IntPtr pd, int from, int to)
+ {
+ Eina.Log.Debug("function efl_ui_spotlight_manager_switch_to was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Manager)ws.Target).SwitchTo(from, to);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_spotlight_manager_switch_to_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), from, to);
+ }
+ }
+
+ private static efl_ui_spotlight_manager_switch_to_delegate efl_ui_spotlight_manager_switch_to_static_delegate;
+
+ #pragma warning restore CA1707, CS1591, SA1300, SA1600
+
+}
+}
+}
+
+}
+
+}
+
--- /dev/null
+#pragma warning disable CS1591
+using System;
+using System.Runtime.InteropServices;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading;
+using System.ComponentModel;
+namespace Efl {
+
+namespace Ui {
+
+namespace Spotlight {
+
+[Efl.Ui.Spotlight.ManagerScroll.NativeMethods]
+[Efl.Eo.BindingEntity]
+public class ManagerScroll : Efl.Ui.Spotlight.Manager
+{
+ ///<summary>Pointer to the native class description.</summary>
+ public override System.IntPtr NativeClass
+ {
+ get
+ {
+ if (((object)this).GetType() == typeof(ManagerScroll))
+ {
+ return GetEflClassStatic();
+ }
+ else
+ {
+ return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
+ }
+ }
+ }
+
+ [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
+ efl_ui_spotlight_manager_scroll_class_get();
+ /// <summary>Initializes a new instance of the <see cref="ManagerScroll"/> class.</summary>
+ /// <param name="parent">Parent instance.</param>
+ public ManagerScroll(Efl.Object parent= null
+ ) : base(efl_ui_spotlight_manager_scroll_class_get(), parent)
+ {
+ FinishInstantiation();
+ }
+
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected ManagerScroll(ConstructingHandle ch) : base(ch)
+ {
+ }
+
+ /// <summary>Initializes a new instance of the <see cref="ManagerScroll"/> class.
+ /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected ManagerScroll(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
+ {
+ }
+
+ /// <summary>Initializes a new instance of the <see cref="ManagerScroll"/> class.
+ /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
+ /// <param name="baseKlass">The pointer to the base native Eo class.</param>
+ /// <param name="parent">The Efl.Object parent of this instance.</param>
+ protected ManagerScroll(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
+ {
+ }
+
+ private static IntPtr GetEflClassStatic()
+ {
+ return Efl.Ui.Spotlight.ManagerScroll.efl_ui_spotlight_manager_scroll_class_get();
+ }
+ /// <summary>Wrapper for native methods and virtual method delegates.
+ /// For internal use by generated code only.</summary>
+ public new class NativeMethods : Efl.Ui.Spotlight.Manager.NativeMethods
+ {
+ /// <summary>Gets the list of Eo operations to override.</summary>
+ /// <returns>The list of Eo operations to be overload.</returns>
+ public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
+ {
+ var descs = new System.Collections.Generic.List<Efl_Op_Description>();
+ descs.AddRange(base.GetEoOps(type));
+ return descs;
+ }
+ /// <summary>Returns the Eo class for the native methods of this class.</summary>
+ /// <returns>The native class pointer.</returns>
+ public override IntPtr GetEflClass()
+ {
+ return Efl.Ui.Spotlight.ManagerScroll.efl_ui_spotlight_manager_scroll_class_get();
+ }
+
+ #pragma warning disable CA1707, CS1591, SA1300, SA1600
+
+ #pragma warning restore CA1707, CS1591, SA1300, SA1600
+
+}
+}
+}
+
+}
+
+}
+
--- /dev/null
+#pragma warning disable CS1591
+using System;
+using System.Runtime.InteropServices;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading;
+using System.ComponentModel;
+namespace Efl {
+
+namespace Ui {
+
+namespace Spotlight {
+
+[Efl.Ui.Spotlight.ManagerStack.NativeMethods]
+[Efl.Eo.BindingEntity]
+public class ManagerStack : Efl.Ui.Spotlight.Manager
+{
+ ///<summary>Pointer to the native class description.</summary>
+ public override System.IntPtr NativeClass
+ {
+ get
+ {
+ if (((object)this).GetType() == typeof(ManagerStack))
+ {
+ return GetEflClassStatic();
+ }
+ else
+ {
+ return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
+ }
+ }
+ }
+
+ [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
+ efl_ui_spotlight_manager_stack_class_get();
+ /// <summary>Initializes a new instance of the <see cref="ManagerStack"/> class.</summary>
+ /// <param name="parent">Parent instance.</param>
+ public ManagerStack(Efl.Object parent= null
+ ) : base(efl_ui_spotlight_manager_stack_class_get(), parent)
+ {
+ FinishInstantiation();
+ }
+
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected ManagerStack(ConstructingHandle ch) : base(ch)
+ {
+ }
+
+ /// <summary>Initializes a new instance of the <see cref="ManagerStack"/> class.
+ /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected ManagerStack(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
+ {
+ }
+
+ /// <summary>Initializes a new instance of the <see cref="ManagerStack"/> class.
+ /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
+ /// <param name="baseKlass">The pointer to the base native Eo class.</param>
+ /// <param name="parent">The Efl.Object parent of this instance.</param>
+ protected ManagerStack(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
+ {
+ }
+
+ private static IntPtr GetEflClassStatic()
+ {
+ return Efl.Ui.Spotlight.ManagerStack.efl_ui_spotlight_manager_stack_class_get();
+ }
+ /// <summary>Wrapper for native methods and virtual method delegates.
+ /// For internal use by generated code only.</summary>
+ public new class NativeMethods : Efl.Ui.Spotlight.Manager.NativeMethods
+ {
+ /// <summary>Gets the list of Eo operations to override.</summary>
+ /// <returns>The list of Eo operations to be overload.</returns>
+ public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
+ {
+ var descs = new System.Collections.Generic.List<Efl_Op_Description>();
+ descs.AddRange(base.GetEoOps(type));
+ return descs;
+ }
+ /// <summary>Returns the Eo class for the native methods of this class.</summary>
+ /// <returns>The native class pointer.</returns>
+ public override IntPtr GetEflClass()
+ {
+ return Efl.Ui.Spotlight.ManagerStack.efl_ui_spotlight_manager_stack_class_get();
+ }
+
+ #pragma warning disable CA1707, CS1591, SA1300, SA1600
+
+ #pragma warning restore CA1707, CS1591, SA1300, SA1600
+
+}
+}
+}
+
+}
+
+}
+
--- /dev/null
+#pragma warning disable CS1591
+using System;
+using System.Runtime.InteropServices;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading;
+using System.ComponentModel;
+namespace Efl {
+
+namespace Ui {
+
+namespace Spotlight {
+
+[Efl.Ui.Spotlight.Util.NativeMethods]
+[Efl.Eo.BindingEntity]
+public class Util : Efl.Eo.EoWrapper
+{
+ ///<summary>Pointer to the native class description.</summary>
+ public override System.IntPtr NativeClass
+ {
+ get
+ {
+ if (((object)this).GetType() == typeof(Util))
+ {
+ return GetEflClassStatic();
+ }
+ else
+ {
+ return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
+ }
+ }
+ }
+
+ [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
+ efl_ui_spotlight_util_class_get();
+ /// <summary>Initializes a new instance of the <see cref="Util"/> class.</summary>
+ /// <param name="parent">Parent instance.</param>
+ public Util(Efl.Object parent= null
+ ) : base(efl_ui_spotlight_util_class_get(), parent)
+ {
+ FinishInstantiation();
+ }
+
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Util(ConstructingHandle ch) : base(ch)
+ {
+ }
+
+ /// <summary>Initializes a new instance of the <see cref="Util"/> class.
+ /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Util(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
+ {
+ }
+
+ /// <summary>Initializes a new instance of the <see cref="Util"/> class.
+ /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
+ /// <param name="baseKlass">The pointer to the base native Eo class.</param>
+ /// <param name="parent">The Efl.Object parent of this instance.</param>
+ protected Util(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
+ {
+ }
+
+ /// <summary>Get a preconfigured stack obejct</summary>
+ public static Efl.Ui.Spotlight.Container StackGen(Efl.Ui.Widget parent) {
+ var _ret_var = Efl.Ui.Spotlight.Util.NativeMethods.efl_ui_spotlight_util_stack_gen_ptr.Value.Delegate(parent);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ private static IntPtr GetEflClassStatic()
+ {
+ return Efl.Ui.Spotlight.Util.efl_ui_spotlight_util_class_get();
+ }
+ /// <summary>Wrapper for native methods and virtual method delegates.
+ /// For internal use by generated code only.</summary>
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
+ {
+ private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
+ /// <summary>Gets the list of Eo operations to override.</summary>
+ /// <returns>The list of Eo operations to be overload.</returns>
+ public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
+ {
+ var descs = new System.Collections.Generic.List<Efl_Op_Description>();
+ descs.AddRange(base.GetEoOps(type));
+ return descs;
+ }
+ /// <summary>Returns the Eo class for the native methods of this class.</summary>
+ /// <returns>The native class pointer.</returns>
+ public override IntPtr GetEflClass()
+ {
+ return Efl.Ui.Spotlight.Util.efl_ui_spotlight_util_class_get();
+ }
+
+ #pragma warning disable CA1707, CS1591, SA1300, SA1600
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ private delegate Efl.Ui.Spotlight.Container efl_ui_spotlight_util_stack_gen_delegate([MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Widget parent);
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ public delegate Efl.Ui.Spotlight.Container efl_ui_spotlight_util_stack_gen_api_delegate([MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Widget parent);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_spotlight_util_stack_gen_api_delegate> efl_ui_spotlight_util_stack_gen_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spotlight_util_stack_gen_api_delegate>(Module, "efl_ui_spotlight_util_stack_gen");
+
+ private static Efl.Ui.Spotlight.Container stack_gen(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Widget parent)
+ {
+ Eina.Log.Debug("function efl_ui_spotlight_util_stack_gen was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.Ui.Spotlight.Container _ret_var = default(Efl.Ui.Spotlight.Container);
+ try
+ {
+ _ret_var = Util.StackGen(parent);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_spotlight_util_stack_gen_ptr.Value.Delegate(parent);
+ }
+ }
+
+ #pragma warning restore CA1707, CS1591, SA1300, SA1600
+
+}
+}
+}
+
+}
+
+}
+
/// <summary>Tab Bar class</summary>
[Efl.Ui.TabBar.NativeMethods]
+[Efl.Eo.BindingEntity]
public class TabBar : Efl.Ui.LayoutBase
{
///<summary>Pointer to the native class description.</summary>
efl_ui_tab_bar_class_get();
/// <summary>Initializes a new instance of the <see cref="TabBar"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public TabBar(Efl.Object parent
- , System.String style = null) : base(efl_ui_tab_bar_class_get(), typeof(TabBar), parent)
+ , System.String style = null) : base(efl_ui_tab_bar_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected TabBar(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="TabBar"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected TabBar(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected TabBar(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="TabBar"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected TabBar(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected TabBar(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
virtual public int GetCurrentTab() {
- var _ret_var = Efl.Ui.TabBar.NativeMethods.efl_ui_tab_bar_current_tab_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.TabBar.NativeMethods.efl_ui_tab_bar_current_tab_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
virtual public void SetCurrentTab(int index) {
- Efl.Ui.TabBar.NativeMethods.efl_ui_tab_bar_current_tab_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),index);
+ Efl.Ui.TabBar.NativeMethods.efl_ui_tab_bar_current_tab_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),index);
Eina.Error.RaiseIfUnhandledException();
}
virtual public uint TabCount() {
- var _ret_var = Efl.Ui.TabBar.NativeMethods.efl_ui_tab_bar_tab_count_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.TabBar.NativeMethods.efl_ui_tab_bar_tab_count_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
virtual public void AddTab(int index, System.String label, System.String icon) {
- Efl.Ui.TabBar.NativeMethods.efl_ui_tab_bar_tab_add_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),index, label, icon);
+ Efl.Ui.TabBar.NativeMethods.efl_ui_tab_bar_tab_add_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),index, label, icon);
Eina.Error.RaiseIfUnhandledException();
}
virtual public void TabRemove(int index) {
- Efl.Ui.TabBar.NativeMethods.efl_ui_tab_bar_tab_remove_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),index);
+ Efl.Ui.TabBar.NativeMethods.efl_ui_tab_bar_tab_remove_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),index);
Eina.Error.RaiseIfUnhandledException();
}
virtual public void SetTabLabel(int index, System.String label) {
- Efl.Ui.TabBar.NativeMethods.efl_ui_tab_bar_tab_label_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),index, label);
+ Efl.Ui.TabBar.NativeMethods.efl_ui_tab_bar_tab_label_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),index, label);
Eina.Error.RaiseIfUnhandledException();
}
virtual public void SetTabIcon(int index, System.String icon) {
- Efl.Ui.TabBar.NativeMethods.efl_ui_tab_bar_tab_icon_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),index, icon);
+ Efl.Ui.TabBar.NativeMethods.efl_ui_tab_bar_tab_icon_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),index, icon);
Eina.Error.RaiseIfUnhandledException();
}
public int CurrentTab {
namespace Ui {
///<summary>Event argument wrapper for event <see cref="Efl.Ui.TabPage.TabChangedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class TabPageTabChangedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Ui.TabPageTabChangedEvent arg { get; set; }
}
/// <summary>Tab Page class</summary>
[Efl.Ui.TabPage.NativeMethods]
+[Efl.Eo.BindingEntity]
public class TabPage : Efl.Ui.LayoutBase, Efl.IContent
{
///<summary>Pointer to the native class description.</summary>
efl_ui_tab_page_class_get();
/// <summary>Initializes a new instance of the <see cref="TabPage"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public TabPage(Efl.Object parent
- , System.String style = null) : base(efl_ui_tab_page_class_get(), typeof(TabPage), parent)
+ , System.String style = null) : base(efl_ui_tab_page_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected TabPage(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="TabPage"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected TabPage(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected TabPage(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="TabPage"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected TabPage(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected TabPage(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_TAB_PAGE_EVENT_TAB_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// (Since EFL 1.22)</summary>
/// <returns>The sub-object.</returns>
virtual public Efl.Gfx.IEntity GetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="content">The sub-object.</param>
/// <returns><c>true</c> if <c>content</c> was successfully swallowed.</returns>
virtual public bool SetContent(Efl.Gfx.IEntity content) {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),content);
+ 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);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Unswallowed object</returns>
virtual public Efl.Gfx.IEntity UnsetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
namespace Ui {
+/// <summary>Which part of the tab has changed.</summary>
+[Efl.Eo.BindingEntity]
public enum TabPageTabChanged
{
-/// <summary>Label changed</summary>
+/// <summary>Label has changed.</summary>
Label = 0,
-/// <summary>Icon changed</summary>
+/// <summary>Icon has changed.</summary>
Icon = 1,
}
namespace Ui {
-/// <summary>Information of changed event</summary>
+/// <summary>Information of changed event.</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct TabPageTabChangedEvent
{
+ /// <summary>Which part of the tab has changed.</summary>
public Efl.Ui.TabPageTabChanged Changed_info;
///<summary>Constructor for TabPageTabChangedEvent.</summary>
public TabPageTabChangedEvent(
/// <summary>Tab_Page internal part class</summary>
[Efl.Ui.TabPagePartTab.NativeMethods]
+[Efl.Eo.BindingEntity]
public class TabPagePartTab : Efl.Ui.LayoutPart, Efl.IText
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="TabPagePartTab"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public TabPagePartTab(Efl.Object parent= null
- ) : base(efl_ui_tab_page_part_tab_class_get(), typeof(TabPagePartTab), parent)
+ ) : base(efl_ui_tab_page_part_tab_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected TabPagePartTab(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="TabPagePartTab"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected TabPagePartTab(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected TabPagePartTab(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="TabPagePartTab"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected TabPagePartTab(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected TabPagePartTab(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
virtual public System.String GetIcon() {
- var _ret_var = Efl.Ui.TabPagePartTab.NativeMethods.efl_ui_tab_page_part_tab_icon_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.TabPagePartTab.NativeMethods.efl_ui_tab_page_part_tab_icon_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
virtual public void SetIcon(System.String path) {
- Efl.Ui.TabPagePartTab.NativeMethods.efl_ui_tab_page_part_tab_icon_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),path);
+ Efl.Ui.TabPagePartTab.NativeMethods.efl_ui_tab_page_part_tab_icon_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),path);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Retrieves the text string currently being displayed by the given text object.
/// (Since EFL 1.22)</summary>
/// <returns>Text string to display on it.</returns>
virtual public System.String GetText() {
- var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="text">Text string to display on it.</param>
virtual public void SetText(System.String text) {
- Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),text);
+ Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),text);
Eina.Error.RaiseIfUnhandledException();
}
public System.String Icon {
/// <summary>Tab Pager class</summary>
[Efl.Ui.TabPager.NativeMethods]
-public class TabPager : Efl.Ui.ActiveView.Container
+[Efl.Eo.BindingEntity]
+public class TabPager : Efl.Ui.Spotlight.Container
{
///<summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
efl_ui_tab_pager_class_get();
/// <summary>Initializes a new instance of the <see cref="TabPager"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public TabPager(Efl.Object parent
- , System.String style = null) : base(efl_ui_tab_pager_class_get(), typeof(TabPager), parent)
+ , System.String style = null) : base(efl_ui_tab_pager_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected TabPager(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="TabPager"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected TabPager(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected TabPager(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="TabPager"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected TabPager(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected TabPager(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
virtual public Efl.Canvas.Object GetTabBar() {
- var _ret_var = Efl.Ui.TabPager.NativeMethods.efl_ui_tab_pager_tab_bar_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.TabPager.NativeMethods.efl_ui_tab_pager_tab_bar_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
virtual public void SetTabBar(Efl.Canvas.Object tab_bar) {
- Efl.Ui.TabPager.NativeMethods.efl_ui_tab_pager_tab_bar_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),tab_bar);
+ Efl.Ui.TabPager.NativeMethods.efl_ui_tab_pager_tab_bar_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),tab_bar);
Eina.Error.RaiseIfUnhandledException();
}
public Efl.Canvas.Object TabBar {
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public new class NativeMethods : Efl.Ui.ActiveView.Container.NativeMethods
+ public new class NativeMethods : Efl.Ui.Spotlight.Container.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Widget container that arranges its elements in a grid.
/// The amount of rows and columns can be controlled with <see cref="Efl.IPackTable.TableRows"/> and <see cref="Efl.IPackTable.TableColumns"/>, and elements can be manually positioned with <see cref="Efl.IPackTable.PackTable"/>. Additionally, a fill direction can be defined with <see cref="Efl.Ui.ILayoutOrientable.Orientation"/> and elements added with <see cref="Efl.IPack.Pack"/>. Elements are then added following this direction (horizontal or vertical) and when the amount of columns or rows has been reached, a step is taken in the orthogonal direction. In this second case there is no need to define both the amount of columns and rows, as the table will expand as needed. The default fill direction is <see cref="Efl.Ui.LayoutOrientation.Horizontal"/>.</summary>
[Efl.Ui.Table.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Table : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPackLayout, Efl.IPackTable, Efl.Gfx.IArrangement, Efl.Ui.ILayoutOrientable
{
///<summary>Pointer to the native class description.</summary>
efl_ui_table_class_get();
/// <summary>Initializes a new instance of the <see cref="Table"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public Table(Efl.Object parent
- , System.String style = null) : base(efl_ui_table_class_get(), typeof(Table), parent)
+ , System.String style = null) : base(efl_ui_table_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Table(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Table"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Table(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Table(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Table"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Table(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Table(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_PACK_EVENT_LAYOUT_UPDATED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// <param name="homogeneoush"><c>true</c> if the box is homogeneous horizontally, <c>false</c> otherwise</param>
/// <param name="homogeneousv"><c>true</c> if the box is homogeneous vertically, <c>false</c> otherwise</param>
virtual public void GetHomogeneous(out bool homogeneoush, out bool homogeneousv) {
- Efl.Ui.Table.NativeMethods.efl_ui_table_homogeneous_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out homogeneoush, out homogeneousv);
+ Efl.Ui.Table.NativeMethods.efl_ui_table_homogeneous_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out homogeneoush, out homogeneousv);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control homogeneous mode.
/// <param name="homogeneoush"><c>true</c> if the box is homogeneous horizontally, <c>false</c> otherwise</param>
/// <param name="homogeneousv"><c>true</c> if the box is homogeneous vertically, <c>false</c> otherwise</param>
virtual public void SetHomogeneous(bool homogeneoush, bool homogeneousv) {
- Efl.Ui.Table.NativeMethods.efl_ui_table_homogeneous_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),homogeneoush, homogeneousv);
+ Efl.Ui.Table.NativeMethods.efl_ui_table_homogeneous_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),homogeneoush, homogeneousv);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Begin iterating over this object's contents.
/// (Since EFL 1.22)</summary>
/// <returns>Iterator on object's content.</returns>
virtual public Eina.Iterator<Efl.Gfx.IEntity> ContentIterate() {
- var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_iterate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_iterate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true, false);
+ return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true);
}
/// <summary>Returns the number of contained sub-objects.
/// (Since EFL 1.22)</summary>
/// <returns>Number of sub-objects.</returns>
virtual public int ContentCount() {
- var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_count_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_count_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Removes all packed sub-objects and unreferences them.</summary>
/// <returns><c>true</c> on success, <c>false</c> otherwise.</returns>
virtual public bool ClearPack() {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_clear_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_clear_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Use with caution.</summary>
/// <returns><c>true</c> on success, <c>false</c> otherwise.</returns>
virtual public bool UnpackAll() {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_all_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_all_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="subobj">The sub-object to unpack.</param>
/// <returns><c>false</c> if <c>subobj</c> wasn't in the container or couldn't be removed.</returns>
virtual public bool Unpack(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="subobj">The object to pack.</param>
/// <returns><c>false</c> if <c>subobj</c> could not be packed.</returns>
virtual public bool Pack(Efl.Gfx.IEntity subobj) {
- var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj);
+ var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Requests EFL to call the <see cref="Efl.IPackLayout.UpdateLayout"/> method on this object.
/// This <see cref="Efl.IPackLayout.UpdateLayout"/> may be called asynchronously.</summary>
virtual public void LayoutRequest() {
- Efl.IPackLayoutConcrete.NativeMethods.efl_pack_layout_request_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.IPackLayoutConcrete.NativeMethods.efl_pack_layout_request_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Implementation of this container's layout algorithm.
///
/// This can be overriden to implement custom layout behaviors.</summary>
virtual public void UpdateLayout() {
- Efl.IPackLayoutConcrete.NativeMethods.efl_pack_layout_update_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.IPackLayoutConcrete.NativeMethods.efl_pack_layout_update_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Position and span of the <c>subobj</c> in this container, may be modified to move the <c>subobj</c></summary>
/// <param name="rowspan">Row span</param>
/// <returns>Returns false if item is not a child</returns>
virtual public bool GetTablePosition(Efl.Gfx.IEntity subobj, out int col, out int row, out int colspan, out int rowspan) {
- var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_position_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj, out col, out row, out colspan, out rowspan);
+ var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_position_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, out col, out row, out colspan, out rowspan);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="cols">Number of columns</param>
/// <param name="rows">Number of rows</param>
virtual public void GetTableSize(out int cols, out int rows) {
- Efl.IPackTableConcrete.NativeMethods.efl_pack_table_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out cols, out rows);
+ Efl.IPackTableConcrete.NativeMethods.efl_pack_table_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out cols, out rows);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Combines <see cref="Efl.IPackTable.TableColumns"/> and <see cref="Efl.IPackTable.TableRows"/></summary>
/// <param name="cols">Number of columns</param>
/// <param name="rows">Number of rows</param>
virtual public void SetTableSize(int cols, int rows) {
- Efl.IPackTableConcrete.NativeMethods.efl_pack_table_size_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cols, rows);
+ Efl.IPackTableConcrete.NativeMethods.efl_pack_table_size_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cols, rows);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Specifies the amount of columns the table will have when the fill direction is horizontal. If it is vertical, the amount of columns depends on the amount of cells added and <see cref="Efl.IPackTable.TableRows"/>.</summary>
/// <returns>Amount of columns.</returns>
virtual public int GetTableColumns() {
- var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_columns_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_columns_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Specifies the amount of columns the table will have when the fill direction is horizontal. If it is vertical, the amount of columns depends on the amount of cells added and <see cref="Efl.IPackTable.TableRows"/>.</summary>
/// <param name="cols">Amount of columns.</param>
virtual public void SetTableColumns(int cols) {
- Efl.IPackTableConcrete.NativeMethods.efl_pack_table_columns_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cols);
+ Efl.IPackTableConcrete.NativeMethods.efl_pack_table_columns_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cols);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Specifies the amount of rows the table will have when the fill direction is vertical. If it is horizontal, the amount of rows depends on the amount of cells added and <see cref="Efl.IPackTable.TableColumns"/>.</summary>
/// <returns>Amount of rows.</returns>
virtual public int GetTableRows() {
- var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_rows_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_rows_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Specifies the amount of rows the table will have when the fill direction is vertical. If it is horizontal, the amount of rows depends on the amount of cells added and <see cref="Efl.IPackTable.TableColumns"/>.</summary>
/// <param name="rows">Amount of rows.</param>
virtual public void SetTableRows(int rows) {
- Efl.IPackTableConcrete.NativeMethods.efl_pack_table_rows_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),rows);
+ Efl.IPackTableConcrete.NativeMethods.efl_pack_table_rows_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),rows);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Pack object at a given location in the table.
/// <param name="rowspan">0 means 1, -1 means <see cref="Efl.IPackTable.TableRows"/></param>
/// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
virtual public bool PackTable(Efl.Gfx.IEntity subobj, int col, int row, int colspan, int rowspan) {
- var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj, col, row, colspan, rowspan);
+ var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, col, row, colspan, rowspan);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="below">If <c>true</c> get objects spanning over this cell.</param>
/// <returns>Iterator to table contents</returns>
virtual public Eina.Iterator<Efl.Gfx.IEntity> GetTableContents(int col, int row, bool below) {
- var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_contents_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),col, row, below);
+ var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_contents_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),col, row, below);
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true, false);
+ return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true);
}
/// <summary>Returns a child at a given position, see <see cref="Efl.IPackTable.GetTableContents"/>.</summary>
/// <param name="col">Column number</param>
/// <param name="row">Row number</param>
/// <returns>Child object</returns>
virtual public Efl.Gfx.IEntity GetTableContent(int col, int row) {
- var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),col, row);
+ var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),col, row);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="align_horiz">Horizontal alignment</param>
/// <param name="align_vert">Vertical alignment</param>
virtual public void GetContentAlign(out double align_horiz, out double align_vert) {
- Efl.Gfx.IArrangementConcrete.NativeMethods.efl_gfx_arrangement_content_align_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out align_horiz, out align_vert);
+ Efl.Gfx.IArrangementConcrete.NativeMethods.efl_gfx_arrangement_content_align_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out align_horiz, out align_vert);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Alignment of the container within its bounds</summary>
/// <param name="align_horiz">Horizontal alignment</param>
/// <param name="align_vert">Vertical alignment</param>
virtual public void SetContentAlign(double align_horiz, double align_vert) {
- Efl.Gfx.IArrangementConcrete.NativeMethods.efl_gfx_arrangement_content_align_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),align_horiz, align_vert);
+ Efl.Gfx.IArrangementConcrete.NativeMethods.efl_gfx_arrangement_content_align_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),align_horiz, align_vert);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Padding between items contained in this object.</summary>
/// <param name="pad_vert">Vertical padding</param>
/// <param name="scalable"><c>true</c> if scalable, <c>false</c> otherwise</param>
virtual public void GetContentPadding(out double pad_horiz, out double pad_vert, out bool scalable) {
- Efl.Gfx.IArrangementConcrete.NativeMethods.efl_gfx_arrangement_content_padding_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out pad_horiz, out pad_vert, out scalable);
+ Efl.Gfx.IArrangementConcrete.NativeMethods.efl_gfx_arrangement_content_padding_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out pad_horiz, out pad_vert, out scalable);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Padding between items contained in this object.</summary>
/// <param name="pad_vert">Vertical padding</param>
/// <param name="scalable"><c>true</c> if scalable, <c>false</c> otherwise</param>
virtual public void SetContentPadding(double pad_horiz, double pad_vert, bool scalable) {
- Efl.Gfx.IArrangementConcrete.NativeMethods.efl_gfx_arrangement_content_padding_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),pad_horiz, pad_vert, scalable);
+ Efl.Gfx.IArrangementConcrete.NativeMethods.efl_gfx_arrangement_content_padding_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),pad_horiz, pad_vert, scalable);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control the direction of a given widget.
/// Mirroring as defined in <see cref="Efl.Ui.II18n"/> can invert the <c>horizontal</c> direction: it is <c>ltr</c> by default, but becomes <c>rtl</c> if the object is mirrored.</summary>
/// <returns>Direction of the widget.</returns>
virtual public Efl.Ui.LayoutOrientation GetOrientation() {
- var _ret_var = Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Mirroring as defined in <see cref="Efl.Ui.II18n"/> can invert the <c>horizontal</c> direction: it is <c>ltr</c> by default, but becomes <c>rtl</c> if the object is mirrored.</summary>
/// <param name="dir">Direction of the widget.</param>
virtual public void SetOrientation(Efl.Ui.LayoutOrientation dir) {
- Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dir);
+ Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dir);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Specifies the amount of columns the table will have when the fill direction is horizontal. If it is vertical, the amount of columns depends on the amount of cells added and <see cref="Efl.IPackTable.TableRows"/>.</summary>
/// <summary>Efl UI table static class</summary>
[Efl.Ui.TableStatic.NativeMethods]
+[Efl.Eo.BindingEntity]
public class TableStatic : Efl.Ui.Table
{
///<summary>Pointer to the native class description.</summary>
efl_ui_table_static_class_get();
/// <summary>Initializes a new instance of the <see cref="TableStatic"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public TableStatic(Efl.Object parent
- , System.String style = null) : base(efl_ui_table_static_class_get(), typeof(TableStatic), parent)
+ , System.String style = null) : base(efl_ui_table_static_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected TableStatic(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="TableStatic"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected TableStatic(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected TableStatic(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="TableStatic"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected TableStatic(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected TableStatic(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
namespace Ui {
///<summary>Event argument wrapper for event <see cref="Efl.Ui.Tags.ItemSelectedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class TagsItemSelectedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public System.String arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.Tags.ItemAddedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class TagsItemAddedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public System.String arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.Tags.ItemDeletedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class TagsItemDeletedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public System.String arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.Tags.ItemClickedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class TagsItemClickedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public System.String arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.Tags.ItemLongpressedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class TagsItemLongpressedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public System.String arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.Tags.ExpandStateChangedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class TagsExpandStateChangedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public int arg { get; set; }
}
/// <summary>A widget displaying a list of tags. The user can remove tags by clicking on each tag "close" button and add new tags by typing text in the text entry at the end of the list.</summary>
[Efl.Ui.Tags.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Tags : Efl.Ui.LayoutBase, Efl.IText, Efl.Ui.IFormat
{
///<summary>Pointer to the native class description.</summary>
efl_ui_tags_class_get();
/// <summary>Initializes a new instance of the <see cref="Tags"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public Tags(Efl.Object parent
- , System.String style = null) : base(efl_ui_tags_class_get(), typeof(Tags), parent)
+ , System.String style = null) : base(efl_ui_tags_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Tags(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Tags"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Tags(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Tags(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Tags"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Tags(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Tags(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_TAGS_EVENT_ITEM_SELECTED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_TAGS_EVENT_ITEM_ADDED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_TAGS_EVENT_ITEM_DELETED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_TAGS_EVENT_ITEM_CLICKED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_TAGS_EVENT_ITEM_LONGPRESSED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_TAGS_EVENT_EXPANDED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_TAGS_EVENT_CONTRACTED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_TAGS_EVENT_EXPAND_STATE_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// <summary>Control if the tag list is to be editable by the user or not.</summary>
/// <returns>If <c>true</c>, the user can add/delete tags to the tag list, if not, the tag list is non-editable.</returns>
virtual public bool GetEditable() {
- var _ret_var = Efl.Ui.Tags.NativeMethods.efl_ui_tags_editable_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Tags.NativeMethods.efl_ui_tags_editable_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Control if the tag list is to be editable by the user or not.</summary>
/// <param name="editable">If <c>true</c>, the user can add/delete tags to the tag list, if not, the tag list is non-editable.</param>
virtual public void SetEditable(bool editable) {
- Efl.Ui.Tags.NativeMethods.efl_ui_tags_editable_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),editable);
+ Efl.Ui.Tags.NativeMethods.efl_ui_tags_editable_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),editable);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control whether the tag list is expanded or not.
/// In the expanded state, all tags will be displayed. Otherwise, only a single line of tags will be displayed with a marker to indicate that there is more content.</summary>
/// <returns>The expanded state. Set this to <c>true</c> to allow multiple lines of tags. Set to <c>false</c> for a single line.</returns>
virtual public bool GetExpanded() {
- var _ret_var = Efl.Ui.Tags.NativeMethods.efl_ui_tags_expanded_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Tags.NativeMethods.efl_ui_tags_expanded_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// In the expanded state, all tags will be displayed. Otherwise, only a single line of tags will be displayed with a marker to indicate that there is more content.</summary>
/// <param name="expanded">The expanded state. Set this to <c>true</c> to allow multiple lines of tags. Set to <c>false</c> for a single line.</param>
virtual public void SetExpanded(bool expanded) {
- Efl.Ui.Tags.NativeMethods.efl_ui_tags_expanded_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),expanded);
+ Efl.Ui.Tags.NativeMethods.efl_ui_tags_expanded_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),expanded);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>List of tags in the tag list. Tags can be added and removed by the user using the UI, and by the program by modifying this property.</summary>
/// <returns>The array of items, or NULL if none.</returns>
virtual public Eina.Array<System.String> GetItems() {
- var _ret_var = Efl.Ui.Tags.NativeMethods.efl_ui_tags_items_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Tags.NativeMethods.efl_ui_tags_items_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return new Eina.Array<System.String>(_ret_var, false, false);
}
/// <param name="items">The array of items, or NULL if none.</param>
virtual public void SetItems(Eina.Array<System.String> items) {
var _in_items = items.Handle;
- Efl.Ui.Tags.NativeMethods.efl_ui_tags_items_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_items);
+ Efl.Ui.Tags.NativeMethods.efl_ui_tags_items_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_items);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Retrieves the text string currently being displayed by the given text object.
/// (Since EFL 1.22)</summary>
/// <returns>Text string to display on it.</returns>
virtual public System.String GetText() {
- var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="text">Text string to display on it.</param>
virtual public void SetText(System.String text) {
- Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),text);
+ Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),text);
Eina.Error.RaiseIfUnhandledException();
}
- /// <summary>Set the format function pointer to format the string.</summary>
- /// <param name="func">The format function callback</param>
- virtual public void SetFormatCb(Efl.Ui.FormatFuncCb func) {
+ /// <summary>User-provided function which takes care of converting an <see cref="Eina.Value"/> into a text string. The user is then completely in control of how the string is generated, but it is the most cumbersome method to use. If the conversion fails the other mechanisms will be tried, according to their priorities.</summary>
+ /// <returns>User-provided formatting function.</returns>
+ virtual public Efl.Ui.FormatFunc GetFormatFunc() {
+ var _ret_var = Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_func_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>User-provided function which takes care of converting an <see cref="Eina.Value"/> into a text string. The user is then completely in control of how the string is generated, but it is the most cumbersome method to use. If the conversion fails the other mechanisms will be tried, according to their priorities.</summary>
+ /// <param name="func">User-provided formatting function.</param>
+ virtual public void SetFormatFunc(Efl.Ui.FormatFunc func) {
GCHandle func_handle = GCHandle.Alloc(func);
- Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_cb_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),GCHandle.ToIntPtr(func_handle), Efl.Ui.FormatFuncCbWrapper.Cb, Efl.Eo.Globals.free_gchandle);
+ Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_func_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),GCHandle.ToIntPtr(func_handle), Efl.Ui.FormatFuncWrapper.Cb, Efl.Eo.Globals.free_gchandle);
Eina.Error.RaiseIfUnhandledException();
}
- /// <summary>Control the format string for a given units label
- /// If <c>NULL</c> is passed to <c>format</c>, it will hide <c>obj</c>'s units area completely. If not, it'll set the <b>format string</b> for the units label text. The units label is provided as a floating point value, so the units text can display at most one floating point value. Note that the units label is optional. Use a format string such as "%1.2f meters" for example.
+ /// <summary>User-provided list of values which are to be rendered using specific text strings. This is more convenient to use than <see cref="Efl.Ui.IFormat.FormatFunc"/> and is perfectly suited for cases where the strings make more sense than the numerical values. For example, weekday names ("Monday", "Tuesday", ...) are friendlier than numbers 1 to 7. If a value is not found in the list, the other mechanisms will be tried according to their priorities. List members do not need to be in any particular order. They are sorted internally for performance reasons.</summary>
+ /// <returns>Accessor over a list of value-text pairs. The method will dispose of the accessor, but not of its contents. For convenience, Eina offers a range of helper methods to obtain accessors from Eina.Array, Eina.List or even plain C arrays.</returns>
+ virtual public Eina.Accessor<Efl.Ui.FormatValue> GetFormatValues() {
+ var _ret_var = Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_values_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return new Eina.Accessor<Efl.Ui.FormatValue>(_ret_var, false);
+ }
+ /// <summary>User-provided list of values which are to be rendered using specific text strings. This is more convenient to use than <see cref="Efl.Ui.IFormat.FormatFunc"/> and is perfectly suited for cases where the strings make more sense than the numerical values. For example, weekday names ("Monday", "Tuesday", ...) are friendlier than numbers 1 to 7. If a value is not found in the list, the other mechanisms will be tried according to their priorities. List members do not need to be in any particular order. They are sorted internally for performance reasons.</summary>
+ /// <param name="values">Accessor over a list of value-text pairs. The method will dispose of the accessor, but not of its contents. For convenience, Eina offers a range of helper methods to obtain accessors from Eina.Array, Eina.List or even plain C arrays.</param>
+ virtual public void SetFormatValues(Eina.Accessor<Efl.Ui.FormatValue> values) {
+ var _in_values = values.Handle;
+ Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_values_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_values);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>A user-provided, string used to format the numerical value.
+ /// For example, "%1.2f meters", "%.0%%" or "%d items".
+ ///
+ /// This is the simplest formatting mechanism, working pretty much like <c>printf</c>.
+ ///
+ /// Different format specifiers (the character after the %) are available, depending on the <c>type</c> used. Use <see cref="Efl.Ui.FormatStringType.Simple"/> for simple numerical values and <see cref="Efl.Ui.FormatStringType.Time"/> for time and date values. For instance, %d means "integer" when the first type is used, but it means "day of the month as a decimal number" in the second.
///
- /// Note: The default format string is an integer percentage, as in $"%.0f %%".</summary>
- /// <returns>The format string for <c>obj</c>'s units label.</returns>
- virtual public System.String GetFormatString() {
- var _ret_var = Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_string_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ /// Pass <c>NULL</c> to disable this mechanism.</summary>
+ /// <param name="kw_string">Formatting string containing regular characters and format specifiers.</param>
+ /// <param name="type">Type of formatting string, which controls how the different format specifiers are to be traslated.</param>
+ virtual public void GetFormatString(out System.String kw_string, out Efl.Ui.FormatStringType type) {
+ Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_string_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out kw_string, out type);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>A user-provided, string used to format the numerical value.
+ /// For example, "%1.2f meters", "%.0%%" or "%d items".
+ ///
+ /// This is the simplest formatting mechanism, working pretty much like <c>printf</c>.
+ ///
+ /// Different format specifiers (the character after the %) are available, depending on the <c>type</c> used. Use <see cref="Efl.Ui.FormatStringType.Simple"/> for simple numerical values and <see cref="Efl.Ui.FormatStringType.Time"/> for time and date values. For instance, %d means "integer" when the first type is used, but it means "day of the month as a decimal number" in the second.
+ ///
+ /// Pass <c>NULL</c> to disable this mechanism.</summary>
+ /// <param name="kw_string">Formatting string containing regular characters and format specifiers.</param>
+ /// <param name="type">Type of formatting string, which controls how the different format specifiers are to be traslated.</param>
+ virtual public void SetFormatString(System.String kw_string, Efl.Ui.FormatStringType type) {
+ Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_string_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),kw_string, type);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Internal method to be used by widgets including this mixin to perform the conversion from the internal numerical value into the text representation (Users of these widgets do not need to call this method).
+ /// <see cref="Efl.Ui.IFormat.GetFormattedValue"/> uses any user-provided mechanism to perform the conversion, according to their priorities, and implements a simple fallback if all mechanisms fail.</summary>
+ /// <param name="str">Output formatted string. Its contents will be overwritten by this method.</param>
+ /// <param name="value">The <see cref="Eina.Value"/> to convert to text.</param>
+ virtual public void GetFormattedValue(Eina.Strbuf str, Eina.Value value) {
+ Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_formatted_value_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),str, value);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Internal method to be used by widgets including this mixin. It can only be used when a <see cref="Efl.Ui.IFormat.GetFormatString"/> has been supplied, and it returns the number of decimal places that the format string will produce for floating point values.
+ /// For example, "%.2f" returns 2, and "%d" returns 0;</summary>
+ /// <returns>Number of decimal places, or 0 for non-floating point types.</returns>
+ virtual public int GetDecimalPlaces() {
+ var _ret_var = Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_decimal_places_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
- /// <summary>Control the format string for a given units label
- /// If <c>NULL</c> is passed to <c>format</c>, it will hide <c>obj</c>'s units area completely. If not, it'll set the <b>format string</b> for the units label text. The units label is provided as a floating point value, so the units text can display at most one floating point value. Note that the units label is optional. Use a format string such as "%1.2f meters" for example.
- ///
- /// Note: The default format string is an integer percentage, as in $"%.0f %%".</summary>
- /// <param name="units">The format string for <c>obj</c>'s units label.</param>
- virtual public void SetFormatString(System.String units) {
- Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_string_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),units);
+ /// <summary>Internal method to be implemented by widgets including this mixin.
+ /// The mixin will call this method to signal the widget that the formatting has changed and therefore the current value should be converted and rendered again. Widgets must typically call <see cref="Efl.Ui.IFormat.GetFormattedValue"/> and display the returned string. This is something they are already doing (whenever the value changes, for example) so there should be no extra code written to implement this method.</summary>
+ virtual public void ApplyFormattedValue() {
+ Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_apply_formatted_value_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
- }
+ }
/// <summary>Control if the tag list is to be editable by the user or not.</summary>
/// <value>If <c>true</c>, the user can add/delete tags to the tag list, if not, the tag list is non-editable.</value>
public bool Editable {
get { return GetItems(); }
set { SetItems(value); }
}
- /// <summary>Set the format function pointer to format the string.</summary>
- /// <value>The format function callback</value>
- public Efl.Ui.FormatFuncCb FormatCb {
- set { SetFormatCb(value); }
+ /// <summary>User-provided function which takes care of converting an <see cref="Eina.Value"/> into a text string. The user is then completely in control of how the string is generated, but it is the most cumbersome method to use. If the conversion fails the other mechanisms will be tried, according to their priorities.</summary>
+ /// <value>User-provided formatting function.</value>
+ public Efl.Ui.FormatFunc FormatFunc {
+ get { return GetFormatFunc(); }
+ set { SetFormatFunc(value); }
}
- /// <summary>Control the format string for a given units label
- /// If <c>NULL</c> is passed to <c>format</c>, it will hide <c>obj</c>'s units area completely. If not, it'll set the <b>format string</b> for the units label text. The units label is provided as a floating point value, so the units text can display at most one floating point value. Note that the units label is optional. Use a format string such as "%1.2f meters" for example.
- ///
- /// Note: The default format string is an integer percentage, as in $"%.0f %%".</summary>
- /// <value>The format string for <c>obj</c>'s units label.</value>
- public System.String FormatString {
- get { return GetFormatString(); }
- set { SetFormatString(value); }
+ /// <summary>User-provided list of values which are to be rendered using specific text strings. This is more convenient to use than <see cref="Efl.Ui.IFormat.FormatFunc"/> and is perfectly suited for cases where the strings make more sense than the numerical values. For example, weekday names ("Monday", "Tuesday", ...) are friendlier than numbers 1 to 7. If a value is not found in the list, the other mechanisms will be tried according to their priorities. List members do not need to be in any particular order. They are sorted internally for performance reasons.</summary>
+ /// <value>Accessor over a list of value-text pairs. The method will dispose of the accessor, but not of its contents. For convenience, Eina offers a range of helper methods to obtain accessors from Eina.Array, Eina.List or even plain C arrays.</value>
+ public Eina.Accessor<Efl.Ui.FormatValue> FormatValues {
+ get { return GetFormatValues(); }
+ set { SetFormatValues(value); }
}
private static IntPtr GetEflClassStatic()
{
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) });
}
- if (efl_ui_format_cb_set_static_delegate == null)
+ if (efl_ui_format_func_get_static_delegate == null)
+ {
+ efl_ui_format_func_get_static_delegate = new efl_ui_format_func_get_delegate(format_func_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetFormatFunc") != null)
{
- efl_ui_format_cb_set_static_delegate = new efl_ui_format_cb_set_delegate(format_cb_set);
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_func_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_func_get_static_delegate) });
}
- if (methods.FirstOrDefault(m => m.Name == "SetFormatCb") != null)
+ if (efl_ui_format_func_set_static_delegate == null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_cb_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_cb_set_static_delegate) });
+ efl_ui_format_func_set_static_delegate = new efl_ui_format_func_set_delegate(format_func_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetFormatFunc") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_func_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_func_set_static_delegate) });
+ }
+
+ if (efl_ui_format_values_get_static_delegate == null)
+ {
+ efl_ui_format_values_get_static_delegate = new efl_ui_format_values_get_delegate(format_values_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetFormatValues") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_values_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_values_get_static_delegate) });
+ }
+
+ if (efl_ui_format_values_set_static_delegate == null)
+ {
+ efl_ui_format_values_set_static_delegate = new efl_ui_format_values_set_delegate(format_values_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetFormatValues") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_values_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_values_set_static_delegate) });
}
if (efl_ui_format_string_get_static_delegate == null)
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_string_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_string_set_static_delegate) });
}
+ if (efl_ui_format_formatted_value_get_static_delegate == null)
+ {
+ efl_ui_format_formatted_value_get_static_delegate = new efl_ui_format_formatted_value_get_delegate(formatted_value_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetFormattedValue") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_formatted_value_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_formatted_value_get_static_delegate) });
+ }
+
+ if (efl_ui_format_decimal_places_get_static_delegate == null)
+ {
+ efl_ui_format_decimal_places_get_static_delegate = new efl_ui_format_decimal_places_get_delegate(decimal_places_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetDecimalPlaces") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_decimal_places_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_decimal_places_get_static_delegate) });
+ }
+
+ if (efl_ui_format_apply_formatted_value_static_delegate == null)
+ {
+ efl_ui_format_apply_formatted_value_static_delegate = new efl_ui_format_apply_formatted_value_delegate(apply_formatted_value);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "ApplyFormattedValue") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_apply_formatted_value"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_apply_formatted_value_static_delegate) });
+ }
+
descs.AddRange(base.GetEoOps(type));
return descs;
}
private static efl_text_set_delegate efl_text_set_static_delegate;
- private delegate void efl_ui_format_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, Efl.Ui.FormatFuncCbInternal func, EinaFreeCb func_free_cb);
+ private delegate Efl.Ui.FormatFunc efl_ui_format_func_get_delegate(System.IntPtr obj, System.IntPtr pd);
- public delegate void efl_ui_format_cb_set_api_delegate(System.IntPtr obj, IntPtr func_data, Efl.Ui.FormatFuncCbInternal func, EinaFreeCb func_free_cb);
+ public delegate Efl.Ui.FormatFunc efl_ui_format_func_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<efl_ui_format_cb_set_api_delegate> efl_ui_format_cb_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_cb_set_api_delegate>(Module, "efl_ui_format_cb_set");
+ public static Efl.Eo.FunctionWrapper<efl_ui_format_func_get_api_delegate> efl_ui_format_func_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_func_get_api_delegate>(Module, "efl_ui_format_func_get");
- private static void format_cb_set(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, Efl.Ui.FormatFuncCbInternal func, EinaFreeCb func_free_cb)
+ private static Efl.Ui.FormatFunc format_func_get(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function efl_ui_format_cb_set was called");
+ Eina.Log.Debug("function efl_ui_format_func_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- Efl.Ui.FormatFuncCbWrapper func_wrapper = new Efl.Ui.FormatFuncCbWrapper(func, func_data, func_free_cb);
+ Efl.Ui.FormatFunc _ret_var = default(Efl.Ui.FormatFunc);
+ try
+ {
+ _ret_var = ((Tags)ws.Target).GetFormatFunc();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_format_func_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_format_func_get_delegate efl_ui_format_func_get_static_delegate;
+
+
+ private delegate void efl_ui_format_func_set_delegate(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, Efl.Ui.FormatFuncInternal func, EinaFreeCb func_free_cb);
+
+
+ public delegate void efl_ui_format_func_set_api_delegate(System.IntPtr obj, IntPtr func_data, Efl.Ui.FormatFuncInternal func, EinaFreeCb func_free_cb);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_format_func_set_api_delegate> efl_ui_format_func_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_func_set_api_delegate>(Module, "efl_ui_format_func_set");
+
+ private static void format_func_set(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, Efl.Ui.FormatFuncInternal func, EinaFreeCb func_free_cb)
+ {
+ Eina.Log.Debug("function efl_ui_format_func_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.Ui.FormatFuncWrapper func_wrapper = new Efl.Ui.FormatFuncWrapper(func, func_data, func_free_cb);
try
{
- ((Tags)ws.Target).SetFormatCb(func_wrapper.ManagedCb);
+ ((Tags)ws.Target).SetFormatFunc(func_wrapper.ManagedCb);
}
catch (Exception e)
{
}
else
{
- efl_ui_format_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), func_data, func, func_free_cb);
+ efl_ui_format_func_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), func_data, func, func_free_cb);
}
}
- private static efl_ui_format_cb_set_delegate efl_ui_format_cb_set_static_delegate;
+ private static efl_ui_format_func_set_delegate efl_ui_format_func_set_static_delegate;
- [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
- private delegate System.String efl_ui_format_string_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ private delegate System.IntPtr efl_ui_format_values_get_delegate(System.IntPtr obj, System.IntPtr pd);
- [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
- public delegate System.String efl_ui_format_string_get_api_delegate(System.IntPtr obj);
+
+ public delegate System.IntPtr efl_ui_format_values_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_format_values_get_api_delegate> efl_ui_format_values_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_values_get_api_delegate>(Module, "efl_ui_format_values_get");
+
+ private static System.IntPtr format_values_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_format_values_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Accessor<Efl.Ui.FormatValue> _ret_var = default(Eina.Accessor<Efl.Ui.FormatValue>);
+ try
+ {
+ _ret_var = ((Tags)ws.Target).GetFormatValues();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var.Handle;
+
+ }
+ else
+ {
+ return efl_ui_format_values_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_format_values_get_delegate efl_ui_format_values_get_static_delegate;
+
+
+ private delegate void efl_ui_format_values_set_delegate(System.IntPtr obj, System.IntPtr pd, System.IntPtr values);
+
+
+ public delegate void efl_ui_format_values_set_api_delegate(System.IntPtr obj, System.IntPtr values);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_format_values_set_api_delegate> efl_ui_format_values_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_values_set_api_delegate>(Module, "efl_ui_format_values_set");
+
+ private static void format_values_set(System.IntPtr obj, System.IntPtr pd, System.IntPtr values)
+ {
+ Eina.Log.Debug("function efl_ui_format_values_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ var _in_values = new Eina.Accessor<Efl.Ui.FormatValue>(values, false);
+
+ try
+ {
+ ((Tags)ws.Target).SetFormatValues(_in_values);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_format_values_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), values);
+ }
+ }
+
+ private static efl_ui_format_values_set_delegate efl_ui_format_values_set_static_delegate;
+
+
+ private delegate void efl_ui_format_string_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String kw_string, out Efl.Ui.FormatStringType type);
+
+
+ public delegate void efl_ui_format_string_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String kw_string, out Efl.Ui.FormatStringType type);
public static Efl.Eo.FunctionWrapper<efl_ui_format_string_get_api_delegate> efl_ui_format_string_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_string_get_api_delegate>(Module, "efl_ui_format_string_get");
- private static System.String format_string_get(System.IntPtr obj, System.IntPtr pd)
+ private static void format_string_get(System.IntPtr obj, System.IntPtr pd, out System.String kw_string, out Efl.Ui.FormatStringType type)
{
Eina.Log.Debug("function efl_ui_format_string_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- System.String _ret_var = default(System.String);
+ System.String _out_kw_string = default(System.String);
+ type = default(Efl.Ui.FormatStringType);
try
{
- _ret_var = ((Tags)ws.Target).GetFormatString();
+ ((Tags)ws.Target).GetFormatString(out _out_kw_string, out type);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
- return _ret_var;
-
+ kw_string = _out_kw_string;
+
}
else
{
- return efl_ui_format_string_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ efl_ui_format_string_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out kw_string, out type);
}
}
private static efl_ui_format_string_get_delegate efl_ui_format_string_get_static_delegate;
- private delegate void efl_ui_format_string_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String units);
+ private delegate void efl_ui_format_string_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String kw_string, Efl.Ui.FormatStringType type);
- public delegate void efl_ui_format_string_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String units);
+ public delegate void efl_ui_format_string_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String kw_string, Efl.Ui.FormatStringType type);
public static Efl.Eo.FunctionWrapper<efl_ui_format_string_set_api_delegate> efl_ui_format_string_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_string_set_api_delegate>(Module, "efl_ui_format_string_set");
- private static void format_string_set(System.IntPtr obj, System.IntPtr pd, System.String units)
+ private static void format_string_set(System.IntPtr obj, System.IntPtr pd, System.String kw_string, Efl.Ui.FormatStringType type)
{
Eina.Log.Debug("function efl_ui_format_string_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
-
+
try
{
- ((Tags)ws.Target).SetFormatString(units);
+ ((Tags)ws.Target).SetFormatString(kw_string, type);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+
}
else
{
- efl_ui_format_string_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), units);
+ efl_ui_format_string_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), kw_string, type);
}
}
private static efl_ui_format_string_set_delegate efl_ui_format_string_set_static_delegate;
+
+ private delegate void efl_ui_format_formatted_value_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StrbufKeepOwnershipMarshaler))] Eina.Strbuf str, Eina.ValueNative value);
+
+
+ public delegate void efl_ui_format_formatted_value_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StrbufKeepOwnershipMarshaler))] Eina.Strbuf str, Eina.ValueNative value);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_format_formatted_value_get_api_delegate> efl_ui_format_formatted_value_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_formatted_value_get_api_delegate>(Module, "efl_ui_format_formatted_value_get");
+
+ private static void formatted_value_get(System.IntPtr obj, System.IntPtr pd, Eina.Strbuf str, Eina.ValueNative value)
+ {
+ Eina.Log.Debug("function efl_ui_format_formatted_value_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Tags)ws.Target).GetFormattedValue(str, value);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_format_formatted_value_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), str, value);
+ }
+ }
+
+ private static efl_ui_format_formatted_value_get_delegate efl_ui_format_formatted_value_get_static_delegate;
+
+
+ private delegate int efl_ui_format_decimal_places_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate int efl_ui_format_decimal_places_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_format_decimal_places_get_api_delegate> efl_ui_format_decimal_places_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_decimal_places_get_api_delegate>(Module, "efl_ui_format_decimal_places_get");
+
+ private static int decimal_places_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_format_decimal_places_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ int _ret_var = default(int);
+ try
+ {
+ _ret_var = ((Tags)ws.Target).GetDecimalPlaces();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_format_decimal_places_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_format_decimal_places_get_delegate efl_ui_format_decimal_places_get_static_delegate;
+
+
+ private delegate void efl_ui_format_apply_formatted_value_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate void efl_ui_format_apply_formatted_value_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_format_apply_formatted_value_api_delegate> efl_ui_format_apply_formatted_value_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_apply_formatted_value_api_delegate>(Module, "efl_ui_format_apply_formatted_value");
+
+ private static void apply_formatted_value(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_format_apply_formatted_value was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Tags)ws.Target).ApplyFormattedValue();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_format_apply_formatted_value_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_format_apply_formatted_value_delegate efl_ui_format_apply_formatted_value_static_delegate;
+
#pragma warning restore CA1707, CS1591, SA1300, SA1600
}
namespace Ui {
///<summary>Event argument wrapper for event <see cref="Efl.Ui.Text.ChangedUserEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class TextChangedUserEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Efl.Ui.TextChangeInfo arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.Text.ValidateEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class TextValidateEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Elm.ValidateContent arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.Text.AnchorDownEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class TextAnchorDownEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Elm.EntryAnchorInfo arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.Text.AnchorHoverOpenedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class TextAnchorHoverOpenedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Elm.EntryAnchorHoverInfo arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.Text.AnchorInEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class TextAnchorInEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Elm.EntryAnchorInfo arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.Text.AnchorOutEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class TextAnchorOutEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Elm.EntryAnchorInfo arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.Text.AnchorUpEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class TextAnchorUpEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public Elm.EntryAnchorInfo arg { get; set; }
}
/// <summary>Efl UI text class</summary>
[Efl.Ui.Text.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Text : Efl.Ui.LayoutBase, Efl.IFile, Efl.IText, Efl.ITextFont, Efl.ITextFormat, Efl.ITextInteractive, Efl.ITextMarkup, Efl.ITextStyle, Efl.Access.IText, Efl.Access.Editable.IText, Efl.Ui.IClickable, Efl.Ui.ISelectable
{
///<summary>Pointer to the native class description.</summary>
efl_ui_text_class_get();
/// <summary>Initializes a new instance of the <see cref="Text"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public Text(Efl.Object parent
- , System.String style = null) : base(efl_ui_text_class_get(), typeof(Text), parent)
+ , System.String style = null) : base(efl_ui_text_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Text(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Text"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Text(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Text(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Text"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Text(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Text(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_TEXT_EVENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_TEXT_EVENT_CHANGED_USER";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
if (obj != null)
{
Efl.Ui.TextValidateEvt_Args args = new Efl.Ui.TextValidateEvt_Args();
- args.arg = default(Elm.ValidateContent);
+ args.arg = (Elm.ValidateContent)evt.Info;
try
{
value?.Invoke(obj, args);
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_TEXT_EVENT_VALIDATE";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_TEXT_EVENT_CONTEXT_OPEN";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_TEXT_EVENT_PREEDIT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_TEXT_EVENT_PRESS";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_TEXT_EVENT_REDO_REQUEST";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_TEXT_EVENT_UNDO_REQUEST";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_TEXT_EVENT_ABORTED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
if (obj != null)
{
Efl.Ui.TextAnchorDownEvt_Args args = new Efl.Ui.TextAnchorDownEvt_Args();
- args.arg = default(Elm.EntryAnchorInfo);
+ args.arg = (Elm.EntryAnchorInfo)evt.Info;
try
{
value?.Invoke(obj, args);
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_TEXT_EVENT_ANCHOR_DOWN";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
if (obj != null)
{
Efl.Ui.TextAnchorHoverOpenedEvt_Args args = new Efl.Ui.TextAnchorHoverOpenedEvt_Args();
- args.arg = default(Elm.EntryAnchorHoverInfo);
+ args.arg = (Elm.EntryAnchorHoverInfo)evt.Info;
try
{
value?.Invoke(obj, args);
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_TEXT_EVENT_ANCHOR_HOVER_OPENED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
if (obj != null)
{
Efl.Ui.TextAnchorInEvt_Args args = new Efl.Ui.TextAnchorInEvt_Args();
- args.arg = default(Elm.EntryAnchorInfo);
+ args.arg = (Elm.EntryAnchorInfo)evt.Info;
try
{
value?.Invoke(obj, args);
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_TEXT_EVENT_ANCHOR_IN";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
if (obj != null)
{
Efl.Ui.TextAnchorOutEvt_Args args = new Efl.Ui.TextAnchorOutEvt_Args();
- args.arg = default(Elm.EntryAnchorInfo);
+ args.arg = (Elm.EntryAnchorInfo)evt.Info;
try
{
value?.Invoke(obj, args);
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_TEXT_EVENT_ANCHOR_OUT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
if (obj != null)
{
Efl.Ui.TextAnchorUpEvt_Args args = new Efl.Ui.TextAnchorUpEvt_Args();
- args.arg = default(Elm.EntryAnchorInfo);
+ args.arg = (Elm.EntryAnchorInfo)evt.Info;
try
{
value?.Invoke(obj, args);
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_TEXT_EVENT_ANCHOR_UP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_TEXT_EVENT_CURSOR_CHANGED_MANUAL";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_TEXT_INTERACTIVE_EVENT_TEXT_SELECTION_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_TEXT_EVENT_ACCESS_TEXT_CARET_MOVED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_TEXT_EVENT_ACCESS_TEXT_INSERTED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_TEXT_EVENT_ACCESS_TEXT_REMOVED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_TEXT_EVENT_ACCESS_TEXT_SELECTION_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_CLICKED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_CLICKED_ANY";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_PRESSED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_UNPRESSED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_LONGPRESSED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_ITEM_SELECTED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_ITEM_UNSELECTED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SELECTION_PASTE";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SELECTION_COPY";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SELECTION_CUT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SELECTION_START";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SELECTION_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SELECTION_CLEARED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// Normally the entry is not scrollable. This gets the scrollable state of the entry.</summary>
/// <returns><c>true</c> if it is to be scrollable, <c>false</c> otherwise.</returns>
virtual public bool GetScrollable() {
- var _ret_var = Efl.Ui.Text.NativeMethods.efl_ui_text_scrollable_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Text.NativeMethods.efl_ui_text_scrollable_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Normally the entry is not scrollable unless you enable it with this call.</summary>
/// <param name="scroll"><c>true</c> if it is to be scrollable, <c>false</c> otherwise.</param>
virtual public void SetScrollable(bool scroll) {
- Efl.Ui.Text.NativeMethods.efl_ui_text_scrollable_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),scroll);
+ Efl.Ui.Text.NativeMethods.efl_ui_text_scrollable_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),scroll);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the attribute to show the input panel in case of only an user's explicit Mouse Up event.</summary>
/// <returns>If <c>true</c>, the input panel will be shown in case of only Mouse up event. (Focus event will be ignored.)</returns>
virtual public bool GetInputPanelShowOnDemand() {
- var _ret_var = Efl.Ui.Text.NativeMethods.efl_ui_text_input_panel_show_on_demand_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Text.NativeMethods.efl_ui_text_input_panel_show_on_demand_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Set the attribute to show the input panel in case of only a user's explicit Mouse Up event. It doesn't request to show the input panel even though it has focus.</summary>
/// <param name="ondemand">If <c>true</c>, the input panel will be shown in case of only Mouse up event. (Focus event will be ignored.)</param>
virtual public void SetInputPanelShowOnDemand(bool ondemand) {
- Efl.Ui.Text.NativeMethods.efl_ui_text_input_panel_show_on_demand_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),ondemand);
+ Efl.Ui.Text.NativeMethods.efl_ui_text_input_panel_show_on_demand_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),ondemand);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This returns whether the entry's contextual (longpress) menu is disabled.</summary>
/// <returns>If <c>true</c>, the menu is disabled.</returns>
virtual public bool GetContextMenuDisabled() {
- var _ret_var = Efl.Ui.Text.NativeMethods.efl_ui_text_context_menu_disabled_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Text.NativeMethods.efl_ui_text_context_menu_disabled_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>This disables the entry's contextual (longpress) menu.</summary>
/// <param name="disabled">If <c>true</c>, the menu is disabled.</param>
virtual public void SetContextMenuDisabled(bool disabled) {
- Efl.Ui.Text.NativeMethods.efl_ui_text_context_menu_disabled_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),disabled);
+ Efl.Ui.Text.NativeMethods.efl_ui_text_context_menu_disabled_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),disabled);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Getting elm_entry text paste/drop mode.
/// Normally the entry allows both text and images to be pasted. This gets the copy & paste mode of the entry.</summary>
/// <returns>Format for copy & paste.</returns>
virtual public Efl.Ui.SelectionFormat GetCnpMode() {
- var _ret_var = Efl.Ui.Text.NativeMethods.efl_ui_text_cnp_mode_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Text.NativeMethods.efl_ui_text_cnp_mode_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Note: This only changes the behaviour of text.</summary>
/// <param name="format">Format for copy & paste.</param>
virtual public void SetCnpMode(Efl.Ui.SelectionFormat format) {
- Efl.Ui.Text.NativeMethods.efl_ui_text_cnp_mode_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),format);
+ Efl.Ui.Text.NativeMethods.efl_ui_text_cnp_mode_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),format);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the language mode of the input panel.</summary>
/// <returns>Language to be set to the input panel.</returns>
virtual public Elm.Input.Panel.Lang GetInputPanelLanguage() {
- var _ret_var = Efl.Ui.Text.NativeMethods.efl_ui_text_input_panel_language_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Text.NativeMethods.efl_ui_text_input_panel_language_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This API can be used if you want to show the alphabet keyboard mode.</summary>
/// <param name="lang">Language to be set to the input panel.</param>
virtual public void SetInputPanelLanguage(Elm.Input.Panel.Lang lang) {
- Efl.Ui.Text.NativeMethods.efl_ui_text_input_panel_language_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),lang);
+ Efl.Ui.Text.NativeMethods.efl_ui_text_input_panel_language_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),lang);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This returns whether the entry's selection handlers are disabled.</summary>
/// <returns>If <c>true</c>, the selection handlers are disabled.</returns>
virtual public bool GetSelectionHandlerDisabled() {
- var _ret_var = Efl.Ui.Text.NativeMethods.efl_ui_text_selection_handler_disabled_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Text.NativeMethods.efl_ui_text_selection_handler_disabled_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>This disables the entry's selection handlers.</summary>
/// <param name="disabled">If <c>true</c>, the selection handlers are disabled.</param>
virtual public void SetSelectionHandlerDisabled(bool disabled) {
- Efl.Ui.Text.NativeMethods.efl_ui_text_selection_handler_disabled_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),disabled);
+ Efl.Ui.Text.NativeMethods.efl_ui_text_selection_handler_disabled_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),disabled);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the input panel layout variation of the entry</summary>
/// <returns>Layout variation type.</returns>
virtual public int GetInputPanelLayoutVariation() {
- var _ret_var = Efl.Ui.Text.NativeMethods.efl_ui_text_input_panel_layout_variation_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Text.NativeMethods.efl_ui_text_input_panel_layout_variation_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Set the input panel layout variation of the entry</summary>
/// <param name="variation">Layout variation type.</param>
virtual public void SetInputPanelLayoutVariation(int variation) {
- Efl.Ui.Text.NativeMethods.efl_ui_text_input_panel_layout_variation_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),variation);
+ Efl.Ui.Text.NativeMethods.efl_ui_text_input_panel_layout_variation_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),variation);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the autocapitalization type on the immodule.</summary>
/// <returns>The type of autocapitalization.</returns>
virtual public Elm.Autocapital.Type GetAutocapitalType() {
- var _ret_var = Efl.Ui.Text.NativeMethods.efl_ui_text_autocapital_type_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Text.NativeMethods.efl_ui_text_autocapital_type_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Set the autocapitalization type on the immodule.</summary>
/// <param name="autocapital_type">The type of autocapitalization.</param>
virtual public void SetAutocapitalType(Elm.Autocapital.Type autocapital_type) {
- Efl.Ui.Text.NativeMethods.efl_ui_text_autocapital_type_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),autocapital_type);
+ Efl.Ui.Text.NativeMethods.efl_ui_text_autocapital_type_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),autocapital_type);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get whether the entry is set to password mode.</summary>
/// <returns>If true, password mode is enabled.</returns>
virtual public bool GetPasswordMode() {
- var _ret_var = Efl.Ui.Text.NativeMethods.efl_ui_text_password_mode_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Text.NativeMethods.efl_ui_text_password_mode_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// In password mode entries are implicitly single line and the display of any text inside them is replaced with asterisks (*).</summary>
/// <param name="password">If true, password mode is enabled.</param>
virtual public void SetPasswordMode(bool password) {
- Efl.Ui.Text.NativeMethods.efl_ui_text_password_mode_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),password);
+ Efl.Ui.Text.NativeMethods.efl_ui_text_password_mode_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),password);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get whether the return key on the input panel should be disabled or not.</summary>
/// <returns>The state to put in in: <c>true</c> for disabled, <c>false</c> for enabled.</returns>
virtual public bool GetInputPanelReturnKeyDisabled() {
- var _ret_var = Efl.Ui.Text.NativeMethods.efl_ui_text_input_panel_return_key_disabled_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Text.NativeMethods.efl_ui_text_input_panel_return_key_disabled_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Set the return key on the input panel to be disabled.</summary>
/// <param name="disabled">The state to put in in: <c>true</c> for disabled, <c>false</c> for enabled.</param>
virtual public void SetInputPanelReturnKeyDisabled(bool disabled) {
- Efl.Ui.Text.NativeMethods.efl_ui_text_input_panel_return_key_disabled_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),disabled);
+ Efl.Ui.Text.NativeMethods.efl_ui_text_input_panel_return_key_disabled_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),disabled);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get whether the entry allows predictive text.</summary>
/// <returns>Whether the entry should allow predictive text.</returns>
virtual public bool GetPredictionAllow() {
- var _ret_var = Efl.Ui.Text.NativeMethods.efl_ui_text_prediction_allow_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Text.NativeMethods.efl_ui_text_prediction_allow_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Set whether the entry should allow predictive text.</summary>
/// <param name="prediction">Whether the entry should allow predictive text.</param>
virtual public void SetPredictionAllow(bool prediction) {
- Efl.Ui.Text.NativeMethods.efl_ui_text_prediction_allow_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),prediction);
+ Efl.Ui.Text.NativeMethods.efl_ui_text_prediction_allow_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),prediction);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gets the value of input hint.</summary>
/// <returns>Input hint.</returns>
virtual public Elm.Input.Hints GetInputHint() {
- var _ret_var = Efl.Ui.Text.NativeMethods.efl_ui_text_input_hint_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Text.NativeMethods.efl_ui_text_input_hint_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Sets the input hint which allows input methods to fine-tune their behavior.</summary>
/// <param name="hints">Input hint.</param>
virtual public void SetInputHint(Elm.Input.Hints hints) {
- Efl.Ui.Text.NativeMethods.efl_ui_text_input_hint_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),hints);
+ Efl.Ui.Text.NativeMethods.efl_ui_text_input_hint_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),hints);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the input panel layout of the entry.</summary>
/// <returns>Layout type.</returns>
virtual public Elm.Input.Panel.Layout GetInputPanelLayout() {
- var _ret_var = Efl.Ui.Text.NativeMethods.efl_ui_text_input_panel_layout_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Text.NativeMethods.efl_ui_text_input_panel_layout_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Set the input panel layout of the entry.</summary>
/// <param name="layout">Layout type.</param>
virtual public void SetInputPanelLayout(Elm.Input.Panel.Layout layout) {
- Efl.Ui.Text.NativeMethods.efl_ui_text_input_panel_layout_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),layout);
+ Efl.Ui.Text.NativeMethods.efl_ui_text_input_panel_layout_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),layout);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the "return" key type.</summary>
/// <returns>The type of "return" key on the input panel.</returns>
virtual public Elm.Input.Panel.ReturnKey.Type GetInputPanelReturnKeyType() {
- var _ret_var = Efl.Ui.Text.NativeMethods.efl_ui_text_input_panel_return_key_type_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Text.NativeMethods.efl_ui_text_input_panel_return_key_type_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// An input panel displays the string or icon associated with this type.</summary>
/// <param name="return_key_type">The type of "return" key on the input panel.</param>
virtual public void SetInputPanelReturnKeyType(Elm.Input.Panel.ReturnKey.Type return_key_type) {
- Efl.Ui.Text.NativeMethods.efl_ui_text_input_panel_return_key_type_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),return_key_type);
+ Efl.Ui.Text.NativeMethods.efl_ui_text_input_panel_return_key_type_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),return_key_type);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the attribute to show the input panel automatically.</summary>
/// <returns>If <c>true</c>, the input panel is appeared when entry is clicked or has a focus.</returns>
virtual public bool GetInputPanelEnabled() {
- var _ret_var = Efl.Ui.Text.NativeMethods.efl_ui_text_input_panel_enabled_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Text.NativeMethods.efl_ui_text_input_panel_enabled_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Sets the attribute to show the input panel automatically.</summary>
/// <param name="enabled">If <c>true</c>, the input panel is appeared when entry is clicked or has a focus.</param>
virtual public void SetInputPanelEnabled(bool enabled) {
- Efl.Ui.Text.NativeMethods.efl_ui_text_input_panel_enabled_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),enabled);
+ Efl.Ui.Text.NativeMethods.efl_ui_text_input_panel_enabled_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),enabled);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set whether the return key on the input panel is disabled automatically when entry has no text.
/// If <c>enabled</c> is <c>true</c>, the return key on input panel is disabled when the entry has no text. The return key on the input panel is automatically enabled when the entry has text. The default value is <c>false</c>.</summary>
/// <param name="enabled">If <c>enabled</c> is <c>true</c>, the return key is automatically disabled when the entry has no text.</param>
virtual public void SetInputPanelReturnKeyAutoenabled(bool enabled) {
- Efl.Ui.Text.NativeMethods.efl_ui_text_input_panel_return_key_autoenabled_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),enabled);
+ Efl.Ui.Text.NativeMethods.efl_ui_text_input_panel_return_key_autoenabled_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),enabled);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The factory that provides item in the text e.g. "emoticon/happy" or "href=file://image.jpg" etc.</summary>
/// <returns>Factory to create items</returns>
virtual public Efl.Canvas.ITextFactory GetItemFactory() {
- var _ret_var = Efl.Ui.Text.NativeMethods.efl_ui_text_item_factory_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Text.NativeMethods.efl_ui_text_item_factory_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>The factory that provides item in the text e.g. "emoticon/happy" or "href=file://image.jpg" etc.</summary>
/// <param name="item_factory">Factory to create items</param>
virtual public void SetItemFactory(Efl.Canvas.ITextFactory item_factory) {
- Efl.Ui.Text.NativeMethods.efl_ui_text_item_factory_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),item_factory);
+ Efl.Ui.Text.NativeMethods.efl_ui_text_item_factory_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),item_factory);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Show the input panel (virtual keyboard) based on the input panel property of entry such as layout, autocapital types and so on.
/// Note that input panel is shown or hidden automatically according to the focus state of entry widget. This API can be used in the case of manually controlling by using <see cref="Efl.Ui.Text.SetInputPanelEnabled"/>(en, <c>false</c>).</summary>
virtual public void ShowInputPanel() {
- Efl.Ui.Text.NativeMethods.efl_ui_text_input_panel_show_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Text.NativeMethods.efl_ui_text_input_panel_show_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This executes a "copy" action on the selected text in the entry.</summary>
virtual public void SelectionCopy() {
- Efl.Ui.Text.NativeMethods.efl_ui_text_selection_copy_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Text.NativeMethods.efl_ui_text_selection_copy_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This clears and frees the items in a entry's contextual (longpress) menu.
/// See also <see cref="Efl.Ui.Text.AddContextMenuItem"/>.</summary>
virtual public void ClearContextMenu() {
- Efl.Ui.Text.NativeMethods.efl_ui_text_context_menu_clear_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Text.NativeMethods.efl_ui_text_context_menu_clear_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the input panel-specific data to deliver to the input panel.
/// <param name="data">The specific data to be set to the input panel.</param>
/// <param name="len">The length of data, in bytes, to send to the input panel.</param>
virtual public void SetInputPanelImdata(System.IntPtr data, int len) {
- Efl.Ui.Text.NativeMethods.efl_ui_text_input_panel_imdata_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),data, len);
+ Efl.Ui.Text.NativeMethods.efl_ui_text_input_panel_imdata_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),data, len);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the specific data of the current input panel.</summary>
/// <param name="data">The specific data to be obtained from the input panel.</param>
/// <param name="len">The length of data.</param>
virtual public void GetInputPanelImdata(ref System.IntPtr data, out int len) {
- Efl.Ui.Text.NativeMethods.efl_ui_text_input_panel_imdata_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),ref data, out len);
+ Efl.Ui.Text.NativeMethods.efl_ui_text_input_panel_imdata_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),ref data, out len);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This executes a "paste" action in the entry.</summary>
virtual public void SelectionPaste() {
- Efl.Ui.Text.NativeMethods.efl_ui_text_selection_paste_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Text.NativeMethods.efl_ui_text_selection_paste_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Hide the input panel (virtual keyboard).
/// Note that input panel is shown or hidden automatically according to the focus state of entry widget. This API can be used in the case of manually controlling by using <see cref="Efl.Ui.Text.SetInputPanelEnabled"/>(en, <c>false</c>)</summary>
virtual public void HideInputPanel() {
- Efl.Ui.Text.NativeMethods.efl_ui_text_input_panel_hide_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Text.NativeMethods.efl_ui_text_input_panel_hide_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This ends a selection within the entry as though the user had just released the mouse button while making a selection.</summary>
virtual public void CursorSelectionEnd() {
- Efl.Ui.Text.NativeMethods.efl_ui_text_cursor_selection_end_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Text.NativeMethods.efl_ui_text_cursor_selection_end_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This executes a "cut" action on the selected text in the entry.</summary>
virtual public void SelectionCut() {
- Efl.Ui.Text.NativeMethods.efl_ui_text_selection_cut_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Text.NativeMethods.efl_ui_text_selection_cut_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This adds an item to the entry's contextual menu.
/// <param name="func">The callback to execute when the item is clicked.</param>
/// <param name="data">The data to associate with the item for related functions.</param>
virtual public void AddContextMenuItem(System.String label, System.String icon_file, Elm.Icon.Type icon_type, EvasSmartCb func, System.IntPtr data) {
- Efl.Ui.Text.NativeMethods.efl_ui_text_context_menu_item_add_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),label, icon_file, icon_type, func, data);
+ Efl.Ui.Text.NativeMethods.efl_ui_text_context_menu_item_add_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),label, icon_file, icon_type, func, data);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Creates and returns a new cursor for the text.</summary>
/// <returns>Text cursor</returns>
virtual public Efl.TextCursorCursor NewCursor() {
- var _ret_var = Efl.Ui.Text.NativeMethods.efl_ui_text_cursor_new_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Text.NativeMethods.efl_ui_text_cursor_new_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The handle to the <see cref="Eina.File"/> that will be used</returns>
virtual public Eina.File GetMmap() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="f">The handle to the <see cref="Eina.File"/> that will be used</param>
/// <returns>0 on success, error code otherwise</returns>
virtual public Eina.Error SetMmap(Eina.File f) {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),f);
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),f);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The file path.</returns>
virtual public System.String GetFile() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="file">The file path.</param>
/// <returns>0 on success, error code otherwise</returns>
virtual public Eina.Error SetFile(System.String file) {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),file);
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),file);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The group that the data belongs to. See the class documentation for particular implementations of this interface to see how this property is used.</returns>
virtual public System.String GetKey() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_key_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_key_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="key">The group that the data belongs to. See the class documentation for particular implementations of this interface to see how this property is used.</param>
virtual public void SetKey(System.String key) {
- Efl.IFileConcrete.NativeMethods.efl_file_key_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),key);
+ Efl.IFileConcrete.NativeMethods.efl_file_key_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),key);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the load state of the object.
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if the object is loaded, <c>false</c> otherwise.</returns>
virtual public bool GetLoaded() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_loaded_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_loaded_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>0 on success, error code otherwise</returns>
virtual public Eina.Error Load() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_load_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_load_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Calling <see cref="Efl.IFile.Unload"/> on an object which is not currently loaded will have no effect.
/// (Since EFL 1.22)</summary>
virtual public void Unload() {
- Efl.IFileConcrete.NativeMethods.efl_file_unload_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.IFileConcrete.NativeMethods.efl_file_unload_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Retrieves the text string currently being displayed by the given text object.
/// (Since EFL 1.22)</summary>
/// <returns>Text string to display on it.</returns>
virtual public System.String GetText() {
- var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="text">Text string to display on it.</param>
virtual public void SetText(System.String text) {
- Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),text);
+ Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),text);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Retrieve the font family and size in use on a given text object.
/// <param name="font">The font family name or filename.</param>
/// <param name="size">The font size, in points.</param>
virtual public void GetFont(out System.String font, out Efl.Font.Size size) {
- Efl.ITextFontConcrete.NativeMethods.efl_text_font_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out font, out size);
+ Efl.ITextFontConcrete.NativeMethods.efl_text_font_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out font, out size);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the font family, filename and size for a given text object.
/// <param name="font">The font family name or filename.</param>
/// <param name="size">The font size, in points.</param>
virtual public void SetFont(System.String font, Efl.Font.Size size) {
- Efl.ITextFontConcrete.NativeMethods.efl_text_font_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),font, size);
+ Efl.ITextFontConcrete.NativeMethods.efl_text_font_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),font, size);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the font file's path which is being used on a given text object.
/// See <see cref="Efl.ITextFont.GetFont"/> for more details.</summary>
/// <returns>The font file's path.</returns>
virtual public System.String GetFontSource() {
- var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_source_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_source_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// See also <see cref="Efl.ITextFont.GetFont"/>.</summary>
/// <param name="font_source">The font file's path.</param>
virtual public void SetFontSource(System.String font_source) {
- Efl.ITextFontConcrete.NativeMethods.efl_text_font_source_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),font_source);
+ Efl.ITextFontConcrete.NativeMethods.efl_text_font_source_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),font_source);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Comma-separated list of font fallbacks
/// Will be used in case the primary font isn't available.</summary>
/// <returns>Font name fallbacks</returns>
virtual public System.String GetFontFallbacks() {
- var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_fallbacks_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_fallbacks_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Will be used in case the primary font isn't available.</summary>
/// <param name="font_fallbacks">Font name fallbacks</param>
virtual public void SetFontFallbacks(System.String font_fallbacks) {
- Efl.ITextFontConcrete.NativeMethods.efl_text_font_fallbacks_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),font_fallbacks);
+ Efl.ITextFontConcrete.NativeMethods.efl_text_font_fallbacks_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),font_fallbacks);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Type of weight of the displayed font
/// Default is <see cref="Efl.TextFontWeight.Normal"/>.</summary>
/// <returns>Font weight</returns>
virtual public Efl.TextFontWeight GetFontWeight() {
- var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_weight_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_weight_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Default is <see cref="Efl.TextFontWeight.Normal"/>.</summary>
/// <param name="font_weight">Font weight</param>
virtual public void SetFontWeight(Efl.TextFontWeight font_weight) {
- Efl.ITextFontConcrete.NativeMethods.efl_text_font_weight_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),font_weight);
+ Efl.ITextFontConcrete.NativeMethods.efl_text_font_weight_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),font_weight);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Type of slant of the displayed font
/// Default is <see cref="Efl.TextFontSlant.Normal"/>.</summary>
/// <returns>Font slant</returns>
virtual public Efl.TextFontSlant GetFontSlant() {
- var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_slant_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_slant_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Default is <see cref="Efl.TextFontSlant.Normal"/>.</summary>
/// <param name="style">Font slant</param>
virtual public void SetFontSlant(Efl.TextFontSlant style) {
- Efl.ITextFontConcrete.NativeMethods.efl_text_font_slant_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),style);
+ Efl.ITextFontConcrete.NativeMethods.efl_text_font_slant_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),style);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Type of width of the displayed font
/// Default is <see cref="Efl.TextFontWidth.Normal"/>.</summary>
/// <returns>Font width</returns>
virtual public Efl.TextFontWidth GetFontWidth() {
- var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_width_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_width_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Default is <see cref="Efl.TextFontWidth.Normal"/>.</summary>
/// <param name="width">Font width</param>
virtual public void SetFontWidth(Efl.TextFontWidth width) {
- Efl.ITextFontConcrete.NativeMethods.efl_text_font_width_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),width);
+ Efl.ITextFontConcrete.NativeMethods.efl_text_font_width_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),width);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Specific language of the displayed font
/// This is used to lookup fonts suitable to the specified language, as well as helping the font shaper backend. The language <c>lang</c> can be either a code e.g "en_US", "auto" to use the system locale, or "none".</summary>
/// <returns>Language</returns>
virtual public System.String GetFontLang() {
- var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_lang_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_lang_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This is used to lookup fonts suitable to the specified language, as well as helping the font shaper backend. The language <c>lang</c> can be either a code e.g "en_US", "auto" to use the system locale, or "none".</summary>
/// <param name="lang">Language</param>
virtual public void SetFontLang(System.String lang) {
- Efl.ITextFontConcrete.NativeMethods.efl_text_font_lang_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),lang);
+ Efl.ITextFontConcrete.NativeMethods.efl_text_font_lang_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),lang);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The bitmap fonts have fixed size glyphs for several available sizes. Basically, it is not scalable. But, it needs to be scalable for some use cases. (ex. colorful emoji fonts)
/// Default is <see cref="Efl.TextFontBitmapScalable.None"/>.</summary>
/// <returns>Scalable</returns>
virtual public Efl.TextFontBitmapScalable GetFontBitmapScalable() {
- var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_bitmap_scalable_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_bitmap_scalable_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Default is <see cref="Efl.TextFontBitmapScalable.None"/>.</summary>
/// <param name="scalable">Scalable</param>
virtual public void SetFontBitmapScalable(Efl.TextFontBitmapScalable scalable) {
- Efl.ITextFontConcrete.NativeMethods.efl_text_font_bitmap_scalable_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),scalable);
+ Efl.ITextFontConcrete.NativeMethods.efl_text_font_bitmap_scalable_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),scalable);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Ellipsis value (number from -1.0 to 1.0)</summary>
/// <returns>Ellipsis value</returns>
virtual public double GetEllipsis() {
- var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_ellipsis_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_ellipsis_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Ellipsis value (number from -1.0 to 1.0)</summary>
/// <param name="value">Ellipsis value</param>
virtual public void SetEllipsis(double value) {
- Efl.ITextFormatConcrete.NativeMethods.efl_text_ellipsis_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),value);
+ Efl.ITextFormatConcrete.NativeMethods.efl_text_ellipsis_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),value);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Wrap mode for use in the text</summary>
/// <returns>Wrap mode</returns>
virtual public Efl.TextFormatWrap GetWrap() {
- var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_wrap_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_wrap_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Wrap mode for use in the text</summary>
/// <param name="wrap">Wrap mode</param>
virtual public void SetWrap(Efl.TextFormatWrap wrap) {
- Efl.ITextFormatConcrete.NativeMethods.efl_text_wrap_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),wrap);
+ Efl.ITextFormatConcrete.NativeMethods.efl_text_wrap_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),wrap);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Multiline is enabled or not</summary>
/// <returns><c>true</c> if multiline is enabled, <c>false</c> otherwise</returns>
virtual public bool GetMultiline() {
- var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_multiline_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_multiline_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Multiline is enabled or not</summary>
/// <param name="enabled"><c>true</c> if multiline is enabled, <c>false</c> otherwise</param>
virtual public void SetMultiline(bool enabled) {
- Efl.ITextFormatConcrete.NativeMethods.efl_text_multiline_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),enabled);
+ Efl.ITextFormatConcrete.NativeMethods.efl_text_multiline_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),enabled);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Horizontal alignment of text</summary>
/// <returns>Alignment type</returns>
virtual public Efl.TextFormatHorizontalAlignmentAutoType GetHalignAutoType() {
- var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_halign_auto_type_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_halign_auto_type_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Horizontal alignment of text</summary>
/// <param name="value">Alignment type</param>
virtual public void SetHalignAutoType(Efl.TextFormatHorizontalAlignmentAutoType value) {
- Efl.ITextFormatConcrete.NativeMethods.efl_text_halign_auto_type_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),value);
+ Efl.ITextFormatConcrete.NativeMethods.efl_text_halign_auto_type_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),value);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Horizontal alignment of text</summary>
/// <returns>Horizontal alignment value</returns>
virtual public double GetHalign() {
- var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_halign_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_halign_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Horizontal alignment of text</summary>
/// <param name="value">Horizontal alignment value</param>
virtual public void SetHalign(double value) {
- Efl.ITextFormatConcrete.NativeMethods.efl_text_halign_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),value);
+ Efl.ITextFormatConcrete.NativeMethods.efl_text_halign_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),value);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Vertical alignment of text</summary>
/// <returns>Vertical alignment value</returns>
virtual public double GetValign() {
- var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_valign_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_valign_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Vertical alignment of text</summary>
/// <param name="value">Vertical alignment value</param>
virtual public void SetValign(double value) {
- Efl.ITextFormatConcrete.NativeMethods.efl_text_valign_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),value);
+ Efl.ITextFormatConcrete.NativeMethods.efl_text_valign_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),value);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Minimal line gap (top and bottom) for each line in the text
/// <c>value</c> is absolute size.</summary>
/// <returns>Line gap value</returns>
virtual public double GetLinegap() {
- var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_linegap_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_linegap_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <c>value</c> is absolute size.</summary>
/// <param name="value">Line gap value</param>
virtual public void SetLinegap(double value) {
- Efl.ITextFormatConcrete.NativeMethods.efl_text_linegap_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),value);
+ Efl.ITextFormatConcrete.NativeMethods.efl_text_linegap_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),value);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Relative line gap (top and bottom) for each line in the text
/// The original line gap value is multiplied by <c>value</c>.</summary>
/// <returns>Relative line gap value</returns>
virtual public double GetLinerelgap() {
- var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_linerelgap_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_linerelgap_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// The original line gap value is multiplied by <c>value</c>.</summary>
/// <param name="value">Relative line gap value</param>
virtual public void SetLinerelgap(double value) {
- Efl.ITextFormatConcrete.NativeMethods.efl_text_linerelgap_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),value);
+ Efl.ITextFormatConcrete.NativeMethods.efl_text_linerelgap_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),value);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Tabstops value</summary>
/// <returns>Tapstops value</returns>
virtual public int GetTabstops() {
- var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_tabstops_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_tabstops_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Tabstops value</summary>
/// <param name="value">Tapstops value</param>
virtual public void SetTabstops(int value) {
- Efl.ITextFormatConcrete.NativeMethods.efl_text_tabstops_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),value);
+ Efl.ITextFormatConcrete.NativeMethods.efl_text_tabstops_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),value);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Whether text is a password</summary>
/// <returns><c>true</c> if the text is a password, <c>false</c> otherwise</returns>
virtual public bool GetPassword() {
- var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_password_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_password_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Whether text is a password</summary>
/// <param name="enabled"><c>true</c> if the text is a password, <c>false</c> otherwise</param>
virtual public void SetPassword(bool enabled) {
- Efl.ITextFormatConcrete.NativeMethods.efl_text_password_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),enabled);
+ Efl.ITextFormatConcrete.NativeMethods.efl_text_password_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),enabled);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The character used to replace characters that can't be displayed
/// Currently only used to replace characters if <see cref="Efl.ITextFormat.Password"/> is enabled.</summary>
/// <returns>Replacement character</returns>
virtual public System.String GetReplacementChar() {
- var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_replacement_char_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_replacement_char_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Currently only used to replace characters if <see cref="Efl.ITextFormat.Password"/> is enabled.</summary>
/// <param name="repch">Replacement character</param>
virtual public void SetReplacementChar(System.String repch) {
- Efl.ITextFormatConcrete.NativeMethods.efl_text_replacement_char_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),repch);
+ Efl.ITextFormatConcrete.NativeMethods.efl_text_replacement_char_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),repch);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Whether or not selection is allowed on this object</summary>
/// <returns><c>true</c> if enabled, <c>false</c> otherwise</returns>
virtual public bool GetSelectionAllowed() {
- var _ret_var = Efl.ITextInteractiveConcrete.NativeMethods.efl_text_interactive_selection_allowed_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextInteractiveConcrete.NativeMethods.efl_text_interactive_selection_allowed_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Whether or not selection is allowed on this object</summary>
/// <param name="allowed"><c>true</c> if enabled, <c>false</c> otherwise</param>
virtual public void SetSelectionAllowed(bool allowed) {
- Efl.ITextInteractiveConcrete.NativeMethods.efl_text_interactive_selection_allowed_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),allowed);
+ Efl.ITextInteractiveConcrete.NativeMethods.efl_text_interactive_selection_allowed_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),allowed);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The cursors used for selection handling.
/// <param name="start">The start of the selection</param>
/// <param name="end">The end of the selection</param>
virtual public void GetSelectionCursors(out Efl.TextCursorCursor start, out Efl.TextCursorCursor end) {
- Efl.ITextInteractiveConcrete.NativeMethods.efl_text_interactive_selection_cursors_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out start, out end);
+ Efl.ITextInteractiveConcrete.NativeMethods.efl_text_interactive_selection_cursors_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out start, out end);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Whether the entry is editable.
/// By default text interactives are editable. However setting this property to <c>false</c> will make it so that key input will be disregarded.</summary>
/// <returns>If <c>true</c>, user input will be inserted in the entry, if not, the entry is read-only and no user input is allowed.</returns>
virtual public bool GetEditable() {
- var _ret_var = Efl.ITextInteractiveConcrete.NativeMethods.efl_text_interactive_editable_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextInteractiveConcrete.NativeMethods.efl_text_interactive_editable_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// By default text interactives are editable. However setting this property to <c>false</c> will make it so that key input will be disregarded.</summary>
/// <param name="editable">If <c>true</c>, user input will be inserted in the entry, if not, the entry is read-only and no user input is allowed.</param>
virtual public void SetEditable(bool editable) {
- Efl.ITextInteractiveConcrete.NativeMethods.efl_text_interactive_editable_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),editable);
+ Efl.ITextInteractiveConcrete.NativeMethods.efl_text_interactive_editable_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),editable);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Clears the selection.</summary>
virtual public void SelectNone() {
- Efl.ITextInteractiveConcrete.NativeMethods.efl_text_interactive_select_none_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.ITextInteractiveConcrete.NativeMethods.efl_text_interactive_select_none_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Markup property</summary>
/// <returns>The markup-text representation set to this text.</returns>
virtual public System.String GetMarkup() {
- var _ret_var = Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Markup property</summary>
/// <param name="markup">The markup-text representation set to this text.</param>
virtual public void SetMarkup(System.String markup) {
- Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),markup);
+ Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),markup);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of text, excluding style</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void GetNormalColor(out byte r, out byte g, out byte b, out byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_normal_color_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out r, out g, out b, out a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_normal_color_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out r, out g, out b, out a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of text, excluding style</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void SetNormalColor(byte r, byte g, byte b, byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_normal_color_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),r, g, b, a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_normal_color_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),r, g, b, a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Enable or disable backing type</summary>
/// <returns>Backing type</returns>
virtual public Efl.TextStyleBackingType GetBackingType() {
- var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_backing_type_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_backing_type_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Enable or disable backing type</summary>
/// <param name="type">Backing type</param>
virtual public void SetBackingType(Efl.TextStyleBackingType type) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_backing_type_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),type);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_backing_type_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),type);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Backing color</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void GetBackingColor(out byte r, out byte g, out byte b, out byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_backing_color_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out r, out g, out b, out a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_backing_color_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out r, out g, out b, out a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Backing color</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void SetBackingColor(byte r, byte g, byte b, byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_backing_color_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),r, g, b, a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_backing_color_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),r, g, b, a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Sets an underline style on the text</summary>
/// <returns>Underline type</returns>
virtual public Efl.TextStyleUnderlineType GetUnderlineType() {
- var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_type_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_type_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Sets an underline style on the text</summary>
/// <param name="type">Underline type</param>
virtual public void SetUnderlineType(Efl.TextStyleUnderlineType type) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_type_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),type);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_type_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),type);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of normal underline style</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void GetUnderlineColor(out byte r, out byte g, out byte b, out byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_color_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out r, out g, out b, out a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_color_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out r, out g, out b, out a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of normal underline style</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void SetUnderlineColor(byte r, byte g, byte b, byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_color_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),r, g, b, a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_color_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),r, g, b, a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Height of underline style</summary>
/// <returns>Height</returns>
virtual public double GetUnderlineHeight() {
- var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_height_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_height_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Height of underline style</summary>
/// <param name="height">Height</param>
virtual public void SetUnderlineHeight(double height) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_height_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),height);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_height_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),height);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of dashed underline style</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void GetUnderlineDashedColor(out byte r, out byte g, out byte b, out byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_dashed_color_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out r, out g, out b, out a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_dashed_color_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out r, out g, out b, out a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of dashed underline style</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void SetUnderlineDashedColor(byte r, byte g, byte b, byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_dashed_color_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),r, g, b, a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_dashed_color_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),r, g, b, a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Width of dashed underline style</summary>
/// <returns>Width</returns>
virtual public int GetUnderlineDashedWidth() {
- var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_dashed_width_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_dashed_width_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Width of dashed underline style</summary>
/// <param name="width">Width</param>
virtual public void SetUnderlineDashedWidth(int width) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_dashed_width_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),width);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_dashed_width_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),width);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gap of dashed underline style</summary>
/// <returns>Gap</returns>
virtual public int GetUnderlineDashedGap() {
- var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_dashed_gap_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_dashed_gap_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Gap of dashed underline style</summary>
/// <param name="gap">Gap</param>
virtual public void SetUnderlineDashedGap(int gap) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_dashed_gap_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),gap);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_underline_dashed_gap_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),gap);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of underline2 style</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void GetUnderline2Color(out byte r, out byte g, out byte b, out byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_underline2_color_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out r, out g, out b, out a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_underline2_color_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out r, out g, out b, out a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of underline2 style</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void SetUnderline2Color(byte r, byte g, byte b, byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_underline2_color_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),r, g, b, a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_underline2_color_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),r, g, b, a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Type of strikethrough style</summary>
/// <returns>Strikethrough type</returns>
virtual public Efl.TextStyleStrikethroughType GetStrikethroughType() {
- var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_strikethrough_type_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_strikethrough_type_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Type of strikethrough style</summary>
/// <param name="type">Strikethrough type</param>
virtual public void SetStrikethroughType(Efl.TextStyleStrikethroughType type) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_strikethrough_type_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),type);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_strikethrough_type_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),type);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of strikethrough_style</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void GetStrikethroughColor(out byte r, out byte g, out byte b, out byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_strikethrough_color_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out r, out g, out b, out a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_strikethrough_color_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out r, out g, out b, out a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of strikethrough_style</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void SetStrikethroughColor(byte r, byte g, byte b, byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_strikethrough_color_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),r, g, b, a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_strikethrough_color_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),r, g, b, a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Type of effect used for the displayed text</summary>
/// <returns>Effect type</returns>
virtual public Efl.TextStyleEffectType GetEffectType() {
- var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_effect_type_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_effect_type_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Type of effect used for the displayed text</summary>
/// <param name="type">Effect type</param>
virtual public void SetEffectType(Efl.TextStyleEffectType type) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_effect_type_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),type);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_effect_type_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),type);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of outline effect</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void GetOutlineColor(out byte r, out byte g, out byte b, out byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_outline_color_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out r, out g, out b, out a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_outline_color_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out r, out g, out b, out a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of outline effect</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void SetOutlineColor(byte r, byte g, byte b, byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_outline_color_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),r, g, b, a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_outline_color_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),r, g, b, a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Direction of shadow effect</summary>
/// <returns>Shadow direction</returns>
virtual public Efl.TextStyleShadowDirection GetShadowDirection() {
- var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_shadow_direction_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_shadow_direction_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Direction of shadow effect</summary>
/// <param name="type">Shadow direction</param>
virtual public void SetShadowDirection(Efl.TextStyleShadowDirection type) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_shadow_direction_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),type);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_shadow_direction_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),type);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of shadow effect</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void GetShadowColor(out byte r, out byte g, out byte b, out byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_shadow_color_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out r, out g, out b, out a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_shadow_color_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out r, out g, out b, out a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of shadow effect</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void SetShadowColor(byte r, byte g, byte b, byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_shadow_color_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),r, g, b, a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_shadow_color_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),r, g, b, a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of glow effect</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void GetGlowColor(out byte r, out byte g, out byte b, out byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_glow_color_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out r, out g, out b, out a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_glow_color_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out r, out g, out b, out a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Color of glow effect</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void SetGlowColor(byte r, byte g, byte b, byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_glow_color_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),r, g, b, a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_glow_color_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),r, g, b, a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Second color of the glow effect</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void GetGlow2Color(out byte r, out byte g, out byte b, out byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_glow2_color_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out r, out g, out b, out a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_glow2_color_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out r, out g, out b, out a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Second color of the glow effect</summary>
/// <param name="b">Blue component</param>
/// <param name="a">Alpha component</param>
virtual public void SetGlow2Color(byte r, byte g, byte b, byte a) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_glow2_color_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),r, g, b, a);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_glow2_color_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),r, g, b, a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Program that applies a special filter
/// See <see cref="Efl.Gfx.IFilter"/>.</summary>
/// <returns>Filter code</returns>
virtual public System.String GetGfxFilter() {
- var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_gfx_filter_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextStyleConcrete.NativeMethods.efl_text_gfx_filter_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// See <see cref="Efl.Gfx.IFilter"/>.</summary>
/// <param name="code">Filter code</param>
virtual public void SetGfxFilter(System.String code) {
- Efl.ITextStyleConcrete.NativeMethods.efl_text_gfx_filter_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),code);
+ Efl.ITextStyleConcrete.NativeMethods.efl_text_gfx_filter_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),code);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gets single character present in accessible widget's text at given offset.</summary>
/// <param name="offset">Position in text.</param>
/// <returns>Character at offset. 0 when out-of bounds offset has been given. Codepoints between DC80 and DCFF indicates that string includes invalid UTF8 chars.</returns>
virtual public Eina.Unicode GetCharacter(int offset) {
- var _ret_var = Efl.Access.ITextConcrete.NativeMethods.efl_access_text_character_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),offset);
+ var _ret_var = Efl.Access.ITextConcrete.NativeMethods.efl_access_text_character_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),offset);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
virtual public System.String GetString(Efl.Access.TextGranularity granularity, int start_offset, int end_offset) {
var _in_start_offset = Eina.PrimitiveConversion.ManagedToPointerAlloc(start_offset);
var _in_end_offset = Eina.PrimitiveConversion.ManagedToPointerAlloc(end_offset);
- var _ret_var = Efl.Access.ITextConcrete.NativeMethods.efl_access_text_string_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),granularity, _in_start_offset, _in_end_offset);
+ var _ret_var = Efl.Access.ITextConcrete.NativeMethods.efl_access_text_string_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),granularity, _in_start_offset, _in_end_offset);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="end_offset">End offset of text.</param>
/// <returns>UTF-8 encoded text.</returns>
virtual public System.String GetAccessText(int start_offset, int end_offset) {
- var _ret_var = Efl.Access.ITextConcrete.NativeMethods.efl_access_text_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),start_offset, end_offset);
+ var _ret_var = Efl.Access.ITextConcrete.NativeMethods.efl_access_text_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),start_offset, end_offset);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Gets offset position of caret (cursor)</summary>
/// <returns>Offset</returns>
virtual public int GetCaretOffset() {
- var _ret_var = Efl.Access.ITextConcrete.NativeMethods.efl_access_text_caret_offset_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Access.ITextConcrete.NativeMethods.efl_access_text_caret_offset_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="offset">Offset</param>
/// <returns><c>true</c> if caret was successfully moved, <c>false</c> otherwise.</returns>
virtual public bool SetCaretOffset(int offset) {
- var _ret_var = Efl.Access.ITextConcrete.NativeMethods.efl_access_text_caret_offset_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),offset);
+ var _ret_var = Efl.Access.ITextConcrete.NativeMethods.efl_access_text_caret_offset_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),offset);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
virtual public bool GetAttribute(System.String name, int start_offset, int end_offset, out System.String value) {
var _in_start_offset = Eina.PrimitiveConversion.ManagedToPointerAlloc(start_offset);
var _in_end_offset = Eina.PrimitiveConversion.ManagedToPointerAlloc(end_offset);
- var _ret_var = Efl.Access.ITextConcrete.NativeMethods.efl_access_text_attribute_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),name, _in_start_offset, _in_end_offset, out value);
+ var _ret_var = Efl.Access.ITextConcrete.NativeMethods.efl_access_text_attribute_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),name, _in_start_offset, _in_end_offset, out value);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
virtual public Eina.List<Efl.Access.TextAttribute> GetTextAttributes(int start_offset, int end_offset) {
var _in_start_offset = Eina.PrimitiveConversion.ManagedToPointerAlloc(start_offset);
var _in_end_offset = Eina.PrimitiveConversion.ManagedToPointerAlloc(end_offset);
- var _ret_var = Efl.Access.ITextConcrete.NativeMethods.efl_access_text_attributes_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_start_offset, _in_end_offset);
+ var _ret_var = Efl.Access.ITextConcrete.NativeMethods.efl_access_text_attributes_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_start_offset, _in_end_offset);
Eina.Error.RaiseIfUnhandledException();
return new Eina.List<Efl.Access.TextAttribute>(_ret_var, true, true);
}
/// <summary>Default attributes</summary>
/// <returns>List of default attributes</returns>
virtual public Eina.List<Efl.Access.TextAttribute> GetDefaultAttributes() {
- var _ret_var = Efl.Access.ITextConcrete.NativeMethods.efl_access_text_default_attributes_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Access.ITextConcrete.NativeMethods.efl_access_text_default_attributes_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return new Eina.List<Efl.Access.TextAttribute>(_ret_var, true, true);
}
/// <returns><c>true</c> if character extents, <c>false</c> otherwise</returns>
virtual public bool GetCharacterExtents(int offset, bool screen_coords, out Eina.Rect rect) {
var _out_rect = new Eina.Rect.NativeStruct();
- var _ret_var = Efl.Access.ITextConcrete.NativeMethods.efl_access_text_character_extents_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),offset, screen_coords, out _out_rect);
+ var _ret_var = Efl.Access.ITextConcrete.NativeMethods.efl_access_text_character_extents_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),offset, screen_coords, out _out_rect);
Eina.Error.RaiseIfUnhandledException();
rect = _out_rect;
return _ret_var;
/// <summary>Character count</summary>
/// <returns>Character count</returns>
virtual public int GetCharacterCount() {
- var _ret_var = Efl.Access.ITextConcrete.NativeMethods.efl_access_text_character_count_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Access.ITextConcrete.NativeMethods.efl_access_text_character_count_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="y">Y coordinate</param>
/// <returns>Offset</returns>
virtual public int GetOffsetAtPoint(bool screen_coords, int x, int y) {
- var _ret_var = Efl.Access.ITextConcrete.NativeMethods.efl_access_text_offset_at_point_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),screen_coords, x, y);
+ var _ret_var = Efl.Access.ITextConcrete.NativeMethods.efl_access_text_offset_at_point_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),screen_coords, x, y);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <returns>List of ranges</returns>
virtual public Eina.List<Efl.Access.TextRange> GetBoundedRanges(bool screen_coords, Eina.Rect rect, Efl.Access.TextClipType xclip, Efl.Access.TextClipType yclip) {
Eina.Rect.NativeStruct _in_rect = rect;
- var _ret_var = Efl.Access.ITextConcrete.NativeMethods.efl_access_text_bounded_ranges_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),screen_coords, _in_rect, xclip, yclip);
+ var _ret_var = Efl.Access.ITextConcrete.NativeMethods.efl_access_text_bounded_ranges_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),screen_coords, _in_rect, xclip, yclip);
Eina.Error.RaiseIfUnhandledException();
return new Eina.List<Efl.Access.TextRange>(_ret_var, true, true);
}
/// <returns><c>true</c> if range extents, <c>false</c> otherwise</returns>
virtual public bool GetRangeExtents(bool screen_coords, int start_offset, int end_offset, out Eina.Rect rect) {
var _out_rect = new Eina.Rect.NativeStruct();
- var _ret_var = Efl.Access.ITextConcrete.NativeMethods.efl_access_text_range_extents_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),screen_coords, start_offset, end_offset, out _out_rect);
+ var _ret_var = Efl.Access.ITextConcrete.NativeMethods.efl_access_text_range_extents_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),screen_coords, start_offset, end_offset, out _out_rect);
Eina.Error.RaiseIfUnhandledException();
rect = _out_rect;
return _ret_var;
/// <summary>Selection count property</summary>
/// <returns>Selection counter</returns>
virtual public int GetSelectionsCount() {
- var _ret_var = Efl.Access.ITextConcrete.NativeMethods.efl_access_text_selections_count_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Access.ITextConcrete.NativeMethods.efl_access_text_selections_count_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="start_offset">Selection start offset</param>
/// <param name="end_offset">Selection end offset</param>
virtual public void GetAccessSelection(int selection_number, out int start_offset, out int end_offset) {
- Efl.Access.ITextConcrete.NativeMethods.efl_access_text_access_selection_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),selection_number, out start_offset, out end_offset);
+ Efl.Access.ITextConcrete.NativeMethods.efl_access_text_access_selection_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),selection_number, out start_offset, out end_offset);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Selection property</summary>
/// <param name="end_offset">Selection end offset</param>
/// <returns><c>true</c> if selection was set, <c>false</c> otherwise</returns>
virtual public bool SetAccessSelection(int selection_number, int start_offset, int end_offset) {
- var _ret_var = Efl.Access.ITextConcrete.NativeMethods.efl_access_text_access_selection_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),selection_number, start_offset, end_offset);
+ var _ret_var = Efl.Access.ITextConcrete.NativeMethods.efl_access_text_access_selection_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),selection_number, start_offset, end_offset);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="end_offset">End selection at this offset</param>
/// <returns><c>true</c> if selection was added, <c>false</c> otherwise</returns>
virtual public bool AddSelection(int start_offset, int end_offset) {
- var _ret_var = Efl.Access.ITextConcrete.NativeMethods.efl_access_text_selection_add_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),start_offset, end_offset);
+ var _ret_var = Efl.Access.ITextConcrete.NativeMethods.efl_access_text_selection_add_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),start_offset, end_offset);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="selection_number">Selection number to be removed</param>
/// <returns><c>true</c> if selection was removed, <c>false</c> otherwise</returns>
virtual public bool SelectionRemove(int selection_number) {
- var _ret_var = Efl.Access.ITextConcrete.NativeMethods.efl_access_text_selection_remove_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),selection_number);
+ var _ret_var = Efl.Access.ITextConcrete.NativeMethods.efl_access_text_selection_remove_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),selection_number);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="kw_string">Content</param>
/// <returns><c>true</c> if setting the value succeeded, <c>false</c> otherwise</returns>
virtual public bool SetTextContent(System.String kw_string) {
- var _ret_var = Efl.Access.Editable.ITextConcrete.NativeMethods.efl_access_editable_text_content_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),kw_string);
+ var _ret_var = Efl.Access.Editable.ITextConcrete.NativeMethods.efl_access_editable_text_content_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),kw_string);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="position">Position to insert string</param>
/// <returns><c>true</c> if insert succeeded, <c>false</c> otherwise</returns>
virtual public bool Insert(System.String kw_string, int position) {
- var _ret_var = Efl.Access.Editable.ITextConcrete.NativeMethods.efl_access_editable_text_insert_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),kw_string, position);
+ var _ret_var = Efl.Access.Editable.ITextConcrete.NativeMethods.efl_access_editable_text_insert_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),kw_string, position);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="end">End position to copy</param>
/// <returns><c>true</c> if copy succeeded, <c>false</c> otherwise</returns>
virtual public bool Copy(int start, int end) {
- var _ret_var = Efl.Access.Editable.ITextConcrete.NativeMethods.efl_access_editable_text_copy_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),start, end);
+ var _ret_var = Efl.Access.Editable.ITextConcrete.NativeMethods.efl_access_editable_text_copy_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),start, end);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="end">End position to cut</param>
/// <returns><c>true</c> if cut succeeded, <c>false</c> otherwise</returns>
virtual public bool Cut(int start, int end) {
- var _ret_var = Efl.Access.Editable.ITextConcrete.NativeMethods.efl_access_editable_text_cut_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),start, end);
+ var _ret_var = Efl.Access.Editable.ITextConcrete.NativeMethods.efl_access_editable_text_cut_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),start, end);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="end">End position to delete</param>
/// <returns><c>true</c> if delete succeeded, <c>false</c> otherwise</returns>
virtual public bool Delete(int start, int end) {
- var _ret_var = Efl.Access.Editable.ITextConcrete.NativeMethods.efl_access_editable_text_delete_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),start, end);
+ var _ret_var = Efl.Access.Editable.ITextConcrete.NativeMethods.efl_access_editable_text_delete_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),start, end);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="position">Position to insert text</param>
/// <returns><c>true</c> if paste succeeded, <c>false</c> otherwise</returns>
virtual public bool Paste(int position) {
- var _ret_var = Efl.Access.Editable.ITextConcrete.NativeMethods.efl_access_editable_text_paste_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),position);
+ var _ret_var = Efl.Access.Editable.ITextConcrete.NativeMethods.efl_access_editable_text_paste_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),position);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// When the button is already pressed, this is silently ignored.</summary>
/// <param name="button">The number of the button. FIXME ensure to have the right interval of possible input</param>
virtual public void Press(uint button) {
- Efl.Ui.IClickableConcrete.NativeMethods.efl_ui_clickable_press_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),button);
+ Efl.Ui.IClickableConcrete.NativeMethods.efl_ui_clickable_press_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),button);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Change internal states that a button got unpressed.
/// When the button is not pressed, this is silently ignored.</summary>
/// <param name="button">The number of the button. FIXME ensure to have the right interval of possible input</param>
virtual public void Unpress(uint button) {
- Efl.Ui.IClickableConcrete.NativeMethods.efl_ui_clickable_unpress_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),button);
+ Efl.Ui.IClickableConcrete.NativeMethods.efl_ui_clickable_unpress_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),button);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This aborts the internal state after a press call.
/// This will stop the timer for longpress. And set the state of the clickable mixin back into the unpressed state.</summary>
virtual public void ResetButtonState(uint button) {
- Efl.Ui.IClickableConcrete.NativeMethods.efl_ui_clickable_button_state_reset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),button);
+ Efl.Ui.IClickableConcrete.NativeMethods.efl_ui_clickable_button_state_reset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),button);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the scrollable state of the entry
/// <summary>EFL UI Text Alert Popup class</summary>
[Efl.Ui.TextAlertPopup.NativeMethods]
+[Efl.Eo.BindingEntity]
public class TextAlertPopup : Efl.Ui.AlertPopup, Efl.IText
{
///<summary>Pointer to the native class description.</summary>
efl_ui_text_alert_popup_class_get();
/// <summary>Initializes a new instance of the <see cref="TextAlertPopup"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public TextAlertPopup(Efl.Object parent
- , System.String style = null) : base(efl_ui_text_alert_popup_class_get(), typeof(TextAlertPopup), parent)
+ , System.String style = null) : base(efl_ui_text_alert_popup_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected TextAlertPopup(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="TextAlertPopup"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected TextAlertPopup(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected TextAlertPopup(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="TextAlertPopup"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected TextAlertPopup(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected TextAlertPopup(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <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);
+ Efl.Ui.TextAlertPopup.NativeMethods.efl_ui_text_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>Retrieves the text string currently being displayed by the given text object.
/// (Since EFL 1.22)</summary>
/// <returns>Text string to display on it.</returns>
virtual public System.String GetText() {
- var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="text">Text string to display on it.</param>
virtual public void SetText(System.String text) {
- Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),text);
+ Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),text);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the expandable of popup.
/// <summary>Efl UI Text Alert Popup internal part class</summary>
[Efl.Ui.TextAlertPopupPart.NativeMethods]
+[Efl.Eo.BindingEntity]
public class TextAlertPopupPart : Efl.Ui.LayoutPart, Efl.IContent, Efl.IText
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="TextAlertPopupPart"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public TextAlertPopupPart(Efl.Object parent= null
- ) : base(efl_ui_text_alert_popup_part_class_get(), typeof(TextAlertPopupPart), parent)
+ ) : base(efl_ui_text_alert_popup_part_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected TextAlertPopupPart(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="TextAlertPopupPart"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected TextAlertPopupPart(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected TextAlertPopupPart(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="TextAlertPopupPart"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected TextAlertPopupPart(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected TextAlertPopupPart(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// (Since EFL 1.22)</summary>
/// <returns>The sub-object.</returns>
virtual public Efl.Gfx.IEntity GetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="content">The sub-object.</param>
/// <returns><c>true</c> if <c>content</c> was successfully swallowed.</returns>
virtual public bool SetContent(Efl.Gfx.IEntity content) {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),content);
+ 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);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Unswallowed object</returns>
virtual public Efl.Gfx.IEntity UnsetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Text string to display on it.</returns>
virtual public System.String GetText() {
- var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="text">Text string to display on it.</param>
virtual public void SetText(System.String text) {
- Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),text);
+ Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),text);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Sub-object currently set as this object's single content.
/// <summary>Efl UI text async class</summary>
[Efl.Ui.TextAsync.NativeMethods]
+[Efl.Eo.BindingEntity]
public class TextAsync : Efl.Ui.Text
{
///<summary>Pointer to the native class description.</summary>
efl_ui_text_async_class_get();
/// <summary>Initializes a new instance of the <see cref="TextAsync"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public TextAsync(Efl.Object parent
- , System.String style = null) : base(efl_ui_text_async_class_get(), typeof(TextAsync), parent)
+ , System.String style = null) : base(efl_ui_text_async_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected TextAsync(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="TextAsync"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected TextAsync(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected TextAsync(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="TextAsync"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected TextAsync(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected TextAsync(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>Efl UI text editable class</summary>
[Efl.Ui.TextEditable.NativeMethods]
+[Efl.Eo.BindingEntity]
public class TextEditable : Efl.Ui.Text
{
///<summary>Pointer to the native class description.</summary>
efl_ui_text_editable_class_get();
/// <summary>Initializes a new instance of the <see cref="TextEditable"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public TextEditable(Efl.Object parent
- , System.String style = null) : base(efl_ui_text_editable_class_get(), typeof(TextEditable), parent)
+ , System.String style = null) : base(efl_ui_text_editable_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected TextEditable(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="TextEditable"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected TextEditable(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected TextEditable(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="TextEditable"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected TextEditable(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected TextEditable(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>Factory that creates emoticons from the current theme given a key.</summary>
[Efl.Ui.TextFactory.Emoticons.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Emoticons : Efl.Object, Efl.Canvas.ITextFactory
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="Emoticons"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public Emoticons(Efl.Object parent= null
- ) : base(efl_ui_text_factory_emoticons_class_get(), typeof(Emoticons), parent)
+ ) : base(efl_ui_text_factory_emoticons_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Emoticons(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Emoticons"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Emoticons(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Emoticons(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Emoticons"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Emoticons(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Emoticons(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <param name="kw_object">The parent of the created object</param>
/// <param name="key">Key that is associated to an item object</param>
virtual public Efl.Canvas.Object Create(Efl.Canvas.Object kw_object, System.String key) {
- var _ret_var = Efl.Canvas.ITextFactoryConcrete.NativeMethods.efl_canvas_text_factory_create_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),kw_object, key);
+ var _ret_var = Efl.Canvas.ITextFactoryConcrete.NativeMethods.efl_canvas_text_factory_create_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),kw_object, key);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Internal factory for fallback cases.
/// This wraps some internal functionality: - Contains 2 factories: image and emoticon - Strips off "file://" prefix for image items, to be used with the image factory.</summary>
[Efl.Ui.TextFactory.Fallback.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Fallback : Efl.Object, Efl.Canvas.ITextFactory
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="Fallback"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public Fallback(Efl.Object parent= null
- ) : base(efl_ui_text_factory_fallback_class_get(), typeof(Fallback), parent)
+ ) : base(efl_ui_text_factory_fallback_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Fallback(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Fallback"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Fallback(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Fallback(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Fallback"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Fallback(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Fallback(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <param name="kw_object">The parent of the created object</param>
/// <param name="key">Key that is associated to an item object</param>
virtual public Efl.Canvas.Object Create(Efl.Canvas.Object kw_object, System.String key) {
- var _ret_var = Efl.Canvas.ITextFactoryConcrete.NativeMethods.efl_canvas_text_factory_create_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),kw_object, key);
+ var _ret_var = Efl.Canvas.ITextFactoryConcrete.NativeMethods.efl_canvas_text_factory_create_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),kw_object, key);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Factory that creates images given key string
/// The key can be either a full image path, or associated with one. The factory will fallback if key was not matches with an image, and try to load it as a full path.</summary>
[Efl.Ui.TextFactory.Images.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Images : Efl.Object, Efl.Canvas.ITextFactory
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="Images"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public Images(Efl.Object parent= null
- ) : base(efl_ui_text_factory_images_class_get(), typeof(Images), parent)
+ ) : base(efl_ui_text_factory_images_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Images(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Images"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Images(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Images(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Images"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Images(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Images(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <param name="key">the key to use (in cases of loading an EET file</param>
/// <returns><c>true</c> if successful, <c>false</c> otherwise</returns>
virtual public bool AddMatches(System.String name, System.String path, System.String key) {
- var _ret_var = Efl.Ui.TextFactory.Images.NativeMethods.efl_ui_text_factory_images_matches_add_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),name, path, key);
+ var _ret_var = Efl.Ui.TextFactory.Images.NativeMethods.efl_ui_text_factory_images_matches_add_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),name, path, key);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="key">the entry's key to delete</param>
/// <returns><c>true</c> if successful, <c>false</c> otherwise</returns>
virtual public bool DelMatches(System.String key) {
- var _ret_var = Efl.Ui.TextFactory.Images.NativeMethods.efl_ui_text_factory_images_matches_del_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),key);
+ var _ret_var = Efl.Ui.TextFactory.Images.NativeMethods.efl_ui_text_factory_images_matches_del_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),key);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="key">the key to use (in cases of loading an EET file</param>
/// <returns><c>true</c> if successful, <c>false</c> otherwise</returns>
virtual public bool AddMatchesMmap(System.String name, Eina.File file, System.String key) {
- var _ret_var = Efl.Ui.TextFactory.Images.NativeMethods.efl_ui_text_factory_images_matches_mmap_add_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),name, file, key);
+ var _ret_var = Efl.Ui.TextFactory.Images.NativeMethods.efl_ui_text_factory_images_matches_mmap_add_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),name, file, key);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="key">the entry's key to delete</param>
/// <returns><c>true</c> if successful, <c>false</c> otherwise</returns>
virtual public bool DelMatchesMmap(System.String key) {
- var _ret_var = Efl.Ui.TextFactory.Images.NativeMethods.efl_ui_text_factory_images_matches_mmap_del_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),key);
+ var _ret_var = Efl.Ui.TextFactory.Images.NativeMethods.efl_ui_text_factory_images_matches_mmap_del_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),key);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="kw_object">The parent of the created object</param>
/// <param name="key">Key that is associated to an item object</param>
virtual public Efl.Canvas.Object Create(Efl.Canvas.Object kw_object, System.String key) {
- var _ret_var = Efl.Canvas.ITextFactoryConcrete.NativeMethods.efl_canvas_text_factory_create_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),kw_object, key);
+ var _ret_var = Efl.Canvas.ITextFactoryConcrete.NativeMethods.efl_canvas_text_factory_create_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),kw_object, key);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Efl UI Text internal part class</summary>
[Efl.Ui.TextPart.NativeMethods]
+[Efl.Eo.BindingEntity]
public class TextPart : Efl.Ui.LayoutPartText
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="TextPart"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public TextPart(Efl.Object parent= null
- ) : base(efl_ui_text_part_class_get(), typeof(TextPart), parent)
+ ) : base(efl_ui_text_part_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected TextPart(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="TextPart"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected TextPart(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected TextPart(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="TextPart"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected TextPart(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected TextPart(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>Efl Ui Textpath class</summary>
[Efl.Ui.Textpath.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Textpath : Efl.Ui.LayoutBase, Efl.IText, Efl.Gfx.IPath
{
///<summary>Pointer to the native class description.</summary>
efl_ui_textpath_class_get();
/// <summary>Initializes a new instance of the <see cref="Textpath"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public Textpath(Efl.Object parent
- , System.String style = null) : base(efl_ui_textpath_class_get(), typeof(Textpath), parent)
+ , System.String style = null) : base(efl_ui_textpath_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Textpath(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Textpath"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Textpath(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Textpath(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Textpath"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Textpath(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Textpath(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// @internal</summary>
/// <returns>Number of slices</returns>
virtual public int GetSliceNumber() {
- var _ret_var = Efl.Ui.Textpath.NativeMethods.efl_ui_textpath_slice_number_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Textpath.NativeMethods.efl_ui_textpath_slice_number_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// @internal</summary>
/// <param name="slice_no">Number of slices</param>
virtual public void SetSliceNumber(int slice_no) {
- Efl.Ui.Textpath.NativeMethods.efl_ui_textpath_slice_number_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),slice_no);
+ Efl.Ui.Textpath.NativeMethods.efl_ui_textpath_slice_number_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),slice_no);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control the ellipsis behavior of the textpath.
/// @since_tizen 5.5</summary>
/// <returns>To ellipsis text or not</returns>
virtual public bool GetEllipsis() {
- var _ret_var = Efl.Ui.Textpath.NativeMethods.efl_ui_textpath_ellipsis_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Textpath.NativeMethods.efl_ui_textpath_ellipsis_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// @since_tizen 5.5</summary>
/// <param name="ellipsis">To ellipsis text or not</param>
virtual public void SetEllipsis(bool ellipsis) {
- Efl.Ui.Textpath.NativeMethods.efl_ui_textpath_ellipsis_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),ellipsis);
+ Efl.Ui.Textpath.NativeMethods.efl_ui_textpath_ellipsis_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),ellipsis);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set a circle with given center, radius, and start angle.
/// <param name="start_angle">Start angle of the circle</param>
/// <param name="direction">Textpath direction</param>
virtual public void SetCircle(double x, double y, double radius, double start_angle, Efl.Ui.TextpathDirection direction) {
- Efl.Ui.Textpath.NativeMethods.efl_ui_textpath_circle_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),x, y, radius, start_angle, direction);
+ Efl.Ui.Textpath.NativeMethods.efl_ui_textpath_circle_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y, radius, start_angle, direction);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Retrieves the text string currently being displayed by the given text object.
/// (Since EFL 1.22)</summary>
/// <returns>Text string to display on it.</returns>
virtual public System.String GetText() {
- var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="text">Text string to display on it.</param>
virtual public void SetText(System.String text) {
- Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),text);
+ Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),text);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the list of commands and points to be used to create the content of path.</summary>
virtual public void GetPath(out Efl.Gfx.PathCommandType op, out double points) {
System.IntPtr _out_op = System.IntPtr.Zero;
System.IntPtr _out_points = System.IntPtr.Zero;
- Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out _out_op, out _out_points);
+ Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out _out_op, out _out_points);
Eina.Error.RaiseIfUnhandledException();
op = Eina.PrimitiveConversion.PointerToManaged<Efl.Gfx.PathCommandType>(_out_op);
points = Eina.PrimitiveConversion.PointerToManaged<double>(_out_points);
virtual public void SetPath(Efl.Gfx.PathCommandType op, double points) {
var _in_op = Eina.PrimitiveConversion.ManagedToPointerAlloc(op);
var _in_points = Eina.PrimitiveConversion.ManagedToPointerAlloc(points);
- Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_op, _in_points);
+ Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_op, _in_points);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Path length property</summary>
/// <param name="commands">Commands</param>
/// <param name="points">Points</param>
virtual public void GetLength(out uint commands, out uint points) {
- Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_length_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out commands, out points);
+ Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_length_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out commands, out points);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Current point coordinates</summary>
/// <param name="x">X co-ordinate of the current point.</param>
/// <param name="y">Y co-ordinate of the current point.</param>
virtual public void GetCurrent(out double x, out double y) {
- Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_current_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out x, out y);
+ Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_current_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out x, out y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Current control point coordinates</summary>
/// <param name="x">X co-ordinate of control point.</param>
/// <param name="y">Y co-ordinate of control point.</param>
virtual public void GetCurrentCtrl(out double x, out double y) {
- Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_current_ctrl_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out x, out y);
+ Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_current_ctrl_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out x, out y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Copy the path data from the object specified.</summary>
/// <param name="dup_from">Shape object from where data will be copied.</param>
virtual public void CopyFrom(Efl.Object dup_from) {
- Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_copy_from_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dup_from);
+ Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_copy_from_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dup_from);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Compute and return the bounding box of the currently set path</summary>
/// <param name="r">Contain the bounding box of the currently set path</param>
virtual public void GetBounds(out Eina.Rect r) {
var _out_r = new Eina.Rect.NativeStruct();
- Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_bounds_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out _out_r);
+ Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_bounds_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out _out_r);
Eina.Error.RaiseIfUnhandledException();
r = _out_r;
}
/// <summary>Reset the path data of the path object.</summary>
virtual public void Reset() {
- Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_reset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_reset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Moves the current point to the given point, implicitly starting a new subpath and closing the previous one.
/// <param name="x">X co-ordinate of the current point.</param>
/// <param name="y">Y co-ordinate of the current point.</param>
virtual public void AppendMoveTo(double x, double y) {
- Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_move_to_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),x, y);
+ Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_move_to_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Adds a straight line from the current position to the given end point. After the line is drawn, the current position is updated to be at the end point of the line.
/// <param name="x">X co-ordinate of end point of the line.</param>
/// <param name="y">Y co-ordinate of end point of the line.</param>
virtual public void AppendLineTo(double x, double y) {
- Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_line_to_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),x, y);
+ Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_line_to_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Adds a quadratic Bezier curve between the current position and the given end point (x,y) using the control points specified by (ctrl_x, ctrl_y). After the path is drawn, the current position is updated to be at the end point of the path.</summary>
/// <param name="ctrl_x">X co-ordinate of control point.</param>
/// <param name="ctrl_y">Y co-ordinate of control point.</param>
virtual public void AppendQuadraticTo(double x, double y, double ctrl_x, double ctrl_y) {
- Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_quadratic_to_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),x, y, ctrl_x, ctrl_y);
+ Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_quadratic_to_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y, ctrl_x, ctrl_y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Same as efl_gfx_path_append_quadratic_to() api only difference is that it uses the current control point to draw the bezier.
/// <param name="x">X co-ordinate of end point of the line.</param>
/// <param name="y">Y co-ordinate of end point of the line.</param>
virtual public void AppendSquadraticTo(double x, double y) {
- Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_squadratic_to_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),x, y);
+ Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_squadratic_to_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Adds a cubic Bezier curve between the current position and the given end point (x,y) using the control points specified by (ctrl_x0, ctrl_y0), and (ctrl_x1, ctrl_y1). After the path is drawn, the current position is updated to be at the end point of the path.</summary>
/// <param name="x">X co-ordinate of end point of the line.</param>
/// <param name="y">Y co-ordinate of end point of the line.</param>
virtual public void AppendCubicTo(double ctrl_x0, double ctrl_y0, double ctrl_x1, double ctrl_y1, double x, double y) {
- Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_cubic_to_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),ctrl_x0, ctrl_y0, ctrl_x1, ctrl_y1, x, y);
+ Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_cubic_to_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),ctrl_x0, ctrl_y0, ctrl_x1, ctrl_y1, x, y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Same as efl_gfx_path_append_cubic_to() api only difference is that it uses the current control point to draw the bezier.
/// <param name="ctrl_x">X co-ordinate of 2nd control point.</param>
/// <param name="ctrl_y">Y co-ordinate of 2nd control point.</param>
virtual public void AppendScubicTo(double x, double y, double ctrl_x, double ctrl_y) {
- Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_scubic_to_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),x, y, ctrl_x, ctrl_y);
+ Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_scubic_to_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y, ctrl_x, ctrl_y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Append an arc that connects from the current point int the point list to the given point (x,y). The arc is defined by the given radius in x-direction (rx) and radius in y direction (ry).
/// <param name="large_arc">Defines whether to draw the larger arc or smaller arc joining two point.</param>
/// <param name="sweep">Defines whether the arc will be drawn counter-clockwise or clockwise from current point to the end point taking into account the large_arc property.</param>
virtual public void AppendArcTo(double x, double y, double rx, double ry, double angle, bool large_arc, bool sweep) {
- Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_arc_to_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),x, y, rx, ry, angle, large_arc, sweep);
+ Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_arc_to_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y, rx, ry, angle, large_arc, sweep);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Append an arc that enclosed in the given rectangle (x, y, w, h). The angle is defined in counter clock wise , use -ve angle for clockwise arc.</summary>
/// <param name="start_angle">Angle at which the arc will start</param>
/// <param name="sweep_length">@ Length of the arc.</param>
virtual public void AppendArc(double x, double y, double w, double h, double start_angle, double sweep_length) {
- Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_arc_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),x, y, w, h, start_angle, sweep_length);
+ Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_arc_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y, w, h, start_angle, sweep_length);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Closes the current subpath by drawing a line to the beginning of the subpath, automatically starting a new path. The current point of the new path is (0, 0).
/// If the subpath does not contain any points, this function does nothing.</summary>
virtual public void CloseAppend() {
- Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_close_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_close_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Append a circle with given center and radius.</summary>
/// <param name="y">Y co-ordinate of the center of the circle.</param>
/// <param name="radius">Radius of the circle.</param>
virtual public void AppendCircle(double x, double y, double radius) {
- Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_circle_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),x, y, radius);
+ Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_circle_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y, radius);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Append the given rectangle with rounded corner to the path.
/// <param name="rx">The x radius of the rounded corner and should be in range [ 0 to w/2 ]</param>
/// <param name="ry">The y radius of the rounded corner and should be in range [ 0 to h/2 ]</param>
virtual public void AppendRect(double x, double y, double w, double h, double rx, double ry) {
- Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_rect_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),x, y, w, h, rx, ry);
+ Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_rect_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y, w, h, rx, ry);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Append SVG path data</summary>
/// <param name="svg_path_data">SVG path data to append</param>
virtual public void AppendSvgPath(System.String svg_path_data) {
- Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_svg_path_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),svg_path_data);
+ Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_append_svg_path_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),svg_path_data);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Creates intermediary path part-way between two paths
/// <param name="pos_map">Position map in range 0.0 to 1.0</param>
/// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
virtual public bool Interpolate(Efl.Object from, Efl.Object to, double pos_map) {
- var _ret_var = Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_interpolate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),from, to, pos_map);
+ var _ret_var = Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_interpolate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),from, to, pos_map);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="with">Object</param>
/// <returns>True on success, <c>false</c> otherwise</returns>
virtual public bool EqualCommands(Efl.Object with) {
- var _ret_var = Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_equal_commands_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),with);
+ var _ret_var = Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_equal_commands_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),with);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="cmd_count">Commands count to reserve</param>
/// <param name="pts_count">Pointers count to reserve</param>
virtual public void Reserve(uint cmd_count, uint pts_count) {
- Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_reserve_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cmd_count, pts_count);
+ Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_reserve_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cmd_count, pts_count);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Request to update the path object.
/// One path object may get appending several path calls (such as append_cubic, append_rect, etc) to construct the final path data. Here commit means all path data is prepared and now object could update its own internal status based on the last path information.</summary>
virtual public void Commit() {
- Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_commit_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_commit_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The number of slices. The larger the number of slice_num is, The better the text follows the path.
/// <summary>Textpath direction
/// @since_tizen 5.5</summary>
+[Efl.Eo.BindingEntity]
public enum TextpathDirection
{
/// <summary>Clockwise</summary>
/// <summary>Efl UI Textpath internal part class</summary>
[Efl.Ui.TextpathPart.NativeMethods]
+[Efl.Eo.BindingEntity]
public class TextpathPart : Efl.Ui.LayoutPartText
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="TextpathPart"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public TextpathPart(Efl.Object parent= null
- ) : base(efl_ui_textpath_part_class_get(), typeof(TextpathPart), parent)
+ ) : base(efl_ui_textpath_part_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected TextpathPart(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="TextpathPart"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected TextpathPart(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected TextpathPart(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="TextpathPart"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected TextpathPart(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected TextpathPart(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>Efl Ui Theme class</summary>
[Efl.Ui.Theme.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Theme : Efl.Object
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="Theme"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public Theme(Efl.Object parent= null
- ) : base(efl_ui_theme_class_get(), typeof(Theme), parent)
+ ) : base(efl_ui_theme_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Theme(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Theme"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Theme(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Theme(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Theme"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Theme(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Theme(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>Appends a theme extension to the list of extensions. This is intended when an application needs more styles of widgets or new widget themes that the default does not provide (or may not provide). The application has "extended" usage by coming up with new custom style names for widgets for specific uses, but as these are not "standard", they are not guaranteed to be provided by a default theme. This means the application is required to provide these extra elements itself in specific Edje files. This call adds one of those Edje files to the theme search path to be searched after the default theme. The use of this call is encouraged when default styles do not meet the needs of the application. Use this call instead of <see cref="Efl.Ui.Theme.AddOverlay"/> for almost all cases.</summary>
/// <param name="item">The Edje file path to be used</param>
virtual public void AddExtension(System.String item) {
- Efl.Ui.Theme.NativeMethods.efl_ui_theme_extension_add_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),item);
+ Efl.Ui.Theme.NativeMethods.efl_ui_theme_extension_add_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),item);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Deletes a theme extension from the list of extensions.</summary>
/// <param name="item">The Edje file path not to be used</param>
virtual public void DelExtension(System.String item) {
- Efl.Ui.Theme.NativeMethods.efl_ui_theme_extension_del_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),item);
+ Efl.Ui.Theme.NativeMethods.efl_ui_theme_extension_del_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),item);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Prepends a theme overlay to the list of overlays. Use this if your application needs to provide some custom overlay theme (An Edje file that replaces some default styles of widgets) where adding new styles, or changing system theme configuration is not possible. Do NOT use this instead of a proper system theme configuration. Use proper configuration files, profiles, environment variables etc. to set a theme so that the theme can be altered by simple configuration by a user. Using this call to achieve that effect is abusing the API and will create lots of trouble.</summary>
/// <param name="item">The Edje file path to be used</param>
virtual public void AddOverlay(System.String item) {
- Efl.Ui.Theme.NativeMethods.efl_ui_theme_overlay_add_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),item);
+ Efl.Ui.Theme.NativeMethods.efl_ui_theme_overlay_add_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),item);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Delete a theme overlay from the list of overlays.</summary>
/// <param name="item">The Edje file path not to be used</param>
virtual public void DelOverlay(System.String item) {
- Efl.Ui.Theme.NativeMethods.efl_ui_theme_overlay_del_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),item);
+ Efl.Ui.Theme.NativeMethods.efl_ui_theme_overlay_del_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),item);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This is the default theme.
/// <summary>Timepicker widget
/// This is a widget which allows the user to pick a time using internal spinner. User can use the internal spinner to select hour, minute, AM/PM or user can input value using internal entry.</summary>
[Efl.Ui.Timepicker.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Timepicker : Efl.Ui.LayoutBase
{
///<summary>Pointer to the native class description.</summary>
efl_ui_timepicker_class_get();
/// <summary>Initializes a new instance of the <see cref="Timepicker"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public Timepicker(Efl.Object parent
- , System.String style = null) : base(efl_ui_timepicker_class_get(), typeof(Timepicker), parent)
+ , System.String style = null) : base(efl_ui_timepicker_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Timepicker(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Timepicker"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Timepicker(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Timepicker(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Timepicker"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Timepicker(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Timepicker(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_TIMEPICKER_EVENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// <param name="hour">The hour value from 0 to 23.</param>
/// <param name="min">The minute value from 0 to 59.</param>
virtual public void GetTime(out int hour, out int min) {
- Efl.Ui.Timepicker.NativeMethods.efl_ui_timepicker_time_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out hour, out min);
+ Efl.Ui.Timepicker.NativeMethods.efl_ui_timepicker_time_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out hour, out min);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The current value of time
/// <param name="hour">The hour value from 0 to 23.</param>
/// <param name="min">The minute value from 0 to 59.</param>
virtual public void SetTime(int hour, int min) {
- Efl.Ui.Timepicker.NativeMethods.efl_ui_timepicker_time_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),hour, min);
+ Efl.Ui.Timepicker.NativeMethods.efl_ui_timepicker_time_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),hour, min);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control if the Timepicker displays 24 hour time or 12 hour time including AM/PM button.</summary>
/// <returns><c>true</c> to display the 24 hour time, <c>false</c> to display 12 hour time including AM/PM button.</returns>
virtual public bool GetAmpm() {
- var _ret_var = Efl.Ui.Timepicker.NativeMethods.efl_ui_timepicker_ampm_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Timepicker.NativeMethods.efl_ui_timepicker_ampm_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Control if the Timepicker displays 24 hour time or 12 hour time including AM/PM button.</summary>
/// <param name="is_24hour"><c>true</c> to display the 24 hour time, <c>false</c> to display 12 hour time including AM/PM button.</param>
virtual public void SetAmpm(bool is_24hour) {
- Efl.Ui.Timepicker.NativeMethods.efl_ui_timepicker_ampm_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),is_24hour);
+ Efl.Ui.Timepicker.NativeMethods.efl_ui_timepicker_ampm_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),is_24hour);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control if the Timepicker displays 24 hour time or 12 hour time including AM/PM button.</summary>
namespace Ui {
/// <summary>Permitted directions for dragging objects.</summary>
+[Efl.Eo.BindingEntity]
public enum DragDir
{
/// <summary>Not draggable in any direction.</summary>
/// <summary>Efl UI video class</summary>
[Efl.Ui.Video.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Video : Efl.Ui.LayoutBase, Efl.IFile, Efl.IPlayer
{
///<summary>Pointer to the native class description.</summary>
efl_ui_video_class_get();
/// <summary>Initializes a new instance of the <see cref="Video"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public Video(Efl.Object parent
- , System.String style = null) : base(efl_ui_video_class_get(), typeof(Video), parent)
+ , System.String style = null) : base(efl_ui_video_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Video(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Video"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Video(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Video(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Video"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Video(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Video(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// Note: This API only serves as indication. System support is required.</summary>
/// <returns><c>true</c> when the object can remember the last position, <c>false</c> otherwise</returns>
virtual public bool GetRememberPosition() {
- var _ret_var = Efl.Ui.Video.NativeMethods.efl_ui_video_remember_position_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Video.NativeMethods.efl_ui_video_remember_position_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Note: This API only serves as indication. System support is required.</summary>
/// <param name="remember"><c>true</c> when the object can remember the last position, <c>false</c> otherwise</param>
virtual public void SetRememberPosition(bool remember) {
- Efl.Ui.Video.NativeMethods.efl_ui_video_remember_position_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),remember);
+ Efl.Ui.Video.NativeMethods.efl_ui_video_remember_position_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),remember);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the underlying Emotion object.</summary>
/// <returns>The underlying Emotion object.</returns>
virtual public Efl.Canvas.Object GetEmotion() {
- var _ret_var = Efl.Ui.Video.NativeMethods.efl_ui_video_emotion_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Video.NativeMethods.efl_ui_video_emotion_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Note: Don't change or free the string returned by this function.</summary>
/// <returns>A string containing the title.</returns>
virtual public System.String GetTitle() {
- var _ret_var = Efl.Ui.Video.NativeMethods.efl_ui_video_title_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Video.NativeMethods.efl_ui_video_title_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The handle to the <see cref="Eina.File"/> that will be used</returns>
virtual public Eina.File GetMmap() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="f">The handle to the <see cref="Eina.File"/> that will be used</param>
/// <returns>0 on success, error code otherwise</returns>
virtual public Eina.Error SetMmap(Eina.File f) {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),f);
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),f);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The file path.</returns>
virtual public System.String GetFile() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="file">The file path.</param>
/// <returns>0 on success, error code otherwise</returns>
virtual public Eina.Error SetFile(System.String file) {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),file);
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),file);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The group that the data belongs to. See the class documentation for particular implementations of this interface to see how this property is used.</returns>
virtual public System.String GetKey() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_key_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_key_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="key">The group that the data belongs to. See the class documentation for particular implementations of this interface to see how this property is used.</param>
virtual public void SetKey(System.String key) {
- Efl.IFileConcrete.NativeMethods.efl_file_key_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),key);
+ Efl.IFileConcrete.NativeMethods.efl_file_key_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),key);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the load state of the object.
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if the object is loaded, <c>false</c> otherwise.</returns>
virtual public bool GetLoaded() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_loaded_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_loaded_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>0 on success, error code otherwise</returns>
virtual public Eina.Error Load() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_load_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_load_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Calling <see cref="Efl.IFile.Unload"/> on an object which is not currently loaded will have no effect.
/// (Since EFL 1.22)</summary>
virtual public void Unload() {
- Efl.IFileConcrete.NativeMethods.efl_file_unload_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.IFileConcrete.NativeMethods.efl_file_unload_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Whether or not the playable can be played.</summary>
/// <returns><c>true</c> if the object have playable data, <c>false</c> otherwise</returns>
virtual public bool GetPlayable() {
- var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_playable_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_playable_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Get play/pause state of the media file.</summary>
/// <returns><c>true</c> if playing, <c>false</c> otherwise.</returns>
virtual public bool GetPlay() {
- var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_play_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_play_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This functions sets the currently playing status of the video. Using this function to play or pause the video doesn't alter it's current position.</summary>
/// <param name="play"><c>true</c> if playing, <c>false</c> otherwise.</param>
virtual public void SetPlay(bool play) {
- Efl.IPlayerConcrete.NativeMethods.efl_player_play_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),play);
+ Efl.IPlayerConcrete.NativeMethods.efl_player_play_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),play);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the position in the media file.
/// The position is returned as the number of seconds since the beginning of the media file.</summary>
/// <returns>The position (in seconds).</returns>
virtual public double GetPos() {
- var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_pos_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_pos_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This functions sets the current position of the media file to "sec", this only works on seekable streams. Setting the position doesn't change the playing state of the media file.</summary>
/// <param name="sec">The position (in seconds).</param>
virtual public void SetPos(double sec) {
- Efl.IPlayerConcrete.NativeMethods.efl_player_pos_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),sec);
+ Efl.IPlayerConcrete.NativeMethods.efl_player_pos_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),sec);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get how much of the file has been played.
/// This function gets the progress in playing the file, the return value is in the [0, 1] range.</summary>
/// <returns>The progress within the [0, 1] range.</returns>
virtual public double GetProgress() {
- var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_progress_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_progress_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This function control the speed with which the media file will be played. 1.0 represents the normal speed, 2 double speed, 0.5 half speed and so on.</summary>
/// <returns>The play speed in the [0, infinity) range.</returns>
virtual public double GetPlaySpeed() {
- var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_play_speed_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_play_speed_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This function control the speed with which the media file will be played. 1.0 represents the normal speed, 2 double speed, 0.5 half speed and so on.</summary>
/// <param name="speed">The play speed in the [0, infinity) range.</param>
virtual public void SetPlaySpeed(double speed) {
- Efl.IPlayerConcrete.NativeMethods.efl_player_play_speed_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),speed);
+ Efl.IPlayerConcrete.NativeMethods.efl_player_play_speed_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),speed);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control the audio volume.
/// Controls the audio volume of the stream being played. This has nothing to do with the system volume. This volume will be multiplied by the system volume. e.g.: if the current volume level is 0.5, and the system volume is 50%, it will be 0.5 * 0.5 = 0.25.</summary>
/// <returns>The volume level</returns>
virtual public double GetVolume() {
- var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_volume_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_volume_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Controls the audio volume of the stream being played. This has nothing to do with the system volume. This volume will be multiplied by the system volume. e.g.: if the current volume level is 0.5, and the system volume is 50%, it will be 0.5 * 0.5 = 0.25.</summary>
/// <param name="volume">The volume level</param>
virtual public void SetVolume(double volume) {
- Efl.IPlayerConcrete.NativeMethods.efl_player_volume_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),volume);
+ Efl.IPlayerConcrete.NativeMethods.efl_player_volume_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),volume);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This property controls the audio mute state.</summary>
/// <returns>The mute state. <c>true</c> or <c>false</c>.</returns>
virtual public bool GetMute() {
- var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_mute_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_mute_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>This property controls the audio mute state.</summary>
/// <param name="mute">The mute state. <c>true</c> or <c>false</c>.</param>
virtual public void SetMute(bool mute) {
- Efl.IPlayerConcrete.NativeMethods.efl_player_mute_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),mute);
+ Efl.IPlayerConcrete.NativeMethods.efl_player_mute_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),mute);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the length of play for the media file.</summary>
/// <returns>The length of the stream in seconds.</returns>
virtual public double GetLength() {
- var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_length_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_length_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Get whether the media file is seekable.</summary>
/// <returns><c>true</c> if seekable.</returns>
virtual public bool GetSeekable() {
- var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_seekable_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_seekable_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Start a playing playable object.</summary>
virtual public void Start() {
- Efl.IPlayerConcrete.NativeMethods.efl_player_start_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.IPlayerConcrete.NativeMethods.efl_player_start_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Stop playable object.</summary>
virtual public void Stop() {
- Efl.IPlayerConcrete.NativeMethods.efl_player_stop_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.IPlayerConcrete.NativeMethods.efl_player_stop_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set whether the object can remember the last played position.
/// <summary>Efl UI view interface</summary>
[Efl.Ui.IViewConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IView :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IViewConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_ui_view_interface_get();
/// <summary>Initializes a new instance of the <see cref="IView"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IViewConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IViewConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <param name="obj">Canvas object</param>
/// <param name="region">Showed region</param>
+[Efl.Eo.BindingEntity]
public delegate void ScrollableOnShowRegion(Efl.Canvas.Object obj, Eina.Rect region);
public delegate void ScrollableOnShowRegionInternal(IntPtr data, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Object obj, Eina.Rect.NativeStruct region);
internal class ScrollableOnShowRegionWrapper : IDisposable
/// <summary>Efl UI widget abstract class
/// (Since EFL 1.22)</summary>
[Efl.Ui.Widget.NativeMethods]
+[Efl.Eo.BindingEntity]
public abstract class Widget : Efl.Canvas.Group, Efl.IPart, Efl.Access.IAction, Efl.Access.IComponent, Efl.Access.IObject, Efl.Access.Widget.IAction, Efl.Ui.IDnd, Efl.Ui.IL10n, Efl.Ui.IPropertyBind, Efl.Ui.ISelection, Efl.Ui.IView, Efl.Ui.Focus.IObject
{
///<summary>Pointer to the native class description.</summary>
efl_ui_widget_class_get();
/// <summary>Initializes a new instance of the <see cref="Widget"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public Widget(Efl.Object parent
- , System.String style = null) : base(efl_ui_widget_class_get(), typeof(Widget), parent)
+ , System.String style = null) : base(efl_ui_widget_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Widget(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Widget"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Widget(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Widget(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
[Efl.Eo.PrivateNativeClass]
private class WidgetRealized : Widget
{
- private WidgetRealized(IntPtr ptr) : base(ptr)
+ private WidgetRealized(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
}
/// <summary>Initializes a new instance of the <see cref="Widget"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Widget(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Widget(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_WIDGET_EVENT_ATSPI_HIGHLIGHTED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_WIDGET_EVENT_ATSPI_UNHIGHLIGHTED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_WIDGET_EVENT_LANGUAGE_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_WIDGET_EVENT_ACCESS_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_OBJECT_EVENT_PROPERTY_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_OBJECT_EVENT_CHILDREN_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_OBJECT_EVENT_STATE_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_OBJECT_EVENT_BOUNDS_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_OBJECT_EVENT_VISIBLE_DATA_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_OBJECT_EVENT_ACTIVE_DESCENDANT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_OBJECT_EVENT_ADDED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_OBJECT_EVENT_REMOVED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_OBJECT_EVENT_MOVE_OUTED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_WIDGET_ACTION_EVENT_READING_STATE_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_DND_EVENT_DRAG_ACCEPT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_DND_EVENT_DRAG_DONE";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_DND_EVENT_DRAG_ENTER";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_DND_EVENT_DRAG_LEAVE";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_DND_EVENT_DRAG_POS";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_DND_EVENT_DRAG_DROP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_PROPERTY_BIND_EVENT_PROPERTIES_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_PROPERTY_BIND_EVENT_PROPERTY_BOUND";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_SELECTION_EVENT_WM_SELECTION_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_MANAGER_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_PARENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_OBJECT_EVENT_CHILD_FOCUS_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_GEOMETRY_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// (Since EFL 1.22)</summary>
/// <returns>The cursor name, defined either by the display system or the theme.</returns>
virtual public System.String GetCursor() {
- var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_cursor_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_cursor_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="cursor">The cursor name, defined either by the display system or the theme.</param>
/// <returns><c>true</c> if successful.</returns>
virtual public bool SetCursor(System.String cursor) {
- var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_cursor_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cursor);
+ var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_cursor_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cursor);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>A specific style to use, eg. default, transparent, ....</returns>
virtual public System.String GetCursorStyle() {
- var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_cursor_style_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_cursor_style_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="style">A specific style to use, eg. default, transparent, ....</param>
/// <returns><c>true</c> if successful.</returns>
virtual public bool SetCursorStyle(System.String style) {
- var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_cursor_style_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),style);
+ var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_cursor_style_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),style);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Whether to use theme cursors.</returns>
virtual public bool GetCursorThemeSearchEnabled() {
- var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_cursor_theme_search_enabled_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_cursor_theme_search_enabled_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="allow">Whether to use theme cursors.</param>
/// <returns><c>true</c> if successful.</returns>
virtual public bool SetCursorThemeSearchEnabled(bool allow) {
- var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_cursor_theme_search_enabled_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),allow);
+ var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_cursor_theme_search_enabled_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),allow);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="sobj">A canvas object (often a <see cref="Efl.Canvas.Layout"/> object).</param>
virtual protected void SetResizeObject(Efl.Canvas.Object sobj) {
- Efl.Ui.Widget.NativeMethods.efl_ui_widget_resize_object_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),sobj);
+ Efl.Ui.Widget.NativeMethods.efl_ui_widget_resize_object_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),sobj);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Returns whether the widget is disabled.
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if the widget is disabled.</returns>
virtual public bool GetDisabled() {
- var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_disabled_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_disabled_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="disabled"><c>true</c> if the widget is disabled.</param>
virtual public void SetDisabled(bool disabled) {
- Efl.Ui.Widget.NativeMethods.efl_ui_widget_disabled_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),disabled);
+ Efl.Ui.Widget.NativeMethods.efl_ui_widget_disabled_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),disabled);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Returns the current style of a widget.
/// (Since EFL 1.22)</summary>
/// <returns>Name of the style to use. Refer to each widget's documentation for the available style names, or to the themes in use.</returns>
virtual public System.String GetStyle() {
- var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_style_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_style_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="style">Name of the style to use. Refer to each widget's documentation for the available style names, or to the themes in use.</param>
/// <returns>Whether the style was successfully applied or not, see the Efl.Ui.Theme.Apply_Error subset of <see cref="Eina.Error"/> for more information.</returns>
virtual protected Eina.Error SetStyle(System.String style) {
- var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_style_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),style);
+ var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_style_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),style);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Whether the object is focusable.</returns>
virtual public bool GetFocusAllow() {
- var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_allow_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_allow_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="can_focus">Whether the object is focusable.</param>
virtual public void SetFocusAllow(bool can_focus) {
- Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_allow_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),can_focus);
+ Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_allow_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),can_focus);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The internal parent of this widget.
/// (Since EFL 1.22)</summary>
/// <returns>Widget parent object</returns>
virtual protected Efl.Ui.Widget GetWidgetParent() {
- var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_parent_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_parent_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="parent">Widget parent object</param>
virtual protected void SetWidgetParent(Efl.Ui.Widget parent) {
- Efl.Ui.Widget.NativeMethods.efl_ui_widget_parent_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),parent);
+ Efl.Ui.Widget.NativeMethods.efl_ui_widget_parent_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),parent);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Accessibility information.
/// (Since EFL 1.22)</summary>
/// <returns>Accessibility text description.</returns>
virtual public System.String GetAccessInfo() {
- var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_access_info_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_access_info_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="txt">Accessibility text description.</param>
virtual public void SetAccessInfo(System.String txt) {
- Efl.Ui.Widget.NativeMethods.efl_ui_widget_access_info_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),txt);
+ Efl.Ui.Widget.NativeMethods.efl_ui_widget_access_info_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),txt);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Region of interest inside this widget, that should be given priority to be visible inside a scroller.
/// (Since EFL 1.22)</summary>
/// <returns>The relative region to show. If width or height is <= 0 it will be ignored, and no action will be taken.</returns>
virtual protected Eina.Rect GetInterestRegion() {
- var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_interest_region_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_interest_region_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The rectangle area.</returns>
virtual protected Eina.Rect GetFocusHighlightGeometry() {
- var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_highlight_geometry_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_highlight_geometry_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>FIXME</returns>
virtual public uint GetFocusOrder() {
- var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_order_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_order_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Chain of objects</returns>
virtual public Eina.List<Efl.Canvas.Object> GetFocusCustomChain() {
- var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_custom_chain_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_custom_chain_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return new Eina.List<Efl.Canvas.Object>(_ret_var, false, false);
}
/// <param name="objs">Chain of objects to pass focus</param>
virtual public void SetFocusCustomChain(Eina.List<Efl.Canvas.Object> objs) {
var _in_objs = objs.Handle;
- Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_custom_chain_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_objs);
+ Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_custom_chain_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_objs);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Current focused object in object tree.
/// (Since EFL 1.22)</summary>
/// <returns>Current focused or <c>null</c>, if there is no focused object.</returns>
virtual public Efl.Canvas.Object GetFocusedObject() {
- var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_focused_object_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_focused_object_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Focus move policy</returns>
virtual public Efl.Ui.Focus.MovePolicy GetFocusMovePolicy() {
- var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_move_policy_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_move_policy_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="policy">Focus move policy</param>
virtual public void SetFocusMovePolicy(Efl.Ui.Focus.MovePolicy policy) {
- Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_move_policy_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),policy);
+ Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_move_policy_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),policy);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control the widget's focus_move_policy mode setting.
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> to follow system focus move policy change, <c>false</c> otherwise</returns>
virtual public bool GetFocusMovePolicyAutomatic() {
- var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_move_policy_automatic_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_move_policy_automatic_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="automatic"><c>true</c> to follow system focus move policy change, <c>false</c> otherwise</param>
virtual public void SetFocusMovePolicyAutomatic(bool automatic) {
- Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_move_policy_automatic_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),automatic);
+ Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_move_policy_automatic_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),automatic);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Virtual function handling input events on the widget.
/// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
virtual protected bool WidgetInputEventHandler(ref Efl.Event eo_event, Efl.Canvas.Object source) {
Efl.Event.NativeStruct _in_eo_event = eo_event;
- var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_input_event_handler_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),ref _in_eo_event, source);
+ var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_input_event_handler_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),ref _in_eo_event, source);
Eina.Error.RaiseIfUnhandledException();
eo_event = _in_eo_event;
return _ret_var;
/// <param name="act">Type of activation.</param>
/// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
virtual protected bool OnAccessActivate(Efl.Ui.Activate act) {
- var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_on_access_activate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),act);
+ var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_on_access_activate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),act);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="enable"><c>true</c> if accessibility is enabled.</param>
virtual protected void UpdateOnAccess(bool enable) {
- Efl.Ui.Widget.NativeMethods.efl_ui_widget_on_access_update_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),enable);
+ Efl.Ui.Widget.NativeMethods.efl_ui_widget_on_access_update_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),enable);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>'Virtual' function on the widget being set screen reader.
/// (Since EFL 1.22)</summary>
virtual public void ScreenReader(bool is_screen_reader) {
- Efl.Ui.Widget.NativeMethods.efl_ui_widget_screen_reader_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),is_screen_reader);
+ Efl.Ui.Widget.NativeMethods.efl_ui_widget_screen_reader_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),is_screen_reader);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>'Virtual' function on the widget being set atspi.
/// (Since EFL 1.22)</summary>
virtual public void Atspi(bool is_atspi) {
- Efl.Ui.Widget.NativeMethods.efl_ui_widget_atspi_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),is_atspi);
+ Efl.Ui.Widget.NativeMethods.efl_ui_widget_atspi_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),is_atspi);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Virtual function customizing sub objects being added.
/// <param name="sub_obj">Sub object to be added. Not necessarily a widget itself.</param>
/// <returns>Indicates if the operation succeeded.</returns>
virtual protected bool AddWidgetSubObject(Efl.Canvas.Object sub_obj) {
- var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_sub_object_add_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),sub_obj);
+ var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_sub_object_add_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),sub_obj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="sub_obj">Sub object to be removed. Should be a child of this widget.</param>
/// <returns>Indicates if the operation succeeded.</returns>
virtual protected bool DelWidgetSubObject(Efl.Canvas.Object sub_obj) {
- var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_sub_object_del_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),sub_obj);
+ var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_sub_object_del_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),sub_obj);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Indicates success, and if the current theme or default theme was used.</returns>
virtual protected Eina.Error ThemeApply() {
- var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_theme_apply_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_theme_apply_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Push scroll hold
/// (Since EFL 1.22)</summary>
virtual public void PushScrollHold() {
- Efl.Ui.Widget.NativeMethods.efl_ui_widget_scroll_hold_push_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Widget.NativeMethods.efl_ui_widget_scroll_hold_push_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Pop scroller hold
/// (Since EFL 1.22)</summary>
virtual public void PopScrollHold() {
- Efl.Ui.Widget.NativeMethods.efl_ui_widget_scroll_hold_pop_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Widget.NativeMethods.efl_ui_widget_scroll_hold_pop_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Push scroller freeze
/// (Since EFL 1.22)</summary>
virtual public void PushScrollFreeze() {
- Efl.Ui.Widget.NativeMethods.efl_ui_widget_scroll_freeze_push_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Widget.NativeMethods.efl_ui_widget_scroll_freeze_push_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Pop scroller freeze
/// (Since EFL 1.22)</summary>
virtual public void PopScrollFreeze() {
- Efl.Ui.Widget.NativeMethods.efl_ui_widget_scroll_freeze_pop_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Widget.NativeMethods.efl_ui_widget_scroll_freeze_pop_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the access object of given part of the widget.
/// (Since EFL 1.18)</summary>
/// <param name="part">The object's part name to get access object</param>
virtual public Efl.Canvas.Object GetPartAccessObject(System.String part) {
- var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_part_access_object_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),part);
+ var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_part_access_object_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),part);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="can_focus_only"><c>true</c> only us widgets which can focus, <c>false</c> otherweise</param>
/// <returns>Handle to focused widget</returns>
virtual public Efl.Canvas.Object GetNewestFocusOrder(out uint newest_focus_order, bool can_focus_only) {
- var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_newest_focus_order_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out newest_focus_order, can_focus_only);
+ var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_newest_focus_order_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out newest_focus_order, can_focus_only);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="next">Focus next object</param>
/// <param name="dir">Focus direction</param>
virtual public void SetFocusNextObject(Efl.Canvas.Object next, Efl.Ui.Focus.Direction dir) {
- Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_next_object_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),next, dir);
+ Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_next_object_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),next, dir);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the next object with specific focus direction.
/// <param name="dir">Focus direction</param>
/// <returns>Focus next object</returns>
virtual public Efl.Canvas.Object GetFocusNextObject(Efl.Ui.Focus.Direction dir) {
- var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_next_object_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dir);
+ var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_next_object_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dir);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="next_item">Focus next object item</param>
/// <param name="dir">Focus direction</param>
virtual public void SetFocusNextItem(Efl.Ui.Widget next_item, Efl.Ui.Focus.Direction dir) {
- Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_next_item_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),next_item, dir);
+ Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_next_item_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),next_item, dir);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the next object item with specific focus direction.
/// <param name="dir">Focus direction</param>
/// <returns>Focus next object item</returns>
virtual public Efl.Ui.Widget GetFocusNextItem(Efl.Ui.Focus.Direction dir) {
- var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_next_item_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dir);
+ var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_next_item_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dir);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Handle focus tree unfocusable
/// (Since EFL 1.22)</summary>
virtual public void FocusTreeUnfocusableHandle() {
- Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_tree_unfocusable_handle_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_tree_unfocusable_handle_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Prepend object to custom focus chain.
/// <param name="child">The child to be added in custom chain.</param>
/// <param name="relative_child">The relative object to position the child.</param>
virtual public void FocusCustomChainPrepend(Efl.Canvas.Object child, Efl.Canvas.Object relative_child) {
- Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_custom_chain_prepend_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),child, relative_child);
+ Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_custom_chain_prepend_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),child, relative_child);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Give focus to next object with specific focus direction in object tree.
/// (Since EFL 1.22)</summary>
/// <param name="dir">Direction to move the focus.</param>
virtual public void FocusCycle(Efl.Ui.Focus.Direction dir) {
- Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_cycle_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dir);
+ Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_cycle_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dir);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>'Virtual' function handling passing focus to sub-objects given a direction, in degrees.
/// <param name="weight">Weight</param>
/// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
virtual public bool FocusDirection(Efl.Canvas.Object kw_base, double degree, out Efl.Canvas.Object direction, out Efl.Ui.Widget direction_item, out double weight) {
- var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_direction_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),kw_base, degree, out direction, out direction_item, out weight);
+ var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_direction_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),kw_base, degree, out direction, out direction_item, out weight);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
virtual public bool IsFocusNextManager() {
- var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_next_manager_is_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_next_manager_is_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
virtual public bool GetFocusListDirection(Efl.Canvas.Object kw_base, Eina.List<Efl.Object> items, System.IntPtr list_data_get, double degree, out Efl.Canvas.Object direction, out Efl.Ui.Widget direction_item, out double weight) {
var _in_items = items.Handle;
- var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_list_direction_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),kw_base, _in_items, list_data_get, degree, out direction, out direction_item, out weight);
+ var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_list_direction_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),kw_base, _in_items, list_data_get, degree, out direction, out direction_item, out weight);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Clear focused object
/// (Since EFL 1.22)</summary>
virtual public void ClearFocusedObject() {
- Efl.Ui.Widget.NativeMethods.efl_ui_widget_focused_object_clear_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Widget.NativeMethods.efl_ui_widget_focused_object_clear_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Go in focus direction
/// <param name="degree">Degree</param>
/// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
virtual public bool FocusDirectionGo(double degree) {
- var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_direction_go_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),degree);
+ var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_direction_go_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),degree);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="next_item">Next item</param>
/// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
virtual public bool GetFocusNext(Efl.Ui.Focus.Direction dir, out Efl.Canvas.Object next, out Efl.Ui.Widget next_item) {
- var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_next_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dir, out next, out next_item);
+ var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_next_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dir, out next, out next_item);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This API will restore the focus state of the sub-tree to the latest state. If a sub-tree is unfocused and wants to get back to the latest focus state, this API will be helpful.
/// (Since EFL 1.22)</summary>
virtual public void FocusRestore() {
- Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_restore_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_restore_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Unset a custom focus chain on a given Elementary widget.
/// Any focus chain previously set is removed entirely after this call.
/// (Since EFL 1.22)</summary>
virtual public void UnsetFocusCustomChain() {
- Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_custom_chain_unset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_custom_chain_unset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Steal focus
/// (Since EFL 1.22)</summary>
/// <param name="item">Widget to steal focus from</param>
virtual public void FocusSteal(Efl.Ui.Widget item) {
- Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_steal_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),item);
+ Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_steal_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),item);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Handle hide focus
/// (Since EFL 1.22)</summary>
virtual public void FocusHideHandle() {
- Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_hide_handle_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_hide_handle_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>'Virtual' function handling passing focus to sub-objects.
/// <param name="next_item">Next item</param>
/// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
virtual public bool FocusNext(Efl.Ui.Focus.Direction dir, out Efl.Canvas.Object next, out Efl.Ui.Widget next_item) {
- var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_next_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dir, out next, out next_item);
+ var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_next_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dir, out next, out next_item);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
virtual public bool GetFocusListNext(Eina.List<Efl.Object> items, System.IntPtr list_data_get, Efl.Ui.Focus.Direction dir, out Efl.Canvas.Object next, out Efl.Ui.Widget next_item) {
var _in_items = items.Handle;
- var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_list_next_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_items, list_data_get, dir, out next, out next_item);
+ var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_list_next_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_items, list_data_get, dir, out next, out next_item);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Handle focus mouse up
/// (Since EFL 1.22)</summary>
virtual public void FocusMouseUpHandle() {
- Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_mouse_up_handle_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_mouse_up_handle_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get focus direction
/// <param name="weight">Weight</param>
/// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
virtual public bool GetFocusDirection(Efl.Canvas.Object kw_base, double degree, out Efl.Canvas.Object direction, out Efl.Ui.Widget direction_item, out double weight) {
- var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_direction_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),kw_base, degree, out direction, out direction_item, out weight);
+ var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_direction_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),kw_base, degree, out direction, out direction_item, out weight);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Handle disable widget focus
/// (Since EFL 1.22)</summary>
virtual public void FocusDisabledHandle() {
- Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_disabled_handle_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_disabled_handle_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Append object to custom focus chain.
/// <param name="child">The child to be added in custom chain.</param>
/// <param name="relative_child">The relative object to position the child.</param>
virtual public void AppendFocusCustomChain(Efl.Canvas.Object child, Efl.Canvas.Object relative_child) {
- Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_custom_chain_append_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),child, relative_child);
+ Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_custom_chain_append_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),child, relative_child);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>No description supplied.
/// (Since EFL 1.18)</summary>
virtual public void FocusReconfigure() {
- Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_reconfigure_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_reconfigure_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Virtual function which checks if this widget can handle passing focus to sub-object, in a given direction.
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
virtual protected bool IsFocusDirectionManager() {
- var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_direction_manager_is_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_direction_manager_is_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
virtual protected bool FocusStateApply(Efl.Ui.WidgetFocusState current_state, ref Efl.Ui.WidgetFocusState configured_state, Efl.Ui.Widget redirect) {
Efl.Ui.WidgetFocusState.NativeStruct _in_current_state = current_state;
var _out_configured_state = new Efl.Ui.WidgetFocusState.NativeStruct();
- var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_state_apply_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_current_state, ref _out_configured_state, redirect);
+ var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_state_apply_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_current_state, ref _out_configured_state, redirect);
Eina.Error.RaiseIfUnhandledException();
configured_state = _out_configured_state;
return _ret_var;
/// <param name="name">The part name.</param>
/// <returns>A (proxy) object, valid for a single call.</returns>
virtual public Efl.Object GetPart(System.String name) {
- var _ret_var = Efl.IPartConcrete.NativeMethods.efl_part_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),name);
+ var _ret_var = Efl.IPartConcrete.NativeMethods.efl_part_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),name);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="id">ID to get action name for</param>
/// <returns>Action name</returns>
virtual public System.String GetActionName(int id) {
- var _ret_var = Efl.Access.IActionConcrete.NativeMethods.efl_access_action_name_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),id);
+ var _ret_var = Efl.Access.IActionConcrete.NativeMethods.efl_access_action_name_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),id);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="id">ID to get localized name for</param>
/// <returns>Localized name</returns>
virtual public System.String GetActionLocalizedName(int id) {
- var _ret_var = Efl.Access.IActionConcrete.NativeMethods.efl_access_action_localized_name_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),id);
+ var _ret_var = Efl.Access.IActionConcrete.NativeMethods.efl_access_action_localized_name_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),id);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Get list of available widget actions</summary>
/// <returns>Contains statically allocated strings.</returns>
virtual public Eina.List<Efl.Access.ActionData> GetActions() {
- var _ret_var = Efl.Access.IActionConcrete.NativeMethods.efl_access_action_actions_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Access.IActionConcrete.NativeMethods.efl_access_action_actions_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return new Eina.List<Efl.Access.ActionData>(_ret_var, false, false);
}
/// <param name="id">ID for widget</param>
/// <returns><c>true</c> if action was performed, <c>false</c> otherwise</returns>
virtual public bool ActionDo(int id) {
- var _ret_var = Efl.Access.IActionConcrete.NativeMethods.efl_access_action_do_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),id);
+ var _ret_var = Efl.Access.IActionConcrete.NativeMethods.efl_access_action_do_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),id);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="id">ID for widget</param>
/// <returns>Should be freed by the user.</returns>
virtual public System.String GetActionKeybinding(int id) {
- var _ret_var = Efl.Access.IActionConcrete.NativeMethods.efl_access_action_keybinding_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),id);
+ var _ret_var = Efl.Access.IActionConcrete.NativeMethods.efl_access_action_keybinding_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),id);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Gets the depth at which the component is shown in relation to other components in the same container.</summary>
/// <returns>Z order of component</returns>
virtual public int GetZOrder() {
- var _ret_var = Efl.Access.IComponentConcrete.NativeMethods.efl_access_component_z_order_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Access.IComponentConcrete.NativeMethods.efl_access_component_z_order_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="screen_coords">If <c>true</c> x and y values will be relative to screen origin, otherwise relative to canvas</param>
/// <returns>The geometry.</returns>
virtual public Eina.Rect GetExtents(bool screen_coords) {
- var _ret_var = Efl.Access.IComponentConcrete.NativeMethods.efl_access_component_extents_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),screen_coords);
+ var _ret_var = Efl.Access.IComponentConcrete.NativeMethods.efl_access_component_extents_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),screen_coords);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <returns><c>true</c> if geometry was set, <c>false</c> otherwise</returns>
virtual public bool SetExtents(bool screen_coords, Eina.Rect rect) {
Eina.Rect.NativeStruct _in_rect = rect;
- var _ret_var = Efl.Access.IComponentConcrete.NativeMethods.efl_access_component_extents_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),screen_coords, _in_rect);
+ var _ret_var = Efl.Access.IComponentConcrete.NativeMethods.efl_access_component_extents_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),screen_coords, _in_rect);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="x">X coordinate</param>
/// <param name="y">Y coordinate</param>
virtual public void GetScreenPosition(out int x, out int y) {
- Efl.Access.IComponentConcrete.NativeMethods.efl_access_component_screen_position_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out x, out y);
+ Efl.Access.IComponentConcrete.NativeMethods.efl_access_component_screen_position_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out x, out y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Position of accessible widget.</summary>
/// <param name="y">Y coordinate</param>
/// <returns><c>true</c> if position was set, <c>false</c> otherwise</returns>
virtual public bool SetScreenPosition(int x, int y) {
- var _ret_var = Efl.Access.IComponentConcrete.NativeMethods.efl_access_component_screen_position_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),x, y);
+ var _ret_var = Efl.Access.IComponentConcrete.NativeMethods.efl_access_component_screen_position_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Gets position of socket offset.</summary>
virtual public void GetSocketOffset(out int x, out int y) {
- Efl.Access.IComponentConcrete.NativeMethods.efl_access_component_socket_offset_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out x, out y);
+ Efl.Access.IComponentConcrete.NativeMethods.efl_access_component_socket_offset_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out x, out y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Sets position of socket offset.</summary>
virtual public void SetSocketOffset(int x, int y) {
- Efl.Access.IComponentConcrete.NativeMethods.efl_access_component_socket_offset_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),x, y);
+ Efl.Access.IComponentConcrete.NativeMethods.efl_access_component_socket_offset_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Contains accessible widget</summary>
/// <param name="y">Y coordinate</param>
/// <returns><c>true</c> if params have been set, <c>false</c> otherwise</returns>
virtual public bool Contains(bool screen_coords, int x, int y) {
- var _ret_var = Efl.Access.IComponentConcrete.NativeMethods.efl_access_component_contains_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),screen_coords, x, y);
+ var _ret_var = Efl.Access.IComponentConcrete.NativeMethods.efl_access_component_contains_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),screen_coords, x, y);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Focuses accessible widget.</summary>
/// <returns><c>true</c> if focus grab focus succeed, <c>false</c> otherwise.</returns>
virtual public bool GrabFocus() {
- var _ret_var = Efl.Access.IComponentConcrete.NativeMethods.efl_access_component_focus_grab_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Access.IComponentConcrete.NativeMethods.efl_access_component_focus_grab_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="y">Y coordinate</param>
/// <returns>Top component object at given coordinate</returns>
virtual public Efl.Object GetAccessibleAtPoint(bool screen_coords, int x, int y) {
- var _ret_var = Efl.Access.IComponentConcrete.NativeMethods.efl_access_component_accessible_at_point_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),screen_coords, x, y);
+ var _ret_var = Efl.Access.IComponentConcrete.NativeMethods.efl_access_component_accessible_at_point_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),screen_coords, x, y);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Highlights accessible widget. returns true if highlight grab has successed, false otherwise.
/// @if MOBILE @since_tizen 4.0 @elseif WEARABLE @since_tizen 3.0 @endif</summary>
virtual public bool GrabHighlight() {
- var _ret_var = Efl.Access.IComponentConcrete.NativeMethods.efl_access_component_highlight_grab_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Access.IComponentConcrete.NativeMethods.efl_access_component_highlight_grab_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Clears highlight of accessible widget. returns true if clear has successed, false otherwise.
/// @if MOBILE @since_tizen 4.0 @elseif WEARABLE @since_tizen 3.0 @endif</summary>
virtual public bool ClearHighlight() {
- var _ret_var = Efl.Access.IComponentConcrete.NativeMethods.efl_access_component_highlight_clear_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Access.IComponentConcrete.NativeMethods.efl_access_component_highlight_clear_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Gets an localized string describing accessible object role name.</summary>
/// <returns>Localized accessible object role name</returns>
virtual public System.String GetLocalizedRoleName() {
- var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_localized_role_name_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_localized_role_name_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Accessible name of the object.</summary>
/// <returns>Accessible name</returns>
virtual public System.String GetI18nName() {
- var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_i18n_name_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_i18n_name_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Accessible name of the object.</summary>
/// <param name="i18n_name">Accessible name</param>
virtual public void SetI18nName(System.String i18n_name) {
- Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_i18n_name_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),i18n_name);
+ Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_i18n_name_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),i18n_name);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Sets name information callback about widget.
/// @if WEARABLE @since_tizen 3.0 @endif</summary>
/// <param name="name_cb">reading information callback</param>
virtual public void SetNameCb(Efl.Access.ReadingInfoCb name_cb, System.IntPtr data) {
- Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_name_cb_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),name_cb, data);
+ Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_name_cb_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),name_cb, data);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gets an all relations between accessible object and other accessible objects.</summary>
/// <returns>Accessible relation set</returns>
virtual public Efl.Access.RelationSet GetRelationSet() {
- var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_relation_set_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_relation_set_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>The role of the object in accessibility domain.</summary>
/// <returns>Accessible role</returns>
virtual public Efl.Access.Role GetRole() {
- var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_role_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_role_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Sets the role of the object in accessibility domain.</summary>
/// <param name="role">Accessible role</param>
virtual public void SetRole(Efl.Access.Role role) {
- Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_role_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),role);
+ Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_role_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),role);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gets object's accessible parent.</summary>
/// <returns>Accessible parent</returns>
virtual public Efl.Access.IObject GetAccessParent() {
- var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_access_parent_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_access_parent_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Gets object's accessible parent.</summary>
/// <param name="parent">Accessible parent</param>
virtual public void SetAccessParent(Efl.Access.IObject parent) {
- Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_access_parent_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),parent);
+ Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_access_parent_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),parent);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Sets contextual information callback about widget.
/// <param name="description_cb">The function called to provide the accessible description.</param>
/// <param name="data">The data passed to @c description_cb.</param>
virtual public void SetDescriptionCb(Efl.Access.ReadingInfoCb description_cb, System.IntPtr data) {
- Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_description_cb_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),description_cb, data);
+ Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_description_cb_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),description_cb, data);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Sets gesture callback to give widget.
///
/// @if WEARABLE @since_tizen 3.0 @endif</summary>
virtual public void SetGestureCb(Efl.Access.GestureCb gesture_cb, System.IntPtr data) {
- Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_gesture_cb_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),gesture_cb, data);
+ Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_gesture_cb_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),gesture_cb, data);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gets object's accessible children.</summary>
/// <returns>List of widget's children</returns>
virtual public Eina.List<Efl.Access.IObject> GetAccessChildren() {
- var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_access_children_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_access_children_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return new Eina.List<Efl.Access.IObject>(_ret_var, true, false);
}
/// <summary>Gets human-readable string indentifying object accessibility role.</summary>
/// <returns>Accessible role name</returns>
virtual public System.String GetRoleName() {
- var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_role_name_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_role_name_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Gets key-value pairs indentifying object extra attributes. Must be free by a user.</summary>
/// <returns>List of object attributes, Must be freed by the user</returns>
virtual public Eina.List<Efl.Access.Attribute> GetAttributes() {
- var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_attributes_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_attributes_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return new Eina.List<Efl.Access.Attribute>(_ret_var, true, true);
}
/// @if WEARABLE @since_tizen 3.0 @endif</summary>
/// <returns>Reading information types</returns>
virtual public Efl.Access.ReadingInfoTypeMask GetReadingInfoType() {
- var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_reading_info_type_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_reading_info_type_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// @if WEARABLE @since_tizen 3.0 @endif</summary>
/// <param name="reading_info">Reading information types</param>
virtual public void SetReadingInfoType(Efl.Access.ReadingInfoTypeMask reading_info) {
- Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_reading_info_type_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),reading_info);
+ Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_reading_info_type_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),reading_info);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gets index of the child in parent's children list.</summary>
/// <returns>Index in children list</returns>
virtual public int GetIndexInParent() {
- var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_index_in_parent_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_index_in_parent_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Gets contextual information about object.</summary>
/// <returns>Accessible contextual information</returns>
virtual public System.String GetDescription() {
- var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_description_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_description_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Sets widget contextual information.</summary>
/// <param name="description">Accessible contextual information</param>
virtual public void SetDescription(System.String description) {
- Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_description_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),description);
+ Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_description_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),description);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gets set describing object accessible states.</summary>
/// <returns>Accessible state set</returns>
virtual public Efl.Access.StateSet GetStateSet() {
- var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_state_set_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_state_set_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// @if WEARABLE @since_tizen 3.0 @endif</summary>
/// <returns>If @c true, the object is highlightable.</returns>
virtual public bool GetCanHighlight() {
- var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_can_highlight_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_can_highlight_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// @if WEARABLE @since_tizen 3.0 @endif</summary>
/// <param name="can_highlight">If @c true, the object is highlightable.</param>
virtual public void SetCanHighlight(bool can_highlight) {
- Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_can_highlight_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),can_highlight);
+ Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_can_highlight_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),can_highlight);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The translation domain of "name" and "description" properties.
/// It is the application developer's responsibility to ensure that translation files are loaded and bound to the translation domain when accessibility is enabled.</summary>
/// <returns>Translation domain</returns>
virtual public System.String GetTranslationDomain() {
- var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_translation_domain_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_translation_domain_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// It is the application developer's responsibility to ensure that translation files are loaded and bound to the translation domain when accessibility is enabled.</summary>
/// <param name="domain">Translation domain</param>
virtual public void SetTranslationDomain(System.String domain) {
- Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_translation_domain_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),domain);
+ Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_translation_domain_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),domain);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get root object of accessible object hierarchy</summary>
/// <summary>Handles gesture on given widget.</summary>
virtual public bool GestureDo(Efl.Access.GestureInfo gesture_info) {
Efl.Access.GestureInfo.NativeStruct _in_gesture_info = gesture_info;
- var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_gesture_do_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_gesture_info);
+ var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_gesture_do_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_gesture_info);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="key">The string key to give extra information</param>
/// <param name="value">The string value to give extra information</param>
virtual public void AppendAttribute(System.String key, System.String value) {
- Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_attribute_append_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),key, value);
+ Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_attribute_append_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),key, value);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>delete key-value pair identifying object extra attributes when key is given</summary>
/// <param name="key">The string key to identify the key-value pair</param>
virtual public void DelAttribute(System.String key) {
- Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_attribute_del_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),key);
+ Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_attribute_del_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),key);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Removes all attributes in accessible object.</summary>
virtual public void ClearAttributes() {
- Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_attributes_clear_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_attributes_clear_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Register accessibility event listener</summary>
/// <param name="relation_object">Object to relate to</param>
/// <returns><c>true</c> if relationship was successfully appended, <c>false</c> otherwise</returns>
virtual public bool AppendRelationship(Efl.Access.RelationType type, Efl.Access.IObject relation_object) {
- var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_relationship_append_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),type, relation_object);
+ var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_relationship_append_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),type, relation_object);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="type">Relation type</param>
/// <param name="relation_object">Object to remove relation from</param>
virtual public void RelationshipRemove(Efl.Access.RelationType type, Efl.Access.IObject relation_object) {
- Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_relationship_remove_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),type, relation_object);
+ Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_relationship_remove_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),type, relation_object);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Removes all relationships in accessible object.</summary>
virtual public void ClearRelationships() {
- Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_relationships_clear_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_relationships_clear_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Notifies accessibility clients about current state of the accessible object.
///
/// if recursive parameter is set, function will traverse all accessible children and call state_notify function on them.</summary>
virtual public void StateNotify(Efl.Access.StateSet state_types_mask, bool recursive) {
- Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_state_notify_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),state_types_mask, recursive);
+ Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_state_notify_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),state_types_mask, recursive);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Elementary actions</summary>
/// <returns>NULL-terminated array of Efl.Access.Action_Data.</returns>
virtual public Efl.Access.ActionData GetElmActions() {
- var _ret_var = Efl.Access.Widget.IActionConcrete.NativeMethods.efl_access_widget_action_elm_actions_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Access.Widget.IActionConcrete.NativeMethods.efl_access_widget_action_elm_actions_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="seat">Specified seat for multiple seats case.</param>
virtual public void DragStart(Efl.Ui.SelectionFormat format, Eina.Slice data, Efl.Ui.SelectionAction action, Efl.Dnd.DragIconCreate icon_func, uint seat) {
GCHandle icon_func_handle = GCHandle.Alloc(icon_func);
- Efl.Ui.IDndConcrete.NativeMethods.efl_ui_dnd_drag_start_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),format, data, action, GCHandle.ToIntPtr(icon_func_handle), Efl.Dnd.DragIconCreateWrapper.Cb, Efl.Eo.Globals.free_gchandle, seat);
+ Efl.Ui.IDndConcrete.NativeMethods.efl_ui_dnd_drag_start_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),format, data, action, GCHandle.ToIntPtr(icon_func_handle), Efl.Dnd.DragIconCreateWrapper.Cb, Efl.Eo.Globals.free_gchandle, seat);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the action for the drag</summary>
/// <param name="action">Drag action</param>
/// <param name="seat">Specified seat for multiple seats case.</param>
virtual public void SetDragAction(Efl.Ui.SelectionAction action, uint seat) {
- Efl.Ui.IDndConcrete.NativeMethods.efl_ui_dnd_drag_action_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),action, seat);
+ Efl.Ui.IDndConcrete.NativeMethods.efl_ui_dnd_drag_action_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),action, seat);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Cancel the on-going drag</summary>
/// <param name="seat">Specified seat for multiple seats case.</param>
virtual public void DragCancel(uint seat) {
- Efl.Ui.IDndConcrete.NativeMethods.efl_ui_dnd_drag_cancel_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),seat);
+ Efl.Ui.IDndConcrete.NativeMethods.efl_ui_dnd_drag_cancel_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),seat);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Make the current object as drop target. There are four events emitted: - EFL_UI_DND_EVENT_DRAG_ENTER - EFL_UI_DND_EVENT_DRAG_LEAVE - EFL_UI_DND_EVENT_DRAG_POS - EFL_UI_DND_EVENT_DRAG_DROP.</summary>
/// <param name="format">Accepted data format</param>
/// <param name="seat">Specified seat for multiple seats case.</param>
virtual public void AddDropTarget(Efl.Ui.SelectionFormat format, uint seat) {
- Efl.Ui.IDndConcrete.NativeMethods.efl_ui_dnd_drop_target_add_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),format, seat);
+ Efl.Ui.IDndConcrete.NativeMethods.efl_ui_dnd_drop_target_add_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),format, seat);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Delete the dropable status from object</summary>
/// <param name="format">Accepted data format</param>
/// <param name="seat">Specified seat for multiple seats case.</param>
virtual public void DelDropTarget(Efl.Ui.SelectionFormat format, uint seat) {
- Efl.Ui.IDndConcrete.NativeMethods.efl_ui_dnd_drop_target_del_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),format, seat);
+ Efl.Ui.IDndConcrete.NativeMethods.efl_ui_dnd_drop_target_del_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),format, seat);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>A unique string to be translated.
/// <param name="domain">A translation domain. If <c>null</c> this means the default domain is used.</param>
/// <returns>This returns the untranslated value of <c>label</c>. The translated string can usually be retrieved with <see cref="Efl.IText.GetText"/>.</returns>
virtual public System.String GetL10nText(out System.String domain) {
- var _ret_var = Efl.Ui.IL10nConcrete.NativeMethods.efl_ui_l10n_text_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out domain);
+ var _ret_var = Efl.Ui.IL10nConcrete.NativeMethods.efl_ui_l10n_text_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out domain);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="label">A unique (untranslated) string.</param>
/// <param name="domain">A translation domain. If <c>null</c> this uses the default domain (eg. set by <c>textdomain</c>()).</param>
virtual public void SetL10nText(System.String label, System.String domain) {
- Efl.Ui.IL10nConcrete.NativeMethods.efl_ui_l10n_text_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),label, domain);
+ Efl.Ui.IL10nConcrete.NativeMethods.efl_ui_l10n_text_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),label, domain);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Requests this object to update its text strings for the current locale.
///
/// This function is a hook meant to be implemented by any object that supports translation. This can be called whenever a new object is created or when the current locale changes, for instance. This should only trigger further calls to <see cref="Efl.Ui.IL10n.UpdateTranslation"/> to children objects.</summary>
virtual public void UpdateTranslation() {
- Efl.Ui.IL10nConcrete.NativeMethods.efl_ui_l10n_translation_update_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.IL10nConcrete.NativeMethods.efl_ui_l10n_translation_update_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>bind property data with the given key string. when the data is ready or changed, bind the data to the key action and process promised work.</summary>
/// <param name="property">Model property name</param>
/// <returns>0 when it succeed, an error code otherwise.</returns>
virtual public Eina.Error PropertyBind(System.String key, System.String property) {
- var _ret_var = Efl.Ui.IPropertyBindConcrete.NativeMethods.efl_ui_property_bind_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),key, property);
+ var _ret_var = Efl.Ui.IPropertyBindConcrete.NativeMethods.efl_ui_property_bind_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),key, property);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="seat">Specified seat for multiple seats case.</param>
/// <returns>Future for tracking when the selection is lost</returns>
virtual public Eina.Future SetSelection(Efl.Ui.SelectionType type, Efl.Ui.SelectionFormat format, Eina.Slice data, uint seat) {
- var _ret_var = Efl.Ui.ISelectionConcrete.NativeMethods.efl_ui_selection_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),type, format, data, seat);
+ var _ret_var = Efl.Ui.ISelectionConcrete.NativeMethods.efl_ui_selection_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),type, format, data, seat);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="seat">Specified seat for multiple seats case.</param>
virtual public void GetSelection(Efl.Ui.SelectionType type, Efl.Ui.SelectionFormat format, Efl.Ui.SelectionDataReady data_func, uint seat) {
GCHandle data_func_handle = GCHandle.Alloc(data_func);
- Efl.Ui.ISelectionConcrete.NativeMethods.efl_ui_selection_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),type, format, GCHandle.ToIntPtr(data_func_handle), Efl.Ui.SelectionDataReadyWrapper.Cb, Efl.Eo.Globals.free_gchandle, seat);
+ Efl.Ui.ISelectionConcrete.NativeMethods.efl_ui_selection_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),type, format, GCHandle.ToIntPtr(data_func_handle), Efl.Ui.SelectionDataReadyWrapper.Cb, Efl.Eo.Globals.free_gchandle, seat);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Clear the selection data from the object</summary>
/// <param name="type">Selection Type</param>
/// <param name="seat">Specified seat for multiple seats case.</param>
virtual public void ClearSelection(Efl.Ui.SelectionType type, uint seat) {
- Efl.Ui.ISelectionConcrete.NativeMethods.efl_ui_selection_clear_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),type, seat);
+ Efl.Ui.ISelectionConcrete.NativeMethods.efl_ui_selection_clear_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),type, seat);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Determine whether the selection data has owner</summary>
/// <param name="seat">Specified seat for multiple seats case.</param>
/// <returns>EINA_TRUE if there is object owns selection, otherwise EINA_FALSE</returns>
virtual public bool HasOwner(Efl.Ui.SelectionType type, uint seat) {
- var _ret_var = Efl.Ui.ISelectionConcrete.NativeMethods.efl_ui_selection_has_owner_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),type, seat);
+ var _ret_var = Efl.Ui.ISelectionConcrete.NativeMethods.efl_ui_selection_has_owner_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),type, seat);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Model that is/will be</summary>
/// <returns>Efl model</returns>
virtual public Efl.IModel GetModel() {
- var _ret_var = Efl.Ui.IViewConcrete.NativeMethods.efl_ui_view_model_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.IViewConcrete.NativeMethods.efl_ui_view_model_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Model that is/will be</summary>
/// <param name="model">Efl model</param>
virtual public void SetModel(Efl.IModel model) {
- Efl.Ui.IViewConcrete.NativeMethods.efl_ui_view_model_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),model);
+ Efl.Ui.IViewConcrete.NativeMethods.efl_ui_view_model_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),model);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The geometry (that is, the bounding rectangle) used to calculate the relationship with other objects.
/// (Since EFL 1.22)</summary>
/// <returns>The geometry to use.</returns>
virtual public Eina.Rect GetFocusGeometry() {
- var _ret_var = Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_focus_geometry_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_focus_geometry_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The focused state of the object.</returns>
virtual public bool GetFocus() {
- var _ret_var = Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_focus_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_focus_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="focus">The focused state of the object.</param>
virtual public void SetFocus(bool focus) {
- Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_focus_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),focus);
+ Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_focus_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),focus);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This is the focus manager where this focus object is registered in. The element which is the <c>root</c> of a Efl.Ui.Focus.Manager will not have this focus manager as this object, but rather the second focus manager where it is registered in.
/// (Since EFL 1.22)</summary>
/// <returns>The manager object</returns>
virtual public Efl.Ui.Focus.IManager GetFocusManager() {
- var _ret_var = Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_focus_manager_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_focus_manager_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The focus parent.</returns>
virtual public Efl.Ui.Focus.IObject GetFocusParent() {
- var _ret_var = Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_focus_parent_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_focus_parent_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if a child has focus.</returns>
virtual public bool GetChildFocus() {
- var _ret_var = Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_child_focus_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_child_focus_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="child_focus"><c>true</c> if a child has focus.</param>
virtual public void SetChildFocus(bool child_focus) {
- Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_child_focus_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),child_focus);
+ Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_child_focus_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),child_focus);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Tells the object that its children will be queried soon by the focus manager. Overwrite this to update the order of the children. Deleting items in this call will result in undefined behaviour and may cause your system to crash.
/// (Since EFL 1.22)</summary>
virtual public void SetupOrder() {
- Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_setup_order_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_setup_order_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This is called when <see cref="Efl.Ui.Focus.IObject.SetupOrder"/> is called, but only on the first call, additional recursive calls to <see cref="Efl.Ui.Focus.IObject.SetupOrder"/> will not call this function again.
/// (Since EFL 1.22)</summary>
virtual public void SetupOrderNonRecursive() {
- Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_setup_order_non_recursive_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_setup_order_non_recursive_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Virtual function handling focus in/out events on the widget
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if this widget can handle focus, <c>false</c> otherwise</returns>
virtual public bool UpdateOnFocus() {
- var _ret_var = Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_on_focus_update_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.IObjectConcrete.NativeMethods.efl_ui_focus_object_on_focus_update_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>All relevant fields needed for the current state of focus registration
/// (Since EFL 1.22)</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct WidgetFocusState
{
/// <summary>The manager where the widget is registered in</summary>
/// <summary>Efl Ui Factory that provides <see cref="Efl.Ui.Widget"/>.
/// This factory is designed to build <see cref="Efl.Ui.Widget"/> and optionally set their <see cref="Efl.Ui.Widget.Style"/> if it was connected with <see cref="Efl.Ui.IPropertyBind.PropertyBind"/> "<c>style</c>".</summary>
[Efl.Ui.WidgetFactory.NativeMethods]
+[Efl.Eo.BindingEntity]
public class WidgetFactory : Efl.LoopConsumer, Efl.Ui.IFactory, Efl.Ui.IFactoryBind, Efl.Ui.IPropertyBind
{
///<summary>Pointer to the native class description.</summary>
efl_ui_widget_factory_class_get();
/// <summary>Initializes a new instance of the <see cref="WidgetFactory"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="itemClass">Define the class of the item returned by this factory. See <see cref="Efl.Ui.WidgetFactory.SetItemClass"/></param>
+ /// <param name="itemClass">Define the class of the item returned by this factory. See <see cref="Efl.Ui.WidgetFactory.SetItemClass" /></param>
public WidgetFactory(Efl.Object parent
- , Type itemClass = null) : base(efl_ui_widget_factory_class_get(), typeof(WidgetFactory), parent)
+ , Type itemClass = null) : base(efl_ui_widget_factory_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(itemClass))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected WidgetFactory(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="WidgetFactory"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected WidgetFactory(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected WidgetFactory(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="WidgetFactory"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected WidgetFactory(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected WidgetFactory(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FACTORY_EVENT_CREATED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_PROPERTY_BIND_EVENT_PROPERTIES_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_PROPERTY_BIND_EVENT_PROPERTY_BOUND";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// <summary>Define the class of the item returned by this factory.</summary>
/// <returns>The class identifier to create item from.</returns>
virtual public Type GetItemClass() {
- var _ret_var = Efl.Ui.WidgetFactory.NativeMethods.efl_ui_widget_factory_item_class_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.WidgetFactory.NativeMethods.efl_ui_widget_factory_item_class_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Define the class of the item returned by this factory.</summary>
/// <param name="klass">The class identifier to create item from.</param>
virtual public void SetItemClass(Type klass) {
- Efl.Ui.WidgetFactory.NativeMethods.efl_ui_widget_factory_item_class_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),klass);
+ Efl.Ui.WidgetFactory.NativeMethods.efl_ui_widget_factory_item_class_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),klass);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Create a UI object from the necessary properties in the specified model.</summary>
/// <param name="parent">Efl canvas</param>
/// <returns>Created UI object</returns>
virtual public Eina.Future Create(Efl.IModel model, Efl.Gfx.IEntity parent) {
- var _ret_var = Efl.Ui.IFactoryConcrete.NativeMethods.efl_ui_factory_create_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),model, parent);
+ var _ret_var = Efl.Ui.IFactoryConcrete.NativeMethods.efl_ui_factory_create_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),model, parent);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Release a UI object and disconnect from models.</summary>
/// <param name="ui_view">Efl canvas</param>
virtual public void Release(Efl.Gfx.IEntity ui_view) {
- Efl.Ui.IFactoryConcrete.NativeMethods.efl_ui_factory_release_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),ui_view);
+ Efl.Ui.IFactoryConcrete.NativeMethods.efl_ui_factory_release_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),ui_view);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>bind the factory with the given key string. when the data is ready or changed, factory create the object and bind the data to the key action and process promised work. Note: the input <see cref="Efl.Ui.IFactory"/> need to be <see cref="Efl.Ui.IPropertyBind.PropertyBind"/> at least once.</summary>
/// <param name="key">Key string for bind model property data</param>
/// <param name="factory"><see cref="Efl.Ui.IFactory"/> for create and bind model property data</param>
virtual public void FactoryBind(System.String key, Efl.Ui.IFactory factory) {
- Efl.Ui.IFactoryBindConcrete.NativeMethods.efl_ui_factory_bind_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),key, factory);
+ Efl.Ui.IFactoryBindConcrete.NativeMethods.efl_ui_factory_bind_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),key, factory);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>bind property data with the given key string. when the data is ready or changed, bind the data to the key action and process promised work.</summary>
/// <param name="property">Model property name</param>
/// <returns>0 when it succeed, an error code otherwise.</returns>
virtual public Eina.Error PropertyBind(System.String key, System.String property) {
- var _ret_var = Efl.Ui.IPropertyBindConcrete.NativeMethods.efl_ui_property_bind_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),key, property);
+ var _ret_var = Efl.Ui.IPropertyBindConcrete.NativeMethods.efl_ui_property_bind_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),key, property);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>No description supplied.
/// (Since EFL 1.22)</summary>
[Efl.Ui.IWidgetFocusManagerConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IWidgetFocusManager :
Efl.Ui.Focus.IManager ,
Efl.Eo.IWrapper, IDisposable
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IWidgetFocusManagerConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
efl_ui_widget_focus_manager_mixin_get();
/// <summary>Initializes a new instance of the <see cref="IWidgetFocusManager"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IWidgetFocusManagerConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IWidgetFocusManagerConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_REDIRECT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_FLUSH_PRE";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_COORDS_DIRTY";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_MANAGER_FOCUS_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_DIRTY_LOGIC_FREEZE_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
public Eina.Iterator<Efl.Ui.Focus.IObject> GetBorderElements() {
var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_border_elements_get_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false, false);
+ return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false);
}
/// <summary>Get all elements that are at the border of the viewport
/// Every element returned by this is located inside the viewport rectangle, but has a right, left, down or up neighbor outside the viewport.
Eina.Rect.NativeStruct _in_viewport = viewport;
var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_viewport_elements_get_ptr.Value.Delegate(this.NativeHandle,_in_viewport);
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false, false);
+ return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false);
}
/// <summary>Root node for all logical subtrees.
/// This property can only be set once.
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>This is the base class for all "Part" handles in Efl.Ui widgets.
/// Since objects of this type are returned by <see cref="Efl.IPart.GetPart"/>, their lifetime is limited to exactly one function call only. Each widget class should expose more specific types for their API-defined parts.</summary>
[Efl.Ui.WidgetPart.NativeMethods]
+[Efl.Eo.BindingEntity]
public class WidgetPart : Efl.Object
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="WidgetPart"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public WidgetPart(Efl.Object parent= null
- ) : base(efl_ui_widget_part_class_get(), typeof(WidgetPart), parent)
+ ) : base(efl_ui_widget_part_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected WidgetPart(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="WidgetPart"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected WidgetPart(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected WidgetPart(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="WidgetPart"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected WidgetPart(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected WidgetPart(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>Elementary widget internal part background class</summary>
[Efl.Ui.WidgetPartBg.NativeMethods]
+[Efl.Eo.BindingEntity]
public class WidgetPartBg : Efl.Ui.WidgetPart, Efl.IFile, Efl.Gfx.IColor, Efl.Gfx.IImage
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="WidgetPartBg"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public WidgetPartBg(Efl.Object parent= null
- ) : base(efl_ui_widget_part_bg_class_get(), typeof(WidgetPartBg), parent)
+ ) : base(efl_ui_widget_part_bg_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected WidgetPartBg(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="WidgetPartBg"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected WidgetPartBg(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected WidgetPartBg(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="WidgetPartBg"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected WidgetPartBg(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected WidgetPartBg(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_PRELOAD";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_RESIZE";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_UNLOAD";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// (Since EFL 1.22)</summary>
/// <returns>The handle to the <see cref="Eina.File"/> that will be used</returns>
virtual public Eina.File GetMmap() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="f">The handle to the <see cref="Eina.File"/> that will be used</param>
/// <returns>0 on success, error code otherwise</returns>
virtual public Eina.Error SetMmap(Eina.File f) {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),f);
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),f);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The file path.</returns>
virtual public System.String GetFile() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="file">The file path.</param>
/// <returns>0 on success, error code otherwise</returns>
virtual public Eina.Error SetFile(System.String file) {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),file);
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),file);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The group that the data belongs to. See the class documentation for particular implementations of this interface to see how this property is used.</returns>
virtual public System.String GetKey() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_key_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_key_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="key">The group that the data belongs to. See the class documentation for particular implementations of this interface to see how this property is used.</param>
virtual public void SetKey(System.String key) {
- Efl.IFileConcrete.NativeMethods.efl_file_key_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),key);
+ Efl.IFileConcrete.NativeMethods.efl_file_key_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),key);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the load state of the object.
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if the object is loaded, <c>false</c> otherwise.</returns>
virtual public bool GetLoaded() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_loaded_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_loaded_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>0 on success, error code otherwise</returns>
virtual public Eina.Error Load() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_load_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_load_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Calling <see cref="Efl.IFile.Unload"/> on an object which is not currently loaded will have no effect.
/// (Since EFL 1.22)</summary>
virtual public void Unload() {
- Efl.IFileConcrete.NativeMethods.efl_file_unload_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.IFileConcrete.NativeMethods.efl_file_unload_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Retrieves the general/main color of the given Evas object.
/// Use null pointers on the components you're not interested in: they'll be ignored by the function.
/// (Since EFL 1.22)</summary>
virtual public void GetColor(out int r, out int g, out int b, out int a) {
- Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out r, out g, out b, out a);
+ Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out r, out g, out b, out a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Sets the general/main color of the given Evas object to the given one.
/// These color values are expected to be premultiplied by alpha.
/// (Since EFL 1.22)</summary>
virtual public void SetColor(int r, int g, int b, int a) {
- Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),r, g, b, a);
+ Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),r, g, b, a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get hex color code of given Evas object. This returns a short lived hex color code string.
/// (Since EFL 1.22)</summary>
/// <returns>the hex color code.</returns>
virtual public System.String GetColorCode() {
- var _ret_var = Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_code_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_code_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="colorcode">the hex color code.</param>
virtual public void SetColorCode(System.String colorcode) {
- Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_code_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),colorcode);
+ Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_code_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),colorcode);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Whether to use high-quality image scaling algorithm for this image.
/// <c>true</c> by default</summary>
/// <returns>Whether to use smooth scale or not.</returns>
virtual public bool GetSmoothScale() {
- var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_smooth_scale_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_smooth_scale_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <c>true</c> by default</summary>
/// <param name="smooth_scale">Whether to use smooth scale or not.</param>
virtual public void SetSmoothScale(bool smooth_scale) {
- Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_smooth_scale_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),smooth_scale);
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_smooth_scale_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),smooth_scale);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control how the image is scaled.</summary>
/// <returns>Image scale type</returns>
virtual public Efl.Gfx.ImageScaleType GetScaleType() {
- var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_scale_type_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_scale_type_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Control how the image is scaled.</summary>
/// <param name="scale_type">Image scale type</param>
virtual public void SetScaleType(Efl.Gfx.ImageScaleType scale_type) {
- Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_scale_type_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),scale_type);
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_scale_type_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),scale_type);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Returns 1.0 if not applicable (eg. height = 0).</summary>
/// <returns>The image's ratio.</returns>
virtual public double GetRatio() {
- var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_ratio_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_ratio_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Return the relative area enclosed inside the image where content is expected.
+ /// We do expect content to be inside the limit defined by the border or inside the stretch region. If a stretch region is provided, the content region will encompass the non strechable area that are surrounded by stretchable area. If no border and no stretch region is set, they are assumed to be zero and the full object geometry is where content can be layout on top. The area size change with the object size.
+ ///
+ /// The geometry of the area is expressed relative to the geometry of the object.</summary>
+ /// <returns>A rectangle inside the object boundary that where content is expected.</returns>
+ virtual public Eina.Rect GetContentRegion() {
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_content_region_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="t">The border's top height.</param>
/// <param name="b">The border's bottom height.</param>
virtual public void GetBorder(out int l, out int r, out int t, out int b) {
- Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out l, out r, out t, out b);
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out l, out r, out t, out b);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Dimensions of this image's border, a region that does not scale with the center area.
/// <param name="t">The border's top height.</param>
/// <param name="b">The border's bottom height.</param>
virtual public void SetBorder(int l, int r, int t, int b) {
- Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),l, r, t, b);
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),l, r, t, b);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Scaling factor applied to the image borders.
/// Default value is 1.0 (no scaling).</summary>
/// <returns>The scale factor.</returns>
virtual public double GetBorderScale() {
- var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_scale_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_scale_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Default value is 1.0 (no scaling).</summary>
/// <param name="scale">The scale factor.</param>
virtual public void SetBorderScale(double scale) {
- Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_scale_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),scale);
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_scale_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),scale);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Specifies how the center part of the object (not the borders) should be drawn when EFL is rendering it.
/// The default value is <see cref="Efl.Gfx.BorderFillMode.Default"/>, ie. render and scale the center area, respecting its transparency.</summary>
/// <returns>Fill mode of the center region.</returns>
virtual public Efl.Gfx.BorderFillMode GetBorderCenterFill() {
- var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_center_fill_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_center_fill_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// The default value is <see cref="Efl.Gfx.BorderFillMode.Default"/>, ie. render and scale the center area, respecting its transparency.</summary>
/// <param name="fill">Fill mode of the center region.</param>
virtual public void SetBorderCenterFill(Efl.Gfx.BorderFillMode fill) {
- Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_center_fill_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),fill);
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_center_fill_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),fill);
Eina.Error.RaiseIfUnhandledException();
}
+ /// <summary>This property defines the stretchable pixels region of an image.
+ /// When the regions are set by the user, the method will walk the iterators once and then destroy them. When the regions are retrieved by the user, it is his responsibility to destroy the iterators.. It will remember the information for the lifetime of the object. It will ignore all value of <see cref="Efl.Gfx.IImage.GetBorder"/>, <see cref="Efl.Gfx.IImage.BorderScale"/> and <see cref="Efl.Gfx.IImage.BorderCenterFill"/> . To reset the object you can just pass <c>null</c> to both horizontal and vertical at the same time.</summary>
+ /// <param name="horizontal">Representation of area that are stretchable in the image horizontal space.</param>
+ /// <param name="vertical">Representation of area that are stretchable in the image vertical space.</param>
+ virtual public void GetStretchRegion(out Eina.Iterator<Efl.Gfx.Image.StretchRegion> horizontal, out Eina.Iterator<Efl.Gfx.Image.StretchRegion> vertical) {
+ System.IntPtr _out_horizontal = System.IntPtr.Zero;
+ System.IntPtr _out_vertical = System.IntPtr.Zero;
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_stretch_region_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out _out_horizontal, out _out_vertical);
+ Eina.Error.RaiseIfUnhandledException();
+ horizontal = new Eina.Iterator<Efl.Gfx.Image.StretchRegion>(_out_horizontal, false);
+ vertical = new Eina.Iterator<Efl.Gfx.Image.StretchRegion>(_out_vertical, false);
+ }
+ /// <summary>This property defines the stretchable pixels region of an image.
+ /// When the regions are set by the user, the method will walk the iterators once and then destroy them. When the regions are retrieved by the user, it is his responsibility to destroy the iterators.. It will remember the information for the lifetime of the object. It will ignore all value of <see cref="Efl.Gfx.IImage.GetBorder"/>, <see cref="Efl.Gfx.IImage.BorderScale"/> and <see cref="Efl.Gfx.IImage.BorderCenterFill"/> . To reset the object you can just pass <c>null</c> to both horizontal and vertical at the same time.</summary>
+ /// <param name="horizontal">Representation of area that are stretchable in the image horizontal space.</param>
+ /// <param name="vertical">Representation of area that are stretchable in the image vertical space.</param>
+ /// <returns>return an error code if the stretch_region provided are incorrect.</returns>
+ virtual public Eina.Error SetStretchRegion(Eina.Iterator<Efl.Gfx.Image.StretchRegion> horizontal, Eina.Iterator<Efl.Gfx.Image.StretchRegion> vertical) {
+ var _in_horizontal = horizontal.Handle;
+ var _in_vertical = vertical.Handle;
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_stretch_region_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_horizontal, _in_vertical);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
/// <summary>This represents the size of the original image in pixels.
/// This may be different from the actual geometry on screen or even the size of the loaded pixel buffer. This is the size of the image as stored in the original file.
///
/// This is a read-only property, and may return 0x0.</summary>
/// <returns>The size in pixels.</returns>
virtual public Eina.Size2D GetImageSize() {
- var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This returns #EVAS_IMAGE_CONTENT_HINT_NONE on error.</summary>
/// <returns>Dynamic or static content hint, see <see cref="Efl.Gfx.ImageContentHint"/></returns>
virtual public Efl.Gfx.ImageContentHint GetContentHint() {
- var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_content_hint_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_content_hint_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This function sets the content hint value of the given image of the canvas. For example, if you're on the GL engine and your driver implementation supports it, setting this hint to #EVAS_IMAGE_CONTENT_HINT_DYNAMIC will make it need zero copies at texture upload time, which is an "expensive" operation.</summary>
/// <param name="hint">Dynamic or static content hint, see <see cref="Efl.Gfx.ImageContentHint"/></param>
virtual public void SetContentHint(Efl.Gfx.ImageContentHint hint) {
- Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_content_hint_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),hint);
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_content_hint_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),hint);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the scale hint of a given image of the canvas.
/// This function returns the scale hint value of the given image object of the canvas.</summary>
/// <returns>Scalable or static size hint, see <see cref="Efl.Gfx.ImageScaleHint"/></returns>
virtual public Efl.Gfx.ImageScaleHint GetScaleHint() {
- var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_scale_hint_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_scale_hint_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This function sets the scale hint value of the given image object in the canvas, which will affect how Evas is to cache scaled versions of its original source image.</summary>
/// <param name="hint">Scalable or static size hint, see <see cref="Efl.Gfx.ImageScaleHint"/></param>
virtual public void SetScaleHint(Efl.Gfx.ImageScaleHint hint) {
- Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_scale_hint_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),hint);
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_scale_hint_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),hint);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gets the (last) file loading error for a given object.</summary>
/// <returns>The load error code.</returns>
virtual public Eina.Error GetImageLoadError() {
- var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_load_error_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_load_error_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
public double Ratio {
get { return GetRatio(); }
}
+ /// <summary>Return the relative area enclosed inside the image where content is expected.
+ /// We do expect content to be inside the limit defined by the border or inside the stretch region. If a stretch region is provided, the content region will encompass the non strechable area that are surrounded by stretchable area. If no border and no stretch region is set, they are assumed to be zero and the full object geometry is where content can be layout on top. The area size change with the object size.
+ ///
+ /// The geometry of the area is expressed relative to the geometry of the object.</summary>
+ /// <value>A rectangle inside the object boundary that where content is expected.</value>
+ public Eina.Rect ContentRegion {
+ get { return GetContentRegion(); }
+ }
/// <summary>Scaling factor applied to the image borders.
/// This value multiplies the size of the <see cref="Efl.Gfx.IImage.GetBorder"/> when scaling an object.
///
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_ratio_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_ratio_get_static_delegate) });
}
+ if (efl_gfx_image_content_region_get_static_delegate == null)
+ {
+ efl_gfx_image_content_region_get_static_delegate = new efl_gfx_image_content_region_get_delegate(content_region_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetContentRegion") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_content_region_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_content_region_get_static_delegate) });
+ }
+
if (efl_gfx_image_border_get_static_delegate == null)
{
efl_gfx_image_border_get_static_delegate = new efl_gfx_image_border_get_delegate(border_get);
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_border_center_fill_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_border_center_fill_set_static_delegate) });
}
+ if (efl_gfx_image_stretch_region_get_static_delegate == null)
+ {
+ efl_gfx_image_stretch_region_get_static_delegate = new efl_gfx_image_stretch_region_get_delegate(stretch_region_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetStretchRegion") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_stretch_region_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_stretch_region_get_static_delegate) });
+ }
+
+ if (efl_gfx_image_stretch_region_set_static_delegate == null)
+ {
+ efl_gfx_image_stretch_region_set_static_delegate = new efl_gfx_image_stretch_region_set_delegate(stretch_region_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetStretchRegion") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_stretch_region_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_stretch_region_set_static_delegate) });
+ }
+
if (efl_gfx_image_size_get_static_delegate == null)
{
efl_gfx_image_size_get_static_delegate = new efl_gfx_image_size_get_delegate(image_size_get);
private static efl_gfx_image_ratio_get_delegate efl_gfx_image_ratio_get_static_delegate;
+ private delegate Eina.Rect.NativeStruct efl_gfx_image_content_region_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate Eina.Rect.NativeStruct efl_gfx_image_content_region_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_content_region_get_api_delegate> efl_gfx_image_content_region_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_content_region_get_api_delegate>(Module, "efl_gfx_image_content_region_get");
+
+ private static Eina.Rect.NativeStruct content_region_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_gfx_image_content_region_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Rect _ret_var = default(Eina.Rect);
+ try
+ {
+ _ret_var = ((WidgetPartBg)ws.Target).GetContentRegion();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_gfx_image_content_region_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_gfx_image_content_region_get_delegate efl_gfx_image_content_region_get_static_delegate;
+
+
private delegate void efl_gfx_image_border_get_delegate(System.IntPtr obj, System.IntPtr pd, out int l, out int r, out int t, out int b);
private static efl_gfx_image_border_center_fill_set_delegate efl_gfx_image_border_center_fill_set_static_delegate;
+ private delegate void efl_gfx_image_stretch_region_get_delegate(System.IntPtr obj, System.IntPtr pd, out System.IntPtr horizontal, out System.IntPtr vertical);
+
+
+ public delegate void efl_gfx_image_stretch_region_get_api_delegate(System.IntPtr obj, out System.IntPtr horizontal, out System.IntPtr vertical);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_stretch_region_get_api_delegate> efl_gfx_image_stretch_region_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_stretch_region_get_api_delegate>(Module, "efl_gfx_image_stretch_region_get");
+
+ private static void stretch_region_get(System.IntPtr obj, System.IntPtr pd, out System.IntPtr horizontal, out System.IntPtr vertical)
+ {
+ Eina.Log.Debug("function efl_gfx_image_stretch_region_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Iterator<Efl.Gfx.Image.StretchRegion> _out_horizontal = default(Eina.Iterator<Efl.Gfx.Image.StretchRegion>);
+ Eina.Iterator<Efl.Gfx.Image.StretchRegion> _out_vertical = default(Eina.Iterator<Efl.Gfx.Image.StretchRegion>);
+
+ try
+ {
+ ((WidgetPartBg)ws.Target).GetStretchRegion(out _out_horizontal, out _out_vertical);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ horizontal = _out_horizontal.Handle;
+ vertical = _out_vertical.Handle;
+
+ }
+ else
+ {
+ efl_gfx_image_stretch_region_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out horizontal, out vertical);
+ }
+ }
+
+ private static efl_gfx_image_stretch_region_get_delegate efl_gfx_image_stretch_region_get_static_delegate;
+
+
+ private delegate Eina.Error efl_gfx_image_stretch_region_set_delegate(System.IntPtr obj, System.IntPtr pd, System.IntPtr horizontal, System.IntPtr vertical);
+
+
+ public delegate Eina.Error efl_gfx_image_stretch_region_set_api_delegate(System.IntPtr obj, System.IntPtr horizontal, System.IntPtr vertical);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_stretch_region_set_api_delegate> efl_gfx_image_stretch_region_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_stretch_region_set_api_delegate>(Module, "efl_gfx_image_stretch_region_set");
+
+ private static Eina.Error stretch_region_set(System.IntPtr obj, System.IntPtr pd, System.IntPtr horizontal, System.IntPtr vertical)
+ {
+ Eina.Log.Debug("function efl_gfx_image_stretch_region_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ var _in_horizontal = new Eina.Iterator<Efl.Gfx.Image.StretchRegion>(horizontal, false);
+ var _in_vertical = new Eina.Iterator<Efl.Gfx.Image.StretchRegion>(vertical, false);
+ Eina.Error _ret_var = default(Eina.Error);
+ try
+ {
+ _ret_var = ((WidgetPartBg)ws.Target).SetStretchRegion(_in_horizontal, _in_vertical);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_gfx_image_stretch_region_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), horizontal, vertical);
+ }
+ }
+
+ private static efl_gfx_image_stretch_region_set_delegate efl_gfx_image_stretch_region_set_static_delegate;
+
+
private delegate Eina.Size2D.NativeStruct efl_gfx_image_size_get_delegate(System.IntPtr obj, System.IntPtr pd);
///
/// It is also possible to manually specify which <see cref="Efl.Gfx.IFilter"/> program to use.</summary>
[Efl.Ui.WidgetPartShadow.NativeMethods]
+[Efl.Eo.BindingEntity]
public class WidgetPartShadow : Efl.Ui.WidgetPart, Efl.Gfx.IBlur, Efl.Gfx.IColor, Efl.Gfx.IFilter
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="WidgetPartShadow"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public WidgetPartShadow(Efl.Object parent= null
- ) : base(efl_ui_widget_part_shadow_class_get(), typeof(WidgetPartShadow), parent)
+ ) : base(efl_ui_widget_part_shadow_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected WidgetPartShadow(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="WidgetPartShadow"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected WidgetPartShadow(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected WidgetPartShadow(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="WidgetPartShadow"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected WidgetPartShadow(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected WidgetPartShadow(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <param name="rx">The horizontal blur radius.</param>
/// <param name="ry">The vertical blur radius.</param>
virtual public void GetRadius(out double rx, out double ry) {
- Efl.Gfx.IBlurConcrete.NativeMethods.efl_gfx_blur_radius_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out rx, out ry);
+ Efl.Gfx.IBlurConcrete.NativeMethods.efl_gfx_blur_radius_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out rx, out ry);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The blur radius in pixels.</summary>
/// <param name="rx">The horizontal blur radius.</param>
/// <param name="ry">The vertical blur radius.</param>
virtual public void SetRadius(double rx, double ry) {
- Efl.Gfx.IBlurConcrete.NativeMethods.efl_gfx_blur_radius_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),rx, ry);
+ Efl.Gfx.IBlurConcrete.NativeMethods.efl_gfx_blur_radius_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),rx, ry);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>An offset relative to the original pixels.
/// <param name="ox">Horizontal offset in pixels.</param>
/// <param name="oy">Vertical offset in pixels.</param>
virtual public void GetOffset(out double ox, out double oy) {
- Efl.Gfx.IBlurConcrete.NativeMethods.efl_gfx_blur_offset_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out ox, out oy);
+ Efl.Gfx.IBlurConcrete.NativeMethods.efl_gfx_blur_offset_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out ox, out oy);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>An offset relative to the original pixels.
/// <param name="ox">Horizontal offset in pixels.</param>
/// <param name="oy">Vertical offset in pixels.</param>
virtual public void SetOffset(double ox, double oy) {
- Efl.Gfx.IBlurConcrete.NativeMethods.efl_gfx_blur_offset_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),ox, oy);
+ Efl.Gfx.IBlurConcrete.NativeMethods.efl_gfx_blur_offset_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),ox, oy);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>How much the original image should be "grown" before blurring.
/// This is can be used efficiently to create glow effects.</summary>
/// <returns>How much to grow the original pixel data.</returns>
virtual public double GetGrow() {
- var _ret_var = Efl.Gfx.IBlurConcrete.NativeMethods.efl_gfx_blur_grow_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IBlurConcrete.NativeMethods.efl_gfx_blur_grow_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// This is can be used efficiently to create glow effects.</summary>
/// <param name="radius">How much to grow the original pixel data.</param>
virtual public void SetGrow(double radius) {
- Efl.Gfx.IBlurConcrete.NativeMethods.efl_gfx_blur_grow_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),radius);
+ Efl.Gfx.IBlurConcrete.NativeMethods.efl_gfx_blur_grow_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),radius);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Retrieves the general/main color of the given Evas object.
/// Use null pointers on the components you're not interested in: they'll be ignored by the function.
/// (Since EFL 1.22)</summary>
virtual public void GetColor(out int r, out int g, out int b, out int a) {
- Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out r, out g, out b, out a);
+ Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out r, out g, out b, out a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Sets the general/main color of the given Evas object to the given one.
/// These color values are expected to be premultiplied by alpha.
/// (Since EFL 1.22)</summary>
virtual public void SetColor(int r, int g, int b, int a) {
- Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),r, g, b, a);
+ Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),r, g, b, a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get hex color code of given Evas object. This returns a short lived hex color code string.
/// (Since EFL 1.22)</summary>
/// <returns>the hex color code.</returns>
virtual public System.String GetColorCode() {
- var _ret_var = Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_code_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_code_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="colorcode">the hex color code.</param>
virtual public void SetColorCode(System.String colorcode) {
- Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_code_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),colorcode);
+ Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_code_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),colorcode);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gets the code of the filter program set on this object. May be <c>null</c>.</summary>
/// <param name="code">The Lua program source code.</param>
/// <param name="name">An optional name for this filter.</param>
virtual public void GetFilterProgram(out System.String code, out System.String name) {
- Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_program_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out code, out name);
+ Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_program_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out code, out name);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set a graphical filter program on this object.
/// <param name="code">The Lua program source code.</param>
/// <param name="name">An optional name for this filter.</param>
virtual public void SetFilterProgram(System.String code, System.String name) {
- Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_program_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),code, name);
+ Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_program_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),code, name);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the current state of the filter.
/// <param name="next_val">Next value, optional</param>
/// <param name="pos">Position, optional</param>
virtual public void GetFilterState(out System.String cur_state, out double cur_val, out System.String next_state, out double next_val, out double pos) {
- Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_state_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out cur_state, out cur_val, out next_state, out next_val, out pos);
+ Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_state_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out cur_state, out cur_val, out next_state, out next_val, out pos);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the current state of the filter.
/// <param name="next_val">Next value, optional</param>
/// <param name="pos">Position, optional</param>
virtual public void SetFilterState(System.String cur_state, double cur_val, System.String next_state, double next_val, double pos) {
- Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_state_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur_state, cur_val, next_state, next_val, pos);
+ Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_state_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur_state, cur_val, next_state, next_val, pos);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Gets the padding required to apply this filter.</summary>
/// <param name="t">Padding on the top</param>
/// <param name="b">Padding on the bottom</param>
virtual public void GetFilterPadding(out int l, out int r, out int t, out int b) {
- Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_padding_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out l, out r, out t, out b);
+ Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_padding_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out l, out r, out t, out b);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Bind an object to use as a mask or texture in a filter program.
/// <param name="name">Buffer name as used in the program.</param>
/// <returns>Object to use as a source of pixels.</returns>
virtual public Efl.Gfx.IEntity GetFilterSource(System.String name) {
- var _ret_var = Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_source_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),name);
+ var _ret_var = Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_source_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),name);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="name">Buffer name as used in the program.</param>
/// <param name="source">Object to use as a source of pixels.</param>
virtual public void SetFilterSource(System.String name, Efl.Gfx.IEntity source) {
- Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_source_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),name, source);
+ Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_source_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),name, source);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Extra data used by the filter program.
/// <param name="value">String value to use as data</param>
/// <param name="execute">If <c>true</c>, execute 'name = value'</param>
virtual public void GetFilterData(System.String name, out System.String value, out bool execute) {
- Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_data_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),name, out value, out execute);
+ Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_data_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),name, out value, out execute);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Extra data used by the filter program.
/// <param name="value">String value to use as data</param>
/// <param name="execute">If <c>true</c>, execute 'name = value'</param>
virtual public void SetFilterData(System.String name, System.String value, bool execute) {
- Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_data_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),name, value, execute);
+ Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_data_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),name, value, execute);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>How much the original image should be "grown" before blurring.
namespace Ui {
///<summary>Event argument wrapper for event <see cref="Efl.Ui.Win.FullscreenChangedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class WinFullscreenChangedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public bool arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.Win.MaximizedChangedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class WinMaximizedChangedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public bool arg { get; set; }
}
///<summary>Event argument wrapper for event <see cref="Efl.Ui.Win.WinRotationChangedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
public class WinWinRotationChangedEvt_Args : EventArgs {
///<summary>Actual event payload.</summary>
public int arg { get; set; }
/// <summary>Efl UI window class
/// (Since EFL 1.22)</summary>
[Efl.Ui.Win.NativeMethods]
+[Efl.Eo.BindingEntity]
public class Win : Efl.Ui.Widget, Efl.IConfig, Efl.IContent, Efl.IScreen, Efl.IText, Efl.Access.IWindow, Efl.Canvas.IScene, Efl.Input.IState, Efl.Ui.IWidgetFocusManager, Efl.Ui.Focus.IManager, Efl.Ui.Focus.IManagerWindowRoot
{
///<summary>Pointer to the native class description.</summary>
efl_ui_win_class_get();
/// <summary>Initializes a new instance of the <see cref="Win"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="winName">The window name. See <see cref="Efl.Ui.Win.SetWinName"/></param>
- /// <param name="winType">The type of the window. See <see cref="Efl.Ui.Win.SetWinType"/></param>
- /// <param name="accelPreference">The hardware acceleration preference for this window. See <see cref="Efl.Ui.Win.SetAccelPreference"/></param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
+ /// <param name="winName">The window name. See <see cref="Efl.Ui.Win.SetWinName" /></param>
+ /// <param name="winType">The type of the window. See <see cref="Efl.Ui.Win.SetWinType" /></param>
+ /// <param name="accelPreference">The hardware acceleration preference for this window. See <see cref="Efl.Ui.Win.SetAccelPreference" /></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
public Win(Efl.Object parent
- , System.String winName = null, Efl.Ui.WinType? winType = null, System.String accelPreference = null, System.String style = null) : base(efl_ui_win_class_get(), typeof(Win), parent)
+ , System.String winName = null, Efl.Ui.WinType? winType = null, System.String accelPreference = null, System.String style = null) : base(efl_ui_win_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(winName))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Win(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="Win"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected Win(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Win(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="Win"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected Win(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected Win(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_WIN_EVENT_DELETE_REQUEST";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_WIN_EVENT_WITHDRAWN";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_WIN_EVENT_MINIMIZED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_WIN_EVENT_NORMAL";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_WIN_EVENT_STICK";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_WIN_EVENT_UNSTICK";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_WIN_EVENT_FULLSCREEN_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_WIN_EVENT_MAXIMIZED_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_WIN_EVENT_INDICATOR_PROP_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_WIN_EVENT_WIN_ROTATION_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_WIN_EVENT_PROFILE_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_WIN_EVENT_WM_ROTATION_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_WIN_EVENT_THEME_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_WIN_EVENT_ELM_ACTION_BLOCK_MENU";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_WIN_EVENT_PAUSE";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_WIN_EVENT_RESUME";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_WINDOW_EVENT_WINDOW_CREATED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_WINDOW_EVENT_WINDOW_DESTROYED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_WINDOW_EVENT_WINDOW_ACTIVATED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_WINDOW_EVENT_WINDOW_DEACTIVATED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_WINDOW_EVENT_WINDOW_MAXIMIZED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_WINDOW_EVENT_WINDOW_MINIMIZED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_WINDOW_EVENT_WINDOW_RESTORED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CANVAS_SCENE_EVENT_SCENE_FOCUS_IN";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CANVAS_SCENE_EVENT_SCENE_FOCUS_OUT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CANVAS_SCENE_EVENT_OBJECT_FOCUS_IN";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CANVAS_SCENE_EVENT_OBJECT_FOCUS_OUT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CANVAS_SCENE_EVENT_RENDER_PRE";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CANVAS_SCENE_EVENT_RENDER_POST";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CANVAS_SCENE_EVENT_DEVICE_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CANVAS_SCENE_EVENT_DEVICE_ADDED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CANVAS_SCENE_EVENT_DEVICE_REMOVED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_REDIRECT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_FLUSH_PRE";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_COORDS_DIRTY";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_MANAGER_FOCUS_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_DIRTY_LOGIC_FREEZE_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// (Since EFL 1.22)</summary>
/// <returns>The type, one of <see cref="Efl.Ui.WinIndicatorMode"/>.</returns>
virtual public Efl.Ui.WinIndicatorMode GetIndicatorMode() {
- var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_indicator_mode_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_indicator_mode_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="type">The type, one of <see cref="Efl.Ui.WinIndicatorMode"/>.</param>
virtual public void SetIndicatorMode(Efl.Ui.WinIndicatorMode type) {
- Efl.Ui.Win.NativeMethods.efl_ui_win_indicator_mode_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),type);
+ Efl.Ui.Win.NativeMethods.efl_ui_win_indicator_mode_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),type);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the keyboard mode of the window.
/// (Since EFL 1.22)</summary>
/// <returns>The mode, one of <see cref="Efl.Ui.WinKeyboardMode"/>.</returns>
virtual public Efl.Ui.WinKeyboardMode GetKeyboardMode() {
- var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_keyboard_mode_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_keyboard_mode_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="mode">The mode, one of <see cref="Efl.Ui.WinKeyboardMode"/>.</param>
virtual public void SetKeyboardMode(Efl.Ui.WinKeyboardMode mode) {
- Efl.Ui.Win.NativeMethods.efl_ui_win_keyboard_mode_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),mode);
+ Efl.Ui.Win.NativeMethods.efl_ui_win_keyboard_mode_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),mode);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Defines which rotations this window supports.
/// <param name="allow_270">Rotated 270 degrees CCW (i.e. 90 CW).</param>
/// <returns>Returns <c>false</c> if available rotations were not specified.</returns>
virtual public bool GetWmAvailableRotations(out bool allow_0, out bool allow_90, out bool allow_180, out bool allow_270) {
- var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_wm_available_rotations_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out allow_0, out allow_90, out allow_180, out allow_270);
+ var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_wm_available_rotations_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out allow_0, out allow_90, out allow_180, out allow_270);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="allow_180">Rotated 180 degrees.</param>
/// <param name="allow_270">Rotated 270 degrees CCW (i.e. 90 CW).</param>
virtual public void SetWmAvailableRotations(bool allow_0, bool allow_90, bool allow_180, bool allow_270) {
- Efl.Ui.Win.NativeMethods.efl_ui_win_wm_available_rotations_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),allow_0, allow_90, allow_180, allow_270);
+ Efl.Ui.Win.NativeMethods.efl_ui_win_wm_available_rotations_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),allow_0, allow_90, allow_180, allow_270);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Available profiles on a window.
/// (Since EFL 1.22)</summary>
/// <returns>A list of profiles.</returns>
virtual public Eina.Array<System.String> GetWmAvailableProfiles() {
- var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_wm_available_profiles_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_wm_available_profiles_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return new Eina.Array<System.String>(_ret_var, false, false);
}
/// <param name="profiles">A list of profiles.</param>
virtual public void SetWmAvailableProfiles(Eina.Array<System.String> profiles) {
var _in_profiles = profiles.Handle;
- Efl.Ui.Win.NativeMethods.efl_ui_win_wm_available_profiles_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_profiles);
+ Efl.Ui.Win.NativeMethods.efl_ui_win_wm_available_profiles_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_profiles);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the constraints on the maximum width and height of a window relative to the width and height of the screen.
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> to restrict the window's maximum size.</returns>
virtual public bool GetScreenConstrain() {
- var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_screen_constrain_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_screen_constrain_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="constrain"><c>true</c> to restrict the window's maximum size.</param>
virtual public void SetScreenConstrain(bool constrain) {
- Efl.Ui.Win.NativeMethods.efl_ui_win_screen_constrain_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),constrain);
+ Efl.Ui.Win.NativeMethods.efl_ui_win_screen_constrain_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),constrain);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the window to be skipped by keyboard focus.
/// (Since EFL 1.22)</summary>
/// <param name="skip">The skip flag state (<c>true</c> if it is to be skipped).</param>
virtual public void SetPropFocusSkip(bool skip) {
- Efl.Ui.Win.NativeMethods.efl_ui_win_prop_focus_skip_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),skip);
+ Efl.Ui.Win.NativeMethods.efl_ui_win_prop_focus_skip_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),skip);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Window's autohide state.
/// (Since EFL 1.22)</summary>
/// <returns>If <c>true</c>, the window will automatically hide itself when closed.</returns>
virtual public bool GetAutohide() {
- var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_autohide_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_autohide_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="autohide">If <c>true</c>, the window will automatically hide itself when closed.</param>
virtual public void SetAutohide(bool autohide) {
- Efl.Ui.Win.NativeMethods.efl_ui_win_autohide_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),autohide);
+ Efl.Ui.Win.NativeMethods.efl_ui_win_autohide_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),autohide);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Enable quitting the main loop when this window is closed.
/// (Since EFL 1.22)</summary>
/// <returns>The exit code to use when exiting</returns>
virtual public Eina.Value GetExitOnClose() {
- var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_exit_on_close_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_exit_on_close_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="exit_code">The exit code to use when exiting</param>
virtual public void SetExitOnClose(Eina.Value exit_code) {
- Efl.Ui.Win.NativeMethods.efl_ui_win_exit_on_close_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),exit_code);
+ Efl.Ui.Win.NativeMethods.efl_ui_win_exit_on_close_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),exit_code);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the icon object used for the window.
/// (Since EFL 1.22)</summary>
/// <returns>The Evas image object to use for an icon.</returns>
virtual public Efl.Canvas.Object GetIconObject() {
- var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_icon_object_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_icon_object_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="icon">The image object to use for an icon.</param>
virtual public void SetIconObject(Efl.Canvas.Object icon) {
- Efl.Ui.Win.NativeMethods.efl_ui_win_icon_object_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),icon);
+ Efl.Ui.Win.NativeMethods.efl_ui_win_icon_object_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),icon);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the minimized state of a window.
/// (Since EFL 1.22)</summary>
/// <returns>If <c>true</c>, the window is minimized.</returns>
virtual public bool GetMinimized() {
- var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_minimized_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_minimized_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="state">If <c>true</c>, the window is minimized.</param>
virtual public void SetMinimized(bool state) {
- Efl.Ui.Win.NativeMethods.efl_ui_win_minimized_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),state);
+ Efl.Ui.Win.NativeMethods.efl_ui_win_minimized_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),state);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the maximized state of a window.
/// (Since EFL 1.22)</summary>
/// <returns>If <c>true</c>, the window is maximized.</returns>
virtual public bool GetMaximized() {
- var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_maximized_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_maximized_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="maximized">If <c>true</c>, the window is maximized.</param>
virtual public void SetMaximized(bool maximized) {
- Efl.Ui.Win.NativeMethods.efl_ui_win_maximized_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),maximized);
+ Efl.Ui.Win.NativeMethods.efl_ui_win_maximized_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),maximized);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the fullscreen state of a window.
/// (Since EFL 1.22)</summary>
/// <returns>If <c>true</c>, the window is fullscreen.</returns>
virtual public bool GetFullscreen() {
- var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_fullscreen_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_fullscreen_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="fullscreen">If <c>true</c>, the window is fullscreen.</param>
virtual public void SetFullscreen(bool fullscreen) {
- Efl.Ui.Win.NativeMethods.efl_ui_win_fullscreen_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),fullscreen);
+ Efl.Ui.Win.NativeMethods.efl_ui_win_fullscreen_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),fullscreen);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the sticky state of the window.
/// (Since EFL 1.22)</summary>
/// <returns>If <c>true</c>, the window's sticky state is enabled.</returns>
virtual public bool GetSticky() {
- var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_sticky_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_sticky_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="sticky">If <c>true</c>, the window's sticky state is enabled.</param>
virtual public void SetSticky(bool sticky) {
- Efl.Ui.Win.NativeMethods.efl_ui_win_sticky_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),sticky);
+ Efl.Ui.Win.NativeMethods.efl_ui_win_sticky_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),sticky);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the urgent state of a window.
/// (Since EFL 1.22)</summary>
/// <returns>The mode of a urgent window, one of <see cref="Efl.Ui.WinUrgentMode"/>.</returns>
virtual public Efl.Ui.WinUrgentMode GetUrgent() {
- var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_urgent_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_urgent_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="urgent">The mode of a urgent window, one of <see cref="Efl.Ui.WinUrgentMode"/>.</param>
virtual public void SetUrgent(Efl.Ui.WinUrgentMode urgent) {
- Efl.Ui.Win.NativeMethods.efl_ui_win_urgent_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),urgent);
+ Efl.Ui.Win.NativeMethods.efl_ui_win_urgent_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),urgent);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the modal state of a window.
/// (Since EFL 1.22)</summary>
/// <returns>The mode of a window, one of <see cref="Efl.Ui.WinModalMode"/>.</returns>
virtual public Efl.Ui.WinModalMode GetModal() {
- var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_modal_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_modal_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="modal">The mode of a window, one of <see cref="Efl.Ui.WinModalMode"/>.</param>
virtual public void SetModal(Efl.Ui.WinModalMode modal) {
- Efl.Ui.Win.NativeMethods.efl_ui_win_modal_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),modal);
+ Efl.Ui.Win.NativeMethods.efl_ui_win_modal_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),modal);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the borderless state of a window.
/// (Since EFL 1.22)</summary>
/// <returns>If <c>true</c>, the window is borderless.</returns>
virtual public bool GetBorderless() {
- var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_borderless_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_borderless_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="borderless">If <c>true</c>, the window is borderless.</param>
virtual public void SetBorderless(bool borderless) {
- Efl.Ui.Win.NativeMethods.efl_ui_win_borderless_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),borderless);
+ Efl.Ui.Win.NativeMethods.efl_ui_win_borderless_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),borderless);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the role of the window.
/// (Since EFL 1.22)</summary>
/// <returns>The role to set.</returns>
virtual public System.String GetWinRole() {
- var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_role_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_role_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="role">The role to set.</param>
virtual public void SetWinRole(System.String role) {
- Efl.Ui.Win.NativeMethods.efl_ui_win_role_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),role);
+ Efl.Ui.Win.NativeMethods.efl_ui_win_role_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),role);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The window name.
/// (Since EFL 1.22)</summary>
/// <returns>Window name</returns>
virtual public System.String GetWinName() {
- var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_name_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_name_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="name">Window name</param>
virtual public void SetWinName(System.String name) {
- Efl.Ui.Win.NativeMethods.efl_ui_win_name_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),name);
+ Efl.Ui.Win.NativeMethods.efl_ui_win_name_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),name);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>If the object is not window object, returns <c>unknown</c>.
/// (Since EFL 1.22)</summary>
/// <returns>Window type</returns>
virtual public Efl.Ui.WinType GetWinType() {
- var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_type_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_type_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="type">Window type</param>
virtual public void SetWinType(Efl.Ui.WinType type) {
- Efl.Ui.Win.NativeMethods.efl_ui_win_type_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),type);
+ Efl.Ui.Win.NativeMethods.efl_ui_win_type_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),type);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This will return the value of "accel_preference" when the window was created.
/// (Since EFL 1.22)</summary>
/// <returns>Acceleration</returns>
virtual public System.String GetAccelPreference() {
- var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_accel_preference_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_accel_preference_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="accel">Acceleration</param>
virtual public void SetAccelPreference(System.String accel) {
- Efl.Ui.Win.NativeMethods.efl_ui_win_accel_preference_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),accel);
+ Efl.Ui.Win.NativeMethods.efl_ui_win_accel_preference_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),accel);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the alpha channel state of a window.
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if the window alpha channel is enabled, <c>false</c> otherwise.</returns>
virtual public bool GetAlpha() {
- var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_alpha_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_alpha_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="alpha"><c>true</c> if the window alpha channel is enabled, <c>false</c> otherwise.</param>
virtual public void SetAlpha(bool alpha) {
- Efl.Ui.Win.NativeMethods.efl_ui_win_alpha_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),alpha);
+ Efl.Ui.Win.NativeMethods.efl_ui_win_alpha_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),alpha);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the stack ID string of the window as an opaque string.
/// (Since EFL 1.22)</summary>
/// <returns>An opaque string that has no specific format but identifies a specific unique window on the display.</returns>
virtual public System.String GetStackId() {
- var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_stack_id_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_stack_id_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>An opaque string that has no specific format, but identifies a specific unique window on the display.</returns>
virtual public System.String GetStackMasterId() {
- var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_stack_master_id_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_stack_master_id_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="id">An opaque string that has no specific format, but identifies a specific unique window on the display.</param>
virtual public void SetStackMasterId(System.String id) {
- Efl.Ui.Win.NativeMethods.efl_ui_win_stack_master_id_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),id);
+ Efl.Ui.Win.NativeMethods.efl_ui_win_stack_master_id_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),id);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The stack base state of this window
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if this is a stack base window, <c>false</c> otherwise.</returns>
virtual public bool GetStackBase() {
- var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_stack_base_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_stack_base_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="kw_base"><c>true</c> if this is a stack base window, <c>false</c> otherwise.</param>
virtual public void SetStackBase(bool kw_base) {
- Efl.Ui.Win.NativeMethods.efl_ui_win_stack_base_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),kw_base);
+ Efl.Ui.Win.NativeMethods.efl_ui_win_stack_base_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),kw_base);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Enable quitting the main loop when all windows are closed.
/// (Since EFL 1.22)</summary>
/// <returns>Base size (hint) in pixels.</returns>
virtual public Eina.Size2D GetHintBase() {
- var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_hint_base_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_hint_base_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="sz">Base size (hint) in pixels.</param>
virtual public void SetHintBase(Eina.Size2D sz) {
Eina.Size2D.NativeStruct _in_sz = sz;
- Efl.Ui.Win.NativeMethods.efl_ui_win_hint_base_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_sz);
+ Efl.Ui.Win.NativeMethods.efl_ui_win_hint_base_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_sz);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Step size for objects with sizing restrictions.
/// (Since EFL 1.22)</summary>
/// <returns>Step size (hint) in pixels.</returns>
virtual public Eina.Size2D GetHintStep() {
- var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_hint_step_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_hint_step_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="sz">Step size (hint) in pixels.</param>
virtual public void SetHintStep(Eina.Size2D sz) {
Eina.Size2D.NativeStruct _in_sz = sz;
- Efl.Ui.Win.NativeMethods.efl_ui_win_hint_step_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_sz);
+ Efl.Ui.Win.NativeMethods.efl_ui_win_hint_step_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_sz);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The rotation of this window
/// (Since EFL 1.22)</summary>
/// <returns>The rotation of the window</returns>
virtual public int GetWinRotation() {
- var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_rotation_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_rotation_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="rotation">The rotation of the window</param>
virtual public void SetWinRotation(int rotation) {
- Efl.Ui.Win.NativeMethods.efl_ui_win_rotation_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),rotation);
+ Efl.Ui.Win.NativeMethods.efl_ui_win_rotation_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),rotation);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the enabled value of the focus highlight for this window.
/// (Since EFL 1.22)</summary>
/// <returns>The enabled value for the highlight.</returns>
virtual public bool GetFocusHighlightEnabled() {
- var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_focus_highlight_enabled_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_focus_highlight_enabled_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="enabled">The enabled value for the highlight.</param>
virtual public void SetFocusHighlightEnabled(bool enabled) {
- Efl.Ui.Win.NativeMethods.efl_ui_win_focus_highlight_enabled_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),enabled);
+ Efl.Ui.Win.NativeMethods.efl_ui_win_focus_highlight_enabled_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),enabled);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control the widget focus highlight style.
/// (Since EFL 1.22)</summary>
/// <returns>The name of the focus highlight style.</returns>
virtual public System.String GetFocusHighlightStyle() {
- var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_focus_highlight_style_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_focus_highlight_style_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="style">The name of the focus highlight style.</param>
/// <returns><c>true</c> on success, <c>false</c> otherwise.</returns>
virtual public bool SetFocusHighlightStyle(System.String style) {
- var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_focus_highlight_style_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),style);
+ var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_focus_highlight_style_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),style);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The enabled value for the highlight animation.</returns>
virtual public bool GetFocusHighlightAnimate() {
- var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_focus_highlight_animate_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_focus_highlight_animate_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="animate">The enabled value for the highlight animation.</param>
virtual public void SetFocusHighlightAnimate(bool animate) {
- Efl.Ui.Win.NativeMethods.efl_ui_win_focus_highlight_animate_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),animate);
+ Efl.Ui.Win.NativeMethods.efl_ui_win_focus_highlight_animate_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),animate);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Pop (delete) all windows in the stack above this window.
/// This will try and delete all the windows in the stack that are above the window.
/// (Since EFL 1.22)</summary>
virtual public void StackPopTo() {
- Efl.Ui.Win.NativeMethods.efl_ui_win_stack_pop_to_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Win.NativeMethods.efl_ui_win_stack_pop_to_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Activate a window object.
/// Note: This is just a request that a Window Manager may ignore, so calling this function does not ensure in any way that the window will be the active one afterwards.
/// (Since EFL 1.22)</summary>
virtual public void Activate() {
- Efl.Ui.Win.NativeMethods.efl_ui_win_activate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Win.NativeMethods.efl_ui_win_activate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Center a window on the screen.
/// <param name="h">If <c>true</c>, center horizontally. If <c>false</c>, do not change horizontal location.</param>
/// <param name="v">If <c>true</c>, center vertically. If <c>false</c>, do not change vertical location.</param>
virtual public void Center(bool h, bool v) {
- Efl.Ui.Win.NativeMethods.efl_ui_win_center_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),h, v);
+ Efl.Ui.Win.NativeMethods.efl_ui_win_center_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),h, v);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Start moving or resizing the window.
/// <param name="mode">The requested move or resize mode.</param>
/// <returns><c>true</c> if the request was successfully sent to the display server, <c>false</c> in case of error.</returns>
virtual public bool MoveResizeStart(Efl.Ui.WinMoveResizeMode mode) {
- var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_move_resize_start_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),mode);
+ var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_move_resize_start_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),mode);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="hover"><c>false</c> by default, <c>true</c> means to include fingers that are currently hovering.</param>
/// <returns>Iterator to pointer positions</returns>
virtual public Eina.Iterator<Efl.Input.Pointer> PointerIterate(bool hover) {
- var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_pointer_iterate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),hover);
+ var _ret_var = Efl.Ui.Win.NativeMethods.efl_ui_win_pointer_iterate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),hover);
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Input.Pointer>(_ret_var, false, false);
+ return new Eina.Iterator<Efl.Input.Pointer>(_ret_var, false);
}
/// <summary>A generic configuration value, referred to by name.</summary>
/// <param name="name">Configuration option name.</param>
/// <returns>The value. It will be empty if it doesn't exist. The caller must free it after use (using <c>eina_value_free</c>() in C).</returns>
virtual public Eina.Value GetConfig(System.String name) {
- var _ret_var = Efl.IConfigConcrete.NativeMethods.efl_config_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),name);
+ var _ret_var = Efl.IConfigConcrete.NativeMethods.efl_config_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),name);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="value">Configuration option value. May be <c>null</c> if not found.</param>
/// <returns><c>false</c> in case of error: value type was invalid, the config can't be changed, config does not exist...</returns>
virtual public bool SetConfig(System.String name, Eina.Value value) {
- var _ret_var = Efl.IConfigConcrete.NativeMethods.efl_config_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),name, value);
+ var _ret_var = Efl.IConfigConcrete.NativeMethods.efl_config_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),name, value);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The sub-object.</returns>
virtual public Efl.Gfx.IEntity GetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="content">The sub-object.</param>
/// <returns><c>true</c> if <c>content</c> was successfully swallowed.</returns>
virtual public bool SetContent(Efl.Gfx.IEntity content) {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),content);
+ 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);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Unswallowed object</returns>
virtual public Efl.Gfx.IEntity UnsetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The screen size in pixels.</returns>
virtual public Eina.Size2D GetScreenSizeInPixels() {
- var _ret_var = Efl.IScreenConcrete.NativeMethods.efl_screen_size_in_pixels_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IScreenConcrete.NativeMethods.efl_screen_size_in_pixels_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The screen scaling factor.</returns>
virtual public float GetScreenScaleFactor() {
- var _ret_var = Efl.IScreenConcrete.NativeMethods.efl_screen_scale_factor_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IScreenConcrete.NativeMethods.efl_screen_scale_factor_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Screen rotation in degrees.</returns>
virtual public int GetScreenRotation() {
- var _ret_var = Efl.IScreenConcrete.NativeMethods.efl_screen_rotation_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IScreenConcrete.NativeMethods.efl_screen_rotation_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="xdpi">Horizontal DPI.</param>
/// <param name="ydpi">Vertical DPI.</param>
virtual public void GetScreenDpi(out int xdpi, out int ydpi) {
- Efl.IScreenConcrete.NativeMethods.efl_screen_dpi_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out xdpi, out ydpi);
+ Efl.IScreenConcrete.NativeMethods.efl_screen_dpi_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out xdpi, out ydpi);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Retrieves the text string currently being displayed by the given text object.
/// (Since EFL 1.22)</summary>
/// <returns>Text string to display on it.</returns>
virtual public System.String GetText() {
- var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="text">Text string to display on it.</param>
virtual public void SetText(System.String text) {
- Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),text);
+ Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),text);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the maximum image size the canvas can possibly handle.
/// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
virtual public bool GetImageMaxSize(out Eina.Size2D max) {
var _out_max = new Eina.Size2D.NativeStruct();
- var _ret_var = Efl.Canvas.ISceneConcrete.NativeMethods.efl_canvas_scene_image_max_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out _out_max);
+ var _ret_var = Efl.Canvas.ISceneConcrete.NativeMethods.efl_canvas_scene_image_max_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out _out_max);
Eina.Error.RaiseIfUnhandledException();
max = _out_max;
return _ret_var;
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if currently calculating group objects.</returns>
virtual public bool GetGroupObjectsCalculating() {
- var _ret_var = Efl.Canvas.ISceneConcrete.NativeMethods.efl_canvas_scene_group_objects_calculating_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.ISceneConcrete.NativeMethods.efl_canvas_scene_group_objects_calculating_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="name">The name of the seat to find.</param>
/// <returns>The device or seat, <c>null</c> if not found.</returns>
virtual public Efl.Input.Device GetDevice(System.String name) {
- var _ret_var = Efl.Canvas.ISceneConcrete.NativeMethods.efl_canvas_scene_device_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),name);
+ var _ret_var = Efl.Canvas.ISceneConcrete.NativeMethods.efl_canvas_scene_device_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),name);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="id">The id of the seat to find.</param>
/// <returns>The seat or <c>null</c> if not found.</returns>
virtual public Efl.Input.Device GetSeat(int id) {
- var _ret_var = Efl.Canvas.ISceneConcrete.NativeMethods.efl_canvas_scene_seat_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),id);
+ var _ret_var = Efl.Canvas.ISceneConcrete.NativeMethods.efl_canvas_scene_seat_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),id);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The default seat or <c>null</c> if one does not exist.</returns>
virtual public Efl.Input.Device GetSeatDefault() {
- var _ret_var = Efl.Canvas.ISceneConcrete.NativeMethods.efl_canvas_scene_seat_default_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.ISceneConcrete.NativeMethods.efl_canvas_scene_seat_default_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <returns><c>true</c> if a pointer exists for the given seat, otherwise <c>false</c>.</returns>
virtual public bool GetPointerPosition(Efl.Input.Device seat, out Eina.Position2D pos) {
var _out_pos = new Eina.Position2D.NativeStruct();
- var _ret_var = Efl.Canvas.ISceneConcrete.NativeMethods.efl_canvas_scene_pointer_position_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),seat, out _out_pos);
+ var _ret_var = Efl.Canvas.ISceneConcrete.NativeMethods.efl_canvas_scene_pointer_position_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),seat, out _out_pos);
Eina.Error.RaiseIfUnhandledException();
pos = _out_pos;
return _ret_var;
/// <summary>Call user-provided <c>calculate</c> group functions and unset the flag signalling that the object needs to get recalculated to all group objects in the canvas.
/// (Since EFL 1.22)</summary>
virtual public void CalculateGroupObjects() {
- Efl.Canvas.ISceneConcrete.NativeMethods.efl_canvas_scene_group_objects_calculate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Canvas.ISceneConcrete.NativeMethods.efl_canvas_scene_group_objects_calculate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Retrieve a list of objects at a given position in a canvas.
/// <returns>The list of objects that are over the given position in <c>e</c>.</returns>
virtual public Eina.Iterator<Efl.Gfx.IEntity> GetObjectsAtXy(Eina.Position2D pos, bool include_pass_events_objects, bool include_hidden_objects) {
Eina.Position2D.NativeStruct _in_pos = pos;
- var _ret_var = Efl.Canvas.ISceneConcrete.NativeMethods.efl_canvas_scene_objects_at_xy_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_pos, include_pass_events_objects, include_hidden_objects);
+ var _ret_var = Efl.Canvas.ISceneConcrete.NativeMethods.efl_canvas_scene_objects_at_xy_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_pos, include_pass_events_objects, include_hidden_objects);
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true, false);
+ return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true);
}
/// <summary>Retrieve the object stacked at the top of a given position in a canvas.
/// This function will traverse all the layers of the given canvas, from top to bottom, querying for objects with areas covering the given position. The user can exclude from the query objects which are hidden and/or which are set to pass events.
/// <returns>The canvas object that is over all other objects at the given position.</returns>
virtual public Efl.Gfx.IEntity GetObjectTopAtXy(Eina.Position2D pos, bool include_pass_events_objects, bool include_hidden_objects) {
Eina.Position2D.NativeStruct _in_pos = pos;
- var _ret_var = Efl.Canvas.ISceneConcrete.NativeMethods.efl_canvas_scene_object_top_at_xy_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_pos, include_pass_events_objects, include_hidden_objects);
+ var _ret_var = Efl.Canvas.ISceneConcrete.NativeMethods.efl_canvas_scene_object_top_at_xy_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_pos, include_pass_events_objects, include_hidden_objects);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <returns>Iterator to objects</returns>
virtual public Eina.Iterator<Efl.Gfx.IEntity> GetObjectsInRectangle(Eina.Rect rect, bool include_pass_events_objects, bool include_hidden_objects) {
Eina.Rect.NativeStruct _in_rect = rect;
- var _ret_var = Efl.Canvas.ISceneConcrete.NativeMethods.efl_canvas_scene_objects_in_rectangle_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_rect, include_pass_events_objects, include_hidden_objects);
+ var _ret_var = Efl.Canvas.ISceneConcrete.NativeMethods.efl_canvas_scene_objects_in_rectangle_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_rect, include_pass_events_objects, include_hidden_objects);
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true, false);
+ return new Eina.Iterator<Efl.Gfx.IEntity>(_ret_var, true);
}
/// <summary>Retrieve the canvas object stacked at the top of a given rectangular region in a canvas
/// This function will traverse all the layers of the given canvas, from top to bottom, querying for objects with areas overlapping with the given rectangular region. The user can exclude from the query objects which are hidden and/or which are set to pass events.
/// <returns>The object that is over all other objects at the given rectangular region.</returns>
virtual public Efl.Gfx.IEntity GetObjectTopInRectangle(Eina.Rect rect, bool include_pass_events_objects, bool include_hidden_objects) {
Eina.Rect.NativeStruct _in_rect = rect;
- var _ret_var = Efl.Canvas.ISceneConcrete.NativeMethods.efl_canvas_scene_object_top_in_rectangle_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_rect, include_pass_events_objects, include_hidden_objects);
+ var _ret_var = Efl.Canvas.ISceneConcrete.NativeMethods.efl_canvas_scene_object_top_in_rectangle_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_rect, include_pass_events_objects, include_hidden_objects);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>An iterator over the attached seats.</returns>
virtual public Eina.Iterator<Efl.Input.Device> Seats() {
- var _ret_var = Efl.Canvas.ISceneConcrete.NativeMethods.efl_canvas_scene_seats_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.ISceneConcrete.NativeMethods.efl_canvas_scene_seats_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Input.Device>(_ret_var, true, false);
+ return new Eina.Iterator<Efl.Input.Device>(_ret_var, true);
}
/// <summary>Indicates whether a key modifier is on, such as Ctrl, Shift, ...
/// (Since EFL 1.22)</summary>
/// <param name="seat">The seat device, may be <c>null</c></param>
/// <returns><c>true</c> if the key modifier is pressed.</returns>
virtual public bool GetModifierEnabled(Efl.Input.Modifier mod, Efl.Input.Device seat) {
- var _ret_var = Efl.Input.IStateConcrete.NativeMethods.efl_input_modifier_enabled_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),mod, seat);
+ var _ret_var = Efl.Input.IStateConcrete.NativeMethods.efl_input_modifier_enabled_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),mod, seat);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="seat">The seat device, may be <c>null</c></param>
/// <returns><c>true</c> if the key lock is on.</returns>
virtual public bool GetLockEnabled(Efl.Input.Lock kw_lock, Efl.Input.Device seat) {
- var _ret_var = Efl.Input.IStateConcrete.NativeMethods.efl_input_lock_enabled_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),kw_lock, seat);
+ var _ret_var = Efl.Input.IStateConcrete.NativeMethods.efl_input_lock_enabled_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),kw_lock, seat);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="root">The logical root object for focus.</param>
/// <returns>The focus manager.</returns>
virtual public Efl.Ui.Focus.IManager FocusManagerCreate(Efl.Ui.Focus.IObject root) {
- var _ret_var = Efl.Ui.IWidgetFocusManagerConcrete.NativeMethods.efl_ui_widget_focus_manager_create_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),root);
+ var _ret_var = Efl.Ui.IWidgetFocusManagerConcrete.NativeMethods.efl_ui_widget_focus_manager_create_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),root);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Currently focused element.</returns>
virtual public Efl.Ui.Focus.IObject GetManagerFocus() {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_focus_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_focus_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="focus">Currently focused element.</param>
virtual public void SetManagerFocus(Efl.Ui.Focus.IObject focus) {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_focus_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),focus);
+ Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_focus_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),focus);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Add another manager to serve the move requests.
/// (Since EFL 1.22)</summary>
/// <returns>The redirect manager.</returns>
virtual public Efl.Ui.Focus.IManager GetRedirect() {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_redirect_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_redirect_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="redirect">The redirect manager.</param>
virtual public void SetRedirect(Efl.Ui.Focus.IManager redirect) {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_redirect_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),redirect);
+ Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_redirect_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),redirect);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The list of elements which are at the border of the graph.
/// (Since EFL 1.22)</summary>
/// <returns>An iterator over the border objects.</returns>
virtual public Eina.Iterator<Efl.Ui.Focus.IObject> GetBorderElements() {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_border_elements_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_border_elements_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false, false);
+ return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false);
}
/// <summary>Get all elements that are at the border of the viewport
/// Every element returned by this is located inside the viewport rectangle, but has a right, left, down or up neighbor outside the viewport.
/// <returns>The list of border objects.</returns>
virtual public Eina.Iterator<Efl.Ui.Focus.IObject> GetViewportElements(Eina.Rect viewport) {
Eina.Rect.NativeStruct _in_viewport = viewport;
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_viewport_elements_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_viewport);
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_viewport_elements_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_viewport);
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false, false);
+ return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false);
}
/// <summary>Root node for all logical subtrees.
/// This property can only be set once.
/// (Since EFL 1.22)</summary>
/// <returns>Will be registered into this manager object.</returns>
virtual public Efl.Ui.Focus.IObject GetRoot() {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_root_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_root_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="root">Will be registered into this manager object.</param>
/// <returns>If <c>true</c>, this is the root node</returns>
virtual public bool SetRoot(Efl.Ui.Focus.IObject root) {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_root_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),root);
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_root_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),root);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="direction">The direction to move to.</param>
/// <returns>The element which is now focused.</returns>
virtual public Efl.Ui.Focus.IObject Move(Efl.Ui.Focus.Direction direction) {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_move_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),direction);
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_move_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),direction);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="logical">Wether you want to have a logical node as result or a non-logical. Note, in a <see cref="Efl.Ui.Focus.IManager.Move"/> call no logical node will get focus.</param>
/// <returns>Object that would receive focus if moved in the given direction.</returns>
virtual public Efl.Ui.Focus.IObject MoveRequest(Efl.Ui.Focus.Direction direction, Efl.Ui.Focus.IObject child, bool logical) {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_request_move_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),direction, child, logical);
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_request_move_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),direction, child, logical);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="root">Parent for returned child.</param>
/// <returns>Child of passed parameter.</returns>
virtual public Efl.Ui.Focus.IObject RequestSubchild(Efl.Ui.Focus.IObject root) {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_request_subchild_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),root);
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_request_subchild_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),root);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="child">The child object to inspect.</param>
/// <returns>The list of relations starting from <c>child</c>.</returns>
virtual public Efl.Ui.Focus.Relations Fetch(Efl.Ui.Focus.IObject child) {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_fetch_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),child);
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_fetch_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),child);
Eina.Error.RaiseIfUnhandledException();
var __ret_tmp = Eina.PrimitiveConversion.PointerToManaged<Efl.Ui.Focus.Relations>(_ret_var);
Marshal.FreeHGlobal(_ret_var);
/// (Since EFL 1.22)</summary>
/// <returns>Last object.</returns>
virtual public Efl.Ui.Focus.ManagerLogicalEndDetail LogicalEnd() {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_logical_end_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_logical_end_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// You should focus another element immediately after calling this, in order to always have a focused object.
/// (Since EFL 1.22)</summary>
virtual public void ResetHistory() {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_reset_history_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_reset_history_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Remove the uppermost history element, and focus the previous one.
/// If there is an element that was focused before, it will be used. Otherwise, the best fitting element from the registered elements will be focused.
/// (Since EFL 1.22)</summary>
virtual public void PopHistoryStack() {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_pop_history_stack_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_pop_history_stack_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Called when this manager is set as redirect.
/// <param name="direction">The direction in which this should be setup.</param>
/// <param name="entry">The object that caused this manager to be redirect.</param>
virtual public void SetupOnFirstTouch(Efl.Ui.Focus.Direction direction, Efl.Ui.Focus.IObject entry) {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_setup_on_first_touch_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),direction, entry);
+ Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_setup_on_first_touch_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),direction, entry);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This disables the cache invalidation when an object is moved.
/// Even if an object is moved, the focus manager will not recalculate its relations. This can be used when you know that the set of widgets in the focus manager is moved the same way, so the relations between the widets in the set do not change and the complex calculations can be avoided. Use <see cref="Efl.Ui.Focus.IManager.DirtyLogicUnfreeze"/> to re-enable relationship calculation.
/// (Since EFL 1.22)</summary>
virtual public void FreezeDirtyLogic() {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_dirty_logic_freeze_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_dirty_logic_freeze_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>This enables the cache invalidation when an object is moved.
/// This is the counterpart to <see cref="Efl.Ui.Focus.IManager.FreezeDirtyLogic"/>.
/// (Since EFL 1.22)</summary>
virtual public void DirtyLogicUnfreeze() {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_dirty_logic_unfreeze_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_dirty_logic_unfreeze_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>In some environments you may have an indicator that shows battery status, reception, time etc. This is the indicator.
/// These are hints set on a window so that a running Window Manager knows how the window should be handled and/or what kind of decorations it should have.
///
/// Currently, only the X11 backed engines use them.</summary>
+[Efl.Eo.BindingEntity]
public enum WinType
{
/// <summary>Default, unknown, type</summary>
Notification = 12,
/// <summary>A window holding the contents of a combo box. Not usually used in the EFL.</summary>
Combo = 13,
+/// <summary>Internal use.</summary>
Dnd = 14,
+/// <summary>Internal use.</summary>
InlinedImage = 15,
+/// <summary>Internal use.</summary>
SocketImage = 16,
/// <summary>Used for naviframe style replacement with a back button instead of a close button.</summary>
NaviframeBasic = 17,
+/// <summary>Internal use.</summary>
Fake = 18,
}
/// <summary>The different layouts that can be requested for the virtual keyboard.
/// When the application window is being managed by Illume it may request any of the following layouts for the virtual keyboard.</summary>
+[Efl.Eo.BindingEntity]
public enum WinKeyboardMode
{
/// <summary>Unknown keyboard state</summary>
/// <summary>Defines the type indicator that can be shown
/// (Since EFL 1.22)</summary>
+[Efl.Eo.BindingEntity]
public enum WinIndicatorMode
{
/// <summary>Request to deactivate the indicator</summary>
namespace Ui {
/// <summary>Defines the mode of a modal window</summary>
+[Efl.Eo.BindingEntity]
public enum WinModalMode
{
/// <summary>The window is not modal window.</summary>
namespace Ui {
/// <summary>Defines the mode of a urgent window.</summary>
+[Efl.Eo.BindingEntity]
public enum WinUrgentMode
{
/// <summary>The window is not a urgent window.</summary>
///
/// Currently, only the following 9 combinations are permitted. More combinations may be added in future: 1. move, 2. top, 3. bottom, 4. left, 5. right, 6. top | left, 7. top | right, 8. bottom | left, 9. bottom | right.
/// (Since EFL 1.22)</summary>
+[Efl.Eo.BindingEntity]
public enum WinMoveResizeMode
{
/// <summary>Start moving window</summary>
/// <summary>List of window effect.
/// These list indicates types of window effect. When the effect started or done, the Elm_Win is notified with type information of window effect.</summary>
+[Efl.Eo.BindingEntity]
public enum WinEffectType
{
Unknown = 0,
namespace Ui {
+[Efl.Eo.BindingEntity]
public enum WinConformantProperty
{
Default = 0,
/// <summary>An inlined window.
/// The window is rendered onto an image buffer. No actual window is created, instead the window and all of its contents will be rendered to an image buffer. This allows child windows inside a parent just like any other object. You can also do other things like apply map effects. This window must have a valid <see cref="Efl.Canvas.Object"/> parent.</summary>
[Efl.Ui.WinInlined.NativeMethods]
+[Efl.Eo.BindingEntity]
public class WinInlined : Efl.Ui.Win
{
///<summary>Pointer to the native class description.</summary>
efl_ui_win_inlined_class_get();
/// <summary>Initializes a new instance of the <see cref="WinInlined"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
- /// <param name="winName">The window name. See <see cref="Efl.Ui.Win.SetWinName"/></param>
- /// <param name="winType">The type of the window. See <see cref="Efl.Ui.Win.SetWinType"/></param>
- /// <param name="accelPreference">The hardware acceleration preference for this window. See <see cref="Efl.Ui.Win.SetAccelPreference"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
+ /// <param name="winName">The window name. See <see cref="Efl.Ui.Win.SetWinName" /></param>
+ /// <param name="winType">The type of the window. See <see cref="Efl.Ui.Win.SetWinType" /></param>
+ /// <param name="accelPreference">The hardware acceleration preference for this window. See <see cref="Efl.Ui.Win.SetAccelPreference" /></param>
public WinInlined(Efl.Object parent
- , System.String style = null, System.String winName = null, Efl.Ui.WinType? winType = null, System.String accelPreference = null) : base(efl_ui_win_inlined_class_get(), typeof(WinInlined), parent)
+ , System.String style = null, System.String winName = null, Efl.Ui.WinType? winType = null, System.String accelPreference = null) : base(efl_ui_win_inlined_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected WinInlined(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="WinInlined"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected WinInlined(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected WinInlined(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="WinInlined"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected WinInlined(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected WinInlined(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>This property holds the parent object in the parent canvas.</summary>
/// <returns>An object in the parent canvas.</returns>
virtual public Efl.Canvas.Object GetInlinedParent() {
- var _ret_var = Efl.Ui.WinInlined.NativeMethods.efl_ui_win_inlined_parent_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Ui.WinInlined.NativeMethods.efl_ui_win_inlined_parent_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Efl UI window interal part class</summary>
[Efl.Ui.WinPart.NativeMethods]
+[Efl.Eo.BindingEntity]
public class WinPart : Efl.Ui.WidgetPart, Efl.IContent, Efl.IFile, Efl.Gfx.IColor
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="WinPart"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public WinPart(Efl.Object parent= null
- ) : base(efl_ui_win_part_class_get(), typeof(WinPart), parent)
+ ) : base(efl_ui_win_part_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected WinPart(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="WinPart"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected WinPart(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected WinPart(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="WinPart"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected WinPart(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected WinPart(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
/// (Since EFL 1.22)</summary>
/// <returns>The sub-object.</returns>
virtual public Efl.Gfx.IEntity GetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="content">The sub-object.</param>
/// <returns><c>true</c> if <c>content</c> was successfully swallowed.</returns>
virtual public bool SetContent(Efl.Gfx.IEntity content) {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),content);
+ 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);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>Unswallowed object</returns>
virtual public Efl.Gfx.IEntity UnsetContent() {
- var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The handle to the <see cref="Eina.File"/> that will be used</returns>
virtual public Eina.File GetMmap() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="f">The handle to the <see cref="Eina.File"/> that will be used</param>
/// <returns>0 on success, error code otherwise</returns>
virtual public Eina.Error SetMmap(Eina.File f) {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),f);
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),f);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The file path.</returns>
virtual public System.String GetFile() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="file">The file path.</param>
/// <returns>0 on success, error code otherwise</returns>
virtual public Eina.Error SetFile(System.String file) {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),file);
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),file);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>The group that the data belongs to. See the class documentation for particular implementations of this interface to see how this property is used.</returns>
virtual public System.String GetKey() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_key_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_key_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="key">The group that the data belongs to. See the class documentation for particular implementations of this interface to see how this property is used.</param>
virtual public void SetKey(System.String key) {
- Efl.IFileConcrete.NativeMethods.efl_file_key_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),key);
+ Efl.IFileConcrete.NativeMethods.efl_file_key_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),key);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the load state of the object.
/// (Since EFL 1.22)</summary>
/// <returns><c>true</c> if the object is loaded, <c>false</c> otherwise.</returns>
virtual public bool GetLoaded() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_loaded_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_loaded_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <returns>0 on success, error code otherwise</returns>
virtual public Eina.Error Load() {
- var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_load_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_load_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Calling <see cref="Efl.IFile.Unload"/> on an object which is not currently loaded will have no effect.
/// (Since EFL 1.22)</summary>
virtual public void Unload() {
- Efl.IFileConcrete.NativeMethods.efl_file_unload_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ Efl.IFileConcrete.NativeMethods.efl_file_unload_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Retrieves the general/main color of the given Evas object.
/// Use null pointers on the components you're not interested in: they'll be ignored by the function.
/// (Since EFL 1.22)</summary>
virtual public void GetColor(out int r, out int g, out int b, out int a) {
- Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out r, out g, out b, out a);
+ Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out r, out g, out b, out a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Sets the general/main color of the given Evas object to the given one.
/// These color values are expected to be premultiplied by alpha.
/// (Since EFL 1.22)</summary>
virtual public void SetColor(int r, int g, int b, int a) {
- Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),r, g, b, a);
+ Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),r, g, b, a);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get hex color code of given Evas object. This returns a short lived hex color code string.
/// (Since EFL 1.22)</summary>
/// <returns>the hex color code.</returns>
virtual public System.String GetColorCode() {
- var _ret_var = Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_code_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_code_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// (Since EFL 1.22)</summary>
/// <param name="colorcode">the hex color code.</param>
virtual public void SetColorCode(System.String colorcode) {
- Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_code_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),colorcode);
+ Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_code_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),colorcode);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Sub-object currently set as this object's single content.
/// <summary>An off-screen window to be displayed in a remote process.
/// The window is rendered onto an image buffer to be displayed in another process' plug image object. No actual window is created for this type. The window contents can then be sent over a socket so that another process displays it inside a plug image.</summary>
[Efl.Ui.WinSocket.NativeMethods]
+[Efl.Eo.BindingEntity]
public class WinSocket : Efl.Ui.Win
{
///<summary>Pointer to the native class description.</summary>
efl_ui_win_socket_class_get();
/// <summary>Initializes a new instance of the <see cref="WinSocket"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
- /// <param name="winName">The window name. See <see cref="Efl.Ui.Win.SetWinName"/></param>
- /// <param name="winType">The type of the window. See <see cref="Efl.Ui.Win.SetWinType"/></param>
- /// <param name="accelPreference">The hardware acceleration preference for this window. See <see cref="Efl.Ui.Win.SetAccelPreference"/></param>
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
+ /// <param name="winName">The window name. See <see cref="Efl.Ui.Win.SetWinName" /></param>
+ /// <param name="winType">The type of the window. See <see cref="Efl.Ui.Win.SetWinType" /></param>
+ /// <param name="accelPreference">The hardware acceleration preference for this window. See <see cref="Efl.Ui.Win.SetAccelPreference" /></param>
public WinSocket(Efl.Object parent
- , System.String style = null, System.String winName = null, Efl.Ui.WinType? winType = null, System.String accelPreference = null) : base(efl_ui_win_socket_class_get(), typeof(WinSocket), parent)
+ , System.String style = null, System.String winName = null, Efl.Ui.WinType? winType = null, System.String accelPreference = null) : base(efl_ui_win_socket_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected WinSocket(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="WinSocket"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected WinSocket(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected WinSocket(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="WinSocket"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected WinSocket(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected WinSocket(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <param name="svcsys">A boolean which when true specifies the creation of a system-wide service to which all users can connect, otherwise the service is private to the user id that created it.</param>
/// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
virtual public bool SocketListen(System.String svcname, int svcnum, bool svcsys) {
- var _ret_var = Efl.Ui.WinSocket.NativeMethods.efl_ui_win_socket_listen_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),svcname, svcnum, svcsys);
+ var _ret_var = Efl.Ui.WinSocket.NativeMethods.efl_ui_win_socket_listen_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),svcname, svcnum, svcsys);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Efl UI zoom interface</summary>
[Efl.Ui.IZoomConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IZoom :
Efl.Eo.IWrapper, IDisposable
{
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IZoomConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_ui_zoom_interface_get();
/// <summary>Initializes a new instance of the <see cref="IZoom"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IZoomConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IZoomConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_ZOOM_START";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_ZOOM_STOP";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_ZOOM_CHANGE";
RemoveNativeEventHandler(efl.Libs.Efl, key, value);
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// <summary>Gets the list of Eo operations to override.</summary>
namespace Ui {
/// <summary>Types of zoom available.</summary>
+[Efl.Eo.BindingEntity]
public enum ZoomMode
{
/// <summary>Zoom controlled normally by efl_ui_zoom_set</summary>
using System.ComponentModel;
/// <param name="view_model">The ViewModel object the @.property.get is issued on.</param>
/// <param name="property">The property name the @.property.get is issued on.</param>
+[Efl.Eo.BindingEntity]
public delegate Eina.Value EflViewModelPropertyGet(Efl.ViewModel view_model, System.String property);
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Eina.ValueMarshaler))]public delegate Eina.Value EflViewModelPropertyGetInternal(IntPtr data, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.ViewModel view_model, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringshareKeepOwnershipMarshaler))] System.String property);
internal class EflViewModelPropertyGetWrapper : IDisposable
/// <param name="view_model">The ViewModel object the @.property.set is issued on.</param>
/// <param name="property">The property name the @.property.set is issued on.</param>
/// <param name="value">The new value to set.</param>
+[Efl.Eo.BindingEntity]
public delegate Eina.Future EflViewModelPropertySet(Efl.ViewModel view_model, System.String property, Eina.Value value);
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Eina.FutureMarshaler))]public delegate Eina.Future EflViewModelPropertySetInternal(IntPtr data, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.ViewModel view_model, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringshareKeepOwnershipMarshaler))] System.String property, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Eina.ValueMarshalerOwn))] Eina.Value value);
internal class EflViewModelPropertySetWrapper : IDisposable
/// <summary>Efl model providing helpers for custom properties used when linking a model to a view and you need to generate/adapt values for display.
/// There is two ways to use this class, you can either inherit from it and have a custom constructor for example. Or you can just instantiate it and manually define your property on it via callbacks.</summary>
[Efl.ViewModel.NativeMethods]
+[Efl.Eo.BindingEntity]
public class ViewModel : Efl.CompositeModel
{
///<summary>Pointer to the native class description.</summary>
efl_view_model_class_get();
/// <summary>Initializes a new instance of the <see cref="ViewModel"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- /// <param name="model">Model that is/will be See <see cref="Efl.Ui.IView.SetModel"/></param>
- /// <param name="childrenBind">Define if we will intercept all childrens object reference and bind them through the ViewModel with the same property logic as this one. Be careful of recursivity. See <see cref="Efl.ViewModel.SetChildrenBind"/></param>
- /// <param name="index">Position of this object in the parent model. See <see cref="Efl.CompositeModel.SetIndex"/></param>
+ /// <param name="model">Model that is/will be See <see cref="Efl.Ui.IView.SetModel" /></param>
+ /// <param name="childrenBind">Define if we will intercept all childrens object reference and bind them through the ViewModel with the same property logic as this one. Be careful of recursivity. See <see cref="Efl.ViewModel.SetChildrenBind" /></param>
+ /// <param name="index">Position of this object in the parent model. See <see cref="Efl.CompositeModel.SetIndex" /></param>
public ViewModel(Efl.Object parent
- , Efl.IModel model, bool? childrenBind = null, uint? index = null) : base(efl_view_model_class_get(), typeof(ViewModel), parent)
+ , Efl.IModel model, bool? childrenBind = null, uint? index = null) : base(efl_view_model_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(model))
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected ViewModel(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="ViewModel"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected ViewModel(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected ViewModel(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="ViewModel"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected ViewModel(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected ViewModel(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>Get the state of the automatic binding of children object.</summary>
/// <returns>Do you automatically bind children. Default to true.</returns>
virtual public bool GetChildrenBind() {
- var _ret_var = Efl.ViewModel.NativeMethods.efl_view_model_children_bind_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.ViewModel.NativeMethods.efl_view_model_children_bind_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Set the state of the automatic binding of children object.</summary>
/// <param name="enable">Do you automatically bind children. Default to true.</param>
virtual public void SetChildrenBind(bool enable) {
- Efl.ViewModel.NativeMethods.efl_view_model_children_bind_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),enable);
+ Efl.ViewModel.NativeMethods.efl_view_model_children_bind_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),enable);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Adds a synthetic string property, generated from a <c>definition</c> string and other properties in the model.
/// <param name="not_ready">The text to be used if any of the properties used in <c>definition</c> is not ready yet. If set to <c>null</c>, no check against EAGAIN will be done.</param>
/// <param name="on_error">The text to be used if any of the properties used in <c>definition</c> is in error. It takes precedence over <c>not_ready</c>. If set to <c>null</c>, no error checks are performed.</param>
virtual public Eina.Error AddPropertyString(System.String name, System.String definition, System.String not_ready, System.String on_error) {
- var _ret_var = Efl.ViewModel.NativeMethods.efl_view_model_property_string_add_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),name, definition, not_ready, on_error);
+ var _ret_var = Efl.ViewModel.NativeMethods.efl_view_model_property_string_add_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),name, definition, not_ready, on_error);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// See <see cref="Efl.ViewModel.AddPropertyString"/></summary>
/// <param name="name">The name of the synthetic property to delete.</param>
virtual public Eina.Error DelPropertyString(System.String name) {
- var _ret_var = Efl.ViewModel.NativeMethods.efl_view_model_property_string_del_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),name);
+ var _ret_var = Efl.ViewModel.NativeMethods.efl_view_model_property_string_del_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),name);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
var _in_binded = binded.Handle;
GCHandle get_handle = GCHandle.Alloc(get);
GCHandle set_handle = GCHandle.Alloc(set);
- var _ret_var = Efl.ViewModel.NativeMethods.efl_view_model_property_logic_add_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),property, GCHandle.ToIntPtr(get_handle), EflViewModelPropertyGetWrapper.Cb, Efl.Eo.Globals.free_gchandle, GCHandle.ToIntPtr(set_handle), EflViewModelPropertySetWrapper.Cb, Efl.Eo.Globals.free_gchandle, _in_binded);
+ var _ret_var = Efl.ViewModel.NativeMethods.efl_view_model_property_logic_add_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),property, GCHandle.ToIntPtr(get_handle), EflViewModelPropertyGetWrapper.Cb, Efl.Eo.Globals.free_gchandle, GCHandle.ToIntPtr(set_handle), EflViewModelPropertySetWrapper.Cb, Efl.Eo.Globals.free_gchandle, _in_binded);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// See <see cref="Efl.ViewModel.AddPropertyLogic"/></summary>
/// <param name="property">The property to bind on to.</param>
virtual public Eina.Error DelPropertyLogic(System.String property) {
- var _ret_var = Efl.ViewModel.NativeMethods.efl_view_model_property_logic_del_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),property);
+ var _ret_var = Efl.ViewModel.NativeMethods.efl_view_model_property_logic_del_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),property);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <param name="source">Property name in the composited model.</param>
/// <param name="destination">Property name in the <see cref="Efl.ViewModel"/></param>
virtual public void PropertyBind(System.String source, System.String destination) {
- Efl.ViewModel.NativeMethods.efl_view_model_property_bind_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),source, destination);
+ Efl.ViewModel.NativeMethods.efl_view_model_property_bind_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),source, destination);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Stop automatically updating the field for the event <see cref="Efl.IModel.PropertiesChangedEvt"/> to include property that are impacted with change in a property from the composited model.</summary>
/// <param name="source">Property name in the composited model.</param>
/// <param name="destination">Property name in the <see cref="Efl.ViewModel"/></param>
virtual public void PropertyUnbind(System.String source, System.String destination) {
- Efl.ViewModel.NativeMethods.efl_view_model_property_unbind_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),source, destination);
+ Efl.ViewModel.NativeMethods.efl_view_model_property_unbind_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),source, destination);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Define if we will intercept all childrens object reference and bind them through the ViewModel with the same property logic as this one. Be careful of recursivity.
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- var _in_binded = new Eina.Iterator<System.String>(binded, false, false);
+ var _in_binded = new Eina.Iterator<System.String>(binded, false);
EflViewModelPropertyGetWrapper get_wrapper = new EflViewModelPropertyGetWrapper(get, get_data, get_free_cb);
EflViewModelPropertySetWrapper set_wrapper = new EflViewModelPropertySetWrapper(set, set_data, set_free_cb);
Eina.Error _ret_var = default(Eina.Error);
public Eina.Iterator<T> GetIterator()
{
- return new Eina.Iterator<T>(eina_array_iterator_new(Handle), true, false);
+ return new Eina.Iterator<T>(eina_array_iterator_new(Handle), true);
}
public IEnumerator<T> GetEnumerator()
return NativeCustomExportFunctions.efl_mono_native_strdup(str);
}
+ public static IntPtr AddStringshare(string str)
+ {
+ IntPtr nativeStr = StringConversion.ManagedStringToNativeUtf8Alloc(str);
+ try
+ {
+ var strShare = NativeMethods.eina_stringshare_add(nativeStr);
+ return strShare;
+ }
+ finally
+ {
+ Eina.MemoryNative.Free(nativeStr);
+ }
+ }
+
+ public static void DelStringshare(IntPtr str)
+ {
+ NativeMethods.eina_stringshare_del(str);
+ }
+
+ public static void DelStringshareRef(IntPtr ptr)
+ {
+ NativeMethods.efl_mono_native_stringshare_del_ref(ptr);
+ }
+
// IntPtr's for some native functions
public static IntPtr PtrCompareFuncPtrGet()
{
return NativeCustomExportFunctions.efl_mono_native_free_addr_get();
}
+ public static IntPtr StringshareDelFuncPtrGet()
+ {
+ return NativeMethods.efl_mono_native_stringshare_del_addr_get();
+ }
+
public static IntPtr EflUnrefFuncPtrGet()
{
return NativeCustomExportFunctions.efl_mono_native_efl_unref_addr_get();
byte[] strbuf = Encoding.UTF8.GetBytes(managedString);
IntPtr native = MemoryNative.Alloc(strbuf.Length + 1);
- Marshal.Copy(strbuf, 0, native, strbuf.Length);
- Marshal.WriteByte(native + strbuf.Length, 0); // write the terminating null
- return native;
+ try
+ {
+ Marshal.Copy(strbuf, 0, native, strbuf.Length);
+ Marshal.WriteByte(native + strbuf.Length, 0); // write the terminating null
+ return native;
+ }
+ catch(Exception e)
+ {
+ MemoryNative.Free(native);
+ throw e;
+ }
}
public static string NativeUtf8ToManagedString(IntPtr pNativeData)
{
NumericType,
StringType,
+ StringshareType,
ObjectType
};
}
}
+public class StringshareElementTraits : IBaseElementTraits<Eina.Stringshare>
+{
+ public StringshareElementTraits()
+ {
+ }
+
+ public IntPtr ManagedToNativeAlloc(Eina.Stringshare man)
+ {
+ var strShare = MemoryNative.AddStringshare(man);
+ return strShare;
+ }
+
+ public IntPtr ManagedToNativeAllocInlistNode(Eina.Stringshare man)
+ {
+ var node = new InlistNode<IntPtr>();
+ node.Val = ManagedToNativeAlloc(man);
+ GCHandle pinnedData = GCHandle.Alloc(node, GCHandleType.Pinned);
+ IntPtr ptr = pinnedData.AddrOfPinnedObject();
+ IntPtr nat = MemoryNative.AllocCopy
+ (ptr, Marshal.SizeOf<InlistMem>() + Marshal.SizeOf<IntPtr>());
+ pinnedData.Free();
+ return nat;
+ }
+
+ public void ManagedToNativeCopyTo(Eina.Stringshare man, IntPtr mem)
+ {
+ IntPtr stringptr = ManagedToNativeAlloc(man);
+ Marshal.WriteIntPtr(mem, stringptr);
+ }
+
+ public void NativeFree(IntPtr nat)
+ {
+ if (nat != IntPtr.Zero)
+ {
+ MemoryNative.DelStringshare(nat);
+ }
+ }
+
+ public void NativeFreeInlistNodeElement(IntPtr nat)
+ {
+ if (nat == IntPtr.Zero)
+ {
+ return;
+ }
+
+ var val = Marshal.PtrToStructure<IntPtr>
+ (nat + Marshal.SizeOf<InlistMem>());
+ NativeFree(val);
+ }
+
+ public void NativeFreeInlistNode(IntPtr nat, bool freeElement)
+ {
+ if (nat == IntPtr.Zero)
+ {
+ return;
+ }
+
+ if (freeElement)
+ {
+ NativeFreeInlistNodeElement(nat);
+ }
+
+ MemoryNative.Free(nat);
+ }
+
+ public void NativeFreeInplace(IntPtr nat)
+ {
+ MemoryNative.DelStringshareRef(nat);
+ }
+
+ public void ResidueFreeInplace(IntPtr nat)
+ {
+ }
+
+ public Eina.Stringshare NativeToManaged(IntPtr nat)
+ {
+ if (nat == IntPtr.Zero)
+ {
+ return default(Eina.Stringshare);
+ }
+
+ return StringConversion.NativeUtf8ToManagedString(nat);
+ }
+
+ public Eina.Stringshare NativeToManagedInlistNode(IntPtr nat)
+ {
+ if (nat == IntPtr.Zero)
+ {
+ Eina.Log.Error("Null pointer for Inlist node.");
+ return default(Eina.Stringshare);
+ }
+
+ IntPtr ptr_location = nat + Marshal.SizeOf<InlistMem>();
+ return NativeToManaged(Marshal.ReadIntPtr(ptr_location));
+ }
+
+ // Strings inplaced are always a pointer, because they are variable-sized
+ public Eina.Stringshare NativeToManagedInplace(IntPtr nat)
+ {
+ if (nat == IntPtr.Zero)
+ {
+ return default(Eina.Stringshare);
+ }
+
+ nat = Marshal.ReadIntPtr(nat);
+ if (nat == IntPtr.Zero)
+ {
+ return default(Eina.Stringshare);
+ }
+
+ return NativeToManaged(nat);
+ }
+
+ public IntPtr EinaCompareCb()
+ {
+ return MemoryNative.StrCompareFuncPtrGet();
+ }
+
+ public IntPtr EinaFreeCb()
+ {
+ return MemoryNative.StringshareDelFuncPtrGet();
+ }
+
+ public IntPtr EinaHashNew()
+ {
+ return eina_hash_stringshared_new(MemoryNative.StringshareDelFuncPtrGet());
+ }
+
+ public IntPtr EinaInarrayNew(uint step)
+ {
+ return eina_inarray_new((uint)Marshal.SizeOf<IntPtr>(), step);
+ }
+
+ public IntPtr EinaHashIteratorKeyNew(IntPtr hash)
+ {
+ return eina_hash_iterator_key_new(hash);
+ }
+}
+
public class EflObjectElementTraits<T> : IBaseElementTraits<T>
{
public IntPtr ManagedToNativeAlloc(T man)
return type == typeof(string);
}
+ public static bool IsStringshare(System.Type type)
+ {
+ return type == typeof(Eina.Stringshare);
+ }
+
public static Eina.ElementType GetElementTypeCode(System.Type type)
{
if (IsEflObject(type))
{
return ElementType.StringType;
}
+ else if (IsStringshare(type))
+ {
+ return ElementType.StringshareType;
+ }
else
{
return ElementType.NumericType;
{
traits = new StringElementTraits();
}
+ else if (IsStringshare(type))
+ {
+ traits = new StringshareElementTraits();
+ }
else if (type.IsValueType)
{
if (type == typeof(int))
private static bool ForceRefKey<T>()
{
- return (!typeof(T).IsValueType) && (typeof(T) != typeof(string));
+ return (!typeof(T).IsValueType)
+ && (typeof(T) != typeof(string))
+ && (typeof(T) != typeof(Eina.Stringshare));
}
private static IntPtr CopyNativeObject<T>(T value, bool forceRef)
IntPtr old = eina_hash_set(Handle, nk, nv);
FreeNativeIndirection<TKey>(gchnk, ForceRefKey<TKey>());
FreeNativeIndirection<TValue>(gchnv, false);
- if (OwnValue || old != IntPtr.Zero)
+ if (OwnValue && old != IntPtr.Zero)
{
NativeFree<TValue>(old);
}
public Eina.Iterator<TKey> Keys()
{
- return new Eina.Iterator<TKey>(EinaHashIteratorKeyNew<TKey>(Handle), true, false);
+ return new Eina.Iterator<TKey>(EinaHashIteratorKeyNew<TKey>(Handle), true);
}
public Eina.Iterator<TValue> Values()
{
- return new Eina.Iterator<TValue>(eina_hash_iterator_data_new(Handle), true, false);
+ return new Eina.Iterator<TValue>(eina_hash_iterator_data_new(Handle), true);
}
public IEnumerator<KeyValuePair<TKey, TValue>> GetEnumerator()
public Eina.Iterator<T> GetIterator()
{
- return new Eina.Iterator<T>(eina_inarray_iterator_new(Handle), true, false);
+ return new Eina.Iterator<T>(eina_inarray_iterator_new(Handle), true);
}
public Eina.Iterator<T> GetReversedIterator()
{
- return new Eina.Iterator<T>(eina_inarray_iterator_reversed_new(Handle), true, false);
+ return new Eina.Iterator<T>(eina_inarray_iterator_reversed_new(Handle), true);
}
public IEnumerator<T> GetEnumerator()
public Eina.Iterator<T> GetIterator()
{
- return new Eina.Iterator<T>(eina_inlist_iterator_wrapper_new_custom_export_mono(Handle), true, false);
+ return new Eina.Iterator<T>(eina_inlist_iterator_wrapper_new_custom_export_mono(Handle), true);
}
public IEnumerator<T> GetEnumerator()
{
public IntPtr Handle {get;set;} = IntPtr.Zero;
public bool Own {get;set;} = true;
- public bool OwnContent {get;set;} = false;
public Iterator(IntPtr handle, bool own)
{
Handle = handle;
Own = own;
- OwnContent = own;
- }
-
- public Iterator(IntPtr handle, bool own, bool ownContent)
- {
- Handle = handle;
- Own = own;
- OwnContent = ownContent;
}
~Iterator()
return;
}
- if (OwnContent)
- {
- for (IntPtr data; eina_iterator_next(h, out data);)
- {
- NativeFree<T>(data);
- }
- }
-
if (Own)
{
if (disposing)
return h;
}
- public void SetOwnership(bool ownAll)
- {
- Own = ownAll;
- OwnContent = ownAll;
- }
-
- public void SetOwnership(bool own, bool ownContent)
+ public void SetOwnership(bool own)
{
Own = own;
- OwnContent = ownContent;
}
public bool Next(out T res)
res = NativeToManaged<T>(data);
- if (OwnContent)
- {
- NativeFree<T>(data);
- }
-
return true;
}
public Eina.Iterator<T> GetIterator()
{
- return new Eina.Iterator<T>(eina_list_iterator_new(Handle), true, false);
+ return new Eina.Iterator<T>(eina_list_iterator_new(Handle), true);
}
public Eina.Iterator<T> GetReversedIterator()
{
- return new Eina.Iterator<T>(eina_list_iterator_reversed_new(Handle), true, false);
+ return new Eina.Iterator<T>(eina_list_iterator_reversed_new(Handle), true);
}
public IEnumerator<T> GetEnumerator()
{
SanityChecks();
eina_promise_resolve(this.Handle, value);
+ // Promise will take care of releasing this value correctly.
+ value.ReleaseOwnership();
this.Handle = IntPtr.Zero;
// Resolving a cb does *not* call its cancellation callback, so we have to release the
// lambda created in the constructor for cleanup.
/// </summary>
public Future(IntPtr handle)
{
- Handle = ThenRaw(handle, (Eina.Value value) =>
+ handle = ThenRaw(handle, (Eina.Value value) =>
{
Handle = IntPtr.Zero;
return value;
});
+ Handle = handle;
}
/// <summary>
private static IntPtr ThenRaw(IntPtr previous, ResolvedCb cb)
{
FutureDesc desc = new FutureDesc();
- desc.cb = NativeResolvedCb;
+ desc.cb = NativeResolvedCbDelegate;
GCHandle handle = GCHandle.Alloc(cb);
desc.data = GCHandle.ToIntPtr(handle);
return eina_future_then_from_desc(previous, desc);
}
+ private static FutureCb NativeResolvedCbDelegate = new FutureCb(NativeResolvedCb);
+
private static Eina.ValueNative NativeResolvedCb(IntPtr data, Eina.ValueNative value, IntPtr dead_future)
{
GCHandle handle = GCHandle.FromIntPtr(data);
ResolvedCb cb = handle.Target as ResolvedCb;
if (cb != null)
{
- value = cb(value);
+ Eina.Value managedValue = cb(value);
+ // Both `value` and `managedValue` will point to the same internal value data.
+ // Avoid C# wrapper invalidating the underlying C Eina_Value as the eina_future.c
+ // code will release it.
+ value = managedValue.GetNative();
+ managedValue.ReleaseOwnership();
}
else
{
for (; i < cbsList.Count(); i++)
{
ResolvedCb cb = cbsList[i];
- descs[i].cb = NativeResolvedCb;
+ descs[i].cb = NativeResolvedCbDelegate;
GCHandle handle = GCHandle.Alloc(cb);
descs[i].data = GCHandle.ToIntPtr(handle);
}
namespace Eina
{
-public class Stringshare
+// TODO: move all native functions to a "NativeMethods" class
+public static partial class NativeMethods
{
+ [DllImport(efl.Libs.Eina)] public static extern IntPtr
+ eina_stringshare_add(IntPtr str);
[DllImport(efl.Libs.Eina)] public static extern System.IntPtr
- eina_stringshare_add_length(string str, System.UInt32 slen);
- [DllImport(efl.Libs.Eina)] public static extern System.IntPtr
- eina_stringshare_add(string str);
+ eina_stringshare_add_length(IntPtr str, UInt32 slen);
[DllImport(efl.Libs.Eina)] public static extern void
- eina_stringshare_del(System.IntPtr str);
+ eina_stringshare_del(IntPtr str);
+ [DllImport(efl.Libs.CustomExports)] public static extern void
+ efl_mono_native_stringshare_del_ref(IntPtr str);
+ [DllImport(efl.Libs.CustomExports)] public static extern IntPtr
+ efl_mono_native_stringshare_del_addr_get();
+}
+
+/// <summary>
+/// Placeholder type to interact with the native type Eina_Stringshare, mainly for eina containers.
+/// </summary>
+/// <remarks>
+/// Using System.String and merely converting this type to it (by cast or implicitly)
+/// is recommended for simplicity and ease of use.
+///
+/// This type is just a System.String wrapper that works as a placeholder for
+/// instrumentalizing proper interaction with native EFL API that demands
+/// strings to be stringshares.
+///
+/// Both C strings and eina stringshares are bound as regular strings in EFL#,
+/// as working directly with these types would demand unnecessary hassle from
+/// the user viewpoint.
+/// But for eina containers this distinction is important, and since C# generics
+/// do not provide a convenient way of dealing with the same type requiring
+/// a different management based on some other condition (at least not without
+/// compromising the usability for other types), we use this string wrapper
+/// in order to signal this distinction.
+///
+/// Implements equality/inequality methods for easier comparison with strings and
+/// other Stringshare objects. For more specific operations convert to a string.
+/// </remarks>
+public class Stringshare : IEquatable<Stringshare>, IEquatable<string>
+{
+ /// <summary>
+ /// Main constructor. Wrap the given string.
+ /// Have private acess to avoid wrapping a null reference,
+ /// use convertion or the factory method to create a new instance.
+ /// <see cref="Create(string)"/>
+ /// <see cref="implicit operator Stringshare(string)"/>
+ /// </summary>
+ private Stringshare(string s)
+ {
+ Str = s;
+ }
+
+ /// <summary>
+ /// Auto-implemented property that holds the wrapped string value.
+ /// </summary>
+ public string Str { get; private set; }
+
+ /// <summary>
+ /// Factory method to instantiate a new object.
+ /// Get a wrappper for the given string or a null reference if the given
+ /// string reference is also null.
+ /// <seealso cref="implicit operator Stringshare(string)"/>
+ /// </summary>
+ /// <returns>
+ /// A new instance wrapping the given string, or a null reference if
+ /// the given string reference is also null.
+ /// </returns>
+ public static Stringshare Create(string s)
+ {
+ if (s == null)
+ {
+ return null;
+ }
+
+ return new Stringshare(s);
+ }
+
+ /// <summary>
+ /// Implicit convertion to string.
+ /// </summary>
+ public static implicit operator string(Stringshare ss)
+ {
+ if (ReferenceEquals(null, ss))
+ {
+ return null;
+ }
+
+ return ss.Str;
+ }
+
+ /// <summary>
+ /// Implicit convertion from string to Stringshare.
+ /// </summary>
+ /// <remarks>
+ /// Note that this method can be used to create an instance of this class,
+ /// either via an explicit cast or an implicit convertion.
+ /// <seealso cref="Create(string)"/>
+ /// </remarks>
+ public static implicit operator Stringshare(string s)
+ {
+ if (ReferenceEquals(null, s))
+ {
+ return null;
+ }
+
+ return new Stringshare(s);
+ }
+
+ /// <summary>
+ /// Check two Stringshare objects for equality.
+ /// </summary>
+ /// <returns>
+ /// True if both wrapped strings have the same content or if both
+ /// references are null, false otherwise.
+ /// </returns>
+ public static bool operator==(Stringshare ss1, Stringshare ss2)
+ {
+ return ((string)ss1) == ((string)ss2);
+ }
+
+
+ /// <summary>
+ /// Check two Stringshare objects for inequality.
+ /// </summary>
+ /// <returns>
+ /// True if the wrapped strings have different content or if one reference is null
+ /// and the other is not, false otherwise.
+ /// </returns>
+ public static bool operator!=(Stringshare ss1, Stringshare ss2)
+ {
+ return !(ss1 == ss2);
+ }
+
+ /// <summary>
+ /// Returns the wrapped string.
+ /// <seealso cref="Str"/>
+ /// <seealso cref="Get()"/>
+ /// </summary>
+ /// <returns>The wrapped string. Same as the property Str.</returns>
+ public override string ToString()
+ {
+ return Str;
+ }
+
+ /// <summary>
+ /// Override of GetHashCode for consistency with user-defined equality methods.
+ /// </summary>
+ /// <returns>
+ /// The wrapped string hash code.
+ /// </returns>
+ public override int GetHashCode()
+ {
+ return Str.GetHashCode();
+ }
+
+ /// <summary>
+ /// Check the given object for equality.
+ /// </summary>
+ /// <returns>
+ /// True if the given object is the same object or if it is another Stringshare object
+ /// and both wrapped strings are equal or if it is a string object and its content
+ /// is the same of the wrapped string.
+ /// In any other case it returns false.
+ /// </returns>
+ public override bool Equals(object other)
+ {
+ if (ReferenceEquals(null, other))
+ {
+ return false;
+ }
+
+ if (ReferenceEquals(this, other))
+ {
+ return true;
+ }
+
+ if (other.GetType() == typeof(string))
+ {
+ return this.Str == (string)other;
+ }
+
+ return other.GetType() == typeof(Stringshare) && this == ((Stringshare)other);
+ }
+
+ /// <summary>
+ /// Check the given Stringshare for equality.
+ /// </summary>
+ /// <returns>
+ /// True if the given Stringshare object is not null and its wrapped string
+ /// have the same content of this.Str, false otherwise.
+ /// </returns>
+ public bool Equals(Stringshare other)
+ {
+ return this == other;
+ }
+
+ /// <summary>
+ /// Check the given Stringshare for equality.
+ /// </summary>
+ /// <returns>
+ /// True if the given string is not null and the wrapped string have the same
+ /// content of the given string, false otherwise.
+ /// </returns>
+ public bool Equals(string other)
+ {
+ return this.Str == other;
+ }
+
+ /// <summary>
+ /// Get the wrapped string.
+ /// <seealso cref="Str"/>
+ /// <seealso cref="ToString()"/>
+ /// </summary>
+ /// <returns>The wrapped string. Same as the property Str.</returns>
+ public string Get()
+ {
+ return Str;
+ }
}
}
namespace Xattr {
/// <summary>Eina file extended attributes flags</summary>
+[Efl.Eo.BindingEntity]
public enum Flags
{
/// <summary>This is the default behaviour, it will either create or replace the extended attribute</summary>
/// <summary>A rectangle in pixel dimensions.</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct Rect
{
/// <summary>X coordinate of the rectangle, from the top-left corner.</summary>
/// <summary>A 2D location in pixels.</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct Position2D
{
/// <summary>X position in pixels, from the top-left corner.</summary>
/// <summary>A 2D size in pixels.</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct Size2D
{
/// <summary>X position in pixels, from the top-left corner.</summary>
/// <summary>Eina file data structure</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct File
{
///<summary>Placeholder field</summary>
/// <summary>A simple 2D vector type using floating point values.</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct Vector2
{
/// <summary>X coordinate.</summary>
/// <summary>Eina 3x3 Matrix</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct Matrix3
{
/// <summary>XX matrix value</summary>
/// <summary>Eina file direct information data structure</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct FileDirectInfo
{
///<summary>Placeholder field</summary>
/// <summary>The structure to store some file statistics.</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct Stat
{
/// <summary>The device where this file is located</summary>
#define CODE_ANALYSIS
using System;
+using System.Linq;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using System.Security.Permissions;
[DllImport(efl.Libs.Eina)]
internal static extern void eina_value_free(IntPtr type);
+ [DllImport(efl.Libs.Eina)]
+ internal static extern IntPtr eina_value_type_name_get(IntPtr type);
+
[DllImport(efl.Libs.Eina)]
[return: MarshalAsAttribute(UnmanagedType.U1)]
internal static extern bool eina_value_convert(IntPtr handle, IntPtr convert);
{
private static Dictionary<ValueType, IntPtr> ManagedToNative = new Dictionary<ValueType, IntPtr>();
private static Dictionary<IntPtr, ValueType> NativeToManaged = new Dictionary<IntPtr, ValueType>();
+ private static Dictionary<System.Type, ValueType> StandardToManaged = new Dictionary<System.Type, ValueType>();
+ private static Dictionary<ValueType, System.Type> ManagedToStandard = new Dictionary<ValueType, System.Type>();
private static bool TypesLoaded; // CLR defaults to false;
public static ValueType GetManaged(IntPtr native)
LoadTypes();
}
- return NativeToManaged[native];
+ try
+ {
+ return NativeToManaged[native];
+ }
+ catch (KeyNotFoundException)
+ {
+ var name_ptr = eina_value_type_name_get(native);
+ var name = Marshal.PtrToStringAnsi(name_ptr);
+ throw new Efl.EflException($"Unknown native eina value Type: 0x{native.ToInt64():x} with name {name}");
+ }
}
public static IntPtr GetNative(ValueType valueType)
return ManagedToNative[valueType];
}
+ /// <summary>Returns the Eina.Value type associated with the given C# type.</summary>
+ public static ValueType GetManaged(System.Type type)
+ {
+ ValueType v;
+ if (StandardToManaged.TryGetValue(type, out v))
+ {
+ return v;
+ }
+ else
+ {
+ if (typeof(Efl.Object).IsAssignableFrom(type))
+ {
+ return ValueType.Object;
+ }
+ throw new Efl.EflException($"Unknown value type mapping for C# type {type}");
+ }
+ }
+
+ /// <summary>Returns the System.Type associated with the given Eina.Value type.</summary>
+ /// <param name="valueType">The intermediate type as returned by <see cref="Eina.Value.GetValueType()" />.</param>
+ /// <returns>The associated C# type with this value type.</returns>
+ public static System.Type GetStandard(ValueType valueType)
+ {
+ System.Type ret = null;
+ if (ManagedToStandard.TryGetValue(valueType, out ret))
+ {
+ return ret;
+ }
+ else
+ {
+ throw new Efl.EflException($"Unknown C# type mapping for value type {valueType}");
+ }
+ }
+
private static void LoadTypes()
{
Eina.Config.Init(); // Make sure eina is initialized.
ManagedToNative.Add(ValueType.SByte, type_sbyte());
NativeToManaged.Add(type_sbyte(), ValueType.SByte);
+ StandardToManaged.Add(typeof(sbyte), ValueType.SByte);
+ ManagedToStandard.Add(ValueType.SByte, typeof(sbyte));
ManagedToNative.Add(ValueType.Byte, type_byte());
NativeToManaged.Add(type_byte(), ValueType.Byte);
+ StandardToManaged.Add(typeof(byte), ValueType.Byte);
+ ManagedToStandard.Add(ValueType.Byte, typeof(byte));
ManagedToNative.Add(ValueType.Short, type_short());
NativeToManaged.Add(type_short(), ValueType.Short);
+ StandardToManaged.Add(typeof(short), ValueType.Short);
+ ManagedToStandard.Add(ValueType.Short, typeof(short));
ManagedToNative.Add(ValueType.UShort, type_ushort());
NativeToManaged.Add(type_ushort(), ValueType.UShort);
+ StandardToManaged.Add(typeof(ushort), ValueType.UShort);
+ ManagedToStandard.Add(ValueType.UShort, typeof(ushort));
ManagedToNative.Add(ValueType.Int32, type_int32());
NativeToManaged.Add(type_int32(), ValueType.Int32);
+ StandardToManaged.Add(typeof(int), ValueType.Int32);
+ ManagedToStandard.Add(ValueType.Int32, typeof(int));
ManagedToNative.Add(ValueType.UInt32, type_uint32());
NativeToManaged.Add(type_uint32(), ValueType.UInt32);
+ StandardToManaged.Add(typeof(uint), ValueType.UInt32);
+ ManagedToStandard.Add(ValueType.UInt32, typeof(uint));
ManagedToNative.Add(ValueType.Long, type_long());
NativeToManaged.Add(type_long(), ValueType.Long);
+ ManagedToStandard.Add(ValueType.Long, typeof(long));
ManagedToNative.Add(ValueType.ULong, type_ulong());
NativeToManaged.Add(type_ulong(), ValueType.ULong);
+ ManagedToStandard.Add(ValueType.ULong, typeof(ulong));
ManagedToNative.Add(ValueType.Int64, type_int64());
NativeToManaged.Add(type_int64(), ValueType.Int64);
+ StandardToManaged.Add(typeof(long), ValueType.Int64);
+ ManagedToStandard.Add(ValueType.Int64, typeof(long));
ManagedToNative.Add(ValueType.UInt64, type_uint64());
NativeToManaged.Add(type_uint64(), ValueType.UInt64);
+ StandardToManaged.Add(typeof(ulong), ValueType.UInt64);
+ ManagedToStandard.Add(ValueType.UInt64, typeof(ulong));
ManagedToNative.Add(ValueType.Float, type_float());
NativeToManaged.Add(type_float(), ValueType.Float);
+ StandardToManaged.Add(typeof(float), ValueType.Float);
+ ManagedToStandard.Add(ValueType.Float, typeof(float));
ManagedToNative.Add(ValueType.Double, type_double());
NativeToManaged.Add(type_double(), ValueType.Double);
+ StandardToManaged.Add(typeof(double), ValueType.Double);
+ ManagedToStandard.Add(ValueType.Double, typeof(double));
ManagedToNative.Add(ValueType.String, type_string());
NativeToManaged.Add(type_string(), ValueType.String);
+ StandardToManaged.Add(typeof(string), ValueType.String);
+ ManagedToStandard.Add(ValueType.String, typeof(string));
ManagedToNative.Add(ValueType.Array, type_array());
NativeToManaged.Add(type_array(), ValueType.Array);
ManagedToNative.Add(ValueType.Error, type_error());
NativeToManaged.Add(type_error(), ValueType.Error);
+ StandardToManaged.Add(typeof(Eina.Error), ValueType.Error);
+ ManagedToStandard.Add(ValueType.Error, typeof(Eina.Error));
ManagedToNative.Add(ValueType.Object, type_object());
NativeToManaged.Add(type_object(), ValueType.Object);
+ // We don't use `typeof(Efl.Object)` directly in the StandartToManaged dictionary as typeof(myobj) may
+ // return a different type. For ManagedToStandard, we make use of C# generics covariance to create
+ // an collection of Efl.Objects when unwrapping.
+ ManagedToStandard.Add(ValueType.Object, typeof(Efl.Object));
ManagedToNative.Add(ValueType.Empty, IntPtr.Zero);
NativeToManaged.Add(IntPtr.Zero, ValueType.Empty);
private Value()
{
this.Handle = Alloc();
+
+ if (this.Handle == IntPtr.Zero)
+ {
+ throw new OutOfMemoryException("Failed to allocate memory for Eina.Value");
+ }
+
this.Ownership = Ownership.Managed;
+ MemoryNative.Memset(this.Handle, 0, eina_value_sizeof());
+ }
+
+ /// <summary>Creates a new Value from the given C# value.</summary>
+ /// <param name="obj">The object to be wrapped.</param>
+ public Value(object obj) : this()
+ {
+ var objType = obj.GetType();
+
+ if (objType == typeof(sbyte))
+ {
+ Setup(ValueType.SByte);
+ Set((sbyte)obj);
+ }
+ else if (objType == typeof(byte))
+ {
+ Setup(ValueType.Byte);
+ Set((byte)obj);
+ }
+ else if (objType == typeof(short))
+ {
+ Setup(ValueType.Short);
+ Set((short)obj);
+ }
+ else if (objType == typeof(ushort))
+ {
+ Setup(ValueType.UShort);
+ Set((ushort)obj);
+ }
+ else if (objType == typeof(int))
+ {
+ Setup(ValueType.Int32);
+ Set((int)obj);
+ }
+ else if (objType == typeof(uint))
+ {
+ Setup(ValueType.UInt32);
+ Set((uint)obj);
+ }
+ else if (objType == typeof(long))
+ {
+ Setup(ValueType.Int64);
+ Set((long)obj);
+ }
+ else if (objType == typeof(ulong))
+ {
+ Setup(ValueType.UInt64);
+ Set((ulong)obj);
+ }
+ else if (objType == typeof(float))
+ {
+ Setup(ValueType.Float);
+ Set((float)obj);
+ }
+ else if (objType == typeof(double))
+ {
+ Setup(ValueType.Double);
+ Set((double)obj);
+ }
+ else if (objType == typeof(string))
+ {
+ Setup(ValueType.String);
+ Set(obj as string);
+ }
+ else if (typeof(Efl.Object).IsAssignableFrom(objType))
+ {
+ Setup(ValueType.Object);
+ Set(obj as Efl.Object);
+ }
+ else
+ {
+ // Container type conversion is supported only from IEnumerable<T>
+ if (!obj.GetType().GetInterfaces().Any(x => x.IsGenericType && x.GetGenericTypeDefinition() == typeof(IEnumerable<>)))
+ {
+ throw new ArgumentException($"Unsupported type for direct construction: {objType}");
+ }
+
+ Type[] genericArguments = objType.GetGenericArguments();
+ if (genericArguments.Count() != 1)
+ {
+ throw new ArgumentException($"Unsupported type for direct construction: {objType}");
+ }
+
+ var genericArg = genericArguments[0];
+
+ var argValueType = ValueTypeBridge.GetManaged(genericArg);
+
+ Setup(ValueType.Array, argValueType);
+
+ foreach (var item in obj as System.Collections.IEnumerable)
+ {
+ Append(item);
+ }
+
+ }
}
public Value(IntPtr handle, Ownership ownership = Ownership.Managed)
// free(), avoiding a call to eina_value_flush that would wipe the underlying value contents
// for pointer types like string.
tmp = MemoryNative.Alloc(Marshal.SizeOf(typeof(ValueNative)));
- Marshal.StructureToPtr(value, tmp, false); // Can't get the address of a struct directly.
- this.Handle = Alloc();
+ Marshal.StructureToPtr<ValueNative>(value, tmp, false); // Can't get the address of a struct directly.
// Copy is used to deep copy the pointed payload (e.g. strings) inside this struct, so we can own this value.
if (!eina_value_copy(tmp, this.Handle))
return b;
}
+ /// <summary>Unwrap the value into its underlying C# value.
+ ///
+ /// <para>Useful for methods like <see crev="PropertyInfo.SetValue(object, object)" />
+ /// as it will unpack the value to it correct C# type.</para>
+ /// </summary>
+ /// <returns>The C# value wrapped by this value.</returns>
+ public object Unwrap()
+ {
+ switch (GetValueType())
+ {
+ case ValueType.SByte:
+ {
+ sbyte o;
+ Get(out o);
+ return o;
+ }
+ case ValueType.Byte:
+ {
+ byte o;
+ Get(out o);
+ return o;
+ }
+ case ValueType.Short:
+ {
+ short o;
+ Get(out o);
+ return o;
+ }
+ case ValueType.UShort:
+ {
+ ushort o;
+ Get(out o);
+ return o;
+ }
+ case ValueType.Int32:
+ {
+ int o;
+ Get(out o);
+ return o;
+ }
+ case ValueType.UInt32:
+ {
+ uint o;
+ Get(out o);
+ return o;
+ }
+ case ValueType.Int64:
+ case ValueType.Long:
+ {
+ long o;
+ Get(out o);
+ return o;
+ }
+ case ValueType.UInt64:
+ case ValueType.ULong:
+ {
+ ulong o;
+ Get(out o);
+ return o;
+ }
+ case ValueType.Float:
+ {
+ float o;
+ Get(out o);
+ return o;
+ }
+ case ValueType.Double:
+ {
+ double o;
+ Get(out o);
+ return o;
+ }
+ case ValueType.String:
+ {
+ string o;
+ Get(out o);
+ return o;
+ }
+ case ValueType.Object:
+ {
+ Efl.Object o;
+ Get(out o);
+ return o;
+ }
+ case ValueType.Array:
+ case ValueType.List:
+ {
+ // Eina Array and Lists will be unwrapped into a System.Collections.Generic.List<T>
+ // usually to be handled as IEnumerable<T> through LINQ.
+ var genericType = ValueTypeBridge.GetStandard(GetValueSubType());
+ Type[] typeArgs = { genericType };
+ var containerType = typeof(System.Collections.Generic.List<>);
+ var retType = containerType.MakeGenericType(typeArgs);
+ object ret = Activator.CreateInstance(retType);
+
+ var addMeth = retType.GetMethod("Add");
+
+ if (addMeth == null)
+ {
+ throw new InvalidOperationException("Failed to get Add() method of container to wrap value");
+ }
+
+ for (int i = 0; i < Count(); i++)
+ {
+ object[] args = new object[]{ this[i] };
+ addMeth.Invoke(ret, args);
+ }
+
+ return ret;
+ }
+ default:
+ throw new InvalidOperationException($"Unsupported value type to unwrap: {GetValueType()}");
+ }
+ }
+
// Efl.Object conversions are made explicit to avoid ambiguity between
// Set(Efl.Object) and Set(Value) when dealing with classes derived from
// Efl.Object.
{
if (Disposed)
{
- throw new ObjectDisposedException(base.GetType().Name);
+ throw new ObjectDisposedException($"Value at 0x{this.Handle.ToInt64():x}");
}
return this.Handle;
{
if (Disposed)
{
- throw new ObjectDisposedException(base.GetType().Name);
+ throw new ObjectDisposedException($"Value at 0x{this.Handle.ToInt64():x}");
}
// Can't call setup with Empty value type (would give an eina error)
{
if (Disposed)
{
- throw new ObjectDisposedException(GetType().Name);
+ throw new ObjectDisposedException($"Value at 0x{this.Handle.ToInt64():x}");
}
}
/// <summary>Get a ValueNative struct with the *value* pointed by this Eina.Value.</summary>
public ValueNative GetNative()
{
+ SanityChecks();
ValueNative value = (ValueNative)Marshal.PtrToStructure(this.Handle, typeof(ValueNative));
return value;
}
if (!GetValueType().IsString())
{
throw (new ArgumentException(
- "Trying to set non-string value on a string Eina.Value"));
+ "Trying to set string value on a non-string Eina.Value"));
}
// No need to worry about ownership as eina_value_set will copy the passed string.
+++ /dev/null
-#pragma warning disable 1591
-
-using System;
-using System.Runtime.InteropServices;
-
-using static eldbus.EldbusMessageNativeFunctions;
-
-namespace eldbus
-{
-
-public static class Timeout
-{
- public static int Infinite = 0x7fffffff;
-}
-
-[StructLayout(LayoutKind.Sequential)]
-public struct ObjectPath
-{
- public string value;
-
- public ObjectPath(string str)
- {
- value = str;
- }
-
- public static implicit operator ObjectPath(string str)
- {
- return new ObjectPath(str);
- }
-
- public static implicit operator string(ObjectPath path)
- {
- return path.value;
- }
-}
-
-[StructLayout(LayoutKind.Sequential)]
-public struct SignatureString
-{
- public string value;
-
- public SignatureString(string str)
- {
- value = str;
- }
-
- public static implicit operator SignatureString(string str)
- {
- return new SignatureString(str);
- }
-
- public static implicit operator string(SignatureString sig)
- {
- return sig.value;
- }
-}
-
-[StructLayout(LayoutKind.Sequential)]
-public struct UnixFd
-{
- public Int32 value;
-
- public UnixFd(Int32 fd)
- {
- value = fd;
- }
-
- public static implicit operator UnixFd(Int32 fd)
- {
- return new UnixFd(fd);
- }
-
- public static implicit operator Int32(UnixFd unix_fd)
- {
- return unix_fd.value;
- }
-}
-
-
-public static class Argument
-{
- public class ByteType
- {
- public const char Code = 'y';
- public const string Signature = "y";
- }
-
- public class BooleanType
- {
- public const char Code = 'b';
- public const string Signature = "b";
- }
-
- public class Int16Type
- {
- public const char Code = 'n';
- public const string Signature = "n";
- }
-
- public class UInt16Type
- {
- public const char Code = 'q';
- public const string Signature = "q";
- }
-
- public class Int32Type
- {
- public const char Code = 'i';
- public const string Signature = "i";
- }
-
- public class UInt32Type
- {
- public const char Code = 'u';
- public const string Signature = "u";
- }
-
- public class Int64Type
- {
- public const char Code = 'x';
- public const string Signature = "x";
- }
-
- public class UInt64Type
- {
- public const char Code = 't';
- public const string Signature = "t";
- }
-
- public class DoubleType
- {
- public const char Code = 'd';
- public const string Signature = "d";
- }
-
- public class StringType
- {
- public const char Code = 's';
- public const string Signature = "s";
- }
-
- public class ObjectPathType
- {
- public const char Code = 'o';
- public const string Signature = "o";
- }
-
- public class SignatureType
- {
- public const char Code = 'g';
- public const string Signature = "g";
- }
-
- public class ArrayType
- {
- public const char Code = 'a';
- public const string Signature = "a";
- }
-
- public class StructType
- {
- public const char Code = 'r';
- public const string Signature = "r";
- }
-
- public class VariantType
- {
- public const char Code = 'v';
- public const string Signature = "v";
- }
-
- public class DictEntryType
- {
- public const char Code = 'e';
- public const string Signature = "e";
- }
-
- public class UnixFdType
- {
- public const char Code = 'h';
- public const string Signature = "h";
- }
-
-// public static readonly ByteType ByteT = new ByteType();
-// public static readonly BooleanType BooleanT = new BooleanType();
-// public static readonly Int16Type Int16T = new Int16Type();
-// public static readonly UInt16Type UInt16T = new UInt16Type();
-// public static readonly Int32Type Int32T = new Int32Type();
-// public static readonly UInt32Type UInt32T = new UInt32Type();
-// public static readonly Int64Type Int64T = new Int64Type();
-// public static readonly UInt64Type UInt64T = new UInt64Type();
-// public static readonly DoubleType DoubleT = new DoubleType();
-// public static readonly StringType StringT = new StringType();
-// public static readonly ObjectPathType ObjectPathT = new ObjectPathType();
-// public static readonly SignatureType SignatureT = new SignatureType();
-// public static readonly ArrayType ArrayT = new ArrayType();
-// public static readonly StructType StructT = new StructType();
-// public static readonly VariantType VariantT = new VariantType();
-// public static readonly DictEntryType DictEntryT = new DictEntryType();
-// public static readonly UnixFdType UnixFdT = new UnixFdType();
-//
-// public static readonly ByteType y = ByteT;
-// public static readonly BooleanType b = BooleanT;
-// public static readonly Int16Type n = Int16T;
-// public static readonly UInt16Type q = UInt16T;
-// public static readonly Int32Type i = Int32T;
-// public static readonly UInt32Type u = UInt32T;
-// public static readonly Int64Type x = Int64T;
-// public static readonly UInt64Type t = UInt64T;
-// public static readonly DoubleType d = DoubleT;
-// public static readonly StringType s = StringT;
-// public static readonly ObjectPathType o = ObjectPathT;
-// public static readonly SignatureType g = SignatureT;
-// public static readonly ArrayType a = ArrayT;
-// public static readonly StructType r = StructT;
-// public static readonly VariantType v = VariantT;
-// public static readonly DictEntryType e = DictEntryT;
-// public static readonly UnixFdType h = UnixFdT;
-}
-
-public abstract class BasicMessageArgument
-{
- public void AppendTo(eldbus.Message msg)
- {
- if (!InternalAppendTo(msg))
- {
- throw new SEHException("Eldbus: could not append basic type to eldbus.Message");
- }
- }
-
- public void AppendTo(eldbus.MessageIterator iter)
- {
- if (!InternalAppendTo(iter))
- {
- throw new SEHException("Eldbus: could not append basic type to eldbus.MessageIterator");
- }
- }
-
- public abstract char TypeCode {get;}
- public abstract string Signature {get;}
- protected abstract bool InternalAppendTo(eldbus.Message msg);
- protected abstract bool InternalAppendTo(eldbus.MessageIterator iter);
-
- public static implicit operator BasicMessageArgument(byte arg)
- {
- return new ByteMessageArgument(arg);
- }
-
- public static implicit operator BasicMessageArgument(bool arg)
- {
- return new BoolMessageArgument(arg);
- }
-
- public static implicit operator BasicMessageArgument(Int16 arg)
- {
- return new Int16MessageArgument(arg);
- }
-
- public static implicit operator BasicMessageArgument(UInt16 arg)
- {
- return new UInt16MessageArgument(arg);
- }
-
- public static implicit operator BasicMessageArgument(Int32 arg)
- {
- return new Int32MessageArgument(arg);
- }
-
- public static implicit operator BasicMessageArgument(UInt32 arg)
- {
- return new UInt32MessageArgument(arg);
- }
-
- public static implicit operator BasicMessageArgument(Int64 arg)
- {
- return new Int64MessageArgument(arg);
- }
-
- public static implicit operator BasicMessageArgument(UInt64 arg)
- {
- return new UInt64MessageArgument(arg);
- }
-
- public static implicit operator BasicMessageArgument(string arg)
- {
- return new StringMessageArgument(arg);
- }
-
- public static implicit operator BasicMessageArgument(SignatureString arg)
- {
- return new SignatureMessageArgument(arg);
- }
-
- public static implicit operator BasicMessageArgument(ObjectPath arg)
- {
- return new ObjectPathMessageArgument(arg);
- }
-
- public static implicit operator BasicMessageArgument(UnixFd arg)
- {
- return new UnixFdMessageArgument(arg);
- }
-}
-
-public class ByteMessageArgument : BasicMessageArgument
-{
- private byte value;
-
- public ByteMessageArgument(byte arg)
- {
- value = arg;
- }
-
- public override char TypeCode
- {
- get { return Argument.ByteType.Code; }
- }
-
- public override string Signature
- {
- get { return Argument.ByteType.Signature; }
- }
-
- protected override bool InternalAppendTo(eldbus.Message msg)
- {
- return eldbus_message_arguments_append(msg.Handle, Signature, value);
- }
-
- protected override bool InternalAppendTo(eldbus.MessageIterator iter)
- {
- return eldbus_message_iter_basic_append(iter.Handle, TypeCode, value);
- }
-}
-
-public class BoolMessageArgument : BasicMessageArgument
-{
- private Int32 value;
-
- public BoolMessageArgument(bool arg)
- {
- value = Convert.ToInt32(arg);
- }
-
- public override char TypeCode
- {
- get { return Argument.BooleanType.Code; }
- }
-
- public override string Signature
- {
- get { return Argument.ByteType.Signature; }
- }
-
- protected override bool InternalAppendTo(eldbus.Message msg)
- {
- return eldbus_message_arguments_append(msg.Handle, Signature, value);
- }
-
- protected override bool InternalAppendTo(eldbus.MessageIterator iter)
- {
- return eldbus_message_iter_basic_append(iter.Handle, TypeCode, value);
- }
-}
-
-public class Int16MessageArgument : BasicMessageArgument
-{
- private Int16 value;
-
- public Int16MessageArgument(Int16 arg)
- {
- value = arg;
- }
-
- public override char TypeCode
- {
- get { return Argument.Int16Type.Code; }
- }
-
- public override string Signature
- {
- get { return Argument.ByteType.Signature; }
- }
-
- protected override bool InternalAppendTo(eldbus.Message msg)
- {
- return eldbus_message_arguments_append(msg.Handle, Signature, value);
- }
-
- protected override bool InternalAppendTo(eldbus.MessageIterator iter)
- {
- return eldbus_message_iter_basic_append(iter.Handle, TypeCode, value);
- }
-}
-
-public class UInt16MessageArgument : BasicMessageArgument
-{
- private UInt16 value;
-
- public UInt16MessageArgument(UInt16 arg)
- {
- value = arg;
- }
-
- public override char TypeCode
- {
- get { return Argument.UInt16Type.Code; }
- }
-
- public override string Signature
- {
- get { return Argument.ByteType.Signature; }
- }
-
- protected override bool InternalAppendTo(eldbus.Message msg)
- {
- return eldbus_message_arguments_append(msg.Handle, Signature, value);
- }
-
- protected override bool InternalAppendTo(eldbus.MessageIterator iter)
- {
- return eldbus_message_iter_basic_append(iter.Handle, TypeCode, value);
- }
-}
-
-public class Int32MessageArgument : BasicMessageArgument
-{
- private Int32 value;
-
- public Int32MessageArgument(Int32 arg)
- {
- value = arg;
- }
-
- public override char TypeCode
- {
- get { return Argument.Int32Type.Code; }
- }
-
- public override string Signature
- {
- get { return Argument.ByteType.Signature; }
- }
-
- protected override bool InternalAppendTo(eldbus.Message msg)
- {
- return eldbus_message_arguments_append(msg.Handle, Signature, value);
- }
-
- protected override bool InternalAppendTo(eldbus.MessageIterator iter)
- {
- return eldbus_message_iter_basic_append(iter.Handle, TypeCode, value);
- }
-}
-
-public class UInt32MessageArgument : BasicMessageArgument
-{
- private UInt32 value;
-
- public UInt32MessageArgument(UInt32 arg)
- {
- value = arg;
- }
-
- public override char TypeCode
- {
- get { return Argument.UInt32Type.Code; }
- }
-
- public override string Signature
- {
- get { return Argument.ByteType.Signature; }
- }
-
- protected override bool InternalAppendTo(eldbus.Message msg)
- {
- return eldbus_message_arguments_append(msg.Handle, Signature, value);
- }
-
- protected override bool InternalAppendTo(eldbus.MessageIterator iter)
- {
- return eldbus_message_iter_basic_append(iter.Handle, TypeCode, value);
- }
-}
-
-public class Int64MessageArgument : BasicMessageArgument
-{
- private Int64 value;
-
- public Int64MessageArgument(Int64 arg)
- {
- value = arg;
- }
-
- public override char TypeCode
- {
- get { return Argument.Int64Type.Code; }
- }
-
- public override string Signature
- {
- get { return Argument.ByteType.Signature; }
- }
-
- protected override bool InternalAppendTo(eldbus.Message msg)
- {
- return eldbus_message_arguments_append(msg.Handle, Signature, value);
- }
-
- protected override bool InternalAppendTo(eldbus.MessageIterator iter)
- {
- return eldbus_message_iter_basic_append(iter.Handle, TypeCode, value);
- }
-}
-
-public class UInt64MessageArgument : BasicMessageArgument
-{
- private UInt64 value;
-
- public UInt64MessageArgument(UInt64 arg)
- {
- value = arg;
- }
-
- public override char TypeCode
- {
- get { return Argument.UInt64Type.Code; }
- }
-
- public override string Signature
- {
- get { return Argument.ByteType.Signature; }
- }
-
- protected override bool InternalAppendTo(eldbus.Message msg)
- {
- return eldbus_message_arguments_append(msg.Handle, Signature, value);
- }
-
- protected override bool InternalAppendTo(eldbus.MessageIterator iter)
- {
- return eldbus_message_iter_basic_append(iter.Handle, TypeCode, value);
- }
-}
-
-public class DoubleMessageArgument : BasicMessageArgument
-{
- private double value;
-
- public DoubleMessageArgument(double arg)
- {
- value = arg;
- }
-
- public override char TypeCode
- {
- get { return Argument.DoubleType.Code; }
- }
-
- public override string Signature
- {
- get { return Argument.ByteType.Signature; }
- }
-
- protected override bool InternalAppendTo(eldbus.Message msg)
- {
- return eldbus_message_arguments_append(msg.Handle, Signature, value);
- }
-
- protected override bool InternalAppendTo(eldbus.MessageIterator iter)
- {
- return eldbus_message_iter_basic_append(iter.Handle, TypeCode, value);
- }
-}
-
-public abstract class StringLikeMessageArgument : BasicMessageArgument
-{
- private string value;
-
- public StringLikeMessageArgument(string arg)
- {
- value = arg;
- }
-
- protected override bool InternalAppendTo(eldbus.Message msg)
- {
- return eldbus_message_arguments_append(msg.Handle, Signature, value);
- }
-
- protected override bool InternalAppendTo(eldbus.MessageIterator iter)
- {
- return eldbus_message_iter_basic_append(iter.Handle, TypeCode, value);
- }
-}
-
-public class StringMessageArgument : StringLikeMessageArgument
-{
- public StringMessageArgument(string arg) : base(arg)
- {
- }
-
- public override char TypeCode
- {
- get { return Argument.StringType.Code; }
- }
-
- public override string Signature
- {
- get { return Argument.ByteType.Signature; }
- }
-}
-
-public class ObjectPathMessageArgument : StringLikeMessageArgument
-{
- public ObjectPathMessageArgument(ObjectPath arg) : base(arg.value)
- {
- }
-
- public override char TypeCode
- {
- get { return Argument.ObjectPathType.Code; }
- }
-
- public override string Signature
- {
- get { return Argument.ByteType.Signature; }
- }
-}
-
-public class SignatureMessageArgument : StringLikeMessageArgument
-{
- public SignatureMessageArgument(SignatureString arg) : base(arg.value)
- {
- }
-
- public override char TypeCode
- {
- get { return Argument.SignatureType.Code; }
- }
-
- public override string Signature
- {
- get { return Argument.ByteType.Signature; }
- }
-}
-
-public class UnixFdMessageArgument : BasicMessageArgument
-{
- private Int32 value;
-
- public UnixFdMessageArgument(UnixFd arg)
- {
- value = arg.value;
- }
-
- public override char TypeCode
- {
- get { return Argument.UnixFdType.Code; }
- }
-
- public override string Signature
- {
- get { return Argument.ByteType.Signature; }
- }
-
- protected override bool InternalAppendTo(eldbus.Message msg)
- {
- return eldbus_message_arguments_append(msg.Handle, Signature, value);
- }
-
- protected override bool InternalAppendTo(eldbus.MessageIterator iter)
- {
- return eldbus_message_iter_basic_append(iter.Handle, TypeCode, value);
- }
-}
-
-public delegate void MessageDelegate(eldbus.Message msg, eldbus.Pending pending);
-
-public static class Common
-{
- public static void RaiseNullHandle()
- {
- if (NullHandleError == 0)
- {
- NullHandleError = Eina.Error.Register("Eldbus: null handle");
- }
-
- Eina.Error.Raise(NullHandleError);
- }
-
- public delegate void Eldbus_Message_Cb(IntPtr data, IntPtr msg, IntPtr pending);
-
- public static IntPtr GetMessageCbWrapperPtr()
- {
- return Marshal.GetFunctionPointerForDelegate(GetMessageCbWrapper());
- }
-
- public static Eldbus_Message_Cb GetMessageCbWrapper()
- {
- if (message_cb_wrapper == null)
- {
- message_cb_wrapper = new Eldbus_Message_Cb(MessageCbWrapper);
- }
-
- return message_cb_wrapper;
- }
-
- public static void MessageCbWrapper(IntPtr data, IntPtr msg_hdl, IntPtr pending_hdl)
- {
- MessageDelegate dlgt = Marshal.GetDelegateForFunctionPointer(data, typeof(MessageDelegate)) as MessageDelegate;
- if (dlgt == null)
- {
- Eina.Log.Error("Eldbus: invalid delegate pointer from Eldbus_Message_Cb");
- return;
- }
-
- eldbus.Message msg;
- eldbus.Pending pending;
-
- try
- {
- msg = new eldbus.Message(msg_hdl, false);
- pending = new eldbus.Pending(pending_hdl, false);
- }
- catch (Exception e)
- {
- Eina.Log.Error("Eldbus: could not convert Eldbus_Message_Cb parameters. Exception: " + e.ToString());
- return;
- }
-
- try
- {
- dlgt(msg, pending);
- }
- catch (Exception e)
- {
- Eina.Log.Error("Eldbus: Eldbus_Message_Cb delegate error. Exception: " + e.ToString());
- }
- }
-
- private static Eldbus_Message_Cb message_cb_wrapper = null;
- private static Eina.Error NullHandleError = 0;
-}
-
-}
+++ /dev/null
-#pragma warning disable 1591
-
-using System;
-using System.Runtime.InteropServices;
-
-namespace eldbus
-{
-
-public static class Config
-{
- [DllImport(efl.Libs.Eldbus)] private static extern int eldbus_init();
- [DllImport(efl.Libs.Eldbus)] private static extern int eldbus_shutdown();
-
- public static void Init()
- {
- if (eldbus_init() == 0)
- {
- throw new Efl.EflException("Failed to initialize Eldbus");
- }
- }
-
- public static void Shutdown()
- {
- eldbus_shutdown();
- }
-
-}
-
-}
+++ /dev/null
-#pragma warning disable 1591
-
-using System;
-using System.Runtime.InteropServices;
-
-using static eldbus.EldbusConnectionNativeFunctions;
-
-namespace eldbus
-{
-
-public static class EldbusConnectionNativeFunctions
-{
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_connection_get(eldbus.Connection.Type type);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_private_connection_get(eldbus.Connection.Type type);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_address_connection_get(string address);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_private_address_connection_get(string address);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_connection_ref(IntPtr conn);
-
- [DllImport(efl.Libs.Eldbus)] public static extern void
- eldbus_connection_unref(IntPtr conn);
-
- [DllImport(efl.Libs.Eldbus)] public static extern void
- eldbus_connection_free_cb_add(IntPtr conn, IntPtr cb, IntPtr data);
-
- [DllImport(efl.Libs.Eldbus)] public static extern void
- eldbus_connection_free_cb_del(IntPtr conn, IntPtr cb, IntPtr data);
-
- [DllImport(efl.Libs.Eldbus)] public static extern void
- eldbus_connection_data_set(IntPtr conn, IntPtr key, IntPtr data);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_connection_data_get(IntPtr conn, IntPtr key);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_connection_data_del(IntPtr conn, IntPtr key);
-
- [DllImport(efl.Libs.Eldbus)] public static extern void
- eldbus_connection_event_callback_add(IntPtr conn, int type, IntPtr cb, IntPtr cb_data);
-
- [DllImport(efl.Libs.Eldbus)] public static extern void
- eldbus_connection_event_callback_del(IntPtr conn, int type, IntPtr cb, IntPtr cb_data);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_connection_send(IntPtr conn, IntPtr msg, IntPtr cb, IntPtr cb_data, double timeout);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_connection_unique_name_get(IntPtr conn);
-
- // FreeDesktop.Org Methods
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_name_request(IntPtr conn, string bus, uint flags, IntPtr cb, IntPtr cb_data);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_name_release(IntPtr conn, string bus, IntPtr cb, IntPtr cb_data);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_name_owner_get(IntPtr conn, string bus, IntPtr cb, IntPtr cb_data);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_name_owner_has(IntPtr conn, string bus, IntPtr cb, IntPtr cb_data);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_names_list(IntPtr conn, IntPtr cb, IntPtr cb_data);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_names_activatable_list(IntPtr conn, IntPtr cb, IntPtr cb_data);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_hello(IntPtr conn, IntPtr cb, IntPtr cb_data);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_name_start(IntPtr conn, string bus, uint flags, IntPtr cb, IntPtr cb_data);
-
-// typedef void (*Eldbus_Name_Owner_Changed_Cb)(void *data, const char *bus, const char *old_id, const char *new_id);
-// [DllImport(efl.Libs.Eldbus)] public static extern void
-// eldbus_name_owner_changed_callback_add(IntPtr conn, string bus, Eldbus_Name_Owner_Changed_Cb cb, IntPtr cb_data, [MarshalAs(UnmanagedType.U1)] bool allow_initial_call);
-// [DllImport(efl.Libs.Eldbus)] public static extern void
-// eldbus_name_owner_changed_callback_del(IntPtr conn, string bus, Eldbus_Name_Owner_Changed_Cb cb, IntPtr cb_data);
-}
-
-public class Connection : IDisposable
-{
- public enum Type
- {
- Unknown = 0, // sentinel, not a real type
- Session,
- System,
- Starter,
- Address,
- Last // sentinel, not a real type
- };
-
- public IntPtr Handle {get;set;} = IntPtr.Zero;
- public bool Own {get;set;} = true;
-
- private void InitNew(IntPtr handle, bool own)
- {
- Handle = handle;
- Own = own;
- CheckHandle();
- }
-
- private void CheckHandle()
- {
- if (Handle == IntPtr.Zero)
- {
- eldbus.Common.RaiseNullHandle();
- }
- }
-
- public Connection(IntPtr handle, bool own)
- {
- InitNew(handle, own);
- }
-
-
- public Connection(eldbus.Connection.Type type)
- {
- InitNew(eldbus_connection_get(type), true);
- }
-
- public Connection(string address)
- {
- InitNew(eldbus_address_connection_get(address), true);
- }
-
- public static eldbus.Connection GetPrivate(eldbus.Connection.Type type)
- {
- return new eldbus.Connection(eldbus_private_connection_get(type), true);
- }
-
- public static eldbus.Connection GetPrivate(string address)
- {
- return new eldbus.Connection(eldbus_private_address_connection_get(address), true);
- }
-
-
- ~Connection()
- {
- Dispose(false);
- }
-
- protected virtual void Dispose(bool disposing)
- {
- IntPtr h = Handle;
- Handle = IntPtr.Zero;
- if (h == IntPtr.Zero)
- {
- return;
- }
-
- if (Own)
- {
- if (disposing)
- {
- eldbus_connection_unref(h);
- }
- else
- {
- Efl.Eo.Globals.ThreadSafeFreeCbExec(eldbus_connection_unref, h);
- }
- }
- }
-
- public void Dispose()
- {
- Dispose(true);
- GC.SuppressFinalize(this);
- }
-
- public void Free()
- {
- Dispose();
- }
-
- public IntPtr Release()
- {
- IntPtr h = Handle;
- Handle = IntPtr.Zero;
- return h;
- }
-
- public eldbus.Pending Send(eldbus.Message msg, eldbus.MessageDelegate dlgt = null, double timeout = -1)
- {
- CheckHandle();
-
- if (msg == null)
- {
- throw new ArgumentNullException("msg");
- }
-
- IntPtr cb_wrapper = (dlgt == null ? IntPtr.Zero : eldbus.Common.GetMessageCbWrapperPtr());
- IntPtr cb_data = (dlgt == null ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(dlgt));
-
- var pending_hdl = eldbus_connection_send(Handle, msg.Handle, cb_wrapper, cb_data, timeout);
-
- if (pending_hdl == IntPtr.Zero)
- {
- throw new SEHException("Eldbus: could not get `Pending' object from eldbus_connection_send");
- }
-
- msg.Ref();
-
- return new eldbus.Pending(pending_hdl, false);
- }
-
- public string GetUniqueName()
- {
- CheckHandle();
- var ptr = eldbus_connection_unique_name_get(Handle);
- if (ptr == IntPtr.Zero)
- {
- return null;
- }
-
- return Eina.StringConversion.NativeUtf8ToManagedString(ptr);
- }
-
- public eldbus.Pending NameRequest(string bus, uint flags, eldbus.MessageDelegate dlgt = null)
- {
- CheckHandle();
-
- if (bus == null)
- {
- throw new ArgumentNullException("bus");
- }
-
- IntPtr cb_wrapper = (dlgt == null ? IntPtr.Zero : eldbus.Common.GetMessageCbWrapperPtr());
- IntPtr cb_data = (dlgt == null ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(dlgt));
-
- var pending_hdl = eldbus_name_request(Handle, bus, flags, cb_wrapper, cb_data);
-
- if (pending_hdl == IntPtr.Zero)
- {
- throw new SEHException("Eldbus: could not get `Pending' object from eldbus_name_request");
- }
-
- return new eldbus.Pending(pending_hdl, false);
- }
-
- public eldbus.Pending NameRelease(string bus, eldbus.MessageDelegate dlgt = null)
- {
- CheckHandle();
-
- if (bus == null)
- {
- throw new ArgumentNullException("bus");
- }
-
- IntPtr cb_wrapper = (dlgt == null ? IntPtr.Zero : eldbus.Common.GetMessageCbWrapperPtr());
- IntPtr cb_data = (dlgt == null ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(dlgt));
-
- var pending_hdl = eldbus_name_release(Handle, bus, cb_wrapper, cb_data);
-
- if (pending_hdl == IntPtr.Zero)
- {
- throw new SEHException("Eldbus: could not get `Pending' object from eldbus_name_release");
- }
-
- return new eldbus.Pending(pending_hdl, false);
- }
-
- public eldbus.Pending GetNameOwner(string bus, eldbus.MessageDelegate dlgt = null)
- {
- CheckHandle();
-
- if (bus == null)
- {
- throw new ArgumentNullException("bus");
- }
-
- IntPtr cb_wrapper = (dlgt == null ? IntPtr.Zero : eldbus.Common.GetMessageCbWrapperPtr());
- IntPtr cb_data = (dlgt == null ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(dlgt));
-
- var pending_hdl = eldbus_name_owner_get(Handle, bus, cb_wrapper, cb_data);
-
- if (pending_hdl == IntPtr.Zero)
- {
- throw new SEHException("Eldbus: could not get `Pending' object from eldbus_name_owner_get");
- }
-
- return new eldbus.Pending(pending_hdl, false);
- }
-
- public eldbus.Pending HasNameOwner(string bus, eldbus.MessageDelegate dlgt = null)
- {
- CheckHandle();
-
- if (bus == null)
- {
- throw new ArgumentNullException("bus");
- }
-
- IntPtr cb_wrapper = (dlgt == null ? IntPtr.Zero : eldbus.Common.GetMessageCbWrapperPtr());
- IntPtr cb_data = (dlgt == null ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(dlgt));
-
- var pending_hdl = eldbus_name_owner_has(Handle, bus, cb_wrapper, cb_data);
-
- if (pending_hdl == IntPtr.Zero)
- {
- throw new SEHException("Eldbus: could not get `Pending' object from eldbus_name_owner_has");
- }
-
- return new eldbus.Pending(pending_hdl, false);
- }
-
- public eldbus.Pending NameList(eldbus.MessageDelegate dlgt = null)
- {
- CheckHandle();
-
- IntPtr cb_wrapper = (dlgt == null ? IntPtr.Zero : eldbus.Common.GetMessageCbWrapperPtr());
- IntPtr cb_data = (dlgt == null ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(dlgt));
-
- var pending_hdl = eldbus_names_list(Handle, cb_wrapper, cb_data);
-
- if (pending_hdl == IntPtr.Zero)
- {
- throw new SEHException("Eldbus: could not get `Pending' object from eldbus_names_list");
- }
-
- return new eldbus.Pending(pending_hdl, false);
- }
-
- public eldbus.Pending ActivatableList(eldbus.MessageDelegate dlgt = null)
- {
- CheckHandle();
-
- IntPtr cb_wrapper = (dlgt == null ? IntPtr.Zero : eldbus.Common.GetMessageCbWrapperPtr());
- IntPtr cb_data = (dlgt == null ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(dlgt));
-
- var pending_hdl = eldbus_names_activatable_list(Handle, cb_wrapper, cb_data);
-
- if (pending_hdl == IntPtr.Zero)
- {
- throw new SEHException("Eldbus: could not get `Pending' object from eldbus_names_activatable_list");
- }
-
- return new eldbus.Pending(pending_hdl, false);
- }
-
- public eldbus.Pending Hello(eldbus.MessageDelegate dlgt = null)
- {
- CheckHandle();
-
- IntPtr cb_wrapper = (dlgt == null ? IntPtr.Zero : eldbus.Common.GetMessageCbWrapperPtr());
- IntPtr cb_data = (dlgt == null ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(dlgt));
-
- var pending_hdl = eldbus_hello(Handle, cb_wrapper, cb_data);
-
- if (pending_hdl == IntPtr.Zero)
- {
- throw new SEHException("Eldbus: could not get `Pending' object from eldbus_hello");
- }
-
- return new eldbus.Pending(pending_hdl, false);
- }
-
- public eldbus.Pending NameStart(string bus, uint flags, eldbus.MessageDelegate dlgt = null)
- {
- CheckHandle();
-
- if (bus == null)
- {
- throw new ArgumentNullException("bus");
- }
-
- IntPtr cb_wrapper = (dlgt == null ? IntPtr.Zero : eldbus.Common.GetMessageCbWrapperPtr());
- IntPtr cb_data = (dlgt == null ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(dlgt));
-
- var pending_hdl = eldbus_name_start(Handle, bus, flags, cb_wrapper, cb_data);
-
- if (pending_hdl == IntPtr.Zero)
- {
- throw new SEHException("Eldbus: could not get `Pending' object from eldbus_name_start");
- }
-
- return new eldbus.Pending(pending_hdl, false);
- }
-
-}
-
-}
+++ /dev/null
-#pragma warning disable 1591
-
-using System;
-using System.Runtime.InteropServices;
-
-using static eldbus.EldbusMessageNativeFunctions;
-
-namespace eldbus
-{
-
-public static class EldbusMessageNativeFunctions
-{
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_message_ref(IntPtr msg);
-
- [DllImport(efl.Libs.Eldbus)] public static extern void
- eldbus_message_unref(IntPtr msg);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_message_path_get(IntPtr msg);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_message_interface_get(IntPtr msg);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_message_member_get(IntPtr msg);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_message_destination_get(IntPtr msg);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_message_sender_get(IntPtr msg);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_message_signature_get(IntPtr msg);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_message_method_call_new(string dest, string path, string iface, string method);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_message_signal_new(string path, string _interface, string name);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_message_error_new(IntPtr msg, string error_name, string error_msg);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_message_method_return_new(IntPtr msg);
-
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_message_error_get(IntPtr msg, out IntPtr name, out IntPtr text);
-
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_message_arguments_get(IntPtr msg, string signature, out byte value);
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_message_arguments_get(IntPtr msg, string signature, out Int16 value);
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_message_arguments_get(IntPtr msg, string signature, out UInt16 value);
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_message_arguments_get(IntPtr msg, string signature, out Int32 value);
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_message_arguments_get(IntPtr msg, string signature, out UInt32 value);
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_message_arguments_get(IntPtr msg, string signature, out Int64 value);
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_message_arguments_get(IntPtr msg, string signature, out UInt64 value);
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_message_arguments_get(IntPtr msg, string signature, out double value);
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_message_arguments_get(IntPtr msg, string signature, out IntPtr value);
-
-// [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
-// eldbus_message_arguments_vget(IntPtr msg, string signature, va_list ap);
-
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_message_arguments_append(IntPtr msg, string signature, byte value);
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_message_arguments_append(IntPtr msg, string signature, Int16 value);
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_message_arguments_append(IntPtr msg, string signature, UInt16 value);
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_message_arguments_append(IntPtr msg, string signature, Int32 value);
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_message_arguments_append(IntPtr msg, string signature, UInt32 value);
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_message_arguments_append(IntPtr msg, string signature, Int64 value);
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_message_arguments_append(IntPtr msg, string signature, UInt64 value);
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_message_arguments_append(IntPtr msg, string signature, double value);
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_message_arguments_append(IntPtr msg, string signature, string value);
-
-// [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
-// eldbus_message_arguments_vappend(IntPtr msg, string signature, va_list ap);
-
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_message_iter_container_new(IntPtr iter, int type, string contained_signature);
-
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_message_iter_basic_append(IntPtr iter, int type, byte value);
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_message_iter_basic_append(IntPtr iter, int type, Int16 value);
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_message_iter_basic_append(IntPtr iter, int type, UInt16 value);
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_message_iter_basic_append(IntPtr iter, int type, Int32 value);
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_message_iter_basic_append(IntPtr iter, int type, UInt32 value);
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_message_iter_basic_append(IntPtr iter, int type, Int64 value);
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_message_iter_basic_append(IntPtr iter, int type, UInt64 value);
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_message_iter_basic_append(IntPtr iter, int type, double value);
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_message_iter_basic_append(IntPtr iter, int type, string value);
-
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_message_iter_arguments_append(IntPtr iter, string signature, out IntPtr value);
-
-// [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
-// eldbus_message_iter_arguments_vappend(IntPtr iter, string signature, va_list ap);
-
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_message_iter_fixed_array_append(IntPtr iter, int type, IntPtr array, uint size);
-
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_message_iter_container_close(IntPtr iter, IntPtr sub);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_message_iter_get(IntPtr msg);
-
- [DllImport(efl.Libs.Eldbus)] public static extern void
- eldbus_message_iter_basic_get(IntPtr iter, out byte value);
- [DllImport(efl.Libs.Eldbus)] public static extern void
- eldbus_message_iter_basic_get(IntPtr iter, out Int16 value);
- [DllImport(efl.Libs.Eldbus)] public static extern void
- eldbus_message_iter_basic_get(IntPtr iter, out UInt16 value);
- [DllImport(efl.Libs.Eldbus)] public static extern void
- eldbus_message_iter_basic_get(IntPtr iter, out Int32 value);
- [DllImport(efl.Libs.Eldbus)] public static extern void
- eldbus_message_iter_basic_get(IntPtr iter, out UInt32 value);
- [DllImport(efl.Libs.Eldbus)] public static extern void
- eldbus_message_iter_basic_get(IntPtr iter, out Int64 value);
- [DllImport(efl.Libs.Eldbus)] public static extern void
- eldbus_message_iter_basic_get(IntPtr iter, out UInt64 value);
- [DllImport(efl.Libs.Eldbus)] public static extern void
- eldbus_message_iter_basic_get(IntPtr iter, out double value);
- [DllImport(efl.Libs.Eldbus)] public static extern void
- eldbus_message_iter_basic_get(IntPtr iter, out IntPtr value);
-
- [DllImport(efl.Libs.Eldbus)] public static extern string
- eldbus_message_iter_signature_get(IntPtr iter);
-
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_message_iter_next(IntPtr iter);
-
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_message_iter_get_and_next(IntPtr iter, char signature, out byte value);
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_message_iter_get_and_next(IntPtr iter, char signature, out Int16 value);
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_message_iter_get_and_next(IntPtr iter, char signature, out UInt16 value);
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_message_iter_get_and_next(IntPtr iter, char signature, out Int32 value);
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_message_iter_get_and_next(IntPtr iter, char signature, out UInt32 value);
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_message_iter_get_and_next(IntPtr iter, char signature, out Int64 value);
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_message_iter_get_and_next(IntPtr iter, char signature, out UInt64 value);
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_message_iter_get_and_next(IntPtr iter, char signature, out double value);
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_message_iter_get_and_next(IntPtr iter, char signature, out IntPtr value);
-
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_message_iter_fixed_array_get(IntPtr iter, int signature, out IntPtr value, out int n_elements);
-
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_message_iter_arguments_get(IntPtr iter, string signature, out IntPtr value);
-
-// [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
-// eldbus_message_iter_arguments_vget(IntPtr iter, string signature, va_list ap);
-
- [DllImport(efl.Libs.Eldbus)] public static extern void
- eldbus_message_iter_del(IntPtr iter);
-}
-
-
-public class Message : IDisposable
-{
- public IntPtr Handle {get;set;} = IntPtr.Zero;
- public bool Own {get;set;} = true;
-
- private void InitNew(IntPtr handle, bool own)
- {
- Handle = handle;
- Own = own;
- CheckHandle();
- }
-
- private void CheckHandle()
- {
- if (Handle == IntPtr.Zero)
- {
- eldbus.Common.RaiseNullHandle();
- }
- }
-
- public Message(IntPtr handle, bool own)
- {
- InitNew(handle, own);
- }
-
- ~Message()
- {
- Dispose(false);
- }
-
- protected virtual void Dispose(bool disposing)
- {
- IntPtr h = Handle;
- Handle = IntPtr.Zero;
- if (h == IntPtr.Zero)
- {
- return;
- }
-
- if (Own)
- {
- if (disposing)
- {
- eldbus_message_unref(h);
- }
- else
- {
- Efl.Eo.Globals.ThreadSafeFreeCbExec(eldbus_message_unref, h);
- }
- }
- }
-
- public void Dispose()
- {
- Dispose(true);
- GC.SuppressFinalize(this);
- }
-
- public void Free()
- {
- Dispose();
- }
-
- public IntPtr Release()
- {
- IntPtr h = Handle;
- Handle = IntPtr.Zero;
- return h;
- }
-
- public static eldbus.Message NewMethodCall(string dest, string path, string iface, string method)
- {
- var ptr = eldbus_message_method_call_new(dest, path, iface, method);
- if (ptr == IntPtr.Zero)
- {
- throw new SEHException("Eldbus: could not get `Message' object from eldbus_message_method_call_new");
- }
-
- return new eldbus.Message(ptr, true);
- }
-
- public static eldbus.Message NewSignal(string path, string _interface, string name)
- {
- var ptr = eldbus_message_signal_new(path, _interface, name);
- if (ptr == IntPtr.Zero)
- {
- throw new SEHException("Eldbus: could not get `Message' object from eldbus_message_signal_new");
- }
-
- return new eldbus.Message(ptr, true);
- }
-
- public void Ref()
- {
- CheckHandle();
- eldbus_message_ref(Handle);
- }
-
- public void Unref()
- {
- CheckHandle();
- eldbus_message_unref(Handle);
- }
-
- public string GetPath()
- {
- CheckHandle();
- var ptr = eldbus_message_path_get(Handle);
- return Eina.StringConversion.NativeUtf8ToManagedString(ptr);
- }
-
- public string GetInterface()
- {
- CheckHandle();
- var ptr = eldbus_message_interface_get(Handle);
- return Eina.StringConversion.NativeUtf8ToManagedString(ptr);
- }
-
- public string GetMember()
- {
- CheckHandle();
- var ptr = eldbus_message_member_get(Handle);
- return Eina.StringConversion.NativeUtf8ToManagedString(ptr);
- }
-
- public string GetDestination()
- {
- CheckHandle();
- var ptr = eldbus_message_destination_get(Handle);
- return Eina.StringConversion.NativeUtf8ToManagedString(ptr);
- }
-
- public string GetSender()
- {
- CheckHandle();
- var ptr = eldbus_message_sender_get(Handle);
- return Eina.StringConversion.NativeUtf8ToManagedString(ptr);
- }
-
- public string GetSignature()
- {
- CheckHandle();
- var ptr = eldbus_message_signature_get(Handle);
- return Eina.StringConversion.NativeUtf8ToManagedString(ptr);
- }
-
- public eldbus.Message NewError(string error_name, string error_msg)
- {
- CheckHandle();
- var ptr = eldbus_message_error_new(Handle, error_name, error_msg);
- if (ptr == IntPtr.Zero)
- {
- throw new SEHException("Eldbus: could not get `Message' object from eldbus_message_error_new");
- }
-
- return new eldbus.Message(ptr, false);
- }
-
- public eldbus.Message NewMethodReturn()
- {
- CheckHandle();
- var ptr = eldbus_message_method_return_new(Handle);
- if (ptr == IntPtr.Zero)
- {
- throw new SEHException("Eldbus: could not get `Message' object from eldbus_message_method_return_new");
- }
-
- return new eldbus.Message(ptr, false);
- }
-
- public bool GetError(out string name, out string text)
- {
- CheckHandle();
- IntPtr name_ptr;
- IntPtr text_ptr;
- bool r = eldbus_message_error_get(Handle, out name_ptr, out text_ptr);
- name = Eina.StringConversion.NativeUtf8ToManagedString(name_ptr);
- text = Eina.StringConversion.NativeUtf8ToManagedString(text_ptr);
- return r;
- }
-
- public bool Get(out byte val)
- {
- CheckHandle();
- return eldbus_message_arguments_get(Handle, Argument.ByteType.Signature, out val);
- }
-
- public bool Get(out bool val)
- {
- CheckHandle();
- Int32 aux;
- var r = eldbus_message_arguments_get(Handle, Argument.BooleanType.Signature, out aux);
- val = (aux != 0);
- return r;
- }
-
- public bool Get(out Int16 val)
- {
- CheckHandle();
- return eldbus_message_arguments_get(Handle, Argument.Int16Type.Signature, out val);
- }
-
- public bool Get(out UInt16 val)
- {
- CheckHandle();
- return eldbus_message_arguments_get(Handle, Argument.UInt16Type.Signature, out val);
- }
-
- public bool Get(out Int32 val)
- {
- CheckHandle();
- return eldbus_message_arguments_get(Handle, Argument.Int32Type.Signature, out val);
- }
-
- public bool Get(out UInt32 val)
- {
- CheckHandle();
- return eldbus_message_arguments_get(Handle, Argument.UInt32Type.Signature, out val);
- }
-
- public bool Get(out Int64 val)
- {
- CheckHandle();
- return eldbus_message_arguments_get(Handle, Argument.Int64Type.Signature, out val);
- }
-
- public bool Get(out UInt64 val)
- {
- CheckHandle();
- return eldbus_message_arguments_get(Handle, Argument.UInt64Type.Signature, out val);
- }
-
- public bool Get(out double val)
- {
- CheckHandle();
- return eldbus_message_arguments_get(Handle, Argument.DoubleType.Signature, out val);
- }
-
- public bool Get(out string val)
- {
- CheckHandle();
- IntPtr aux;
- var r = eldbus_message_arguments_get(Handle, Argument.StringType.Signature, out aux);
- val = Eina.StringConversion.NativeUtf8ToManagedString(aux);
- return r;
- }
-
- public bool Get(out eldbus.ObjectPath val)
- {
- CheckHandle();
- IntPtr aux;
- var r = eldbus_message_arguments_get(Handle, Argument.ObjectPathType.Signature, out aux);
- val = Eina.StringConversion.NativeUtf8ToManagedString(aux);
- return r;
- }
-
- public bool Get(out eldbus.SignatureString val)
- {
- CheckHandle();
- IntPtr aux;
- var r = eldbus_message_arguments_get(Handle, Argument.SignatureType.Signature, out aux);
- val = Eina.StringConversion.NativeUtf8ToManagedString(aux);
- return r;
- }
-
- public bool Get(out eldbus.UnixFd val)
- {
- CheckHandle();
- Int32 aux;
- var r = eldbus_message_arguments_get(Handle, Argument.UnixFdType.Signature, out aux);
- val = aux;
- return r;
- }
-
- public void Append(params BasicMessageArgument[] args)
- {
- CheckHandle();
- foreach (BasicMessageArgument arg in args)
- {
- arg.AppendTo(this);
- }
- }
-
- public eldbus.MessageIterator AppendOpenContainer(string signature)
- {
- var iter = GetMessageIterator();
- return iter.AppendOpenContainer(signature);
- }
-
- public eldbus.MessageIterator GetMessageIterator()
- {
- CheckHandle();
- var ptr = eldbus_message_iter_get(Handle);
- if (ptr == IntPtr.Zero)
- {
- throw new SEHException("Eldbus: could not get `MessageIterator' object from eldbus_message_iter_get");
- }
-
- return new eldbus.MessageIterator(ptr, IntPtr.Zero);
- }
-}
-
-public class MessageIterator
-{
- public IntPtr Handle {get;set;} = IntPtr.Zero;
- public IntPtr Parent {get;set;} = IntPtr.Zero;
-
- private void InitNew(IntPtr handle, IntPtr parent)
- {
- Handle = handle;
- Parent = parent;
- CheckHandle();
- }
-
- private void CheckHandle()
- {
- if (Handle == IntPtr.Zero)
- {
- eldbus.Common.RaiseNullHandle();
- }
- }
-
- public MessageIterator(IntPtr handle, IntPtr parent)
- {
- InitNew(handle, parent);
- }
-
- public IntPtr Release()
- {
- IntPtr h = Handle;
- Handle = IntPtr.Zero;
- Parent = IntPtr.Zero;
- return h;
- }
-
- public void Append(params BasicMessageArgument[] args)
- {
- CheckHandle();
-
- foreach (BasicMessageArgument arg in args)
- {
- arg.AppendTo(this);
- }
- }
-
- public eldbus.MessageIterator AppendOpenContainer(string signature)
- {
- CheckHandle();
-
- IntPtr new_iter = IntPtr.Zero;
-
- if (signature[0] == 'v')
- {
- new_iter = eldbus_message_iter_container_new(Handle, 'v', signature.Substring(1));
- }
- else if (!eldbus_message_iter_arguments_append(Handle, signature, out new_iter))
- {
- throw new SEHException("Eldbus: could not append container type");
- }
-
- if (new_iter == IntPtr.Zero)
- {
- throw new SEHException("Eldbus: could not get `MessageIterator' object from eldbus_message_iter_arguments_append");
- }
-
- return new eldbus.MessageIterator(new_iter, Handle);
- }
-
- public eldbus.MessageIterator AppendOpenContainer(char type, string contained_signature)
- {
- CheckHandle();
-
- IntPtr new_iter = eldbus_message_iter_container_new(Handle, type, contained_signature);
-
- if (new_iter == IntPtr.Zero)
- {
- throw new SEHException("Eldbus: could not get `MessageIterator' object from eldbus_message_iter_container_new");
- }
-
- return new eldbus.MessageIterator(new_iter, Handle);
- }
-
- public void CloseContainer()
- {
- CheckHandle();
-
- if (Parent == IntPtr.Zero)
- {
- throw new SEHException("Eldbus: can not close MessageIterator open container without a parent");
- }
-
- if (!eldbus_message_iter_container_close(Parent, Handle))
- {
- throw new SEHException("Eldbus: could not close MessageIterator");
- }
-
- Handle = IntPtr.Zero;
- Parent = IntPtr.Zero;
- }
-
- public string GetSignature()
- {
- return eldbus_message_iter_signature_get(Handle);
- }
-
- public bool GetAndNext(out byte val)
- {
- CheckHandle();
- return eldbus_message_iter_get_and_next(Handle, Argument.ByteType.Code, out val);
- }
-
- public bool GetAndNext(out bool val)
- {
- CheckHandle();
- Int32 aux;
- bool r = eldbus_message_iter_get_and_next(Handle, Argument.BooleanType.Code, out aux);
- val = (aux != 0);
- return r;
- }
-
- public bool GetAndNext(out Int16 val)
- {
- CheckHandle();
- return eldbus_message_iter_get_and_next(Handle, Argument.Int16Type.Code, out val);
- }
-
- public bool GetAndNext(out UInt16 val)
- {
- CheckHandle();
- return eldbus_message_iter_get_and_next(Handle, Argument.UInt16Type.Code, out val);
- }
-
- public bool GetAndNext(out Int32 val)
- {
- CheckHandle();
- return eldbus_message_iter_get_and_next(Handle, Argument.Int32Type.Code, out val);
- }
-
- public bool GetAndNext(out UInt32 val)
- {
- CheckHandle();
- return eldbus_message_iter_get_and_next(Handle, Argument.UInt32Type.Code, out val);
- }
-
- public bool GetAndNext(out Int64 val)
- {
- CheckHandle();
- return eldbus_message_iter_get_and_next(Handle, Argument.Int64Type.Code, out val);
- }
-
- public bool GetAndNext(out UInt64 val)
- {
- CheckHandle();
- return eldbus_message_iter_get_and_next(Handle, Argument.UInt64Type.Code, out val);
- }
-
- public bool GetAndNext(out double val)
- {
- CheckHandle();
- return eldbus_message_iter_get_and_next(Handle, Argument.DoubleType.Code, out val);
- }
-
- public bool GetAndNext(out string val)
- {
- CheckHandle();
- IntPtr aux;
- bool r = eldbus_message_iter_get_and_next(Handle, Argument.StringType.Code, out aux);
- val = Eina.StringConversion.NativeUtf8ToManagedString(aux);
- return r;
- }
-
- public bool GetAndNext(out eldbus.ObjectPath val)
- {
- CheckHandle();
- IntPtr aux;
- bool r = eldbus_message_iter_get_and_next(Handle, Argument.ObjectPathType.Code, out aux);
- val = Eina.StringConversion.NativeUtf8ToManagedString(aux);
- return r;
- }
-
- public bool GetAndNext(out eldbus.SignatureString val)
- {
- CheckHandle();
- IntPtr aux;
- bool r = eldbus_message_iter_get_and_next(Handle, Argument.SignatureType.Code, out aux);
- val = Eina.StringConversion.NativeUtf8ToManagedString(aux);
- return r;
- }
-
- public bool GetAndNext(out eldbus.UnixFd val)
- {
- CheckHandle();
- Int32 aux;
- bool r = eldbus_message_iter_get_and_next(Handle, Argument.UnixFdType.Code, out aux);
- val = aux;
- return r;
- }
-
- public bool GetAndNext(out eldbus.MessageIterator iter, char typecode)
- {
- CheckHandle();
- IntPtr hdl = IntPtr.Zero;
- bool r = eldbus_message_iter_get_and_next(Handle, typecode, out hdl);
- if (hdl == IntPtr.Zero)
- {
- throw new SEHException("Eldbus: could not get argument");
- }
-
- iter = new eldbus.MessageIterator(hdl, Handle);
-
- return r;
- }
-
- public bool GetAndNext(out eldbus.MessageIterator iter, string signatue)
- {
- CheckHandle();
- IntPtr hdl = IntPtr.Zero;
- if (!eldbus_message_iter_arguments_get(Handle, signatue, out hdl) || hdl == IntPtr.Zero)
- {
- throw new SEHException("Eldbus: could not get argument");
- }
-
- iter = new eldbus.MessageIterator(hdl, Handle);
-
- return Next();
- }
-
- public void Get(out byte val)
- {
- CheckHandle();
- eldbus_message_iter_basic_get(Handle, out val);
- }
-
- public void Get(out bool val)
- {
- CheckHandle();
- Int32 aux;
- eldbus_message_iter_basic_get(Handle, out aux);
- val = (aux != 0);
- }
-
- public void Get(out Int16 val)
- {
- CheckHandle();
- eldbus_message_iter_basic_get(Handle, out val);
- }
-
- public void Get(out UInt16 val)
- {
- CheckHandle();
- eldbus_message_iter_basic_get(Handle, out val);
- }
-
- public void Get(out Int32 val)
- {
- CheckHandle();
- eldbus_message_iter_basic_get(Handle, out val);
- }
-
- public void Get(out UInt32 val)
- {
- CheckHandle();
- eldbus_message_iter_basic_get(Handle, out val);
- }
-
- public void Get(out Int64 val)
- {
- CheckHandle();
- eldbus_message_iter_basic_get(Handle, out val);
- }
-
- public void Get(out UInt64 val)
- {
- CheckHandle();
- eldbus_message_iter_basic_get(Handle, out val);
- }
-
- public void Get(out double val)
- {
- CheckHandle();
- eldbus_message_iter_basic_get(Handle, out val);
- }
-
- public void Get(out string val)
- {
- CheckHandle();
- IntPtr aux;
- eldbus_message_iter_basic_get(Handle, out aux);
- val = Eina.StringConversion.NativeUtf8ToManagedString(aux);
- }
-
- public void Get(out eldbus.ObjectPath val)
- {
- CheckHandle();
- IntPtr aux;
- eldbus_message_iter_basic_get(Handle, out aux);
- val = Eina.StringConversion.NativeUtf8ToManagedString(aux);
- }
-
- public void Get(out eldbus.SignatureString val)
- {
- CheckHandle();
- IntPtr aux;
- eldbus_message_iter_basic_get(Handle, out aux);
- val = Eina.StringConversion.NativeUtf8ToManagedString(aux);
- }
-
- public void Get(out eldbus.UnixFd val)
- {
- CheckHandle();
- Int32 aux;
- eldbus_message_iter_basic_get(Handle, out aux);
- val = aux;
- }
-
- public void Get(out eldbus.MessageIterator iter, string signatue)
- {
- CheckHandle();
- IntPtr hdl = IntPtr.Zero;
- if (!eldbus_message_iter_arguments_get(Handle, signatue, out hdl) || hdl == IntPtr.Zero)
- {
- throw new SEHException("Eldbus: could not get argument");
- }
-
- iter = new eldbus.MessageIterator(hdl, Handle);
- }
-
- public bool Next()
- {
- CheckHandle();
- return eldbus_message_iter_next(Handle);
- }
-
- public void Del()
- {
- CheckHandle();
-
- eldbus_message_iter_del(Handle);
-
- Handle = IntPtr.Zero;
- Parent = IntPtr.Zero;
- }
-
- private void GetFixedArrayInternal(int type_code, out IntPtr value, out int n_elements)
- {
- CheckHandle();
-
- if (!eldbus_message_iter_fixed_array_get(Handle, type_code, out value, out n_elements))
- {
- throw new SEHException("Eldbus: could not get fixed array");
- }
- }
-
- public void GetFixedArray(out byte[] array)
- {
- IntPtr value;
- int n_elements;
- GetFixedArrayInternal(Argument.ByteType.Code, out value, out n_elements);
- array = new byte[n_elements];
- Marshal.Copy(value, array, 0, n_elements);
- }
-
- public void GetFixedArray(out bool[] array)
- {
- IntPtr value;
- int n_elements;
- GetFixedArrayInternal(Argument.BooleanType.Code, out value, out n_elements);
- var aux = new Int32[n_elements];
- Marshal.Copy(value, aux, 0, n_elements);
-
- // array = aux.Select(Convert.ToBoolean).ToArray();
- array = Array.ConvertAll(aux, Convert.ToBoolean);
- }
-
- public void GetFixedArray(out Int16[] array)
- {
- IntPtr value;
- int n_elements;
- GetFixedArrayInternal(Argument.Int16Type.Code, out value, out n_elements);
- array = new Int16[n_elements];
- Marshal.Copy(value, array, 0, n_elements);
- }
-
-// public void GetFixedArray(out UInt16[] array)
-// {
-// IntPtr value;
-// int n_elements;
-// GetFixedArrayInternal(Argument.UInt16Type.Code, out value, out n_elements);
-// array = new UInt16[n_elements];
-// Marshal.Copy(value, array, 0, n_elements);
-// }
-
- public void GetFixedArray(out Int32[] array)
- {
- IntPtr value;
- int n_elements;
- GetFixedArrayInternal(Argument.Int32Type.Code, out value, out n_elements);
- array = new Int32[n_elements];
- Marshal.Copy(value, array, 0, n_elements);
- }
-
-// public void GetFixedArray(out UInt32[] array)
-// {
-// IntPtr value;
-// int n_elements;
-// GetFixedArrayInternal(Argument.UInt32Type.Code, out value, out n_elements);
-// array = new UInt32[n_elements];
-// Marshal.Copy(value, array, 0, n_elements);
-// }
-
- public void GetFixedArray(out Int64[] array)
- {
- IntPtr value;
- int n_elements;
- GetFixedArrayInternal(Argument.Int64Type.Code, out value, out n_elements);
- array = new Int64[n_elements];
- Marshal.Copy(value, array, 0, n_elements);
- }
-
-// public void GetFixedArray(out UInt64[] array)
-// {
-// IntPtr value;
-// int n_elements;
-// GetFixedArrayInternal(Argument.UInt64Type.Code, out value, out n_elements);
-// array = new UInt64[n_elements];
-// Marshal.Copy(value, array, 0, n_elements);
-// }
-
- public void GetFixedArray(out eldbus.UnixFd[] array)
- {
- IntPtr value;
- int n_elements;
- GetFixedArrayInternal(Argument.DoubleType.Code, out value, out n_elements);
- var aux = new Int32[n_elements];
- Marshal.Copy(value, aux, 0, n_elements);
-
- array = Array.ConvertAll(aux, e => new UnixFd(e));
- }
-}
-
-}
+++ /dev/null
-
-#pragma warning disable 1591
-
-using System.Runtime.InteropServices;
-
-using static eldbus.EldbusObjectNativeFunctions;
-
-using IntPtr = System.IntPtr;
-
-namespace eldbus
-{
-
-public static class EldbusObjectNativeFunctions
-{
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_object_get(IntPtr conn, string bus, string path);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_object_ref(IntPtr obj);
-
- [DllImport(efl.Libs.Eldbus)] public static extern void
- eldbus_object_unref(IntPtr obj);
-
- [DllImport(efl.Libs.Eldbus)] public static extern void
- eldbus_object_free_cb_add(IntPtr obj, IntPtr cb, IntPtr data);
-
- [DllImport(efl.Libs.Eldbus)] public static extern void
- eldbus_object_free_cb_del(IntPtr obj, IntPtr cb, IntPtr data);
-
-// typedef enum
-// {
-// ELDBUS_OBJECT_EVENT_IFACE_ADDED = 0, /**< a parent path must have a ObjectManager interface */
-// ELDBUS_OBJECT_EVENT_IFACE_REMOVED, /**< a parent path must have a ObjectManager interface */
-// ELDBUS_OBJECT_EVENT_PROPERTY_CHANGED, /**< a property has changes */
-// ELDBUS_OBJECT_EVENT_PROPERTY_REMOVED, /**< a property was removed */
-// ELDBUS_OBJECT_EVENT_DEL,
-// ELDBUS_OBJECT_EVENT_LAST /**< sentinel, not a real event type */
-// } Eldbus_Object_Event_Type;
-//
-// [DllImport(efl.Libs.Eldbus)] public static extern void
-// eldbus_object_event_callback_add(IntPtr obj, Eldbus_Object_Event_Type type, IntPtr cb, IntPtr cb_data);
-//
-// [DllImport(efl.Libs.Eldbus)] public static extern void
-// eldbus_object_event_callback_del(IntPtr obj, Eldbus_Object_Event_Type type, IntPtr cb, IntPtr cb_data);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_object_connection_get(IntPtr obj);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_object_bus_name_get(IntPtr obj);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_object_path_get(IntPtr obj);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_object_send(IntPtr obj, IntPtr msg, IntPtr cb, IntPtr cb_data, double timeout);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_object_signal_handler_add(IntPtr obj, string _interface, string member, IntPtr cb, IntPtr cb_data);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_object_method_call_new(IntPtr obj, string _interface, string member);
-
- // FreeDesktop.Org Methods
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_object_peer_ping(IntPtr obj, IntPtr cb, IntPtr data);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_object_peer_machine_id_get(IntPtr obj, IntPtr cb, IntPtr data);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_object_introspect(IntPtr obj, IntPtr cb, IntPtr data);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_object_managed_objects_get(IntPtr obj, IntPtr cb, IntPtr data);
-
-// [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
-// eldbus_object_manager_interfaces_added(IntPtr obj, Eldbus_Signal_Cb cb, IntPtr cb_data);
-//
-// [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
-// eldbus_object_manager_interfaces_removed(IntPtr obj, Eldbus_Signal_Cb cb, IntPtr cb_data);
-}
-
-
-public class Object : System.IDisposable
-{
-
- public IntPtr Handle {get;set;} = IntPtr.Zero;
- public bool Own {get;set;} = true;
-
- private void InitNew(IntPtr handle, bool own)
- {
- Handle = handle;
- Own = own;
- CheckHandle();
- }
-
- private void CheckHandle()
- {
- if (Handle == IntPtr.Zero)
- {
- eldbus.Common.RaiseNullHandle();
- }
- }
-
- public Object(IntPtr handle, bool own)
- {
- InitNew(handle, own);
- }
-
- public Object(eldbus.Connection conn, string bus, string path)
- {
- if (conn == null)
- {
- throw new System.ArgumentNullException("conn");
- }
-
- if (bus == null)
- {
- throw new System.ArgumentNullException("bus");
- }
-
- if (path == null)
- {
- throw new System.ArgumentNullException("path");
- }
-
- var handle = eldbus_object_get(conn.Handle, bus, path);
-
- if (handle == IntPtr.Zero)
- {
- throw new SEHException("Eldbus: could not get `Object' object from eldbus_object_get");
- }
-
- InitNew(handle, true);
- }
-
- ~Object()
- {
- Dispose(false);
- }
-
- protected virtual void Dispose(bool disposing)
- {
- IntPtr h = Handle;
- Handle = IntPtr.Zero;
- if (h == IntPtr.Zero)
- {
- return;
- }
-
- if (Own)
- {
- if (disposing)
- {
- eldbus_object_unref(h);
- }
- else
- {
- Efl.Eo.Globals.ThreadSafeFreeCbExec(eldbus_object_unref, h);
- }
- }
- }
-
- public void Dispose()
- {
- Dispose(true);
- System.GC.SuppressFinalize(this);
- }
-
- public void Free()
- {
- Dispose();
- }
-
- public IntPtr Release()
- {
- IntPtr h = Handle;
- Handle = IntPtr.Zero;
- return h;
- }
-
- public eldbus.Connection GetConnection()
- {
- CheckHandle();
- var conn = eldbus_object_connection_get(Handle);
-
- if (conn == IntPtr.Zero)
- {
- throw new SEHException("Eldbus: could not get `Connection' object from eldbus_object_connection_get");
- }
-
- return new eldbus.Connection(conn, false);
- }
-
- public string GetBusName()
- {
- CheckHandle();
- var ptr = eldbus_object_bus_name_get(Handle);
- return Eina.StringConversion.NativeUtf8ToManagedString(ptr);
- }
-
- public string GetPath()
- {
- CheckHandle();
- var ptr = eldbus_object_path_get(Handle);
- return Eina.StringConversion.NativeUtf8ToManagedString(ptr);
- }
-
- public void Ref()
- {
- CheckHandle();
- eldbus_object_ref(Handle);
- }
-
- public void Unref()
- {
- CheckHandle();
- eldbus_object_unref(Handle);
- }
-
- public eldbus.Pending Send(eldbus.Message msg, eldbus.MessageDelegate dlgt = null, double timeout = -1)
- {
- CheckHandle();
-
- if (msg == null)
- {
- throw new System.ArgumentNullException("msg");
- }
-
- IntPtr cb_wrapper = dlgt == null ? IntPtr.Zero : eldbus.Common.GetMessageCbWrapperPtr();
- IntPtr cb_data = dlgt == null ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(dlgt);
-
- var pending_hdl = eldbus_object_send(Handle, msg.Handle, cb_wrapper, cb_data, timeout);
-
- if (pending_hdl == IntPtr.Zero)
- {
- throw new SEHException("Eldbus: could not get `Pending' object from eldbus_object_send");
- }
-
- return new eldbus.Pending(pending_hdl, false);
- }
-
- public eldbus.Message NewMethodCall(string _interface, string member)
- {
- CheckHandle();
-
- var hdl = eldbus_object_method_call_new(Handle, _interface, member);
-
- if (hdl == IntPtr.Zero)
- {
- throw new SEHException("Eldbus: could not get `Message' object from eldbus_object_method_call_new");
- }
-
- return new eldbus.Message(hdl, false);
- }
-
- public eldbus.Pending PeerPing(eldbus.MessageDelegate dlgt = null)
- {
- CheckHandle();
-
- IntPtr cb_wrapper = dlgt == null ? IntPtr.Zero : eldbus.Common.GetMessageCbWrapperPtr();
- IntPtr cb_data = dlgt == null ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(dlgt);
-
- var pending_hdl = eldbus_object_peer_ping(Handle, cb_wrapper, cb_data);
-
- if (pending_hdl == IntPtr.Zero)
- {
- throw new SEHException("Eldbus: could not get `Pending' object from eldbus_object_peer_ping");
- }
-
- return new eldbus.Pending(pending_hdl, false);
- }
-
- public eldbus.Pending GetPeerMachineId(eldbus.MessageDelegate dlgt = null)
- {
- CheckHandle();
-
- IntPtr cb_wrapper = dlgt == null ? IntPtr.Zero : eldbus.Common.GetMessageCbWrapperPtr();
- IntPtr cb_data = dlgt == null ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(dlgt);
-
- var pending_hdl = eldbus_object_peer_machine_id_get(Handle, cb_wrapper, cb_data);
-
- if (pending_hdl == IntPtr.Zero)
- {
- throw new SEHException("Eldbus: could not get `Pending' object from eldbus_object_peer_machine_id_get");
- }
-
- return new eldbus.Pending(pending_hdl, false);
- }
-
- public eldbus.Pending Introspect(eldbus.MessageDelegate dlgt = null)
- {
- CheckHandle();
-
- IntPtr cb_wrapper = dlgt == null ? IntPtr.Zero : eldbus.Common.GetMessageCbWrapperPtr();
- IntPtr cb_data = dlgt == null ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(dlgt);
-
- var pending_hdl = eldbus_object_introspect(Handle, cb_wrapper, cb_data);
-
- if (pending_hdl == IntPtr.Zero)
- {
- throw new SEHException("Eldbus: could not get `Pending' object from eldbus_object_introspect");
- }
-
- return new eldbus.Pending(pending_hdl, false);
- }
-
- public eldbus.Pending GetManagedObjects(eldbus.MessageDelegate dlgt = null)
- {
- CheckHandle();
-
- IntPtr cb_wrapper = dlgt == null ? IntPtr.Zero : eldbus.Common.GetMessageCbWrapperPtr();
- IntPtr cb_data = dlgt == null ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(dlgt);
-
- var pending_hdl = eldbus_object_managed_objects_get(Handle, cb_wrapper, cb_data);
-
- if (pending_hdl == IntPtr.Zero)
- {
- throw new SEHException("Eldbus: could not get `Pending' object from eldbus_object_managed_objects_get");
- }
-
- return new eldbus.Pending(pending_hdl, false);
- }
-}
-
-}
+++ /dev/null
-#pragma warning disable 1591
-
-using System;
-using System.Runtime.InteropServices;
-
-using static eldbus.EldbusPendingNativeFunctions;
-
-namespace eldbus
-{
-
-public static class EldbusPendingNativeFunctions
-{
- [DllImport(efl.Libs.Eldbus)] public static extern void
- eldbus_pending_data_set(IntPtr pending, string key, IntPtr data);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_pending_data_get(IntPtr pending, string key);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_pending_data_del(IntPtr pending, string key);
-
- [DllImport(efl.Libs.Eldbus)] public static extern void
- eldbus_pending_cancel(IntPtr pending);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_pending_destination_get(IntPtr pending);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_pending_path_get(IntPtr pending);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_pending_interface_get(IntPtr pending);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_pending_method_get(IntPtr pending);
-
- [DllImport(efl.Libs.Eldbus)] public static extern void
- eldbus_pending_free_cb_add(IntPtr pending, IntPtr cb, IntPtr data);
-
- [DllImport(efl.Libs.Eldbus)] public static extern void
- eldbus_pending_free_cb_del(IntPtr pending, IntPtr cb, IntPtr data);
-}
-
-public class Pending
-{
- public IntPtr Handle {get;set;} = IntPtr.Zero;
- public bool Own {get;set;} = true;
-
- private void InitNew(IntPtr handle, bool own)
- {
- Handle = handle;
- Own = own;
- CheckHandle();
- }
-
- private void CheckHandle()
- {
- if (Handle == IntPtr.Zero)
- {
- eldbus.Common.RaiseNullHandle();
- }
- }
-
- public Pending(IntPtr handle, bool own)
- {
- InitNew(handle, own);
- }
-
- public IntPtr Release()
- {
- IntPtr h = Handle;
- Handle = IntPtr.Zero;
- return h;
- }
-
- public void Cancel()
- {
- CheckHandle();
- eldbus_pending_cancel(Handle);
- }
-
- public string GetDestination()
- {
- CheckHandle();
- var ptr = eldbus_pending_destination_get(Handle);
- return Eina.StringConversion.NativeUtf8ToManagedString(ptr);
- }
-
- public string GetPath()
- {
- CheckHandle();
- var ptr = eldbus_pending_path_get(Handle);
- return Eina.StringConversion.NativeUtf8ToManagedString(ptr);
- }
-
- public string GetInterface()
- {
- CheckHandle();
- var ptr = eldbus_pending_interface_get(Handle);
- return Eina.StringConversion.NativeUtf8ToManagedString(ptr);
- }
-
- public string GetMethod()
- {
- CheckHandle();
- var ptr = eldbus_pending_method_get(Handle);
- return Eina.StringConversion.NativeUtf8ToManagedString(ptr);
- }
-}
-
-}
+++ /dev/null
-#pragma warning disable 1591
-
-using System;
-using System.Runtime.InteropServices;
-
-using static eldbus.EldbusProxyNativeFunctions;
-
-namespace eldbus
-{
-
-public static class EldbusProxyNativeFunctions
-{
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_proxy_get(IntPtr obj, string _interface);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_proxy_ref(IntPtr proxy);
-
- [DllImport(efl.Libs.Eldbus)] public static extern void
- eldbus_proxy_unref(IntPtr proxy);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_proxy_object_get(IntPtr proxy);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_proxy_interface_get(IntPtr proxy);
-
- [DllImport(efl.Libs.Eldbus)] public static extern void
- eldbus_proxy_data_set(IntPtr proxy, string key, IntPtr data);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_proxy_data_get(IntPtr proxy, string key);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_proxy_data_del(IntPtr proxy, string key);
-
- [DllImport(efl.Libs.Eldbus)] public static extern void
- eldbus_proxy_free_cb_add(IntPtr proxy, IntPtr cb, IntPtr data);
-
- [DllImport(efl.Libs.Eldbus)] public static extern void
- eldbus_proxy_free_cb_del(IntPtr proxy, IntPtr cb, IntPtr data);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_proxy_method_call_new(IntPtr proxy, string member);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_proxy_send(IntPtr proxy, IntPtr msg, IntPtr cb, IntPtr cb_data, double timeout);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_proxy_send_and_block(IntPtr proxy, IntPtr msg, double timeout);
-
-// [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
-// eldbus_proxy_call(IntPtr proxy, string member, IntPtr cb, IntPtr cb_data, double timeout, string signature, ...);
-//
-// [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
-// eldbus_proxy_vcall(IntPtr proxy, string member, IntPtr cb, IntPtr cb_data, double timeout, string signature, va_list ap);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_proxy_signal_handler_add(IntPtr proxy, string member, IntPtr cb, IntPtr cb_data);
-
- [DllImport(efl.Libs.Eldbus)] public static extern void
- eldbus_proxy_event_callback_add(IntPtr proxy, int type, IntPtr cb, IntPtr cb_data);
-
- [DllImport(efl.Libs.Eldbus)] public static extern void
- eldbus_proxy_event_callback_del(IntPtr proxy, int type, IntPtr cb, IntPtr cb_data);
-}
-
-public class Proxy : IDisposable
-{
- public IntPtr Handle {get;set;} = IntPtr.Zero;
- public bool Own {get;set;} = true;
-
- private void InitNew(IntPtr handle, bool own)
- {
- Handle = handle;
- Own = own;
- CheckHandle();
- }
-
- private void CheckHandle()
- {
- if (Handle == IntPtr.Zero)
- {
- eldbus.Common.RaiseNullHandle();
- }
- }
-
- public Proxy(IntPtr handle, bool own)
- {
- InitNew(handle, own);
- }
-
- public Proxy(eldbus.Object obj, string _interface)
- {
- InitNew(eldbus_proxy_get(obj.Handle, _interface), true);
- }
-
- ~Proxy()
- {
- Dispose(false);
- }
-
- protected virtual void Dispose(bool disposing)
- {
- IntPtr h = Handle;
- Handle = IntPtr.Zero;
- if (h == IntPtr.Zero)
- {
- return;
- }
-
- if (Own)
- {
- if (disposing)
- {
- eldbus_proxy_unref(h);
- }
- else
- {
- Efl.Eo.Globals.ThreadSafeFreeCbExec(eldbus_proxy_unref, h);
- }
- }
- }
-
- public void Dispose()
- {
- Dispose(true);
- GC.SuppressFinalize(this);
- }
-
- public void Free()
- {
- Dispose();
- }
-
- public IntPtr Release()
- {
- IntPtr h = Handle;
- Handle = IntPtr.Zero;
- return h;
- }
-
- eldbus.Object GetObject()
- {
- CheckHandle();
- var ptr = eldbus_proxy_object_get(Handle);
- if (ptr == IntPtr.Zero)
- {
- throw new SEHException("Eldbus: could not get `Object' object from eldbus_proxy_object_get");
- }
-
- return new eldbus.Object(ptr, false);
- }
-
- string GetInterface()
- {
- CheckHandle();
- var ptr = eldbus_proxy_interface_get(Handle);
- return Eina.StringConversion.NativeUtf8ToManagedString(ptr);
- }
-
- eldbus.Message NewMethodCall(string member)
- {
- CheckHandle();
-
- if (member == null)
- {
- throw new ArgumentNullException("member");
- }
-
- var ptr = eldbus_proxy_method_call_new(Handle, member);
- if (ptr == IntPtr.Zero)
- {
- throw new SEHException("Eldbus: could not get `Message' object from eldbus_proxy_method_call_new");
- }
-
- return new eldbus.Message(ptr, false);
- }
-
- eldbus.Pending Send(eldbus.Message msg, eldbus.MessageDelegate dlgt = null, double timeout = -1)
- {
- CheckHandle();
-
- if (msg == null)
- {
- throw new ArgumentNullException("msg");
- }
-
- IntPtr cb_wrapper = dlgt == null ? IntPtr.Zero : eldbus.Common.GetMessageCbWrapperPtr();
- IntPtr cb_data = dlgt == null ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(dlgt);
-
- var pending_hdl = eldbus_proxy_send(Handle, msg.Handle, cb_wrapper, cb_data, timeout);
-
- if (pending_hdl == IntPtr.Zero)
- {
- throw new SEHException("Eldbus: could not get `Pending' object from eldbus_proxy_send");
- }
-
- return new eldbus.Pending(pending_hdl, false);
- }
-
- eldbus.Message SendAndBlock(eldbus.Message msg, double timeout = -1)
- {
- CheckHandle();
- var ptr = eldbus_proxy_send_and_block(Handle, msg.Handle, timeout);
- if (ptr == IntPtr.Zero)
- {
- throw new SEHException("Eldbus: could not get `Message' object from eldbus_proxy_send_and_block");
- }
-
- return new eldbus.Message(ptr, true);
- }
-
- eldbus.Pending Call(string member, eldbus.MessageDelegate dlgt, double timeout, params BasicMessageArgument[] args)
- {
- CheckHandle();
-
- var msg = NewMethodCall(member);
-
- foreach (BasicMessageArgument arg in args)
- {
- arg.AppendTo(msg);
- }
-
- return Send(msg, dlgt, timeout);
- }
-
- eldbus.Pending Call(string member, params BasicMessageArgument[] args)
- {
- return Call(member, null, -1.0, args);
- }
-}
-
-}
+++ /dev/null
-#pragma warning disable 1591
-
-using System;
-using System.Runtime.InteropServices;
-
-using static eldbus.EldbusServiceNativeFunctions;
-
-namespace eldbus
-{
-
-public static class EldbusServiceNativeFunctions
-{
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_service_interface_register(IntPtr conn, string path, IntPtr desc);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_service_interface_fallback_register(IntPtr conn, string path, IntPtr desc);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_service_interface_register2(IntPtr conn, string path, IntPtr desc);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_service_interface_fallback_register2(IntPtr conn, string path, IntPtr desc);
-
- [DllImport(efl.Libs.Eldbus)] public static extern void
- eldbus_service_interface_unregister(IntPtr iface);
-
- [DllImport(efl.Libs.Eldbus)] public static extern void
- eldbus_service_object_unregister(IntPtr iface);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_service_connection_get(IntPtr iface);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_service_object_path_get(IntPtr iface);
-
-// [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
-// eldbus_service_signal_emit(IntPtr iface, uint signal_id, ...);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_service_signal_new(IntPtr iface, uint signal_id);
-
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_service_signal_send(IntPtr iface, IntPtr signal_msg);
-
- [DllImport(efl.Libs.Eldbus)] public static extern void
- eldbus_service_object_data_set(IntPtr iface, string key, IntPtr data);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_service_object_data_get(IntPtr iface, string key);
-
- [DllImport(efl.Libs.Eldbus)] public static extern IntPtr
- eldbus_service_object_data_del(IntPtr iface, string key);
-
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_service_property_changed(IntPtr iface, string name);
-
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_service_property_invalidate_set(IntPtr iface, string name, [MarshalAs(UnmanagedType.U1)] bool is_invalidate);
-
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_service_object_manager_attach(IntPtr iface);
-
- [DllImport(efl.Libs.Eldbus)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
- eldbus_service_object_manager_detach(IntPtr iface);
-}
-
-}
/// <summary>Possible values for the #ELM_OBJECT_SELECT_MODE policy.
/// (Since EFL 1.7)</summary>
+[Efl.Eo.BindingEntity]
public enum SelectMode
{
/// <summary>default select mode. Once an item is selected, it would stay highlighted and not going to call selected callback again even it was clicked. Items can get focus.</summary>
namespace Icon {
/// <summary>Elementary icon types</summary>
+[Efl.Eo.BindingEntity]
public enum Type
{
/// <summary>Icon has no type set</summary>
namespace Panel {
/// <summary>Input panel (virtual keyboard) layout types. Type of input panel (virtual keyboard) to use - this is a hint and may not provide exactly what is desired.</summary>
+[Efl.Eo.BindingEntity]
public enum Layout
{
/// <summary>Default layout.</summary>
namespace Panel {
/// <summary>Input panel (virtual keyboard) language modes.</summary>
+[Efl.Eo.BindingEntity]
public enum Lang
{
/// <summary>Automatic</summary>
namespace Autocapital {
/// <summary>Autocapitalization Types. Choose method of auto-capitalization.</summary>
+[Efl.Eo.BindingEntity]
public enum Type
{
/// <summary>No auto-capitalization when typing.</summary>
namespace ReturnKey {
/// <summary>"Return" Key types on the input panel (virtual keyboard).</summary>
+[Efl.Eo.BindingEntity]
public enum Type
{
/// <summary>Default.</summary>
/// <summary>Enumeration that defines the types of Input Hints.
/// (Since EFL 1.12)</summary>
+[Efl.Eo.BindingEntity]
public enum Hints
{
/// <summary>No active hints
/// <summary>Data for the elm_validator_regexp_helper()</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct ValidateContent
{
///<summary>Placeholder field</summary>
/// <summary>The info sent in the callback for the "anchor,clicked" signals emitted by entries.</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct EntryAnchorInfo
{
///<summary>Placeholder field</summary>
/// <summary>The info sent in the callback for "anchor,hover" signals emitted by the Anchor_Hover widget</summary>
[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
public struct EntryAnchorHoverInfo
{
///<summary>Placeholder field</summary>
/// <summary>Elm scrollable mixin</summary>
[Elm.IInterfaceScrollableConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface IInterfaceScrollable :
Efl.Ui.IScrollable ,
Efl.Ui.IWidgetFocusManager ,
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IInterfaceScrollableConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
elm_interface_scrollable_mixin_get();
/// <summary>Initializes a new instance of the <see cref="IInterfaceScrollable"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private IInterfaceScrollableConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IInterfaceScrollableConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_ELM_INTERFACE_SCROLLABLE_EVENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_START";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_STOP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_UP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_DOWN";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_LEFT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_RIGHT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_EDGE_UP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_EDGE_DOWN";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_EDGE_LEFT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_EDGE_RIGHT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_ANIM_START";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_DRAG_START";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_REDIRECT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_FLUSH_PRE";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_COORDS_DIRTY";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_MANAGER_FOCUS_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_DIRTY_LOGIC_FREEZE_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
public Eina.Iterator<Efl.Ui.Focus.IObject> GetBorderElements() {
var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_border_elements_get_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false, false);
+ return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false);
}
/// <summary>Get all elements that are at the border of the viewport
/// Every element returned by this is located inside the viewport rectangle, but has a right, left, down or up neighbor outside the viewport.
Eina.Rect.NativeStruct _in_viewport = viewport;
var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_viewport_elements_get_ptr.Value.Delegate(this.NativeHandle,_in_viewport);
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false, false);
+ return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false);
}
/// <summary>Root node for all logical subtrees.
/// This property can only be set once.
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
/// <summary>Gets the list of Eo operations to override.</summary>
/// <summary>Type that controls when scrollbars should appear.
/// See also <see cref="Elm.IInterfaceScrollable.GetPolicy"/>.</summary>
+[Efl.Eo.BindingEntity]
public enum Policy
{
/// <summary>Show scrollbars as needed</summary>
/// <summary>Type that controls how the content is scrolled.
/// See also <see cref="Elm.IInterfaceScrollable.SetSingleDirection"/>.</summary>
+[Efl.Eo.BindingEntity]
public enum SingleDirection
{
/// <summary>Scroll every direction</summary>
public static FunctionWrapper<efl_object_shutdown_delegate> efl_object_shutdown_ptr = new FunctionWrapper<efl_object_shutdown_delegate>(efl.Libs.EoModule, "efl_object_shutdown");
public static void efl_object_shutdown() => efl_object_shutdown_ptr.Value.Delegate();
// [DllImport(efl.Libs.Eo)] public static extern void efl_object_shutdown();
- public static FunctionWrapper<_efl_add_internal_start_delegate> _efl_add_internal_start_ptr = new FunctionWrapper<_efl_add_internal_start_delegate>(efl.Libs.EoModule, "_efl_add_internal_start");
- public delegate IntPtr
- _efl_add_internal_start_delegate([MarshalAs(UnmanagedType.LPStr)] String file, int line,
- IntPtr klass, IntPtr parent, byte is_ref, byte is_fallback);
[DllImport(efl.Libs.CustomExports)] public static extern IntPtr efl_mono_wrapper_supervisor_get(IntPtr eo);
[DllImport(efl.Libs.CustomExports)] public static extern void efl_mono_wrapper_supervisor_set(IntPtr eo, IntPtr ws);
[DllImport(efl.Libs.Eo)] public static extern IntPtr
_efl_add_internal_start([MarshalAs(UnmanagedType.LPStr)] String file, int line,
IntPtr klass, IntPtr parent, byte is_ref, byte is_fallback);
+ [DllImport(efl.Libs.Eo)] public static extern IntPtr
+ _efl_add_internal_start_bindings([MarshalAs(UnmanagedType.LPStr)] String file, int line, IntPtr klass, IntPtr parent,
+ byte is_ref, byte is_fallback, IntPtr substitute_ctor, IntPtr data);
public delegate IntPtr
_efl_add_end_delegate(IntPtr eo, byte is_ref, byte is_fallback);
[DllImport(efl.Libs.Eo)] public static extern IntPtr
public delegate IntPtr dlerror_delegate();
[DllImport(efl.Libs.Evil)] public static extern IntPtr dlerror();
+ [DllImport(efl.Libs.Eo)] public static extern IntPtr efl_constructor(IntPtr obj);
+
+ [DllImport(efl.Libs.CustomExports)] public static extern IntPtr efl_mono_avoid_top_level_constructor_callback_addr_get();
+
[DllImport(efl.Libs.Eo)] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
efl_event_callback_priority_add(IntPtr obj, IntPtr desc, short priority, IntPtr cb, IntPtr data);
{
foreach (IntPtr ptr in dict.Values)
{
- Eina.Stringshare.eina_stringshare_del(ptr);
+ Eina.NativeMethods.eina_stringshare_del(ptr);
}
}
}
else
{
- // Will mark the returned task below as completed.
- tcs.SetResult(received);
+ // Async receiver methods may consume the value C# wrapper, like when awaiting in the start of an
+ // using block. In order to continue to forward the value correctly to the next futures
+ // in the chain, we give the Async wrapper a copy of the received wrapper.
+ tcs.SetResult(new Eina.Value(received));
}
fulfilled = true;
try
{
var flags = BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic;
- constructor = managedType.GetConstructor(flags, null, new Type[1] { typeof(System.IntPtr) }, null);
+ constructor = managedType.GetConstructor(flags, null, new Type[1] { typeof(WrappingHandle) }, null);
}
catch (InvalidOperationException)
{
throw new InvalidOperationException($"Can't get constructor for type {managedType}");
}
- var ret = (Efl.Eo.IWrapper) constructor.Invoke(new object[1] { handle });
+ WrappingHandle wh = new WrappingHandle(handle);
+ var ret = (Efl.Eo.IWrapper) constructor.Invoke(new object[1] { wh });
if (ret == null)
{
Monitor.Exit(Efl.All.InitLock);
}
+ /// <summary>
+ /// Internal struct used by the binding to pass the native handle pointer
+ /// to the managed object wrapping constructor.
+ /// Internal usage only: do not use this class in inherited classes.
+ /// </summary>
+ public struct WrappingHandle
+ {
+ public WrappingHandle(IntPtr h)
+ {
+ NativeHandle = h;
+ }
+
+ public IntPtr NativeHandle { get; private set; }
+ }
+
} // Globals
public static class Config
}
}
+[System.AttributeUsage(System.AttributeTargets.Class |
+ System.AttributeTargets.Interface |
+ System.AttributeTargets.Enum |
+ System.AttributeTargets.Delegate |
+ System.AttributeTargets.Struct,
+ AllowMultiple = false,
+ Inherited = false)
+]
+public class BindingEntity: System.Attribute
+{
+ public static bool IsBindingEntity(System.Type t)
+ {
+ return Attribute.GetCustomAttribute(t, typeof(BindingEntity), false) != null;
+ }
+}
+
public interface IWrapper
{
/// <summary>Pointer to internal Eo instance.</summary>
public object MarshalNativeToManaged(IntPtr pNativeData)
{
var ret = Eina.StringConversion.NativeUtf8ToManagedString(pNativeData);
- Eina.Stringshare.eina_stringshare_del(pNativeData);
+ Eina.NativeMethods.eina_stringshare_del(pNativeData);
return ret;
}
public IntPtr MarshalManagedToNative(object managedObj)
{
- return Eina.Stringshare.eina_stringshare_add((string)managedObj);
+ return Eina.MemoryNative.AddStringshare((string)managedObj);
}
public void CleanUpNativeData(IntPtr pNativeData)
public IntPtr MarshalManagedToNative(object managedObj)
{
- return Eina.Stringshare.eina_stringshare_add((string)managedObj);
+ return Eina.MemoryNative.AddStringshare((string)managedObj);
}
public void CleanUpNativeData(IntPtr pNativeData)