Circle and efl cs files are updated based on the latest efl.
Clickable and Selectable interfaces are updated.
All Popup classes are merged to Popup and AlertPopup.
SliderInterval class is no longer used.
Temporarily, List item's HintSizeMin should be set in app code for now.
The HintSizeMin code will be removed when the internal size calculation
logic is fixed.
/// The CircleSpinner is a widget to display and handle the spinner value by the rotary event.
/// </summary>
/// <since_tizen> 6 </since_tizen>
- public class CircleSpinner : Efl.Ui.Spin, ICircleWidget
+ public class CircleSpinner : Efl.Ui.Spin, Efl.Ui.IRangeInteractive, ICircleWidget
{
double _angleRatio = -1.0;
+ double _step = 1.0;
IntPtr _handle;
public virtual IntPtr CircleHandle => _handle;
/// <since_tizen> 6 </since_tizen>
public CircleSpinnerMarker Marker;
+ public event EventHandler SteadyEvt;
+
/// <summary>
/// Creates and initializes a new instance of the CircleSpinner class.
/// </summary>
Interop.Eext.eext_circle_object_item_radius_set(CircleHandle, "default", value);
}
}
+
+ public double GetRangeStep()
+ {
+ return _step;
+ }
+
+ public void SetRangeStep(double step)
+ {
+ _step = step;
+ }
+
+ public double RangeStep
+ {
+ get
+ {
+ return GetRangeStep();
+ }
+ set
+ {
+ SetRangeStep(value);
+ }
+ }
}
}
}
get { return null; }
set { }
}
+
+ public (int, int, int, int) Color
+ {
+ get
+ {
+ int _out_r = default(int);
+ int _out_g = default(int);
+ int _out_b = default(int);
+ int _out_a = default(int);
+ GetColor(out _out_r, out _out_g, out _out_b, out _out_a);
+ return (_out_r, _out_g, _out_b, _out_a);
+ }
+ set
+ {
+ SetColor(value.Item1, value.Item2, value.Item3, value.Item4);
+ }
+ }
}
/// <summary>
--- /dev/null
+#define EFL_BETA
+#if EFL_BETA
+
+using System;
+using System.Runtime.InteropServices;
+using System.Collections.Generic;
+using System.Linq;
+using System.ComponentModel;
+
+namespace Efl {
+
+/// <summary>Represents a bindable property as used by <see cref="Efl.Ui.ItemFactory<T>" /> instances.
+///
+/// <para>It is internally instantiated and returned by generated extension methods.</para>
+/// </summary>
+public class BindableProperty<T>
+{
+
+ /// <summary>Creates a new bindable property with the source name <c>name</c>.</summary>
+ public BindableProperty(string name, Efl.Ui.IPropertyBind binder)
+ {
+ this.propertyName = name;
+ this.partName = null;
+ this.binder = binder;
+ }
+
+ /// <summary>Creates a new bindable property for part <c>part</c>.</summary>
+ public BindableProperty(string partName, string partProperty, Efl.Ui.IPropertyBind binder)
+ {
+ this.partName = partName;
+ this.propertyName = partProperty;
+ this.binder = binder;
+ }
+
+ /// <summary>Binds the model property <c>modelProperty</c> to the property <c>name</c> set in the constructor.</summary>
+ public Eina.Error Bind(string modelProperty)
+ {
+ if (this.partName == null)
+ {
+ return this.binder.PropertyBind(this.propertyName, modelProperty);
+ }
+ else
+ {
+ var partHolder = this.binder as Efl.IPart;
+
+ if (partHolder == null)
+ {
+ throw new InvalidOperationException($"Failed to cast binder {binder} to IPart");
+ }
+
+ var partBinder = partHolder.GetPart(this.partName) as Efl.Ui.IPropertyBind;
+
+ if (partBinder != null)
+ {
+ return partBinder.PropertyBind(this.propertyName, modelProperty);
+ }
+ else
+ {
+ throw new InvalidOperationException($"Failed to get part {this.partName}");
+ }
+ }
+ }
+
+ string propertyName;
+ string partName;
+ Efl.Ui.IPropertyBind binder;
+}
+
+/// <summary>Represents bindable parts as used by <see cref="Efl.Ui.ItemFactory<T>" /> instances.
+///
+/// <para>It is internally instantiated and returned by generated extension methods.</para>
+/// </summary>
+public class BindablePart<T>
+{
+ /// <summary>Creates a new bindable property with the binder <c>binder</c>.</summary>
+ public BindablePart(string partName, Efl.Ui.IPropertyBind binder)
+ {
+ this.PartName = partName;
+ this.Binder = binder;
+ }
+
+ /// <summary>The name of the part this instance wraps.</summary>
+ public string PartName { get; private set; }
+ /// <summary>The binder that will be used to bind the properties.</summary>
+ public Efl.Ui.IPropertyBind Binder { get; private set; }
+
+}
+
+/// <summary>Represents bindable factory parts as used by <see cref="Efl.Ui.ItemFactory<T>" /> instances.
+/// </summary>
+public class BindableFactoryPart<T>
+{
+ /// <summary>Creates a new bindable factory part with the binder <c>binder</c>.</summary>
+ public BindableFactoryPart(string partName, Efl.Ui.IFactoryBind binder)
+ {
+ this.PartName = partName;
+ this.Binder = binder;
+ }
+
+ /// <summary>The name of the part this instance wraps.</summary>
+ public string PartName { get; private set; }
+ /// <summary>The binder that will be used to bind the properties.</summary>
+ public Efl.Ui.IFactoryBind Binder { get; private set; }
+
+ /// <summary>Binds the given factory to this part.</summary>
+ public Eina.Error BindFactory(Efl.Ui.IFactory factory)
+ {
+ this.Binder.FactoryBind(this.PartName, factory);
+ return Eina.Error.NO_ERROR;
+ }
+}
+
+namespace Csharp
+{
+
+/// <summary>Helper class to differentiate between factory extension methods.
+///
+/// For internal use only.</summary>
+public class ExtensionTag<TBase, TInherited>
+ where TInherited : TBase
+{
+}
+
+}
+
+}
+
+#endif
--- /dev/null
+#define EFL_BETA
+#if EFL_BETA
+
+using System;
+using System.Runtime.InteropServices;
+using System.Collections.Generic;
+using System.Linq;
+using System.ComponentModel;
+
+namespace Efl { namespace Ui {
+
+/// <summary>Helper factory class. Makes use of C# extension methods for easier property binding.
+///
+/// <code>
+/// var factory = Efl.Ui.Factory<Efl.Ui.Button>();
+/// factory.Style().Bind("Name"); // The factory Style property is bound to the Name property for the given model.
+/// </code>
+///
+/// </summary>
+public class ItemFactory<T> : Efl.Ui.CachingFactory, IDisposable
+{
+ /// <summary>Creates a new factory.</summary>
+ public ItemFactory(Efl.Object parent = null)
+ : base (parent, typeof(T))
+ {
+ }
+}
+
+} }
+
+#endif
{
if (_Delegate == null)
{
- throw new InvalidOperationException($"Trying to get Delegate while not loaded. Load result: {Kind}");
+ throw new InvalidOperationException($"Trying to get Delegate of type {typeof(T).FullName} while not loaded. Load result: {Kind}");
}
return _Delegate;
--- /dev/null
+#define EFL_BETA
+using System;
+using System.Runtime.InteropServices;
+using System.Collections.Generic;
+using System.Linq;
+using System.ComponentModel;
+using Eina;
+
+#if EFL_BETA
+
+namespace Efl {
+
+/// <summary>Generic <see cref="Efl.IModel" /> implementation for MVVM models based on <see cref="Efl.UserModel<T>" /></summary>
+public class GenericModel<T> : Efl.Object, Efl.IModel, IDisposable
+{
+ private Efl.IModel model;
+
+ /// <summary>Creates a new model wrapping <c>model</c>.</summary>
+ public GenericModel (Efl.IModel model, Efl.Object parent = null) : base(parent)
+ {
+ this.model = model;
+ }
+
+ /// <summary>The list of properties available in the wrapped model.</summary>
+ public Eina.Iterator< System.String> Properties
+ {
+ get { return GetProperties(); }
+ }
+
+ /// <summary>The number of children in the wrapped model.</summary>
+ public uint ChildrenCount
+ {
+ get { return GetChildrenCount(); }
+ }
+
+ /// <summary>The list of properties available in the wrapped model.</summary>
+ public Eina.Iterator<System.String> GetProperties()
+ {
+ return model.GetProperties();
+ }
+
+ /// <summary>Gets the value of the given property in the wrapped model.</summary>
+ public Eina.Value GetProperty( System.String property)
+ {
+ return model.GetProperty(property);
+ }
+
+ /// <summary>Sets the value of the given property in the given model.</summary>
+ public Eina.Future SetProperty( System.String property, Eina.Value value)
+ {
+ return model.SetProperty(property, value);
+ }
+
+ /// <summary>Returns the number of children in the wrapped model.</summary>
+ public uint GetChildrenCount()
+ {
+ return model.GetChildrenCount();
+ }
+
+ /// <summary>Returns an <see cref="Eina.Future" /> that will resolve when the property is ready to be read.</summary>
+ public Eina.Future GetPropertyReady( System.String property)
+ {
+ return model.GetPropertyReady(property);
+ }
+
+ /// <summary>Gets a number of children from the wrapped model.</summary>
+ public Eina.Future GetChildrenSlice( uint start, uint count)
+ {
+ return model.GetChildrenSlice(start, count);
+ }
+
+ /// <summary>Adds a new object to the wrapper model.</summary>
+ public void Add(T o)
+ {
+ Efl.IModel child = (Efl.IModel)this.AddChild();
+ ModelHelper.SetProperties(o, child);
+ }
+
+ /// <summary>Adds a new childs to the model and returns it.</summary>
+ public Efl.Object AddChild()
+ {
+ return model.AddChild();
+ }
+
+ /// <summary>Deletes the given <c>child</c> from the wrapped model.</summary>
+ public void DelChild( Efl.Object child)
+ {
+ model.DelChild(child);
+ }
+
+ /// <summary>Gets the element at the specified <c>index</c>.</summary>
+ async public System.Threading.Tasks.Task<T> GetAtAsync(uint index)
+ {
+ using (Eina.Value v = await GetChildrenSliceAsync(index, 1))
+ {
+ if (v.GetValueType().IsContainer())
+ {
+ var child = (Efl.IModel)v[0];
+ T obj = (T)Activator.CreateInstance(typeof(T), new System.Object[] {});
+ ModelHelper.GetProperties(obj, child);
+ return obj;
+ }
+ else
+ {
+ throw new System.InvalidOperationException("GetChildrenSlice must have returned a container");
+ }
+ }
+ }
+
+ /// <summary>Async wrapper around <see cref="SetProperty(System.String, Eina.Value)" />.</summary>
+ public System.Threading.Tasks.Task<Eina.Value> SetPropertyAsync( System.String property, Eina.Value value, System.Threading.CancellationToken token=default(System.Threading.CancellationToken))
+ {
+ return model.SetPropertyAsync(property, value, token);
+ }
+
+ /// <summary>Async wrapper around <see cref="GetPropertyReady(System.String)" />.</summary>
+ public System.Threading.Tasks.Task<Eina.Value> GetPropertyReadyAsync( System.String property, System.Threading.CancellationToken token=default(System.Threading.CancellationToken))
+ {
+ return model.GetPropertyReadyAsync(property, token);
+ }
+
+ /// <summary>Async wrapper around <see cref="GetChildrenSlice(uint, uint)" />.</summary>
+ public System.Threading.Tasks.Task<Eina.Value> GetChildrenSliceAsync( uint start, uint count, System.Threading.CancellationToken token=default(System.Threading.CancellationToken))
+ {
+ return model.GetChildrenSliceAsync(start, count, token);
+ }
+
+ /// <summary>Event triggered when properties on the wrapped model changes.</summary>
+ public event EventHandler<Efl.IModelPropertiesChangedEvt_Args> PropertiesChangedEvt
+ {
+ add {
+ model.PropertiesChangedEvt += value;
+ }
+ remove {
+ model.PropertiesChangedEvt -= value;
+ }
+ }
+
+ /// <summary>Event triggered when a child is added from the wrapped model.</summary>
+ public event EventHandler<Efl.IModelChildAddedEvt_Args> ChildAddedEvt
+ {
+ add {
+ model.ChildAddedEvt += value;
+ }
+ remove {
+ model.ChildAddedEvt -= value;
+ }
+ }
+
+ /// <summary>Event triggered when a child is removed from the wrapped model.</summary>
+ public event EventHandler<Efl.IModelChildRemovedEvt_Args> ChildRemovedEvt
+ {
+ add {
+ model.ChildRemovedEvt += value;
+ }
+ remove {
+ model.ChildRemovedEvt -= value;
+ }
+ }
+
+ /// <summary>Event triggered when the number of children changes.</summary>
+ public event EventHandler ChildrenCountChangedEvt
+ {
+ add {
+ model.ChildrenCountChangedEvt += value;
+ }
+ remove {
+ model.ChildrenCountChangedEvt -= value;
+ }
+ }
+}
+
+}
+
+#endif
--- /dev/null
+#define EFL_BETA
+using System;
+using System.Runtime.InteropServices;
+using System.Collections.Generic;
+using System.Linq;
+using System.ComponentModel;
+using System.Reflection;
+
+namespace Efl {
+
+#if EFL_BETA
+
+internal class ModelHelper
+{
+ /// FIXME Move this to eina_value.cs and be a static method of Value?
+ static internal Eina.Value ValueFromProperty<T>(T source, PropertyInfo property)
+ {
+ return new Eina.Value(property.GetValue(source));
+ }
+
+ static internal void SetPropertyFromValue<T>(T target, PropertyInfo property, Eina.Value v)
+ {
+ property.SetValue(target, v.Unwrap());
+ }
+
+ /// <summary>Sets the properties of the <paramref name="child"/> from the properties of the given object
+ /// <paramref name="o"/>.</summary>
+ static internal void SetProperties<T>(T o, Efl.IModel child)
+ {
+ var properties = typeof(T).GetProperties();
+ foreach(var prop in properties)
+ {
+ child.SetProperty(prop.Name, ValueFromProperty(o, prop));
+ }
+ }
+
+ /// <summary>Sets the properties of <paramref name="o"/> from the properties of <paramref name="child"/>.</summary>
+ static internal void GetProperties<T>(T o, Efl.IModel child)
+ {
+ var properties = typeof(T).GetProperties();
+ foreach(var prop in properties)
+ {
+ using (var v = child.GetProperty(prop.Name))
+ {
+ SetPropertyFromValue(o, prop, v);
+ }
+ }
+ }
+}
+
+/// <summary>Helper class to simplify the creation of MVVM Models based on <see cref="Efl.IModel" />.
+///
+/// <para>This class works together with <see cref="Efl.GenericModel<T>" /> to wrap user defined classes as MVVM models.
+/// Example:</para>
+///
+/// <code>
+/// public class PersonModel
+/// {
+/// public string Name { get; set; }
+/// public int Age { get; set; }
+/// }
+/// // Instantiating the model
+/// var modelData = new Efl.UserModel<PersonModel>(parent);
+/// modelData.Add(new PersonModel { Name = "John", Age = 30 };
+/// var model = new Efl.GenericModel<PersonModel>(modelData, parent);
+/// PersonModel p = await model.GetAtAsync(0);
+/// </code>
+/// </summary>
+[Efl.Eo.BindingEntity]
+public class UserModel<T> : Efl.MonoModelInternal, IDisposable
+{
+ /// <summary>Creates a new model.</summary>
+ /// <param name="parent">The parent of the model.</param>
+ public UserModel (Efl.Object parent = null) : base(Efl.MonoModelInternal.efl_mono_model_internal_class_get(), parent)
+ {
+ var properties = typeof(T).GetProperties();
+ foreach(var prop in properties)
+ {
+ AddProperty(prop.Name, Eina.ValueTypeBridge.GetManaged(prop.PropertyType));
+ }
+ }
+
+ /// <summary>Disposes of this instance.</summary>
+ ~UserModel()
+ {
+ Dispose(false);
+ }
+
+ /// <summary>Adds a new child to the model wrapping the properites of <c>o</c>
+ ///
+ /// <para>Reflection is used to instantiate a new <see cref="Efl.IModel" /> for this child and
+ /// set the mirroring properties correctly.</para>
+ /// </summary>
+ ///
+ /// <param name="o">The user model instance to be added to this model.</param>
+ public void Add (T o)
+ {
+ Efl.IModel child = (Efl.IModel) this.AddChild();
+ ModelHelper.SetProperties(o, child);
+ }
+}
+
+#endif
+
+}
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <summary>Efl accelerate interpolator class
/// output = 1 - sin(Pi / 2 + input * Pi / 2);</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.AccelerateInterpolator.NativeMethods]
[Efl.Eo.BindingEntity]
public class AccelerateInterpolator : Efl.Object, Efl.IInterpolator
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected AccelerateInterpolator(ConstructingHandle ch) : base(ch)
{
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflAccelerateInterpolator_ExtensionMethods {
+ public static Efl.BindableProperty<double> Factor<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.AccelerateInterpolator, T>magic = null) where T : Efl.AccelerateInterpolator {
+ return new Efl.BindableProperty<double>("factor", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Access {
/// <summary>Accessible action mixin</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Access.IActionConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IAction :
/// <summary>Get list of available widget actions</summary>
/// <value>Contains statically allocated strings.</value>
Eina.List<Efl.Access.ActionData> Actions {
- get ;
+ get;
}
}
/// <summary>Accessible action mixin</summary>
-sealed public class IActionConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IActionConcrete :
Efl.Eo.EoWrapper
, IAction
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IActionConcrete(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_AccessIActionConcrete_ExtensionMethods {
+
+
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Access {
/// <summary>AT-SPI component mixin</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Access.IComponentConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IComponent :
/// <returns>Top component object at given coordinate</returns>
Efl.Object GetAccessibleAtPoint(bool screen_coords, int x, int y);
/// <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>
+/// if MOBILE since_tizen 4.0 elseif WEARABLE since_tizen 3.0 endif</summary>
bool GrabHighlight();
/// <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>
+/// if MOBILE since_tizen 4.0 elseif WEARABLE since_tizen 3.0 endif</summary>
bool ClearHighlight();
/// <summary>Gets the depth at which the component is shown in relation to other components in the same container.</summary>
/// <value>Z order of component</value>
int ZOrder {
- get ;
+ get;
+ }
+ /// <summary>Position of accessible widget.</summary>
+ /// <value>X coordinate</value>
+ (int, int) ScreenPosition {
+ get;
+ set;
+ }
+ /// <summary>Gets position of socket offset.</summary>
+ (int, int) SocketOffset {
+ get;
+ set;
}
}
/// <summary>AT-SPI component mixin</summary>
-sealed public class IComponentConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IComponentConcrete :
Efl.Eo.EoWrapper
, IComponent
, Efl.Gfx.IEntity, Efl.Gfx.IStack
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IComponentConcrete(ConstructingHandle ch) : base(ch)
{
/// <summary>Object's visibility state changed, the event value is the new state.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Gfx.IEntityVisibilityChangedEvt_Args"/></value>
public event EventHandler<Efl.Gfx.IEntityVisibilityChangedEvt_Args> VisibilityChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event VisibilityChangedEvt.</summary>
+ /// <summary>Method to raise event VisibilityChangedEvt.</summary>
public void OnVisibilityChangedEvt(Efl.Gfx.IEntityVisibilityChangedEvt_Args e)
{
var key = "_EFL_GFX_ENTITY_EVENT_VISIBILITY_CHANGED";
}
/// <summary>Object was moved, its position during the event is the new one.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Gfx.IEntityPositionChangedEvt_Args"/></value>
public event EventHandler<Efl.Gfx.IEntityPositionChangedEvt_Args> PositionChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event PositionChangedEvt.</summary>
+ /// <summary>Method to raise event PositionChangedEvt.</summary>
public void OnPositionChangedEvt(Efl.Gfx.IEntityPositionChangedEvt_Args e)
{
var key = "_EFL_GFX_ENTITY_EVENT_POSITION_CHANGED";
}
/// <summary>Object was resized, its size during the event is the new one.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Gfx.IEntitySizeChangedEvt_Args"/></value>
public event EventHandler<Efl.Gfx.IEntitySizeChangedEvt_Args> SizeChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event SizeChangedEvt.</summary>
+ /// <summary>Method to raise event SizeChangedEvt.</summary>
public void OnSizeChangedEvt(Efl.Gfx.IEntitySizeChangedEvt_Args e)
{
var key = "_EFL_GFX_ENTITY_EVENT_SIZE_CHANGED";
}
}
}
- ///<summary>Method to raise event StackingChangedEvt.</summary>
+ /// <summary>Method to raise event StackingChangedEvt.</summary>
public void OnStackingChangedEvt(EventArgs e)
{
var key = "_EFL_GFX_ENTITY_EVENT_STACKING_CHANGED";
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>
+ /// if MOBILE since_tizen 4.0 elseif WEARABLE since_tizen 3.0 endif</summary>
public bool GrabHighlight() {
var _ret_var = Efl.Access.IComponentConcrete.NativeMethods.efl_access_component_highlight_grab_ptr.Value.Delegate(this.NativeHandle);
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>
+ /// if MOBILE since_tizen 4.0 elseif WEARABLE since_tizen 3.0 endif</summary>
public bool ClearHighlight() {
var _ret_var = Efl.Access.IComponentConcrete.NativeMethods.efl_access_component_highlight_clear_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
public int ZOrder {
get { return GetZOrder(); }
}
+ /// <summary>Position of accessible widget.</summary>
+ /// <value>X coordinate</value>
+ public (int, int) ScreenPosition {
+ get {
+ int _out_x = default(int);
+ int _out_y = default(int);
+ GetScreenPosition(out _out_x,out _out_y);
+ return (_out_x,_out_y);
+ }
+ set { SetScreenPosition( value.Item1, value.Item2); }
+ }
+ /// <summary>Gets position of socket offset.</summary>
+ public (int, int) SocketOffset {
+ get {
+ int _out_x = default(int);
+ int _out_y = default(int);
+ GetSocketOffset(out _out_x,out _out_y);
+ return (_out_x,_out_y);
+ }
+ set { SetSocketOffset( value.Item1, value.Item2); }
+ }
/// <summary>The 2D position of a canvas object.
/// The position is absolute, in pixels, relative to the top-left corner of the window, within its border decorations (application space).
/// (Since EFL 1.22)</summary>
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_AccessIComponentConcrete_ExtensionMethods {
+
+
+
+
+ public static Efl.BindableProperty<Eina.Position2D> Position<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Access.IComponent, T>magic = null) where T : Efl.Access.IComponent {
+ return new Efl.BindableProperty<Eina.Position2D>("position", fac);
+ }
+
+ public static Efl.BindableProperty<Eina.Size2D> Size<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Access.IComponent, T>magic = null) where T : Efl.Access.IComponent {
+ return new Efl.BindableProperty<Eina.Size2D>("size", fac);
+ }
+
+ public static Efl.BindableProperty<Eina.Rect> Geometry<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Access.IComponent, T>magic = null) where T : Efl.Access.IComponent {
+ return new Efl.BindableProperty<Eina.Rect>("geometry", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Visible<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Access.IComponent, T>magic = null) where T : Efl.Access.IComponent {
+ return new Efl.BindableProperty<bool>("visible", fac);
+ }
+
+ public static Efl.BindableProperty<double> Scale<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Access.IComponent, T>magic = null) where T : Efl.Access.IComponent {
+ return new Efl.BindableProperty<double>("scale", fac);
+ }
+
+ public static Efl.BindableProperty<short> Layer<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Access.IComponent, T>magic = null) where T : Efl.Access.IComponent {
+ return new Efl.BindableProperty<short>("layer", fac);
+ }
+
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Editable {
/// <summary>Elementary editable text interface</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Access.Editable.ITextConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IText :
/// <summary>Editable content property</summary>
/// <value>Content</value>
System.String TextContent {
- set ;
+ set;
}
}
/// <summary>Elementary editable text interface</summary>
-sealed public class ITextConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class ITextConcrete :
Efl.Eo.EoWrapper
, IText
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private ITextConcrete(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_Access_EditableITextConcrete_ExtensionMethods {
+ public static Efl.BindableProperty<System.String> TextContent<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Access.Editable.IText, T>magic = null) where T : Efl.Access.Editable.IText {
+ return new Efl.BindableProperty<System.String>("text_content", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
public interface IObject :
Efl.Eo.IWrapper, IDisposable
{
- /// <summary>Gets an localized string describing accessible object role name.</summary>
+ /// <summary>Gets an localized string describing accessible object role name.
+///
+/// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <returns>Localized accessible object role name</returns>
System.String GetLocalizedRoleName();
- /// <summary>Accessible name of the object.</summary>
+ /// <summary>Accessible name of the object.
+///
+/// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <returns>Accessible name</returns>
System.String GetI18nName();
- /// <summary>Accessible name of the object.</summary>
+ /// <summary>Accessible name of the object.
+///
+/// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="i18n_name">Accessible name</param>
void SetI18nName(System.String i18n_name);
/// <summary>Sets name information callback about widget.
-/// @if WEARABLE @since_tizen 3.0 @endif</summary>
+/// if WEARABLE since_tizen 3.0 endif
+///
+/// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="name_cb">reading information callback</param>
void SetNameCb(Efl.Access.ReadingInfoCb name_cb, System.IntPtr data);
- /// <summary>Gets an all relations between accessible object and other accessible objects.</summary>
+ /// <summary>Gets an all relations between accessible object and other accessible objects.
+///
+/// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <returns>Accessible relation set</returns>
Efl.Access.RelationSet GetRelationSet();
- /// <summary>The role of the object in accessibility domain.</summary>
+ /// <summary>The role of the object in accessibility domain.
+///
+/// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <returns>Accessible role</returns>
Efl.Access.Role GetRole();
- /// <summary>Sets the role of the object in accessibility domain.</summary>
+ /// <summary>Sets the role of the object in accessibility domain.
+///
+/// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="role">Accessible role</param>
void SetRole(Efl.Access.Role role);
/// <summary>Gets object's accessible parent.</summary>
/// <param name="parent">Accessible parent</param>
void SetAccessParent(Efl.Access.IObject parent);
/// <summary>Sets contextual information callback about widget.
-/// @if WEARABLE @since_tizen 3.0 @endif</summary>
+/// if WEARABLE since_tizen 3.0 endif
+///
+/// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="description_cb">The function called to provide the accessible description.</param>
-/// <param name="data">The data passed to @c description_cb.</param>
+/// <param name="data">The data passed to c description_cb.</param>
void SetDescriptionCb(Efl.Access.ReadingInfoCb description_cb, System.IntPtr data);
/// <summary>Sets gesture callback to give widget.
/// Warning: Please do not abuse this API. The purpose of this API is to support special application such as screen-reader guidance. Before using this API, please check if there is another way.
///
-/// @if WEARABLE @since_tizen 3.0 @endif</summary>
+/// if WEARABLE since_tizen 3.0 endif
+///
+/// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
void SetGestureCb(Efl.Access.GestureCb gesture_cb, System.IntPtr data);
- /// <summary>Gets object's accessible children.</summary>
+ /// <summary>Gets object's accessible children.
+///
+/// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <returns>List of widget's children</returns>
Eina.List<Efl.Access.IObject> GetAccessChildren();
- /// <summary>Gets human-readable string indentifying object accessibility role.</summary>
+ /// <summary>Gets human-readable string indentifying object accessibility role.
+///
+/// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <returns>Accessible role name</returns>
System.String GetRoleName();
- /// <summary>Gets key-value pairs indentifying object extra attributes. Must be free by a user.</summary>
+ /// <summary>Gets key-value pairs indentifying object extra attributes. Must be free by a user.
+///
+/// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <returns>List of object attributes, Must be freed by the user</returns>
Eina.List<Efl.Access.Attribute> GetAttributes();
/// <summary>Gets reading information types of an accessible object. if no reading information is set, 0 is returned which means all four reading information types will be read on object highlight
-/// @if WEARABLE @since_tizen 3.0 @endif</summary>
+/// if WEARABLE since_tizen 3.0 endif</summary>
/// <returns>Reading information types</returns>
Efl.Access.ReadingInfoTypeMask GetReadingInfoType();
/// <summary>Sets reading information of an accessible object. If set as 0, existing reading info will be deleted and by default all four reading information types like name, role, state and description will be read on object highlight
-/// @if WEARABLE @since_tizen 3.0 @endif</summary>
+/// if WEARABLE since_tizen 3.0 endif</summary>
/// <param name="reading_info">Reading information types</param>
void SetReadingInfoType(Efl.Access.ReadingInfoTypeMask reading_info);
- /// <summary>Gets index of the child in parent's children list.</summary>
+ /// <summary>Gets index of the child in parent's children list.
+///
+/// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <returns>Index in children list</returns>
int GetIndexInParent();
- /// <summary>Gets contextual information about object.</summary>
+ /// <summary>Gets contextual information about object.
+///
+/// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <returns>Accessible contextual information</returns>
System.String GetDescription();
- /// <summary>Sets widget contextual information.</summary>
+ /// <summary>Sets widget contextual information.
+///
+/// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="description">Accessible contextual information</param>
void SetDescription(System.String description);
- /// <summary>Gets set describing object accessible states.</summary>
+ /// <summary>Gets set describing object accessible states.
+///
+/// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <returns>Accessible state set</returns>
Efl.Access.StateSet GetStateSet();
- /// <summary>Gets highlightable of given widget.
-/// @if WEARABLE @since_tizen 3.0 @endif</summary>
-/// <returns>If @c true, the object is highlightable.</returns>
-bool GetCanHighlight();
- /// <summary>Sets highlightable to given widget.
-/// @if WEARABLE @since_tizen 3.0 @endif</summary>
-/// <param name="can_highlight">If @c true, the object is highlightable.</param>
-void SetCanHighlight(bool can_highlight);
/// <summary>The translation domain of "name" and "description" properties.
/// Translation domain should be set if the application wants to support i18n for accessibility "name" and "description" properties.
///
/// When translation domain is set, values of "name" and "description" properties will be translated with the dgettext function using the current translation domain as the "domainname" parameter.
///
-/// 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>
+/// It is the application developer's responsibility to ensure that translation files are loaded and bound to the translation domain when accessibility is enabled.
+///
+/// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <returns>Translation domain</returns>
System.String GetTranslationDomain();
/// <summary>The translation domain of "name" and "description" properties.
///
/// When translation domain is set, values of "name" and "description" properties will be translated with the dgettext function using the current translation domain as the "domainname" parameter.
///
-/// 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>
+/// It is the application developer's responsibility to ensure that translation files are loaded and bound to the translation domain when accessibility is enabled.
+///
+/// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="domain">Translation domain</param>
void SetTranslationDomain(System.String domain);
- /// <summary>Handles gesture on given widget.</summary>
+ /// <summary>Gets highlightable of given widget.
+/// if WEARABLE since_tizen 3.0 endif</summary>
+/// <returns>If c true, the object is highlightable.</returns>
+bool GetCanHighlight();
+ /// <summary>Sets highlightable to given widget.
+/// if WEARABLE since_tizen 3.0 endif</summary>
+/// <param name="can_highlight">If c true, the object is highlightable.</param>
+void SetCanHighlight(bool can_highlight);
+ /// <summary>Handles gesture on given widget.</summary>
bool GestureDo(Efl.Access.GestureInfo gesture_info);
/// <summary>Add key-value pair identifying object extra attribute
-/// @if WEARABLE @since_tizen 3.0 @endif</summary>
+/// if WEARABLE since_tizen 3.0 endif</summary>
/// <param name="key">The string key to give extra information</param>
/// <param name="value">The string value to give extra information</param>
void AppendAttribute(System.String key, System.String value);
///
/// Relationships can be queried by Assistive Technology clients to provide customized feedback, improving overall user experience.
///
-/// Relationship_append API is asymmetric, which means that appending, for example, relation EFL_ACCESS_RELATION_TYPE_FLOWS_TO from object A to B, do NOT append relation EFL_ACCESS_RELATION_TYPE_FLOWS_FROM from object B to object A.</summary>
+/// Relationship_append API is asymmetric, which means that appending, for example, relation EFL_ACCESS_RELATION_TYPE_FLOWS_TO from object A to B, do NOT append relation EFL_ACCESS_RELATION_TYPE_FLOWS_FROM from object B to object A.
+///
+/// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="type">Relation type</param>
/// <param name="relation_object">Object to relate to</param>
/// <returns><c>true</c> if relationship was successfully appended, <c>false</c> otherwise</returns>
bool AppendRelationship(Efl.Access.RelationType type, Efl.Access.IObject relation_object);
/// <summary>Removes the relationship between two accessible objects.
-/// If relation_object is NULL function removes all relations of the given type.</summary>
+/// If relation_object is NULL function removes all relations of the given type.
+///
+/// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="type">Relation type</param>
/// <param name="relation_object">Object to remove relation from</param>
void RelationshipRemove(Efl.Access.RelationType type, Efl.Access.IObject relation_object);
- /// <summary>Removes all relationships in accessible object.</summary>
+ /// <summary>Removes all relationships in accessible object.
+///
+/// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
void ClearRelationships();
/// <summary>Notifies accessibility clients about current state of the accessible object.
/// Function limits information broadcast to clients to types specified by state_types_mask parameter.
/// if recursive parameter is set, function will traverse all accessible children and call state_notify function on them.</summary>
void StateNotify(Efl.Access.StateSet state_types_mask, bool recursive);
/// <summary>Called when property has changed</summary>
+ /// <value><see cref="Efl.Access.IObjectPropertyChangedEvt_Args"/></value>
event EventHandler<Efl.Access.IObjectPropertyChangedEvt_Args> PropertyChangedEvt;
/// <summary>Called when children have changed</summary>
+ /// <value><see cref="Efl.Access.IObjectChildrenChangedEvt_Args"/></value>
event EventHandler<Efl.Access.IObjectChildrenChangedEvt_Args> ChildrenChangedEvt;
/// <summary>Called when state has changed</summary>
+ /// <value><see cref="Efl.Access.IObjectStateChangedEvt_Args"/></value>
event EventHandler<Efl.Access.IObjectStateChangedEvt_Args> StateChangedEvt;
/// <summary>Called when boundaries have changed</summary>
+ /// <value><see cref="Efl.Access.IObjectBoundsChangedEvt_Args"/></value>
event EventHandler<Efl.Access.IObjectBoundsChangedEvt_Args> BoundsChangedEvt;
/// <summary>Called when visibility has changed</summary>
event EventHandler VisibleDataChangedEvt;
/// <summary>Called when active state of descendant has changed</summary>
+ /// <value><see cref="Efl.Access.IObjectActiveDescendantChangedEvt_Args"/></value>
event EventHandler<Efl.Access.IObjectActiveDescendantChangedEvt_Args> ActiveDescendantChangedEvt;
/// <summary>Called when item is added</summary>
event EventHandler AddedEvt;
/// <summary>Called when item is removed</summary>
event EventHandler RemovedEvt;
event EventHandler MoveOutedEvt;
- /// <summary>Gets an localized string describing accessible object role name.</summary>
+ /// <summary>Gets an localized string describing accessible object role name.
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>Localized accessible object role name</value>
System.String LocalizedRoleName {
- get ;
+ get;
}
- /// <summary>Accessible name of the object.</summary>
+ /// <summary>Accessible name of the object.
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>Accessible name</value>
System.String I18nName {
- get ;
- set ;
+ get;
+ set;
}
- /// <summary>Gets an all relations between accessible object and other accessible objects.</summary>
+ /// <summary>Sets name information callback about widget.
+ /// if WEARABLE since_tizen 3.0 endif
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
+ /// <value>reading information callback</value>
+ (Efl.Access.ReadingInfoCb, System.IntPtr) NameCb {
+ set;
+ }
+ /// <summary>Gets an all relations between accessible object and other accessible objects.
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>Accessible relation set</value>
Efl.Access.RelationSet RelationSet {
- get ;
+ get;
}
- /// <summary>The role of the object in accessibility domain.</summary>
+ /// <summary>The role of the object in accessibility domain.
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>Accessible role</value>
Efl.Access.Role Role {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>Gets object's accessible parent.</summary>
/// <value>Accessible parent</value>
Efl.Access.IObject AccessParent {
- get ;
- set ;
+ get;
+ set;
+ }
+ /// <summary>Sets contextual information callback about widget.
+ /// if WEARABLE since_tizen 3.0 endif
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
+ /// <value>The function called to provide the accessible description.</value>
+ (Efl.Access.ReadingInfoCb, System.IntPtr) DescriptionCb {
+ set;
}
- /// <summary>Gets object's accessible children.</summary>
+ /// <summary>Sets gesture callback to give widget.
+ /// Warning: Please do not abuse this API. The purpose of this API is to support special application such as screen-reader guidance. Before using this API, please check if there is another way.
+ ///
+ /// if WEARABLE since_tizen 3.0 endif
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
+ (Efl.Access.GestureCb, System.IntPtr) GestureCb {
+ set;
+ }
+ /// <summary>Gets object's accessible children.
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>List of widget's children</value>
Eina.List<Efl.Access.IObject> AccessChildren {
- get ;
+ get;
}
- /// <summary>Gets human-readable string indentifying object accessibility role.</summary>
+ /// <summary>Gets human-readable string indentifying object accessibility role.
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>Accessible role name</value>
System.String RoleName {
- get ;
+ get;
}
- /// <summary>Gets key-value pairs indentifying object extra attributes. Must be free by a user.</summary>
+ /// <summary>Gets key-value pairs indentifying object extra attributes. Must be free by a user.
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>List of object attributes, Must be freed by the user</value>
Eina.List<Efl.Access.Attribute> Attributes {
- get ;
+ get;
}
/// <summary>Gets reading information types of an accessible object. if no reading information is set, 0 is returned which means all four reading information types will be read on object highlight
- /// @if WEARABLE @since_tizen 3.0 @endif</summary>
+ /// if WEARABLE since_tizen 3.0 endif</summary>
/// <value>Reading information types</value>
Efl.Access.ReadingInfoTypeMask ReadingInfoType {
- get ;
- set ;
+ get;
+ set;
}
- /// <summary>Gets index of the child in parent's children list.</summary>
+ /// <summary>Gets index of the child in parent's children list.
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>Index in children list</value>
int IndexInParent {
- get ;
+ get;
}
- /// <summary>Gets contextual information about object.</summary>
+ /// <summary>Gets contextual information about object.
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>Accessible contextual information</value>
System.String Description {
- get ;
- set ;
+ get;
+ set;
}
- /// <summary>Gets set describing object accessible states.</summary>
+ /// <summary>Gets set describing object accessible states.
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>Accessible state set</value>
Efl.Access.StateSet StateSet {
- get ;
- }
- /// <summary>Gets highlightable of given widget.
- /// @if WEARABLE @since_tizen 3.0 @endif</summary>
- /// <value>If @c true, the object is highlightable.</value>
- bool CanHighlight {
- get ;
- set ;
+ get;
}
/// <summary>The translation domain of "name" and "description" properties.
/// Translation domain should be set if the application wants to support i18n for accessibility "name" and "description" properties.
///
/// When translation domain is set, values of "name" and "description" properties will be translated with the dgettext function using the current translation domain as the "domainname" parameter.
///
- /// 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>
+ /// It is the application developer's responsibility to ensure that translation files are loaded and bound to the translation domain when accessibility is enabled.
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>Translation domain</value>
System.String TranslationDomain {
- get ;
- set ;
+ get;
+ set;
+ }
+ /// <summary>Gets highlightable of given widget.
+ /// if WEARABLE since_tizen 3.0 endif</summary>
+ /// <value>If c true, the object is highlightable.</value>
+ bool CanHighlight {
+ get;
+ set;
}
}
-///<summary>Event argument wrapper for event <see cref="Efl.Access.IObject.PropertyChangedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called when property has changed</value>
public System.String arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Access.IObject.ChildrenChangedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called when children have changed</value>
public Efl.Access.Event.ChildrenChanged.Data arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Access.IObject.StateChangedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called when state has changed</value>
public Efl.Access.Event.StateChanged.Data arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Access.IObject.BoundsChangedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called when boundaries have changed</value>
public Efl.Access.Event.GeometryChanged.Data arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Access.IObject.ActiveDescendantChangedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called when active state of descendant has changed</value>
public Efl.Object arg { get; set; }
}
/// <summary>Accessibility accessible mixin</summary>
-sealed public class IObjectConcrete :
+sealed public class IObjectConcrete :
Efl.Eo.EoWrapper
, IObject
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IObjectConcrete(ConstructingHandle ch) : base(ch)
{
}
/// <summary>Called when property has changed</summary>
+ /// <value><see cref="Efl.Access.IObjectPropertyChangedEvt_Args"/></value>
public event EventHandler<Efl.Access.IObjectPropertyChangedEvt_Args> PropertyChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event PropertyChangedEvt.</summary>
+ /// <summary>Method to raise event PropertyChangedEvt.</summary>
public void OnPropertyChangedEvt(Efl.Access.IObjectPropertyChangedEvt_Args e)
{
var key = "_EFL_ACCESS_OBJECT_EVENT_PROPERTY_CHANGED";
}
}
/// <summary>Called when children have changed</summary>
+ /// <value><see cref="Efl.Access.IObjectChildrenChangedEvt_Args"/></value>
public event EventHandler<Efl.Access.IObjectChildrenChangedEvt_Args> ChildrenChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event ChildrenChangedEvt.</summary>
+ /// <summary>Method to raise event ChildrenChangedEvt.</summary>
public void OnChildrenChangedEvt(Efl.Access.IObjectChildrenChangedEvt_Args e)
{
var key = "_EFL_ACCESS_OBJECT_EVENT_CHILDREN_CHANGED";
}
}
/// <summary>Called when state has changed</summary>
+ /// <value><see cref="Efl.Access.IObjectStateChangedEvt_Args"/></value>
public event EventHandler<Efl.Access.IObjectStateChangedEvt_Args> StateChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event StateChangedEvt.</summary>
+ /// <summary>Method to raise event StateChangedEvt.</summary>
public void OnStateChangedEvt(Efl.Access.IObjectStateChangedEvt_Args e)
{
var key = "_EFL_ACCESS_OBJECT_EVENT_STATE_CHANGED";
}
}
/// <summary>Called when boundaries have changed</summary>
+ /// <value><see cref="Efl.Access.IObjectBoundsChangedEvt_Args"/></value>
public event EventHandler<Efl.Access.IObjectBoundsChangedEvt_Args> BoundsChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event BoundsChangedEvt.</summary>
+ /// <summary>Method to raise event BoundsChangedEvt.</summary>
public void OnBoundsChangedEvt(Efl.Access.IObjectBoundsChangedEvt_Args e)
{
var key = "_EFL_ACCESS_OBJECT_EVENT_BOUNDS_CHANGED";
}
}
}
- ///<summary>Method to raise event VisibleDataChangedEvt.</summary>
+ /// <summary>Method to raise event VisibleDataChangedEvt.</summary>
public void OnVisibleDataChangedEvt(EventArgs e)
{
var key = "_EFL_ACCESS_OBJECT_EVENT_VISIBLE_DATA_CHANGED";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
/// <summary>Called when active state of descendant has changed</summary>
+ /// <value><see cref="Efl.Access.IObjectActiveDescendantChangedEvt_Args"/></value>
public event EventHandler<Efl.Access.IObjectActiveDescendantChangedEvt_Args> ActiveDescendantChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event ActiveDescendantChangedEvt.</summary>
+ /// <summary>Method to raise event ActiveDescendantChangedEvt.</summary>
public void OnActiveDescendantChangedEvt(Efl.Access.IObjectActiveDescendantChangedEvt_Args e)
{
var key = "_EFL_ACCESS_OBJECT_EVENT_ACTIVE_DESCENDANT_CHANGED";
}
}
}
- ///<summary>Method to raise event AddedEvt.</summary>
+ /// <summary>Method to raise event AddedEvt.</summary>
public void OnAddedEvt(EventArgs e)
{
var key = "_EFL_ACCESS_OBJECT_EVENT_ADDED";
}
}
}
- ///<summary>Method to raise event RemovedEvt.</summary>
+ /// <summary>Method to raise event RemovedEvt.</summary>
public void OnRemovedEvt(EventArgs e)
{
var key = "_EFL_ACCESS_OBJECT_EVENT_REMOVED";
}
}
}
- ///<summary>Method to raise event MoveOutedEvt.</summary>
+ /// <summary>Method to raise event MoveOutedEvt.</summary>
public void OnMoveOutedEvt(EventArgs e)
{
var key = "_EFL_ACCESS_OBJECT_EVENT_MOVE_OUTED";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Gets an localized string describing accessible object role name.</summary>
+ /// <summary>Gets an localized string describing accessible object role name.
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <returns>Localized accessible object role name</returns>
public System.String GetLocalizedRoleName() {
var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_localized_role_name_get_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
- /// <summary>Accessible name of the object.</summary>
+ /// <summary>Accessible name of the object.
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <returns>Accessible name</returns>
public System.String GetI18nName() {
var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_i18n_name_get_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
- /// <summary>Accessible name of the object.</summary>
+ /// <summary>Accessible name of the object.
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="i18n_name">Accessible name</param>
public void SetI18nName(System.String i18n_name) {
Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_i18n_name_set_ptr.Value.Delegate(this.NativeHandle,i18n_name);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Sets name information callback about widget.
- /// @if WEARABLE @since_tizen 3.0 @endif</summary>
+ /// if WEARABLE since_tizen 3.0 endif
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="name_cb">reading information callback</param>
public void SetNameCb(Efl.Access.ReadingInfoCb name_cb, System.IntPtr data) {
Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_name_cb_set_ptr.Value.Delegate(this.NativeHandle,name_cb, data);
Eina.Error.RaiseIfUnhandledException();
}
- /// <summary>Gets an all relations between accessible object and other accessible objects.</summary>
+ /// <summary>Gets an all relations between accessible object and other accessible objects.
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <returns>Accessible relation set</returns>
public Efl.Access.RelationSet GetRelationSet() {
var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_relation_set_get_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
- /// <summary>The role of the object in accessibility domain.</summary>
+ /// <summary>The role of the object in accessibility domain.
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <returns>Accessible role</returns>
public Efl.Access.Role GetRole() {
var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_role_get_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
- /// <summary>Sets the role of the object in accessibility domain.</summary>
+ /// <summary>Sets the role of the object in accessibility domain.
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="role">Accessible role</param>
public void SetRole(Efl.Access.Role role) {
Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_role_set_ptr.Value.Delegate(this.NativeHandle,role);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Sets contextual information callback about widget.
- /// @if WEARABLE @since_tizen 3.0 @endif</summary>
+ /// if WEARABLE since_tizen 3.0 endif
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="description_cb">The function called to provide the accessible description.</param>
- /// <param name="data">The data passed to @c description_cb.</param>
+ /// <param name="data">The data passed to c description_cb.</param>
public void SetDescriptionCb(Efl.Access.ReadingInfoCb description_cb, System.IntPtr data) {
Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_description_cb_set_ptr.Value.Delegate(this.NativeHandle,description_cb, data);
Eina.Error.RaiseIfUnhandledException();
/// <summary>Sets gesture callback to give widget.
/// Warning: Please do not abuse this API. The purpose of this API is to support special application such as screen-reader guidance. Before using this API, please check if there is another way.
///
- /// @if WEARABLE @since_tizen 3.0 @endif</summary>
+ /// if WEARABLE since_tizen 3.0 endif
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
public void SetGestureCb(Efl.Access.GestureCb gesture_cb, System.IntPtr data) {
Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_gesture_cb_set_ptr.Value.Delegate(this.NativeHandle,gesture_cb, data);
Eina.Error.RaiseIfUnhandledException();
}
- /// <summary>Gets object's accessible children.</summary>
+ /// <summary>Gets object's accessible children.
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <returns>List of widget's children</returns>
public Eina.List<Efl.Access.IObject> GetAccessChildren() {
var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_access_children_get_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
return new Eina.List<Efl.Access.IObject>(_ret_var, true, false);
}
- /// <summary>Gets human-readable string indentifying object accessibility role.</summary>
+ /// <summary>Gets human-readable string indentifying object accessibility role.
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <returns>Accessible role name</returns>
public System.String GetRoleName() {
var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_role_name_get_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
- /// <summary>Gets key-value pairs indentifying object extra attributes. Must be free by a user.</summary>
+ /// <summary>Gets key-value pairs indentifying object extra attributes. Must be free by a user.
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <returns>List of object attributes, Must be freed by the user</returns>
public Eina.List<Efl.Access.Attribute> GetAttributes() {
var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_attributes_get_ptr.Value.Delegate(this.NativeHandle);
return new Eina.List<Efl.Access.Attribute>(_ret_var, true, true);
}
/// <summary>Gets reading information types of an accessible object. if no reading information is set, 0 is returned which means all four reading information types will be read on object highlight
- /// @if WEARABLE @since_tizen 3.0 @endif</summary>
+ /// if WEARABLE since_tizen 3.0 endif</summary>
/// <returns>Reading information types</returns>
public Efl.Access.ReadingInfoTypeMask GetReadingInfoType() {
var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_reading_info_type_get_ptr.Value.Delegate(this.NativeHandle);
return _ret_var;
}
/// <summary>Sets reading information of an accessible object. If set as 0, existing reading info will be deleted and by default all four reading information types like name, role, state and description will be read on object highlight
- /// @if WEARABLE @since_tizen 3.0 @endif</summary>
+ /// if WEARABLE since_tizen 3.0 endif</summary>
/// <param name="reading_info">Reading information types</param>
public void SetReadingInfoType(Efl.Access.ReadingInfoTypeMask reading_info) {
Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_reading_info_type_set_ptr.Value.Delegate(this.NativeHandle,reading_info);
Eina.Error.RaiseIfUnhandledException();
}
- /// <summary>Gets index of the child in parent's children list.</summary>
+ /// <summary>Gets index of the child in parent's children list.
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <returns>Index in children list</returns>
public int GetIndexInParent() {
var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_index_in_parent_get_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
- /// <summary>Gets contextual information about object.</summary>
+ /// <summary>Gets contextual information about object.
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <returns>Accessible contextual information</returns>
public System.String GetDescription() {
var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_description_get_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
- /// <summary>Sets widget contextual information.</summary>
+ /// <summary>Sets widget contextual information.
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="description">Accessible contextual information</param>
public void SetDescription(System.String description) {
Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_description_set_ptr.Value.Delegate(this.NativeHandle,description);
Eina.Error.RaiseIfUnhandledException();
}
- /// <summary>Gets set describing object accessible states.</summary>
+ /// <summary>Gets set describing object accessible states.
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <returns>Accessible state set</returns>
public Efl.Access.StateSet GetStateSet() {
var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_state_set_get_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
- /// <summary>Gets highlightable of given widget.
- /// @if WEARABLE @since_tizen 3.0 @endif</summary>
- /// <returns>If @c true, the object is highlightable.</returns>
- public bool GetCanHighlight() {
- var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_can_highlight_get_ptr.Value.Delegate(this.NativeHandle);
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Sets highlightable to given widget.
- /// @if WEARABLE @since_tizen 3.0 @endif</summary>
- /// <param name="can_highlight">If @c true, the object is highlightable.</param>
- public void SetCanHighlight(bool can_highlight) {
- Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_can_highlight_set_ptr.Value.Delegate(this.NativeHandle,can_highlight);
- Eina.Error.RaiseIfUnhandledException();
- }
/// <summary>The translation domain of "name" and "description" properties.
/// Translation domain should be set if the application wants to support i18n for accessibility "name" and "description" properties.
///
/// When translation domain is set, values of "name" and "description" properties will be translated with the dgettext function using the current translation domain as the "domainname" parameter.
///
- /// 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>
+ /// It is the application developer's responsibility to ensure that translation files are loaded and bound to the translation domain when accessibility is enabled.
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <returns>Translation domain</returns>
public System.String GetTranslationDomain() {
var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_translation_domain_get_ptr.Value.Delegate(this.NativeHandle);
///
/// When translation domain is set, values of "name" and "description" properties will be translated with the dgettext function using the current translation domain as the "domainname" parameter.
///
- /// 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>
+ /// It is the application developer's responsibility to ensure that translation files are loaded and bound to the translation domain when accessibility is enabled.
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="domain">Translation domain</param>
public void SetTranslationDomain(System.String domain) {
Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_translation_domain_set_ptr.Value.Delegate(this.NativeHandle,domain);
Eina.Error.RaiseIfUnhandledException();
}
- /// <summary>Get root object of accessible object hierarchy</summary>
+ /// <summary>Get root object of accessible object hierarchy
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <returns>Root object</returns>
public static Efl.Object GetAccessRoot() {
var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_access_root_get_ptr.Value.Delegate();
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
+ /// <summary>Gets highlightable of given widget.
+ /// if WEARABLE since_tizen 3.0 endif</summary>
+ /// <returns>If c true, the object is highlightable.</returns>
+ public bool GetCanHighlight() {
+ var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_can_highlight_get_ptr.Value.Delegate(this.NativeHandle);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Sets highlightable to given widget.
+ /// if WEARABLE since_tizen 3.0 endif</summary>
+ /// <param name="can_highlight">If c true, the object is highlightable.</param>
+ public void SetCanHighlight(bool can_highlight) {
+ Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_can_highlight_set_ptr.Value.Delegate(this.NativeHandle,can_highlight);
+ Eina.Error.RaiseIfUnhandledException();
+ }
/// <summary>Handles gesture on given widget.</summary>
public bool GestureDo(Efl.Access.GestureInfo gesture_info) {
Efl.Access.GestureInfo.NativeStruct _in_gesture_info = gesture_info;
return _ret_var;
}
/// <summary>Add key-value pair identifying object extra attribute
- /// @if WEARABLE @since_tizen 3.0 @endif</summary>
+ /// if WEARABLE since_tizen 3.0 endif</summary>
/// <param name="key">The string key to give extra information</param>
/// <param name="value">The string value to give extra information</param>
public void AppendAttribute(System.String key, System.String value) {
Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_attributes_clear_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
}
- /// <summary>Register accessibility event listener</summary>
+ /// <summary>Register accessibility event listener
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="cb">Callback</param>
/// <param name="data">Data</param>
/// <returns>Event handler</returns>
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
- /// <summary>Deregister accessibility event listener</summary>
+ /// <summary>Deregister accessibility event listener
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="handler">Event handler</param>
public static void DelEventHandler(Efl.Access.Event.Handler handler) {
Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_event_handler_del_ptr.Value.Delegate(handler);
Eina.Error.RaiseIfUnhandledException();
}
- /// <summary>Emit event</summary>
+ /// <summary>Emit event
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="accessible">Accessibility object.</param>
/// <param name="kw_event">Accessibility event type.</param>
/// <param name="event_info">Accessibility event details.</param>
///
/// Relationships can be queried by Assistive Technology clients to provide customized feedback, improving overall user experience.
///
- /// Relationship_append API is asymmetric, which means that appending, for example, relation EFL_ACCESS_RELATION_TYPE_FLOWS_TO from object A to B, do NOT append relation EFL_ACCESS_RELATION_TYPE_FLOWS_FROM from object B to object A.</summary>
+ /// Relationship_append API is asymmetric, which means that appending, for example, relation EFL_ACCESS_RELATION_TYPE_FLOWS_TO from object A to B, do NOT append relation EFL_ACCESS_RELATION_TYPE_FLOWS_FROM from object B to object A.
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="type">Relation type</param>
/// <param name="relation_object">Object to relate to</param>
/// <returns><c>true</c> if relationship was successfully appended, <c>false</c> otherwise</returns>
return _ret_var;
}
/// <summary>Removes the relationship between two accessible objects.
- /// If relation_object is NULL function removes all relations of the given type.</summary>
+ /// If relation_object is NULL function removes all relations of the given type.
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="type">Relation type</param>
/// <param name="relation_object">Object to remove relation from</param>
public void RelationshipRemove(Efl.Access.RelationType type, Efl.Access.IObject relation_object) {
Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_relationship_remove_ptr.Value.Delegate(this.NativeHandle,type, relation_object);
Eina.Error.RaiseIfUnhandledException();
}
- /// <summary>Removes all relationships in accessible object.</summary>
+ /// <summary>Removes all relationships in accessible object.
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
public void ClearRelationships() {
Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_relationships_clear_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_state_notify_ptr.Value.Delegate(this.NativeHandle,state_types_mask, recursive);
Eina.Error.RaiseIfUnhandledException();
}
- /// <summary>Gets an localized string describing accessible object role name.</summary>
+ /// <summary>Gets an localized string describing accessible object role name.
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>Localized accessible object role name</value>
public System.String LocalizedRoleName {
get { return GetLocalizedRoleName(); }
}
- /// <summary>Accessible name of the object.</summary>
+ /// <summary>Accessible name of the object.
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>Accessible name</value>
public System.String I18nName {
get { return GetI18nName(); }
set { SetI18nName(value); }
}
- /// <summary>Gets an all relations between accessible object and other accessible objects.</summary>
+ /// <summary>Sets name information callback about widget.
+ /// if WEARABLE since_tizen 3.0 endif
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
+ /// <value>reading information callback</value>
+ public (Efl.Access.ReadingInfoCb, System.IntPtr) NameCb {
+ set { SetNameCb( value.Item1, value.Item2); }
+ }
+ /// <summary>Gets an all relations between accessible object and other accessible objects.
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>Accessible relation set</value>
public Efl.Access.RelationSet RelationSet {
get { return GetRelationSet(); }
}
- /// <summary>The role of the object in accessibility domain.</summary>
+ /// <summary>The role of the object in accessibility domain.
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>Accessible role</value>
public Efl.Access.Role Role {
get { return GetRole(); }
get { return GetAccessParent(); }
set { SetAccessParent(value); }
}
- /// <summary>Gets object's accessible children.</summary>
+ /// <summary>Sets contextual information callback about widget.
+ /// if WEARABLE since_tizen 3.0 endif
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
+ /// <value>The function called to provide the accessible description.</value>
+ public (Efl.Access.ReadingInfoCb, System.IntPtr) DescriptionCb {
+ set { SetDescriptionCb( value.Item1, value.Item2); }
+ }
+ /// <summary>Sets gesture callback to give widget.
+ /// Warning: Please do not abuse this API. The purpose of this API is to support special application such as screen-reader guidance. Before using this API, please check if there is another way.
+ ///
+ /// if WEARABLE since_tizen 3.0 endif
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
+ public (Efl.Access.GestureCb, System.IntPtr) GestureCb {
+ set { SetGestureCb( value.Item1, value.Item2); }
+ }
+ /// <summary>Gets object's accessible children.
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>List of widget's children</value>
public Eina.List<Efl.Access.IObject> AccessChildren {
get { return GetAccessChildren(); }
}
- /// <summary>Gets human-readable string indentifying object accessibility role.</summary>
+ /// <summary>Gets human-readable string indentifying object accessibility role.
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>Accessible role name</value>
public System.String RoleName {
get { return GetRoleName(); }
}
- /// <summary>Gets key-value pairs indentifying object extra attributes. Must be free by a user.</summary>
+ /// <summary>Gets key-value pairs indentifying object extra attributes. Must be free by a user.
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>List of object attributes, Must be freed by the user</value>
public Eina.List<Efl.Access.Attribute> Attributes {
get { return GetAttributes(); }
}
/// <summary>Gets reading information types of an accessible object. if no reading information is set, 0 is returned which means all four reading information types will be read on object highlight
- /// @if WEARABLE @since_tizen 3.0 @endif</summary>
+ /// if WEARABLE since_tizen 3.0 endif</summary>
/// <value>Reading information types</value>
public Efl.Access.ReadingInfoTypeMask ReadingInfoType {
get { return GetReadingInfoType(); }
set { SetReadingInfoType(value); }
}
- /// <summary>Gets index of the child in parent's children list.</summary>
+ /// <summary>Gets index of the child in parent's children list.
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>Index in children list</value>
public int IndexInParent {
get { return GetIndexInParent(); }
}
- /// <summary>Gets contextual information about object.</summary>
+ /// <summary>Gets contextual information about object.
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>Accessible contextual information</value>
public System.String Description {
get { return GetDescription(); }
set { SetDescription(value); }
}
- /// <summary>Gets set describing object accessible states.</summary>
+ /// <summary>Gets set describing object accessible states.
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>Accessible state set</value>
public Efl.Access.StateSet StateSet {
get { return GetStateSet(); }
}
- /// <summary>Gets highlightable of given widget.
- /// @if WEARABLE @since_tizen 3.0 @endif</summary>
- /// <value>If @c true, the object is highlightable.</value>
- public bool CanHighlight {
- get { return GetCanHighlight(); }
- set { SetCanHighlight(value); }
- }
/// <summary>The translation domain of "name" and "description" properties.
/// Translation domain should be set if the application wants to support i18n for accessibility "name" and "description" properties.
///
/// When translation domain is set, values of "name" and "description" properties will be translated with the dgettext function using the current translation domain as the "domainname" parameter.
///
- /// 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>
+ /// It is the application developer's responsibility to ensure that translation files are loaded and bound to the translation domain when accessibility is enabled.
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>Translation domain</value>
public System.String TranslationDomain {
get { return GetTranslationDomain(); }
set { SetTranslationDomain(value); }
}
- /// <summary>Get root object of accessible object hierarchy</summary>
+ /// <summary>Get root object of accessible object hierarchy
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>Root object</value>
public static Efl.Object AccessRoot {
get { return GetAccessRoot(); }
}
+ /// <summary>Gets highlightable of given widget.
+ /// if WEARABLE since_tizen 3.0 endif</summary>
+ /// <value>If c true, the object is highlightable.</value>
+ public bool CanHighlight {
+ get { return GetCanHighlight(); }
+ set { SetCanHighlight(value); }
+ }
private static IntPtr GetEflClassStatic()
{
return Efl.Access.IObjectConcrete.efl_access_object_mixin_get();
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_object_state_set_get"), func = Marshal.GetFunctionPointerForDelegate(efl_access_object_state_set_get_static_delegate) });
}
- if (efl_access_object_can_highlight_get_static_delegate == null)
+ if (efl_access_object_translation_domain_get_static_delegate == null)
{
- efl_access_object_can_highlight_get_static_delegate = new efl_access_object_can_highlight_get_delegate(can_highlight_get);
+ efl_access_object_translation_domain_get_static_delegate = new efl_access_object_translation_domain_get_delegate(translation_domain_get);
}
- if (methods.FirstOrDefault(m => m.Name == "GetCanHighlight") != null)
+ if (methods.FirstOrDefault(m => m.Name == "GetTranslationDomain") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_object_can_highlight_get"), func = Marshal.GetFunctionPointerForDelegate(efl_access_object_can_highlight_get_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_object_translation_domain_get"), func = Marshal.GetFunctionPointerForDelegate(efl_access_object_translation_domain_get_static_delegate) });
}
- if (efl_access_object_can_highlight_set_static_delegate == null)
+ if (efl_access_object_translation_domain_set_static_delegate == null)
{
- efl_access_object_can_highlight_set_static_delegate = new efl_access_object_can_highlight_set_delegate(can_highlight_set);
+ efl_access_object_translation_domain_set_static_delegate = new efl_access_object_translation_domain_set_delegate(translation_domain_set);
}
- if (methods.FirstOrDefault(m => m.Name == "SetCanHighlight") != null)
+ if (methods.FirstOrDefault(m => m.Name == "SetTranslationDomain") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_object_can_highlight_set"), func = Marshal.GetFunctionPointerForDelegate(efl_access_object_can_highlight_set_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_object_translation_domain_set"), func = Marshal.GetFunctionPointerForDelegate(efl_access_object_translation_domain_set_static_delegate) });
}
- if (efl_access_object_translation_domain_get_static_delegate == null)
+ if (efl_access_object_can_highlight_get_static_delegate == null)
{
- efl_access_object_translation_domain_get_static_delegate = new efl_access_object_translation_domain_get_delegate(translation_domain_get);
+ efl_access_object_can_highlight_get_static_delegate = new efl_access_object_can_highlight_get_delegate(can_highlight_get);
}
- if (methods.FirstOrDefault(m => m.Name == "GetTranslationDomain") != null)
+ if (methods.FirstOrDefault(m => m.Name == "GetCanHighlight") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_object_translation_domain_get"), func = Marshal.GetFunctionPointerForDelegate(efl_access_object_translation_domain_get_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_object_can_highlight_get"), func = Marshal.GetFunctionPointerForDelegate(efl_access_object_can_highlight_get_static_delegate) });
}
- if (efl_access_object_translation_domain_set_static_delegate == null)
+ if (efl_access_object_can_highlight_set_static_delegate == null)
{
- efl_access_object_translation_domain_set_static_delegate = new efl_access_object_translation_domain_set_delegate(translation_domain_set);
+ efl_access_object_can_highlight_set_static_delegate = new efl_access_object_can_highlight_set_delegate(can_highlight_set);
}
- if (methods.FirstOrDefault(m => m.Name == "SetTranslationDomain") != null)
+ if (methods.FirstOrDefault(m => m.Name == "SetCanHighlight") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_object_translation_domain_set"), func = Marshal.GetFunctionPointerForDelegate(efl_access_object_translation_domain_set_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_object_can_highlight_set"), func = Marshal.GetFunctionPointerForDelegate(efl_access_object_can_highlight_set_static_delegate) });
}
if (efl_access_object_gesture_do_static_delegate == null)
private static efl_access_object_state_set_get_delegate efl_access_object_state_set_get_static_delegate;
- [return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_access_object_can_highlight_get_delegate(System.IntPtr obj, System.IntPtr pd);
+ [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
+ private delegate System.String efl_access_object_translation_domain_get_delegate(System.IntPtr obj, System.IntPtr pd);
- [return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_access_object_can_highlight_get_api_delegate(System.IntPtr obj);
+ [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
+ public delegate System.String efl_access_object_translation_domain_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<efl_access_object_can_highlight_get_api_delegate> efl_access_object_can_highlight_get_ptr = new Efl.Eo.FunctionWrapper<efl_access_object_can_highlight_get_api_delegate>(Module, "efl_access_object_can_highlight_get");
+ public static Efl.Eo.FunctionWrapper<efl_access_object_translation_domain_get_api_delegate> efl_access_object_translation_domain_get_ptr = new Efl.Eo.FunctionWrapper<efl_access_object_translation_domain_get_api_delegate>(Module, "efl_access_object_translation_domain_get");
- private static bool can_highlight_get(System.IntPtr obj, System.IntPtr pd)
+ private static System.String translation_domain_get(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function efl_access_object_can_highlight_get was called");
+ Eina.Log.Debug("function efl_access_object_translation_domain_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- bool _ret_var = default(bool);
+ System.String _ret_var = default(System.String);
try
{
- _ret_var = ((IObject)ws.Target).GetCanHighlight();
+ _ret_var = ((IObject)ws.Target).GetTranslationDomain();
}
catch (Exception e)
{
}
else
{
- return efl_access_object_can_highlight_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ return efl_access_object_translation_domain_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
- private static efl_access_object_can_highlight_get_delegate efl_access_object_can_highlight_get_static_delegate;
+ private static efl_access_object_translation_domain_get_delegate efl_access_object_translation_domain_get_static_delegate;
- private delegate void efl_access_object_can_highlight_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool can_highlight);
+ private delegate void efl_access_object_translation_domain_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String domain);
- public delegate void efl_access_object_can_highlight_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool can_highlight);
+ public delegate void efl_access_object_translation_domain_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String domain);
- public static Efl.Eo.FunctionWrapper<efl_access_object_can_highlight_set_api_delegate> efl_access_object_can_highlight_set_ptr = new Efl.Eo.FunctionWrapper<efl_access_object_can_highlight_set_api_delegate>(Module, "efl_access_object_can_highlight_set");
+ public static Efl.Eo.FunctionWrapper<efl_access_object_translation_domain_set_api_delegate> efl_access_object_translation_domain_set_ptr = new Efl.Eo.FunctionWrapper<efl_access_object_translation_domain_set_api_delegate>(Module, "efl_access_object_translation_domain_set");
- private static void can_highlight_set(System.IntPtr obj, System.IntPtr pd, bool can_highlight)
+ private static void translation_domain_set(System.IntPtr obj, System.IntPtr pd, System.String domain)
{
- Eina.Log.Debug("function efl_access_object_can_highlight_set was called");
+ Eina.Log.Debug("function efl_access_object_translation_domain_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
- ((IObject)ws.Target).SetCanHighlight(can_highlight);
+ ((IObject)ws.Target).SetTranslationDomain(domain);
}
catch (Exception e)
{
}
else
{
- efl_access_object_can_highlight_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), can_highlight);
+ efl_access_object_translation_domain_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), domain);
}
}
- private static efl_access_object_can_highlight_set_delegate efl_access_object_can_highlight_set_static_delegate;
+ private static efl_access_object_translation_domain_set_delegate efl_access_object_translation_domain_set_static_delegate;
- [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
- private delegate System.String efl_access_object_translation_domain_get_delegate(System.IntPtr obj, System.IntPtr pd);
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ private delegate Efl.Object efl_access_object_access_root_get_delegate();
- [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
- public delegate System.String efl_access_object_translation_domain_get_api_delegate(System.IntPtr obj);
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ public delegate Efl.Object efl_access_object_access_root_get_api_delegate();
- public static Efl.Eo.FunctionWrapper<efl_access_object_translation_domain_get_api_delegate> efl_access_object_translation_domain_get_ptr = new Efl.Eo.FunctionWrapper<efl_access_object_translation_domain_get_api_delegate>(Module, "efl_access_object_translation_domain_get");
+ public static Efl.Eo.FunctionWrapper<efl_access_object_access_root_get_api_delegate> efl_access_object_access_root_get_ptr = new Efl.Eo.FunctionWrapper<efl_access_object_access_root_get_api_delegate>(Module, "efl_access_object_access_root_get");
- private static System.String translation_domain_get(System.IntPtr obj, System.IntPtr pd)
+ private static Efl.Object access_root_get(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function efl_access_object_translation_domain_get was called");
+ Eina.Log.Debug("function efl_access_object_access_root_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- System.String _ret_var = default(System.String);
+ Efl.Object _ret_var = default(Efl.Object);
try
{
- _ret_var = ((IObject)ws.Target).GetTranslationDomain();
+ _ret_var = IObjectConcrete.GetAccessRoot();
}
catch (Exception e)
{
}
else
{
- return efl_access_object_translation_domain_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ return efl_access_object_access_root_get_ptr.Value.Delegate();
}
}
- private static efl_access_object_translation_domain_get_delegate efl_access_object_translation_domain_get_static_delegate;
-
-
- private delegate void efl_access_object_translation_domain_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String domain);
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_access_object_can_highlight_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- public delegate void efl_access_object_translation_domain_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String domain);
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_access_object_can_highlight_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<efl_access_object_translation_domain_set_api_delegate> efl_access_object_translation_domain_set_ptr = new Efl.Eo.FunctionWrapper<efl_access_object_translation_domain_set_api_delegate>(Module, "efl_access_object_translation_domain_set");
+ public static Efl.Eo.FunctionWrapper<efl_access_object_can_highlight_get_api_delegate> efl_access_object_can_highlight_get_ptr = new Efl.Eo.FunctionWrapper<efl_access_object_can_highlight_get_api_delegate>(Module, "efl_access_object_can_highlight_get");
- private static void translation_domain_set(System.IntPtr obj, System.IntPtr pd, System.String domain)
+ private static bool can_highlight_get(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function efl_access_object_translation_domain_set was called");
+ Eina.Log.Debug("function efl_access_object_can_highlight_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
-
+ bool _ret_var = default(bool);
try
{
- ((IObject)ws.Target).SetTranslationDomain(domain);
+ _ret_var = ((IObject)ws.Target).GetCanHighlight();
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+ return _ret_var;
+
}
else
{
- efl_access_object_translation_domain_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), domain);
+ return efl_access_object_can_highlight_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
- private static efl_access_object_translation_domain_set_delegate efl_access_object_translation_domain_set_static_delegate;
+ private static efl_access_object_can_highlight_get_delegate efl_access_object_can_highlight_get_static_delegate;
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- private delegate Efl.Object efl_access_object_access_root_get_delegate();
+
+ private delegate void efl_access_object_can_highlight_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool can_highlight);
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- public delegate Efl.Object efl_access_object_access_root_get_api_delegate();
+
+ public delegate void efl_access_object_can_highlight_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool can_highlight);
- public static Efl.Eo.FunctionWrapper<efl_access_object_access_root_get_api_delegate> efl_access_object_access_root_get_ptr = new Efl.Eo.FunctionWrapper<efl_access_object_access_root_get_api_delegate>(Module, "efl_access_object_access_root_get");
+ public static Efl.Eo.FunctionWrapper<efl_access_object_can_highlight_set_api_delegate> efl_access_object_can_highlight_set_ptr = new Efl.Eo.FunctionWrapper<efl_access_object_can_highlight_set_api_delegate>(Module, "efl_access_object_can_highlight_set");
- private static Efl.Object access_root_get(System.IntPtr obj, System.IntPtr pd)
+ private static void can_highlight_set(System.IntPtr obj, System.IntPtr pd, bool can_highlight)
{
- Eina.Log.Debug("function efl_access_object_access_root_get was called");
+ Eina.Log.Debug("function efl_access_object_can_highlight_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- Efl.Object _ret_var = default(Efl.Object);
+
try
{
- _ret_var = IObjectConcrete.GetAccessRoot();
+ ((IObject)ws.Target).SetCanHighlight(can_highlight);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
- return _ret_var;
-
+
}
else
{
- return efl_access_object_access_root_get_ptr.Value.Delegate();
+ efl_access_object_can_highlight_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), can_highlight);
}
}
+ private static efl_access_object_can_highlight_set_delegate efl_access_object_can_highlight_set_static_delegate;
+
[return: MarshalAs(UnmanagedType.U1)]
private delegate bool efl_access_object_gesture_do_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Access.GestureInfo.NativeStruct gesture_info);
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_AccessIObjectConcrete_ExtensionMethods {
+
+ public static Efl.BindableProperty<System.String> I18nName<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Access.IObject, T>magic = null) where T : Efl.Access.IObject {
+ return new Efl.BindableProperty<System.String>("i18n_name", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<Efl.Access.Role> Role<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Access.IObject, T>magic = null) where T : Efl.Access.IObject {
+ return new Efl.BindableProperty<Efl.Access.Role>("role", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Access.IObject> AccessParent<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Access.IObject, T>magic = null) where T : Efl.Access.IObject {
+ return new Efl.BindableProperty<Efl.Access.IObject>("access_parent", fac);
+ }
+
+
+
+
+
+
+ public static Efl.BindableProperty<Efl.Access.ReadingInfoTypeMask> ReadingInfoType<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Access.IObject, T>magic = null) where T : Efl.Access.IObject {
+ return new Efl.BindableProperty<Efl.Access.ReadingInfoTypeMask>("reading_info_type", fac);
+ }
+
+
+ public static Efl.BindableProperty<System.String> Description<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Access.IObject, T>magic = null) where T : Efl.Access.IObject {
+ return new Efl.BindableProperty<System.String>("description", fac);
+ }
+
+
+ public static Efl.BindableProperty<System.String> TranslationDomain<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Access.IObject, T>magic = null) where T : Efl.Access.IObject {
+ return new Efl.BindableProperty<System.String>("translation_domain", fac);
+ }
+
+
+ public static Efl.BindableProperty<bool> CanHighlight<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Access.IObject, T>magic = null) where T : Efl.Access.IObject {
+ return new Efl.BindableProperty<bool>("can_highlight", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
namespace Efl {
namespace Access {
[Efl.Eo.BindingEntity]
public struct Handler
{
- ///<summary>Placeholder field</summary>
+ /// <summary>Placeholder field</summary>
public IntPtr field;
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 Handler(IntPtr ptr)
{
var tmp = (Handler.NativeStruct)Marshal.PtrToStructure(ptr, typeof(Handler.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct Handler.</summary>
+ /// <summary>Internal wrapper for struct Handler.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
internal IntPtr field;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator Handler.NativeStruct(Handler _external_struct)
{
var _internal_struct = new Handler.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator Handler(Handler.NativeStruct _internal_struct)
{
var _external_struct = new Handler();
public struct Data
{
/// <summary>Type of the state changed event</summary>
+ /// <value>Describes the possible states for an object visible to accessibility clients.</value>
public Efl.Access.StateType Type;
/// <summary>New value</summary>
public bool New_value;
- ///<summary>Constructor for Data.</summary>
+ /// <summary>Constructor for Data.</summary>
+ /// <param name="Type">Type of the state changed event</param>;
+ /// <param name="New_value">New value</param>;
public Data(
Efl.Access.StateType Type = default(Efl.Access.StateType),
bool New_value = default(bool) )
this.New_value = New_value;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 Data(IntPtr ptr)
{
var tmp = (Data.NativeStruct)Marshal.PtrToStructure(ptr, typeof(Data.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct Data.</summary>
+ /// <summary>Internal wrapper for struct Data.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
public Efl.Access.StateType Type;
- ///<summary>Internal wrapper for field New_value</summary>
+ /// <summary>Internal wrapper for field New_value</summary>
public System.Byte New_value;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator Data.NativeStruct(Data _external_struct)
{
var _internal_struct = new Data.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator Data(Data.NativeStruct _internal_struct)
{
var _external_struct = new Data();
public int Width;
/// <summary>Height</summary>
public int Height;
- ///<summary>Constructor for Data.</summary>
+ /// <summary>Constructor for Data.</summary>
+ /// <param name="X">X coordinate</param>;
+ /// <param name="Y">Y coordinate</param>;
+ /// <param name="Width">Width</param>;
+ /// <param name="Height">Height</param>;
public Data(
int X = default(int),
int Y = default(int),
this.Height = Height;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 Data(IntPtr ptr)
{
var tmp = (Data.NativeStruct)Marshal.PtrToStructure(ptr, typeof(Data.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct Data.</summary>
+ /// <summary>Internal wrapper for struct Data.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
public int Width;
public int Height;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator Data.NativeStruct(Data _external_struct)
{
var _internal_struct = new Data.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator Data(Data.NativeStruct _internal_struct)
{
var _external_struct = new Data();
public bool Is_added;
/// <summary>Child object</summary>
public Efl.Object Child;
- ///<summary>Constructor for Data.</summary>
+ /// <summary>Constructor for Data.</summary>
+ /// <param name="Is_added">Child is added or not</param>;
+ /// <param name="Child">Child object</param>;
public Data(
bool Is_added = default(bool),
Efl.Object Child = default(Efl.Object) )
this.Child = Child;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 Data(IntPtr ptr)
{
var tmp = (Data.NativeStruct)Marshal.PtrToStructure(ptr, typeof(Data.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct Data.</summary>
+ /// <summary>Internal wrapper for struct Data.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
- ///<summary>Internal wrapper for field Is_added</summary>
+ /// <summary>Internal wrapper for field Is_added</summary>
public System.Byte Is_added;
- ///<summary>Internal wrapper for field Child</summary>
+ /// <summary>Internal wrapper for field Child</summary>
public System.IntPtr Child;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator Data.NativeStruct(Data _external_struct)
{
var _internal_struct = new Data.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator Data(Data.NativeStruct _internal_struct)
{
var _external_struct = new Data();
public System.String Key;
/// <summary>Attribute value</summary>
public System.String Value;
- ///<summary>Constructor for Attribute.</summary>
+ /// <summary>Constructor for Attribute.</summary>
+ /// <param name="Key">Attribute key</param>;
+ /// <param name="Value">Attribute value</param>;
public Attribute(
System.String Key = default(System.String),
System.String Value = default(System.String) )
this.Value = Value;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 Attribute(IntPtr ptr)
{
var tmp = (Attribute.NativeStruct)Marshal.PtrToStructure(ptr, typeof(Attribute.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct Attribute.</summary>
+ /// <summary>Internal wrapper for struct Attribute.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
- ///<summary>Internal wrapper for field Key</summary>
+ /// <summary>Internal wrapper for field Key</summary>
public System.IntPtr Key;
- ///<summary>Internal wrapper for field Value</summary>
+ /// <summary>Internal wrapper for field Value</summary>
public System.IntPtr Value;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator Attribute.NativeStruct(Attribute _external_struct)
{
var _internal_struct = new Attribute.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator Attribute(Attribute.NativeStruct _internal_struct)
{
var _external_struct = new Attribute();
public struct Relation
{
/// <summary>Relation type</summary>
+ /// <value>Describes the relationship between two objects.</value>
public Efl.Access.RelationType Type;
/// <summary>List with relation objects</summary>
public Eina.List<Efl.Object> Objects;
- ///<summary>Constructor for Relation.</summary>
+ /// <summary>Constructor for Relation.</summary>
+ /// <param name="Type">Relation type</param>;
+ /// <param name="Objects">List with relation objects</param>;
public Relation(
Efl.Access.RelationType Type = default(Efl.Access.RelationType),
Eina.List<Efl.Object> Objects = default(Eina.List<Efl.Object>) )
this.Objects = Objects;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 Relation(IntPtr ptr)
{
var tmp = (Relation.NativeStruct)Marshal.PtrToStructure(ptr, typeof(Relation.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct Relation.</summary>
+ /// <summary>Internal wrapper for struct Relation.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
public Efl.Access.RelationType Type;
public System.IntPtr Objects;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator Relation.NativeStruct(Relation _external_struct)
{
var _internal_struct = new Relation.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator Relation(Relation.NativeStruct _internal_struct)
{
var _external_struct = new Relation();
public Efl.Access.GestureState State;
/// <summary>gesture occurance time</summary>
public uint Event_time;
- ///<summary>Constructor for GestureInfo.</summary>
+ /// <summary>Constructor for GestureInfo.</summary>
+ /// <param name="Type">Gesture type</param>;
+ /// <param name="X_beg">start gesture x co-ordinate</param>;
+ /// <param name="Y_beg">start gesture y co-ordinate</param>;
+ /// <param name="X_end">end gesture x co-ordinate</param>;
+ /// <param name="Y_end">end gesture y co-ordinate</param>;
+ /// <param name="State">state of gesture</param>;
+ /// <param name="Event_time">gesture occurance time</param>;
public GestureInfo(
Efl.Access.Gesture Type = default(Efl.Access.Gesture),
int X_beg = default(int),
this.Event_time = Event_time;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 GestureInfo(IntPtr ptr)
{
var tmp = (GestureInfo.NativeStruct)Marshal.PtrToStructure(ptr, typeof(GestureInfo.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct GestureInfo.</summary>
+ /// <summary>Internal wrapper for struct GestureInfo.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
public Efl.Access.GestureState State;
public uint Event_time;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator GestureInfo.NativeStruct(GestureInfo _external_struct)
{
var _internal_struct = new GestureInfo.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator GestureInfo(GestureInfo.NativeStruct _internal_struct)
{
var _external_struct = new GestureInfo();
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Access {
/// <summary>Elementary access selection interface</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Access.ISelectionConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface ISelection :
/// <summary>Gets the number of currently selected children</summary>
/// <value>Number of currently selected children</value>
int SelectedChildrenCount {
- get ;
+ get;
}
}
/// <summary>Elementary access selection interface</summary>
-sealed public class ISelectionConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class ISelectionConcrete :
Efl.Eo.EoWrapper
, ISelection
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private ISelectionConcrete(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event AccessSelectionChangedEvt.</summary>
+ /// <summary>Method to raise event AccessSelectionChangedEvt.</summary>
public void OnAccessSelectionChangedEvt(EventArgs e)
{
var key = "_EFL_ACCESS_SELECTION_EVENT_ACCESS_SELECTION_CHANGED";
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_AccessISelectionConcrete_ExtensionMethods {
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Access {
/// <summary>Elementary accessible text interface</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Access.ITextConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IText :
/// <summary>Caret moved</summary>
event EventHandler AccessTextCaretMovedEvt;
/// <summary>Text was inserted</summary>
+ /// <value><see cref="Efl.Access.ITextAccessTextInsertedEvt_Args"/></value>
event EventHandler<Efl.Access.ITextAccessTextInsertedEvt_Args> AccessTextInsertedEvt;
/// <summary>Text was removed</summary>
+ /// <value><see cref="Efl.Access.ITextAccessTextRemovedEvt_Args"/></value>
event EventHandler<Efl.Access.ITextAccessTextRemovedEvt_Args> AccessTextRemovedEvt;
/// <summary>Text selection has changed</summary>
event EventHandler AccessTextSelectionChangedEvt;
/// <summary>Caret offset property</summary>
/// <value>Offset</value>
int CaretOffset {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>Default attributes</summary>
/// <value>List of default attributes</value>
Eina.List<Efl.Access.TextAttribute> DefaultAttributes {
- get ;
+ get;
}
/// <summary>Character count</summary>
/// <value>Character count</value>
int CharacterCount {
- get ;
+ get;
}
/// <summary>Selection count property</summary>
/// <value>Selection counter</value>
int SelectionsCount {
- get ;
+ get;
}
}
-///<summary>Event argument wrapper for event <see cref="Efl.Access.IText.AccessTextInsertedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Text was inserted</value>
public Efl.Access.TextChangeInfo arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Access.IText.AccessTextRemovedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Text was removed</value>
public Efl.Access.TextChangeInfo arg { get; set; }
}
/// <summary>Elementary accessible text interface</summary>
-sealed public class ITextConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class ITextConcrete :
Efl.Eo.EoWrapper
, IText
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private ITextConcrete(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event AccessTextCaretMovedEvt.</summary>
+ /// <summary>Method to raise event AccessTextCaretMovedEvt.</summary>
public void OnAccessTextCaretMovedEvt(EventArgs e)
{
var key = "_EFL_ACCESS_TEXT_EVENT_ACCESS_TEXT_CARET_MOVED";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
/// <summary>Text was inserted</summary>
+ /// <value><see cref="Efl.Access.ITextAccessTextInsertedEvt_Args"/></value>
public event EventHandler<Efl.Access.ITextAccessTextInsertedEvt_Args> AccessTextInsertedEvt
{
add
}
}
}
- ///<summary>Method to raise event AccessTextInsertedEvt.</summary>
+ /// <summary>Method to raise event AccessTextInsertedEvt.</summary>
public void OnAccessTextInsertedEvt(Efl.Access.ITextAccessTextInsertedEvt_Args e)
{
var key = "_EFL_ACCESS_TEXT_EVENT_ACCESS_TEXT_INSERTED";
}
}
/// <summary>Text was removed</summary>
+ /// <value><see cref="Efl.Access.ITextAccessTextRemovedEvt_Args"/></value>
public event EventHandler<Efl.Access.ITextAccessTextRemovedEvt_Args> AccessTextRemovedEvt
{
add
}
}
}
- ///<summary>Method to raise event AccessTextRemovedEvt.</summary>
+ /// <summary>Method to raise event AccessTextRemovedEvt.</summary>
public void OnAccessTextRemovedEvt(Efl.Access.ITextAccessTextRemovedEvt_Args e)
{
var key = "_EFL_ACCESS_TEXT_EVENT_ACCESS_TEXT_REMOVED";
}
}
}
- ///<summary>Method to raise event AccessTextSelectionChangedEvt.</summary>
+ /// <summary>Method to raise event AccessTextSelectionChangedEvt.</summary>
public void OnAccessTextSelectionChangedEvt(EventArgs e)
{
var key = "_EFL_ACCESS_TEXT_EVENT_ACCESS_TEXT_SELECTION_CHANGED";
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_AccessITextConcrete_ExtensionMethods {
+
+
+
+ public static Efl.BindableProperty<int> CaretOffset<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Access.IText, T>magic = null) where T : Efl.Access.IText {
+ return new Efl.BindableProperty<int>("caret_offset", fac);
+ }
+
+
+
+
+
+
+
+
+
+
+
+}
+#pragma warning restore CS1591
+#endif
namespace Efl {
namespace Access {
public System.String Name;
/// <summary>Text attribute value</summary>
public System.String Value;
- ///<summary>Constructor for TextAttribute.</summary>
+ /// <summary>Constructor for TextAttribute.</summary>
+ /// <param name="Name">Text attribute name</param>;
+ /// <param name="Value">Text attribute value</param>;
public TextAttribute(
System.String Name = default(System.String),
System.String Value = default(System.String) )
this.Value = Value;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 TextAttribute(IntPtr ptr)
{
var tmp = (TextAttribute.NativeStruct)Marshal.PtrToStructure(ptr, typeof(TextAttribute.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct TextAttribute.</summary>
+ /// <summary>Internal wrapper for struct TextAttribute.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
- ///<summary>Internal wrapper for field Name</summary>
+ /// <summary>Internal wrapper for field Name</summary>
public System.IntPtr Name;
- ///<summary>Internal wrapper for field Value</summary>
+ /// <summary>Internal wrapper for field Value</summary>
public System.IntPtr Value;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator TextAttribute.NativeStruct(TextAttribute _external_struct)
{
var _internal_struct = new TextAttribute.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator TextAttribute(TextAttribute.NativeStruct _internal_struct)
{
var _external_struct = new TextAttribute();
public int End_offset;
/// <summary>Range content</summary>
public char Content;
- ///<summary>Constructor for TextRange.</summary>
+ /// <summary>Constructor for TextRange.</summary>
+ /// <param name="Start_offset">Range start offset</param>;
+ /// <param name="End_offset">Range end offset</param>;
+ /// <param name="Content">Range content</param>;
public TextRange(
int Start_offset = default(int),
int End_offset = default(int),
this.Content = Content;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 TextRange(IntPtr ptr)
{
var tmp = (TextRange.NativeStruct)Marshal.PtrToStructure(ptr, typeof(TextRange.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct TextRange.</summary>
+ /// <summary>Internal wrapper for struct TextRange.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
public int End_offset;
public System.IntPtr Content;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator TextRange.NativeStruct(TextRange _external_struct)
{
var _internal_struct = new TextRange.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator TextRange(TextRange.NativeStruct _internal_struct)
{
var _external_struct = new TextRange();
public uint Pos;
/// <summary>Change length</summary>
public uint Len;
- ///<summary>Constructor for TextChangeInfo.</summary>
+ /// <summary>Constructor for TextChangeInfo.</summary>
+ /// <param name="Content">Change content</param>;
+ /// <param name="Inserted"><c>true</c> if text got inserted</param>;
+ /// <param name="Pos">Change position</param>;
+ /// <param name="Len">Change length</param>;
public TextChangeInfo(
System.String Content = default(System.String),
bool Inserted = default(bool),
this.Len = Len;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 TextChangeInfo(IntPtr ptr)
{
var tmp = (TextChangeInfo.NativeStruct)Marshal.PtrToStructure(ptr, typeof(TextChangeInfo.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct TextChangeInfo.</summary>
+ /// <summary>Internal wrapper for struct TextChangeInfo.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
- ///<summary>Internal wrapper for field Content</summary>
+ /// <summary>Internal wrapper for field Content</summary>
public System.IntPtr Content;
- ///<summary>Internal wrapper for field Inserted</summary>
+ /// <summary>Internal wrapper for field Inserted</summary>
public System.Byte Inserted;
public uint Pos;
public uint Len;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator TextChangeInfo.NativeStruct(TextChangeInfo _external_struct)
{
var _internal_struct = new TextChangeInfo.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator TextChangeInfo(TextChangeInfo.NativeStruct _internal_struct)
{
var _external_struct = new TextChangeInfo();
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Access {
/// <summary>Elementary Access value interface</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Access.IValueConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IValue :
/// <summary>Gets an minimal incrementation value</summary>
/// <returns>Minimal incrementation value</returns>
double GetIncrement();
- /// <summary>Gets an minimal incrementation value</summary>
+ /// <summary>Value and text property</summary>
+ /// <value>Value of widget casted to floating point number.</value>
+ (double, System.String) ValueAndText {
+ get;
+ set;
+ }
+ /// <summary>Gets a range of all possible values and its description</summary>
+ (double, double, System.String) Range {
+ get;
+ }
+ /// <summary>Gets an minimal incrementation value</summary>
/// <value>Minimal incrementation value</value>
double Increment {
- get ;
+ get;
}
}
/// <summary>Elementary Access value interface</summary>
-sealed public class IValueConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IValueConcrete :
Efl.Eo.EoWrapper
, IValue
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IValueConcrete(ConstructingHandle ch) : base(ch)
{
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
+ /// <summary>Value and text property</summary>
+ /// <value>Value of widget casted to floating point number.</value>
+ public (double, System.String) ValueAndText {
+ get {
+ double _out_value = default(double);
+ System.String _out_text = default(System.String);
+ GetValueAndText(out _out_value,out _out_text);
+ return (_out_value,_out_text);
+ }
+ set { SetValueAndText( value.Item1, value.Item2); }
+ }
+ /// <summary>Gets a range of all possible values and its description</summary>
+ public (double, double, System.String) Range {
+ get {
+ double _out_lower_limit = default(double);
+ double _out_upper_limit = default(double);
+ System.String _out_description = default(System.String);
+ GetRange(out _out_lower_limit,out _out_upper_limit,out _out_description);
+ return (_out_lower_limit,_out_upper_limit,_out_description);
+ }
+ }
/// <summary>Gets an minimal incrementation value</summary>
/// <value>Minimal incrementation value</value>
public double Increment {
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_AccessIValueConcrete_ExtensionMethods {
+
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Widget {
/// <summary>Access widget action mixin</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Access.Widget.IActionConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IAction :
/// <summary>Elementary actions</summary>
/// <value>NULL-terminated array of Efl.Access.Action_Data.</value>
Efl.Access.ActionData ElmActions {
- get ;
+ get;
}
}
/// <summary>Access widget action mixin</summary>
-sealed public class IActionConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IActionConcrete :
Efl.Eo.EoWrapper
, IAction
, Efl.Access.IAction
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IActionConcrete(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event ReadingStateChangedEvt.</summary>
+ /// <summary>Method to raise event ReadingStateChangedEvt.</summary>
public void OnReadingStateChangedEvt(EventArgs e)
{
var key = "_EFL_ACCESS_WIDGET_ACTION_EVENT_READING_STATE_CHANGED";
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_Access_WidgetIActionConcrete_ExtensionMethods {
+
+
+
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Access {
/// <summary>Elementary accessible window interface</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Access.IWindowConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IWindow :
event EventHandler WindowRestoredEvt;
}
/// <summary>Elementary accessible window interface</summary>
-sealed public class IWindowConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IWindowConcrete :
Efl.Eo.EoWrapper
, IWindow
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IWindowConcrete(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event WindowCreatedEvt.</summary>
+ /// <summary>Method to raise event WindowCreatedEvt.</summary>
public void OnWindowCreatedEvt(EventArgs e)
{
var key = "_EFL_ACCESS_WINDOW_EVENT_WINDOW_CREATED";
}
}
}
- ///<summary>Method to raise event WindowDestroyedEvt.</summary>
+ /// <summary>Method to raise event WindowDestroyedEvt.</summary>
public void OnWindowDestroyedEvt(EventArgs e)
{
var key = "_EFL_ACCESS_WINDOW_EVENT_WINDOW_DESTROYED";
}
}
}
- ///<summary>Method to raise event WindowActivatedEvt.</summary>
+ /// <summary>Method to raise event WindowActivatedEvt.</summary>
public void OnWindowActivatedEvt(EventArgs e)
{
var key = "_EFL_ACCESS_WINDOW_EVENT_WINDOW_ACTIVATED";
}
}
}
- ///<summary>Method to raise event WindowDeactivatedEvt.</summary>
+ /// <summary>Method to raise event WindowDeactivatedEvt.</summary>
public void OnWindowDeactivatedEvt(EventArgs e)
{
var key = "_EFL_ACCESS_WINDOW_EVENT_WINDOW_DEACTIVATED";
}
}
}
- ///<summary>Method to raise event WindowMaximizedEvt.</summary>
+ /// <summary>Method to raise event WindowMaximizedEvt.</summary>
public void OnWindowMaximizedEvt(EventArgs e)
{
var key = "_EFL_ACCESS_WINDOW_EVENT_WINDOW_MAXIMIZED";
}
}
}
- ///<summary>Method to raise event WindowMinimizedEvt.</summary>
+ /// <summary>Method to raise event WindowMinimizedEvt.</summary>
public void OnWindowMinimizedEvt(EventArgs e)
{
var key = "_EFL_ACCESS_WINDOW_EVENT_WINDOW_MINIMIZED";
}
}
}
- ///<summary>Method to raise event WindowRestoredEvt.</summary>
+ /// <summary>Method to raise event WindowRestoredEvt.</summary>
public void OnWindowRestoredEvt(EventArgs e)
{
var key = "_EFL_ACCESS_WINDOW_EVENT_WINDOW_RESTORED";
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_AccessIWindowConcrete_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
Efl.Eo.Config.Init();
ecore_init();
evas_init();
+ //eldbus.Config.Init();
if (components == Efl.Csharp.Components.Ui)
{
Efl.Ui.Config.Shutdown();
}
- Eina.Log.Debug("Shutting down Eldbus");
+ //Eina.Log.Debug("Shutting down Eldbus");
+ //eldbus.Config.Shutdown();
Eina.Log.Debug("Shutting down Evas");
evas_shutdown();
Eina.Log.Debug("Shutting down Ecore");
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
[Efl.Eo.BindingEntity]
public abstract class App : Efl.Loop, Efl.Core.ICommandLine
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected App(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event PauseEvt.</summary>
+ /// <summary>Method to raise event PauseEvt.</summary>
public void OnPauseEvt(EventArgs e)
{
var key = "_EFL_APP_EVENT_PAUSE";
}
}
}
- ///<summary>Method to raise event ResumeEvt.</summary>
+ /// <summary>Method to raise event ResumeEvt.</summary>
public void OnResumeEvt(EventArgs e)
{
var key = "_EFL_APP_EVENT_RESUME";
}
}
}
- ///<summary>Method to raise event StandbyEvt.</summary>
+ /// <summary>Method to raise event StandbyEvt.</summary>
public void OnStandbyEvt(EventArgs e)
{
var key = "_EFL_APP_EVENT_STANDBY";
}
}
}
- ///<summary>Method to raise event TerminateEvt.</summary>
+ /// <summary>Method to raise event TerminateEvt.</summary>
public void OnTerminateEvt(EventArgs e)
{
var key = "_EFL_APP_EVENT_TERMINATE";
}
}
}
- ///<summary>Method to raise event SignalUsr1Evt.</summary>
+ /// <summary>Method to raise event SignalUsr1Evt.</summary>
public void OnSignalUsr1Evt(EventArgs e)
{
var key = "_EFL_APP_EVENT_SIGNAL_USR1";
}
}
}
- ///<summary>Method to raise event SignalUsr2Evt.</summary>
+ /// <summary>Method to raise event SignalUsr2Evt.</summary>
public void OnSignalUsr2Evt(EventArgs e)
{
var key = "_EFL_APP_EVENT_SIGNAL_USR2";
}
}
}
- ///<summary>Method to raise event SignalHupEvt.</summary>
+ /// <summary>Method to raise event SignalHupEvt.</summary>
public void OnSignalHupEvt(EventArgs e)
{
var key = "_EFL_APP_EVENT_SIGNAL_HUP";
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflApp_ExtensionMethods {
+
+
+
+
+ public static Efl.BindableProperty<Eina.Array<Eina.Stringshare>> CommandArray<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.App, T>magic = null) where T : Efl.App {
+ return new Efl.BindableProperty<Eina.Array<Eina.Stringshare>>("command_array", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> CommandString<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.App, T>magic = null) where T : Efl.App {
+ return new Efl.BindableProperty<System.String>("command_string", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Efl {
/// <summary>No description supplied.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Appthread(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event ClosedEvt.</summary>
+ /// <summary>Method to raise event ClosedEvt.</summary>
public void OnClosedEvt(EventArgs e)
{
var key = "_EFL_IO_CLOSER_EVENT_CLOSED";
///
/// Note that usually this event is dispatched from inside <see cref="Efl.Io.IReader.Read"/>, thus before it returns.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Io.IReaderCanReadChangedEvt_Args"/></value>
public event EventHandler<Efl.Io.IReaderCanReadChangedEvt_Args> CanReadChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event CanReadChangedEvt.</summary>
+ /// <summary>Method to raise event CanReadChangedEvt.</summary>
public void OnCanReadChangedEvt(Efl.Io.IReaderCanReadChangedEvt_Args e)
{
var key = "_EFL_IO_READER_EVENT_CAN_READ_CHANGED";
}
}
}
- ///<summary>Method to raise event EosEvt.</summary>
+ /// <summary>Method to raise event EosEvt.</summary>
public void OnEosEvt(EventArgs e)
{
var key = "_EFL_IO_READER_EVENT_EOS";
///
/// Note that usually this event is dispatched from inside <see cref="Efl.Io.IWriter.Write"/>, thus before it returns.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Io.IWriterCanWriteChangedEvt_Args"/></value>
public event EventHandler<Efl.Io.IWriterCanWriteChangedEvt_Args> CanWriteChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event CanWriteChangedEvt.</summary>
+ /// <summary>Method to raise event CanWriteChangedEvt.</summary>
public void OnCanWriteChangedEvt(Efl.Io.IWriterCanWriteChangedEvt_Args e)
{
var key = "_EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED";
Eina.Error.RaiseIfUnhandledException();
}
/// <param name="func">No description supplied.</param>
- virtual public void Call(EFlThreadIOCall func) {
+ virtual public void Call(EflThreadIOCall func) {
GCHandle func_handle = GCHandle.Alloc(func);
- 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);
+ 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) {
+ 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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),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;
}
private static efl_threadio_outdata_set_delegate efl_threadio_outdata_set_static_delegate;
- private delegate void efl_threadio_call_delegate(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, EFlThreadIOCallInternal func, EinaFreeCb func_free_cb);
+ private delegate void efl_threadio_call_delegate(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, EflThreadIOCallInternal func, EinaFreeCb func_free_cb);
- public delegate void efl_threadio_call_api_delegate(System.IntPtr obj, IntPtr func_data, EFlThreadIOCallInternal func, EinaFreeCb func_free_cb);
+ public delegate void efl_threadio_call_api_delegate(System.IntPtr obj, IntPtr func_data, EflThreadIOCallInternal func, EinaFreeCb func_free_cb);
public static Efl.Eo.FunctionWrapper<efl_threadio_call_api_delegate> efl_threadio_call_ptr = new Efl.Eo.FunctionWrapper<efl_threadio_call_api_delegate>(Module, "efl_threadio_call");
- private static void call(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, EFlThreadIOCallInternal func, EinaFreeCb func_free_cb)
+ private static void call(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, EflThreadIOCallInternal func, EinaFreeCb func_free_cb)
{
Eina.Log.Debug("function efl_threadio_call was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- EFlThreadIOCallWrapper func_wrapper = new EFlThreadIOCallWrapper(func, func_data, func_free_cb);
+ EflThreadIOCallWrapper func_wrapper = new EflThreadIOCallWrapper(func, func_data, func_free_cb);
try
{
private static efl_threadio_call_delegate efl_threadio_call_static_delegate;
- private delegate System.IntPtr efl_threadio_call_sync_delegate(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, EFlThreadIOCallSyncInternal func, EinaFreeCb func_free_cb);
+ private delegate System.IntPtr efl_threadio_call_sync_delegate(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, EflThreadIOCallSyncInternal func, EinaFreeCb func_free_cb);
- public delegate System.IntPtr efl_threadio_call_sync_api_delegate(System.IntPtr obj, IntPtr func_data, EFlThreadIOCallSyncInternal func, EinaFreeCb func_free_cb);
+ public delegate System.IntPtr efl_threadio_call_sync_api_delegate(System.IntPtr obj, IntPtr func_data, EflThreadIOCallSyncInternal func, EinaFreeCb func_free_cb);
public static Efl.Eo.FunctionWrapper<efl_threadio_call_sync_api_delegate> efl_threadio_call_sync_ptr = new Efl.Eo.FunctionWrapper<efl_threadio_call_sync_api_delegate>(Module, "efl_threadio_call_sync");
- private static System.IntPtr call_sync(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, EFlThreadIOCallSyncInternal func, EinaFreeCb func_free_cb)
+ private static System.IntPtr call_sync(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, EflThreadIOCallSyncInternal func, EinaFreeCb func_free_cb)
{
Eina.Log.Debug("function efl_threadio_call_sync was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- EFlThreadIOCallSyncWrapper func_wrapper = new EFlThreadIOCallSyncWrapper(func, func_data, func_free_cb);
+ EflThreadIOCallSyncWrapper func_wrapper = new EflThreadIOCallSyncWrapper(func, func_data, func_free_cb);
System.IntPtr _ret_var = default(System.IntPtr);
try
{
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflAppthread_ExtensionMethods {
+ public static Efl.BindableProperty<System.IntPtr> Indata<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Appthread, T>magic = null) where T : Efl.Appthread {
+ return new Efl.BindableProperty<System.IntPtr>("indata", fac);
+ }
+
+ public static Efl.BindableProperty<System.IntPtr> Outdata<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Appthread, T>magic = null) where T : Efl.Appthread {
+ return new Efl.BindableProperty<System.IntPtr>("outdata", fac);
+ }
+
+
+ public static Efl.BindableProperty<Eina.Array<Eina.Stringshare>> CommandArray<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Appthread, T>magic = null) where T : Efl.Appthread {
+ return new Efl.BindableProperty<Eina.Array<Eina.Stringshare>>("command_array", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> CommandString<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Appthread, T>magic = null) where T : Efl.Appthread {
+ return new Efl.BindableProperty<System.String>("command_string", fac);
+ }
+
+
+ public static Efl.BindableProperty<bool> CloseOnExec<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Appthread, T>magic = null) where T : Efl.Appthread {
+ return new Efl.BindableProperty<bool>("close_on_exec", fac);
+ }
+
+ public static Efl.BindableProperty<bool> CloseOnInvalidate<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Appthread, T>magic = null) where T : Efl.Appthread {
+ return new Efl.BindableProperty<bool>("close_on_invalidate", fac);
+ }
+
+ public static Efl.BindableProperty<bool> CanRead<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Appthread, T>magic = null) where T : Efl.Appthread {
+ return new Efl.BindableProperty<bool>("can_read", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Eos<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Appthread, T>magic = null) where T : Efl.Appthread {
+ return new Efl.BindableProperty<bool>("eos", fac);
+ }
+
+ public static Efl.BindableProperty<bool> CanWrite<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Appthread, T>magic = null) where T : Efl.Appthread {
+ return new Efl.BindableProperty<bool>("can_write", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Efl {
/// <summary>Efl boolean model class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.BooleanModel.NativeMethods]
[Efl.Eo.BindingEntity]
public class BooleanModel : Efl.CompositeModel
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected BooleanModel(ConstructingHandle ch) : base(ch)
{
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflBooleanModel_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Efl {
/// <summary>Efl bounce interpolator class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.BounceInterpolator.NativeMethods]
[Efl.Eo.BindingEntity]
public class BounceInterpolator : Efl.Object, Efl.IInterpolator
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected BounceInterpolator(ConstructingHandle ch) : base(ch)
{
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
+ /// <summary>Factors property</summary>
+ /// <value>First factor of the interpolation function.</value>
+ public (double, double) Factors {
+ get {
+ double _out_factor1 = default(double);
+ double _out_factor2 = default(double);
+ GetFactors(out _out_factor1,out _out_factor2);
+ return (_out_factor1,_out_factor2);
+ }
+ set { SetFactors( value.Item1, value.Item2); }
+ }
private static IntPtr GetEflClassStatic()
{
return Efl.BounceInterpolator.efl_bounce_interpolator_class_get();
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflBounceInterpolator_ExtensionMethods {
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Cached {
/// <summary>Efl Cached Item interface</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Cached.IItemConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IItem :
/// <summary>Get the memory size associated with an object.</summary>
/// <value>Bytes of memory consumed by this object.</value>
uint MemorySize {
- get ;
+ get;
}
}
/// <summary>Efl Cached Item interface</summary>
-sealed public class IItemConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IItemConcrete :
Efl.Eo.EoWrapper
, IItem
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IItemConcrete(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CachedIItemConcrete_ExtensionMethods {
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Canvas {
/// <summary>Efl animation class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Canvas.Animation.NativeMethods]
[Efl.Eo.BindingEntity]
public class Animation : Efl.Object, Efl.IPlayable
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Animation(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasAnimation_ExtensionMethods {
+ public static Efl.BindableProperty<bool> FinalStateKeep<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Animation, T>magic = null) where T : Efl.Canvas.Animation {
+ return new Efl.BindableProperty<bool>("final_state_keep", fac);
+ }
+
+ public static Efl.BindableProperty<double> Duration<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Animation, T>magic = null) where T : Efl.Canvas.Animation {
+ return new Efl.BindableProperty<double>("duration", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Canvas.AnimationRepeatMode> RepeatMode<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Animation, T>magic = null) where T : Efl.Canvas.Animation {
+ return new Efl.BindableProperty<Efl.Canvas.AnimationRepeatMode>("repeat_mode", fac);
+ }
+
+ public static Efl.BindableProperty<int> RepeatCount<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Animation, T>magic = null) where T : Efl.Canvas.Animation {
+ return new Efl.BindableProperty<int>("repeat_count", fac);
+ }
+
+ public static Efl.BindableProperty<double> StartDelay<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Animation, T>magic = null) where T : Efl.Canvas.Animation {
+ return new Efl.BindableProperty<double>("start_delay", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.IInterpolator> Interpolator<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Animation, T>magic = null) where T : Efl.Canvas.Animation {
+ return new Efl.BindableProperty<Efl.IInterpolator>("interpolator", fac);
+ }
+
+
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Canvas {
/// <summary>Efl alpha animation class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Canvas.AnimationAlpha.NativeMethods]
[Efl.Eo.BindingEntity]
public class AnimationAlpha : Efl.Canvas.Animation
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected AnimationAlpha(ConstructingHandle ch) : base(ch)
{
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();
}
+ /// <summary>Alpha property</summary>
+ /// <value>Alpha value when animation starts</value>
+ public (double, double) Alpha {
+ get {
+ double _out_from_alpha = default(double);
+ double _out_to_alpha = default(double);
+ GetAlpha(out _out_from_alpha,out _out_to_alpha);
+ return (_out_from_alpha,_out_to_alpha);
+ }
+ set { SetAlpha( value.Item1, value.Item2); }
+ }
private static IntPtr GetEflClassStatic()
{
return Efl.Canvas.AnimationAlpha.efl_canvas_animation_alpha_class_get();
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasAnimationAlpha_ExtensionMethods {
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Canvas {
/// <summary>Efl group animation abstract class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Canvas.AnimationGroup.NativeMethods]
[Efl.Eo.BindingEntity]
public abstract class AnimationGroup : Efl.Canvas.Animation
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected AnimationGroup(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasAnimationGroup_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Canvas {
/// <summary>Efl group parallel animation class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Canvas.AnimationGroupParallel.NativeMethods]
[Efl.Eo.BindingEntity]
public class AnimationGroupParallel : Efl.Canvas.AnimationGroup
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected AnimationGroupParallel(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasAnimationGroupParallel_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Canvas {
/// <summary>Efl group sequential animation class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Canvas.AnimationGroupSequential.NativeMethods]
[Efl.Eo.BindingEntity]
public class AnimationGroupSequential : Efl.Canvas.AnimationGroup
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected AnimationGroupSequential(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasAnimationGroupSequential_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Canvas {
-///<summary>Event argument wrapper for event <see cref="Efl.Canvas.AnimationPlayer.RunningEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Animation is running.</value>
public Efl.Canvas.ObjectAnimationEvent arg { get; set; }
}
/// <summary>Efl animation object class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Canvas.AnimationPlayer.NativeMethods]
[Efl.Eo.BindingEntity]
public class AnimationPlayer : Efl.Object, Efl.IPlayer
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected AnimationPlayer(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event StartedEvt.</summary>
+ /// <summary>Method to raise event StartedEvt.</summary>
public void OnStartedEvt(EventArgs e)
{
var key = "_EFL_ANIMATION_PLAYER_EVENT_STARTED";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
/// <summary>Animation is running.</summary>
+ /// <value><see cref="Efl.Canvas.AnimationPlayerRunningEvt_Args"/></value>
public event EventHandler<Efl.Canvas.AnimationPlayerRunningEvt_Args> RunningEvt
{
add
}
}
}
- ///<summary>Method to raise event RunningEvt.</summary>
+ /// <summary>Method to raise event RunningEvt.</summary>
public void OnRunningEvt(Efl.Canvas.AnimationPlayerRunningEvt_Args e)
{
var key = "_EFL_ANIMATION_PLAYER_EVENT_RUNNING";
}
}
}
- ///<summary>Method to raise event EndedEvt.</summary>
+ /// <summary>Method to raise event EndedEvt.</summary>
public void OnEndedEvt(EventArgs e)
{
var key = "_EFL_ANIMATION_PLAYER_EVENT_ENDED";
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasAnimationPlayer_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Canvas.Animation> Animation<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.AnimationPlayer, T>magic = null) where T : Efl.Canvas.AnimationPlayer {
+ return new Efl.BindableProperty<Efl.Canvas.Animation>("animation", fac);
+ }
+
+ public static Efl.BindableProperty<bool> AutoDel<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.AnimationPlayer, T>magic = null) where T : Efl.Canvas.AnimationPlayer {
+ return new Efl.BindableProperty<bool>("auto_del", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Canvas.Object> Target<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.AnimationPlayer, T>magic = null) where T : Efl.Canvas.AnimationPlayer {
+ return new Efl.BindableProperty<Efl.Canvas.Object>("target", fac);
+ }
+
+
+ public static Efl.BindableProperty<bool> Play<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.AnimationPlayer, T>magic = null) where T : Efl.Canvas.AnimationPlayer {
+ return new Efl.BindableProperty<bool>("play", fac);
+ }
+
+ public static Efl.BindableProperty<double> Pos<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.AnimationPlayer, T>magic = null) where T : Efl.Canvas.AnimationPlayer {
+ return new Efl.BindableProperty<double>("pos", fac);
+ }
+
+
+ public static Efl.BindableProperty<double> PlaySpeed<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.AnimationPlayer, T>magic = null) where T : Efl.Canvas.AnimationPlayer {
+ return new Efl.BindableProperty<double>("play_speed", fac);
+ }
+
+ public static Efl.BindableProperty<double> Volume<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.AnimationPlayer, T>magic = null) where T : Efl.Canvas.AnimationPlayer {
+ return new Efl.BindableProperty<double>("volume", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Mute<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.AnimationPlayer, T>magic = null) where T : Efl.Canvas.AnimationPlayer {
+ return new Efl.BindableProperty<bool>("mute", fac);
+ }
+
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Canvas {
/// <summary>Efl rotate animation class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Canvas.AnimationRotate.NativeMethods]
[Efl.Eo.BindingEntity]
public class AnimationRotate : Efl.Canvas.Animation
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected AnimationRotate(ConstructingHandle ch) : base(ch)
{
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();
}
+ /// <summary>Rotate property</summary>
+ /// <value>Rotation degree when animation starts</value>
+ public (double, double, Efl.Canvas.Object, double, double) Rotate {
+ get {
+ double _out_from_degree = default(double);
+ double _out_to_degree = default(double);
+ Efl.Canvas.Object _out_pivot = default(Efl.Canvas.Object);
+ double _out_cx = default(double);
+ double _out_cy = default(double);
+ GetRotate(out _out_from_degree,out _out_to_degree,out _out_pivot,out _out_cx,out _out_cy);
+ return (_out_from_degree,_out_to_degree,_out_pivot,_out_cx,_out_cy);
+ }
+ set { SetRotate( value.Item1, value.Item2, value.Item3, value.Item4, value.Item5); }
+ }
+ /// <summary>Rotate absolute property</summary>
+ /// <value>Rotation degree when animation starts</value>
+ public (double, double, int, int) RotateAbsolute {
+ get {
+ double _out_from_degree = default(double);
+ double _out_to_degree = default(double);
+ int _out_cx = default(int);
+ int _out_cy = default(int);
+ GetRotateAbsolute(out _out_from_degree,out _out_to_degree,out _out_cx,out _out_cy);
+ return (_out_from_degree,_out_to_degree,_out_cx,_out_cy);
+ }
+ set { SetRotateAbsolute( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
private static IntPtr GetEflClassStatic()
{
return Efl.Canvas.AnimationRotate.efl_canvas_animation_rotate_class_get();
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasAnimationRotate_ExtensionMethods {
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Canvas {
/// <summary>Efl scale animation class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Canvas.AnimationScale.NativeMethods]
[Efl.Eo.BindingEntity]
public class AnimationScale : Efl.Canvas.Animation
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected AnimationScale(ConstructingHandle ch) : base(ch)
{
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();
}
+ /// <summary>Scale property</summary>
+ /// <value>Scale factor along x axis when animation starts</value>
+ public (double, double, double, double, Efl.Canvas.Object, double, double) Scale {
+ get {
+ double _out_from_scale_x = default(double);
+ double _out_from_scale_y = default(double);
+ double _out_to_scale_x = default(double);
+ double _out_to_scale_y = default(double);
+ Efl.Canvas.Object _out_pivot = default(Efl.Canvas.Object);
+ double _out_cx = default(double);
+ double _out_cy = default(double);
+ GetScale(out _out_from_scale_x,out _out_from_scale_y,out _out_to_scale_x,out _out_to_scale_y,out _out_pivot,out _out_cx,out _out_cy);
+ return (_out_from_scale_x,_out_from_scale_y,_out_to_scale_x,_out_to_scale_y,_out_pivot,_out_cx,_out_cy);
+ }
+ set { SetScale( value.Item1, value.Item2, value.Item3, value.Item4, value.Item5, value.Item6, value.Item7); }
+ }
+ /// <summary>Scale absolute property</summary>
+ /// <value>Scale factor along x axis when animation starts</value>
+ public (double, double, double, double, int, int) ScaleAbsolute {
+ get {
+ double _out_from_scale_x = default(double);
+ double _out_from_scale_y = default(double);
+ double _out_to_scale_x = default(double);
+ double _out_to_scale_y = default(double);
+ int _out_cx = default(int);
+ int _out_cy = default(int);
+ GetScaleAbsolute(out _out_from_scale_x,out _out_from_scale_y,out _out_to_scale_x,out _out_to_scale_y,out _out_cx,out _out_cy);
+ return (_out_from_scale_x,_out_from_scale_y,_out_to_scale_x,_out_to_scale_y,_out_cx,_out_cy);
+ }
+ set { SetScaleAbsolute( value.Item1, value.Item2, value.Item3, value.Item4, value.Item5, value.Item6); }
+ }
private static IntPtr GetEflClassStatic()
{
return Efl.Canvas.AnimationScale.efl_canvas_animation_scale_class_get();
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasAnimationScale_ExtensionMethods {
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Canvas {
/// <summary>Efl translate animation class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Canvas.AnimationTranslate.NativeMethods]
[Efl.Eo.BindingEntity]
public class AnimationTranslate : Efl.Canvas.Animation
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected AnimationTranslate(ConstructingHandle ch) : base(ch)
{
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();
}
+ /// <summary>Translate property</summary>
+ /// <value>Distance moved along x axis when animation starts</value>
+ public (int, int, int, int) Translate {
+ get {
+ int _out_from_x = default(int);
+ int _out_from_y = default(int);
+ int _out_to_x = default(int);
+ int _out_to_y = default(int);
+ GetTranslate(out _out_from_x,out _out_from_y,out _out_to_x,out _out_to_y);
+ return (_out_from_x,_out_from_y,_out_to_x,_out_to_y);
+ }
+ set { SetTranslate( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
+ /// <summary>Translate absolute property</summary>
+ /// <value>X coordinate when animation starts</value>
+ public (int, int, int, int) TranslateAbsolute {
+ get {
+ int _out_from_x = default(int);
+ int _out_from_y = default(int);
+ int _out_to_x = default(int);
+ int _out_to_y = default(int);
+ GetTranslateAbsolute(out _out_from_x,out _out_from_y,out _out_to_x,out _out_to_y);
+ return (_out_from_x,_out_from_y,_out_to_x,_out_to_y);
+ }
+ set { SetTranslateAbsolute( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
private static IntPtr GetEflClassStatic()
{
return Efl.Canvas.AnimationTranslate.efl_canvas_animation_translate_class_get();
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasAnimationTranslate_ExtensionMethods {
+
+
+}
+#pragma warning restore CS1591
+#endif
[Efl.Eo.BindingEntity]
public struct AnimationPlayerEventRunning
{
- ///<summary>Placeholder field</summary>
+ /// <summary>Placeholder field</summary>
public IntPtr field;
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 AnimationPlayerEventRunning(IntPtr ptr)
{
var tmp = (AnimationPlayerEventRunning.NativeStruct)Marshal.PtrToStructure(ptr, typeof(AnimationPlayerEventRunning.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct AnimationPlayerEventRunning.</summary>
+ /// <summary>Internal wrapper for struct AnimationPlayerEventRunning.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
internal IntPtr field;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator AnimationPlayerEventRunning.NativeStruct(AnimationPlayerEventRunning _external_struct)
{
var _internal_struct = new AnimationPlayerEventRunning.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator AnimationPlayerEventRunning(AnimationPlayerEventRunning.NativeStruct _internal_struct)
{
var _external_struct = new AnimationPlayerEventRunning();
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// Child objects are not modified in any way, unlike other types of smart objects.
///
/// 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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Canvas.EventGrabber.NativeMethods]
[Efl.Eo.BindingEntity]
public class EventGrabber : Efl.Canvas.Group
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected EventGrabber(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasEventGrabber_ExtensionMethods {
+ public static Efl.BindableProperty<bool> FreezeWhenVisible<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.EventGrabber, T>magic = null) where T : Efl.Canvas.EventGrabber {
+ return new Efl.BindableProperty<bool>("freeze_when_visible", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Filter {
/// <summary>Evas internal implementation of filters.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Canvas.Filter.IInternalConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IInternal :
/// <summary>Marks this filter as changed.</summary>
/// <value><c>true</c> if filter changed, <c>false</c> otherwise</value>
bool FilterChanged {
- set ;
+ set;
}
/// <summary>Marks this filter as invalid.</summary>
/// <value><c>true</c> if filter is invalid, <c>false</c> otherwise</value>
bool FilterInvalid {
- set ;
+ set;
}
/// <summary>Retrieve cached output buffer, if any.
/// Does not increment the reference count.</summary>
/// <value>Output buffer</value>
System.IntPtr FilterOutputBuffer {
- get ;
+ get;
}
}
/// <summary>Evas internal implementation of filters.</summary>
-sealed public class IInternalConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IInternalConcrete :
Efl.Eo.EoWrapper
, IInternal
, Efl.Gfx.IFilter
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IInternalConcrete(ConstructingHandle ch) : base(ch)
{
public System.IntPtr FilterOutputBuffer {
get { return GetFilterOutputBuffer(); }
}
+ /// <summary>Gets the code of the filter program set on this object. May be <c>null</c>.</summary>
+ /// <value>The Lua program source code.</value>
+ public (System.String, System.String) FilterProgram {
+ get {
+ System.String _out_code = default(System.String);
+ System.String _out_name = default(System.String);
+ GetFilterProgram(out _out_code,out _out_name);
+ return (_out_code,_out_name);
+ }
+ set { SetFilterProgram( value.Item1, value.Item2); }
+ }
+ /// <summary>Set the current state of the filter.
+ /// This should be used by Edje (EFL's internal layout engine), but could also be used when implementing animations programmatically.
+ ///
+ /// A full state is defined by two states (name + value): origin state and target state of an ongoing animation, as well as the <c>pos</c> progress (from 0 to 1) of that animation timeline. The second state can be omitted if there is no ongoing animation.</summary>
+ /// <value>Current state of the filter</value>
+ public (System.String, double, System.String, double, double) FilterState {
+ get {
+ System.String _out_cur_state = default(System.String);
+ double _out_cur_val = default(double);
+ System.String _out_next_state = default(System.String);
+ double _out_next_val = default(double);
+ double _out_pos = default(double);
+ GetFilterState(out _out_cur_state,out _out_cur_val,out _out_next_state,out _out_next_val,out _out_pos);
+ return (_out_cur_state,_out_cur_val,_out_next_state,_out_next_val,_out_pos);
+ }
+ set { SetFilterState( value.Item1, value.Item2, value.Item3, value.Item4, value.Item5); }
+ }
+ /// <summary>Required padding to apply this filter without cropping.
+ /// Read-only property that can be used to calculate the object's final geometry. This can be overridden (set) from inside the filter program by using the function 'padding_set' in the Lua program.</summary>
+ public (int, int, int, int) FilterPadding {
+ get {
+ int _out_l = default(int);
+ int _out_r = default(int);
+ int _out_t = default(int);
+ int _out_b = default(int);
+ GetFilterPadding(out _out_l,out _out_r,out _out_t,out _out_b);
+ return (_out_l,_out_r,_out_t,_out_b);
+ }
+ }
private static IntPtr GetEflClassStatic()
{
return Efl.Canvas.Filter.IInternalConcrete.efl_canvas_filter_internal_mixin_get();
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_Canvas_FilterIInternalConcrete_ExtensionMethods {
+ public static Efl.BindableProperty<bool> FilterChanged<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Filter.IInternal, T>magic = null) where T : Efl.Canvas.Filter.IInternal {
+ return new Efl.BindableProperty<bool>("filter_changed", fac);
+ }
+
+ public static Efl.BindableProperty<bool> FilterInvalid<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Filter.IInternal, T>magic = null) where T : Efl.Canvas.Filter.IInternal {
+ return new Efl.BindableProperty<bool>("filter_invalid", fac);
+ }
+
+
+
+
+
+
+
+}
+#pragma warning restore CS1591
+#endif
namespace Efl {
namespace Gfx {
public byte B;
/// <summary>Translucent component of the color</summary>
public byte A;
- ///<summary>Constructor for Color32.</summary>
+ /// <summary>Constructor for Color32.</summary>
+ /// <param name="R">Red component of the color</param>;
+ /// <param name="G">Green component of the color</param>;
+ /// <param name="B">Blue component of the color</param>;
+ /// <param name="A">Translucent component of the color</param>;
public Color32(
byte R = default(byte),
byte G = default(byte),
this.A = A;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 Color32(IntPtr ptr)
{
var tmp = (Color32.NativeStruct)Marshal.PtrToStructure(ptr, typeof(Color32.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct Color32.</summary>
+ /// <summary>Internal wrapper for struct Color32.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
public byte B;
public byte A;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator Color32.NativeStruct(Color32 _external_struct)
{
var _internal_struct = new Color32.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator Color32(Color32.NativeStruct _internal_struct)
{
var _external_struct = new Color32();
public System.String Name;
/// <summary>Filter state value</summary>
public double Value;
- ///<summary>Constructor for StateName.</summary>
+ /// <summary>Constructor for StateName.</summary>
+ /// <param name="Name">Filter state name</param>;
+ /// <param name="Value">Filter state value</param>;
public StateName(
System.String Name = default(System.String),
double Value = default(double) )
this.Value = Value;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 StateName(IntPtr ptr)
{
var tmp = (StateName.NativeStruct)Marshal.PtrToStructure(ptr, typeof(StateName.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct StateName.</summary>
+ /// <summary>Internal wrapper for struct StateName.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
- ///<summary>Internal wrapper for field Name</summary>
+ /// <summary>Internal wrapper for field Name</summary>
public System.IntPtr Name;
public double Value;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator StateName.NativeStruct(StateName _external_struct)
{
var _internal_struct = new StateName.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator StateName(StateName.NativeStruct _internal_struct)
{
var _external_struct = new StateName();
public struct StateText
{
/// <summary>Text outline color</summary>
+ /// <value>32 bit color data structure</value>
public Efl.Gfx.Color32 Outline;
/// <summary>Text shadow color</summary>
+ /// <value>32 bit color data structure</value>
public Efl.Gfx.Color32 Shadow;
/// <summary>Text glow color</summary>
+ /// <value>32 bit color data structure</value>
public Efl.Gfx.Color32 Glow;
/// <summary>Text glow2 color</summary>
+ /// <value>32 bit color data structure</value>
public Efl.Gfx.Color32 Glow2;
- ///<summary>Constructor for StateText.</summary>
+ /// <summary>Constructor for StateText.</summary>
+ /// <param name="Outline">Text outline color</param>;
+ /// <param name="Shadow">Text shadow color</param>;
+ /// <param name="Glow">Text glow color</param>;
+ /// <param name="Glow2">Text glow2 color</param>;
public StateText(
Efl.Gfx.Color32 Outline = default(Efl.Gfx.Color32),
Efl.Gfx.Color32 Shadow = default(Efl.Gfx.Color32),
this.Glow2 = Glow2;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 StateText(IntPtr ptr)
{
var tmp = (StateText.NativeStruct)Marshal.PtrToStructure(ptr, typeof(StateText.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct StateText.</summary>
+ /// <summary>Internal wrapper for struct StateText.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
public Efl.Gfx.Color32.NativeStruct Glow;
public Efl.Gfx.Color32.NativeStruct Glow2;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator StateText.NativeStruct(StateText _external_struct)
{
var _internal_struct = new StateText.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator StateText(StateText.NativeStruct _internal_struct)
{
var _external_struct = new StateText();
public struct State
{
/// <summary>Text state</summary>
+ /// <value>Filter state text structure</value>
public Efl.Canvas.Filter.StateText Text;
/// <summary>Color</summary>
+ /// <value>32 bit color data structure</value>
public Efl.Gfx.Color32 Color;
/// <summary>Current state</summary>
+ /// <value>Filter state name structure</value>
public Efl.Canvas.Filter.StateName Cur;
/// <summary>Next state</summary>
+ /// <value>Filter state name structure</value>
public Efl.Canvas.Filter.StateName Next;
/// <summary>Width</summary>
public int W;
public double Scale;
/// <summary>Position</summary>
public double Pos;
- ///<summary>Constructor for State.</summary>
+ /// <summary>Constructor for State.</summary>
+ /// <param name="Text">Text state</param>;
+ /// <param name="Color">Color</param>;
+ /// <param name="Cur">Current state</param>;
+ /// <param name="Next">Next state</param>;
+ /// <param name="W">Width</param>;
+ /// <param name="H">Height</param>;
+ /// <param name="Scale">Scale factor</param>;
+ /// <param name="Pos">Position</param>;
public State(
Efl.Canvas.Filter.StateText Text = default(Efl.Canvas.Filter.StateText),
Efl.Gfx.Color32 Color = default(Efl.Gfx.Color32),
this.Pos = Pos;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 State(IntPtr ptr)
{
var tmp = (State.NativeStruct)Marshal.PtrToStructure(ptr, typeof(State.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct State.</summary>
+ /// <summary>Internal wrapper for struct State.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
public double Scale;
public double Pos;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator State.NativeStruct(State _external_struct)
{
var _internal_struct = new State.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator State(State.NativeStruct _internal_struct)
{
var _external_struct = new State();
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// A gesture class defines a method that spcific gesture event and privides information about the gesture's type, state, and associated pointer information.
///
/// For cetain gesture types, additional methods are defined to provide meaningful gesture information to the user.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Canvas.Gesture.NativeMethods]
[Efl.Eo.BindingEntity]
public abstract class Gesture : Efl.Object
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Gesture(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasGesture_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Canvas.GestureState> State<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Gesture, T>magic = null) where T : Efl.Canvas.Gesture {
+ return new Efl.BindableProperty<Efl.Canvas.GestureState>("state", fac);
+ }
+
+ public static Efl.BindableProperty<Eina.Position2D> Hotspot<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Gesture, T>magic = null) where T : Efl.Canvas.Gesture {
+ return new Efl.BindableProperty<Eina.Position2D>("hotspot", fac);
+ }
+
+ public static Efl.BindableProperty<uint> Timestamp<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Gesture, T>magic = null) where T : Efl.Canvas.Gesture {
+ return new Efl.BindableProperty<uint>("timestamp", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Canvas {
/// <summary>EFL Gesture Double Tap class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Canvas.GestureDoubleTap.NativeMethods]
[Efl.Eo.BindingEntity]
public class GestureDoubleTap : Efl.Canvas.Gesture
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected GestureDoubleTap(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasGestureDoubleTap_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Canvas {
/// <summary>EFL Gesture Flick class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Canvas.GestureFlick.NativeMethods]
[Efl.Eo.BindingEntity]
public class GestureFlick : Efl.Canvas.Gesture
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected GestureFlick(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasGestureFlick_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Canvas {
/// <summary>EFL Gesture Long Tap class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Canvas.GestureLongTap.NativeMethods]
[Efl.Eo.BindingEntity]
public class GestureLongTap : Efl.Canvas.Gesture
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected GestureLongTap(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasGestureLongTap_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Canvas {
/// <summary>EFL Gesture Manager class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Canvas.GestureManager.NativeMethods]
[Efl.Eo.BindingEntity]
public class GestureManager : Efl.Object
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected GestureManager(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasGestureManager_ExtensionMethods {
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Canvas {
/// <summary>EFL Gesture Momentum class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Canvas.GestureMomentum.NativeMethods]
[Efl.Eo.BindingEntity]
public class GestureMomentum : Efl.Canvas.Gesture
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected GestureMomentum(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasGestureMomentum_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// Uesr can adjust the config value involved in gesture recognition through the method provided by the gesture recognizer.
///
/// The default config values follow the system default config value.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Canvas.GestureRecognizer.NativeMethods]
[Efl.Eo.BindingEntity]
public abstract class GestureRecognizer : Efl.Object
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected GestureRecognizer(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasGestureRecognizer_ExtensionMethods {
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Canvas {
/// <summary>EFL Gesture Recognizer Double Tap class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Canvas.GestureRecognizerDoubleTap.NativeMethods]
[Efl.Eo.BindingEntity]
public class GestureRecognizerDoubleTap : Efl.Canvas.GestureRecognizer
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected GestureRecognizerDoubleTap(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasGestureRecognizerDoubleTap_ExtensionMethods {
+ public static Efl.BindableProperty<double> Timeout<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.GestureRecognizerDoubleTap, T>magic = null) where T : Efl.Canvas.GestureRecognizerDoubleTap {
+ return new Efl.BindableProperty<double>("timeout", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Canvas {
/// <summary>EFL Gesture Recognizer Flick Class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Canvas.GestureRecognizerFlick.NativeMethods]
[Efl.Eo.BindingEntity]
public class GestureRecognizerFlick : Efl.Canvas.GestureRecognizer
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected GestureRecognizerFlick(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasGestureRecognizerFlick_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Canvas {
/// <summary>EFL Gesture Recognizer Long Tap class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Canvas.GestureRecognizerLongTap.NativeMethods]
[Efl.Eo.BindingEntity]
public class GestureRecognizerLongTap : Efl.Canvas.GestureRecognizer
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected GestureRecognizerLongTap(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasGestureRecognizerLongTap_ExtensionMethods {
+ public static Efl.BindableProperty<double> Timeout<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.GestureRecognizerLongTap, T>magic = null) where T : Efl.Canvas.GestureRecognizerLongTap {
+ return new Efl.BindableProperty<double>("timeout", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Canvas {
/// <summary>EFL Gesture Recognizer Momentum class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Canvas.GestureRecognizerMomentum.NativeMethods]
[Efl.Eo.BindingEntity]
public class GestureRecognizerMomentum : Efl.Canvas.GestureRecognizer
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected GestureRecognizerMomentum(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasGestureRecognizerMomentum_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Canvas {
/// <summary>EFL Gesture Recognizer Tap class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Canvas.GestureRecognizerTap.NativeMethods]
[Efl.Eo.BindingEntity]
public class GestureRecognizerTap : Efl.Canvas.GestureRecognizer
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected GestureRecognizerTap(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasGestureRecognizerTap_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Canvas {
/// <summary>EFL Gesture Recognizer Triple Tap class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Canvas.GestureRecognizerTripleTap.NativeMethods]
[Efl.Eo.BindingEntity]
public class GestureRecognizerTripleTap : Efl.Canvas.GestureRecognizer
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected GestureRecognizerTripleTap(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasGestureRecognizerTripleTap_ExtensionMethods {
+ public static Efl.BindableProperty<double> Timeout<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.GestureRecognizerTripleTap, T>magic = null) where T : Efl.Canvas.GestureRecognizerTripleTap {
+ return new Efl.BindableProperty<double>("timeout", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Canvas {
/// <summary>EFL Gesture Recognizer Zoom class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Canvas.GestureRecognizerZoom.NativeMethods]
[Efl.Eo.BindingEntity]
public class GestureRecognizerZoom : Efl.Canvas.GestureRecognizer
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected GestureRecognizerZoom(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasGestureRecognizerZoom_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Canvas {
/// <summary>EFL Gesture Tap class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Canvas.GestureTap.NativeMethods]
[Efl.Eo.BindingEntity]
public class GestureTap : Efl.Canvas.Gesture
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected GestureTap(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasGestureTap_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Canvas {
/// <summary>EFL Gesture Touch class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Canvas.GestureTouch.NativeMethods]
[Efl.Eo.BindingEntity]
public class GestureTouch : Efl.Object
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected GestureTouch(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasGestureTouch_ExtensionMethods {
+
+
+
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Canvas {
/// <summary>EFL Gesture Triple Tap class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Canvas.GestureTripleTap.NativeMethods]
[Efl.Eo.BindingEntity]
public class GestureTripleTap : Efl.Canvas.Gesture
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected GestureTripleTap(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasGestureTripleTap_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Canvas {
/// <summary>EFL Gesture Zoom class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Canvas.GestureZoom.NativeMethods]
[Efl.Eo.BindingEntity]
public class GestureZoom : Efl.Canvas.Gesture
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected GestureZoom(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasGestureZoom_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Canvas {
-///<summary>Event argument wrapper for event <see cref="Efl.Canvas.Group.MemberAddedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called when a member is added to the group.</value>
public Efl.Gfx.IEntity arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Canvas.Group.MemberRemovedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called when a member is removed from the group.</value>
public Efl.Gfx.IEntity arg { get; set; }
}
/// <summary>A group object is a container for other canvas objects. Its children move along their parent and are often clipped with a common clipper. This is part of the legacy smart object concept.
[Efl.Eo.BindingEntity]
public class Group : Efl.Canvas.Object
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Group(ConstructingHandle ch) : base(ch)
{
/// <summary>Called when a member is added to the group.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Canvas.GroupMemberAddedEvt_Args"/></value>
public event EventHandler<Efl.Canvas.GroupMemberAddedEvt_Args> MemberAddedEvt
{
add
}
}
}
- ///<summary>Method to raise event MemberAddedEvt.</summary>
+ /// <summary>Method to raise event MemberAddedEvt.</summary>
public void OnMemberAddedEvt(Efl.Canvas.GroupMemberAddedEvt_Args e)
{
var key = "_EFL_CANVAS_GROUP_EVENT_MEMBER_ADDED";
}
/// <summary>Called when a member is removed from the group.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Canvas.GroupMemberRemovedEvt_Args"/></value>
public event EventHandler<Efl.Canvas.GroupMemberRemovedEvt_Args> MemberRemovedEvt
{
add
}
}
}
- ///<summary>Method to raise event MemberRemovedEvt.</summary>
+ /// <summary>Method to raise event MemberRemovedEvt.</summary>
public void OnMemberRemovedEvt(Efl.Canvas.GroupMemberRemovedEvt_Args e)
{
var key = "_EFL_CANVAS_GROUP_EVENT_MEMBER_REMOVED";
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasGroup_ExtensionMethods {
+ public static Efl.BindableProperty<bool> GroupNeedRecalculate<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Group, T>magic = null) where T : Efl.Canvas.Group {
+ return new Efl.BindableProperty<bool>("group_need_recalculate", fac);
+ }
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Image(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event LoadDoneEvt.</summary>
+ /// <summary>Method to raise event LoadDoneEvt.</summary>
public void OnLoadDoneEvt(EventArgs e)
{
var key = "_EFL_GFX_IMAGE_LOAD_CONTROLLER_EVENT_LOAD_DONE";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
/// <summary>Called when an error happened during image loading</summary>
+ /// <value><see cref="Efl.Gfx.IImageLoadControllerLoadErrorEvt_Args"/></value>
public event EventHandler<Efl.Gfx.IImageLoadControllerLoadErrorEvt_Args> LoadErrorEvt
{
add
}
}
}
- ///<summary>Method to raise event LoadErrorEvt.</summary>
+ /// <summary>Method to raise event LoadErrorEvt.</summary>
public void OnLoadErrorEvt(Efl.Gfx.IImageLoadControllerLoadErrorEvt_Args e)
{
var key = "_EFL_GFX_IMAGE_LOAD_CONTROLLER_EVENT_LOAD_ERROR";
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasImage_ExtensionMethods {
+ public static Efl.BindableProperty<Eina.File> Mmap<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Image, T>magic = null) where T : Efl.Canvas.Image {
+ return new Efl.BindableProperty<Eina.File>("mmap", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> File<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Image, T>magic = null) where T : Efl.Canvas.Image {
+ return new Efl.BindableProperty<System.String>("file", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> Key<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Image, T>magic = null) where T : Efl.Canvas.Image {
+ return new Efl.BindableProperty<System.String>("key", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<int> Frame<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Image, T>magic = null) where T : Efl.Canvas.Image {
+ return new Efl.BindableProperty<int>("frame", fac);
+ }
+
+
+
+
+
+ public static Efl.BindableProperty<Eina.Size2D> LoadSize<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Image, T>magic = null) where T : Efl.Canvas.Image {
+ return new Efl.BindableProperty<Eina.Size2D>("load_size", fac);
+ }
+
+ public static Efl.BindableProperty<double> LoadDpi<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Image, T>magic = null) where T : Efl.Canvas.Image {
+ return new Efl.BindableProperty<double>("load_dpi", fac);
+ }
+
+
+ public static Efl.BindableProperty<Eina.Rect> LoadRegion<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Image, T>magic = null) where T : Efl.Canvas.Image {
+ return new Efl.BindableProperty<Eina.Rect>("load_region", fac);
+ }
+
+ public static Efl.BindableProperty<bool> LoadOrientation<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Image, T>magic = null) where T : Efl.Canvas.Image {
+ return new Efl.BindableProperty<bool>("load_orientation", fac);
+ }
+
+ public static Efl.BindableProperty<int> LoadScaleDown<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Image, T>magic = null) where T : Efl.Canvas.Image {
+ return new Efl.BindableProperty<int>("load_scale_down", fac);
+ }
+
+ public static Efl.BindableProperty<bool> LoadSkipHeader<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Image, T>magic = null) where T : Efl.Canvas.Image {
+ return new Efl.BindableProperty<bool>("load_skip_header", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Canvas {
/// <summary>Efl canvas internal image class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected ImageInternal(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event ImagePreloadEvt.</summary>
+ /// <summary>Method to raise event ImagePreloadEvt.</summary>
public void OnImagePreloadEvt(EventArgs e)
{
var key = "_EFL_GFX_IMAGE_EVENT_IMAGE_PRELOAD";
}
}
}
- ///<summary>Method to raise event ImageResizeEvt.</summary>
+ /// <summary>Method to raise event ImageResizeEvt.</summary>
public void OnImageResizeEvt(EventArgs e)
{
var key = "_EFL_GFX_IMAGE_EVENT_IMAGE_RESIZE";
}
}
}
- ///<summary>Method to raise event ImageUnloadEvt.</summary>
+ /// <summary>Method to raise event ImageUnloadEvt.</summary>
public void OnImageUnloadEvt(EventArgs e)
{
var key = "_EFL_GFX_IMAGE_EVENT_IMAGE_UNLOAD";
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>If <c>true</c>, the image may be scaled to a larger size. If <c>false</c>, the image will never be resized larger than its native size. This is set to <c>true</c> by default.</summary>
+ /// <returns>Allow image upscaling</returns>
+ virtual public bool GetCanUpscale() {
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_can_upscale_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>If <c>true</c>, the image may be scaled to a larger size. If <c>false</c>, the image will never be resized larger than its native size. This is set to <c>true</c> by default.</summary>
+ /// <param name="upscale">Allow image upscaling</param>
+ virtual public void SetCanUpscale(bool upscale) {
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_can_upscale_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),upscale);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>If <c>true</c>, the image may be scaled to a smaller size. If <c>false</c>, the image will never be resized smaller than its native size. This is set to <c>true</c> by default.</summary>
+ /// <returns>Allow image downscaling</returns>
+ virtual public bool GetCanDownscale() {
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_can_downscale_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>If <c>true</c>, the image may be scaled to a smaller size. If <c>false</c>, the image will never be resized smaller than its native size. This is set to <c>true</c> by default.</summary>
+ /// <param name="downscale">Allow image downscaling</param>
+ virtual public void SetCanDownscale(bool downscale) {
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_can_downscale_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),downscale);
+ Eina.Error.RaiseIfUnhandledException();
+ }
/// <summary>Returns 1.0 if not applicable (eg. height = 0).</summary>
/// <returns>The image's ratio.</returns>
virtual public double GetRatio() {
/// 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) {
+ virtual public void GetStretchRegion(out Eina.Iterator<Efl.Gfx.ImageStretchRegion> horizontal, out Eina.Iterator<Efl.Gfx.ImageStretchRegion> 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);
+ horizontal = new Eina.Iterator<Efl.Gfx.ImageStretchRegion>(_out_horizontal, false);
+ vertical = new Eina.Iterator<Efl.Gfx.ImageStretchRegion>(_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) {
+ virtual public Eina.Error SetStretchRegion(Eina.Iterator<Efl.Gfx.ImageStretchRegion> horizontal, Eina.Iterator<Efl.Gfx.ImageStretchRegion> 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);
public int Stride {
get { return GetStride(); }
}
+ /// <summary>Duplicated pixel borders inside this buffer.
+ /// Internally, EFL may require an image to have its border pixels duplicated, in particular for GL textures. This property exposes the internal duplicated borders to allow calling <see cref="Efl.Gfx.IBuffer.BufferMap"/> with the entire pixel data, including those edge pixels.</summary>
+ public (uint, uint, uint, uint) BufferBorders {
+ get {
+ uint _out_l = default(uint);
+ uint _out_r = default(uint);
+ uint _out_t = default(uint);
+ uint _out_b = default(uint);
+ GetBufferBorders(out _out_l,out _out_r,out _out_t,out _out_b);
+ return (_out_l,_out_r,_out_t,_out_b);
+ }
+ }
/// <summary>Binds the object's <see cref="Efl.Gfx.IFill.Fill"/> property to its actual geometry.
/// If <c>true</c>, then every time the object is resized, it will automatically trigger a call to <see cref="Efl.Gfx.IFill.SetFill"/> with the new size (and 0, 0 as source image's origin), so the image will cover the whole object's area.
///
get { return GetFill(); }
set { SetFill(value); }
}
+ /// <summary>Gets the code of the filter program set on this object. May be <c>null</c>.</summary>
+ /// <value>The Lua program source code.</value>
+ public (System.String, System.String) FilterProgram {
+ get {
+ System.String _out_code = default(System.String);
+ System.String _out_name = default(System.String);
+ GetFilterProgram(out _out_code,out _out_name);
+ return (_out_code,_out_name);
+ }
+ set { SetFilterProgram( value.Item1, value.Item2); }
+ }
+ /// <summary>Set the current state of the filter.
+ /// This should be used by Edje (EFL's internal layout engine), but could also be used when implementing animations programmatically.
+ ///
+ /// A full state is defined by two states (name + value): origin state and target state of an ongoing animation, as well as the <c>pos</c> progress (from 0 to 1) of that animation timeline. The second state can be omitted if there is no ongoing animation.</summary>
+ /// <value>Current state of the filter</value>
+ public (System.String, double, System.String, double, double) FilterState {
+ get {
+ System.String _out_cur_state = default(System.String);
+ double _out_cur_val = default(double);
+ System.String _out_next_state = default(System.String);
+ double _out_next_val = default(double);
+ double _out_pos = default(double);
+ GetFilterState(out _out_cur_state,out _out_cur_val,out _out_next_state,out _out_next_val,out _out_pos);
+ return (_out_cur_state,_out_cur_val,_out_next_state,_out_next_val,_out_pos);
+ }
+ set { SetFilterState( value.Item1, value.Item2, value.Item3, value.Item4, value.Item5); }
+ }
+ /// <summary>Required padding to apply this filter without cropping.
+ /// Read-only property that can be used to calculate the object's final geometry. This can be overridden (set) from inside the filter program by using the function 'padding_set' in the Lua program.</summary>
+ public (int, int, int, int) FilterPadding {
+ get {
+ int _out_l = default(int);
+ int _out_r = default(int);
+ int _out_t = default(int);
+ int _out_b = default(int);
+ GetFilterPadding(out _out_l,out _out_r,out _out_t,out _out_b);
+ return (_out_l,_out_r,_out_t,_out_b);
+ }
+ }
/// <summary>Whether to use high-quality image scaling algorithm for this image.
/// When enabled, a higher quality image scaling algorithm is used when scaling images to sizes other than the source image's original one. This gives better results but is more computationally expensive.
///
get { return GetScaleType(); }
set { SetScaleType(value); }
}
+ /// <summary>If <c>true</c>, the image may be scaled to a larger size. If <c>false</c>, the image will never be resized larger than its native size. This is set to <c>true</c> by default.</summary>
+ /// <value>Allow image upscaling</value>
+ public bool CanUpscale {
+ get { return GetCanUpscale(); }
+ set { SetCanUpscale(value); }
+ }
+ /// <summary>If <c>true</c>, the image may be scaled to a smaller size. If <c>false</c>, the image will never be resized smaller than its native size. This is set to <c>true</c> by default.</summary>
+ /// <value>Allow image downscaling</value>
+ public bool CanDownscale {
+ get { return GetCanDownscale(); }
+ set { SetCanDownscale(value); }
+ }
/// <summary>The native width/height ratio of the image.</summary>
/// <value>The image's ratio.</value>
public double Ratio {
public Eina.Rect ContentRegion {
get { return 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 units used for <c>l</c>, <c>r</c>, <c>t</c> and <c>b</c> are canvas units (pixels).
+ ///
+ /// Note: The border region itself may be scaled by the <see cref="Efl.Gfx.IImage.SetBorderScale"/> function.
+ ///
+ /// Note: By default, image objects have no borders set, i.e. <c>l</c>, <c>r</c>, <c>t</c> and <c>b</c> start as 0.
+ ///
+ /// Note: Similar to the concepts of 9-patch images or cap insets.</summary>
+ /// <value>The border's left width.</value>
+ public (int, int, int, int) Border {
+ get {
+ int _out_l = default(int);
+ int _out_r = default(int);
+ int _out_t = default(int);
+ int _out_b = default(int);
+ GetBorder(out _out_l,out _out_r,out _out_t,out _out_b);
+ return (_out_l,_out_r,_out_t,_out_b);
+ }
+ set { SetBorder( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <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.
///
get { return GetBorderCenterFill(); }
set { SetBorderCenterFill(value); }
}
+ /// <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>
+ /// <value>Representation of area that are stretchable in the image horizontal space.</value>
+ public (Eina.Iterator<Efl.Gfx.ImageStretchRegion>, Eina.Iterator<Efl.Gfx.ImageStretchRegion>) StretchRegion {
+ get {
+ Eina.Iterator<Efl.Gfx.ImageStretchRegion> _out_horizontal = default(Eina.Iterator<Efl.Gfx.ImageStretchRegion>);
+ Eina.Iterator<Efl.Gfx.ImageStretchRegion> _out_vertical = default(Eina.Iterator<Efl.Gfx.ImageStretchRegion>);
+ GetStretchRegion(out _out_horizontal,out _out_vertical);
+ return (_out_horizontal,_out_vertical);
+ }
+ set { SetStretchRegion( value.Item1, value.Item2); }
+ }
/// <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.
///
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_scale_type_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_scale_type_set_static_delegate) });
}
+ if (efl_gfx_image_can_upscale_get_static_delegate == null)
+ {
+ efl_gfx_image_can_upscale_get_static_delegate = new efl_gfx_image_can_upscale_get_delegate(can_upscale_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetCanUpscale") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_can_upscale_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_can_upscale_get_static_delegate) });
+ }
+
+ if (efl_gfx_image_can_upscale_set_static_delegate == null)
+ {
+ efl_gfx_image_can_upscale_set_static_delegate = new efl_gfx_image_can_upscale_set_delegate(can_upscale_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetCanUpscale") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_can_upscale_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_can_upscale_set_static_delegate) });
+ }
+
+ if (efl_gfx_image_can_downscale_get_static_delegate == null)
+ {
+ efl_gfx_image_can_downscale_get_static_delegate = new efl_gfx_image_can_downscale_get_delegate(can_downscale_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetCanDownscale") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_can_downscale_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_can_downscale_get_static_delegate) });
+ }
+
+ if (efl_gfx_image_can_downscale_set_static_delegate == null)
+ {
+ efl_gfx_image_can_downscale_set_static_delegate = new efl_gfx_image_can_downscale_set_delegate(can_downscale_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetCanDownscale") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_can_downscale_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_can_downscale_set_static_delegate) });
+ }
+
if (efl_gfx_image_ratio_get_static_delegate == null)
{
efl_gfx_image_ratio_get_static_delegate = new efl_gfx_image_ratio_get_delegate(ratio_get);
private static efl_gfx_image_scale_type_set_delegate efl_gfx_image_scale_type_set_static_delegate;
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_gfx_image_can_upscale_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_gfx_image_can_upscale_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_can_upscale_get_api_delegate> efl_gfx_image_can_upscale_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_can_upscale_get_api_delegate>(Module, "efl_gfx_image_can_upscale_get");
+
+ private static bool can_upscale_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_gfx_image_can_upscale_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((ImageInternal)ws.Target).GetCanUpscale();
+ }
+ 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_can_upscale_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_gfx_image_can_upscale_get_delegate efl_gfx_image_can_upscale_get_static_delegate;
+
+
+ private delegate void efl_gfx_image_can_upscale_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool upscale);
+
+
+ public delegate void efl_gfx_image_can_upscale_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool upscale);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_can_upscale_set_api_delegate> efl_gfx_image_can_upscale_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_can_upscale_set_api_delegate>(Module, "efl_gfx_image_can_upscale_set");
+
+ private static void can_upscale_set(System.IntPtr obj, System.IntPtr pd, bool upscale)
+ {
+ Eina.Log.Debug("function efl_gfx_image_can_upscale_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((ImageInternal)ws.Target).SetCanUpscale(upscale);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_gfx_image_can_upscale_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), upscale);
+ }
+ }
+
+ private static efl_gfx_image_can_upscale_set_delegate efl_gfx_image_can_upscale_set_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_gfx_image_can_downscale_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_gfx_image_can_downscale_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_can_downscale_get_api_delegate> efl_gfx_image_can_downscale_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_can_downscale_get_api_delegate>(Module, "efl_gfx_image_can_downscale_get");
+
+ private static bool can_downscale_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_gfx_image_can_downscale_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((ImageInternal)ws.Target).GetCanDownscale();
+ }
+ 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_can_downscale_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_gfx_image_can_downscale_get_delegate efl_gfx_image_can_downscale_get_static_delegate;
+
+
+ private delegate void efl_gfx_image_can_downscale_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool downscale);
+
+
+ public delegate void efl_gfx_image_can_downscale_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool downscale);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_can_downscale_set_api_delegate> efl_gfx_image_can_downscale_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_can_downscale_set_api_delegate>(Module, "efl_gfx_image_can_downscale_set");
+
+ private static void can_downscale_set(System.IntPtr obj, System.IntPtr pd, bool downscale)
+ {
+ Eina.Log.Debug("function efl_gfx_image_can_downscale_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((ImageInternal)ws.Target).SetCanDownscale(downscale);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_gfx_image_can_downscale_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), downscale);
+ }
+ }
+
+ private static efl_gfx_image_can_downscale_set_delegate efl_gfx_image_can_downscale_set_static_delegate;
+
private delegate double efl_gfx_image_ratio_get_delegate(System.IntPtr obj, System.IntPtr pd);
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>);
+ Eina.Iterator<Efl.Gfx.ImageStretchRegion> _out_horizontal = default(Eina.Iterator<Efl.Gfx.ImageStretchRegion>);
+ Eina.Iterator<Efl.Gfx.ImageStretchRegion> _out_vertical = default(Eina.Iterator<Efl.Gfx.ImageStretchRegion>);
try
{
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);
+ var _in_horizontal = new Eina.Iterator<Efl.Gfx.ImageStretchRegion>(horizontal, false);
+ var _in_vertical = new Eina.Iterator<Efl.Gfx.ImageStretchRegion>(vertical, false);
Eina.Error _ret_var = default(Eina.Error);
try
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasImageInternal_ExtensionMethods {
+ public static Efl.BindableProperty<bool> FilterChanged<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.ImageInternal, T>magic = null) where T : Efl.Canvas.ImageInternal {
+ return new Efl.BindableProperty<bool>("filter_changed", fac);
+ }
+
+ public static Efl.BindableProperty<bool> FilterInvalid<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.ImageInternal, T>magic = null) where T : Efl.Canvas.ImageInternal {
+ return new Efl.BindableProperty<bool>("filter_invalid", fac);
+ }
+
+
+ public static Efl.BindableProperty<Eina.Size2D> BufferSize<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.ImageInternal, T>magic = null) where T : Efl.Canvas.ImageInternal {
+ return new Efl.BindableProperty<Eina.Size2D>("buffer_size", fac);
+ }
+
+
+ public static Efl.BindableProperty<bool> Alpha<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.ImageInternal, T>magic = null) where T : Efl.Canvas.ImageInternal {
+ return new Efl.BindableProperty<bool>("alpha", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<bool> FillAuto<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.ImageInternal, T>magic = null) where T : Efl.Canvas.ImageInternal {
+ return new Efl.BindableProperty<bool>("fill_auto", fac);
+ }
+
+ public static Efl.BindableProperty<Eina.Rect> Fill<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.ImageInternal, T>magic = null) where T : Efl.Canvas.ImageInternal {
+ return new Efl.BindableProperty<Eina.Rect>("fill", fac);
+ }
+
+
+
+
+
+
+ public static Efl.BindableProperty<bool> SmoothScale<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.ImageInternal, T>magic = null) where T : Efl.Canvas.ImageInternal {
+ return new Efl.BindableProperty<bool>("smooth_scale", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Gfx.ImageScaleType> ScaleType<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.ImageInternal, T>magic = null) where T : Efl.Canvas.ImageInternal {
+ return new Efl.BindableProperty<Efl.Gfx.ImageScaleType>("scale_type", fac);
+ }
+
+ public static Efl.BindableProperty<bool> CanUpscale<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.ImageInternal, T>magic = null) where T : Efl.Canvas.ImageInternal {
+ return new Efl.BindableProperty<bool>("can_upscale", fac);
+ }
+
+ public static Efl.BindableProperty<bool> CanDownscale<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.ImageInternal, T>magic = null) where T : Efl.Canvas.ImageInternal {
+ return new Efl.BindableProperty<bool>("can_downscale", fac);
+ }
+
+
+
+
+ public static Efl.BindableProperty<double> BorderScale<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.ImageInternal, T>magic = null) where T : Efl.Canvas.ImageInternal {
+ return new Efl.BindableProperty<double>("border_scale", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Gfx.BorderFillMode> BorderCenterFill<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.ImageInternal, T>magic = null) where T : Efl.Canvas.ImageInternal {
+ return new Efl.BindableProperty<Efl.Gfx.BorderFillMode>("border_center_fill", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<Efl.Gfx.ImageContentHint> ContentHint<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.ImageInternal, T>magic = null) where T : Efl.Canvas.ImageInternal {
+ return new Efl.BindableProperty<Efl.Gfx.ImageContentHint>("content_hint", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Gfx.ImageScaleHint> ScaleHint<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.ImageInternal, T>magic = null) where T : Efl.Canvas.ImageInternal {
+ return new Efl.BindableProperty<Efl.Gfx.ImageScaleHint>("scale_hint", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.Gfx.ImageOrientation> ImageOrientation<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.ImageInternal, T>magic = null) where T : Efl.Canvas.ImageInternal {
+ return new Efl.BindableProperty<Efl.Gfx.ImageOrientation>("image_orientation", fac);
+ }
+
+ public static Efl.BindableProperty<Eina.Size2D> ViewSize<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.ImageInternal, T>magic = null) where T : Efl.Canvas.ImageInternal {
+ return new Efl.BindableProperty<Eina.Size2D>("view_size", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Canvas {
-///<summary>Event argument wrapper for event <see cref="Efl.Canvas.Layout.PartInvalidEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Emitted when trying to use an invalid part. The value passed is the part name.</value>
public System.String arg { get; set; }
}
/// <summary>Edje object class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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
+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, Efl.Ui.II18n
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Layout(ConstructingHandle ch) : base(ch)
{
}
/// <summary>Emitted when trying to use an invalid part. The value passed is the part name.</summary>
+ /// <value><see cref="Efl.Canvas.LayoutPartInvalidEvt_Args"/></value>
public event EventHandler<Efl.Canvas.LayoutPartInvalidEvt_Args> PartInvalidEvt
{
add
}
}
}
- ///<summary>Method to raise event PartInvalidEvt.</summary>
+ /// <summary>Method to raise event PartInvalidEvt.</summary>
public void OnPartInvalidEvt(Efl.Canvas.LayoutPartInvalidEvt_Args e)
{
var key = "_EFL_LAYOUT_EVENT_PART_INVALID";
}
/// <summary>Sent after a new sub-object was added.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContainerContentAddedEvt_Args"/></value>
public event EventHandler<Efl.IContainerContentAddedEvt_Args> ContentAddedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentAddedEvt.</summary>
+ /// <summary>Method to raise event ContentAddedEvt.</summary>
public void OnContentAddedEvt(Efl.IContainerContentAddedEvt_Args e)
{
var key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED";
}
/// <summary>Sent after a sub-object was removed, before unref.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContainerContentRemovedEvt_Args"/></value>
public event EventHandler<Efl.IContainerContentRemovedEvt_Args> ContentRemovedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentRemovedEvt.</summary>
+ /// <summary>Method to raise event ContentRemovedEvt.</summary>
public void OnContentRemovedEvt(Efl.IContainerContentRemovedEvt_Args e)
{
var key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED";
}
}
}
- ///<summary>Method to raise event RecalcEvt.</summary>
+ /// <summary>Method to raise event RecalcEvt.</summary>
public void OnRecalcEvt(EventArgs e)
{
var key = "_EFL_LAYOUT_EVENT_RECALC";
}
/// <summary>A circular dependency between parts of the object was found.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Layout.ICalcCircularDependencyEvt_Args"/></value>
public event EventHandler<Efl.Layout.ICalcCircularDependencyEvt_Args> CircularDependencyEvt
{
add
}
}
}
- ///<summary>Method to raise event CircularDependencyEvt.</summary>
+ /// <summary>Method to raise event CircularDependencyEvt.</summary>
public void OnCircularDependencyEvt(Efl.Layout.ICalcCircularDependencyEvt_Args e)
{
var key = "_EFL_LAYOUT_EVENT_CIRCULAR_DEPENDENCY";
/// <summary>Gets the object text min calculation policy.
/// Do not use this API without understanding whats going on. It is made for internal usage.
///
- /// @if MOBILE @since_tizen 3.0 @elseif WEARABLE @since_tizen 3.0 @endif @internal</summary>
+ /// if MOBILE since_tizen 3.0 elseif WEARABLE since_tizen 3.0 endif internal</summary>
/// <param name="part">The part name</param>
/// <param name="state_name">The state name</param>
/// <param name="min_x">The min width policy</param>
/// <summary>Sets the object text min calculation policy.
/// Do not use this API without understanding whats going on. It is made for internal usage.
///
- /// @if MOBILE @since_tizen 3.0 @elseif WEARABLE @since_tizen 3.0 @endif @internal</summary>
+ /// if MOBILE since_tizen 3.0 elseif WEARABLE since_tizen 3.0 endif internal</summary>
/// <param name="part">The part name</param>
/// <param name="state_name">The state name</param>
/// <param name="min_x">The min width policy</param>
return _ret_var;
}
/// <summary>Gets the valign for text.
- /// Do not use this API without understanding whats going on. It is made for internal usage. @internal</summary>
+ /// Do not use this API without understanding whats going on. It is made for internal usage. internal</summary>
/// <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) {
return _ret_var;
}
/// <summary>Sets the valign for text.
- /// Do not use this API without understanding whats going on. It is made for internal usage. @internal</summary>
+ /// Do not use this API without understanding whats going on. It is made for internal usage. internal</summary>
/// <param name="part">The part name</param>
/// <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>
return _ret_var;
}
/// <summary>Gets the duration for text's marquee.
- /// Do not use this API without understanding whats going on. It is made for internal usage. @internal</summary>
+ /// Do not use this API without understanding whats going on. It is made for internal usage. internal</summary>
/// <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) {
return _ret_var;
}
/// <summary>Sets the duration for text's marquee.
- /// Do not use this API without understanding whats going on. It is made for internal usage. @internal</summary>
+ /// Do not use this API without understanding whats going on. It is made for internal usage. internal</summary>
/// <param name="part">The part name</param>
/// <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>
return _ret_var;
}
/// <summary>Gets the speed for text's marquee.
- /// Do not use this API without understanding whats going on. It is made for internal usage. @internal</summary>
+ /// Do not use this API without understanding whats going on. It is made for internal usage. internal</summary>
/// <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) {
return _ret_var;
}
/// <summary>Sets the speed for text's marquee.
- /// Do not use this API without understanding whats going on. It is made for internal usage. @internal</summary>
+ /// Do not use this API without understanding whats going on. It is made for internal usage. internal</summary>
/// <param name="part">The part name</param>
/// <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>
return _ret_var;
}
/// <summary>Gets the always mode for text's marquee.
- /// Do not use this API without understanding whats going on. It is made for internal usage. @internal</summary>
+ /// Do not use this API without understanding whats going on. It is made for internal usage. internal</summary>
/// <param name="part">The part name</param>
/// <returns>The always mode</returns>
virtual public bool GetPartTextMarqueeAlways(System.String part) {
return _ret_var;
}
/// <summary>Sets the always mode for text's marquee.
- /// Do not use this API without understanding whats going on. It is made for internal usage. @internal</summary>
+ /// Do not use this API without understanding whats going on. It is made for internal usage. internal</summary>
/// <param name="part">The part name</param>
/// <param name="always">The always mode</param>
/// <returns><c>true</c>, on success or <c>false</c>, on error</returns>
return _ret_var;
}
/// <summary>Gets the valign for a common description.
- /// Do not use this API without understanding whats going on. It is made for internal usage. @internal</summary>
+ /// Do not use this API without understanding whats going on. It is made for internal usage. internal</summary>
/// <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) {
return _ret_var;
}
/// <summary>Sets the valign for a common description.
- /// Do not use this API without understanding whats going on. It is made for internal usage. @internal</summary>
+ /// Do not use this API without understanding whats going on. It is made for internal usage. internal</summary>
/// <param name="part">The part name</param>
/// <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>
return _ret_var;
}
/// <summary>Sets the parent object for color class.
- /// @if MOBILE @since_tizen 3.0 @elseif WEARABLE @since_tizen 3.0 @endif @internal</summary>
+ /// 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((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>
+ /// 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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get a position of the given cursor
- /// @internal</summary>
+ /// internal</summary>
/// <param name="part">The part name</param>
/// <param name="cur">cursor type</param>
/// <param name="x">w</param>
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get a size of the given cursor
- /// @internal</summary>
+ /// internal</summary>
/// <param name="part">The part name</param>
/// <param name="cur">cursor type</param>
/// <param name="w">w</param>
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.
- /// @internal @if MOBILE @since_tizen 3.0 @elseif WEARABLE @since_tizen 3.0 @endif</summary>
+ /// internal if MOBILE since_tizen 3.0 elseif WEARABLE since_tizen 3.0 endif</summary>
/// <param name="part">The part name</param>
/// <param name="x">Cursor X position</param>
/// <param name="y">Cursor Y position</param>
///
/// Though there are those common uses for the two strings, one is free to use them however they like.
///
- /// Signal callback registration is powerful, in the way that blobs may be used to match multiple signals at once. All the "*?[" set of <c>fnmatch</c>() operators can be used, both for emission and source.
+ /// Signal callback registration is powerful, in the way that blobs may be used to match multiple signals at once. All the "*?[" set of <c>fnmatch</c>() operators can be used, both for emission and source.
///
/// Edje has internal signals it will emit, automatically, on various actions taking place on group parts. For example, the mouse cursor being moved, pressed, released, etc., over a given part's area, all generate individual signals.
///
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 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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <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>
+ /// <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((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.
+ /// If enabled, the system or application configuration will be used to set the value of <see cref="Efl.Ui.II18n.Mirrored"/>.
+ ///
+ /// 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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Whether the property <see cref="Efl.Ui.II18n.Mirrored"/> should be set automatically.
+ /// If enabled, the system or application configuration will be used to set the value of <see cref="Efl.Ui.II18n.Mirrored"/>.
+ ///
+ /// 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((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((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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),language);
+ Eina.Error.RaiseIfUnhandledException();
+ }
/// <summary>Whether this object is animating or not.
/// This property indicates whether animations are stopped or not. Animations here refer to transitions between states.
///
public Eina.Size2D GroupSizeMax {
get { return GetGroupSizeMax(); }
}
+ /// <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>
+ /// <value><c>true</c> for RTL, <c>false</c> for LTR (default).</value>
+ public bool Mirrored {
+ get { return GetMirrored(); }
+ set { SetMirrored(value); }
+ }
+ /// <summary>Whether the property <see cref="Efl.Ui.II18n.Mirrored"/> should be set automatically.
+ /// If enabled, the system or application configuration will be used to set the value of <see cref="Efl.Ui.II18n.Mirrored"/>.
+ ///
+ /// 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>
+ /// <value>Whether the widget uses automatic mirroring</value>
+ public bool MirroredAutomatic {
+ get { return GetMirroredAutomatic(); }
+ set { SetMirroredAutomatic(value); }
+ }
+ /// <summary>The (human) language for this object.</summary>
+ /// <value>The current language.</value>
+ public System.String Language {
+ get { return GetLanguage(); }
+ set { SetLanguage(value); }
+ }
private static IntPtr GetEflClassStatic()
{
return Efl.Canvas.Layout.efl_canvas_layout_class_get();
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_layout_signal_process"), func = Marshal.GetFunctionPointerForDelegate(efl_layout_signal_process_static_delegate) });
}
+ if (efl_ui_mirrored_get_static_delegate == null)
+ {
+ efl_ui_mirrored_get_static_delegate = new efl_ui_mirrored_get_delegate(mirrored_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetMirrored") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_mirrored_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_mirrored_get_static_delegate) });
+ }
+
+ if (efl_ui_mirrored_set_static_delegate == null)
+ {
+ efl_ui_mirrored_set_static_delegate = new efl_ui_mirrored_set_delegate(mirrored_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetMirrored") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_mirrored_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_mirrored_set_static_delegate) });
+ }
+
+ if (efl_ui_mirrored_automatic_get_static_delegate == null)
+ {
+ efl_ui_mirrored_automatic_get_static_delegate = new efl_ui_mirrored_automatic_get_delegate(mirrored_automatic_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetMirroredAutomatic") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_mirrored_automatic_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_mirrored_automatic_get_static_delegate) });
+ }
+
+ if (efl_ui_mirrored_automatic_set_static_delegate == null)
+ {
+ efl_ui_mirrored_automatic_set_static_delegate = new efl_ui_mirrored_automatic_set_delegate(mirrored_automatic_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetMirroredAutomatic") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_mirrored_automatic_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_mirrored_automatic_set_static_delegate) });
+ }
+
+ if (efl_ui_language_get_static_delegate == null)
+ {
+ efl_ui_language_get_static_delegate = new efl_ui_language_get_delegate(language_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetLanguage") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_language_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_language_get_static_delegate) });
+ }
+
+ if (efl_ui_language_set_static_delegate == null)
+ {
+ efl_ui_language_set_static_delegate = new efl_ui_language_set_delegate(language_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetLanguage") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_language_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_language_set_static_delegate) });
+ }
+
descs.AddRange(base.GetEoOps(type));
return descs;
}
private static efl_layout_signal_process_delegate efl_layout_signal_process_static_delegate;
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_ui_mirrored_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_ui_mirrored_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_mirrored_get_api_delegate> efl_ui_mirrored_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_mirrored_get_api_delegate>(Module, "efl_ui_mirrored_get");
+
+ private static bool mirrored_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_mirrored_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((Layout)ws.Target).GetMirrored();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_mirrored_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_mirrored_get_delegate efl_ui_mirrored_get_static_delegate;
+
+
+ private delegate void efl_ui_mirrored_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool rtl);
+
+
+ public delegate void efl_ui_mirrored_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool rtl);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_mirrored_set_api_delegate> efl_ui_mirrored_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_mirrored_set_api_delegate>(Module, "efl_ui_mirrored_set");
+
+ private static void mirrored_set(System.IntPtr obj, System.IntPtr pd, bool rtl)
+ {
+ Eina.Log.Debug("function efl_ui_mirrored_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Layout)ws.Target).SetMirrored(rtl);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_mirrored_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), rtl);
+ }
+ }
+
+ private static efl_ui_mirrored_set_delegate efl_ui_mirrored_set_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_ui_mirrored_automatic_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_ui_mirrored_automatic_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_mirrored_automatic_get_api_delegate> efl_ui_mirrored_automatic_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_mirrored_automatic_get_api_delegate>(Module, "efl_ui_mirrored_automatic_get");
+
+ private static bool mirrored_automatic_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_mirrored_automatic_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((Layout)ws.Target).GetMirroredAutomatic();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_mirrored_automatic_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_mirrored_automatic_get_delegate efl_ui_mirrored_automatic_get_static_delegate;
+
+
+ private delegate void efl_ui_mirrored_automatic_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool automatic);
+
+
+ public delegate void efl_ui_mirrored_automatic_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool automatic);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_mirrored_automatic_set_api_delegate> efl_ui_mirrored_automatic_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_mirrored_automatic_set_api_delegate>(Module, "efl_ui_mirrored_automatic_set");
+
+ private static void mirrored_automatic_set(System.IntPtr obj, System.IntPtr pd, bool automatic)
+ {
+ Eina.Log.Debug("function efl_ui_mirrored_automatic_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Layout)ws.Target).SetMirroredAutomatic(automatic);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_mirrored_automatic_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), automatic);
+ }
+ }
+
+ private static efl_ui_mirrored_automatic_set_delegate efl_ui_mirrored_automatic_set_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
+ private delegate System.String efl_ui_language_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
+ public delegate System.String efl_ui_language_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_language_get_api_delegate> efl_ui_language_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_language_get_api_delegate>(Module, "efl_ui_language_get");
+
+ private static System.String language_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_language_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ System.String _ret_var = default(System.String);
+ try
+ {
+ _ret_var = ((Layout)ws.Target).GetLanguage();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_language_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_language_get_delegate efl_ui_language_get_static_delegate;
+
+
+ private delegate void efl_ui_language_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String language);
+
+
+ public delegate void efl_ui_language_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String language);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_language_set_api_delegate> efl_ui_language_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_language_set_api_delegate>(Module, "efl_ui_language_set");
+
+ private static void language_set(System.IntPtr obj, System.IntPtr pd, System.String language)
+ {
+ Eina.Log.Debug("function efl_ui_language_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Layout)ws.Target).SetLanguage(language);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_language_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), language);
+ }
+ }
+
+ private static efl_ui_language_set_delegate efl_ui_language_set_static_delegate;
+
#pragma warning restore CA1707, CS1591, SA1300, SA1600
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasLayout_ExtensionMethods {
+ public static Efl.BindableProperty<bool> Animation<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Layout, T>magic = null) where T : Efl.Canvas.Layout {
+ return new Efl.BindableProperty<bool>("animation", fac);
+ }
+
+
+
+
+
+
+
+
+
+
+ public static Efl.BindableProperty<Eina.File> Mmap<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Layout, T>magic = null) where T : Efl.Canvas.Layout {
+ return new Efl.BindableProperty<Eina.File>("mmap", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> File<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Layout, T>magic = null) where T : Efl.Canvas.Layout {
+ return new Efl.BindableProperty<System.String>("file", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> Key<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Layout, T>magic = null) where T : Efl.Canvas.Layout {
+ return new Efl.BindableProperty<System.String>("key", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<bool> Play<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Layout, T>magic = null) where T : Efl.Canvas.Layout {
+ return new Efl.BindableProperty<bool>("play", fac);
+ }
+
+ public static Efl.BindableProperty<double> Pos<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Layout, T>magic = null) where T : Efl.Canvas.Layout {
+ return new Efl.BindableProperty<double>("pos", fac);
+ }
+
+
+ public static Efl.BindableProperty<double> PlaySpeed<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Layout, T>magic = null) where T : Efl.Canvas.Layout {
+ return new Efl.BindableProperty<double>("play_speed", fac);
+ }
+
+ public static Efl.BindableProperty<double> Volume<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Layout, T>magic = null) where T : Efl.Canvas.Layout {
+ return new Efl.BindableProperty<double>("volume", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Mute<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Layout, T>magic = null) where T : Efl.Canvas.Layout {
+ return new Efl.BindableProperty<bool>("mute", fac);
+ }
+
+
+
+
+
+
+
+
+ public static Efl.BindableProperty<bool> CalcAutoUpdateHints<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Layout, T>magic = null) where T : Efl.Canvas.Layout {
+ return new Efl.BindableProperty<bool>("calc_auto_update_hints", fac);
+ }
+
+
+
+
+
+ public static Efl.BindableProperty<bool> Mirrored<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Layout, T>magic = null) where T : Efl.Canvas.Layout {
+ return new Efl.BindableProperty<bool>("mirrored", fac);
+ }
+
+ public static Efl.BindableProperty<bool> MirroredAutomatic<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Layout, T>magic = null) where T : Efl.Canvas.Layout {
+ return new Efl.BindableProperty<bool>("mirrored_automatic", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> Language<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Layout, T>magic = null) where T : Efl.Canvas.Layout {
+ return new Efl.BindableProperty<System.String>("language", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected LayoutPart(ConstructingHandle ch) : base(ch)
{
/// <summary>Object's visibility state changed, the event value is the new state.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Gfx.IEntityVisibilityChangedEvt_Args"/></value>
public event EventHandler<Efl.Gfx.IEntityVisibilityChangedEvt_Args> VisibilityChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event VisibilityChangedEvt.</summary>
+ /// <summary>Method to raise event VisibilityChangedEvt.</summary>
public void OnVisibilityChangedEvt(Efl.Gfx.IEntityVisibilityChangedEvt_Args e)
{
var key = "_EFL_GFX_ENTITY_EVENT_VISIBILITY_CHANGED";
}
/// <summary>Object was moved, its position during the event is the new one.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Gfx.IEntityPositionChangedEvt_Args"/></value>
public event EventHandler<Efl.Gfx.IEntityPositionChangedEvt_Args> PositionChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event PositionChangedEvt.</summary>
+ /// <summary>Method to raise event PositionChangedEvt.</summary>
public void OnPositionChangedEvt(Efl.Gfx.IEntityPositionChangedEvt_Args e)
{
var key = "_EFL_GFX_ENTITY_EVENT_POSITION_CHANGED";
}
/// <summary>Object was resized, its size during the event is the new one.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Gfx.IEntitySizeChangedEvt_Args"/></value>
public event EventHandler<Efl.Gfx.IEntitySizeChangedEvt_Args> SizeChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event SizeChangedEvt.</summary>
+ /// <summary>Method to raise event SizeChangedEvt.</summary>
public void OnSizeChangedEvt(Efl.Gfx.IEntitySizeChangedEvt_Args e)
{
var key = "_EFL_GFX_ENTITY_EVENT_SIZE_CHANGED";
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
+ /// <summary>The name and value of the current state of this part (read-only).
+ /// This is the state name as it appears in EDC description blocks. A state has both a name and a value (double). The default state is "default" 0.0, but this function will return "" if the part is invalid.</summary>
+ public (System.String, double) State {
+ get {
+ System.String _out_state = default(System.String);
+ double _out_val = default(double);
+ GetState(out _out_state,out _out_val);
+ return (_out_state,_out_val);
+ }
+ }
/// <summary>Type of this part in the layout.</summary>
/// <value>One of the types or <c>none</c> if not an existing part.</value>
public Efl.Canvas.LayoutPartType PartType {
get { return GetScale(); }
set { SetScale(value); }
}
+ /// <summary>The draggable object relative location.
+ /// Some parts in Edje can be dragged along the X/Y axes, if the part contains a "draggable" section (in EDC). For instance, scroll bars can be draggable objects.
+ ///
+ /// <c>dx</c> and <c>dy</c> are real numbers that range from 0 to 1, representing the relative position to the draggable area on that axis.
+ ///
+ /// This value means, for the vertical axis, that 0.0 will be at the top if the first parameter of <c>y</c> in the draggable part theme is 1 and at the bottom if it is -1.
+ ///
+ /// For the horizontal axis, 0.0 means left if the first parameter of <c>x</c> in the draggable part theme is 1, and right if it is -1.</summary>
+ /// <value>The x relative position, from 0 to 1.</value>
+ public (double, double) DragValue {
+ get {
+ double _out_dx = default(double);
+ double _out_dy = default(double);
+ GetDragValue(out _out_dx,out _out_dy);
+ return (_out_dx,_out_dy);
+ }
+ set { SetDragValue( value.Item1, value.Item2); }
+ }
+ /// <summary>The draggable object relative size.
+ /// Values for <c>dw</c> and <c>dh</c> are real numbers that range from 0 to 1, representing the relative size of the draggable area on that axis.
+ ///
+ /// For instance a scroll bar handle size may depend on the size of the scroller's content.</summary>
+ /// <value>The drag relative width, from 0 to 1.</value>
+ public (double, double) DragSize {
+ get {
+ double _out_dw = default(double);
+ double _out_dh = default(double);
+ GetDragSize(out _out_dw,out _out_dh);
+ return (_out_dw,_out_dh);
+ }
+ set { SetDragSize( value.Item1, value.Item2); }
+ }
/// <summary>Determines the draggable directions (read-only).
/// The draggable directions are defined in the EDC file, inside the "draggable" section, by the attributes <c>x</c> and <c>y</c>. See the EDC reference documentation for more information.</summary>
/// <value>The direction(s) premitted for drag.</value>
public Efl.Ui.DragDir DragDir {
get { return GetDragDir(); }
}
+ /// <summary>The drag step increment.
+ /// Values for <c>dx</c> and <c>dy</c> are real numbers that range from 0 to 1, representing the relative size of the draggable area on that axis by which the part will be moved.
+ ///
+ /// This differs from <see cref="Efl.Ui.IDrag.GetDragPage"/> in that this is meant to represent a unit increment, like a single line for example.
+ ///
+ /// See also <see cref="Efl.Ui.IDrag.GetDragPage"/>.</summary>
+ /// <value>The x step relative amount, from 0 to 1.</value>
+ public (double, double) DragStep {
+ get {
+ double _out_dx = default(double);
+ double _out_dy = default(double);
+ GetDragStep(out _out_dx,out _out_dy);
+ return (_out_dx,_out_dy);
+ }
+ set { SetDragStep( value.Item1, value.Item2); }
+ }
+ /// <summary>The page step increments.
+ /// Values for <c>dx</c> and <c>dy</c> are real numbers that range from 0 to 1, representing the relative size of the draggable area on that axis by which the part will be moved.
+ ///
+ /// This differs from <see cref="Efl.Ui.IDrag.GetDragStep"/> in that this is meant to be a larger step size, basically an entire page as opposed to a single or couple of lines.
+ ///
+ /// See also <see cref="Efl.Ui.IDrag.GetDragStep"/>.</summary>
+ /// <value>The x page step increment</value>
+ public (double, double) DragPage {
+ get {
+ double _out_dx = default(double);
+ double _out_dy = default(double);
+ GetDragPage(out _out_dx,out _out_dy);
+ return (_out_dx,_out_dy);
+ }
+ set { SetDragPage( value.Item1, value.Item2); }
+ }
private static IntPtr GetEflClassStatic()
{
return Efl.Canvas.LayoutPart.efl_canvas_layout_part_class_get();
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasLayoutPart_ExtensionMethods {
+
+
+ public static Efl.BindableProperty<Eina.Position2D> Position<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.LayoutPart, T>magic = null) where T : Efl.Canvas.LayoutPart {
+ return new Efl.BindableProperty<Eina.Position2D>("position", fac);
+ }
+
+ public static Efl.BindableProperty<Eina.Size2D> Size<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.LayoutPart, T>magic = null) where T : Efl.Canvas.LayoutPart {
+ return new Efl.BindableProperty<Eina.Size2D>("size", fac);
+ }
+
+ public static Efl.BindableProperty<Eina.Rect> Geometry<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.LayoutPart, T>magic = null) where T : Efl.Canvas.LayoutPart {
+ return new Efl.BindableProperty<Eina.Rect>("geometry", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Visible<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.LayoutPart, T>magic = null) where T : Efl.Canvas.LayoutPart {
+ return new Efl.BindableProperty<bool>("visible", fac);
+ }
+
+ public static Efl.BindableProperty<double> Scale<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.LayoutPart, T>magic = null) where T : Efl.Canvas.LayoutPart {
+ return new Efl.BindableProperty<double>("scale", fac);
+ }
+
+
+
+
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected LayoutPartBox(ConstructingHandle ch) : base(ch)
{
/// <summary>Sent after a new sub-object was added.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContainerContentAddedEvt_Args"/></value>
public event EventHandler<Efl.IContainerContentAddedEvt_Args> ContentAddedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentAddedEvt.</summary>
+ /// <summary>Method to raise event ContentAddedEvt.</summary>
public void OnContentAddedEvt(Efl.IContainerContentAddedEvt_Args e)
{
var key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED";
}
/// <summary>Sent after a sub-object was removed, before unref.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContainerContentRemovedEvt_Args"/></value>
public event EventHandler<Efl.IContainerContentRemovedEvt_Args> ContentRemovedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentRemovedEvt.</summary>
+ /// <summary>Method to raise event ContentRemovedEvt.</summary>
public void OnContentRemovedEvt(Efl.IContainerContentRemovedEvt_Args e)
{
var key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED";
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasLayoutPartBox_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Ui.LayoutOrientation> Orientation<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.LayoutPartBox, T>magic = null) where T : Efl.Canvas.LayoutPartBox {
+ return new Efl.BindableProperty<Efl.Ui.LayoutOrientation>("orientation", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// Common usage in pseudo-C would be as follows: Eo *widget = efl_content_get(efl_part(layout, "extpartname")); efl_text_set(widget, "hello");
///
/// 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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Canvas.LayoutPartExternal.NativeMethods]
[Efl.Eo.BindingEntity]
public class LayoutPartExternal : Efl.Canvas.LayoutPart, Efl.IContent
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected LayoutPartExternal(ConstructingHandle ch) : base(ch)
{
/// <summary>Sent after the content is set or unset using the current content object.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContentContentChangedEvt_Args"/></value>
public event EventHandler<Efl.IContentContentChangedEvt_Args> ContentChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentChangedEvt.</summary>
+ /// <summary>Method to raise event ContentChangedEvt.</summary>
public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e)
{
var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasLayoutPartExternal_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Gfx.IEntity> Content<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.LayoutPartExternal, T>magic = null) where T : Efl.Canvas.LayoutPartExternal {
+ return new Efl.BindableProperty<Efl.Gfx.IEntity>("content", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected LayoutPartInvalid(ConstructingHandle ch) : base(ch)
{
/// <summary>Sent after a new sub-object was added.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContainerContentAddedEvt_Args"/></value>
public event EventHandler<Efl.IContainerContentAddedEvt_Args> ContentAddedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentAddedEvt.</summary>
+ /// <summary>Method to raise event ContentAddedEvt.</summary>
public void OnContentAddedEvt(Efl.IContainerContentAddedEvt_Args e)
{
var key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED";
}
/// <summary>Sent after a sub-object was removed, before unref.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContainerContentRemovedEvt_Args"/></value>
public event EventHandler<Efl.IContainerContentRemovedEvt_Args> ContentRemovedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentRemovedEvt.</summary>
+ /// <summary>Method to raise event ContentRemovedEvt.</summary>
public void OnContentRemovedEvt(Efl.IContainerContentRemovedEvt_Args e)
{
var key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED";
}
/// <summary>Sent after the content is set or unset using the current content object.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContentContentChangedEvt_Args"/></value>
public event EventHandler<Efl.IContentContentChangedEvt_Args> ContentChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentChangedEvt.</summary>
+ /// <summary>Method to raise event ContentChangedEvt.</summary>
public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e)
{
var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
- /// <summary>Position and span of the <c>subobj</c> in this container, may be modified to move the <c>subobj</c></summary>
+ /// <summary>column of the <c>subobj</c> in this container.</summary>
/// <param name="subobj">Child object</param>
/// <param name="col">Column number</param>
- /// <param name="row">Row number</param>
/// <param name="colspan">Column span</param>
+ /// <returns>Returns false if item is not a child</returns>
+ virtual public bool GetTableCellColumn(Efl.Gfx.IEntity subobj, out int col, out int colspan) {
+ var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_cell_column_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, out col, out colspan);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>column of the <c>subobj</c> in this container.</summary>
+ /// <param name="subobj">Child object</param>
+ /// <param name="col">Column number</param>
+ /// <param name="colspan">Column span</param>
+ virtual public void SetTableCellColumn(Efl.Gfx.IEntity subobj, int col, int colspan) {
+ Efl.IPackTableConcrete.NativeMethods.efl_pack_table_cell_column_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, col, colspan);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>row of the <c>subobj</c> in this container.</summary>
+ /// <param name="subobj">Child object</param>
+ /// <param name="row">Row number</param>
/// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, out col, out row, out colspan, out rowspan);
+ virtual public bool GetTableCellRow(Efl.Gfx.IEntity subobj, out int row, out int rowspan) {
+ var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_cell_row_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, out row, out rowspan);
Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
+ return _ret_var;
}
+ /// <summary>row of the <c>subobj</c> in this container.</summary>
+ /// <param name="subobj">Child object</param>
+ /// <param name="row">Row number</param>
+ /// <param name="rowspan">Row span</param>
+ virtual public void SetTableCellRow(Efl.Gfx.IEntity subobj, int row, int rowspan) {
+ Efl.IPackTableConcrete.NativeMethods.efl_pack_table_cell_row_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, row, rowspan);
+ 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>
get { return GetContent(); }
set { SetContent(value); }
}
+ /// <summary>Combines <see cref="Efl.IPackTable.TableColumns"/> and <see cref="Efl.IPackTable.TableRows"/></summary>
+ /// <value>Number of columns</value>
+ public (int, int) TableSize {
+ get {
+ int _out_cols = default(int);
+ int _out_rows = default(int);
+ GetTableSize(out _out_cols,out _out_rows);
+ return (_out_cols,_out_rows);
+ }
+ set { SetTableSize( value.Item1, value.Item2); }
+ }
/// <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>
/// <value>Amount of columns.</value>
public int TableColumns {
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) });
}
- if (efl_pack_table_position_get_static_delegate == null)
+ if (efl_pack_table_cell_column_get_static_delegate == null)
+ {
+ efl_pack_table_cell_column_get_static_delegate = new efl_pack_table_cell_column_get_delegate(table_cell_column_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetTableCellColumn") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_cell_column_get"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_cell_column_get_static_delegate) });
+ }
+
+ if (efl_pack_table_cell_column_set_static_delegate == null)
{
- efl_pack_table_position_get_static_delegate = new efl_pack_table_position_get_delegate(table_position_get);
+ efl_pack_table_cell_column_set_static_delegate = new efl_pack_table_cell_column_set_delegate(table_cell_column_set);
}
- if (methods.FirstOrDefault(m => m.Name == "GetTablePosition") != null)
+ if (methods.FirstOrDefault(m => m.Name == "SetTableCellColumn") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_position_get"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_position_get_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_cell_column_set"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_cell_column_set_static_delegate) });
+ }
+
+ if (efl_pack_table_cell_row_get_static_delegate == null)
+ {
+ efl_pack_table_cell_row_get_static_delegate = new efl_pack_table_cell_row_get_delegate(table_cell_row_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetTableCellRow") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_cell_row_get"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_cell_row_get_static_delegate) });
+ }
+
+ if (efl_pack_table_cell_row_set_static_delegate == null)
+ {
+ efl_pack_table_cell_row_set_static_delegate = new efl_pack_table_cell_row_set_delegate(table_cell_row_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetTableCellRow") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_cell_row_set"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_cell_row_set_static_delegate) });
}
if (efl_pack_table_size_get_static_delegate == null)
private static efl_pack_unpack_at_delegate efl_pack_unpack_at_static_delegate;
[return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_pack_table_position_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, out int col, out int row, out int colspan, out int rowspan);
+ private delegate bool efl_pack_table_cell_column_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, out int col, out int colspan);
[return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_pack_table_position_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, out int col, out int row, out int colspan, out int rowspan);
+ public delegate bool efl_pack_table_cell_column_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, out int col, out int colspan);
- public static Efl.Eo.FunctionWrapper<efl_pack_table_position_get_api_delegate> efl_pack_table_position_get_ptr = new Efl.Eo.FunctionWrapper<efl_pack_table_position_get_api_delegate>(Module, "efl_pack_table_position_get");
+ public static Efl.Eo.FunctionWrapper<efl_pack_table_cell_column_get_api_delegate> efl_pack_table_cell_column_get_ptr = new Efl.Eo.FunctionWrapper<efl_pack_table_cell_column_get_api_delegate>(Module, "efl_pack_table_cell_column_get");
- private static bool table_position_get(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, out int col, out int row, out int colspan, out int rowspan)
+ private static bool table_cell_column_get(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, out int col, out int colspan)
{
- Eina.Log.Debug("function efl_pack_table_position_get was called");
+ Eina.Log.Debug("function efl_pack_table_cell_column_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- col = default(int); row = default(int); colspan = default(int); rowspan = default(int); bool _ret_var = default(bool);
+ col = default(int); colspan = default(int); bool _ret_var = default(bool);
try
{
- _ret_var = ((LayoutPartInvalid)ws.Target).GetTablePosition(subobj, out col, out row, out colspan, out rowspan);
+ _ret_var = ((LayoutPartInvalid)ws.Target).GetTableCellColumn(subobj, out col, out colspan);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
- return _ret_var;
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_pack_table_cell_column_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, out col, out colspan);
+ }
+ }
+
+ private static efl_pack_table_cell_column_get_delegate efl_pack_table_cell_column_get_static_delegate;
+
+
+ private delegate void efl_pack_table_cell_column_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, int col, int colspan);
+
+
+ public delegate void efl_pack_table_cell_column_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, int col, int colspan);
+
+ public static Efl.Eo.FunctionWrapper<efl_pack_table_cell_column_set_api_delegate> efl_pack_table_cell_column_set_ptr = new Efl.Eo.FunctionWrapper<efl_pack_table_cell_column_set_api_delegate>(Module, "efl_pack_table_cell_column_set");
+
+ private static void table_cell_column_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, int col, int colspan)
+ {
+ Eina.Log.Debug("function efl_pack_table_cell_column_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((LayoutPartInvalid)ws.Target).SetTableCellColumn(subobj, col, colspan);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_pack_table_cell_column_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, col, colspan);
+ }
+ }
+
+ private static efl_pack_table_cell_column_set_delegate efl_pack_table_cell_column_set_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_pack_table_cell_row_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, out int row, out int rowspan);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_pack_table_cell_row_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, out int row, out int rowspan);
+
+ public static Efl.Eo.FunctionWrapper<efl_pack_table_cell_row_get_api_delegate> efl_pack_table_cell_row_get_ptr = new Efl.Eo.FunctionWrapper<efl_pack_table_cell_row_get_api_delegate>(Module, "efl_pack_table_cell_row_get");
+
+ private static bool table_cell_row_get(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, out int row, out int rowspan)
+ {
+ Eina.Log.Debug("function efl_pack_table_cell_row_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ row = default(int); rowspan = default(int); bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((LayoutPartInvalid)ws.Target).GetTableCellRow(subobj, out row, out rowspan);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
}
else
{
- return efl_pack_table_position_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, out col, out row, out colspan, out rowspan);
+ return efl_pack_table_cell_row_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, out row, out rowspan);
}
}
- private static efl_pack_table_position_get_delegate efl_pack_table_position_get_static_delegate;
+ private static efl_pack_table_cell_row_get_delegate efl_pack_table_cell_row_get_static_delegate;
+
+
+ private delegate void efl_pack_table_cell_row_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, int row, int rowspan);
+
+
+ public delegate void efl_pack_table_cell_row_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, int row, int rowspan);
+
+ public static Efl.Eo.FunctionWrapper<efl_pack_table_cell_row_set_api_delegate> efl_pack_table_cell_row_set_ptr = new Efl.Eo.FunctionWrapper<efl_pack_table_cell_row_set_api_delegate>(Module, "efl_pack_table_cell_row_set");
+
+ private static void table_cell_row_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, int row, int rowspan)
+ {
+ Eina.Log.Debug("function efl_pack_table_cell_row_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((LayoutPartInvalid)ws.Target).SetTableCellRow(subobj, row, rowspan);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_pack_table_cell_row_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, row, rowspan);
+ }
+ }
+
+ private static efl_pack_table_cell_row_set_delegate efl_pack_table_cell_row_set_static_delegate;
private delegate void efl_pack_table_size_get_delegate(System.IntPtr obj, System.IntPtr pd, out int cols, out int rows);
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasLayoutPartInvalid_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Gfx.IEntity> Content<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.LayoutPartInvalid, T>magic = null) where T : Efl.Canvas.LayoutPartInvalid {
+ return new Efl.BindableProperty<Efl.Gfx.IEntity>("content", fac);
+ }
+
+
+
+
+ public static Efl.BindableProperty<int> TableColumns<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.LayoutPartInvalid, T>magic = null) where T : Efl.Canvas.LayoutPartInvalid {
+ return new Efl.BindableProperty<int>("table_columns", fac);
+ }
+
+ public static Efl.BindableProperty<int> TableRows<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.LayoutPartInvalid, T>magic = null) where T : Efl.Canvas.LayoutPartInvalid {
+ return new Efl.BindableProperty<int>("table_rows", fac);
+ }
+
+
+
+
+
+
+ public static Efl.BindableProperty<System.String> Markup<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.LayoutPartInvalid, T>magic = null) where T : Efl.Canvas.LayoutPartInvalid {
+ return new Efl.BindableProperty<System.String>("markup", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.Ui.LayoutOrientation> Orientation<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.LayoutPartInvalid, T>magic = null) where T : Efl.Canvas.LayoutPartInvalid {
+ return new Efl.BindableProperty<Efl.Ui.LayoutOrientation>("orientation", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Canvas.LayoutPartSwallow.NativeMethods]
[Efl.Eo.BindingEntity]
public class LayoutPartSwallow : Efl.Canvas.LayoutPart, Efl.IContent
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected LayoutPartSwallow(ConstructingHandle ch) : base(ch)
{
/// <summary>Sent after the content is set or unset using the current content object.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContentContentChangedEvt_Args"/></value>
public event EventHandler<Efl.IContentContentChangedEvt_Args> ContentChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentChangedEvt.</summary>
+ /// <summary>Method to raise event ContentChangedEvt.</summary>
public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e)
{
var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasLayoutPartSwallow_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Gfx.IEntity> Content<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.LayoutPartSwallow, T>magic = null) where T : Efl.Canvas.LayoutPartSwallow {
+ return new Efl.BindableProperty<Efl.Gfx.IEntity>("content", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected LayoutPartTable(ConstructingHandle ch) : base(ch)
{
/// <summary>Sent after a new sub-object was added.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContainerContentAddedEvt_Args"/></value>
public event EventHandler<Efl.IContainerContentAddedEvt_Args> ContentAddedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentAddedEvt.</summary>
+ /// <summary>Method to raise event ContentAddedEvt.</summary>
public void OnContentAddedEvt(Efl.IContainerContentAddedEvt_Args e)
{
var key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED";
}
/// <summary>Sent after a sub-object was removed, before unref.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContainerContentRemovedEvt_Args"/></value>
public event EventHandler<Efl.IContainerContentRemovedEvt_Args> ContentRemovedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentRemovedEvt.</summary>
+ /// <summary>Method to raise event ContentRemovedEvt.</summary>
public void OnContentRemovedEvt(Efl.IContainerContentRemovedEvt_Args e)
{
var key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED";
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
- /// <summary>Position and span of the <c>subobj</c> in this container, may be modified to move the <c>subobj</c></summary>
+ /// <summary>column of the <c>subobj</c> in this container.</summary>
+ /// <param name="subobj">Child object</param>
+ /// <param name="col">Column number</param>
+ /// <param name="colspan">Column span</param>
+ /// <returns>Returns false if item is not a child</returns>
+ virtual public bool GetTableCellColumn(Efl.Gfx.IEntity subobj, out int col, out int colspan) {
+ var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_cell_column_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, out col, out colspan);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>column of the <c>subobj</c> in this container.</summary>
/// <param name="subobj">Child object</param>
/// <param name="col">Column number</param>
- /// <param name="row">Row number</param>
/// <param name="colspan">Column span</param>
+ virtual public void SetTableCellColumn(Efl.Gfx.IEntity subobj, int col, int colspan) {
+ Efl.IPackTableConcrete.NativeMethods.efl_pack_table_cell_column_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, col, colspan);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>row of the <c>subobj</c> in this container.</summary>
+ /// <param name="subobj">Child object</param>
+ /// <param name="row">Row number</param>
/// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, out col, out row, out colspan, out rowspan);
+ virtual public bool GetTableCellRow(Efl.Gfx.IEntity subobj, out int row, out int rowspan) {
+ var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_cell_row_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, out row, out rowspan);
Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
+ return _ret_var;
}
+ /// <summary>row of the <c>subobj</c> in this container.</summary>
+ /// <param name="subobj">Child object</param>
+ /// <param name="row">Row number</param>
+ /// <param name="rowspan">Row span</param>
+ virtual public void SetTableCellRow(Efl.Gfx.IEntity subobj, int row, int rowspan) {
+ Efl.IPackTableConcrete.NativeMethods.efl_pack_table_cell_row_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, row, rowspan);
+ 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>
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
+ /// <summary>Combines <see cref="Efl.IPackTable.TableColumns"/> and <see cref="Efl.IPackTable.TableRows"/></summary>
+ /// <value>Number of columns</value>
+ public (int, int) TableSize {
+ get {
+ int _out_cols = default(int);
+ int _out_rows = default(int);
+ GetTableSize(out _out_cols,out _out_rows);
+ return (_out_cols,_out_rows);
+ }
+ set { SetTableSize( value.Item1, value.Item2); }
+ }
/// <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>
/// <value>Amount of columns.</value>
public int TableColumns {
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_table_position_get_static_delegate == null)
+ if (efl_pack_table_cell_column_get_static_delegate == null)
+ {
+ efl_pack_table_cell_column_get_static_delegate = new efl_pack_table_cell_column_get_delegate(table_cell_column_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetTableCellColumn") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_cell_column_get"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_cell_column_get_static_delegate) });
+ }
+
+ if (efl_pack_table_cell_column_set_static_delegate == null)
+ {
+ efl_pack_table_cell_column_set_static_delegate = new efl_pack_table_cell_column_set_delegate(table_cell_column_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetTableCellColumn") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_cell_column_set"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_cell_column_set_static_delegate) });
+ }
+
+ if (efl_pack_table_cell_row_get_static_delegate == null)
{
- efl_pack_table_position_get_static_delegate = new efl_pack_table_position_get_delegate(table_position_get);
+ efl_pack_table_cell_row_get_static_delegate = new efl_pack_table_cell_row_get_delegate(table_cell_row_get);
}
- if (methods.FirstOrDefault(m => m.Name == "GetTablePosition") != null)
+ if (methods.FirstOrDefault(m => m.Name == "GetTableCellRow") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_position_get"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_position_get_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_cell_row_get"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_cell_row_get_static_delegate) });
+ }
+
+ if (efl_pack_table_cell_row_set_static_delegate == null)
+ {
+ efl_pack_table_cell_row_set_static_delegate = new efl_pack_table_cell_row_set_delegate(table_cell_row_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetTableCellRow") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_cell_row_set"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_cell_row_set_static_delegate) });
}
if (efl_pack_table_size_get_static_delegate == null)
private static efl_pack_delegate efl_pack_static_delegate;
[return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_pack_table_position_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, out int col, out int row, out int colspan, out int rowspan);
+ private delegate bool efl_pack_table_cell_column_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, out int col, out int colspan);
[return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_pack_table_position_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, out int col, out int row, out int colspan, out int rowspan);
+ public delegate bool efl_pack_table_cell_column_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, out int col, out int colspan);
- public static Efl.Eo.FunctionWrapper<efl_pack_table_position_get_api_delegate> efl_pack_table_position_get_ptr = new Efl.Eo.FunctionWrapper<efl_pack_table_position_get_api_delegate>(Module, "efl_pack_table_position_get");
+ public static Efl.Eo.FunctionWrapper<efl_pack_table_cell_column_get_api_delegate> efl_pack_table_cell_column_get_ptr = new Efl.Eo.FunctionWrapper<efl_pack_table_cell_column_get_api_delegate>(Module, "efl_pack_table_cell_column_get");
- private static bool table_position_get(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, out int col, out int row, out int colspan, out int rowspan)
+ private static bool table_cell_column_get(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, out int col, out int colspan)
{
- Eina.Log.Debug("function efl_pack_table_position_get was called");
+ Eina.Log.Debug("function efl_pack_table_cell_column_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- col = default(int); row = default(int); colspan = default(int); rowspan = default(int); bool _ret_var = default(bool);
+ col = default(int); colspan = default(int); bool _ret_var = default(bool);
try
{
- _ret_var = ((LayoutPartTable)ws.Target).GetTablePosition(subobj, out col, out row, out colspan, out rowspan);
+ _ret_var = ((LayoutPartTable)ws.Target).GetTableCellColumn(subobj, out col, out colspan);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
- return _ret_var;
+ return _ret_var;
}
else
{
- return efl_pack_table_position_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, out col, out row, out colspan, out rowspan);
+ return efl_pack_table_cell_column_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, out col, out colspan);
}
}
- private static efl_pack_table_position_get_delegate efl_pack_table_position_get_static_delegate;
+ private static efl_pack_table_cell_column_get_delegate efl_pack_table_cell_column_get_static_delegate;
+
+
+ private delegate void efl_pack_table_cell_column_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, int col, int colspan);
+
+
+ public delegate void efl_pack_table_cell_column_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, int col, int colspan);
+
+ public static Efl.Eo.FunctionWrapper<efl_pack_table_cell_column_set_api_delegate> efl_pack_table_cell_column_set_ptr = new Efl.Eo.FunctionWrapper<efl_pack_table_cell_column_set_api_delegate>(Module, "efl_pack_table_cell_column_set");
+
+ private static void table_cell_column_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, int col, int colspan)
+ {
+ Eina.Log.Debug("function efl_pack_table_cell_column_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((LayoutPartTable)ws.Target).SetTableCellColumn(subobj, col, colspan);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_pack_table_cell_column_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, col, colspan);
+ }
+ }
+
+ private static efl_pack_table_cell_column_set_delegate efl_pack_table_cell_column_set_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_pack_table_cell_row_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, out int row, out int rowspan);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_pack_table_cell_row_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, out int row, out int rowspan);
+
+ public static Efl.Eo.FunctionWrapper<efl_pack_table_cell_row_get_api_delegate> efl_pack_table_cell_row_get_ptr = new Efl.Eo.FunctionWrapper<efl_pack_table_cell_row_get_api_delegate>(Module, "efl_pack_table_cell_row_get");
+
+ private static bool table_cell_row_get(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, out int row, out int rowspan)
+ {
+ Eina.Log.Debug("function efl_pack_table_cell_row_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ row = default(int); rowspan = default(int); bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((LayoutPartTable)ws.Target).GetTableCellRow(subobj, out row, out rowspan);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_pack_table_cell_row_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, out row, out rowspan);
+ }
+ }
+
+ private static efl_pack_table_cell_row_get_delegate efl_pack_table_cell_row_get_static_delegate;
+
+
+ private delegate void efl_pack_table_cell_row_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, int row, int rowspan);
+
+
+ public delegate void efl_pack_table_cell_row_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, int row, int rowspan);
+
+ public static Efl.Eo.FunctionWrapper<efl_pack_table_cell_row_set_api_delegate> efl_pack_table_cell_row_set_ptr = new Efl.Eo.FunctionWrapper<efl_pack_table_cell_row_set_api_delegate>(Module, "efl_pack_table_cell_row_set");
+
+ private static void table_cell_row_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, int row, int rowspan)
+ {
+ Eina.Log.Debug("function efl_pack_table_cell_row_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((LayoutPartTable)ws.Target).SetTableCellRow(subobj, row, rowspan);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_pack_table_cell_row_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, row, rowspan);
+ }
+ }
+
+ private static efl_pack_table_cell_row_set_delegate efl_pack_table_cell_row_set_static_delegate;
private delegate void efl_pack_table_size_get_delegate(System.IntPtr obj, System.IntPtr pd, out int cols, out int rows);
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasLayoutPartTable_ExtensionMethods {
+
+
+
+ public static Efl.BindableProperty<int> TableColumns<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.LayoutPartTable, T>magic = null) where T : Efl.Canvas.LayoutPartTable {
+ return new Efl.BindableProperty<int>("table_columns", fac);
+ }
+
+ public static Efl.BindableProperty<int> TableRows<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.LayoutPartTable, T>magic = null) where T : Efl.Canvas.LayoutPartTable {
+ return new Efl.BindableProperty<int>("table_rows", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected LayoutPartText(ConstructingHandle ch) : base(ch)
{
/// <summary>Set the font family, filename and size for a given text object.
/// This function allows the font name and size of a text object to be set. The font string has to follow fontconfig's convention for naming fonts, as it's the underlying library used to query system fonts by Evas (see the fc-list command's output, on your system, to get an idea). Alternatively, youe can use the full path to a font file.
///
+ /// To skip changing font family pass null as font family. To skip changing font size pass 0 as font size.
+ ///
/// See also <see cref="Efl.ITextFont.GetFont"/>, <see cref="Efl.ITextFont.GetFontSource"/>.</summary>
/// <param name="font">The font family name or filename.</param>
/// <param name="size">The font size, in points.</param>
get { return GetTextExpand(); }
set { SetTextExpand(value); }
}
+ /// <summary>Retrieve the font family and size in use on a given text object.
+ /// This function allows the font name and size of a text object to be queried. Remember that the font name string is still owned by Evas and should not have free() called on it by the caller of the function.
+ ///
+ /// See also <see cref="Efl.ITextFont.GetFont"/>.</summary>
+ /// <value>The font family name or filename.</value>
+ public (System.String, Efl.Font.Size) Font {
+ get {
+ System.String _out_font = default(System.String);
+ Efl.Font.Size _out_size = default(Efl.Font.Size);
+ GetFont(out _out_font,out _out_size);
+ return (_out_font,_out_size);
+ }
+ set { SetFont( value.Item1, value.Item2); }
+ }
/// <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>
/// <value>The font file's path.</value>
get { return GetMarkup(); }
set { SetMarkup(value); }
}
+ /// <summary>Color of text, excluding style</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) NormalColor {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetNormalColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetNormalColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Enable or disable backing type</summary>
/// <value>Backing type</value>
public Efl.TextStyleBackingType BackingType {
get { return GetBackingType(); }
set { SetBackingType(value); }
}
+ /// <summary>Backing color</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) BackingColor {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetBackingColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetBackingColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Sets an underline style on the text</summary>
/// <value>Underline type</value>
public Efl.TextStyleUnderlineType UnderlineType {
get { return GetUnderlineType(); }
set { SetUnderlineType(value); }
}
+ /// <summary>Color of normal underline style</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) UnderlineColor {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetUnderlineColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetUnderlineColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Height of underline style</summary>
/// <value>Height</value>
public double UnderlineHeight {
get { return GetUnderlineHeight(); }
set { SetUnderlineHeight(value); }
}
+ /// <summary>Color of dashed underline style</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) UnderlineDashedColor {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetUnderlineDashedColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetUnderlineDashedColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Width of dashed underline style</summary>
/// <value>Width</value>
public int UnderlineDashedWidth {
get { return GetUnderlineDashedGap(); }
set { SetUnderlineDashedGap(value); }
}
+ /// <summary>Color of underline2 style</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) Underline2Color {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetUnderline2Color(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetUnderline2Color( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Type of strikethrough style</summary>
/// <value>Strikethrough type</value>
public Efl.TextStyleStrikethroughType StrikethroughType {
get { return GetStrikethroughType(); }
set { SetStrikethroughType(value); }
}
+ /// <summary>Color of strikethrough_style</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) StrikethroughColor {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetStrikethroughColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetStrikethroughColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Type of effect used for the displayed text</summary>
/// <value>Effect type</value>
public Efl.TextStyleEffectType EffectType {
get { return GetEffectType(); }
set { SetEffectType(value); }
}
+ /// <summary>Color of outline effect</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) OutlineColor {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetOutlineColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetOutlineColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Direction of shadow effect</summary>
/// <value>Shadow direction</value>
public Efl.TextStyleShadowDirection ShadowDirection {
get { return GetShadowDirection(); }
set { SetShadowDirection(value); }
}
+ /// <summary>Color of shadow effect</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) ShadowColor {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetShadowColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetShadowColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
+ /// <summary>Color of glow effect</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) GlowColor {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetGlowColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetGlowColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
+ /// <summary>Second color of the glow effect</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) Glow2Color {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetGlow2Color(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetGlow2Color( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Program that applies a special filter
/// See <see cref="Efl.Gfx.IFilter"/>.</summary>
/// <value>Filter code</value>
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasLayoutPartText_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Canvas.LayoutPartTextExpand> TextExpand<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.LayoutPartText, T>magic = null) where T : Efl.Canvas.LayoutPartText {
+ return new Efl.BindableProperty<Efl.Canvas.LayoutPartTextExpand>("text_expand", fac);
+ }
+
+
+
+
+
+
+
+ public static Efl.BindableProperty<System.String> FontSource<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.LayoutPartText, T>magic = null) where T : Efl.Canvas.LayoutPartText {
+ return new Efl.BindableProperty<System.String>("font_source", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> FontFallbacks<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.LayoutPartText, T>magic = null) where T : Efl.Canvas.LayoutPartText {
+ return new Efl.BindableProperty<System.String>("font_fallbacks", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.TextFontWeight> FontWeight<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.LayoutPartText, T>magic = null) where T : Efl.Canvas.LayoutPartText {
+ return new Efl.BindableProperty<Efl.TextFontWeight>("font_weight", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.TextFontSlant> FontSlant<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.LayoutPartText, T>magic = null) where T : Efl.Canvas.LayoutPartText {
+ return new Efl.BindableProperty<Efl.TextFontSlant>("font_slant", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.TextFontWidth> FontWidth<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.LayoutPartText, T>magic = null) where T : Efl.Canvas.LayoutPartText {
+ return new Efl.BindableProperty<Efl.TextFontWidth>("font_width", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> FontLang<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.LayoutPartText, T>magic = null) where T : Efl.Canvas.LayoutPartText {
+ return new Efl.BindableProperty<System.String>("font_lang", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.TextFontBitmapScalable> FontBitmapScalable<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.LayoutPartText, T>magic = null) where T : Efl.Canvas.LayoutPartText {
+ return new Efl.BindableProperty<Efl.TextFontBitmapScalable>("font_bitmap_scalable", fac);
+ }
+
+ public static Efl.BindableProperty<double> Ellipsis<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.LayoutPartText, T>magic = null) where T : Efl.Canvas.LayoutPartText {
+ return new Efl.BindableProperty<double>("ellipsis", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.TextFormatWrap> Wrap<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.LayoutPartText, T>magic = null) where T : Efl.Canvas.LayoutPartText {
+ return new Efl.BindableProperty<Efl.TextFormatWrap>("wrap", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Multiline<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.LayoutPartText, T>magic = null) where T : Efl.Canvas.LayoutPartText {
+ return new Efl.BindableProperty<bool>("multiline", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.TextFormatHorizontalAlignmentAutoType> HalignAutoType<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.LayoutPartText, T>magic = null) where T : Efl.Canvas.LayoutPartText {
+ return new Efl.BindableProperty<Efl.TextFormatHorizontalAlignmentAutoType>("halign_auto_type", fac);
+ }
+
+ public static Efl.BindableProperty<double> Halign<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.LayoutPartText, T>magic = null) where T : Efl.Canvas.LayoutPartText {
+ return new Efl.BindableProperty<double>("halign", fac);
+ }
+
+ public static Efl.BindableProperty<double> Valign<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.LayoutPartText, T>magic = null) where T : Efl.Canvas.LayoutPartText {
+ return new Efl.BindableProperty<double>("valign", fac);
+ }
+
+ public static Efl.BindableProperty<double> Linegap<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.LayoutPartText, T>magic = null) where T : Efl.Canvas.LayoutPartText {
+ return new Efl.BindableProperty<double>("linegap", fac);
+ }
+
+ public static Efl.BindableProperty<double> Linerelgap<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.LayoutPartText, T>magic = null) where T : Efl.Canvas.LayoutPartText {
+ return new Efl.BindableProperty<double>("linerelgap", fac);
+ }
+
+ public static Efl.BindableProperty<int> Tabstops<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.LayoutPartText, T>magic = null) where T : Efl.Canvas.LayoutPartText {
+ return new Efl.BindableProperty<int>("tabstops", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Password<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.LayoutPartText, T>magic = null) where T : Efl.Canvas.LayoutPartText {
+ return new Efl.BindableProperty<bool>("password", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> ReplacementChar<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.LayoutPartText, T>magic = null) where T : Efl.Canvas.LayoutPartText {
+ return new Efl.BindableProperty<System.String>("replacement_char", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> Markup<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.LayoutPartText, T>magic = null) where T : Efl.Canvas.LayoutPartText {
+ return new Efl.BindableProperty<System.String>("markup", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<Efl.TextStyleBackingType> BackingType<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.LayoutPartText, T>magic = null) where T : Efl.Canvas.LayoutPartText {
+ return new Efl.BindableProperty<Efl.TextStyleBackingType>("backing_type", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.TextStyleUnderlineType> UnderlineType<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.LayoutPartText, T>magic = null) where T : Efl.Canvas.LayoutPartText {
+ return new Efl.BindableProperty<Efl.TextStyleUnderlineType>("underline_type", fac);
+ }
+
+
+ public static Efl.BindableProperty<double> UnderlineHeight<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.LayoutPartText, T>magic = null) where T : Efl.Canvas.LayoutPartText {
+ return new Efl.BindableProperty<double>("underline_height", fac);
+ }
+
+
+ public static Efl.BindableProperty<int> UnderlineDashedWidth<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.LayoutPartText, T>magic = null) where T : Efl.Canvas.LayoutPartText {
+ return new Efl.BindableProperty<int>("underline_dashed_width", fac);
+ }
+
+ public static Efl.BindableProperty<int> UnderlineDashedGap<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.LayoutPartText, T>magic = null) where T : Efl.Canvas.LayoutPartText {
+ return new Efl.BindableProperty<int>("underline_dashed_gap", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.TextStyleStrikethroughType> StrikethroughType<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.LayoutPartText, T>magic = null) where T : Efl.Canvas.LayoutPartText {
+ return new Efl.BindableProperty<Efl.TextStyleStrikethroughType>("strikethrough_type", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.TextStyleEffectType> EffectType<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.LayoutPartText, T>magic = null) where T : Efl.Canvas.LayoutPartText {
+ return new Efl.BindableProperty<Efl.TextStyleEffectType>("effect_type", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.TextStyleShadowDirection> ShadowDirection<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.LayoutPartText, T>magic = null) where T : Efl.Canvas.LayoutPartText {
+ return new Efl.BindableProperty<Efl.TextStyleShadowDirection>("shadow_direction", fac);
+ }
+
+
+
+
+ public static Efl.BindableProperty<System.String> GfxFilter<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.LayoutPartText, T>magic = null) where T : Efl.Canvas.LayoutPartText {
+ return new Efl.BindableProperty<System.String>("gfx_filter", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
namespace Efl {
namespace Canvas {
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Canvas {
-///<summary>Event argument wrapper for event <see cref="Efl.Canvas.Object.AnimatorTickEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Animator tick synchronized with screen vsync if possible.</value>
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
+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
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Object(ConstructingHandle ch) : base(ch)
{
/// <summary>Animator tick synchronized with screen vsync if possible.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Canvas.ObjectAnimatorTickEvt_Args"/></value>
public event EventHandler<Efl.Canvas.ObjectAnimatorTickEvt_Args> AnimatorTickEvt
{
add
}
}
}
- ///<summary>Method to raise event AnimatorTickEvt.</summary>
+ /// <summary>Method to raise event AnimatorTickEvt.</summary>
public void OnAnimatorTickEvt(Efl.Canvas.ObjectAnimatorTickEvt_Args e)
{
var key = "_EFL_CANVAS_OBJECT_EVENT_ANIMATOR_TICK";
}
}
/// <summary>Event for tap gesture</summary>
+ /// <value><see cref="Efl.Gesture.IEventsGestureTapEvt_Args"/></value>
public event EventHandler<Efl.Gesture.IEventsGestureTapEvt_Args> GestureTapEvt
{
add
}
}
}
- ///<summary>Method to raise event GestureTapEvt.</summary>
+ /// <summary>Method to raise event GestureTapEvt.</summary>
public void OnGestureTapEvt(Efl.Gesture.IEventsGestureTapEvt_Args e)
{
var key = "_EFL_EVENT_GESTURE_TAP";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>Event for double tap gesture</summary>
+ /// <value><see cref="Efl.Gesture.IEventsGestureDoubleTapEvt_Args"/></value>
public event EventHandler<Efl.Gesture.IEventsGestureDoubleTapEvt_Args> GestureDoubleTapEvt
{
add
}
}
}
- ///<summary>Method to raise event GestureDoubleTapEvt.</summary>
+ /// <summary>Method to raise event GestureDoubleTapEvt.</summary>
public void OnGestureDoubleTapEvt(Efl.Gesture.IEventsGestureDoubleTapEvt_Args e)
{
var key = "_EFL_EVENT_GESTURE_DOUBLE_TAP";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>Event for triple tap gesture</summary>
+ /// <value><see cref="Efl.Gesture.IEventsGestureTripleTapEvt_Args"/></value>
public event EventHandler<Efl.Gesture.IEventsGestureTripleTapEvt_Args> GestureTripleTapEvt
{
add
}
}
}
- ///<summary>Method to raise event GestureTripleTapEvt.</summary>
+ /// <summary>Method to raise event GestureTripleTapEvt.</summary>
public void OnGestureTripleTapEvt(Efl.Gesture.IEventsGestureTripleTapEvt_Args e)
{
var key = "_EFL_EVENT_GESTURE_TRIPLE_TAP";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>Event for long tap gesture</summary>
+ /// <value><see cref="Efl.Gesture.IEventsGestureLongTapEvt_Args"/></value>
public event EventHandler<Efl.Gesture.IEventsGestureLongTapEvt_Args> GestureLongTapEvt
{
add
}
}
}
- ///<summary>Method to raise event GestureLongTapEvt.</summary>
+ /// <summary>Method to raise event GestureLongTapEvt.</summary>
public void OnGestureLongTapEvt(Efl.Gesture.IEventsGestureLongTapEvt_Args e)
{
var key = "_EFL_EVENT_GESTURE_LONG_TAP";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>Event for momentum gesture</summary>
+ /// <value><see cref="Efl.Gesture.IEventsGestureMomentumEvt_Args"/></value>
public event EventHandler<Efl.Gesture.IEventsGestureMomentumEvt_Args> GestureMomentumEvt
{
add
}
}
}
- ///<summary>Method to raise event GestureMomentumEvt.</summary>
+ /// <summary>Method to raise event GestureMomentumEvt.</summary>
public void OnGestureMomentumEvt(Efl.Gesture.IEventsGestureMomentumEvt_Args e)
{
var key = "_EFL_EVENT_GESTURE_MOMENTUM";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>Event for flick gesture</summary>
+ /// <value><see cref="Efl.Gesture.IEventsGestureFlickEvt_Args"/></value>
public event EventHandler<Efl.Gesture.IEventsGestureFlickEvt_Args> GestureFlickEvt
{
add
}
}
}
- ///<summary>Method to raise event GestureFlickEvt.</summary>
+ /// <summary>Method to raise event GestureFlickEvt.</summary>
public void OnGestureFlickEvt(Efl.Gesture.IEventsGestureFlickEvt_Args e)
{
var key = "_EFL_EVENT_GESTURE_FLICK";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>Event for zoom gesture</summary>
+ /// <value><see cref="Efl.Gesture.IEventsGestureZoomEvt_Args"/></value>
public event EventHandler<Efl.Gesture.IEventsGestureZoomEvt_Args> GestureZoomEvt
{
add
}
}
}
- ///<summary>Method to raise event GestureZoomEvt.</summary>
+ /// <summary>Method to raise event GestureZoomEvt.</summary>
public void OnGestureZoomEvt(Efl.Gesture.IEventsGestureZoomEvt_Args e)
{
var key = "_EFL_EVENT_GESTURE_ZOOM";
}
/// <summary>Object's visibility state changed, the event value is the new state.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Gfx.IEntityVisibilityChangedEvt_Args"/></value>
public event EventHandler<Efl.Gfx.IEntityVisibilityChangedEvt_Args> VisibilityChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event VisibilityChangedEvt.</summary>
+ /// <summary>Method to raise event VisibilityChangedEvt.</summary>
public void OnVisibilityChangedEvt(Efl.Gfx.IEntityVisibilityChangedEvt_Args e)
{
var key = "_EFL_GFX_ENTITY_EVENT_VISIBILITY_CHANGED";
}
/// <summary>Object was moved, its position during the event is the new one.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Gfx.IEntityPositionChangedEvt_Args"/></value>
public event EventHandler<Efl.Gfx.IEntityPositionChangedEvt_Args> PositionChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event PositionChangedEvt.</summary>
+ /// <summary>Method to raise event PositionChangedEvt.</summary>
public void OnPositionChangedEvt(Efl.Gfx.IEntityPositionChangedEvt_Args e)
{
var key = "_EFL_GFX_ENTITY_EVENT_POSITION_CHANGED";
}
/// <summary>Object was resized, its size during the event is the new one.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Gfx.IEntitySizeChangedEvt_Args"/></value>
public event EventHandler<Efl.Gfx.IEntitySizeChangedEvt_Args> SizeChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event SizeChangedEvt.</summary>
+ /// <summary>Method to raise event SizeChangedEvt.</summary>
public void OnSizeChangedEvt(Efl.Gfx.IEntitySizeChangedEvt_Args e)
{
var key = "_EFL_GFX_ENTITY_EVENT_SIZE_CHANGED";
}
}
}
- ///<summary>Method to raise event HintsChangedEvt.</summary>
+ /// <summary>Method to raise event HintsChangedEvt.</summary>
public void OnHintsChangedEvt(EventArgs e)
{
var key = "_EFL_GFX_ENTITY_EVENT_HINTS_CHANGED";
}
}
}
- ///<summary>Method to raise event StackingChangedEvt.</summary>
+ /// <summary>Method to raise event StackingChangedEvt.</summary>
public void OnStackingChangedEvt(EventArgs e)
{
var key = "_EFL_GFX_ENTITY_EVENT_STACKING_CHANGED";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
/// <summary>Main pointer move (current and previous positions are known).</summary>
+ /// <value><see cref="Efl.Input.IInterfacePointerMoveEvt_Args"/></value>
public event EventHandler<Efl.Input.IInterfacePointerMoveEvt_Args> PointerMoveEvt
{
add
}
}
}
- ///<summary>Method to raise event PointerMoveEvt.</summary>
+ /// <summary>Method to raise event PointerMoveEvt.</summary>
public void OnPointerMoveEvt(Efl.Input.IInterfacePointerMoveEvt_Args e)
{
var key = "_EFL_EVENT_POINTER_MOVE";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>Main pointer button pressed (button id is known).</summary>
+ /// <value><see cref="Efl.Input.IInterfacePointerDownEvt_Args"/></value>
public event EventHandler<Efl.Input.IInterfacePointerDownEvt_Args> PointerDownEvt
{
add
}
}
}
- ///<summary>Method to raise event PointerDownEvt.</summary>
+ /// <summary>Method to raise event PointerDownEvt.</summary>
public void OnPointerDownEvt(Efl.Input.IInterfacePointerDownEvt_Args e)
{
var key = "_EFL_EVENT_POINTER_DOWN";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>Main pointer button released (button id is known).</summary>
+ /// <value><see cref="Efl.Input.IInterfacePointerUpEvt_Args"/></value>
public event EventHandler<Efl.Input.IInterfacePointerUpEvt_Args> PointerUpEvt
{
add
}
}
}
- ///<summary>Method to raise event PointerUpEvt.</summary>
+ /// <summary>Method to raise event PointerUpEvt.</summary>
public void OnPointerUpEvt(Efl.Input.IInterfacePointerUpEvt_Args e)
{
var key = "_EFL_EVENT_POINTER_UP";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>Main pointer button press was cancelled (button id is known). This can happen in rare cases when the window manager passes the focus to a more urgent window, for instance. You probably don't need to listen to this event, as it will be accompanied by an up event.</summary>
+ /// <value><see cref="Efl.Input.IInterfacePointerCancelEvt_Args"/></value>
public event EventHandler<Efl.Input.IInterfacePointerCancelEvt_Args> PointerCancelEvt
{
add
}
}
}
- ///<summary>Method to raise event PointerCancelEvt.</summary>
+ /// <summary>Method to raise event PointerCancelEvt.</summary>
public void OnPointerCancelEvt(Efl.Input.IInterfacePointerCancelEvt_Args e)
{
var key = "_EFL_EVENT_POINTER_CANCEL";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>Pointer entered a window or a widget.</summary>
+ /// <value><see cref="Efl.Input.IInterfacePointerInEvt_Args"/></value>
public event EventHandler<Efl.Input.IInterfacePointerInEvt_Args> PointerInEvt
{
add
}
}
}
- ///<summary>Method to raise event PointerInEvt.</summary>
+ /// <summary>Method to raise event PointerInEvt.</summary>
public void OnPointerInEvt(Efl.Input.IInterfacePointerInEvt_Args e)
{
var key = "_EFL_EVENT_POINTER_IN";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>Pointer left a window or a widget.</summary>
+ /// <value><see cref="Efl.Input.IInterfacePointerOutEvt_Args"/></value>
public event EventHandler<Efl.Input.IInterfacePointerOutEvt_Args> PointerOutEvt
{
add
}
}
}
- ///<summary>Method to raise event PointerOutEvt.</summary>
+ /// <summary>Method to raise event PointerOutEvt.</summary>
public void OnPointerOutEvt(Efl.Input.IInterfacePointerOutEvt_Args e)
{
var key = "_EFL_EVENT_POINTER_OUT";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>Mouse wheel event.</summary>
+ /// <value><see cref="Efl.Input.IInterfacePointerWheelEvt_Args"/></value>
public event EventHandler<Efl.Input.IInterfacePointerWheelEvt_Args> PointerWheelEvt
{
add
}
}
}
- ///<summary>Method to raise event PointerWheelEvt.</summary>
+ /// <summary>Method to raise event PointerWheelEvt.</summary>
public void OnPointerWheelEvt(Efl.Input.IInterfacePointerWheelEvt_Args e)
{
var key = "_EFL_EVENT_POINTER_WHEEL";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>Pen or other axis event update.</summary>
+ /// <value><see cref="Efl.Input.IInterfacePointerAxisEvt_Args"/></value>
public event EventHandler<Efl.Input.IInterfacePointerAxisEvt_Args> PointerAxisEvt
{
add
}
}
}
- ///<summary>Method to raise event PointerAxisEvt.</summary>
+ /// <summary>Method to raise event PointerAxisEvt.</summary>
public void OnPointerAxisEvt(Efl.Input.IInterfacePointerAxisEvt_Args e)
{
var key = "_EFL_EVENT_POINTER_AXIS";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>Finger moved (current and previous positions are known).</summary>
+ /// <value><see cref="Efl.Input.IInterfaceFingerMoveEvt_Args"/></value>
public event EventHandler<Efl.Input.IInterfaceFingerMoveEvt_Args> FingerMoveEvt
{
add
}
}
}
- ///<summary>Method to raise event FingerMoveEvt.</summary>
+ /// <summary>Method to raise event FingerMoveEvt.</summary>
public void OnFingerMoveEvt(Efl.Input.IInterfaceFingerMoveEvt_Args e)
{
var key = "_EFL_EVENT_FINGER_MOVE";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>Finger pressed (finger id is known).</summary>
+ /// <value><see cref="Efl.Input.IInterfaceFingerDownEvt_Args"/></value>
public event EventHandler<Efl.Input.IInterfaceFingerDownEvt_Args> FingerDownEvt
{
add
}
}
}
- ///<summary>Method to raise event FingerDownEvt.</summary>
+ /// <summary>Method to raise event FingerDownEvt.</summary>
public void OnFingerDownEvt(Efl.Input.IInterfaceFingerDownEvt_Args e)
{
var key = "_EFL_EVENT_FINGER_DOWN";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>Finger released (finger id is known).</summary>
+ /// <value><see cref="Efl.Input.IInterfaceFingerUpEvt_Args"/></value>
public event EventHandler<Efl.Input.IInterfaceFingerUpEvt_Args> FingerUpEvt
{
add
}
}
}
- ///<summary>Method to raise event FingerUpEvt.</summary>
+ /// <summary>Method to raise event FingerUpEvt.</summary>
public void OnFingerUpEvt(Efl.Input.IInterfaceFingerUpEvt_Args e)
{
var key = "_EFL_EVENT_FINGER_UP";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>Keyboard key press.</summary>
+ /// <value><see cref="Efl.Input.IInterfaceKeyDownEvt_Args"/></value>
public event EventHandler<Efl.Input.IInterfaceKeyDownEvt_Args> KeyDownEvt
{
add
}
}
}
- ///<summary>Method to raise event KeyDownEvt.</summary>
+ /// <summary>Method to raise event KeyDownEvt.</summary>
public void OnKeyDownEvt(Efl.Input.IInterfaceKeyDownEvt_Args e)
{
var key = "_EFL_EVENT_KEY_DOWN";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>Keyboard key release.</summary>
+ /// <value><see cref="Efl.Input.IInterfaceKeyUpEvt_Args"/></value>
public event EventHandler<Efl.Input.IInterfaceKeyUpEvt_Args> KeyUpEvt
{
add
}
}
}
- ///<summary>Method to raise event KeyUpEvt.</summary>
+ /// <summary>Method to raise event KeyUpEvt.</summary>
public void OnKeyUpEvt(Efl.Input.IInterfaceKeyUpEvt_Args e)
{
var key = "_EFL_EVENT_KEY_UP";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>All input events are on hold or resumed.</summary>
+ /// <value><see cref="Efl.Input.IInterfaceHoldEvt_Args"/></value>
public event EventHandler<Efl.Input.IInterfaceHoldEvt_Args> HoldEvt
{
add
}
}
}
- ///<summary>Method to raise event HoldEvt.</summary>
+ /// <summary>Method to raise event HoldEvt.</summary>
public void OnHoldEvt(Efl.Input.IInterfaceHoldEvt_Args e)
{
var key = "_EFL_EVENT_HOLD";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>A focus in event.</summary>
+ /// <value><see cref="Efl.Input.IInterfaceFocusInEvt_Args"/></value>
public event EventHandler<Efl.Input.IInterfaceFocusInEvt_Args> FocusInEvt
{
add
}
}
}
- ///<summary>Method to raise event FocusInEvt.</summary>
+ /// <summary>Method to raise event FocusInEvt.</summary>
public void OnFocusInEvt(Efl.Input.IInterfaceFocusInEvt_Args e)
{
var key = "_EFL_EVENT_FOCUS_IN";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>A focus out event.</summary>
+ /// <value><see cref="Efl.Input.IInterfaceFocusOutEvt_Args"/></value>
public event EventHandler<Efl.Input.IInterfaceFocusOutEvt_Args> FocusOutEvt
{
add
}
}
}
- ///<summary>Method to raise event FocusOutEvt.</summary>
+ /// <summary>Method to raise event FocusOutEvt.</summary>
public void OnFocusOutEvt(Efl.Input.IInterfaceFocusOutEvt_Args e)
{
var key = "_EFL_EVENT_FOCUS_OUT";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>Low-level pointer behaviour by device. See <see cref="Efl.Canvas.Object.GetPointerMode"/> and <see cref="Efl.Canvas.Object.SetPointerMode"/> for more explanation.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <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) {
return _ret_var;
}
/// <summary>Low-level pointer behaviour by device. See <see cref="Efl.Canvas.Object.GetPointerMode"/> and <see cref="Efl.Canvas.Object.SetPointerMode"/> for more explanation.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="dev">The pointer device to set/get the mode. Use <c>null</c> for the default pointer.</param>
/// <param name="pointer_mode">The pointer mode</param>
/// <returns><c>true</c> if pointer mode was set, <c>false</c> otherwise</returns>
/// If the value is <see cref="Efl.Input.ObjectPointerMode.NoGrab"/>, then events will be emitted just when inside this object area.
///
/// The default value is <see cref="Efl.Input.ObjectPointerMode.AutoGrab"/>. See also: <see cref="Efl.Canvas.Object.GetPointerModeByDevice"/> and <see cref="Efl.Canvas.Object.GetPointerModeByDevice"/> Note: This function will only set/get the mode for the default pointer.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
/// If the value is <see cref="Efl.Input.ObjectPointerMode.NoGrab"/>, then events will be emitted just when inside this object area.
///
/// The default value is <see cref="Efl.Input.ObjectPointerMode.AutoGrab"/>. See also: <see cref="Efl.Canvas.Object.GetPointerModeByDevice"/> and <see cref="Efl.Canvas.Object.GetPointerModeByDevice"/> Note: This function will only set/get the mode for the default pointer.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <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) {
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>A hint for an object that its size will not change.
+ /// When this flag is set, various optimizations may be employed by the renderer based on the fixed size of the object.
+ ///
+ /// It is a user error to change the size of an object while this flag is set.
+ /// (Since EFL 1.23)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
+ /// <returns>Whether the object size is known to be static.</returns>
+ virtual public bool GetHasFixedSize() {
+ var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_has_fixed_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>A hint for an object that its size will not change.
+ /// When this flag is set, various optimizations may be employed by the renderer based on the fixed size of the object.
+ ///
+ /// It is a user error to change the size of an object while this flag is set.
+ /// (Since EFL 1.23)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
+ /// <param name="enable">Whether the object size is known to be static.</param>
+ virtual public void SetHasFixedSize(bool enable) {
+ Efl.Canvas.Object.NativeMethods.efl_canvas_object_has_fixed_size_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),enable);
+ 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>
return _ret_var;
}
/// <summary>Check if this object is focused by a given seat
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <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) {
/// Evas allows the Efl.Canvas.Object to be focused by multiple seats at the same time. This function adds a new seat to the focus list. In other words, after the seat is added to the list this object will now be also focused by this new seat.
///
/// Note: The old focus APIs still work, however they will only act on the default seat.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <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) {
return _ret_var;
}
/// <summary>Remove a seat from the focus list.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <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) {
///
/// <c>keyname</c> is a platform dependent symbolic name for the key pressed.
///
- /// <c>modifiers</c> and <c>not_modifiers</c> are bit masks of all the modifiers that must and mustn't, respectively, be pressed along with <c>keyname</c> key in order to trigger this new key grab. Modifiers can be things such as Shift and Ctrl as well as user defined types via @ref evas_key_modifier_add. <c>exclusive</c> will make the given object the only one permitted to grab the given key. If given <c>true</c>, subsequent calls on this function with different <c>obj</c> arguments will fail, unless the key is ungrabbed again.
+ /// <c>modifiers</c> and <c>not_modifiers</c> are bit masks of all the modifiers that must and mustn't, respectively, be pressed along with <c>keyname</c> key in order to trigger this new key grab. Modifiers can be things such as Shift and Ctrl as well as user defined types via ref evas_key_modifier_add. <c>exclusive</c> will make the given object the only one permitted to grab the given key. If given <c>true</c>, subsequent calls on this function with different <c>obj</c> arguments will fail, unless the key is ungrabbed again.
///
/// Warning: Providing impossible modifier sets creates undefined behavior.
/// (Since EFL 1.22)</summary>
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Returns current canvas's gesture manager
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
/// A return value of <c>true</c> indicates the mouse is logically inside the canvas, and <c>false</c> implies it is logically outside the canvas.
///
/// A canvas begins with the mouse being assumed outside (<c>false</c>).
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <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) {
/// Values -1 will be treated as unset hint components, when queried by managers.
///
/// Note: Smart objects (such as elementary) can have their own hint policy. So calling this API may or may not affect the size of smart objects.
+ ///
+ /// Note: It is an error for the <see cref="Efl.Gfx.IHint.HintSizeMax"/> to be smaller in either axis than <see cref="Efl.Gfx.IHint.HintSizeMin"/>. In this scenario, the max size hint will be prioritized over the user min size hint.
/// (Since EFL 1.22)</summary>
/// <returns>Maximum size (hint) in pixels, (-1, -1) by default for canvas objects).</returns>
virtual public Eina.Size2D GetHintSizeMax() {
/// Values -1 will be treated as unset hint components, when queried by managers.
///
/// Note: Smart objects (such as elementary) can have their own hint policy. So calling this API may or may not affect the size of smart objects.
+ ///
+ /// Note: It is an error for the <see cref="Efl.Gfx.IHint.HintSizeMax"/> to be smaller in either axis than <see cref="Efl.Gfx.IHint.HintSizeMin"/>. In this scenario, the max size hint will be prioritized over the user min size hint.
/// (Since EFL 1.22)</summary>
/// <param name="sz">Maximum size (hint) in pixels, (-1, -1) by default for canvas objects).</param>
virtual public void SetHintSizeMax(Eina.Size2D 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>Get the "intrinsic" maximum size of this object.
+ /// (Since EFL 1.22)</summary>
+ /// <returns>Maximum size (hint) in pixels.</returns>
+ virtual public Eina.Size2D GetHintSizeRestrictedMax() {
+ var _ret_var = Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_size_restricted_max_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>This function is protected as it is meant for widgets to indicate their "intrinsic" maximum size.
+ /// (Since EFL 1.22)</summary>
+ /// <param name="sz">Maximum size (hint) in pixels.</param>
+ virtual public void SetHintSizeRestrictedMax(Eina.Size2D sz) {
+ Eina.Size2D.NativeStruct _in_sz = sz;
+ Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_size_restricted_max_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_sz);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Read-only maximum size combining both <see cref="Efl.Gfx.IHint.HintSizeRestrictedMax"/> and <see cref="Efl.Gfx.IHint.HintSizeMax"/> hints.
+ /// <see cref="Efl.Gfx.IHint.HintSizeRestrictedMax"/> is intended for mostly internal usage and widget developers, and <see cref="Efl.Gfx.IHint.HintSizeMax"/> is intended to be set from application side. <see cref="Efl.Gfx.IHint.GetHintSizeCombinedMax"/> combines both values by taking their repective maximum (in both width and height), and is used internally to get an object's maximum size.
+ /// (Since EFL 1.22)</summary>
+ /// <returns>Maximum size (hint) in pixels.</returns>
+ virtual public Eina.Size2D GetHintSizeCombinedMax() {
+ var _ret_var = Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_size_combined_max_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
/// <summary>Hints on the object's minimum size.
/// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate. The object container is in charge of fetching this property and placing the object accordingly.
///
/// Value 0 will be treated as unset hint components, when queried by managers.
///
/// Note: This property is meant to be set by applications and not by EFL itself. Use this to request a specific size (treated as minimum size).
+ ///
+ /// Note: It is an error for the <see cref="Efl.Gfx.IHint.HintSizeMax"/> to be smaller in either axis than <see cref="Efl.Gfx.IHint.HintSizeMin"/>. In this scenario, the max size hint will be prioritized over the user min size hint.
/// (Since EFL 1.22)</summary>
/// <returns>Minimum size (hint) in pixels.</returns>
virtual public Eina.Size2D GetHintSizeMin() {
/// Value 0 will be treated as unset hint components, when queried by managers.
///
/// Note: This property is meant to be set by applications and not by EFL itself. Use this to request a specific size (treated as minimum size).
+ ///
+ /// Note: It is an error for the <see cref="Efl.Gfx.IHint.HintSizeMax"/> to be smaller in either axis than <see cref="Efl.Gfx.IHint.HintSizeMin"/>. In this scenario, the max size hint will be prioritized over the user min size hint.
/// (Since EFL 1.22)</summary>
/// <param name="sz">Minimum size (hint) in pixels.</param>
virtual public void SetHintSizeMin(Eina.Size2D sz) {
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>
+ /// <summary>Check if input events from a given seat is enabled.
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</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) {
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
- /// <summary>Add or remove a given seat to the filter list. If the filter list is empty this object will report mouse, keyboard and focus events from any seat, otherwise those events will only be reported if the event comes from a seat that is in the list.</summary>
+ /// <summary>Add or remove a given seat to the filter list. If the filter list is empty this object will report mouse, keyboard and focus events from any seat, otherwise those events will only be reported if the event comes from a seat that is in the list.
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <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((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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <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>
- /// <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((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.
- /// If enabled, the system or application configuration will be used to set the value of <see cref="Efl.Ui.II18n.Mirrored"/>.
- ///
- /// 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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Whether the property <see cref="Efl.Ui.II18n.Mirrored"/> should be set automatically.
- /// If enabled, the system or application configuration will be used to set the value of <see cref="Efl.Ui.II18n.Mirrored"/>.
- ///
- /// 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((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((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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),language);
- Eina.Error.RaiseIfUnhandledException();
- }
/// <summary>Low-level pointer behaviour.
/// This function has a direct effect on event callbacks related to pointers (mouse, ...).
///
/// If the value is <see cref="Efl.Input.ObjectPointerMode.NoGrab"/>, then events will be emitted just when inside this object area.
///
/// The default value is <see cref="Efl.Input.ObjectPointerMode.AutoGrab"/>. See also: <see cref="Efl.Canvas.Object.GetPointerModeByDevice"/> and <see cref="Efl.Canvas.Object.GetPointerModeByDevice"/> Note: This function will only set/get the mode for the default pointer.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>Input pointer mode</value>
public Efl.Input.ObjectPointerMode PointerMode {
get { return GetPointerMode(); }
get { return GetClipper(); }
set { SetClipper(value); }
}
+ /// <summary>A hint for an object that its size will not change.
+ /// When this flag is set, various optimizations may be employed by the renderer based on the fixed size of the object.
+ ///
+ /// It is a user error to change the size of an object while this flag is set.
+ /// (Since EFL 1.23)
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
+ /// <value>Whether the object size is known to be static.</value>
+ public bool HasFixedSize {
+ get { return GetHasFixedSize(); }
+ set { SetHasFixedSize(value); }
+ }
/// <summary>Determine whether an object is set to repeat events.
/// (Since EFL 1.22)</summary>
/// <value>Whether <c>obj</c> is to repeat events (<c>true</c>) or not (<c>false</c>).</value>
get { return GetNoRender(); }
set { SetNoRender(value); }
}
+ /// <summary>Retrieves the general/main color of the given Evas object.
+ /// Retrieves the main color's RGB component (and alpha channel) values, which range from 0 to 255. For the alpha channel, which defines the object's transparency level, 0 means totally transparent, while 255 means opaque. These color values are premultiplied by the alpha value.
+ ///
+ /// Usually youll use this attribute for text and rectangle objects, where the main color is their unique one. If set for objects which themselves have colors, like the images one, those colors get modulated by this one.
+ ///
+ /// All newly created Evas rectangles get the default color values of 255 255 255 255 (opaque white).
+ ///
+ /// Use null pointers on the components you're not interested in: they'll be ignored by the function.
+ /// (Since EFL 1.22)</summary>
+ public (int, int, int, int) Color {
+ get {
+ int _out_r = default(int);
+ int _out_g = default(int);
+ int _out_b = default(int);
+ int _out_a = default(int);
+ GetColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Get hex color code of given Evas object. This returns a short lived hex color code string.
/// (Since EFL 1.22)</summary>
/// <value>the hex color code.</value>
get { return GetScale(); }
set { SetScale(value); }
}
+ /// <summary>Defines the aspect ratio to respect when scaling this object.
+ /// The aspect ratio is defined as the width / height ratio of the object. Depending on the object and its container, this hint may or may not be fully respected.
+ ///
+ /// If any of the given aspect ratio terms are 0, the object's container will ignore the aspect and scale this object to occupy the whole available area, for any given policy.
+ /// (Since EFL 1.22)</summary>
+ /// <value>Mode of interpretation.</value>
+ public (Efl.Gfx.HintAspect, Eina.Size2D) HintAspect {
+ get {
+ Efl.Gfx.HintAspect _out_mode = default(Efl.Gfx.HintAspect);
+ Eina.Size2D _out_sz = default(Eina.Size2D);
+ GetHintAspect(out _out_mode,out _out_sz);
+ return (_out_mode,_out_sz);
+ }
+ set { SetHintAspect( value.Item1, value.Item2); }
+ }
/// <summary>Hints on the object's maximum size.
/// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
///
/// Values -1 will be treated as unset hint components, when queried by managers.
///
/// Note: Smart objects (such as elementary) can have their own hint policy. So calling this API may or may not affect the size of smart objects.
+ ///
+ /// Note: It is an error for the <see cref="Efl.Gfx.IHint.HintSizeMax"/> to be smaller in either axis than <see cref="Efl.Gfx.IHint.HintSizeMin"/>. In this scenario, the max size hint will be prioritized over the user min size hint.
/// (Since EFL 1.22)</summary>
/// <value>Maximum size (hint) in pixels, (-1, -1) by default for canvas objects).</value>
public Eina.Size2D HintSizeMax {
get { return GetHintSizeMax(); }
set { SetHintSizeMax(value); }
}
+ /// <summary>Internal hints for an object's maximum size.
+ /// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
+ ///
+ /// Values -1 will be treated as unset hint components, when queried by managers.
+ ///
+ /// Note: This property is internal and meant for widget developers to define the absolute maximum size of the object. EFL itself sets this size internally, so any change to it from an application might be ignored. Applications should use <see cref="Efl.Gfx.IHint.HintSizeMax"/> instead.
+ ///
+ /// Note: It is an error for the <see cref="Efl.Gfx.IHint.HintSizeRestrictedMax"/> to be smaller in either axis than <see cref="Efl.Gfx.IHint.HintSizeRestrictedMin"/>. In this scenario, the max size hint will be prioritized over the user min size hint.
+ /// (Since EFL 1.22)</summary>
+ /// <value>Maximum size (hint) in pixels.</value>
+ public Eina.Size2D HintSizeRestrictedMax {
+ get { return GetHintSizeRestrictedMax(); }
+ set { SetHintSizeRestrictedMax(value); }
+ }
+ /// <summary>Read-only maximum size combining both <see cref="Efl.Gfx.IHint.HintSizeRestrictedMax"/> and <see cref="Efl.Gfx.IHint.HintSizeMax"/> hints.
+ /// <see cref="Efl.Gfx.IHint.HintSizeRestrictedMax"/> is intended for mostly internal usage and widget developers, and <see cref="Efl.Gfx.IHint.HintSizeMax"/> is intended to be set from application side. <see cref="Efl.Gfx.IHint.GetHintSizeCombinedMax"/> combines both values by taking their repective maximum (in both width and height), and is used internally to get an object's maximum size.
+ /// (Since EFL 1.22)</summary>
+ /// <value>Maximum size (hint) in pixels.</value>
+ public Eina.Size2D HintSizeCombinedMax {
+ get { return GetHintSizeCombinedMax(); }
+ }
/// <summary>Hints on the object's minimum size.
/// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate. The object container is in charge of fetching this property and placing the object accordingly.
///
/// Value 0 will be treated as unset hint components, when queried by managers.
///
/// Note: This property is meant to be set by applications and not by EFL itself. Use this to request a specific size (treated as minimum size).
+ ///
+ /// Note: It is an error for the <see cref="Efl.Gfx.IHint.HintSizeMax"/> to be smaller in either axis than <see cref="Efl.Gfx.IHint.HintSizeMin"/>. In this scenario, the max size hint will be prioritized over the user min size hint.
/// (Since EFL 1.22)</summary>
/// <value>Minimum size (hint) in pixels.</value>
public Eina.Size2D HintSizeMin {
/// Values 0 will be treated as unset hint components, when queried by managers.
///
/// Note: This property is internal and meant for widget developers to define the absolute minimum size of the object. EFL itself sets this size internally, so any change to it from an application might be ignored. Use <see cref="Efl.Gfx.IHint.HintSizeMin"/> instead.
+ ///
+ /// Note: It is an error for the <see cref="Efl.Gfx.IHint.HintSizeRestrictedMax"/> to be smaller in either axis than <see cref="Efl.Gfx.IHint.HintSizeRestrictedMin"/>. In this scenario, the max size hint will be prioritized over the user min size hint.
/// (Since EFL 1.22)</summary>
/// <value>Minimum size (hint) in pixels.</value>
public Eina.Size2D HintSizeRestrictedMin {
public Eina.Size2D HintSizeCombinedMin {
get { return GetHintSizeCombinedMin(); }
}
+ /// <summary>Hints for an object's margin or padding space.
+ /// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
+ ///
+ /// The object container is in charge of fetching this property and placing the object accordingly.
+ ///
+ /// Note: Smart objects (such as elementary) can have their own hint policy. So calling this API may or may not affect the size of smart objects.
+ /// (Since EFL 1.22)</summary>
+ /// <value>Integer to specify left padding.</value>
+ public (int, int, int, int) HintMargin {
+ get {
+ int _out_l = default(int);
+ int _out_r = default(int);
+ int _out_t = default(int);
+ int _out_b = default(int);
+ GetHintMargin(out _out_l,out _out_r,out _out_t,out _out_b);
+ return (_out_l,_out_r,_out_t,_out_b);
+ }
+ set { SetHintMargin( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
+ /// <summary>Hints for an object's weight.
+ /// This is a hint on how a container object should resize a given child within its area. Containers may adhere to the simpler logic of just expanding the child object's dimensions to fit its own (see the <see cref="Efl.Gfx.Constants.HintExpand"/> helper weight macro) or the complete one of taking each child's weight hint as real weights to how much of its size to allocate for them in each axis. A container is supposed to, after normalizing the weights of its children (with weight hints), distribut the space it has to layout them by those factors -- most weighted children get larger in this process than the least ones.
+ ///
+ /// Accepted values are zero or positive values. Some containers might use this hint as a boolean, but some others might consider it as a proportion, see documentation of each container.
+ ///
+ /// Note: Default weight hint values are 0.0, for both axis.
+ /// (Since EFL 1.22)</summary>
+ /// <value>Non-negative double value to use as horizontal weight hint.</value>
+ public (double, double) HintWeight {
+ get {
+ double _out_x = default(double);
+ double _out_y = default(double);
+ GetHintWeight(out _out_x,out _out_y);
+ return (_out_x,_out_y);
+ }
+ set { SetHintWeight( value.Item1, value.Item2); }
+ }
+ /// <summary>Hints for an object's alignment.
+ /// These are hints on how to align an object inside the boundaries of a container/manager. Accepted values are in the 0.0 to 1.0 range.
+ ///
+ /// For the horizontal component, 0.0 means to the left, 1.0 means to the right. Analogously, for the vertical component, 0.0 to the top, 1.0 means to the bottom.
+ ///
+ /// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
+ ///
+ /// Note: Default alignment hint values are 0.5, for both axes.
+ /// (Since EFL 1.22)</summary>
+ /// <value>Double, ranging from 0.0 to 1.0.</value>
+ public (double, double) HintAlign {
+ get {
+ double _out_x = default(double);
+ double _out_y = default(double);
+ GetHintAlign(out _out_x,out _out_y);
+ return (_out_x,_out_y);
+ }
+ set { SetHintAlign( value.Item1, value.Item2); }
+ }
+ /// <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.
+ /// Maximum hints should be enforced with higher priority, if they are set. Also, any <see cref="Efl.Gfx.IHint.GetHintMargin"/> set on objects should add up to the object space on the final scene composition.
+ ///
+ /// See documentation of possible users: in Evas, they are the <see cref="Efl.Ui.Box"/> "box" and <see cref="Efl.Ui.Table"/> "table" smart objects.
+ ///
+ /// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
+ ///
+ /// Note: Default fill hint values are true, for both axes.
+ /// (Since EFL 1.22)</summary>
+ /// <value><c>true</c> if to fill the object space, <c>false</c> otherwise, to use as horizontal fill hint.</value>
+ public (bool, bool) HintFill {
+ get {
+ bool _out_x = default(bool);
+ bool _out_y = default(bool);
+ GetHintFill(out _out_x,out _out_y);
+ return (_out_x,_out_y);
+ }
+ set { SetHintFill( value.Item1, value.Item2); }
+ }
/// <summary>Number of points of a map.
/// This sets the number of points of map. Currently, the number of points must be multiples of 4.
/// (Since EFL 1.22)</summary>
public Efl.Gfx.IStack Above {
get { return GetAbove(); }
}
- /// <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>
- /// <value><c>true</c> for RTL, <c>false</c> for LTR (default).</value>
- public bool Mirrored {
- get { return GetMirrored(); }
- set { SetMirrored(value); }
- }
- /// <summary>Whether the property <see cref="Efl.Ui.II18n.Mirrored"/> should be set automatically.
- /// If enabled, the system or application configuration will be used to set the value of <see cref="Efl.Ui.II18n.Mirrored"/>.
- ///
- /// 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>
- /// <value>Whether the widget uses automatic mirroring</value>
- public bool MirroredAutomatic {
- get { return GetMirroredAutomatic(); }
- set { SetMirroredAutomatic(value); }
- }
- /// <summary>The (human) language for this object.</summary>
- /// <value>The current language.</value>
- public System.String Language {
- get { return GetLanguage(); }
- set { SetLanguage(value); }
- }
private static IntPtr GetEflClassStatic()
{
return Efl.Canvas.Object.efl_canvas_object_class_get();
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_canvas_object_clipper_set"), func = Marshal.GetFunctionPointerForDelegate(efl_canvas_object_clipper_set_static_delegate) });
}
+ if (efl_canvas_object_has_fixed_size_get_static_delegate == null)
+ {
+ efl_canvas_object_has_fixed_size_get_static_delegate = new efl_canvas_object_has_fixed_size_get_delegate(has_fixed_size_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetHasFixedSize") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_canvas_object_has_fixed_size_get"), func = Marshal.GetFunctionPointerForDelegate(efl_canvas_object_has_fixed_size_get_static_delegate) });
+ }
+
+ if (efl_canvas_object_has_fixed_size_set_static_delegate == null)
+ {
+ efl_canvas_object_has_fixed_size_set_static_delegate = new efl_canvas_object_has_fixed_size_set_delegate(has_fixed_size_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetHasFixedSize") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_canvas_object_has_fixed_size_set"), func = Marshal.GetFunctionPointerForDelegate(efl_canvas_object_has_fixed_size_set_static_delegate) });
+ }
+
if (efl_canvas_object_repeat_events_get_static_delegate == null)
{
efl_canvas_object_repeat_events_get_static_delegate = new efl_canvas_object_repeat_events_get_delegate(repeat_events_get);
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_hint_size_max_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_hint_size_max_set_static_delegate) });
}
+ if (efl_gfx_hint_size_restricted_max_get_static_delegate == null)
+ {
+ efl_gfx_hint_size_restricted_max_get_static_delegate = new efl_gfx_hint_size_restricted_max_get_delegate(hint_size_restricted_max_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetHintSizeRestrictedMax") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_hint_size_restricted_max_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_hint_size_restricted_max_get_static_delegate) });
+ }
+
+ if (efl_gfx_hint_size_restricted_max_set_static_delegate == null)
+ {
+ efl_gfx_hint_size_restricted_max_set_static_delegate = new efl_gfx_hint_size_restricted_max_set_delegate(hint_size_restricted_max_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetHintSizeRestrictedMax") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_hint_size_restricted_max_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_hint_size_restricted_max_set_static_delegate) });
+ }
+
+ if (efl_gfx_hint_size_combined_max_get_static_delegate == null)
+ {
+ efl_gfx_hint_size_combined_max_get_static_delegate = new efl_gfx_hint_size_combined_max_get_delegate(hint_size_combined_max_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetHintSizeCombinedMax") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_hint_size_combined_max_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_hint_size_combined_max_get_static_delegate) });
+ }
+
if (efl_gfx_hint_size_min_get_static_delegate == null)
{
efl_gfx_hint_size_min_get_static_delegate = new efl_gfx_hint_size_min_get_delegate(hint_size_min_get);
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_seat_event_filter_set"), func = Marshal.GetFunctionPointerForDelegate(efl_input_seat_event_filter_set_static_delegate) });
}
- if (efl_ui_mirrored_get_static_delegate == null)
- {
- efl_ui_mirrored_get_static_delegate = new efl_ui_mirrored_get_delegate(mirrored_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetMirrored") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_mirrored_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_mirrored_get_static_delegate) });
- }
-
- if (efl_ui_mirrored_set_static_delegate == null)
- {
- efl_ui_mirrored_set_static_delegate = new efl_ui_mirrored_set_delegate(mirrored_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetMirrored") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_mirrored_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_mirrored_set_static_delegate) });
- }
-
- if (efl_ui_mirrored_automatic_get_static_delegate == null)
- {
- efl_ui_mirrored_automatic_get_static_delegate = new efl_ui_mirrored_automatic_get_delegate(mirrored_automatic_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetMirroredAutomatic") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_mirrored_automatic_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_mirrored_automatic_get_static_delegate) });
- }
-
- if (efl_ui_mirrored_automatic_set_static_delegate == null)
- {
- efl_ui_mirrored_automatic_set_static_delegate = new efl_ui_mirrored_automatic_set_delegate(mirrored_automatic_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetMirroredAutomatic") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_mirrored_automatic_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_mirrored_automatic_set_static_delegate) });
- }
-
- if (efl_ui_language_get_static_delegate == null)
- {
- efl_ui_language_get_static_delegate = new efl_ui_language_get_delegate(language_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetLanguage") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_language_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_language_get_static_delegate) });
- }
-
- if (efl_ui_language_set_static_delegate == null)
- {
- efl_ui_language_set_static_delegate = new efl_ui_language_set_delegate(language_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetLanguage") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_language_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_language_set_static_delegate) });
- }
-
descs.AddRange(base.GetEoOps(type));
return descs;
}
private static efl_canvas_object_clipper_set_delegate efl_canvas_object_clipper_set_static_delegate;
[return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_canvas_object_repeat_events_get_delegate(System.IntPtr obj, System.IntPtr pd);
+ private delegate bool efl_canvas_object_has_fixed_size_get_delegate(System.IntPtr obj, System.IntPtr pd);
[return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_canvas_object_repeat_events_get_api_delegate(System.IntPtr obj);
+ public delegate bool efl_canvas_object_has_fixed_size_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<efl_canvas_object_repeat_events_get_api_delegate> efl_canvas_object_repeat_events_get_ptr = new Efl.Eo.FunctionWrapper<efl_canvas_object_repeat_events_get_api_delegate>(Module, "efl_canvas_object_repeat_events_get");
+ public static Efl.Eo.FunctionWrapper<efl_canvas_object_has_fixed_size_get_api_delegate> efl_canvas_object_has_fixed_size_get_ptr = new Efl.Eo.FunctionWrapper<efl_canvas_object_has_fixed_size_get_api_delegate>(Module, "efl_canvas_object_has_fixed_size_get");
- private static bool repeat_events_get(System.IntPtr obj, System.IntPtr pd)
+ private static bool has_fixed_size_get(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function efl_canvas_object_repeat_events_get was called");
+ Eina.Log.Debug("function efl_canvas_object_has_fixed_size_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
bool _ret_var = default(bool);
try
{
- _ret_var = ((Object)ws.Target).GetRepeatEvents();
+ _ret_var = ((Object)ws.Target).GetHasFixedSize();
}
catch (Exception e)
{
}
else
{
- return efl_canvas_object_repeat_events_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ return efl_canvas_object_has_fixed_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
- private static efl_canvas_object_repeat_events_get_delegate efl_canvas_object_repeat_events_get_static_delegate;
+ private static efl_canvas_object_has_fixed_size_get_delegate efl_canvas_object_has_fixed_size_get_static_delegate;
- private delegate void efl_canvas_object_repeat_events_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool repeat);
+ private delegate void efl_canvas_object_has_fixed_size_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool enable);
- public delegate void efl_canvas_object_repeat_events_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool repeat);
+ public delegate void efl_canvas_object_has_fixed_size_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool enable);
- public static Efl.Eo.FunctionWrapper<efl_canvas_object_repeat_events_set_api_delegate> efl_canvas_object_repeat_events_set_ptr = new Efl.Eo.FunctionWrapper<efl_canvas_object_repeat_events_set_api_delegate>(Module, "efl_canvas_object_repeat_events_set");
+ public static Efl.Eo.FunctionWrapper<efl_canvas_object_has_fixed_size_set_api_delegate> efl_canvas_object_has_fixed_size_set_ptr = new Efl.Eo.FunctionWrapper<efl_canvas_object_has_fixed_size_set_api_delegate>(Module, "efl_canvas_object_has_fixed_size_set");
- private static void repeat_events_set(System.IntPtr obj, System.IntPtr pd, bool repeat)
+ private static void has_fixed_size_set(System.IntPtr obj, System.IntPtr pd, bool enable)
{
- Eina.Log.Debug("function efl_canvas_object_repeat_events_set was called");
+ Eina.Log.Debug("function efl_canvas_object_has_fixed_size_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
- ((Object)ws.Target).SetRepeatEvents(repeat);
+ ((Object)ws.Target).SetHasFixedSize(enable);
}
catch (Exception e)
{
}
else
{
- efl_canvas_object_repeat_events_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), repeat);
+ efl_canvas_object_has_fixed_size_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), enable);
}
}
- private static efl_canvas_object_repeat_events_set_delegate efl_canvas_object_repeat_events_set_static_delegate;
+ private static efl_canvas_object_has_fixed_size_set_delegate efl_canvas_object_has_fixed_size_set_static_delegate;
[return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_canvas_object_key_focus_get_delegate(System.IntPtr obj, System.IntPtr pd);
+ private delegate bool efl_canvas_object_repeat_events_get_delegate(System.IntPtr obj, System.IntPtr pd);
[return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_canvas_object_key_focus_get_api_delegate(System.IntPtr obj);
+ public delegate bool efl_canvas_object_repeat_events_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<efl_canvas_object_key_focus_get_api_delegate> efl_canvas_object_key_focus_get_ptr = new Efl.Eo.FunctionWrapper<efl_canvas_object_key_focus_get_api_delegate>(Module, "efl_canvas_object_key_focus_get");
+ public static Efl.Eo.FunctionWrapper<efl_canvas_object_repeat_events_get_api_delegate> efl_canvas_object_repeat_events_get_ptr = new Efl.Eo.FunctionWrapper<efl_canvas_object_repeat_events_get_api_delegate>(Module, "efl_canvas_object_repeat_events_get");
- private static bool key_focus_get(System.IntPtr obj, System.IntPtr pd)
+ private static bool repeat_events_get(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function efl_canvas_object_key_focus_get was called");
+ Eina.Log.Debug("function efl_canvas_object_repeat_events_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
bool _ret_var = default(bool);
try
{
- _ret_var = ((Object)ws.Target).GetKeyFocus();
+ _ret_var = ((Object)ws.Target).GetRepeatEvents();
}
catch (Exception e)
{
}
else
{
- return efl_canvas_object_key_focus_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ return efl_canvas_object_repeat_events_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
- private static efl_canvas_object_key_focus_get_delegate efl_canvas_object_key_focus_get_static_delegate;
+ private static efl_canvas_object_repeat_events_get_delegate efl_canvas_object_repeat_events_get_static_delegate;
- private delegate void efl_canvas_object_key_focus_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool focus);
+ private delegate void efl_canvas_object_repeat_events_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool repeat);
- public delegate void efl_canvas_object_key_focus_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool focus);
+ public delegate void efl_canvas_object_repeat_events_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool repeat);
- public static Efl.Eo.FunctionWrapper<efl_canvas_object_key_focus_set_api_delegate> efl_canvas_object_key_focus_set_ptr = new Efl.Eo.FunctionWrapper<efl_canvas_object_key_focus_set_api_delegate>(Module, "efl_canvas_object_key_focus_set");
+ public static Efl.Eo.FunctionWrapper<efl_canvas_object_repeat_events_set_api_delegate> efl_canvas_object_repeat_events_set_ptr = new Efl.Eo.FunctionWrapper<efl_canvas_object_repeat_events_set_api_delegate>(Module, "efl_canvas_object_repeat_events_set");
- private static void key_focus_set(System.IntPtr obj, System.IntPtr pd, bool focus)
+ private static void repeat_events_set(System.IntPtr obj, System.IntPtr pd, bool repeat)
{
- Eina.Log.Debug("function efl_canvas_object_key_focus_set was called");
+ Eina.Log.Debug("function efl_canvas_object_repeat_events_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
- ((Object)ws.Target).SetKeyFocus(focus);
+ ((Object)ws.Target).SetRepeatEvents(repeat);
}
catch (Exception e)
{
}
else
{
- efl_canvas_object_key_focus_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), focus);
+ efl_canvas_object_repeat_events_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), repeat);
}
}
- private static efl_canvas_object_key_focus_set_delegate efl_canvas_object_key_focus_set_static_delegate;
+ private static efl_canvas_object_repeat_events_set_delegate efl_canvas_object_repeat_events_set_static_delegate;
[return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_canvas_object_seat_focus_get_delegate(System.IntPtr obj, System.IntPtr pd);
+ private delegate bool efl_canvas_object_key_focus_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_canvas_object_key_focus_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_canvas_object_key_focus_get_api_delegate> efl_canvas_object_key_focus_get_ptr = new Efl.Eo.FunctionWrapper<efl_canvas_object_key_focus_get_api_delegate>(Module, "efl_canvas_object_key_focus_get");
+
+ private static bool key_focus_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_canvas_object_key_focus_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((Object)ws.Target).GetKeyFocus();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_canvas_object_key_focus_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_canvas_object_key_focus_get_delegate efl_canvas_object_key_focus_get_static_delegate;
+
+
+ private delegate void efl_canvas_object_key_focus_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool focus);
+
+
+ public delegate void efl_canvas_object_key_focus_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool focus);
+
+ public static Efl.Eo.FunctionWrapper<efl_canvas_object_key_focus_set_api_delegate> efl_canvas_object_key_focus_set_ptr = new Efl.Eo.FunctionWrapper<efl_canvas_object_key_focus_set_api_delegate>(Module, "efl_canvas_object_key_focus_set");
+
+ private static void key_focus_set(System.IntPtr obj, System.IntPtr pd, bool focus)
+ {
+ Eina.Log.Debug("function efl_canvas_object_key_focus_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Object)ws.Target).SetKeyFocus(focus);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_canvas_object_key_focus_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), focus);
+ }
+ }
+
+ private static efl_canvas_object_key_focus_set_delegate efl_canvas_object_key_focus_set_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_canvas_object_seat_focus_get_delegate(System.IntPtr obj, System.IntPtr pd);
[return: MarshalAs(UnmanagedType.U1)]
public delegate bool efl_canvas_object_seat_focus_get_api_delegate(System.IntPtr obj);
private static efl_gfx_hint_size_max_set_delegate efl_gfx_hint_size_max_set_static_delegate;
+ private delegate Eina.Size2D.NativeStruct efl_gfx_hint_size_restricted_max_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate Eina.Size2D.NativeStruct efl_gfx_hint_size_restricted_max_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_hint_size_restricted_max_get_api_delegate> efl_gfx_hint_size_restricted_max_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_hint_size_restricted_max_get_api_delegate>(Module, "efl_gfx_hint_size_restricted_max_get");
+
+ private static Eina.Size2D.NativeStruct hint_size_restricted_max_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_gfx_hint_size_restricted_max_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Size2D _ret_var = default(Eina.Size2D);
+ try
+ {
+ _ret_var = ((Object)ws.Target).GetHintSizeRestrictedMax();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_gfx_hint_size_restricted_max_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_gfx_hint_size_restricted_max_get_delegate efl_gfx_hint_size_restricted_max_get_static_delegate;
+
+
+ private delegate void efl_gfx_hint_size_restricted_max_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct sz);
+
+
+ public delegate void efl_gfx_hint_size_restricted_max_set_api_delegate(System.IntPtr obj, Eina.Size2D.NativeStruct sz);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_hint_size_restricted_max_set_api_delegate> efl_gfx_hint_size_restricted_max_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_hint_size_restricted_max_set_api_delegate>(Module, "efl_gfx_hint_size_restricted_max_set");
+
+ private static void hint_size_restricted_max_set(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct sz)
+ {
+ Eina.Log.Debug("function efl_gfx_hint_size_restricted_max_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Size2D _in_sz = sz;
+
+ try
+ {
+ ((Object)ws.Target).SetHintSizeRestrictedMax(_in_sz);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_gfx_hint_size_restricted_max_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), sz);
+ }
+ }
+
+ private static efl_gfx_hint_size_restricted_max_set_delegate efl_gfx_hint_size_restricted_max_set_static_delegate;
+
+
+ private delegate Eina.Size2D.NativeStruct efl_gfx_hint_size_combined_max_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate Eina.Size2D.NativeStruct efl_gfx_hint_size_combined_max_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_hint_size_combined_max_get_api_delegate> efl_gfx_hint_size_combined_max_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_hint_size_combined_max_get_api_delegate>(Module, "efl_gfx_hint_size_combined_max_get");
+
+ private static Eina.Size2D.NativeStruct hint_size_combined_max_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_gfx_hint_size_combined_max_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Size2D _ret_var = default(Eina.Size2D);
+ try
+ {
+ _ret_var = ((Object)ws.Target).GetHintSizeCombinedMax();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_gfx_hint_size_combined_max_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_gfx_hint_size_combined_max_get_delegate efl_gfx_hint_size_combined_max_get_static_delegate;
+
+
private delegate Eina.Size2D.NativeStruct efl_gfx_hint_size_min_get_delegate(System.IntPtr obj, System.IntPtr pd);
private static efl_input_seat_event_filter_set_delegate efl_input_seat_event_filter_set_static_delegate;
- [return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_ui_mirrored_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- [return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_ui_mirrored_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_mirrored_get_api_delegate> efl_ui_mirrored_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_mirrored_get_api_delegate>(Module, "efl_ui_mirrored_get");
-
- private static bool mirrored_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_mirrored_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- bool _ret_var = default(bool);
- try
- {
- _ret_var = ((Object)ws.Target).GetMirrored();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_mirrored_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_mirrored_get_delegate efl_ui_mirrored_get_static_delegate;
-
-
- private delegate void efl_ui_mirrored_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool rtl);
-
-
- public delegate void efl_ui_mirrored_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool rtl);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_mirrored_set_api_delegate> efl_ui_mirrored_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_mirrored_set_api_delegate>(Module, "efl_ui_mirrored_set");
-
- private static void mirrored_set(System.IntPtr obj, System.IntPtr pd, bool rtl)
- {
- Eina.Log.Debug("function efl_ui_mirrored_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Object)ws.Target).SetMirrored(rtl);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_mirrored_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), rtl);
- }
- }
-
- private static efl_ui_mirrored_set_delegate efl_ui_mirrored_set_static_delegate;
+ #pragma warning restore CA1707, CS1591, SA1300, SA1600
- [return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_ui_mirrored_automatic_get_delegate(System.IntPtr obj, System.IntPtr pd);
+}
+}
+}
- [return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_ui_mirrored_automatic_get_api_delegate(System.IntPtr obj);
+}
- public static Efl.Eo.FunctionWrapper<efl_ui_mirrored_automatic_get_api_delegate> efl_ui_mirrored_automatic_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_mirrored_automatic_get_api_delegate>(Module, "efl_ui_mirrored_automatic_get");
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasObject_ExtensionMethods {
+
+ public static Efl.BindableProperty<Efl.Input.ObjectPointerMode> PointerMode<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Object, T>magic = null) where T : Efl.Canvas.Object {
+ return new Efl.BindableProperty<Efl.Input.ObjectPointerMode>("pointer_mode", fac);
+ }
- private static bool mirrored_automatic_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_mirrored_automatic_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- bool _ret_var = default(bool);
- try
- {
- _ret_var = ((Object)ws.Target).GetMirroredAutomatic();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
+ public static Efl.BindableProperty<Efl.Gfx.RenderOp> RenderOp<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Object, T>magic = null) where T : Efl.Canvas.Object {
+ return new Efl.BindableProperty<Efl.Gfx.RenderOp>("render_op", fac);
+ }
- return _ret_var;
+ public static Efl.BindableProperty<Efl.Canvas.Object> Clipper<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Object, T>magic = null) where T : Efl.Canvas.Object {
+ return new Efl.BindableProperty<Efl.Canvas.Object>("clipper", fac);
+ }
- }
- else
- {
- return efl_ui_mirrored_automatic_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
+ public static Efl.BindableProperty<bool> HasFixedSize<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Object, T>magic = null) where T : Efl.Canvas.Object {
+ return new Efl.BindableProperty<bool>("has_fixed_size", fac);
+ }
- private static efl_ui_mirrored_automatic_get_delegate efl_ui_mirrored_automatic_get_static_delegate;
+ public static Efl.BindableProperty<bool> RepeatEvents<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Object, T>magic = null) where T : Efl.Canvas.Object {
+ return new Efl.BindableProperty<bool>("repeat_events", fac);
+ }
-
- private delegate void efl_ui_mirrored_automatic_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool automatic);
+ public static Efl.BindableProperty<bool> KeyFocus<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Object, T>magic = null) where T : Efl.Canvas.Object {
+ return new Efl.BindableProperty<bool>("key_focus", fac);
+ }
-
- public delegate void efl_ui_mirrored_automatic_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool automatic);
+
+ public static Efl.BindableProperty<bool> PreciseIsInside<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Object, T>magic = null) where T : Efl.Canvas.Object {
+ return new Efl.BindableProperty<bool>("precise_is_inside", fac);
+ }
- public static Efl.Eo.FunctionWrapper<efl_ui_mirrored_automatic_set_api_delegate> efl_ui_mirrored_automatic_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_mirrored_automatic_set_api_delegate>(Module, "efl_ui_mirrored_automatic_set");
+ public static Efl.BindableProperty<bool> PropagateEvents<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Object, T>magic = null) where T : Efl.Canvas.Object {
+ return new Efl.BindableProperty<bool>("propagate_events", fac);
+ }
- private static void mirrored_automatic_set(System.IntPtr obj, System.IntPtr pd, bool automatic)
- {
- Eina.Log.Debug("function efl_ui_mirrored_automatic_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Object)ws.Target).SetMirroredAutomatic(automatic);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
+ public static Efl.BindableProperty<bool> PassEvents<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Object, T>magic = null) where T : Efl.Canvas.Object {
+ return new Efl.BindableProperty<bool>("pass_events", fac);
+ }
-
- }
- else
- {
- efl_ui_mirrored_automatic_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), automatic);
- }
- }
+ public static Efl.BindableProperty<bool> AntiAlias<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Object, T>magic = null) where T : Efl.Canvas.Object {
+ return new Efl.BindableProperty<bool>("anti_alias", fac);
+ }
- private static efl_ui_mirrored_automatic_set_delegate efl_ui_mirrored_automatic_set_static_delegate;
+
+
+ public static Efl.BindableProperty<Efl.TextBidirectionalType> ParagraphDirection<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Object, T>magic = null) where T : Efl.Canvas.Object {
+ return new Efl.BindableProperty<Efl.TextBidirectionalType>("paragraph_direction", fac);
+ }
- [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
- private delegate System.String efl_ui_language_get_delegate(System.IntPtr obj, System.IntPtr pd);
+ public static Efl.BindableProperty<bool> NoRender<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Object, T>magic = null) where T : Efl.Canvas.Object {
+ return new Efl.BindableProperty<bool>("no_render", fac);
+ }
- [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
- public delegate System.String efl_ui_language_get_api_delegate(System.IntPtr obj);
+
+
+
+ public static Efl.BindableProperty<System.String> ColorCode<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Object, T>magic = null) where T : Efl.Canvas.Object {
+ return new Efl.BindableProperty<System.String>("color_code", fac);
+ }
- public static Efl.Eo.FunctionWrapper<efl_ui_language_get_api_delegate> efl_ui_language_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_language_get_api_delegate>(Module, "efl_ui_language_get");
+ public static Efl.BindableProperty<Eina.Position2D> Position<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Object, T>magic = null) where T : Efl.Canvas.Object {
+ return new Efl.BindableProperty<Eina.Position2D>("position", fac);
+ }
- private static System.String language_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_language_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- System.String _ret_var = default(System.String);
- try
- {
- _ret_var = ((Object)ws.Target).GetLanguage();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
+ public static Efl.BindableProperty<Eina.Size2D> Size<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Object, T>magic = null) where T : Efl.Canvas.Object {
+ return new Efl.BindableProperty<Eina.Size2D>("size", fac);
+ }
- return _ret_var;
+ public static Efl.BindableProperty<Eina.Rect> Geometry<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Object, T>magic = null) where T : Efl.Canvas.Object {
+ return new Efl.BindableProperty<Eina.Rect>("geometry", fac);
+ }
- }
- else
- {
- return efl_ui_language_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
+ public static Efl.BindableProperty<bool> Visible<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Object, T>magic = null) where T : Efl.Canvas.Object {
+ return new Efl.BindableProperty<bool>("visible", fac);
+ }
- private static efl_ui_language_get_delegate efl_ui_language_get_static_delegate;
+ public static Efl.BindableProperty<double> Scale<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Object, T>magic = null) where T : Efl.Canvas.Object {
+ return new Efl.BindableProperty<double>("scale", fac);
+ }
-
- private delegate void efl_ui_language_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String language);
+
+ public static Efl.BindableProperty<Eina.Size2D> HintSizeMax<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Object, T>magic = null) where T : Efl.Canvas.Object {
+ return new Efl.BindableProperty<Eina.Size2D>("hint_size_max", fac);
+ }
-
- public delegate void efl_ui_language_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String language);
+ public static Efl.BindableProperty<Eina.Size2D> HintSizeRestrictedMax<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Object, T>magic = null) where T : Efl.Canvas.Object {
+ return new Efl.BindableProperty<Eina.Size2D>("hint_size_restricted_max", fac);
+ }
- public static Efl.Eo.FunctionWrapper<efl_ui_language_set_api_delegate> efl_ui_language_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_language_set_api_delegate>(Module, "efl_ui_language_set");
+
+ public static Efl.BindableProperty<Eina.Size2D> HintSizeMin<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Object, T>magic = null) where T : Efl.Canvas.Object {
+ return new Efl.BindableProperty<Eina.Size2D>("hint_size_min", fac);
+ }
- private static void language_set(System.IntPtr obj, System.IntPtr pd, System.String language)
- {
- Eina.Log.Debug("function efl_ui_language_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Object)ws.Target).SetLanguage(language);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
+ public static Efl.BindableProperty<Eina.Size2D> HintSizeRestrictedMin<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Object, T>magic = null) where T : Efl.Canvas.Object {
+ return new Efl.BindableProperty<Eina.Size2D>("hint_size_restricted_min", fac);
+ }
-
- }
- else
- {
- efl_ui_language_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), language);
- }
- }
+
+
+
+
+
+ public static Efl.BindableProperty<int> MappingPointCount<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Object, T>magic = null) where T : Efl.Canvas.Object {
+ return new Efl.BindableProperty<int>("mapping_point_count", fac);
+ }
- private static efl_ui_language_set_delegate efl_ui_language_set_static_delegate;
+
+ public static Efl.BindableProperty<bool> MappingSmooth<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Object, T>magic = null) where T : Efl.Canvas.Object {
+ return new Efl.BindableProperty<bool>("mapping_smooth", fac);
+ }
- #pragma warning restore CA1707, CS1591, SA1300, SA1600
+ public static Efl.BindableProperty<bool> MappingAlpha<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Object, T>magic = null) where T : Efl.Canvas.Object {
+ return new Efl.BindableProperty<bool>("mapping_alpha", fac);
+ }
-}
-}
-}
+
+
+
+ public static Efl.BindableProperty<short> Layer<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Object, T>magic = null) where T : Efl.Canvas.Object {
+ return new Efl.BindableProperty<short>("layer", fac);
+ }
+
+
+
}
-
+#pragma warning restore CS1591
+#endif
namespace Efl {
namespace Canvas {
[Efl.Eo.BindingEntity]
public struct ObjectAnimationEvent
{
- ///<summary>Placeholder field</summary>
+ /// <summary>Placeholder field</summary>
public IntPtr field;
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 ObjectAnimationEvent(IntPtr ptr)
{
var tmp = (ObjectAnimationEvent.NativeStruct)Marshal.PtrToStructure(ptr, typeof(ObjectAnimationEvent.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct ObjectAnimationEvent.</summary>
+ /// <summary>Internal wrapper for struct ObjectAnimationEvent.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
internal IntPtr field;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator ObjectAnimationEvent.NativeStruct(ObjectAnimationEvent _external_struct)
{
var _internal_struct = new ObjectAnimationEvent.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator ObjectAnimationEvent(ObjectAnimationEvent.NativeStruct _internal_struct)
{
var _external_struct = new ObjectAnimationEvent();
public struct EventAnimatorTick
{
/// <summary>Area of the canvas that will be pushed to screen.</summary>
+ /// <value>A rectangle in pixel dimensions.</value>
public Eina.Rect Update_area;
- ///<summary>Constructor for EventAnimatorTick.</summary>
+ /// <summary>Constructor for EventAnimatorTick.</summary>
+ /// <param name="Update_area">Area of the canvas that will be pushed to screen.</param>;
public EventAnimatorTick(
Eina.Rect Update_area = default(Eina.Rect) )
{
this.Update_area = Update_area;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 EventAnimatorTick(IntPtr ptr)
{
var tmp = (EventAnimatorTick.NativeStruct)Marshal.PtrToStructure(ptr, typeof(EventAnimatorTick.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct EventAnimatorTick.</summary>
+ /// <summary>Internal wrapper for struct EventAnimatorTick.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
public Eina.Rect.NativeStruct Update_area;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator EventAnimatorTick.NativeStruct(EventAnimatorTick _external_struct)
{
var _internal_struct = new EventAnimatorTick.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator EventAnimatorTick(EventAnimatorTick.NativeStruct _internal_struct)
{
var _external_struct = new EventAnimatorTick();
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// A return value of <c>true</c> indicates the mouse is logically inside the canvas, and <c>false</c> implies it is logically outside the canvas.
///
/// A canvas begins with the mouse being assumed outside (<c>false</c>).
-/// (Since EFL 1.22)</summary>
+/// (Since EFL 1.22)
+///
+/// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <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>
bool GetPointerInside(Efl.Input.Device seat);
}
/// <summary>Efl Canvas Pointer interface
/// (Since EFL 1.22)</summary>
-sealed public class IPointerConcrete :
+sealed public class IPointerConcrete :
Efl.Eo.EoWrapper
, IPointer
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IPointerConcrete(ConstructingHandle ch) : base(ch)
{
/// A return value of <c>true</c> indicates the mouse is logically inside the canvas, and <c>false</c> implies it is logically outside the canvas.
///
/// A canvas begins with the mouse being assumed outside (<c>false</c>).
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <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>
public bool GetPointerInside(Efl.Input.Device seat) {
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasIPointerConcrete_ExtensionMethods {
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Canvas {
/// <summary>Low-level polygon object</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Canvas.Polygon.NativeMethods]
[Efl.Eo.BindingEntity]
public class Polygon : Efl.Canvas.Object
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Polygon(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasPolygon_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Canvas.Proxy.NativeMethods]
[Efl.Eo.BindingEntity]
public class Proxy : Efl.Canvas.ImageInternal
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Proxy(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasProxy_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Canvas.Object> Source<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Proxy, T>magic = null) where T : Efl.Canvas.Proxy {
+ return new Efl.BindableProperty<Efl.Canvas.Object>("source", fac);
+ }
+
+ public static Efl.BindableProperty<bool> SourceClip<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Proxy, T>magic = null) where T : Efl.Canvas.Proxy {
+ return new Efl.BindableProperty<bool>("source_clip", fac);
+ }
+
+ public static Efl.BindableProperty<bool> SourceEvents<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Proxy, T>magic = null) where T : Efl.Canvas.Proxy {
+ return new Efl.BindableProperty<bool>("source_events", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Canvas {
/// <summary>Evas canvas rectangle class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Canvas.Rectangle.NativeMethods]
[Efl.Eo.BindingEntity]
public class Rectangle : Efl.Canvas.Object
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Rectangle(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasRectangle_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <returns><c>true</c> if currently calculating group objects.</returns>
bool GetGroupObjectsCalculating();
/// <summary>Get a device by name.
-/// (Since EFL 1.22)</summary>
+/// (Since EFL 1.22)
+///
+/// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="name">The name of the seat to find.</param>
/// <returns>The device or seat, <c>null</c> if not found.</returns>
Efl.Input.Device GetDevice(System.String name);
/// <summary>Get a seat by id.
-/// (Since EFL 1.22)</summary>
+/// (Since EFL 1.22)
+///
+/// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="id">The id of the seat to find.</param>
/// <returns>The seat or <c>null</c> if not found.</returns>
Efl.Input.Device GetSeat(int id);
/// <summary>Get the default seat.
-/// (Since EFL 1.22)</summary>
+/// (Since EFL 1.22)
+///
+/// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <returns>The default seat or <c>null</c> if one does not exist.</returns>
Efl.Input.Device GetSeatDefault();
/// <summary>This function returns the current known pointer coordinates
/// This function returns the current position of the main input pointer (mouse, pen, etc...).
-/// (Since EFL 1.22)</summary>
+/// (Since EFL 1.22)
+///
+/// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="seat">The seat, or <c>null</c> to use the default.</param>
/// <param name="pos">The pointer position in pixels.</param>
/// <returns><c>true</c> if a pointer exists for the given seat, otherwise <c>false</c>.</returns>
Efl.Gfx.IEntity GetObjectTopInRectangle(Eina.Rect rect, bool include_pass_events_objects, bool include_hidden_objects);
/// <summary>Iterate over the available input device seats for the canvas.
/// A "seat" is the term used for a group of input devices, typically including a pointer and a keyboard. A seat object is the parent of the individual input devices.
-/// (Since EFL 1.22)</summary>
+/// (Since EFL 1.22)
+///
+/// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <returns>An iterator over the attached seats.</returns>
Eina.Iterator<Efl.Input.Device> Seats();
/// <summary>Called when scene got focus
event EventHandler SceneFocusOutEvt;
/// <summary>Called when object got focus
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Canvas.ISceneObjectFocusInEvt_Args"/></value>
event EventHandler<Efl.Canvas.ISceneObjectFocusInEvt_Args> ObjectFocusInEvt;
/// <summary>Called when object lost focus
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Canvas.ISceneObjectFocusOutEvt_Args"/></value>
event EventHandler<Efl.Canvas.ISceneObjectFocusOutEvt_Args> ObjectFocusOutEvt;
/// <summary>Called when pre render happens
/// (Since EFL 1.22)</summary>
event EventHandler RenderPreEvt;
/// <summary>Called when post render happens
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Canvas.ISceneRenderPostEvt_Args"/></value>
event EventHandler<Efl.Canvas.ISceneRenderPostEvt_Args> RenderPostEvt;
/// <summary>Called when input device changed
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Canvas.ISceneDeviceChangedEvt_Args"/></value>
event EventHandler<Efl.Canvas.ISceneDeviceChangedEvt_Args> DeviceChangedEvt;
/// <summary>Called when input device was added
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Canvas.ISceneDeviceAddedEvt_Args"/></value>
event EventHandler<Efl.Canvas.ISceneDeviceAddedEvt_Args> DeviceAddedEvt;
/// <summary>Called when input device was removed
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Canvas.ISceneDeviceRemovedEvt_Args"/></value>
event EventHandler<Efl.Canvas.ISceneDeviceRemovedEvt_Args> DeviceRemovedEvt;
+ /// <summary>Get the maximum image size the canvas can possibly handle.
+ /// This function returns the largest image or surface size that the canvas can handle in pixels, and if there is one, returns <c>true</c>. It returns <c>false</c> if no extra constraint on maximum image size exists.
+ ///
+ /// The default limit is 65535x65535.
+ /// (Since EFL 1.22)</summary>
+ /// <value><c>true</c> on success, <c>false</c> otherwise</value>
+ Eina.Size2D ImageMaxSize {
+ get;
+ }
/// <summary>Get if the canvas is currently calculating group objects.
/// (Since EFL 1.22)</summary>
/// <value><c>true</c> if currently calculating group objects.</value>
bool GroupObjectsCalculating {
- get ;
+ get;
}
/// <summary>Get the default seat attached to this canvas.
/// A canvas may have exactly one default seat.
///
/// See also <see cref="Efl.Canvas.IScene.GetDevice"/> to find a seat by name. See also <see cref="Efl.Canvas.IScene.GetSeat"/> to find a seat by id.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>The default seat or <c>null</c> if one does not exist.</value>
Efl.Input.Device SeatDefault {
- get ;
+ get;
}
}
-///<summary>Event argument wrapper for event <see cref="Efl.Canvas.IScene.ObjectFocusInEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called when object got focus</value>
public Efl.Input.Focus arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Canvas.IScene.ObjectFocusOutEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called when object lost focus</value>
public Efl.Input.Focus arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Canvas.IScene.RenderPostEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called when post render happens</value>
public Efl.Gfx.Event.RenderPost arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Canvas.IScene.DeviceChangedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called when input device changed</value>
public Efl.Input.Device arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Canvas.IScene.DeviceAddedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called when input device was added</value>
public Efl.Input.Device arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Canvas.IScene.DeviceRemovedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called when input device was removed</value>
public Efl.Input.Device arg { get; set; }
}
/// <summary>Interface containing basic canvas-related methods and events.
/// (Since EFL 1.22)</summary>
-sealed public class ISceneConcrete :
+sealed public class ISceneConcrete :
Efl.Eo.EoWrapper
, IScene
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private ISceneConcrete(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event SceneFocusInEvt.</summary>
+ /// <summary>Method to raise event SceneFocusInEvt.</summary>
public void OnSceneFocusInEvt(EventArgs e)
{
var key = "_EFL_CANVAS_SCENE_EVENT_SCENE_FOCUS_IN";
}
}
}
- ///<summary>Method to raise event SceneFocusOutEvt.</summary>
+ /// <summary>Method to raise event SceneFocusOutEvt.</summary>
public void OnSceneFocusOutEvt(EventArgs e)
{
var key = "_EFL_CANVAS_SCENE_EVENT_SCENE_FOCUS_OUT";
}
/// <summary>Called when object got focus
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Canvas.ISceneObjectFocusInEvt_Args"/></value>
public event EventHandler<Efl.Canvas.ISceneObjectFocusInEvt_Args> ObjectFocusInEvt
{
add
}
}
}
- ///<summary>Method to raise event ObjectFocusInEvt.</summary>
+ /// <summary>Method to raise event ObjectFocusInEvt.</summary>
public void OnObjectFocusInEvt(Efl.Canvas.ISceneObjectFocusInEvt_Args e)
{
var key = "_EFL_CANVAS_SCENE_EVENT_OBJECT_FOCUS_IN";
}
/// <summary>Called when object lost focus
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Canvas.ISceneObjectFocusOutEvt_Args"/></value>
public event EventHandler<Efl.Canvas.ISceneObjectFocusOutEvt_Args> ObjectFocusOutEvt
{
add
}
}
}
- ///<summary>Method to raise event ObjectFocusOutEvt.</summary>
+ /// <summary>Method to raise event ObjectFocusOutEvt.</summary>
public void OnObjectFocusOutEvt(Efl.Canvas.ISceneObjectFocusOutEvt_Args e)
{
var key = "_EFL_CANVAS_SCENE_EVENT_OBJECT_FOCUS_OUT";
}
}
}
- ///<summary>Method to raise event RenderPreEvt.</summary>
+ /// <summary>Method to raise event RenderPreEvt.</summary>
public void OnRenderPreEvt(EventArgs e)
{
var key = "_EFL_CANVAS_SCENE_EVENT_RENDER_PRE";
}
/// <summary>Called when post render happens
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Canvas.ISceneRenderPostEvt_Args"/></value>
public event EventHandler<Efl.Canvas.ISceneRenderPostEvt_Args> RenderPostEvt
{
add
}
}
}
- ///<summary>Method to raise event RenderPostEvt.</summary>
+ /// <summary>Method to raise event RenderPostEvt.</summary>
public void OnRenderPostEvt(Efl.Canvas.ISceneRenderPostEvt_Args e)
{
var key = "_EFL_CANVAS_SCENE_EVENT_RENDER_POST";
}
/// <summary>Called when input device changed
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Canvas.ISceneDeviceChangedEvt_Args"/></value>
public event EventHandler<Efl.Canvas.ISceneDeviceChangedEvt_Args> DeviceChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event DeviceChangedEvt.</summary>
+ /// <summary>Method to raise event DeviceChangedEvt.</summary>
public void OnDeviceChangedEvt(Efl.Canvas.ISceneDeviceChangedEvt_Args e)
{
var key = "_EFL_CANVAS_SCENE_EVENT_DEVICE_CHANGED";
}
/// <summary>Called when input device was added
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Canvas.ISceneDeviceAddedEvt_Args"/></value>
public event EventHandler<Efl.Canvas.ISceneDeviceAddedEvt_Args> DeviceAddedEvt
{
add
}
}
}
- ///<summary>Method to raise event DeviceAddedEvt.</summary>
+ /// <summary>Method to raise event DeviceAddedEvt.</summary>
public void OnDeviceAddedEvt(Efl.Canvas.ISceneDeviceAddedEvt_Args e)
{
var key = "_EFL_CANVAS_SCENE_EVENT_DEVICE_ADDED";
}
/// <summary>Called when input device was removed
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Canvas.ISceneDeviceRemovedEvt_Args"/></value>
public event EventHandler<Efl.Canvas.ISceneDeviceRemovedEvt_Args> DeviceRemovedEvt
{
add
}
}
}
- ///<summary>Method to raise event DeviceRemovedEvt.</summary>
+ /// <summary>Method to raise event DeviceRemovedEvt.</summary>
public void OnDeviceRemovedEvt(Efl.Canvas.ISceneDeviceRemovedEvt_Args e)
{
var key = "_EFL_CANVAS_SCENE_EVENT_DEVICE_REMOVED";
return _ret_var;
}
/// <summary>Get a device by name.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="name">The name of the seat to find.</param>
/// <returns>The device or seat, <c>null</c> if not found.</returns>
public Efl.Input.Device GetDevice(System.String name) {
return _ret_var;
}
/// <summary>Get a seat by id.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="id">The id of the seat to find.</param>
/// <returns>The seat or <c>null</c> if not found.</returns>
public Efl.Input.Device GetSeat(int id) {
return _ret_var;
}
/// <summary>Get the default seat.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <returns>The default seat or <c>null</c> if one does not exist.</returns>
public Efl.Input.Device GetSeatDefault() {
var _ret_var = Efl.Canvas.ISceneConcrete.NativeMethods.efl_canvas_scene_seat_default_get_ptr.Value.Delegate(this.NativeHandle);
}
/// <summary>This function returns the current known pointer coordinates
/// This function returns the current position of the main input pointer (mouse, pen, etc...).
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="seat">The seat, or <c>null</c> to use the default.</param>
/// <param name="pos">The pointer position in pixels.</param>
/// <returns><c>true</c> if a pointer exists for the given seat, otherwise <c>false</c>.</returns>
}
/// <summary>Iterate over the available input device seats for the canvas.
/// A "seat" is the term used for a group of input devices, typically including a pointer and a keyboard. A seat object is the parent of the individual input devices.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <returns>An iterator over the attached seats.</returns>
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);
}
+ /// <summary>Get the maximum image size the canvas can possibly handle.
+ /// This function returns the largest image or surface size that the canvas can handle in pixels, and if there is one, returns <c>true</c>. It returns <c>false</c> if no extra constraint on maximum image size exists.
+ ///
+ /// The default limit is 65535x65535.
+ /// (Since EFL 1.22)</summary>
+ /// <value><c>true</c> on success, <c>false</c> otherwise</value>
+ public Eina.Size2D ImageMaxSize {
+ get {
+ Eina.Size2D _out_max = default(Eina.Size2D);
+ GetImageMaxSize(out _out_max);
+ return (_out_max);
+ }
+ }
/// <summary>Get if the canvas is currently calculating group objects.
/// (Since EFL 1.22)</summary>
/// <value><c>true</c> if currently calculating group objects.</value>
/// A canvas may have exactly one default seat.
///
/// See also <see cref="Efl.Canvas.IScene.GetDevice"/> to find a seat by name. See also <see cref="Efl.Canvas.IScene.GetSeat"/> to find a seat by id.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>The default seat or <c>null</c> if one does not exist.</value>
public Efl.Input.Device SeatDefault {
get { return GetSeatDefault(); }
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasISceneConcrete_ExtensionMethods {
+
+
+
+
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Canvas.Snapshot.NativeMethods]
[Efl.Eo.BindingEntity]
public class Snapshot : Efl.Canvas.ImageInternal
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Snapshot(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasSnapshot_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Canvas.Surface.NativeMethods]
[Efl.Eo.BindingEntity]
public abstract class Surface : Efl.Canvas.ImageInternal
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Surface(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasSurface_ExtensionMethods {
+ public static Efl.BindableProperty<System.IntPtr> NativeBuffer<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Surface, T>magic = null) where T : Efl.Canvas.Surface {
+ return new Efl.BindableProperty<System.IntPtr>("native_buffer", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Canvas {
/// <summary>Native Tizen Buffer Manager surface for Efl canvas</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Canvas.SurfaceTbm.NativeMethods]
[Efl.Eo.BindingEntity]
public class SurfaceTbm : Efl.Canvas.Surface
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected SurfaceTbm(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasSurfaceTbm_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Canvas {
/// <summary>Native Wayland surface for Efl canvas</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Canvas.SurfaceWayland.NativeMethods]
[Efl.Eo.BindingEntity]
public class SurfaceWayland : Efl.Canvas.Surface
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected SurfaceWayland(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasSurfaceWayland_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Canvas {
/// <summary>Native X11 surface for Efl canvas</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Canvas.SurfaceX11.NativeMethods]
[Efl.Eo.BindingEntity]
public class SurfaceX11 : Efl.Canvas.Surface
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected SurfaceX11(ConstructingHandle ch) : base(ch)
{
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
+ /// <summary>This is a helper for <see cref="Efl.Canvas.Surface.NativeBuffer"/>.</summary>
+ /// <value>X11 Visual for this Pixmap.</value>
+ public (System.IntPtr, uint) Pixmap {
+ get {
+ System.IntPtr _out_visual = default(System.IntPtr);
+ uint _out_pixmap = default(uint);
+ GetPixmap(out _out_visual,out _out_pixmap);
+ return (_out_visual,_out_pixmap);
+ }
+ set { SetPixmap( value.Item1, value.Item2); }
+ }
private static IntPtr GetEflClassStatic()
{
return Efl.Canvas.SurfaceX11.efl_canvas_surface_x11_class_get();
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasSurfaceX11_ExtensionMethods {
+
+}
+#pragma warning restore CS1591
+#endif
namespace Efl {
namespace Canvas {
public System.IntPtr Visual;
/// <summary>X11 Pixmap ID.</summary>
public uint Pixmap;
- ///<summary>Constructor for SurfaceX11Pixmap.</summary>
+ /// <summary>Constructor for SurfaceX11Pixmap.</summary>
+ /// <param name="Visual">X11 Visual for this Pixmap.</param>;
+ /// <param name="Pixmap">X11 Pixmap ID.</param>;
public SurfaceX11Pixmap(
System.IntPtr Visual = default(System.IntPtr),
uint Pixmap = default(uint) )
this.Pixmap = Pixmap;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 SurfaceX11Pixmap(IntPtr ptr)
{
var tmp = (SurfaceX11Pixmap.NativeStruct)Marshal.PtrToStructure(ptr, typeof(SurfaceX11Pixmap.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct SurfaceX11Pixmap.</summary>
+ /// <summary>Internal wrapper for struct SurfaceX11Pixmap.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
public System.IntPtr Visual;
public uint Pixmap;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator SurfaceX11Pixmap.NativeStruct(SurfaceX11Pixmap _external_struct)
{
var _internal_struct = new SurfaceX11Pixmap.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator SurfaceX11Pixmap(SurfaceX11Pixmap.NativeStruct _internal_struct)
{
var _external_struct = new SurfaceX11Pixmap();
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Canvas {
/// <summary>Efl canvas text class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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
+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, Efl.Ui.II18n
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Text(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event CursorChangedEvt.</summary>
+ /// <summary>Method to raise event CursorChangedEvt.</summary>
public void OnCursorChangedEvt(EventArgs e)
{
var key = "_EFL_CANVAS_TEXT_EVENT_CURSOR_CHANGED";
}
}
}
- ///<summary>Method to raise event ChangedEvt.</summary>
+ /// <summary>Method to raise event ChangedEvt.</summary>
public void OnChangedEvt(EventArgs e)
{
var key = "_EFL_CANVAS_TEXT_EVENT_CHANGED";
}
}
}
- ///<summary>Method to raise event StyleInsetsChangedEvt.</summary>
+ /// <summary>Method to raise event StyleInsetsChangedEvt.</summary>
public void OnStyleInsetsChangedEvt(EventArgs e)
{
var key = "_EFL_CANVAS_TEXT_EVENT_STYLE_INSETS_CHANGED";
/// <summary>Set the font family, filename and size for a given text object.
/// This function allows the font name and size of a text object to be set. The font string has to follow fontconfig's convention for naming fonts, as it's the underlying library used to query system fonts by Evas (see the fc-list command's output, on your system, to get an idea). Alternatively, youe can use the full path to a font file.
///
+ /// To skip changing font family pass null as font family. To skip changing font size pass 0 as font size.
+ ///
/// See also <see cref="Efl.ITextFont.GetFont"/>, <see cref="Efl.ITextFont.GetFontSource"/>.</summary>
/// <param name="font">The font family name or filename.</param>
/// <param name="size">The font size, in points.</param>
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 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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <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>
+ /// <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((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.
+ /// If enabled, the system or application configuration will be used to set the value of <see cref="Efl.Ui.II18n.Mirrored"/>.
+ ///
+ /// 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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Whether the property <see cref="Efl.Ui.II18n.Mirrored"/> should be set automatically.
+ /// If enabled, the system or application configuration will be used to set the value of <see cref="Efl.Ui.II18n.Mirrored"/>.
+ ///
+ /// 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((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((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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),language);
+ Eina.Error.RaiseIfUnhandledException();
+ }
/// <summary>Async wrapper for <see cref="AsyncLayout" />.</summary>
/// <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 bool IsEmpty {
get { return GetIsEmpty(); }
}
+ /// <summary>Gets the left, right, top and bottom insets of the text.
+ /// The inset is any applied padding on the text.</summary>
+ public (int, int, int, int) StyleInsets {
+ get {
+ int _out_l = default(int);
+ int _out_r = default(int);
+ int _out_t = default(int);
+ int _out_b = default(int);
+ GetStyleInsets(out _out_l,out _out_r,out _out_t,out _out_b);
+ return (_out_l,_out_r,_out_t,_out_b);
+ }
+ }
/// <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>
/// <value>A null terminated string of delimiters, e.g ",|" or <c>null</c> if empty</value>
public System.String BidiDelimiters {
get { return GetLegacyNewline(); }
set { SetLegacyNewline(value); }
}
+ /// <summary>The formatted width and height.
+ /// This calculates the actual size after restricting the textblock to the current size of the object.
+ ///
+ /// The main difference between this and <see cref="Efl.Canvas.Text.GetSizeNative"/> is that the "native" function does not wrapping into account it just calculates the real width of the object if it was placed on an infinite canvas, while this function gives the size after wrapping according to the size restrictions of the object.
+ ///
+ /// For example for a textblock containing the text: "You shall not pass!" with no margins or padding and assuming a monospace font and a size of 7x10 char widths (for simplicity) has a native size of 19x1 and a formatted size of 5x4.</summary>
+ public (int, int) SizeFormatted {
+ get {
+ int _out_w = default(int);
+ int _out_h = default(int);
+ GetSizeFormatted(out _out_w,out _out_h);
+ return (_out_w,_out_h);
+ }
+ }
+ /// <summary>The native width and height.
+ /// This calculates the actual size without taking account the current size of the object.
+ ///
+ /// The main difference between this and <see cref="Efl.Canvas.Text.GetSizeFormatted"/> is that the "native" function does not take wrapping into account it just calculates the real width of the object if it was placed on an infinite canvas, while the "formatted" function gives the size after wrapping text according to the size restrictions of the object.
+ ///
+ /// For example for a textblock containing the text: "You shall not pass!" with no margins or padding and assuming a monospace font and a size of 7x10 char widths (for simplicity) has a native size of 19x1 and a formatted size of 5x4.</summary>
+ public (int, int) SizeNative {
+ get {
+ int _out_w = default(int);
+ int _out_h = default(int);
+ GetSizeNative(out _out_w,out _out_h);
+ return (_out_w,_out_h);
+ }
+ }
+ /// <summary>Retrieve the font family and size in use on a given text object.
+ /// This function allows the font name and size of a text object to be queried. Remember that the font name string is still owned by Evas and should not have free() called on it by the caller of the function.
+ ///
+ /// See also <see cref="Efl.ITextFont.GetFont"/>.</summary>
+ /// <value>The font family name or filename.</value>
+ public (System.String, Efl.Font.Size) Font {
+ get {
+ System.String _out_font = default(System.String);
+ Efl.Font.Size _out_size = default(Efl.Font.Size);
+ GetFont(out _out_font,out _out_size);
+ return (_out_font,_out_size);
+ }
+ set { SetFont( value.Item1, value.Item2); }
+ }
/// <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>
/// <value>The font file's path.</value>
get { return GetMarkup(); }
set { SetMarkup(value); }
}
+ /// <summary>Color of text, excluding style</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) NormalColor {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetNormalColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetNormalColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Enable or disable backing type</summary>
/// <value>Backing type</value>
public Efl.TextStyleBackingType BackingType {
get { return GetBackingType(); }
set { SetBackingType(value); }
}
+ /// <summary>Backing color</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) BackingColor {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetBackingColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetBackingColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Sets an underline style on the text</summary>
/// <value>Underline type</value>
public Efl.TextStyleUnderlineType UnderlineType {
get { return GetUnderlineType(); }
set { SetUnderlineType(value); }
}
+ /// <summary>Color of normal underline style</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) UnderlineColor {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetUnderlineColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetUnderlineColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Height of underline style</summary>
/// <value>Height</value>
public double UnderlineHeight {
get { return GetUnderlineHeight(); }
set { SetUnderlineHeight(value); }
}
+ /// <summary>Color of dashed underline style</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) UnderlineDashedColor {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetUnderlineDashedColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetUnderlineDashedColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Width of dashed underline style</summary>
/// <value>Width</value>
public int UnderlineDashedWidth {
get { return GetUnderlineDashedGap(); }
set { SetUnderlineDashedGap(value); }
}
+ /// <summary>Color of underline2 style</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) Underline2Color {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetUnderline2Color(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetUnderline2Color( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Type of strikethrough style</summary>
/// <value>Strikethrough type</value>
public Efl.TextStyleStrikethroughType StrikethroughType {
get { return GetStrikethroughType(); }
set { SetStrikethroughType(value); }
}
+ /// <summary>Color of strikethrough_style</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) StrikethroughColor {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetStrikethroughColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetStrikethroughColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Type of effect used for the displayed text</summary>
/// <value>Effect type</value>
public Efl.TextStyleEffectType EffectType {
get { return GetEffectType(); }
set { SetEffectType(value); }
}
+ /// <summary>Color of outline effect</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) OutlineColor {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetOutlineColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetOutlineColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Direction of shadow effect</summary>
/// <value>Shadow direction</value>
public Efl.TextStyleShadowDirection ShadowDirection {
get { return GetShadowDirection(); }
set { SetShadowDirection(value); }
}
+ /// <summary>Color of shadow effect</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) ShadowColor {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetShadowColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetShadowColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
+ /// <summary>Color of glow effect</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) GlowColor {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetGlowColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetGlowColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
+ /// <summary>Second color of the glow effect</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) Glow2Color {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetGlow2Color(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetGlow2Color( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Program that applies a special filter
/// See <see cref="Efl.Gfx.IFilter"/>.</summary>
/// <value>Filter code</value>
public System.IntPtr FilterOutputBuffer {
get { return GetFilterOutputBuffer(); }
}
+ /// <summary>Gets the code of the filter program set on this object. May be <c>null</c>.</summary>
+ /// <value>The Lua program source code.</value>
+ public (System.String, System.String) FilterProgram {
+ get {
+ System.String _out_code = default(System.String);
+ System.String _out_name = default(System.String);
+ GetFilterProgram(out _out_code,out _out_name);
+ return (_out_code,_out_name);
+ }
+ set { SetFilterProgram( value.Item1, value.Item2); }
+ }
+ /// <summary>Set the current state of the filter.
+ /// This should be used by Edje (EFL's internal layout engine), but could also be used when implementing animations programmatically.
+ ///
+ /// A full state is defined by two states (name + value): origin state and target state of an ongoing animation, as well as the <c>pos</c> progress (from 0 to 1) of that animation timeline. The second state can be omitted if there is no ongoing animation.</summary>
+ /// <value>Current state of the filter</value>
+ public (System.String, double, System.String, double, double) FilterState {
+ get {
+ System.String _out_cur_state = default(System.String);
+ double _out_cur_val = default(double);
+ System.String _out_next_state = default(System.String);
+ double _out_next_val = default(double);
+ double _out_pos = default(double);
+ GetFilterState(out _out_cur_state,out _out_cur_val,out _out_next_state,out _out_next_val,out _out_pos);
+ return (_out_cur_state,_out_cur_val,_out_next_state,_out_next_val,_out_pos);
+ }
+ set { SetFilterState( value.Item1, value.Item2, value.Item3, value.Item4, value.Item5); }
+ }
+ /// <summary>Required padding to apply this filter without cropping.
+ /// Read-only property that can be used to calculate the object's final geometry. This can be overridden (set) from inside the filter program by using the function 'padding_set' in the Lua program.</summary>
+ public (int, int, int, int) FilterPadding {
+ get {
+ int _out_l = default(int);
+ int _out_r = default(int);
+ int _out_t = default(int);
+ int _out_b = default(int);
+ GetFilterPadding(out _out_l,out _out_r,out _out_t,out _out_b);
+ return (_out_l,_out_r,_out_t,_out_b);
+ }
+ }
+ /// <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>
+ /// <value><c>true</c> for RTL, <c>false</c> for LTR (default).</value>
+ public bool Mirrored {
+ get { return GetMirrored(); }
+ set { SetMirrored(value); }
+ }
+ /// <summary>Whether the property <see cref="Efl.Ui.II18n.Mirrored"/> should be set automatically.
+ /// If enabled, the system or application configuration will be used to set the value of <see cref="Efl.Ui.II18n.Mirrored"/>.
+ ///
+ /// 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>
+ /// <value>Whether the widget uses automatic mirroring</value>
+ public bool MirroredAutomatic {
+ get { return GetMirroredAutomatic(); }
+ set { SetMirroredAutomatic(value); }
+ }
+ /// <summary>The (human) language for this object.</summary>
+ /// <value>The current language.</value>
+ public System.String Language {
+ get { return GetLanguage(); }
+ set { SetLanguage(value); }
+ }
private static IntPtr GetEflClassStatic()
{
return Efl.Canvas.Text.efl_canvas_text_class_get();
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_filter_data_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_filter_data_set_static_delegate) });
}
+ if (efl_ui_mirrored_get_static_delegate == null)
+ {
+ efl_ui_mirrored_get_static_delegate = new efl_ui_mirrored_get_delegate(mirrored_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetMirrored") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_mirrored_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_mirrored_get_static_delegate) });
+ }
+
+ if (efl_ui_mirrored_set_static_delegate == null)
+ {
+ efl_ui_mirrored_set_static_delegate = new efl_ui_mirrored_set_delegate(mirrored_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetMirrored") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_mirrored_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_mirrored_set_static_delegate) });
+ }
+
+ if (efl_ui_mirrored_automatic_get_static_delegate == null)
+ {
+ efl_ui_mirrored_automatic_get_static_delegate = new efl_ui_mirrored_automatic_get_delegate(mirrored_automatic_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetMirroredAutomatic") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_mirrored_automatic_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_mirrored_automatic_get_static_delegate) });
+ }
+
+ if (efl_ui_mirrored_automatic_set_static_delegate == null)
+ {
+ efl_ui_mirrored_automatic_set_static_delegate = new efl_ui_mirrored_automatic_set_delegate(mirrored_automatic_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetMirroredAutomatic") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_mirrored_automatic_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_mirrored_automatic_set_static_delegate) });
+ }
+
+ if (efl_ui_language_get_static_delegate == null)
+ {
+ efl_ui_language_get_static_delegate = new efl_ui_language_get_delegate(language_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetLanguage") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_language_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_language_get_static_delegate) });
+ }
+
+ if (efl_ui_language_set_static_delegate == null)
+ {
+ efl_ui_language_set_static_delegate = new efl_ui_language_set_delegate(language_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetLanguage") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_language_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_language_set_static_delegate) });
+ }
+
descs.AddRange(base.GetEoOps(type));
return descs;
}
private static efl_gfx_filter_data_set_delegate efl_gfx_filter_data_set_static_delegate;
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_ui_mirrored_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_ui_mirrored_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_mirrored_get_api_delegate> efl_ui_mirrored_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_mirrored_get_api_delegate>(Module, "efl_ui_mirrored_get");
+
+ private static bool mirrored_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_mirrored_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((Text)ws.Target).GetMirrored();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_mirrored_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_mirrored_get_delegate efl_ui_mirrored_get_static_delegate;
+
+
+ private delegate void efl_ui_mirrored_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool rtl);
+
+
+ public delegate void efl_ui_mirrored_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool rtl);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_mirrored_set_api_delegate> efl_ui_mirrored_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_mirrored_set_api_delegate>(Module, "efl_ui_mirrored_set");
+
+ private static void mirrored_set(System.IntPtr obj, System.IntPtr pd, bool rtl)
+ {
+ Eina.Log.Debug("function efl_ui_mirrored_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Text)ws.Target).SetMirrored(rtl);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_mirrored_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), rtl);
+ }
+ }
+
+ private static efl_ui_mirrored_set_delegate efl_ui_mirrored_set_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_ui_mirrored_automatic_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_ui_mirrored_automatic_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_mirrored_automatic_get_api_delegate> efl_ui_mirrored_automatic_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_mirrored_automatic_get_api_delegate>(Module, "efl_ui_mirrored_automatic_get");
+
+ private static bool mirrored_automatic_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_mirrored_automatic_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((Text)ws.Target).GetMirroredAutomatic();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_mirrored_automatic_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_mirrored_automatic_get_delegate efl_ui_mirrored_automatic_get_static_delegate;
+
+
+ private delegate void efl_ui_mirrored_automatic_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool automatic);
+
+
+ public delegate void efl_ui_mirrored_automatic_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool automatic);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_mirrored_automatic_set_api_delegate> efl_ui_mirrored_automatic_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_mirrored_automatic_set_api_delegate>(Module, "efl_ui_mirrored_automatic_set");
+
+ private static void mirrored_automatic_set(System.IntPtr obj, System.IntPtr pd, bool automatic)
+ {
+ Eina.Log.Debug("function efl_ui_mirrored_automatic_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Text)ws.Target).SetMirroredAutomatic(automatic);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_mirrored_automatic_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), automatic);
+ }
+ }
+
+ private static efl_ui_mirrored_automatic_set_delegate efl_ui_mirrored_automatic_set_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
+ private delegate System.String efl_ui_language_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
+ public delegate System.String efl_ui_language_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_language_get_api_delegate> efl_ui_language_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_language_get_api_delegate>(Module, "efl_ui_language_get");
+
+ private static System.String language_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_language_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ System.String _ret_var = default(System.String);
+ try
+ {
+ _ret_var = ((Text)ws.Target).GetLanguage();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_language_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_language_get_delegate efl_ui_language_get_static_delegate;
+
+
+ private delegate void efl_ui_language_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String language);
+
+
+ public delegate void efl_ui_language_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String language);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_language_set_api_delegate> efl_ui_language_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_language_set_api_delegate>(Module, "efl_ui_language_set");
+
+ private static void language_set(System.IntPtr obj, System.IntPtr pd, System.String language)
+ {
+ Eina.Log.Debug("function efl_ui_language_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Text)ws.Target).SetLanguage(language);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_language_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), language);
+ }
+ }
+
+ private static efl_ui_language_set_delegate efl_ui_language_set_static_delegate;
+
#pragma warning restore CA1707, CS1591, SA1300, SA1600
}
}
-namespace Efl {
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasText_ExtensionMethods {
+
+
+ public static Efl.BindableProperty<System.String> BidiDelimiters<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Text, T>magic = null) where T : Efl.Canvas.Text {
+ return new Efl.BindableProperty<System.String>("bidi_delimiters", fac);
+ }
-namespace Canvas {
+ public static Efl.BindableProperty<bool> LegacyNewline<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Text, T>magic = null) where T : Efl.Canvas.Text {
+ return new Efl.BindableProperty<bool>("legacy_newline", fac);
+ }
-/// <summary>EFL text style data structure</summary>
-[StructLayout(LayoutKind.Sequential)]
-[Efl.Eo.BindingEntity]
-public struct TextStyle
-{
- ///<summary>Placeholder field</summary>
- public IntPtr field;
- ///<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 TextStyle(IntPtr ptr)
- {
- var tmp = (TextStyle.NativeStruct)Marshal.PtrToStructure(ptr, typeof(TextStyle.NativeStruct));
- return tmp;
+
+
+
+
+
+
+
+
+
+
+
+ public static Efl.BindableProperty<System.String> FontSource<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Text, T>magic = null) where T : Efl.Canvas.Text {
+ return new Efl.BindableProperty<System.String>("font_source", fac);
}
- #pragma warning disable CS1591
+ public static Efl.BindableProperty<System.String> FontFallbacks<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Text, T>magic = null) where T : Efl.Canvas.Text {
+ return new Efl.BindableProperty<System.String>("font_fallbacks", fac);
+ }
- ///<summary>Internal wrapper for struct TextStyle.</summary>
- [StructLayout(LayoutKind.Sequential)]
- public struct NativeStruct
- {
- internal IntPtr field;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
- public static implicit operator TextStyle.NativeStruct(TextStyle _external_struct)
- {
- var _internal_struct = new TextStyle.NativeStruct();
- return _internal_struct;
- }
+ public static Efl.BindableProperty<Efl.TextFontWeight> FontWeight<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Text, T>magic = null) where T : Efl.Canvas.Text {
+ return new Efl.BindableProperty<Efl.TextFontWeight>("font_weight", fac);
+ }
- ///<summary>Implicit conversion to the managed representation.</summary>
- public static implicit operator TextStyle(TextStyle.NativeStruct _internal_struct)
- {
- var _external_struct = new TextStyle();
- return _external_struct;
- }
+ public static Efl.BindableProperty<Efl.TextFontSlant> FontSlant<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Text, T>magic = null) where T : Efl.Canvas.Text {
+ return new Efl.BindableProperty<Efl.TextFontSlant>("font_slant", fac);
+ }
+ public static Efl.BindableProperty<Efl.TextFontWidth> FontWidth<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Text, T>magic = null) where T : Efl.Canvas.Text {
+ return new Efl.BindableProperty<Efl.TextFontWidth>("font_width", fac);
}
- #pragma warning restore CS1591
+ public static Efl.BindableProperty<System.String> FontLang<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Text, T>magic = null) where T : Efl.Canvas.Text {
+ return new Efl.BindableProperty<System.String>("font_lang", fac);
+ }
-}
+ public static Efl.BindableProperty<Efl.TextFontBitmapScalable> FontBitmapScalable<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Text, T>magic = null) where T : Efl.Canvas.Text {
+ return new Efl.BindableProperty<Efl.TextFontBitmapScalable>("font_bitmap_scalable", fac);
+ }
-}
+ public static Efl.BindableProperty<double> Ellipsis<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Text, T>magic = null) where T : Efl.Canvas.Text {
+ return new Efl.BindableProperty<double>("ellipsis", fac);
+ }
-}
+ public static Efl.BindableProperty<Efl.TextFormatWrap> Wrap<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Text, T>magic = null) where T : Efl.Canvas.Text {
+ return new Efl.BindableProperty<Efl.TextFormatWrap>("wrap", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Multiline<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Text, T>magic = null) where T : Efl.Canvas.Text {
+ return new Efl.BindableProperty<bool>("multiline", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.TextFormatHorizontalAlignmentAutoType> HalignAutoType<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Text, T>magic = null) where T : Efl.Canvas.Text {
+ return new Efl.BindableProperty<Efl.TextFormatHorizontalAlignmentAutoType>("halign_auto_type", fac);
+ }
+
+ public static Efl.BindableProperty<double> Halign<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Text, T>magic = null) where T : Efl.Canvas.Text {
+ return new Efl.BindableProperty<double>("halign", fac);
+ }
+ public static Efl.BindableProperty<double> Valign<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Text, T>magic = null) where T : Efl.Canvas.Text {
+ return new Efl.BindableProperty<double>("valign", fac);
+ }
+
+ public static Efl.BindableProperty<double> Linegap<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Text, T>magic = null) where T : Efl.Canvas.Text {
+ return new Efl.BindableProperty<double>("linegap", fac);
+ }
+
+ public static Efl.BindableProperty<double> Linerelgap<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Text, T>magic = null) where T : Efl.Canvas.Text {
+ return new Efl.BindableProperty<double>("linerelgap", fac);
+ }
+
+ public static Efl.BindableProperty<int> Tabstops<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Text, T>magic = null) where T : Efl.Canvas.Text {
+ return new Efl.BindableProperty<int>("tabstops", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Password<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Text, T>magic = null) where T : Efl.Canvas.Text {
+ return new Efl.BindableProperty<bool>("password", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> ReplacementChar<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Text, T>magic = null) where T : Efl.Canvas.Text {
+ return new Efl.BindableProperty<System.String>("replacement_char", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> Markup<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Text, T>magic = null) where T : Efl.Canvas.Text {
+ return new Efl.BindableProperty<System.String>("markup", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<Efl.TextStyleBackingType> BackingType<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Text, T>magic = null) where T : Efl.Canvas.Text {
+ return new Efl.BindableProperty<Efl.TextStyleBackingType>("backing_type", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.TextStyleUnderlineType> UnderlineType<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Text, T>magic = null) where T : Efl.Canvas.Text {
+ return new Efl.BindableProperty<Efl.TextStyleUnderlineType>("underline_type", fac);
+ }
+
+
+ public static Efl.BindableProperty<double> UnderlineHeight<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Text, T>magic = null) where T : Efl.Canvas.Text {
+ return new Efl.BindableProperty<double>("underline_height", fac);
+ }
+
+
+ public static Efl.BindableProperty<int> UnderlineDashedWidth<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Text, T>magic = null) where T : Efl.Canvas.Text {
+ return new Efl.BindableProperty<int>("underline_dashed_width", fac);
+ }
+
+ public static Efl.BindableProperty<int> UnderlineDashedGap<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Text, T>magic = null) where T : Efl.Canvas.Text {
+ return new Efl.BindableProperty<int>("underline_dashed_gap", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.TextStyleStrikethroughType> StrikethroughType<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Text, T>magic = null) where T : Efl.Canvas.Text {
+ return new Efl.BindableProperty<Efl.TextStyleStrikethroughType>("strikethrough_type", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.TextStyleEffectType> EffectType<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Text, T>magic = null) where T : Efl.Canvas.Text {
+ return new Efl.BindableProperty<Efl.TextStyleEffectType>("effect_type", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.TextStyleShadowDirection> ShadowDirection<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Text, T>magic = null) where T : Efl.Canvas.Text {
+ return new Efl.BindableProperty<Efl.TextStyleShadowDirection>("shadow_direction", fac);
+ }
+
+
+
+
+ public static Efl.BindableProperty<System.String> GfxFilter<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Text, T>magic = null) where T : Efl.Canvas.Text {
+ return new Efl.BindableProperty<System.String>("gfx_filter", fac);
+ }
+
+ public static Efl.BindableProperty<bool> FilterChanged<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Text, T>magic = null) where T : Efl.Canvas.Text {
+ return new Efl.BindableProperty<bool>("filter_changed", fac);
+ }
+
+ public static Efl.BindableProperty<bool> FilterInvalid<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Text, T>magic = null) where T : Efl.Canvas.Text {
+ return new Efl.BindableProperty<bool>("filter_invalid", fac);
+ }
+
+
+
+
+
+
+
+ public static Efl.BindableProperty<bool> Mirrored<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Text, T>magic = null) where T : Efl.Canvas.Text {
+ return new Efl.BindableProperty<bool>("mirrored", fac);
+ }
+
+ public static Efl.BindableProperty<bool> MirroredAutomatic<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Text, T>magic = null) where T : Efl.Canvas.Text {
+ return new Efl.BindableProperty<bool>("mirrored_automatic", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> Language<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Text, T>magic = null) where T : Efl.Canvas.Text {
+ return new Efl.BindableProperty<System.String>("language", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Canvas.ITextFactoryConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface ITextFactory :
}
/// <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>
-sealed public class ITextFactoryConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class ITextFactoryConcrete :
Efl.Eo.EoWrapper
, ITextFactory
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private ITextFactoryConcrete(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CanvasITextFactoryConcrete_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Vg {
/// <summary>Efl vector graphics container class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Canvas.Vg.Container.NativeMethods]
[Efl.Eo.BindingEntity]
public class Container : Efl.Canvas.Vg.Node
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Container(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_Canvas_VgContainer_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Vg {
/// <summary>Efl vectopr graphics gradient abstract class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Gradient(ConstructingHandle ch) : base(ch)
{
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>Get the list of color stops.</summary>
+ /// <value>Color stops list</value>
+ public (Efl.Gfx.GradientStop, uint) Stop {
+ get {
+ Efl.Gfx.GradientStop _out_colors = default(Efl.Gfx.GradientStop);
+ uint _out_length = default(uint);
+ GetStop(out _out_colors,out _out_length);
+ return (_out_colors,_out_length);
+ }
+ set { SetStop(ref value.Item1, value.Item2); }
+ }
/// <summary>Returns the spread method use by this gradient. The default is EFL_GFX_GRADIENT_SPREAD_PAD.</summary>
/// <value>Spread type to be used</value>
public Efl.Gfx.GradientSpread Spread {
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_Canvas_VgGradient_ExtensionMethods {
+
+ public static Efl.BindableProperty<Efl.Gfx.GradientSpread> Spread<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Vg.Gradient, T>magic = null) where T : Efl.Canvas.Vg.Gradient {
+ return new Efl.BindableProperty<Efl.Gfx.GradientSpread>("spread", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Vg {
/// <summary>Efl vector graphics gradient linear class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected GradientLinear(ConstructingHandle ch) : base(ch)
{
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();
}
+ /// <summary>Gets the start point of this linear gradient.</summary>
+ /// <value>X co-ordinate of start point</value>
+ public (double, double) Start {
+ get {
+ double _out_x = default(double);
+ double _out_y = default(double);
+ GetStart(out _out_x,out _out_y);
+ return (_out_x,_out_y);
+ }
+ set { SetStart( value.Item1, value.Item2); }
+ }
+ /// <summary>Gets the end point of this linear gradient.</summary>
+ /// <value>X co-ordinate of end point</value>
+ public (double, double) End {
+ get {
+ double _out_x = default(double);
+ double _out_y = default(double);
+ GetEnd(out _out_x,out _out_y);
+ return (_out_x,_out_y);
+ }
+ set { SetEnd( value.Item1, value.Item2); }
+ }
private static IntPtr GetEflClassStatic()
{
return Efl.Canvas.Vg.GradientLinear.efl_canvas_vg_gradient_linear_class_get();
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_Canvas_VgGradientLinear_ExtensionMethods {
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Vg {
/// <summary>Efl vector graphics gradient radial class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected GradientRadial(ConstructingHandle ch) : base(ch)
{
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 of this radial gradient.</summary>
+ /// <value>X co-ordinate of center point</value>
+ public (double, double) Center {
+ get {
+ double _out_x = default(double);
+ double _out_y = default(double);
+ GetCenter(out _out_x,out _out_y);
+ return (_out_x,_out_y);
+ }
+ set { SetCenter( value.Item1, value.Item2); }
+ }
/// <summary>Gets the center radius of this radial gradient.</summary>
/// <value>Center radius</value>
public double Radius {
get { return GetRadius(); }
set { SetRadius(value); }
}
+ /// <summary>Gets the focal point of this radial gradient.</summary>
+ /// <value>X co-ordinate of focal point</value>
+ public (double, double) Focal {
+ get {
+ double _out_x = default(double);
+ double _out_y = default(double);
+ GetFocal(out _out_x,out _out_y);
+ return (_out_x,_out_y);
+ }
+ set { SetFocal( value.Item1, value.Item2); }
+ }
private static IntPtr GetEflClassStatic()
{
return Efl.Canvas.Vg.GradientRadial.efl_canvas_vg_gradient_radial_class_get();
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_Canvas_VgGradientRadial_ExtensionMethods {
+
+ public static Efl.BindableProperty<double> Radius<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Vg.GradientRadial, T>magic = null) where T : Efl.Canvas.Vg.GradientRadial {
+ return new Efl.BindableProperty<double>("radius", fac);
+ }
+
+
+}
+#pragma warning restore CS1591
+#endif
--- /dev/null
+#define EFL_BETA
+#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 Canvas {
+
+namespace Vg {
+
+/// <summary>Efl vector graphics image class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+[Efl.Canvas.Vg.Image.NativeMethods]
+[Efl.Eo.BindingEntity]
+public class Image : Efl.Canvas.Vg.Node, Efl.Gfx.IImage
+{
+ /// <summary>Pointer to the native class description.</summary>
+ public override System.IntPtr NativeClass
+ {
+ get
+ {
+ if (((object)this).GetType() == typeof(Image))
+ {
+ return GetEflClassStatic();
+ }
+ else
+ {
+ return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
+ }
+ }
+ }
+
+ [System.Runtime.InteropServices.DllImport(efl.Libs.Evas)] internal static extern System.IntPtr
+ efl_canvas_vg_image_class_get();
+ /// <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_vg_image_class_get(), parent)
+ {
+ FinishInstantiation();
+ }
+
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</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="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="parent">The Efl.Object parent of this instance.</param>
+ protected Image(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
+ {
+ }
+
+ /// <summary>Image data has been preloaded.</summary>
+ public event EventHandler ImagePreloadEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_GFX_IMAGE_EVENT_IMAGE_PRELOAD";
+ AddNativeEventHandler(efl.Libs.Evas, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_PRELOAD";
+ RemoveNativeEventHandler(efl.Libs.Evas, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event ImagePreloadEvt.</summary>
+ public void OnImagePreloadEvt(EventArgs e)
+ {
+ var key = "_EFL_GFX_IMAGE_EVENT_IMAGE_PRELOAD";
+ IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Evas, 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>Image was resized (its pixel data).</summary>
+ public event EventHandler ImageResizeEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_GFX_IMAGE_EVENT_IMAGE_RESIZE";
+ AddNativeEventHandler(efl.Libs.Evas, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_RESIZE";
+ RemoveNativeEventHandler(efl.Libs.Evas, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event ImageResizeEvt.</summary>
+ public void OnImageResizeEvt(EventArgs e)
+ {
+ var key = "_EFL_GFX_IMAGE_EVENT_IMAGE_RESIZE";
+ IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Evas, 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>Image data has been unloaded (by some mechanism in EFL that threw out the original image data).</summary>
+ public event EventHandler ImageUnloadEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_GFX_IMAGE_EVENT_IMAGE_UNLOAD";
+ AddNativeEventHandler(efl.Libs.Evas, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_UNLOAD";
+ RemoveNativeEventHandler(efl.Libs.Evas, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event ImageUnloadEvt.</summary>
+ public void OnImageUnloadEvt(EventArgs e)
+ {
+ var key = "_EFL_GFX_IMAGE_EVENT_IMAGE_UNLOAD";
+ IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Evas, 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>Set image data</summary>
+ /// <param name="pixels">Image pixels data. The pixel data type is 32bit RGBA</param>
+ /// <param name="size">The size in pixels.</param>
+ virtual public void SetData(System.IntPtr pixels, Eina.Size2D size) {
+ Eina.Size2D.NativeStruct _in_size = size;
+ Efl.Canvas.Vg.Image.NativeMethods.efl_canvas_vg_image_data_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),pixels, _in_size);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Whether to use high-quality image scaling algorithm for this image.
+ /// When enabled, a higher quality image scaling algorithm is used when scaling images to sizes other than the source image's original one. This gives better results but is more computationally expensive.
+ ///
+ /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Whether to use high-quality image scaling algorithm for this image.
+ /// When enabled, a higher quality image scaling algorithm is used when scaling images to sizes other than the source image's original one. This gives better results but is more computationally expensive.
+ ///
+ /// <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((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((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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),scale_type);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>If <c>true</c>, the image may be scaled to a larger size. If <c>false</c>, the image will never be resized larger than its native size. This is set to <c>true</c> by default.</summary>
+ /// <returns>Allow image upscaling</returns>
+ virtual public bool GetCanUpscale() {
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_can_upscale_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>If <c>true</c>, the image may be scaled to a larger size. If <c>false</c>, the image will never be resized larger than its native size. This is set to <c>true</c> by default.</summary>
+ /// <param name="upscale">Allow image upscaling</param>
+ virtual public void SetCanUpscale(bool upscale) {
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_can_upscale_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),upscale);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>If <c>true</c>, the image may be scaled to a smaller size. If <c>false</c>, the image will never be resized smaller than its native size. This is set to <c>true</c> by default.</summary>
+ /// <returns>Allow image downscaling</returns>
+ virtual public bool GetCanDownscale() {
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_can_downscale_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>If <c>true</c>, the image may be scaled to a smaller size. If <c>false</c>, the image will never be resized smaller than its native size. This is set to <c>true</c> by default.</summary>
+ /// <param name="downscale">Allow image downscaling</param>
+ virtual public void SetCanDownscale(bool downscale) {
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_can_downscale_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),downscale);
+ 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((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;
+ }
+ /// <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 units used for <c>l</c>, <c>r</c>, <c>t</c> and <c>b</c> are canvas units (pixels).
+ ///
+ /// Note: The border region itself may be scaled by the <see cref="Efl.Gfx.IImage.SetBorderScale"/> function.
+ ///
+ /// Note: By default, image objects have no borders set, i.e. <c>l</c>, <c>r</c>, <c>t</c> and <c>b</c> start as 0.
+ ///
+ /// Note: Similar to the concepts of 9-patch images or cap insets.</summary>
+ /// <param name="l">The border's left width.</param>
+ /// <param name="r">The border's right width.</param>
+ /// <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((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.
+ /// 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 units used for <c>l</c>, <c>r</c>, <c>t</c> and <c>b</c> are canvas units (pixels).
+ ///
+ /// Note: The border region itself may be scaled by the <see cref="Efl.Gfx.IImage.SetBorderScale"/> function.
+ ///
+ /// Note: By default, image objects have no borders set, i.e. <c>l</c>, <c>r</c>, <c>t</c> and <c>b</c> start as 0.
+ ///
+ /// Note: Similar to the concepts of 9-patch images or cap insets.</summary>
+ /// <param name="l">The border's left width.</param>
+ /// <param name="r">The border's right width.</param>
+ /// <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((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.
+ /// This value multiplies the size of the <see cref="Efl.Gfx.IImage.GetBorder"/> when scaling an object.
+ ///
+ /// 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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <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.
+ ///
+ /// 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((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.
+ /// This function sets how the center part of the image object's source image is to be drawn, which must be one of the values in <see cref="Efl.Gfx.BorderFillMode"/>. By center we mean the complementary part of that defined by <see cref="Efl.Gfx.IImage.GetBorder"/>. This is very useful for making frames and decorations. You would most probably also be using a filled image (as in <see cref="Efl.Gfx.IFill.FillAuto"/>) to use as a frame.
+ ///
+ /// 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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Specifies how the center part of the object (not the borders) should be drawn when EFL is rendering it.
+ /// This function sets how the center part of the image object's source image is to be drawn, which must be one of the values in <see cref="Efl.Gfx.BorderFillMode"/>. By center we mean the complementary part of that defined by <see cref="Efl.Gfx.IImage.GetBorder"/>. This is very useful for making frames and decorations. You would most probably also be using a filled image (as in <see cref="Efl.Gfx.IFill.FillAuto"/>) to use as a frame.
+ ///
+ /// 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((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.ImageStretchRegion> horizontal, out Eina.Iterator<Efl.Gfx.ImageStretchRegion> 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.ImageStretchRegion>(_out_horizontal, false);
+ vertical = new Eina.Iterator<Efl.Gfx.ImageStretchRegion>(_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.ImageStretchRegion> horizontal, Eina.Iterator<Efl.Gfx.ImageStretchRegion> 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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Get the content hint setting of a given image object of the canvas.
+ /// 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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Set the content hint setting of a given image object of the canvas.
+ /// 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((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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Set the scale hint of a given image of the canvas.
+ /// 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((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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Set image data</summary>
+ /// <value>Image pixels data. The pixel data type is 32bit RGBA</value>
+ public (System.IntPtr, Eina.Size2D) Data {
+ set { SetData( value.Item1, value.Item2); }
+ }
+ /// <summary>Whether to use high-quality image scaling algorithm for this image.
+ /// When enabled, a higher quality image scaling algorithm is used when scaling images to sizes other than the source image's original one. This gives better results but is more computationally expensive.
+ ///
+ /// <c>true</c> by default</summary>
+ /// <value>Whether to use smooth scale or not.</value>
+ public bool SmoothScale {
+ get { return GetSmoothScale(); }
+ set { SetSmoothScale(value); }
+ }
+ /// <summary>Control how the image is scaled.</summary>
+ /// <value>Image scale type</value>
+ public Efl.Gfx.ImageScaleType ScaleType {
+ get { return GetScaleType(); }
+ set { SetScaleType(value); }
+ }
+ /// <summary>If <c>true</c>, the image may be scaled to a larger size. If <c>false</c>, the image will never be resized larger than its native size. This is set to <c>true</c> by default.</summary>
+ /// <value>Allow image upscaling</value>
+ public bool CanUpscale {
+ get { return GetCanUpscale(); }
+ set { SetCanUpscale(value); }
+ }
+ /// <summary>If <c>true</c>, the image may be scaled to a smaller size. If <c>false</c>, the image will never be resized smaller than its native size. This is set to <c>true</c> by default.</summary>
+ /// <value>Allow image downscaling</value>
+ public bool CanDownscale {
+ get { return GetCanDownscale(); }
+ set { SetCanDownscale(value); }
+ }
+ /// <summary>The native width/height ratio of the image.</summary>
+ /// <value>The image's ratio.</value>
+ 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>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 units used for <c>l</c>, <c>r</c>, <c>t</c> and <c>b</c> are canvas units (pixels).
+ ///
+ /// Note: The border region itself may be scaled by the <see cref="Efl.Gfx.IImage.SetBorderScale"/> function.
+ ///
+ /// Note: By default, image objects have no borders set, i.e. <c>l</c>, <c>r</c>, <c>t</c> and <c>b</c> start as 0.
+ ///
+ /// Note: Similar to the concepts of 9-patch images or cap insets.</summary>
+ /// <value>The border's left width.</value>
+ public (int, int, int, int) Border {
+ get {
+ int _out_l = default(int);
+ int _out_r = default(int);
+ int _out_t = default(int);
+ int _out_b = default(int);
+ GetBorder(out _out_l,out _out_r,out _out_t,out _out_b);
+ return (_out_l,_out_r,_out_t,_out_b);
+ }
+ set { SetBorder( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
+ /// <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.
+ ///
+ /// Default value is 1.0 (no scaling).</summary>
+ /// <value>The scale factor.</value>
+ public double BorderScale {
+ get { return GetBorderScale(); }
+ set { SetBorderScale(value); }
+ }
+ /// <summary>Specifies how the center part of the object (not the borders) should be drawn when EFL is rendering it.
+ /// This function sets how the center part of the image object's source image is to be drawn, which must be one of the values in <see cref="Efl.Gfx.BorderFillMode"/>. By center we mean the complementary part of that defined by <see cref="Efl.Gfx.IImage.GetBorder"/>. This is very useful for making frames and decorations. You would most probably also be using a filled image (as in <see cref="Efl.Gfx.IFill.FillAuto"/>) to use as a frame.
+ ///
+ /// The default value is <see cref="Efl.Gfx.BorderFillMode.Default"/>, ie. render and scale the center area, respecting its transparency.</summary>
+ /// <value>Fill mode of the center region.</value>
+ public Efl.Gfx.BorderFillMode BorderCenterFill {
+ get { return GetBorderCenterFill(); }
+ set { SetBorderCenterFill(value); }
+ }
+ /// <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>
+ /// <value>Representation of area that are stretchable in the image horizontal space.</value>
+ public (Eina.Iterator<Efl.Gfx.ImageStretchRegion>, Eina.Iterator<Efl.Gfx.ImageStretchRegion>) StretchRegion {
+ get {
+ Eina.Iterator<Efl.Gfx.ImageStretchRegion> _out_horizontal = default(Eina.Iterator<Efl.Gfx.ImageStretchRegion>);
+ Eina.Iterator<Efl.Gfx.ImageStretchRegion> _out_vertical = default(Eina.Iterator<Efl.Gfx.ImageStretchRegion>);
+ GetStretchRegion(out _out_horizontal,out _out_vertical);
+ return (_out_horizontal,_out_vertical);
+ }
+ set { SetStretchRegion( value.Item1, value.Item2); }
+ }
+ /// <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>
+ /// <value>The size in pixels.</value>
+ public Eina.Size2D ImageSize {
+ get { return GetImageSize(); }
+ }
+ /// <summary>Get the content hint setting of a given image object of the canvas.
+ /// This returns #EVAS_IMAGE_CONTENT_HINT_NONE on error.</summary>
+ /// <value>Dynamic or static content hint, see <see cref="Efl.Gfx.ImageContentHint"/></value>
+ public Efl.Gfx.ImageContentHint ContentHint {
+ get { return GetContentHint(); }
+ set { SetContentHint(value); }
+ }
+ /// <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>
+ /// <value>Scalable or static size hint, see <see cref="Efl.Gfx.ImageScaleHint"/></value>
+ public Efl.Gfx.ImageScaleHint ScaleHint {
+ get { return GetScaleHint(); }
+ set { SetScaleHint(value); }
+ }
+ /// <summary>Gets the (last) file loading error for a given object.</summary>
+ /// <value>The load error code.</value>
+ public Eina.Error ImageLoadError {
+ get { return GetImageLoadError(); }
+ }
+ private static IntPtr GetEflClassStatic()
+ {
+ return Efl.Canvas.Vg.Image.efl_canvas_vg_image_class_get();
+ }
+ /// <summary>Wrapper for native methods and virtual method delegates.
+ /// For internal use by generated code only.</summary>
+ public new class NativeMethods : Efl.Canvas.Vg.Node.NativeMethods
+ {
+ private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Evas);
+ /// <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_canvas_vg_image_data_set_static_delegate == null)
+ {
+ efl_canvas_vg_image_data_set_static_delegate = new efl_canvas_vg_image_data_set_delegate(data_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetData") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_canvas_vg_image_data_set"), func = Marshal.GetFunctionPointerForDelegate(efl_canvas_vg_image_data_set_static_delegate) });
+ }
+
+ if (efl_gfx_image_smooth_scale_get_static_delegate == null)
+ {
+ efl_gfx_image_smooth_scale_get_static_delegate = new efl_gfx_image_smooth_scale_get_delegate(smooth_scale_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetSmoothScale") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_smooth_scale_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_smooth_scale_get_static_delegate) });
+ }
+
+ if (efl_gfx_image_smooth_scale_set_static_delegate == null)
+ {
+ efl_gfx_image_smooth_scale_set_static_delegate = new efl_gfx_image_smooth_scale_set_delegate(smooth_scale_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetSmoothScale") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_smooth_scale_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_smooth_scale_set_static_delegate) });
+ }
+
+ if (efl_gfx_image_scale_type_get_static_delegate == null)
+ {
+ efl_gfx_image_scale_type_get_static_delegate = new efl_gfx_image_scale_type_get_delegate(scale_type_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetScaleType") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_scale_type_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_scale_type_get_static_delegate) });
+ }
+
+ if (efl_gfx_image_scale_type_set_static_delegate == null)
+ {
+ efl_gfx_image_scale_type_set_static_delegate = new efl_gfx_image_scale_type_set_delegate(scale_type_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetScaleType") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_scale_type_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_scale_type_set_static_delegate) });
+ }
+
+ if (efl_gfx_image_can_upscale_get_static_delegate == null)
+ {
+ efl_gfx_image_can_upscale_get_static_delegate = new efl_gfx_image_can_upscale_get_delegate(can_upscale_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetCanUpscale") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_can_upscale_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_can_upscale_get_static_delegate) });
+ }
+
+ if (efl_gfx_image_can_upscale_set_static_delegate == null)
+ {
+ efl_gfx_image_can_upscale_set_static_delegate = new efl_gfx_image_can_upscale_set_delegate(can_upscale_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetCanUpscale") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_can_upscale_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_can_upscale_set_static_delegate) });
+ }
+
+ if (efl_gfx_image_can_downscale_get_static_delegate == null)
+ {
+ efl_gfx_image_can_downscale_get_static_delegate = new efl_gfx_image_can_downscale_get_delegate(can_downscale_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetCanDownscale") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_can_downscale_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_can_downscale_get_static_delegate) });
+ }
+
+ if (efl_gfx_image_can_downscale_set_static_delegate == null)
+ {
+ efl_gfx_image_can_downscale_set_static_delegate = new efl_gfx_image_can_downscale_set_delegate(can_downscale_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetCanDownscale") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_can_downscale_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_can_downscale_set_static_delegate) });
+ }
+
+ if (efl_gfx_image_ratio_get_static_delegate == null)
+ {
+ efl_gfx_image_ratio_get_static_delegate = new efl_gfx_image_ratio_get_delegate(ratio_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetRatio") != null)
+ {
+ 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);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetBorder") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_border_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_border_get_static_delegate) });
+ }
+
+ if (efl_gfx_image_border_set_static_delegate == null)
+ {
+ efl_gfx_image_border_set_static_delegate = new efl_gfx_image_border_set_delegate(border_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetBorder") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_border_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_border_set_static_delegate) });
+ }
+
+ if (efl_gfx_image_border_scale_get_static_delegate == null)
+ {
+ efl_gfx_image_border_scale_get_static_delegate = new efl_gfx_image_border_scale_get_delegate(border_scale_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetBorderScale") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_border_scale_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_border_scale_get_static_delegate) });
+ }
+
+ if (efl_gfx_image_border_scale_set_static_delegate == null)
+ {
+ efl_gfx_image_border_scale_set_static_delegate = new efl_gfx_image_border_scale_set_delegate(border_scale_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetBorderScale") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_border_scale_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_border_scale_set_static_delegate) });
+ }
+
+ if (efl_gfx_image_border_center_fill_get_static_delegate == null)
+ {
+ efl_gfx_image_border_center_fill_get_static_delegate = new efl_gfx_image_border_center_fill_get_delegate(border_center_fill_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetBorderCenterFill") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_border_center_fill_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_border_center_fill_get_static_delegate) });
+ }
+
+ if (efl_gfx_image_border_center_fill_set_static_delegate == null)
+ {
+ efl_gfx_image_border_center_fill_set_static_delegate = new efl_gfx_image_border_center_fill_set_delegate(border_center_fill_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetBorderCenterFill") != null)
+ {
+ 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 (methods.FirstOrDefault(m => m.Name == "GetImageSize") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_size_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_size_get_static_delegate) });
+ }
+
+ if (efl_gfx_image_content_hint_get_static_delegate == null)
+ {
+ efl_gfx_image_content_hint_get_static_delegate = new efl_gfx_image_content_hint_get_delegate(content_hint_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetContentHint") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_content_hint_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_content_hint_get_static_delegate) });
+ }
+
+ if (efl_gfx_image_content_hint_set_static_delegate == null)
+ {
+ efl_gfx_image_content_hint_set_static_delegate = new efl_gfx_image_content_hint_set_delegate(content_hint_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetContentHint") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_content_hint_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_content_hint_set_static_delegate) });
+ }
+
+ if (efl_gfx_image_scale_hint_get_static_delegate == null)
+ {
+ efl_gfx_image_scale_hint_get_static_delegate = new efl_gfx_image_scale_hint_get_delegate(scale_hint_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetScaleHint") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_scale_hint_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_scale_hint_get_static_delegate) });
+ }
+
+ if (efl_gfx_image_scale_hint_set_static_delegate == null)
+ {
+ efl_gfx_image_scale_hint_set_static_delegate = new efl_gfx_image_scale_hint_set_delegate(scale_hint_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetScaleHint") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_scale_hint_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_scale_hint_set_static_delegate) });
+ }
+
+ if (efl_gfx_image_load_error_get_static_delegate == null)
+ {
+ efl_gfx_image_load_error_get_static_delegate = new efl_gfx_image_load_error_get_delegate(image_load_error_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetImageLoadError") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_load_error_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_load_error_get_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.Canvas.Vg.Image.efl_canvas_vg_image_class_get();
+ }
+
+ #pragma warning disable CA1707, CS1591, SA1300, SA1600
+
+
+ private delegate void efl_canvas_vg_image_data_set_delegate(System.IntPtr obj, System.IntPtr pd, System.IntPtr pixels, Eina.Size2D.NativeStruct size);
+
+
+ public delegate void efl_canvas_vg_image_data_set_api_delegate(System.IntPtr obj, System.IntPtr pixels, Eina.Size2D.NativeStruct size);
+
+ public static Efl.Eo.FunctionWrapper<efl_canvas_vg_image_data_set_api_delegate> efl_canvas_vg_image_data_set_ptr = new Efl.Eo.FunctionWrapper<efl_canvas_vg_image_data_set_api_delegate>(Module, "efl_canvas_vg_image_data_set");
+
+ private static void data_set(System.IntPtr obj, System.IntPtr pd, System.IntPtr pixels, Eina.Size2D.NativeStruct size)
+ {
+ Eina.Log.Debug("function efl_canvas_vg_image_data_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Size2D _in_size = size;
+
+ try
+ {
+ ((Image)ws.Target).SetData(pixels, _in_size);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_canvas_vg_image_data_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), pixels, size);
+ }
+ }
+
+ private static efl_canvas_vg_image_data_set_delegate efl_canvas_vg_image_data_set_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_gfx_image_smooth_scale_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_gfx_image_smooth_scale_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_smooth_scale_get_api_delegate> efl_gfx_image_smooth_scale_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_smooth_scale_get_api_delegate>(Module, "efl_gfx_image_smooth_scale_get");
+
+ private static bool smooth_scale_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_gfx_image_smooth_scale_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((Image)ws.Target).GetSmoothScale();
+ }
+ 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_smooth_scale_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_gfx_image_smooth_scale_get_delegate efl_gfx_image_smooth_scale_get_static_delegate;
+
+
+ private delegate void efl_gfx_image_smooth_scale_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool smooth_scale);
+
+
+ public delegate void efl_gfx_image_smooth_scale_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool smooth_scale);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_smooth_scale_set_api_delegate> efl_gfx_image_smooth_scale_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_smooth_scale_set_api_delegate>(Module, "efl_gfx_image_smooth_scale_set");
+
+ private static void smooth_scale_set(System.IntPtr obj, System.IntPtr pd, bool smooth_scale)
+ {
+ Eina.Log.Debug("function efl_gfx_image_smooth_scale_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Image)ws.Target).SetSmoothScale(smooth_scale);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_gfx_image_smooth_scale_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), smooth_scale);
+ }
+ }
+
+ private static efl_gfx_image_smooth_scale_set_delegate efl_gfx_image_smooth_scale_set_static_delegate;
+
+
+ private delegate Efl.Gfx.ImageScaleType efl_gfx_image_scale_type_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate Efl.Gfx.ImageScaleType efl_gfx_image_scale_type_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_scale_type_get_api_delegate> efl_gfx_image_scale_type_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_scale_type_get_api_delegate>(Module, "efl_gfx_image_scale_type_get");
+
+ private static Efl.Gfx.ImageScaleType scale_type_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_gfx_image_scale_type_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.Gfx.ImageScaleType _ret_var = default(Efl.Gfx.ImageScaleType);
+ try
+ {
+ _ret_var = ((Image)ws.Target).GetScaleType();
+ }
+ 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_scale_type_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_gfx_image_scale_type_get_delegate efl_gfx_image_scale_type_get_static_delegate;
+
+
+ private delegate void efl_gfx_image_scale_type_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.ImageScaleType scale_type);
+
+
+ public delegate void efl_gfx_image_scale_type_set_api_delegate(System.IntPtr obj, Efl.Gfx.ImageScaleType scale_type);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_scale_type_set_api_delegate> efl_gfx_image_scale_type_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_scale_type_set_api_delegate>(Module, "efl_gfx_image_scale_type_set");
+
+ private static void scale_type_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.ImageScaleType scale_type)
+ {
+ Eina.Log.Debug("function efl_gfx_image_scale_type_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Image)ws.Target).SetScaleType(scale_type);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_gfx_image_scale_type_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), scale_type);
+ }
+ }
+
+ private static efl_gfx_image_scale_type_set_delegate efl_gfx_image_scale_type_set_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_gfx_image_can_upscale_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_gfx_image_can_upscale_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_can_upscale_get_api_delegate> efl_gfx_image_can_upscale_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_can_upscale_get_api_delegate>(Module, "efl_gfx_image_can_upscale_get");
+
+ private static bool can_upscale_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_gfx_image_can_upscale_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((Image)ws.Target).GetCanUpscale();
+ }
+ 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_can_upscale_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_gfx_image_can_upscale_get_delegate efl_gfx_image_can_upscale_get_static_delegate;
+
+
+ private delegate void efl_gfx_image_can_upscale_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool upscale);
+
+
+ public delegate void efl_gfx_image_can_upscale_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool upscale);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_can_upscale_set_api_delegate> efl_gfx_image_can_upscale_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_can_upscale_set_api_delegate>(Module, "efl_gfx_image_can_upscale_set");
+
+ private static void can_upscale_set(System.IntPtr obj, System.IntPtr pd, bool upscale)
+ {
+ Eina.Log.Debug("function efl_gfx_image_can_upscale_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Image)ws.Target).SetCanUpscale(upscale);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_gfx_image_can_upscale_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), upscale);
+ }
+ }
+
+ private static efl_gfx_image_can_upscale_set_delegate efl_gfx_image_can_upscale_set_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_gfx_image_can_downscale_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_gfx_image_can_downscale_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_can_downscale_get_api_delegate> efl_gfx_image_can_downscale_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_can_downscale_get_api_delegate>(Module, "efl_gfx_image_can_downscale_get");
+
+ private static bool can_downscale_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_gfx_image_can_downscale_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((Image)ws.Target).GetCanDownscale();
+ }
+ 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_can_downscale_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_gfx_image_can_downscale_get_delegate efl_gfx_image_can_downscale_get_static_delegate;
+
+
+ private delegate void efl_gfx_image_can_downscale_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool downscale);
+
+
+ public delegate void efl_gfx_image_can_downscale_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool downscale);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_can_downscale_set_api_delegate> efl_gfx_image_can_downscale_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_can_downscale_set_api_delegate>(Module, "efl_gfx_image_can_downscale_set");
+
+ private static void can_downscale_set(System.IntPtr obj, System.IntPtr pd, bool downscale)
+ {
+ Eina.Log.Debug("function efl_gfx_image_can_downscale_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Image)ws.Target).SetCanDownscale(downscale);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_gfx_image_can_downscale_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), downscale);
+ }
+ }
+
+ private static efl_gfx_image_can_downscale_set_delegate efl_gfx_image_can_downscale_set_static_delegate;
+
+
+ private delegate double efl_gfx_image_ratio_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate double efl_gfx_image_ratio_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_ratio_get_api_delegate> efl_gfx_image_ratio_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_ratio_get_api_delegate>(Module, "efl_gfx_image_ratio_get");
+
+ private static double ratio_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_gfx_image_ratio_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ double _ret_var = default(double);
+ try
+ {
+ _ret_var = ((Image)ws.Target).GetRatio();
+ }
+ 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_ratio_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ 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);
+
+
+ public delegate void efl_gfx_image_border_get_api_delegate(System.IntPtr obj, out int l, out int r, out int t, out int b);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_border_get_api_delegate> efl_gfx_image_border_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_border_get_api_delegate>(Module, "efl_gfx_image_border_get");
+
+ private static void border_get(System.IntPtr obj, System.IntPtr pd, out int l, out int r, out int t, out int b)
+ {
+ Eina.Log.Debug("function efl_gfx_image_border_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ l = default(int); r = default(int); t = default(int); b = default(int);
+ try
+ {
+ ((Image)ws.Target).GetBorder(out l, out r, out t, out b);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_gfx_image_border_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out l, out r, out t, out b);
+ }
+ }
+
+ private static efl_gfx_image_border_get_delegate efl_gfx_image_border_get_static_delegate;
+
+
+ private delegate void efl_gfx_image_border_set_delegate(System.IntPtr obj, System.IntPtr pd, int l, int r, int t, int b);
+
+
+ public delegate void efl_gfx_image_border_set_api_delegate(System.IntPtr obj, int l, int r, int t, int b);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_border_set_api_delegate> efl_gfx_image_border_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_border_set_api_delegate>(Module, "efl_gfx_image_border_set");
+
+ private static void border_set(System.IntPtr obj, System.IntPtr pd, int l, int r, int t, int b)
+ {
+ Eina.Log.Debug("function efl_gfx_image_border_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Image)ws.Target).SetBorder(l, r, t, b);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_gfx_image_border_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), l, r, t, b);
+ }
+ }
+
+ private static efl_gfx_image_border_set_delegate efl_gfx_image_border_set_static_delegate;
+
+
+ private delegate double efl_gfx_image_border_scale_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate double efl_gfx_image_border_scale_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_border_scale_get_api_delegate> efl_gfx_image_border_scale_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_border_scale_get_api_delegate>(Module, "efl_gfx_image_border_scale_get");
+
+ private static double border_scale_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_gfx_image_border_scale_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ double _ret_var = default(double);
+ try
+ {
+ _ret_var = ((Image)ws.Target).GetBorderScale();
+ }
+ 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_border_scale_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_gfx_image_border_scale_get_delegate efl_gfx_image_border_scale_get_static_delegate;
+
+
+ private delegate void efl_gfx_image_border_scale_set_delegate(System.IntPtr obj, System.IntPtr pd, double scale);
+
+
+ public delegate void efl_gfx_image_border_scale_set_api_delegate(System.IntPtr obj, double scale);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_border_scale_set_api_delegate> efl_gfx_image_border_scale_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_border_scale_set_api_delegate>(Module, "efl_gfx_image_border_scale_set");
+
+ private static void border_scale_set(System.IntPtr obj, System.IntPtr pd, double scale)
+ {
+ Eina.Log.Debug("function efl_gfx_image_border_scale_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Image)ws.Target).SetBorderScale(scale);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_gfx_image_border_scale_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), scale);
+ }
+ }
+
+ private static efl_gfx_image_border_scale_set_delegate efl_gfx_image_border_scale_set_static_delegate;
+
+
+ private delegate Efl.Gfx.BorderFillMode efl_gfx_image_border_center_fill_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate Efl.Gfx.BorderFillMode efl_gfx_image_border_center_fill_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_border_center_fill_get_api_delegate> efl_gfx_image_border_center_fill_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_border_center_fill_get_api_delegate>(Module, "efl_gfx_image_border_center_fill_get");
+
+ private static Efl.Gfx.BorderFillMode border_center_fill_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_gfx_image_border_center_fill_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.Gfx.BorderFillMode _ret_var = default(Efl.Gfx.BorderFillMode);
+ try
+ {
+ _ret_var = ((Image)ws.Target).GetBorderCenterFill();
+ }
+ 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_border_center_fill_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_gfx_image_border_center_fill_get_delegate efl_gfx_image_border_center_fill_get_static_delegate;
+
+
+ private delegate void efl_gfx_image_border_center_fill_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.BorderFillMode fill);
+
+
+ public delegate void efl_gfx_image_border_center_fill_set_api_delegate(System.IntPtr obj, Efl.Gfx.BorderFillMode fill);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_border_center_fill_set_api_delegate> efl_gfx_image_border_center_fill_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_border_center_fill_set_api_delegate>(Module, "efl_gfx_image_border_center_fill_set");
+
+ private static void border_center_fill_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.BorderFillMode fill)
+ {
+ Eina.Log.Debug("function efl_gfx_image_border_center_fill_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Image)ws.Target).SetBorderCenterFill(fill);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_gfx_image_border_center_fill_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), fill);
+ }
+ }
+
+ 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.ImageStretchRegion> _out_horizontal = default(Eina.Iterator<Efl.Gfx.ImageStretchRegion>);
+ Eina.Iterator<Efl.Gfx.ImageStretchRegion> _out_vertical = default(Eina.Iterator<Efl.Gfx.ImageStretchRegion>);
+
+ 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.ImageStretchRegion>(horizontal, false);
+ var _in_vertical = new Eina.Iterator<Efl.Gfx.ImageStretchRegion>(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 delegate Eina.Size2D.NativeStruct efl_gfx_image_size_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_size_get_api_delegate> efl_gfx_image_size_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_size_get_api_delegate>(Module, "efl_gfx_image_size_get");
+
+ private static Eina.Size2D.NativeStruct image_size_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_gfx_image_size_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Size2D _ret_var = default(Eina.Size2D);
+ try
+ {
+ _ret_var = ((Image)ws.Target).GetImageSize();
+ }
+ 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_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_gfx_image_size_get_delegate efl_gfx_image_size_get_static_delegate;
+
+
+ private delegate Efl.Gfx.ImageContentHint efl_gfx_image_content_hint_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate Efl.Gfx.ImageContentHint efl_gfx_image_content_hint_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_content_hint_get_api_delegate> efl_gfx_image_content_hint_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_content_hint_get_api_delegate>(Module, "efl_gfx_image_content_hint_get");
+
+ private static Efl.Gfx.ImageContentHint content_hint_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_gfx_image_content_hint_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.Gfx.ImageContentHint _ret_var = default(Efl.Gfx.ImageContentHint);
+ try
+ {
+ _ret_var = ((Image)ws.Target).GetContentHint();
+ }
+ 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_hint_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_gfx_image_content_hint_get_delegate efl_gfx_image_content_hint_get_static_delegate;
+
+
+ private delegate void efl_gfx_image_content_hint_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.ImageContentHint hint);
+
+
+ public delegate void efl_gfx_image_content_hint_set_api_delegate(System.IntPtr obj, Efl.Gfx.ImageContentHint hint);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_content_hint_set_api_delegate> efl_gfx_image_content_hint_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_content_hint_set_api_delegate>(Module, "efl_gfx_image_content_hint_set");
+
+ private static void content_hint_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.ImageContentHint hint)
+ {
+ Eina.Log.Debug("function efl_gfx_image_content_hint_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Image)ws.Target).SetContentHint(hint);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_gfx_image_content_hint_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), hint);
+ }
+ }
+
+ private static efl_gfx_image_content_hint_set_delegate efl_gfx_image_content_hint_set_static_delegate;
+
+
+ private delegate Efl.Gfx.ImageScaleHint efl_gfx_image_scale_hint_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate Efl.Gfx.ImageScaleHint efl_gfx_image_scale_hint_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_scale_hint_get_api_delegate> efl_gfx_image_scale_hint_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_scale_hint_get_api_delegate>(Module, "efl_gfx_image_scale_hint_get");
+
+ private static Efl.Gfx.ImageScaleHint scale_hint_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_gfx_image_scale_hint_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.Gfx.ImageScaleHint _ret_var = default(Efl.Gfx.ImageScaleHint);
+ try
+ {
+ _ret_var = ((Image)ws.Target).GetScaleHint();
+ }
+ 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_scale_hint_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_gfx_image_scale_hint_get_delegate efl_gfx_image_scale_hint_get_static_delegate;
+
+
+ private delegate void efl_gfx_image_scale_hint_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.ImageScaleHint hint);
+
+
+ public delegate void efl_gfx_image_scale_hint_set_api_delegate(System.IntPtr obj, Efl.Gfx.ImageScaleHint hint);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_scale_hint_set_api_delegate> efl_gfx_image_scale_hint_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_scale_hint_set_api_delegate>(Module, "efl_gfx_image_scale_hint_set");
+
+ private static void scale_hint_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.ImageScaleHint hint)
+ {
+ Eina.Log.Debug("function efl_gfx_image_scale_hint_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Image)ws.Target).SetScaleHint(hint);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_gfx_image_scale_hint_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), hint);
+ }
+ }
+
+ private static efl_gfx_image_scale_hint_set_delegate efl_gfx_image_scale_hint_set_static_delegate;
+
+
+ private delegate Eina.Error efl_gfx_image_load_error_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate Eina.Error efl_gfx_image_load_error_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_load_error_get_api_delegate> efl_gfx_image_load_error_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_load_error_get_api_delegate>(Module, "efl_gfx_image_load_error_get");
+
+ private static Eina.Error image_load_error_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_gfx_image_load_error_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Error _ret_var = default(Eina.Error);
+ try
+ {
+ _ret_var = ((Image)ws.Target).GetImageLoadError();
+ }
+ 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_load_error_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_gfx_image_load_error_get_delegate efl_gfx_image_load_error_get_static_delegate;
+
+ #pragma warning restore CA1707, CS1591, SA1300, SA1600
+
+}
+}
+}
+
+}
+
+}
+
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_Canvas_VgImage_ExtensionMethods {
+
+ public static Efl.BindableProperty<bool> SmoothScale<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Vg.Image, T>magic = null) where T : Efl.Canvas.Vg.Image {
+ return new Efl.BindableProperty<bool>("smooth_scale", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Gfx.ImageScaleType> ScaleType<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Vg.Image, T>magic = null) where T : Efl.Canvas.Vg.Image {
+ return new Efl.BindableProperty<Efl.Gfx.ImageScaleType>("scale_type", fac);
+ }
+
+ public static Efl.BindableProperty<bool> CanUpscale<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Vg.Image, T>magic = null) where T : Efl.Canvas.Vg.Image {
+ return new Efl.BindableProperty<bool>("can_upscale", fac);
+ }
+
+ public static Efl.BindableProperty<bool> CanDownscale<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Vg.Image, T>magic = null) where T : Efl.Canvas.Vg.Image {
+ return new Efl.BindableProperty<bool>("can_downscale", fac);
+ }
+
+
+
+
+ public static Efl.BindableProperty<double> BorderScale<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Vg.Image, T>magic = null) where T : Efl.Canvas.Vg.Image {
+ return new Efl.BindableProperty<double>("border_scale", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Gfx.BorderFillMode> BorderCenterFill<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Vg.Image, T>magic = null) where T : Efl.Canvas.Vg.Image {
+ return new Efl.BindableProperty<Efl.Gfx.BorderFillMode>("border_center_fill", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<Efl.Gfx.ImageContentHint> ContentHint<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Vg.Image, T>magic = null) where T : Efl.Canvas.Vg.Image {
+ return new Efl.BindableProperty<Efl.Gfx.ImageContentHint>("content_hint", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Gfx.ImageScaleHint> ScaleHint<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Vg.Image, T>magic = null) where T : Efl.Canvas.Vg.Image {
+ return new Efl.BindableProperty<Efl.Gfx.ImageScaleHint>("scale_hint", fac);
+ }
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Vg {
/// <summary>Efl vector graphics abstract class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Node(ConstructingHandle ch) : base(ch)
{
/// <summary>Object's visibility state changed, the event value is the new state.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Gfx.IEntityVisibilityChangedEvt_Args"/></value>
public event EventHandler<Efl.Gfx.IEntityVisibilityChangedEvt_Args> VisibilityChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event VisibilityChangedEvt.</summary>
+ /// <summary>Method to raise event VisibilityChangedEvt.</summary>
public void OnVisibilityChangedEvt(Efl.Gfx.IEntityVisibilityChangedEvt_Args e)
{
var key = "_EFL_GFX_ENTITY_EVENT_VISIBILITY_CHANGED";
}
/// <summary>Object was moved, its position during the event is the new one.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Gfx.IEntityPositionChangedEvt_Args"/></value>
public event EventHandler<Efl.Gfx.IEntityPositionChangedEvt_Args> PositionChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event PositionChangedEvt.</summary>
+ /// <summary>Method to raise event PositionChangedEvt.</summary>
public void OnPositionChangedEvt(Efl.Gfx.IEntityPositionChangedEvt_Args e)
{
var key = "_EFL_GFX_ENTITY_EVENT_POSITION_CHANGED";
}
/// <summary>Object was resized, its size during the event is the new one.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Gfx.IEntitySizeChangedEvt_Args"/></value>
public event EventHandler<Efl.Gfx.IEntitySizeChangedEvt_Args> SizeChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event SizeChangedEvt.</summary>
+ /// <summary>Method to raise event SizeChangedEvt.</summary>
public void OnSizeChangedEvt(Efl.Gfx.IEntitySizeChangedEvt_Args e)
{
var key = "_EFL_GFX_ENTITY_EVENT_SIZE_CHANGED";
}
}
}
- ///<summary>Method to raise event StackingChangedEvt.</summary>
+ /// <summary>Method to raise event StackingChangedEvt.</summary>
public void OnStackingChangedEvt(EventArgs e)
{
var key = "_EFL_GFX_ENTITY_EVENT_STACKING_CHANGED";
get { return GetTransformation(); }
set { SetTransformation(ref value); }
}
+ /// <summary>Gets the origin position of the node object.</summary>
+ /// <value><c>origin</c> x position.</value>
+ public (double, double) Origin {
+ get {
+ double _out_x = default(double);
+ double _out_y = default(double);
+ GetOrigin(out _out_x,out _out_y);
+ return (_out_x,_out_y);
+ }
+ set { SetOrigin( value.Item1, value.Item2); }
+ }
+ /// <summary>Set Mask Node to this renderer</summary>
+ /// <value>Mask object</value>
+ public (Efl.Canvas.Vg.Node, int) Mask {
+ set { SetMask( value.Item1, value.Item2); }
+ }
+ /// <summary>Retrieves the general/main color of the given Evas object.
+ /// Retrieves the main color's RGB component (and alpha channel) values, which range from 0 to 255. For the alpha channel, which defines the object's transparency level, 0 means totally transparent, while 255 means opaque. These color values are premultiplied by the alpha value.
+ ///
+ /// Usually youll use this attribute for text and rectangle objects, where the main color is their unique one. If set for objects which themselves have colors, like the images one, those colors get modulated by this one.
+ ///
+ /// All newly created Evas rectangles get the default color values of 255 255 255 255 (opaque white).
+ ///
+ /// Use null pointers on the components you're not interested in: they'll be ignored by the function.
+ /// (Since EFL 1.22)</summary>
+ public (int, int, int, int) Color {
+ get {
+ int _out_r = default(int);
+ int _out_g = default(int);
+ int _out_b = default(int);
+ int _out_a = default(int);
+ GetColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Get hex color code of given Evas object. This returns a short lived hex color code string.
/// (Since EFL 1.22)</summary>
/// <value>the hex color code.</value>
get { return GetScale(); }
set { SetScale(value); }
}
+ /// <summary>Set the list of commands and points to be used to create the content of path.</summary>
+ /// <value>Command list</value>
+ public (Efl.Gfx.PathCommandType, double) Path {
+ get {
+ Efl.Gfx.PathCommandType _out_op = default(Efl.Gfx.PathCommandType);
+ double _out_points = default(double);
+ GetPath(out _out_op,out _out_points);
+ return (_out_op,_out_points);
+ }
+ set { SetPath( value.Item1, value.Item2); }
+ }
+ /// <summary>Path length property</summary>
+ public (uint, uint) Length {
+ get {
+ uint _out_commands = default(uint);
+ uint _out_points = default(uint);
+ GetLength(out _out_commands,out _out_points);
+ return (_out_commands,_out_points);
+ }
+ }
+ /// <summary>Current point coordinates</summary>
+ public (double, double) Current {
+ get {
+ double _out_x = default(double);
+ double _out_y = default(double);
+ GetCurrent(out _out_x,out _out_y);
+ return (_out_x,_out_y);
+ }
+ }
+ /// <summary>Current control point coordinates</summary>
+ public (double, double) CurrentCtrl {
+ get {
+ double _out_x = default(double);
+ double _out_y = default(double);
+ GetCurrentCtrl(out _out_x,out _out_y);
+ return (_out_x,_out_y);
+ }
+ }
/// <summary>Retrieves the layer of its canvas that the given object is part of.
/// See also <see cref="Efl.Gfx.IStack.SetLayer"/>
/// (Since EFL 1.22)</summary>
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_Canvas_VgNode_ExtensionMethods {
+ public static Efl.BindableProperty<Eina.Matrix3> Transformation<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Vg.Node, T>magic = null) where T : Efl.Canvas.Vg.Node {
+ return new Efl.BindableProperty<Eina.Matrix3>("transformation", fac);
+ }
+
+
+
+
+ public static Efl.BindableProperty<System.String> ColorCode<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Vg.Node, T>magic = null) where T : Efl.Canvas.Vg.Node {
+ return new Efl.BindableProperty<System.String>("color_code", fac);
+ }
+
+ public static Efl.BindableProperty<Eina.Position2D> Position<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Vg.Node, T>magic = null) where T : Efl.Canvas.Vg.Node {
+ return new Efl.BindableProperty<Eina.Position2D>("position", fac);
+ }
+
+ public static Efl.BindableProperty<Eina.Size2D> Size<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Vg.Node, T>magic = null) where T : Efl.Canvas.Vg.Node {
+ return new Efl.BindableProperty<Eina.Size2D>("size", fac);
+ }
+
+ public static Efl.BindableProperty<Eina.Rect> Geometry<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Vg.Node, T>magic = null) where T : Efl.Canvas.Vg.Node {
+ return new Efl.BindableProperty<Eina.Rect>("geometry", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Visible<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Vg.Node, T>magic = null) where T : Efl.Canvas.Vg.Node {
+ return new Efl.BindableProperty<bool>("visible", fac);
+ }
+
+ public static Efl.BindableProperty<double> Scale<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Vg.Node, T>magic = null) where T : Efl.Canvas.Vg.Node {
+ return new Efl.BindableProperty<double>("scale", fac);
+ }
+
+
+
+
+
+ public static Efl.BindableProperty<short> Layer<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Vg.Node, T>magic = null) where T : Efl.Canvas.Vg.Node {
+ return new Efl.BindableProperty<short>("layer", fac);
+ }
+
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Vg {
/// <summary>Efl vector graphics class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Object(ConstructingHandle ch) : base(ch)
{
get { return GetViewbox(); }
set { SetViewbox(value); }
}
+ /// <summary>Control how the viewbox is positioned inside the viewport.</summary>
+ /// <value>Alignment in the horizontal axis (0 <= align_x <= 1).</value>
+ public (double, double) ViewboxAlign {
+ get {
+ double _out_align_x = default(double);
+ double _out_align_y = default(double);
+ GetViewboxAlign(out _out_align_x,out _out_align_y);
+ return (_out_align_x,_out_align_y);
+ }
+ set { SetViewboxAlign( value.Item1, value.Item2); }
+ }
/// <summary>Get the root node of the evas_object_vg.</summary>
/// <value>Root node of the VG canvas.</value>
public Efl.Canvas.Vg.Node RootNode {
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_Canvas_VgObject_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Canvas.Vg.FillMode> FillMode<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Vg.Object, T>magic = null) where T : Efl.Canvas.Vg.Object {
+ return new Efl.BindableProperty<Efl.Canvas.Vg.FillMode>("fill_mode", fac);
+ }
+
+ public static Efl.BindableProperty<Eina.Rect> Viewbox<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Vg.Object, T>magic = null) where T : Efl.Canvas.Vg.Object {
+ return new Efl.BindableProperty<Eina.Rect>("viewbox", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.Canvas.Vg.Node> RootNode<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Vg.Object, T>magic = null) where T : Efl.Canvas.Vg.Object {
+ return new Efl.BindableProperty<Efl.Canvas.Vg.Node>("root_node", fac);
+ }
+
+
+ public static Efl.BindableProperty<Eina.File> Mmap<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Vg.Object, T>magic = null) where T : Efl.Canvas.Vg.Object {
+ return new Efl.BindableProperty<Eina.File>("mmap", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> File<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Vg.Object, T>magic = null) where T : Efl.Canvas.Vg.Object {
+ return new Efl.BindableProperty<System.String>("file", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> Key<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Vg.Object, T>magic = null) where T : Efl.Canvas.Vg.Object {
+ return new Efl.BindableProperty<System.String>("key", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<int> Frame<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Vg.Object, T>magic = null) where T : Efl.Canvas.Vg.Object {
+ return new Efl.BindableProperty<int>("frame", fac);
+ }
+
+
+
+
+
+}
+#pragma warning restore CS1591
+#endif
namespace Efl {
namespace Canvas {
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Vg {
/// <summary>Efl vector graphics shape class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Shape(ConstructingHandle ch) : base(ch)
{
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 stroke_miterlimit is a presentation defining a limit on the ratio of the miter length to the stroke-width used to draw a miter join.</summary>
+ /// <returns>Limit value on the ratio of the miter.</returns>
+ virtual public double GetStrokeMiterlimit() {
+ var _ret_var = Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_miterlimit_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_miterlimit is a presentation defining a limit on the ratio of the miter length to the stroke-width used to draw a miter join.</summary>
+ /// <param name="miterlimit">Limit value on the ratio of the miter.</param>
+ virtual public void SetStrokeMiterlimit(double miterlimit) {
+ Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_miterlimit_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),miterlimit);
+ 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() {
get { return GetStrokeScale(); }
set { SetStrokeScale(value); }
}
+ /// <summary>The color to be used for stroking the path.</summary>
+ /// <value>The red component of the given color.</value>
+ public (int, int, int, int) StrokeColor {
+ get {
+ int _out_r = default(int);
+ int _out_g = default(int);
+ int _out_b = default(int);
+ int _out_a = default(int);
+ GetStrokeColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetStrokeColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>The stroke width to be used for stroking the path.</summary>
/// <value>Stroke width to be used</value>
public double StrokeWidth {
get { return GetStrokeLocation(); }
set { SetStrokeLocation(value); }
}
+ /// <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.
+ /// See also <see cref="Efl.Gfx.Dash"/></summary>
+ /// <value>Stroke dash</value>
+ public (Efl.Gfx.Dash, uint) StrokeDash {
+ get {
+ Efl.Gfx.Dash _out_dash = default(Efl.Gfx.Dash);
+ uint _out_length = default(uint);
+ GetStrokeDash(out _out_dash,out _out_length);
+ return (_out_dash,_out_length);
+ }
+ set { SetStrokeDash(ref value.Item1, value.Item2); }
+ }
/// <summary>The cap style to be used for stroking the path. The cap will be used for capping the end point of a open subpath.
/// See also <see cref="Efl.Gfx.Cap"/>.</summary>
/// <value>Cap style to use, default is <see cref="Efl.Gfx.Cap.Butt"/></value>
get { return GetStrokeJoin(); }
set { SetStrokeJoin(value); }
}
+ /// <summary>The stroke_miterlimit is a presentation defining a limit on the ratio of the miter length to the stroke-width used to draw a miter join.</summary>
+ /// <value>Limit value on the ratio of the miter.</value>
+ public double StrokeMiterlimit {
+ get { return GetStrokeMiterlimit(); }
+ set { SetStrokeMiterlimit(value); }
+ }
/// <summary>The fill rule of the given shape object. <see cref="Efl.Gfx.FillRule.Winding"/> or <see cref="Efl.Gfx.FillRule.OddEven"/>.</summary>
/// <value>The current fill rule of the shape object. One of <see cref="Efl.Gfx.FillRule.Winding"/> or <see cref="Efl.Gfx.FillRule.OddEven"/></value>
public Efl.Gfx.FillRule FillRule {
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_shape_stroke_join_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_shape_stroke_join_set_static_delegate) });
}
+ if (efl_gfx_shape_stroke_miterlimit_get_static_delegate == null)
+ {
+ efl_gfx_shape_stroke_miterlimit_get_static_delegate = new efl_gfx_shape_stroke_miterlimit_get_delegate(stroke_miterlimit_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetStrokeMiterlimit") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_shape_stroke_miterlimit_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_shape_stroke_miterlimit_get_static_delegate) });
+ }
+
+ if (efl_gfx_shape_stroke_miterlimit_set_static_delegate == null)
+ {
+ efl_gfx_shape_stroke_miterlimit_set_static_delegate = new efl_gfx_shape_stroke_miterlimit_set_delegate(stroke_miterlimit_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetStrokeMiterlimit") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_shape_stroke_miterlimit_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_shape_stroke_miterlimit_set_static_delegate) });
+ }
+
if (efl_gfx_shape_fill_rule_get_static_delegate == null)
{
efl_gfx_shape_fill_rule_get_static_delegate = new efl_gfx_shape_fill_rule_get_delegate(fill_rule_get);
private static efl_gfx_shape_stroke_join_set_delegate efl_gfx_shape_stroke_join_set_static_delegate;
+ private delegate double efl_gfx_shape_stroke_miterlimit_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate double efl_gfx_shape_stroke_miterlimit_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_shape_stroke_miterlimit_get_api_delegate> efl_gfx_shape_stroke_miterlimit_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_shape_stroke_miterlimit_get_api_delegate>(Module, "efl_gfx_shape_stroke_miterlimit_get");
+
+ private static double stroke_miterlimit_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_gfx_shape_stroke_miterlimit_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ double _ret_var = default(double);
+ try
+ {
+ _ret_var = ((Shape)ws.Target).GetStrokeMiterlimit();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_gfx_shape_stroke_miterlimit_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_gfx_shape_stroke_miterlimit_get_delegate efl_gfx_shape_stroke_miterlimit_get_static_delegate;
+
+
+ private delegate void efl_gfx_shape_stroke_miterlimit_set_delegate(System.IntPtr obj, System.IntPtr pd, double miterlimit);
+
+
+ public delegate void efl_gfx_shape_stroke_miterlimit_set_api_delegate(System.IntPtr obj, double miterlimit);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_shape_stroke_miterlimit_set_api_delegate> efl_gfx_shape_stroke_miterlimit_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_shape_stroke_miterlimit_set_api_delegate>(Module, "efl_gfx_shape_stroke_miterlimit_set");
+
+ private static void stroke_miterlimit_set(System.IntPtr obj, System.IntPtr pd, double miterlimit)
+ {
+ Eina.Log.Debug("function efl_gfx_shape_stroke_miterlimit_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Shape)ws.Target).SetStrokeMiterlimit(miterlimit);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_gfx_shape_stroke_miterlimit_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), miterlimit);
+ }
+ }
+
+ private static efl_gfx_shape_stroke_miterlimit_set_delegate efl_gfx_shape_stroke_miterlimit_set_static_delegate;
+
+
private delegate Efl.Gfx.FillRule efl_gfx_shape_fill_rule_get_delegate(System.IntPtr obj, System.IntPtr pd);
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_Canvas_VgShape_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Canvas.Vg.Node> Fill<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Vg.Shape, T>magic = null) where T : Efl.Canvas.Vg.Shape {
+ return new Efl.BindableProperty<Efl.Canvas.Vg.Node>("fill", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Canvas.Vg.Node> StrokeFill<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Vg.Shape, T>magic = null) where T : Efl.Canvas.Vg.Shape {
+ return new Efl.BindableProperty<Efl.Canvas.Vg.Node>("stroke_fill", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Canvas.Vg.Node> StrokeMarker<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Vg.Shape, T>magic = null) where T : Efl.Canvas.Vg.Shape {
+ return new Efl.BindableProperty<Efl.Canvas.Vg.Node>("stroke_marker", fac);
+ }
+
+ public static Efl.BindableProperty<double> StrokeScale<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Vg.Shape, T>magic = null) where T : Efl.Canvas.Vg.Shape {
+ return new Efl.BindableProperty<double>("stroke_scale", fac);
+ }
+
+
+ public static Efl.BindableProperty<double> StrokeWidth<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Vg.Shape, T>magic = null) where T : Efl.Canvas.Vg.Shape {
+ return new Efl.BindableProperty<double>("stroke_width", fac);
+ }
+
+ public static Efl.BindableProperty<double> StrokeLocation<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Vg.Shape, T>magic = null) where T : Efl.Canvas.Vg.Shape {
+ return new Efl.BindableProperty<double>("stroke_location", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.Gfx.Cap> StrokeCap<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Vg.Shape, T>magic = null) where T : Efl.Canvas.Vg.Shape {
+ return new Efl.BindableProperty<Efl.Gfx.Cap>("stroke_cap", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Gfx.Join> StrokeJoin<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Vg.Shape, T>magic = null) where T : Efl.Canvas.Vg.Shape {
+ return new Efl.BindableProperty<Efl.Gfx.Join>("stroke_join", fac);
+ }
+
+ public static Efl.BindableProperty<double> StrokeMiterlimit<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Vg.Shape, T>magic = null) where T : Efl.Canvas.Vg.Shape {
+ return new Efl.BindableProperty<double>("stroke_miterlimit", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Gfx.FillRule> FillRule<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.Vg.Shape, T>magic = null) where T : Efl.Canvas.Vg.Shape {
+ return new Efl.BindableProperty<Efl.Gfx.FillRule>("fill_rule", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Efl {
/// <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>
+/// This class also provide an <see cref="Efl.IModel.GetProperty"/> "child.index" that match the value of <see cref="Efl.CompositeModel.Index"/>.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.CompositeModel.NativeMethods]
[Efl.Eo.BindingEntity]
public class CompositeModel : Efl.LoopModel, Efl.Ui.IView
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected CompositeModel(ConstructingHandle ch) : base(ch)
{
{
}
- /// <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>
+ /// <summary>Event dispatched when a new model is set.</summary>
+ /// <value><see cref="Efl.Ui.IViewModelChangedEvt_Args"/></value>
+ public event EventHandler<Efl.Ui.IViewModelChangedEvt_Args> ModelChangedEvt
+ {
+ 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.IViewModelChangedEvt_Args args = new Efl.Ui.IViewModelChangedEvt_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_VIEW_EVENT_MODEL_CHANGED";
+ AddNativeEventHandler(efl.Libs.Ecore, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_VIEW_EVENT_MODEL_CHANGED";
+ RemoveNativeEventHandler(efl.Libs.Ecore, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event ModelChangedEvt.</summary>
+ public void OnModelChangedEvt(Efl.Ui.IViewModelChangedEvt_Args e)
+ {
+ var key = "_EFL_UI_VIEW_EVENT_MODEL_CHANGED";
+ IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Ecore, 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>Position of this object in the parent model.
+ /// It can only be set before the object is finalized but after the Model it composes is set (and only if that Model does not provide an index already). It can only be retrieved after the object has been finalized.</summary>
+ /// <returns>Index of the object in the parent model. The index is unique and starts from zero.</returns>
virtual public uint GetIndex() {
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>
+ /// <summary>Position of this object in the parent model.
+ /// It can only be set before the object is finalized but after the Model it composes is set (and only if that Model does not provide an index already). It can only be retrieved after the object has been finalized.</summary>
+ /// <param name="index">Index of the object in the parent model. The index is unique and starts from zero.</param>
virtual public void SetIndex(uint 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();
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>
- /// <value>Index of the object in the parent model. The index is uniq and start from zero.</value>
+ /// <summary>Position of this object in the parent model.
+ /// It can only be set before the object is finalized but after the Model it composes is set (and only if that Model does not provide an index already). It can only be retrieved after the object has been finalized.</summary>
+ /// <value>Index of the object in the parent model. The index is unique and starts from zero.</value>
public uint Index {
get { return GetIndex(); }
set { SetIndex(value); }
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflCompositeModel_ExtensionMethods {
+ public static Efl.BindableProperty<uint> Index<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.CompositeModel, T>magic = null) where T : Efl.CompositeModel {
+ return new Efl.BindableProperty<uint>("index", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.IModel> Model<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.CompositeModel, T>magic = null) where T : Efl.CompositeModel {
+ return new Efl.BindableProperty<Efl.IModel>("model", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Efl {
/// <summary>A generic configuration interface, that holds key-value pairs.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.IConfigConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IConfig :
bool SetConfig(System.String name, Eina.Value value);
}
/// <summary>A generic configuration interface, that holds key-value pairs.</summary>
-sealed public class IConfigConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IConfigConcrete :
Efl.Eo.EoWrapper
, IConfig
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IConfigConcrete(ConstructingHandle ch) : base(ch)
{
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflIConfigConcrete_ExtensionMethods {
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Efl {
/// <summary>This class is a singleton representing the global configuration for the running application.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.ConfigGlobal.NativeMethods]
[Efl.Eo.BindingEntity]
public class ConfigGlobal : Efl.Object, Efl.IConfig
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected ConfigGlobal(ConstructingHandle ch) : base(ch)
{
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflConfigGlobal_ExtensionMethods {
+ public static Efl.BindableProperty<System.String> Profile<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ConfigGlobal, T>magic = null) where T : Efl.ConfigGlobal {
+ return new Efl.BindableProperty<System.String>("profile", fac);
+ }
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
int ContentCount();
/// <summary>Sent after a new sub-object was added.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContainerContentAddedEvt_Args"/></value>
event EventHandler<Efl.IContainerContentAddedEvt_Args> ContentAddedEvt;
/// <summary>Sent after a sub-object was removed, before unref.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContainerContentRemovedEvt_Args"/></value>
event EventHandler<Efl.IContainerContentRemovedEvt_Args> ContentRemovedEvt;
}
-///<summary>Event argument wrapper for event <see cref="Efl.IContainer.ContentAddedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Sent after a new sub-object was added.</value>
public Efl.Gfx.IEntity arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.IContainer.ContentRemovedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Sent after a sub-object was removed, before unref.</value>
public Efl.Gfx.IEntity arg { get; set; }
}
/// <summary>Common interface for objects (containers) that can have multiple contents (sub-objects).
/// APIs in this interface deal with containers of multiple sub-objects, not with individual parts.
/// (Since EFL 1.22)</summary>
-sealed public class IContainerConcrete :
+sealed public class IContainerConcrete :
Efl.Eo.EoWrapper
, IContainer
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IContainerConcrete(ConstructingHandle ch) : base(ch)
{
/// <summary>Sent after a new sub-object was added.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContainerContentAddedEvt_Args"/></value>
public event EventHandler<Efl.IContainerContentAddedEvt_Args> ContentAddedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentAddedEvt.</summary>
+ /// <summary>Method to raise event ContentAddedEvt.</summary>
public void OnContentAddedEvt(Efl.IContainerContentAddedEvt_Args e)
{
var key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED";
}
/// <summary>Sent after a sub-object was removed, before unref.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContainerContentRemovedEvt_Args"/></value>
public event EventHandler<Efl.IContainerContentRemovedEvt_Args> ContentRemovedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentRemovedEvt.</summary>
+ /// <summary>Method to raise event ContentRemovedEvt.</summary>
public void OnContentRemovedEvt(Efl.IContainerContentRemovedEvt_Args e)
{
var key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED";
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflIContainerConcrete_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// The data in the given containers are copied and stored internally.
///
/// Several containers can be supplied and the number of allocated children is based on the container of the largest size.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.ContainerModel.NativeMethods]
[Efl.Eo.BindingEntity]
public class ContainerModel : Efl.CompositeModel
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected ContainerModel(ConstructingHandle ch) : base(ch)
{
#pragma warning disable CA1707, CS1591, SA1300, SA1600
-
- private delegate Eina.ValueType efl_container_model_child_property_value_type_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String name);
+ [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Eina.ValueTypeMarshaler))]
+ private delegate Eina.ValueTypeBox efl_container_model_child_property_value_type_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String name);
-
- public delegate Eina.ValueType efl_container_model_child_property_value_type_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String name);
+ [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Eina.ValueTypeMarshaler))]
+ public delegate Eina.ValueTypeBox efl_container_model_child_property_value_type_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String name);
public static Efl.Eo.FunctionWrapper<efl_container_model_child_property_value_type_get_api_delegate> efl_container_model_child_property_value_type_get_ptr = new Efl.Eo.FunctionWrapper<efl_container_model_child_property_value_type_get_api_delegate>(Module, "efl_container_model_child_property_value_type_get");
- private static Eina.ValueType child_property_value_type_get(System.IntPtr obj, System.IntPtr pd, System.String name)
+ private static Eina.ValueTypeBox child_property_value_type_get(System.IntPtr obj, System.IntPtr pd, System.String name)
{
Eina.Log.Debug("function efl_container_model_child_property_value_type_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
private static efl_container_model_child_property_value_type_get_delegate efl_container_model_child_property_value_type_get_static_delegate;
[return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_container_model_child_property_add_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String name, Eina.ValueType type, System.IntPtr values);
+ private delegate bool efl_container_model_child_property_add_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String name, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Eina.ValueTypeMarshaler))] Eina.ValueTypeBox type, System.IntPtr values);
[return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_container_model_child_property_add_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String name, Eina.ValueType type, System.IntPtr values);
+ public delegate bool efl_container_model_child_property_add_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String name, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Eina.ValueTypeMarshaler))] Eina.ValueTypeBox type, System.IntPtr values);
public static Efl.Eo.FunctionWrapper<efl_container_model_child_property_add_api_delegate> efl_container_model_child_property_add_ptr = new Efl.Eo.FunctionWrapper<efl_container_model_child_property_add_api_delegate>(Module, "efl_container_model_child_property_add");
- private static bool child_property_add(System.IntPtr obj, System.IntPtr pd, System.String name, Eina.ValueType type, System.IntPtr values)
+ private static bool child_property_add(System.IntPtr obj, System.IntPtr pd, System.String name, Eina.ValueTypeBox type, System.IntPtr values)
{
Eina.Log.Debug("function efl_container_model_child_property_add was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflContainerModel_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
Efl.Gfx.IEntity UnsetContent();
/// <summary>Sent after the content is set or unset using the current content object.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContentContentChangedEvt_Args"/></value>
event EventHandler<Efl.IContentContentChangedEvt_Args> ContentChangedEvt;
/// <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>
/// <value>The sub-object.</value>
Efl.Gfx.IEntity Content {
- get ;
- set ;
+ get;
+ set;
}
}
-///<summary>Event argument wrapper for event <see cref="Efl.IContent.ContentChangedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Sent after the content is set or unset using the current content object.</value>
public Efl.Gfx.IEntity arg { get; set; }
}
/// <summary>Common interface for objects that have a single sub-object as content.
/// 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>
-sealed public class IContentConcrete :
+sealed public class IContentConcrete :
Efl.Eo.EoWrapper
, IContent
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IContentConcrete(ConstructingHandle ch) : base(ch)
{
/// <summary>Sent after the content is set or unset using the current content object.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContentContentChangedEvt_Args"/></value>
public event EventHandler<Efl.IContentContentChangedEvt_Args> ContentChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentChangedEvt.</summary>
+ /// <summary>Method to raise event ContentChangedEvt.</summary>
public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e)
{
var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflIContentConcrete_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Gfx.IEntity> Content<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.IContent, T>magic = null) where T : Efl.IContent {
+ return new Efl.BindableProperty<Efl.Gfx.IEntity>("content", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Efl {
/// <summary>Efl control interface</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.IControlConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IControl :
/// <summary>Control the priority of the object.</summary>
/// <value>The priority of the object</value>
int Priority {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>Controls whether the object is suspended or not.</summary>
/// <value>Controls whether the object is suspended or not.</value>
bool Suspend {
- get ;
- set ;
+ get;
+ set;
}
}
/// <summary>Efl control interface</summary>
-sealed public class IControlConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IControlConcrete :
Efl.Eo.EoWrapper
, IControl
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IControlConcrete(ConstructingHandle ch) : base(ch)
{
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflIControlConcrete_ExtensionMethods {
+ public static Efl.BindableProperty<int> Priority<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.IControl, T>magic = null) where T : Efl.IControl {
+ return new Efl.BindableProperty<int>("priority", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Suspend<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.IControl, T>magic = null) where T : Efl.IControl {
+ return new Efl.BindableProperty<bool>("suspend", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Core.ICommandLineConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface ICommandLine :
///
/// 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>
System.String Command {
- get ;
+ get;
}
/// <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<Eina.Stringshare> CommandArray {
- set ;
+ set;
}
/// <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>
/// <value>A command in form of a string</value>
System.String CommandString {
- set ;
+ set;
}
}
/// <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>
-sealed public class ICommandLineConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class ICommandLineConcrete :
Efl.Eo.EoWrapper
, ICommandLine
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private ICommandLineConcrete(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CoreICommandLineConcrete_ExtensionMethods {
+
+ public static Efl.BindableProperty<Eina.Array<Eina.Stringshare>> CommandArray<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Core.ICommandLine, T>magic = null) where T : Efl.Core.ICommandLine {
+ return new Efl.BindableProperty<Eina.Array<Eina.Stringshare>>("command_array", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> CommandString<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Core.ICommandLine, T>magic = null) where T : Efl.Core.ICommandLine {
+ return new Efl.BindableProperty<System.String>("command_string", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// A object of this type alone does not apply the object to the system. For getting the value into the system, see <see cref="Efl.Core.ProcEnv"/>.
///
/// 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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Core.Env.NativeMethods]
[Efl.Eo.BindingEntity]
public class Env : Efl.Object, Efl.IDuplicate
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Env(ConstructingHandle ch) : base(ch)
{
}
/// <summary>Get the value of the <c>var</c>, or <c>null</c> if no such <c>var</c> exists in the object</summary>
- /// <param name="var">The name of the variable</param>
+ /// <param name="kw_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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),var);
+ virtual public System.String GetEnv(System.String kw_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)),kw_var);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Add a new pair to this object</summary>
- /// <param name="var">The name of the variable</param>
+ /// <param name="kw_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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),var, value);
+ virtual public void SetEnv(System.String kw_var, System.String value) {
+ Efl.Core.Env.NativeMethods.efl_core_env_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),kw_var, value);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the content of this object.
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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),var);
+ /// <param name="kw_var">The name of the variable</param>
+ virtual public void Unset(System.String kw_var) {
+ Efl.Core.Env.NativeMethods.efl_core_env_unset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),kw_var);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Remove all pairs from this object</summary>
#pragma warning disable CA1707, CS1591, SA1300, SA1600
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
- private delegate System.String efl_core_env_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String var);
+ private delegate System.String efl_core_env_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String kw_var);
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
- public delegate System.String efl_core_env_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String var);
+ public delegate System.String efl_core_env_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String kw_var);
public static Efl.Eo.FunctionWrapper<efl_core_env_get_api_delegate> efl_core_env_get_ptr = new Efl.Eo.FunctionWrapper<efl_core_env_get_api_delegate>(Module, "efl_core_env_get");
- private static System.String env_get(System.IntPtr obj, System.IntPtr pd, System.String var)
+ private static System.String env_get(System.IntPtr obj, System.IntPtr pd, System.String kw_var)
{
Eina.Log.Debug("function efl_core_env_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
System.String _ret_var = default(System.String);
try
{
- _ret_var = ((Env)ws.Target).GetEnv(var);
+ _ret_var = ((Env)ws.Target).GetEnv(kw_var);
}
catch (Exception e)
{
}
else
{
- return efl_core_env_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), var);
+ return efl_core_env_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), kw_var);
}
}
private static efl_core_env_get_delegate efl_core_env_get_static_delegate;
- private delegate void efl_core_env_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String var, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String value);
+ private delegate void efl_core_env_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String kw_var, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String value);
- public delegate void efl_core_env_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String var, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String value);
+ public delegate void efl_core_env_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String kw_var, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String value);
public static Efl.Eo.FunctionWrapper<efl_core_env_set_api_delegate> efl_core_env_set_ptr = new Efl.Eo.FunctionWrapper<efl_core_env_set_api_delegate>(Module, "efl_core_env_set");
- private static void env_set(System.IntPtr obj, System.IntPtr pd, System.String var, System.String value)
+ private static void env_set(System.IntPtr obj, System.IntPtr pd, System.String kw_var, System.String value)
{
Eina.Log.Debug("function efl_core_env_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
try
{
- ((Env)ws.Target).SetEnv(var, value);
+ ((Env)ws.Target).SetEnv(kw_var, value);
}
catch (Exception e)
{
}
else
{
- efl_core_env_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), var, value);
+ efl_core_env_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), kw_var, value);
}
}
private static efl_core_env_content_get_delegate efl_core_env_content_get_static_delegate;
- private delegate void efl_core_env_unset_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String var);
+ private delegate void efl_core_env_unset_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String kw_var);
- public delegate void efl_core_env_unset_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String var);
+ public delegate void efl_core_env_unset_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String kw_var);
public static Efl.Eo.FunctionWrapper<efl_core_env_unset_api_delegate> efl_core_env_unset_ptr = new Efl.Eo.FunctionWrapper<efl_core_env_unset_api_delegate>(Module, "efl_core_env_unset");
- private static void unset(System.IntPtr obj, System.IntPtr pd, System.String var)
+ private static void unset(System.IntPtr obj, System.IntPtr pd, System.String kw_var)
{
Eina.Log.Debug("function efl_core_env_unset was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
try
{
- ((Env)ws.Target).Unset(var);
+ ((Env)ws.Target).Unset(kw_var);
}
catch (Exception e)
{
}
else
{
- efl_core_env_unset_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), var);
+ efl_core_env_unset_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), kw_var);
}
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CoreEnv_ExtensionMethods {
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Core {
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Core.ProcEnv.NativeMethods]
[Efl.Eo.BindingEntity]
public class ProcEnv : Efl.Core.Env
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected ProcEnv(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_CoreProcEnv_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
using System;
using System.Runtime.InteropServices;
using System.Threading;
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();
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Efl {
/// <summary>Efl cubic_bezier interpolator class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.CubicBezierInterpolator.NativeMethods]
[Efl.Eo.BindingEntity]
public class CubicBezierInterpolator : Efl.Object, Efl.IInterpolator
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected CubicBezierInterpolator(ConstructingHandle ch) : base(ch)
{
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
+ /// <summary>Factors property</summary>
+ /// <value>First factor of the interpolation function.</value>
+ public (double, double, double, double) Factors {
+ get {
+ double _out_factor1 = default(double);
+ double _out_factor2 = default(double);
+ double _out_factor3 = default(double);
+ double _out_factor4 = default(double);
+ GetFactors(out _out_factor1,out _out_factor2,out _out_factor3,out _out_factor4);
+ return (_out_factor1,_out_factor2,_out_factor3,_out_factor4);
+ }
+ set { SetFactors( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
private static IntPtr GetEflClassStatic()
{
return Efl.CubicBezierInterpolator.efl_cubic_bezier_interpolator_class_get();
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflCubicBezierInterpolator_ExtensionMethods {
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <summary>Efl decelerate interpolator class
/// output = sin(input * Pi / 2);</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.DecelerateInterpolator.NativeMethods]
[Efl.Eo.BindingEntity]
public class DecelerateInterpolator : Efl.Object, Efl.IInterpolator
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected DecelerateInterpolator(ConstructingHandle ch) : base(ch)
{
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflDecelerateInterpolator_ExtensionMethods {
+ public static Efl.BindableProperty<double> Factor<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.DecelerateInterpolator, T>magic = null) where T : Efl.DecelerateInterpolator {
+ return new Efl.BindableProperty<double>("factor", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Efl {
/// <summary>Efl divisor interpolator class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.DivisorInterpolator.NativeMethods]
[Efl.Eo.BindingEntity]
public class DivisorInterpolator : Efl.Object, Efl.IInterpolator
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected DivisorInterpolator(ConstructingHandle ch) : base(ch)
{
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
+ /// <summary>Factors property</summary>
+ /// <value>First factor of the interpolation function.</value>
+ public (double, double) Factors {
+ get {
+ double _out_factor1 = default(double);
+ double _out_factor2 = default(double);
+ GetFactors(out _out_factor1,out _out_factor2);
+ return (_out_factor1,_out_factor2);
+ }
+ set { SetFactors( value.Item1, value.Item2); }
+ }
private static IntPtr GetEflClassStatic()
{
return Efl.DivisorInterpolator.efl_divisor_interpolator_class_get();
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflDivisorInterpolator_ExtensionMethods {
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <summary>An interface for duplication of objects.
/// Objects implementing this interface can be duplicated with <see cref="Efl.IDuplicate.Duplicate"/>.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.IDuplicateConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IDuplicate :
}
/// <summary>An interface for duplication of objects.
/// Objects implementing this interface can be duplicated with <see cref="Efl.IDuplicate.Duplicate"/>.</summary>
-sealed public class IDuplicateConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IDuplicateConcrete :
Efl.Eo.EoWrapper
, IDuplicate
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IDuplicateConcrete(ConstructingHandle ch) : base(ch)
{
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflIDuplicateConcrete_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Efl {
/// <summary>Further customization of <see cref="Efl.Task"/>, including signals and environment control.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Exe(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event ClosedEvt.</summary>
+ /// <summary>Method to raise event ClosedEvt.</summary>
public void OnClosedEvt(EventArgs e)
{
var key = "_EFL_IO_CLOSER_EVENT_CLOSED";
///
/// Note that usually this event is dispatched from inside <see cref="Efl.Io.IReader.Read"/>, thus before it returns.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Io.IReaderCanReadChangedEvt_Args"/></value>
public event EventHandler<Efl.Io.IReaderCanReadChangedEvt_Args> CanReadChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event CanReadChangedEvt.</summary>
+ /// <summary>Method to raise event CanReadChangedEvt.</summary>
public void OnCanReadChangedEvt(Efl.Io.IReaderCanReadChangedEvt_Args e)
{
var key = "_EFL_IO_READER_EVENT_CAN_READ_CHANGED";
}
}
}
- ///<summary>Method to raise event EosEvt.</summary>
+ /// <summary>Method to raise event EosEvt.</summary>
public void OnEosEvt(EventArgs e)
{
var key = "_EFL_IO_READER_EVENT_EOS";
///
/// Note that usually this event is dispatched from inside <see cref="Efl.Io.IWriter.Write"/>, thus before it returns.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Io.IWriterCanWriteChangedEvt_Args"/></value>
public event EventHandler<Efl.Io.IWriterCanWriteChangedEvt_Args> CanWriteChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event CanWriteChangedEvt.</summary>
+ /// <summary>Method to raise event CanWriteChangedEvt.</summary>
public void OnCanWriteChangedEvt(Efl.Io.IWriterCanWriteChangedEvt_Args e)
{
var key = "_EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED";
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflExe_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.ExeFlags> ExeFlags<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Exe, T>magic = null) where T : Efl.Exe {
+ return new Efl.BindableProperty<Efl.ExeFlags>("exe_flags", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.Core.Env> Env<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Exe, T>magic = null) where T : Efl.Exe {
+ return new Efl.BindableProperty<Efl.Core.Env>("env", fac);
+ }
+
+
+ public static Efl.BindableProperty<Eina.Array<Eina.Stringshare>> CommandArray<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Exe, T>magic = null) where T : Efl.Exe {
+ return new Efl.BindableProperty<Eina.Array<Eina.Stringshare>>("command_array", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> CommandString<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Exe, T>magic = null) where T : Efl.Exe {
+ return new Efl.BindableProperty<System.String>("command_string", fac);
+ }
+
+
+ public static Efl.BindableProperty<bool> CloseOnExec<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Exe, T>magic = null) where T : Efl.Exe {
+ return new Efl.BindableProperty<bool>("close_on_exec", fac);
+ }
+
+ public static Efl.BindableProperty<bool> CloseOnInvalidate<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Exe, T>magic = null) where T : Efl.Exe {
+ return new Efl.BindableProperty<bool>("close_on_invalidate", fac);
+ }
+
+ public static Efl.BindableProperty<bool> CanRead<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Exe, T>magic = null) where T : Efl.Exe {
+ return new Efl.BindableProperty<bool>("can_read", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Eos<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Exe, T>magic = null) where T : Efl.Exe {
+ return new Efl.BindableProperty<bool>("eos", fac);
+ }
+
+ public static Efl.BindableProperty<bool> CanWrite<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Exe, T>magic = null) where T : Efl.Exe {
+ return new Efl.BindableProperty<bool>("can_write", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
namespace Efl {
/// <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>
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,
}
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// (Since EFL 1.22)</summary>
/// <value>The handle to the <see cref="Eina.File"/> that will be used</value>
Eina.File Mmap {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>Retrieve the file path from where an object is to fetch the data.
/// You must not modify the strings on the returned pointers.
/// (Since EFL 1.22)</summary>
/// <value>The file path.</value>
System.String File {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>Get the previously-set key which corresponds to the target data within a file.
/// Some filetypes can contain multiple data streams which are indexed by a key. Use this property for such cases (See for example <see cref="Efl.Ui.Image"/> or <see cref="Efl.Ui.Layout"/>).
/// (Since EFL 1.22)</summary>
/// <value>The group that the data belongs to. See the class documentation for particular implementations of this interface to see how this property is used.</value>
System.String Key {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>Get the load state of the object.
/// (Since EFL 1.22)</summary>
/// <value><c>true</c> if the object is loaded, <c>false</c> otherwise.</value>
bool Loaded {
- get ;
+ get;
}
}
/// <summary>Efl file interface
/// (Since EFL 1.22)</summary>
-sealed public class IFileConcrete :
+sealed public class IFileConcrete :
Efl.Eo.EoWrapper
, IFile
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IFileConcrete(ConstructingHandle ch) : base(ch)
{
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflIFileConcrete_ExtensionMethods {
+ public static Efl.BindableProperty<Eina.File> Mmap<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.IFile, T>magic = null) where T : Efl.IFile {
+ return new Efl.BindableProperty<Eina.File>("mmap", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> File<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.IFile, T>magic = null) where T : Efl.IFile {
+ return new Efl.BindableProperty<System.String>("file", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> Key<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.IFile, T>magic = null) where T : Efl.IFile {
+ return new Efl.BindableProperty<System.String>("key", fac);
+ }
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
}
/// <summary>Efl file saving interface
/// (Since EFL 1.22)</summary>
-sealed public class IFileSaveConcrete :
+sealed public class IFileSaveConcrete :
Efl.Eo.EoWrapper
, IFileSave
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IFileSaveConcrete(ConstructingHandle ch) : base(ch)
{
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflIFileSaveConcrete_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
namespace Efl {
/// <summary>Info used to determine various attributes when saving a file.
public uint Compression;
/// <summary>The encoding to use when saving the file.</summary>
public System.String Encoding;
- ///<summary>Constructor for FileSaveInfo.</summary>
+ /// <summary>Constructor for FileSaveInfo.</summary>
+ /// <param name="Quality">The quality level (0-100) to save the file with; commonly used when saving image files.</param>;
+ /// <param name="Compression">The compression level (0-100) to save the file with.</param>;
+ /// <param name="Encoding">The encoding to use when saving the file.</param>;
public FileSaveInfo(
uint Quality = default(uint),
uint Compression = default(uint),
this.Encoding = Encoding;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 FileSaveInfo(IntPtr ptr)
{
var tmp = (FileSaveInfo.NativeStruct)Marshal.PtrToStructure(ptr, typeof(FileSaveInfo.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct FileSaveInfo.</summary>
+ /// <summary>Internal wrapper for struct FileSaveInfo.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
public uint Quality;
public uint Compression;
- ///<summary>Internal wrapper for field Encoding</summary>
+ /// <summary>Internal wrapper for field Encoding</summary>
public System.IntPtr Encoding;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator FileSaveInfo.NativeStruct(FileSaveInfo _external_struct)
{
var _internal_struct = new FileSaveInfo.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator FileSaveInfo(FileSaveInfo.NativeStruct _internal_struct)
{
var _external_struct = new FileSaveInfo();
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Efl {
/// <summary>Efl model designed to filter its children.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.FilterModel.NativeMethods]
[Efl.Eo.BindingEntity]
public class FilterModel : Efl.CompositeModel
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected FilterModel(ConstructingHandle ch) : base(ch)
{
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflFilterModel_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// Intended to be used in scenarios where the user needs a manually defined data model, like in tests.
///
/// It does not model anything in particular and does not affect anything else in the system.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.GenericModel.NativeMethods]
[Efl.Eo.BindingEntity]
public class GenericModel : Efl.LoopModel
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected GenericModel(ConstructingHandle ch) : base(ch)
{
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflGenericModel_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Gesture {
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Gesture.IEventsConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IEvents :
Efl.Eo.IWrapper, IDisposable
{
/// <summary>Event for tap gesture</summary>
+ /// <value><see cref="Efl.Gesture.IEventsGestureTapEvt_Args"/></value>
event EventHandler<Efl.Gesture.IEventsGestureTapEvt_Args> GestureTapEvt;
/// <summary>Event for double tap gesture</summary>
+ /// <value><see cref="Efl.Gesture.IEventsGestureDoubleTapEvt_Args"/></value>
event EventHandler<Efl.Gesture.IEventsGestureDoubleTapEvt_Args> GestureDoubleTapEvt;
/// <summary>Event for triple tap gesture</summary>
+ /// <value><see cref="Efl.Gesture.IEventsGestureTripleTapEvt_Args"/></value>
event EventHandler<Efl.Gesture.IEventsGestureTripleTapEvt_Args> GestureTripleTapEvt;
/// <summary>Event for long tap gesture</summary>
+ /// <value><see cref="Efl.Gesture.IEventsGestureLongTapEvt_Args"/></value>
event EventHandler<Efl.Gesture.IEventsGestureLongTapEvt_Args> GestureLongTapEvt;
/// <summary>Event for momentum gesture</summary>
+ /// <value><see cref="Efl.Gesture.IEventsGestureMomentumEvt_Args"/></value>
event EventHandler<Efl.Gesture.IEventsGestureMomentumEvt_Args> GestureMomentumEvt;
/// <summary>Event for flick gesture</summary>
+ /// <value><see cref="Efl.Gesture.IEventsGestureFlickEvt_Args"/></value>
event EventHandler<Efl.Gesture.IEventsGestureFlickEvt_Args> GestureFlickEvt;
/// <summary>Event for zoom gesture</summary>
+ /// <value><see cref="Efl.Gesture.IEventsGestureZoomEvt_Args"/></value>
event EventHandler<Efl.Gesture.IEventsGestureZoomEvt_Args> GestureZoomEvt;
}
-///<summary>Event argument wrapper for event <see cref="Efl.Gesture.IEvents.GestureTapEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Event for tap gesture</value>
public Efl.Canvas.GestureTap arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Gesture.IEvents.GestureDoubleTapEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Event for double tap gesture</value>
public Efl.Canvas.GestureDoubleTap arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Gesture.IEvents.GestureTripleTapEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Event for triple tap gesture</value>
public Efl.Canvas.GestureTripleTap arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Gesture.IEvents.GestureLongTapEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Event for long tap gesture</value>
public Efl.Canvas.GestureLongTap arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Gesture.IEvents.GestureMomentumEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Event for momentum gesture</value>
public Efl.Canvas.GestureMomentum arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Gesture.IEvents.GestureFlickEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Event for flick gesture</value>
public Efl.Canvas.GestureFlick arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Gesture.IEvents.GestureZoomEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Event for zoom gesture</value>
public Efl.Canvas.GestureZoom arg { get; set; }
}
-sealed public class IEventsConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IEventsConcrete :
Efl.Eo.EoWrapper
, IEvents
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IEventsConcrete(ConstructingHandle ch) : base(ch)
{
}
/// <summary>Event for tap gesture</summary>
+ /// <value><see cref="Efl.Gesture.IEventsGestureTapEvt_Args"/></value>
public event EventHandler<Efl.Gesture.IEventsGestureTapEvt_Args> GestureTapEvt
{
add
}
}
}
- ///<summary>Method to raise event GestureTapEvt.</summary>
+ /// <summary>Method to raise event GestureTapEvt.</summary>
public void OnGestureTapEvt(Efl.Gesture.IEventsGestureTapEvt_Args e)
{
var key = "_EFL_EVENT_GESTURE_TAP";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>Event for double tap gesture</summary>
+ /// <value><see cref="Efl.Gesture.IEventsGestureDoubleTapEvt_Args"/></value>
public event EventHandler<Efl.Gesture.IEventsGestureDoubleTapEvt_Args> GestureDoubleTapEvt
{
add
}
}
}
- ///<summary>Method to raise event GestureDoubleTapEvt.</summary>
+ /// <summary>Method to raise event GestureDoubleTapEvt.</summary>
public void OnGestureDoubleTapEvt(Efl.Gesture.IEventsGestureDoubleTapEvt_Args e)
{
var key = "_EFL_EVENT_GESTURE_DOUBLE_TAP";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>Event for triple tap gesture</summary>
+ /// <value><see cref="Efl.Gesture.IEventsGestureTripleTapEvt_Args"/></value>
public event EventHandler<Efl.Gesture.IEventsGestureTripleTapEvt_Args> GestureTripleTapEvt
{
add
}
}
}
- ///<summary>Method to raise event GestureTripleTapEvt.</summary>
+ /// <summary>Method to raise event GestureTripleTapEvt.</summary>
public void OnGestureTripleTapEvt(Efl.Gesture.IEventsGestureTripleTapEvt_Args e)
{
var key = "_EFL_EVENT_GESTURE_TRIPLE_TAP";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>Event for long tap gesture</summary>
+ /// <value><see cref="Efl.Gesture.IEventsGestureLongTapEvt_Args"/></value>
public event EventHandler<Efl.Gesture.IEventsGestureLongTapEvt_Args> GestureLongTapEvt
{
add
}
}
}
- ///<summary>Method to raise event GestureLongTapEvt.</summary>
+ /// <summary>Method to raise event GestureLongTapEvt.</summary>
public void OnGestureLongTapEvt(Efl.Gesture.IEventsGestureLongTapEvt_Args e)
{
var key = "_EFL_EVENT_GESTURE_LONG_TAP";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>Event for momentum gesture</summary>
+ /// <value><see cref="Efl.Gesture.IEventsGestureMomentumEvt_Args"/></value>
public event EventHandler<Efl.Gesture.IEventsGestureMomentumEvt_Args> GestureMomentumEvt
{
add
}
}
}
- ///<summary>Method to raise event GestureMomentumEvt.</summary>
+ /// <summary>Method to raise event GestureMomentumEvt.</summary>
public void OnGestureMomentumEvt(Efl.Gesture.IEventsGestureMomentumEvt_Args e)
{
var key = "_EFL_EVENT_GESTURE_MOMENTUM";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>Event for flick gesture</summary>
+ /// <value><see cref="Efl.Gesture.IEventsGestureFlickEvt_Args"/></value>
public event EventHandler<Efl.Gesture.IEventsGestureFlickEvt_Args> GestureFlickEvt
{
add
}
}
}
- ///<summary>Method to raise event GestureFlickEvt.</summary>
+ /// <summary>Method to raise event GestureFlickEvt.</summary>
public void OnGestureFlickEvt(Efl.Gesture.IEventsGestureFlickEvt_Args e)
{
var key = "_EFL_EVENT_GESTURE_FLICK";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>Event for zoom gesture</summary>
+ /// <value><see cref="Efl.Gesture.IEventsGestureZoomEvt_Args"/></value>
public event EventHandler<Efl.Gesture.IEventsGestureZoomEvt_Args> GestureZoomEvt
{
add
}
}
}
- ///<summary>Method to raise event GestureZoomEvt.</summary>
+ /// <summary>Method to raise event GestureZoomEvt.</summary>
public void OnGestureZoomEvt(Efl.Gesture.IEventsGestureZoomEvt_Args e)
{
var key = "_EFL_EVENT_GESTURE_ZOOM";
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_GestureIEventsConcrete_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Gfx {
/// <summary>API common to all UI container objects.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Gfx.IArrangementConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IArrangement :
/// <param name="pad_vert">Vertical padding</param>
/// <param name="scalable"><c>true</c> if scalable, <c>false</c> otherwise</param>
void SetContentPadding(double pad_horiz, double pad_vert, bool scalable);
- }
+ /// <summary>Alignment of the container within its bounds</summary>
+ /// <value>Horizontal alignment</value>
+ (double, double) ContentAlign {
+ get;
+ set;
+ }
+ /// <summary>Padding between items contained in this object.</summary>
+ /// <value>Horizontal padding</value>
+ (double, double, bool) ContentPadding {
+ get;
+ set;
+ }
+}
/// <summary>API common to all UI container objects.</summary>
-sealed public class IArrangementConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IArrangementConcrete :
Efl.Eo.EoWrapper
, IArrangement
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IArrangementConcrete(ConstructingHandle ch) : base(ch)
{
Efl.Gfx.IArrangementConcrete.NativeMethods.efl_gfx_arrangement_content_padding_set_ptr.Value.Delegate(this.NativeHandle,pad_horiz, pad_vert, scalable);
Eina.Error.RaiseIfUnhandledException();
}
+ /// <summary>Alignment of the container within its bounds</summary>
+ /// <value>Horizontal alignment</value>
+ public (double, double) ContentAlign {
+ get {
+ double _out_align_horiz = default(double);
+ double _out_align_vert = default(double);
+ GetContentAlign(out _out_align_horiz,out _out_align_vert);
+ return (_out_align_horiz,_out_align_vert);
+ }
+ set { SetContentAlign( value.Item1, value.Item2); }
+ }
+ /// <summary>Padding between items contained in this object.</summary>
+ /// <value>Horizontal padding</value>
+ public (double, double, bool) ContentPadding {
+ get {
+ double _out_pad_horiz = default(double);
+ double _out_pad_vert = default(double);
+ bool _out_scalable = default(bool);
+ GetContentPadding(out _out_pad_horiz,out _out_pad_vert,out _out_scalable);
+ return (_out_pad_horiz,_out_pad_vert,_out_scalable);
+ }
+ set { SetContentPadding( value.Item1, value.Item2, value.Item3); }
+ }
private static IntPtr GetEflClassStatic()
{
return Efl.Gfx.IArrangementConcrete.efl_gfx_arrangement_interface_get();
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_GfxIArrangementConcrete_ExtensionMethods {
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Gfx.IBlurConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IBlur :
/// This is can be used efficiently to create glow effects.</summary>
/// <param name="radius">How much to grow the original pixel data.</param>
void SetGrow(double radius);
- /// <summary>How much the original image should be "grown" before blurring.
+ /// <summary>The blur radius in pixels.</summary>
+ /// <value>The horizontal blur radius.</value>
+ (double, double) Radius {
+ get;
+ set;
+ }
+ /// <summary>An offset relative to the original pixels.
+ /// This property allows for drop shadow effects.</summary>
+ /// <value>Horizontal offset in pixels.</value>
+ (double, double) Offset {
+ get;
+ set;
+ }
+ /// <summary>How much the original image should be "grown" before blurring.
/// Growing is a combination of blur & color levels adjustment. If the value of grow is positive, the pixels will appear more "fat" or "bold" than the original. If the value is negative, a shrink effect happens instead.
///
/// This is can be used efficiently to create glow effects.</summary>
/// <value>How much to grow the original pixel data.</value>
double Grow {
- get ;
- set ;
+ get;
+ set;
}
}
/// <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>
-sealed public class IBlurConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IBlurConcrete :
Efl.Eo.EoWrapper
, IBlur
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IBlurConcrete(ConstructingHandle ch) : base(ch)
{
Efl.Gfx.IBlurConcrete.NativeMethods.efl_gfx_blur_grow_set_ptr.Value.Delegate(this.NativeHandle,radius);
Eina.Error.RaiseIfUnhandledException();
}
+ /// <summary>The blur radius in pixels.</summary>
+ /// <value>The horizontal blur radius.</value>
+ public (double, double) Radius {
+ get {
+ double _out_rx = default(double);
+ double _out_ry = default(double);
+ GetRadius(out _out_rx,out _out_ry);
+ return (_out_rx,_out_ry);
+ }
+ set { SetRadius( value.Item1, value.Item2); }
+ }
+ /// <summary>An offset relative to the original pixels.
+ /// This property allows for drop shadow effects.</summary>
+ /// <value>Horizontal offset in pixels.</value>
+ public (double, double) Offset {
+ get {
+ double _out_ox = default(double);
+ double _out_oy = default(double);
+ GetOffset(out _out_ox,out _out_oy);
+ return (_out_ox,_out_oy);
+ }
+ set { SetOffset( value.Item1, value.Item2); }
+ }
/// <summary>How much the original image should be "grown" before blurring.
/// Growing is a combination of blur & color levels adjustment. If the value of grow is positive, the pixels will appear more "fat" or "bold" than the original. If the value is negative, a shrink effect happens instead.
///
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_GfxIBlurConcrete_ExtensionMethods {
+
+
+ public static Efl.BindableProperty<double> Grow<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IBlur, T>magic = null) where T : Efl.Gfx.IBlur {
+ return new Efl.BindableProperty<double>("grow", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Gfx {
/// <summary>Common APIs for all objects representing images and 2D pixel buffers.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Gfx.IBufferConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IBuffer :
/// <summary>Rectangular size of the pixel buffer as allocated in memory.</summary>
/// <value>Size of the buffer in pixels.</value>
Eina.Size2D BufferSize {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>The colorspace defines how pixels are encoded in the image in memory.
/// By default, images are encoded in 32-bit BGRA, ie. each pixel takes 4 bytes in memory, with each channel B,G,R,A encoding the color with values from 0 to 255.
/// All images used in EFL use alpha-premultipied BGRA values, which means that for each pixel, B <= A, G <= A and R <= A.</summary>
/// <value>Colorspace</value>
Efl.Gfx.Colorspace Colorspace {
- get ;
+ get;
}
/// <summary>Indicates whether the alpha channel should be used.
/// This does not indicate whether the image source file contains an alpha channel, only whether to respect it or discard it.</summary>
/// <value>Whether to use alpha channel (<c>true</c>) data or not (<c>false</c>).</value>
bool Alpha {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>Length in bytes of one row of pixels in memory.
/// Usually this will be equal to width * 4, with a plain BGRA image. This may return 0 if the stride is not applicable.
/// When applicable, this will include the <see cref="Efl.Gfx.IBuffer.GetBufferBorders"/> as well as potential extra padding.</summary>
/// <value>Stride</value>
int Stride {
- get ;
+ get;
+ }
+ /// <summary>Duplicated pixel borders inside this buffer.
+ /// Internally, EFL may require an image to have its border pixels duplicated, in particular for GL textures. This property exposes the internal duplicated borders to allow calling <see cref="Efl.Gfx.IBuffer.BufferMap"/> with the entire pixel data, including those edge pixels.</summary>
+ (uint, uint, uint, uint) BufferBorders {
+ get;
}
}
/// <summary>Common APIs for all objects representing images and 2D pixel buffers.</summary>
-sealed public class IBufferConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IBufferConcrete :
Efl.Eo.EoWrapper
, IBuffer
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IBufferConcrete(ConstructingHandle ch) : base(ch)
{
public int Stride {
get { return GetStride(); }
}
+ /// <summary>Duplicated pixel borders inside this buffer.
+ /// Internally, EFL may require an image to have its border pixels duplicated, in particular for GL textures. This property exposes the internal duplicated borders to allow calling <see cref="Efl.Gfx.IBuffer.BufferMap"/> with the entire pixel data, including those edge pixels.</summary>
+ public (uint, uint, uint, uint) BufferBorders {
+ get {
+ uint _out_l = default(uint);
+ uint _out_r = default(uint);
+ uint _out_t = default(uint);
+ uint _out_b = default(uint);
+ GetBufferBorders(out _out_l,out _out_r,out _out_t,out _out_b);
+ return (_out_l,_out_r,_out_t,_out_b);
+ }
+ }
private static IntPtr GetEflClassStatic()
{
return Efl.Gfx.IBufferConcrete.efl_gfx_buffer_interface_get();
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_GfxIBufferConcrete_ExtensionMethods {
+ public static Efl.BindableProperty<Eina.Size2D> BufferSize<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IBuffer, T>magic = null) where T : Efl.Gfx.IBuffer {
+ return new Efl.BindableProperty<Eina.Size2D>("buffer_size", fac);
+ }
+
+
+ public static Efl.BindableProperty<bool> Alpha<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IBuffer, T>magic = null) where T : Efl.Gfx.IBuffer {
+ return new Efl.BindableProperty<bool>("alpha", fac);
+ }
+
+
+
+}
+#pragma warning restore CS1591
+#endif
namespace Efl {
namespace Gfx {
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// (Since EFL 1.22)</summary>
/// <param name="colorcode">the hex color code.</param>
void SetColorCode(System.String colorcode);
- /// <summary>Get hex color code of given Evas object. This returns a short lived hex color code string.
+ /// <summary>Retrieves the general/main color of the given Evas object.
+ /// Retrieves the main color's RGB component (and alpha channel) values, which range from 0 to 255. For the alpha channel, which defines the object's transparency level, 0 means totally transparent, while 255 means opaque. These color values are premultiplied by the alpha value.
+ ///
+ /// Usually youll use this attribute for text and rectangle objects, where the main color is their unique one. If set for objects which themselves have colors, like the images one, those colors get modulated by this one.
+ ///
+ /// All newly created Evas rectangles get the default color values of 255 255 255 255 (opaque white).
+ ///
+ /// Use null pointers on the components you're not interested in: they'll be ignored by the function.
+ /// (Since EFL 1.22)</summary>
+ (int, int, int, int) Color {
+ get;
+ set;
+ }
+ /// <summary>Get hex color code of given Evas object. This returns a short lived hex color code string.
/// (Since EFL 1.22)</summary>
/// <value>the hex color code.</value>
System.String ColorCode {
- get ;
- set ;
+ get;
+ set;
}
}
/// <summary>Efl Gfx Color mixin class
/// (Since EFL 1.22)</summary>
-sealed public class IColorConcrete :
+sealed public class IColorConcrete :
Efl.Eo.EoWrapper
, IColor
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IColorConcrete(ConstructingHandle ch) : base(ch)
{
Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_code_set_ptr.Value.Delegate(this.NativeHandle,colorcode);
Eina.Error.RaiseIfUnhandledException();
}
+ /// <summary>Retrieves the general/main color of the given Evas object.
+ /// Retrieves the main color's RGB component (and alpha channel) values, which range from 0 to 255. For the alpha channel, which defines the object's transparency level, 0 means totally transparent, while 255 means opaque. These color values are premultiplied by the alpha value.
+ ///
+ /// Usually youll use this attribute for text and rectangle objects, where the main color is their unique one. If set for objects which themselves have colors, like the images one, those colors get modulated by this one.
+ ///
+ /// All newly created Evas rectangles get the default color values of 255 255 255 255 (opaque white).
+ ///
+ /// Use null pointers on the components you're not interested in: they'll be ignored by the function.
+ /// (Since EFL 1.22)</summary>
+ public (int, int, int, int) Color {
+ get {
+ int _out_r = default(int);
+ int _out_g = default(int);
+ int _out_b = default(int);
+ int _out_a = default(int);
+ GetColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Get hex color code of given Evas object. This returns a short lived hex color code string.
/// (Since EFL 1.22)</summary>
/// <value>the hex color code.</value>
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_GfxIColorConcrete_ExtensionMethods {
+
+ public static Efl.BindableProperty<System.String> ColorCode<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IColor, T>magic = null) where T : Efl.Gfx.IColor {
+ return new Efl.BindableProperty<System.String>("color_code", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Gfx {
/// <summary>Efl Gfx Color Class mixin class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Gfx.IColorClassConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IColorClass :
void ClearColorClass();
}
/// <summary>Efl Gfx Color Class mixin class</summary>
-sealed public class IColorClassConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IColorClassConcrete :
Efl.Eo.EoWrapper
, IColorClass
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IColorClassConcrete(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_GfxIColorClassConcrete_ExtensionMethods {
+
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
void SetScale(double scale);
/// <summary>Object's visibility state changed, the event value is the new state.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Gfx.IEntityVisibilityChangedEvt_Args"/></value>
event EventHandler<Efl.Gfx.IEntityVisibilityChangedEvt_Args> VisibilityChangedEvt;
/// <summary>Object was moved, its position during the event is the new one.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Gfx.IEntityPositionChangedEvt_Args"/></value>
event EventHandler<Efl.Gfx.IEntityPositionChangedEvt_Args> PositionChangedEvt;
/// <summary>Object was resized, its size during the event is the new one.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Gfx.IEntitySizeChangedEvt_Args"/></value>
event EventHandler<Efl.Gfx.IEntitySizeChangedEvt_Args> SizeChangedEvt;
/// <summary>The 2D position of a canvas object.
/// The position is absolute, in pixels, relative to the top-left corner of the window, within its border decorations (application space).
/// (Since EFL 1.22)</summary>
/// <value>A 2D coordinate in pixel units.</value>
Eina.Position2D Position {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>The 2D size of a canvas object.
/// (Since EFL 1.22)</summary>
/// <value>A 2D size in pixel units.</value>
Eina.Size2D Size {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>Rectangular geometry that combines both position and size.
/// (Since EFL 1.22)</summary>
/// <value>The X,Y position and W,H size, in pixels.</value>
Eina.Rect Geometry {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>The visibility of a canvas object.
/// All canvas objects will become visible by default just before render. This means that it is not required to call <see cref="Efl.Gfx.IEntity.SetVisible"/> after creating an object unless you want to create it without showing it. Note that this behavior is new since 1.21, and only applies to canvas objects created with the EO API (i.e. not the legacy C-only API). Other types of Gfx objects may or may not be visible by default.
/// (Since EFL 1.22)</summary>
/// <value><c>true</c> if to make the object visible, <c>false</c> otherwise</value>
bool Visible {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>The scaling factor of an object.
/// This property is an individual scaling factor on the object (Edje or UI widget). This property (or Edje's global scaling factor, when applicable), will affect this object's part sizes. If scale is not zero, than the individual scaling will override any global scaling set, for the object obj's parts. Set it back to zero to get the effects of the global scaling again.
/// (Since EFL 1.22)</summary>
/// <value>The scaling factor (the default value is 0.0, meaning individual scaling is not set)</value>
double Scale {
- get ;
- set ;
+ get;
+ set;
}
}
-///<summary>Event argument wrapper for event <see cref="Efl.Gfx.IEntity.VisibilityChangedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Object's visibility state changed, the event value is the new state.</value>
public bool arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Gfx.IEntity.PositionChangedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Object was moved, its position during the event is the new one.</value>
public Eina.Position2D arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Gfx.IEntity.SizeChangedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Object was resized, its size during the event is the new one.</value>
public Eina.Size2D arg { get; set; }
}
/// <summary>Efl graphics interface
/// (Since EFL 1.22)</summary>
-sealed public class IEntityConcrete :
+sealed public class IEntityConcrete :
Efl.Eo.EoWrapper
, IEntity
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IEntityConcrete(ConstructingHandle ch) : base(ch)
{
/// <summary>Object's visibility state changed, the event value is the new state.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Gfx.IEntityVisibilityChangedEvt_Args"/></value>
public event EventHandler<Efl.Gfx.IEntityVisibilityChangedEvt_Args> VisibilityChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event VisibilityChangedEvt.</summary>
+ /// <summary>Method to raise event VisibilityChangedEvt.</summary>
public void OnVisibilityChangedEvt(Efl.Gfx.IEntityVisibilityChangedEvt_Args e)
{
var key = "_EFL_GFX_ENTITY_EVENT_VISIBILITY_CHANGED";
}
/// <summary>Object was moved, its position during the event is the new one.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Gfx.IEntityPositionChangedEvt_Args"/></value>
public event EventHandler<Efl.Gfx.IEntityPositionChangedEvt_Args> PositionChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event PositionChangedEvt.</summary>
+ /// <summary>Method to raise event PositionChangedEvt.</summary>
public void OnPositionChangedEvt(Efl.Gfx.IEntityPositionChangedEvt_Args e)
{
var key = "_EFL_GFX_ENTITY_EVENT_POSITION_CHANGED";
}
/// <summary>Object was resized, its size during the event is the new one.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Gfx.IEntitySizeChangedEvt_Args"/></value>
public event EventHandler<Efl.Gfx.IEntitySizeChangedEvt_Args> SizeChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event SizeChangedEvt.</summary>
+ /// <summary>Method to raise event SizeChangedEvt.</summary>
public void OnSizeChangedEvt(Efl.Gfx.IEntitySizeChangedEvt_Args e)
{
var key = "_EFL_GFX_ENTITY_EVENT_SIZE_CHANGED";
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_GfxIEntityConcrete_ExtensionMethods {
+ public static Efl.BindableProperty<Eina.Position2D> Position<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IEntity, T>magic = null) where T : Efl.Gfx.IEntity {
+ return new Efl.BindableProperty<Eina.Position2D>("position", fac);
+ }
+
+ public static Efl.BindableProperty<Eina.Size2D> Size<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IEntity, T>magic = null) where T : Efl.Gfx.IEntity {
+ return new Efl.BindableProperty<Eina.Size2D>("size", fac);
+ }
+
+ public static Efl.BindableProperty<Eina.Rect> Geometry<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IEntity, T>magic = null) where T : Efl.Gfx.IEntity {
+ return new Efl.BindableProperty<Eina.Rect>("geometry", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Visible<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IEntity, T>magic = null) where T : Efl.Gfx.IEntity {
+ return new Efl.BindableProperty<bool>("visible", fac);
+ }
+
+ public static Efl.BindableProperty<double> Scale<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IEntity, T>magic = null) where T : Efl.Gfx.IEntity {
+ return new Efl.BindableProperty<double>("scale", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Gfx {
/// <summary>Efl graphics fill interface</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Gfx.IFillConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IFill :
/// This flag is <c>true</c> by default (used to be <c>false</c> with the old APIs, and was known as "filled").</summary>
/// <value><c>true</c> to make the fill property follow object size or <c>false</c> otherwise.</value>
bool FillAuto {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>Specifies how to tile an image to fill its rectangle geometry.
/// Note that if <c>w</c> or <c>h</c> are smaller than the dimensions of the object, the displayed image will be tiled around the object's area. To have only one copy of the bound image drawn, <c>x</c> and <c>y</c> must be 0 and <c>w</c> and <c>h</c> need to be the exact width and height of the image object itself, respectively.
/// Setting this property will reset the <see cref="Efl.Gfx.IFill.FillAuto"/> to <c>false</c>.</summary>
/// <value>The top-left corner to start drawing from as well as the size at which the bound image will be displayed.</value>
Eina.Rect Fill {
- get ;
- set ;
+ get;
+ set;
}
}
/// <summary>Efl graphics fill interface</summary>
-sealed public class IFillConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IFillConcrete :
Efl.Eo.EoWrapper
, IFill
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IFillConcrete(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_GfxIFillConcrete_ExtensionMethods {
+ public static Efl.BindableProperty<bool> FillAuto<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IFill, T>magic = null) where T : Efl.Gfx.IFill {
+ return new Efl.BindableProperty<bool>("fill_auto", fac);
+ }
+
+ public static Efl.BindableProperty<Eina.Rect> Fill<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IFill, T>magic = null) where T : Efl.Gfx.IFill {
+ return new Efl.BindableProperty<Eina.Rect>("fill", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// Filters are programmable effects that run whenever the object is rendered on its canvas. The program language is Lua and a complete reference can be found under "EFL Graphics Filters".
///
/// This was a beta feature since 1.15.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Gfx.IFilterConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IFilter :
/// <param name="value">String value to use as data</param>
/// <param name="execute">If <c>true</c>, execute 'name = value'</param>
void SetFilterData(System.String name, System.String value, bool execute);
- }
+ /// <summary>Gets the code of the filter program set on this object. May be <c>null</c>.</summary>
+ /// <value>The Lua program source code.</value>
+ (System.String, System.String) FilterProgram {
+ get;
+ set;
+ }
+ /// <summary>Set the current state of the filter.
+ /// This should be used by Edje (EFL's internal layout engine), but could also be used when implementing animations programmatically.
+ ///
+ /// A full state is defined by two states (name + value): origin state and target state of an ongoing animation, as well as the <c>pos</c> progress (from 0 to 1) of that animation timeline. The second state can be omitted if there is no ongoing animation.</summary>
+ /// <value>Current state of the filter</value>
+ (System.String, double, System.String, double, double) FilterState {
+ get;
+ set;
+ }
+ /// <summary>Required padding to apply this filter without cropping.
+ /// Read-only property that can be used to calculate the object's final geometry. This can be overridden (set) from inside the filter program by using the function 'padding_set' in the Lua program.</summary>
+ (int, int, int, int) FilterPadding {
+ get;
+ }
+}
/// <summary>Graphical filters can be applied to any object implementing this interface.
/// Filters are programmable effects that run whenever the object is rendered on its canvas. The program language is Lua and a complete reference can be found under "EFL Graphics Filters".
///
/// This was a beta feature since 1.15.</summary>
-sealed public class IFilterConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IFilterConcrete :
Efl.Eo.EoWrapper
, IFilter
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IFilterConcrete(ConstructingHandle ch) : base(ch)
{
Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_data_set_ptr.Value.Delegate(this.NativeHandle,name, value, execute);
Eina.Error.RaiseIfUnhandledException();
}
+ /// <summary>Gets the code of the filter program set on this object. May be <c>null</c>.</summary>
+ /// <value>The Lua program source code.</value>
+ public (System.String, System.String) FilterProgram {
+ get {
+ System.String _out_code = default(System.String);
+ System.String _out_name = default(System.String);
+ GetFilterProgram(out _out_code,out _out_name);
+ return (_out_code,_out_name);
+ }
+ set { SetFilterProgram( value.Item1, value.Item2); }
+ }
+ /// <summary>Set the current state of the filter.
+ /// This should be used by Edje (EFL's internal layout engine), but could also be used when implementing animations programmatically.
+ ///
+ /// A full state is defined by two states (name + value): origin state and target state of an ongoing animation, as well as the <c>pos</c> progress (from 0 to 1) of that animation timeline. The second state can be omitted if there is no ongoing animation.</summary>
+ /// <value>Current state of the filter</value>
+ public (System.String, double, System.String, double, double) FilterState {
+ get {
+ System.String _out_cur_state = default(System.String);
+ double _out_cur_val = default(double);
+ System.String _out_next_state = default(System.String);
+ double _out_next_val = default(double);
+ double _out_pos = default(double);
+ GetFilterState(out _out_cur_state,out _out_cur_val,out _out_next_state,out _out_next_val,out _out_pos);
+ return (_out_cur_state,_out_cur_val,_out_next_state,_out_next_val,_out_pos);
+ }
+ set { SetFilterState( value.Item1, value.Item2, value.Item3, value.Item4, value.Item5); }
+ }
+ /// <summary>Required padding to apply this filter without cropping.
+ /// Read-only property that can be used to calculate the object's final geometry. This can be overridden (set) from inside the filter program by using the function 'padding_set' in the Lua program.</summary>
+ public (int, int, int, int) FilterPadding {
+ get {
+ int _out_l = default(int);
+ int _out_r = default(int);
+ int _out_t = default(int);
+ int _out_b = default(int);
+ GetFilterPadding(out _out_l,out _out_r,out _out_t,out _out_b);
+ return (_out_l,_out_r,_out_t,_out_b);
+ }
+ }
private static IntPtr GetEflClassStatic()
{
return Efl.Gfx.IFilterConcrete.efl_gfx_filter_interface_get();
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_GfxIFilterConcrete_ExtensionMethods {
+
+
+
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Gfx {
/// <summary>Efl frame controller of frame based animated object interface.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Gfx.IFrameControllerConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IFrameController :
/// This will be <c>true</c> for animated object for instance but <c>false</c> for a single frame object.</summary>
/// <value><c>true</c> if the object is animated</value>
bool Animated {
- get ;
+ get;
}
/// <summary>Index of the current frame of an animated object.
/// Ranges from 1 to <see cref="Efl.Gfx.IFrameController.GetFrameCount"/>. Valid only if <see cref="Efl.Gfx.IFrameController.GetAnimated"/>.</summary>
/// <value>The index of current frame.</value>
int Frame {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>Get the total number of frames of the object, if animated.
/// Returns -1 if not animated.</summary>
/// <value>The number of frames in the animated object.</value>
int FrameCount {
- get ;
+ get;
}
/// <summary>Get the kind of looping the animated object does.
/// This returns the kind of looping the animated object wants to do.
/// The default type is <see cref="Efl.Gfx.FrameControllerLoopHint.Loop"/>.</summary>
/// <value>Loop type of the animated object.</value>
Efl.Gfx.FrameControllerLoopHint LoopType {
- get ;
+ get;
}
/// <summary>Get the number times the animation of the object loops.
/// This returns loop count of animated object. The loop count is the number of times the animation will play fully from first to last frame until the animation should stop (at the final frame).
/// If 0 is returned, then looping should happen indefinitely (no limit to the number of times it loops).</summary>
/// <value>The number of loop of an animated object.</value>
int LoopCount {
- get ;
+ get;
}
}
/// <summary>Efl frame controller of frame based animated object interface.</summary>
-sealed public class IFrameControllerConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IFrameControllerConcrete :
Efl.Eo.EoWrapper
, IFrameController
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IFrameControllerConcrete(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_GfxIFrameControllerConcrete_ExtensionMethods {
+
+ public static Efl.BindableProperty<int> Frame<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IFrameController, T>magic = null) where T : Efl.Gfx.IFrameController {
+ return new Efl.BindableProperty<int>("frame", fac);
+ }
+
+
+
+
+
+}
+#pragma warning restore CS1591
+#endif
namespace Efl {
namespace Gfx {
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Gfx {
/// <summary>Efl graphics gradient interface</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Gfx.IGradientConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IGradient :
/// <summary>Specifies the spread method that should be used for this gradient.</summary>
/// <param name="s">Spread type to be used</param>
void SetSpread(Efl.Gfx.GradientSpread s);
- /// <summary>Returns the spread method use by this gradient. The default is EFL_GFX_GRADIENT_SPREAD_PAD.</summary>
+ /// <summary>Get the list of color stops.</summary>
+ /// <value>Color stops list</value>
+ (Efl.Gfx.GradientStop, uint) Stop {
+ get;
+ set;
+ }
+ /// <summary>Returns the spread method use by this gradient. The default is EFL_GFX_GRADIENT_SPREAD_PAD.</summary>
/// <value>Spread type to be used</value>
Efl.Gfx.GradientSpread Spread {
- get ;
- set ;
+ get;
+ set;
}
}
/// <summary>Efl graphics gradient interface</summary>
-sealed public class IGradientConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IGradientConcrete :
Efl.Eo.EoWrapper
, IGradient
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IGradientConcrete(ConstructingHandle ch) : base(ch)
{
Efl.Gfx.IGradientConcrete.NativeMethods.efl_gfx_gradient_spread_set_ptr.Value.Delegate(this.NativeHandle,s);
Eina.Error.RaiseIfUnhandledException();
}
+ /// <summary>Get the list of color stops.</summary>
+ /// <value>Color stops list</value>
+ public (Efl.Gfx.GradientStop, uint) Stop {
+ get {
+ Efl.Gfx.GradientStop _out_colors = default(Efl.Gfx.GradientStop);
+ uint _out_length = default(uint);
+ GetStop(out _out_colors,out _out_length);
+ return (_out_colors,_out_length);
+ }
+ set { SetStop(ref value.Item1, value.Item2); }
+ }
/// <summary>Returns the spread method use by this gradient. The default is EFL_GFX_GRADIENT_SPREAD_PAD.</summary>
/// <value>Spread type to be used</value>
public Efl.Gfx.GradientSpread Spread {
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_GfxIGradientConcrete_ExtensionMethods {
+
+ public static Efl.BindableProperty<Efl.Gfx.GradientSpread> Spread<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IGradient, T>magic = null) where T : Efl.Gfx.IGradient {
+ return new Efl.BindableProperty<Efl.Gfx.GradientSpread>("spread", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Gfx {
/// <summary>Efl graphics gradient linear interface</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Gfx.IGradientLinearConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IGradientLinear :
/// <param name="x">X co-ordinate of end point</param>
/// <param name="y">Y co-ordinate of end point</param>
void SetEnd(double x, double y);
- }
+ /// <summary>Gets the start point of this linear gradient.</summary>
+ /// <value>X co-ordinate of start point</value>
+ (double, double) Start {
+ get;
+ set;
+ }
+ /// <summary>Gets the end point of this linear gradient.</summary>
+ /// <value>X co-ordinate of end point</value>
+ (double, double) End {
+ get;
+ set;
+ }
+}
/// <summary>Efl graphics gradient linear interface</summary>
-sealed public class IGradientLinearConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IGradientLinearConcrete :
Efl.Eo.EoWrapper
, IGradientLinear
, Efl.Gfx.IGradient
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IGradientLinearConcrete(ConstructingHandle ch) : base(ch)
{
Efl.Gfx.IGradientConcrete.NativeMethods.efl_gfx_gradient_spread_set_ptr.Value.Delegate(this.NativeHandle,s);
Eina.Error.RaiseIfUnhandledException();
}
+ /// <summary>Gets the start point of this linear gradient.</summary>
+ /// <value>X co-ordinate of start point</value>
+ public (double, double) Start {
+ get {
+ double _out_x = default(double);
+ double _out_y = default(double);
+ GetStart(out _out_x,out _out_y);
+ return (_out_x,_out_y);
+ }
+ set { SetStart( value.Item1, value.Item2); }
+ }
+ /// <summary>Gets the end point of this linear gradient.</summary>
+ /// <value>X co-ordinate of end point</value>
+ public (double, double) End {
+ get {
+ double _out_x = default(double);
+ double _out_y = default(double);
+ GetEnd(out _out_x,out _out_y);
+ return (_out_x,_out_y);
+ }
+ set { SetEnd( value.Item1, value.Item2); }
+ }
+ /// <summary>Get the list of color stops.</summary>
+ /// <value>Color stops list</value>
+ public (Efl.Gfx.GradientStop, uint) Stop {
+ get {
+ Efl.Gfx.GradientStop _out_colors = default(Efl.Gfx.GradientStop);
+ uint _out_length = default(uint);
+ GetStop(out _out_colors,out _out_length);
+ return (_out_colors,_out_length);
+ }
+ set { SetStop(ref value.Item1, value.Item2); }
+ }
/// <summary>Returns the spread method use by this gradient. The default is EFL_GFX_GRADIENT_SPREAD_PAD.</summary>
/// <value>Spread type to be used</value>
public Efl.Gfx.GradientSpread Spread {
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_GfxIGradientLinearConcrete_ExtensionMethods {
+
+
+
+ public static Efl.BindableProperty<Efl.Gfx.GradientSpread> Spread<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IGradientLinear, T>magic = null) where T : Efl.Gfx.IGradientLinear {
+ return new Efl.BindableProperty<Efl.Gfx.GradientSpread>("spread", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Gfx {
/// <summary>Efl graphics gradient radial interface</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Gfx.IGradientRadialConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IGradientRadial :
/// <param name="x">X co-ordinate of focal point</param>
/// <param name="y">Y co-ordinate of focal point</param>
void SetFocal(double x, double y);
- /// <summary>Gets the center radius of this radial gradient.</summary>
+ /// <summary>Gets the center of this radial gradient.</summary>
+ /// <value>X co-ordinate of center point</value>
+ (double, double) Center {
+ get;
+ set;
+ }
+ /// <summary>Gets the center radius of this radial gradient.</summary>
/// <value>Center radius</value>
double Radius {
- get ;
- set ;
+ get;
+ set;
+ }
+ /// <summary>Gets the focal point of this radial gradient.</summary>
+ /// <value>X co-ordinate of focal point</value>
+ (double, double) Focal {
+ get;
+ set;
}
}
/// <summary>Efl graphics gradient radial interface</summary>
-sealed public class IGradientRadialConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IGradientRadialConcrete :
Efl.Eo.EoWrapper
, IGradientRadial
, Efl.Gfx.IGradient
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IGradientRadialConcrete(ConstructingHandle ch) : base(ch)
{
Efl.Gfx.IGradientConcrete.NativeMethods.efl_gfx_gradient_spread_set_ptr.Value.Delegate(this.NativeHandle,s);
Eina.Error.RaiseIfUnhandledException();
}
+ /// <summary>Gets the center of this radial gradient.</summary>
+ /// <value>X co-ordinate of center point</value>
+ public (double, double) Center {
+ get {
+ double _out_x = default(double);
+ double _out_y = default(double);
+ GetCenter(out _out_x,out _out_y);
+ return (_out_x,_out_y);
+ }
+ set { SetCenter( value.Item1, value.Item2); }
+ }
/// <summary>Gets the center radius of this radial gradient.</summary>
/// <value>Center radius</value>
public double Radius {
get { return GetRadius(); }
set { SetRadius(value); }
}
+ /// <summary>Gets the focal point of this radial gradient.</summary>
+ /// <value>X co-ordinate of focal point</value>
+ public (double, double) Focal {
+ get {
+ double _out_x = default(double);
+ double _out_y = default(double);
+ GetFocal(out _out_x,out _out_y);
+ return (_out_x,_out_y);
+ }
+ set { SetFocal( value.Item1, value.Item2); }
+ }
+ /// <summary>Get the list of color stops.</summary>
+ /// <value>Color stops list</value>
+ public (Efl.Gfx.GradientStop, uint) Stop {
+ get {
+ Efl.Gfx.GradientStop _out_colors = default(Efl.Gfx.GradientStop);
+ uint _out_length = default(uint);
+ GetStop(out _out_colors,out _out_length);
+ return (_out_colors,_out_length);
+ }
+ set { SetStop(ref value.Item1, value.Item2); }
+ }
/// <summary>Returns the spread method use by this gradient. The default is EFL_GFX_GRADIENT_SPREAD_PAD.</summary>
/// <value>Spread type to be used</value>
public Efl.Gfx.GradientSpread Spread {
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_GfxIGradientRadialConcrete_ExtensionMethods {
+
+ public static Efl.BindableProperty<double> Radius<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IGradientRadial, T>magic = null) where T : Efl.Gfx.IGradientRadial {
+ return new Efl.BindableProperty<double>("radius", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<Efl.Gfx.GradientSpread> Spread<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IGradientRadial, T>magic = null) where T : Efl.Gfx.IGradientRadial {
+ return new Efl.BindableProperty<Efl.Gfx.GradientSpread>("spread", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Gfx {
+public partial class Constants
+{
+ /// <summary>Use with <see cref="Efl.Gfx.IHint.GetHintAlign"/>.</summary>
+ public static readonly double HintAlignLeft = 0.000000;
+}
+}
+
+}
+
+namespace Efl {
+
+namespace Gfx {
+
+public partial class Constants
+{
+ /// <summary>Use with <see cref="Efl.Gfx.IHint.GetHintAlign"/>.</summary>
+ public static readonly double HintAlignRight = 1.000000;
+}
+}
+
+}
+
+namespace Efl {
+
+namespace Gfx {
+
+public partial class Constants
+{
+ /// <summary>Use with <see cref="Efl.Gfx.IHint.GetHintAlign"/>.</summary>
+ public static readonly double HintAlignTop = 0.000000;
+}
+}
+
+}
+
+namespace Efl {
+
+namespace Gfx {
+
+public partial class Constants
+{
+ /// <summary>Use with <see cref="Efl.Gfx.IHint.GetHintAlign"/>.</summary>
+ public static readonly double HintAlignBottom = 1.000000;
+}
+}
+
+}
+
+namespace Efl {
+
+namespace Gfx {
+
+public partial class Constants
+{
+ /// <summary>Use with <see cref="Efl.Gfx.IHint.GetHintAlign"/>.</summary>
+ public static readonly double HintAlignCenter = 0.500000;
+}
+}
+
+}
+
+namespace Efl {
+
+namespace Gfx {
+
/// <summary>Efl graphics hint interface
/// (Since EFL 1.22)</summary>
[Efl.Gfx.IHintConcrete.NativeMethods]
/// Values -1 will be treated as unset hint components, when queried by managers.
///
/// Note: Smart objects (such as elementary) can have their own hint policy. So calling this API may or may not affect the size of smart objects.
+///
+/// Note: It is an error for the <see cref="Efl.Gfx.IHint.HintSizeMax"/> to be smaller in either axis than <see cref="Efl.Gfx.IHint.HintSizeMin"/>. In this scenario, the max size hint will be prioritized over the user min size hint.
/// (Since EFL 1.22)</summary>
/// <returns>Maximum size (hint) in pixels, (-1, -1) by default for canvas objects).</returns>
Eina.Size2D GetHintSizeMax();
/// Values -1 will be treated as unset hint components, when queried by managers.
///
/// Note: Smart objects (such as elementary) can have their own hint policy. So calling this API may or may not affect the size of smart objects.
+///
+/// Note: It is an error for the <see cref="Efl.Gfx.IHint.HintSizeMax"/> to be smaller in either axis than <see cref="Efl.Gfx.IHint.HintSizeMin"/>. In this scenario, the max size hint will be prioritized over the user min size hint.
/// (Since EFL 1.22)</summary>
/// <param name="sz">Maximum size (hint) in pixels, (-1, -1) by default for canvas objects).</param>
void SetHintSizeMax(Eina.Size2D sz);
+ /// <summary>Get the "intrinsic" maximum size of this object.
+/// (Since EFL 1.22)</summary>
+/// <returns>Maximum size (hint) in pixels.</returns>
+Eina.Size2D GetHintSizeRestrictedMax();
+ /// <summary>This function is protected as it is meant for widgets to indicate their "intrinsic" maximum size.
+/// (Since EFL 1.22)</summary>
+/// <param name="sz">Maximum size (hint) in pixels.</param>
+void SetHintSizeRestrictedMax(Eina.Size2D sz);
+ /// <summary>Read-only maximum size combining both <see cref="Efl.Gfx.IHint.HintSizeRestrictedMax"/> and <see cref="Efl.Gfx.IHint.HintSizeMax"/> hints.
+/// <see cref="Efl.Gfx.IHint.HintSizeRestrictedMax"/> is intended for mostly internal usage and widget developers, and <see cref="Efl.Gfx.IHint.HintSizeMax"/> is intended to be set from application side. <see cref="Efl.Gfx.IHint.GetHintSizeCombinedMax"/> combines both values by taking their repective maximum (in both width and height), and is used internally to get an object's maximum size.
+/// (Since EFL 1.22)</summary>
+/// <returns>Maximum size (hint) in pixels.</returns>
+Eina.Size2D GetHintSizeCombinedMax();
/// <summary>Hints on the object's minimum size.
/// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate. The object container is in charge of fetching this property and placing the object accordingly.
///
/// Value 0 will be treated as unset hint components, when queried by managers.
///
/// Note: This property is meant to be set by applications and not by EFL itself. Use this to request a specific size (treated as minimum size).
+///
+/// Note: It is an error for the <see cref="Efl.Gfx.IHint.HintSizeMax"/> to be smaller in either axis than <see cref="Efl.Gfx.IHint.HintSizeMin"/>. In this scenario, the max size hint will be prioritized over the user min size hint.
/// (Since EFL 1.22)</summary>
/// <returns>Minimum size (hint) in pixels.</returns>
Eina.Size2D GetHintSizeMin();
/// Value 0 will be treated as unset hint components, when queried by managers.
///
/// Note: This property is meant to be set by applications and not by EFL itself. Use this to request a specific size (treated as minimum size).
+///
+/// Note: It is an error for the <see cref="Efl.Gfx.IHint.HintSizeMax"/> to be smaller in either axis than <see cref="Efl.Gfx.IHint.HintSizeMin"/>. In this scenario, the max size hint will be prioritized over the user min size hint.
/// (Since EFL 1.22)</summary>
/// <param name="sz">Minimum size (hint) in pixels.</param>
void SetHintSizeMin(Eina.Size2D sz);
/// <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>
void SetHintFill(bool x, bool y);
- /// <summary>Object hints changed.
+ /// <summary>Object hints changed.
/// (Since EFL 1.22)</summary>
event EventHandler HintsChangedEvt;
+ /// <summary>Defines the aspect ratio to respect when scaling this object.
+ /// The aspect ratio is defined as the width / height ratio of the object. Depending on the object and its container, this hint may or may not be fully respected.
+ ///
+ /// If any of the given aspect ratio terms are 0, the object's container will ignore the aspect and scale this object to occupy the whole available area, for any given policy.
+ /// (Since EFL 1.22)</summary>
+ /// <value>Mode of interpretation.</value>
+ (Efl.Gfx.HintAspect, Eina.Size2D) HintAspect {
+ get;
+ set;
+ }
/// <summary>Hints on the object's maximum size.
/// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
///
/// Values -1 will be treated as unset hint components, when queried by managers.
///
/// Note: Smart objects (such as elementary) can have their own hint policy. So calling this API may or may not affect the size of smart objects.
+ ///
+ /// Note: It is an error for the <see cref="Efl.Gfx.IHint.HintSizeMax"/> to be smaller in either axis than <see cref="Efl.Gfx.IHint.HintSizeMin"/>. In this scenario, the max size hint will be prioritized over the user min size hint.
/// (Since EFL 1.22)</summary>
/// <value>Maximum size (hint) in pixels, (-1, -1) by default for canvas objects).</value>
Eina.Size2D HintSizeMax {
- get ;
- set ;
+ get;
+ set;
+ }
+ /// <summary>Internal hints for an object's maximum size.
+ /// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
+ ///
+ /// Values -1 will be treated as unset hint components, when queried by managers.
+ ///
+ /// Note: This property is internal and meant for widget developers to define the absolute maximum size of the object. EFL itself sets this size internally, so any change to it from an application might be ignored. Applications should use <see cref="Efl.Gfx.IHint.HintSizeMax"/> instead.
+ ///
+ /// Note: It is an error for the <see cref="Efl.Gfx.IHint.HintSizeRestrictedMax"/> to be smaller in either axis than <see cref="Efl.Gfx.IHint.HintSizeRestrictedMin"/>. In this scenario, the max size hint will be prioritized over the user min size hint.
+ /// (Since EFL 1.22)</summary>
+ /// <value>Maximum size (hint) in pixels.</value>
+ Eina.Size2D HintSizeRestrictedMax {
+ get;
+ set;
+ }
+ /// <summary>Read-only maximum size combining both <see cref="Efl.Gfx.IHint.HintSizeRestrictedMax"/> and <see cref="Efl.Gfx.IHint.HintSizeMax"/> hints.
+ /// <see cref="Efl.Gfx.IHint.HintSizeRestrictedMax"/> is intended for mostly internal usage and widget developers, and <see cref="Efl.Gfx.IHint.HintSizeMax"/> is intended to be set from application side. <see cref="Efl.Gfx.IHint.GetHintSizeCombinedMax"/> combines both values by taking their repective maximum (in both width and height), and is used internally to get an object's maximum size.
+ /// (Since EFL 1.22)</summary>
+ /// <value>Maximum size (hint) in pixels.</value>
+ Eina.Size2D HintSizeCombinedMax {
+ get;
}
/// <summary>Hints on the object's minimum size.
/// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate. The object container is in charge of fetching this property and placing the object accordingly.
/// Value 0 will be treated as unset hint components, when queried by managers.
///
/// Note: This property is meant to be set by applications and not by EFL itself. Use this to request a specific size (treated as minimum size).
+ ///
+ /// Note: It is an error for the <see cref="Efl.Gfx.IHint.HintSizeMax"/> to be smaller in either axis than <see cref="Efl.Gfx.IHint.HintSizeMin"/>. In this scenario, the max size hint will be prioritized over the user min size hint.
/// (Since EFL 1.22)</summary>
/// <value>Minimum size (hint) in pixels.</value>
Eina.Size2D HintSizeMin {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>Internal hints for an object's minimum size.
/// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
/// Values 0 will be treated as unset hint components, when queried by managers.
///
/// Note: This property is internal and meant for widget developers to define the absolute minimum size of the object. EFL itself sets this size internally, so any change to it from an application might be ignored. Use <see cref="Efl.Gfx.IHint.HintSizeMin"/> instead.
+ ///
+ /// Note: It is an error for the <see cref="Efl.Gfx.IHint.HintSizeRestrictedMax"/> to be smaller in either axis than <see cref="Efl.Gfx.IHint.HintSizeRestrictedMin"/>. In this scenario, the max size hint will be prioritized over the user min size hint.
/// (Since EFL 1.22)</summary>
/// <value>Minimum size (hint) in pixels.</value>
Eina.Size2D HintSizeRestrictedMin {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>Read-only minimum size combining both <see cref="Efl.Gfx.IHint.HintSizeRestrictedMin"/> and <see cref="Efl.Gfx.IHint.HintSizeMin"/> hints.
/// <see cref="Efl.Gfx.IHint.HintSizeRestrictedMin"/> is intended for mostly internal usage and widget developers, and <see cref="Efl.Gfx.IHint.HintSizeMin"/> is intended to be set from application side. <see cref="Efl.Gfx.IHint.GetHintSizeCombinedMin"/> combines both values by taking their repective maximum (in both width and height), and is used internally to get an object's minimum size.
/// (Since EFL 1.22)</summary>
/// <value>Minimum size (hint) in pixels.</value>
Eina.Size2D HintSizeCombinedMin {
- get ;
+ get;
+ }
+ /// <summary>Hints for an object's margin or padding space.
+ /// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
+ ///
+ /// The object container is in charge of fetching this property and placing the object accordingly.
+ ///
+ /// Note: Smart objects (such as elementary) can have their own hint policy. So calling this API may or may not affect the size of smart objects.
+ /// (Since EFL 1.22)</summary>
+ /// <value>Integer to specify left padding.</value>
+ (int, int, int, int) HintMargin {
+ get;
+ set;
+ }
+ /// <summary>Hints for an object's weight.
+ /// This is a hint on how a container object should resize a given child within its area. Containers may adhere to the simpler logic of just expanding the child object's dimensions to fit its own (see the <see cref="Efl.Gfx.Constants.HintExpand"/> helper weight macro) or the complete one of taking each child's weight hint as real weights to how much of its size to allocate for them in each axis. A container is supposed to, after normalizing the weights of its children (with weight hints), distribut the space it has to layout them by those factors -- most weighted children get larger in this process than the least ones.
+ ///
+ /// Accepted values are zero or positive values. Some containers might use this hint as a boolean, but some others might consider it as a proportion, see documentation of each container.
+ ///
+ /// Note: Default weight hint values are 0.0, for both axis.
+ /// (Since EFL 1.22)</summary>
+ /// <value>Non-negative double value to use as horizontal weight hint.</value>
+ (double, double) HintWeight {
+ get;
+ set;
+ }
+ /// <summary>Hints for an object's alignment.
+ /// These are hints on how to align an object inside the boundaries of a container/manager. Accepted values are in the 0.0 to 1.0 range.
+ ///
+ /// For the horizontal component, 0.0 means to the left, 1.0 means to the right. Analogously, for the vertical component, 0.0 to the top, 1.0 means to the bottom.
+ ///
+ /// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
+ ///
+ /// Note: Default alignment hint values are 0.5, for both axes.
+ /// (Since EFL 1.22)</summary>
+ /// <value>Double, ranging from 0.0 to 1.0.</value>
+ (double, double) HintAlign {
+ get;
+ set;
+ }
+ /// <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.
+ /// Maximum hints should be enforced with higher priority, if they are set. Also, any <see cref="Efl.Gfx.IHint.GetHintMargin"/> set on objects should add up to the object space on the final scene composition.
+ ///
+ /// See documentation of possible users: in Evas, they are the <see cref="Efl.Ui.Box"/> "box" and <see cref="Efl.Ui.Table"/> "table" smart objects.
+ ///
+ /// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
+ ///
+ /// Note: Default fill hint values are true, for both axes.
+ /// (Since EFL 1.22)</summary>
+ /// <value><c>true</c> if to fill the object space, <c>false</c> otherwise, to use as horizontal fill hint.</value>
+ (bool, bool) HintFill {
+ get;
+ set;
}
}
/// <summary>Efl graphics hint interface
/// (Since EFL 1.22)</summary>
-sealed public class IHintConcrete :
+sealed public class IHintConcrete :
Efl.Eo.EoWrapper
, IHint
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IHintConcrete(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event HintsChangedEvt.</summary>
+ /// <summary>Method to raise event HintsChangedEvt.</summary>
public void OnHintsChangedEvt(EventArgs e)
{
var key = "_EFL_GFX_ENTITY_EVENT_HINTS_CHANGED";
/// Values -1 will be treated as unset hint components, when queried by managers.
///
/// Note: Smart objects (such as elementary) can have their own hint policy. So calling this API may or may not affect the size of smart objects.
+ ///
+ /// Note: It is an error for the <see cref="Efl.Gfx.IHint.HintSizeMax"/> to be smaller in either axis than <see cref="Efl.Gfx.IHint.HintSizeMin"/>. In this scenario, the max size hint will be prioritized over the user min size hint.
/// (Since EFL 1.22)</summary>
/// <returns>Maximum size (hint) in pixels, (-1, -1) by default for canvas objects).</returns>
public Eina.Size2D GetHintSizeMax() {
/// Values -1 will be treated as unset hint components, when queried by managers.
///
/// Note: Smart objects (such as elementary) can have their own hint policy. So calling this API may or may not affect the size of smart objects.
+ ///
+ /// Note: It is an error for the <see cref="Efl.Gfx.IHint.HintSizeMax"/> to be smaller in either axis than <see cref="Efl.Gfx.IHint.HintSizeMin"/>. In this scenario, the max size hint will be prioritized over the user min size hint.
/// (Since EFL 1.22)</summary>
/// <param name="sz">Maximum size (hint) in pixels, (-1, -1) by default for canvas objects).</param>
public void SetHintSizeMax(Eina.Size2D sz) {
Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_size_max_set_ptr.Value.Delegate(this.NativeHandle,_in_sz);
Eina.Error.RaiseIfUnhandledException();
}
+ /// <summary>Get the "intrinsic" maximum size of this object.
+ /// (Since EFL 1.22)</summary>
+ /// <returns>Maximum size (hint) in pixels.</returns>
+ public Eina.Size2D GetHintSizeRestrictedMax() {
+ var _ret_var = Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_size_restricted_max_get_ptr.Value.Delegate(this.NativeHandle);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>This function is protected as it is meant for widgets to indicate their "intrinsic" maximum size.
+ /// (Since EFL 1.22)</summary>
+ /// <param name="sz">Maximum size (hint) in pixels.</param>
+ public void SetHintSizeRestrictedMax(Eina.Size2D sz) {
+ Eina.Size2D.NativeStruct _in_sz = sz;
+ Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_size_restricted_max_set_ptr.Value.Delegate(this.NativeHandle,_in_sz);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Read-only maximum size combining both <see cref="Efl.Gfx.IHint.HintSizeRestrictedMax"/> and <see cref="Efl.Gfx.IHint.HintSizeMax"/> hints.
+ /// <see cref="Efl.Gfx.IHint.HintSizeRestrictedMax"/> is intended for mostly internal usage and widget developers, and <see cref="Efl.Gfx.IHint.HintSizeMax"/> is intended to be set from application side. <see cref="Efl.Gfx.IHint.GetHintSizeCombinedMax"/> combines both values by taking their repective maximum (in both width and height), and is used internally to get an object's maximum size.
+ /// (Since EFL 1.22)</summary>
+ /// <returns>Maximum size (hint) in pixels.</returns>
+ public Eina.Size2D GetHintSizeCombinedMax() {
+ var _ret_var = Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_size_combined_max_get_ptr.Value.Delegate(this.NativeHandle);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
/// <summary>Hints on the object's minimum size.
/// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate. The object container is in charge of fetching this property and placing the object accordingly.
///
/// Value 0 will be treated as unset hint components, when queried by managers.
///
/// Note: This property is meant to be set by applications and not by EFL itself. Use this to request a specific size (treated as minimum size).
+ ///
+ /// Note: It is an error for the <see cref="Efl.Gfx.IHint.HintSizeMax"/> to be smaller in either axis than <see cref="Efl.Gfx.IHint.HintSizeMin"/>. In this scenario, the max size hint will be prioritized over the user min size hint.
/// (Since EFL 1.22)</summary>
/// <returns>Minimum size (hint) in pixels.</returns>
public Eina.Size2D GetHintSizeMin() {
/// Value 0 will be treated as unset hint components, when queried by managers.
///
/// Note: This property is meant to be set by applications and not by EFL itself. Use this to request a specific size (treated as minimum size).
+ ///
+ /// Note: It is an error for the <see cref="Efl.Gfx.IHint.HintSizeMax"/> to be smaller in either axis than <see cref="Efl.Gfx.IHint.HintSizeMin"/>. In this scenario, the max size hint will be prioritized over the user min size hint.
/// (Since EFL 1.22)</summary>
/// <param name="sz">Minimum size (hint) in pixels.</param>
public void SetHintSizeMin(Eina.Size2D sz) {
Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_fill_set_ptr.Value.Delegate(this.NativeHandle,x, y);
Eina.Error.RaiseIfUnhandledException();
}
+ /// <summary>Defines the aspect ratio to respect when scaling this object.
+ /// The aspect ratio is defined as the width / height ratio of the object. Depending on the object and its container, this hint may or may not be fully respected.
+ ///
+ /// If any of the given aspect ratio terms are 0, the object's container will ignore the aspect and scale this object to occupy the whole available area, for any given policy.
+ /// (Since EFL 1.22)</summary>
+ /// <value>Mode of interpretation.</value>
+ public (Efl.Gfx.HintAspect, Eina.Size2D) HintAspect {
+ get {
+ Efl.Gfx.HintAspect _out_mode = default(Efl.Gfx.HintAspect);
+ Eina.Size2D _out_sz = default(Eina.Size2D);
+ GetHintAspect(out _out_mode,out _out_sz);
+ return (_out_mode,_out_sz);
+ }
+ set { SetHintAspect( value.Item1, value.Item2); }
+ }
/// <summary>Hints on the object's maximum size.
/// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
///
/// Values -1 will be treated as unset hint components, when queried by managers.
///
/// Note: Smart objects (such as elementary) can have their own hint policy. So calling this API may or may not affect the size of smart objects.
+ ///
+ /// Note: It is an error for the <see cref="Efl.Gfx.IHint.HintSizeMax"/> to be smaller in either axis than <see cref="Efl.Gfx.IHint.HintSizeMin"/>. In this scenario, the max size hint will be prioritized over the user min size hint.
/// (Since EFL 1.22)</summary>
/// <value>Maximum size (hint) in pixels, (-1, -1) by default for canvas objects).</value>
public Eina.Size2D HintSizeMax {
get { return GetHintSizeMax(); }
set { SetHintSizeMax(value); }
}
+ /// <summary>Internal hints for an object's maximum size.
+ /// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
+ ///
+ /// Values -1 will be treated as unset hint components, when queried by managers.
+ ///
+ /// Note: This property is internal and meant for widget developers to define the absolute maximum size of the object. EFL itself sets this size internally, so any change to it from an application might be ignored. Applications should use <see cref="Efl.Gfx.IHint.HintSizeMax"/> instead.
+ ///
+ /// Note: It is an error for the <see cref="Efl.Gfx.IHint.HintSizeRestrictedMax"/> to be smaller in either axis than <see cref="Efl.Gfx.IHint.HintSizeRestrictedMin"/>. In this scenario, the max size hint will be prioritized over the user min size hint.
+ /// (Since EFL 1.22)</summary>
+ /// <value>Maximum size (hint) in pixels.</value>
+ public Eina.Size2D HintSizeRestrictedMax {
+ get { return GetHintSizeRestrictedMax(); }
+ set { SetHintSizeRestrictedMax(value); }
+ }
+ /// <summary>Read-only maximum size combining both <see cref="Efl.Gfx.IHint.HintSizeRestrictedMax"/> and <see cref="Efl.Gfx.IHint.HintSizeMax"/> hints.
+ /// <see cref="Efl.Gfx.IHint.HintSizeRestrictedMax"/> is intended for mostly internal usage and widget developers, and <see cref="Efl.Gfx.IHint.HintSizeMax"/> is intended to be set from application side. <see cref="Efl.Gfx.IHint.GetHintSizeCombinedMax"/> combines both values by taking their repective maximum (in both width and height), and is used internally to get an object's maximum size.
+ /// (Since EFL 1.22)</summary>
+ /// <value>Maximum size (hint) in pixels.</value>
+ public Eina.Size2D HintSizeCombinedMax {
+ get { return GetHintSizeCombinedMax(); }
+ }
/// <summary>Hints on the object's minimum size.
/// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate. The object container is in charge of fetching this property and placing the object accordingly.
///
/// Value 0 will be treated as unset hint components, when queried by managers.
///
/// Note: This property is meant to be set by applications and not by EFL itself. Use this to request a specific size (treated as minimum size).
+ ///
+ /// Note: It is an error for the <see cref="Efl.Gfx.IHint.HintSizeMax"/> to be smaller in either axis than <see cref="Efl.Gfx.IHint.HintSizeMin"/>. In this scenario, the max size hint will be prioritized over the user min size hint.
/// (Since EFL 1.22)</summary>
/// <value>Minimum size (hint) in pixels.</value>
public Eina.Size2D HintSizeMin {
/// Values 0 will be treated as unset hint components, when queried by managers.
///
/// Note: This property is internal and meant for widget developers to define the absolute minimum size of the object. EFL itself sets this size internally, so any change to it from an application might be ignored. Use <see cref="Efl.Gfx.IHint.HintSizeMin"/> instead.
+ ///
+ /// Note: It is an error for the <see cref="Efl.Gfx.IHint.HintSizeRestrictedMax"/> to be smaller in either axis than <see cref="Efl.Gfx.IHint.HintSizeRestrictedMin"/>. In this scenario, the max size hint will be prioritized over the user min size hint.
/// (Since EFL 1.22)</summary>
/// <value>Minimum size (hint) in pixels.</value>
public Eina.Size2D HintSizeRestrictedMin {
public Eina.Size2D HintSizeCombinedMin {
get { return GetHintSizeCombinedMin(); }
}
+ /// <summary>Hints for an object's margin or padding space.
+ /// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
+ ///
+ /// The object container is in charge of fetching this property and placing the object accordingly.
+ ///
+ /// Note: Smart objects (such as elementary) can have their own hint policy. So calling this API may or may not affect the size of smart objects.
+ /// (Since EFL 1.22)</summary>
+ /// <value>Integer to specify left padding.</value>
+ public (int, int, int, int) HintMargin {
+ get {
+ int _out_l = default(int);
+ int _out_r = default(int);
+ int _out_t = default(int);
+ int _out_b = default(int);
+ GetHintMargin(out _out_l,out _out_r,out _out_t,out _out_b);
+ return (_out_l,_out_r,_out_t,_out_b);
+ }
+ set { SetHintMargin( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
+ /// <summary>Hints for an object's weight.
+ /// This is a hint on how a container object should resize a given child within its area. Containers may adhere to the simpler logic of just expanding the child object's dimensions to fit its own (see the <see cref="Efl.Gfx.Constants.HintExpand"/> helper weight macro) or the complete one of taking each child's weight hint as real weights to how much of its size to allocate for them in each axis. A container is supposed to, after normalizing the weights of its children (with weight hints), distribut the space it has to layout them by those factors -- most weighted children get larger in this process than the least ones.
+ ///
+ /// Accepted values are zero or positive values. Some containers might use this hint as a boolean, but some others might consider it as a proportion, see documentation of each container.
+ ///
+ /// Note: Default weight hint values are 0.0, for both axis.
+ /// (Since EFL 1.22)</summary>
+ /// <value>Non-negative double value to use as horizontal weight hint.</value>
+ public (double, double) HintWeight {
+ get {
+ double _out_x = default(double);
+ double _out_y = default(double);
+ GetHintWeight(out _out_x,out _out_y);
+ return (_out_x,_out_y);
+ }
+ set { SetHintWeight( value.Item1, value.Item2); }
+ }
+ /// <summary>Hints for an object's alignment.
+ /// These are hints on how to align an object inside the boundaries of a container/manager. Accepted values are in the 0.0 to 1.0 range.
+ ///
+ /// For the horizontal component, 0.0 means to the left, 1.0 means to the right. Analogously, for the vertical component, 0.0 to the top, 1.0 means to the bottom.
+ ///
+ /// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
+ ///
+ /// Note: Default alignment hint values are 0.5, for both axes.
+ /// (Since EFL 1.22)</summary>
+ /// <value>Double, ranging from 0.0 to 1.0.</value>
+ public (double, double) HintAlign {
+ get {
+ double _out_x = default(double);
+ double _out_y = default(double);
+ GetHintAlign(out _out_x,out _out_y);
+ return (_out_x,_out_y);
+ }
+ set { SetHintAlign( value.Item1, value.Item2); }
+ }
+ /// <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.
+ /// Maximum hints should be enforced with higher priority, if they are set. Also, any <see cref="Efl.Gfx.IHint.GetHintMargin"/> set on objects should add up to the object space on the final scene composition.
+ ///
+ /// See documentation of possible users: in Evas, they are the <see cref="Efl.Ui.Box"/> "box" and <see cref="Efl.Ui.Table"/> "table" smart objects.
+ ///
+ /// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
+ ///
+ /// Note: Default fill hint values are true, for both axes.
+ /// (Since EFL 1.22)</summary>
+ /// <value><c>true</c> if to fill the object space, <c>false</c> otherwise, to use as horizontal fill hint.</value>
+ public (bool, bool) HintFill {
+ get {
+ bool _out_x = default(bool);
+ bool _out_y = default(bool);
+ GetHintFill(out _out_x,out _out_y);
+ return (_out_x,_out_y);
+ }
+ set { SetHintFill( value.Item1, value.Item2); }
+ }
private static IntPtr GetEflClassStatic()
{
return Efl.Gfx.IHintConcrete.efl_gfx_hint_interface_get();
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_hint_size_max_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_hint_size_max_set_static_delegate) });
}
+ if (efl_gfx_hint_size_restricted_max_get_static_delegate == null)
+ {
+ efl_gfx_hint_size_restricted_max_get_static_delegate = new efl_gfx_hint_size_restricted_max_get_delegate(hint_size_restricted_max_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetHintSizeRestrictedMax") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_hint_size_restricted_max_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_hint_size_restricted_max_get_static_delegate) });
+ }
+
+ if (efl_gfx_hint_size_restricted_max_set_static_delegate == null)
+ {
+ efl_gfx_hint_size_restricted_max_set_static_delegate = new efl_gfx_hint_size_restricted_max_set_delegate(hint_size_restricted_max_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetHintSizeRestrictedMax") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_hint_size_restricted_max_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_hint_size_restricted_max_set_static_delegate) });
+ }
+
+ if (efl_gfx_hint_size_combined_max_get_static_delegate == null)
+ {
+ efl_gfx_hint_size_combined_max_get_static_delegate = new efl_gfx_hint_size_combined_max_get_delegate(hint_size_combined_max_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetHintSizeCombinedMax") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_hint_size_combined_max_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_hint_size_combined_max_get_static_delegate) });
+ }
+
if (efl_gfx_hint_size_min_get_static_delegate == null)
{
efl_gfx_hint_size_min_get_static_delegate = new efl_gfx_hint_size_min_get_delegate(hint_size_min_get);
private static efl_gfx_hint_size_max_set_delegate efl_gfx_hint_size_max_set_static_delegate;
+ private delegate Eina.Size2D.NativeStruct efl_gfx_hint_size_restricted_max_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate Eina.Size2D.NativeStruct efl_gfx_hint_size_restricted_max_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_hint_size_restricted_max_get_api_delegate> efl_gfx_hint_size_restricted_max_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_hint_size_restricted_max_get_api_delegate>(Module, "efl_gfx_hint_size_restricted_max_get");
+
+ private static Eina.Size2D.NativeStruct hint_size_restricted_max_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_gfx_hint_size_restricted_max_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Size2D _ret_var = default(Eina.Size2D);
+ try
+ {
+ _ret_var = ((IHint)ws.Target).GetHintSizeRestrictedMax();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_gfx_hint_size_restricted_max_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_gfx_hint_size_restricted_max_get_delegate efl_gfx_hint_size_restricted_max_get_static_delegate;
+
+
+ private delegate void efl_gfx_hint_size_restricted_max_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct sz);
+
+
+ public delegate void efl_gfx_hint_size_restricted_max_set_api_delegate(System.IntPtr obj, Eina.Size2D.NativeStruct sz);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_hint_size_restricted_max_set_api_delegate> efl_gfx_hint_size_restricted_max_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_hint_size_restricted_max_set_api_delegate>(Module, "efl_gfx_hint_size_restricted_max_set");
+
+ private static void hint_size_restricted_max_set(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct sz)
+ {
+ Eina.Log.Debug("function efl_gfx_hint_size_restricted_max_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Size2D _in_sz = sz;
+
+ try
+ {
+ ((IHint)ws.Target).SetHintSizeRestrictedMax(_in_sz);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_gfx_hint_size_restricted_max_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), sz);
+ }
+ }
+
+ private static efl_gfx_hint_size_restricted_max_set_delegate efl_gfx_hint_size_restricted_max_set_static_delegate;
+
+
+ private delegate Eina.Size2D.NativeStruct efl_gfx_hint_size_combined_max_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate Eina.Size2D.NativeStruct efl_gfx_hint_size_combined_max_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_hint_size_combined_max_get_api_delegate> efl_gfx_hint_size_combined_max_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_hint_size_combined_max_get_api_delegate>(Module, "efl_gfx_hint_size_combined_max_get");
+
+ private static Eina.Size2D.NativeStruct hint_size_combined_max_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_gfx_hint_size_combined_max_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Size2D _ret_var = default(Eina.Size2D);
+ try
+ {
+ _ret_var = ((IHint)ws.Target).GetHintSizeCombinedMax();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_gfx_hint_size_combined_max_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_gfx_hint_size_combined_max_get_delegate efl_gfx_hint_size_combined_max_get_static_delegate;
+
+
private delegate Eina.Size2D.NativeStruct efl_gfx_hint_size_min_get_delegate(System.IntPtr obj, System.IntPtr pd);
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_GfxIHintConcrete_ExtensionMethods {
+
+ public static Efl.BindableProperty<Eina.Size2D> HintSizeMax<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IHint, T>magic = null) where T : Efl.Gfx.IHint {
+ return new Efl.BindableProperty<Eina.Size2D>("hint_size_max", fac);
+ }
+
+ public static Efl.BindableProperty<Eina.Size2D> HintSizeRestrictedMax<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IHint, T>magic = null) where T : Efl.Gfx.IHint {
+ return new Efl.BindableProperty<Eina.Size2D>("hint_size_restricted_max", fac);
+ }
+
+
+ public static Efl.BindableProperty<Eina.Size2D> HintSizeMin<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IHint, T>magic = null) where T : Efl.Gfx.IHint {
+ return new Efl.BindableProperty<Eina.Size2D>("hint_size_min", fac);
+ }
+
+ public static Efl.BindableProperty<Eina.Size2D> HintSizeRestrictedMin<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IHint, T>magic = null) where T : Efl.Gfx.IHint {
+ return new Efl.BindableProperty<Eina.Size2D>("hint_size_restricted_min", fac);
+ }
+
+
+
+
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Gfx {
/// <summary>Common APIs for all 2D images that can be rendered on the canvas.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Gfx.IImageConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IImage :
/// <summary>Control how the image is scaled.</summary>
/// <param name="scale_type">Image scale type</param>
void SetScaleType(Efl.Gfx.ImageScaleType scale_type);
+ /// <summary>If <c>true</c>, the image may be scaled to a larger size. If <c>false</c>, the image will never be resized larger than its native size. This is set to <c>true</c> by default.</summary>
+/// <returns>Allow image upscaling</returns>
+bool GetCanUpscale();
+ /// <summary>If <c>true</c>, the image may be scaled to a larger size. If <c>false</c>, the image will never be resized larger than its native size. This is set to <c>true</c> by default.</summary>
+/// <param name="upscale">Allow image upscaling</param>
+void SetCanUpscale(bool upscale);
+ /// <summary>If <c>true</c>, the image may be scaled to a smaller size. If <c>false</c>, the image will never be resized smaller than its native size. This is set to <c>true</c> by default.</summary>
+/// <returns>Allow image downscaling</returns>
+bool GetCanDownscale();
+ /// <summary>If <c>true</c>, the image may be scaled to a smaller size. If <c>false</c>, the image will never be resized smaller than its native size. This is set to <c>true</c> by default.</summary>
+/// <param name="downscale">Allow image downscaling</param>
+void SetCanDownscale(bool downscale);
/// <summary>Returns 1.0 if not applicable (eg. height = 0).</summary>
/// <returns>The image's ratio.</returns>
double GetRatio();
/// 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);
+void GetStretchRegion(out Eina.Iterator<Efl.Gfx.ImageStretchRegion> horizontal, out Eina.Iterator<Efl.Gfx.ImageStretchRegion> 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);
+Eina.Error SetStretchRegion(Eina.Iterator<Efl.Gfx.ImageStretchRegion> horizontal, Eina.Iterator<Efl.Gfx.ImageStretchRegion> 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;
/// <c>true</c> by default</summary>
/// <value>Whether to use smooth scale or not.</value>
bool SmoothScale {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>Control how the image is scaled.</summary>
/// <value>Image scale type</value>
Efl.Gfx.ImageScaleType ScaleType {
- get ;
- set ;
+ get;
+ set;
+ }
+ /// <summary>If <c>true</c>, the image may be scaled to a larger size. If <c>false</c>, the image will never be resized larger than its native size. This is set to <c>true</c> by default.</summary>
+ /// <value>Allow image upscaling</value>
+ bool CanUpscale {
+ get;
+ set;
+ }
+ /// <summary>If <c>true</c>, the image may be scaled to a smaller size. If <c>false</c>, the image will never be resized smaller than its native size. This is set to <c>true</c> by default.</summary>
+ /// <value>Allow image downscaling</value>
+ bool CanDownscale {
+ get;
+ set;
}
/// <summary>The native width/height ratio of the image.</summary>
/// <value>The image's ratio.</value>
double Ratio {
- get ;
+ 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 ;
+ get;
+ }
+ /// <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 units used for <c>l</c>, <c>r</c>, <c>t</c> and <c>b</c> are canvas units (pixels).
+ ///
+ /// Note: The border region itself may be scaled by the <see cref="Efl.Gfx.IImage.SetBorderScale"/> function.
+ ///
+ /// Note: By default, image objects have no borders set, i.e. <c>l</c>, <c>r</c>, <c>t</c> and <c>b</c> start as 0.
+ ///
+ /// Note: Similar to the concepts of 9-patch images or cap insets.</summary>
+ /// <value>The border's left width.</value>
+ (int, int, int, int) Border {
+ get;
+ set;
}
/// <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.
/// Default value is 1.0 (no scaling).</summary>
/// <value>The scale factor.</value>
double BorderScale {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>Specifies how the center part of the object (not the borders) should be drawn when EFL is rendering it.
/// This function sets how the center part of the image object's source image is to be drawn, which must be one of the values in <see cref="Efl.Gfx.BorderFillMode"/>. By center we mean the complementary part of that defined by <see cref="Efl.Gfx.IImage.GetBorder"/>. This is very useful for making frames and decorations. You would most probably also be using a filled image (as in <see cref="Efl.Gfx.IFill.FillAuto"/>) to use as a frame.
/// The default value is <see cref="Efl.Gfx.BorderFillMode.Default"/>, ie. render and scale the center area, respecting its transparency.</summary>
/// <value>Fill mode of the center region.</value>
Efl.Gfx.BorderFillMode BorderCenterFill {
- get ;
- set ;
+ get;
+ set;
+ }
+ /// <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>
+ /// <value>Representation of area that are stretchable in the image horizontal space.</value>
+ (Eina.Iterator<Efl.Gfx.ImageStretchRegion>, Eina.Iterator<Efl.Gfx.ImageStretchRegion>) StretchRegion {
+ get;
+ set;
}
/// <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>
/// <value>The size in pixels.</value>
Eina.Size2D ImageSize {
- get ;
+ get;
}
/// <summary>Get the content hint setting of a given image object of the canvas.
/// This returns #EVAS_IMAGE_CONTENT_HINT_NONE on error.</summary>
/// <value>Dynamic or static content hint, see <see cref="Efl.Gfx.ImageContentHint"/></value>
Efl.Gfx.ImageContentHint ContentHint {
- get ;
- set ;
+ get;
+ set;
}
/// <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>
/// <value>Scalable or static size hint, see <see cref="Efl.Gfx.ImageScaleHint"/></value>
Efl.Gfx.ImageScaleHint ScaleHint {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>Gets the (last) file loading error for a given object.</summary>
/// <value>The load error code.</value>
Eina.Error ImageLoadError {
- get ;
+ get;
}
}
/// <summary>Common APIs for all 2D images that can be rendered on the canvas.</summary>
-sealed public class IImageConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IImageConcrete :
Efl.Eo.EoWrapper
, IImage
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IImageConcrete(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event ImagePreloadEvt.</summary>
+ /// <summary>Method to raise event ImagePreloadEvt.</summary>
public void OnImagePreloadEvt(EventArgs e)
{
var key = "_EFL_GFX_IMAGE_EVENT_IMAGE_PRELOAD";
}
}
}
- ///<summary>Method to raise event ImageResizeEvt.</summary>
+ /// <summary>Method to raise event ImageResizeEvt.</summary>
public void OnImageResizeEvt(EventArgs e)
{
var key = "_EFL_GFX_IMAGE_EVENT_IMAGE_RESIZE";
}
}
}
- ///<summary>Method to raise event ImageUnloadEvt.</summary>
+ /// <summary>Method to raise event ImageUnloadEvt.</summary>
public void OnImageUnloadEvt(EventArgs e)
{
var key = "_EFL_GFX_IMAGE_EVENT_IMAGE_UNLOAD";
Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_scale_type_set_ptr.Value.Delegate(this.NativeHandle,scale_type);
Eina.Error.RaiseIfUnhandledException();
}
+ /// <summary>If <c>true</c>, the image may be scaled to a larger size. If <c>false</c>, the image will never be resized larger than its native size. This is set to <c>true</c> by default.</summary>
+ /// <returns>Allow image upscaling</returns>
+ public bool GetCanUpscale() {
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_can_upscale_get_ptr.Value.Delegate(this.NativeHandle);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>If <c>true</c>, the image may be scaled to a larger size. If <c>false</c>, the image will never be resized larger than its native size. This is set to <c>true</c> by default.</summary>
+ /// <param name="upscale">Allow image upscaling</param>
+ public void SetCanUpscale(bool upscale) {
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_can_upscale_set_ptr.Value.Delegate(this.NativeHandle,upscale);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>If <c>true</c>, the image may be scaled to a smaller size. If <c>false</c>, the image will never be resized smaller than its native size. This is set to <c>true</c> by default.</summary>
+ /// <returns>Allow image downscaling</returns>
+ public bool GetCanDownscale() {
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_can_downscale_get_ptr.Value.Delegate(this.NativeHandle);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>If <c>true</c>, the image may be scaled to a smaller size. If <c>false</c>, the image will never be resized smaller than its native size. This is set to <c>true</c> by default.</summary>
+ /// <param name="downscale">Allow image downscaling</param>
+ public void SetCanDownscale(bool downscale) {
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_can_downscale_set_ptr.Value.Delegate(this.NativeHandle,downscale);
+ Eina.Error.RaiseIfUnhandledException();
+ }
/// <summary>Returns 1.0 if not applicable (eg. height = 0).</summary>
/// <returns>The image's ratio.</returns>
public double GetRatio() {
/// 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) {
+ public void GetStretchRegion(out Eina.Iterator<Efl.Gfx.ImageStretchRegion> horizontal, out Eina.Iterator<Efl.Gfx.ImageStretchRegion> 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);
+ horizontal = new Eina.Iterator<Efl.Gfx.ImageStretchRegion>(_out_horizontal, false);
+ vertical = new Eina.Iterator<Efl.Gfx.ImageStretchRegion>(_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) {
+ public Eina.Error SetStretchRegion(Eina.Iterator<Efl.Gfx.ImageStretchRegion> horizontal, Eina.Iterator<Efl.Gfx.ImageStretchRegion> 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);
get { return GetScaleType(); }
set { SetScaleType(value); }
}
+ /// <summary>If <c>true</c>, the image may be scaled to a larger size. If <c>false</c>, the image will never be resized larger than its native size. This is set to <c>true</c> by default.</summary>
+ /// <value>Allow image upscaling</value>
+ public bool CanUpscale {
+ get { return GetCanUpscale(); }
+ set { SetCanUpscale(value); }
+ }
+ /// <summary>If <c>true</c>, the image may be scaled to a smaller size. If <c>false</c>, the image will never be resized smaller than its native size. This is set to <c>true</c> by default.</summary>
+ /// <value>Allow image downscaling</value>
+ public bool CanDownscale {
+ get { return GetCanDownscale(); }
+ set { SetCanDownscale(value); }
+ }
/// <summary>The native width/height ratio of the image.</summary>
/// <value>The image's ratio.</value>
public double Ratio {
public Eina.Rect ContentRegion {
get { return 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 units used for <c>l</c>, <c>r</c>, <c>t</c> and <c>b</c> are canvas units (pixels).
+ ///
+ /// Note: The border region itself may be scaled by the <see cref="Efl.Gfx.IImage.SetBorderScale"/> function.
+ ///
+ /// Note: By default, image objects have no borders set, i.e. <c>l</c>, <c>r</c>, <c>t</c> and <c>b</c> start as 0.
+ ///
+ /// Note: Similar to the concepts of 9-patch images or cap insets.</summary>
+ /// <value>The border's left width.</value>
+ public (int, int, int, int) Border {
+ get {
+ int _out_l = default(int);
+ int _out_r = default(int);
+ int _out_t = default(int);
+ int _out_b = default(int);
+ GetBorder(out _out_l,out _out_r,out _out_t,out _out_b);
+ return (_out_l,_out_r,_out_t,_out_b);
+ }
+ set { SetBorder( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <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.
///
get { return GetBorderCenterFill(); }
set { SetBorderCenterFill(value); }
}
+ /// <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>
+ /// <value>Representation of area that are stretchable in the image horizontal space.</value>
+ public (Eina.Iterator<Efl.Gfx.ImageStretchRegion>, Eina.Iterator<Efl.Gfx.ImageStretchRegion>) StretchRegion {
+ get {
+ Eina.Iterator<Efl.Gfx.ImageStretchRegion> _out_horizontal = default(Eina.Iterator<Efl.Gfx.ImageStretchRegion>);
+ Eina.Iterator<Efl.Gfx.ImageStretchRegion> _out_vertical = default(Eina.Iterator<Efl.Gfx.ImageStretchRegion>);
+ GetStretchRegion(out _out_horizontal,out _out_vertical);
+ return (_out_horizontal,_out_vertical);
+ }
+ set { SetStretchRegion( value.Item1, value.Item2); }
+ }
/// <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.
///
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_scale_type_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_scale_type_set_static_delegate) });
}
+ if (efl_gfx_image_can_upscale_get_static_delegate == null)
+ {
+ efl_gfx_image_can_upscale_get_static_delegate = new efl_gfx_image_can_upscale_get_delegate(can_upscale_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetCanUpscale") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_can_upscale_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_can_upscale_get_static_delegate) });
+ }
+
+ if (efl_gfx_image_can_upscale_set_static_delegate == null)
+ {
+ efl_gfx_image_can_upscale_set_static_delegate = new efl_gfx_image_can_upscale_set_delegate(can_upscale_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetCanUpscale") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_can_upscale_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_can_upscale_set_static_delegate) });
+ }
+
+ if (efl_gfx_image_can_downscale_get_static_delegate == null)
+ {
+ efl_gfx_image_can_downscale_get_static_delegate = new efl_gfx_image_can_downscale_get_delegate(can_downscale_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetCanDownscale") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_can_downscale_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_can_downscale_get_static_delegate) });
+ }
+
+ if (efl_gfx_image_can_downscale_set_static_delegate == null)
+ {
+ efl_gfx_image_can_downscale_set_static_delegate = new efl_gfx_image_can_downscale_set_delegate(can_downscale_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetCanDownscale") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_can_downscale_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_can_downscale_set_static_delegate) });
+ }
+
if (efl_gfx_image_ratio_get_static_delegate == null)
{
efl_gfx_image_ratio_get_static_delegate = new efl_gfx_image_ratio_get_delegate(ratio_get);
private static efl_gfx_image_scale_type_set_delegate efl_gfx_image_scale_type_set_static_delegate;
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_gfx_image_can_upscale_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_gfx_image_can_upscale_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_can_upscale_get_api_delegate> efl_gfx_image_can_upscale_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_can_upscale_get_api_delegate>(Module, "efl_gfx_image_can_upscale_get");
+
+ private static bool can_upscale_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_gfx_image_can_upscale_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((IImage)ws.Target).GetCanUpscale();
+ }
+ 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_can_upscale_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_gfx_image_can_upscale_get_delegate efl_gfx_image_can_upscale_get_static_delegate;
+
+
+ private delegate void efl_gfx_image_can_upscale_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool upscale);
+
+
+ public delegate void efl_gfx_image_can_upscale_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool upscale);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_can_upscale_set_api_delegate> efl_gfx_image_can_upscale_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_can_upscale_set_api_delegate>(Module, "efl_gfx_image_can_upscale_set");
+
+ private static void can_upscale_set(System.IntPtr obj, System.IntPtr pd, bool upscale)
+ {
+ Eina.Log.Debug("function efl_gfx_image_can_upscale_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((IImage)ws.Target).SetCanUpscale(upscale);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_gfx_image_can_upscale_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), upscale);
+ }
+ }
+
+ private static efl_gfx_image_can_upscale_set_delegate efl_gfx_image_can_upscale_set_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_gfx_image_can_downscale_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_gfx_image_can_downscale_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_can_downscale_get_api_delegate> efl_gfx_image_can_downscale_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_can_downscale_get_api_delegate>(Module, "efl_gfx_image_can_downscale_get");
+
+ private static bool can_downscale_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_gfx_image_can_downscale_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((IImage)ws.Target).GetCanDownscale();
+ }
+ 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_can_downscale_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_gfx_image_can_downscale_get_delegate efl_gfx_image_can_downscale_get_static_delegate;
+
+
+ private delegate void efl_gfx_image_can_downscale_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool downscale);
+
+
+ public delegate void efl_gfx_image_can_downscale_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool downscale);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_can_downscale_set_api_delegate> efl_gfx_image_can_downscale_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_can_downscale_set_api_delegate>(Module, "efl_gfx_image_can_downscale_set");
+
+ private static void can_downscale_set(System.IntPtr obj, System.IntPtr pd, bool downscale)
+ {
+ Eina.Log.Debug("function efl_gfx_image_can_downscale_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((IImage)ws.Target).SetCanDownscale(downscale);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_gfx_image_can_downscale_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), downscale);
+ }
+ }
+
+ private static efl_gfx_image_can_downscale_set_delegate efl_gfx_image_can_downscale_set_static_delegate;
+
private delegate double efl_gfx_image_ratio_get_delegate(System.IntPtr obj, System.IntPtr pd);
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>);
+ Eina.Iterator<Efl.Gfx.ImageStretchRegion> _out_horizontal = default(Eina.Iterator<Efl.Gfx.ImageStretchRegion>);
+ Eina.Iterator<Efl.Gfx.ImageStretchRegion> _out_vertical = default(Eina.Iterator<Efl.Gfx.ImageStretchRegion>);
try
{
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);
+ var _in_horizontal = new Eina.Iterator<Efl.Gfx.ImageStretchRegion>(horizontal, false);
+ var _in_vertical = new Eina.Iterator<Efl.Gfx.ImageStretchRegion>(vertical, false);
Eina.Error _ret_var = default(Eina.Error);
try
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_GfxIImageConcrete_ExtensionMethods {
+ public static Efl.BindableProperty<bool> SmoothScale<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IImage, T>magic = null) where T : Efl.Gfx.IImage {
+ return new Efl.BindableProperty<bool>("smooth_scale", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Gfx.ImageScaleType> ScaleType<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IImage, T>magic = null) where T : Efl.Gfx.IImage {
+ return new Efl.BindableProperty<Efl.Gfx.ImageScaleType>("scale_type", fac);
+ }
+
+ public static Efl.BindableProperty<bool> CanUpscale<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IImage, T>magic = null) where T : Efl.Gfx.IImage {
+ return new Efl.BindableProperty<bool>("can_upscale", fac);
+ }
+
+ public static Efl.BindableProperty<bool> CanDownscale<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IImage, T>magic = null) where T : Efl.Gfx.IImage {
+ return new Efl.BindableProperty<bool>("can_downscale", fac);
+ }
+
+
+
+
+ public static Efl.BindableProperty<double> BorderScale<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IImage, T>magic = null) where T : Efl.Gfx.IImage {
+ return new Efl.BindableProperty<double>("border_scale", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Gfx.BorderFillMode> BorderCenterFill<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IImage, T>magic = null) where T : Efl.Gfx.IImage {
+ return new Efl.BindableProperty<Efl.Gfx.BorderFillMode>("border_center_fill", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<Efl.Gfx.ImageContentHint> ContentHint<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IImage, T>magic = null) where T : Efl.Gfx.IImage {
+ return new Efl.BindableProperty<Efl.Gfx.ImageContentHint>("content_hint", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Gfx.ImageScaleHint> ScaleHint<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IImage, T>magic = null) where T : Efl.Gfx.IImage {
+ return new Efl.BindableProperty<Efl.Gfx.ImageScaleHint>("scale_hint", fac);
+ }
+
+
+}
+#pragma warning restore CS1591
+#endif
namespace Efl {
namespace Gfx {
[Efl.Eo.BindingEntity]
public enum ImageScaleType
{
+/// <summary>Use the image's natural size.</summary>
+None = 0,
/// <summary>Scale the image so that it matches the object's area exactly. The image's aspect ratio might be changed.</summary>
-Fill = 0,
-/// <summary>Scale the image so that it fits inside the object's area while maintaining the aspect ratio. At least one of the dimensions of the image should be equal to the corresponding dimension of the object.</summary>
-FitInside = 1,
-/// <summary>Scale the image so that it covers the entire object area while maintaining the aspect ratio. At least one of the dimensions of the image should be equal to the corresponding dimension of the object.</summary>
-FitOutside = 2,
+Fill = 1,
+/// <summary>Scale the image so that it fits completely inside the object's area while maintaining the aspect ratio. At least one of the dimensions of the image will be equal to the corresponding dimension of the object.</summary>
+Fit = 2,
+/// <summary>Scale the image so that it covers the entire object area horizontally while maintaining the aspect ratio. The image may become taller than the object.</summary>
+FitWidth = 3,
+/// <summary>Scale the image so that it covers the entire object area vertically while maintaining the aspect ratio. The image may become wider than the object.</summary>
+FitHeight = 4,
+/// <summary>Scale the image so that it covers the entire object area on one axis while maintaining the aspect ratio, preferring whichever axis is largest. The image may become larger than the object.</summary>
+Expand = 5,
/// <summary>Tile image at its original size.</summary>
-Tile = 3,
-/// <summary>Not scale the image</summary>
-None = 4,
+Tile = 6,
}
}
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
+public struct ImageStretchRegion
{
/// <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(
+ /// <summary>Constructor for ImageStretchRegion.</summary>
+ /// <param name="Offset">First pixel of the stretchable region, starting at 0.</param>;
+ /// <param name="Length">Length of the stretchable region in pixels.</param>;
+ public ImageStretchRegion(
uint Offset = default(uint),
uint Length = default(uint) )
{
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)
+ /// <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 ImageStretchRegion(IntPtr ptr)
{
- var tmp = (StretchRegion.NativeStruct)Marshal.PtrToStructure(ptr, typeof(StretchRegion.NativeStruct));
+ var tmp = (ImageStretchRegion.NativeStruct)Marshal.PtrToStructure(ptr, typeof(ImageStretchRegion.NativeStruct));
return tmp;
}
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct StretchRegion.</summary>
+ /// <summary>Internal wrapper for struct ImageStretchRegion.</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)
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
+ public static implicit operator ImageStretchRegion.NativeStruct(ImageStretchRegion _external_struct)
{
- var _internal_struct = new StretchRegion.NativeStruct();
+ var _internal_struct = new ImageStretchRegion.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)
+ /// <summary>Implicit conversion to the managed representation.</summary>
+ public static implicit operator ImageStretchRegion(ImageStretchRegion.NativeStruct _internal_struct)
{
- var _external_struct = new StretchRegion();
+ var _external_struct = new ImageStretchRegion();
_external_struct.Offset = _internal_struct.Offset;
_external_struct.Length = _internal_struct.Length;
return _external_struct;
}
-}
-
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Gfx {
/// <summary>Common APIs for all loadable 2D images.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Gfx.IImageLoadControllerConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IImageLoadController :
/// <summary>Called when he image was loaded</summary>
event EventHandler LoadDoneEvt;
/// <summary>Called when an error happened during image loading</summary>
+ /// <value><see cref="Efl.Gfx.IImageLoadControllerLoadErrorEvt_Args"/></value>
event EventHandler<Efl.Gfx.IImageLoadControllerLoadErrorEvt_Args> LoadErrorEvt;
/// <summary>The load size of an image.
/// The image will be loaded into memory as if it was the specified size instead of its original size. This can save a lot of memory and is important for scalable types like svg.
/// By default, the load size is not specified, so it is 0x0.</summary>
/// <value>The image load size.</value>
Eina.Size2D LoadSize {
- get ;
- set ;
+ get;
+ set;
}
/// <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>
/// <value>The DPI resolution.</value>
double LoadDpi {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>Indicates whether the <see cref="Efl.Gfx.IImageLoadController.LoadRegion"/> property is supported for the current file.</summary>
/// <value><c>true</c> if region load of the image is supported, <c>false</c> otherwise</value>
bool LoadRegionSupport {
- get ;
+ get;
}
/// <summary>Retrieve the coordinates of a given image object's selective (source image) load region.</summary>
/// <value>A region of the image.</value>
Eina.Rect LoadRegion {
- get ;
- set ;
+ get;
+ set;
}
/// <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>
/// <value><c>true</c> means that it should honor the orientation information.</value>
bool LoadOrientation {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>The scale down factor is a divider on the original image size.
/// Setting the scale down factor can reduce load time and memory usage at the cost of having a scaled down image in memory.
/// Powers of two (2, 4, 8) are best supported (especially with JPEG)</summary>
/// <value>The scale down dividing factor.</value>
int LoadScaleDown {
- get ;
- set ;
+ get;
+ set;
}
/// <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>
/// <value>Will be true if header is to be skipped.</value>
bool LoadSkipHeader {
- get ;
- set ;
+ get;
+ set;
}
}
-///<summary>Event argument wrapper for event <see cref="Efl.Gfx.IImageLoadController.LoadErrorEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called when an error happened during image loading</value>
public Eina.Error arg { get; set; }
}
/// <summary>Common APIs for all loadable 2D images.</summary>
-sealed public class IImageLoadControllerConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IImageLoadControllerConcrete :
Efl.Eo.EoWrapper
, IImageLoadController
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IImageLoadControllerConcrete(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event LoadDoneEvt.</summary>
+ /// <summary>Method to raise event LoadDoneEvt.</summary>
public void OnLoadDoneEvt(EventArgs e)
{
var key = "_EFL_GFX_IMAGE_LOAD_CONTROLLER_EVENT_LOAD_DONE";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
/// <summary>Called when an error happened during image loading</summary>
+ /// <value><see cref="Efl.Gfx.IImageLoadControllerLoadErrorEvt_Args"/></value>
public event EventHandler<Efl.Gfx.IImageLoadControllerLoadErrorEvt_Args> LoadErrorEvt
{
add
}
}
}
- ///<summary>Method to raise event LoadErrorEvt.</summary>
+ /// <summary>Method to raise event LoadErrorEvt.</summary>
public void OnLoadErrorEvt(Efl.Gfx.IImageLoadControllerLoadErrorEvt_Args e)
{
var key = "_EFL_GFX_IMAGE_LOAD_CONTROLLER_EVENT_LOAD_ERROR";
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_GfxIImageLoadControllerConcrete_ExtensionMethods {
+ public static Efl.BindableProperty<Eina.Size2D> LoadSize<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IImageLoadController, T>magic = null) where T : Efl.Gfx.IImageLoadController {
+ return new Efl.BindableProperty<Eina.Size2D>("load_size", fac);
+ }
+
+ public static Efl.BindableProperty<double> LoadDpi<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IImageLoadController, T>magic = null) where T : Efl.Gfx.IImageLoadController {
+ return new Efl.BindableProperty<double>("load_dpi", fac);
+ }
+
+
+ public static Efl.BindableProperty<Eina.Rect> LoadRegion<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IImageLoadController, T>magic = null) where T : Efl.Gfx.IImageLoadController {
+ return new Efl.BindableProperty<Eina.Rect>("load_region", fac);
+ }
+
+ public static Efl.BindableProperty<bool> LoadOrientation<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IImageLoadController, T>magic = null) where T : Efl.Gfx.IImageLoadController {
+ return new Efl.BindableProperty<bool>("load_orientation", fac);
+ }
+
+ public static Efl.BindableProperty<int> LoadScaleDown<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IImageLoadController, T>magic = null) where T : Efl.Gfx.IImageLoadController {
+ return new Efl.BindableProperty<int>("load_scale_down", fac);
+ }
+
+ public static Efl.BindableProperty<bool> LoadSkipHeader<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IImageLoadController, T>magic = null) where T : Efl.Gfx.IImageLoadController {
+ return new Efl.BindableProperty<bool>("load_skip_header", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// 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 ImageOrientation {
- get ;
- set ;
+ get;
+ set;
}
}
/// <summary>Interface for objects which can be oriented.</summary>
-sealed public class IImageOrientableConcrete :
+sealed public class IImageOrientableConcrete :
Efl.Eo.EoWrapper
, IImageOrientable
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IImageOrientableConcrete(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_GfxIImageOrientableConcrete_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Gfx.ImageOrientation> ImageOrientation<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IImageOrientable, T>magic = null) where T : Efl.Gfx.IImageOrientable {
+ return new Efl.BindableProperty<Efl.Gfx.ImageOrientation>("image_orientation", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
namespace Efl {
namespace Gfx {
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// (Since EFL 1.22)</summary>
/// <value>The number of points of map</value>
int MappingPointCount {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>Clockwise state of a map (read-only).
/// This determines if the output points (X and Y. Z is not used) are clockwise or counter-clockwise. This can be used for "back-face culling". This is where you hide objects that "face away" from you. In this case objects that are not clockwise.
/// (Since EFL 1.22)</summary>
/// <value><c>true</c> if clockwise, <c>false</c> if counter clockwise</value>
bool MappingClockwise {
- get ;
+ get;
}
/// <summary>Smoothing state for map rendering.
/// This sets smoothing for map rendering. If the object is a type that has its own smoothing settings, then both the smooth settings for this object and the map must be turned off. By default smooth maps are enabled.
/// (Since EFL 1.22)</summary>
/// <value><c>true</c> by default.</value>
bool MappingSmooth {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>Alpha flag for map rendering.
/// This sets alpha flag for map rendering. If the object is a type that has its own alpha settings, then this will take precedence. Only image objects support this currently (<see cref="Efl.Canvas.Image"/> and its friends). Setting this to off stops alpha blending of the map area, and is useful if you know the object and/or all sub-objects is 100% solid.
/// (Since EFL 1.22)</summary>
/// <value><c>true</c> by default.</value>
bool MappingAlpha {
- get ;
- set ;
+ get;
+ set;
}
}
/// <summary>Texture UV mapping for all objects (rotation, perspective, 3d, ...).
///
/// At the moment of writing, maps can only have 4 points (no more, no less).
/// (Since EFL 1.22)</summary>
-sealed public class IMappingConcrete :
+sealed public class IMappingConcrete :
Efl.Eo.EoWrapper
, IMapping
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IMappingConcrete(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_GfxIMappingConcrete_ExtensionMethods {
+ public static Efl.BindableProperty<int> MappingPointCount<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IMapping, T>magic = null) where T : Efl.Gfx.IMapping {
+ return new Efl.BindableProperty<int>("mapping_point_count", fac);
+ }
+
+
+ public static Efl.BindableProperty<bool> MappingSmooth<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IMapping, T>magic = null) where T : Efl.Gfx.IMapping {
+ return new Efl.BindableProperty<bool>("mapping_smooth", fac);
+ }
+
+ public static Efl.BindableProperty<bool> MappingAlpha<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IMapping, T>magic = null) where T : Efl.Gfx.IMapping {
+ return new Efl.BindableProperty<bool>("mapping_alpha", fac);
+ }
+
+
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Gfx {
/// <summary>EFL graphics path object interface</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Gfx.IPathConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IPath :
/// <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>
void Commit();
- }
+ /// <summary>Set the list of commands and points to be used to create the content of path.</summary>
+ /// <value>Command list</value>
+ (Efl.Gfx.PathCommandType, double) Path {
+ get;
+ set;
+ }
+ /// <summary>Path length property</summary>
+ (uint, uint) Length {
+ get;
+ }
+ /// <summary>Current point coordinates</summary>
+ (double, double) Current {
+ get;
+ }
+ /// <summary>Current control point coordinates</summary>
+ (double, double) CurrentCtrl {
+ get;
+ }
+}
/// <summary>EFL graphics path object interface</summary>
-sealed public class IPathConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IPathConcrete :
Efl.Eo.EoWrapper
, IPath
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IPathConcrete(ConstructingHandle ch) : base(ch)
{
Efl.Gfx.IPathConcrete.NativeMethods.efl_gfx_path_commit_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
}
+ /// <summary>Set the list of commands and points to be used to create the content of path.</summary>
+ /// <value>Command list</value>
+ public (Efl.Gfx.PathCommandType, double) Path {
+ get {
+ Efl.Gfx.PathCommandType _out_op = default(Efl.Gfx.PathCommandType);
+ double _out_points = default(double);
+ GetPath(out _out_op,out _out_points);
+ return (_out_op,_out_points);
+ }
+ set { SetPath( value.Item1, value.Item2); }
+ }
+ /// <summary>Path length property</summary>
+ public (uint, uint) Length {
+ get {
+ uint _out_commands = default(uint);
+ uint _out_points = default(uint);
+ GetLength(out _out_commands,out _out_points);
+ return (_out_commands,_out_points);
+ }
+ }
+ /// <summary>Current point coordinates</summary>
+ public (double, double) Current {
+ get {
+ double _out_x = default(double);
+ double _out_y = default(double);
+ GetCurrent(out _out_x,out _out_y);
+ return (_out_x,_out_y);
+ }
+ }
+ /// <summary>Current control point coordinates</summary>
+ public (double, double) CurrentCtrl {
+ get {
+ double _out_x = default(double);
+ double _out_y = default(double);
+ GetCurrentCtrl(out _out_x,out _out_y);
+ return (_out_x,_out_y);
+ }
+ }
private static IntPtr GetEflClassStatic()
{
return Efl.Gfx.IPathConcrete.efl_gfx_path_mixin_get();
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_GfxIPathConcrete_ExtensionMethods {
+
+
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Gfx {
/// <summary>EFL graphics shape object interface</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Gfx.IShapeConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IShape :
/// See also <see cref="Efl.Gfx.Join"/>.</summary>
/// <param name="j">Join style to use, default is <see cref="Efl.Gfx.Join.Miter"/></param>
void SetStrokeJoin(Efl.Gfx.Join j);
+ /// <summary>The stroke_miterlimit is a presentation defining a limit on the ratio of the miter length to the stroke-width used to draw a miter join.</summary>
+/// <returns>Limit value on the ratio of the miter.</returns>
+double GetStrokeMiterlimit();
+ /// <summary>The stroke_miterlimit is a presentation defining a limit on the ratio of the miter length to the stroke-width used to draw a miter join.</summary>
+/// <param name="miterlimit">Limit value on the ratio of the miter.</param>
+void SetStrokeMiterlimit(double miterlimit);
/// <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>
Efl.Gfx.FillRule GetFillRule();
/// <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>
void SetFillRule(Efl.Gfx.FillRule fill_rule);
- /// <summary>The stroke scale to be used for stroking the path. Will be used along with stroke width property.</summary>
+ /// <summary>The stroke scale to be used for stroking the path. Will be used along with stroke width property.</summary>
/// <value>Stroke scale value</value>
double StrokeScale {
- get ;
- set ;
+ get;
+ set;
+ }
+ /// <summary>The color to be used for stroking the path.</summary>
+ /// <value>The red component of the given color.</value>
+ (int, int, int, int) StrokeColor {
+ get;
+ set;
}
/// <summary>The stroke width to be used for stroking the path.</summary>
/// <value>Stroke width to be used</value>
double StrokeWidth {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>Not implemented</summary>
/// <value>Centered stroke location</value>
double StrokeLocation {
- get ;
- set ;
+ get;
+ set;
+ }
+ /// <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.
+ /// See also <see cref="Efl.Gfx.Dash"/></summary>
+ /// <value>Stroke dash</value>
+ (Efl.Gfx.Dash, uint) StrokeDash {
+ get;
+ set;
}
/// <summary>The cap style to be used for stroking the path. The cap will be used for capping the end point of a open subpath.
/// See also <see cref="Efl.Gfx.Cap"/>.</summary>
/// <value>Cap style to use, default is <see cref="Efl.Gfx.Cap.Butt"/></value>
Efl.Gfx.Cap StrokeCap {
- get ;
- set ;
+ get;
+ set;
}
/// <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>
/// <value>Join style to use, default is <see cref="Efl.Gfx.Join.Miter"/></value>
Efl.Gfx.Join StrokeJoin {
- get ;
- set ;
+ get;
+ set;
+ }
+ /// <summary>The stroke_miterlimit is a presentation defining a limit on the ratio of the miter length to the stroke-width used to draw a miter join.</summary>
+ /// <value>Limit value on the ratio of the miter.</value>
+ double StrokeMiterlimit {
+ get;
+ set;
}
/// <summary>The fill rule of the given shape object. <see cref="Efl.Gfx.FillRule.Winding"/> or <see cref="Efl.Gfx.FillRule.OddEven"/>.</summary>
/// <value>The current fill rule of the shape object. One of <see cref="Efl.Gfx.FillRule.Winding"/> or <see cref="Efl.Gfx.FillRule.OddEven"/></value>
Efl.Gfx.FillRule FillRule {
- get ;
- set ;
+ get;
+ set;
}
}
/// <summary>EFL graphics shape object interface</summary>
-sealed public class IShapeConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IShapeConcrete :
Efl.Eo.EoWrapper
, IShape
, Efl.Gfx.IPath
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IShapeConcrete(ConstructingHandle ch) : base(ch)
{
Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_join_set_ptr.Value.Delegate(this.NativeHandle,j);
Eina.Error.RaiseIfUnhandledException();
}
+ /// <summary>The stroke_miterlimit is a presentation defining a limit on the ratio of the miter length to the stroke-width used to draw a miter join.</summary>
+ /// <returns>Limit value on the ratio of the miter.</returns>
+ public double GetStrokeMiterlimit() {
+ var _ret_var = Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_miterlimit_get_ptr.Value.Delegate(this.NativeHandle);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>The stroke_miterlimit is a presentation defining a limit on the ratio of the miter length to the stroke-width used to draw a miter join.</summary>
+ /// <param name="miterlimit">Limit value on the ratio of the miter.</param>
+ public void SetStrokeMiterlimit(double miterlimit) {
+ Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_miterlimit_set_ptr.Value.Delegate(this.NativeHandle,miterlimit);
+ 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>
public Efl.Gfx.FillRule GetFillRule() {
get { return GetStrokeScale(); }
set { SetStrokeScale(value); }
}
+ /// <summary>The color to be used for stroking the path.</summary>
+ /// <value>The red component of the given color.</value>
+ public (int, int, int, int) StrokeColor {
+ get {
+ int _out_r = default(int);
+ int _out_g = default(int);
+ int _out_b = default(int);
+ int _out_a = default(int);
+ GetStrokeColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetStrokeColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>The stroke width to be used for stroking the path.</summary>
/// <value>Stroke width to be used</value>
public double StrokeWidth {
get { return GetStrokeLocation(); }
set { SetStrokeLocation(value); }
}
+ /// <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.
+ /// See also <see cref="Efl.Gfx.Dash"/></summary>
+ /// <value>Stroke dash</value>
+ public (Efl.Gfx.Dash, uint) StrokeDash {
+ get {
+ Efl.Gfx.Dash _out_dash = default(Efl.Gfx.Dash);
+ uint _out_length = default(uint);
+ GetStrokeDash(out _out_dash,out _out_length);
+ return (_out_dash,_out_length);
+ }
+ set { SetStrokeDash(ref value.Item1, value.Item2); }
+ }
/// <summary>The cap style to be used for stroking the path. The cap will be used for capping the end point of a open subpath.
/// See also <see cref="Efl.Gfx.Cap"/>.</summary>
/// <value>Cap style to use, default is <see cref="Efl.Gfx.Cap.Butt"/></value>
get { return GetStrokeJoin(); }
set { SetStrokeJoin(value); }
}
+ /// <summary>The stroke_miterlimit is a presentation defining a limit on the ratio of the miter length to the stroke-width used to draw a miter join.</summary>
+ /// <value>Limit value on the ratio of the miter.</value>
+ public double StrokeMiterlimit {
+ get { return GetStrokeMiterlimit(); }
+ set { SetStrokeMiterlimit(value); }
+ }
/// <summary>The fill rule of the given shape object. <see cref="Efl.Gfx.FillRule.Winding"/> or <see cref="Efl.Gfx.FillRule.OddEven"/>.</summary>
/// <value>The current fill rule of the shape object. One of <see cref="Efl.Gfx.FillRule.Winding"/> or <see cref="Efl.Gfx.FillRule.OddEven"/></value>
public Efl.Gfx.FillRule FillRule {
get { return GetFillRule(); }
set { SetFillRule(value); }
}
+ /// <summary>Set the list of commands and points to be used to create the content of path.</summary>
+ /// <value>Command list</value>
+ public (Efl.Gfx.PathCommandType, double) Path {
+ get {
+ Efl.Gfx.PathCommandType _out_op = default(Efl.Gfx.PathCommandType);
+ double _out_points = default(double);
+ GetPath(out _out_op,out _out_points);
+ return (_out_op,_out_points);
+ }
+ set { SetPath( value.Item1, value.Item2); }
+ }
+ /// <summary>Path length property</summary>
+ public (uint, uint) Length {
+ get {
+ uint _out_commands = default(uint);
+ uint _out_points = default(uint);
+ GetLength(out _out_commands,out _out_points);
+ return (_out_commands,_out_points);
+ }
+ }
+ /// <summary>Current point coordinates</summary>
+ public (double, double) Current {
+ get {
+ double _out_x = default(double);
+ double _out_y = default(double);
+ GetCurrent(out _out_x,out _out_y);
+ return (_out_x,_out_y);
+ }
+ }
+ /// <summary>Current control point coordinates</summary>
+ public (double, double) CurrentCtrl {
+ get {
+ double _out_x = default(double);
+ double _out_y = default(double);
+ GetCurrentCtrl(out _out_x,out _out_y);
+ return (_out_x,_out_y);
+ }
+ }
private static IntPtr GetEflClassStatic()
{
return Efl.Gfx.IShapeConcrete.efl_gfx_shape_mixin_get();
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_shape_stroke_join_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_shape_stroke_join_set_static_delegate) });
}
+ if (efl_gfx_shape_stroke_miterlimit_get_static_delegate == null)
+ {
+ efl_gfx_shape_stroke_miterlimit_get_static_delegate = new efl_gfx_shape_stroke_miterlimit_get_delegate(stroke_miterlimit_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetStrokeMiterlimit") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_shape_stroke_miterlimit_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_shape_stroke_miterlimit_get_static_delegate) });
+ }
+
+ if (efl_gfx_shape_stroke_miterlimit_set_static_delegate == null)
+ {
+ efl_gfx_shape_stroke_miterlimit_set_static_delegate = new efl_gfx_shape_stroke_miterlimit_set_delegate(stroke_miterlimit_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetStrokeMiterlimit") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_shape_stroke_miterlimit_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_shape_stroke_miterlimit_set_static_delegate) });
+ }
+
if (efl_gfx_shape_fill_rule_get_static_delegate == null)
{
efl_gfx_shape_fill_rule_get_static_delegate = new efl_gfx_shape_fill_rule_get_delegate(fill_rule_get);
private static efl_gfx_shape_stroke_join_set_delegate efl_gfx_shape_stroke_join_set_static_delegate;
+ private delegate double efl_gfx_shape_stroke_miterlimit_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate double efl_gfx_shape_stroke_miterlimit_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_shape_stroke_miterlimit_get_api_delegate> efl_gfx_shape_stroke_miterlimit_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_shape_stroke_miterlimit_get_api_delegate>(Module, "efl_gfx_shape_stroke_miterlimit_get");
+
+ private static double stroke_miterlimit_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_gfx_shape_stroke_miterlimit_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ double _ret_var = default(double);
+ try
+ {
+ _ret_var = ((IShape)ws.Target).GetStrokeMiterlimit();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_gfx_shape_stroke_miterlimit_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_gfx_shape_stroke_miterlimit_get_delegate efl_gfx_shape_stroke_miterlimit_get_static_delegate;
+
+
+ private delegate void efl_gfx_shape_stroke_miterlimit_set_delegate(System.IntPtr obj, System.IntPtr pd, double miterlimit);
+
+
+ public delegate void efl_gfx_shape_stroke_miterlimit_set_api_delegate(System.IntPtr obj, double miterlimit);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_shape_stroke_miterlimit_set_api_delegate> efl_gfx_shape_stroke_miterlimit_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_shape_stroke_miterlimit_set_api_delegate>(Module, "efl_gfx_shape_stroke_miterlimit_set");
+
+ private static void stroke_miterlimit_set(System.IntPtr obj, System.IntPtr pd, double miterlimit)
+ {
+ Eina.Log.Debug("function efl_gfx_shape_stroke_miterlimit_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((IShape)ws.Target).SetStrokeMiterlimit(miterlimit);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_gfx_shape_stroke_miterlimit_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), miterlimit);
+ }
+ }
+
+ private static efl_gfx_shape_stroke_miterlimit_set_delegate efl_gfx_shape_stroke_miterlimit_set_static_delegate;
+
+
private delegate Efl.Gfx.FillRule efl_gfx_shape_fill_rule_get_delegate(System.IntPtr obj, System.IntPtr pd);
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_GfxIShapeConcrete_ExtensionMethods {
+ public static Efl.BindableProperty<double> StrokeScale<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IShape, T>magic = null) where T : Efl.Gfx.IShape {
+ return new Efl.BindableProperty<double>("stroke_scale", fac);
+ }
+
+
+ public static Efl.BindableProperty<double> StrokeWidth<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IShape, T>magic = null) where T : Efl.Gfx.IShape {
+ return new Efl.BindableProperty<double>("stroke_width", fac);
+ }
+
+ public static Efl.BindableProperty<double> StrokeLocation<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IShape, T>magic = null) where T : Efl.Gfx.IShape {
+ return new Efl.BindableProperty<double>("stroke_location", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.Gfx.Cap> StrokeCap<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IShape, T>magic = null) where T : Efl.Gfx.IShape {
+ return new Efl.BindableProperty<Efl.Gfx.Cap>("stroke_cap", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Gfx.Join> StrokeJoin<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IShape, T>magic = null) where T : Efl.Gfx.IShape {
+ return new Efl.BindableProperty<Efl.Gfx.Join>("stroke_join", fac);
+ }
+
+ public static Efl.BindableProperty<double> StrokeMiterlimit<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IShape, T>magic = null) where T : Efl.Gfx.IShape {
+ return new Efl.BindableProperty<double>("stroke_miterlimit", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Gfx.FillRule> FillRule<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IShape, T>magic = null) where T : Efl.Gfx.IShape {
+ return new Efl.BindableProperty<Efl.Gfx.FillRule>("fill_rule", fac);
+ }
+
+
+
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Gfx {
/// <summary>Efl Gfx Size Class interface</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Gfx.ISizeClassConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface ISizeClass :
void DelSizeClass(System.String size_class);
}
/// <summary>Efl Gfx Size Class interface</summary>
-sealed public class ISizeClassConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class ISizeClassConcrete :
Efl.Eo.EoWrapper
, ISizeClass
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private ISizeClassConcrete(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_GfxISizeClassConcrete_ExtensionMethods {
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// (Since EFL 1.22)</summary>
/// <value>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"/>.</value>
short Layer {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>Get the Evas object stacked right below <c>obj</c>
/// This function will traverse layers in its search, if there are objects on layers below the one <c>obj</c> is placed at.
/// (Since EFL 1.22)</summary>
/// <value>The <see cref="Efl.Gfx.IStack"/> object directly below <c>obj</c>, if any, or <c>null</c>, if none.</value>
Efl.Gfx.IStack Below {
- get ;
+ get;
}
/// <summary>Get the Evas object stacked right above <c>obj</c>
/// This function will traverse layers in its search, if there are objects on layers above the one <c>obj</c> is placed at.
/// (Since EFL 1.22)</summary>
/// <value>The <see cref="Efl.Gfx.IStack"/> object directly below <c>obj</c>, if any, or <c>null</c>, if none.</value>
Efl.Gfx.IStack Above {
- get ;
+ get;
}
}
/// <summary>Efl graphics stack interface
/// (Since EFL 1.22)</summary>
-sealed public class IStackConcrete :
+sealed public class IStackConcrete :
Efl.Eo.EoWrapper
, IStack
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IStackConcrete(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event StackingChangedEvt.</summary>
+ /// <summary>Method to raise event StackingChangedEvt.</summary>
public void OnStackingChangedEvt(EventArgs e)
{
var key = "_EFL_GFX_ENTITY_EVENT_STACKING_CHANGED";
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_GfxIStackConcrete_ExtensionMethods {
+ public static Efl.BindableProperty<short> Layer<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IStack, T>magic = null) where T : Efl.Gfx.IStack {
+ return new Efl.BindableProperty<short>("layer", fac);
+ }
+
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Gfx {
/// <summary>Efl Gfx Text Class interface</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Gfx.ITextClassConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface ITextClass :
void DelTextClass(System.String text_class);
}
/// <summary>Efl Gfx Text Class interface</summary>
-sealed public class ITextClassConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class ITextClassConcrete :
Efl.Eo.EoWrapper
, ITextClass
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private ITextClassConcrete(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_GfxITextClassConcrete_ExtensionMethods {
+
+}
+#pragma warning restore CS1591
+#endif
public double Length;
/// <summary>Distance between two dashes.</summary>
public double Gap;
- ///<summary>Constructor for Dash.</summary>
+ /// <summary>Constructor for Dash.</summary>
+ /// <param name="Length">Dash drawing length.</param>;
+ /// <param name="Gap">Distance between two dashes.</param>;
public Dash(
double Length = default(double),
double Gap = default(double) )
this.Gap = Gap;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 Dash(IntPtr ptr)
{
var tmp = (Dash.NativeStruct)Marshal.PtrToStructure(ptr, typeof(Dash.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct Dash.</summary>
+ /// <summary>Internal wrapper for struct Dash.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
public double Length;
public double Gap;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator Dash.NativeStruct(Dash _external_struct)
{
var _internal_struct = new Dash.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator Dash(Dash.NativeStruct _internal_struct)
{
var _external_struct = new Dash();
public int B;
/// <summary>The component A color of the gradient stop</summary>
public int A;
- ///<summary>Constructor for GradientStop.</summary>
+ /// <summary>Constructor for GradientStop.</summary>
+ /// <param name="Offset">The location of the gradient stop within the gradient vector</param>;
+ /// <param name="R">The component R color of the gradient stop</param>;
+ /// <param name="G">The component G color of the gradient stop</param>;
+ /// <param name="B">The component B color of the gradient stop</param>;
+ /// <param name="A">The component A color of the gradient stop</param>;
public GradientStop(
double Offset = default(double),
int R = default(int),
this.A = A;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 GradientStop(IntPtr ptr)
{
var tmp = (GradientStop.NativeStruct)Marshal.PtrToStructure(ptr, typeof(GradientStop.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct GradientStop.</summary>
+ /// <summary>Internal wrapper for struct GradientStop.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
public int B;
public int A;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator GradientStop.NativeStruct(GradientStop _external_struct)
{
var _internal_struct = new GradientStop.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator GradientStop(GradientStop.NativeStruct _internal_struct)
{
var _external_struct = new GradientStop();
public int B;
/// <summary>The component A color of the stroke</summary>
public int A;
- ///<summary>Constructor for StrokeColor.</summary>
+ /// <summary>Constructor for StrokeColor.</summary>
+ /// <param name="R">The component R color of the stroke</param>;
+ /// <param name="G">The component G color of the stroke</param>;
+ /// <param name="B">The component B color of the stroke</param>;
+ /// <param name="A">The component A color of the stroke</param>;
public StrokeColor(
int R = default(int),
int G = default(int),
this.A = A;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 StrokeColor(IntPtr ptr)
{
var tmp = (StrokeColor.NativeStruct)Marshal.PtrToStructure(ptr, typeof(StrokeColor.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct StrokeColor.</summary>
+ /// <summary>Internal wrapper for struct StrokeColor.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
public int B;
public int A;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator StrokeColor.NativeStruct(StrokeColor _external_struct)
{
var _internal_struct = new StrokeColor.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator StrokeColor(StrokeColor.NativeStruct _internal_struct)
{
var _external_struct = new StrokeColor();
/// <summary>Stroke centered</summary>
public double Centered;
/// <summary>Stroke color</summary>
+ /// <value>Internal structure for @Efl.Gfx.Stroke.</value>
public Efl.Gfx.StrokeColor Color;
/// <summary>Stroke dash</summary>
+ /// <value>Type describing dash. @Efl.Gfx.Shape.stroke_dash.set</value>
public Efl.Gfx.Dash Dash;
/// <summary>Stroke dash length</summary>
public uint Dash_length;
/// <summary>Stroke cap</summary>
+ /// <value>These values determine how the end of opened sub-paths are rendered in a stroke. @Efl.Gfx.Shape.stroke_cap.set</value>
public Efl.Gfx.Cap Cap;
/// <summary>Stroke join</summary>
+ /// <value>These values determine how two joining lines are rendered in a stroker. @Efl.Gfx.Shape.stroke_join.set</value>
public Efl.Gfx.Join Join;
- ///<summary>Constructor for Stroke.</summary>
+ /// <summary>Stroke miterlimit</summary>
+ public double Miterlimit;
+ /// <summary>Constructor for Stroke.</summary>
+ /// <param name="Scale">Stroke scale</param>;
+ /// <param name="Width">Stroke width</param>;
+ /// <param name="Centered">Stroke centered</param>;
+ /// <param name="Color">Stroke color</param>;
+ /// <param name="Dash">Stroke dash</param>;
+ /// <param name="Dash_length">Stroke dash length</param>;
+ /// <param name="Cap">Stroke cap</param>;
+ /// <param name="Join">Stroke join</param>;
+ /// <param name="Miterlimit">Stroke miterlimit</param>;
public Stroke(
double Scale = default(double),
double Width = default(double),
Efl.Gfx.Dash Dash = default(Efl.Gfx.Dash),
uint Dash_length = default(uint),
Efl.Gfx.Cap Cap = default(Efl.Gfx.Cap),
- Efl.Gfx.Join Join = default(Efl.Gfx.Join) )
+ Efl.Gfx.Join Join = default(Efl.Gfx.Join),
+ double Miterlimit = default(double) )
{
this.Scale = Scale;
this.Width = Width;
this.Dash_length = Dash_length;
this.Cap = Cap;
this.Join = Join;
+ this.Miterlimit = Miterlimit;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 Stroke(IntPtr ptr)
{
var tmp = (Stroke.NativeStruct)Marshal.PtrToStructure(ptr, typeof(Stroke.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct Stroke.</summary>
+ /// <summary>Internal wrapper for struct Stroke.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
public Efl.Gfx.Cap Cap;
public Efl.Gfx.Join Join;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+
+ public double Miterlimit;
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator Stroke.NativeStruct(Stroke _external_struct)
{
var _internal_struct = new Stroke.NativeStruct();
_internal_struct.Dash_length = _external_struct.Dash_length;
_internal_struct.Cap = _external_struct.Cap;
_internal_struct.Join = _external_struct.Join;
+ _internal_struct.Miterlimit = _external_struct.Miterlimit;
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator Stroke(Stroke.NativeStruct _internal_struct)
{
var _external_struct = new Stroke();
_external_struct.Dash_length = _internal_struct.Dash_length;
_external_struct.Cap = _internal_struct.Cap;
_external_struct.Join = _internal_struct.Join;
+ _external_struct.Miterlimit = _internal_struct.Miterlimit;
return _external_struct;
}
public struct ShapePublic
{
/// <summary>Internal representation as stroke</summary>
+ /// <value>Type defining stroke information. Describes the properties to define the path stroke.</value>
public Efl.Gfx.Stroke Stroke;
- ///<summary>Constructor for ShapePublic.</summary>
+ /// <summary>Constructor for ShapePublic.</summary>
+ /// <param name="Stroke">Internal representation as stroke</param>;
public ShapePublic(
Efl.Gfx.Stroke Stroke = default(Efl.Gfx.Stroke) )
{
this.Stroke = Stroke;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 ShapePublic(IntPtr ptr)
{
var tmp = (ShapePublic.NativeStruct)Marshal.PtrToStructure(ptr, typeof(ShapePublic.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct ShapePublic.</summary>
+ /// <summary>Internal wrapper for struct ShapePublic.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
public Efl.Gfx.Stroke.NativeStruct Stroke;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator ShapePublic.NativeStruct(ShapePublic _external_struct)
{
var _internal_struct = new ShapePublic.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator ShapePublic(ShapePublic.NativeStruct _internal_struct)
{
var _external_struct = new ShapePublic();
{
/// <summary>A list of rectangles that were updated in the canvas.</summary>
public Eina.List<Eina.Rect> Updated_area;
- ///<summary>Constructor for RenderPost.</summary>
+ /// <summary>Constructor for RenderPost.</summary>
+ /// <param name="Updated_area">A list of rectangles that were updated in the canvas.</param>;
public RenderPost(
Eina.List<Eina.Rect> Updated_area = default(Eina.List<Eina.Rect>) )
{
this.Updated_area = Updated_area;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 RenderPost(IntPtr ptr)
{
var tmp = (RenderPost.NativeStruct)Marshal.PtrToStructure(ptr, typeof(RenderPost.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct RenderPost.</summary>
+ /// <summary>Internal wrapper for struct RenderPost.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
public System.IntPtr Updated_area;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator RenderPost.NativeStruct(RenderPost _external_struct)
{
var _internal_struct = new RenderPost.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator RenderPost(RenderPost.NativeStruct _internal_struct)
{
var _external_struct = new RenderPost();
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Gfx {
/// <summary>Efl graphics view interface</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Gfx.IViewConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IView :
/// Refer to each implementing class specific documentation for more details.</summary>
/// <value>Size of the view.</value>
Eina.Size2D ViewSize {
- get ;
- set ;
+ get;
+ set;
}
}
/// <summary>Efl graphics view interface</summary>
-sealed public class IViewConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IViewConcrete :
Efl.Eo.EoWrapper
, IView
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IViewConcrete(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_GfxIViewConcrete_ExtensionMethods {
+ public static Efl.BindableProperty<Eina.Size2D> ViewSize<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IView, T>magic = null) where T : Efl.Gfx.IView {
+ return new Efl.BindableProperty<Eina.Size2D>("view_size", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
--- /dev/null
+#define EFL_BETA
+#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 Input {
+
+/// <summary>Efl input clickable interface</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+[Efl.Input.IClickableConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
+public interface IClickable :
+ Efl.Eo.IWrapper, IDisposable
+{
+ /// <summary>This returns true if the given object is currently in event emission</summary>
+bool GetInteraction();
+ /// <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>
+void Press(uint button);
+ /// <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>
+void Unpress(uint button);
+ /// <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>
+void ResetButtonState(uint button);
+ /// <summary>This aborts ongoing longpress event.
+/// That is, this will stop the timer for longpress.</summary>
+void LongpressAbort(uint button);
+ /// <summary>Called when object is in sequence pressed and unpressed, by the primary button</summary>
+ /// <value><see cref="Efl.Input.IClickableClickedEvt_Args"/></value>
+ event EventHandler<Efl.Input.IClickableClickedEvt_Args> ClickedEvt;
+ /// <summary>Called when object is in sequence pressed and unpressed by any button. The button that triggered the event can be found in the event information.</summary>
+ /// <value><see cref="Efl.Input.IClickableClickedAnyEvt_Args"/></value>
+ event EventHandler<Efl.Input.IClickableClickedAnyEvt_Args> ClickedAnyEvt;
+ /// <summary>Called when the object is pressed, event_info is the button that got pressed</summary>
+ /// <value><see cref="Efl.Input.IClickablePressedEvt_Args"/></value>
+ event EventHandler<Efl.Input.IClickablePressedEvt_Args> PressedEvt;
+ /// <summary>Called when the object is no longer pressed, event_info is the button that got pressed</summary>
+ /// <value><see cref="Efl.Input.IClickableUnpressedEvt_Args"/></value>
+ event EventHandler<Efl.Input.IClickableUnpressedEvt_Args> UnpressedEvt;
+ /// <summary>Called when the object receives a long press, event_info is the button that got pressed</summary>
+ /// <value><see cref="Efl.Input.IClickableLongpressedEvt_Args"/></value>
+ event EventHandler<Efl.Input.IClickableLongpressedEvt_Args> LongpressedEvt;
+ /// <summary>This returns true if the given object is currently in event emission</summary>
+ bool Interaction {
+ get;
+ }
+}
+/// <summary>Event argument wrapper for event <see cref="Efl.Input.IClickable.ClickedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
+public class IClickableClickedEvt_Args : EventArgs {
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called when object is in sequence pressed and unpressed, by the primary button</value>
+ public Efl.Input.ClickableClicked arg { get; set; }
+}
+/// <summary>Event argument wrapper for event <see cref="Efl.Input.IClickable.ClickedAnyEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
+public class IClickableClickedAnyEvt_Args : EventArgs {
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called when object is in sequence pressed and unpressed by any button. The button that triggered the event can be found in the event information.</value>
+ public Efl.Input.ClickableClicked arg { get; set; }
+}
+/// <summary>Event argument wrapper for event <see cref="Efl.Input.IClickable.PressedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
+public class IClickablePressedEvt_Args : EventArgs {
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called when the object is pressed, event_info is the button that got pressed</value>
+ public int arg { get; set; }
+}
+/// <summary>Event argument wrapper for event <see cref="Efl.Input.IClickable.UnpressedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
+public class IClickableUnpressedEvt_Args : EventArgs {
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called when the object is no longer pressed, event_info is the button that got pressed</value>
+ public int arg { get; set; }
+}
+/// <summary>Event argument wrapper for event <see cref="Efl.Input.IClickable.LongpressedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
+public class IClickableLongpressedEvt_Args : EventArgs {
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called when the object receives a long press, event_info is the button that got pressed</value>
+ public int arg { get; set; }
+}
+/// <summary>Efl input clickable interface</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IClickableConcrete :
+ Efl.Eo.EoWrapper
+ , IClickable
+
+{
+ /// <summary>Pointer to the native class description.</summary>
+ public override System.IntPtr NativeClass
+ {
+ get
+ {
+ if (((object)this).GetType() == typeof(IClickableConcrete))
+ {
+ return GetEflClassStatic();
+ }
+ else
+ {
+ return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
+ }
+ }
+ }
+
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</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.Evas)] internal static extern System.IntPtr
+ efl_input_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>
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IClickableConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
+ {
+ }
+
+ /// <summary>Called when object is in sequence pressed and unpressed, by the primary button</summary>
+ /// <value><see cref="Efl.Input.IClickableClickedEvt_Args"/></value>
+ public event EventHandler<Efl.Input.IClickableClickedEvt_Args> ClickedEvt
+ {
+ 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.Input.IClickableClickedEvt_Args args = new Efl.Input.IClickableClickedEvt_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_INPUT_EVENT_CLICKED";
+ AddNativeEventHandler(efl.Libs.Evas, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_INPUT_EVENT_CLICKED";
+ RemoveNativeEventHandler(efl.Libs.Evas, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event ClickedEvt.</summary>
+ public void OnClickedEvt(Efl.Input.IClickableClickedEvt_Args e)
+ {
+ var key = "_EFL_INPUT_EVENT_CLICKED";
+ IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Evas, 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>Called when object is in sequence pressed and unpressed by any button. The button that triggered the event can be found in the event information.</summary>
+ /// <value><see cref="Efl.Input.IClickableClickedAnyEvt_Args"/></value>
+ public event EventHandler<Efl.Input.IClickableClickedAnyEvt_Args> ClickedAnyEvt
+ {
+ 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.Input.IClickableClickedAnyEvt_Args args = new Efl.Input.IClickableClickedAnyEvt_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_INPUT_EVENT_CLICKED_ANY";
+ AddNativeEventHandler(efl.Libs.Evas, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_INPUT_EVENT_CLICKED_ANY";
+ RemoveNativeEventHandler(efl.Libs.Evas, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event ClickedAnyEvt.</summary>
+ public void OnClickedAnyEvt(Efl.Input.IClickableClickedAnyEvt_Args e)
+ {
+ var key = "_EFL_INPUT_EVENT_CLICKED_ANY";
+ IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Evas, 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>Called when the object is pressed, event_info is the button that got pressed</summary>
+ /// <value><see cref="Efl.Input.IClickablePressedEvt_Args"/></value>
+ public event EventHandler<Efl.Input.IClickablePressedEvt_Args> PressedEvt
+ {
+ 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.Input.IClickablePressedEvt_Args args = new Efl.Input.IClickablePressedEvt_Args();
+ args.arg = Marshal.ReadInt32(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_INPUT_EVENT_PRESSED";
+ AddNativeEventHandler(efl.Libs.Evas, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_INPUT_EVENT_PRESSED";
+ RemoveNativeEventHandler(efl.Libs.Evas, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event PressedEvt.</summary>
+ public void OnPressedEvt(Efl.Input.IClickablePressedEvt_Args e)
+ {
+ var key = "_EFL_INPUT_EVENT_PRESSED";
+ IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Evas, 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>Called when the object is no longer pressed, event_info is the button that got pressed</summary>
+ /// <value><see cref="Efl.Input.IClickableUnpressedEvt_Args"/></value>
+ public event EventHandler<Efl.Input.IClickableUnpressedEvt_Args> UnpressedEvt
+ {
+ 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.Input.IClickableUnpressedEvt_Args args = new Efl.Input.IClickableUnpressedEvt_Args();
+ args.arg = Marshal.ReadInt32(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_INPUT_EVENT_UNPRESSED";
+ AddNativeEventHandler(efl.Libs.Evas, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_INPUT_EVENT_UNPRESSED";
+ RemoveNativeEventHandler(efl.Libs.Evas, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event UnpressedEvt.</summary>
+ public void OnUnpressedEvt(Efl.Input.IClickableUnpressedEvt_Args e)
+ {
+ var key = "_EFL_INPUT_EVENT_UNPRESSED";
+ IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Evas, 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>Called when the object receives a long press, event_info is the button that got pressed</summary>
+ /// <value><see cref="Efl.Input.IClickableLongpressedEvt_Args"/></value>
+ public event EventHandler<Efl.Input.IClickableLongpressedEvt_Args> LongpressedEvt
+ {
+ 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.Input.IClickableLongpressedEvt_Args args = new Efl.Input.IClickableLongpressedEvt_Args();
+ args.arg = Marshal.ReadInt32(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_INPUT_EVENT_LONGPRESSED";
+ AddNativeEventHandler(efl.Libs.Evas, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_INPUT_EVENT_LONGPRESSED";
+ RemoveNativeEventHandler(efl.Libs.Evas, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event LongpressedEvt.</summary>
+ public void OnLongpressedEvt(Efl.Input.IClickableLongpressedEvt_Args e)
+ {
+ var key = "_EFL_INPUT_EVENT_LONGPRESSED";
+ IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Evas, 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>This returns true if the given object is currently in event emission</summary>
+ public bool GetInteraction() {
+ var _ret_var = Efl.Input.IClickableConcrete.NativeMethods.efl_input_clickable_interaction_get_ptr.Value.Delegate(this.NativeHandle);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <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>
+ public void Press(uint button) {
+ Efl.Input.IClickableConcrete.NativeMethods.efl_input_clickable_press_ptr.Value.Delegate(this.NativeHandle,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>
+ public void Unpress(uint button) {
+ Efl.Input.IClickableConcrete.NativeMethods.efl_input_clickable_unpress_ptr.Value.Delegate(this.NativeHandle,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>
+ public void ResetButtonState(uint button) {
+ Efl.Input.IClickableConcrete.NativeMethods.efl_input_clickable_button_state_reset_ptr.Value.Delegate(this.NativeHandle,button);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>This aborts ongoing longpress event.
+ /// That is, this will stop the timer for longpress.</summary>
+ public void LongpressAbort(uint button) {
+ Efl.Input.IClickableConcrete.NativeMethods.efl_input_clickable_longpress_abort_ptr.Value.Delegate(this.NativeHandle,button);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>This returns true if the given object is currently in event emission</summary>
+ public bool Interaction {
+ get { return GetInteraction(); }
+ }
+ private static IntPtr GetEflClassStatic()
+ {
+ return Efl.Input.IClickableConcrete.efl_input_clickable_mixin_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.Evas);
+ /// <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_input_clickable_interaction_get_static_delegate == null)
+ {
+ efl_input_clickable_interaction_get_static_delegate = new efl_input_clickable_interaction_get_delegate(interaction_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetInteraction") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_clickable_interaction_get"), func = Marshal.GetFunctionPointerForDelegate(efl_input_clickable_interaction_get_static_delegate) });
+ }
+
+ if (efl_input_clickable_press_static_delegate == null)
+ {
+ efl_input_clickable_press_static_delegate = new efl_input_clickable_press_delegate(press);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "Press") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_clickable_press"), func = Marshal.GetFunctionPointerForDelegate(efl_input_clickable_press_static_delegate) });
+ }
+
+ if (efl_input_clickable_unpress_static_delegate == null)
+ {
+ efl_input_clickable_unpress_static_delegate = new efl_input_clickable_unpress_delegate(unpress);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "Unpress") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_clickable_unpress"), func = Marshal.GetFunctionPointerForDelegate(efl_input_clickable_unpress_static_delegate) });
+ }
+
+ if (efl_input_clickable_button_state_reset_static_delegate == null)
+ {
+ efl_input_clickable_button_state_reset_static_delegate = new efl_input_clickable_button_state_reset_delegate(button_state_reset);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "ResetButtonState") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_clickable_button_state_reset"), func = Marshal.GetFunctionPointerForDelegate(efl_input_clickable_button_state_reset_static_delegate) });
+ }
+
+ if (efl_input_clickable_longpress_abort_static_delegate == null)
+ {
+ efl_input_clickable_longpress_abort_static_delegate = new efl_input_clickable_longpress_abort_delegate(longpress_abort);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "LongpressAbort") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_clickable_longpress_abort"), func = Marshal.GetFunctionPointerForDelegate(efl_input_clickable_longpress_abort_static_delegate) });
+ }
+
+ 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.Input.IClickableConcrete.efl_input_clickable_mixin_get();
+ }
+
+ #pragma warning disable CA1707, CS1591, SA1300, SA1600
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_input_clickable_interaction_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_input_clickable_interaction_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_input_clickable_interaction_get_api_delegate> efl_input_clickable_interaction_get_ptr = new Efl.Eo.FunctionWrapper<efl_input_clickable_interaction_get_api_delegate>(Module, "efl_input_clickable_interaction_get");
+
+ private static bool interaction_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_input_clickable_interaction_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((IClickable)ws.Target).GetInteraction();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_input_clickable_interaction_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_input_clickable_interaction_get_delegate efl_input_clickable_interaction_get_static_delegate;
+
+
+ private delegate void efl_input_clickable_press_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
+
+
+ public delegate void efl_input_clickable_press_api_delegate(System.IntPtr obj, uint button);
+
+ public static Efl.Eo.FunctionWrapper<efl_input_clickable_press_api_delegate> efl_input_clickable_press_ptr = new Efl.Eo.FunctionWrapper<efl_input_clickable_press_api_delegate>(Module, "efl_input_clickable_press");
+
+ private static void press(System.IntPtr obj, System.IntPtr pd, uint button)
+ {
+ Eina.Log.Debug("function efl_input_clickable_press was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((IClickable)ws.Target).Press(button);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_input_clickable_press_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
+ }
+ }
+
+ private static efl_input_clickable_press_delegate efl_input_clickable_press_static_delegate;
+
+
+ private delegate void efl_input_clickable_unpress_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
+
+
+ public delegate void efl_input_clickable_unpress_api_delegate(System.IntPtr obj, uint button);
+
+ public static Efl.Eo.FunctionWrapper<efl_input_clickable_unpress_api_delegate> efl_input_clickable_unpress_ptr = new Efl.Eo.FunctionWrapper<efl_input_clickable_unpress_api_delegate>(Module, "efl_input_clickable_unpress");
+
+ private static void unpress(System.IntPtr obj, System.IntPtr pd, uint button)
+ {
+ Eina.Log.Debug("function efl_input_clickable_unpress was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((IClickable)ws.Target).Unpress(button);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_input_clickable_unpress_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
+ }
+ }
+
+ private static efl_input_clickable_unpress_delegate efl_input_clickable_unpress_static_delegate;
+
+
+ private delegate void efl_input_clickable_button_state_reset_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
+
+
+ public delegate void efl_input_clickable_button_state_reset_api_delegate(System.IntPtr obj, uint button);
+
+ public static Efl.Eo.FunctionWrapper<efl_input_clickable_button_state_reset_api_delegate> efl_input_clickable_button_state_reset_ptr = new Efl.Eo.FunctionWrapper<efl_input_clickable_button_state_reset_api_delegate>(Module, "efl_input_clickable_button_state_reset");
+
+ private static void button_state_reset(System.IntPtr obj, System.IntPtr pd, uint button)
+ {
+ Eina.Log.Debug("function efl_input_clickable_button_state_reset was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((IClickable)ws.Target).ResetButtonState(button);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_input_clickable_button_state_reset_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
+ }
+ }
+
+ private static efl_input_clickable_button_state_reset_delegate efl_input_clickable_button_state_reset_static_delegate;
+
+
+ private delegate void efl_input_clickable_longpress_abort_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
+
+
+ public delegate void efl_input_clickable_longpress_abort_api_delegate(System.IntPtr obj, uint button);
+
+ public static Efl.Eo.FunctionWrapper<efl_input_clickable_longpress_abort_api_delegate> efl_input_clickable_longpress_abort_ptr = new Efl.Eo.FunctionWrapper<efl_input_clickable_longpress_abort_api_delegate>(Module, "efl_input_clickable_longpress_abort");
+
+ private static void longpress_abort(System.IntPtr obj, System.IntPtr pd, uint button)
+ {
+ Eina.Log.Debug("function efl_input_clickable_longpress_abort was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((IClickable)ws.Target).LongpressAbort(button);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_input_clickable_longpress_abort_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
+ }
+ }
+
+ private static efl_input_clickable_longpress_abort_delegate efl_input_clickable_longpress_abort_static_delegate;
+
+ #pragma warning restore CA1707, CS1591, SA1300, SA1600
+
+}
+}
+}
+
+}
+
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_InputIClickableConcrete_ExtensionMethods {
+
+}
+#pragma warning restore CS1591
+#endif
+namespace Efl {
+
+namespace Input {
+
+/// <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>
+ public uint Repeated;
+ /// <summary>The Button that is pressed</summary>
+ public uint Button;
+ /// <summary>Constructor for ClickableClicked.</summary>
+ /// <param name="Repeated">The amount of how often the clicked event was repeated in a certain amount of time</param>;
+ /// <param name="Button">The Button that is pressed</param>;
+ public ClickableClicked(
+ uint Repeated = default(uint),
+ uint Button = default(uint) )
+ {
+ this.Repeated = Repeated;
+ this.Button = Button;
+ }
+
+ /// <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 ClickableClicked(IntPtr ptr)
+ {
+ var tmp = (ClickableClicked.NativeStruct)Marshal.PtrToStructure(ptr, typeof(ClickableClicked.NativeStruct));
+ return tmp;
+ }
+
+ #pragma warning disable CS1591
+
+ /// <summary>Internal wrapper for struct ClickableClicked.</summary>
+ [StructLayout(LayoutKind.Sequential)]
+ public struct NativeStruct
+ {
+
+ public uint Repeated;
+
+ public uint Button;
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
+ public static implicit operator ClickableClicked.NativeStruct(ClickableClicked _external_struct)
+ {
+ var _internal_struct = new ClickableClicked.NativeStruct();
+ _internal_struct.Repeated = _external_struct.Repeated;
+ _internal_struct.Button = _external_struct.Button;
+ return _internal_struct;
+ }
+
+ /// <summary>Implicit conversion to the managed representation.</summary>
+ public static implicit operator ClickableClicked(ClickableClicked.NativeStruct _internal_struct)
+ {
+ var _external_struct = new ClickableClicked();
+ _external_struct.Repeated = _internal_struct.Repeated;
+ _external_struct.Button = _internal_struct.Button;
+ return _external_struct;
+ }
+
+ }
+
+ #pragma warning restore CS1591
+
+}
+
+}
+
+}
+
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
[Efl.Eo.BindingEntity]
public class Device : Efl.Object
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Device(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_InputDevice_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Input.DeviceType> DeviceType<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Device, T>magic = null) where T : Efl.Input.Device {
+ return new Efl.BindableProperty<Efl.Input.DeviceType>("device_type", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Input.Device> Source<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Device, T>magic = null) where T : Efl.Input.Device {
+ return new Efl.BindableProperty<Efl.Input.Device>("source", fac);
+ }
+
+
+ public static Efl.BindableProperty<uint> SeatId<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Device, T>magic = null) where T : Efl.Input.Device {
+ return new Efl.BindableProperty<uint>("seat_id", fac);
+ }
+
+
+
+}
+#pragma warning restore CS1591
+#endif
namespace Efl {
namespace Input {
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// 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>
/// <value>Time in milliseconds when the event happened.</value>
double Timestamp {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>Input device that originated this event.</summary>
/// <value>Input device origin</value>
Efl.Input.Device Device {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>Extra flags for this event, may be changed by the user.</summary>
/// <value>Input event flags</value>
Efl.Input.Flags EventFlags {
- get ;
- set ;
+ get;
+ set;
}
/// <summary><c>true</c> if <see cref="Efl.Input.IEvent.EventFlags"/> indicates the event is on hold.</summary>
/// <value><c>true</c> if the event is on hold, <c>false</c> otherwise</value>
bool Processed {
- get ;
- set ;
+ get;
+ set;
}
/// <summary><c>true</c> if <see cref="Efl.Input.IEvent.EventFlags"/> indicates the event happened while scrolling.</summary>
/// <value><c>true</c> if the event happened while scrolling, <c>false</c> otherwise</value>
bool Scrolling {
- get ;
- set ;
+ get;
+ set;
}
/// <summary><c>true</c> if the event was fake, not triggered by real hardware.</summary>
/// <value><c>true</c> if the event was not from real hardware, <c>false</c> otherwise</value>
bool Fake {
- get ;
+ get;
}
}
/// <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>
-sealed public class IEventConcrete :
+sealed public class IEventConcrete :
Efl.Eo.EoWrapper
, IEvent
, Efl.IDuplicate
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IEventConcrete(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_InputIEventConcrete_ExtensionMethods {
+ public static Efl.BindableProperty<double> Timestamp<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.IEvent, T>magic = null) where T : Efl.Input.IEvent {
+ return new Efl.BindableProperty<double>("timestamp", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Input.Device> Device<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.IEvent, T>magic = null) where T : Efl.Input.IEvent {
+ return new Efl.BindableProperty<Efl.Input.Device>("device", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Input.Flags> EventFlags<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.IEvent, T>magic = null) where T : Efl.Input.IEvent {
+ return new Efl.BindableProperty<Efl.Input.Flags>("event_flags", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Processed<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.IEvent, T>magic = null) where T : Efl.Input.IEvent {
+ return new Efl.BindableProperty<bool>("processed", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Scrolling<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.IEvent, T>magic = null) where T : Efl.Input.IEvent {
+ return new Efl.BindableProperty<bool>("scrolling", fac);
+ }
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
[Efl.Eo.BindingEntity]
public class Focus : Efl.Object, Efl.IDuplicate, Efl.Input.IEvent
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Focus(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_InputFocus_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Object> Object<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Focus, T>magic = null) where T : Efl.Input.Focus {
+ return new Efl.BindableProperty<Efl.Object>("object", fac);
+ }
+
+ public static Efl.BindableProperty<double> Timestamp<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Focus, T>magic = null) where T : Efl.Input.Focus {
+ return new Efl.BindableProperty<double>("timestamp", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Input.Device> Device<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Focus, T>magic = null) where T : Efl.Input.Focus {
+ return new Efl.BindableProperty<Efl.Input.Device>("device", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Input.Flags> EventFlags<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Focus, T>magic = null) where T : Efl.Input.Focus {
+ return new Efl.BindableProperty<Efl.Input.Flags>("event_flags", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Processed<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Focus, T>magic = null) where T : Efl.Input.Focus {
+ return new Efl.BindableProperty<bool>("processed", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Scrolling<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Focus, T>magic = null) where T : Efl.Input.Focus {
+ return new Efl.BindableProperty<bool>("scrolling", fac);
+ }
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
[Efl.Eo.BindingEntity]
public class Hold : Efl.Object, Efl.IDuplicate, Efl.Input.IEvent
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Hold(ConstructingHandle ch) : base(ch)
{
/// <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() {
+ virtual public bool GetInputHold() {
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) {
+ virtual public void SetInputHold(bool 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();
}
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>Property to show if inputs are now on hold.</summary>
+ /// <value><c>true</c> if inputs are on hold, <c>false</c> otherwise</value>
+ public bool InputHold {
+ get { return GetInputHold(); }
+ set { SetInputHold(value); }
+ }
/// <summary>The time at which an event was generated.
/// 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>
/// <value>Time in milliseconds when the event happened.</value>
if (efl_input_hold_get_static_delegate == null)
{
- efl_input_hold_get_static_delegate = new efl_input_hold_get_delegate(hold_get);
+ efl_input_hold_get_static_delegate = new efl_input_hold_get_delegate(input_hold_get);
}
- if (methods.FirstOrDefault(m => m.Name == "GetHold") != null)
+ if (methods.FirstOrDefault(m => m.Name == "GetInputHold") != null)
{
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_hold_get"), func = Marshal.GetFunctionPointerForDelegate(efl_input_hold_get_static_delegate) });
}
if (efl_input_hold_set_static_delegate == null)
{
- efl_input_hold_set_static_delegate = new efl_input_hold_set_delegate(hold_set);
+ efl_input_hold_set_static_delegate = new efl_input_hold_set_delegate(input_hold_set);
}
- if (methods.FirstOrDefault(m => m.Name == "SetHold") != null)
+ if (methods.FirstOrDefault(m => m.Name == "SetInputHold") != null)
{
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_hold_set"), func = Marshal.GetFunctionPointerForDelegate(efl_input_hold_set_static_delegate) });
}
public static Efl.Eo.FunctionWrapper<efl_input_hold_get_api_delegate> efl_input_hold_get_ptr = new Efl.Eo.FunctionWrapper<efl_input_hold_get_api_delegate>(Module, "efl_input_hold_get");
- private static bool hold_get(System.IntPtr obj, System.IntPtr pd)
+ private static bool input_hold_get(System.IntPtr obj, System.IntPtr pd)
{
Eina.Log.Debug("function efl_input_hold_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
bool _ret_var = default(bool);
try
{
- _ret_var = ((Hold)ws.Target).GetHold();
+ _ret_var = ((Hold)ws.Target).GetInputHold();
}
catch (Exception e)
{
public static Efl.Eo.FunctionWrapper<efl_input_hold_set_api_delegate> efl_input_hold_set_ptr = new Efl.Eo.FunctionWrapper<efl_input_hold_set_api_delegate>(Module, "efl_input_hold_set");
- private static void hold_set(System.IntPtr obj, System.IntPtr pd, bool val)
+ private static void input_hold_set(System.IntPtr obj, System.IntPtr pd, bool val)
{
Eina.Log.Debug("function efl_input_hold_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
try
{
- ((Hold)ws.Target).SetHold(val);
+ ((Hold)ws.Target).SetInputHold(val);
}
catch (Exception e)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_InputHold_ExtensionMethods {
+ public static Efl.BindableProperty<bool> InputHold<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Hold, T>magic = null) where T : Efl.Input.Hold {
+ return new Efl.BindableProperty<bool>("input_hold", fac);
+ }
+
+ public static Efl.BindableProperty<double> Timestamp<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Hold, T>magic = null) where T : Efl.Input.Hold {
+ return new Efl.BindableProperty<double>("timestamp", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Input.Device> Device<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Hold, T>magic = null) where T : Efl.Input.Hold {
+ return new Efl.BindableProperty<Efl.Input.Device>("device", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Input.Flags> EventFlags<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Hold, T>magic = null) where T : Efl.Input.Hold {
+ return new Efl.BindableProperty<Efl.Input.Flags>("event_flags", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Processed<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Hold, T>magic = null) where T : Efl.Input.Hold {
+ return new Efl.BindableProperty<bool>("processed", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Scrolling<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Hold, T>magic = null) where T : Efl.Input.Hold {
+ return new Efl.BindableProperty<bool>("scrolling", fac);
+ }
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
public interface IInterface :
Efl.Eo.IWrapper, IDisposable
{
- /// <summary>Check if input events from a given seat is enabled.</summary>
+ /// <summary>Check if input events from a given seat is enabled.
+///
+/// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</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>
bool GetSeatEventFilter(Efl.Input.Device seat);
- /// <summary>Add or remove a given seat to the filter list. If the filter list is empty this object will report mouse, keyboard and focus events from any seat, otherwise those events will only be reported if the event comes from a seat that is in the list.</summary>
+ /// <summary>Add or remove a given seat to the filter list. If the filter list is empty this object will report mouse, keyboard and focus events from any seat, otherwise those events will only be reported if the event comes from a seat that is in the list.
+///
+/// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <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>
void SetSeatEventFilter(Efl.Input.Device seat, bool enable);
/// <summary>Main pointer move (current and previous positions are known).</summary>
+ /// <value><see cref="Efl.Input.IInterfacePointerMoveEvt_Args"/></value>
event EventHandler<Efl.Input.IInterfacePointerMoveEvt_Args> PointerMoveEvt;
/// <summary>Main pointer button pressed (button id is known).</summary>
+ /// <value><see cref="Efl.Input.IInterfacePointerDownEvt_Args"/></value>
event EventHandler<Efl.Input.IInterfacePointerDownEvt_Args> PointerDownEvt;
/// <summary>Main pointer button released (button id is known).</summary>
+ /// <value><see cref="Efl.Input.IInterfacePointerUpEvt_Args"/></value>
event EventHandler<Efl.Input.IInterfacePointerUpEvt_Args> PointerUpEvt;
/// <summary>Main pointer button press was cancelled (button id is known). This can happen in rare cases when the window manager passes the focus to a more urgent window, for instance. You probably don't need to listen to this event, as it will be accompanied by an up event.</summary>
+ /// <value><see cref="Efl.Input.IInterfacePointerCancelEvt_Args"/></value>
event EventHandler<Efl.Input.IInterfacePointerCancelEvt_Args> PointerCancelEvt;
/// <summary>Pointer entered a window or a widget.</summary>
+ /// <value><see cref="Efl.Input.IInterfacePointerInEvt_Args"/></value>
event EventHandler<Efl.Input.IInterfacePointerInEvt_Args> PointerInEvt;
/// <summary>Pointer left a window or a widget.</summary>
+ /// <value><see cref="Efl.Input.IInterfacePointerOutEvt_Args"/></value>
event EventHandler<Efl.Input.IInterfacePointerOutEvt_Args> PointerOutEvt;
/// <summary>Mouse wheel event.</summary>
+ /// <value><see cref="Efl.Input.IInterfacePointerWheelEvt_Args"/></value>
event EventHandler<Efl.Input.IInterfacePointerWheelEvt_Args> PointerWheelEvt;
/// <summary>Pen or other axis event update.</summary>
+ /// <value><see cref="Efl.Input.IInterfacePointerAxisEvt_Args"/></value>
event EventHandler<Efl.Input.IInterfacePointerAxisEvt_Args> PointerAxisEvt;
/// <summary>Finger moved (current and previous positions are known).</summary>
+ /// <value><see cref="Efl.Input.IInterfaceFingerMoveEvt_Args"/></value>
event EventHandler<Efl.Input.IInterfaceFingerMoveEvt_Args> FingerMoveEvt;
/// <summary>Finger pressed (finger id is known).</summary>
+ /// <value><see cref="Efl.Input.IInterfaceFingerDownEvt_Args"/></value>
event EventHandler<Efl.Input.IInterfaceFingerDownEvt_Args> FingerDownEvt;
/// <summary>Finger released (finger id is known).</summary>
+ /// <value><see cref="Efl.Input.IInterfaceFingerUpEvt_Args"/></value>
event EventHandler<Efl.Input.IInterfaceFingerUpEvt_Args> FingerUpEvt;
/// <summary>Keyboard key press.</summary>
+ /// <value><see cref="Efl.Input.IInterfaceKeyDownEvt_Args"/></value>
event EventHandler<Efl.Input.IInterfaceKeyDownEvt_Args> KeyDownEvt;
/// <summary>Keyboard key release.</summary>
+ /// <value><see cref="Efl.Input.IInterfaceKeyUpEvt_Args"/></value>
event EventHandler<Efl.Input.IInterfaceKeyUpEvt_Args> KeyUpEvt;
/// <summary>All input events are on hold or resumed.</summary>
+ /// <value><see cref="Efl.Input.IInterfaceHoldEvt_Args"/></value>
event EventHandler<Efl.Input.IInterfaceHoldEvt_Args> HoldEvt;
/// <summary>A focus in event.</summary>
+ /// <value><see cref="Efl.Input.IInterfaceFocusInEvt_Args"/></value>
event EventHandler<Efl.Input.IInterfaceFocusInEvt_Args> FocusInEvt;
/// <summary>A focus out event.</summary>
+ /// <value><see cref="Efl.Input.IInterfaceFocusOutEvt_Args"/></value>
event EventHandler<Efl.Input.IInterfaceFocusOutEvt_Args> FocusOutEvt;
}
-///<summary>Event argument wrapper for event <see cref="Efl.Input.IInterface.PointerMoveEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Main pointer move (current and previous positions are known).</value>
public Efl.Input.Pointer arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Input.IInterface.PointerDownEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Main pointer button pressed (button id is known).</value>
public Efl.Input.Pointer arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Input.IInterface.PointerUpEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Main pointer button released (button id is known).</value>
public Efl.Input.Pointer arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Input.IInterface.PointerCancelEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Main pointer button press was cancelled (button id is known). This can happen in rare cases when the window manager passes the focus to a more urgent window, for instance. You probably don't need to listen to this event, as it will be accompanied by an up event.</value>
public Efl.Input.Pointer arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Input.IInterface.PointerInEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Pointer entered a window or a widget.</value>
public Efl.Input.Pointer arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Input.IInterface.PointerOutEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Pointer left a window or a widget.</value>
public Efl.Input.Pointer arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Input.IInterface.PointerWheelEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Mouse wheel event.</value>
public Efl.Input.Pointer arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Input.IInterface.PointerAxisEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Pen or other axis event update.</value>
public Efl.Input.Pointer arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Input.IInterface.FingerMoveEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Finger moved (current and previous positions are known).</value>
public Efl.Input.Pointer arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Input.IInterface.FingerDownEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Finger pressed (finger id is known).</value>
public Efl.Input.Pointer arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Input.IInterface.FingerUpEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Finger released (finger id is known).</value>
public Efl.Input.Pointer arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Input.IInterface.KeyDownEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Keyboard key press.</value>
public Efl.Input.Key arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Input.IInterface.KeyUpEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Keyboard key release.</value>
public Efl.Input.Key arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Input.IInterface.HoldEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>All input events are on hold or resumed.</value>
public Efl.Input.Hold arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Input.IInterface.FocusInEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>A focus in event.</value>
public Efl.Input.Focus arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Input.IInterface.FocusOutEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>A focus out event.</value>
public Efl.Input.Focus arg { get; set; }
}
/// <summary>An object implementing this interface can send pointer events.
/// A "finger" refers to a single point of input, usually in an absolute coordinates input device, and that can support more than one input position at at time (think multi-touch screens). The first finger (id 0) is sent along with a pointer event, so be careful to not handle those events twice. Note that if the input device can support "hovering", it is entirely possible to receive move events without down coming first.
///
/// 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>
-sealed public class IInterfaceConcrete :
+sealed public class IInterfaceConcrete :
Efl.Eo.EoWrapper
, IInterface
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IInterfaceConcrete(ConstructingHandle ch) : base(ch)
{
}
/// <summary>Main pointer move (current and previous positions are known).</summary>
+ /// <value><see cref="Efl.Input.IInterfacePointerMoveEvt_Args"/></value>
public event EventHandler<Efl.Input.IInterfacePointerMoveEvt_Args> PointerMoveEvt
{
add
}
}
}
- ///<summary>Method to raise event PointerMoveEvt.</summary>
+ /// <summary>Method to raise event PointerMoveEvt.</summary>
public void OnPointerMoveEvt(Efl.Input.IInterfacePointerMoveEvt_Args e)
{
var key = "_EFL_EVENT_POINTER_MOVE";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>Main pointer button pressed (button id is known).</summary>
+ /// <value><see cref="Efl.Input.IInterfacePointerDownEvt_Args"/></value>
public event EventHandler<Efl.Input.IInterfacePointerDownEvt_Args> PointerDownEvt
{
add
}
}
}
- ///<summary>Method to raise event PointerDownEvt.</summary>
+ /// <summary>Method to raise event PointerDownEvt.</summary>
public void OnPointerDownEvt(Efl.Input.IInterfacePointerDownEvt_Args e)
{
var key = "_EFL_EVENT_POINTER_DOWN";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>Main pointer button released (button id is known).</summary>
+ /// <value><see cref="Efl.Input.IInterfacePointerUpEvt_Args"/></value>
public event EventHandler<Efl.Input.IInterfacePointerUpEvt_Args> PointerUpEvt
{
add
}
}
}
- ///<summary>Method to raise event PointerUpEvt.</summary>
+ /// <summary>Method to raise event PointerUpEvt.</summary>
public void OnPointerUpEvt(Efl.Input.IInterfacePointerUpEvt_Args e)
{
var key = "_EFL_EVENT_POINTER_UP";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>Main pointer button press was cancelled (button id is known). This can happen in rare cases when the window manager passes the focus to a more urgent window, for instance. You probably don't need to listen to this event, as it will be accompanied by an up event.</summary>
+ /// <value><see cref="Efl.Input.IInterfacePointerCancelEvt_Args"/></value>
public event EventHandler<Efl.Input.IInterfacePointerCancelEvt_Args> PointerCancelEvt
{
add
}
}
}
- ///<summary>Method to raise event PointerCancelEvt.</summary>
+ /// <summary>Method to raise event PointerCancelEvt.</summary>
public void OnPointerCancelEvt(Efl.Input.IInterfacePointerCancelEvt_Args e)
{
var key = "_EFL_EVENT_POINTER_CANCEL";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>Pointer entered a window or a widget.</summary>
+ /// <value><see cref="Efl.Input.IInterfacePointerInEvt_Args"/></value>
public event EventHandler<Efl.Input.IInterfacePointerInEvt_Args> PointerInEvt
{
add
}
}
}
- ///<summary>Method to raise event PointerInEvt.</summary>
+ /// <summary>Method to raise event PointerInEvt.</summary>
public void OnPointerInEvt(Efl.Input.IInterfacePointerInEvt_Args e)
{
var key = "_EFL_EVENT_POINTER_IN";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>Pointer left a window or a widget.</summary>
+ /// <value><see cref="Efl.Input.IInterfacePointerOutEvt_Args"/></value>
public event EventHandler<Efl.Input.IInterfacePointerOutEvt_Args> PointerOutEvt
{
add
}
}
}
- ///<summary>Method to raise event PointerOutEvt.</summary>
+ /// <summary>Method to raise event PointerOutEvt.</summary>
public void OnPointerOutEvt(Efl.Input.IInterfacePointerOutEvt_Args e)
{
var key = "_EFL_EVENT_POINTER_OUT";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>Mouse wheel event.</summary>
+ /// <value><see cref="Efl.Input.IInterfacePointerWheelEvt_Args"/></value>
public event EventHandler<Efl.Input.IInterfacePointerWheelEvt_Args> PointerWheelEvt
{
add
}
}
}
- ///<summary>Method to raise event PointerWheelEvt.</summary>
+ /// <summary>Method to raise event PointerWheelEvt.</summary>
public void OnPointerWheelEvt(Efl.Input.IInterfacePointerWheelEvt_Args e)
{
var key = "_EFL_EVENT_POINTER_WHEEL";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>Pen or other axis event update.</summary>
+ /// <value><see cref="Efl.Input.IInterfacePointerAxisEvt_Args"/></value>
public event EventHandler<Efl.Input.IInterfacePointerAxisEvt_Args> PointerAxisEvt
{
add
}
}
}
- ///<summary>Method to raise event PointerAxisEvt.</summary>
+ /// <summary>Method to raise event PointerAxisEvt.</summary>
public void OnPointerAxisEvt(Efl.Input.IInterfacePointerAxisEvt_Args e)
{
var key = "_EFL_EVENT_POINTER_AXIS";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>Finger moved (current and previous positions are known).</summary>
+ /// <value><see cref="Efl.Input.IInterfaceFingerMoveEvt_Args"/></value>
public event EventHandler<Efl.Input.IInterfaceFingerMoveEvt_Args> FingerMoveEvt
{
add
}
}
}
- ///<summary>Method to raise event FingerMoveEvt.</summary>
+ /// <summary>Method to raise event FingerMoveEvt.</summary>
public void OnFingerMoveEvt(Efl.Input.IInterfaceFingerMoveEvt_Args e)
{
var key = "_EFL_EVENT_FINGER_MOVE";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>Finger pressed (finger id is known).</summary>
+ /// <value><see cref="Efl.Input.IInterfaceFingerDownEvt_Args"/></value>
public event EventHandler<Efl.Input.IInterfaceFingerDownEvt_Args> FingerDownEvt
{
add
}
}
}
- ///<summary>Method to raise event FingerDownEvt.</summary>
+ /// <summary>Method to raise event FingerDownEvt.</summary>
public void OnFingerDownEvt(Efl.Input.IInterfaceFingerDownEvt_Args e)
{
var key = "_EFL_EVENT_FINGER_DOWN";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>Finger released (finger id is known).</summary>
+ /// <value><see cref="Efl.Input.IInterfaceFingerUpEvt_Args"/></value>
public event EventHandler<Efl.Input.IInterfaceFingerUpEvt_Args> FingerUpEvt
{
add
}
}
}
- ///<summary>Method to raise event FingerUpEvt.</summary>
+ /// <summary>Method to raise event FingerUpEvt.</summary>
public void OnFingerUpEvt(Efl.Input.IInterfaceFingerUpEvt_Args e)
{
var key = "_EFL_EVENT_FINGER_UP";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>Keyboard key press.</summary>
+ /// <value><see cref="Efl.Input.IInterfaceKeyDownEvt_Args"/></value>
public event EventHandler<Efl.Input.IInterfaceKeyDownEvt_Args> KeyDownEvt
{
add
}
}
}
- ///<summary>Method to raise event KeyDownEvt.</summary>
+ /// <summary>Method to raise event KeyDownEvt.</summary>
public void OnKeyDownEvt(Efl.Input.IInterfaceKeyDownEvt_Args e)
{
var key = "_EFL_EVENT_KEY_DOWN";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>Keyboard key release.</summary>
+ /// <value><see cref="Efl.Input.IInterfaceKeyUpEvt_Args"/></value>
public event EventHandler<Efl.Input.IInterfaceKeyUpEvt_Args> KeyUpEvt
{
add
}
}
}
- ///<summary>Method to raise event KeyUpEvt.</summary>
+ /// <summary>Method to raise event KeyUpEvt.</summary>
public void OnKeyUpEvt(Efl.Input.IInterfaceKeyUpEvt_Args e)
{
var key = "_EFL_EVENT_KEY_UP";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>All input events are on hold or resumed.</summary>
+ /// <value><see cref="Efl.Input.IInterfaceHoldEvt_Args"/></value>
public event EventHandler<Efl.Input.IInterfaceHoldEvt_Args> HoldEvt
{
add
}
}
}
- ///<summary>Method to raise event HoldEvt.</summary>
+ /// <summary>Method to raise event HoldEvt.</summary>
public void OnHoldEvt(Efl.Input.IInterfaceHoldEvt_Args e)
{
var key = "_EFL_EVENT_HOLD";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>A focus in event.</summary>
+ /// <value><see cref="Efl.Input.IInterfaceFocusInEvt_Args"/></value>
public event EventHandler<Efl.Input.IInterfaceFocusInEvt_Args> FocusInEvt
{
add
}
}
}
- ///<summary>Method to raise event FocusInEvt.</summary>
+ /// <summary>Method to raise event FocusInEvt.</summary>
public void OnFocusInEvt(Efl.Input.IInterfaceFocusInEvt_Args e)
{
var key = "_EFL_EVENT_FOCUS_IN";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>A focus out event.</summary>
+ /// <value><see cref="Efl.Input.IInterfaceFocusOutEvt_Args"/></value>
public event EventHandler<Efl.Input.IInterfaceFocusOutEvt_Args> FocusOutEvt
{
add
}
}
}
- ///<summary>Method to raise event FocusOutEvt.</summary>
+ /// <summary>Method to raise event FocusOutEvt.</summary>
public void OnFocusOutEvt(Efl.Input.IInterfaceFocusOutEvt_Args e)
{
var key = "_EFL_EVENT_FOCUS_OUT";
IntPtr info = e.arg.NativeHandle;
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
- /// <summary>Check if input events from a given seat is enabled.</summary>
+ /// <summary>Check if input events from a given seat is enabled.
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</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>
public bool GetSeatEventFilter(Efl.Input.Device seat) {
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
- /// <summary>Add or remove a given seat to the filter list. If the filter list is empty this object will report mouse, keyboard and focus events from any seat, otherwise those events will only be reported if the event comes from a seat that is in the list.</summary>
+ /// <summary>Add or remove a given seat to the filter list. If the filter list is empty this object will report mouse, keyboard and focus events from any seat, otherwise those events will only be reported if the event comes from a seat that is in the list.
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <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>
public void SetSeatEventFilter(Efl.Input.Device seat, bool enable) {
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_InputIInterfaceConcrete_ExtensionMethods {
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
[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>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Key(ConstructingHandle ch) : base(ch)
{
}
/// <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>
+ /// <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((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>
+ /// <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((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>
+ /// <summary>Name string of the physical key that produced this event.
+ /// This typically matches what is printed on the key. For example, "1" or "a". Note that both "a" and "A" are obtained with the same physical key, so both events will have the same <see cref="Efl.Input.Key.KeyName"/> "a" but different <see cref="Efl.Input.Key.KeySym"/>.
+ ///
+ /// Commonly used in keyboard remapping menus to uniquely identify a physical key.</summary>
+ /// <returns>Name of the key that produced this event.</returns>
virtual public System.String GetKeyName() {
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>
+ /// <summary>Name string of the physical key that produced this event.
+ /// This typically matches what is printed on the key. For example, "1" or "a". Note that both "a" and "A" are obtained with the same physical key, so both events will have the same <see cref="Efl.Input.Key.KeyName"/> "a" but different <see cref="Efl.Input.Key.KeySym"/>.
+ ///
+ /// Commonly used in keyboard remapping menus to uniquely identify a physical key.</summary>
+ /// <param name="val">Name of the key that produced this event.</param>
virtual public void SetKeyName(System.String 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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ /// <summary>Name of the symbol produced by this key event.
+ /// For example, "a", "A", "1" or "exclam". The same physical key can produce different symbols when combined with other keys like "shift" or "alt gr". For example, "a" and "A" have different <see cref="Efl.Input.Key.KeySym"/> but the same <see cref="Efl.Input.Key.KeyName"/> "a".
+ ///
+ /// This is the field you typically use to uniquely identify a keyboard symbol, in keyboard shortcuts for example.</summary>
+ /// <returns>Symbol name produced by key event.</returns>
+ virtual public System.String GetKeySym() {
+ var _ret_var = Efl.Input.Key.NativeMethods.efl_input_key_sym_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
- /// <summary>Logical key.
- /// 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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),val);
+ /// <summary>Name of the symbol produced by this key event.
+ /// For example, "a", "A", "1" or "exclam". The same physical key can produce different symbols when combined with other keys like "shift" or "alt gr". For example, "a" and "A" have different <see cref="Efl.Input.Key.KeySym"/> but the same <see cref="Efl.Input.Key.KeyName"/> "a".
+ ///
+ /// This is the field you typically use to uniquely identify a keyboard symbol, in keyboard shortcuts for example.</summary>
+ /// <param name="val">Symbol name produced by key event.</param>
+ virtual public void SetKeySym(System.String val) {
+ Efl.Input.Key.NativeMethods.efl_input_key_sym_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>
+ /// <returns>Visible string produced by this key event, in UTF8.</returns>
virtual public System.String GetString() {
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>
+ /// <param name="val">Visible string produced by this key event, in UTF8.</param>
virtual public void SetString(System.String 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>
+ /// Note: This string replaces the previous one.</summary>
+ /// <returns>Composed 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((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 modified a string in the middle of being composed.
- /// Note: This string replaces the previous one</summary>
- /// <param name="val">Composed key string in UTF8</param>
+ /// Note: This string replaces the previous one.</summary>
+ /// <param name="val">Composed string in UTF8.</param>
virtual public void SetComposeString(System.String 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>
+ /// <summary>Keyboard scan code of the physical key that produced this event.
+ /// You typically do not need to use this field, because the system maps scan codes to the more convenient <see cref="Efl.Input.Key.KeyName"/>. Us this in keyboard remapping applications or when trying to use a keyboard unknown to your operating system.</summary>
+ /// <returns>Keyboard scan code.</returns>
virtual public int GetKeyCode() {
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>
+ /// <summary>Keyboard scan code of the physical key that produced this event.
+ /// You typically do not need to use this field, because the system maps scan codes to the more convenient <see cref="Efl.Input.Key.KeyName"/>. Us this in keyboard remapping applications or when trying to use a keyboard unknown to your operating system.</summary>
+ /// <param name="val">Keyboard scan code.</param>
virtual public void SetKeyCode(int 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();
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Indicates whether a key modifier is on, such as Ctrl, Shift, ...
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="mod">The modifier key to test.</param>
/// <param name="seat">The seat device, may be <c>null</c></param>
/// <returns><c>true</c> if the key modifier is pressed.</returns>
return _ret_var;
}
/// <summary>Indicates whether a key lock is on, such as NumLock, CapsLock, ...
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="kw_lock">The lock key to test.</param>
/// <param name="seat">The seat device, may be <c>null</c></param>
/// <returns><c>true</c> if the key lock is on.</returns>
return _ret_var;
}
/// <summary><c>true</c> if the key is down, <c>false</c> if it is released.</summary>
- /// <value><c>true</c> if the key is pressed, <c>false</c> otherwise</value>
+ /// <value><c>true</c> if the key is pressed, <c>false</c> otherwise.</value>
public bool Pressed {
get { return GetPressed(); }
set { SetPressed(value); }
}
- /// <summary>Name string of the key.</summary>
- /// <value>Key name</value>
+ /// <summary>Name string of the physical key that produced this event.
+ /// This typically matches what is printed on the key. For example, "1" or "a". Note that both "a" and "A" are obtained with the same physical key, so both events will have the same <see cref="Efl.Input.Key.KeyName"/> "a" but different <see cref="Efl.Input.Key.KeySym"/>.
+ ///
+ /// Commonly used in keyboard remapping menus to uniquely identify a physical key.</summary>
+ /// <value>Name of the key that produced this event.</value>
public System.String KeyName {
get { return GetKeyName(); }
set { SetKeyName(value); }
}
+ /// <summary>Name of the symbol produced by this key event.
+ /// For example, "a", "A", "1" or "exclam". The same physical key can produce different symbols when combined with other keys like "shift" or "alt gr". For example, "a" and "A" have different <see cref="Efl.Input.Key.KeySym"/> but the same <see cref="Efl.Input.Key.KeyName"/> "a".
+ ///
+ /// This is the field you typically use to uniquely identify a keyboard symbol, in keyboard shortcuts for example.</summary>
+ /// <value>Symbol name produced by key event.</value>
+ public System.String KeySym {
+ get { return GetKeySym(); }
+ set { SetKeySym(value); }
+ }
/// <summary>A UTF8 string if this keystroke has produced a visible string to be added.</summary>
- /// <value>Visible string from key press in UTF8</value>
+ /// <value>Visible string produced by this key event, in UTF8.</value>
public System.String String {
get { return GetString(); }
set { SetString(value); }
}
/// <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>
- /// <value>Composed key string in UTF8</value>
+ /// Note: This string replaces the previous one.</summary>
+ /// <value>Composed string in UTF8.</value>
public System.String ComposeString {
get { return GetComposeString(); }
set { SetComposeString(value); }
}
- /// <summary>Key scan code numeric value.</summary>
- /// <value>Key scan code</value>
+ /// <summary>Keyboard scan code of the physical key that produced this event.
+ /// You typically do not need to use this field, because the system maps scan codes to the more convenient <see cref="Efl.Input.Key.KeyName"/>. Us this in keyboard remapping applications or when trying to use a keyboard unknown to your operating system.</summary>
+ /// <value>Keyboard scan code.</value>
public int KeyCode {
get { return GetKeyCode(); }
set { SetKeyCode(value); }
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_key_name_set"), func = Marshal.GetFunctionPointerForDelegate(efl_input_key_name_set_static_delegate) });
}
- if (efl_input_key_get_static_delegate == null)
+ if (efl_input_key_sym_get_static_delegate == null)
{
- efl_input_key_get_static_delegate = new efl_input_key_get_delegate(key_get);
+ efl_input_key_sym_get_static_delegate = new efl_input_key_sym_get_delegate(key_sym_get);
}
- if (methods.FirstOrDefault(m => m.Name == "GetKey") != null)
+ if (methods.FirstOrDefault(m => m.Name == "GetKeySym") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_key_get"), func = Marshal.GetFunctionPointerForDelegate(efl_input_key_get_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_key_sym_get"), func = Marshal.GetFunctionPointerForDelegate(efl_input_key_sym_get_static_delegate) });
}
- if (efl_input_key_set_static_delegate == null)
+ if (efl_input_key_sym_set_static_delegate == null)
{
- efl_input_key_set_static_delegate = new efl_input_key_set_delegate(key_set);
+ efl_input_key_sym_set_static_delegate = new efl_input_key_sym_set_delegate(key_sym_set);
}
- if (methods.FirstOrDefault(m => m.Name == "SetKey") != null)
+ if (methods.FirstOrDefault(m => m.Name == "SetKeySym") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_key_set"), func = Marshal.GetFunctionPointerForDelegate(efl_input_key_set_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_key_sym_set"), func = Marshal.GetFunctionPointerForDelegate(efl_input_key_sym_set_static_delegate) });
}
if (efl_input_key_string_get_static_delegate == null)
private static efl_input_key_name_set_delegate efl_input_key_name_set_static_delegate;
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
- private delegate System.String efl_input_key_get_delegate(System.IntPtr obj, System.IntPtr pd);
+ private delegate System.String efl_input_key_sym_get_delegate(System.IntPtr obj, System.IntPtr pd);
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
- public delegate System.String efl_input_key_get_api_delegate(System.IntPtr obj);
+ public delegate System.String efl_input_key_sym_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<efl_input_key_get_api_delegate> efl_input_key_get_ptr = new Efl.Eo.FunctionWrapper<efl_input_key_get_api_delegate>(Module, "efl_input_key_get");
+ public static Efl.Eo.FunctionWrapper<efl_input_key_sym_get_api_delegate> efl_input_key_sym_get_ptr = new Efl.Eo.FunctionWrapper<efl_input_key_sym_get_api_delegate>(Module, "efl_input_key_sym_get");
- private static System.String key_get(System.IntPtr obj, System.IntPtr pd)
+ private static System.String key_sym_get(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function efl_input_key_get was called");
+ Eina.Log.Debug("function efl_input_key_sym_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
System.String _ret_var = default(System.String);
try
{
- _ret_var = ((Key)ws.Target).GetKey();
+ _ret_var = ((Key)ws.Target).GetKeySym();
}
catch (Exception e)
{
}
else
{
- return efl_input_key_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ return efl_input_key_sym_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
- private static efl_input_key_get_delegate efl_input_key_get_static_delegate;
+ private static efl_input_key_sym_get_delegate efl_input_key_sym_get_static_delegate;
- private delegate void efl_input_key_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String val);
+ private delegate void efl_input_key_sym_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String val);
- public delegate void efl_input_key_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String val);
+ public delegate void efl_input_key_sym_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String val);
- public static Efl.Eo.FunctionWrapper<efl_input_key_set_api_delegate> efl_input_key_set_ptr = new Efl.Eo.FunctionWrapper<efl_input_key_set_api_delegate>(Module, "efl_input_key_set");
+ public static Efl.Eo.FunctionWrapper<efl_input_key_sym_set_api_delegate> efl_input_key_sym_set_ptr = new Efl.Eo.FunctionWrapper<efl_input_key_sym_set_api_delegate>(Module, "efl_input_key_sym_set");
- private static void key_set(System.IntPtr obj, System.IntPtr pd, System.String val)
+ private static void key_sym_set(System.IntPtr obj, System.IntPtr pd, System.String val)
{
- Eina.Log.Debug("function efl_input_key_set was called");
+ Eina.Log.Debug("function efl_input_key_sym_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
- ((Key)ws.Target).SetKey(val);
+ ((Key)ws.Target).SetKeySym(val);
}
catch (Exception e)
{
}
else
{
- efl_input_key_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), val);
+ efl_input_key_sym_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), val);
}
}
- private static efl_input_key_set_delegate efl_input_key_set_static_delegate;
+ private static efl_input_key_sym_set_delegate efl_input_key_sym_set_static_delegate;
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
private delegate System.String efl_input_key_string_get_delegate(System.IntPtr obj, System.IntPtr pd);
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_InputKey_ExtensionMethods {
+ public static Efl.BindableProperty<bool> Pressed<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Key, T>magic = null) where T : Efl.Input.Key {
+ return new Efl.BindableProperty<bool>("pressed", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> KeyName<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Key, T>magic = null) where T : Efl.Input.Key {
+ return new Efl.BindableProperty<System.String>("key_name", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> KeySym<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Key, T>magic = null) where T : Efl.Input.Key {
+ return new Efl.BindableProperty<System.String>("key_sym", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> String<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Key, T>magic = null) where T : Efl.Input.Key {
+ return new Efl.BindableProperty<System.String>("string", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> ComposeString<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Key, T>magic = null) where T : Efl.Input.Key {
+ return new Efl.BindableProperty<System.String>("compose_string", fac);
+ }
+
+ public static Efl.BindableProperty<int> KeyCode<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Key, T>magic = null) where T : Efl.Input.Key {
+ return new Efl.BindableProperty<int>("key_code", fac);
+ }
+
+ public static Efl.BindableProperty<double> Timestamp<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Key, T>magic = null) where T : Efl.Input.Key {
+ return new Efl.BindableProperty<double>("timestamp", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Input.Device> Device<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Key, T>magic = null) where T : Efl.Input.Key {
+ return new Efl.BindableProperty<Efl.Input.Device>("device", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Input.Flags> EventFlags<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Key, T>magic = null) where T : Efl.Input.Key {
+ return new Efl.BindableProperty<Efl.Input.Flags>("event_flags", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Processed<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Key, T>magic = null) where T : Efl.Input.Key {
+ return new Efl.BindableProperty<bool>("processed", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Scrolling<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Key, T>magic = null) where T : Efl.Input.Key {
+ return new Efl.BindableProperty<bool>("scrolling", fac);
+ }
+
+
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
[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>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Pointer(ConstructingHandle ch) : base(ch)
{
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>
+ /// <summary><c>true</c> if this event carries a valid value for the specified <c>key</c>.
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</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) {
/// <summary>Represents a generic value for this event.
/// Refer to the documentation of <see cref="Efl.Input.Value"/> for each value's meaning, type and range. Call <see cref="Efl.Input.Pointer.GetValueHas"/> to determine whether the returned value is valid or not for this event.
///
- /// Most values are precise floating point values, usually in pixels, radians, or in a range of [-1, 1] or [0, 1]. Some values are discrete values (integers) and thus should preferably be queried with the other methods of this class.</summary>
+ /// Most values are precise floating point values, usually in pixels, radians, or in a range of [-1, 1] or [0, 1]. Some values are discrete values (integers) and thus should preferably be queried with the other methods of this class.
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="key"><c>key</c></param>
/// <returns><c>key</c> value</returns>
virtual public double GetValue(Efl.Input.Value key) {
/// <summary>Represents a generic value for this event.
/// Refer to the documentation of <see cref="Efl.Input.Value"/> for each value's meaning, type and range. Call <see cref="Efl.Input.Pointer.GetValueHas"/> to determine whether the returned value is valid or not for this event.
///
- /// Most values are precise floating point values, usually in pixels, radians, or in a range of [-1, 1] or [0, 1]. Some values are discrete values (integers) and thus should preferably be queried with the other methods of this class.</summary>
+ /// Most values are precise floating point values, usually in pixels, radians, or in a range of [-1, 1] or [0, 1]. Some values are discrete values (integers) and thus should preferably be queried with the other methods of this class.
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="key"><c>key</c></param>
/// <param name="val"><c>key</c> value</param>
/// <returns><c>false</c> if the value could not be set (eg. delta).</returns>
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Indicates whether a key modifier is on, such as Ctrl, Shift, ...
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="mod">The modifier key to test.</param>
/// <param name="seat">The seat device, may be <c>null</c></param>
/// <returns><c>true</c> if the key modifier is pressed.</returns>
return _ret_var;
}
/// <summary>Indicates whether a key lock is on, such as NumLock, CapsLock, ...
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="kw_lock">The lock key to test.</param>
/// <param name="seat">The seat device, may be <c>null</c></param>
/// <returns><c>true</c> if the key lock is on.</returns>
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_InputPointer_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Pointer.Action> Action<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Pointer, T>magic = null) where T : Efl.Input.Pointer {
+ return new Efl.BindableProperty<Efl.Pointer.Action>("action", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<int> Button<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Pointer, T>magic = null) where T : Efl.Input.Pointer {
+ return new Efl.BindableProperty<int>("button", fac);
+ }
+
+
+ public static Efl.BindableProperty<Eina.Position2D> Position<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Pointer, T>magic = null) where T : Efl.Input.Pointer {
+ return new Efl.BindableProperty<Eina.Position2D>("position", fac);
+ }
+
+ public static Efl.BindableProperty<Eina.Vector2> PrecisePosition<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Pointer, T>magic = null) where T : Efl.Input.Pointer {
+ return new Efl.BindableProperty<Eina.Vector2>("precise_position", fac);
+ }
+
+ public static Efl.BindableProperty<Eina.Position2D> PreviousPosition<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Pointer, T>magic = null) where T : Efl.Input.Pointer {
+ return new Efl.BindableProperty<Eina.Position2D>("previous_position", fac);
+ }
+
+ public static Efl.BindableProperty<int> TouchId<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Pointer, T>magic = null) where T : Efl.Input.Pointer {
+ return new Efl.BindableProperty<int>("touch_id", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Object> Source<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Pointer, T>magic = null) where T : Efl.Input.Pointer {
+ return new Efl.BindableProperty<Efl.Object>("source", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Pointer.Flags> ButtonFlags<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Pointer, T>magic = null) where T : Efl.Input.Pointer {
+ return new Efl.BindableProperty<Efl.Pointer.Flags>("button_flags", fac);
+ }
+
+ public static Efl.BindableProperty<bool> DoubleClick<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Pointer, T>magic = null) where T : Efl.Input.Pointer {
+ return new Efl.BindableProperty<bool>("double_click", fac);
+ }
+
+ public static Efl.BindableProperty<bool> TripleClick<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Pointer, T>magic = null) where T : Efl.Input.Pointer {
+ return new Efl.BindableProperty<bool>("triple_click", fac);
+ }
+
+ public static Efl.BindableProperty<bool> WheelHorizontal<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Pointer, T>magic = null) where T : Efl.Input.Pointer {
+ return new Efl.BindableProperty<bool>("wheel_horizontal", fac);
+ }
+
+ public static Efl.BindableProperty<int> WheelDelta<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Pointer, T>magic = null) where T : Efl.Input.Pointer {
+ return new Efl.BindableProperty<int>("wheel_delta", fac);
+ }
+
+ public static Efl.BindableProperty<double> Timestamp<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Pointer, T>magic = null) where T : Efl.Input.Pointer {
+ return new Efl.BindableProperty<double>("timestamp", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Input.Device> Device<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Pointer, T>magic = null) where T : Efl.Input.Pointer {
+ return new Efl.BindableProperty<Efl.Input.Device>("device", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Input.Flags> EventFlags<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Pointer, T>magic = null) where T : Efl.Input.Pointer {
+ return new Efl.BindableProperty<Efl.Input.Flags>("event_flags", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Processed<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Pointer, T>magic = null) where T : Efl.Input.Pointer {
+ return new Efl.BindableProperty<bool>("processed", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Scrolling<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Pointer, T>magic = null) where T : Efl.Input.Pointer {
+ return new Efl.BindableProperty<bool>("scrolling", fac);
+ }
+
+
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
Efl.Eo.IWrapper, IDisposable
{
/// <summary>Indicates whether a key modifier is on, such as Ctrl, Shift, ...
-/// (Since EFL 1.22)</summary>
+/// (Since EFL 1.22)
+///
+/// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="mod">The modifier key to test.</param>
/// <param name="seat">The seat device, may be <c>null</c></param>
/// <returns><c>true</c> if the key modifier is pressed.</returns>
bool GetModifierEnabled(Efl.Input.Modifier mod, Efl.Input.Device seat);
/// <summary>Indicates whether a key lock is on, such as NumLock, CapsLock, ...
-/// (Since EFL 1.22)</summary>
+/// (Since EFL 1.22)
+///
+/// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="kw_lock">The lock key to test.</param>
/// <param name="seat">The seat device, may be <c>null</c></param>
/// <returns><c>true</c> if the key lock is on.</returns>
}
/// <summary>Efl input state interface.
/// (Since EFL 1.22)</summary>
-sealed public class IStateConcrete :
+sealed public class IStateConcrete :
Efl.Eo.EoWrapper
, IState
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IStateConcrete(ConstructingHandle ch) : base(ch)
{
}
/// <summary>Indicates whether a key modifier is on, such as Ctrl, Shift, ...
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="mod">The modifier key to test.</param>
/// <param name="seat">The seat device, may be <c>null</c></param>
/// <returns><c>true</c> if the key modifier is pressed.</returns>
return _ret_var;
}
/// <summary>Indicates whether a key lock is on, such as NumLock, CapsLock, ...
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="kw_lock">The lock key to test.</param>
/// <param name="seat">The seat device, may be <c>null</c></param>
/// <returns><c>true</c> if the key lock is on.</returns>
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_InputIStateConcrete_ExtensionMethods {
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Efl {
/// <summary>Efl interpolator interface</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.IInterpolatorConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IInterpolator :
double Interpolate(double progress);
}
/// <summary>Efl interpolator interface</summary>
-sealed public class IInterpolatorConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IInterpolatorConcrete :
Efl.Eo.EoWrapper
, IInterpolator
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IInterpolatorConcrete(ConstructingHandle ch) : base(ch)
{
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflIInterpolatorConcrete_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// (Since EFL 1.22)</summary>
/// <value><c>true</c> if closed, <c>false</c> otherwise</value>
bool Closed {
- get ;
+ get;
}
/// <summary>If true will automatically close resources on exec() calls.
/// When using file descriptors this should set FD_CLOEXEC so they are not inherited by the processes (children or self) doing exec().
/// (Since EFL 1.22)</summary>
/// <value><c>true</c> if close on exec(), <c>false</c> otherwise</value>
bool CloseOnExec {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>If true will automatically close() on object invalidate.
/// If the object was disconnected from its parent (including the main loop) without close, this property will state whenever it should be closed or not.
/// (Since EFL 1.22)</summary>
/// <value><c>true</c> if close on invalidate, <c>false</c> otherwise</value>
bool CloseOnInvalidate {
- get ;
- set ;
+ get;
+ set;
}
}
/// <summary>Generic interface for objects that can close themselves.
///
/// 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>
-sealed public class ICloserConcrete :
+sealed public class ICloserConcrete :
Efl.Eo.EoWrapper
, ICloser
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private ICloserConcrete(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event ClosedEvt.</summary>
+ /// <summary>Method to raise event ClosedEvt.</summary>
public void OnClosedEvt(EventArgs e)
{
var key = "_EFL_IO_CLOSER_EVENT_CLOSED";
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_IoICloserConcrete_ExtensionMethods {
+
+ public static Efl.BindableProperty<bool> CloseOnExec<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Io.ICloser, T>magic = null) where T : Efl.Io.ICloser {
+ return new Efl.BindableProperty<bool>("close_on_exec", fac);
+ }
+
+ public static Efl.BindableProperty<bool> CloseOnInvalidate<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Io.ICloser, T>magic = null) where T : Efl.Io.ICloser {
+ return new Efl.BindableProperty<bool>("close_on_invalidate", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Io {
/// <summary>Generic interface for objects that can change or report position.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Io.IPositionerConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IPositioner :
/// <summary>Position property</summary>
/// <value>Position in file or buffer</value>
ulong Position {
- get ;
- set ;
+ get;
+ set;
}
}
/// <summary>Generic interface for objects that can change or report position.</summary>
-sealed public class IPositionerConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IPositionerConcrete :
Efl.Eo.EoWrapper
, IPositioner
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IPositionerConcrete(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event PositionChangedEvt.</summary>
+ /// <summary>Method to raise event PositionChangedEvt.</summary>
public void OnPositionChangedEvt(EventArgs e)
{
var key = "_EFL_IO_POSITIONER_EVENT_POSITION_CHANGED";
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_IoIPositionerConcrete_ExtensionMethods {
+ public static Efl.BindableProperty<ulong> Position<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Io.IPositioner, T>magic = null) where T : Efl.Io.IPositioner {
+ return new Efl.BindableProperty<ulong>("position", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
namespace Efl {
namespace Io {
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
///
/// Note that usually this event is dispatched from inside <see cref="Efl.Io.IReader.Read"/>, thus before it returns.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Io.IReaderCanReadChangedEvt_Args"/></value>
event EventHandler<Efl.Io.IReaderCanReadChangedEvt_Args> CanReadChangedEvt;
/// <summary>Notifies end of stream, when property is marked as true.
/// If this is used alongside with an <see cref="Efl.Io.ICloser"/>, then it should be emitted before that call.
/// (Since EFL 1.22)</summary>
/// <value><c>true</c> if it can be read without blocking or failing, <c>false</c> otherwise</value>
bool CanRead {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>If <c>true</c> will notify end of stream.
/// (Since EFL 1.22)</summary>
/// <value><c>true</c> if end of stream, <c>false</c> otherwise</value>
bool Eos {
- get ;
- set ;
+ get;
+ set;
}
}
-///<summary>Event argument wrapper for event <see cref="Efl.Io.IReader.CanReadChangedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Notifies can_read property changed.</value>
public bool arg { get; set; }
}
/// <summary>Generic interface for objects that can read data into a provided memory.
///
/// 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>
-sealed public class IReaderConcrete :
+sealed public class IReaderConcrete :
Efl.Eo.EoWrapper
, IReader
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IReaderConcrete(ConstructingHandle ch) : base(ch)
{
///
/// Note that usually this event is dispatched from inside <see cref="Efl.Io.IReader.Read"/>, thus before it returns.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Io.IReaderCanReadChangedEvt_Args"/></value>
public event EventHandler<Efl.Io.IReaderCanReadChangedEvt_Args> CanReadChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event CanReadChangedEvt.</summary>
+ /// <summary>Method to raise event CanReadChangedEvt.</summary>
public void OnCanReadChangedEvt(Efl.Io.IReaderCanReadChangedEvt_Args e)
{
var key = "_EFL_IO_READER_EVENT_CAN_READ_CHANGED";
}
}
}
- ///<summary>Method to raise event EosEvt.</summary>
+ /// <summary>Method to raise event EosEvt.</summary>
public void OnEosEvt(EventArgs e)
{
var key = "_EFL_IO_READER_EVENT_EOS";
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_IoIReaderConcrete_ExtensionMethods {
+ public static Efl.BindableProperty<bool> CanRead<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Io.IReader, T>magic = null) where T : Efl.Io.IReader {
+ return new Efl.BindableProperty<bool>("can_read", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Eos<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Io.IReader, T>magic = null) where T : Efl.Io.IReader {
+ return new Efl.BindableProperty<bool>("eos", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
///
/// Note that usually this event is dispatched from inside <see cref="Efl.Io.IWriter.Write"/>, thus before it returns.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Io.IWriterCanWriteChangedEvt_Args"/></value>
event EventHandler<Efl.Io.IWriterCanWriteChangedEvt_Args> CanWriteChangedEvt;
/// <summary>If <c>true</c> will notify <see cref="Efl.Io.IWriter.Write"/> can be called without blocking or failing.
/// (Since EFL 1.22)</summary>
/// <value><c>true</c> if it can be written without blocking or failure, <c>false</c> otherwise</value>
bool CanWrite {
- get ;
- set ;
+ get;
+ set;
}
}
-///<summary>Event argument wrapper for event <see cref="Efl.Io.IWriter.CanWriteChangedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Notifies can_write property changed.</value>
public bool arg { get; set; }
}
/// <summary>Generic interface for objects that can write data from a provided memory.
///
/// 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>
-sealed public class IWriterConcrete :
+sealed public class IWriterConcrete :
Efl.Eo.EoWrapper
, IWriter
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IWriterConcrete(ConstructingHandle ch) : base(ch)
{
///
/// Note that usually this event is dispatched from inside <see cref="Efl.Io.IWriter.Write"/>, thus before it returns.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Io.IWriterCanWriteChangedEvt_Args"/></value>
public event EventHandler<Efl.Io.IWriterCanWriteChangedEvt_Args> CanWriteChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event CanWriteChangedEvt.</summary>
+ /// <summary>Method to raise event CanWriteChangedEvt.</summary>
public void OnCanWriteChangedEvt(Efl.Io.IWriterCanWriteChangedEvt_Args e)
{
var key = "_EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED";
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_IoIWriterConcrete_ExtensionMethods {
+ public static Efl.BindableProperty<bool> CanWrite<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Io.IWriter, T>magic = null) where T : Efl.Io.IWriter {
+ return new Efl.BindableProperty<bool>("can_write", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
event EventHandler RecalcEvt;
/// <summary>A circular dependency between parts of the object was found.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Layout.ICalcCircularDependencyEvt_Args"/></value>
event EventHandler<Efl.Layout.ICalcCircularDependencyEvt_Args> CircularDependencyEvt;
/// <summary>Whether this object updates its size hints automatically.
/// By default edje doesn't set size hints on itself. If this property is set to <c>true</c>, size hints will be updated after recalculation. Be careful, as recalculation may happen often, enabling this property may have a considerable performance impact as other widgets will be notified of the size hints changes.
/// (Since EFL 1.22)</summary>
/// <value>Whether or not update the size hints.</value>
bool CalcAutoUpdateHints {
- get ;
- set ;
+ get;
+ set;
}
}
-///<summary>Event argument wrapper for event <see cref="Efl.Layout.ICalc.CircularDependencyEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>A circular dependency between parts of the object was found.</value>
public Eina.Array<System.String> arg { get; set; }
}
/// <summary>This interface defines a common set of APIs used to trigger calculations with layout objects.
/// This defines all the APIs supported by legacy "Edje" object, known in EO API as Efl.Canvas.Layout.
/// (Since EFL 1.22)</summary>
-sealed public class ICalcConcrete :
+sealed public class ICalcConcrete :
Efl.Eo.EoWrapper
, ICalc
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private ICalcConcrete(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event RecalcEvt.</summary>
+ /// <summary>Method to raise event RecalcEvt.</summary>
public void OnRecalcEvt(EventArgs e)
{
var key = "_EFL_LAYOUT_EVENT_RECALC";
}
/// <summary>A circular dependency between parts of the object was found.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Layout.ICalcCircularDependencyEvt_Args"/></value>
public event EventHandler<Efl.Layout.ICalcCircularDependencyEvt_Args> CircularDependencyEvt
{
add
}
}
}
- ///<summary>Method to raise event CircularDependencyEvt.</summary>
+ /// <summary>Method to raise event CircularDependencyEvt.</summary>
public void OnCircularDependencyEvt(Efl.Layout.ICalcCircularDependencyEvt_Args e)
{
var key = "_EFL_LAYOUT_EVENT_CIRCULAR_DEPENDENCY";
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_LayoutICalcConcrete_ExtensionMethods {
+ public static Efl.BindableProperty<bool> CalcAutoUpdateHints<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Layout.ICalc, T>magic = null) where T : Efl.Layout.ICalc {
+ return new Efl.BindableProperty<bool>("calc_auto_update_hints", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// (Since EFL 1.22)</summary>
/// <value>The minimum size as set in EDC.</value>
Eina.Size2D GroupSizeMin {
- get ;
+ get;
}
/// <summary>Gets the maximum size specified -- as an EDC property -- for a given Edje object
/// This function retrieves the object's maximum size values, as declared in its EDC group definition. For instance, for an Edje object of maximum size 100x100 pixels: collections { group { name: "a_group"; max: 100 100; } }
/// (Since EFL 1.22)</summary>
/// <value>The maximum size as set in EDC.</value>
Eina.Size2D GroupSizeMax {
- get ;
+ get;
}
}
/// <summary>APIs representing static data from a group in an edje file.
/// (Since EFL 1.22)</summary>
-sealed public class IGroupConcrete :
+sealed public class IGroupConcrete :
Efl.Eo.EoWrapper
, IGroup
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IGroupConcrete(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_LayoutIGroupConcrete_ExtensionMethods {
+
+
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
///
/// Though there are those common uses for the two strings, one is free to use them however they like.
///
-/// Signal callback registration is powerful, in the way that blobs may be used to match multiple signals at once. All the "*?[" set of <c>fnmatch</c>() operators can be used, both for emission and source.
+/// Signal callback registration is powerful, in the way that blobs may be used to match multiple signals at once. All the "*?[" set of <c>fnmatch</c>() operators can be used, both for emission and source.
///
/// Edje has internal signals it will emit, automatically, on various actions taking place on group parts. For example, the mouse cursor being moved, pressed, released, etc., over a given part's area, all generate individual signals.
///
}
/// <summary>Layouts asynchronous messaging and signaling interface.
/// (Since EFL 1.22)</summary>
-sealed public class ISignalConcrete :
+sealed public class ISignalConcrete :
Efl.Eo.EoWrapper
, ISignal
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private ISignalConcrete(ConstructingHandle ch) : base(ch)
{
///
/// Though there are those common uses for the two strings, one is free to use them however they like.
///
- /// Signal callback registration is powerful, in the way that blobs may be used to match multiple signals at once. All the "*?[" set of <c>fnmatch</c>() operators can be used, both for emission and source.
+ /// Signal callback registration is powerful, in the way that blobs may be used to match multiple signals at once. All the "*?[" set of <c>fnmatch</c>() operators can be used, both for emission and source.
///
/// Edje has internal signals it will emit, automatically, on various actions taking place on group parts. For example, the mouse cursor being moved, pressed, released, etc., over a given part's area, all generate individual signals.
///
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_LayoutISignalConcrete_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Efl {
/// <summary>Efl linear interpolator class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.LinearInterpolator.NativeMethods]
[Efl.Eo.BindingEntity]
public class LinearInterpolator : Efl.Object, Efl.IInterpolator
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected LinearInterpolator(ConstructingHandle ch) : base(ch)
{
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflLinearInterpolator_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
using System.ComponentModel;
namespace Efl {
-///<summary>Event argument wrapper for event <see cref="Efl.Loop.ArgumentsEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Event happens when args are provided to the loop by args_add().</value>
public Efl.LoopArguments arg { get; set; }
}
/// <summary>The Efl Main Loop
[Efl.Eo.BindingEntity]
public abstract class Loop : Efl.Task
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Loop(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event IdleEnterEvt.</summary>
+ /// <summary>Method to raise event IdleEnterEvt.</summary>
public void OnIdleEnterEvt(EventArgs e)
{
var key = "_EFL_LOOP_EVENT_IDLE_ENTER";
}
}
}
- ///<summary>Method to raise event IdleExitEvt.</summary>
+ /// <summary>Method to raise event IdleExitEvt.</summary>
public void OnIdleExitEvt(EventArgs e)
{
var key = "_EFL_LOOP_EVENT_IDLE_EXIT";
}
}
}
- ///<summary>Method to raise event IdleEvt.</summary>
+ /// <summary>Method to raise event IdleEvt.</summary>
public void OnIdleEvt(EventArgs e)
{
var key = "_EFL_LOOP_EVENT_IDLE";
}
/// <summary>Event happens when args are provided to the loop by args_add().
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.LoopArgumentsEvt_Args"/></value>
public event EventHandler<Efl.LoopArgumentsEvt_Args> ArgumentsEvt
{
add
}
}
}
- ///<summary>Method to raise event ArgumentsEvt.</summary>
+ /// <summary>Method to raise event ArgumentsEvt.</summary>
public void OnArgumentsEvt(Efl.LoopArgumentsEvt_Args e)
{
var key = "_EFL_LOOP_EVENT_ARGUMENTS";
}
}
}
- ///<summary>Method to raise event PollHighEvt.</summary>
+ /// <summary>Method to raise event PollHighEvt.</summary>
public void OnPollHighEvt(EventArgs e)
{
var key = "_EFL_LOOP_EVENT_POLL_HIGH";
}
}
}
- ///<summary>Method to raise event PollMediumEvt.</summary>
+ /// <summary>Method to raise event PollMediumEvt.</summary>
public void OnPollMediumEvt(EventArgs e)
{
var key = "_EFL_LOOP_EVENT_POLL_MEDIUM";
}
}
}
- ///<summary>Method to raise event PollLowEvt.</summary>
+ /// <summary>Method to raise event PollLowEvt.</summary>
public void OnPollLowEvt(EventArgs e)
{
var key = "_EFL_LOOP_EVENT_POLL_LOW";
}
}
}
- ///<summary>Method to raise event QuitEvt.</summary>
+ /// <summary>Method to raise event QuitEvt.</summary>
public void OnQuitEvt(EventArgs e)
{
var key = "_EFL_LOOP_EVENT_QUIT";
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
- /// <summary>Will register a manager of a specific class to be answered by eo.provider_find.
- /// (Since EFL 1.22)</summary>
- /// <param name="klass">The class provided by the registered provider.</param>
- /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),klass, provider);
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Will unregister a manager of a specific class that was previously registered and answered by eo.provider_find.
- /// (Since EFL 1.22)</summary>
- /// <param name="klass">The class provided by the provider to unregister for.</param>
- /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),klass, provider);
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
/// <summary>Async wrapper for <see cref="Job" />.</summary>
/// <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>
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_loop_timeout"), func = Marshal.GetFunctionPointerForDelegate(efl_loop_timeout_static_delegate) });
}
- if (efl_loop_register_static_delegate == null)
- {
- efl_loop_register_static_delegate = new efl_loop_register_delegate(register);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "Register") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_loop_register"), func = Marshal.GetFunctionPointerForDelegate(efl_loop_register_static_delegate) });
- }
-
- if (efl_loop_unregister_static_delegate == null)
- {
- efl_loop_unregister_static_delegate = new efl_loop_unregister_delegate(unregister);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "Unregister") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_loop_unregister"), func = Marshal.GetFunctionPointerForDelegate(efl_loop_unregister_static_delegate) });
- }
-
descs.AddRange(base.GetEoOps(type));
return descs;
}
private static efl_loop_timeout_delegate efl_loop_timeout_static_delegate;
- [return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_loop_register_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEflClass))] Type klass, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Object provider);
-
- [return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_loop_register_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEflClass))] Type klass, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Object provider);
-
- public static Efl.Eo.FunctionWrapper<efl_loop_register_api_delegate> efl_loop_register_ptr = new Efl.Eo.FunctionWrapper<efl_loop_register_api_delegate>(Module, "efl_loop_register");
-
- private static bool register(System.IntPtr obj, System.IntPtr pd, Type klass, Efl.Object provider)
- {
- Eina.Log.Debug("function efl_loop_register was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- bool _ret_var = default(bool);
- try
- {
- _ret_var = ((Loop)ws.Target).Register(klass, provider);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_loop_register_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), klass, provider);
- }
- }
-
- private static efl_loop_register_delegate efl_loop_register_static_delegate;
-
- [return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_loop_unregister_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEflClass))] Type klass, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Object provider);
-
- [return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_loop_unregister_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEflClass))] Type klass, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Object provider);
-
- public static Efl.Eo.FunctionWrapper<efl_loop_unregister_api_delegate> efl_loop_unregister_ptr = new Efl.Eo.FunctionWrapper<efl_loop_unregister_api_delegate>(Module, "efl_loop_unregister");
-
- private static bool unregister(System.IntPtr obj, System.IntPtr pd, Type klass, Efl.Object provider)
- {
- Eina.Log.Debug("function efl_loop_unregister was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- bool _ret_var = default(bool);
- try
- {
- _ret_var = ((Loop)ws.Target).Unregister(klass, provider);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_loop_unregister_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), klass, provider);
- }
- }
-
- private static efl_loop_unregister_delegate efl_loop_unregister_static_delegate;
-
#pragma warning restore CA1707, CS1591, SA1300, SA1600
}
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflLoop_ExtensionMethods {
+ public static Efl.BindableProperty<double> Throttle<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Loop, T>magic = null) where T : Efl.Loop {
+ return new Efl.BindableProperty<double>("throttle", fac);
+ }
+
+ public static Efl.BindableProperty<double> Time<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Loop, T>magic = null) where T : Efl.Loop {
+ return new Efl.BindableProperty<double>("time", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
namespace Efl {
/// <summary>EFL loop arguments data structure
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>
+ /// <summary>Constructor for LoopArguments.</summary>
+ /// <param name="Argv">Array with loop arguments</param>;
+ /// <param name="Initialization">Set to <c>true</c> when the program should initialize its internal state. This happen once per process instance.</param>;
public LoopArguments(
Eina.Array<Eina.Stringshare> Argv = default(Eina.Array<Eina.Stringshare>),
bool Initialization = default(bool) )
this.Initialization = Initialization;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 LoopArguments(IntPtr ptr)
{
var tmp = (LoopArguments.NativeStruct)Marshal.PtrToStructure(ptr, typeof(LoopArguments.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct LoopArguments.</summary>
+ /// <summary>Internal wrapper for struct LoopArguments.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
public System.IntPtr Argv;
- ///<summary>Internal wrapper for field Initialization</summary>
+ /// <summary>Internal wrapper for field Initialization</summary>
public System.Byte Initialization;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator LoopArguments.NativeStruct(LoopArguments _external_struct)
{
var _internal_struct = new LoopArguments.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator LoopArguments(LoopArguments.NativeStruct _internal_struct)
{
var _external_struct = new LoopArguments();
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
[Efl.Eo.BindingEntity]
public abstract class LoopConsumer : Efl.Object
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected LoopConsumer(ConstructingHandle ch) : base(ch)
{
/// This is a helper that behaves the same as eina_future_resolved.
/// (Since EFL 1.22)</summary>
/// <param name="result">The value to be delivered.
- /// Note that the value contents must survive this function scope, that is, do not use stack allocated blobs, arrays, structures or types that keep references to memory you give. Values will be automatically cleaned up using @ref eina_value_flush() once they are unused (no more future or futures returned a new value)</param>
+ /// Note that the value contents must survive this function scope, that is, do not use stack allocated blobs, arrays, structures or types that keep references to memory you give. Values will be automatically cleaned up using ref eina_value_flush() once they are unused (no more future or futures returned a new value)</param>
/// <returns>The future or <c>NULL</c> on error.</returns>
virtual public Eina.Future FutureResolved(Eina.Value result) {
var _in_result = result.GetNative();
/// <summary>Creates a new future that is already rejected to a specified error using the <see cref="Efl.LoopConsumer.GetLoop"/>.
/// This function creates a new future with an already known error, that will be resolved and dispatched by the loop scheduler as usual.
///
- /// This is a helper that behaves the same as @ref eina_future_rejected.
+ /// This is a helper that behaves the same as ref eina_future_rejected.
/// (Since EFL 1.22)</summary>
/// <param name="error">An Eina_Error value</param>
/// <returns>The future or <c>NULL</c> on error.</returns>
}
/// <summary>Async wrapper for <see cref="FutureResolved" />.</summary>
/// <param name="result">The value to be delivered.
- /// Note that the value contents must survive this function scope, that is, do not use stack allocated blobs, arrays, structures or types that keep references to memory you give. Values will be automatically cleaned up using @ref eina_value_flush() once they are unused (no more future or futures returned a new value)</param>
+ /// Note that the value contents must survive this function scope, that is, do not use stack allocated blobs, arrays, structures or types that keep references to memory you give. Values will be automatically cleaned up using ref eina_value_flush() once they are unused (no more future or futures returned a new value)</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> FutureResolvedAsync(Eina.Value result, System.Threading.CancellationToken token = default(System.Threading.CancellationToken))
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflLoopConsumer_ExtensionMethods {
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.LoopFd.NativeMethods]
[Efl.Eo.BindingEntity]
public class LoopFd : Efl.LoopConsumer
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected LoopFd(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event ReadEvt.</summary>
+ /// <summary>Method to raise event ReadEvt.</summary>
public void OnReadEvt(EventArgs e)
{
var key = "_EFL_LOOP_FD_EVENT_READ";
}
}
}
- ///<summary>Method to raise event WriteEvt.</summary>
+ /// <summary>Method to raise event WriteEvt.</summary>
public void OnWriteEvt(EventArgs e)
{
var key = "_EFL_LOOP_FD_EVENT_WRITE";
}
}
}
- ///<summary>Method to raise event ErrorEvt.</summary>
+ /// <summary>Method to raise event ErrorEvt.</summary>
public void OnErrorEvt(EventArgs e)
{
var key = "_EFL_LOOP_FD_EVENT_ERROR";
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflLoopFd_ExtensionMethods {
+ public static Efl.BindableProperty<int> Fd<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.LoopFd, T>magic = null) where T : Efl.LoopFd {
+ return new Efl.BindableProperty<int>("fd", fac);
+ }
+
+ public static Efl.BindableProperty<int> FdFile<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.LoopFd, T>magic = null) where T : Efl.LoopFd {
+ return new Efl.BindableProperty<int>("fd_file", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Efl {
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.LoopHandler.NativeMethods]
[Efl.Eo.BindingEntity]
public class LoopHandler : Efl.Object
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected LoopHandler(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event ReadEvt.</summary>
+ /// <summary>Method to raise event ReadEvt.</summary>
public void OnReadEvt(EventArgs e)
{
var key = "_EFL_LOOP_HANDLER_EVENT_READ";
}
}
}
- ///<summary>Method to raise event WriteEvt.</summary>
+ /// <summary>Method to raise event WriteEvt.</summary>
public void OnWriteEvt(EventArgs e)
{
var key = "_EFL_LOOP_HANDLER_EVENT_WRITE";
}
}
}
- ///<summary>Method to raise event ErrorEvt.</summary>
+ /// <summary>Method to raise event ErrorEvt.</summary>
public void OnErrorEvt(EventArgs e)
{
var key = "_EFL_LOOP_HANDLER_EVENT_ERROR";
}
}
}
- ///<summary>Method to raise event BufferEvt.</summary>
+ /// <summary>Method to raise event BufferEvt.</summary>
public void OnBufferEvt(EventArgs e)
{
var key = "_EFL_LOOP_HANDLER_EVENT_BUFFER";
}
}
}
- ///<summary>Method to raise event PrepareEvt.</summary>
+ /// <summary>Method to raise event PrepareEvt.</summary>
public void OnPrepareEvt(EventArgs e)
{
var key = "_EFL_LOOP_HANDLER_EVENT_PREPARE";
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflLoopHandler_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.LoopHandlerFlags> Active<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.LoopHandler, T>magic = null) where T : Efl.LoopHandler {
+ return new Efl.BindableProperty<Efl.LoopHandlerFlags>("active", fac);
+ }
+
+ public static Efl.BindableProperty<int> Fd<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.LoopHandler, T>magic = null) where T : Efl.LoopHandler {
+ return new Efl.BindableProperty<int>("fd", fac);
+ }
+
+ public static Efl.BindableProperty<int> FdFile<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.LoopHandler, T>magic = null) where T : Efl.LoopHandler {
+ return new Efl.BindableProperty<int>("fd_file", fac);
+ }
+
+ public static Efl.BindableProperty<System.IntPtr> Win32<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.LoopHandler, T>magic = null) where T : Efl.LoopHandler {
+ return new Efl.BindableProperty<System.IntPtr>("win32", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
namespace Efl {
/// <summary>A set of flags that can be OR'd together to indicate which are desired</summary>
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
using System.ComponentModel;
namespace Efl {
-///<summary>Event argument wrapper for event <see cref="Efl.LoopMessage.MessageEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>The message payload data</value>
public Efl.LoopMessage arg { get; set; }
}
/// <summary>Base message payload object class. Inherit this and extend for specific message types.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.LoopMessage.NativeMethods]
[Efl.Eo.BindingEntity]
public class LoopMessage : Efl.Object
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected LoopMessage(ConstructingHandle ch) : base(ch)
{
}
/// <summary>The message payload data</summary>
+ /// <value><see cref="Efl.LoopMessageMessageEvt_Args"/></value>
public event EventHandler<Efl.LoopMessageMessageEvt_Args> MessageEvt
{
add
}
}
}
- ///<summary>Method to raise event MessageEvt.</summary>
+ /// <summary>Method to raise event MessageEvt.</summary>
public void OnMessageEvt(Efl.LoopMessageMessageEvt_Args e)
{
var key = "_EFL_LOOP_MESSAGE_EVENT_MESSAGE";
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflLoopMessage_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Efl {
/// <summary>Used internally for futures on the loop</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.LoopMessageFuture.NativeMethods]
[Efl.Eo.BindingEntity]
public class LoopMessageFuture : Efl.LoopMessage
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected LoopMessageFuture(ConstructingHandle ch) : base(ch)
{
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflLoopMessageFuture_ExtensionMethods {
+ public static Efl.BindableProperty<System.IntPtr> Data<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.LoopMessageFuture, T>magic = null) where T : Efl.LoopMessageFuture {
+ return new Efl.BindableProperty<System.IntPtr>("data", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
using System.ComponentModel;
namespace Efl {
-///<summary>Event argument wrapper for event <see cref="Efl.LoopMessageFutureHandler.MessageFutureEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>No description supplied.</value>
public Efl.LoopMessageFuture arg { get; set; }
}
/// <summary>Internal use for future on an efl loop - replacing legacy ecore events</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.LoopMessageFutureHandler.NativeMethods]
[Efl.Eo.BindingEntity]
public class LoopMessageFutureHandler : Efl.LoopMessageHandler
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected LoopMessageFutureHandler(ConstructingHandle ch) : base(ch)
{
}
/// <summary>No description supplied.</summary>
+ /// <value><see cref="Efl.LoopMessageFutureHandlerMessageFutureEvt_Args"/></value>
public event EventHandler<Efl.LoopMessageFutureHandlerMessageFutureEvt_Args> MessageFutureEvt
{
add
}
}
}
- ///<summary>Method to raise event MessageFutureEvt.</summary>
+ /// <summary>Method to raise event MessageFutureEvt.</summary>
public void OnMessageFutureEvt(Efl.LoopMessageFutureHandlerMessageFutureEvt_Args e)
{
var key = "_EFL_LOOP_MESSAGE_FUTURE_HANDLER_EVENT_MESSAGE_FUTURE";
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflLoopMessageFutureHandler_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
using System.ComponentModel;
namespace Efl {
-///<summary>Event argument wrapper for event <see cref="Efl.LoopMessageHandler.MessageEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>The message payload data</value>
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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.LoopMessageHandler.NativeMethods]
[Efl.Eo.BindingEntity]
public class LoopMessageHandler : Efl.Object
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected LoopMessageHandler(ConstructingHandle ch) : base(ch)
{
}
/// <summary>The message payload data</summary>
+ /// <value><see cref="Efl.LoopMessageHandlerMessageEvt_Args"/></value>
public event EventHandler<Efl.LoopMessageHandlerMessageEvt_Args> MessageEvt
{
add
}
}
}
- ///<summary>Method to raise event MessageEvt.</summary>
+ /// <summary>Method to raise event MessageEvt.</summary>
public void OnMessageEvt(Efl.LoopMessageHandlerMessageEvt_Args e)
{
var key = "_EFL_LOOP_MESSAGE_HANDLER_EVENT_MESSAGE";
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflLoopMessageHandler_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
using System.ComponentModel;
namespace Efl {
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.LoopModel.NativeMethods]
[Efl.Eo.BindingEntity]
public abstract class LoopModel : Efl.LoopConsumer, Efl.IModel
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected LoopModel(ConstructingHandle ch) : base(ch)
{
}
/// <summary>Event dispatched when properties list is available.</summary>
+ /// <value><see cref="Efl.IModelPropertiesChangedEvt_Args"/></value>
public event EventHandler<Efl.IModelPropertiesChangedEvt_Args> PropertiesChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event PropertiesChangedEvt.</summary>
+ /// <summary>Method to raise event PropertiesChangedEvt.</summary>
public void OnPropertiesChangedEvt(Efl.IModelPropertiesChangedEvt_Args e)
{
var key = "_EFL_MODEL_EVENT_PROPERTIES_CHANGED";
}
}
/// <summary>Event dispatched when new child is added.</summary>
+ /// <value><see cref="Efl.IModelChildAddedEvt_Args"/></value>
public event EventHandler<Efl.IModelChildAddedEvt_Args> ChildAddedEvt
{
add
}
}
}
- ///<summary>Method to raise event ChildAddedEvt.</summary>
+ /// <summary>Method to raise event ChildAddedEvt.</summary>
public void OnChildAddedEvt(Efl.IModelChildAddedEvt_Args e)
{
var key = "_EFL_MODEL_EVENT_CHILD_ADDED";
}
}
/// <summary>Event dispatched when child is removed.</summary>
+ /// <value><see cref="Efl.IModelChildRemovedEvt_Args"/></value>
public event EventHandler<Efl.IModelChildRemovedEvt_Args> ChildRemovedEvt
{
add
}
}
}
- ///<summary>Method to raise event ChildRemovedEvt.</summary>
+ /// <summary>Method to raise event ChildRemovedEvt.</summary>
public void OnChildRemovedEvt(Efl.IModelChildRemovedEvt_Args e)
{
var key = "_EFL_MODEL_EVENT_CHILD_REMOVED";
}
}
}
- ///<summary>Method to raise event ChildrenCountChangedEvt.</summary>
+ /// <summary>Method to raise event ChildrenCountChangedEvt.</summary>
public void OnChildrenCountChangedEvt(EventArgs e)
{
var key = "_EFL_MODEL_EVENT_CHILDREN_COUNT_CHANGED";
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflLoopModel_ExtensionMethods {
+
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
[Efl.Eo.BindingEntity]
public class LoopTimer : Efl.LoopConsumer
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected LoopTimer(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event TimerTickEvt.</summary>
+ /// <summary>Method to raise event TimerTickEvt.</summary>
public void OnTimerTickEvt(EventArgs e)
{
var key = "_EFL_LOOP_TIMER_EVENT_TIMER_TICK";
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflLoopTimer_ExtensionMethods {
+ public static Efl.BindableProperty<double> TimerInterval<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.LoopTimer, T>magic = null) where T : Efl.LoopTimer {
+ return new Efl.BindableProperty<double>("timer_interval", fac);
+ }
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Efl {
/// <summary>Efl model interface</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.IModelConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IModel :
System.Threading.Tasks.Task<Eina.Value> GetChildrenSliceAsync(uint start,uint count, System.Threading.CancellationToken token = default(System.Threading.CancellationToken));
/// <summary>Event dispatched when properties list is available.</summary>
+ /// <value><see cref="Efl.IModelPropertiesChangedEvt_Args"/></value>
event EventHandler<Efl.IModelPropertiesChangedEvt_Args> PropertiesChangedEvt;
/// <summary>Event dispatched when new child is added.</summary>
+ /// <value><see cref="Efl.IModelChildAddedEvt_Args"/></value>
event EventHandler<Efl.IModelChildAddedEvt_Args> ChildAddedEvt;
/// <summary>Event dispatched when child is removed.</summary>
+ /// <value><see cref="Efl.IModelChildRemovedEvt_Args"/></value>
event EventHandler<Efl.IModelChildRemovedEvt_Args> ChildRemovedEvt;
/// <summary>Event dispatched when children count is finished.</summary>
event EventHandler ChildrenCountChangedEvt;
/// See also <see cref="Efl.IModel.PropertiesChangedEvt"/>.</summary>
/// <value>Array of current properties</value>
Eina.Iterator<System.String> Properties {
- get ;
+ get;
}
/// <summary>Get children count.
/// When efl_model_load is completed <see cref="Efl.IModel.GetChildrenCount"/> can be used to get the number of children. <see cref="Efl.IModel.GetChildrenCount"/> can also be used before calling <see cref="Efl.IModel.GetChildrenSlice"/> so a valid range is known. Event <see cref="Efl.IModel.ChildrenCountChangedEvt"/> is emitted when count is finished.
/// See also <see cref="Efl.IModel.GetChildrenSlice"/>.</summary>
/// <value>Current known children count</value>
uint ChildrenCount {
- get ;
+ get;
}
}
-///<summary>Event argument wrapper for event <see cref="Efl.IModel.PropertiesChangedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Event dispatched when properties list is available.</value>
public Efl.ModelPropertyEvent arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.IModel.ChildAddedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Event dispatched when new child is added.</value>
public Efl.ModelChildrenEvent arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.IModel.ChildRemovedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Event dispatched when child is removed.</value>
public Efl.ModelChildrenEvent arg { get; set; }
}
/// <summary>Efl model interface</summary>
-sealed public class IModelConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IModelConcrete :
Efl.Eo.EoWrapper
, IModel
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IModelConcrete(ConstructingHandle ch) : base(ch)
{
}
/// <summary>Event dispatched when properties list is available.</summary>
+ /// <value><see cref="Efl.IModelPropertiesChangedEvt_Args"/></value>
public event EventHandler<Efl.IModelPropertiesChangedEvt_Args> PropertiesChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event PropertiesChangedEvt.</summary>
+ /// <summary>Method to raise event PropertiesChangedEvt.</summary>
public void OnPropertiesChangedEvt(Efl.IModelPropertiesChangedEvt_Args e)
{
var key = "_EFL_MODEL_EVENT_PROPERTIES_CHANGED";
}
}
/// <summary>Event dispatched when new child is added.</summary>
+ /// <value><see cref="Efl.IModelChildAddedEvt_Args"/></value>
public event EventHandler<Efl.IModelChildAddedEvt_Args> ChildAddedEvt
{
add
}
}
}
- ///<summary>Method to raise event ChildAddedEvt.</summary>
+ /// <summary>Method to raise event ChildAddedEvt.</summary>
public void OnChildAddedEvt(Efl.IModelChildAddedEvt_Args e)
{
var key = "_EFL_MODEL_EVENT_CHILD_ADDED";
}
}
/// <summary>Event dispatched when child is removed.</summary>
+ /// <value><see cref="Efl.IModelChildRemovedEvt_Args"/></value>
public event EventHandler<Efl.IModelChildRemovedEvt_Args> ChildRemovedEvt
{
add
}
}
}
- ///<summary>Method to raise event ChildRemovedEvt.</summary>
+ /// <summary>Method to raise event ChildRemovedEvt.</summary>
public void OnChildRemovedEvt(Efl.IModelChildRemovedEvt_Args e)
{
var key = "_EFL_MODEL_EVENT_CHILD_REMOVED";
}
}
}
- ///<summary>Method to raise event ChildrenCountChangedEvt.</summary>
+ /// <summary>Method to raise event ChildrenCountChangedEvt.</summary>
public void OnChildrenCountChangedEvt(EventArgs e)
{
var key = "_EFL_MODEL_EVENT_CHILDREN_COUNT_CHANGED";
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflIModelConcrete_ExtensionMethods {
+
+
+
+}
+#pragma warning restore CS1591
+#endif
namespace Efl {
/// <summary>EFL model property event data structure</summary>
public Eina.Array<Eina.Stringshare> Changed_properties;
/// <summary>Removed properties identified by name</summary>
public Eina.Array<Eina.Stringshare> Invalidated_properties;
- ///<summary>Constructor for ModelPropertyEvent.</summary>
+ /// <summary>Constructor for ModelPropertyEvent.</summary>
+ /// <param name="Changed_properties">List of changed properties</param>;
+ /// <param name="Invalidated_properties">Removed properties identified by name</param>;
public ModelPropertyEvent(
Eina.Array<Eina.Stringshare> Changed_properties = default(Eina.Array<Eina.Stringshare>),
Eina.Array<Eina.Stringshare> Invalidated_properties = default(Eina.Array<Eina.Stringshare>) )
this.Invalidated_properties = Invalidated_properties;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 ModelPropertyEvent(IntPtr ptr)
{
var tmp = (ModelPropertyEvent.NativeStruct)Marshal.PtrToStructure(ptr, typeof(ModelPropertyEvent.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct ModelPropertyEvent.</summary>
+ /// <summary>Internal wrapper for struct ModelPropertyEvent.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
public System.IntPtr Changed_properties;
public System.IntPtr Invalidated_properties;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator ModelPropertyEvent.NativeStruct(ModelPropertyEvent _external_struct)
{
var _internal_struct = new ModelPropertyEvent.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator ModelPropertyEvent(ModelPropertyEvent.NativeStruct _internal_struct)
{
var _external_struct = new ModelPropertyEvent();
public uint Index;
/// <summary>If an object has been built for this index and it is currently tracked by the parent, it will be available here.</summary>
public Efl.Object Child;
- ///<summary>Constructor for ModelChildrenEvent.</summary>
+ /// <summary>Constructor for ModelChildrenEvent.</summary>
+ /// <param name="Index">index is a hint and is intended to provide a way for applications to control/know children relative positions through listings.</param>;
+ /// <param name="Child">If an object has been built for this index and it is currently tracked by the parent, it will be available here.</param>;
public ModelChildrenEvent(
uint Index = default(uint),
Efl.Object Child = default(Efl.Object) )
this.Child = Child;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 ModelChildrenEvent(IntPtr ptr)
{
var tmp = (ModelChildrenEvent.NativeStruct)Marshal.PtrToStructure(ptr, typeof(ModelChildrenEvent.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct ModelChildrenEvent.</summary>
+ /// <summary>Internal wrapper for struct ModelChildrenEvent.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
public uint Index;
- ///<summary>Internal wrapper for field Child</summary>
+ /// <summary>Internal wrapper for field Child</summary>
public System.IntPtr Child;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator ModelChildrenEvent.NativeStruct(ModelChildrenEvent _external_struct)
{
var _internal_struct = new ModelChildrenEvent.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator ModelChildrenEvent(ModelChildrenEvent.NativeStruct _internal_struct)
{
var _external_struct = new ModelChildrenEvent();
--- /dev/null
+#define EFL_BETA
+#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 {
+
+/// <summary>EFL object that provide a model to all.
+/// You can use this when you would otherwise have to call <see cref="Efl.Ui.IView.SetModel"/> on multiple widgets by registering this object using <see cref="Efl.Object.ProviderRegister"/> on a parent that they all depends on.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+[Efl.ModelProvider.NativeMethods]
+[Efl.Eo.BindingEntity]
+public class ModelProvider : Efl.Object, Efl.Ui.IView
+{
+ /// <summary>Pointer to the native class description.</summary>
+ public override System.IntPtr NativeClass
+ {
+ get
+ {
+ if (((object)this).GetType() == typeof(ModelProvider))
+ {
+ return GetEflClassStatic();
+ }
+ else
+ {
+ return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
+ }
+ }
+ }
+
+ [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
+ efl_model_provider_class_get();
+ /// <summary>Initializes a new instance of the <see cref="ModelProvider"/> class.</summary>
+ /// <param name="parent">Parent instance.</param>
+ public ModelProvider(Efl.Object parent= null
+ ) : base(efl_model_provider_class_get(), parent)
+ {
+ FinishInstantiation();
+ }
+
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected ModelProvider(ConstructingHandle ch) : base(ch)
+ {
+ }
+
+ /// <summary>Initializes a new instance of the <see cref="ModelProvider"/> 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 ModelProvider(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
+ {
+ }
+
+ /// <summary>Initializes a new instance of the <see cref="ModelProvider"/> 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 ModelProvider(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
+ {
+ }
+
+ /// <summary>Event dispatched when a new model is set.</summary>
+ /// <value><see cref="Efl.Ui.IViewModelChangedEvt_Args"/></value>
+ public event EventHandler<Efl.Ui.IViewModelChangedEvt_Args> ModelChangedEvt
+ {
+ 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.IViewModelChangedEvt_Args args = new Efl.Ui.IViewModelChangedEvt_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_VIEW_EVENT_MODEL_CHANGED";
+ AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_VIEW_EVENT_MODEL_CHANGED";
+ RemoveNativeEventHandler(efl.Libs.Efl, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event ModelChangedEvt.</summary>
+ public void OnModelChangedEvt(Efl.Ui.IViewModelChangedEvt_Args e)
+ {
+ var key = "_EFL_UI_VIEW_EVENT_MODEL_CHANGED";
+ IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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>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((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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),model);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Model that is/will be</summary>
+ /// <value>Efl model</value>
+ public Efl.IModel Model {
+ get { return GetModel(); }
+ set { SetModel(value); }
+ }
+ private static IntPtr GetEflClassStatic()
+ {
+ return Efl.ModelProvider.efl_model_provider_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.Efl);
+ /// <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_view_model_get_static_delegate == null)
+ {
+ efl_ui_view_model_get_static_delegate = new efl_ui_view_model_get_delegate(model_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetModel") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_view_model_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_view_model_get_static_delegate) });
+ }
+
+ if (efl_ui_view_model_set_static_delegate == null)
+ {
+ efl_ui_view_model_set_static_delegate = new efl_ui_view_model_set_delegate(model_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetModel") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_view_model_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_view_model_set_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.ModelProvider.efl_model_provider_class_get();
+ }
+
+ #pragma warning disable CA1707, CS1591, SA1300, SA1600
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ private delegate Efl.IModel efl_ui_view_model_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ public delegate Efl.IModel efl_ui_view_model_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_view_model_get_api_delegate> efl_ui_view_model_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_view_model_get_api_delegate>(Module, "efl_ui_view_model_get");
+
+ private static Efl.IModel model_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_view_model_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.IModel _ret_var = default(Efl.IModel);
+ try
+ {
+ _ret_var = ((ModelProvider)ws.Target).GetModel();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_view_model_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_view_model_get_delegate efl_ui_view_model_get_static_delegate;
+
+
+ private delegate void efl_ui_view_model_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.IModel model);
+
+
+ public delegate void efl_ui_view_model_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.IModel model);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_view_model_set_api_delegate> efl_ui_view_model_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_view_model_set_api_delegate>(Module, "efl_ui_view_model_set");
+
+ private static void model_set(System.IntPtr obj, System.IntPtr pd, Efl.IModel model)
+ {
+ Eina.Log.Debug("function efl_ui_view_model_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((ModelProvider)ws.Target).SetModel(model);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_view_model_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), model);
+ }
+ }
+
+ private static efl_ui_view_model_set_delegate efl_ui_view_model_set_static_delegate;
+
+ #pragma warning restore CA1707, CS1591, SA1300, SA1600
+
+}
+}
+}
+
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflModelProvider_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.IModel> Model<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ModelProvider, T>magic = null) where T : Efl.ModelProvider {
+ return new Efl.BindableProperty<Efl.IModel>("model", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
--- /dev/null
+#define EFL_BETA
+#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 {
+
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+[Efl.MonoModelInternal.NativeMethods]
+[Efl.Eo.BindingEntity]
+public class MonoModelInternal : Efl.LoopConsumer, Efl.IModel
+{
+ /// <summary>Pointer to the native class description.</summary>
+ public override System.IntPtr NativeClass
+ {
+ get
+ {
+ if (((object)this).GetType() == typeof(MonoModelInternal))
+ {
+ return GetEflClassStatic();
+ }
+ else
+ {
+ return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
+ }
+ }
+ }
+
+ [System.Runtime.InteropServices.DllImport("eflcustomexportsmono")] internal static extern System.IntPtr
+ efl_mono_model_internal_class_get();
+ /// <summary>Initializes a new instance of the <see cref="MonoModelInternal"/> class.</summary>
+ /// <param name="parent">Parent instance.</param>
+ public MonoModelInternal(Efl.Object parent= null
+ ) : base(efl_mono_model_internal_class_get(), parent)
+ {
+ FinishInstantiation();
+ }
+
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected MonoModelInternal(ConstructingHandle ch) : base(ch)
+ {
+ }
+
+ /// <summary>Initializes a new instance of the <see cref="MonoModelInternal"/> 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 MonoModelInternal(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
+ {
+ }
+
+ /// <summary>Initializes a new instance of the <see cref="MonoModelInternal"/> 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 MonoModelInternal(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
+ {
+ }
+
+ /// <summary>Event dispatched when properties list is available.</summary>
+ /// <value><see cref="Efl.IModelPropertiesChangedEvt_Args"/></value>
+ public event EventHandler<Efl.IModelPropertiesChangedEvt_Args> PropertiesChangedEvt
+ {
+ 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.IModelPropertiesChangedEvt_Args args = new Efl.IModelPropertiesChangedEvt_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_MODEL_EVENT_PROPERTIES_CHANGED";
+ AddNativeEventHandler("eflcustomexportsmono", key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_MODEL_EVENT_PROPERTIES_CHANGED";
+ RemoveNativeEventHandler("eflcustomexportsmono", key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event PropertiesChangedEvt.</summary>
+ public void OnPropertiesChangedEvt(Efl.IModelPropertiesChangedEvt_Args e)
+ {
+ var key = "_EFL_MODEL_EVENT_PROPERTIES_CHANGED";
+ IntPtr desc = Efl.EventDescription.GetNative("eflcustomexportsmono", 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>Event dispatched when new child is added.</summary>
+ /// <value><see cref="Efl.IModelChildAddedEvt_Args"/></value>
+ public event EventHandler<Efl.IModelChildAddedEvt_Args> ChildAddedEvt
+ {
+ 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.IModelChildAddedEvt_Args args = new Efl.IModelChildAddedEvt_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_MODEL_EVENT_CHILD_ADDED";
+ AddNativeEventHandler("eflcustomexportsmono", key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_MODEL_EVENT_CHILD_ADDED";
+ RemoveNativeEventHandler("eflcustomexportsmono", key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event ChildAddedEvt.</summary>
+ public void OnChildAddedEvt(Efl.IModelChildAddedEvt_Args e)
+ {
+ var key = "_EFL_MODEL_EVENT_CHILD_ADDED";
+ IntPtr desc = Efl.EventDescription.GetNative("eflcustomexportsmono", 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>Event dispatched when child is removed.</summary>
+ /// <value><see cref="Efl.IModelChildRemovedEvt_Args"/></value>
+ public event EventHandler<Efl.IModelChildRemovedEvt_Args> ChildRemovedEvt
+ {
+ 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.IModelChildRemovedEvt_Args args = new Efl.IModelChildRemovedEvt_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_MODEL_EVENT_CHILD_REMOVED";
+ AddNativeEventHandler("eflcustomexportsmono", key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_MODEL_EVENT_CHILD_REMOVED";
+ RemoveNativeEventHandler("eflcustomexportsmono", key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event ChildRemovedEvt.</summary>
+ public void OnChildRemovedEvt(Efl.IModelChildRemovedEvt_Args e)
+ {
+ var key = "_EFL_MODEL_EVENT_CHILD_REMOVED";
+ IntPtr desc = Efl.EventDescription.GetNative("eflcustomexportsmono", 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>Event dispatched when children count is finished.</summary>
+ public event EventHandler ChildrenCountChangedEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_MODEL_EVENT_CHILDREN_COUNT_CHANGED";
+ AddNativeEventHandler("eflcustomexportsmono", key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_MODEL_EVENT_CHILDREN_COUNT_CHANGED";
+ RemoveNativeEventHandler("eflcustomexportsmono", key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event ChildrenCountChangedEvt.</summary>
+ public void OnChildrenCountChangedEvt(EventArgs e)
+ {
+ var key = "_EFL_MODEL_EVENT_CHILDREN_COUNT_CHANGED";
+ IntPtr desc = Efl.EventDescription.GetNative("eflcustomexportsmono", 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);
+ }
+ virtual public void AddProperty(System.String name, Eina.ValueType type) {
+ Efl.MonoModelInternal.NativeMethods.efl_mono_model_internal_add_property_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),name, type);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Get properties from model.
+ /// properties_get is due to provide callers a way the fetch the current properties implemented/used by the model. The event <see cref="Efl.IModel.PropertiesChangedEvt"/> will be raised to notify listeners of any modifications in the properties.
+ ///
+ /// 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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ 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.
+ ///
+ /// See <see cref="Efl.IModel.GetProperties"/>, <see cref="Efl.IModel.PropertiesChangedEvt"/></summary>
+ /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),property);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Set a property value of a given property name.
+ /// The caller must ensure to call at least efl_model_prop_list before being able to see/set properties. This function sets a new property value into given property name. Once the operation is completed the concrete implementation should raise <see cref="Efl.IModel.PropertiesChangedEvt"/> event in order to notify listeners of the new value of the property.
+ ///
+ /// If the model doesn't have the property then there are two possibilities, either raise an error or create the new property in model
+ ///
+ /// See <see cref="Efl.IModel.GetProperty"/>, <see cref="Efl.IModel.PropertiesChangedEvt"/></summary>
+ /// <param name="property">Property name</param>
+ /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),property, value);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Get children count.
+ /// When efl_model_load is completed <see cref="Efl.IModel.GetChildrenCount"/> can be used to get the number of children. <see cref="Efl.IModel.GetChildrenCount"/> can also be used before calling <see cref="Efl.IModel.GetChildrenSlice"/> so a valid range is known. Event <see cref="Efl.IModel.ChildrenCountChangedEvt"/> is emitted when count is finished.
+ ///
+ /// 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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Get a future value when it changes to something that is not error:EAGAIN
+ /// <see cref="Efl.IModel.GetProperty"/> can return an error with code EAGAIN when it doesn't have any meaningful value. To make life easier, this future will resolve when the error:EAGAIN disapears. Either into a failed future in case the error code changed to something else or a success with the value of the property whenever the property finally changes.
+ ///
+ /// The future can also be canceled if the model itself gets destroyed.</summary>
+ /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),property);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Get children slice OR full range.
+ /// <see cref="Efl.IModel.GetChildrenSlice"/> behaves in two different ways, it may provide the slice if <c>count</c> is non-zero OR full range otherwise.
+ ///
+ /// Since 'slice' is a range, for example if we have 20 children a slice could be the range from 3(start) with 4(count), see:
+ ///
+ /// child 0 [no] child 1 [no] child 2 [no] child 3 [yes] child 4 [yes] child 5 [yes] child 6 [yes] child 7 [no]
+ ///
+ /// Optionally the user can call <see cref="Efl.IModel.GetChildrenCount"/> to know the number of children so a valid range can be known in advance.
+ ///
+ /// See <see cref="Efl.IModel.GetChildrenCount"/>
+ ///
+ /// Note: The returned children will live only as long as the future itself. Once the future is done, if you want to keep the object alive, you need to take a reference for yourself.</summary>
+ /// <param name="start">Range begin - start from here.</param>
+ /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),start, count);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Add a new child.
+ /// 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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Remove a child.
+ /// 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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),child);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Async wrapper for <see cref="SetProperty" />.</summary>
+ /// <param name="property">Property name</param>
+ /// <param name="value">Property value</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> SetPropertyAsync(System.String property,Eina.Value value, System.Threading.CancellationToken token = default(System.Threading.CancellationToken))
+ {
+ Eina.Future future = SetProperty( property, value);
+ return Efl.Eo.Globals.WrapAsync(future, token);
+ }
+
+ /// <summary>Async wrapper for <see cref="GetPropertyReady" />.</summary>
+ /// <param name="property">Property name.</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> GetPropertyReadyAsync(System.String property, System.Threading.CancellationToken token = default(System.Threading.CancellationToken))
+ {
+ Eina.Future future = GetPropertyReady( property);
+ return Efl.Eo.Globals.WrapAsync(future, token);
+ }
+
+ /// <summary>Async wrapper for <see cref="GetChildrenSlice" />.</summary>
+ /// <param name="start">Range begin - start from here.</param>
+ /// <param name="count">Range size. If count is 0, start is ignored.</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> GetChildrenSliceAsync(uint start,uint count, System.Threading.CancellationToken token = default(System.Threading.CancellationToken))
+ {
+ Eina.Future future = GetChildrenSlice( start, count);
+ return Efl.Eo.Globals.WrapAsync(future, token);
+ }
+
+ /// <summary>Get properties from model.
+ /// properties_get is due to provide callers a way the fetch the current properties implemented/used by the model. The event <see cref="Efl.IModel.PropertiesChangedEvt"/> will be raised to notify listeners of any modifications in the properties.
+ ///
+ /// See also <see cref="Efl.IModel.PropertiesChangedEvt"/>.</summary>
+ /// <value>Array of current properties</value>
+ public Eina.Iterator<System.String> Properties {
+ get { return GetProperties(); }
+ }
+ /// <summary>Get children count.
+ /// When efl_model_load is completed <see cref="Efl.IModel.GetChildrenCount"/> can be used to get the number of children. <see cref="Efl.IModel.GetChildrenCount"/> can also be used before calling <see cref="Efl.IModel.GetChildrenSlice"/> so a valid range is known. Event <see cref="Efl.IModel.ChildrenCountChangedEvt"/> is emitted when count is finished.
+ ///
+ /// See also <see cref="Efl.IModel.GetChildrenSlice"/>.</summary>
+ /// <value>Current known children count</value>
+ public uint ChildrenCount {
+ get { return GetChildrenCount(); }
+ }
+ private static IntPtr GetEflClassStatic()
+ {
+ return Efl.MonoModelInternal.efl_mono_model_internal_class_get();
+ }
+ /// <summary>Wrapper for native methods and virtual method delegates.
+ /// For internal use by generated code only.</summary>
+ public new class NativeMethods : Efl.LoopConsumer.NativeMethods
+ {
+ private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( "eflcustomexportsmono");
+ /// <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_mono_model_internal_add_property_static_delegate == null)
+ {
+ efl_mono_model_internal_add_property_static_delegate = new efl_mono_model_internal_add_property_delegate(add_property);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "AddProperty") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_mono_model_internal_add_property"), func = Marshal.GetFunctionPointerForDelegate(efl_mono_model_internal_add_property_static_delegate) });
+ }
+
+ if (efl_model_properties_get_static_delegate == null)
+ {
+ efl_model_properties_get_static_delegate = new efl_model_properties_get_delegate(properties_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetProperties") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_model_properties_get"), func = Marshal.GetFunctionPointerForDelegate(efl_model_properties_get_static_delegate) });
+ }
+
+ if (efl_model_property_get_static_delegate == null)
+ {
+ efl_model_property_get_static_delegate = new efl_model_property_get_delegate(property_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetProperty") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_model_property_get"), func = Marshal.GetFunctionPointerForDelegate(efl_model_property_get_static_delegate) });
+ }
+
+ if (efl_model_property_set_static_delegate == null)
+ {
+ efl_model_property_set_static_delegate = new efl_model_property_set_delegate(property_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetProperty") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_model_property_set"), func = Marshal.GetFunctionPointerForDelegate(efl_model_property_set_static_delegate) });
+ }
+
+ if (efl_model_children_count_get_static_delegate == null)
+ {
+ efl_model_children_count_get_static_delegate = new efl_model_children_count_get_delegate(children_count_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetChildrenCount") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_model_children_count_get"), func = Marshal.GetFunctionPointerForDelegate(efl_model_children_count_get_static_delegate) });
+ }
+
+ if (efl_model_property_ready_get_static_delegate == null)
+ {
+ efl_model_property_ready_get_static_delegate = new efl_model_property_ready_get_delegate(property_ready_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetPropertyReady") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_model_property_ready_get"), func = Marshal.GetFunctionPointerForDelegate(efl_model_property_ready_get_static_delegate) });
+ }
+
+ if (efl_model_children_slice_get_static_delegate == null)
+ {
+ efl_model_children_slice_get_static_delegate = new efl_model_children_slice_get_delegate(children_slice_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetChildrenSlice") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_model_children_slice_get"), func = Marshal.GetFunctionPointerForDelegate(efl_model_children_slice_get_static_delegate) });
+ }
+
+ if (efl_model_child_add_static_delegate == null)
+ {
+ efl_model_child_add_static_delegate = new efl_model_child_add_delegate(child_add);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "AddChild") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_model_child_add"), func = Marshal.GetFunctionPointerForDelegate(efl_model_child_add_static_delegate) });
+ }
+
+ if (efl_model_child_del_static_delegate == null)
+ {
+ efl_model_child_del_static_delegate = new efl_model_child_del_delegate(child_del);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "DelChild") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_model_child_del"), func = Marshal.GetFunctionPointerForDelegate(efl_model_child_del_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.MonoModelInternal.efl_mono_model_internal_class_get();
+ }
+
+ #pragma warning disable CA1707, CS1591, SA1300, SA1600
+
+
+ private delegate void efl_mono_model_internal_add_property_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String name, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Eina.ValueTypeMarshaler))] Eina.ValueTypeBox type);
+
+
+ public delegate void efl_mono_model_internal_add_property_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String name, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Eina.ValueTypeMarshaler))] Eina.ValueTypeBox type);
+
+ public static Efl.Eo.FunctionWrapper<efl_mono_model_internal_add_property_api_delegate> efl_mono_model_internal_add_property_ptr = new Efl.Eo.FunctionWrapper<efl_mono_model_internal_add_property_api_delegate>(Module, "efl_mono_model_internal_add_property");
+
+ private static void add_property(System.IntPtr obj, System.IntPtr pd, System.String name, Eina.ValueTypeBox type)
+ {
+ Eina.Log.Debug("function efl_mono_model_internal_add_property was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((MonoModelInternal)ws.Target).AddProperty(name, type);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_mono_model_internal_add_property_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), name, type);
+ }
+ }
+
+ private static efl_mono_model_internal_add_property_delegate efl_mono_model_internal_add_property_static_delegate;
+
+
+ private delegate System.IntPtr efl_model_properties_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate System.IntPtr efl_model_properties_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_model_properties_get_api_delegate> efl_model_properties_get_ptr = new Efl.Eo.FunctionWrapper<efl_model_properties_get_api_delegate>(Module, "efl_model_properties_get");
+
+ private static System.IntPtr properties_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_model_properties_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Iterator<System.String> _ret_var = default(Eina.Iterator<System.String>);
+ try
+ {
+ _ret_var = ((MonoModelInternal)ws.Target).GetProperties();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ _ret_var.Own = false; return _ret_var.Handle;
+
+ }
+ else
+ {
+ return efl_model_properties_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_model_properties_get_delegate efl_model_properties_get_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Eina.ValueMarshaler))]
+ private delegate Eina.Value efl_model_property_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String property);
+
+ [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Eina.ValueMarshaler))]
+ public delegate Eina.Value efl_model_property_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String property);
+
+ public static Efl.Eo.FunctionWrapper<efl_model_property_get_api_delegate> efl_model_property_get_ptr = new Efl.Eo.FunctionWrapper<efl_model_property_get_api_delegate>(Module, "efl_model_property_get");
+
+ private static Eina.Value property_get(System.IntPtr obj, System.IntPtr pd, System.String property)
+ {
+ Eina.Log.Debug("function efl_model_property_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Value _ret_var = default(Eina.Value);
+ try
+ {
+ _ret_var = ((MonoModelInternal)ws.Target).GetProperty(property);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_model_property_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), property);
+ }
+ }
+
+ private static efl_model_property_get_delegate efl_model_property_get_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Eina.FutureMarshaler))]
+ private delegate Eina.Future efl_model_property_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String property, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Eina.ValueMarshaler))] Eina.Value value);
+
+ [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Eina.FutureMarshaler))]
+ public delegate Eina.Future efl_model_property_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String property, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Eina.ValueMarshaler))] Eina.Value value);
+
+ public static Efl.Eo.FunctionWrapper<efl_model_property_set_api_delegate> efl_model_property_set_ptr = new Efl.Eo.FunctionWrapper<efl_model_property_set_api_delegate>(Module, "efl_model_property_set");
+
+ private static Eina.Future property_set(System.IntPtr obj, System.IntPtr pd, System.String property, Eina.Value value)
+ {
+ Eina.Log.Debug("function efl_model_property_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Future _ret_var = default( Eina.Future);
+ try
+ {
+ _ret_var = ((MonoModelInternal)ws.Target).SetProperty(property, value);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_model_property_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), property, value);
+ }
+ }
+
+ private static efl_model_property_set_delegate efl_model_property_set_static_delegate;
+
+
+ private delegate uint efl_model_children_count_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate uint efl_model_children_count_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_model_children_count_get_api_delegate> efl_model_children_count_get_ptr = new Efl.Eo.FunctionWrapper<efl_model_children_count_get_api_delegate>(Module, "efl_model_children_count_get");
+
+ private static uint children_count_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_model_children_count_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ uint _ret_var = default(uint);
+ try
+ {
+ _ret_var = ((MonoModelInternal)ws.Target).GetChildrenCount();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_model_children_count_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_model_children_count_get_delegate efl_model_children_count_get_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Eina.FutureMarshaler))]
+ private delegate Eina.Future efl_model_property_ready_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String property);
+
+ [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Eina.FutureMarshaler))]
+ public delegate Eina.Future efl_model_property_ready_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String property);
+
+ public static Efl.Eo.FunctionWrapper<efl_model_property_ready_get_api_delegate> efl_model_property_ready_get_ptr = new Efl.Eo.FunctionWrapper<efl_model_property_ready_get_api_delegate>(Module, "efl_model_property_ready_get");
+
+ private static Eina.Future property_ready_get(System.IntPtr obj, System.IntPtr pd, System.String property)
+ {
+ Eina.Log.Debug("function efl_model_property_ready_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Future _ret_var = default( Eina.Future);
+ try
+ {
+ _ret_var = ((MonoModelInternal)ws.Target).GetPropertyReady(property);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_model_property_ready_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), property);
+ }
+ }
+
+ private static efl_model_property_ready_get_delegate efl_model_property_ready_get_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Eina.FutureMarshaler))]
+ private delegate Eina.Future efl_model_children_slice_get_delegate(System.IntPtr obj, System.IntPtr pd, uint start, uint count);
+
+ [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Eina.FutureMarshaler))]
+ public delegate Eina.Future efl_model_children_slice_get_api_delegate(System.IntPtr obj, uint start, uint count);
+
+ public static Efl.Eo.FunctionWrapper<efl_model_children_slice_get_api_delegate> efl_model_children_slice_get_ptr = new Efl.Eo.FunctionWrapper<efl_model_children_slice_get_api_delegate>(Module, "efl_model_children_slice_get");
+
+ private static Eina.Future children_slice_get(System.IntPtr obj, System.IntPtr pd, uint start, uint count)
+ {
+ Eina.Log.Debug("function efl_model_children_slice_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Future _ret_var = default( Eina.Future);
+ try
+ {
+ _ret_var = ((MonoModelInternal)ws.Target).GetChildrenSlice(start, count);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_model_children_slice_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), start, count);
+ }
+ }
+
+ private static efl_model_children_slice_get_delegate efl_model_children_slice_get_static_delegate;
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ private delegate Efl.Object efl_model_child_add_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ public delegate Efl.Object efl_model_child_add_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_model_child_add_api_delegate> efl_model_child_add_ptr = new Efl.Eo.FunctionWrapper<efl_model_child_add_api_delegate>(Module, "efl_model_child_add");
+
+ private static Efl.Object child_add(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_model_child_add was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.Object _ret_var = default(Efl.Object);
+ try
+ {
+ _ret_var = ((MonoModelInternal)ws.Target).AddChild();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_model_child_add_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_model_child_add_delegate efl_model_child_add_static_delegate;
+
+
+ private delegate void efl_model_child_del_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Object child);
+
+
+ public delegate void efl_model_child_del_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Object child);
+
+ public static Efl.Eo.FunctionWrapper<efl_model_child_del_api_delegate> efl_model_child_del_ptr = new Efl.Eo.FunctionWrapper<efl_model_child_del_api_delegate>(Module, "efl_model_child_del");
+
+ private static void child_del(System.IntPtr obj, System.IntPtr pd, Efl.Object child)
+ {
+ Eina.Log.Debug("function efl_model_child_del was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((MonoModelInternal)ws.Target).DelChild(child);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_model_child_del_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), child);
+ }
+ }
+
+ private static efl_model_child_del_delegate efl_model_child_del_static_delegate;
+
+ #pragma warning restore CA1707, CS1591, SA1300, SA1600
+
+}
+}
+}
+
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflMonoModelInternal_ExtensionMethods {
+
+
+
+}
+#pragma warning restore CS1591
+#endif
--- /dev/null
+#define EFL_BETA
+#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 {
+
+[Efl.MonoModelInternalChild.NativeMethods]
+[Efl.Eo.BindingEntity]
+public class MonoModelInternalChild : Efl.LoopConsumer, Efl.IModel
+{
+ /// <summary>Pointer to the native class description.</summary>
+ public override System.IntPtr NativeClass
+ {
+ get
+ {
+ if (((object)this).GetType() == typeof(MonoModelInternalChild))
+ {
+ return GetEflClassStatic();
+ }
+ else
+ {
+ return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
+ }
+ }
+ }
+
+ [System.Runtime.InteropServices.DllImport("eflcustomexportsmono")] internal static extern System.IntPtr
+ efl_mono_model_internal_child_class_get();
+ /// <summary>Initializes a new instance of the <see cref="MonoModelInternalChild"/> class.</summary>
+ /// <param name="parent">Parent instance.</param>
+ public MonoModelInternalChild(Efl.Object parent= null
+ ) : base(efl_mono_model_internal_child_class_get(), parent)
+ {
+ FinishInstantiation();
+ }
+
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected MonoModelInternalChild(ConstructingHandle ch) : base(ch)
+ {
+ }
+
+ /// <summary>Initializes a new instance of the <see cref="MonoModelInternalChild"/> 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 MonoModelInternalChild(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
+ {
+ }
+
+ /// <summary>Initializes a new instance of the <see cref="MonoModelInternalChild"/> 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 MonoModelInternalChild(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
+ {
+ }
+
+ /// <summary>Event dispatched when properties list is available.</summary>
+ /// <value><see cref="Efl.IModelPropertiesChangedEvt_Args"/></value>
+ public event EventHandler<Efl.IModelPropertiesChangedEvt_Args> PropertiesChangedEvt
+ {
+ 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.IModelPropertiesChangedEvt_Args args = new Efl.IModelPropertiesChangedEvt_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_MODEL_EVENT_PROPERTIES_CHANGED";
+ AddNativeEventHandler("eflcustomexportsmono", key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_MODEL_EVENT_PROPERTIES_CHANGED";
+ RemoveNativeEventHandler("eflcustomexportsmono", key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event PropertiesChangedEvt.</summary>
+ public void OnPropertiesChangedEvt(Efl.IModelPropertiesChangedEvt_Args e)
+ {
+ var key = "_EFL_MODEL_EVENT_PROPERTIES_CHANGED";
+ IntPtr desc = Efl.EventDescription.GetNative("eflcustomexportsmono", 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>Event dispatched when new child is added.</summary>
+ /// <value><see cref="Efl.IModelChildAddedEvt_Args"/></value>
+ public event EventHandler<Efl.IModelChildAddedEvt_Args> ChildAddedEvt
+ {
+ 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.IModelChildAddedEvt_Args args = new Efl.IModelChildAddedEvt_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_MODEL_EVENT_CHILD_ADDED";
+ AddNativeEventHandler("eflcustomexportsmono", key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_MODEL_EVENT_CHILD_ADDED";
+ RemoveNativeEventHandler("eflcustomexportsmono", key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event ChildAddedEvt.</summary>
+ public void OnChildAddedEvt(Efl.IModelChildAddedEvt_Args e)
+ {
+ var key = "_EFL_MODEL_EVENT_CHILD_ADDED";
+ IntPtr desc = Efl.EventDescription.GetNative("eflcustomexportsmono", 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>Event dispatched when child is removed.</summary>
+ /// <value><see cref="Efl.IModelChildRemovedEvt_Args"/></value>
+ public event EventHandler<Efl.IModelChildRemovedEvt_Args> ChildRemovedEvt
+ {
+ 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.IModelChildRemovedEvt_Args args = new Efl.IModelChildRemovedEvt_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_MODEL_EVENT_CHILD_REMOVED";
+ AddNativeEventHandler("eflcustomexportsmono", key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_MODEL_EVENT_CHILD_REMOVED";
+ RemoveNativeEventHandler("eflcustomexportsmono", key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event ChildRemovedEvt.</summary>
+ public void OnChildRemovedEvt(Efl.IModelChildRemovedEvt_Args e)
+ {
+ var key = "_EFL_MODEL_EVENT_CHILD_REMOVED";
+ IntPtr desc = Efl.EventDescription.GetNative("eflcustomexportsmono", 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>Event dispatched when children count is finished.</summary>
+ public event EventHandler ChildrenCountChangedEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_MODEL_EVENT_CHILDREN_COUNT_CHANGED";
+ AddNativeEventHandler("eflcustomexportsmono", key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_MODEL_EVENT_CHILDREN_COUNT_CHANGED";
+ RemoveNativeEventHandler("eflcustomexportsmono", key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event ChildrenCountChangedEvt.</summary>
+ public void OnChildrenCountChangedEvt(EventArgs e)
+ {
+ var key = "_EFL_MODEL_EVENT_CHILDREN_COUNT_CHANGED";
+ IntPtr desc = Efl.EventDescription.GetNative("eflcustomexportsmono", 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>Get properties from model.
+ /// properties_get is due to provide callers a way the fetch the current properties implemented/used by the model. The event <see cref="Efl.IModel.PropertiesChangedEvt"/> will be raised to notify listeners of any modifications in the properties.
+ ///
+ /// 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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ 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.
+ ///
+ /// See <see cref="Efl.IModel.GetProperties"/>, <see cref="Efl.IModel.PropertiesChangedEvt"/></summary>
+ /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),property);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Set a property value of a given property name.
+ /// The caller must ensure to call at least efl_model_prop_list before being able to see/set properties. This function sets a new property value into given property name. Once the operation is completed the concrete implementation should raise <see cref="Efl.IModel.PropertiesChangedEvt"/> event in order to notify listeners of the new value of the property.
+ ///
+ /// If the model doesn't have the property then there are two possibilities, either raise an error or create the new property in model
+ ///
+ /// See <see cref="Efl.IModel.GetProperty"/>, <see cref="Efl.IModel.PropertiesChangedEvt"/></summary>
+ /// <param name="property">Property name</param>
+ /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),property, value);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Get children count.
+ /// When efl_model_load is completed <see cref="Efl.IModel.GetChildrenCount"/> can be used to get the number of children. <see cref="Efl.IModel.GetChildrenCount"/> can also be used before calling <see cref="Efl.IModel.GetChildrenSlice"/> so a valid range is known. Event <see cref="Efl.IModel.ChildrenCountChangedEvt"/> is emitted when count is finished.
+ ///
+ /// 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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Get a future value when it changes to something that is not error:EAGAIN
+ /// <see cref="Efl.IModel.GetProperty"/> can return an error with code EAGAIN when it doesn't have any meaningful value. To make life easier, this future will resolve when the error:EAGAIN disapears. Either into a failed future in case the error code changed to something else or a success with the value of the property whenever the property finally changes.
+ ///
+ /// The future can also be canceled if the model itself gets destroyed.</summary>
+ /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),property);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Get children slice OR full range.
+ /// <see cref="Efl.IModel.GetChildrenSlice"/> behaves in two different ways, it may provide the slice if <c>count</c> is non-zero OR full range otherwise.
+ ///
+ /// Since 'slice' is a range, for example if we have 20 children a slice could be the range from 3(start) with 4(count), see:
+ ///
+ /// child 0 [no] child 1 [no] child 2 [no] child 3 [yes] child 4 [yes] child 5 [yes] child 6 [yes] child 7 [no]
+ ///
+ /// Optionally the user can call <see cref="Efl.IModel.GetChildrenCount"/> to know the number of children so a valid range can be known in advance.
+ ///
+ /// See <see cref="Efl.IModel.GetChildrenCount"/>
+ ///
+ /// Note: The returned children will live only as long as the future itself. Once the future is done, if you want to keep the object alive, you need to take a reference for yourself.</summary>
+ /// <param name="start">Range begin - start from here.</param>
+ /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),start, count);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Add a new child.
+ /// 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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Remove a child.
+ /// 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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),child);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Async wrapper for <see cref="SetProperty" />.</summary>
+ /// <param name="property">Property name</param>
+ /// <param name="value">Property value</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> SetPropertyAsync(System.String property,Eina.Value value, System.Threading.CancellationToken token = default(System.Threading.CancellationToken))
+ {
+ Eina.Future future = SetProperty( property, value);
+ return Efl.Eo.Globals.WrapAsync(future, token);
+ }
+
+ /// <summary>Async wrapper for <see cref="GetPropertyReady" />.</summary>
+ /// <param name="property">Property name.</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> GetPropertyReadyAsync(System.String property, System.Threading.CancellationToken token = default(System.Threading.CancellationToken))
+ {
+ Eina.Future future = GetPropertyReady( property);
+ return Efl.Eo.Globals.WrapAsync(future, token);
+ }
+
+ /// <summary>Async wrapper for <see cref="GetChildrenSlice" />.</summary>
+ /// <param name="start">Range begin - start from here.</param>
+ /// <param name="count">Range size. If count is 0, start is ignored.</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> GetChildrenSliceAsync(uint start,uint count, System.Threading.CancellationToken token = default(System.Threading.CancellationToken))
+ {
+ Eina.Future future = GetChildrenSlice( start, count);
+ return Efl.Eo.Globals.WrapAsync(future, token);
+ }
+
+ /// <summary>Get properties from model.
+ /// properties_get is due to provide callers a way the fetch the current properties implemented/used by the model. The event <see cref="Efl.IModel.PropertiesChangedEvt"/> will be raised to notify listeners of any modifications in the properties.
+ ///
+ /// See also <see cref="Efl.IModel.PropertiesChangedEvt"/>.</summary>
+ /// <value>Array of current properties</value>
+ public Eina.Iterator<System.String> Properties {
+ get { return GetProperties(); }
+ }
+ /// <summary>Get children count.
+ /// When efl_model_load is completed <see cref="Efl.IModel.GetChildrenCount"/> can be used to get the number of children. <see cref="Efl.IModel.GetChildrenCount"/> can also be used before calling <see cref="Efl.IModel.GetChildrenSlice"/> so a valid range is known. Event <see cref="Efl.IModel.ChildrenCountChangedEvt"/> is emitted when count is finished.
+ ///
+ /// See also <see cref="Efl.IModel.GetChildrenSlice"/>.</summary>
+ /// <value>Current known children count</value>
+ public uint ChildrenCount {
+ get { return GetChildrenCount(); }
+ }
+ private static IntPtr GetEflClassStatic()
+ {
+ return Efl.MonoModelInternalChild.efl_mono_model_internal_child_class_get();
+ }
+ /// <summary>Wrapper for native methods and virtual method delegates.
+ /// For internal use by generated code only.</summary>
+ public new class NativeMethods : Efl.LoopConsumer.NativeMethods
+ {
+ private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( "eflcustomexportsmono");
+ /// <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_model_properties_get_static_delegate == null)
+ {
+ efl_model_properties_get_static_delegate = new efl_model_properties_get_delegate(properties_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetProperties") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_model_properties_get"), func = Marshal.GetFunctionPointerForDelegate(efl_model_properties_get_static_delegate) });
+ }
+
+ if (efl_model_property_get_static_delegate == null)
+ {
+ efl_model_property_get_static_delegate = new efl_model_property_get_delegate(property_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetProperty") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_model_property_get"), func = Marshal.GetFunctionPointerForDelegate(efl_model_property_get_static_delegate) });
+ }
+
+ if (efl_model_property_set_static_delegate == null)
+ {
+ efl_model_property_set_static_delegate = new efl_model_property_set_delegate(property_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetProperty") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_model_property_set"), func = Marshal.GetFunctionPointerForDelegate(efl_model_property_set_static_delegate) });
+ }
+
+ if (efl_model_children_count_get_static_delegate == null)
+ {
+ efl_model_children_count_get_static_delegate = new efl_model_children_count_get_delegate(children_count_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetChildrenCount") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_model_children_count_get"), func = Marshal.GetFunctionPointerForDelegate(efl_model_children_count_get_static_delegate) });
+ }
+
+ if (efl_model_property_ready_get_static_delegate == null)
+ {
+ efl_model_property_ready_get_static_delegate = new efl_model_property_ready_get_delegate(property_ready_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetPropertyReady") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_model_property_ready_get"), func = Marshal.GetFunctionPointerForDelegate(efl_model_property_ready_get_static_delegate) });
+ }
+
+ if (efl_model_children_slice_get_static_delegate == null)
+ {
+ efl_model_children_slice_get_static_delegate = new efl_model_children_slice_get_delegate(children_slice_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetChildrenSlice") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_model_children_slice_get"), func = Marshal.GetFunctionPointerForDelegate(efl_model_children_slice_get_static_delegate) });
+ }
+
+ if (efl_model_child_add_static_delegate == null)
+ {
+ efl_model_child_add_static_delegate = new efl_model_child_add_delegate(child_add);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "AddChild") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_model_child_add"), func = Marshal.GetFunctionPointerForDelegate(efl_model_child_add_static_delegate) });
+ }
+
+ if (efl_model_child_del_static_delegate == null)
+ {
+ efl_model_child_del_static_delegate = new efl_model_child_del_delegate(child_del);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "DelChild") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_model_child_del"), func = Marshal.GetFunctionPointerForDelegate(efl_model_child_del_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.MonoModelInternalChild.efl_mono_model_internal_child_class_get();
+ }
+
+ #pragma warning disable CA1707, CS1591, SA1300, SA1600
+
+
+ private delegate System.IntPtr efl_model_properties_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate System.IntPtr efl_model_properties_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_model_properties_get_api_delegate> efl_model_properties_get_ptr = new Efl.Eo.FunctionWrapper<efl_model_properties_get_api_delegate>(Module, "efl_model_properties_get");
+
+ private static System.IntPtr properties_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_model_properties_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Iterator<System.String> _ret_var = default(Eina.Iterator<System.String>);
+ try
+ {
+ _ret_var = ((MonoModelInternalChild)ws.Target).GetProperties();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ _ret_var.Own = false; return _ret_var.Handle;
+
+ }
+ else
+ {
+ return efl_model_properties_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_model_properties_get_delegate efl_model_properties_get_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Eina.ValueMarshaler))]
+ private delegate Eina.Value efl_model_property_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String property);
+
+ [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Eina.ValueMarshaler))]
+ public delegate Eina.Value efl_model_property_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String property);
+
+ public static Efl.Eo.FunctionWrapper<efl_model_property_get_api_delegate> efl_model_property_get_ptr = new Efl.Eo.FunctionWrapper<efl_model_property_get_api_delegate>(Module, "efl_model_property_get");
+
+ private static Eina.Value property_get(System.IntPtr obj, System.IntPtr pd, System.String property)
+ {
+ Eina.Log.Debug("function efl_model_property_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Value _ret_var = default(Eina.Value);
+ try
+ {
+ _ret_var = ((MonoModelInternalChild)ws.Target).GetProperty(property);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_model_property_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), property);
+ }
+ }
+
+ private static efl_model_property_get_delegate efl_model_property_get_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Eina.FutureMarshaler))]
+ private delegate Eina.Future efl_model_property_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String property, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Eina.ValueMarshaler))] Eina.Value value);
+
+ [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Eina.FutureMarshaler))]
+ public delegate Eina.Future efl_model_property_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String property, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Eina.ValueMarshaler))] Eina.Value value);
+
+ public static Efl.Eo.FunctionWrapper<efl_model_property_set_api_delegate> efl_model_property_set_ptr = new Efl.Eo.FunctionWrapper<efl_model_property_set_api_delegate>(Module, "efl_model_property_set");
+
+ private static Eina.Future property_set(System.IntPtr obj, System.IntPtr pd, System.String property, Eina.Value value)
+ {
+ Eina.Log.Debug("function efl_model_property_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Future _ret_var = default( Eina.Future);
+ try
+ {
+ _ret_var = ((MonoModelInternalChild)ws.Target).SetProperty(property, value);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_model_property_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), property, value);
+ }
+ }
+
+ private static efl_model_property_set_delegate efl_model_property_set_static_delegate;
+
+
+ private delegate uint efl_model_children_count_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate uint efl_model_children_count_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_model_children_count_get_api_delegate> efl_model_children_count_get_ptr = new Efl.Eo.FunctionWrapper<efl_model_children_count_get_api_delegate>(Module, "efl_model_children_count_get");
+
+ private static uint children_count_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_model_children_count_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ uint _ret_var = default(uint);
+ try
+ {
+ _ret_var = ((MonoModelInternalChild)ws.Target).GetChildrenCount();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_model_children_count_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_model_children_count_get_delegate efl_model_children_count_get_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Eina.FutureMarshaler))]
+ private delegate Eina.Future efl_model_property_ready_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String property);
+
+ [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Eina.FutureMarshaler))]
+ public delegate Eina.Future efl_model_property_ready_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String property);
+
+ public static Efl.Eo.FunctionWrapper<efl_model_property_ready_get_api_delegate> efl_model_property_ready_get_ptr = new Efl.Eo.FunctionWrapper<efl_model_property_ready_get_api_delegate>(Module, "efl_model_property_ready_get");
+
+ private static Eina.Future property_ready_get(System.IntPtr obj, System.IntPtr pd, System.String property)
+ {
+ Eina.Log.Debug("function efl_model_property_ready_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Future _ret_var = default( Eina.Future);
+ try
+ {
+ _ret_var = ((MonoModelInternalChild)ws.Target).GetPropertyReady(property);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_model_property_ready_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), property);
+ }
+ }
+
+ private static efl_model_property_ready_get_delegate efl_model_property_ready_get_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Eina.FutureMarshaler))]
+ private delegate Eina.Future efl_model_children_slice_get_delegate(System.IntPtr obj, System.IntPtr pd, uint start, uint count);
+
+ [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Eina.FutureMarshaler))]
+ public delegate Eina.Future efl_model_children_slice_get_api_delegate(System.IntPtr obj, uint start, uint count);
+
+ public static Efl.Eo.FunctionWrapper<efl_model_children_slice_get_api_delegate> efl_model_children_slice_get_ptr = new Efl.Eo.FunctionWrapper<efl_model_children_slice_get_api_delegate>(Module, "efl_model_children_slice_get");
+
+ private static Eina.Future children_slice_get(System.IntPtr obj, System.IntPtr pd, uint start, uint count)
+ {
+ Eina.Log.Debug("function efl_model_children_slice_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Future _ret_var = default( Eina.Future);
+ try
+ {
+ _ret_var = ((MonoModelInternalChild)ws.Target).GetChildrenSlice(start, count);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_model_children_slice_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), start, count);
+ }
+ }
+
+ private static efl_model_children_slice_get_delegate efl_model_children_slice_get_static_delegate;
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ private delegate Efl.Object efl_model_child_add_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ public delegate Efl.Object efl_model_child_add_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_model_child_add_api_delegate> efl_model_child_add_ptr = new Efl.Eo.FunctionWrapper<efl_model_child_add_api_delegate>(Module, "efl_model_child_add");
+
+ private static Efl.Object child_add(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_model_child_add was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.Object _ret_var = default(Efl.Object);
+ try
+ {
+ _ret_var = ((MonoModelInternalChild)ws.Target).AddChild();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_model_child_add_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_model_child_add_delegate efl_model_child_add_static_delegate;
+
+
+ private delegate void efl_model_child_del_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Object child);
+
+
+ public delegate void efl_model_child_del_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Object child);
+
+ public static Efl.Eo.FunctionWrapper<efl_model_child_del_api_delegate> efl_model_child_del_ptr = new Efl.Eo.FunctionWrapper<efl_model_child_del_api_delegate>(Module, "efl_model_child_del");
+
+ private static void child_del(System.IntPtr obj, System.IntPtr pd, Efl.Object child)
+ {
+ Eina.Log.Debug("function efl_model_child_del was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((MonoModelInternalChild)ws.Target).DelChild(child);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_model_child_del_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), child);
+ }
+ }
+
+ private static efl_model_child_del_delegate efl_model_child_del_static_delegate;
+
+ #pragma warning restore CA1707, CS1591, SA1300, SA1600
+
+}
+}
+}
+
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflMonoModelInternalChild_ExtensionMethods {
+
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// (Since EFL 1.22)</summary>
[Efl.Object.NativeMethods]
[Efl.Eo.BindingEntity]
-public abstract class Object : Efl.Eo.EoWrapper
+public abstract partial class Object : Efl.Eo.EoWrapper
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Object(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event DelEvt.</summary>
+ /// <summary>Method to raise event DelEvt.</summary>
public void OnDelEvt(EventArgs e)
{
var key = "_EFL_EVENT_DEL";
}
}
}
- ///<summary>Method to raise event InvalidateEvt.</summary>
+ /// <summary>Method to raise event InvalidateEvt.</summary>
public void OnInvalidateEvt(EventArgs e)
{
var key = "_EFL_EVENT_INVALIDATE";
}
}
}
- ///<summary>Method to raise event NorefEvt.</summary>
+ /// <summary>Method to raise event NorefEvt.</summary>
public void OnNorefEvt(EventArgs e)
{
var key = "_EFL_EVENT_NOREF";
}
}
}
- ///<summary>Method to raise event OwnershipUniqueEvt.</summary>
+ /// <summary>Method to raise event OwnershipUniqueEvt.</summary>
public void OnOwnershipUniqueEvt(EventArgs e)
{
var key = "_EFL_EVENT_OWNERSHIP_UNIQUE";
}
}
}
- ///<summary>Method to raise event OwnershipSharedEvt.</summary>
+ /// <summary>Method to raise event OwnershipSharedEvt.</summary>
public void OnOwnershipSharedEvt(EventArgs e)
{
var key = "_EFL_EVENT_OWNERSHIP_SHARED";
}
}
}
- ///<summary>Method to raise event DestructEvt.</summary>
+ /// <summary>Method to raise event DestructEvt.</summary>
public void OnDestructEvt(EventArgs e)
{
var key = "_EFL_EVENT_DESTRUCT";
/// In a normal object use case, when ownership of an object is given to a caller, said ownership should be released with efl_unref(). If the object has a parent, this will print error messages, as efl_unref() is stealing the ref from the parent.
///
/// Warning: Use this function very carefully, unless you're absolutely sure of what you are doing.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
/// In a normal object use case, when ownership of an object is given to a caller, said ownership should be released with efl_unref(). If the object has a parent, this will print error messages, as efl_unref() is stealing the ref from the parent.
///
/// Warning: Use this function very carefully, unless you're absolutely sure of what you are doing.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),allow);
/// 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.
///
/// See <see cref="Efl.Object.CompositeDetach"/>, <see cref="Efl.Object.IsCompositePart"/>.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <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) {
/// This functions also sets the parent of comp_obj to <c>null</c>.
///
/// See <see cref="Efl.Object.AttachComposite"/>, <see cref="Efl.Object.IsCompositePart"/>.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <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) {
}
/// <summary>Check if an object is part of a composite object.
/// See <see cref="Efl.Object.AttachComposite"/>, <see cref="Efl.Object.IsCompositePart"/>.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
+ /// <summary>Will register a manager of a specific class to be answered by eo.provider_find.
+ /// (Since EFL 1.22)</summary>
+ /// <param name="klass">The class provided by the registered provider.</param>
+ /// <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 ProviderRegister(Type klass, Efl.Object provider) {
+ var _ret_var = Efl.Object.NativeMethods.efl_provider_register_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),klass, provider);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Will unregister a manager of a specific class that was previously registered and answered by eo.provider_find.
+ /// (Since EFL 1.22)</summary>
+ /// <param name="klass">The class provided by the provider to unregister for.</param>
+ /// <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 ProviderUnregister(Type klass, Efl.Object provider) {
+ var _ret_var = Efl.Object.NativeMethods.efl_provider_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>The parent of an object.
/// Parents keep references to their children and will release these references when destroyed. In this way, objects can be assigned to a parent upon creation, tying their life cycle so the programmer does not need to worry about destroying the child object. In order to destroy an object before its parent, set the parent to <c>NULL</c> and use efl_unref(), or use efl_del() directly.
///
/// In a normal object use case, when ownership of an object is given to a caller, said ownership should be released with efl_unref(). If the object has a parent, this will print error messages, as efl_unref() is stealing the ref from the parent.
///
/// Warning: Use this function very carefully, unless you're absolutely sure of what you are doing.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>Whether to allow efl_unref() to zero even if <see cref="Efl.Object.Parent"/> is not <c>null</c>.</value>
public bool AllowParentUnref {
get { return GetAllowParentUnref(); }
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) });
}
+ if (efl_provider_register_static_delegate == null)
+ {
+ efl_provider_register_static_delegate = new efl_provider_register_delegate(provider_register);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "ProviderRegister") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_provider_register"), func = Marshal.GetFunctionPointerForDelegate(efl_provider_register_static_delegate) });
+ }
+
+ if (efl_provider_unregister_static_delegate == null)
+ {
+ efl_provider_unregister_static_delegate = new efl_provider_unregister_delegate(provider_unregister);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "ProviderUnregister") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_provider_unregister"), func = Marshal.GetFunctionPointerForDelegate(efl_provider_unregister_static_delegate) });
+ }
+
descs.AddRange(base.GetEoOps(type));
return descs;
}
private static efl_composite_part_is_delegate efl_composite_part_is_static_delegate;
- #pragma warning restore CA1707, CS1591, SA1300, SA1600
-
-}
-}
-}
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_provider_register_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEflClass))] Type klass, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Object provider);
-namespace Efl {
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_provider_register_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEflClass))] Type klass, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Object provider);
-/// <summary>A parameter passed in event callbacks holding extra event parameters.
-/// 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.
- /// (Since EFL 1.22)</summary>
- public Efl.Object Object;
- /// <summary>The event description.
- /// (Since EFL 1.22)</summary>
- public Efl.EventDescription Desc;
- /// <summary>Extra event information passed by the event caller. Must be cast to the event type declared in the EO file. Keep in mind that: 1) Objects are passed as a normal Eo*. Event subscribers can call functions on these objects. 2) Structs, built-in types and containers are passed as const pointers, with one level of indirection.
- /// (Since EFL 1.22)</summary>
- public System.IntPtr Info;
- ///<summary>Constructor for Event.</summary>
- public Event(
- Efl.Object Object = default(Efl.Object),
- Efl.EventDescription Desc = default(Efl.EventDescription),
- System.IntPtr Info = default(System.IntPtr) )
- {
- this.Object = Object;
- this.Desc = Desc;
- this.Info = Info;
- }
+ public static Efl.Eo.FunctionWrapper<efl_provider_register_api_delegate> efl_provider_register_ptr = new Efl.Eo.FunctionWrapper<efl_provider_register_api_delegate>(Module, "efl_provider_register");
- ///<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 Event(IntPtr ptr)
- {
- var tmp = (Event.NativeStruct)Marshal.PtrToStructure(ptr, typeof(Event.NativeStruct));
- return tmp;
- }
+ private static bool provider_register(System.IntPtr obj, System.IntPtr pd, Type klass, Efl.Object provider)
+ {
+ Eina.Log.Debug("function efl_provider_register was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((Object)ws.Target).ProviderRegister(klass, provider);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
- #pragma warning disable CS1591
+ return _ret_var;
- ///<summary>Internal wrapper for struct Event.</summary>
- [StructLayout(LayoutKind.Sequential)]
- public struct NativeStruct
- {
- ///<summary>Internal wrapper for field Object</summary>
- public System.IntPtr Object;
-
- public System.IntPtr Desc;
-
- public System.IntPtr Info;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
- public static implicit operator Event.NativeStruct(Event _external_struct)
- {
- var _internal_struct = new Event.NativeStruct();
- _internal_struct.Object = _external_struct.Object?.NativeHandle ?? System.IntPtr.Zero;
- _internal_struct.Desc = Eina.PrimitiveConversion.ManagedToPointerAlloc(_external_struct.Desc);
- _internal_struct.Info = _external_struct.Info;
- return _internal_struct;
+ }
+ else
+ {
+ return efl_provider_register_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), klass, provider);
+ }
}
- ///<summary>Implicit conversion to the managed representation.</summary>
- public static implicit operator Event(Event.NativeStruct _internal_struct)
+ private static efl_provider_register_delegate efl_provider_register_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_provider_unregister_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEflClass))] Type klass, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Object provider);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_provider_unregister_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEflClass))] Type klass, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Object provider);
+
+ public static Efl.Eo.FunctionWrapper<efl_provider_unregister_api_delegate> efl_provider_unregister_ptr = new Efl.Eo.FunctionWrapper<efl_provider_unregister_api_delegate>(Module, "efl_provider_unregister");
+
+ private static bool provider_unregister(System.IntPtr obj, System.IntPtr pd, Type klass, Efl.Object provider)
{
- var _external_struct = new Event();
+ Eina.Log.Debug("function efl_provider_unregister was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((Object)ws.Target).ProviderUnregister(klass, provider);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
- _external_struct.Object = (Efl.Object) Efl.Eo.Globals.CreateWrapperFor(_internal_struct.Object);
- _external_struct.Desc = Eina.PrimitiveConversion.PointerToManaged<Efl.EventDescription>(_internal_struct.Desc);
- _external_struct.Info = _internal_struct.Info;
- return _external_struct;
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_provider_unregister_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), klass, provider);
+ }
}
- }
+ private static efl_provider_unregister_delegate efl_provider_unregister_static_delegate;
- #pragma warning restore CS1591
+ #pragma warning restore CA1707, CS1591, SA1300, SA1600
}
-
+}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflObject_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Object> Parent<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Object, T>magic = null) where T : Efl.Object {
+ return new Efl.BindableProperty<Efl.Object>("parent", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> Name<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Object, T>magic = null) where T : Efl.Object {
+ return new Efl.BindableProperty<System.String>("name", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> Comment<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Object, T>magic = null) where T : Efl.Object {
+ return new Efl.BindableProperty<System.String>("comment", fac);
+ }
+
+
+
+
+
+
+ public static Efl.BindableProperty<bool> AllowParentUnref<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Object, T>magic = null) where T : Efl.Object {
+ return new Efl.BindableProperty<bool>("allow_parent_unref", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Efl {
/// <summary>Efl observable class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Observable.NativeMethods]
[Efl.Eo.BindingEntity]
public class Observable : Efl.Object
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Observable(ConstructingHandle ch) : base(ch)
{
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflObservable_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
namespace Efl {
/// <summary>This type describes an observable touple</summary>
public System.String Key;
/// <summary>Touple data</summary>
public Eina.Iterator<Efl.IObserver> Data;
- ///<summary>Constructor for ObservableTuple.</summary>
+ /// <summary>Constructor for ObservableTuple.</summary>
+ /// <param name="Key">Touple key</param>;
+ /// <param name="Data">Touple data</param>;
public ObservableTuple(
System.String Key = default(System.String),
Eina.Iterator<Efl.IObserver> Data = default(Eina.Iterator<Efl.IObserver>) )
this.Data = Data;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 ObservableTuple(IntPtr ptr)
{
var tmp = (ObservableTuple.NativeStruct)Marshal.PtrToStructure(ptr, typeof(ObservableTuple.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct ObservableTuple.</summary>
+ /// <summary>Internal wrapper for struct ObservableTuple.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
- ///<summary>Internal wrapper for field Key</summary>
+ /// <summary>Internal wrapper for field Key</summary>
public System.IntPtr Key;
public System.IntPtr Data;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator ObservableTuple.NativeStruct(ObservableTuple _external_struct)
{
var _internal_struct = new ObservableTuple.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator ObservableTuple(ObservableTuple.NativeStruct _internal_struct)
{
var _external_struct = new ObservableTuple();
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Efl {
/// <summary>Efl observer interface</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.IObserverConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IObserver :
void Update(Efl.Object obs, System.String key, System.IntPtr data);
}
/// <summary>Efl observer interface</summary>
-sealed public class IObserverConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IObserverConcrete :
Efl.Eo.EoWrapper
, IObserver
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IObserverConcrete(ConstructingHandle ch) : base(ch)
{
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflIObserverConcrete_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
bool Pack(Efl.Gfx.IEntity subobj);
}
/// <summary>Common interface for objects (containers) with multiple contents (sub-objects) which can be added and removed at runtime.</summary>
-sealed public class IPackConcrete :
+sealed public class IPackConcrete :
Efl.Eo.EoWrapper
, IPack
, Efl.IContainer
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IPackConcrete(ConstructingHandle ch) : base(ch)
{
/// <summary>Sent after a new sub-object was added.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContainerContentAddedEvt_Args"/></value>
public event EventHandler<Efl.IContainerContentAddedEvt_Args> ContentAddedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentAddedEvt.</summary>
+ /// <summary>Method to raise event ContentAddedEvt.</summary>
public void OnContentAddedEvt(Efl.IContainerContentAddedEvt_Args e)
{
var key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED";
}
/// <summary>Sent after a sub-object was removed, before unref.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContainerContentRemovedEvt_Args"/></value>
public event EventHandler<Efl.IContainerContentRemovedEvt_Args> ContentRemovedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentRemovedEvt.</summary>
+ /// <summary>Method to raise event ContentRemovedEvt.</summary>
public void OnContentRemovedEvt(Efl.IContainerContentRemovedEvt_Args e)
{
var key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED";
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflIPackConcrete_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <summary>Low-level APIs for object that can lay their children out.
/// Used for containers (box, grid).</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.IPackLayoutConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IPackLayout :
}
/// <summary>Low-level APIs for object that can lay their children out.
/// Used for containers (box, grid).</summary>
-sealed public class IPackLayoutConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IPackLayoutConcrete :
Efl.Eo.EoWrapper
, IPackLayout
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IPackLayoutConcrete(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event LayoutUpdatedEvt.</summary>
+ /// <summary>Method to raise event LayoutUpdatedEvt.</summary>
public void OnLayoutUpdatedEvt(EventArgs e)
{
var key = "_EFL_PACK_EVENT_LAYOUT_UPDATED";
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflIPackLayoutConcrete_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
}
/// <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>
-sealed public class IPackLinearConcrete :
+sealed public class IPackLinearConcrete :
Efl.Eo.EoWrapper
, IPackLinear
, Efl.IContainer, Efl.IPack
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IPackLinearConcrete(ConstructingHandle ch) : base(ch)
{
/// <summary>Sent after a new sub-object was added.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContainerContentAddedEvt_Args"/></value>
public event EventHandler<Efl.IContainerContentAddedEvt_Args> ContentAddedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentAddedEvt.</summary>
+ /// <summary>Method to raise event ContentAddedEvt.</summary>
public void OnContentAddedEvt(Efl.IContainerContentAddedEvt_Args e)
{
var key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED";
}
/// <summary>Sent after a sub-object was removed, before unref.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContainerContentRemovedEvt_Args"/></value>
public event EventHandler<Efl.IContainerContentRemovedEvt_Args> ContentRemovedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentRemovedEvt.</summary>
+ /// <summary>Method to raise event ContentRemovedEvt.</summary>
public void OnContentRemovedEvt(Efl.IContainerContentRemovedEvt_Args e)
{
var key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED";
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflIPackLinearConcrete_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.IPackTableConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IPackTable :
Efl.IPack ,
Efl.Eo.IWrapper, IDisposable
{
- /// <summary>Position and span of the <c>subobj</c> in this container, may be modified to move the <c>subobj</c></summary>
+ /// <summary>column of the <c>subobj</c> in this container.</summary>
+/// <param name="subobj">Child object</param>
+/// <param name="col">Column number</param>
+/// <param name="colspan">Column span</param>
+/// <returns>Returns false if item is not a child</returns>
+bool GetTableCellColumn(Efl.Gfx.IEntity subobj, out int col, out int colspan);
+ /// <summary>column of the <c>subobj</c> in this container.</summary>
/// <param name="subobj">Child object</param>
/// <param name="col">Column number</param>
-/// <param name="row">Row number</param>
/// <param name="colspan">Column span</param>
+void SetTableCellColumn(Efl.Gfx.IEntity subobj, int col, int colspan);
+ /// <summary>row of the <c>subobj</c> in this container.</summary>
+/// <param name="subobj">Child object</param>
+/// <param name="row">Row number</param>
/// <param name="rowspan">Row span</param>
/// <returns>Returns false if item is not a child</returns>
-bool GetTablePosition(Efl.Gfx.IEntity subobj, out int col, out int row, out int colspan, out int rowspan);
+bool GetTableCellRow(Efl.Gfx.IEntity subobj, out int row, out int rowspan);
+ /// <summary>row of the <c>subobj</c> in this container.</summary>
+/// <param name="subobj">Child object</param>
+/// <param name="row">Row number</param>
+/// <param name="rowspan">Row span</param>
+void SetTableCellRow(Efl.Gfx.IEntity subobj, int row, int rowspan);
/// <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>
/// <param name="row">Row number</param>
/// <returns>Child object</returns>
Efl.Gfx.IEntity GetTableContent(int col, int row);
- /// <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>Combines <see cref="Efl.IPackTable.TableColumns"/> and <see cref="Efl.IPackTable.TableRows"/></summary>
+ /// <value>Number of columns</value>
+ (int, int) TableSize {
+ get;
+ set;
+ }
+ /// <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>
/// <value>Amount of columns.</value>
int TableColumns {
- get ;
- set ;
+ get;
+ set;
}
/// <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>
/// <value>Amount of rows.</value>
int TableRows {
- get ;
- set ;
+ get;
+ set;
}
}
/// <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>
-sealed public class IPackTableConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IPackTableConcrete :
Efl.Eo.EoWrapper
, IPackTable
, Efl.IContainer, Efl.IPack
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IPackTableConcrete(ConstructingHandle ch) : base(ch)
{
/// <summary>Sent after a new sub-object was added.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContainerContentAddedEvt_Args"/></value>
public event EventHandler<Efl.IContainerContentAddedEvt_Args> ContentAddedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentAddedEvt.</summary>
+ /// <summary>Method to raise event ContentAddedEvt.</summary>
public void OnContentAddedEvt(Efl.IContainerContentAddedEvt_Args e)
{
var key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED";
}
/// <summary>Sent after a sub-object was removed, before unref.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContainerContentRemovedEvt_Args"/></value>
public event EventHandler<Efl.IContainerContentRemovedEvt_Args> ContentRemovedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentRemovedEvt.</summary>
+ /// <summary>Method to raise event ContentRemovedEvt.</summary>
public void OnContentRemovedEvt(Efl.IContainerContentRemovedEvt_Args e)
{
var key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED";
IntPtr info = e.arg.NativeHandle;
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
- /// <summary>Position and span of the <c>subobj</c> in this container, may be modified to move the <c>subobj</c></summary>
+ /// <summary>column of the <c>subobj</c> in this container.</summary>
/// <param name="subobj">Child object</param>
/// <param name="col">Column number</param>
- /// <param name="row">Row number</param>
/// <param name="colspan">Column span</param>
+ /// <returns>Returns false if item is not a child</returns>
+ public bool GetTableCellColumn(Efl.Gfx.IEntity subobj, out int col, out int colspan) {
+ var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_cell_column_get_ptr.Value.Delegate(this.NativeHandle,subobj, out col, out colspan);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>column of the <c>subobj</c> in this container.</summary>
+ /// <param name="subobj">Child object</param>
+ /// <param name="col">Column number</param>
+ /// <param name="colspan">Column span</param>
+ public void SetTableCellColumn(Efl.Gfx.IEntity subobj, int col, int colspan) {
+ Efl.IPackTableConcrete.NativeMethods.efl_pack_table_cell_column_set_ptr.Value.Delegate(this.NativeHandle,subobj, col, colspan);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>row of the <c>subobj</c> in this container.</summary>
+ /// <param name="subobj">Child object</param>
+ /// <param name="row">Row number</param>
/// <param name="rowspan">Row span</param>
/// <returns>Returns false if item is not a child</returns>
- 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(this.NativeHandle,subobj, out col, out row, out colspan, out rowspan);
+ public bool GetTableCellRow(Efl.Gfx.IEntity subobj, out int row, out int rowspan) {
+ var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_cell_row_get_ptr.Value.Delegate(this.NativeHandle,subobj, out row, out rowspan);
Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
+ return _ret_var;
}
+ /// <summary>row of the <c>subobj</c> in this container.</summary>
+ /// <param name="subobj">Child object</param>
+ /// <param name="row">Row number</param>
+ /// <param name="rowspan">Row span</param>
+ public void SetTableCellRow(Efl.Gfx.IEntity subobj, int row, int rowspan) {
+ Efl.IPackTableConcrete.NativeMethods.efl_pack_table_cell_row_set_ptr.Value.Delegate(this.NativeHandle,subobj, row, rowspan);
+ 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>
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
+ /// <summary>Combines <see cref="Efl.IPackTable.TableColumns"/> and <see cref="Efl.IPackTable.TableRows"/></summary>
+ /// <value>Number of columns</value>
+ public (int, int) TableSize {
+ get {
+ int _out_cols = default(int);
+ int _out_rows = default(int);
+ GetTableSize(out _out_cols,out _out_rows);
+ return (_out_cols,_out_rows);
+ }
+ set { SetTableSize( value.Item1, value.Item2); }
+ }
/// <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>
/// <value>Amount of columns.</value>
public int TableColumns {
var descs = new System.Collections.Generic.List<Efl_Op_Description>();
var methods = Efl.Eo.Globals.GetUserMethods(type);
- if (efl_pack_table_position_get_static_delegate == null)
+ if (efl_pack_table_cell_column_get_static_delegate == null)
+ {
+ efl_pack_table_cell_column_get_static_delegate = new efl_pack_table_cell_column_get_delegate(table_cell_column_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetTableCellColumn") != null)
{
- efl_pack_table_position_get_static_delegate = new efl_pack_table_position_get_delegate(table_position_get);
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_cell_column_get"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_cell_column_get_static_delegate) });
}
- if (methods.FirstOrDefault(m => m.Name == "GetTablePosition") != null)
+ if (efl_pack_table_cell_column_set_static_delegate == null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_position_get"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_position_get_static_delegate) });
+ efl_pack_table_cell_column_set_static_delegate = new efl_pack_table_cell_column_set_delegate(table_cell_column_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetTableCellColumn") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_cell_column_set"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_cell_column_set_static_delegate) });
+ }
+
+ if (efl_pack_table_cell_row_get_static_delegate == null)
+ {
+ efl_pack_table_cell_row_get_static_delegate = new efl_pack_table_cell_row_get_delegate(table_cell_row_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetTableCellRow") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_cell_row_get"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_cell_row_get_static_delegate) });
+ }
+
+ if (efl_pack_table_cell_row_set_static_delegate == null)
+ {
+ efl_pack_table_cell_row_set_static_delegate = new efl_pack_table_cell_row_set_delegate(table_cell_row_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetTableCellRow") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_cell_row_set"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_cell_row_set_static_delegate) });
}
if (efl_pack_table_size_get_static_delegate == null)
#pragma warning disable CA1707, CS1591, SA1300, SA1600
[return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_pack_table_position_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, out int col, out int row, out int colspan, out int rowspan);
+ private delegate bool efl_pack_table_cell_column_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, out int col, out int colspan);
[return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_pack_table_position_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, out int col, out int row, out int colspan, out int rowspan);
+ public delegate bool efl_pack_table_cell_column_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, out int col, out int colspan);
- public static Efl.Eo.FunctionWrapper<efl_pack_table_position_get_api_delegate> efl_pack_table_position_get_ptr = new Efl.Eo.FunctionWrapper<efl_pack_table_position_get_api_delegate>(Module, "efl_pack_table_position_get");
+ public static Efl.Eo.FunctionWrapper<efl_pack_table_cell_column_get_api_delegate> efl_pack_table_cell_column_get_ptr = new Efl.Eo.FunctionWrapper<efl_pack_table_cell_column_get_api_delegate>(Module, "efl_pack_table_cell_column_get");
- private static bool table_position_get(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, out int col, out int row, out int colspan, out int rowspan)
+ private static bool table_cell_column_get(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, out int col, out int colspan)
{
- Eina.Log.Debug("function efl_pack_table_position_get was called");
+ Eina.Log.Debug("function efl_pack_table_cell_column_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- col = default(int); row = default(int); colspan = default(int); rowspan = default(int); bool _ret_var = default(bool);
+ col = default(int); colspan = default(int); bool _ret_var = default(bool);
try
{
- _ret_var = ((IPackTable)ws.Target).GetTablePosition(subobj, out col, out row, out colspan, out rowspan);
+ _ret_var = ((IPackTable)ws.Target).GetTableCellColumn(subobj, out col, out colspan);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
- return _ret_var;
+ return _ret_var;
}
else
{
- return efl_pack_table_position_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, out col, out row, out colspan, out rowspan);
+ return efl_pack_table_cell_column_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, out col, out colspan);
}
}
- private static efl_pack_table_position_get_delegate efl_pack_table_position_get_static_delegate;
+ private static efl_pack_table_cell_column_get_delegate efl_pack_table_cell_column_get_static_delegate;
+
+
+ private delegate void efl_pack_table_cell_column_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, int col, int colspan);
+
+
+ public delegate void efl_pack_table_cell_column_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, int col, int colspan);
+
+ public static Efl.Eo.FunctionWrapper<efl_pack_table_cell_column_set_api_delegate> efl_pack_table_cell_column_set_ptr = new Efl.Eo.FunctionWrapper<efl_pack_table_cell_column_set_api_delegate>(Module, "efl_pack_table_cell_column_set");
+
+ private static void table_cell_column_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, int col, int colspan)
+ {
+ Eina.Log.Debug("function efl_pack_table_cell_column_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((IPackTable)ws.Target).SetTableCellColumn(subobj, col, colspan);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_pack_table_cell_column_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, col, colspan);
+ }
+ }
+
+ private static efl_pack_table_cell_column_set_delegate efl_pack_table_cell_column_set_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_pack_table_cell_row_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, out int row, out int rowspan);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_pack_table_cell_row_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, out int row, out int rowspan);
+
+ public static Efl.Eo.FunctionWrapper<efl_pack_table_cell_row_get_api_delegate> efl_pack_table_cell_row_get_ptr = new Efl.Eo.FunctionWrapper<efl_pack_table_cell_row_get_api_delegate>(Module, "efl_pack_table_cell_row_get");
+
+ private static bool table_cell_row_get(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, out int row, out int rowspan)
+ {
+ Eina.Log.Debug("function efl_pack_table_cell_row_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ row = default(int); rowspan = default(int); bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((IPackTable)ws.Target).GetTableCellRow(subobj, out row, out rowspan);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_pack_table_cell_row_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, out row, out rowspan);
+ }
+ }
+
+ private static efl_pack_table_cell_row_get_delegate efl_pack_table_cell_row_get_static_delegate;
+
+
+ private delegate void efl_pack_table_cell_row_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, int row, int rowspan);
+
+
+ public delegate void efl_pack_table_cell_row_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, int row, int rowspan);
+
+ public static Efl.Eo.FunctionWrapper<efl_pack_table_cell_row_set_api_delegate> efl_pack_table_cell_row_set_ptr = new Efl.Eo.FunctionWrapper<efl_pack_table_cell_row_set_api_delegate>(Module, "efl_pack_table_cell_row_set");
+
+ private static void table_cell_row_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, int row, int rowspan)
+ {
+ Eina.Log.Debug("function efl_pack_table_cell_row_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((IPackTable)ws.Target).SetTableCellRow(subobj, row, rowspan);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_pack_table_cell_row_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, row, rowspan);
+ }
+ }
+
+ private static efl_pack_table_cell_row_set_delegate efl_pack_table_cell_row_set_static_delegate;
private delegate void efl_pack_table_size_get_delegate(System.IntPtr obj, System.IntPtr pd, out int cols, out int rows);
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflIPackTableConcrete_ExtensionMethods {
+
+
+
+ public static Efl.BindableProperty<int> TableColumns<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.IPackTable, T>magic = null) where T : Efl.IPackTable {
+ return new Efl.BindableProperty<int>("table_columns", fac);
+ }
+
+ public static Efl.BindableProperty<int> TableRows<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.IPackTable, T>magic = null) where T : Efl.IPackTable {
+ return new Efl.BindableProperty<int>("table_rows", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
///
/// part = ref(part(obj, "part")) func1(part, args) func2(part, args) func3(part, args) unref(part)
/// (Since EFL 1.22)</summary>
-sealed public class IPartConcrete :
+sealed public class IPartConcrete :
Efl.Eo.EoWrapper
, IPart
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IPartConcrete(ConstructingHandle ch) : base(ch)
{
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflIPartConcrete_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Efl {
/// <summary>Efl media playable interface</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.IPlayableConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IPlayable :
/// <summary>Get the length of play for the media file.</summary>
/// <value>The length of the stream in seconds.</value>
double Length {
- get ;
+ get;
}
bool Playable {
- get ;
+ get;
}
/// <summary>Get whether the media file is seekable.</summary>
/// <value><c>true</c> if seekable.</value>
bool Seekable {
- get ;
+ get;
}
}
/// <summary>Efl media playable interface</summary>
-sealed public class IPlayableConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IPlayableConcrete :
Efl.Eo.EoWrapper
, IPlayable
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IPlayableConcrete(ConstructingHandle ch) : base(ch)
{
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflIPlayableConcrete_ExtensionMethods {
+
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Efl {
/// <summary>Efl media player interface</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.IPlayerConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IPlayer :
/// <summary>Whether or not the playable can be played.</summary>
/// <value><c>true</c> if the object have playable data, <c>false</c> otherwise</value>
bool Playable {
- get ;
+ get;
}
/// <summary>Get play/pause state of the media file.</summary>
/// <value><c>true</c> if playing, <c>false</c> otherwise.</value>
bool Play {
- get ;
- set ;
+ get;
+ set;
}
/// <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>
/// <value>The position (in seconds).</value>
double Pos {
- get ;
- set ;
+ get;
+ set;
}
/// <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>
/// <value>The progress within the [0, 1] range.</value>
double Progress {
- get ;
+ get;
}
/// <summary>Control the play speed of the media file.
/// 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>
/// <value>The play speed in the [0, infinity) range.</value>
double PlaySpeed {
- get ;
- set ;
+ get;
+ set;
}
/// <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>
/// <value>The volume level</value>
double Volume {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>This property controls the audio mute state.</summary>
/// <value>The mute state. <c>true</c> or <c>false</c>.</value>
bool Mute {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>Get the length of play for the media file.</summary>
/// <value>The length of the stream in seconds.</value>
double Length {
- get ;
+ get;
}
/// <summary>Get whether the media file is seekable.</summary>
/// <value><c>true</c> if seekable.</value>
bool Seekable {
- get ;
+ get;
}
}
/// <summary>Efl media player interface</summary>
-sealed public class IPlayerConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IPlayerConcrete :
Efl.Eo.EoWrapper
, IPlayer
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IPlayerConcrete(ConstructingHandle ch) : base(ch)
{
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflIPlayerConcrete_ExtensionMethods {
+
+ public static Efl.BindableProperty<bool> Play<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.IPlayer, T>magic = null) where T : Efl.IPlayer {
+ return new Efl.BindableProperty<bool>("play", fac);
+ }
+
+ public static Efl.BindableProperty<double> Pos<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.IPlayer, T>magic = null) where T : Efl.IPlayer {
+ return new Efl.BindableProperty<double>("pos", fac);
+ }
+
+
+ public static Efl.BindableProperty<double> PlaySpeed<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.IPlayer, T>magic = null) where T : Efl.IPlayer {
+ return new Efl.BindableProperty<double>("play_speed", fac);
+ }
+
+ public static Efl.BindableProperty<double> Volume<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.IPlayer, T>magic = null) where T : Efl.IPlayer {
+ return new Efl.BindableProperty<double>("volume", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Mute<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.IPlayer, T>magic = null) where T : Efl.IPlayer {
+ return new Efl.BindableProperty<bool>("mute", fac);
+ }
+
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// (Since EFL 1.22)</summary>
/// <value>The screen size in pixels.</value>
Eina.Size2D ScreenSizeInPixels {
- get ;
+ get;
}
/// <summary>Get screen scaling factor.
/// This is the factor by which window contents will be scaled on the screen.
/// (Since EFL 1.22)</summary>
/// <value>The screen scaling factor.</value>
float ScreenScaleFactor {
- get ;
+ get;
}
/// <summary>Get the rotation of the screen.
/// Most engines only return multiples of 90.
/// (Since EFL 1.22)</summary>
/// <value>Screen rotation in degrees.</value>
int ScreenRotation {
- get ;
+ get;
+ }
+ /// <summary>Get the pixel density in DPI (Dots Per Inch) for the screen that a window is on.
+ /// (Since EFL 1.22)</summary>
+ (int, int) ScreenDpi {
+ get;
}
}
/// <summary>Efl screen interface
/// (Since EFL 1.22)</summary>
-sealed public class IScreenConcrete :
+sealed public class IScreenConcrete :
Efl.Eo.EoWrapper
, IScreen
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IScreenConcrete(ConstructingHandle ch) : base(ch)
{
public int ScreenRotation {
get { return GetScreenRotation(); }
}
+ /// <summary>Get the pixel density in DPI (Dots Per Inch) for the screen that a window is on.
+ /// (Since EFL 1.22)</summary>
+ public (int, int) ScreenDpi {
+ get {
+ int _out_xdpi = default(int);
+ int _out_ydpi = default(int);
+ GetScreenDpi(out _out_xdpi,out _out_ydpi);
+ return (_out_xdpi,_out_ydpi);
+ }
+ }
private static IntPtr GetEflClassStatic()
{
return Efl.IScreenConcrete.efl_screen_interface_get();
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflIScreenConcrete_ExtensionMethods {
+
+
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
using System.ComponentModel;
namespace Efl {
-///<summary>Event argument wrapper for event <see cref="Efl.SelectModel.SelectedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value></value>
public Efl.Object arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.SelectModel.UnselectedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value></value>
public Efl.Object arg { get; set; }
}
/// <summary>Efl select model class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.SelectModel.NativeMethods]
[Efl.Eo.BindingEntity]
public class SelectModel : Efl.BooleanModel
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected SelectModel(ConstructingHandle ch) : base(ch)
{
{
}
+ /// <value><see cref="Efl.SelectModelSelectedEvt_Args"/></value>
public event EventHandler<Efl.SelectModelSelectedEvt_Args> SelectedEvt
{
add
}
}
}
- ///<summary>Method to raise event SelectedEvt.</summary>
+ /// <summary>Method to raise event SelectedEvt.</summary>
public void OnSelectedEvt(Efl.SelectModelSelectedEvt_Args e)
{
var key = "_EFL_SELECT_MODEL_EVENT_SELECTED";
IntPtr info = e.arg.NativeHandle;
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
+ /// <value><see cref="Efl.SelectModelUnselectedEvt_Args"/></value>
public event EventHandler<Efl.SelectModelUnselectedEvt_Args> UnselectedEvt
{
add
}
}
}
- ///<summary>Method to raise event UnselectedEvt.</summary>
+ /// <summary>Method to raise event UnselectedEvt.</summary>
public void OnUnselectedEvt(Efl.SelectModelUnselectedEvt_Args e)
{
var key = "_EFL_SELECT_MODEL_EVENT_UNSELECTED";
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflSelectModel_ExtensionMethods {
+ public static Efl.BindableProperty<bool> SingleSelection<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.SelectModel, T>magic = null) where T : Efl.SelectModel {
+ return new Efl.BindableProperty<bool>("single_selection", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <summary>Efl sinusoidal interpolator class
/// output = (1 - cos(input * Pi)) / 2;</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.SinusoidalInterpolator.NativeMethods]
[Efl.Eo.BindingEntity]
public class SinusoidalInterpolator : Efl.Object, Efl.IInterpolator
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected SinusoidalInterpolator(ConstructingHandle ch) : base(ch)
{
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflSinusoidalInterpolator_ExtensionMethods {
+ public static Efl.BindableProperty<double> Factor<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.SinusoidalInterpolator, T>magic = null) where T : Efl.SinusoidalInterpolator {
+ return new Efl.BindableProperty<double>("factor", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Efl {
/// <summary>Efl spring interpolator class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.SpringInterpolator.NativeMethods]
[Efl.Eo.BindingEntity]
public class SpringInterpolator : Efl.Object, Efl.IInterpolator
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected SpringInterpolator(ConstructingHandle ch) : base(ch)
{
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
+ /// <summary>Factors property</summary>
+ /// <value>First factor of the interpolation function.</value>
+ public (double, double) Factors {
+ get {
+ double _out_factor1 = default(double);
+ double _out_factor2 = default(double);
+ GetFactors(out _out_factor1,out _out_factor2);
+ return (_out_factor1,_out_factor2);
+ }
+ set { SetFactors( value.Item1, value.Item2); }
+ }
private static IntPtr GetEflClassStatic()
{
return Efl.SpringInterpolator.efl_spring_interpolator_class_get();
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflSpringInterpolator_ExtensionMethods {
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
[Efl.Eo.BindingEntity]
public abstract class Task : Efl.LoopConsumer
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Task(ConstructingHandle ch) : base(ch)
{
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
- /// <summary>Flags to further customize task's behavior.
+ /// <summary>Flags to further customize task's behavior. The default value: exit_with_parent
/// (Since EFL 1.22)</summary>
/// <returns>Desired task flags.</returns>
virtual public Efl.TaskFlags GetFlags() {
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
- /// <summary>Flags to further customize task's behavior.
+ /// <summary>Flags to further customize task's behavior. The default value: exit_with_parent
/// (Since EFL 1.22)</summary>
/// <param name="flags">Desired task flags.</param>
virtual public void SetFlags(Efl.TaskFlags flags) {
public int ExitCode {
get { return GetExitCode(); }
}
- /// <summary>Flags to further customize task's behavior.
+ /// <summary>Flags to further customize task's behavior. The default value: exit_with_parent
/// (Since EFL 1.22)</summary>
/// <value>Desired task flags.</value>
public Efl.TaskFlags Flags {
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflTask_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.TaskPriority> Priority<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Task, T>magic = null) where T : Efl.Task {
+ return new Efl.BindableProperty<Efl.TaskPriority>("priority", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.TaskFlags> Flags<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Task, T>magic = null) where T : Efl.Task {
+ return new Efl.BindableProperty<Efl.TaskFlags>("flags", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
namespace Efl {
/// <summary>How much processor time will this task get compared to other tasks running on the same processor.
UseStdout = 2,
/// <summary>Task will not produce an exit code upon termination.</summary>
NoExitCodeError = 4,
+/// <summary>Exit when parent exits.</summary>
+ExitWithParent = 8,
}
}
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
}
/// <summary>Efl text interface
/// (Since EFL 1.22)</summary>
-sealed public class ITextConcrete :
+sealed public class ITextConcrete :
Efl.Eo.EoWrapper
, IText
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private ITextConcrete(ConstructingHandle ch) : base(ch)
{
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflITextConcrete_ExtensionMethods {
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Efl {
/// <summary>Cursor API</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.ITextAnnotateConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface ITextAnnotate :
Efl.TextAnnotateAnnotation CursorItemInsert(Efl.TextCursorCursor cur, System.String item, System.String format);
}
/// <summary>Cursor API</summary>
-sealed public class ITextAnnotateConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class ITextAnnotateConcrete :
Efl.Eo.EoWrapper
, ITextAnnotate
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private ITextAnnotateConcrete(ConstructingHandle ch) : base(ch)
{
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflITextAnnotateConcrete_ExtensionMethods {
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Efl {
/// <summary>Cursor API</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.ITextCursorConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface ITextCursor :
void CursorCharDelete(Efl.TextCursorCursor cur);
}
/// <summary>Cursor API</summary>
-sealed public class ITextCursorConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class ITextCursorConcrete :
Efl.Eo.EoWrapper
, ITextCursor
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private ITextCursorConcrete(ConstructingHandle ch) : base(ch)
{
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflITextCursorConcrete_ExtensionMethods {
+
+
+
+
+}
+#pragma warning restore CS1591
+#endif
namespace Efl {
/// <summary>All available cursor states</summary>
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Efl {
/// <summary>Font settings of the text</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.ITextFontConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface ITextFont :
/// <summary>Set the font family, filename and size for a given text object.
/// This function allows the font name and size of a text object to be set. The font string has to follow fontconfig's convention for naming fonts, as it's the underlying library used to query system fonts by Evas (see the fc-list command's output, on your system, to get an idea). Alternatively, youe can use the full path to a font file.
///
+/// To skip changing font family pass null as font family. To skip changing font size pass 0 as font size.
+///
/// See also <see cref="Efl.ITextFont.GetFont"/>, <see cref="Efl.ITextFont.GetFontSource"/>.</summary>
/// <param name="font">The font family name or filename.</param>
/// <param name="size">The font size, in points.</param>
/// Default is <see cref="Efl.TextFontBitmapScalable.None"/>.</summary>
/// <param name="scalable">Scalable</param>
void SetFontBitmapScalable(Efl.TextFontBitmapScalable scalable);
- /// <summary>Get the font file's path which is being used on a given text object.
+ /// <summary>Retrieve the font family and size in use on a given text object.
+ /// This function allows the font name and size of a text object to be queried. Remember that the font name string is still owned by Evas and should not have free() called on it by the caller of the function.
+ ///
+ /// See also <see cref="Efl.ITextFont.GetFont"/>.</summary>
+ /// <value>The font family name or filename.</value>
+ (System.String, Efl.Font.Size) Font {
+ get;
+ set;
+ }
+ /// <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>
/// <value>The font file's path.</value>
System.String FontSource {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>Comma-separated list of font fallbacks
/// Will be used in case the primary font isn't available.</summary>
/// <value>Font name fallbacks</value>
System.String FontFallbacks {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>Type of weight of the displayed font
/// Default is <see cref="Efl.TextFontWeight.Normal"/>.</summary>
/// <value>Font weight</value>
Efl.TextFontWeight FontWeight {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>Type of slant of the displayed font
/// Default is <see cref="Efl.TextFontSlant.Normal"/>.</summary>
/// <value>Font slant</value>
Efl.TextFontSlant FontSlant {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>Type of width of the displayed font
/// Default is <see cref="Efl.TextFontWidth.Normal"/>.</summary>
/// <value>Font width</value>
Efl.TextFontWidth FontWidth {
- get ;
- set ;
+ get;
+ set;
}
/// <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>
/// <value>Language</value>
System.String FontLang {
- get ;
- set ;
+ get;
+ set;
}
/// <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>
/// <value>Scalable</value>
Efl.TextFontBitmapScalable FontBitmapScalable {
- get ;
- set ;
+ get;
+ set;
}
}
/// <summary>Font settings of the text</summary>
-sealed public class ITextFontConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class ITextFontConcrete :
Efl.Eo.EoWrapper
, ITextFont
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private ITextFontConcrete(ConstructingHandle ch) : base(ch)
{
/// <summary>Set the font family, filename and size for a given text object.
/// This function allows the font name and size of a text object to be set. The font string has to follow fontconfig's convention for naming fonts, as it's the underlying library used to query system fonts by Evas (see the fc-list command's output, on your system, to get an idea). Alternatively, youe can use the full path to a font file.
///
+ /// To skip changing font family pass null as font family. To skip changing font size pass 0 as font size.
+ ///
/// See also <see cref="Efl.ITextFont.GetFont"/>, <see cref="Efl.ITextFont.GetFontSource"/>.</summary>
/// <param name="font">The font family name or filename.</param>
/// <param name="size">The font size, in points.</param>
Efl.ITextFontConcrete.NativeMethods.efl_text_font_bitmap_scalable_set_ptr.Value.Delegate(this.NativeHandle,scalable);
Eina.Error.RaiseIfUnhandledException();
}
+ /// <summary>Retrieve the font family and size in use on a given text object.
+ /// This function allows the font name and size of a text object to be queried. Remember that the font name string is still owned by Evas and should not have free() called on it by the caller of the function.
+ ///
+ /// See also <see cref="Efl.ITextFont.GetFont"/>.</summary>
+ /// <value>The font family name or filename.</value>
+ public (System.String, Efl.Font.Size) Font {
+ get {
+ System.String _out_font = default(System.String);
+ Efl.Font.Size _out_size = default(Efl.Font.Size);
+ GetFont(out _out_font,out _out_size);
+ return (_out_font,_out_size);
+ }
+ set { SetFont( value.Item1, value.Item2); }
+ }
/// <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>
/// <value>The font file's path.</value>
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflITextFontConcrete_ExtensionMethods {
+
+ public static Efl.BindableProperty<System.String> FontSource<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextFont, T>magic = null) where T : Efl.ITextFont {
+ return new Efl.BindableProperty<System.String>("font_source", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> FontFallbacks<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextFont, T>magic = null) where T : Efl.ITextFont {
+ return new Efl.BindableProperty<System.String>("font_fallbacks", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.TextFontWeight> FontWeight<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextFont, T>magic = null) where T : Efl.ITextFont {
+ return new Efl.BindableProperty<Efl.TextFontWeight>("font_weight", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.TextFontSlant> FontSlant<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextFont, T>magic = null) where T : Efl.ITextFont {
+ return new Efl.BindableProperty<Efl.TextFontSlant>("font_slant", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.TextFontWidth> FontWidth<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextFont, T>magic = null) where T : Efl.ITextFont {
+ return new Efl.BindableProperty<Efl.TextFontWidth>("font_width", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> FontLang<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextFont, T>magic = null) where T : Efl.ITextFont {
+ return new Efl.BindableProperty<System.String>("font_lang", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.TextFontBitmapScalable> FontBitmapScalable<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextFont, T>magic = null) where T : Efl.ITextFont {
+ return new Efl.BindableProperty<Efl.TextFontBitmapScalable>("font_bitmap_scalable", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
namespace Efl {
/// <summary>Type of font weight</summary>
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.ITextFormatConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface ITextFormat :
/// <summary>Ellipsis value (number from -1.0 to 1.0)</summary>
/// <value>Ellipsis value</value>
double Ellipsis {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>Wrap mode for use in the text</summary>
/// <value>Wrap mode</value>
Efl.TextFormatWrap Wrap {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>Multiline is enabled or not</summary>
/// <value><c>true</c> if multiline is enabled, <c>false</c> otherwise</value>
bool Multiline {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>Horizontal alignment of text</summary>
/// <value>Alignment type</value>
Efl.TextFormatHorizontalAlignmentAutoType HalignAutoType {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>Horizontal alignment of text</summary>
/// <value>Horizontal alignment value</value>
double Halign {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>Vertical alignment of text</summary>
/// <value>Vertical alignment value</value>
double Valign {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>Minimal line gap (top and bottom) for each line in the text
/// <c>value</c> is absolute size.</summary>
/// <value>Line gap value</value>
double Linegap {
- get ;
- set ;
+ get;
+ set;
}
/// <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>
/// <value>Relative line gap value</value>
double Linerelgap {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>Tabstops value</summary>
/// <value>Tapstops value</value>
int Tabstops {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>Whether text is a password</summary>
/// <value><c>true</c> if the text is a password, <c>false</c> otherwise</value>
bool Password {
- get ;
- set ;
+ get;
+ set;
}
/// <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>
/// <value>Replacement character</value>
System.String ReplacementChar {
- get ;
- set ;
+ get;
+ set;
}
}
/// <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>
-sealed public class ITextFormatConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class ITextFormatConcrete :
Efl.Eo.EoWrapper
, ITextFormat
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private ITextFormatConcrete(ConstructingHandle ch) : base(ch)
{
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflITextFormatConcrete_ExtensionMethods {
+ public static Efl.BindableProperty<double> Ellipsis<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextFormat, T>magic = null) where T : Efl.ITextFormat {
+ return new Efl.BindableProperty<double>("ellipsis", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.TextFormatWrap> Wrap<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextFormat, T>magic = null) where T : Efl.ITextFormat {
+ return new Efl.BindableProperty<Efl.TextFormatWrap>("wrap", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Multiline<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextFormat, T>magic = null) where T : Efl.ITextFormat {
+ return new Efl.BindableProperty<bool>("multiline", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.TextFormatHorizontalAlignmentAutoType> HalignAutoType<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextFormat, T>magic = null) where T : Efl.ITextFormat {
+ return new Efl.BindableProperty<Efl.TextFormatHorizontalAlignmentAutoType>("halign_auto_type", fac);
+ }
+
+ public static Efl.BindableProperty<double> Halign<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextFormat, T>magic = null) where T : Efl.ITextFormat {
+ return new Efl.BindableProperty<double>("halign", fac);
+ }
+
+ public static Efl.BindableProperty<double> Valign<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextFormat, T>magic = null) where T : Efl.ITextFormat {
+ return new Efl.BindableProperty<double>("valign", fac);
+ }
+
+ public static Efl.BindableProperty<double> Linegap<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextFormat, T>magic = null) where T : Efl.ITextFormat {
+ return new Efl.BindableProperty<double>("linegap", fac);
+ }
+
+ public static Efl.BindableProperty<double> Linerelgap<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextFormat, T>magic = null) where T : Efl.ITextFormat {
+ return new Efl.BindableProperty<double>("linerelgap", fac);
+ }
+
+ public static Efl.BindableProperty<int> Tabstops<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextFormat, T>magic = null) where T : Efl.ITextFormat {
+ return new Efl.BindableProperty<int>("tabstops", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Password<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextFormat, T>magic = null) where T : Efl.ITextFormat {
+ return new Efl.BindableProperty<bool>("password", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> ReplacementChar<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextFormat, T>magic = null) where T : Efl.ITextFormat {
+ return new Efl.BindableProperty<System.String>("replacement_char", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
namespace Efl {
/// <summary>Wrap mode of the text (not in effect if not multiline)</summary>
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Efl {
/// <summary>This is an interface interactive text inputs should implement</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.ITextInteractiveConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface ITextInteractive :
/// <summary>Whether or not selection is allowed on this object</summary>
/// <value><c>true</c> if enabled, <c>false</c> otherwise</value>
bool SelectionAllowed {
- get ;
- set ;
+ get;
+ set;
+ }
+ /// <summary>The cursors used for selection handling.
+ /// If the cursors are equal there's no selection.
+ ///
+ /// You are allowed to retain and modify them. Modifying them modifies the selection of the object.</summary>
+ (Efl.TextCursorCursor, Efl.TextCursorCursor) SelectionCursors {
+ get;
}
/// <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>
/// <value>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.</value>
bool Editable {
- get ;
- set ;
+ get;
+ set;
}
}
/// <summary>This is an interface interactive text inputs should implement</summary>
-sealed public class ITextInteractiveConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class ITextInteractiveConcrete :
Efl.Eo.EoWrapper
, ITextInteractive
, Efl.IText, Efl.ITextFont, Efl.ITextFormat, Efl.ITextStyle
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private ITextInteractiveConcrete(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event TextSelectionChangedEvt.</summary>
+ /// <summary>Method to raise event TextSelectionChangedEvt.</summary>
public void OnTextSelectionChangedEvt(EventArgs e)
{
var key = "_EFL_TEXT_INTERACTIVE_EVENT_TEXT_SELECTION_CHANGED";
/// <summary>Set the font family, filename and size for a given text object.
/// This function allows the font name and size of a text object to be set. The font string has to follow fontconfig's convention for naming fonts, as it's the underlying library used to query system fonts by Evas (see the fc-list command's output, on your system, to get an idea). Alternatively, youe can use the full path to a font file.
///
+ /// To skip changing font family pass null as font family. To skip changing font size pass 0 as font size.
+ ///
/// See also <see cref="Efl.ITextFont.GetFont"/>, <see cref="Efl.ITextFont.GetFontSource"/>.</summary>
/// <param name="font">The font family name or filename.</param>
/// <param name="size">The font size, in points.</param>
get { return GetSelectionAllowed(); }
set { SetSelectionAllowed(value); }
}
+ /// <summary>The cursors used for selection handling.
+ /// If the cursors are equal there's no selection.
+ ///
+ /// You are allowed to retain and modify them. Modifying them modifies the selection of the object.</summary>
+ public (Efl.TextCursorCursor, Efl.TextCursorCursor) SelectionCursors {
+ get {
+ Efl.TextCursorCursor _out_start = default(Efl.TextCursorCursor);
+ Efl.TextCursorCursor _out_end = default(Efl.TextCursorCursor);
+ GetSelectionCursors(out _out_start,out _out_end);
+ return (_out_start,_out_end);
+ }
+ }
/// <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>
/// <value>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.</value>
get { return GetEditable(); }
set { SetEditable(value); }
}
+ /// <summary>Retrieve the font family and size in use on a given text object.
+ /// This function allows the font name and size of a text object to be queried. Remember that the font name string is still owned by Evas and should not have free() called on it by the caller of the function.
+ ///
+ /// See also <see cref="Efl.ITextFont.GetFont"/>.</summary>
+ /// <value>The font family name or filename.</value>
+ public (System.String, Efl.Font.Size) Font {
+ get {
+ System.String _out_font = default(System.String);
+ Efl.Font.Size _out_size = default(Efl.Font.Size);
+ GetFont(out _out_font,out _out_size);
+ return (_out_font,_out_size);
+ }
+ set { SetFont( value.Item1, value.Item2); }
+ }
/// <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>
/// <value>The font file's path.</value>
get { return GetReplacementChar(); }
set { SetReplacementChar(value); }
}
+ /// <summary>Color of text, excluding style</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) NormalColor {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetNormalColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetNormalColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Enable or disable backing type</summary>
/// <value>Backing type</value>
public Efl.TextStyleBackingType BackingType {
get { return GetBackingType(); }
set { SetBackingType(value); }
}
+ /// <summary>Backing color</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) BackingColor {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetBackingColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetBackingColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Sets an underline style on the text</summary>
/// <value>Underline type</value>
public Efl.TextStyleUnderlineType UnderlineType {
get { return GetUnderlineType(); }
set { SetUnderlineType(value); }
}
+ /// <summary>Color of normal underline style</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) UnderlineColor {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetUnderlineColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetUnderlineColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Height of underline style</summary>
/// <value>Height</value>
public double UnderlineHeight {
get { return GetUnderlineHeight(); }
set { SetUnderlineHeight(value); }
}
+ /// <summary>Color of dashed underline style</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) UnderlineDashedColor {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetUnderlineDashedColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetUnderlineDashedColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Width of dashed underline style</summary>
/// <value>Width</value>
public int UnderlineDashedWidth {
get { return GetUnderlineDashedGap(); }
set { SetUnderlineDashedGap(value); }
}
+ /// <summary>Color of underline2 style</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) Underline2Color {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetUnderline2Color(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetUnderline2Color( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Type of strikethrough style</summary>
/// <value>Strikethrough type</value>
public Efl.TextStyleStrikethroughType StrikethroughType {
get { return GetStrikethroughType(); }
set { SetStrikethroughType(value); }
}
+ /// <summary>Color of strikethrough_style</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) StrikethroughColor {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetStrikethroughColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetStrikethroughColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Type of effect used for the displayed text</summary>
/// <value>Effect type</value>
public Efl.TextStyleEffectType EffectType {
get { return GetEffectType(); }
set { SetEffectType(value); }
}
+ /// <summary>Color of outline effect</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) OutlineColor {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetOutlineColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetOutlineColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Direction of shadow effect</summary>
/// <value>Shadow direction</value>
public Efl.TextStyleShadowDirection ShadowDirection {
get { return GetShadowDirection(); }
set { SetShadowDirection(value); }
}
+ /// <summary>Color of shadow effect</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) ShadowColor {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetShadowColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetShadowColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
+ /// <summary>Color of glow effect</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) GlowColor {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetGlowColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetGlowColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
+ /// <summary>Second color of the glow effect</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) Glow2Color {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetGlow2Color(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetGlow2Color( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Program that applies a special filter
/// See <see cref="Efl.Gfx.IFilter"/>.</summary>
/// <value>Filter code</value>
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflITextInteractiveConcrete_ExtensionMethods {
+ public static Efl.BindableProperty<bool> SelectionAllowed<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextInteractive, T>magic = null) where T : Efl.ITextInteractive {
+ return new Efl.BindableProperty<bool>("selection_allowed", fac);
+ }
+
+
+ public static Efl.BindableProperty<bool> Editable<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextInteractive, T>magic = null) where T : Efl.ITextInteractive {
+ return new Efl.BindableProperty<bool>("editable", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<System.String> FontSource<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextInteractive, T>magic = null) where T : Efl.ITextInteractive {
+ return new Efl.BindableProperty<System.String>("font_source", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> FontFallbacks<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextInteractive, T>magic = null) where T : Efl.ITextInteractive {
+ return new Efl.BindableProperty<System.String>("font_fallbacks", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.TextFontWeight> FontWeight<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextInteractive, T>magic = null) where T : Efl.ITextInteractive {
+ return new Efl.BindableProperty<Efl.TextFontWeight>("font_weight", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.TextFontSlant> FontSlant<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextInteractive, T>magic = null) where T : Efl.ITextInteractive {
+ return new Efl.BindableProperty<Efl.TextFontSlant>("font_slant", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.TextFontWidth> FontWidth<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextInteractive, T>magic = null) where T : Efl.ITextInteractive {
+ return new Efl.BindableProperty<Efl.TextFontWidth>("font_width", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> FontLang<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextInteractive, T>magic = null) where T : Efl.ITextInteractive {
+ return new Efl.BindableProperty<System.String>("font_lang", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.TextFontBitmapScalable> FontBitmapScalable<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextInteractive, T>magic = null) where T : Efl.ITextInteractive {
+ return new Efl.BindableProperty<Efl.TextFontBitmapScalable>("font_bitmap_scalable", fac);
+ }
+
+ public static Efl.BindableProperty<double> Ellipsis<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextInteractive, T>magic = null) where T : Efl.ITextInteractive {
+ return new Efl.BindableProperty<double>("ellipsis", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.TextFormatWrap> Wrap<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextInteractive, T>magic = null) where T : Efl.ITextInteractive {
+ return new Efl.BindableProperty<Efl.TextFormatWrap>("wrap", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Multiline<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextInteractive, T>magic = null) where T : Efl.ITextInteractive {
+ return new Efl.BindableProperty<bool>("multiline", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.TextFormatHorizontalAlignmentAutoType> HalignAutoType<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextInteractive, T>magic = null) where T : Efl.ITextInteractive {
+ return new Efl.BindableProperty<Efl.TextFormatHorizontalAlignmentAutoType>("halign_auto_type", fac);
+ }
+
+ public static Efl.BindableProperty<double> Halign<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextInteractive, T>magic = null) where T : Efl.ITextInteractive {
+ return new Efl.BindableProperty<double>("halign", fac);
+ }
+
+ public static Efl.BindableProperty<double> Valign<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextInteractive, T>magic = null) where T : Efl.ITextInteractive {
+ return new Efl.BindableProperty<double>("valign", fac);
+ }
+
+ public static Efl.BindableProperty<double> Linegap<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextInteractive, T>magic = null) where T : Efl.ITextInteractive {
+ return new Efl.BindableProperty<double>("linegap", fac);
+ }
+
+ public static Efl.BindableProperty<double> Linerelgap<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextInteractive, T>magic = null) where T : Efl.ITextInteractive {
+ return new Efl.BindableProperty<double>("linerelgap", fac);
+ }
+
+ public static Efl.BindableProperty<int> Tabstops<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextInteractive, T>magic = null) where T : Efl.ITextInteractive {
+ return new Efl.BindableProperty<int>("tabstops", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Password<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextInteractive, T>magic = null) where T : Efl.ITextInteractive {
+ return new Efl.BindableProperty<bool>("password", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> ReplacementChar<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextInteractive, T>magic = null) where T : Efl.ITextInteractive {
+ return new Efl.BindableProperty<System.String>("replacement_char", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.TextStyleBackingType> BackingType<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextInteractive, T>magic = null) where T : Efl.ITextInteractive {
+ return new Efl.BindableProperty<Efl.TextStyleBackingType>("backing_type", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.TextStyleUnderlineType> UnderlineType<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextInteractive, T>magic = null) where T : Efl.ITextInteractive {
+ return new Efl.BindableProperty<Efl.TextStyleUnderlineType>("underline_type", fac);
+ }
+
+
+ public static Efl.BindableProperty<double> UnderlineHeight<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextInteractive, T>magic = null) where T : Efl.ITextInteractive {
+ return new Efl.BindableProperty<double>("underline_height", fac);
+ }
+
+
+ public static Efl.BindableProperty<int> UnderlineDashedWidth<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextInteractive, T>magic = null) where T : Efl.ITextInteractive {
+ return new Efl.BindableProperty<int>("underline_dashed_width", fac);
+ }
+
+ public static Efl.BindableProperty<int> UnderlineDashedGap<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextInteractive, T>magic = null) where T : Efl.ITextInteractive {
+ return new Efl.BindableProperty<int>("underline_dashed_gap", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.TextStyleStrikethroughType> StrikethroughType<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextInteractive, T>magic = null) where T : Efl.ITextInteractive {
+ return new Efl.BindableProperty<Efl.TextStyleStrikethroughType>("strikethrough_type", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.TextStyleEffectType> EffectType<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextInteractive, T>magic = null) where T : Efl.ITextInteractive {
+ return new Efl.BindableProperty<Efl.TextStyleEffectType>("effect_type", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.TextStyleShadowDirection> ShadowDirection<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextInteractive, T>magic = null) where T : Efl.ITextInteractive {
+ return new Efl.BindableProperty<Efl.TextStyleShadowDirection>("shadow_direction", fac);
+ }
+
+
+
+
+ public static Efl.BindableProperty<System.String> GfxFilter<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextInteractive, T>magic = null) where T : Efl.ITextInteractive {
+ return new Efl.BindableProperty<System.String>("gfx_filter", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Efl {
/// <summary>Markup data that populates the text object's style and format</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.ITextMarkupConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface ITextMarkup :
/// <summary>Markup property</summary>
/// <value>The markup-text representation set to this text.</value>
System.String Markup {
- get ;
- set ;
+ get;
+ set;
}
}
/// <summary>Markup data that populates the text object's style and format</summary>
-sealed public class ITextMarkupConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class ITextMarkupConcrete :
Efl.Eo.EoWrapper
, ITextMarkup
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private ITextMarkupConcrete(ConstructingHandle ch) : base(ch)
{
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflITextMarkupConcrete_ExtensionMethods {
+ public static Efl.BindableProperty<System.String> Markup<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextMarkup, T>magic = null) where T : Efl.ITextMarkup {
+ return new Efl.BindableProperty<System.String>("markup", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Efl {
/// <summary>Markup data that populates the text object's style and format</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.ITextMarkupInteractiveConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface ITextMarkupInteractive :
void CursorMarkupInsert(Efl.TextCursorCursor cur, System.String markup);
}
/// <summary>Markup data that populates the text object's style and format</summary>
-sealed public class ITextMarkupInteractiveConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class ITextMarkupInteractiveConcrete :
Efl.Eo.EoWrapper
, ITextMarkupInteractive
, Efl.ITextCursor
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private ITextMarkupInteractiveConcrete(ConstructingHandle ch) : base(ch)
{
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflITextMarkupInteractiveConcrete_ExtensionMethods {
+
+
+
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Efl {
/// <summary>Utility class for markup, such as conversions</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.TextMarkupUtil.NativeMethods]
[Efl.Eo.BindingEntity]
public class TextMarkupUtil : Efl.Eo.EoWrapper
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected TextMarkupUtil(ConstructingHandle ch) : base(ch)
{
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflTextMarkupUtil_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <summary>Style to apply to the text
/// A style can be coloring, effects, underline, strikethrough etc.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.ITextStyleConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface ITextStyle :
/// See <see cref="Efl.Gfx.IFilter"/>.</summary>
/// <param name="code">Filter code</param>
void SetGfxFilter(System.String code);
- /// <summary>Enable or disable backing type</summary>
+ /// <summary>Color of text, excluding style</summary>
+ /// <value>Red component</value>
+ (byte, byte, byte, byte) NormalColor {
+ get;
+ set;
+ }
+ /// <summary>Enable or disable backing type</summary>
/// <value>Backing type</value>
Efl.TextStyleBackingType BackingType {
- get ;
- set ;
+ get;
+ set;
+ }
+ /// <summary>Backing color</summary>
+ /// <value>Red component</value>
+ (byte, byte, byte, byte) BackingColor {
+ get;
+ set;
}
/// <summary>Sets an underline style on the text</summary>
/// <value>Underline type</value>
Efl.TextStyleUnderlineType UnderlineType {
- get ;
- set ;
+ get;
+ set;
+ }
+ /// <summary>Color of normal underline style</summary>
+ /// <value>Red component</value>
+ (byte, byte, byte, byte) UnderlineColor {
+ get;
+ set;
}
/// <summary>Height of underline style</summary>
/// <value>Height</value>
double UnderlineHeight {
- get ;
- set ;
+ get;
+ set;
+ }
+ /// <summary>Color of dashed underline style</summary>
+ /// <value>Red component</value>
+ (byte, byte, byte, byte) UnderlineDashedColor {
+ get;
+ set;
}
/// <summary>Width of dashed underline style</summary>
/// <value>Width</value>
int UnderlineDashedWidth {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>Gap of dashed underline style</summary>
/// <value>Gap</value>
int UnderlineDashedGap {
- get ;
- set ;
+ get;
+ set;
+ }
+ /// <summary>Color of underline2 style</summary>
+ /// <value>Red component</value>
+ (byte, byte, byte, byte) Underline2Color {
+ get;
+ set;
}
/// <summary>Type of strikethrough style</summary>
/// <value>Strikethrough type</value>
Efl.TextStyleStrikethroughType StrikethroughType {
- get ;
- set ;
+ get;
+ set;
+ }
+ /// <summary>Color of strikethrough_style</summary>
+ /// <value>Red component</value>
+ (byte, byte, byte, byte) StrikethroughColor {
+ get;
+ set;
}
/// <summary>Type of effect used for the displayed text</summary>
/// <value>Effect type</value>
Efl.TextStyleEffectType EffectType {
- get ;
- set ;
+ get;
+ set;
+ }
+ /// <summary>Color of outline effect</summary>
+ /// <value>Red component</value>
+ (byte, byte, byte, byte) OutlineColor {
+ get;
+ set;
}
/// <summary>Direction of shadow effect</summary>
/// <value>Shadow direction</value>
Efl.TextStyleShadowDirection ShadowDirection {
- get ;
- set ;
+ get;
+ set;
+ }
+ /// <summary>Color of shadow effect</summary>
+ /// <value>Red component</value>
+ (byte, byte, byte, byte) ShadowColor {
+ get;
+ set;
+ }
+ /// <summary>Color of glow effect</summary>
+ /// <value>Red component</value>
+ (byte, byte, byte, byte) GlowColor {
+ get;
+ set;
+ }
+ /// <summary>Second color of the glow effect</summary>
+ /// <value>Red component</value>
+ (byte, byte, byte, byte) Glow2Color {
+ get;
+ set;
}
/// <summary>Program that applies a special filter
/// See <see cref="Efl.Gfx.IFilter"/>.</summary>
/// <value>Filter code</value>
System.String GfxFilter {
- get ;
- set ;
+ get;
+ set;
}
}
/// <summary>Style to apply to the text
/// A style can be coloring, effects, underline, strikethrough etc.</summary>
-sealed public class ITextStyleConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class ITextStyleConcrete :
Efl.Eo.EoWrapper
, ITextStyle
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private ITextStyleConcrete(ConstructingHandle ch) : base(ch)
{
Efl.ITextStyleConcrete.NativeMethods.efl_text_gfx_filter_set_ptr.Value.Delegate(this.NativeHandle,code);
Eina.Error.RaiseIfUnhandledException();
}
+ /// <summary>Color of text, excluding style</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) NormalColor {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetNormalColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetNormalColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Enable or disable backing type</summary>
/// <value>Backing type</value>
public Efl.TextStyleBackingType BackingType {
get { return GetBackingType(); }
set { SetBackingType(value); }
}
+ /// <summary>Backing color</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) BackingColor {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetBackingColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetBackingColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Sets an underline style on the text</summary>
/// <value>Underline type</value>
public Efl.TextStyleUnderlineType UnderlineType {
get { return GetUnderlineType(); }
set { SetUnderlineType(value); }
}
+ /// <summary>Color of normal underline style</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) UnderlineColor {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetUnderlineColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetUnderlineColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Height of underline style</summary>
/// <value>Height</value>
public double UnderlineHeight {
get { return GetUnderlineHeight(); }
set { SetUnderlineHeight(value); }
}
+ /// <summary>Color of dashed underline style</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) UnderlineDashedColor {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetUnderlineDashedColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetUnderlineDashedColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Width of dashed underline style</summary>
/// <value>Width</value>
public int UnderlineDashedWidth {
get { return GetUnderlineDashedGap(); }
set { SetUnderlineDashedGap(value); }
}
+ /// <summary>Color of underline2 style</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) Underline2Color {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetUnderline2Color(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetUnderline2Color( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Type of strikethrough style</summary>
/// <value>Strikethrough type</value>
public Efl.TextStyleStrikethroughType StrikethroughType {
get { return GetStrikethroughType(); }
set { SetStrikethroughType(value); }
}
+ /// <summary>Color of strikethrough_style</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) StrikethroughColor {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetStrikethroughColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetStrikethroughColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Type of effect used for the displayed text</summary>
/// <value>Effect type</value>
public Efl.TextStyleEffectType EffectType {
get { return GetEffectType(); }
set { SetEffectType(value); }
}
+ /// <summary>Color of outline effect</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) OutlineColor {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetOutlineColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetOutlineColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Direction of shadow effect</summary>
/// <value>Shadow direction</value>
public Efl.TextStyleShadowDirection ShadowDirection {
get { return GetShadowDirection(); }
set { SetShadowDirection(value); }
}
+ /// <summary>Color of shadow effect</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) ShadowColor {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetShadowColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetShadowColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
+ /// <summary>Color of glow effect</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) GlowColor {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetGlowColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetGlowColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
+ /// <summary>Second color of the glow effect</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) Glow2Color {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetGlow2Color(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetGlow2Color( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Program that applies a special filter
/// See <see cref="Efl.Gfx.IFilter"/>.</summary>
/// <value>Filter code</value>
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflITextStyleConcrete_ExtensionMethods {
+
+ public static Efl.BindableProperty<Efl.TextStyleBackingType> BackingType<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextStyle, T>magic = null) where T : Efl.ITextStyle {
+ return new Efl.BindableProperty<Efl.TextStyleBackingType>("backing_type", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.TextStyleUnderlineType> UnderlineType<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextStyle, T>magic = null) where T : Efl.ITextStyle {
+ return new Efl.BindableProperty<Efl.TextStyleUnderlineType>("underline_type", fac);
+ }
+
+
+ public static Efl.BindableProperty<double> UnderlineHeight<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextStyle, T>magic = null) where T : Efl.ITextStyle {
+ return new Efl.BindableProperty<double>("underline_height", fac);
+ }
+
+
+ public static Efl.BindableProperty<int> UnderlineDashedWidth<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextStyle, T>magic = null) where T : Efl.ITextStyle {
+ return new Efl.BindableProperty<int>("underline_dashed_width", fac);
+ }
+
+ public static Efl.BindableProperty<int> UnderlineDashedGap<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextStyle, T>magic = null) where T : Efl.ITextStyle {
+ return new Efl.BindableProperty<int>("underline_dashed_gap", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.TextStyleStrikethroughType> StrikethroughType<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextStyle, T>magic = null) where T : Efl.ITextStyle {
+ return new Efl.BindableProperty<Efl.TextStyleStrikethroughType>("strikethrough_type", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.TextStyleEffectType> EffectType<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextStyle, T>magic = null) where T : Efl.ITextStyle {
+ return new Efl.BindableProperty<Efl.TextStyleEffectType>("effect_type", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.TextStyleShadowDirection> ShadowDirection<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextStyle, T>magic = null) where T : Efl.ITextStyle {
+ return new Efl.BindableProperty<Efl.TextStyleShadowDirection>("shadow_direction", fac);
+ }
+
+
+
+
+ public static Efl.BindableProperty<System.String> GfxFilter<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextStyle, T>magic = null) where T : Efl.ITextStyle {
+ return new Efl.BindableProperty<System.String>("gfx_filter", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
namespace Efl {
/// <summary>Whether to apply backing style to the displayed text or not</summary>
Rtl = 2,
/// <summary>Inherit text type</summary>
Inherit = 3,
-/// <summary>@internal EVAS_BIDI_DIRECTION_ANY_RTL is not made for public. It should be opened to public when it is accepted to EFL upstream.</summary>
+/// <summary>internal EVAS_BIDI_DIRECTION_ANY_RTL is not made for public. It should be opened to public when it is accepted to EFL upstream.</summary>
AnyRtl = 4,
}
public bool Insert;
/// <summary><c>true</c> if can be merged with the previous one. Used for example with insertion when something is already selected</summary>
public bool Merge;
- ///<summary>Constructor for TextChangeInfo.</summary>
+ /// <summary>Constructor for TextChangeInfo.</summary>
+ /// <param name="Content">The content added/removed</param>;
+ /// <param name="Position">The position where it was added/removed</param>;
+ /// <param name="Length">The length of content in characters (not bytes, actual unicode characters)</param>;
+ /// <param name="Insert"><c>true</c> if the content was inserted, <c>false</c> if removei</param>;
+ /// <param name="Merge"><c>true</c> if can be merged with the previous one. Used for example with insertion when something is already selected</param>;
public TextChangeInfo(
System.String Content = default(System.String),
uint Position = default(uint),
this.Merge = Merge;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 TextChangeInfo(IntPtr ptr)
{
var tmp = (TextChangeInfo.NativeStruct)Marshal.PtrToStructure(ptr, typeof(TextChangeInfo.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct TextChangeInfo.</summary>
+ /// <summary>Internal wrapper for struct TextChangeInfo.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
- ///<summary>Internal wrapper for field Content</summary>
+ /// <summary>Internal wrapper for field Content</summary>
public System.IntPtr Content;
public uint Position;
public uint Length;
- ///<summary>Internal wrapper for field Insert</summary>
+ /// <summary>Internal wrapper for field Insert</summary>
public System.Byte Insert;
- ///<summary>Internal wrapper for field Merge</summary>
+ /// <summary>Internal wrapper for field Merge</summary>
public System.Byte Merge;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator TextChangeInfo.NativeStruct(TextChangeInfo _external_struct)
{
var _internal_struct = new TextChangeInfo.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator TextChangeInfo(TextChangeInfo.NativeStruct _internal_struct)
{
var _external_struct = new TextChangeInfo();
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
using System.ComponentModel;
namespace Efl {
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Thread(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event ClosedEvt.</summary>
+ /// <summary>Method to raise event ClosedEvt.</summary>
public void OnClosedEvt(EventArgs e)
{
var key = "_EFL_IO_CLOSER_EVENT_CLOSED";
///
/// Note that usually this event is dispatched from inside <see cref="Efl.Io.IReader.Read"/>, thus before it returns.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Io.IReaderCanReadChangedEvt_Args"/></value>
public event EventHandler<Efl.Io.IReaderCanReadChangedEvt_Args> CanReadChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event CanReadChangedEvt.</summary>
+ /// <summary>Method to raise event CanReadChangedEvt.</summary>
public void OnCanReadChangedEvt(Efl.Io.IReaderCanReadChangedEvt_Args e)
{
var key = "_EFL_IO_READER_EVENT_CAN_READ_CHANGED";
}
}
}
- ///<summary>Method to raise event EosEvt.</summary>
+ /// <summary>Method to raise event EosEvt.</summary>
public void OnEosEvt(EventArgs e)
{
var key = "_EFL_IO_READER_EVENT_EOS";
///
/// Note that usually this event is dispatched from inside <see cref="Efl.Io.IWriter.Write"/>, thus before it returns.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Io.IWriterCanWriteChangedEvt_Args"/></value>
public event EventHandler<Efl.Io.IWriterCanWriteChangedEvt_Args> CanWriteChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event CanWriteChangedEvt.</summary>
+ /// <summary>Method to raise event CanWriteChangedEvt.</summary>
public void OnCanWriteChangedEvt(Efl.Io.IWriterCanWriteChangedEvt_Args e)
{
var key = "_EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED";
Eina.Error.RaiseIfUnhandledException();
}
/// <param name="func">No description supplied.</param>
- virtual public void Call(EFlThreadIOCall func) {
+ virtual public void Call(EflThreadIOCall func) {
GCHandle func_handle = GCHandle.Alloc(func);
- 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);
+ 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) {
+ 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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),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;
}
private static efl_threadio_outdata_set_delegate efl_threadio_outdata_set_static_delegate;
- private delegate void efl_threadio_call_delegate(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, EFlThreadIOCallInternal func, EinaFreeCb func_free_cb);
+ private delegate void efl_threadio_call_delegate(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, EflThreadIOCallInternal func, EinaFreeCb func_free_cb);
- public delegate void efl_threadio_call_api_delegate(System.IntPtr obj, IntPtr func_data, EFlThreadIOCallInternal func, EinaFreeCb func_free_cb);
+ public delegate void efl_threadio_call_api_delegate(System.IntPtr obj, IntPtr func_data, EflThreadIOCallInternal func, EinaFreeCb func_free_cb);
public static Efl.Eo.FunctionWrapper<efl_threadio_call_api_delegate> efl_threadio_call_ptr = new Efl.Eo.FunctionWrapper<efl_threadio_call_api_delegate>(Module, "efl_threadio_call");
- private static void call(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, EFlThreadIOCallInternal func, EinaFreeCb func_free_cb)
+ private static void call(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, EflThreadIOCallInternal func, EinaFreeCb func_free_cb)
{
Eina.Log.Debug("function efl_threadio_call was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- EFlThreadIOCallWrapper func_wrapper = new EFlThreadIOCallWrapper(func, func_data, func_free_cb);
+ EflThreadIOCallWrapper func_wrapper = new EflThreadIOCallWrapper(func, func_data, func_free_cb);
try
{
private static efl_threadio_call_delegate efl_threadio_call_static_delegate;
- private delegate System.IntPtr efl_threadio_call_sync_delegate(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, EFlThreadIOCallSyncInternal func, EinaFreeCb func_free_cb);
+ private delegate System.IntPtr efl_threadio_call_sync_delegate(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, EflThreadIOCallSyncInternal func, EinaFreeCb func_free_cb);
- public delegate System.IntPtr efl_threadio_call_sync_api_delegate(System.IntPtr obj, IntPtr func_data, EFlThreadIOCallSyncInternal func, EinaFreeCb func_free_cb);
+ public delegate System.IntPtr efl_threadio_call_sync_api_delegate(System.IntPtr obj, IntPtr func_data, EflThreadIOCallSyncInternal func, EinaFreeCb func_free_cb);
public static Efl.Eo.FunctionWrapper<efl_threadio_call_sync_api_delegate> efl_threadio_call_sync_ptr = new Efl.Eo.FunctionWrapper<efl_threadio_call_sync_api_delegate>(Module, "efl_threadio_call_sync");
- private static System.IntPtr call_sync(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, EFlThreadIOCallSyncInternal func, EinaFreeCb func_free_cb)
+ private static System.IntPtr call_sync(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, EflThreadIOCallSyncInternal func, EinaFreeCb func_free_cb)
{
Eina.Log.Debug("function efl_threadio_call_sync was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- EFlThreadIOCallSyncWrapper func_wrapper = new EFlThreadIOCallSyncWrapper(func, func_data, func_free_cb);
+ EflThreadIOCallSyncWrapper func_wrapper = new EflThreadIOCallSyncWrapper(func, func_data, func_free_cb);
System.IntPtr _ret_var = default(System.IntPtr);
try
{
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflThread_ExtensionMethods {
+ public static Efl.BindableProperty<System.IntPtr> Indata<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Thread, T>magic = null) where T : Efl.Thread {
+ return new Efl.BindableProperty<System.IntPtr>("indata", fac);
+ }
+
+ public static Efl.BindableProperty<System.IntPtr> Outdata<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Thread, T>magic = null) where T : Efl.Thread {
+ return new Efl.BindableProperty<System.IntPtr>("outdata", fac);
+ }
+
+
+ public static Efl.BindableProperty<Eina.Array<Eina.Stringshare>> CommandArray<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Thread, T>magic = null) where T : Efl.Thread {
+ return new Efl.BindableProperty<Eina.Array<Eina.Stringshare>>("command_array", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> CommandString<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Thread, T>magic = null) where T : Efl.Thread {
+ return new Efl.BindableProperty<System.String>("command_string", fac);
+ }
+
+
+ public static Efl.BindableProperty<bool> CloseOnExec<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Thread, T>magic = null) where T : Efl.Thread {
+ return new Efl.BindableProperty<bool>("close_on_exec", fac);
+ }
+
+ public static Efl.BindableProperty<bool> CloseOnInvalidate<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Thread, T>magic = null) where T : Efl.Thread {
+ return new Efl.BindableProperty<bool>("close_on_invalidate", fac);
+ }
+
+ public static Efl.BindableProperty<bool> CanRead<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Thread, T>magic = null) where T : Efl.Thread {
+ return new Efl.BindableProperty<bool>("can_read", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Eos<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Thread, T>magic = null) where T : Efl.Thread {
+ return new Efl.BindableProperty<bool>("eos", fac);
+ }
+
+ public static Efl.BindableProperty<bool> CanWrite<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Thread, T>magic = null) where T : Efl.Thread {
+ return new Efl.BindableProperty<bool>("can_write", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
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
+public delegate void EflThreadIOCall(Efl.Event kw_event);
+public delegate void EflThreadIOCallInternal(IntPtr data, Efl.Event.NativeStruct kw_event);
+internal class EflThreadIOCallWrapper : IDisposable
{
- private EFlThreadIOCallInternal _cb;
+ private EflThreadIOCallInternal _cb;
private IntPtr _cb_data;
private EinaFreeCb _cb_free_cb;
- internal EFlThreadIOCallWrapper (EFlThreadIOCallInternal _cb, IntPtr _cb_data, EinaFreeCb _cb_free_cb)
+ internal EflThreadIOCallWrapper (EflThreadIOCallInternal _cb, IntPtr _cb_data, EinaFreeCb _cb_free_cb)
{
this._cb = _cb;
this._cb_data = _cb_data;
this._cb_free_cb = _cb_free_cb;
}
- ~EFlThreadIOCallWrapper()
+ ~EflThreadIOCallWrapper()
{
Dispose(false);
}
GC.SuppressFinalize(this);
}
- internal void ManagedCb(ref Efl.Event kw_event)
+ internal void ManagedCb(Efl.Event kw_event)
{
- Efl.Event.NativeStruct _in_kw_event = kw_event;
- _cb(_cb_data, ref _in_kw_event);
+ _cb(_cb_data, kw_event);
Eina.Error.RaiseIfUnhandledException();
- kw_event = _in_kw_event;
- }
+ }
- internal static void Cb(IntPtr cb_data, ref Efl.Event.NativeStruct kw_event)
+ internal static void Cb(IntPtr cb_data, Efl.Event.NativeStruct kw_event)
{
GCHandle handle = GCHandle.FromIntPtr(cb_data);
- EFlThreadIOCall cb = (EFlThreadIOCall)handle.Target;
- Efl.Event _in_kw_event = kw_event;
-
+ EflThreadIOCall cb = (EflThreadIOCall)handle.Target;
+
try {
- cb(ref _in_kw_event);
+ cb(kw_event);
} catch (Exception e) {
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
- kw_event = _in_kw_event;
- }
+ }
}
/// <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
+public delegate System.IntPtr EflThreadIOCallSync(Efl.Event kw_event);
+public delegate System.IntPtr EflThreadIOCallSyncInternal(IntPtr data, Efl.Event.NativeStruct kw_event);
+internal class EflThreadIOCallSyncWrapper : IDisposable
{
- private EFlThreadIOCallSyncInternal _cb;
+ private EflThreadIOCallSyncInternal _cb;
private IntPtr _cb_data;
private EinaFreeCb _cb_free_cb;
- internal EFlThreadIOCallSyncWrapper (EFlThreadIOCallSyncInternal _cb, IntPtr _cb_data, EinaFreeCb _cb_free_cb)
+ internal EflThreadIOCallSyncWrapper (EflThreadIOCallSyncInternal _cb, IntPtr _cb_data, EinaFreeCb _cb_free_cb)
{
this._cb = _cb;
this._cb_data = _cb_data;
this._cb_free_cb = _cb_free_cb;
}
- ~EFlThreadIOCallSyncWrapper()
+ ~EflThreadIOCallSyncWrapper()
{
Dispose(false);
}
GC.SuppressFinalize(this);
}
- internal System.IntPtr ManagedCb(ref Efl.Event kw_event)
+ internal System.IntPtr ManagedCb(Efl.Event kw_event)
{
- Efl.Event.NativeStruct _in_kw_event = kw_event;
- var _ret_var = _cb(_cb_data, ref _in_kw_event);
+ var _ret_var = _cb(_cb_data, kw_event);
Eina.Error.RaiseIfUnhandledException();
- kw_event = _in_kw_event;
- return _ret_var;
+ return _ret_var;
}
- internal static System.IntPtr Cb(IntPtr cb_data, ref Efl.Event.NativeStruct kw_event)
+ internal static System.IntPtr Cb(IntPtr cb_data, Efl.Event.NativeStruct kw_event)
{
GCHandle handle = GCHandle.FromIntPtr(cb_data);
- EFlThreadIOCallSync cb = (EFlThreadIOCallSync)handle.Target;
- Efl.Event _in_kw_event = kw_event;
- System.IntPtr _ret_var = default(System.IntPtr);
+ EflThreadIOCallSync cb = (EflThreadIOCallSync)handle.Target;
+ System.IntPtr _ret_var = default(System.IntPtr);
try {
- _ret_var = cb(ref _in_kw_event);
+ _ret_var = cb(kw_event);
} catch (Exception e) {
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
- kw_event = _in_kw_event;
- return _ret_var;
+ return _ret_var;
}
}
namespace Efl {
/// <summary>No description supplied.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.IThreadIOConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IThreadIO :
/// <param name="data">No description supplied.</param>
void SetOutdata(System.IntPtr data);
/// <param name="func">No description supplied.</param>
-void Call(EFlThreadIOCall func);
+void Call(EflThreadIOCall func);
/// <param name="func">No description supplied.</param>
/// <returns>No description supplied.</returns>
-System.IntPtr CallSync(EFlThreadIOCallSync func);
+System.IntPtr CallSync(EflThreadIOCallSync func);
/// <value>No description supplied.</value>
System.IntPtr Indata {
- get ;
- set ;
+ get;
+ set;
}
/// <value>No description supplied.</value>
System.IntPtr Outdata {
- get ;
- set ;
+ get;
+ set;
}
}
/// <summary>No description supplied.</summary>
-sealed public class IThreadIOConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IThreadIOConcrete :
Efl.Eo.EoWrapper
, IThreadIO
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IThreadIOConcrete(ConstructingHandle ch) : base(ch)
{
Eina.Error.RaiseIfUnhandledException();
}
/// <param name="func">No description supplied.</param>
- public void Call(EFlThreadIOCall func) {
+ public void Call(EflThreadIOCall func) {
GCHandle func_handle = GCHandle.Alloc(func);
- Efl.IThreadIOConcrete.NativeMethods.efl_threadio_call_ptr.Value.Delegate(this.NativeHandle,GCHandle.ToIntPtr(func_handle), EFlThreadIOCallWrapper.Cb, Efl.Eo.Globals.free_gchandle);
+ Efl.IThreadIOConcrete.NativeMethods.efl_threadio_call_ptr.Value.Delegate(this.NativeHandle,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>
- public System.IntPtr CallSync(EFlThreadIOCallSync func) {
+ 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(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(this.NativeHandle,GCHandle.ToIntPtr(func_handle), EflThreadIOCallSyncWrapper.Cb, Efl.Eo.Globals.free_gchandle);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
private static efl_threadio_outdata_set_delegate efl_threadio_outdata_set_static_delegate;
- private delegate void efl_threadio_call_delegate(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, EFlThreadIOCallInternal func, EinaFreeCb func_free_cb);
+ private delegate void efl_threadio_call_delegate(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, EflThreadIOCallInternal func, EinaFreeCb func_free_cb);
- public delegate void efl_threadio_call_api_delegate(System.IntPtr obj, IntPtr func_data, EFlThreadIOCallInternal func, EinaFreeCb func_free_cb);
+ public delegate void efl_threadio_call_api_delegate(System.IntPtr obj, IntPtr func_data, EflThreadIOCallInternal func, EinaFreeCb func_free_cb);
public static Efl.Eo.FunctionWrapper<efl_threadio_call_api_delegate> efl_threadio_call_ptr = new Efl.Eo.FunctionWrapper<efl_threadio_call_api_delegate>(Module, "efl_threadio_call");
- private static void call(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, EFlThreadIOCallInternal func, EinaFreeCb func_free_cb)
+ private static void call(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, EflThreadIOCallInternal func, EinaFreeCb func_free_cb)
{
Eina.Log.Debug("function efl_threadio_call was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- EFlThreadIOCallWrapper func_wrapper = new EFlThreadIOCallWrapper(func, func_data, func_free_cb);
+ EflThreadIOCallWrapper func_wrapper = new EflThreadIOCallWrapper(func, func_data, func_free_cb);
try
{
private static efl_threadio_call_delegate efl_threadio_call_static_delegate;
- private delegate System.IntPtr efl_threadio_call_sync_delegate(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, EFlThreadIOCallSyncInternal func, EinaFreeCb func_free_cb);
+ private delegate System.IntPtr efl_threadio_call_sync_delegate(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, EflThreadIOCallSyncInternal func, EinaFreeCb func_free_cb);
- public delegate System.IntPtr efl_threadio_call_sync_api_delegate(System.IntPtr obj, IntPtr func_data, EFlThreadIOCallSyncInternal func, EinaFreeCb func_free_cb);
+ public delegate System.IntPtr efl_threadio_call_sync_api_delegate(System.IntPtr obj, IntPtr func_data, EflThreadIOCallSyncInternal func, EinaFreeCb func_free_cb);
public static Efl.Eo.FunctionWrapper<efl_threadio_call_sync_api_delegate> efl_threadio_call_sync_ptr = new Efl.Eo.FunctionWrapper<efl_threadio_call_sync_api_delegate>(Module, "efl_threadio_call_sync");
- private static System.IntPtr call_sync(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, EFlThreadIOCallSyncInternal func, EinaFreeCb func_free_cb)
+ private static System.IntPtr call_sync(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, EflThreadIOCallSyncInternal func, EinaFreeCb func_free_cb)
{
Eina.Log.Debug("function efl_threadio_call_sync was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- EFlThreadIOCallSyncWrapper func_wrapper = new EFlThreadIOCallSyncWrapper(func, func_data, func_free_cb);
+ EflThreadIOCallSyncWrapper func_wrapper = new EflThreadIOCallSyncWrapper(func, func_data, func_free_cb);
System.IntPtr _ret_var = default(System.IntPtr);
try
{
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflIThreadIOConcrete_ExtensionMethods {
+ public static Efl.BindableProperty<System.IntPtr> Indata<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.IThreadIO, T>magic = null) where T : Efl.IThreadIO {
+ return new Efl.BindableProperty<System.IntPtr>("indata", fac);
+ }
+
+ public static Efl.BindableProperty<System.IntPtr> Outdata<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.IThreadIO, T>magic = null) where T : Efl.IThreadIO {
+ return new Efl.BindableProperty<System.IntPtr>("outdata", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
public int Tm_yday;
/// <summary>DST. [-1/0/1]</summary>
public int Tm_isdst;
- ///<summary>Constructor for Time.</summary>
+ /// <summary>Constructor for Time.</summary>
+ /// <param name="Tm_sec">Seconds. [0-60] (1 leap second)</param>;
+ /// <param name="Tm_min">Minutes. [0-59]</param>;
+ /// <param name="Tm_hour">Hours. [0-23]</param>;
+ /// <param name="Tm_mday">Day. [1-31]</param>;
+ /// <param name="Tm_mon">Month. [0-11]</param>;
+ /// <param name="Tm_year">Year - 1900.</param>;
+ /// <param name="Tm_wday">Day of week. [0-6]</param>;
+ /// <param name="Tm_yday">Days in year.[0-365]</param>;
+ /// <param name="Tm_isdst">DST. [-1/0/1]</param>;
public Time(
int Tm_sec = default(int),
int Tm_min = default(int),
this.Tm_isdst = Tm_isdst;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 Time(IntPtr ptr)
{
var tmp = (Time.NativeStruct)Marshal.PtrToStructure(ptr, typeof(Time.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct Time.</summary>
+ /// <summary>Internal wrapper for struct Time.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
public int Tm_yday;
public int Tm_isdst;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator Time.NativeStruct(Time _external_struct)
{
var _internal_struct = new Time.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator Time(Time.NativeStruct _internal_struct)
{
var _external_struct = new Time();
public System.String Flavor;
/// <summary>Contains <c>EFL_BUILD_ID</c>.</summary>
public System.String Build_id;
- ///<summary>Constructor for Version.</summary>
+ /// <summary>Constructor for Version.</summary>
+ /// <param name="Major">Major component of the version (>= 1).</param>;
+ /// <param name="Minor">Minor component of the version (>= 0).</param>;
+ /// <param name="Micro">Micro component of the version (>= 0).</param>;
+ /// <param name="Revision">Revision component of the version (>= 0).</param>;
+ /// <param name="Flavor">Special version string for this build of EFL, <c>null</c> for vanilla (upstream) EFL. Contains <c>EFL_VERSION_FLAVOR</c>.</param>;
+ /// <param name="Build_id">Contains <c>EFL_BUILD_ID</c>.</param>;
public Version(
int Major = default(int),
int Minor = default(int),
this.Build_id = Build_id;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 Version(IntPtr ptr)
{
var tmp = (Version.NativeStruct)Marshal.PtrToStructure(ptr, typeof(Version.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct Version.</summary>
+ /// <summary>Internal wrapper for struct Version.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
public int Micro;
public int Revision;
- ///<summary>Internal wrapper for field Flavor</summary>
+ /// <summary>Internal wrapper for field Flavor</summary>
public System.IntPtr Flavor;
- ///<summary>Internal wrapper for field Build_id</summary>
+ /// <summary>Internal wrapper for field Build_id</summary>
public System.IntPtr Build_id;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator Version.NativeStruct(Version _external_struct)
{
var _internal_struct = new Version.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator Version(Version.NativeStruct _internal_struct)
{
var _external_struct = new Version();
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
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]
+/// <summary>Helper class that connects theme signals or object events to the interfaces which are for actions.
+/// For example, this simplifies creating widgets that implement the <see cref="Efl.Input.IClickable"/> interface.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+[Efl.Ui.ActionConnector.NativeMethods]
[Efl.Eo.BindingEntity]
-public class ClickableUtil : Efl.Eo.EoWrapper
+public class ActionConnector : Efl.Eo.EoWrapper
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
{
- if (((object)this).GetType() == typeof(ClickableUtil))
+ if (((object)this).GetType() == typeof(ActionConnector))
{
return GetEflClassStatic();
}
}
[System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
- efl_ui_clickable_util_class_get();
- /// <summary>Initializes a new instance of the <see cref="ClickableUtil"/> class.</summary>
+ efl_ui_action_connector_class_get();
+ /// <summary>Initializes a new instance of the <see cref="ActionConnector"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- public ClickableUtil(Efl.Object parent= null
- ) : base(efl_ui_clickable_util_class_get(), parent)
+ public ActionConnector(Efl.Object parent= null
+ ) : base(efl_ui_action_connector_class_get(), parent)
{
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
- protected ClickableUtil(ConstructingHandle ch) : base(ch)
+ protected ActionConnector(ConstructingHandle ch) : base(ch)
{
}
- /// <summary>Initializes a new instance of the <see cref="ClickableUtil"/> class.
+ /// <summary>Initializes a new instance of the <see cref="ActionConnector"/> 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 ClickableUtil(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
+ protected ActionConnector(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
- /// <summary>Initializes a new instance of the <see cref="ClickableUtil"/> class.
+ /// <summary>Initializes a new instance of the <see cref="ActionConnector"/> 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 ClickableUtil(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
+ protected ActionConnector(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
- /// <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.
+ /// <summary>This will listen to the standard "click" events on a theme and emit the appropriate events through the <see cref="Efl.Input.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);
+ public static void BindClickableToTheme(Efl.Canvas.Layout kw_object, Efl.Input.IClickable clickable) {
+ Efl.Ui.ActionConnector.NativeMethods.efl_ui_action_connector_bind_clickable_to_theme_ptr.Value.Delegate(kw_object, clickable);
Eina.Error.RaiseIfUnhandledException();
}
- /// <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.
+ /// <summary>This will listen to the standard "click" events on an object, and emit the appropriate events through the <see cref="Efl.Input.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);
+ public static void BindClickableToObject(Efl.Input.IInterface kw_object, Efl.Input.IClickable clickable) {
+ Efl.Ui.ActionConnector.NativeMethods.efl_ui_action_connector_bind_clickable_to_object_ptr.Value.Delegate(kw_object, clickable);
Eina.Error.RaiseIfUnhandledException();
}
private static IntPtr GetEflClassStatic()
{
- return Efl.Ui.ClickableUtil.efl_ui_clickable_util_class_get();
+ return Efl.Ui.ActionConnector.efl_ui_action_connector_class_get();
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
/// <returns>The native class pointer.</returns>
public override IntPtr GetEflClass()
{
- return Efl.Ui.ClickableUtil.efl_ui_clickable_util_class_get();
+ return Efl.Ui.ActionConnector.efl_ui_action_connector_class_get();
}
#pragma warning disable CA1707, CS1591, SA1300, SA1600
- private delegate void efl_ui_clickable_util_bind_to_theme_delegate([MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Layout kw_object, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.IClickable clickable);
+ private delegate void efl_ui_action_connector_bind_clickable_to_theme_delegate([MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Layout kw_object, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Input.IClickable clickable);
- public delegate void efl_ui_clickable_util_bind_to_theme_api_delegate([MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Layout kw_object, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.IClickable clickable);
+ public delegate void efl_ui_action_connector_bind_clickable_to_theme_api_delegate([MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Layout kw_object, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Input.IClickable clickable);
- public static Efl.Eo.FunctionWrapper<efl_ui_clickable_util_bind_to_theme_api_delegate> efl_ui_clickable_util_bind_to_theme_ptr = new Efl.Eo.FunctionWrapper<efl_ui_clickable_util_bind_to_theme_api_delegate>(Module, "efl_ui_clickable_util_bind_to_theme");
+ public static Efl.Eo.FunctionWrapper<efl_ui_action_connector_bind_clickable_to_theme_api_delegate> efl_ui_action_connector_bind_clickable_to_theme_ptr = new Efl.Eo.FunctionWrapper<efl_ui_action_connector_bind_clickable_to_theme_api_delegate>(Module, "efl_ui_action_connector_bind_clickable_to_theme");
- private static void bind_to_theme(System.IntPtr obj, System.IntPtr pd, Efl.Canvas.Layout kw_object, Efl.Ui.IClickable clickable)
+ private static void bind_clickable_to_theme(System.IntPtr obj, System.IntPtr pd, Efl.Canvas.Layout kw_object, Efl.Input.IClickable clickable)
{
- Eina.Log.Debug("function efl_ui_clickable_util_bind_to_theme was called");
+ Eina.Log.Debug("function efl_ui_action_connector_bind_clickable_to_theme was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
- ClickableUtil.BindToTheme(kw_object, clickable);
+ ActionConnector.BindClickableToTheme(kw_object, clickable);
}
catch (Exception e)
{
}
else
{
- efl_ui_clickable_util_bind_to_theme_ptr.Value.Delegate(kw_object, clickable);
+ efl_ui_action_connector_bind_clickable_to_theme_ptr.Value.Delegate(kw_object, clickable);
}
}
- private delegate void efl_ui_clickable_util_bind_to_object_delegate([MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Input.IInterface kw_object, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.IClickable clickable);
+ private delegate void efl_ui_action_connector_bind_clickable_to_object_delegate([MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Input.IInterface kw_object, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Input.IClickable clickable);
- public delegate void efl_ui_clickable_util_bind_to_object_api_delegate([MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Input.IInterface kw_object, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.IClickable clickable);
+ public delegate void efl_ui_action_connector_bind_clickable_to_object_api_delegate([MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Input.IInterface kw_object, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Input.IClickable clickable);
- public static Efl.Eo.FunctionWrapper<efl_ui_clickable_util_bind_to_object_api_delegate> efl_ui_clickable_util_bind_to_object_ptr = new Efl.Eo.FunctionWrapper<efl_ui_clickable_util_bind_to_object_api_delegate>(Module, "efl_ui_clickable_util_bind_to_object");
+ public static Efl.Eo.FunctionWrapper<efl_ui_action_connector_bind_clickable_to_object_api_delegate> efl_ui_action_connector_bind_clickable_to_object_ptr = new Efl.Eo.FunctionWrapper<efl_ui_action_connector_bind_clickable_to_object_api_delegate>(Module, "efl_ui_action_connector_bind_clickable_to_object");
- private static void bind_to_object(System.IntPtr obj, System.IntPtr pd, Efl.Input.IInterface kw_object, Efl.Ui.IClickable clickable)
+ private static void bind_clickable_to_object(System.IntPtr obj, System.IntPtr pd, Efl.Input.IInterface kw_object, Efl.Input.IClickable clickable)
{
- Eina.Log.Debug("function efl_ui_clickable_util_bind_to_object was called");
+ Eina.Log.Debug("function efl_ui_action_connector_bind_clickable_to_object was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
- ClickableUtil.BindToObject(kw_object, clickable);
+ ActionConnector.BindClickableToObject(kw_object, clickable);
}
catch (Exception e)
{
}
else
{
- efl_ui_clickable_util_bind_to_object_ptr.Value.Delegate(kw_object, clickable);
+ efl_ui_action_connector_bind_clickable_to_object_ptr.Value.Delegate(kw_object, clickable);
}
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiActionConnector_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.AlertPopup.ButtonClickedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called when alert popup was clicked</value>
public Efl.Ui.AlertPopupButtonClickedEvent arg { get; set; }
}
/// <summary>EFL UI Alert Popup class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.AlertPopup.NativeMethods]
[Efl.Eo.BindingEntity]
public class AlertPopup : Efl.Ui.Popup
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected AlertPopup(ConstructingHandle ch) : base(ch)
{
}
/// <summary>Called when alert popup was clicked</summary>
+ /// <value><see cref="Efl.Ui.AlertPopupButtonClickedEvt_Args"/></value>
public event EventHandler<Efl.Ui.AlertPopupButtonClickedEvt_Args> ButtonClickedEvt
{
add
}
}
}
- ///<summary>Method to raise event ButtonClickedEvt.</summary>
+ /// <summary>Method to raise event ButtonClickedEvt.</summary>
public void OnButtonClickedEvt(Efl.Ui.AlertPopupButtonClickedEvt_Args e)
{
var key = "_EFL_UI_ALERT_POPUP_EVENT_BUTTON_CLICKED";
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();
}
+ /// <summary>Set popup buttons.</summary>
+ /// <value>Alert popup button type</value>
+ public (Efl.Ui.AlertPopupButton, System.String, Efl.Object) Button {
+ set { SetButton( value.Item1, value.Item2, value.Item3); }
+ }
private static IntPtr GetEflClassStatic()
{
return Efl.Ui.AlertPopup.efl_ui_alert_popup_class_get();
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiAlertPopup_ExtensionMethods {
+
+}
+#pragma warning restore CS1591
+#endif
namespace Efl {
namespace Ui {
public struct AlertPopupButtonClickedEvent
{
/// <summary>Clicked button type</summary>
+ /// <value>Defines the type of the alert button.</value>
public Efl.Ui.AlertPopupButton Button_type;
- ///<summary>Constructor for AlertPopupButtonClickedEvent.</summary>
+ /// <summary>Constructor for AlertPopupButtonClickedEvent.</summary>
+ /// <param name="Button_type">Clicked button type</param>;
public AlertPopupButtonClickedEvent(
Efl.Ui.AlertPopupButton Button_type = default(Efl.Ui.AlertPopupButton) )
{
this.Button_type = Button_type;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 AlertPopupButtonClickedEvent(IntPtr ptr)
{
var tmp = (AlertPopupButtonClickedEvent.NativeStruct)Marshal.PtrToStructure(ptr, typeof(AlertPopupButtonClickedEvent.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct AlertPopupButtonClickedEvent.</summary>
+ /// <summary>Internal wrapper for struct AlertPopupButtonClickedEvent.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
public Efl.Ui.AlertPopupButton Button_type;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator AlertPopupButtonClickedEvent.NativeStruct(AlertPopupButtonClickedEvent _external_struct)
{
var _internal_struct = new AlertPopupButtonClickedEvent.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator AlertPopupButtonClickedEvent(AlertPopupButtonClickedEvent.NativeStruct _internal_struct)
{
var _external_struct = new AlertPopupButtonClickedEvent();
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Efl UI Alert Popup internal part class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.AlertPopupPart.NativeMethods]
[Efl.Eo.BindingEntity]
public class AlertPopupPart : Efl.Ui.LayoutPartText
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected AlertPopupPart(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiAlertPopupPart_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+++ /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 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>
- public override System.IntPtr NativeClass
- {
- get
- {
- if (((object)this).GetType() == typeof(AnchorPopup))
- {
- 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_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>
- public AnchorPopup(Efl.Object parent
- , System.String style = null) : base(efl_ui_anchor_popup_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 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="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="parent">The Efl.Object parent of this instance.</param>
- 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((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((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="first">First align priority</param>
- /// <param name="second">Second align priority</param>
- /// <param name="third">Third align priority</param>
- /// <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((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="first">First align priority</param>
- /// <param name="second">Second align priority</param>
- /// <param name="third">Third align priority</param>
- /// <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((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>
- /// <value>The object which popup is following.</value>
- public Efl.Canvas.Object Anchor {
- get { return GetAnchor(); }
- set { SetAnchor(value); }
- }
- private static IntPtr GetEflClassStatic()
- {
- return Efl.Ui.AnchorPopup.efl_ui_anchor_popup_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.Popup.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_anchor_popup_anchor_get_static_delegate == null)
- {
- efl_ui_anchor_popup_anchor_get_static_delegate = new efl_ui_anchor_popup_anchor_get_delegate(anchor_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetAnchor") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_anchor_popup_anchor_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_anchor_popup_anchor_get_static_delegate) });
- }
-
- if (efl_ui_anchor_popup_anchor_set_static_delegate == null)
- {
- efl_ui_anchor_popup_anchor_set_static_delegate = new efl_ui_anchor_popup_anchor_set_delegate(anchor_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetAnchor") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_anchor_popup_anchor_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_anchor_popup_anchor_set_static_delegate) });
- }
-
- if (efl_ui_anchor_popup_align_priority_get_static_delegate == null)
- {
- efl_ui_anchor_popup_align_priority_get_static_delegate = new efl_ui_anchor_popup_align_priority_get_delegate(align_priority_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetAlignPriority") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_anchor_popup_align_priority_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_anchor_popup_align_priority_get_static_delegate) });
- }
-
- if (efl_ui_anchor_popup_align_priority_set_static_delegate == null)
- {
- efl_ui_anchor_popup_align_priority_set_static_delegate = new efl_ui_anchor_popup_align_priority_set_delegate(align_priority_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetAlignPriority") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_anchor_popup_align_priority_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_anchor_popup_align_priority_set_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.AnchorPopup.efl_ui_anchor_popup_class_get();
- }
-
- #pragma warning disable CA1707, CS1591, SA1300, SA1600
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- private delegate Efl.Canvas.Object efl_ui_anchor_popup_anchor_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- public delegate Efl.Canvas.Object efl_ui_anchor_popup_anchor_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_anchor_popup_anchor_get_api_delegate> efl_ui_anchor_popup_anchor_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_anchor_popup_anchor_get_api_delegate>(Module, "efl_ui_anchor_popup_anchor_get");
-
- private static Efl.Canvas.Object anchor_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_anchor_popup_anchor_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Efl.Canvas.Object _ret_var = default(Efl.Canvas.Object);
- try
- {
- _ret_var = ((AnchorPopup)ws.Target).GetAnchor();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_anchor_popup_anchor_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_anchor_popup_anchor_get_delegate efl_ui_anchor_popup_anchor_get_static_delegate;
-
-
- private delegate void efl_ui_anchor_popup_anchor_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Object anchor);
-
-
- public delegate void efl_ui_anchor_popup_anchor_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Object anchor);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_anchor_popup_anchor_set_api_delegate> efl_ui_anchor_popup_anchor_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_anchor_popup_anchor_set_api_delegate>(Module, "efl_ui_anchor_popup_anchor_set");
-
- private static void anchor_set(System.IntPtr obj, System.IntPtr pd, Efl.Canvas.Object anchor)
- {
- Eina.Log.Debug("function efl_ui_anchor_popup_anchor_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((AnchorPopup)ws.Target).SetAnchor(anchor);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_anchor_popup_anchor_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), anchor);
- }
- }
-
- private static efl_ui_anchor_popup_anchor_set_delegate efl_ui_anchor_popup_anchor_set_static_delegate;
-
-
- private delegate void efl_ui_anchor_popup_align_priority_get_delegate(System.IntPtr obj, System.IntPtr pd, 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);
-
-
- public delegate void efl_ui_anchor_popup_align_priority_get_api_delegate(System.IntPtr obj, 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);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_anchor_popup_align_priority_get_api_delegate> efl_ui_anchor_popup_align_priority_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_anchor_popup_align_priority_get_api_delegate>(Module, "efl_ui_anchor_popup_align_priority_get");
-
- private static void align_priority_get(System.IntPtr obj, System.IntPtr pd, 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)
- {
- Eina.Log.Debug("function efl_ui_anchor_popup_align_priority_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- first = default(Efl.Ui.PopupAlign); second = default(Efl.Ui.PopupAlign); third = default(Efl.Ui.PopupAlign); fourth = default(Efl.Ui.PopupAlign); fifth = default(Efl.Ui.PopupAlign);
- try
- {
- ((AnchorPopup)ws.Target).GetAlignPriority(out first, out second, out third, out fourth, out fifth);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_anchor_popup_align_priority_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out first, out second, out third, out fourth, out fifth);
- }
- }
-
- private static efl_ui_anchor_popup_align_priority_get_delegate efl_ui_anchor_popup_align_priority_get_static_delegate;
-
-
- private delegate void efl_ui_anchor_popup_align_priority_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.PopupAlign first, Efl.Ui.PopupAlign second, Efl.Ui.PopupAlign third, Efl.Ui.PopupAlign fourth, Efl.Ui.PopupAlign fifth);
-
-
- public delegate void efl_ui_anchor_popup_align_priority_set_api_delegate(System.IntPtr obj, Efl.Ui.PopupAlign first, Efl.Ui.PopupAlign second, Efl.Ui.PopupAlign third, Efl.Ui.PopupAlign fourth, Efl.Ui.PopupAlign fifth);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_anchor_popup_align_priority_set_api_delegate> efl_ui_anchor_popup_align_priority_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_anchor_popup_align_priority_set_api_delegate>(Module, "efl_ui_anchor_popup_align_priority_set");
-
- private static void align_priority_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.PopupAlign first, Efl.Ui.PopupAlign second, Efl.Ui.PopupAlign third, Efl.Ui.PopupAlign fourth, Efl.Ui.PopupAlign fifth)
- {
- Eina.Log.Debug("function efl_ui_anchor_popup_align_priority_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((AnchorPopup)ws.Target).SetAlignPriority(first, second, third, fourth, fifth);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_anchor_popup_align_priority_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), first, second, third, fourth, fifth);
- }
- }
-
- private static efl_ui_anchor_popup_align_priority_set_delegate efl_ui_anchor_popup_align_priority_set_static_delegate;
-
- #pragma warning restore CA1707, CS1591, SA1300, SA1600
-
-}
-}
-}
-
-}
-
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// See also <see cref="Efl.Ui.IAutorepeat.AutorepeatEnabled"/> and <see cref="Efl.Ui.IAutorepeat.AutorepeatGapTimeout"/>.</summary>
/// <value>Timeout in seconds.</value>
double AutorepeatInitialTimeout {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>The interval between each generated autorepeat event.
/// After the first <c>repeated</c> event is fired, all subsequent ones will follow after a delay of <c>t</c> seconds for each.
/// See also <see cref="Efl.Ui.IAutorepeat.AutorepeatInitialTimeout"/>.</summary>
/// <value>Time interval in seconds.</value>
double AutorepeatGapTimeout {
- get ;
- set ;
+ get;
+ set;
}
/// <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>
/// <value>A bool to turn on/off the repeat event generation.</value>
bool AutorepeatEnabled {
- get ;
- set ;
+ get;
+ set;
}
}
/// <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>
-sealed public class IAutorepeatConcrete :
+sealed public class IAutorepeatConcrete :
Efl.Eo.EoWrapper
, IAutorepeat
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IAutorepeatConcrete(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event RepeatedEvt.</summary>
+ /// <summary>Method to raise event RepeatedEvt.</summary>
public void OnRepeatedEvt(EventArgs e)
{
var key = "_EFL_UI_AUTOREPEAT_EVENT_REPEATED";
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiIAutorepeatConcrete_ExtensionMethods {
+ public static Efl.BindableProperty<double> AutorepeatInitialTimeout<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.IAutorepeat, T>magic = null) where T : Efl.Ui.IAutorepeat {
+ return new Efl.BindableProperty<double>("autorepeat_initial_timeout", fac);
+ }
+
+ public static Efl.BindableProperty<double> AutorepeatGapTimeout<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.IAutorepeat, T>magic = null) where T : Efl.Ui.IAutorepeat {
+ return new Efl.BindableProperty<double>("autorepeat_gap_timeout", fac);
+ }
+
+ public static Efl.BindableProperty<bool> AutorepeatEnabled<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.IAutorepeat, T>magic = null) where T : Efl.Ui.IAutorepeat {
+ return new Efl.BindableProperty<bool>("autorepeat_enabled", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Bg(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event ImagePreloadEvt.</summary>
+ /// <summary>Method to raise event ImagePreloadEvt.</summary>
public void OnImagePreloadEvt(EventArgs e)
{
var key = "_EFL_GFX_IMAGE_EVENT_IMAGE_PRELOAD";
}
}
}
- ///<summary>Method to raise event ImageResizeEvt.</summary>
+ /// <summary>Method to raise event ImageResizeEvt.</summary>
public void OnImageResizeEvt(EventArgs e)
{
var key = "_EFL_GFX_IMAGE_EVENT_IMAGE_RESIZE";
}
}
}
- ///<summary>Method to raise event ImageUnloadEvt.</summary>
+ /// <summary>Method to raise event ImageUnloadEvt.</summary>
public void OnImageUnloadEvt(EventArgs e)
{
var key = "_EFL_GFX_IMAGE_EVENT_IMAGE_UNLOAD";
}
}
}
- ///<summary>Method to raise event LoadDoneEvt.</summary>
+ /// <summary>Method to raise event LoadDoneEvt.</summary>
public void OnLoadDoneEvt(EventArgs e)
{
var key = "_EFL_GFX_IMAGE_LOAD_CONTROLLER_EVENT_LOAD_DONE";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
/// <summary>Called when an error happened during image loading</summary>
+ /// <value><see cref="Efl.Gfx.IImageLoadControllerLoadErrorEvt_Args"/></value>
public event EventHandler<Efl.Gfx.IImageLoadControllerLoadErrorEvt_Args> LoadErrorEvt
{
add
}
}
}
- ///<summary>Method to raise event LoadErrorEvt.</summary>
+ /// <summary>Method to raise event LoadErrorEvt.</summary>
public void OnLoadErrorEvt(Efl.Gfx.IImageLoadControllerLoadErrorEvt_Args e)
{
var key = "_EFL_GFX_IMAGE_LOAD_CONTROLLER_EVENT_LOAD_ERROR";
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>If <c>true</c>, the image may be scaled to a larger size. If <c>false</c>, the image will never be resized larger than its native size. This is set to <c>true</c> by default.</summary>
+ /// <returns>Allow image upscaling</returns>
+ virtual public bool GetCanUpscale() {
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_can_upscale_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>If <c>true</c>, the image may be scaled to a larger size. If <c>false</c>, the image will never be resized larger than its native size. This is set to <c>true</c> by default.</summary>
+ /// <param name="upscale">Allow image upscaling</param>
+ virtual public void SetCanUpscale(bool upscale) {
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_can_upscale_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),upscale);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>If <c>true</c>, the image may be scaled to a smaller size. If <c>false</c>, the image will never be resized smaller than its native size. This is set to <c>true</c> by default.</summary>
+ /// <returns>Allow image downscaling</returns>
+ virtual public bool GetCanDownscale() {
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_can_downscale_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>If <c>true</c>, the image may be scaled to a smaller size. If <c>false</c>, the image will never be resized smaller than its native size. This is set to <c>true</c> by default.</summary>
+ /// <param name="downscale">Allow image downscaling</param>
+ virtual public void SetCanDownscale(bool downscale) {
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_can_downscale_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),downscale);
+ Eina.Error.RaiseIfUnhandledException();
+ }
/// <summary>Returns 1.0 if not applicable (eg. height = 0).</summary>
/// <returns>The image's ratio.</returns>
virtual public double GetRatio() {
/// 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) {
+ virtual public void GetStretchRegion(out Eina.Iterator<Efl.Gfx.ImageStretchRegion> horizontal, out Eina.Iterator<Efl.Gfx.ImageStretchRegion> 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);
+ horizontal = new Eina.Iterator<Efl.Gfx.ImageStretchRegion>(_out_horizontal, false);
+ vertical = new Eina.Iterator<Efl.Gfx.ImageStretchRegion>(_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) {
+ virtual public Eina.Error SetStretchRegion(Eina.Iterator<Efl.Gfx.ImageStretchRegion> horizontal, Eina.Iterator<Efl.Gfx.ImageStretchRegion> 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);
get { return GetScaleType(); }
set { SetScaleType(value); }
}
+ /// <summary>If <c>true</c>, the image may be scaled to a larger size. If <c>false</c>, the image will never be resized larger than its native size. This is set to <c>true</c> by default.</summary>
+ /// <value>Allow image upscaling</value>
+ public bool CanUpscale {
+ get { return GetCanUpscale(); }
+ set { SetCanUpscale(value); }
+ }
+ /// <summary>If <c>true</c>, the image may be scaled to a smaller size. If <c>false</c>, the image will never be resized smaller than its native size. This is set to <c>true</c> by default.</summary>
+ /// <value>Allow image downscaling</value>
+ public bool CanDownscale {
+ get { return GetCanDownscale(); }
+ set { SetCanDownscale(value); }
+ }
/// <summary>The native width/height ratio of the image.</summary>
/// <value>The image's ratio.</value>
public double Ratio {
public Eina.Rect ContentRegion {
get { return 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 units used for <c>l</c>, <c>r</c>, <c>t</c> and <c>b</c> are canvas units (pixels).
+ ///
+ /// Note: The border region itself may be scaled by the <see cref="Efl.Gfx.IImage.SetBorderScale"/> function.
+ ///
+ /// Note: By default, image objects have no borders set, i.e. <c>l</c>, <c>r</c>, <c>t</c> and <c>b</c> start as 0.
+ ///
+ /// Note: Similar to the concepts of 9-patch images or cap insets.</summary>
+ /// <value>The border's left width.</value>
+ public (int, int, int, int) Border {
+ get {
+ int _out_l = default(int);
+ int _out_r = default(int);
+ int _out_t = default(int);
+ int _out_b = default(int);
+ GetBorder(out _out_l,out _out_r,out _out_t,out _out_b);
+ return (_out_l,_out_r,_out_t,_out_b);
+ }
+ set { SetBorder( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <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.
///
get { return GetBorderCenterFill(); }
set { SetBorderCenterFill(value); }
}
+ /// <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>
+ /// <value>Representation of area that are stretchable in the image horizontal space.</value>
+ public (Eina.Iterator<Efl.Gfx.ImageStretchRegion>, Eina.Iterator<Efl.Gfx.ImageStretchRegion>) StretchRegion {
+ get {
+ Eina.Iterator<Efl.Gfx.ImageStretchRegion> _out_horizontal = default(Eina.Iterator<Efl.Gfx.ImageStretchRegion>);
+ Eina.Iterator<Efl.Gfx.ImageStretchRegion> _out_vertical = default(Eina.Iterator<Efl.Gfx.ImageStretchRegion>);
+ GetStretchRegion(out _out_horizontal,out _out_vertical);
+ return (_out_horizontal,_out_vertical);
+ }
+ set { SetStretchRegion( value.Item1, value.Item2); }
+ }
/// <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.
///
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_scale_type_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_scale_type_set_static_delegate) });
}
+ if (efl_gfx_image_can_upscale_get_static_delegate == null)
+ {
+ efl_gfx_image_can_upscale_get_static_delegate = new efl_gfx_image_can_upscale_get_delegate(can_upscale_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetCanUpscale") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_can_upscale_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_can_upscale_get_static_delegate) });
+ }
+
+ if (efl_gfx_image_can_upscale_set_static_delegate == null)
+ {
+ efl_gfx_image_can_upscale_set_static_delegate = new efl_gfx_image_can_upscale_set_delegate(can_upscale_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetCanUpscale") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_can_upscale_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_can_upscale_set_static_delegate) });
+ }
+
+ if (efl_gfx_image_can_downscale_get_static_delegate == null)
+ {
+ efl_gfx_image_can_downscale_get_static_delegate = new efl_gfx_image_can_downscale_get_delegate(can_downscale_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetCanDownscale") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_can_downscale_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_can_downscale_get_static_delegate) });
+ }
+
+ if (efl_gfx_image_can_downscale_set_static_delegate == null)
+ {
+ efl_gfx_image_can_downscale_set_static_delegate = new efl_gfx_image_can_downscale_set_delegate(can_downscale_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetCanDownscale") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_can_downscale_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_can_downscale_set_static_delegate) });
+ }
+
if (efl_gfx_image_ratio_get_static_delegate == null)
{
efl_gfx_image_ratio_get_static_delegate = new efl_gfx_image_ratio_get_delegate(ratio_get);
private static efl_gfx_image_scale_type_set_delegate efl_gfx_image_scale_type_set_static_delegate;
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_gfx_image_can_upscale_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_gfx_image_can_upscale_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_can_upscale_get_api_delegate> efl_gfx_image_can_upscale_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_can_upscale_get_api_delegate>(Module, "efl_gfx_image_can_upscale_get");
+
+ private static bool can_upscale_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_gfx_image_can_upscale_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((Bg)ws.Target).GetCanUpscale();
+ }
+ 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_can_upscale_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_gfx_image_can_upscale_get_delegate efl_gfx_image_can_upscale_get_static_delegate;
+
+
+ private delegate void efl_gfx_image_can_upscale_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool upscale);
+
+
+ public delegate void efl_gfx_image_can_upscale_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool upscale);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_can_upscale_set_api_delegate> efl_gfx_image_can_upscale_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_can_upscale_set_api_delegate>(Module, "efl_gfx_image_can_upscale_set");
+
+ private static void can_upscale_set(System.IntPtr obj, System.IntPtr pd, bool upscale)
+ {
+ Eina.Log.Debug("function efl_gfx_image_can_upscale_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Bg)ws.Target).SetCanUpscale(upscale);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_gfx_image_can_upscale_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), upscale);
+ }
+ }
+
+ private static efl_gfx_image_can_upscale_set_delegate efl_gfx_image_can_upscale_set_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_gfx_image_can_downscale_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_gfx_image_can_downscale_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_can_downscale_get_api_delegate> efl_gfx_image_can_downscale_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_can_downscale_get_api_delegate>(Module, "efl_gfx_image_can_downscale_get");
+
+ private static bool can_downscale_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_gfx_image_can_downscale_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((Bg)ws.Target).GetCanDownscale();
+ }
+ 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_can_downscale_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_gfx_image_can_downscale_get_delegate efl_gfx_image_can_downscale_get_static_delegate;
+
+
+ private delegate void efl_gfx_image_can_downscale_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool downscale);
+
+
+ public delegate void efl_gfx_image_can_downscale_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool downscale);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_can_downscale_set_api_delegate> efl_gfx_image_can_downscale_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_can_downscale_set_api_delegate>(Module, "efl_gfx_image_can_downscale_set");
+
+ private static void can_downscale_set(System.IntPtr obj, System.IntPtr pd, bool downscale)
+ {
+ Eina.Log.Debug("function efl_gfx_image_can_downscale_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Bg)ws.Target).SetCanDownscale(downscale);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_gfx_image_can_downscale_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), downscale);
+ }
+ }
+
+ private static efl_gfx_image_can_downscale_set_delegate efl_gfx_image_can_downscale_set_static_delegate;
+
private delegate double efl_gfx_image_ratio_get_delegate(System.IntPtr obj, System.IntPtr pd);
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>);
+ Eina.Iterator<Efl.Gfx.ImageStretchRegion> _out_horizontal = default(Eina.Iterator<Efl.Gfx.ImageStretchRegion>);
+ Eina.Iterator<Efl.Gfx.ImageStretchRegion> _out_vertical = default(Eina.Iterator<Efl.Gfx.ImageStretchRegion>);
try
{
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);
+ var _in_horizontal = new Eina.Iterator<Efl.Gfx.ImageStretchRegion>(horizontal, false);
+ var _in_vertical = new Eina.Iterator<Efl.Gfx.ImageStretchRegion>(vertical, false);
Eina.Error _ret_var = default(Eina.Error);
try
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiBg_ExtensionMethods {
+ public static Efl.BindableProperty<Eina.File> Mmap<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Bg, T>magic = null) where T : Efl.Ui.Bg {
+ return new Efl.BindableProperty<Eina.File>("mmap", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> File<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Bg, T>magic = null) where T : Efl.Ui.Bg {
+ return new Efl.BindableProperty<System.String>("file", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> Key<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Bg, T>magic = null) where T : Efl.Ui.Bg {
+ return new Efl.BindableProperty<System.String>("key", fac);
+ }
+
+
+ public static Efl.BindableProperty<bool> SmoothScale<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Bg, T>magic = null) where T : Efl.Ui.Bg {
+ return new Efl.BindableProperty<bool>("smooth_scale", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Gfx.ImageScaleType> ScaleType<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Bg, T>magic = null) where T : Efl.Ui.Bg {
+ return new Efl.BindableProperty<Efl.Gfx.ImageScaleType>("scale_type", fac);
+ }
+
+ public static Efl.BindableProperty<bool> CanUpscale<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Bg, T>magic = null) where T : Efl.Ui.Bg {
+ return new Efl.BindableProperty<bool>("can_upscale", fac);
+ }
+
+ public static Efl.BindableProperty<bool> CanDownscale<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Bg, T>magic = null) where T : Efl.Ui.Bg {
+ return new Efl.BindableProperty<bool>("can_downscale", fac);
+ }
+
+
+
+
+ public static Efl.BindableProperty<double> BorderScale<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Bg, T>magic = null) where T : Efl.Ui.Bg {
+ return new Efl.BindableProperty<double>("border_scale", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Gfx.BorderFillMode> BorderCenterFill<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Bg, T>magic = null) where T : Efl.Ui.Bg {
+ return new Efl.BindableProperty<Efl.Gfx.BorderFillMode>("border_center_fill", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<Efl.Gfx.ImageContentHint> ContentHint<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Bg, T>magic = null) where T : Efl.Ui.Bg {
+ return new Efl.BindableProperty<Efl.Gfx.ImageContentHint>("content_hint", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Gfx.ImageScaleHint> ScaleHint<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Bg, T>magic = null) where T : Efl.Ui.Bg {
+ return new Efl.BindableProperty<Efl.Gfx.ImageScaleHint>("scale_hint", fac);
+ }
+
+
+ public static Efl.BindableProperty<Eina.Size2D> LoadSize<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Bg, T>magic = null) where T : Efl.Ui.Bg {
+ return new Efl.BindableProperty<Eina.Size2D>("load_size", fac);
+ }
+
+ public static Efl.BindableProperty<double> LoadDpi<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Bg, T>magic = null) where T : Efl.Ui.Bg {
+ return new Efl.BindableProperty<double>("load_dpi", fac);
+ }
+
+
+ public static Efl.BindableProperty<Eina.Rect> LoadRegion<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Bg, T>magic = null) where T : Efl.Ui.Bg {
+ return new Efl.BindableProperty<Eina.Rect>("load_region", fac);
+ }
+
+ public static Efl.BindableProperty<bool> LoadOrientation<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Bg, T>magic = null) where T : Efl.Ui.Bg {
+ return new Efl.BindableProperty<bool>("load_orientation", fac);
+ }
+
+ public static Efl.BindableProperty<int> LoadScaleDown<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Bg, T>magic = null) where T : Efl.Ui.Bg {
+ return new Efl.BindableProperty<int>("load_scale_down", fac);
+ }
+
+ public static Efl.BindableProperty<bool> LoadSkipHeader<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Bg, T>magic = null) where T : Efl.Ui.Bg {
+ return new Efl.BindableProperty<bool>("load_skip_header", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
[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>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Box(ConstructingHandle ch) : base(ch)
{
/// <summary>Sent after a new sub-object was added.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContainerContentAddedEvt_Args"/></value>
public event EventHandler<Efl.IContainerContentAddedEvt_Args> ContentAddedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentAddedEvt.</summary>
+ /// <summary>Method to raise event ContentAddedEvt.</summary>
public void OnContentAddedEvt(Efl.IContainerContentAddedEvt_Args e)
{
var key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED";
}
/// <summary>Sent after a sub-object was removed, before unref.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContainerContentRemovedEvt_Args"/></value>
public event EventHandler<Efl.IContainerContentRemovedEvt_Args> ContentRemovedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentRemovedEvt.</summary>
+ /// <summary>Method to raise event ContentRemovedEvt.</summary>
public void OnContentRemovedEvt(Efl.IContainerContentRemovedEvt_Args e)
{
var key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED";
}
}
}
- ///<summary>Method to raise event LayoutUpdatedEvt.</summary>
+ /// <summary>Method to raise event LayoutUpdatedEvt.</summary>
public void OnLayoutUpdatedEvt(EventArgs e)
{
var key = "_EFL_PACK_EVENT_LAYOUT_UPDATED";
get { return GetHomogeneous(); }
set { SetHomogeneous(value); }
}
+ /// <summary>Alignment of the container within its bounds</summary>
+ /// <value>Horizontal alignment</value>
+ public (double, double) ContentAlign {
+ get {
+ double _out_align_horiz = default(double);
+ double _out_align_vert = default(double);
+ GetContentAlign(out _out_align_horiz,out _out_align_vert);
+ return (_out_align_horiz,_out_align_vert);
+ }
+ set { SetContentAlign( value.Item1, value.Item2); }
+ }
+ /// <summary>Padding between items contained in this object.</summary>
+ /// <value>Horizontal padding</value>
+ public (double, double, bool) ContentPadding {
+ get {
+ double _out_pad_horiz = default(double);
+ double _out_pad_vert = default(double);
+ bool _out_scalable = default(bool);
+ GetContentPadding(out _out_pad_horiz,out _out_pad_vert,out _out_scalable);
+ return (_out_pad_horiz,_out_pad_vert,_out_scalable);
+ }
+ set { SetContentPadding( value.Item1, value.Item2, value.Item3); }
+ }
/// <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.
///
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiBox_ExtensionMethods {
+ public static Efl.BindableProperty<bool> Homogeneous<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Box, T>magic = null) where T : Efl.Ui.Box {
+ return new Efl.BindableProperty<bool>("homogeneous", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<Efl.Ui.LayoutOrientation> Orientation<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Box, T>magic = null) where T : Efl.Ui.Box {
+ return new Efl.BindableProperty<Efl.Ui.LayoutOrientation>("orientation", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>A custom layout engine for <see cref="Efl.Ui.Box"/>.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.BoxFlow.NativeMethods]
[Efl.Eo.BindingEntity]
public class BoxFlow : Efl.Ui.Box
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected BoxFlow(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiBoxFlow_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.BoxStack.NativeMethods]
[Efl.Eo.BindingEntity]
public class BoxStack : Efl.Ui.Box
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected BoxStack(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiBoxStack_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// 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
+public class Button : Efl.Ui.LayoutBase, Efl.IContent, Efl.IText, Efl.Input.IClickable, Efl.Ui.IAutorepeat
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Button(ConstructingHandle ch) : base(ch)
{
/// <summary>Sent after the content is set or unset using the current content object.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContentContentChangedEvt_Args"/></value>
public event EventHandler<Efl.IContentContentChangedEvt_Args> ContentChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentChangedEvt.</summary>
+ /// <summary>Method to raise event ContentChangedEvt.</summary>
public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e)
{
var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
IntPtr info = e.arg.NativeHandle;
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
- /// <summary>Called when a repeated event is emitted</summary>
- public event EventHandler RepeatedEvt
+ /// <summary>Called when object is in sequence pressed and unpressed, by the primary button</summary>
+ /// <value><see cref="Efl.Input.IClickableClickedEvt_Args"/></value>
+ public event EventHandler<Efl.Input.IClickableClickedEvt_Args> ClickedEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- EventArgs args = EventArgs.Empty;
+ Efl.Input.IClickableClickedEvt_Args args = new Efl.Input.IClickableClickedEvt_Args();
+ args.arg = evt.Info;
try
{
value?.Invoke(obj, args);
}
};
- string key = "_EFL_UI_AUTOREPEAT_EVENT_REPEATED";
+ string key = "_EFL_INPUT_EVENT_CLICKED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_AUTOREPEAT_EVENT_REPEATED";
+ string key = "_EFL_INPUT_EVENT_CLICKED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event RepeatedEvt.</summary>
- public void OnRepeatedEvt(EventArgs e)
+ /// <summary>Method to raise event ClickedEvt.</summary>
+ public void OnClickedEvt(Efl.Input.IClickableClickedEvt_Args e)
{
- var key = "_EFL_UI_AUTOREPEAT_EVENT_REPEATED";
+ var key = "_EFL_INPUT_EVENT_CLICKED";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
return;
}
- Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
+ 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>Called when object is in sequence pressed and unpressed, by the primary button</summary>
- public event EventHandler<Efl.Ui.IClickableClickedEvt_Args> ClickedEvt
+ /// <summary>Called when object is in sequence pressed and unpressed by any button. The button that triggered the event can be found in the event information.</summary>
+ /// <value><see cref="Efl.Input.IClickableClickedAnyEvt_Args"/></value>
+ public event EventHandler<Efl.Input.IClickableClickedAnyEvt_Args> ClickedAnyEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- Efl.Ui.IClickableClickedEvt_Args args = new Efl.Ui.IClickableClickedEvt_Args();
+ Efl.Input.IClickableClickedAnyEvt_Args args = new Efl.Input.IClickableClickedAnyEvt_Args();
args.arg = evt.Info;
try
{
}
};
- string key = "_EFL_UI_EVENT_CLICKED";
+ string key = "_EFL_INPUT_EVENT_CLICKED_ANY";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_CLICKED";
+ string key = "_EFL_INPUT_EVENT_CLICKED_ANY";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event ClickedEvt.</summary>
- public void OnClickedEvt(Efl.Ui.IClickableClickedEvt_Args e)
+ /// <summary>Method to raise event ClickedAnyEvt.</summary>
+ public void OnClickedAnyEvt(Efl.Input.IClickableClickedAnyEvt_Args e)
{
- var key = "_EFL_UI_EVENT_CLICKED";
+ var key = "_EFL_INPUT_EVENT_CLICKED_ANY";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
Marshal.FreeHGlobal(info);
}
}
- /// <summary>Called when object is in sequence pressed and unpressed by any button. The button that triggered the event can be found in the event information.</summary>
- public event EventHandler<Efl.Ui.IClickableClickedAnyEvt_Args> ClickedAnyEvt
+ /// <summary>Called when the object is pressed, event_info is the button that got pressed</summary>
+ /// <value><see cref="Efl.Input.IClickablePressedEvt_Args"/></value>
+ public event EventHandler<Efl.Input.IClickablePressedEvt_Args> PressedEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- Efl.Ui.IClickableClickedAnyEvt_Args args = new Efl.Ui.IClickableClickedAnyEvt_Args();
- args.arg = evt.Info;
+ Efl.Input.IClickablePressedEvt_Args args = new Efl.Input.IClickablePressedEvt_Args();
+ args.arg = Marshal.ReadInt32(evt.Info);
try
{
value?.Invoke(obj, args);
}
};
- string key = "_EFL_UI_EVENT_CLICKED_ANY";
+ string key = "_EFL_INPUT_EVENT_PRESSED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_CLICKED_ANY";
+ string key = "_EFL_INPUT_EVENT_PRESSED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event ClickedAnyEvt.</summary>
- public void OnClickedAnyEvt(Efl.Ui.IClickableClickedAnyEvt_Args e)
+ /// <summary>Method to raise event PressedEvt.</summary>
+ public void OnPressedEvt(Efl.Input.IClickablePressedEvt_Args e)
{
- var key = "_EFL_UI_EVENT_CLICKED_ANY";
+ var key = "_EFL_INPUT_EVENT_PRESSED";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
return;
}
- IntPtr info = Marshal.AllocHGlobal(Marshal.SizeOf(e.arg));
+ IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(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>Called when the object is pressed, event_info is the button that got pressed</summary>
- public event EventHandler<Efl.Ui.IClickablePressedEvt_Args> PressedEvt
+ /// <summary>Called when the object is no longer pressed, event_info is the button that got pressed</summary>
+ /// <value><see cref="Efl.Input.IClickableUnpressedEvt_Args"/></value>
+ public event EventHandler<Efl.Input.IClickableUnpressedEvt_Args> UnpressedEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- Efl.Ui.IClickablePressedEvt_Args args = new Efl.Ui.IClickablePressedEvt_Args();
+ Efl.Input.IClickableUnpressedEvt_Args args = new Efl.Input.IClickableUnpressedEvt_Args();
args.arg = Marshal.ReadInt32(evt.Info);
try
{
}
};
- string key = "_EFL_UI_EVENT_PRESSED";
+ string key = "_EFL_INPUT_EVENT_UNPRESSED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_PRESSED";
+ string key = "_EFL_INPUT_EVENT_UNPRESSED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event PressedEvt.</summary>
- public void OnPressedEvt(Efl.Ui.IClickablePressedEvt_Args e)
+ /// <summary>Method to raise event UnpressedEvt.</summary>
+ public void OnUnpressedEvt(Efl.Input.IClickableUnpressedEvt_Args e)
{
- var key = "_EFL_UI_EVENT_PRESSED";
+ var key = "_EFL_INPUT_EVENT_UNPRESSED";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
Marshal.FreeHGlobal(info);
}
}
- /// <summary>Called when the object is no longer pressed, event_info is the button that got pressed</summary>
- public event EventHandler<Efl.Ui.IClickableUnpressedEvt_Args> UnpressedEvt
+ /// <summary>Called when the object receives a long press, event_info is the button that got pressed</summary>
+ /// <value><see cref="Efl.Input.IClickableLongpressedEvt_Args"/></value>
+ public event EventHandler<Efl.Input.IClickableLongpressedEvt_Args> LongpressedEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- Efl.Ui.IClickableUnpressedEvt_Args args = new Efl.Ui.IClickableUnpressedEvt_Args();
+ Efl.Input.IClickableLongpressedEvt_Args args = new Efl.Input.IClickableLongpressedEvt_Args();
args.arg = Marshal.ReadInt32(evt.Info);
try
{
}
};
- string key = "_EFL_UI_EVENT_UNPRESSED";
+ string key = "_EFL_INPUT_EVENT_LONGPRESSED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_UNPRESSED";
+ string key = "_EFL_INPUT_EVENT_LONGPRESSED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event UnpressedEvt.</summary>
- public void OnUnpressedEvt(Efl.Ui.IClickableUnpressedEvt_Args e)
+ /// <summary>Method to raise event LongpressedEvt.</summary>
+ public void OnLongpressedEvt(Efl.Input.IClickableLongpressedEvt_Args e)
{
- var key = "_EFL_UI_EVENT_UNPRESSED";
+ var key = "_EFL_INPUT_EVENT_LONGPRESSED";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
Marshal.FreeHGlobal(info);
}
}
- /// <summary>Called when the object receives a long press, event_info is the button that got pressed</summary>
- public event EventHandler<Efl.Ui.IClickableLongpressedEvt_Args> LongpressedEvt
+ /// <summary>Called when a repeated event is emitted</summary>
+ public event EventHandler RepeatedEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- Efl.Ui.IClickableLongpressedEvt_Args args = new Efl.Ui.IClickableLongpressedEvt_Args();
- args.arg = Marshal.ReadInt32(evt.Info);
+ EventArgs args = EventArgs.Empty;
try
{
value?.Invoke(obj, args);
}
};
- string key = "_EFL_UI_EVENT_LONGPRESSED";
+ string key = "_EFL_UI_AUTOREPEAT_EVENT_REPEATED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_LONGPRESSED";
+ string key = "_EFL_UI_AUTOREPEAT_EVENT_REPEATED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event LongpressedEvt.</summary>
- public void OnLongpressedEvt(Efl.Ui.IClickableLongpressedEvt_Args e)
+ /// <summary>Method to raise event RepeatedEvt.</summary>
+ public void OnRepeatedEvt(EventArgs e)
{
- var key = "_EFL_UI_EVENT_LONGPRESSED";
+ var key = "_EFL_UI_AUTOREPEAT_EVENT_REPEATED";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
return;
}
- IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg);
- try
- {
- Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
- }
- finally
- {
- Marshal.FreeHGlobal(info);
- }
+ Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
/// <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).
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>This returns true if the given object is currently in event emission</summary>
+ virtual public bool GetInteraction() {
+ var _ret_var = Efl.Input.IClickableConcrete.NativeMethods.efl_input_clickable_interaction_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <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.Input.IClickableConcrete.NativeMethods.efl_input_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.Input.IClickableConcrete.NativeMethods.efl_input_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.Input.IClickableConcrete.NativeMethods.efl_input_clickable_button_state_reset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),button);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>This aborts ongoing longpress event.
+ /// That is, this will stop the timer for longpress.</summary>
+ virtual public void LongpressAbort(uint button) {
+ Efl.Input.IClickableConcrete.NativeMethods.efl_input_clickable_longpress_abort_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),button);
+ Eina.Error.RaiseIfUnhandledException();
+ }
/// <summary>The initial timeout before the autorepeat event is generated.
/// Sets the timeout, in seconds, since the button is pressed until the first <c>repeated</c> signal is emitted. If <c>t</c> is 0.0 or less, there won't be any delay and the event will be fired the moment the button is pressed.
///
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((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((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((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.
/// 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>
get { return GetContent(); }
set { SetContent(value); }
}
+ /// <summary>This returns true if the given object is currently in event emission</summary>
+ public bool Interaction {
+ get { return GetInteraction(); }
+ }
/// <summary>The initial timeout before the autorepeat event is generated.
/// Sets the timeout, in seconds, since the button is pressed until the first <c>repeated</c> signal is emitted. If <c>t</c> is 0.0 or less, there won't be any delay and the event will be fired the moment the button is pressed.
///
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_input_clickable_interaction_get_static_delegate == null)
+ {
+ efl_input_clickable_interaction_get_static_delegate = new efl_input_clickable_interaction_get_delegate(interaction_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetInteraction") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_clickable_interaction_get"), func = Marshal.GetFunctionPointerForDelegate(efl_input_clickable_interaction_get_static_delegate) });
+ }
+
+ if (efl_input_clickable_press_static_delegate == null)
+ {
+ efl_input_clickable_press_static_delegate = new efl_input_clickable_press_delegate(press);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "Press") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_clickable_press"), func = Marshal.GetFunctionPointerForDelegate(efl_input_clickable_press_static_delegate) });
+ }
+
+ if (efl_input_clickable_unpress_static_delegate == null)
+ {
+ efl_input_clickable_unpress_static_delegate = new efl_input_clickable_unpress_delegate(unpress);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "Unpress") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_clickable_unpress"), func = Marshal.GetFunctionPointerForDelegate(efl_input_clickable_unpress_static_delegate) });
+ }
+
+ if (efl_input_clickable_button_state_reset_static_delegate == null)
+ {
+ efl_input_clickable_button_state_reset_static_delegate = new efl_input_clickable_button_state_reset_delegate(button_state_reset);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "ResetButtonState") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_clickable_button_state_reset"), func = Marshal.GetFunctionPointerForDelegate(efl_input_clickable_button_state_reset_static_delegate) });
+ }
+
+ if (efl_input_clickable_longpress_abort_static_delegate == null)
+ {
+ efl_input_clickable_longpress_abort_static_delegate = new efl_input_clickable_longpress_abort_delegate(longpress_abort);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "LongpressAbort") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_clickable_longpress_abort"), func = Marshal.GetFunctionPointerForDelegate(efl_input_clickable_longpress_abort_static_delegate) });
+ }
+
if (efl_ui_autorepeat_initial_timeout_get_static_delegate == null)
{
efl_ui_autorepeat_initial_timeout_get_static_delegate = new efl_ui_autorepeat_initial_timeout_get_delegate(autorepeat_initial_timeout_get);
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_autorepeat_enabled_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_autorepeat_enabled_set_static_delegate) });
}
- if (efl_ui_clickable_press_static_delegate == null)
- {
- efl_ui_clickable_press_static_delegate = new efl_ui_clickable_press_delegate(press);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "Press") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_clickable_press"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_clickable_press_static_delegate) });
- }
-
- if (efl_ui_clickable_unpress_static_delegate == null)
- {
- efl_ui_clickable_unpress_static_delegate = new efl_ui_clickable_unpress_delegate(unpress);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "Unpress") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_clickable_unpress"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_clickable_unpress_static_delegate) });
- }
-
- if (efl_ui_clickable_button_state_reset_static_delegate == null)
- {
- efl_ui_clickable_button_state_reset_static_delegate = new efl_ui_clickable_button_state_reset_delegate(button_state_reset);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "ResetButtonState") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_clickable_button_state_reset"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_clickable_button_state_reset_static_delegate) });
- }
-
descs.AddRange(base.GetEoOps(type));
return descs;
}
private static efl_text_set_delegate efl_text_set_static_delegate;
-
- private delegate double efl_ui_autorepeat_initial_timeout_get_delegate(System.IntPtr obj, System.IntPtr pd);
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_input_clickable_interaction_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- public delegate double efl_ui_autorepeat_initial_timeout_get_api_delegate(System.IntPtr obj);
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_input_clickable_interaction_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<efl_ui_autorepeat_initial_timeout_get_api_delegate> efl_ui_autorepeat_initial_timeout_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_autorepeat_initial_timeout_get_api_delegate>(Module, "efl_ui_autorepeat_initial_timeout_get");
+ public static Efl.Eo.FunctionWrapper<efl_input_clickable_interaction_get_api_delegate> efl_input_clickable_interaction_get_ptr = new Efl.Eo.FunctionWrapper<efl_input_clickable_interaction_get_api_delegate>(Module, "efl_input_clickable_interaction_get");
- private static double autorepeat_initial_timeout_get(System.IntPtr obj, System.IntPtr pd)
+ private static bool interaction_get(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function efl_ui_autorepeat_initial_timeout_get was called");
+ Eina.Log.Debug("function efl_input_clickable_interaction_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- double _ret_var = default(double);
+ bool _ret_var = default(bool);
try
{
- _ret_var = ((Button)ws.Target).GetAutorepeatInitialTimeout();
+ _ret_var = ((Button)ws.Target).GetInteraction();
}
catch (Exception e)
{
}
else
{
- return efl_ui_autorepeat_initial_timeout_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ return efl_input_clickable_interaction_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
- private static efl_ui_autorepeat_initial_timeout_get_delegate efl_ui_autorepeat_initial_timeout_get_static_delegate;
+ private static efl_input_clickable_interaction_get_delegate efl_input_clickable_interaction_get_static_delegate;
- private delegate void efl_ui_autorepeat_initial_timeout_set_delegate(System.IntPtr obj, System.IntPtr pd, double t);
+ private delegate void efl_input_clickable_press_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
- public delegate void efl_ui_autorepeat_initial_timeout_set_api_delegate(System.IntPtr obj, double t);
+ public delegate void efl_input_clickable_press_api_delegate(System.IntPtr obj, uint button);
- public static Efl.Eo.FunctionWrapper<efl_ui_autorepeat_initial_timeout_set_api_delegate> efl_ui_autorepeat_initial_timeout_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_autorepeat_initial_timeout_set_api_delegate>(Module, "efl_ui_autorepeat_initial_timeout_set");
+ public static Efl.Eo.FunctionWrapper<efl_input_clickable_press_api_delegate> efl_input_clickable_press_ptr = new Efl.Eo.FunctionWrapper<efl_input_clickable_press_api_delegate>(Module, "efl_input_clickable_press");
- private static void autorepeat_initial_timeout_set(System.IntPtr obj, System.IntPtr pd, double t)
+ private static void press(System.IntPtr obj, System.IntPtr pd, uint button)
{
- Eina.Log.Debug("function efl_ui_autorepeat_initial_timeout_set was called");
+ Eina.Log.Debug("function efl_input_clickable_press was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
- ((Button)ws.Target).SetAutorepeatInitialTimeout(t);
+ ((Button)ws.Target).Press(button);
}
catch (Exception e)
{
}
else
{
- efl_ui_autorepeat_initial_timeout_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), t);
+ efl_input_clickable_press_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
}
}
- private static efl_ui_autorepeat_initial_timeout_set_delegate efl_ui_autorepeat_initial_timeout_set_static_delegate;
+ private static efl_input_clickable_press_delegate efl_input_clickable_press_static_delegate;
- private delegate double efl_ui_autorepeat_gap_timeout_get_delegate(System.IntPtr obj, System.IntPtr pd);
+ private delegate void efl_input_clickable_unpress_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
- public delegate double efl_ui_autorepeat_gap_timeout_get_api_delegate(System.IntPtr obj);
+ public delegate void efl_input_clickable_unpress_api_delegate(System.IntPtr obj, uint button);
- public static Efl.Eo.FunctionWrapper<efl_ui_autorepeat_gap_timeout_get_api_delegate> efl_ui_autorepeat_gap_timeout_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_autorepeat_gap_timeout_get_api_delegate>(Module, "efl_ui_autorepeat_gap_timeout_get");
+ public static Efl.Eo.FunctionWrapper<efl_input_clickable_unpress_api_delegate> efl_input_clickable_unpress_ptr = new Efl.Eo.FunctionWrapper<efl_input_clickable_unpress_api_delegate>(Module, "efl_input_clickable_unpress");
- private static double autorepeat_gap_timeout_get(System.IntPtr obj, System.IntPtr pd)
+ private static void unpress(System.IntPtr obj, System.IntPtr pd, uint button)
{
- Eina.Log.Debug("function efl_ui_autorepeat_gap_timeout_get was called");
+ Eina.Log.Debug("function efl_input_clickable_unpress was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- double _ret_var = default(double);
+
try
{
- _ret_var = ((Button)ws.Target).GetAutorepeatGapTimeout();
+ ((Button)ws.Target).Unpress(button);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
- return _ret_var;
+
+ }
+ else
+ {
+ efl_input_clickable_unpress_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
+ }
+ }
+
+ private static efl_input_clickable_unpress_delegate efl_input_clickable_unpress_static_delegate;
+
+
+ private delegate void efl_input_clickable_button_state_reset_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
+
+
+ public delegate void efl_input_clickable_button_state_reset_api_delegate(System.IntPtr obj, uint button);
+ public static Efl.Eo.FunctionWrapper<efl_input_clickable_button_state_reset_api_delegate> efl_input_clickable_button_state_reset_ptr = new Efl.Eo.FunctionWrapper<efl_input_clickable_button_state_reset_api_delegate>(Module, "efl_input_clickable_button_state_reset");
+
+ private static void button_state_reset(System.IntPtr obj, System.IntPtr pd, uint button)
+ {
+ Eina.Log.Debug("function efl_input_clickable_button_state_reset was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Button)ws.Target).ResetButtonState(button);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
}
else
{
- return efl_ui_autorepeat_gap_timeout_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ efl_input_clickable_button_state_reset_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
}
}
- private static efl_ui_autorepeat_gap_timeout_get_delegate efl_ui_autorepeat_gap_timeout_get_static_delegate;
+ private static efl_input_clickable_button_state_reset_delegate efl_input_clickable_button_state_reset_static_delegate;
- private delegate void efl_ui_autorepeat_gap_timeout_set_delegate(System.IntPtr obj, System.IntPtr pd, double t);
+ private delegate void efl_input_clickable_longpress_abort_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
- public delegate void efl_ui_autorepeat_gap_timeout_set_api_delegate(System.IntPtr obj, double t);
+ public delegate void efl_input_clickable_longpress_abort_api_delegate(System.IntPtr obj, uint button);
- public static Efl.Eo.FunctionWrapper<efl_ui_autorepeat_gap_timeout_set_api_delegate> efl_ui_autorepeat_gap_timeout_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_autorepeat_gap_timeout_set_api_delegate>(Module, "efl_ui_autorepeat_gap_timeout_set");
+ public static Efl.Eo.FunctionWrapper<efl_input_clickable_longpress_abort_api_delegate> efl_input_clickable_longpress_abort_ptr = new Efl.Eo.FunctionWrapper<efl_input_clickable_longpress_abort_api_delegate>(Module, "efl_input_clickable_longpress_abort");
- private static void autorepeat_gap_timeout_set(System.IntPtr obj, System.IntPtr pd, double t)
+ private static void longpress_abort(System.IntPtr obj, System.IntPtr pd, uint button)
{
- Eina.Log.Debug("function efl_ui_autorepeat_gap_timeout_set was called");
+ Eina.Log.Debug("function efl_input_clickable_longpress_abort was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
- ((Button)ws.Target).SetAutorepeatGapTimeout(t);
+ ((Button)ws.Target).LongpressAbort(button);
}
catch (Exception e)
{
}
else
{
- efl_ui_autorepeat_gap_timeout_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), t);
+ efl_input_clickable_longpress_abort_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
}
}
- private static efl_ui_autorepeat_gap_timeout_set_delegate efl_ui_autorepeat_gap_timeout_set_static_delegate;
+ private static efl_input_clickable_longpress_abort_delegate efl_input_clickable_longpress_abort_static_delegate;
- [return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_ui_autorepeat_enabled_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ private delegate double efl_ui_autorepeat_initial_timeout_get_delegate(System.IntPtr obj, System.IntPtr pd);
- [return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_ui_autorepeat_enabled_get_api_delegate(System.IntPtr obj);
+
+ public delegate double efl_ui_autorepeat_initial_timeout_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<efl_ui_autorepeat_enabled_get_api_delegate> efl_ui_autorepeat_enabled_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_autorepeat_enabled_get_api_delegate>(Module, "efl_ui_autorepeat_enabled_get");
+ public static Efl.Eo.FunctionWrapper<efl_ui_autorepeat_initial_timeout_get_api_delegate> efl_ui_autorepeat_initial_timeout_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_autorepeat_initial_timeout_get_api_delegate>(Module, "efl_ui_autorepeat_initial_timeout_get");
- private static bool autorepeat_enabled_get(System.IntPtr obj, System.IntPtr pd)
+ private static double autorepeat_initial_timeout_get(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function efl_ui_autorepeat_enabled_get was called");
+ Eina.Log.Debug("function efl_ui_autorepeat_initial_timeout_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- bool _ret_var = default(bool);
+ double _ret_var = default(double);
try
{
- _ret_var = ((Button)ws.Target).GetAutorepeatEnabled();
+ _ret_var = ((Button)ws.Target).GetAutorepeatInitialTimeout();
}
catch (Exception e)
{
}
else
{
- return efl_ui_autorepeat_enabled_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ return efl_ui_autorepeat_initial_timeout_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
- private static efl_ui_autorepeat_enabled_get_delegate efl_ui_autorepeat_enabled_get_static_delegate;
+ private static efl_ui_autorepeat_initial_timeout_get_delegate efl_ui_autorepeat_initial_timeout_get_static_delegate;
- private delegate void efl_ui_autorepeat_enabled_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool on);
+ private delegate void efl_ui_autorepeat_initial_timeout_set_delegate(System.IntPtr obj, System.IntPtr pd, double t);
- public delegate void efl_ui_autorepeat_enabled_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool on);
+ public delegate void efl_ui_autorepeat_initial_timeout_set_api_delegate(System.IntPtr obj, double t);
- public static Efl.Eo.FunctionWrapper<efl_ui_autorepeat_enabled_set_api_delegate> efl_ui_autorepeat_enabled_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_autorepeat_enabled_set_api_delegate>(Module, "efl_ui_autorepeat_enabled_set");
+ public static Efl.Eo.FunctionWrapper<efl_ui_autorepeat_initial_timeout_set_api_delegate> efl_ui_autorepeat_initial_timeout_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_autorepeat_initial_timeout_set_api_delegate>(Module, "efl_ui_autorepeat_initial_timeout_set");
- private static void autorepeat_enabled_set(System.IntPtr obj, System.IntPtr pd, bool on)
+ private static void autorepeat_initial_timeout_set(System.IntPtr obj, System.IntPtr pd, double t)
{
- Eina.Log.Debug("function efl_ui_autorepeat_enabled_set was called");
+ Eina.Log.Debug("function efl_ui_autorepeat_initial_timeout_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
- ((Button)ws.Target).SetAutorepeatEnabled(on);
+ ((Button)ws.Target).SetAutorepeatInitialTimeout(t);
}
catch (Exception e)
{
}
else
{
- efl_ui_autorepeat_enabled_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), on);
+ efl_ui_autorepeat_initial_timeout_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), t);
}
}
- private static efl_ui_autorepeat_enabled_set_delegate efl_ui_autorepeat_enabled_set_static_delegate;
+ private static efl_ui_autorepeat_initial_timeout_set_delegate efl_ui_autorepeat_initial_timeout_set_static_delegate;
- private delegate void efl_ui_clickable_press_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
+ private delegate double efl_ui_autorepeat_gap_timeout_get_delegate(System.IntPtr obj, System.IntPtr pd);
- public delegate void efl_ui_clickable_press_api_delegate(System.IntPtr obj, uint button);
+ public delegate double efl_ui_autorepeat_gap_timeout_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<efl_ui_clickable_press_api_delegate> efl_ui_clickable_press_ptr = new Efl.Eo.FunctionWrapper<efl_ui_clickable_press_api_delegate>(Module, "efl_ui_clickable_press");
+ public static Efl.Eo.FunctionWrapper<efl_ui_autorepeat_gap_timeout_get_api_delegate> efl_ui_autorepeat_gap_timeout_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_autorepeat_gap_timeout_get_api_delegate>(Module, "efl_ui_autorepeat_gap_timeout_get");
- private static void press(System.IntPtr obj, System.IntPtr pd, uint button)
+ private static double autorepeat_gap_timeout_get(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function efl_ui_clickable_press was called");
+ Eina.Log.Debug("function efl_ui_autorepeat_gap_timeout_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
-
+ double _ret_var = default(double);
try
{
- ((Button)ws.Target).Press(button);
+ _ret_var = ((Button)ws.Target).GetAutorepeatGapTimeout();
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+ return _ret_var;
+
}
else
{
- efl_ui_clickable_press_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
+ return efl_ui_autorepeat_gap_timeout_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
- private static efl_ui_clickable_press_delegate efl_ui_clickable_press_static_delegate;
+ private static efl_ui_autorepeat_gap_timeout_get_delegate efl_ui_autorepeat_gap_timeout_get_static_delegate;
- private delegate void efl_ui_clickable_unpress_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
+ private delegate void efl_ui_autorepeat_gap_timeout_set_delegate(System.IntPtr obj, System.IntPtr pd, double t);
- public delegate void efl_ui_clickable_unpress_api_delegate(System.IntPtr obj, uint button);
+ public delegate void efl_ui_autorepeat_gap_timeout_set_api_delegate(System.IntPtr obj, double t);
- public static Efl.Eo.FunctionWrapper<efl_ui_clickable_unpress_api_delegate> efl_ui_clickable_unpress_ptr = new Efl.Eo.FunctionWrapper<efl_ui_clickable_unpress_api_delegate>(Module, "efl_ui_clickable_unpress");
+ public static Efl.Eo.FunctionWrapper<efl_ui_autorepeat_gap_timeout_set_api_delegate> efl_ui_autorepeat_gap_timeout_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_autorepeat_gap_timeout_set_api_delegate>(Module, "efl_ui_autorepeat_gap_timeout_set");
- private static void unpress(System.IntPtr obj, System.IntPtr pd, uint button)
+ private static void autorepeat_gap_timeout_set(System.IntPtr obj, System.IntPtr pd, double t)
{
- Eina.Log.Debug("function efl_ui_clickable_unpress was called");
+ Eina.Log.Debug("function efl_ui_autorepeat_gap_timeout_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
- ((Button)ws.Target).Unpress(button);
+ ((Button)ws.Target).SetAutorepeatGapTimeout(t);
}
catch (Exception e)
{
}
else
{
- efl_ui_clickable_unpress_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
+ efl_ui_autorepeat_gap_timeout_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), t);
+ }
+ }
+
+ private static efl_ui_autorepeat_gap_timeout_set_delegate efl_ui_autorepeat_gap_timeout_set_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_ui_autorepeat_enabled_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_ui_autorepeat_enabled_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_autorepeat_enabled_get_api_delegate> efl_ui_autorepeat_enabled_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_autorepeat_enabled_get_api_delegate>(Module, "efl_ui_autorepeat_enabled_get");
+
+ private static bool autorepeat_enabled_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_autorepeat_enabled_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((Button)ws.Target).GetAutorepeatEnabled();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_autorepeat_enabled_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
- private static efl_ui_clickable_unpress_delegate efl_ui_clickable_unpress_static_delegate;
+ private static efl_ui_autorepeat_enabled_get_delegate efl_ui_autorepeat_enabled_get_static_delegate;
- private delegate void efl_ui_clickable_button_state_reset_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
+ private delegate void efl_ui_autorepeat_enabled_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool on);
- public delegate void efl_ui_clickable_button_state_reset_api_delegate(System.IntPtr obj, uint button);
+ public delegate void efl_ui_autorepeat_enabled_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool on);
- public static Efl.Eo.FunctionWrapper<efl_ui_clickable_button_state_reset_api_delegate> efl_ui_clickable_button_state_reset_ptr = new Efl.Eo.FunctionWrapper<efl_ui_clickable_button_state_reset_api_delegate>(Module, "efl_ui_clickable_button_state_reset");
+ public static Efl.Eo.FunctionWrapper<efl_ui_autorepeat_enabled_set_api_delegate> efl_ui_autorepeat_enabled_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_autorepeat_enabled_set_api_delegate>(Module, "efl_ui_autorepeat_enabled_set");
- private static void button_state_reset(System.IntPtr obj, System.IntPtr pd, uint button)
+ private static void autorepeat_enabled_set(System.IntPtr obj, System.IntPtr pd, bool on)
{
- Eina.Log.Debug("function efl_ui_clickable_button_state_reset was called");
+ Eina.Log.Debug("function efl_ui_autorepeat_enabled_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
- ((Button)ws.Target).ResetButtonState(button);
+ ((Button)ws.Target).SetAutorepeatEnabled(on);
}
catch (Exception e)
{
}
else
{
- efl_ui_clickable_button_state_reset_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
+ efl_ui_autorepeat_enabled_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), on);
}
}
- private static efl_ui_clickable_button_state_reset_delegate efl_ui_clickable_button_state_reset_static_delegate;
+ private static efl_ui_autorepeat_enabled_set_delegate efl_ui_autorepeat_enabled_set_static_delegate;
#pragma warning restore CA1707, CS1591, SA1300, SA1600
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiButton_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Gfx.IEntity> Content<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Button, T>magic = null) where T : Efl.Ui.Button {
+ return new Efl.BindableProperty<Efl.Gfx.IEntity>("content", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<double> AutorepeatInitialTimeout<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Button, T>magic = null) where T : Efl.Ui.Button {
+ return new Efl.BindableProperty<double>("autorepeat_initial_timeout", fac);
+ }
+
+ public static Efl.BindableProperty<double> AutorepeatGapTimeout<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Button, T>magic = null) where T : Efl.Ui.Button {
+ return new Efl.BindableProperty<double>("autorepeat_gap_timeout", fac);
+ }
+
+ public static Efl.BindableProperty<bool> AutorepeatEnabled<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Button, T>magic = null) where T : Efl.Ui.Button {
+ return new Efl.BindableProperty<bool>("autorepeat_enabled", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Elementary button internal part class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.ButtonLegacyPart.NativeMethods]
[Efl.Eo.BindingEntity]
public class ButtonLegacyPart : Efl.Ui.LayoutPartContent
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected ButtonLegacyPart(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiButtonLegacyPart_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// Creating objects is costly and time consuming, keeping a few on hand for when you next will need them helps a lot. This is what this factory caching infrastructure provides. It will create the object from the class defined on it and set the parent and the model as needed for all created items. The View has to release the Item using the release function of the Factory interface for all of this to work properly.
///
/// The cache might decide to flush itself when the application event pause is triggered.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.CachingFactory.NativeMethods]
[Efl.Eo.BindingEntity]
public class CachingFactory : Efl.Ui.WidgetFactory
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected CachingFactory(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiCachingFactory_ExtensionMethods {
+ public static Efl.BindableProperty<uint> MemoryLimit<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.CachingFactory, T>magic = null) where T : Efl.Ui.CachingFactory {
+ return new Efl.BindableProperty<uint>("memory_limit", fac);
+ }
+
+ public static Efl.BindableProperty<uint> ItemsLimit<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.CachingFactory, T>magic = null) where T : Efl.Ui.CachingFactory {
+ return new Efl.BindableProperty<uint>("items_limit", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Calendar(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event ChangedEvt.</summary>
+ /// <summary>Method to raise event ChangedEvt.</summary>
public void OnChangedEvt(EventArgs e)
{
var key = "_EFL_UI_CALENDAR_EVENT_CHANGED";
get { return GetFormatValues(); }
set { SetFormatValues(value); }
}
+ /// <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>
+ /// <value>Formatting string containing regular characters and format specifiers.</value>
+ public (System.String, Efl.Ui.FormatStringType) FormatString {
+ get {
+ System.String _out_kw_string = default(System.String);
+ Efl.Ui.FormatStringType _out_type = default(Efl.Ui.FormatStringType);
+ GetFormatString(out _out_kw_string,out _out_type);
+ return (_out_kw_string,_out_type);
+ }
+ set { SetFormatString( value.Item1, value.Item2); }
+ }
/// <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 EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiCalendar_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Ui.CalendarWeekday> FirstDayOfWeek<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Calendar, T>magic = null) where T : Efl.Ui.Calendar {
+ return new Efl.BindableProperty<Efl.Ui.CalendarWeekday>("first_day_of_week", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Time> DateMin<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Calendar, T>magic = null) where T : Efl.Ui.Calendar {
+ return new Efl.BindableProperty<Efl.Time>("date_min", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Time> DateMax<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Calendar, T>magic = null) where T : Efl.Ui.Calendar {
+ return new Efl.BindableProperty<Efl.Time>("date_max", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Time> Date<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Calendar, T>magic = null) where T : Efl.Ui.Calendar {
+ return new Efl.BindableProperty<Efl.Time>("date", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Ui.FormatFunc> FormatFunc<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Calendar, T>magic = null) where T : Efl.Ui.Calendar {
+ return new Efl.BindableProperty<Efl.Ui.FormatFunc>("format_func", fac);
+ }
+
+ public static Efl.BindableProperty<Eina.Accessor<Efl.Ui.FormatValue>> FormatValues<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Calendar, T>magic = null) where T : Efl.Ui.Calendar {
+ return new Efl.BindableProperty<Eina.Accessor<Efl.Ui.FormatValue>>("format_values", fac);
+ }
+
+
+ public static Efl.BindableProperty<Eina.List<Efl.Gfx.IEntity>> CompositionElements<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Calendar, T>magic = null) where T : Efl.Ui.Calendar {
+ return new Efl.BindableProperty<Eina.List<Efl.Gfx.IEntity>>("composition_elements", fac);
+ }
+
+ public static Efl.BindableProperty<bool> LogicalMode<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Calendar, T>magic = null) where T : Efl.Ui.Calendar {
+ return new Efl.BindableProperty<bool>("logical_mode", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
namespace Efl {
namespace Ui {
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>EFL UI Calendar Item class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected CalendarItem(ConstructingHandle ch) : base(ch)
{
/// <summary>Emitted if the focus state has changed.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IObjectFocusChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.Focus.IObjectFocusChangedEvt_Args> FocusChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event FocusChangedEvt.</summary>
+ /// <summary>Method to raise event FocusChangedEvt.</summary>
public void OnFocusChangedEvt(Efl.Ui.Focus.IObjectFocusChangedEvt_Args e)
{
var key = "_EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_CHANGED";
}
/// <summary>Emitted when a new manager is the parent for this object.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IObjectFocusManagerChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.Focus.IObjectFocusManagerChangedEvt_Args> FocusManagerChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event FocusManagerChangedEvt.</summary>
+ /// <summary>Method to raise event FocusManagerChangedEvt.</summary>
public void OnFocusManagerChangedEvt(Efl.Ui.Focus.IObjectFocusManagerChangedEvt_Args e)
{
var key = "_EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_MANAGER_CHANGED";
}
/// <summary>Emitted when a new logical parent should be used.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IObjectFocusParentChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.Focus.IObjectFocusParentChangedEvt_Args> FocusParentChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event FocusParentChangedEvt.</summary>
+ /// <summary>Method to raise event FocusParentChangedEvt.</summary>
public void OnFocusParentChangedEvt(Efl.Ui.Focus.IObjectFocusParentChangedEvt_Args e)
{
var key = "_EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_PARENT_CHANGED";
}
/// <summary>Emitted if child_focus has changed.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IObjectChildFocusChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.Focus.IObjectChildFocusChangedEvt_Args> ChildFocusChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event ChildFocusChangedEvt.</summary>
+ /// <summary>Method to raise event ChildFocusChangedEvt.</summary>
public void OnChildFocusChangedEvt(Efl.Ui.Focus.IObjectChildFocusChangedEvt_Args e)
{
var key = "_EFL_UI_FOCUS_OBJECT_EVENT_CHILD_FOCUS_CHANGED";
}
/// <summary>Emitted if focus geometry of this object has changed.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IObjectFocusGeometryChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.Focus.IObjectFocusGeometryChangedEvt_Args> FocusGeometryChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event FocusGeometryChangedEvt.</summary>
+ /// <summary>Method to raise event FocusGeometryChangedEvt.</summary>
public void OnFocusGeometryChangedEvt(Efl.Ui.Focus.IObjectFocusGeometryChangedEvt_Args e)
{
var key = "_EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_GEOMETRY_CHANGED";
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiCalendarItem_ExtensionMethods {
+ public static Efl.BindableProperty<int> DayNumber<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.CalendarItem, T>magic = null) where T : Efl.Ui.CalendarItem {
+ return new Efl.BindableProperty<int>("day_number", fac);
+ }
+
+
+ public static Efl.BindableProperty<bool> Focus<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.CalendarItem, T>magic = null) where T : Efl.Ui.CalendarItem {
+ return new Efl.BindableProperty<bool>("focus", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<bool> ChildFocus<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.CalendarItem, T>magic = null) where T : Efl.Ui.CalendarItem {
+ return new Efl.BindableProperty<bool>("child_focus", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.Check.NativeMethods]
[Efl.Eo.BindingEntity]
-public class Check : Efl.Ui.LayoutBase, Efl.IContent, Efl.IText
+public class Check : Efl.Ui.LayoutBase, Efl.IContent, Efl.IText, Efl.Input.IClickable, Efl.Ui.ISelectable
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Check(ConstructingHandle ch) : base(ch)
{
{
}
- /// <summary>Emitted each time selected has changed</summary>
- public event EventHandler<Efl.Ui.CheckSelectedChangedEvt_Args> SelectedChangedEvt
+ /// <summary>Sent after the content is set or unset using the current content object.
+ /// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContentContentChangedEvt_Args"/></value>
+ public event EventHandler<Efl.IContentContentChangedEvt_Args> ContentChangedEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- Efl.Ui.CheckSelectedChangedEvt_Args args = new Efl.Ui.CheckSelectedChangedEvt_Args();
- args.arg = Marshal.ReadByte(evt.Info) != 0;
+ Efl.IContentContentChangedEvt_Args args = new Efl.IContentContentChangedEvt_Args();
+ args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Gfx.IEntityConcrete);
try
{
value?.Invoke(obj, args);
}
};
- string key = "_EFL_UI_CHECK_EVENT_SELECTED_CHANGED";
+ string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_CHECK_EVENT_SELECTED_CHANGED";
+ string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event SelectedChangedEvt.</summary>
- public void OnSelectedChangedEvt(Efl.Ui.CheckSelectedChangedEvt_Args e)
+ /// <summary>Method to raise event ContentChangedEvt.</summary>
+ public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e)
{
- var key = "_EFL_UI_CHECK_EVENT_SELECTED_CHANGED";
+ var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
return;
}
- IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg ? (byte) 1 : (byte) 0);
+ IntPtr info = e.arg.NativeHandle;
+ Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
+ }
+ /// <summary>Called when object is in sequence pressed and unpressed, by the primary button</summary>
+ /// <value><see cref="Efl.Input.IClickableClickedEvt_Args"/></value>
+ public event EventHandler<Efl.Input.IClickableClickedEvt_Args> ClickedEvt
+ {
+ 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.Input.IClickableClickedEvt_Args args = new Efl.Input.IClickableClickedEvt_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_INPUT_EVENT_CLICKED";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_INPUT_EVENT_CLICKED";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event ClickedEvt.</summary>
+ public void OnClickedEvt(Efl.Input.IClickableClickedEvt_Args e)
+ {
+ var key = "_EFL_INPUT_EVENT_CLICKED";
+ 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>Sent after the content is set or unset using the current content object.
- /// (Since EFL 1.22)</summary>
- public event EventHandler<Efl.IContentContentChangedEvt_Args> ContentChangedEvt
+ /// <summary>Called when object is in sequence pressed and unpressed by any button. The button that triggered the event can be found in the event information.</summary>
+ /// <value><see cref="Efl.Input.IClickableClickedAnyEvt_Args"/></value>
+ public event EventHandler<Efl.Input.IClickableClickedAnyEvt_Args> ClickedAnyEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- Efl.IContentContentChangedEvt_Args args = new Efl.IContentContentChangedEvt_Args();
- args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Gfx.IEntityConcrete);
+ Efl.Input.IClickableClickedAnyEvt_Args args = new Efl.Input.IClickableClickedAnyEvt_Args();
+ args.arg = evt.Info;
try
{
value?.Invoke(obj, args);
}
};
- string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
+ string key = "_EFL_INPUT_EVENT_CLICKED_ANY";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
+ string key = "_EFL_INPUT_EVENT_CLICKED_ANY";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event ContentChangedEvt.</summary>
- public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e)
+ /// <summary>Method to raise event ClickedAnyEvt.</summary>
+ public void OnClickedAnyEvt(Efl.Input.IClickableClickedAnyEvt_Args e)
{
- var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
+ var key = "_EFL_INPUT_EVENT_CLICKED_ANY";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
return;
}
- IntPtr info = e.arg.NativeHandle;
- Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
+ 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>Called when the object is pressed, event_info is the button that got pressed</summary>
+ /// <value><see cref="Efl.Input.IClickablePressedEvt_Args"/></value>
+ public event EventHandler<Efl.Input.IClickablePressedEvt_Args> PressedEvt
+ {
+ 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.Input.IClickablePressedEvt_Args args = new Efl.Input.IClickablePressedEvt_Args();
+ args.arg = Marshal.ReadInt32(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_INPUT_EVENT_PRESSED";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_INPUT_EVENT_PRESSED";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event PressedEvt.</summary>
+ public void OnPressedEvt(Efl.Input.IClickablePressedEvt_Args e)
+ {
+ var key = "_EFL_INPUT_EVENT_PRESSED";
+ 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>Called when the object is no longer pressed, event_info is the button that got pressed</summary>
+ /// <value><see cref="Efl.Input.IClickableUnpressedEvt_Args"/></value>
+ public event EventHandler<Efl.Input.IClickableUnpressedEvt_Args> UnpressedEvt
+ {
+ 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.Input.IClickableUnpressedEvt_Args args = new Efl.Input.IClickableUnpressedEvt_Args();
+ args.arg = Marshal.ReadInt32(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_INPUT_EVENT_UNPRESSED";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_INPUT_EVENT_UNPRESSED";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event UnpressedEvt.</summary>
+ public void OnUnpressedEvt(Efl.Input.IClickableUnpressedEvt_Args e)
+ {
+ var key = "_EFL_INPUT_EVENT_UNPRESSED";
+ 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>Called when the object receives a long press, event_info is the button that got pressed</summary>
+ /// <value><see cref="Efl.Input.IClickableLongpressedEvt_Args"/></value>
+ public event EventHandler<Efl.Input.IClickableLongpressedEvt_Args> LongpressedEvt
+ {
+ 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.Input.IClickableLongpressedEvt_Args args = new Efl.Input.IClickableLongpressedEvt_Args();
+ args.arg = Marshal.ReadInt32(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_INPUT_EVENT_LONGPRESSED";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_INPUT_EVENT_LONGPRESSED";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event LongpressedEvt.</summary>
+ public void OnLongpressedEvt(Efl.Input.IClickableLongpressedEvt_Args e)
+ {
+ var key = "_EFL_INPUT_EVENT_LONGPRESSED";
+ 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>Called when the selected state has changed</summary>
+ /// <value><see cref="Efl.Ui.ISelectableSelectedChangedEvt_Args"/></value>
+ public event EventHandler<Efl.Ui.ISelectableSelectedChangedEvt_Args> SelectedChangedEvt
+ {
+ 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.ISelectableSelectedChangedEvt_Args args = new Efl.Ui.ISelectableSelectedChangedEvt_Args();
+ args.arg = Marshal.ReadByte(evt.Info) != 0;
+ try
+ {
+ value?.Invoke(obj, args);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Error(e.ToString());
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+ }
+ };
+
+ string key = "_EFL_UI_EVENT_SELECTED_CHANGED";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_EVENT_SELECTED_CHANGED";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event SelectedChangedEvt.</summary>
+ public void OnSelectedChangedEvt(Efl.Ui.ISelectableSelectedChangedEvt_Args e)
+ {
+ var key = "_EFL_UI_EVENT_SELECTED_CHANGED";
+ 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 ? (byte) 1 : (byte) 0);
+ try
+ {
+ Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
+ }
+ finally
+ {
+ Marshal.FreeHGlobal(info);
+ }
}
- /// <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((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((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.
/// 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>
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>
- /// <value><c>true</c> if the check object is selected, <c>false</c> otherwise</value>
- public bool Selected {
- get { return GetSelected(); }
- set { SetSelected(value); }
- }
+ /// <summary>This returns true if the given object is currently in event emission</summary>
+ virtual public bool GetInteraction() {
+ var _ret_var = Efl.Input.IClickableConcrete.NativeMethods.efl_input_clickable_interaction_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <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.Input.IClickableConcrete.NativeMethods.efl_input_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.Input.IClickableConcrete.NativeMethods.efl_input_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.Input.IClickableConcrete.NativeMethods.efl_input_clickable_button_state_reset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),button);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>This aborts ongoing longpress event.
+ /// That is, this will stop the timer for longpress.</summary>
+ virtual public void LongpressAbort(uint button) {
+ Efl.Input.IClickableConcrete.NativeMethods.efl_input_clickable_longpress_abort_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),button);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>The selected state of this object
+ /// A change to this property emits the changed event.</summary>
+ /// <returns>The selected state of this object</returns>
+ virtual public bool GetSelected() {
+ var _ret_var = Efl.Ui.ISelectableConcrete.NativeMethods.efl_ui_selectable_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 selected state of this object
+ /// A change to this property emits the changed event.</summary>
+ /// <param name="selected">The selected state of this object</param>
+ virtual public void SetSelected(bool selected) {
+ Efl.Ui.ISelectableConcrete.NativeMethods.efl_ui_selectable_selected_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),selected);
+ Eina.Error.RaiseIfUnhandledException();
+ }
/// <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>
get { return GetContent(); }
set { SetContent(value); }
}
+ /// <summary>This returns true if the given object is currently in event emission</summary>
+ public bool Interaction {
+ get { return GetInteraction(); }
+ }
+ /// <summary>The selected state of this object
+ /// A change to this property emits the changed event.</summary>
+ /// <value>The selected state of this object</value>
+ public bool Selected {
+ get { return GetSelected(); }
+ set { SetSelected(value); }
+ }
private static IntPtr GetEflClassStatic()
{
return Efl.Ui.Check.efl_ui_check_class_get();
var descs = new System.Collections.Generic.List<Efl_Op_Description>();
var methods = Efl.Eo.Globals.GetUserMethods(type);
- if (efl_ui_check_selected_get_static_delegate == null)
- {
- efl_ui_check_selected_get_static_delegate = new efl_ui_check_selected_get_delegate(selected_get);
- }
+ if (efl_content_get_static_delegate == null)
+ {
+ efl_content_get_static_delegate = new efl_content_get_delegate(content_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetContent") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_get"), func = Marshal.GetFunctionPointerForDelegate(efl_content_get_static_delegate) });
+ }
+
+ if (efl_content_set_static_delegate == null)
+ {
+ efl_content_set_static_delegate = new efl_content_set_delegate(content_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetContent") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_set"), func = Marshal.GetFunctionPointerForDelegate(efl_content_set_static_delegate) });
+ }
+
+ if (efl_content_unset_static_delegate == null)
+ {
+ efl_content_unset_static_delegate = new efl_content_unset_delegate(content_unset);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "UnsetContent") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_unset"), func = Marshal.GetFunctionPointerForDelegate(efl_content_unset_static_delegate) });
+ }
+
+ if (efl_text_get_static_delegate == null)
+ {
+ efl_text_get_static_delegate = new efl_text_get_delegate(text_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetText") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_get_static_delegate) });
+ }
+
+ if (efl_text_set_static_delegate == null)
+ {
+ efl_text_set_static_delegate = new efl_text_set_delegate(text_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetText") != null)
+ {
+ 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_input_clickable_interaction_get_static_delegate == null)
+ {
+ efl_input_clickable_interaction_get_static_delegate = new efl_input_clickable_interaction_get_delegate(interaction_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetInteraction") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_clickable_interaction_get"), func = Marshal.GetFunctionPointerForDelegate(efl_input_clickable_interaction_get_static_delegate) });
+ }
+
+ if (efl_input_clickable_press_static_delegate == null)
+ {
+ efl_input_clickable_press_static_delegate = new efl_input_clickable_press_delegate(press);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "Press") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_clickable_press"), func = Marshal.GetFunctionPointerForDelegate(efl_input_clickable_press_static_delegate) });
+ }
+
+ if (efl_input_clickable_unpress_static_delegate == null)
+ {
+ efl_input_clickable_unpress_static_delegate = new efl_input_clickable_unpress_delegate(unpress);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "Unpress") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_clickable_unpress"), func = Marshal.GetFunctionPointerForDelegate(efl_input_clickable_unpress_static_delegate) });
+ }
+
+ if (efl_input_clickable_button_state_reset_static_delegate == null)
+ {
+ efl_input_clickable_button_state_reset_static_delegate = new efl_input_clickable_button_state_reset_delegate(button_state_reset);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "ResetButtonState") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_clickable_button_state_reset"), func = Marshal.GetFunctionPointerForDelegate(efl_input_clickable_button_state_reset_static_delegate) });
+ }
+
+ if (efl_input_clickable_longpress_abort_static_delegate == null)
+ {
+ efl_input_clickable_longpress_abort_static_delegate = new efl_input_clickable_longpress_abort_delegate(longpress_abort);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "LongpressAbort") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_clickable_longpress_abort"), func = Marshal.GetFunctionPointerForDelegate(efl_input_clickable_longpress_abort_static_delegate) });
+ }
+
+ if (efl_ui_selectable_selected_get_static_delegate == null)
+ {
+ efl_ui_selectable_selected_get_static_delegate = new efl_ui_selectable_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_ui_selectable_selected_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_selectable_selected_get_static_delegate) });
+ }
+
+ if (efl_ui_selectable_selected_set_static_delegate == null)
+ {
+ efl_ui_selectable_selected_set_static_delegate = new efl_ui_selectable_selected_set_delegate(selected_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetSelected") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_selectable_selected_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_selectable_selected_set_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.Check.efl_ui_check_class_get();
+ }
+
+ #pragma warning disable CA1707, CS1591, SA1300, SA1600
+
+ [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);
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ public delegate Efl.Gfx.IEntity efl_content_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_content_get_api_delegate> efl_content_get_ptr = new Efl.Eo.FunctionWrapper<efl_content_get_api_delegate>(Module, "efl_content_get");
+
+ private static Efl.Gfx.IEntity content_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_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 = ((Check)ws.Target).GetContent();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
- if (methods.FirstOrDefault(m => m.Name == "GetSelected") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_check_selected_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_check_selected_get_static_delegate) });
}
-
- if (efl_ui_check_selected_set_static_delegate == null)
+ else
{
- efl_ui_check_selected_set_static_delegate = new efl_ui_check_selected_set_delegate(selected_set);
+ return efl_content_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
+ }
- if (methods.FirstOrDefault(m => m.Name == "SetSelected") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_check_selected_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_check_selected_set_static_delegate) });
- }
+ private static efl_content_get_delegate efl_content_get_static_delegate;
- if (efl_content_get_static_delegate == null)
- {
- efl_content_get_static_delegate = new efl_content_get_delegate(content_get);
- }
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_content_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity content);
- if (methods.FirstOrDefault(m => m.Name == "GetContent") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_get"), func = Marshal.GetFunctionPointerForDelegate(efl_content_get_static_delegate) });
- }
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_content_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity content);
- if (efl_content_set_static_delegate == null)
+ public static Efl.Eo.FunctionWrapper<efl_content_set_api_delegate> efl_content_set_ptr = new Efl.Eo.FunctionWrapper<efl_content_set_api_delegate>(Module, "efl_content_set");
+
+ private static bool content_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity content)
+ {
+ Eina.Log.Debug("function efl_content_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
{
- efl_content_set_static_delegate = new efl_content_set_delegate(content_set);
- }
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((Check)ws.Target).SetContent(content);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
- if (methods.FirstOrDefault(m => m.Name == "SetContent") != null)
+ return _ret_var;
+
+ }
+ else
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_set"), func = Marshal.GetFunctionPointerForDelegate(efl_content_set_static_delegate) });
+ return efl_content_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), content);
}
+ }
- if (efl_content_unset_static_delegate == null)
+ private static efl_content_set_delegate efl_content_set_static_delegate;
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ private delegate Efl.Gfx.IEntity efl_content_unset_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ public delegate Efl.Gfx.IEntity efl_content_unset_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_content_unset_api_delegate> efl_content_unset_ptr = new Efl.Eo.FunctionWrapper<efl_content_unset_api_delegate>(Module, "efl_content_unset");
+
+ private static Efl.Gfx.IEntity content_unset(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_content_unset was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
{
- efl_content_unset_static_delegate = new efl_content_unset_delegate(content_unset);
- }
+ Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
+ try
+ {
+ _ret_var = ((Check)ws.Target).UnsetContent();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
- if (methods.FirstOrDefault(m => m.Name == "UnsetContent") != null)
+ return _ret_var;
+
+ }
+ else
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_unset"), func = Marshal.GetFunctionPointerForDelegate(efl_content_unset_static_delegate) });
+ return efl_content_unset_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
+ }
- if (efl_text_get_static_delegate == null)
+ private static efl_content_unset_delegate efl_content_unset_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
+ private delegate System.String efl_text_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
+ public delegate System.String efl_text_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_text_get_api_delegate> efl_text_get_ptr = new Efl.Eo.FunctionWrapper<efl_text_get_api_delegate>(Module, "efl_text_get");
+
+ private static System.String text_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_text_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
{
- efl_text_get_static_delegate = new efl_text_get_delegate(text_get);
- }
+ System.String _ret_var = default(System.String);
+ try
+ {
+ _ret_var = ((Check)ws.Target).GetText();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
- if (methods.FirstOrDefault(m => m.Name == "GetText") != null)
+ return _ret_var;
+
+ }
+ else
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_get_static_delegate) });
+ return efl_text_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
+ }
- if (efl_text_set_static_delegate == null)
+ private static efl_text_get_delegate efl_text_get_static_delegate;
+
+
+ private delegate void efl_text_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String text);
+
+
+ public delegate void efl_text_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String text);
+
+ public static Efl.Eo.FunctionWrapper<efl_text_set_api_delegate> efl_text_set_ptr = new Efl.Eo.FunctionWrapper<efl_text_set_api_delegate>(Module, "efl_text_set");
+
+ private static void text_set(System.IntPtr obj, System.IntPtr pd, System.String text)
+ {
+ Eina.Log.Debug("function efl_text_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
{
- efl_text_set_static_delegate = new efl_text_set_delegate(text_set);
- }
+
+ try
+ {
+ ((Check)ws.Target).SetText(text);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
- if (methods.FirstOrDefault(m => m.Name == "SetText") != null)
+
+ }
+ else
{
- 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) });
+ efl_text_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), text);
}
-
- 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.Check.efl_ui_check_class_get();
}
- #pragma warning disable CA1707, CS1591, SA1300, SA1600
+ private static efl_text_set_delegate efl_text_set_static_delegate;
[return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_ui_check_selected_get_delegate(System.IntPtr obj, System.IntPtr pd);
+ private delegate bool efl_input_clickable_interaction_get_delegate(System.IntPtr obj, System.IntPtr pd);
[return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_ui_check_selected_get_api_delegate(System.IntPtr obj);
+ public delegate bool efl_input_clickable_interaction_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<efl_ui_check_selected_get_api_delegate> efl_ui_check_selected_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_check_selected_get_api_delegate>(Module, "efl_ui_check_selected_get");
+ public static Efl.Eo.FunctionWrapper<efl_input_clickable_interaction_get_api_delegate> efl_input_clickable_interaction_get_ptr = new Efl.Eo.FunctionWrapper<efl_input_clickable_interaction_get_api_delegate>(Module, "efl_input_clickable_interaction_get");
- private static bool selected_get(System.IntPtr obj, System.IntPtr pd)
+ private static bool interaction_get(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function efl_ui_check_selected_get was called");
+ Eina.Log.Debug("function efl_input_clickable_interaction_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
bool _ret_var = default(bool);
try
{
- _ret_var = ((Check)ws.Target).GetSelected();
+ _ret_var = ((Check)ws.Target).GetInteraction();
}
catch (Exception e)
{
}
else
{
- return efl_ui_check_selected_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ return efl_input_clickable_interaction_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
- private static efl_ui_check_selected_get_delegate efl_ui_check_selected_get_static_delegate;
+ private static efl_input_clickable_interaction_get_delegate efl_input_clickable_interaction_get_static_delegate;
- private delegate void efl_ui_check_selected_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool value);
+ private delegate void efl_input_clickable_press_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
- public delegate void efl_ui_check_selected_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool value);
+ public delegate void efl_input_clickable_press_api_delegate(System.IntPtr obj, uint button);
- public static Efl.Eo.FunctionWrapper<efl_ui_check_selected_set_api_delegate> efl_ui_check_selected_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_check_selected_set_api_delegate>(Module, "efl_ui_check_selected_set");
+ public static Efl.Eo.FunctionWrapper<efl_input_clickable_press_api_delegate> efl_input_clickable_press_ptr = new Efl.Eo.FunctionWrapper<efl_input_clickable_press_api_delegate>(Module, "efl_input_clickable_press");
- private static void selected_set(System.IntPtr obj, System.IntPtr pd, bool value)
+ private static void press(System.IntPtr obj, System.IntPtr pd, uint button)
{
- Eina.Log.Debug("function efl_ui_check_selected_set was called");
+ Eina.Log.Debug("function efl_input_clickable_press was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
- ((Check)ws.Target).SetSelected(value);
+ ((Check)ws.Target).Press(button);
}
catch (Exception e)
{
}
else
{
- efl_ui_check_selected_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), value);
+ efl_input_clickable_press_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
}
}
- private static efl_ui_check_selected_set_delegate efl_ui_check_selected_set_static_delegate;
+ private static efl_input_clickable_press_delegate efl_input_clickable_press_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 delegate void efl_input_clickable_unpress_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- public delegate Efl.Gfx.IEntity efl_content_get_api_delegate(System.IntPtr obj);
+
+ public delegate void efl_input_clickable_unpress_api_delegate(System.IntPtr obj, uint button);
- public static Efl.Eo.FunctionWrapper<efl_content_get_api_delegate> efl_content_get_ptr = new Efl.Eo.FunctionWrapper<efl_content_get_api_delegate>(Module, "efl_content_get");
+ public static Efl.Eo.FunctionWrapper<efl_input_clickable_unpress_api_delegate> efl_input_clickable_unpress_ptr = new Efl.Eo.FunctionWrapper<efl_input_clickable_unpress_api_delegate>(Module, "efl_input_clickable_unpress");
- private static Efl.Gfx.IEntity content_get(System.IntPtr obj, System.IntPtr pd)
+ private static void unpress(System.IntPtr obj, System.IntPtr pd, uint button)
{
- Eina.Log.Debug("function efl_content_get was called");
+ Eina.Log.Debug("function efl_input_clickable_unpress was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
+
try
{
- _ret_var = ((Check)ws.Target).GetContent();
+ ((Check)ws.Target).Unpress(button);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
- return _ret_var;
-
+
}
else
{
- return efl_content_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ efl_input_clickable_unpress_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
}
}
- private static efl_content_get_delegate efl_content_get_static_delegate;
+ private static efl_input_clickable_unpress_delegate efl_input_clickable_unpress_static_delegate;
- [return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_content_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity content);
+
+ private delegate void efl_input_clickable_button_state_reset_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
- [return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_content_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity content);
+
+ public delegate void efl_input_clickable_button_state_reset_api_delegate(System.IntPtr obj, uint button);
- public static Efl.Eo.FunctionWrapper<efl_content_set_api_delegate> efl_content_set_ptr = new Efl.Eo.FunctionWrapper<efl_content_set_api_delegate>(Module, "efl_content_set");
+ public static Efl.Eo.FunctionWrapper<efl_input_clickable_button_state_reset_api_delegate> efl_input_clickable_button_state_reset_ptr = new Efl.Eo.FunctionWrapper<efl_input_clickable_button_state_reset_api_delegate>(Module, "efl_input_clickable_button_state_reset");
- private static bool content_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity content)
+ private static void button_state_reset(System.IntPtr obj, System.IntPtr pd, uint button)
{
- Eina.Log.Debug("function efl_content_set was called");
+ Eina.Log.Debug("function efl_input_clickable_button_state_reset was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- bool _ret_var = default(bool);
+
try
{
- _ret_var = ((Check)ws.Target).SetContent(content);
+ ((Check)ws.Target).ResetButtonState(button);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
- return _ret_var;
-
+
}
else
{
- return efl_content_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), content);
+ efl_input_clickable_button_state_reset_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
}
}
- private static efl_content_set_delegate efl_content_set_static_delegate;
+ private static efl_input_clickable_button_state_reset_delegate efl_input_clickable_button_state_reset_static_delegate;
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- private delegate Efl.Gfx.IEntity efl_content_unset_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ private delegate void efl_input_clickable_longpress_abort_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- public delegate Efl.Gfx.IEntity efl_content_unset_api_delegate(System.IntPtr obj);
+
+ public delegate void efl_input_clickable_longpress_abort_api_delegate(System.IntPtr obj, uint button);
- public static Efl.Eo.FunctionWrapper<efl_content_unset_api_delegate> efl_content_unset_ptr = new Efl.Eo.FunctionWrapper<efl_content_unset_api_delegate>(Module, "efl_content_unset");
+ public static Efl.Eo.FunctionWrapper<efl_input_clickable_longpress_abort_api_delegate> efl_input_clickable_longpress_abort_ptr = new Efl.Eo.FunctionWrapper<efl_input_clickable_longpress_abort_api_delegate>(Module, "efl_input_clickable_longpress_abort");
- private static Efl.Gfx.IEntity content_unset(System.IntPtr obj, System.IntPtr pd)
+ private static void longpress_abort(System.IntPtr obj, System.IntPtr pd, uint button)
{
- Eina.Log.Debug("function efl_content_unset was called");
+ Eina.Log.Debug("function efl_input_clickable_longpress_abort was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
+
try
{
- _ret_var = ((Check)ws.Target).UnsetContent();
+ ((Check)ws.Target).LongpressAbort(button);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
- return _ret_var;
-
+
}
else
{
- return efl_content_unset_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ efl_input_clickable_longpress_abort_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
}
}
- private static efl_content_unset_delegate efl_content_unset_static_delegate;
+ private static efl_input_clickable_longpress_abort_delegate efl_input_clickable_longpress_abort_static_delegate;
- [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
- private delegate System.String efl_text_get_delegate(System.IntPtr obj, System.IntPtr pd);
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_ui_selectable_selected_get_delegate(System.IntPtr obj, System.IntPtr pd);
- [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
- public delegate System.String efl_text_get_api_delegate(System.IntPtr obj);
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_ui_selectable_selected_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<efl_text_get_api_delegate> efl_text_get_ptr = new Efl.Eo.FunctionWrapper<efl_text_get_api_delegate>(Module, "efl_text_get");
+ public static Efl.Eo.FunctionWrapper<efl_ui_selectable_selected_get_api_delegate> efl_ui_selectable_selected_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_selectable_selected_get_api_delegate>(Module, "efl_ui_selectable_selected_get");
- private static System.String text_get(System.IntPtr obj, System.IntPtr pd)
+ private static bool selected_get(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function efl_text_get was called");
+ Eina.Log.Debug("function efl_ui_selectable_selected_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- System.String _ret_var = default(System.String);
+ bool _ret_var = default(bool);
try
{
- _ret_var = ((Check)ws.Target).GetText();
+ _ret_var = ((Check)ws.Target).GetSelected();
}
catch (Exception e)
{
}
else
{
- return efl_text_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ return efl_ui_selectable_selected_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
- private static efl_text_get_delegate efl_text_get_static_delegate;
+ private static efl_ui_selectable_selected_get_delegate efl_ui_selectable_selected_get_static_delegate;
- private delegate void efl_text_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String text);
+ private delegate void efl_ui_selectable_selected_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool selected);
- public delegate void efl_text_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String text);
+ public delegate void efl_ui_selectable_selected_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool selected);
- public static Efl.Eo.FunctionWrapper<efl_text_set_api_delegate> efl_text_set_ptr = new Efl.Eo.FunctionWrapper<efl_text_set_api_delegate>(Module, "efl_text_set");
+ public static Efl.Eo.FunctionWrapper<efl_ui_selectable_selected_set_api_delegate> efl_ui_selectable_selected_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_selectable_selected_set_api_delegate>(Module, "efl_ui_selectable_selected_set");
- private static void text_set(System.IntPtr obj, System.IntPtr pd, System.String text)
+ private static void selected_set(System.IntPtr obj, System.IntPtr pd, bool selected)
{
- Eina.Log.Debug("function efl_text_set was called");
+ Eina.Log.Debug("function efl_ui_selectable_selected_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
- ((Check)ws.Target).SetText(text);
+ ((Check)ws.Target).SetSelected(selected);
}
catch (Exception e)
{
}
else
{
- efl_text_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), text);
+ efl_ui_selectable_selected_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), selected);
}
}
- private static efl_text_set_delegate efl_text_set_static_delegate;
+ private static efl_ui_selectable_selected_set_delegate efl_ui_selectable_selected_set_static_delegate;
#pragma warning restore CA1707, CS1591, SA1300, SA1600
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiCheck_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Gfx.IEntity> Content<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Check, T>magic = null) where T : Efl.Ui.Check {
+ return new Efl.BindableProperty<Efl.Gfx.IEntity>("content", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<bool> Selected<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Check, T>magic = null) where T : Efl.Ui.Check {
+ return new Efl.BindableProperty<bool>("selected", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Elementary check internal part class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.CheckLegacyPart.NativeMethods]
[Efl.Eo.BindingEntity]
public class CheckLegacyPart : Efl.Ui.LayoutPartContent
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected CheckLegacyPart(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiCheckLegacyPart_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+++ /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 clickable interface</summary>
-[Efl.Ui.IClickableConcrete.NativeMethods]
-[Efl.Eo.BindingEntity]
-public interface IClickable :
- Efl.Eo.IWrapper, IDisposable
-{
- /// <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>
-void Press(uint button);
- /// <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>
-void Unpress(uint button);
- /// <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>
-void ResetButtonState(uint button);
- /// <summary>Called when object is in sequence pressed and unpressed, by the primary button</summary>
- event EventHandler<Efl.Ui.IClickableClickedEvt_Args> ClickedEvt;
- /// <summary>Called when object is in sequence pressed and unpressed by any button. The button that triggered the event can be found in the event information.</summary>
- event EventHandler<Efl.Ui.IClickableClickedAnyEvt_Args> ClickedAnyEvt;
- /// <summary>Called when the object is pressed, event_info is the button that got pressed</summary>
- event EventHandler<Efl.Ui.IClickablePressedEvt_Args> PressedEvt;
- /// <summary>Called when the object is no longer pressed, event_info is the button that got pressed</summary>
- event EventHandler<Efl.Ui.IClickableUnpressedEvt_Args> UnpressedEvt;
- /// <summary>Called when the object receives a long press, event_info is the button that got pressed</summary>
- 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>Efl UI clickable interface</summary>
-sealed public class IClickableConcrete :
- Efl.Eo.EoWrapper
- , IClickable
-
-{
- ///<summary>Pointer to the native class description.</summary>
- public override System.IntPtr NativeClass
- {
- get
- {
- if (((object)this).GetType() == typeof(IClickableConcrete))
- {
- return GetEflClassStatic();
- }
- else
- {
- return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
- }
- }
- }
-
- /// <summary>Constructor to be used when objects 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>
- /// <param name="wh">The native pointer to be wrapped.</param>
- private IClickableConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
- {
- }
-
- /// <summary>Called when object is in sequence pressed and unpressed, by the primary button</summary>
- public event EventHandler<Efl.Ui.IClickableClickedEvt_Args> ClickedEvt
- {
- 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.IClickableClickedEvt_Args args = new Efl.Ui.IClickableClickedEvt_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_EVENT_CLICKED";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_CLICKED";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ClickedEvt.</summary>
- public void OnClickedEvt(Efl.Ui.IClickableClickedEvt_Args e)
- {
- var key = "_EFL_UI_EVENT_CLICKED";
- 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>Called when object is in sequence pressed and unpressed by any button. The button that triggered the event can be found in the event information.</summary>
- public event EventHandler<Efl.Ui.IClickableClickedAnyEvt_Args> ClickedAnyEvt
- {
- 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.IClickableClickedAnyEvt_Args args = new Efl.Ui.IClickableClickedAnyEvt_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_EVENT_CLICKED_ANY";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_CLICKED_ANY";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ClickedAnyEvt.</summary>
- public void OnClickedAnyEvt(Efl.Ui.IClickableClickedAnyEvt_Args e)
- {
- var key = "_EFL_UI_EVENT_CLICKED_ANY";
- 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>Called when the object is pressed, event_info is the button that got pressed</summary>
- public event EventHandler<Efl.Ui.IClickablePressedEvt_Args> PressedEvt
- {
- 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.IClickablePressedEvt_Args args = new Efl.Ui.IClickablePressedEvt_Args();
- args.arg = Marshal.ReadInt32(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_EVENT_PRESSED";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_PRESSED";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event PressedEvt.</summary>
- public void OnPressedEvt(Efl.Ui.IClickablePressedEvt_Args e)
- {
- var key = "_EFL_UI_EVENT_PRESSED";
- 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>Called when the object is no longer pressed, event_info is the button that got pressed</summary>
- public event EventHandler<Efl.Ui.IClickableUnpressedEvt_Args> UnpressedEvt
- {
- 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.IClickableUnpressedEvt_Args args = new Efl.Ui.IClickableUnpressedEvt_Args();
- args.arg = Marshal.ReadInt32(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_EVENT_UNPRESSED";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_UNPRESSED";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event UnpressedEvt.</summary>
- public void OnUnpressedEvt(Efl.Ui.IClickableUnpressedEvt_Args e)
- {
- var key = "_EFL_UI_EVENT_UNPRESSED";
- 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>Called when the object receives a long press, event_info is the button that got pressed</summary>
- public event EventHandler<Efl.Ui.IClickableLongpressedEvt_Args> LongpressedEvt
- {
- 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.IClickableLongpressedEvt_Args args = new Efl.Ui.IClickableLongpressedEvt_Args();
- args.arg = Marshal.ReadInt32(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_EVENT_LONGPRESSED";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_LONGPRESSED";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event LongpressedEvt.</summary>
- public void OnLongpressedEvt(Efl.Ui.IClickableLongpressedEvt_Args e)
- {
- var key = "_EFL_UI_EVENT_LONGPRESSED";
- 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>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>
- public void Press(uint button) {
- Efl.Ui.IClickableConcrete.NativeMethods.efl_ui_clickable_press_ptr.Value.Delegate(this.NativeHandle,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>
- public void Unpress(uint button) {
- Efl.Ui.IClickableConcrete.NativeMethods.efl_ui_clickable_unpress_ptr.Value.Delegate(this.NativeHandle,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>
- public void ResetButtonState(uint button) {
- Efl.Ui.IClickableConcrete.NativeMethods.efl_ui_clickable_button_state_reset_ptr.Value.Delegate(this.NativeHandle,button);
- Eina.Error.RaiseIfUnhandledException();
- }
- private static IntPtr GetEflClassStatic()
- {
- return Efl.Ui.IClickableConcrete.efl_ui_clickable_mixin_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>();
- var methods = Efl.Eo.Globals.GetUserMethods(type);
-
- if (efl_ui_clickable_press_static_delegate == null)
- {
- efl_ui_clickable_press_static_delegate = new efl_ui_clickable_press_delegate(press);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "Press") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_clickable_press"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_clickable_press_static_delegate) });
- }
-
- if (efl_ui_clickable_unpress_static_delegate == null)
- {
- efl_ui_clickable_unpress_static_delegate = new efl_ui_clickable_unpress_delegate(unpress);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "Unpress") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_clickable_unpress"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_clickable_unpress_static_delegate) });
- }
-
- if (efl_ui_clickable_button_state_reset_static_delegate == null)
- {
- efl_ui_clickable_button_state_reset_static_delegate = new efl_ui_clickable_button_state_reset_delegate(button_state_reset);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "ResetButtonState") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_clickable_button_state_reset"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_clickable_button_state_reset_static_delegate) });
- }
-
- 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.IClickableConcrete.efl_ui_clickable_mixin_get();
- }
-
- #pragma warning disable CA1707, CS1591, SA1300, SA1600
-
-
- private delegate void efl_ui_clickable_press_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
-
-
- public delegate void efl_ui_clickable_press_api_delegate(System.IntPtr obj, uint button);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_clickable_press_api_delegate> efl_ui_clickable_press_ptr = new Efl.Eo.FunctionWrapper<efl_ui_clickable_press_api_delegate>(Module, "efl_ui_clickable_press");
-
- private static void press(System.IntPtr obj, System.IntPtr pd, uint button)
- {
- Eina.Log.Debug("function efl_ui_clickable_press was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IClickable)ws.Target).Press(button);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_clickable_press_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
- }
- }
-
- private static efl_ui_clickable_press_delegate efl_ui_clickable_press_static_delegate;
-
-
- private delegate void efl_ui_clickable_unpress_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
-
-
- public delegate void efl_ui_clickable_unpress_api_delegate(System.IntPtr obj, uint button);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_clickable_unpress_api_delegate> efl_ui_clickable_unpress_ptr = new Efl.Eo.FunctionWrapper<efl_ui_clickable_unpress_api_delegate>(Module, "efl_ui_clickable_unpress");
-
- private static void unpress(System.IntPtr obj, System.IntPtr pd, uint button)
- {
- Eina.Log.Debug("function efl_ui_clickable_unpress was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IClickable)ws.Target).Unpress(button);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_clickable_unpress_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
- }
- }
-
- private static efl_ui_clickable_unpress_delegate efl_ui_clickable_unpress_static_delegate;
-
-
- private delegate void efl_ui_clickable_button_state_reset_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
-
-
- public delegate void efl_ui_clickable_button_state_reset_api_delegate(System.IntPtr obj, uint button);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_clickable_button_state_reset_api_delegate> efl_ui_clickable_button_state_reset_ptr = new Efl.Eo.FunctionWrapper<efl_ui_clickable_button_state_reset_api_delegate>(Module, "efl_ui_clickable_button_state_reset");
-
- private static void button_state_reset(System.IntPtr obj, System.IntPtr pd, uint button)
- {
- Eina.Log.Debug("function efl_ui_clickable_button_state_reset was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IClickable)ws.Target).ResetButtonState(button);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_clickable_button_state_reset_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
- }
- }
-
- private static efl_ui_clickable_button_state_reset_delegate efl_ui_clickable_button_state_reset_static_delegate;
-
- #pragma warning restore CA1707, CS1591, SA1300, SA1600
-
-}
-}
-}
-
-}
-
-namespace Efl {
-
-namespace Ui {
-
-/// <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>
- public int Repeated;
- /// <summary>The Button that is pressed</summary>
- public int Button;
- ///<summary>Constructor for ClickableClicked.</summary>
- public ClickableClicked(
- int Repeated = default(int),
- int Button = default(int) )
- {
- this.Repeated = Repeated;
- this.Button = Button;
- }
-
- ///<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 ClickableClicked(IntPtr ptr)
- {
- var tmp = (ClickableClicked.NativeStruct)Marshal.PtrToStructure(ptr, typeof(ClickableClicked.NativeStruct));
- return tmp;
- }
-
- #pragma warning disable CS1591
-
- ///<summary>Internal wrapper for struct ClickableClicked.</summary>
- [StructLayout(LayoutKind.Sequential)]
- public struct NativeStruct
- {
-
- public int Repeated;
-
- public int Button;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
- public static implicit operator ClickableClicked.NativeStruct(ClickableClicked _external_struct)
- {
- var _internal_struct = new ClickableClicked.NativeStruct();
- _internal_struct.Repeated = _external_struct.Repeated;
- _internal_struct.Button = _external_struct.Button;
- return _internal_struct;
- }
-
- ///<summary>Implicit conversion to the managed representation.</summary>
- public static implicit operator ClickableClicked(ClickableClicked.NativeStruct _internal_struct)
- {
- var _external_struct = new ClickableClicked();
- _external_struct.Repeated = _internal_struct.Repeated;
- _external_struct.Button = _internal_struct.Button;
- return _external_struct;
- }
-
- }
-
- #pragma warning restore CS1591
-
-}
-
-}
-
-}
-
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Efl UI clock class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.Clock.NativeMethods]
[Efl.Eo.BindingEntity]
public class Clock : Efl.Ui.LayoutBase
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Clock(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event ChangedEvt.</summary>
+ /// <summary>Method to raise event ChangedEvt.</summary>
public void OnChangedEvt(EventArgs e)
{
var key = "_EFL_UI_CLOCK_EVENT_CHANGED";
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiClock_ExtensionMethods {
+ public static Efl.BindableProperty<System.String> Format<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Clock, T>magic = null) where T : Efl.Ui.Clock {
+ return new Efl.BindableProperty<System.String>("format", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Pause<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Clock, T>magic = null) where T : Efl.Ui.Clock {
+ return new Efl.BindableProperty<bool>("pause", fac);
+ }
+
+ public static Efl.BindableProperty<bool> EditMode<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Clock, T>magic = null) where T : Efl.Ui.Clock {
+ return new Efl.BindableProperty<bool>("edit_mode", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Time> TimeMin<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Clock, T>magic = null) where T : Efl.Ui.Clock {
+ return new Efl.BindableProperty<Efl.Time>("time_min", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Time> TimeMax<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Clock, T>magic = null) where T : Efl.Ui.Clock {
+ return new Efl.BindableProperty<Efl.Time>("time_max", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Time> Time<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Clock, T>magic = null) where T : Efl.Ui.Clock {
+ return new Efl.BindableProperty<Efl.Time>("time", fac);
+ }
+
+
+
+}
+#pragma warning restore CS1591
+#endif
namespace Efl {
namespace Ui {
--- /dev/null
+#define EFL_BETA
+#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>Event argument wrapper for event <see cref="Efl.Ui.Collection.ItemPressedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
+public class CollectionItemPressedEvt_Args : EventArgs {
+ /// <summary>Actual event payload.</summary>
+ /// <value>A <c>press</c> event occurred over an item.</value>
+ public Efl.Ui.Item arg { get; set; }
+}
+/// <summary>Event argument wrapper for event <see cref="Efl.Ui.Collection.ItemUnpressedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
+public class CollectionItemUnpressedEvt_Args : EventArgs {
+ /// <summary>Actual event payload.</summary>
+ /// <value>A <c>unpress</c> event occurred over an item.</value>
+ public Efl.Ui.Item arg { get; set; }
+}
+/// <summary>Event argument wrapper for event <see cref="Efl.Ui.Collection.ItemLongpressedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
+public class CollectionItemLongpressedEvt_Args : EventArgs {
+ /// <summary>Actual event payload.</summary>
+ /// <value>A <c>longpressed</c> event occurred over an item.</value>
+ public Efl.Ui.Item arg { get; set; }
+}
+/// <summary>Event argument wrapper for event <see cref="Efl.Ui.Collection.ItemClickedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
+public class CollectionItemClickedEvt_Args : EventArgs {
+ /// <summary>Actual event payload.</summary>
+ /// <value>A <c>clicked</c> event occurred over an item.</value>
+ public Efl.Ui.Item arg { get; set; }
+}
+/// <summary>Event argument wrapper for event <see cref="Efl.Ui.Collection.ItemClickedAnyEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
+public class CollectionItemClickedAnyEvt_Args : EventArgs {
+ /// <summary>Actual event payload.</summary>
+ /// <value>A <c>clicked</c>,any event occurred over an item.</value>
+ public Efl.Ui.Item arg { get; set; }
+}
+/// <summary>This widget displays a list of items in an arrangement controlled by an external <c>position_manager</c> object. By using different <c>position_manager</c> objects this widget can show lists of items or two-dimensional grids of items, for example.
+/// Items inside this widget can be selected according to the <c>select_mode</c> policy, and retrieved with <c>selected_items_get</c>.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+[Efl.Ui.Collection.NativeMethods]
+[Efl.Eo.BindingEntity]
+public class Collection : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLinear, Efl.Ui.ILayoutOrientable, Efl.Ui.IMultiSelectable, Efl.Ui.IScrollable, Efl.Ui.IScrollableInteractive, Efl.Ui.IScrollbar, Efl.Ui.ISingleSelectable, Efl.Ui.IWidgetFocusManager, Efl.Ui.Focus.IManager, Efl.Ui.Focus.IManagerSub
+{
+ /// <summary>Pointer to the native class description.</summary>
+ public override System.IntPtr NativeClass
+ {
+ get
+ {
+ if (((object)this).GetType() == typeof(Collection))
+ {
+ 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_collection_class_get();
+ /// <summary>Initializes a new instance of the <see cref="Collection"/> 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 Collection(Efl.Object parent
+ , System.String style = null) : base(efl_ui_collection_class_get(), parent)
+ {
+ if (Efl.Eo.Globals.ParamHelperCheck(style))
+ {
+ SetStyle(Efl.Eo.Globals.GetParamHelper(style));
+ }
+
+ FinishInstantiation();
+ }
+
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Collection(ConstructingHandle ch) : base(ch)
+ {
+ }
+
+ /// <summary>Initializes a new instance of the <see cref="Collection"/> 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 Collection(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
+ {
+ }
+
+ /// <summary>Initializes a new instance of the <see cref="Collection"/> 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 Collection(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
+ {
+ }
+
+ /// <summary>A <c>press</c> event occurred over an item.</summary>
+ /// <value><see cref="Efl.Ui.CollectionItemPressedEvt_Args"/></value>
+ public event EventHandler<Efl.Ui.CollectionItemPressedEvt_Args> ItemPressedEvt
+ {
+ 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.CollectionItemPressedEvt_Args args = new Efl.Ui.CollectionItemPressedEvt_Args();
+ args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Ui.Item);
+ try
+ {
+ value?.Invoke(obj, args);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Error(e.ToString());
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+ }
+ };
+
+ string key = "_EFL_UI_EVENT_ITEM_PRESSED";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_EVENT_ITEM_PRESSED";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event ItemPressedEvt.</summary>
+ public void OnItemPressedEvt(Efl.Ui.CollectionItemPressedEvt_Args e)
+ {
+ var key = "_EFL_UI_EVENT_ITEM_PRESSED";
+ 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 = e.arg.NativeHandle;
+ Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
+ }
+ /// <summary>A <c>unpress</c> event occurred over an item.</summary>
+ /// <value><see cref="Efl.Ui.CollectionItemUnpressedEvt_Args"/></value>
+ public event EventHandler<Efl.Ui.CollectionItemUnpressedEvt_Args> ItemUnpressedEvt
+ {
+ 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.CollectionItemUnpressedEvt_Args args = new Efl.Ui.CollectionItemUnpressedEvt_Args();
+ args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Ui.Item);
+ try
+ {
+ value?.Invoke(obj, args);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Error(e.ToString());
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+ }
+ };
+
+ string key = "_EFL_UI_EVENT_ITEM_UNPRESSED";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_EVENT_ITEM_UNPRESSED";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event ItemUnpressedEvt.</summary>
+ public void OnItemUnpressedEvt(Efl.Ui.CollectionItemUnpressedEvt_Args e)
+ {
+ var key = "_EFL_UI_EVENT_ITEM_UNPRESSED";
+ 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 = e.arg.NativeHandle;
+ Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
+ }
+ /// <summary>A <c>longpressed</c> event occurred over an item.</summary>
+ /// <value><see cref="Efl.Ui.CollectionItemLongpressedEvt_Args"/></value>
+ public event EventHandler<Efl.Ui.CollectionItemLongpressedEvt_Args> ItemLongpressedEvt
+ {
+ 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.CollectionItemLongpressedEvt_Args args = new Efl.Ui.CollectionItemLongpressedEvt_Args();
+ args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Ui.Item);
+ try
+ {
+ value?.Invoke(obj, args);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Error(e.ToString());
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+ }
+ };
+
+ string key = "_EFL_UI_EVENT_ITEM_LONGPRESSED";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_EVENT_ITEM_LONGPRESSED";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event ItemLongpressedEvt.</summary>
+ public void OnItemLongpressedEvt(Efl.Ui.CollectionItemLongpressedEvt_Args e)
+ {
+ var key = "_EFL_UI_EVENT_ITEM_LONGPRESSED";
+ 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 = e.arg.NativeHandle;
+ Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
+ }
+ /// <summary>A <c>clicked</c> event occurred over an item.</summary>
+ /// <value><see cref="Efl.Ui.CollectionItemClickedEvt_Args"/></value>
+ public event EventHandler<Efl.Ui.CollectionItemClickedEvt_Args> ItemClickedEvt
+ {
+ 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.CollectionItemClickedEvt_Args args = new Efl.Ui.CollectionItemClickedEvt_Args();
+ args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Ui.Item);
+ try
+ {
+ value?.Invoke(obj, args);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Error(e.ToString());
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+ }
+ };
+
+ string key = "_EFL_UI_EVENT_ITEM_CLICKED";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_EVENT_ITEM_CLICKED";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event ItemClickedEvt.</summary>
+ public void OnItemClickedEvt(Efl.Ui.CollectionItemClickedEvt_Args e)
+ {
+ var key = "_EFL_UI_EVENT_ITEM_CLICKED";
+ 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 = e.arg.NativeHandle;
+ Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
+ }
+ /// <summary>A <c>clicked</c>,any event occurred over an item.</summary>
+ /// <value><see cref="Efl.Ui.CollectionItemClickedAnyEvt_Args"/></value>
+ public event EventHandler<Efl.Ui.CollectionItemClickedAnyEvt_Args> ItemClickedAnyEvt
+ {
+ 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.CollectionItemClickedAnyEvt_Args args = new Efl.Ui.CollectionItemClickedAnyEvt_Args();
+ args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Ui.Item);
+ try
+ {
+ value?.Invoke(obj, args);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Error(e.ToString());
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+ }
+ };
+
+ string key = "_EFL_UI_EVENT_ITEM_CLICKED_ANY";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_EVENT_ITEM_CLICKED_ANY";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event ItemClickedAnyEvt.</summary>
+ public void OnItemClickedAnyEvt(Efl.Ui.CollectionItemClickedAnyEvt_Args e)
+ {
+ var key = "_EFL_UI_EVENT_ITEM_CLICKED_ANY";
+ 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 = e.arg.NativeHandle;
+ Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
+ }
+ /// <summary>Sent after the layout was updated.</summary>
+ public event EventHandler LayoutUpdatedEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_PACK_EVENT_LAYOUT_UPDATED";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_PACK_EVENT_LAYOUT_UPDATED";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event LayoutUpdatedEvt.</summary>
+ public void OnLayoutUpdatedEvt(EventArgs e)
+ {
+ var key = "_EFL_PACK_EVENT_LAYOUT_UPDATED";
+ 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>Called when scroll operation starts</summary>
+ public event EventHandler ScrollStartEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_EVENT_SCROLL_START";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_EVENT_SCROLL_START";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event ScrollStartEvt.</summary>
+ public void OnScrollStartEvt(EventArgs e)
+ {
+ var key = "_EFL_UI_EVENT_SCROLL_START";
+ 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>Called when scrolling</summary>
+ public event EventHandler ScrollEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_EVENT_SCROLL";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_EVENT_SCROLL";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event ScrollEvt.</summary>
+ public void OnScrollEvt(EventArgs e)
+ {
+ var key = "_EFL_UI_EVENT_SCROLL";
+ 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>Called when scroll operation stops</summary>
+ public event EventHandler ScrollStopEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_EVENT_SCROLL_STOP";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_EVENT_SCROLL_STOP";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event ScrollStopEvt.</summary>
+ public void OnScrollStopEvt(EventArgs e)
+ {
+ var key = "_EFL_UI_EVENT_SCROLL_STOP";
+ 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>Called when scrolling upwards</summary>
+ public event EventHandler ScrollUpEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_EVENT_SCROLL_UP";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_EVENT_SCROLL_UP";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event ScrollUpEvt.</summary>
+ public void OnScrollUpEvt(EventArgs e)
+ {
+ var key = "_EFL_UI_EVENT_SCROLL_UP";
+ 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>Called when scrolling downwards</summary>
+ public event EventHandler ScrollDownEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_EVENT_SCROLL_DOWN";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_EVENT_SCROLL_DOWN";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event ScrollDownEvt.</summary>
+ public void OnScrollDownEvt(EventArgs e)
+ {
+ var key = "_EFL_UI_EVENT_SCROLL_DOWN";
+ 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>Called when scrolling left</summary>
+ public event EventHandler ScrollLeftEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_EVENT_SCROLL_LEFT";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_EVENT_SCROLL_LEFT";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event ScrollLeftEvt.</summary>
+ public void OnScrollLeftEvt(EventArgs e)
+ {
+ var key = "_EFL_UI_EVENT_SCROLL_LEFT";
+ 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>Called when scrolling right</summary>
+ public event EventHandler ScrollRightEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_EVENT_SCROLL_RIGHT";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_EVENT_SCROLL_RIGHT";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event ScrollRightEvt.</summary>
+ public void OnScrollRightEvt(EventArgs e)
+ {
+ var key = "_EFL_UI_EVENT_SCROLL_RIGHT";
+ 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>Called when hitting the top edge</summary>
+ public event EventHandler EdgeUpEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_EVENT_EDGE_UP";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_EVENT_EDGE_UP";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event EdgeUpEvt.</summary>
+ public void OnEdgeUpEvt(EventArgs e)
+ {
+ var key = "_EFL_UI_EVENT_EDGE_UP";
+ 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>Called when hitting the bottom edge</summary>
+ public event EventHandler EdgeDownEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_EVENT_EDGE_DOWN";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_EVENT_EDGE_DOWN";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event EdgeDownEvt.</summary>
+ public void OnEdgeDownEvt(EventArgs e)
+ {
+ var key = "_EFL_UI_EVENT_EDGE_DOWN";
+ 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>Called when hitting the left edge</summary>
+ public event EventHandler EdgeLeftEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_EVENT_EDGE_LEFT";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_EVENT_EDGE_LEFT";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event EdgeLeftEvt.</summary>
+ public void OnEdgeLeftEvt(EventArgs e)
+ {
+ var key = "_EFL_UI_EVENT_EDGE_LEFT";
+ 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>Called when hitting the right edge</summary>
+ public event EventHandler EdgeRightEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_EVENT_EDGE_RIGHT";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_EVENT_EDGE_RIGHT";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event EdgeRightEvt.</summary>
+ public void OnEdgeRightEvt(EventArgs e)
+ {
+ var key = "_EFL_UI_EVENT_EDGE_RIGHT";
+ 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>Called when scroll animation starts</summary>
+ public event EventHandler ScrollAnimStartEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_EVENT_SCROLL_ANIM_START";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_EVENT_SCROLL_ANIM_START";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event ScrollAnimStartEvt.</summary>
+ public void OnScrollAnimStartEvt(EventArgs e)
+ {
+ var key = "_EFL_UI_EVENT_SCROLL_ANIM_START";
+ 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>Called when scroll animation stopps</summary>
+ public event EventHandler ScrollAnimStopEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_EVENT_SCROLL_ANIM_STOP";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event ScrollAnimStopEvt.</summary>
+ public void OnScrollAnimStopEvt(EventArgs e)
+ {
+ var key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP";
+ 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>Called when scroll drag starts</summary>
+ public event EventHandler ScrollDragStartEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_EVENT_SCROLL_DRAG_START";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_EVENT_SCROLL_DRAG_START";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event ScrollDragStartEvt.</summary>
+ public void OnScrollDragStartEvt(EventArgs e)
+ {
+ var key = "_EFL_UI_EVENT_SCROLL_DRAG_START";
+ 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>Called when scroll drag stops</summary>
+ public event EventHandler ScrollDragStopEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_EVENT_SCROLL_DRAG_STOP";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event ScrollDragStopEvt.</summary>
+ public void OnScrollDragStopEvt(EventArgs e)
+ {
+ var key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP";
+ 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>Called when bar is pressed.</summary>
+ /// <value><see cref="Efl.Ui.IScrollbarBarPressEvt_Args"/></value>
+ public event EventHandler<Efl.Ui.IScrollbarBarPressEvt_Args> BarPressEvt
+ {
+ 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.IScrollbarBarPressEvt_Args args = new Efl.Ui.IScrollbarBarPressEvt_Args();
+ args.arg = (Efl.Ui.LayoutOrientation)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_SCROLLBAR_EVENT_BAR_PRESS";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event BarPressEvt.</summary>
+ public void OnBarPressEvt(Efl.Ui.IScrollbarBarPressEvt_Args e)
+ {
+ var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS";
+ 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>Called when bar is unpressed.</summary>
+ /// <value><see cref="Efl.Ui.IScrollbarBarUnpressEvt_Args"/></value>
+ public event EventHandler<Efl.Ui.IScrollbarBarUnpressEvt_Args> BarUnpressEvt
+ {
+ 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.IScrollbarBarUnpressEvt_Args args = new Efl.Ui.IScrollbarBarUnpressEvt_Args();
+ args.arg = (Efl.Ui.LayoutOrientation)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_SCROLLBAR_EVENT_BAR_UNPRESS";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event BarUnpressEvt.</summary>
+ public void OnBarUnpressEvt(Efl.Ui.IScrollbarBarUnpressEvt_Args e)
+ {
+ var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS";
+ 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>Called when bar is dragged.</summary>
+ /// <value><see cref="Efl.Ui.IScrollbarBarDragEvt_Args"/></value>
+ public event EventHandler<Efl.Ui.IScrollbarBarDragEvt_Args> BarDragEvt
+ {
+ 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.IScrollbarBarDragEvt_Args args = new Efl.Ui.IScrollbarBarDragEvt_Args();
+ args.arg = (Efl.Ui.LayoutOrientation)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_SCROLLBAR_EVENT_BAR_DRAG";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event BarDragEvt.</summary>
+ public void OnBarDragEvt(Efl.Ui.IScrollbarBarDragEvt_Args e)
+ {
+ var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG";
+ 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>Called when bar size is changed.</summary>
+ public event EventHandler BarSizeChangedEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_SCROLLBAR_EVENT_BAR_SIZE_CHANGED";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event BarSizeChangedEvt.</summary>
+ public void OnBarSizeChangedEvt(EventArgs e)
+ {
+ var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_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>Called when bar position is changed.</summary>
+ public event EventHandler BarPosChangedEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_SCROLLBAR_EVENT_BAR_POS_CHANGED";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event BarPosChangedEvt.</summary>
+ public void OnBarPosChangedEvt(EventArgs e)
+ {
+ var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_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>Callend when bar is shown.</summary>
+ /// <value><see cref="Efl.Ui.IScrollbarBarShowEvt_Args"/></value>
+ public event EventHandler<Efl.Ui.IScrollbarBarShowEvt_Args> BarShowEvt
+ {
+ 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.IScrollbarBarShowEvt_Args args = new Efl.Ui.IScrollbarBarShowEvt_Args();
+ args.arg = (Efl.Ui.LayoutOrientation)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_SCROLLBAR_EVENT_BAR_SHOW";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event BarShowEvt.</summary>
+ public void OnBarShowEvt(Efl.Ui.IScrollbarBarShowEvt_Args e)
+ {
+ var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW";
+ 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>Called when bar is hidden.</summary>
+ /// <value><see cref="Efl.Ui.IScrollbarBarHideEvt_Args"/></value>
+ public event EventHandler<Efl.Ui.IScrollbarBarHideEvt_Args> BarHideEvt
+ {
+ 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.IScrollbarBarHideEvt_Args args = new Efl.Ui.IScrollbarBarHideEvt_Args();
+ args.arg = (Efl.Ui.LayoutOrientation)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_SCROLLBAR_EVENT_BAR_HIDE";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event BarHideEvt.</summary>
+ public void OnBarHideEvt(Efl.Ui.IScrollbarBarHideEvt_Args e)
+ {
+ var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE";
+ 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>Called when there is a change in the selection state, this event will collect all the item selection change events that are happening within one loop iteration. This means, you will only get this event once, even if a lot of items have changed. If you are interested in detailed changes, subscribe to the selection,changed event of Efl.Ui.Selectable.</summary>
+ public event EventHandler SelectionChangedEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_SINGLE_SELECTABLE_EVENT_SELECTION_CHANGED";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_SINGLE_SELECTABLE_EVENT_SELECTION_CHANGED";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event SelectionChangedEvt.</summary>
+ public void OnSelectionChangedEvt(EventArgs e)
+ {
+ var key = "_EFL_UI_SINGLE_SELECTABLE_EVENT_SELECTION_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>Redirect object has changed, the old manager is passed as an event argument.
+ /// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IManagerRedirectChangedEvt_Args"/></value>
+ public event EventHandler<Efl.Ui.Focus.IManagerRedirectChangedEvt_Args> RedirectChangedEvt
+ {
+ 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.Focus.IManagerRedirectChangedEvt_Args args = new Efl.Ui.Focus.IManagerRedirectChangedEvt_Args();
+ args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Ui.Focus.IManagerConcrete);
+ try
+ {
+ value?.Invoke(obj, args);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Error(e.ToString());
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+ }
+ };
+
+ string key = "_EFL_UI_FOCUS_MANAGER_EVENT_REDIRECT_CHANGED";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_FOCUS_MANAGER_EVENT_REDIRECT_CHANGED";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event RedirectChangedEvt.</summary>
+ public void OnRedirectChangedEvt(Efl.Ui.Focus.IManagerRedirectChangedEvt_Args e)
+ {
+ var key = "_EFL_UI_FOCUS_MANAGER_EVENT_REDIRECT_CHANGED";
+ 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 = e.arg.NativeHandle;
+ Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
+ }
+ /// <summary>After this event, the manager object will calculate relations in the graph. Can be used to add / remove children in a lazy fashion.
+ /// (Since EFL 1.22)</summary>
+ public event EventHandler FlushPreEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_FOCUS_MANAGER_EVENT_FLUSH_PRE";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_FOCUS_MANAGER_EVENT_FLUSH_PRE";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event FlushPreEvt.</summary>
+ public void OnFlushPreEvt(EventArgs e)
+ {
+ var key = "_EFL_UI_FOCUS_MANAGER_EVENT_FLUSH_PRE";
+ 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>Cached relationship calculation results have been invalidated.
+ /// (Since EFL 1.22)</summary>
+ public event EventHandler CoordsDirtyEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_FOCUS_MANAGER_EVENT_COORDS_DIRTY";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_FOCUS_MANAGER_EVENT_COORDS_DIRTY";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event CoordsDirtyEvt.</summary>
+ public void OnCoordsDirtyEvt(EventArgs e)
+ {
+ var key = "_EFL_UI_FOCUS_MANAGER_EVENT_COORDS_DIRTY";
+ 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>The manager_focus property has changed. The previously focused object is passed as an event argument.
+ /// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args"/></value>
+ public event EventHandler<Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args> ManagerFocusChangedEvt
+ {
+ 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.Focus.IManagerManagerFocusChangedEvt_Args args = new Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args();
+ args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Ui.Focus.IObjectConcrete);
+ try
+ {
+ value?.Invoke(obj, args);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Error(e.ToString());
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+ }
+ };
+
+ string key = "_EFL_UI_FOCUS_MANAGER_EVENT_MANAGER_FOCUS_CHANGED";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_FOCUS_MANAGER_EVENT_MANAGER_FOCUS_CHANGED";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event ManagerFocusChangedEvt.</summary>
+ public void OnManagerFocusChangedEvt(Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args e)
+ {
+ var key = "_EFL_UI_FOCUS_MANAGER_EVENT_MANAGER_FOCUS_CHANGED";
+ 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 = e.arg.NativeHandle;
+ Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
+ }
+ /// <summary>Called when this focus manager is frozen or thawed, even_info being <c>true</c> indicates that it is now frozen, <c>false</c> indicates that it is thawed.
+ /// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args"/></value>
+ public event EventHandler<Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args> DirtyLogicFreezeChangedEvt
+ {
+ 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.Focus.IManagerDirtyLogicFreezeChangedEvt_Args args = new Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args();
+ args.arg = Marshal.ReadByte(evt.Info) != 0;
+ try
+ {
+ value?.Invoke(obj, args);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Error(e.ToString());
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+ }
+ };
+
+ string key = "_EFL_UI_FOCUS_MANAGER_EVENT_DIRTY_LOGIC_FREEZE_CHANGED";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_FOCUS_MANAGER_EVENT_DIRTY_LOGIC_FREEZE_CHANGED";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event DirtyLogicFreezeChangedEvt.</summary>
+ public void OnDirtyLogicFreezeChangedEvt(Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args e)
+ {
+ var key = "_EFL_UI_FOCUS_MANAGER_EVENT_DIRTY_LOGIC_FREEZE_CHANGED";
+ 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 ? (byte) 1 : (byte) 0);
+ try
+ {
+ Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
+ }
+ finally
+ {
+ Marshal.FreeHGlobal(info);
+ }
+ }
+ /// <summary>Position manager object that handles placement of items.</summary>
+ /// <returns>The objects ownership is passed to the item container.</returns>
+ virtual public Efl.Ui.PositionManager.IEntity GetPositionManager() {
+ var _ret_var = Efl.Ui.Collection.NativeMethods.efl_ui_collection_position_manager_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Position manager object that handles placement of items.</summary>
+ /// <param name="position_manager">The objects ownership is passed to the item container.</param>
+ virtual public void SetPositionManager(Efl.Ui.PositionManager.IEntity position_manager) {
+ Efl.Ui.Collection.NativeMethods.efl_ui_collection_position_manager_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),position_manager);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Bring the passed item into the viewport.</summary>
+ /// <param name="item">The target to move in.</param>
+ /// <param name="animation">If you want to have an animation or not.</param>
+ virtual public void ItemScroll(Efl.Ui.Item item, bool animation) {
+ Efl.Ui.Collection.NativeMethods.efl_ui_collection_item_scroll_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),item, animation);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Bring the passed item into the viewport, place the item accordingly to align in the viewport.
+ /// <c>align</c> selects the final position of the object inside the viewport. 0.0 will move the object to the first visible position inside the viewport, 1.0 will move it to the last visible position, and values in between will move it accordingly to positions in between, along the scrolling axis.</summary>
+ /// <param name="item">The target to move in.</param>
+ /// <param name="align">0.0 to have this item at the upper or left side of the viewport, 1.0 to have this item at the lower or right side of the viewport</param>
+ /// <param name="animation">If you want to have an animation or not.</param>
+ virtual public void ItemScrollAlign(Efl.Ui.Item item, double align, bool animation) {
+ Efl.Ui.Collection.NativeMethods.efl_ui_collection_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>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>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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Implementation of this container's layout algorithm.
+ /// EFL will call this function whenever the contents of this container need to be re-laid out on the canvas.
+ ///
+ /// This can be overriden to implement custom layout behaviors.</summary>
+ virtual public void UpdateLayout() {
+ 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.
+ /// 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>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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <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>
+ /// <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((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((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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),mode);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Get the selected items in a iterator. The iterator sequence will be decided by selection.</summary>
+ /// <returns>User has to free the iterator after usage.</returns>
+ virtual public Eina.Iterator<Efl.Ui.ISelectable> GetSelectedItems() {
+ var _ret_var = Efl.Ui.IMultiSelectableConcrete.NativeMethods.efl_ui_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.ISelectable>(_ret_var, true);
+ }
+ /// <summary>Select a range of <see cref="Efl.Ui.ISelectable"/>.
+ /// This will select the range of selectables from a to b or from b to a depending on which one comes first. If a or b are not part of the widget, a error is returned, and no change is applied. <c>null</c> is not allowed as either of the parameters. Both of the passed values will also be selected.</summary>
+ /// <param name="a">One side of the range.</param>
+ /// <param name="b">The other side of the range.</param>
+ virtual public void SelectRange(Efl.Ui.ISelectable a, Efl.Ui.ISelectable b) {
+ Efl.Ui.IMultiSelectableConcrete.NativeMethods.efl_ui_select_range_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),a, b);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Unselect a range of <see cref="Efl.Ui.ISelectable"/>.
+ /// This will unselect the range of selectables from a to b or from b to a depending on which one comes first. If a or b are not part of the widget, a error is returned, and no change is applied. <c>null</c> is not allowed as either of the parameters. Both of the passed values will also be unselected.</summary>
+ /// <param name="a">One side of the range.</param>
+ /// <param name="b">The other side of the range.</param>
+ virtual public void UnselectRange(Efl.Ui.ISelectable a, Efl.Ui.ISelectable b) {
+ Efl.Ui.IMultiSelectableConcrete.NativeMethods.efl_ui_unselect_range_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),a, b);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Select all <see cref="Efl.Ui.ISelectable"/></summary>
+ virtual public void SelectAll() {
+ Efl.Ui.IMultiSelectableConcrete.NativeMethods.efl_ui_select_all_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Unselect all <see cref="Efl.Ui.ISelectable"/></summary>
+ virtual public void UnselectAll() {
+ Efl.Ui.IMultiSelectableConcrete.NativeMethods.efl_ui_unselect_all_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ 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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>The content position</summary>
+ /// <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((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((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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Bouncing behavior
+ /// When scrolling, the scroller may "bounce" when reaching the edge of the content object. This is a visual way to indicate the end has been reached. This is enabled by default for both axes. This API will determine if it's enabled for the given axis with the boolean parameters for each one.</summary>
+ /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out horiz, out vert);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Bouncing behavior
+ /// When scrolling, the scroller may "bounce" when reaching the edge of the content object. This is a visual way to indicate the end has been reached. This is enabled by default for both axes. This API will determine if it's enabled for the given axis with the boolean parameters for each one.</summary>
+ /// <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((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((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((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((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((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((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((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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <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>
+ /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),block);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Control scrolling gravity on the scrollable
+ /// The gravity defines how the scroller will adjust its view when the size of the scroller contents increases.
+ ///
+ /// The scroller will adjust the view to glue itself as follows.
+ ///
+ /// x=0.0, for staying where it is relative to the left edge of the content x=1.0, for staying where it is relative to the right edge of the content y=0.0, for staying where it is relative to the top edge of the content y=1.0, for staying where it is relative to the bottom edge of the content
+ ///
+ /// Default values for x and y are 0.0</summary>
+ /// <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((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
+ /// The gravity defines how the scroller will adjust its view when the size of the scroller contents increases.
+ ///
+ /// The scroller will adjust the view to glue itself as follows.
+ ///
+ /// x=0.0, for staying where it is relative to the left edge of the content x=1.0, for staying where it is relative to the right edge of the content y=0.0, for staying where it is relative to the top edge of the content y=1.0, for staying where it is relative to the bottom edge of the content
+ ///
+ /// Default values for x and y are 0.0</summary>
+ /// <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((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.
+ /// By default the scroller will be as small as its design allows, irrespective of its content. This will make the scroller minimum size the right size horizontally and/or vertically to perfectly fit its content in that direction.</summary>
+ /// <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((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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Control the step size
+ /// Use this call to set step size. This value is used when scroller scroll by arrow key event.</summary>
+ /// <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((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.
+ /// This will ensure all (or part if it does not fit) of the designated region in the virtual content object (0, 0 starting at the top-left of the virtual content object) is shown within the scroller. This allows the scroller to "smoothly slide" to this location (if configuration in general calls for transitions). It may not jump immediately to the new location and make take a while and show other content along the way.</summary>
+ /// <param name="rect">The position where to scroll. and The size user want to see</param>
+ /// <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((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>
+ 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((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>
+ 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((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>
+ virtual public void GetBarSize(out double width, out double 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>
+ virtual public void GetBarPosition(out double posx, out double 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>
+ virtual public void SetBarPosition(double posx, double 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 needs to be shown or hidden.</summary>
+ virtual public void UpdateBarVisibility() {
+ 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>The selectable that was selected most recently.</summary>
+ /// <returns>The latest selected item.</returns>
+ virtual public Efl.Ui.ISelectable GetLastSelected() {
+ var _ret_var = Efl.Ui.ISingleSelectableConcrete.NativeMethods.efl_ui_single_selectable_last_selected_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>A object that will be selected in case nothing is selected
+ /// A object set to this property will be selected instead of no item beeing selected. Which means, there will be always at least one element selected. If this property is NULL, the state of "no item is selected" can be reached.
+ ///
+ /// Setting this property as a result of selection events results in undefined behavior.</summary>
+ virtual public Efl.Ui.ISelectable GetFallbackSelection() {
+ var _ret_var = Efl.Ui.ISingleSelectableConcrete.NativeMethods.efl_ui_single_selectable_fallback_selection_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>A object that will be selected in case nothing is selected
+ /// A object set to this property will be selected instead of no item beeing selected. Which means, there will be always at least one element selected. If this property is NULL, the state of "no item is selected" can be reached.
+ ///
+ /// Setting this property as a result of selection events results in undefined behavior.</summary>
+ virtual public void SetFallbackSelection(Efl.Ui.ISelectable fallback) {
+ Efl.Ui.ISingleSelectableConcrete.NativeMethods.efl_ui_single_selectable_fallback_selection_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),fallback);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>If the widget needs a focus manager, this function will be called.
+ /// It can be used and overriden to inject your own manager or set custom options on the focus manager.
+ /// (Since EFL 1.22)</summary>
+ /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),root);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>The element which is currently focused by this manager
+ /// Use this property to retrieve the object currently being focused, or to set the focus to a new one. When <c>focus</c> is a logical child (which cannot receive focus), the next non-logical object is selected instead. If there is no such object, focus does not change.
+ /// (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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>The element which is currently focused by this manager
+ /// Use this property to retrieve the object currently being focused, or to set the focus to a new one. When <c>focus</c> is a logical child (which cannot receive focus), the next non-logical object is selected instead. If there is no such object, focus does not change.
+ /// (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((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.
+ /// If this value is set, all move requests are redirected to this manager object. Set it to <c>null</c> once nothing should be redirected anymore.
+ /// (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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Add another manager to serve the move requests.
+ /// If this value is set, all move requests are redirected to this manager object. Set it to <c>null</c> once nothing should be redirected anymore.
+ /// (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((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.
+ /// This means one of the relations right,left or down,up are not set. This call flushes all changes. See <see cref="Efl.Ui.Focus.IManager.Move"/>
+ /// (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((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);
+ }
+ /// <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.
+ /// (Since EFL 1.22)</summary>
+ /// <param name="viewport">The rectangle defining the viewport.</param>
+ /// <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((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);
+ }
+ /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Root node for all logical subtrees.
+ /// This property can only be set once.
+ /// (Since EFL 1.22)</summary>
+ /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),root);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Move the focus in the given direction.
+ /// This call flushes all changes. This means all changes between the last flush and now are computed.
+ /// (Since EFL 1.22)</summary>
+ /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),direction);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Return the object in the <c>direction</c> from <c>child</c>.
+ /// (Since EFL 1.22)</summary>
+ /// <param name="direction">Direction to move focus.</param>
+ /// <param name="child">The child to move from. Pass <c>null</c> to indicate the currently focused child.</param>
+ /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),direction, child, logical);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Return the widget in the direction next.
+ /// The returned widget is a child of <c>root</c>. It's guaranteed that child will not be prepared once again, so you can call this function inside a <see cref="Efl.Ui.Focus.IObject.SetupOrder"/> call.
+ /// (Since EFL 1.22)</summary>
+ /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),root);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>This will fetch the data from a registered node.
+ /// Be aware this function will trigger a computation of all dirty nodes.
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
+ /// <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((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);
+ return __ret_tmp;
+ }
+ /// <summary>Return the last logical object.
+ /// The returned object is the last object that would be returned if you start at the root and move the direction into next.
+ /// (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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Reset the history stack of this manager object. This means the uppermost element will be unfocused, and all other elements will be removed from the remembered list.
+ /// 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((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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Called when this manager is set as redirect.
+ /// In case that this is called as an result of a move call, <c>direction</c> and <c>entry</c> will be set to the direction of the move call, and the <c>entry</c> object will be set to the object that had this manager as redirect property.
+ /// (Since EFL 1.22)</summary>
+ /// <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((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((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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Position manager object that handles placement of items.</summary>
+ /// <value>The objects ownership is passed to the item container.</value>
+ public Efl.Ui.PositionManager.IEntity PositionManager {
+ get { return GetPositionManager(); }
+ set { SetPositionManager(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.
+ ///
+ /// 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>
+ /// <value>Direction of the widget.</value>
+ public Efl.Ui.LayoutOrientation Orientation {
+ get { return GetOrientation(); }
+ set { SetOrientation(value); }
+ }
+ /// <summary>The mode type for children selection.</summary>
+ /// <value>Type of selection of children</value>
+ public Efl.Ui.SelectMode SelectMode {
+ get { return GetSelectMode(); }
+ set { SetSelectMode(value); }
+ }
+ /// <summary>The content position</summary>
+ /// <value>The position is virtual value, (0, 0) starting at the top-left.</value>
+ public Eina.Position2D ContentPos {
+ get { return GetContentPos(); }
+ set { SetContentPos(value); }
+ }
+ /// <summary>The content size</summary>
+ /// <value>The content size in pixels.</value>
+ public Eina.Size2D ContentSize {
+ get { return GetContentSize(); }
+ }
+ /// <summary>The viewport geometry</summary>
+ /// <value>It is absolute geometry.</value>
+ public Eina.Rect ViewportGeometry {
+ get { return GetViewportGeometry(); }
+ }
+ /// <summary>Bouncing behavior
+ /// When scrolling, the scroller may "bounce" when reaching the edge of the content object. This is a visual way to indicate the end has been reached. This is enabled by default for both axes. This API will determine if it's enabled for the given axis with the boolean parameters for each one.</summary>
+ /// <value>Horizontal bounce policy.</value>
+ public (bool, bool) BounceEnabled {
+ get {
+ bool _out_horiz = default(bool);
+ bool _out_vert = default(bool);
+ GetBounceEnabled(out _out_horiz,out _out_vert);
+ return (_out_horiz,_out_vert);
+ }
+ set { SetBounceEnabled( value.Item1, value.Item2); }
+ }
+ /// <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>
+ /// <value><c>true</c> if freeze, <c>false</c> otherwise</value>
+ public bool ScrollFreeze {
+ get { return GetScrollFreeze(); }
+ set { SetScrollFreeze(value); }
+ }
+ /// <summary>Hold property When hold turns on, it only scrolls by holding action.</summary>
+ /// <value><c>true</c> if hold, <c>false</c> otherwise</value>
+ public bool ScrollHold {
+ get { return GetScrollHold(); }
+ set { SetScrollHold(value); }
+ }
+ /// <summary>Controls an infinite loop for a scroller.</summary>
+ /// <value>The scrolling horizontal loop</value>
+ public (bool, bool) Looping {
+ get {
+ bool _out_loop_h = default(bool);
+ bool _out_loop_v = default(bool);
+ GetLooping(out _out_loop_h,out _out_loop_v);
+ return (_out_loop_h,_out_loop_v);
+ }
+ set { SetLooping( value.Item1, value.Item2); }
+ }
+ /// <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>
+ /// <value>Which axis (or axes) to block</value>
+ public Efl.Ui.ScrollBlock MovementBlock {
+ get { return GetMovementBlock(); }
+ set { SetMovementBlock(value); }
+ }
+ /// <summary>Control scrolling gravity on the scrollable
+ /// The gravity defines how the scroller will adjust its view when the size of the scroller contents increases.
+ ///
+ /// The scroller will adjust the view to glue itself as follows.
+ ///
+ /// x=0.0, for staying where it is relative to the left edge of the content x=1.0, for staying where it is relative to the right edge of the content y=0.0, for staying where it is relative to the top edge of the content y=1.0, for staying where it is relative to the bottom edge of the content
+ ///
+ /// Default values for x and y are 0.0</summary>
+ /// <value>Horizontal scrolling gravity</value>
+ public (double, double) Gravity {
+ get {
+ double _out_x = default(double);
+ double _out_y = default(double);
+ GetGravity(out _out_x,out _out_y);
+ return (_out_x,_out_y);
+ }
+ set { SetGravity( value.Item1, value.Item2); }
+ }
+ /// <summary>Prevent the scrollable from being smaller than the minimum size of the content.
+ /// By default the scroller will be as small as its design allows, irrespective of its content. This will make the scroller minimum size the right size horizontally and/or vertically to perfectly fit its content in that direction.</summary>
+ /// <value>Whether to limit the minimum horizontal size</value>
+ public (bool, bool) MatchContent {
+ set { SetMatchContent( value.Item1, value.Item2); }
+ }
+ /// <summary>Control the step size
+ /// Use this call to set step size. This value is used when scroller scroll by arrow key event.</summary>
+ /// <value>The step size in pixels</value>
+ public Eina.Position2D StepSize {
+ get { return GetStepSize(); }
+ set { SetStepSize(value); }
+ }
+ /// <summary>Scrollbar visibility policy</summary>
+ /// <value>Horizontal scrollbar.</value>
+ public (Efl.Ui.ScrollbarMode, Efl.Ui.ScrollbarMode) BarMode {
+ get {
+ Efl.Ui.ScrollbarMode _out_hbar = default(Efl.Ui.ScrollbarMode);
+ Efl.Ui.ScrollbarMode _out_vbar = default(Efl.Ui.ScrollbarMode);
+ GetBarMode(out _out_hbar,out _out_vbar);
+ return (_out_hbar,_out_vbar);
+ }
+ set { SetBarMode( value.Item1, value.Item2); }
+ }
+ /// <summary>Scrollbar size. It is calculated based on viewport size-content sizes.</summary>
+ public (double, double) BarSize {
+ get {
+ double _out_width = default(double);
+ double _out_height = default(double);
+ GetBarSize(out _out_width,out _out_height);
+ return (_out_width,_out_height);
+ }
+ }
+ /// <summary>Scrollbar position. It is calculated based on current position-maximum positions.</summary>
+ /// <value>Value between 0.0 and 1.0.</value>
+ public (double, double) BarPosition {
+ get {
+ double _out_posx = default(double);
+ double _out_posy = default(double);
+ GetBarPosition(out _out_posx,out _out_posy);
+ return (_out_posx,_out_posy);
+ }
+ set { SetBarPosition( value.Item1, value.Item2); }
+ }
+ /// <summary>The selectable that was selected most recently.</summary>
+ /// <value>The latest selected item.</value>
+ public Efl.Ui.ISelectable LastSelected {
+ get { return GetLastSelected(); }
+ }
+ /// <summary>A object that will be selected in case nothing is selected
+ /// A object set to this property will be selected instead of no item beeing selected. Which means, there will be always at least one element selected. If this property is NULL, the state of "no item is selected" can be reached.
+ ///
+ /// Setting this property as a result of selection events results in undefined behavior.</summary>
+ public Efl.Ui.ISelectable FallbackSelection {
+ get { return GetFallbackSelection(); }
+ set { SetFallbackSelection(value); }
+ }
+ /// <summary>The element which is currently focused by this manager
+ /// Use this property to retrieve the object currently being focused, or to set the focus to a new one. When <c>focus</c> is a logical child (which cannot receive focus), the next non-logical object is selected instead. If there is no such object, focus does not change.
+ /// (Since EFL 1.22)</summary>
+ /// <value>Currently focused element.</value>
+ public Efl.Ui.Focus.IObject ManagerFocus {
+ get { return GetManagerFocus(); }
+ set { SetManagerFocus(value); }
+ }
+ /// <summary>Add another manager to serve the move requests.
+ /// If this value is set, all move requests are redirected to this manager object. Set it to <c>null</c> once nothing should be redirected anymore.
+ /// (Since EFL 1.22)</summary>
+ /// <value>The redirect manager.</value>
+ public Efl.Ui.Focus.IManager Redirect {
+ get { return GetRedirect(); }
+ set { SetRedirect(value); }
+ }
+ /// <summary>The list of elements which are at the border of the graph.
+ /// This means one of the relations right,left or down,up are not set. This call flushes all changes. See <see cref="Efl.Ui.Focus.IManager.Move"/>
+ /// (Since EFL 1.22)</summary>
+ /// <value>An iterator over the border objects.</value>
+ public Eina.Iterator<Efl.Ui.Focus.IObject> BorderElements {
+ get { return GetBorderElements(); }
+ }
+ /// <summary>Root node for all logical subtrees.
+ /// This property can only be set once.
+ /// (Since EFL 1.22)</summary>
+ /// <value>Will be registered into this manager object.</value>
+ public Efl.Ui.Focus.IObject Root {
+ get { return GetRoot(); }
+ set { SetRoot(value); }
+ }
+ private static IntPtr GetEflClassStatic()
+ {
+ return Efl.Ui.Collection.efl_ui_collection_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_collection_position_manager_get_static_delegate == null)
+ {
+ efl_ui_collection_position_manager_get_static_delegate = new efl_ui_collection_position_manager_get_delegate(position_manager_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetPositionManager") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_collection_position_manager_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_collection_position_manager_get_static_delegate) });
+ }
+
+ if (efl_ui_collection_position_manager_set_static_delegate == null)
+ {
+ efl_ui_collection_position_manager_set_static_delegate = new efl_ui_collection_position_manager_set_delegate(position_manager_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetPositionManager") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_collection_position_manager_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_collection_position_manager_set_static_delegate) });
+ }
+
+ if (efl_ui_collection_item_scroll_static_delegate == null)
+ {
+ efl_ui_collection_item_scroll_static_delegate = new efl_ui_collection_item_scroll_delegate(item_scroll);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "ItemScroll") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_collection_item_scroll"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_collection_item_scroll_static_delegate) });
+ }
+
+ if (efl_ui_collection_item_scroll_align_static_delegate == null)
+ {
+ efl_ui_collection_item_scroll_align_static_delegate = new efl_ui_collection_item_scroll_align_delegate(item_scroll_align);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "ItemScrollAlign") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_collection_item_scroll_align"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_collection_item_scroll_align_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_layout_request_static_delegate == null)
+ {
+ efl_pack_layout_request_static_delegate = new efl_pack_layout_request_delegate(layout_request);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "LayoutRequest") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_layout_request"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_layout_request_static_delegate) });
+ }
+
+ if (efl_pack_layout_update_static_delegate == null)
+ {
+ efl_pack_layout_update_static_delegate = new efl_pack_layout_update_delegate(layout_update);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "UpdateLayout") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_layout_update"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_layout_update_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) });
+ }
+
+ 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);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetOrientation") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_layout_orientation_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_layout_orientation_get_static_delegate) });
+ }
+
+ if (efl_ui_layout_orientation_set_static_delegate == null)
+ {
+ efl_ui_layout_orientation_set_static_delegate = new efl_ui_layout_orientation_set_delegate(orientation_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetOrientation") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_layout_orientation_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_layout_orientation_set_static_delegate) });
+ }
+
+ if (efl_ui_select_mode_get_static_delegate == null)
+ {
+ efl_ui_select_mode_get_static_delegate = new efl_ui_select_mode_get_delegate(select_mode_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetSelectMode") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_select_mode_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_select_mode_get_static_delegate) });
+ }
+
+ if (efl_ui_select_mode_set_static_delegate == null)
+ {
+ efl_ui_select_mode_set_static_delegate = new efl_ui_select_mode_set_delegate(select_mode_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetSelectMode") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_select_mode_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_select_mode_set_static_delegate) });
+ }
+
+ if (efl_ui_selected_items_get_static_delegate == null)
+ {
+ efl_ui_selected_items_get_static_delegate = new efl_ui_selected_items_get_delegate(selected_items_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetSelectedItems") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_selected_items_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_selected_items_get_static_delegate) });
+ }
+
+ if (efl_ui_select_range_static_delegate == null)
+ {
+ efl_ui_select_range_static_delegate = new efl_ui_select_range_delegate(select_range);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SelectRange") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_select_range"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_select_range_static_delegate) });
+ }
+
+ if (efl_ui_unselect_range_static_delegate == null)
+ {
+ efl_ui_unselect_range_static_delegate = new efl_ui_unselect_range_delegate(unselect_range);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "UnselectRange") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_unselect_range"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_unselect_range_static_delegate) });
+ }
+
+ if (efl_ui_select_all_static_delegate == null)
+ {
+ efl_ui_select_all_static_delegate = new efl_ui_select_all_delegate(select_all);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SelectAll") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_select_all"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_select_all_static_delegate) });
+ }
+
+ if (efl_ui_unselect_all_static_delegate == null)
+ {
+ efl_ui_unselect_all_static_delegate = new efl_ui_unselect_all_delegate(unselect_all);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "UnselectAll") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_unselect_all"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_unselect_all_static_delegate) });
+ }
+
+ if (efl_ui_scrollable_content_pos_get_static_delegate == null)
+ {
+ efl_ui_scrollable_content_pos_get_static_delegate = new efl_ui_scrollable_content_pos_get_delegate(content_pos_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetContentPos") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_content_pos_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_content_pos_get_static_delegate) });
+ }
+
+ if (efl_ui_scrollable_content_pos_set_static_delegate == null)
+ {
+ efl_ui_scrollable_content_pos_set_static_delegate = new efl_ui_scrollable_content_pos_set_delegate(content_pos_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetContentPos") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_content_pos_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_content_pos_set_static_delegate) });
+ }
+
+ if (efl_ui_scrollable_content_size_get_static_delegate == null)
+ {
+ efl_ui_scrollable_content_size_get_static_delegate = new efl_ui_scrollable_content_size_get_delegate(content_size_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetContentSize") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_content_size_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_content_size_get_static_delegate) });
+ }
+
+ if (efl_ui_scrollable_viewport_geometry_get_static_delegate == null)
+ {
+ efl_ui_scrollable_viewport_geometry_get_static_delegate = new efl_ui_scrollable_viewport_geometry_get_delegate(viewport_geometry_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetViewportGeometry") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_viewport_geometry_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_viewport_geometry_get_static_delegate) });
+ }
+
+ if (efl_ui_scrollable_bounce_enabled_get_static_delegate == null)
+ {
+ efl_ui_scrollable_bounce_enabled_get_static_delegate = new efl_ui_scrollable_bounce_enabled_get_delegate(bounce_enabled_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetBounceEnabled") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_bounce_enabled_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_bounce_enabled_get_static_delegate) });
+ }
+
+ if (efl_ui_scrollable_bounce_enabled_set_static_delegate == null)
+ {
+ efl_ui_scrollable_bounce_enabled_set_static_delegate = new efl_ui_scrollable_bounce_enabled_set_delegate(bounce_enabled_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetBounceEnabled") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_bounce_enabled_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_bounce_enabled_set_static_delegate) });
+ }
+
+ if (efl_ui_scrollable_scroll_freeze_get_static_delegate == null)
+ {
+ efl_ui_scrollable_scroll_freeze_get_static_delegate = new efl_ui_scrollable_scroll_freeze_get_delegate(scroll_freeze_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetScrollFreeze") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_scroll_freeze_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_scroll_freeze_get_static_delegate) });
+ }
+
+ if (efl_ui_scrollable_scroll_freeze_set_static_delegate == null)
+ {
+ efl_ui_scrollable_scroll_freeze_set_static_delegate = new efl_ui_scrollable_scroll_freeze_set_delegate(scroll_freeze_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetScrollFreeze") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_scroll_freeze_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_scroll_freeze_set_static_delegate) });
+ }
+
+ if (efl_ui_scrollable_scroll_hold_get_static_delegate == null)
+ {
+ efl_ui_scrollable_scroll_hold_get_static_delegate = new efl_ui_scrollable_scroll_hold_get_delegate(scroll_hold_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetScrollHold") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_scroll_hold_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_scroll_hold_get_static_delegate) });
+ }
+
+ if (efl_ui_scrollable_scroll_hold_set_static_delegate == null)
+ {
+ efl_ui_scrollable_scroll_hold_set_static_delegate = new efl_ui_scrollable_scroll_hold_set_delegate(scroll_hold_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetScrollHold") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_scroll_hold_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_scroll_hold_set_static_delegate) });
+ }
+
+ if (efl_ui_scrollable_looping_get_static_delegate == null)
+ {
+ efl_ui_scrollable_looping_get_static_delegate = new efl_ui_scrollable_looping_get_delegate(looping_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetLooping") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_looping_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_looping_get_static_delegate) });
+ }
+
+ if (efl_ui_scrollable_looping_set_static_delegate == null)
+ {
+ efl_ui_scrollable_looping_set_static_delegate = new efl_ui_scrollable_looping_set_delegate(looping_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetLooping") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_looping_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_looping_set_static_delegate) });
+ }
+
+ if (efl_ui_scrollable_movement_block_get_static_delegate == null)
+ {
+ efl_ui_scrollable_movement_block_get_static_delegate = new efl_ui_scrollable_movement_block_get_delegate(movement_block_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetMovementBlock") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_movement_block_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_movement_block_get_static_delegate) });
+ }
+
+ if (efl_ui_scrollable_movement_block_set_static_delegate == null)
+ {
+ efl_ui_scrollable_movement_block_set_static_delegate = new efl_ui_scrollable_movement_block_set_delegate(movement_block_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetMovementBlock") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_movement_block_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_movement_block_set_static_delegate) });
+ }
+
+ if (efl_ui_scrollable_gravity_get_static_delegate == null)
+ {
+ efl_ui_scrollable_gravity_get_static_delegate = new efl_ui_scrollable_gravity_get_delegate(gravity_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetGravity") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_gravity_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_gravity_get_static_delegate) });
+ }
+
+ if (efl_ui_scrollable_gravity_set_static_delegate == null)
+ {
+ efl_ui_scrollable_gravity_set_static_delegate = new efl_ui_scrollable_gravity_set_delegate(gravity_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetGravity") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_gravity_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_gravity_set_static_delegate) });
+ }
+
+ if (efl_ui_scrollable_match_content_set_static_delegate == null)
+ {
+ efl_ui_scrollable_match_content_set_static_delegate = new efl_ui_scrollable_match_content_set_delegate(match_content_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetMatchContent") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_match_content_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_match_content_set_static_delegate) });
+ }
+
+ if (efl_ui_scrollable_step_size_get_static_delegate == null)
+ {
+ efl_ui_scrollable_step_size_get_static_delegate = new efl_ui_scrollable_step_size_get_delegate(step_size_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetStepSize") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_step_size_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_step_size_get_static_delegate) });
+ }
+
+ if (efl_ui_scrollable_step_size_set_static_delegate == null)
+ {
+ efl_ui_scrollable_step_size_set_static_delegate = new efl_ui_scrollable_step_size_set_delegate(step_size_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetStepSize") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_step_size_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_step_size_set_static_delegate) });
+ }
+
+ if (efl_ui_scrollable_scroll_static_delegate == null)
+ {
+ efl_ui_scrollable_scroll_static_delegate = new efl_ui_scrollable_scroll_delegate(scroll);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "Scroll") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_scroll"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_scroll_static_delegate) });
+ }
+
+ if (efl_ui_scrollbar_bar_mode_get_static_delegate == null)
+ {
+ efl_ui_scrollbar_bar_mode_get_static_delegate = new efl_ui_scrollbar_bar_mode_get_delegate(bar_mode_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetBarMode") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollbar_bar_mode_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollbar_bar_mode_get_static_delegate) });
+ }
+
+ if (efl_ui_scrollbar_bar_mode_set_static_delegate == null)
+ {
+ efl_ui_scrollbar_bar_mode_set_static_delegate = new efl_ui_scrollbar_bar_mode_set_delegate(bar_mode_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetBarMode") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollbar_bar_mode_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollbar_bar_mode_set_static_delegate) });
+ }
+
+ if (efl_ui_scrollbar_bar_size_get_static_delegate == null)
+ {
+ efl_ui_scrollbar_bar_size_get_static_delegate = new efl_ui_scrollbar_bar_size_get_delegate(bar_size_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetBarSize") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollbar_bar_size_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollbar_bar_size_get_static_delegate) });
+ }
+
+ if (efl_ui_scrollbar_bar_position_get_static_delegate == null)
+ {
+ efl_ui_scrollbar_bar_position_get_static_delegate = new efl_ui_scrollbar_bar_position_get_delegate(bar_position_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetBarPosition") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollbar_bar_position_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollbar_bar_position_get_static_delegate) });
+ }
+
+ if (efl_ui_scrollbar_bar_position_set_static_delegate == null)
+ {
+ efl_ui_scrollbar_bar_position_set_static_delegate = new efl_ui_scrollbar_bar_position_set_delegate(bar_position_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetBarPosition") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollbar_bar_position_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollbar_bar_position_set_static_delegate) });
+ }
+
+ if (efl_ui_scrollbar_bar_visibility_update_static_delegate == null)
+ {
+ efl_ui_scrollbar_bar_visibility_update_static_delegate = new efl_ui_scrollbar_bar_visibility_update_delegate(bar_visibility_update);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "UpdateBarVisibility") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollbar_bar_visibility_update"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollbar_bar_visibility_update_static_delegate) });
+ }
+
+ if (efl_ui_single_selectable_last_selected_get_static_delegate == null)
+ {
+ efl_ui_single_selectable_last_selected_get_static_delegate = new efl_ui_single_selectable_last_selected_get_delegate(last_selected_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetLastSelected") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_single_selectable_last_selected_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_single_selectable_last_selected_get_static_delegate) });
+ }
+
+ if (efl_ui_single_selectable_fallback_selection_get_static_delegate == null)
+ {
+ efl_ui_single_selectable_fallback_selection_get_static_delegate = new efl_ui_single_selectable_fallback_selection_get_delegate(fallback_selection_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetFallbackSelection") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_single_selectable_fallback_selection_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_single_selectable_fallback_selection_get_static_delegate) });
+ }
+
+ if (efl_ui_single_selectable_fallback_selection_set_static_delegate == null)
+ {
+ efl_ui_single_selectable_fallback_selection_set_static_delegate = new efl_ui_single_selectable_fallback_selection_set_delegate(fallback_selection_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetFallbackSelection") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_single_selectable_fallback_selection_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_single_selectable_fallback_selection_set_static_delegate) });
+ }
+
+ if (efl_ui_widget_focus_manager_create_static_delegate == null)
+ {
+ efl_ui_widget_focus_manager_create_static_delegate = new efl_ui_widget_focus_manager_create_delegate(focus_manager_create);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "FocusManagerCreate") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_widget_focus_manager_create"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_widget_focus_manager_create_static_delegate) });
+ }
+
+ if (efl_ui_focus_manager_focus_get_static_delegate == null)
+ {
+ efl_ui_focus_manager_focus_get_static_delegate = new efl_ui_focus_manager_focus_get_delegate(manager_focus_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetManagerFocus") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_focus_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_focus_get_static_delegate) });
+ }
+
+ if (efl_ui_focus_manager_focus_set_static_delegate == null)
+ {
+ efl_ui_focus_manager_focus_set_static_delegate = new efl_ui_focus_manager_focus_set_delegate(manager_focus_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetManagerFocus") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_focus_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_focus_set_static_delegate) });
+ }
+
+ if (efl_ui_focus_manager_redirect_get_static_delegate == null)
+ {
+ efl_ui_focus_manager_redirect_get_static_delegate = new efl_ui_focus_manager_redirect_get_delegate(redirect_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetRedirect") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_redirect_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_redirect_get_static_delegate) });
+ }
+
+ if (efl_ui_focus_manager_redirect_set_static_delegate == null)
+ {
+ efl_ui_focus_manager_redirect_set_static_delegate = new efl_ui_focus_manager_redirect_set_delegate(redirect_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetRedirect") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_redirect_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_redirect_set_static_delegate) });
+ }
+
+ if (efl_ui_focus_manager_border_elements_get_static_delegate == null)
+ {
+ efl_ui_focus_manager_border_elements_get_static_delegate = new efl_ui_focus_manager_border_elements_get_delegate(border_elements_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetBorderElements") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_border_elements_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_border_elements_get_static_delegate) });
+ }
+
+ if (efl_ui_focus_manager_viewport_elements_get_static_delegate == null)
+ {
+ efl_ui_focus_manager_viewport_elements_get_static_delegate = new efl_ui_focus_manager_viewport_elements_get_delegate(viewport_elements_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetViewportElements") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_viewport_elements_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_viewport_elements_get_static_delegate) });
+ }
+
+ if (efl_ui_focus_manager_root_get_static_delegate == null)
+ {
+ efl_ui_focus_manager_root_get_static_delegate = new efl_ui_focus_manager_root_get_delegate(root_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetRoot") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_root_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_root_get_static_delegate) });
+ }
+
+ if (efl_ui_focus_manager_root_set_static_delegate == null)
+ {
+ efl_ui_focus_manager_root_set_static_delegate = new efl_ui_focus_manager_root_set_delegate(root_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetRoot") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_root_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_root_set_static_delegate) });
+ }
+
+ if (efl_ui_focus_manager_move_static_delegate == null)
+ {
+ efl_ui_focus_manager_move_static_delegate = new efl_ui_focus_manager_move_delegate(move);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "Move") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_move"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_move_static_delegate) });
+ }
+
+ if (efl_ui_focus_manager_request_move_static_delegate == null)
+ {
+ efl_ui_focus_manager_request_move_static_delegate = new efl_ui_focus_manager_request_move_delegate(request_move);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "MoveRequest") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_request_move"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_request_move_static_delegate) });
+ }
+
+ if (efl_ui_focus_manager_request_subchild_static_delegate == null)
+ {
+ efl_ui_focus_manager_request_subchild_static_delegate = new efl_ui_focus_manager_request_subchild_delegate(request_subchild);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "RequestSubchild") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_request_subchild"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_request_subchild_static_delegate) });
+ }
+
+ if (efl_ui_focus_manager_fetch_static_delegate == null)
+ {
+ efl_ui_focus_manager_fetch_static_delegate = new efl_ui_focus_manager_fetch_delegate(fetch);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "Fetch") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_fetch"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_fetch_static_delegate) });
+ }
+
+ if (efl_ui_focus_manager_logical_end_static_delegate == null)
+ {
+ efl_ui_focus_manager_logical_end_static_delegate = new efl_ui_focus_manager_logical_end_delegate(logical_end);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "LogicalEnd") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_logical_end"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_logical_end_static_delegate) });
+ }
+
+ if (efl_ui_focus_manager_reset_history_static_delegate == null)
+ {
+ efl_ui_focus_manager_reset_history_static_delegate = new efl_ui_focus_manager_reset_history_delegate(reset_history);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "ResetHistory") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_reset_history"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_reset_history_static_delegate) });
+ }
+
+ if (efl_ui_focus_manager_pop_history_stack_static_delegate == null)
+ {
+ efl_ui_focus_manager_pop_history_stack_static_delegate = new efl_ui_focus_manager_pop_history_stack_delegate(pop_history_stack);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "PopHistoryStack") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_pop_history_stack"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_pop_history_stack_static_delegate) });
+ }
+
+ if (efl_ui_focus_manager_setup_on_first_touch_static_delegate == null)
+ {
+ efl_ui_focus_manager_setup_on_first_touch_static_delegate = new efl_ui_focus_manager_setup_on_first_touch_delegate(setup_on_first_touch);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetupOnFirstTouch") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_setup_on_first_touch"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_setup_on_first_touch_static_delegate) });
+ }
+
+ if (efl_ui_focus_manager_dirty_logic_freeze_static_delegate == null)
+ {
+ efl_ui_focus_manager_dirty_logic_freeze_static_delegate = new efl_ui_focus_manager_dirty_logic_freeze_delegate(dirty_logic_freeze);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "FreezeDirtyLogic") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_dirty_logic_freeze"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_dirty_logic_freeze_static_delegate) });
+ }
+
+ if (efl_ui_focus_manager_dirty_logic_unfreeze_static_delegate == null)
+ {
+ efl_ui_focus_manager_dirty_logic_unfreeze_static_delegate = new efl_ui_focus_manager_dirty_logic_unfreeze_delegate(dirty_logic_unfreeze);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "DirtyLogicUnfreeze") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_dirty_logic_unfreeze"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_dirty_logic_unfreeze_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.Collection.efl_ui_collection_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.PositionManager.IEntity efl_ui_collection_position_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.PositionManager.IEntity efl_ui_collection_position_manager_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_collection_position_manager_get_api_delegate> efl_ui_collection_position_manager_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_collection_position_manager_get_api_delegate>(Module, "efl_ui_collection_position_manager_get");
+
+ private static Efl.Ui.PositionManager.IEntity position_manager_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_collection_position_manager_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.Ui.PositionManager.IEntity _ret_var = default(Efl.Ui.PositionManager.IEntity);
+ try
+ {
+ _ret_var = ((Collection)ws.Target).GetPositionManager();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_collection_position_manager_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_collection_position_manager_get_delegate efl_ui_collection_position_manager_get_static_delegate;
+
+
+ private delegate void efl_ui_collection_position_manager_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.OwnTag>))] Efl.Ui.PositionManager.IEntity position_manager);
+
+
+ public delegate void efl_ui_collection_position_manager_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.OwnTag>))] Efl.Ui.PositionManager.IEntity position_manager);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_collection_position_manager_set_api_delegate> efl_ui_collection_position_manager_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_collection_position_manager_set_api_delegate>(Module, "efl_ui_collection_position_manager_set");
+
+ private static void position_manager_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.PositionManager.IEntity position_manager)
+ {
+ Eina.Log.Debug("function efl_ui_collection_position_manager_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Collection)ws.Target).SetPositionManager(position_manager);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_collection_position_manager_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), position_manager);
+ }
+ }
+
+ private static efl_ui_collection_position_manager_set_delegate efl_ui_collection_position_manager_set_static_delegate;
+
+
+ private delegate void efl_ui_collection_item_scroll_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Item item, [MarshalAs(UnmanagedType.U1)] bool animation);
+
+
+ public delegate void efl_ui_collection_item_scroll_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Item item, [MarshalAs(UnmanagedType.U1)] bool animation);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_collection_item_scroll_api_delegate> efl_ui_collection_item_scroll_ptr = new Efl.Eo.FunctionWrapper<efl_ui_collection_item_scroll_api_delegate>(Module, "efl_ui_collection_item_scroll");
+
+ private static void item_scroll(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Item item, bool animation)
+ {
+ Eina.Log.Debug("function efl_ui_collection_item_scroll was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Collection)ws.Target).ItemScroll(item, animation);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_collection_item_scroll_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), item, animation);
+ }
+ }
+
+ private static efl_ui_collection_item_scroll_delegate efl_ui_collection_item_scroll_static_delegate;
+
+
+ private delegate void efl_ui_collection_item_scroll_align_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Item item, double align, [MarshalAs(UnmanagedType.U1)] bool animation);
+
+
+ public delegate void efl_ui_collection_item_scroll_align_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Item item, double align, [MarshalAs(UnmanagedType.U1)] bool animation);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_collection_item_scroll_align_api_delegate> efl_ui_collection_item_scroll_align_ptr = new Efl.Eo.FunctionWrapper<efl_ui_collection_item_scroll_align_api_delegate>(Module, "efl_ui_collection_item_scroll_align");
+
+ private static void item_scroll_align(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Item item, double align, bool animation)
+ {
+ Eina.Log.Debug("function efl_ui_collection_item_scroll_align was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Collection)ws.Target).ItemScrollAlign(item, align, animation);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_collection_item_scroll_align_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), item, align, animation);
+ }
+ }
+
+ private static efl_ui_collection_item_scroll_align_delegate efl_ui_collection_item_scroll_align_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 = ((Collection)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 = ((Collection)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 = ((Collection)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 = ((Collection)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;
+
+
+ private delegate void efl_pack_layout_request_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate void efl_pack_layout_request_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_pack_layout_request_api_delegate> efl_pack_layout_request_ptr = new Efl.Eo.FunctionWrapper<efl_pack_layout_request_api_delegate>(Module, "efl_pack_layout_request");
+
+ private static void layout_request(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_pack_layout_request was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Collection)ws.Target).LayoutRequest();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_pack_layout_request_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_pack_layout_request_delegate efl_pack_layout_request_static_delegate;
+
+
+ private delegate void efl_pack_layout_update_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate void efl_pack_layout_update_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_pack_layout_update_api_delegate> efl_pack_layout_update_ptr = new Efl.Eo.FunctionWrapper<efl_pack_layout_update_api_delegate>(Module, "efl_pack_layout_update");
+
+ private static void layout_update(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_pack_layout_update was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Collection)ws.Target).UpdateLayout();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_pack_layout_update_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_pack_layout_update_delegate efl_pack_layout_update_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 = ((Collection)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 = ((Collection)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 = ((Collection)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 = ((Collection)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 = ((Collection)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 = ((Collection)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 = ((Collection)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 = ((Collection)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;
+
+
+ private delegate Efl.Ui.LayoutOrientation efl_ui_layout_orientation_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate Efl.Ui.LayoutOrientation efl_ui_layout_orientation_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_layout_orientation_get_api_delegate> efl_ui_layout_orientation_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_layout_orientation_get_api_delegate>(Module, "efl_ui_layout_orientation_get");
+
+ private static Efl.Ui.LayoutOrientation orientation_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_layout_orientation_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.Ui.LayoutOrientation _ret_var = default(Efl.Ui.LayoutOrientation);
+ try
+ {
+ _ret_var = ((Collection)ws.Target).GetOrientation();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_layout_orientation_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_layout_orientation_get_delegate efl_ui_layout_orientation_get_static_delegate;
+
+
+ private delegate void efl_ui_layout_orientation_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.LayoutOrientation dir);
+
+
+ public delegate void efl_ui_layout_orientation_set_api_delegate(System.IntPtr obj, Efl.Ui.LayoutOrientation dir);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_layout_orientation_set_api_delegate> efl_ui_layout_orientation_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_layout_orientation_set_api_delegate>(Module, "efl_ui_layout_orientation_set");
+
+ private static void orientation_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.LayoutOrientation dir)
+ {
+ Eina.Log.Debug("function efl_ui_layout_orientation_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Collection)ws.Target).SetOrientation(dir);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_layout_orientation_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), dir);
+ }
+ }
+
+ private static efl_ui_layout_orientation_set_delegate efl_ui_layout_orientation_set_static_delegate;
+
+
+ private delegate Efl.Ui.SelectMode efl_ui_select_mode_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate Efl.Ui.SelectMode efl_ui_select_mode_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_select_mode_get_api_delegate> efl_ui_select_mode_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_select_mode_get_api_delegate>(Module, "efl_ui_select_mode_get");
+
+ private static Efl.Ui.SelectMode select_mode_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_select_mode_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.Ui.SelectMode _ret_var = default(Efl.Ui.SelectMode);
+ try
+ {
+ _ret_var = ((Collection)ws.Target).GetSelectMode();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_select_mode_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_select_mode_get_delegate efl_ui_select_mode_get_static_delegate;
+
+
+ private delegate void efl_ui_select_mode_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.SelectMode mode);
+
+
+ public delegate void efl_ui_select_mode_set_api_delegate(System.IntPtr obj, Efl.Ui.SelectMode mode);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_select_mode_set_api_delegate> efl_ui_select_mode_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_select_mode_set_api_delegate>(Module, "efl_ui_select_mode_set");
+
+ private static void select_mode_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.SelectMode mode)
+ {
+ Eina.Log.Debug("function efl_ui_select_mode_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Collection)ws.Target).SetSelectMode(mode);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_select_mode_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), mode);
+ }
+ }
+
+ private static efl_ui_select_mode_set_delegate efl_ui_select_mode_set_static_delegate;
+
+
+ private delegate System.IntPtr efl_ui_selected_items_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate System.IntPtr efl_ui_selected_items_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_selected_items_get_api_delegate> efl_ui_selected_items_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_selected_items_get_api_delegate>(Module, "efl_ui_selected_items_get");
+
+ private static System.IntPtr selected_items_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_selected_items_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Iterator<Efl.Ui.ISelectable> _ret_var = default(Eina.Iterator<Efl.Ui.ISelectable>);
+ try
+ {
+ _ret_var = ((Collection)ws.Target).GetSelectedItems();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ _ret_var.Own = false; return _ret_var.Handle;
+
+ }
+ else
+ {
+ return efl_ui_selected_items_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_selected_items_get_delegate efl_ui_selected_items_get_static_delegate;
+
+
+ private delegate void efl_ui_select_range_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.ISelectable a, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.ISelectable b);
+
+
+ public delegate void efl_ui_select_range_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.ISelectable a, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.ISelectable b);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_select_range_api_delegate> efl_ui_select_range_ptr = new Efl.Eo.FunctionWrapper<efl_ui_select_range_api_delegate>(Module, "efl_ui_select_range");
+
+ private static void select_range(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ISelectable a, Efl.Ui.ISelectable b)
+ {
+ Eina.Log.Debug("function efl_ui_select_range was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Collection)ws.Target).SelectRange(a, b);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_select_range_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), a, b);
+ }
+ }
+
+ private static efl_ui_select_range_delegate efl_ui_select_range_static_delegate;
+
+
+ private delegate void efl_ui_unselect_range_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.ISelectable a, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.ISelectable b);
+
+
+ public delegate void efl_ui_unselect_range_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.ISelectable a, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.ISelectable b);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_unselect_range_api_delegate> efl_ui_unselect_range_ptr = new Efl.Eo.FunctionWrapper<efl_ui_unselect_range_api_delegate>(Module, "efl_ui_unselect_range");
+
+ private static void unselect_range(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ISelectable a, Efl.Ui.ISelectable b)
+ {
+ Eina.Log.Debug("function efl_ui_unselect_range was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Collection)ws.Target).UnselectRange(a, b);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_unselect_range_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), a, b);
+ }
+ }
+
+ private static efl_ui_unselect_range_delegate efl_ui_unselect_range_static_delegate;
+
+
+ private delegate void efl_ui_select_all_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate void efl_ui_select_all_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_select_all_api_delegate> efl_ui_select_all_ptr = new Efl.Eo.FunctionWrapper<efl_ui_select_all_api_delegate>(Module, "efl_ui_select_all");
+
+ private static void select_all(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_select_all was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Collection)ws.Target).SelectAll();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_select_all_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_select_all_delegate efl_ui_select_all_static_delegate;
+
+
+ private delegate void efl_ui_unselect_all_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate void efl_ui_unselect_all_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_unselect_all_api_delegate> efl_ui_unselect_all_ptr = new Efl.Eo.FunctionWrapper<efl_ui_unselect_all_api_delegate>(Module, "efl_ui_unselect_all");
+
+ private static void unselect_all(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_unselect_all was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Collection)ws.Target).UnselectAll();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_unselect_all_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_unselect_all_delegate efl_ui_unselect_all_static_delegate;
+
+
+ private delegate Eina.Position2D.NativeStruct efl_ui_scrollable_content_pos_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate Eina.Position2D.NativeStruct efl_ui_scrollable_content_pos_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_content_pos_get_api_delegate> efl_ui_scrollable_content_pos_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_content_pos_get_api_delegate>(Module, "efl_ui_scrollable_content_pos_get");
+
+ private static Eina.Position2D.NativeStruct content_pos_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_scrollable_content_pos_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Position2D _ret_var = default(Eina.Position2D);
+ try
+ {
+ _ret_var = ((Collection)ws.Target).GetContentPos();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_scrollable_content_pos_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_scrollable_content_pos_get_delegate efl_ui_scrollable_content_pos_get_static_delegate;
+
+
+ private delegate void efl_ui_scrollable_content_pos_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Position2D.NativeStruct pos);
+
+
+ public delegate void efl_ui_scrollable_content_pos_set_api_delegate(System.IntPtr obj, Eina.Position2D.NativeStruct pos);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_content_pos_set_api_delegate> efl_ui_scrollable_content_pos_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_content_pos_set_api_delegate>(Module, "efl_ui_scrollable_content_pos_set");
+
+ private static void content_pos_set(System.IntPtr obj, System.IntPtr pd, Eina.Position2D.NativeStruct pos)
+ {
+ Eina.Log.Debug("function efl_ui_scrollable_content_pos_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Position2D _in_pos = pos;
+
+ try
+ {
+ ((Collection)ws.Target).SetContentPos(_in_pos);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_scrollable_content_pos_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), pos);
+ }
+ }
+
+ private static efl_ui_scrollable_content_pos_set_delegate efl_ui_scrollable_content_pos_set_static_delegate;
+
+
+ private delegate Eina.Size2D.NativeStruct efl_ui_scrollable_content_size_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate Eina.Size2D.NativeStruct efl_ui_scrollable_content_size_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_content_size_get_api_delegate> efl_ui_scrollable_content_size_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_content_size_get_api_delegate>(Module, "efl_ui_scrollable_content_size_get");
+
+ private static Eina.Size2D.NativeStruct content_size_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_scrollable_content_size_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Size2D _ret_var = default(Eina.Size2D);
+ try
+ {
+ _ret_var = ((Collection)ws.Target).GetContentSize();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_scrollable_content_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_scrollable_content_size_get_delegate efl_ui_scrollable_content_size_get_static_delegate;
+
+
+ private delegate Eina.Rect.NativeStruct efl_ui_scrollable_viewport_geometry_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate Eina.Rect.NativeStruct efl_ui_scrollable_viewport_geometry_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_viewport_geometry_get_api_delegate> efl_ui_scrollable_viewport_geometry_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_viewport_geometry_get_api_delegate>(Module, "efl_ui_scrollable_viewport_geometry_get");
+
+ private static Eina.Rect.NativeStruct viewport_geometry_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_scrollable_viewport_geometry_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Rect _ret_var = default(Eina.Rect);
+ try
+ {
+ _ret_var = ((Collection)ws.Target).GetViewportGeometry();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_scrollable_viewport_geometry_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_scrollable_viewport_geometry_get_delegate efl_ui_scrollable_viewport_geometry_get_static_delegate;
+
+
+ private delegate void efl_ui_scrollable_bounce_enabled_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] out bool horiz, [MarshalAs(UnmanagedType.U1)] out bool vert);
+
+
+ public delegate void efl_ui_scrollable_bounce_enabled_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] out bool horiz, [MarshalAs(UnmanagedType.U1)] out bool vert);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_bounce_enabled_get_api_delegate> efl_ui_scrollable_bounce_enabled_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_bounce_enabled_get_api_delegate>(Module, "efl_ui_scrollable_bounce_enabled_get");
+
+ private static void bounce_enabled_get(System.IntPtr obj, System.IntPtr pd, out bool horiz, out bool vert)
+ {
+ Eina.Log.Debug("function efl_ui_scrollable_bounce_enabled_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ horiz = default(bool); vert = default(bool);
+ try
+ {
+ ((Collection)ws.Target).GetBounceEnabled(out horiz, out vert);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_scrollable_bounce_enabled_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out horiz, out vert);
+ }
+ }
+
+ private static efl_ui_scrollable_bounce_enabled_get_delegate efl_ui_scrollable_bounce_enabled_get_static_delegate;
+
+
+ private delegate void efl_ui_scrollable_bounce_enabled_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool horiz, [MarshalAs(UnmanagedType.U1)] bool vert);
+
+
+ public delegate void efl_ui_scrollable_bounce_enabled_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool horiz, [MarshalAs(UnmanagedType.U1)] bool vert);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_bounce_enabled_set_api_delegate> efl_ui_scrollable_bounce_enabled_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_bounce_enabled_set_api_delegate>(Module, "efl_ui_scrollable_bounce_enabled_set");
+
+ private static void bounce_enabled_set(System.IntPtr obj, System.IntPtr pd, bool horiz, bool vert)
+ {
+ Eina.Log.Debug("function efl_ui_scrollable_bounce_enabled_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Collection)ws.Target).SetBounceEnabled(horiz, vert);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_scrollable_bounce_enabled_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), horiz, vert);
+ }
+ }
+
+ private static efl_ui_scrollable_bounce_enabled_set_delegate efl_ui_scrollable_bounce_enabled_set_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_ui_scrollable_scroll_freeze_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_ui_scrollable_scroll_freeze_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_freeze_get_api_delegate> efl_ui_scrollable_scroll_freeze_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_freeze_get_api_delegate>(Module, "efl_ui_scrollable_scroll_freeze_get");
+
+ private static bool scroll_freeze_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_scrollable_scroll_freeze_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((Collection)ws.Target).GetScrollFreeze();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_scrollable_scroll_freeze_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_scrollable_scroll_freeze_get_delegate efl_ui_scrollable_scroll_freeze_get_static_delegate;
+
+
+ private delegate void efl_ui_scrollable_scroll_freeze_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool freeze);
+
+
+ public delegate void efl_ui_scrollable_scroll_freeze_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool freeze);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_freeze_set_api_delegate> efl_ui_scrollable_scroll_freeze_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_freeze_set_api_delegate>(Module, "efl_ui_scrollable_scroll_freeze_set");
+
+ private static void scroll_freeze_set(System.IntPtr obj, System.IntPtr pd, bool freeze)
+ {
+ Eina.Log.Debug("function efl_ui_scrollable_scroll_freeze_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Collection)ws.Target).SetScrollFreeze(freeze);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_scrollable_scroll_freeze_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), freeze);
+ }
+ }
+
+ private static efl_ui_scrollable_scroll_freeze_set_delegate efl_ui_scrollable_scroll_freeze_set_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_ui_scrollable_scroll_hold_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_ui_scrollable_scroll_hold_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_hold_get_api_delegate> efl_ui_scrollable_scroll_hold_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_hold_get_api_delegate>(Module, "efl_ui_scrollable_scroll_hold_get");
+
+ private static bool scroll_hold_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_scrollable_scroll_hold_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((Collection)ws.Target).GetScrollHold();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_scrollable_scroll_hold_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_scrollable_scroll_hold_get_delegate efl_ui_scrollable_scroll_hold_get_static_delegate;
+
+
+ private delegate void efl_ui_scrollable_scroll_hold_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool hold);
+
+
+ public delegate void efl_ui_scrollable_scroll_hold_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool hold);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_hold_set_api_delegate> efl_ui_scrollable_scroll_hold_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_hold_set_api_delegate>(Module, "efl_ui_scrollable_scroll_hold_set");
+
+ private static void scroll_hold_set(System.IntPtr obj, System.IntPtr pd, bool hold)
+ {
+ Eina.Log.Debug("function efl_ui_scrollable_scroll_hold_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Collection)ws.Target).SetScrollHold(hold);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_scrollable_scroll_hold_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), hold);
+ }
+ }
+
+ private static efl_ui_scrollable_scroll_hold_set_delegate efl_ui_scrollable_scroll_hold_set_static_delegate;
+
+
+ private delegate void efl_ui_scrollable_looping_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] out bool loop_h, [MarshalAs(UnmanagedType.U1)] out bool loop_v);
+
+
+ public delegate void efl_ui_scrollable_looping_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] out bool loop_h, [MarshalAs(UnmanagedType.U1)] out bool loop_v);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_looping_get_api_delegate> efl_ui_scrollable_looping_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_looping_get_api_delegate>(Module, "efl_ui_scrollable_looping_get");
+
+ private static void looping_get(System.IntPtr obj, System.IntPtr pd, out bool loop_h, out bool loop_v)
+ {
+ Eina.Log.Debug("function efl_ui_scrollable_looping_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ loop_h = default(bool); loop_v = default(bool);
+ try
+ {
+ ((Collection)ws.Target).GetLooping(out loop_h, out loop_v);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_scrollable_looping_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out loop_h, out loop_v);
+ }
+ }
+
+ private static efl_ui_scrollable_looping_get_delegate efl_ui_scrollable_looping_get_static_delegate;
+
+
+ private delegate void efl_ui_scrollable_looping_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool loop_h, [MarshalAs(UnmanagedType.U1)] bool loop_v);
+
+
+ public delegate void efl_ui_scrollable_looping_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool loop_h, [MarshalAs(UnmanagedType.U1)] bool loop_v);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_looping_set_api_delegate> efl_ui_scrollable_looping_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_looping_set_api_delegate>(Module, "efl_ui_scrollable_looping_set");
+
+ private static void looping_set(System.IntPtr obj, System.IntPtr pd, bool loop_h, bool loop_v)
+ {
+ Eina.Log.Debug("function efl_ui_scrollable_looping_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Collection)ws.Target).SetLooping(loop_h, loop_v);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_scrollable_looping_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), loop_h, loop_v);
+ }
+ }
+
+ private static efl_ui_scrollable_looping_set_delegate efl_ui_scrollable_looping_set_static_delegate;
+
+
+ private delegate Efl.Ui.ScrollBlock efl_ui_scrollable_movement_block_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate Efl.Ui.ScrollBlock efl_ui_scrollable_movement_block_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_movement_block_get_api_delegate> efl_ui_scrollable_movement_block_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_movement_block_get_api_delegate>(Module, "efl_ui_scrollable_movement_block_get");
+
+ private static Efl.Ui.ScrollBlock movement_block_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_scrollable_movement_block_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.Ui.ScrollBlock _ret_var = default(Efl.Ui.ScrollBlock);
+ try
+ {
+ _ret_var = ((Collection)ws.Target).GetMovementBlock();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_scrollable_movement_block_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_scrollable_movement_block_get_delegate efl_ui_scrollable_movement_block_get_static_delegate;
+
+
+ private delegate void efl_ui_scrollable_movement_block_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ScrollBlock block);
+
+
+ public delegate void efl_ui_scrollable_movement_block_set_api_delegate(System.IntPtr obj, Efl.Ui.ScrollBlock block);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_movement_block_set_api_delegate> efl_ui_scrollable_movement_block_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_movement_block_set_api_delegate>(Module, "efl_ui_scrollable_movement_block_set");
+
+ private static void movement_block_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ScrollBlock block)
+ {
+ Eina.Log.Debug("function efl_ui_scrollable_movement_block_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Collection)ws.Target).SetMovementBlock(block);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_scrollable_movement_block_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), block);
+ }
+ }
+
+ private static efl_ui_scrollable_movement_block_set_delegate efl_ui_scrollable_movement_block_set_static_delegate;
+
+
+ private delegate void efl_ui_scrollable_gravity_get_delegate(System.IntPtr obj, System.IntPtr pd, out double x, out double y);
+
+
+ public delegate void efl_ui_scrollable_gravity_get_api_delegate(System.IntPtr obj, out double x, out double y);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_gravity_get_api_delegate> efl_ui_scrollable_gravity_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_gravity_get_api_delegate>(Module, "efl_ui_scrollable_gravity_get");
+
+ private static void gravity_get(System.IntPtr obj, System.IntPtr pd, out double x, out double y)
+ {
+ Eina.Log.Debug("function efl_ui_scrollable_gravity_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ x = default(double); y = default(double);
+ try
+ {
+ ((Collection)ws.Target).GetGravity(out x, out y);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_scrollable_gravity_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out x, out y);
+ }
+ }
+
+ private static efl_ui_scrollable_gravity_get_delegate efl_ui_scrollable_gravity_get_static_delegate;
+
+
+ private delegate void efl_ui_scrollable_gravity_set_delegate(System.IntPtr obj, System.IntPtr pd, double x, double y);
+
+
+ public delegate void efl_ui_scrollable_gravity_set_api_delegate(System.IntPtr obj, double x, double y);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_gravity_set_api_delegate> efl_ui_scrollable_gravity_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_gravity_set_api_delegate>(Module, "efl_ui_scrollable_gravity_set");
+
+ private static void gravity_set(System.IntPtr obj, System.IntPtr pd, double x, double y)
+ {
+ Eina.Log.Debug("function efl_ui_scrollable_gravity_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Collection)ws.Target).SetGravity(x, y);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_scrollable_gravity_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y);
+ }
+ }
+
+ private static efl_ui_scrollable_gravity_set_delegate efl_ui_scrollable_gravity_set_static_delegate;
+
+
+ private delegate void efl_ui_scrollable_match_content_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool w, [MarshalAs(UnmanagedType.U1)] bool h);
+
+
+ public delegate void efl_ui_scrollable_match_content_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool w, [MarshalAs(UnmanagedType.U1)] bool h);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_match_content_set_api_delegate> efl_ui_scrollable_match_content_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_match_content_set_api_delegate>(Module, "efl_ui_scrollable_match_content_set");
+
+ private static void match_content_set(System.IntPtr obj, System.IntPtr pd, bool w, bool h)
+ {
+ Eina.Log.Debug("function efl_ui_scrollable_match_content_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Collection)ws.Target).SetMatchContent(w, h);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_scrollable_match_content_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), w, h);
+ }
+ }
+
+ private static efl_ui_scrollable_match_content_set_delegate efl_ui_scrollable_match_content_set_static_delegate;
+
+
+ private delegate Eina.Position2D.NativeStruct efl_ui_scrollable_step_size_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate Eina.Position2D.NativeStruct efl_ui_scrollable_step_size_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_step_size_get_api_delegate> efl_ui_scrollable_step_size_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_step_size_get_api_delegate>(Module, "efl_ui_scrollable_step_size_get");
+
+ private static Eina.Position2D.NativeStruct step_size_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_scrollable_step_size_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Position2D _ret_var = default(Eina.Position2D);
+ try
+ {
+ _ret_var = ((Collection)ws.Target).GetStepSize();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_scrollable_step_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_scrollable_step_size_get_delegate efl_ui_scrollable_step_size_get_static_delegate;
+
+
+ private delegate void efl_ui_scrollable_step_size_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Position2D.NativeStruct step);
+
+
+ public delegate void efl_ui_scrollable_step_size_set_api_delegate(System.IntPtr obj, Eina.Position2D.NativeStruct step);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_step_size_set_api_delegate> efl_ui_scrollable_step_size_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_step_size_set_api_delegate>(Module, "efl_ui_scrollable_step_size_set");
+
+ private static void step_size_set(System.IntPtr obj, System.IntPtr pd, Eina.Position2D.NativeStruct step)
+ {
+ Eina.Log.Debug("function efl_ui_scrollable_step_size_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Position2D _in_step = step;
+
+ try
+ {
+ ((Collection)ws.Target).SetStepSize(_in_step);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_scrollable_step_size_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), step);
+ }
+ }
+
+ private static efl_ui_scrollable_step_size_set_delegate efl_ui_scrollable_step_size_set_static_delegate;
+
+
+ private delegate void efl_ui_scrollable_scroll_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct rect, [MarshalAs(UnmanagedType.U1)] bool animation);
+
+
+ public delegate void efl_ui_scrollable_scroll_api_delegate(System.IntPtr obj, Eina.Rect.NativeStruct rect, [MarshalAs(UnmanagedType.U1)] bool animation);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_api_delegate> efl_ui_scrollable_scroll_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_api_delegate>(Module, "efl_ui_scrollable_scroll");
+
+ private static void scroll(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct rect, bool animation)
+ {
+ Eina.Log.Debug("function efl_ui_scrollable_scroll was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Rect _in_rect = rect;
+
+ try
+ {
+ ((Collection)ws.Target).Scroll(_in_rect, animation);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_scrollable_scroll_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), rect, animation);
+ }
+ }
+
+ private static efl_ui_scrollable_scroll_delegate efl_ui_scrollable_scroll_static_delegate;
+
+
+ private delegate void efl_ui_scrollbar_bar_mode_get_delegate(System.IntPtr obj, System.IntPtr pd, out Efl.Ui.ScrollbarMode hbar, out Efl.Ui.ScrollbarMode vbar);
+
+
+ public delegate void efl_ui_scrollbar_bar_mode_get_api_delegate(System.IntPtr obj, out Efl.Ui.ScrollbarMode hbar, out Efl.Ui.ScrollbarMode vbar);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_mode_get_api_delegate> efl_ui_scrollbar_bar_mode_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_mode_get_api_delegate>(Module, "efl_ui_scrollbar_bar_mode_get");
+
+ private static void bar_mode_get(System.IntPtr obj, System.IntPtr pd, out Efl.Ui.ScrollbarMode hbar, out Efl.Ui.ScrollbarMode vbar)
+ {
+ Eina.Log.Debug("function efl_ui_scrollbar_bar_mode_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ hbar = default(Efl.Ui.ScrollbarMode); vbar = default(Efl.Ui.ScrollbarMode);
+ try
+ {
+ ((Collection)ws.Target).GetBarMode(out hbar, out vbar);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_scrollbar_bar_mode_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out hbar, out vbar);
+ }
+ }
+
+ private static efl_ui_scrollbar_bar_mode_get_delegate efl_ui_scrollbar_bar_mode_get_static_delegate;
+
+
+ private delegate void efl_ui_scrollbar_bar_mode_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ScrollbarMode hbar, Efl.Ui.ScrollbarMode vbar);
+
+
+ public delegate void efl_ui_scrollbar_bar_mode_set_api_delegate(System.IntPtr obj, Efl.Ui.ScrollbarMode hbar, Efl.Ui.ScrollbarMode vbar);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_mode_set_api_delegate> efl_ui_scrollbar_bar_mode_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_mode_set_api_delegate>(Module, "efl_ui_scrollbar_bar_mode_set");
+
+ private static void bar_mode_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ScrollbarMode hbar, Efl.Ui.ScrollbarMode vbar)
+ {
+ Eina.Log.Debug("function efl_ui_scrollbar_bar_mode_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Collection)ws.Target).SetBarMode(hbar, vbar);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_scrollbar_bar_mode_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), hbar, vbar);
+ }
+ }
+
+ private static efl_ui_scrollbar_bar_mode_set_delegate efl_ui_scrollbar_bar_mode_set_static_delegate;
+
+
+ private delegate void efl_ui_scrollbar_bar_size_get_delegate(System.IntPtr obj, System.IntPtr pd, out double width, out double height);
+
+
+ public delegate void efl_ui_scrollbar_bar_size_get_api_delegate(System.IntPtr obj, out double width, out double height);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_size_get_api_delegate> efl_ui_scrollbar_bar_size_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_size_get_api_delegate>(Module, "efl_ui_scrollbar_bar_size_get");
+
+ private static void bar_size_get(System.IntPtr obj, System.IntPtr pd, out double width, out double height)
+ {
+ Eina.Log.Debug("function efl_ui_scrollbar_bar_size_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ width = default(double); height = default(double);
+ try
+ {
+ ((Collection)ws.Target).GetBarSize(out width, out height);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_scrollbar_bar_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out width, out height);
+ }
+ }
+
+ private static efl_ui_scrollbar_bar_size_get_delegate efl_ui_scrollbar_bar_size_get_static_delegate;
+
+
+ private delegate void efl_ui_scrollbar_bar_position_get_delegate(System.IntPtr obj, System.IntPtr pd, out double posx, out double posy);
+
+
+ public delegate void efl_ui_scrollbar_bar_position_get_api_delegate(System.IntPtr obj, out double posx, out double posy);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_position_get_api_delegate> efl_ui_scrollbar_bar_position_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_position_get_api_delegate>(Module, "efl_ui_scrollbar_bar_position_get");
+
+ private static void bar_position_get(System.IntPtr obj, System.IntPtr pd, out double posx, out double posy)
+ {
+ Eina.Log.Debug("function efl_ui_scrollbar_bar_position_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ posx = default(double); posy = default(double);
+ try
+ {
+ ((Collection)ws.Target).GetBarPosition(out posx, out posy);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_scrollbar_bar_position_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out posx, out posy);
+ }
+ }
+
+ private static efl_ui_scrollbar_bar_position_get_delegate efl_ui_scrollbar_bar_position_get_static_delegate;
+
+
+ private delegate void efl_ui_scrollbar_bar_position_set_delegate(System.IntPtr obj, System.IntPtr pd, double posx, double posy);
+
+
+ public delegate void efl_ui_scrollbar_bar_position_set_api_delegate(System.IntPtr obj, double posx, double posy);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_position_set_api_delegate> efl_ui_scrollbar_bar_position_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_position_set_api_delegate>(Module, "efl_ui_scrollbar_bar_position_set");
+
+ private static void bar_position_set(System.IntPtr obj, System.IntPtr pd, double posx, double posy)
+ {
+ Eina.Log.Debug("function efl_ui_scrollbar_bar_position_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Collection)ws.Target).SetBarPosition(posx, posy);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_scrollbar_bar_position_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), posx, posy);
+ }
+ }
+
+ private static efl_ui_scrollbar_bar_position_set_delegate efl_ui_scrollbar_bar_position_set_static_delegate;
+
+
+ private delegate void efl_ui_scrollbar_bar_visibility_update_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate void efl_ui_scrollbar_bar_visibility_update_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_visibility_update_api_delegate> efl_ui_scrollbar_bar_visibility_update_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_visibility_update_api_delegate>(Module, "efl_ui_scrollbar_bar_visibility_update");
+
+ private static void bar_visibility_update(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_scrollbar_bar_visibility_update was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Collection)ws.Target).UpdateBarVisibility();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_scrollbar_bar_visibility_update_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_scrollbar_bar_visibility_update_delegate efl_ui_scrollbar_bar_visibility_update_static_delegate;
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ private delegate Efl.Ui.ISelectable efl_ui_single_selectable_last_selected_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ public delegate Efl.Ui.ISelectable efl_ui_single_selectable_last_selected_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_single_selectable_last_selected_get_api_delegate> efl_ui_single_selectable_last_selected_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_single_selectable_last_selected_get_api_delegate>(Module, "efl_ui_single_selectable_last_selected_get");
+
+ private static Efl.Ui.ISelectable last_selected_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_single_selectable_last_selected_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.Ui.ISelectable _ret_var = default(Efl.Ui.ISelectable);
+ try
+ {
+ _ret_var = ((Collection)ws.Target).GetLastSelected();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_single_selectable_last_selected_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_single_selectable_last_selected_get_delegate efl_ui_single_selectable_last_selected_get_static_delegate;
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ private delegate Efl.Ui.ISelectable efl_ui_single_selectable_fallback_selection_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ public delegate Efl.Ui.ISelectable efl_ui_single_selectable_fallback_selection_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_single_selectable_fallback_selection_get_api_delegate> efl_ui_single_selectable_fallback_selection_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_single_selectable_fallback_selection_get_api_delegate>(Module, "efl_ui_single_selectable_fallback_selection_get");
+
+ private static Efl.Ui.ISelectable fallback_selection_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_single_selectable_fallback_selection_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.Ui.ISelectable _ret_var = default(Efl.Ui.ISelectable);
+ try
+ {
+ _ret_var = ((Collection)ws.Target).GetFallbackSelection();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_single_selectable_fallback_selection_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_single_selectable_fallback_selection_get_delegate efl_ui_single_selectable_fallback_selection_get_static_delegate;
+
+
+ private delegate void efl_ui_single_selectable_fallback_selection_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.ISelectable fallback);
+
+
+ public delegate void efl_ui_single_selectable_fallback_selection_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.ISelectable fallback);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_single_selectable_fallback_selection_set_api_delegate> efl_ui_single_selectable_fallback_selection_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_single_selectable_fallback_selection_set_api_delegate>(Module, "efl_ui_single_selectable_fallback_selection_set");
+
+ private static void fallback_selection_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ISelectable fallback)
+ {
+ Eina.Log.Debug("function efl_ui_single_selectable_fallback_selection_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Collection)ws.Target).SetFallbackSelection(fallback);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_single_selectable_fallback_selection_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), fallback);
+ }
+ }
+
+ private static efl_ui_single_selectable_fallback_selection_set_delegate efl_ui_single_selectable_fallback_selection_set_static_delegate;
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ private delegate Efl.Ui.Focus.IManager efl_ui_widget_focus_manager_create_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject root);
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ public delegate Efl.Ui.Focus.IManager efl_ui_widget_focus_manager_create_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject root);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_widget_focus_manager_create_api_delegate> efl_ui_widget_focus_manager_create_ptr = new Efl.Eo.FunctionWrapper<efl_ui_widget_focus_manager_create_api_delegate>(Module, "efl_ui_widget_focus_manager_create");
+
+ private static Efl.Ui.Focus.IManager focus_manager_create(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IObject root)
+ {
+ Eina.Log.Debug("function efl_ui_widget_focus_manager_create was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.Ui.Focus.IManager _ret_var = default(Efl.Ui.Focus.IManager);
+ try
+ {
+ _ret_var = ((Collection)ws.Target).FocusManagerCreate(root);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_widget_focus_manager_create_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), root);
+ }
+ }
+
+ private static efl_ui_widget_focus_manager_create_delegate efl_ui_widget_focus_manager_create_static_delegate;
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ private delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_focus_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ public delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_focus_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_focus_get_api_delegate> efl_ui_focus_manager_focus_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_focus_get_api_delegate>(Module, "efl_ui_focus_manager_focus_get");
+
+ private static Efl.Ui.Focus.IObject manager_focus_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_focus_manager_focus_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject);
+ try
+ {
+ _ret_var = ((Collection)ws.Target).GetManagerFocus();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_focus_manager_focus_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_focus_manager_focus_get_delegate efl_ui_focus_manager_focus_get_static_delegate;
+
+
+ private delegate void efl_ui_focus_manager_focus_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject focus);
+
+
+ public delegate void efl_ui_focus_manager_focus_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject focus);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_focus_set_api_delegate> efl_ui_focus_manager_focus_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_focus_set_api_delegate>(Module, "efl_ui_focus_manager_focus_set");
+
+ private static void manager_focus_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IObject focus)
+ {
+ Eina.Log.Debug("function efl_ui_focus_manager_focus_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Collection)ws.Target).SetManagerFocus(focus);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_focus_manager_focus_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), focus);
+ }
+ }
+
+ private static efl_ui_focus_manager_focus_set_delegate efl_ui_focus_manager_focus_set_static_delegate;
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ private delegate Efl.Ui.Focus.IManager efl_ui_focus_manager_redirect_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ public delegate Efl.Ui.Focus.IManager efl_ui_focus_manager_redirect_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_redirect_get_api_delegate> efl_ui_focus_manager_redirect_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_redirect_get_api_delegate>(Module, "efl_ui_focus_manager_redirect_get");
+
+ private static Efl.Ui.Focus.IManager redirect_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_focus_manager_redirect_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.Ui.Focus.IManager _ret_var = default(Efl.Ui.Focus.IManager);
+ try
+ {
+ _ret_var = ((Collection)ws.Target).GetRedirect();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_focus_manager_redirect_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_focus_manager_redirect_get_delegate efl_ui_focus_manager_redirect_get_static_delegate;
+
+
+ private delegate void efl_ui_focus_manager_redirect_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IManager redirect);
+
+
+ public delegate void efl_ui_focus_manager_redirect_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IManager redirect);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_redirect_set_api_delegate> efl_ui_focus_manager_redirect_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_redirect_set_api_delegate>(Module, "efl_ui_focus_manager_redirect_set");
+
+ private static void redirect_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IManager redirect)
+ {
+ Eina.Log.Debug("function efl_ui_focus_manager_redirect_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Collection)ws.Target).SetRedirect(redirect);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_focus_manager_redirect_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), redirect);
+ }
+ }
+
+ private static efl_ui_focus_manager_redirect_set_delegate efl_ui_focus_manager_redirect_set_static_delegate;
+
+
+ private delegate System.IntPtr efl_ui_focus_manager_border_elements_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate System.IntPtr efl_ui_focus_manager_border_elements_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_border_elements_get_api_delegate> efl_ui_focus_manager_border_elements_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_border_elements_get_api_delegate>(Module, "efl_ui_focus_manager_border_elements_get");
+
+ private static System.IntPtr border_elements_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_focus_manager_border_elements_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Iterator<Efl.Ui.Focus.IObject> _ret_var = default(Eina.Iterator<Efl.Ui.Focus.IObject>);
+ try
+ {
+ _ret_var = ((Collection)ws.Target).GetBorderElements();
+ }
+ 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_focus_manager_border_elements_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_focus_manager_border_elements_get_delegate efl_ui_focus_manager_border_elements_get_static_delegate;
+
+
+ private delegate System.IntPtr efl_ui_focus_manager_viewport_elements_get_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct viewport);
+
+
+ public delegate System.IntPtr efl_ui_focus_manager_viewport_elements_get_api_delegate(System.IntPtr obj, Eina.Rect.NativeStruct viewport);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_viewport_elements_get_api_delegate> efl_ui_focus_manager_viewport_elements_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_viewport_elements_get_api_delegate>(Module, "efl_ui_focus_manager_viewport_elements_get");
+
+ private static System.IntPtr viewport_elements_get(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct viewport)
+ {
+ Eina.Log.Debug("function efl_ui_focus_manager_viewport_elements_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Rect _in_viewport = viewport;
+ Eina.Iterator<Efl.Ui.Focus.IObject> _ret_var = default(Eina.Iterator<Efl.Ui.Focus.IObject>);
+ try
+ {
+ _ret_var = ((Collection)ws.Target).GetViewportElements(_in_viewport);
+ }
+ 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_focus_manager_viewport_elements_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), viewport);
+ }
+ }
+
+ private static efl_ui_focus_manager_viewport_elements_get_delegate efl_ui_focus_manager_viewport_elements_get_static_delegate;
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ private delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_root_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ public delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_root_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_root_get_api_delegate> efl_ui_focus_manager_root_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_root_get_api_delegate>(Module, "efl_ui_focus_manager_root_get");
+
+ private static Efl.Ui.Focus.IObject root_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_focus_manager_root_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject);
+ try
+ {
+ _ret_var = ((Collection)ws.Target).GetRoot();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_focus_manager_root_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_focus_manager_root_get_delegate efl_ui_focus_manager_root_get_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_ui_focus_manager_root_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject root);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_ui_focus_manager_root_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject root);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_root_set_api_delegate> efl_ui_focus_manager_root_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_root_set_api_delegate>(Module, "efl_ui_focus_manager_root_set");
+
+ private static bool root_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IObject root)
+ {
+ Eina.Log.Debug("function efl_ui_focus_manager_root_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((Collection)ws.Target).SetRoot(root);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_focus_manager_root_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), root);
+ }
+ }
+
+ private static efl_ui_focus_manager_root_set_delegate efl_ui_focus_manager_root_set_static_delegate;
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ private delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_move_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.Direction direction);
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ public delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_move_api_delegate(System.IntPtr obj, Efl.Ui.Focus.Direction direction);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_move_api_delegate> efl_ui_focus_manager_move_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_move_api_delegate>(Module, "efl_ui_focus_manager_move");
+
+ private static Efl.Ui.Focus.IObject move(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.Direction direction)
+ {
+ Eina.Log.Debug("function efl_ui_focus_manager_move was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject);
+ try
+ {
+ _ret_var = ((Collection)ws.Target).Move(direction);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_focus_manager_move_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), direction);
+ }
+ }
+
+ private static efl_ui_focus_manager_move_delegate efl_ui_focus_manager_move_static_delegate;
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ private delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_request_move_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.Direction direction, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject child, [MarshalAs(UnmanagedType.U1)] bool logical);
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ public delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_request_move_api_delegate(System.IntPtr obj, Efl.Ui.Focus.Direction direction, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject child, [MarshalAs(UnmanagedType.U1)] bool logical);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_request_move_api_delegate> efl_ui_focus_manager_request_move_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_request_move_api_delegate>(Module, "efl_ui_focus_manager_request_move");
+
+ private static Efl.Ui.Focus.IObject request_move(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.Direction direction, Efl.Ui.Focus.IObject child, bool logical)
+ {
+ Eina.Log.Debug("function efl_ui_focus_manager_request_move was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject);
+ try
+ {
+ _ret_var = ((Collection)ws.Target).MoveRequest(direction, child, logical);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_focus_manager_request_move_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), direction, child, logical);
+ }
+ }
+
+ private static efl_ui_focus_manager_request_move_delegate efl_ui_focus_manager_request_move_static_delegate;
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ private delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_request_subchild_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject root);
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ public delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_request_subchild_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject root);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_request_subchild_api_delegate> efl_ui_focus_manager_request_subchild_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_request_subchild_api_delegate>(Module, "efl_ui_focus_manager_request_subchild");
+
+ private static Efl.Ui.Focus.IObject request_subchild(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IObject root)
+ {
+ Eina.Log.Debug("function efl_ui_focus_manager_request_subchild was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject);
+ try
+ {
+ _ret_var = ((Collection)ws.Target).RequestSubchild(root);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_focus_manager_request_subchild_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), root);
+ }
+ }
+
+ private static efl_ui_focus_manager_request_subchild_delegate efl_ui_focus_manager_request_subchild_static_delegate;
+
+
+ private delegate System.IntPtr efl_ui_focus_manager_fetch_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject child);
+
+
+ public delegate System.IntPtr efl_ui_focus_manager_fetch_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject child);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_fetch_api_delegate> efl_ui_focus_manager_fetch_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_fetch_api_delegate>(Module, "efl_ui_focus_manager_fetch");
+
+ private static System.IntPtr fetch(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IObject child)
+ {
+ Eina.Log.Debug("function efl_ui_focus_manager_fetch was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.Ui.Focus.Relations _ret_var = default(Efl.Ui.Focus.Relations);
+ try
+ {
+ _ret_var = ((Collection)ws.Target).Fetch(child);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return Eina.PrimitiveConversion.ManagedToPointerAlloc(_ret_var);
+
+ }
+ else
+ {
+ return efl_ui_focus_manager_fetch_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), child);
+ }
+ }
+
+ private static efl_ui_focus_manager_fetch_delegate efl_ui_focus_manager_fetch_static_delegate;
+
+
+ private delegate Efl.Ui.Focus.ManagerLogicalEndDetail.NativeStruct efl_ui_focus_manager_logical_end_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate Efl.Ui.Focus.ManagerLogicalEndDetail.NativeStruct efl_ui_focus_manager_logical_end_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_logical_end_api_delegate> efl_ui_focus_manager_logical_end_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_logical_end_api_delegate>(Module, "efl_ui_focus_manager_logical_end");
+
+ private static Efl.Ui.Focus.ManagerLogicalEndDetail.NativeStruct logical_end(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_focus_manager_logical_end was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.Ui.Focus.ManagerLogicalEndDetail _ret_var = default(Efl.Ui.Focus.ManagerLogicalEndDetail);
+ try
+ {
+ _ret_var = ((Collection)ws.Target).LogicalEnd();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_focus_manager_logical_end_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_focus_manager_logical_end_delegate efl_ui_focus_manager_logical_end_static_delegate;
+
+
+ private delegate void efl_ui_focus_manager_reset_history_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate void efl_ui_focus_manager_reset_history_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_reset_history_api_delegate> efl_ui_focus_manager_reset_history_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_reset_history_api_delegate>(Module, "efl_ui_focus_manager_reset_history");
+
+ private static void reset_history(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_focus_manager_reset_history was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Collection)ws.Target).ResetHistory();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_focus_manager_reset_history_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_focus_manager_reset_history_delegate efl_ui_focus_manager_reset_history_static_delegate;
+
+
+ private delegate void efl_ui_focus_manager_pop_history_stack_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate void efl_ui_focus_manager_pop_history_stack_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_pop_history_stack_api_delegate> efl_ui_focus_manager_pop_history_stack_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_pop_history_stack_api_delegate>(Module, "efl_ui_focus_manager_pop_history_stack");
+
+ private static void pop_history_stack(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_focus_manager_pop_history_stack was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Collection)ws.Target).PopHistoryStack();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_focus_manager_pop_history_stack_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_focus_manager_pop_history_stack_delegate efl_ui_focus_manager_pop_history_stack_static_delegate;
+
+
+ private delegate void efl_ui_focus_manager_setup_on_first_touch_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.Direction direction, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject entry);
+
+
+ public delegate void efl_ui_focus_manager_setup_on_first_touch_api_delegate(System.IntPtr obj, Efl.Ui.Focus.Direction direction, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject entry);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_setup_on_first_touch_api_delegate> efl_ui_focus_manager_setup_on_first_touch_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_setup_on_first_touch_api_delegate>(Module, "efl_ui_focus_manager_setup_on_first_touch");
+
+ private static void setup_on_first_touch(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.Direction direction, Efl.Ui.Focus.IObject entry)
+ {
+ Eina.Log.Debug("function efl_ui_focus_manager_setup_on_first_touch was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Collection)ws.Target).SetupOnFirstTouch(direction, entry);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_focus_manager_setup_on_first_touch_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), direction, entry);
+ }
+ }
+
+ private static efl_ui_focus_manager_setup_on_first_touch_delegate efl_ui_focus_manager_setup_on_first_touch_static_delegate;
+
+
+ private delegate void efl_ui_focus_manager_dirty_logic_freeze_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate void efl_ui_focus_manager_dirty_logic_freeze_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_dirty_logic_freeze_api_delegate> efl_ui_focus_manager_dirty_logic_freeze_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_dirty_logic_freeze_api_delegate>(Module, "efl_ui_focus_manager_dirty_logic_freeze");
+
+ private static void dirty_logic_freeze(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_focus_manager_dirty_logic_freeze was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Collection)ws.Target).FreezeDirtyLogic();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_focus_manager_dirty_logic_freeze_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_focus_manager_dirty_logic_freeze_delegate efl_ui_focus_manager_dirty_logic_freeze_static_delegate;
+
+
+ private delegate void efl_ui_focus_manager_dirty_logic_unfreeze_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate void efl_ui_focus_manager_dirty_logic_unfreeze_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_dirty_logic_unfreeze_api_delegate> efl_ui_focus_manager_dirty_logic_unfreeze_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_dirty_logic_unfreeze_api_delegate>(Module, "efl_ui_focus_manager_dirty_logic_unfreeze");
+
+ private static void dirty_logic_unfreeze(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_focus_manager_dirty_logic_unfreeze was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Collection)ws.Target).DirtyLogicUnfreeze();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_focus_manager_dirty_logic_unfreeze_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_focus_manager_dirty_logic_unfreeze_delegate efl_ui_focus_manager_dirty_logic_unfreeze_static_delegate;
+
+ #pragma warning restore CA1707, CS1591, SA1300, SA1600
+
+}
+}
+}
+
+}
+
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiCollection_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Ui.PositionManager.IEntity> PositionManager<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Collection, T>magic = null) where T : Efl.Ui.Collection {
+ return new Efl.BindableProperty<Efl.Ui.PositionManager.IEntity>("position_manager", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Ui.LayoutOrientation> Orientation<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Collection, T>magic = null) where T : Efl.Ui.Collection {
+ return new Efl.BindableProperty<Efl.Ui.LayoutOrientation>("orientation", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Ui.SelectMode> SelectMode<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Collection, T>magic = null) where T : Efl.Ui.Collection {
+ return new Efl.BindableProperty<Efl.Ui.SelectMode>("select_mode", fac);
+ }
+
+ public static Efl.BindableProperty<Eina.Position2D> ContentPos<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Collection, T>magic = null) where T : Efl.Ui.Collection {
+ return new Efl.BindableProperty<Eina.Position2D>("content_pos", fac);
+ }
+
+
+
+
+ public static Efl.BindableProperty<bool> ScrollFreeze<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Collection, T>magic = null) where T : Efl.Ui.Collection {
+ return new Efl.BindableProperty<bool>("scroll_freeze", fac);
+ }
+
+ public static Efl.BindableProperty<bool> ScrollHold<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Collection, T>magic = null) where T : Efl.Ui.Collection {
+ return new Efl.BindableProperty<bool>("scroll_hold", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.Ui.ScrollBlock> MovementBlock<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Collection, T>magic = null) where T : Efl.Ui.Collection {
+ return new Efl.BindableProperty<Efl.Ui.ScrollBlock>("movement_block", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<Eina.Position2D> StepSize<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Collection, T>magic = null) where T : Efl.Ui.Collection {
+ return new Efl.BindableProperty<Eina.Position2D>("step_size", fac);
+ }
+
+
+
+
+
+ public static Efl.BindableProperty<Efl.Ui.ISelectable> FallbackSelection<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Collection, T>magic = null) where T : Efl.Ui.Collection {
+ return new Efl.BindableProperty<Efl.Ui.ISelectable>("fallback_selection", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Ui.Focus.IObject> ManagerFocus<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Collection, T>magic = null) where T : Efl.Ui.Collection {
+ return new Efl.BindableProperty<Efl.Ui.Focus.IObject>("manager_focus", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Ui.Focus.IManager> Redirect<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Collection, T>magic = null) where T : Efl.Ui.Collection {
+ return new Efl.BindableProperty<Efl.Ui.Focus.IManager>("redirect", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<Efl.Ui.Focus.IObject> Root<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Collection, T>magic = null) where T : Efl.Ui.Collection {
+ return new Efl.BindableProperty<Efl.Ui.Focus.IObject>("root", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
--- /dev/null
+#define EFL_BETA
+#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>Temporare interface, this is here until collection_view lands</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+[Efl.Ui.IContainerSelectableConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
+public interface IContainerSelectable :
+ Efl.Eo.IWrapper, IDisposable
+{
+ /// <summary>Called when selected</summary>
+ /// <value><see cref="Efl.Ui.IContainerSelectableItemSelectedEvt_Args"/></value>
+ event EventHandler<Efl.Ui.IContainerSelectableItemSelectedEvt_Args> ItemSelectedEvt;
+ /// <summary>Called when no longer selected</summary>
+ /// <value><see cref="Efl.Ui.IContainerSelectableItemUnselectedEvt_Args"/></value>
+ event EventHandler<Efl.Ui.IContainerSelectableItemUnselectedEvt_Args> ItemUnselectedEvt;
+}
+/// <summary>Event argument wrapper for event <see cref="Efl.Ui.IContainerSelectable.ItemSelectedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
+public class IContainerSelectableItemSelectedEvt_Args : EventArgs {
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called when selected</value>
+ public Efl.Object arg { get; set; }
+}
+/// <summary>Event argument wrapper for event <see cref="Efl.Ui.IContainerSelectable.ItemUnselectedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
+public class IContainerSelectableItemUnselectedEvt_Args : EventArgs {
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called when no longer selected</value>
+ public Efl.Object arg { get; set; }
+}
+/// <summary>Temporare interface, this is here until collection_view lands</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IContainerSelectableConcrete :
+ Efl.Eo.EoWrapper
+ , IContainerSelectable
+
+{
+ /// <summary>Pointer to the native class description.</summary>
+ public override System.IntPtr NativeClass
+ {
+ get
+ {
+ if (((object)this).GetType() == typeof(IContainerSelectableConcrete))
+ {
+ return GetEflClassStatic();
+ }
+ else
+ {
+ return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
+ }
+ }
+ }
+
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IContainerSelectableConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
+ [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
+ efl_ui_container_selectable_interface_get();
+ /// <summary>Initializes a new instance of the <see cref="IContainerSelectable"/> class.
+ /// Internal usage: 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>
+ private IContainerSelectableConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
+ {
+ }
+
+ /// <summary>Called when selected</summary>
+ /// <value><see cref="Efl.Ui.IContainerSelectableItemSelectedEvt_Args"/></value>
+ public event EventHandler<Efl.Ui.IContainerSelectableItemSelectedEvt_Args> ItemSelectedEvt
+ {
+ 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.IContainerSelectableItemSelectedEvt_Args args = new Efl.Ui.IContainerSelectableItemSelectedEvt_Args();
+ args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Object);
+ try
+ {
+ value?.Invoke(obj, args);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Error(e.ToString());
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+ }
+ };
+
+ string key = "_EFL_UI_EVENT_ITEM_SELECTED";
+ AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_EVENT_ITEM_SELECTED";
+ RemoveNativeEventHandler(efl.Libs.Efl, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event ItemSelectedEvt.</summary>
+ public void OnItemSelectedEvt(Efl.Ui.IContainerSelectableItemSelectedEvt_Args e)
+ {
+ var key = "_EFL_UI_EVENT_ITEM_SELECTED";
+ IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
+ if (desc == IntPtr.Zero)
+ {
+ Eina.Log.Error($"Failed to get native event {key}");
+ return;
+ }
+
+ IntPtr info = e.arg.NativeHandle;
+ Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
+ }
+ /// <summary>Called when no longer selected</summary>
+ /// <value><see cref="Efl.Ui.IContainerSelectableItemUnselectedEvt_Args"/></value>
+ public event EventHandler<Efl.Ui.IContainerSelectableItemUnselectedEvt_Args> ItemUnselectedEvt
+ {
+ 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.IContainerSelectableItemUnselectedEvt_Args args = new Efl.Ui.IContainerSelectableItemUnselectedEvt_Args();
+ args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Object);
+ try
+ {
+ value?.Invoke(obj, args);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Error(e.ToString());
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+ }
+ };
+
+ string key = "_EFL_UI_EVENT_ITEM_UNSELECTED";
+ AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_EVENT_ITEM_UNSELECTED";
+ RemoveNativeEventHandler(efl.Libs.Efl, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event ItemUnselectedEvt.</summary>
+ public void OnItemUnselectedEvt(Efl.Ui.IContainerSelectableItemUnselectedEvt_Args e)
+ {
+ var key = "_EFL_UI_EVENT_ITEM_UNSELECTED";
+ IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
+ if (desc == IntPtr.Zero)
+ {
+ Eina.Log.Error($"Failed to get native event {key}");
+ return;
+ }
+
+ IntPtr info = e.arg.NativeHandle;
+ Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
+ }
+ private static IntPtr GetEflClassStatic()
+ {
+ return Efl.Ui.IContainerSelectableConcrete.efl_ui_container_selectable_interface_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
+ {
+ /// <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.IContainerSelectableConcrete.efl_ui_container_selectable_interface_get();
+ }
+
+ #pragma warning disable CA1707, CS1591, SA1300, SA1600
+
+ #pragma warning restore CA1707, CS1591, SA1300, SA1600
+
+}
+}
+}
+
+}
+
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiIContainerSelectableConcrete_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.Datepicker.NativeMethods]
[Efl.Eo.BindingEntity]
public class Datepicker : Efl.Ui.LayoutBase
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Datepicker(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event ChangedEvt.</summary>
+ /// <summary>Method to raise event ChangedEvt.</summary>
public void OnChangedEvt(EventArgs e)
{
var key = "_EFL_UI_DATEPICKER_EVENT_CHANGED";
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();
}
+ /// <summary>The lower boundary of date.
+ /// <c>year</c>: Year. The year range is from 1900 to 2137.
+ ///
+ /// <c>month</c>: Month. The month range is from 1 to 12.
+ ///
+ /// <c>day</c>: Day. The day range is from 1 to 31 according to <c>month</c>.</summary>
+ /// <value>The year value.</value>
+ public (int, int, int) Min {
+ get {
+ int _out_year = default(int);
+ int _out_month = default(int);
+ int _out_day = default(int);
+ GetMin(out _out_year,out _out_month,out _out_day);
+ return (_out_year,_out_month,_out_day);
+ }
+ set { SetMin( value.Item1, value.Item2, value.Item3); }
+ }
+ /// <summary>The upper boundary of date.
+ /// <c>year</c>: Year. The year range is from 1900 to 2137.
+ ///
+ /// <c>month</c>: Month. The month range is from 1 to 12.
+ ///
+ /// <c>day</c>: Day. The day range is from 1 to 31 according to <c>month</c>.</summary>
+ /// <value>The year value.</value>
+ public (int, int, int) Max {
+ get {
+ int _out_year = default(int);
+ int _out_month = default(int);
+ int _out_day = default(int);
+ GetMax(out _out_year,out _out_month,out _out_day);
+ return (_out_year,_out_month,_out_day);
+ }
+ set { SetMax( value.Item1, value.Item2, value.Item3); }
+ }
+ /// <summary>The current value of date.
+ /// <c>year</c>: Year. The year range is from 1900 to 2137.
+ ///
+ /// <c>month</c>: Month. The month range is from 0 to 11.
+ ///
+ /// <c>day</c>: Day. The day range is from 1 to 31 according to <c>month</c>.</summary>
+ /// <value>The year value.</value>
+ public (int, int, int) Date {
+ get {
+ int _out_year = default(int);
+ int _out_month = default(int);
+ int _out_day = default(int);
+ GetDate(out _out_year,out _out_month,out _out_day);
+ return (_out_year,_out_month,_out_day);
+ }
+ set { SetDate( value.Item1, value.Item2, value.Item3); }
+ }
private static IntPtr GetEflClassStatic()
{
return Efl.Ui.Datepicker.efl_ui_datepicker_class_get();
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiDatepicker_ExtensionMethods {
+
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
-/// <summary>Efl UI Text Alert Popup internal part class</summary>
-[Efl.Ui.TextAlertPopupPart.NativeMethods]
+/// <summary>Default Item Class.
+/// This class defines the standard parts of casual efl items. The details about placement or item layout preferences are left to the extending classes. Every text property related changes are mirrored to the text part. Content changes are mirrored to the content part.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+[Efl.Ui.DefaultItem.NativeMethods]
[Efl.Eo.BindingEntity]
-public class TextAlertPopupPart : Efl.Ui.LayoutPart, Efl.IContent, Efl.IText
+public abstract class DefaultItem : Efl.Ui.Item, Efl.IContent, Efl.IText, Efl.ITextMarkup
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
{
- if (((object)this).GetType() == typeof(TextAlertPopupPart))
+ if (((object)this).GetType() == typeof(DefaultItem))
{
return GetEflClassStatic();
}
}
[System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
- efl_ui_text_alert_popup_part_class_get();
- /// <summary>Initializes a new instance of the <see cref="TextAlertPopupPart"/> class.</summary>
+ efl_ui_default_item_class_get();
+ /// <summary>Initializes a new instance of the <see cref="DefaultItem"/> class.</summary>
/// <param name="parent">Parent instance.</param>
- public TextAlertPopupPart(Efl.Object parent= null
- ) : base(efl_ui_text_alert_popup_part_class_get(), parent)
+ /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
+ public DefaultItem(Efl.Object parent
+ , System.String style = null) : base(efl_ui_default_item_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>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
- protected TextAlertPopupPart(ConstructingHandle ch) : base(ch)
+ protected DefaultItem(ConstructingHandle ch) : base(ch)
{
}
- /// <summary>Initializes a new instance of the <see cref="TextAlertPopupPart"/> class.
+ /// <summary>Initializes a new instance of the <see cref="DefaultItem"/> 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 TextAlertPopupPart(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
+ protected DefaultItem(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
- /// <summary>Initializes a new instance of the <see cref="TextAlertPopupPart"/> class.
+ [Efl.Eo.PrivateNativeClass]
+ private class DefaultItemRealized : DefaultItem
+ {
+ private DefaultItemRealized(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
+ {
+ }
+ }
+ /// <summary>Initializes a new instance of the <see cref="DefaultItem"/> 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 TextAlertPopupPart(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
+ protected DefaultItem(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>Sent after the content is set or unset using the current content object.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContentContentChangedEvt_Args"/></value>
public event EventHandler<Efl.IContentContentChangedEvt_Args> ContentChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentChangedEvt.</summary>
+ /// <summary>Method to raise event ContentChangedEvt.</summary>
public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e)
{
var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
IntPtr info = e.arg.NativeHandle;
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
+ /// <summary>The extra content part for default item.</summary>
+ public Efl.Ui.LayoutPartContent ExtraPart
+ {
+ get
+ {
+ return GetPart("extra") as Efl.Ui.LayoutPartContent;
+ }
+ }
+ /// <summary>The icon content part for default item. icon part is the main content of item.</summary>
+ public Efl.Ui.LayoutPartContent IconPart
+ {
+ get
+ {
+ return GetPart("icon") as Efl.Ui.LayoutPartContent;
+ }
+ }
+ /// <summary>The text part for default item. text part is the caption of the item.</summary>
+ public Efl.Ui.LayoutPartText TextPart
+ {
+ get
+ {
+ return GetPart("text") as Efl.Ui.LayoutPartText;
+ }
+ }
/// <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>
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((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((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.
/// 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>
get { return GetContent(); }
set { SetContent(value); }
}
+ /// <summary>Markup property</summary>
+ /// <value>The markup-text representation set to this text.</value>
+ public System.String Markup {
+ get { return GetMarkup(); }
+ set { SetMarkup(value); }
+ }
private static IntPtr GetEflClassStatic()
{
- return Efl.Ui.TextAlertPopupPart.efl_ui_text_alert_popup_part_class_get();
+ return Efl.Ui.DefaultItem.efl_ui_default_item_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.LayoutPart.NativeMethods
+ public new class NativeMethods : Efl.Ui.Item.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
/// <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_text_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_set_static_delegate) });
}
+ if (efl_text_markup_get_static_delegate == null)
+ {
+ efl_text_markup_get_static_delegate = new efl_text_markup_get_delegate(markup_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetMarkup") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_markup_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_markup_get_static_delegate) });
+ }
+
+ if (efl_text_markup_set_static_delegate == null)
+ {
+ efl_text_markup_set_static_delegate = new efl_text_markup_set_delegate(markup_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetMarkup") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_markup_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_markup_set_static_delegate) });
+ }
+
descs.AddRange(base.GetEoOps(type));
return descs;
}
/// <returns>The native class pointer.</returns>
public override IntPtr GetEflClass()
{
- return Efl.Ui.TextAlertPopupPart.efl_ui_text_alert_popup_part_class_get();
+ return Efl.Ui.DefaultItem.efl_ui_default_item_class_get();
}
#pragma warning disable CA1707, CS1591, SA1300, SA1600
Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
try
{
- _ret_var = ((TextAlertPopupPart)ws.Target).GetContent();
+ _ret_var = ((DefaultItem)ws.Target).GetContent();
}
catch (Exception e)
{
bool _ret_var = default(bool);
try
{
- _ret_var = ((TextAlertPopupPart)ws.Target).SetContent(content);
+ _ret_var = ((DefaultItem)ws.Target).SetContent(content);
}
catch (Exception e)
{
Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
try
{
- _ret_var = ((TextAlertPopupPart)ws.Target).UnsetContent();
+ _ret_var = ((DefaultItem)ws.Target).UnsetContent();
}
catch (Exception e)
{
System.String _ret_var = default(System.String);
try
{
- _ret_var = ((TextAlertPopupPart)ws.Target).GetText();
+ _ret_var = ((DefaultItem)ws.Target).GetText();
}
catch (Exception e)
{
try
{
- ((TextAlertPopupPart)ws.Target).SetText(text);
+ ((DefaultItem)ws.Target).SetText(text);
}
catch (Exception e)
{
private static efl_text_set_delegate efl_text_set_static_delegate;
+ [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
+ private delegate System.String efl_text_markup_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
+ public delegate System.String efl_text_markup_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_text_markup_get_api_delegate> efl_text_markup_get_ptr = new Efl.Eo.FunctionWrapper<efl_text_markup_get_api_delegate>(Module, "efl_text_markup_get");
+
+ private static System.String markup_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_text_markup_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ System.String _ret_var = default(System.String);
+ try
+ {
+ _ret_var = ((DefaultItem)ws.Target).GetMarkup();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_text_markup_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_text_markup_get_delegate efl_text_markup_get_static_delegate;
+
+
+ private delegate void efl_text_markup_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String markup);
+
+
+ public delegate void efl_text_markup_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String markup);
+
+ public static Efl.Eo.FunctionWrapper<efl_text_markup_set_api_delegate> efl_text_markup_set_ptr = new Efl.Eo.FunctionWrapper<efl_text_markup_set_api_delegate>(Module, "efl_text_markup_set");
+
+ private static void markup_set(System.IntPtr obj, System.IntPtr pd, System.String markup)
+ {
+ Eina.Log.Debug("function efl_text_markup_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((DefaultItem)ws.Target).SetMarkup(markup);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_text_markup_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), markup);
+ }
+ }
+
+ private static efl_text_markup_set_delegate efl_text_markup_set_static_delegate;
+
#pragma warning restore CA1707, CS1591, SA1300, SA1600
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiDefaultItem_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Gfx.IEntity> Content<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.DefaultItem, T>magic = null) where T : Efl.Ui.DefaultItem {
+ return new Efl.BindableProperty<Efl.Gfx.IEntity>("content", fac);
+ }
+
+
+ public static Efl.BindableProperty<System.String> Markup<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.DefaultItem, T>magic = null) where T : Efl.Ui.DefaultItem {
+ return new Efl.BindableProperty<System.String>("markup", fac);
+ }
+
+ public static Efl.BindableFactoryPart<Efl.Ui.LayoutPartContent> ExtraPart<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.DefaultItem, T> x=null) where T : Efl.Ui.DefaultItem
+ {
+ return new Efl.BindableFactoryPart<Efl.Ui.LayoutPartContent>("extra" ,fac);
+ }
+
+ public static Efl.BindableFactoryPart<Efl.Ui.LayoutPartContent> IconPart<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.DefaultItem, T> x=null) where T : Efl.Ui.DefaultItem
+ {
+ return new Efl.BindableFactoryPart<Efl.Ui.LayoutPartContent>("icon" ,fac);
+ }
+
+ public static Efl.BindablePart<Efl.Ui.LayoutPartText> TextPart<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.DefaultItem, T> x=null) where T : Efl.Ui.DefaultItem
+ {
+ return new Efl.BindablePart<Efl.Ui.LayoutPartText>("text" ,fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.IDndConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IDnd :
/// <param name="seat">Specified seat for multiple seats case.</param>
void DelDropTarget(Efl.Ui.SelectionFormat format, uint seat);
/// <summary>accept drag data</summary>
+ /// <value><see cref="Efl.Ui.IDndDragAcceptEvt_Args"/></value>
event EventHandler<Efl.Ui.IDndDragAcceptEvt_Args> DragAcceptEvt;
/// <summary>drag is done (mouse up)</summary>
event EventHandler DragDoneEvt;
/// <summary>called when the drag object leaves this object</summary>
event EventHandler DragLeaveEvt;
/// <summary>called when the drag object changes drag position</summary>
+ /// <value><see cref="Efl.Ui.IDndDragPosEvt_Args"/></value>
event EventHandler<Efl.Ui.IDndDragPosEvt_Args> DragPosEvt;
/// <summary>called when the drag object dropped on this object</summary>
+ /// <value><see cref="Efl.Ui.IDndDragDropEvt_Args"/></value>
event EventHandler<Efl.Ui.IDndDragDropEvt_Args> DragDropEvt;
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.IDnd.DragAcceptEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>accept drag data</value>
public bool arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.IDnd.DragPosEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>called when the drag object changes drag position</value>
public Efl.Dnd.DragPos arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.IDnd.DragDropEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>called when the drag object dropped on this object</value>
public Efl.Ui.SelectionData arg { get; set; }
}
-sealed public class IDndConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IDndConcrete :
Efl.Eo.EoWrapper
, IDnd
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IDndConcrete(ConstructingHandle ch) : base(ch)
{
}
/// <summary>accept drag data</summary>
+ /// <value><see cref="Efl.Ui.IDndDragAcceptEvt_Args"/></value>
public event EventHandler<Efl.Ui.IDndDragAcceptEvt_Args> DragAcceptEvt
{
add
}
}
}
- ///<summary>Method to raise event DragAcceptEvt.</summary>
+ /// <summary>Method to raise event DragAcceptEvt.</summary>
public void OnDragAcceptEvt(Efl.Ui.IDndDragAcceptEvt_Args e)
{
var key = "_EFL_UI_DND_EVENT_DRAG_ACCEPT";
}
}
}
- ///<summary>Method to raise event DragDoneEvt.</summary>
+ /// <summary>Method to raise event DragDoneEvt.</summary>
public void OnDragDoneEvt(EventArgs e)
{
var key = "_EFL_UI_DND_EVENT_DRAG_DONE";
}
}
}
- ///<summary>Method to raise event DragEnterEvt.</summary>
+ /// <summary>Method to raise event DragEnterEvt.</summary>
public void OnDragEnterEvt(EventArgs e)
{
var key = "_EFL_UI_DND_EVENT_DRAG_ENTER";
}
}
}
- ///<summary>Method to raise event DragLeaveEvt.</summary>
+ /// <summary>Method to raise event DragLeaveEvt.</summary>
public void OnDragLeaveEvt(EventArgs e)
{
var key = "_EFL_UI_DND_EVENT_DRAG_LEAVE";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
/// <summary>called when the drag object changes drag position</summary>
+ /// <value><see cref="Efl.Ui.IDndDragPosEvt_Args"/></value>
public event EventHandler<Efl.Ui.IDndDragPosEvt_Args> DragPosEvt
{
add
}
}
}
- ///<summary>Method to raise event DragPosEvt.</summary>
+ /// <summary>Method to raise event DragPosEvt.</summary>
public void OnDragPosEvt(Efl.Ui.IDndDragPosEvt_Args e)
{
var key = "_EFL_UI_DND_EVENT_DRAG_POS";
}
}
/// <summary>called when the drag object dropped on this object</summary>
+ /// <value><see cref="Efl.Ui.IDndDragDropEvt_Args"/></value>
public event EventHandler<Efl.Ui.IDndDragDropEvt_Args> DragDropEvt
{
add
}
}
}
- ///<summary>Method to raise event DragDropEvt.</summary>
+ /// <summary>Method to raise event DragDropEvt.</summary>
public void OnDragDropEvt(Efl.Ui.IDndDragDropEvt_Args e)
{
var key = "_EFL_UI_DND_EVENT_DRAG_DROP";
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiIDndConcrete_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.IDndContainerConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IDndContainer :
/// <summary>The time since mouse down happens to drag starts.</summary>
/// <value>The drag delay time</value>
double DragDelayTime {
- get ;
- set ;
+ get;
+ set;
}
}
-sealed public class IDndContainerConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IDndContainerConcrete :
Efl.Eo.EoWrapper
, IDndContainer
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IDndContainerConcrete(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiIDndContainerConcrete_ExtensionMethods {
+ public static Efl.BindableProperty<double> DragDelayTime<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.IDndContainer, T>magic = null) where T : Efl.Ui.IDndContainer {
+ return new Efl.BindableProperty<double>("drag_delay_time", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
public struct DragAccept
{
public bool Accepted;
- ///<summary>Constructor for DragAccept.</summary>
+ /// <summary>Constructor for DragAccept.</summary>
+ /// <param name="Accepted"></param>;
public DragAccept(
bool Accepted = default(bool) )
{
this.Accepted = Accepted;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 DragAccept(IntPtr ptr)
{
var tmp = (DragAccept.NativeStruct)Marshal.PtrToStructure(ptr, typeof(DragAccept.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct DragAccept.</summary>
+ /// <summary>Internal wrapper for struct DragAccept.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
- ///<summary>Internal wrapper for field Accepted</summary>
+ /// <summary>Internal wrapper for field Accepted</summary>
public System.Byte Accepted;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator DragAccept.NativeStruct(DragAccept _external_struct)
{
var _internal_struct = new DragAccept.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator DragAccept(DragAccept.NativeStruct _internal_struct)
{
var _external_struct = new DragAccept();
public struct DragPos
{
/// <summary>Evas Coordinate</summary>
+ /// <value>A 2D location in pixels.</value>
public Eina.Position2D Pos;
/// <summary>The drag action</summary>
+ /// <value>Defines the kind of action associated with the drop data</value>
public Efl.Ui.SelectionAction Action;
/// <summary>The drag format</summary>
+ /// <value>Selection format</value>
public Efl.Ui.SelectionFormat Format;
/// <summary>The item object. It is only available for container object.</summary>
public Efl.Canvas.Object Item;
- ///<summary>Constructor for DragPos.</summary>
+ /// <summary>Constructor for DragPos.</summary>
+ /// <param name="Pos">Evas Coordinate</param>;
+ /// <param name="Action">The drag action</param>;
+ /// <param name="Format">The drag format</param>;
+ /// <param name="Item">The item object. It is only available for container object.</param>;
public DragPos(
Eina.Position2D Pos = default(Eina.Position2D),
Efl.Ui.SelectionAction Action = default(Efl.Ui.SelectionAction),
this.Item = Item;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 DragPos(IntPtr ptr)
{
var tmp = (DragPos.NativeStruct)Marshal.PtrToStructure(ptr, typeof(DragPos.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct DragPos.</summary>
+ /// <summary>Internal wrapper for struct DragPos.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
public Efl.Ui.SelectionAction Action;
public Efl.Ui.SelectionFormat Format;
- ///<summary>Internal wrapper for field Item</summary>
+ /// <summary>Internal wrapper for field Item</summary>
public System.IntPtr Item;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator DragPos.NativeStruct(DragPos _external_struct)
{
var _internal_struct = new DragPos.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator DragPos(DragPos.NativeStruct _internal_struct)
{
var _external_struct = new DragPos();
/// <summary>The item object</summary>
public Efl.Canvas.Object Item;
/// <summary>The selection data</summary>
+ /// <value>Structure holding the info about selected data</value>
public Efl.Ui.SelectionData Data;
/// <summary>Position relative to item (left (-1), middle (0), right (1)</summary>
+ /// <value>A 2D location in pixels.</value>
public Eina.Position2D Pos;
- ///<summary>Constructor for DragItemContainerDrop.</summary>
+ /// <summary>Constructor for DragItemContainerDrop.</summary>
+ /// <param name="Item">The item object</param>;
+ /// <param name="Data">The selection data</param>;
+ /// <param name="Pos">Position relative to item (left (-1), middle (0), right (1)</param>;
public DragItemContainerDrop(
Efl.Canvas.Object Item = default(Efl.Canvas.Object),
Efl.Ui.SelectionData Data = default(Efl.Ui.SelectionData),
this.Pos = Pos;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 DragItemContainerDrop(IntPtr ptr)
{
var tmp = (DragItemContainerDrop.NativeStruct)Marshal.PtrToStructure(ptr, typeof(DragItemContainerDrop.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct DragItemContainerDrop.</summary>
+ /// <summary>Internal wrapper for struct DragItemContainerDrop.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
- ///<summary>Internal wrapper for field Item</summary>
+ /// <summary>Internal wrapper for field Item</summary>
public System.IntPtr Item;
public Efl.Ui.SelectionData.NativeStruct Data;
public Eina.Position2D.NativeStruct Pos;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator DragItemContainerDrop.NativeStruct(DragItemContainerDrop _external_struct)
{
var _internal_struct = new DragItemContainerDrop.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator DragItemContainerDrop(DragItemContainerDrop.NativeStruct _internal_struct)
{
var _external_struct = new DragItemContainerDrop();
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Common interface for draggable objects and parts.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.IDragConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IDrag :
/// <param name="dy">The number of pages vertically.</param>
/// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
bool MoveDragPage(double dx, double dy);
- /// <summary>Determines the draggable directions (read-only).
+ /// <summary>The draggable object relative location.
+ /// Some parts in Edje can be dragged along the X/Y axes, if the part contains a "draggable" section (in EDC). For instance, scroll bars can be draggable objects.
+ ///
+ /// <c>dx</c> and <c>dy</c> are real numbers that range from 0 to 1, representing the relative position to the draggable area on that axis.
+ ///
+ /// This value means, for the vertical axis, that 0.0 will be at the top if the first parameter of <c>y</c> in the draggable part theme is 1 and at the bottom if it is -1.
+ ///
+ /// For the horizontal axis, 0.0 means left if the first parameter of <c>x</c> in the draggable part theme is 1, and right if it is -1.</summary>
+ /// <value>The x relative position, from 0 to 1.</value>
+ (double, double) DragValue {
+ get;
+ set;
+ }
+ /// <summary>The draggable object relative size.
+ /// Values for <c>dw</c> and <c>dh</c> are real numbers that range from 0 to 1, representing the relative size of the draggable area on that axis.
+ ///
+ /// For instance a scroll bar handle size may depend on the size of the scroller's content.</summary>
+ /// <value>The drag relative width, from 0 to 1.</value>
+ (double, double) DragSize {
+ get;
+ set;
+ }
+ /// <summary>Determines the draggable directions (read-only).
/// The draggable directions are defined in the EDC file, inside the "draggable" section, by the attributes <c>x</c> and <c>y</c>. See the EDC reference documentation for more information.</summary>
/// <value>The direction(s) premitted for drag.</value>
Efl.Ui.DragDir DragDir {
- get ;
+ get;
+ }
+ /// <summary>The drag step increment.
+ /// Values for <c>dx</c> and <c>dy</c> are real numbers that range from 0 to 1, representing the relative size of the draggable area on that axis by which the part will be moved.
+ ///
+ /// This differs from <see cref="Efl.Ui.IDrag.GetDragPage"/> in that this is meant to represent a unit increment, like a single line for example.
+ ///
+ /// See also <see cref="Efl.Ui.IDrag.GetDragPage"/>.</summary>
+ /// <value>The x step relative amount, from 0 to 1.</value>
+ (double, double) DragStep {
+ get;
+ set;
+ }
+ /// <summary>The page step increments.
+ /// Values for <c>dx</c> and <c>dy</c> are real numbers that range from 0 to 1, representing the relative size of the draggable area on that axis by which the part will be moved.
+ ///
+ /// This differs from <see cref="Efl.Ui.IDrag.GetDragStep"/> in that this is meant to be a larger step size, basically an entire page as opposed to a single or couple of lines.
+ ///
+ /// See also <see cref="Efl.Ui.IDrag.GetDragStep"/>.</summary>
+ /// <value>The x page step increment</value>
+ (double, double) DragPage {
+ get;
+ set;
}
}
/// <summary>Common interface for draggable objects and parts.</summary>
-sealed public class IDragConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IDragConcrete :
Efl.Eo.EoWrapper
, IDrag
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IDragConcrete(ConstructingHandle ch) : base(ch)
{
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
+ /// <summary>The draggable object relative location.
+ /// Some parts in Edje can be dragged along the X/Y axes, if the part contains a "draggable" section (in EDC). For instance, scroll bars can be draggable objects.
+ ///
+ /// <c>dx</c> and <c>dy</c> are real numbers that range from 0 to 1, representing the relative position to the draggable area on that axis.
+ ///
+ /// This value means, for the vertical axis, that 0.0 will be at the top if the first parameter of <c>y</c> in the draggable part theme is 1 and at the bottom if it is -1.
+ ///
+ /// For the horizontal axis, 0.0 means left if the first parameter of <c>x</c> in the draggable part theme is 1, and right if it is -1.</summary>
+ /// <value>The x relative position, from 0 to 1.</value>
+ public (double, double) DragValue {
+ get {
+ double _out_dx = default(double);
+ double _out_dy = default(double);
+ GetDragValue(out _out_dx,out _out_dy);
+ return (_out_dx,_out_dy);
+ }
+ set { SetDragValue( value.Item1, value.Item2); }
+ }
+ /// <summary>The draggable object relative size.
+ /// Values for <c>dw</c> and <c>dh</c> are real numbers that range from 0 to 1, representing the relative size of the draggable area on that axis.
+ ///
+ /// For instance a scroll bar handle size may depend on the size of the scroller's content.</summary>
+ /// <value>The drag relative width, from 0 to 1.</value>
+ public (double, double) DragSize {
+ get {
+ double _out_dw = default(double);
+ double _out_dh = default(double);
+ GetDragSize(out _out_dw,out _out_dh);
+ return (_out_dw,_out_dh);
+ }
+ set { SetDragSize( value.Item1, value.Item2); }
+ }
/// <summary>Determines the draggable directions (read-only).
/// The draggable directions are defined in the EDC file, inside the "draggable" section, by the attributes <c>x</c> and <c>y</c>. See the EDC reference documentation for more information.</summary>
/// <value>The direction(s) premitted for drag.</value>
public Efl.Ui.DragDir DragDir {
get { return GetDragDir(); }
}
+ /// <summary>The drag step increment.
+ /// Values for <c>dx</c> and <c>dy</c> are real numbers that range from 0 to 1, representing the relative size of the draggable area on that axis by which the part will be moved.
+ ///
+ /// This differs from <see cref="Efl.Ui.IDrag.GetDragPage"/> in that this is meant to represent a unit increment, like a single line for example.
+ ///
+ /// See also <see cref="Efl.Ui.IDrag.GetDragPage"/>.</summary>
+ /// <value>The x step relative amount, from 0 to 1.</value>
+ public (double, double) DragStep {
+ get {
+ double _out_dx = default(double);
+ double _out_dy = default(double);
+ GetDragStep(out _out_dx,out _out_dy);
+ return (_out_dx,_out_dy);
+ }
+ set { SetDragStep( value.Item1, value.Item2); }
+ }
+ /// <summary>The page step increments.
+ /// Values for <c>dx</c> and <c>dy</c> are real numbers that range from 0 to 1, representing the relative size of the draggable area on that axis by which the part will be moved.
+ ///
+ /// This differs from <see cref="Efl.Ui.IDrag.GetDragStep"/> in that this is meant to be a larger step size, basically an entire page as opposed to a single or couple of lines.
+ ///
+ /// See also <see cref="Efl.Ui.IDrag.GetDragStep"/>.</summary>
+ /// <value>The x page step increment</value>
+ public (double, double) DragPage {
+ get {
+ double _out_dx = default(double);
+ double _out_dy = default(double);
+ GetDragPage(out _out_dx,out _out_dy);
+ return (_out_dx,_out_dy);
+ }
+ set { SetDragPage( value.Item1, value.Item2); }
+ }
private static IntPtr GetEflClassStatic()
{
return Efl.Ui.IDragConcrete.efl_ui_drag_interface_get();
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiIDragConcrete_ExtensionMethods {
+
+
+
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Efl UI draggable interface</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.IDraggableConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IDraggable :
/// <param name="set">Turn on or off drop_target. Default is <c>false</c>.</param>
void SetDragTarget(bool set);
/// <summary>Called when drag operation starts</summary>
+ /// <value><see cref="Efl.Ui.IDraggableDragEvt_Args"/></value>
event EventHandler<Efl.Ui.IDraggableDragEvt_Args> DragEvt;
/// <summary>Called when drag started</summary>
event EventHandler DragStartEvt;
/// <summary>Called when drag stopped</summary>
+ /// <value><see cref="Efl.Ui.IDraggableDragStopEvt_Args"/></value>
event EventHandler<Efl.Ui.IDraggableDragStopEvt_Args> DragStopEvt;
/// <summary>Called when drag operation ends</summary>
event EventHandler DragEndEvt;
/// <summary>Called when drag starts into up direction</summary>
+ /// <value><see cref="Efl.Ui.IDraggableDragStartUpEvt_Args"/></value>
event EventHandler<Efl.Ui.IDraggableDragStartUpEvt_Args> DragStartUpEvt;
/// <summary>Called when drag starts into down direction</summary>
+ /// <value><see cref="Efl.Ui.IDraggableDragStartDownEvt_Args"/></value>
event EventHandler<Efl.Ui.IDraggableDragStartDownEvt_Args> DragStartDownEvt;
/// <summary>Called when drag starts into right direction</summary>
+ /// <value><see cref="Efl.Ui.IDraggableDragStartRightEvt_Args"/></value>
event EventHandler<Efl.Ui.IDraggableDragStartRightEvt_Args> DragStartRightEvt;
/// <summary>Called when drag starts into left direction</summary>
+ /// <value><see cref="Efl.Ui.IDraggableDragStartLeftEvt_Args"/></value>
event EventHandler<Efl.Ui.IDraggableDragStartLeftEvt_Args> DragStartLeftEvt;
/// <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>
/// <value>Turn on or off drop_target. Default is <c>false</c>.</value>
bool DragTarget {
- get ;
- set ;
+ get;
+ set;
}
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.IDraggable.DragEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called when drag operation starts</value>
public Efl.Object arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.IDraggable.DragStopEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called when drag stopped</value>
public Efl.Object arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.IDraggable.DragStartUpEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called when drag starts into up direction</value>
public Efl.Object arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.IDraggable.DragStartDownEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called when drag starts into down direction</value>
public Efl.Object arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.IDraggable.DragStartRightEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called when drag starts into right direction</value>
public Efl.Object arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.IDraggable.DragStartLeftEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called when drag starts into left direction</value>
public Efl.Object arg { get; set; }
}
/// <summary>Efl UI draggable interface</summary>
-sealed public class IDraggableConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IDraggableConcrete :
Efl.Eo.EoWrapper
, IDraggable
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IDraggableConcrete(ConstructingHandle ch) : base(ch)
{
}
/// <summary>Called when drag operation starts</summary>
+ /// <value><see cref="Efl.Ui.IDraggableDragEvt_Args"/></value>
public event EventHandler<Efl.Ui.IDraggableDragEvt_Args> DragEvt
{
add
}
}
}
- ///<summary>Method to raise event DragEvt.</summary>
+ /// <summary>Method to raise event DragEvt.</summary>
public void OnDragEvt(Efl.Ui.IDraggableDragEvt_Args e)
{
var key = "_EFL_UI_EVENT_DRAG";
}
}
}
- ///<summary>Method to raise event DragStartEvt.</summary>
+ /// <summary>Method to raise event DragStartEvt.</summary>
public void OnDragStartEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_DRAG_START";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
/// <summary>Called when drag stopped</summary>
+ /// <value><see cref="Efl.Ui.IDraggableDragStopEvt_Args"/></value>
public event EventHandler<Efl.Ui.IDraggableDragStopEvt_Args> DragStopEvt
{
add
}
}
}
- ///<summary>Method to raise event DragStopEvt.</summary>
+ /// <summary>Method to raise event DragStopEvt.</summary>
public void OnDragStopEvt(Efl.Ui.IDraggableDragStopEvt_Args e)
{
var key = "_EFL_UI_EVENT_DRAG_STOP";
}
}
}
- ///<summary>Method to raise event DragEndEvt.</summary>
+ /// <summary>Method to raise event DragEndEvt.</summary>
public void OnDragEndEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_DRAG_END";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
/// <summary>Called when drag starts into up direction</summary>
+ /// <value><see cref="Efl.Ui.IDraggableDragStartUpEvt_Args"/></value>
public event EventHandler<Efl.Ui.IDraggableDragStartUpEvt_Args> DragStartUpEvt
{
add
}
}
}
- ///<summary>Method to raise event DragStartUpEvt.</summary>
+ /// <summary>Method to raise event DragStartUpEvt.</summary>
public void OnDragStartUpEvt(Efl.Ui.IDraggableDragStartUpEvt_Args e)
{
var key = "_EFL_UI_EVENT_DRAG_START_UP";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>Called when drag starts into down direction</summary>
+ /// <value><see cref="Efl.Ui.IDraggableDragStartDownEvt_Args"/></value>
public event EventHandler<Efl.Ui.IDraggableDragStartDownEvt_Args> DragStartDownEvt
{
add
}
}
}
- ///<summary>Method to raise event DragStartDownEvt.</summary>
+ /// <summary>Method to raise event DragStartDownEvt.</summary>
public void OnDragStartDownEvt(Efl.Ui.IDraggableDragStartDownEvt_Args e)
{
var key = "_EFL_UI_EVENT_DRAG_START_DOWN";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>Called when drag starts into right direction</summary>
+ /// <value><see cref="Efl.Ui.IDraggableDragStartRightEvt_Args"/></value>
public event EventHandler<Efl.Ui.IDraggableDragStartRightEvt_Args> DragStartRightEvt
{
add
}
}
}
- ///<summary>Method to raise event DragStartRightEvt.</summary>
+ /// <summary>Method to raise event DragStartRightEvt.</summary>
public void OnDragStartRightEvt(Efl.Ui.IDraggableDragStartRightEvt_Args e)
{
var key = "_EFL_UI_EVENT_DRAG_START_RIGHT";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>Called when drag starts into left direction</summary>
+ /// <value><see cref="Efl.Ui.IDraggableDragStartLeftEvt_Args"/></value>
public event EventHandler<Efl.Ui.IDraggableDragStartLeftEvt_Args> DragStartLeftEvt
{
add
}
}
}
- ///<summary>Method to raise event DragStartLeftEvt.</summary>
+ /// <summary>Method to raise event DragStartLeftEvt.</summary>
public void OnDragStartLeftEvt(Efl.Ui.IDraggableDragStartLeftEvt_Args e)
{
var key = "_EFL_UI_EVENT_DRAG_START_LEFT";
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiIDraggableConcrete_ExtensionMethods {
+ public static Efl.BindableProperty<bool> DragTarget<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.IDraggable, T>magic = null) where T : Efl.Ui.IDraggable {
+ return new Efl.BindableProperty<bool>("drag_target", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Efl UI factory interface</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.IFactoryConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IFactory :
Efl.Ui.IPropertyBind ,
Efl.Eo.IWrapper, IDisposable
{
- /// <summary>Create a UI object from the necessary properties in the specified model.</summary>
-/// <param name="model">Efl model</param>
+ /// <summary>Create a UI object from the necessary properties in the specified model.
+/// Note: This is the function you need to implement for a custom factory, but if you want to use a factory, you should rely on <see cref="Efl.Ui.ViewFactory.CreateWithEvent"/>.</summary>
+/// <param name="models">Efl iterator providing the model to be associated to the new item. It should remain valid until the end of the function call.</param>
/// <param name="parent">Efl canvas</param>
/// <returns>Created UI object</returns>
- Eina.Future Create(Efl.IModel model, Efl.Gfx.IEntity parent);
+ Eina.Future Create(Eina.Iterator<Efl.IModel> models, Efl.Gfx.IEntity parent);
/// <summary>Release a UI object and disconnect from models.</summary>
/// <param name="ui_view">Efl canvas</param>
void Release(Efl.Gfx.IEntity ui_view);
+ /// <summary>This function is called during the creation of an UI object between the Efl.Object.constructor and <see cref="Efl.Object.FinalizeAdd"/> call.
+/// Note: if the <see cref="Efl.Ui.IFactory"/> does keep a cache of object, this won't be called when object are pulled out of the cache.</summary>
+/// <param name="ui_view">The UI object being created.</param>
+void Building(Efl.Gfx.IEntity ui_view);
/// <summary>Async wrapper for <see cref="Create" />.</summary>
- /// <param name="model">Efl model</param>
+ /// <param name="models">Efl iterator providing the model to be associated to the new item. It should remain valid until the end of the function call.</param>
/// <param name="parent">Efl canvas</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>
- System.Threading.Tasks.Task<Eina.Value> CreateAsync(Efl.IModel model,Efl.Gfx.IEntity parent, System.Threading.CancellationToken token = default(System.Threading.CancellationToken));
+ System.Threading.Tasks.Task<Eina.Value> CreateAsync(Eina.Iterator<Efl.IModel> models,Efl.Gfx.IEntity parent, System.Threading.CancellationToken token = default(System.Threading.CancellationToken));
- /// <summary>Event triggered when an item has been successfully created.</summary>
+ /// <summary>Event triggered when an item has been successfully created.</summary>
+ /// <value><see cref="Efl.Ui.IFactoryCreatedEvt_Args"/></value>
event EventHandler<Efl.Ui.IFactoryCreatedEvt_Args> CreatedEvt;
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.IFactory.CreatedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Event triggered when an item has been successfully created.</value>
public Efl.Ui.FactoryItemCreatedEvent arg { get; set; }
}
/// <summary>Efl UI factory interface</summary>
-sealed public class IFactoryConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IFactoryConcrete :
Efl.Eo.EoWrapper
, IFactory
, Efl.Ui.IFactoryBind, Efl.Ui.IPropertyBind
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IFactoryConcrete(ConstructingHandle ch) : base(ch)
{
}
/// <summary>Event triggered when an item has been successfully created.</summary>
+ /// <value><see cref="Efl.Ui.IFactoryCreatedEvt_Args"/></value>
public event EventHandler<Efl.Ui.IFactoryCreatedEvt_Args> CreatedEvt
{
add
}
}
}
- ///<summary>Method to raise event CreatedEvt.</summary>
+ /// <summary>Method to raise event CreatedEvt.</summary>
public void OnCreatedEvt(Efl.Ui.IFactoryCreatedEvt_Args e)
{
var key = "_EFL_UI_FACTORY_EVENT_CREATED";
}
}
/// <summary>Event dispatched when a property on the object has changed due to an user interaction on the object that a model could be interested in.</summary>
+ /// <value><see cref="Efl.Ui.IPropertyBindPropertiesChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.IPropertyBindPropertiesChangedEvt_Args> PropertiesChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event PropertiesChangedEvt.</summary>
+ /// <summary>Method to raise event PropertiesChangedEvt.</summary>
public void OnPropertiesChangedEvt(Efl.Ui.IPropertyBindPropertiesChangedEvt_Args e)
{
var key = "_EFL_UI_PROPERTY_BIND_EVENT_PROPERTIES_CHANGED";
}
}
/// <summary>Event dispatched when a property on the object is bound to a model. This is useful to not overgenerate event.</summary>
+ /// <value><see cref="Efl.Ui.IPropertyBindPropertyBoundEvt_Args"/></value>
public event EventHandler<Efl.Ui.IPropertyBindPropertyBoundEvt_Args> PropertyBoundEvt
{
add
}
}
}
- ///<summary>Method to raise event PropertyBoundEvt.</summary>
+ /// <summary>Method to raise event PropertyBoundEvt.</summary>
public void OnPropertyBoundEvt(Efl.Ui.IPropertyBindPropertyBoundEvt_Args e)
{
var key = "_EFL_UI_PROPERTY_BIND_EVENT_PROPERTY_BOUND";
Eina.MemoryNative.Free(info);
}
}
- /// <summary>Create a UI object from the necessary properties in the specified model.</summary>
- /// <param name="model">Efl model</param>
+ /// <summary>Create a UI object from the necessary properties in the specified model.
+ /// Note: This is the function you need to implement for a custom factory, but if you want to use a factory, you should rely on <see cref="Efl.Ui.ViewFactory.CreateWithEvent"/>.</summary>
+ /// <param name="models">Efl iterator providing the model to be associated to the new item. It should remain valid until the end of the function call.</param>
/// <param name="parent">Efl canvas</param>
/// <returns>Created UI object</returns>
- 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(this.NativeHandle,model, parent);
+ public Eina.Future Create(Eina.Iterator<Efl.IModel> models, Efl.Gfx.IEntity parent) {
+ var _in_models = models.Handle;
+ var _ret_var = Efl.Ui.IFactoryConcrete.NativeMethods.efl_ui_factory_create_ptr.Value.Delegate(this.NativeHandle,_in_models, parent);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
Efl.Ui.IFactoryConcrete.NativeMethods.efl_ui_factory_release_ptr.Value.Delegate(this.NativeHandle,ui_view);
Eina.Error.RaiseIfUnhandledException();
}
+ /// <summary>This function is called during the creation of an UI object between the Efl.Object.constructor and <see cref="Efl.Object.FinalizeAdd"/> call.
+ /// Note: if the <see cref="Efl.Ui.IFactory"/> does keep a cache of object, this won't be called when object are pulled out of the cache.</summary>
+ /// <param name="ui_view">The UI object being created.</param>
+ public void Building(Efl.Gfx.IEntity ui_view) {
+ Efl.Ui.IFactoryConcrete.NativeMethods.efl_ui_factory_building_ptr.Value.Delegate(this.NativeHandle,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>
return _ret_var;
}
/// <summary>Async wrapper for <see cref="Create" />.</summary>
- /// <param name="model">Efl model</param>
+ /// <param name="models">Efl iterator providing the model to be associated to the new item. It should remain valid until the end of the function call.</param>
/// <param name="parent">Efl canvas</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> CreateAsync(Efl.IModel model,Efl.Gfx.IEntity parent, System.Threading.CancellationToken token = default(System.Threading.CancellationToken))
+ public System.Threading.Tasks.Task<Eina.Value> CreateAsync(Eina.Iterator<Efl.IModel> models,Efl.Gfx.IEntity parent, System.Threading.CancellationToken token = default(System.Threading.CancellationToken))
{
- Eina.Future future = Create( model, parent);
+ Eina.Future future = Create( models, parent);
return Efl.Eo.Globals.WrapAsync(future, token);
}
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_factory_release"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_factory_release_static_delegate) });
}
+ if (efl_ui_factory_building_static_delegate == null)
+ {
+ efl_ui_factory_building_static_delegate = new efl_ui_factory_building_delegate(building);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "Building") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_factory_building"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_factory_building_static_delegate) });
+ }
+
if (efl_ui_factory_bind_static_delegate == null)
{
efl_ui_factory_bind_static_delegate = new efl_ui_factory_bind_delegate(factory_bind);
#pragma warning disable CA1707, CS1591, SA1300, SA1600
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Eina.FutureMarshaler))]
- private delegate Eina.Future efl_ui_factory_create_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.IModel model, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity parent);
+ private delegate Eina.Future efl_ui_factory_create_delegate(System.IntPtr obj, System.IntPtr pd, System.IntPtr models, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity parent);
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Eina.FutureMarshaler))]
- public delegate Eina.Future efl_ui_factory_create_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.IModel model, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity parent);
+ public delegate Eina.Future efl_ui_factory_create_api_delegate(System.IntPtr obj, System.IntPtr models, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity parent);
public static Efl.Eo.FunctionWrapper<efl_ui_factory_create_api_delegate> efl_ui_factory_create_ptr = new Efl.Eo.FunctionWrapper<efl_ui_factory_create_api_delegate>(Module, "efl_ui_factory_create");
- private static Eina.Future create(System.IntPtr obj, System.IntPtr pd, Efl.IModel model, Efl.Gfx.IEntity parent)
+ private static Eina.Future create(System.IntPtr obj, System.IntPtr pd, System.IntPtr models, Efl.Gfx.IEntity parent)
{
Eina.Log.Debug("function efl_ui_factory_create was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- Eina.Future _ret_var = default( Eina.Future);
+ var _in_models = new Eina.Iterator<Efl.IModel>(models, false);
+ Eina.Future _ret_var = default( Eina.Future);
try
{
- _ret_var = ((IFactory)ws.Target).Create(model, parent);
+ _ret_var = ((IFactory)ws.Target).Create(_in_models, parent);
}
catch (Exception e)
{
}
else
{
- return efl_ui_factory_create_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), model, parent);
+ return efl_ui_factory_create_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), models, parent);
}
}
private static efl_ui_factory_release_delegate efl_ui_factory_release_static_delegate;
+ private delegate void efl_ui_factory_building_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity ui_view);
+
+
+ public delegate void efl_ui_factory_building_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity ui_view);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_factory_building_api_delegate> efl_ui_factory_building_ptr = new Efl.Eo.FunctionWrapper<efl_ui_factory_building_api_delegate>(Module, "efl_ui_factory_building");
+
+ private static void building(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity ui_view)
+ {
+ Eina.Log.Debug("function efl_ui_factory_building was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((IFactory)ws.Target).Building(ui_view);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_factory_building_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), ui_view);
+ }
+ }
+
+ private static efl_ui_factory_building_delegate efl_ui_factory_building_static_delegate;
+
+
private delegate void efl_ui_factory_bind_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String key, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.IFactory factory);
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiIFactoryConcrete_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
namespace Efl {
namespace Ui {
public Efl.IModel Model;
/// <summary>The item that was just created.</summary>
public Efl.Gfx.IEntity Item;
- ///<summary>Constructor for FactoryItemCreatedEvent.</summary>
+ /// <summary>Constructor for FactoryItemCreatedEvent.</summary>
+ /// <param name="Model">The model already set on the new item.</param>;
+ /// <param name="Item">The item that was just created.</param>;
public FactoryItemCreatedEvent(
Efl.IModel Model = default(Efl.IModel),
Efl.Gfx.IEntity Item = default(Efl.Gfx.IEntity) )
this.Item = Item;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 FactoryItemCreatedEvent(IntPtr ptr)
{
var tmp = (FactoryItemCreatedEvent.NativeStruct)Marshal.PtrToStructure(ptr, typeof(FactoryItemCreatedEvent.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct FactoryItemCreatedEvent.</summary>
+ /// <summary>Internal wrapper for struct FactoryItemCreatedEvent.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
- ///<summary>Internal wrapper for field Model</summary>
+ /// <summary>Internal wrapper for field Model</summary>
public System.IntPtr Model;
- ///<summary>Internal wrapper for field Item</summary>
+ /// <summary>Internal wrapper for field Item</summary>
public System.IntPtr Item;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator FactoryItemCreatedEvent.NativeStruct(FactoryItemCreatedEvent _external_struct)
{
var _internal_struct = new FactoryItemCreatedEvent.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator FactoryItemCreatedEvent(FactoryItemCreatedEvent.NativeStruct _internal_struct)
{
var _external_struct = new FactoryItemCreatedEvent();
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.IFactoryBindConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IFactoryBind :
void FactoryBind(System.String key, Efl.Ui.IFactory factory);
}
/// <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>
-sealed public class IFactoryBindConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IFactoryBindConcrete :
Efl.Eo.EoWrapper
, IFactoryBind
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IFactoryBindConcrete(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiIFactoryBindConcrete_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Efl UI flip class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Flip(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event AnimateBeginEvt.</summary>
+ /// <summary>Method to raise event AnimateBeginEvt.</summary>
public void OnAnimateBeginEvt(EventArgs e)
{
var key = "_EFL_UI_FLIP_EVENT_ANIMATE_BEGIN";
}
}
}
- ///<summary>Method to raise event AnimateDoneEvt.</summary>
+ /// <summary>Method to raise event AnimateDoneEvt.</summary>
public void OnAnimateDoneEvt(EventArgs e)
{
var key = "_EFL_UI_FLIP_EVENT_ANIMATE_DONE";
}
/// <summary>Sent after a new sub-object was added.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContainerContentAddedEvt_Args"/></value>
public event EventHandler<Efl.IContainerContentAddedEvt_Args> ContentAddedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentAddedEvt.</summary>
+ /// <summary>Method to raise event ContentAddedEvt.</summary>
public void OnContentAddedEvt(Efl.IContainerContentAddedEvt_Args e)
{
var key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED";
}
/// <summary>Sent after a sub-object was removed, before unref.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContainerContentRemovedEvt_Args"/></value>
public event EventHandler<Efl.IContainerContentRemovedEvt_Args> ContentRemovedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentRemovedEvt.</summary>
+ /// <summary>Method to raise event ContentRemovedEvt.</summary>
public void OnContentRemovedEvt(Efl.IContainerContentRemovedEvt_Args e)
{
var key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED";
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiFlip_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Ui.FlipInteraction> Interaction<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Flip, T>magic = null) where T : Efl.Ui.Flip {
+ return new Efl.BindableProperty<Efl.Ui.FlipInteraction>("interaction", fac);
+ }
+
+
+}
+#pragma warning restore CS1591
+#endif
namespace Efl {
namespace Ui {
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Efl UI flip internal class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.FlipPart.NativeMethods]
[Efl.Eo.BindingEntity]
public class FlipPart : Efl.Ui.WidgetPart, Efl.IContent
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected FlipPart(ConstructingHandle ch) : base(ch)
{
/// <summary>Sent after the content is set or unset using the current content object.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContentContentChangedEvt_Args"/></value>
public event EventHandler<Efl.IContentContentChangedEvt_Args> ContentChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentChangedEvt.</summary>
+ /// <summary>Method to raise event ContentChangedEvt.</summary>
public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e)
{
var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiFlipPart_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Gfx.IEntity> Content<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.FlipPart, T>magic = null) where T : Efl.Ui.FlipPart {
+ return new Efl.BindableProperty<Efl.Gfx.IEntity>("content", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.Focus.ICompositionConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IComposition :
/// If the element is a Efl.Ui.Widget nothing is done and the widget is simply part of the order.</summary>
/// <value>The order to use</value>
Eina.List<Efl.Gfx.IEntity> CompositionElements {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>Set to true if all children should be registered as logicals</summary>
/// <value><c>true</c> or <c>false</c></value>
bool LogicalMode {
- get ;
- set ;
+ get;
+ set;
}
}
/// <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>
-sealed public class ICompositionConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class ICompositionConcrete :
Efl.Eo.EoWrapper
, IComposition
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private ICompositionConcrete(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_Ui_FocusICompositionConcrete_ExtensionMethods {
+ public static Efl.BindableProperty<Eina.List<Efl.Gfx.IEntity>> CompositionElements<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Focus.IComposition, T>magic = null) where T : Efl.Ui.Focus.IComposition {
+ return new Efl.BindableProperty<Eina.List<Efl.Gfx.IEntity>>("composition_elements", fac);
+ }
+
+ public static Efl.BindableProperty<bool> LogicalMode<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Focus.IComposition, T>magic = null) where T : Efl.Ui.Focus.IComposition {
+ return new Efl.BindableProperty<bool>("logical_mode", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// A focus layer is the uppermost one which received input and handles all focus related events for as long as it exists and is visible. It's NOT possible to escape this layer with focus movement.
///
/// Once the object is hidden or destroyed the focus will go back to the mainwindow, where it was before.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.Focus.ILayerConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface ILayer :
/// <summary>Enable property</summary>
/// <value><c>true</c> to set enable the layer <c>false</c> to disable it</value>
bool Enable {
- get ;
- set ;
+ get;
+ set;
+ }
+ /// <summary>Constructor for setting the behaviour of the layer</summary>
+ /// <value><c>true</c> means layer will set itself once the inheriting widget becomes visible, <c>false</c> means the layer isn't enabled automatically</value>
+ (bool, bool) Behaviour {
+ get;
+ set;
}
}
/// <summary>This defines the inheriting widget as focus layer
/// A focus layer is the uppermost one which received input and handles all focus related events for as long as it exists and is visible. It's NOT possible to escape this layer with focus movement.
///
/// Once the object is hidden or destroyed the focus will go back to the mainwindow, where it was before.</summary>
-sealed public class ILayerConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class ILayerConcrete :
Efl.Eo.EoWrapper
, ILayer
, Efl.Ui.IWidgetFocusManager, Efl.Ui.Focus.IManager
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private ILayerConcrete(ConstructingHandle ch) : base(ch)
{
/// <summary>Redirect object has changed, the old manager is passed as an event argument.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IManagerRedirectChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.Focus.IManagerRedirectChangedEvt_Args> RedirectChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event RedirectChangedEvt.</summary>
+ /// <summary>Method to raise event RedirectChangedEvt.</summary>
public void OnRedirectChangedEvt(Efl.Ui.Focus.IManagerRedirectChangedEvt_Args e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_REDIRECT_CHANGED";
}
}
}
- ///<summary>Method to raise event FlushPreEvt.</summary>
+ /// <summary>Method to raise event FlushPreEvt.</summary>
public void OnFlushPreEvt(EventArgs e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_FLUSH_PRE";
}
}
}
- ///<summary>Method to raise event CoordsDirtyEvt.</summary>
+ /// <summary>Method to raise event CoordsDirtyEvt.</summary>
public void OnCoordsDirtyEvt(EventArgs e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_COORDS_DIRTY";
}
/// <summary>The manager_focus property has changed. The previously focused object is passed as an event argument.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args> ManagerFocusChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event ManagerFocusChangedEvt.</summary>
+ /// <summary>Method to raise event ManagerFocusChangedEvt.</summary>
public void OnManagerFocusChangedEvt(Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_MANAGER_FOCUS_CHANGED";
}
/// <summary>Called when this focus manager is frozen or thawed, even_info being <c>true</c> indicates that it is now frozen, <c>false</c> indicates that it is thawed.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args> DirtyLogicFreezeChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event DirtyLogicFreezeChangedEvt.</summary>
+ /// <summary>Method to raise event DirtyLogicFreezeChangedEvt.</summary>
public void OnDirtyLogicFreezeChangedEvt(Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_DIRTY_LOGIC_FREEZE_CHANGED";
}
/// <summary>This will fetch the data from a registered node.
/// Be aware this function will trigger a computation of all dirty nodes.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="child">The child object to inspect.</param>
/// <returns>The list of relations starting from <c>child</c>.</returns>
public Efl.Ui.Focus.Relations Fetch(Efl.Ui.Focus.IObject child) {
get { return GetEnable(); }
set { SetEnable(value); }
}
+ /// <summary>Constructor for setting the behaviour of the layer</summary>
+ /// <value><c>true</c> means layer will set itself once the inheriting widget becomes visible, <c>false</c> means the layer isn't enabled automatically</value>
+ public (bool, bool) Behaviour {
+ get {
+ bool _out_enable_on_visible = default(bool);
+ bool _out_cycle = default(bool);
+ GetBehaviour(out _out_enable_on_visible,out _out_cycle);
+ return (_out_enable_on_visible,_out_cycle);
+ }
+ set { SetBehaviour( value.Item1, value.Item2); }
+ }
/// <summary>The element which is currently focused by this manager
/// Use this property to retrieve the object currently being focused, or to set the focus to a new one. When <c>focus</c> is a logical child (which cannot receive focus), the next non-logical object is selected instead. If there is no such object, focus does not change.
/// (Since EFL 1.22)</summary>
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_Ui_FocusILayerConcrete_ExtensionMethods {
+ public static Efl.BindableProperty<bool> Enable<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Focus.ILayer, T>magic = null) where T : Efl.Ui.Focus.ILayer {
+ return new Efl.BindableProperty<bool>("enable", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.Ui.Focus.IObject> ManagerFocus<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Focus.ILayer, T>magic = null) where T : Efl.Ui.Focus.ILayer {
+ return new Efl.BindableProperty<Efl.Ui.Focus.IObject>("manager_focus", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Ui.Focus.IManager> Redirect<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Focus.ILayer, T>magic = null) where T : Efl.Ui.Focus.ILayer {
+ return new Efl.BindableProperty<Efl.Ui.Focus.IManager>("redirect", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<Efl.Ui.Focus.IObject> Root<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Focus.ILayer, T>magic = null) where T : Efl.Ui.Focus.ILayer {
+ return new Efl.BindableProperty<Efl.Ui.Focus.IObject>("root", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
Efl.Ui.Focus.IObject RequestSubchild(Efl.Ui.Focus.IObject root);
/// <summary>This will fetch the data from a registered node.
/// Be aware this function will trigger a computation of all dirty nodes.
-/// (Since EFL 1.22)</summary>
+/// (Since EFL 1.22)
+///
+/// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="child">The child object to inspect.</param>
/// <returns>The list of relations starting from <c>child</c>.</returns>
Efl.Ui.Focus.Relations Fetch(Efl.Ui.Focus.IObject child);
void DirtyLogicUnfreeze();
/// <summary>Redirect object has changed, the old manager is passed as an event argument.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IManagerRedirectChangedEvt_Args"/></value>
event EventHandler<Efl.Ui.Focus.IManagerRedirectChangedEvt_Args> RedirectChangedEvt;
/// <summary>After this event, the manager object will calculate relations in the graph. Can be used to add / remove children in a lazy fashion.
/// (Since EFL 1.22)</summary>
event EventHandler CoordsDirtyEvt;
/// <summary>The manager_focus property has changed. The previously focused object is passed as an event argument.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args"/></value>
event EventHandler<Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args> ManagerFocusChangedEvt;
/// <summary>Called when this focus manager is frozen or thawed, even_info being <c>true</c> indicates that it is now frozen, <c>false</c> indicates that it is thawed.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args"/></value>
event EventHandler<Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args> DirtyLogicFreezeChangedEvt;
/// <summary>The element which is currently focused by this manager
/// Use this property to retrieve the object currently being focused, or to set the focus to a new one. When <c>focus</c> is a logical child (which cannot receive focus), the next non-logical object is selected instead. If there is no such object, focus does not change.
/// (Since EFL 1.22)</summary>
/// <value>Currently focused element.</value>
Efl.Ui.Focus.IObject ManagerFocus {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>Add another manager to serve the move requests.
/// If this value is set, all move requests are redirected to this manager object. Set it to <c>null</c> once nothing should be redirected anymore.
/// (Since EFL 1.22)</summary>
/// <value>The redirect manager.</value>
Efl.Ui.Focus.IManager Redirect {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>The list of elements which are at the border of the graph.
/// This means one of the relations right,left or down,up are not set. This call flushes all changes. See <see cref="Efl.Ui.Focus.IManager.Move"/>
/// (Since EFL 1.22)</summary>
/// <value>An iterator over the border objects.</value>
Eina.Iterator<Efl.Ui.Focus.IObject> BorderElements {
- get ;
+ get;
}
/// <summary>Root node for all logical subtrees.
/// This property can only be set once.
/// (Since EFL 1.22)</summary>
/// <value>Will be registered into this manager object.</value>
Efl.Ui.Focus.IObject Root {
- get ;
- set ;
+ get;
+ set;
}
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.Focus.IManager.RedirectChangedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Redirect object has changed, the old manager is passed as an event argument.</value>
public Efl.Ui.Focus.IManager arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.Focus.IManager.ManagerFocusChangedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>The manager_focus property has changed. The previously focused object is passed as an event argument.</value>
public Efl.Ui.Focus.IObject arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.Focus.IManager.DirtyLogicFreezeChangedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called when this focus manager is frozen or thawed, even_info being <c>true</c> indicates that it is now frozen, <c>false</c> indicates that it is thawed.</value>
public bool arg { get; set; }
}
/// <summary>Interface for managing focus objects
/// 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>
-sealed public class IManagerConcrete :
+sealed public class IManagerConcrete :
Efl.Eo.EoWrapper
, IManager
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IManagerConcrete(ConstructingHandle ch) : base(ch)
{
/// <summary>Redirect object has changed, the old manager is passed as an event argument.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IManagerRedirectChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.Focus.IManagerRedirectChangedEvt_Args> RedirectChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event RedirectChangedEvt.</summary>
+ /// <summary>Method to raise event RedirectChangedEvt.</summary>
public void OnRedirectChangedEvt(Efl.Ui.Focus.IManagerRedirectChangedEvt_Args e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_REDIRECT_CHANGED";
}
}
}
- ///<summary>Method to raise event FlushPreEvt.</summary>
+ /// <summary>Method to raise event FlushPreEvt.</summary>
public void OnFlushPreEvt(EventArgs e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_FLUSH_PRE";
}
}
}
- ///<summary>Method to raise event CoordsDirtyEvt.</summary>
+ /// <summary>Method to raise event CoordsDirtyEvt.</summary>
public void OnCoordsDirtyEvt(EventArgs e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_COORDS_DIRTY";
}
/// <summary>The manager_focus property has changed. The previously focused object is passed as an event argument.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args> ManagerFocusChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event ManagerFocusChangedEvt.</summary>
+ /// <summary>Method to raise event ManagerFocusChangedEvt.</summary>
public void OnManagerFocusChangedEvt(Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_MANAGER_FOCUS_CHANGED";
}
/// <summary>Called when this focus manager is frozen or thawed, even_info being <c>true</c> indicates that it is now frozen, <c>false</c> indicates that it is thawed.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args> DirtyLogicFreezeChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event DirtyLogicFreezeChangedEvt.</summary>
+ /// <summary>Method to raise event DirtyLogicFreezeChangedEvt.</summary>
public void OnDirtyLogicFreezeChangedEvt(Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_DIRTY_LOGIC_FREEZE_CHANGED";
}
/// <summary>This will fetch the data from a registered node.
/// Be aware this function will trigger a computation of all dirty nodes.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="child">The child object to inspect.</param>
/// <returns>The list of relations starting from <c>child</c>.</returns>
public Efl.Ui.Focus.Relations Fetch(Efl.Ui.Focus.IObject child) {
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_Ui_FocusIManagerConcrete_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Ui.Focus.IObject> ManagerFocus<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Focus.IManager, T>magic = null) where T : Efl.Ui.Focus.IManager {
+ return new Efl.BindableProperty<Efl.Ui.Focus.IObject>("manager_focus", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Ui.Focus.IManager> Redirect<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Focus.IManager, T>magic = null) where T : Efl.Ui.Focus.IManager {
+ return new Efl.BindableProperty<Efl.Ui.Focus.IManager>("redirect", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<Efl.Ui.Focus.IObject> Root<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Focus.IManager, T>magic = null) where T : Efl.Ui.Focus.IManager {
+ return new Efl.BindableProperty<Efl.Ui.Focus.IObject>("root", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
namespace Efl {
namespace Ui {
public bool Logical;
/// <summary>The position in the history stack</summary>
public int Position_in_history;
- ///<summary>Constructor for Relations.</summary>
+ /// <summary>Constructor for Relations.</summary>
+ /// <param name="Right">List of objects on the right side</param>;
+ /// <param name="Left">List of objects on the left side</param>;
+ /// <param name="Top">List of objects above</param>;
+ /// <param name="Down">List of objects below</param>;
+ /// <param name="Next">Next object</param>;
+ /// <param name="Prev">Previous object</param>;
+ /// <param name="Parent">Parent object</param>;
+ /// <param name="Redirect">Redirect manager</param>;
+ /// <param name="Node">The node where this is the information from</param>;
+ /// <param name="Logical"><c>true</c> if this node is only logical</param>;
+ /// <param name="Position_in_history">The position in the history stack</param>;
public Relations(
Eina.List<Efl.Ui.Focus.IObject> Right = default(Eina.List<Efl.Ui.Focus.IObject>),
Eina.List<Efl.Ui.Focus.IObject> Left = default(Eina.List<Efl.Ui.Focus.IObject>),
this.Position_in_history = Position_in_history;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 Relations(IntPtr ptr)
{
var tmp = (Relations.NativeStruct)Marshal.PtrToStructure(ptr, typeof(Relations.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct Relations.</summary>
+ /// <summary>Internal wrapper for struct Relations.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
public System.IntPtr Top;
public System.IntPtr Down;
- ///<summary>Internal wrapper for field Next</summary>
+ /// <summary>Internal wrapper for field Next</summary>
public System.IntPtr Next;
- ///<summary>Internal wrapper for field Prev</summary>
+ /// <summary>Internal wrapper for field Prev</summary>
public System.IntPtr Prev;
- ///<summary>Internal wrapper for field Parent</summary>
+ /// <summary>Internal wrapper for field Parent</summary>
public System.IntPtr Parent;
- ///<summary>Internal wrapper for field Redirect</summary>
+ /// <summary>Internal wrapper for field Redirect</summary>
public System.IntPtr Redirect;
- ///<summary>Internal wrapper for field Node</summary>
+ /// <summary>Internal wrapper for field Node</summary>
public System.IntPtr Node;
- ///<summary>Internal wrapper for field Logical</summary>
+ /// <summary>Internal wrapper for field Logical</summary>
public System.Byte Logical;
public int Position_in_history;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator Relations.NativeStruct(Relations _external_struct)
{
var _internal_struct = new Relations.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator Relations(Relations.NativeStruct _internal_struct)
{
var _external_struct = new Relations();
public bool Is_regular_end;
/// <summary>The last element of the logical chain in the <see cref="Efl.Ui.Focus.IManager"/></summary>
public Efl.Ui.Focus.IObject Element;
- ///<summary>Constructor for ManagerLogicalEndDetail.</summary>
+ /// <summary>Constructor for ManagerLogicalEndDetail.</summary>
+ /// <param name="Is_regular_end"><c>true</c> if element is registered as regular element in the <see cref="Efl.Ui.Focus.IManager"/> obejct, <c>false</c> otherwise</param>;
+ /// <param name="Element">The last element of the logical chain in the <see cref="Efl.Ui.Focus.IManager"/></param>;
public ManagerLogicalEndDetail(
bool Is_regular_end = default(bool),
Efl.Ui.Focus.IObject Element = default(Efl.Ui.Focus.IObject) )
this.Element = Element;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 ManagerLogicalEndDetail(IntPtr ptr)
{
var tmp = (ManagerLogicalEndDetail.NativeStruct)Marshal.PtrToStructure(ptr, typeof(ManagerLogicalEndDetail.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct ManagerLogicalEndDetail.</summary>
+ /// <summary>Internal wrapper for struct ManagerLogicalEndDetail.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
- ///<summary>Internal wrapper for field Is_regular_end</summary>
+ /// <summary>Internal wrapper for field Is_regular_end</summary>
public System.Byte Is_regular_end;
- ///<summary>Internal wrapper for field Element</summary>
+ /// <summary>Internal wrapper for field Element</summary>
public System.IntPtr Element;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator ManagerLogicalEndDetail.NativeStruct(ManagerLogicalEndDetail _external_struct)
{
var _internal_struct = new ManagerLogicalEndDetail.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator ManagerLogicalEndDetail(ManagerLogicalEndDetail.NativeStruct _internal_struct)
{
var _external_struct = new ManagerLogicalEndDetail();
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected ManagerCalc(ConstructingHandle ch) : base(ch)
{
/// <summary>Redirect object has changed, the old manager is passed as an event argument.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IManagerRedirectChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.Focus.IManagerRedirectChangedEvt_Args> RedirectChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event RedirectChangedEvt.</summary>
+ /// <summary>Method to raise event RedirectChangedEvt.</summary>
public void OnRedirectChangedEvt(Efl.Ui.Focus.IManagerRedirectChangedEvt_Args e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_REDIRECT_CHANGED";
}
}
}
- ///<summary>Method to raise event FlushPreEvt.</summary>
+ /// <summary>Method to raise event FlushPreEvt.</summary>
public void OnFlushPreEvt(EventArgs e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_FLUSH_PRE";
}
}
}
- ///<summary>Method to raise event CoordsDirtyEvt.</summary>
+ /// <summary>Method to raise event CoordsDirtyEvt.</summary>
public void OnCoordsDirtyEvt(EventArgs e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_COORDS_DIRTY";
}
/// <summary>The manager_focus property has changed. The previously focused object is passed as an event argument.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args> ManagerFocusChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event ManagerFocusChangedEvt.</summary>
+ /// <summary>Method to raise event ManagerFocusChangedEvt.</summary>
public void OnManagerFocusChangedEvt(Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_MANAGER_FOCUS_CHANGED";
}
/// <summary>Called when this focus manager is frozen or thawed, even_info being <c>true</c> indicates that it is now frozen, <c>false</c> indicates that it is thawed.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args> DirtyLogicFreezeChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event DirtyLogicFreezeChangedEvt.</summary>
+ /// <summary>Method to raise event DirtyLogicFreezeChangedEvt.</summary>
public void OnDirtyLogicFreezeChangedEvt(Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_DIRTY_LOGIC_FREEZE_CHANGED";
}
/// <summary>This will fetch the data from a registered node.
/// Be aware this function will trigger a computation of all dirty nodes.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <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) {
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_Ui_FocusManagerCalc_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Ui.Focus.IObject> ManagerFocus<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Focus.ManagerCalc, T>magic = null) where T : Efl.Ui.Focus.ManagerCalc {
+ return new Efl.BindableProperty<Efl.Ui.Focus.IObject>("manager_focus", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Ui.Focus.IManager> Redirect<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Focus.ManagerCalc, T>magic = null) where T : Efl.Ui.Focus.ManagerCalc {
+ return new Efl.BindableProperty<Efl.Ui.Focus.IManager>("redirect", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<Efl.Ui.Focus.IObject> Root<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Focus.ManagerCalc, T>magic = null) where T : Efl.Ui.Focus.ManagerCalc {
+ return new Efl.BindableProperty<Efl.Ui.Focus.IObject>("root", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Focus {
/// <summary>This class ensures that the root is at least focusable, if nothing else is focusable</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.Focus.ManagerRootFocus.NativeMethods]
[Efl.Eo.BindingEntity]
public class ManagerRootFocus : Efl.Ui.Focus.ManagerCalc
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected ManagerRootFocus(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_Ui_FocusManagerRootFocus_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Canvas.Object> CanvasObject<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Focus.ManagerRootFocus, T>magic = null) where T : Efl.Ui.Focus.ManagerRootFocus {
+ return new Efl.BindableProperty<Efl.Canvas.Object>("canvas_object", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// Each sub manager also has to be a focus object, the object itself will be registered into the parent manager. It will be used as logical parent while registering the border elements.
///
/// You can filter the border elements by overriding the property <see cref="Efl.Ui.Focus.IManager.GetBorderElements"/>.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.Focus.IManagerSubConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IManagerSub :
/// Each sub manager also has to be a focus object, the object itself will be registered into the parent manager. It will be used as logical parent while registering the border elements.
///
/// You can filter the border elements by overriding the property <see cref="Efl.Ui.Focus.IManager.GetBorderElements"/>.</summary>
-sealed public class IManagerSubConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IManagerSubConcrete :
Efl.Eo.EoWrapper
, IManagerSub
, Efl.Ui.Focus.IManager
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IManagerSubConcrete(ConstructingHandle ch) : base(ch)
{
/// <summary>Redirect object has changed, the old manager is passed as an event argument.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IManagerRedirectChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.Focus.IManagerRedirectChangedEvt_Args> RedirectChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event RedirectChangedEvt.</summary>
+ /// <summary>Method to raise event RedirectChangedEvt.</summary>
public void OnRedirectChangedEvt(Efl.Ui.Focus.IManagerRedirectChangedEvt_Args e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_REDIRECT_CHANGED";
}
}
}
- ///<summary>Method to raise event FlushPreEvt.</summary>
+ /// <summary>Method to raise event FlushPreEvt.</summary>
public void OnFlushPreEvt(EventArgs e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_FLUSH_PRE";
}
}
}
- ///<summary>Method to raise event CoordsDirtyEvt.</summary>
+ /// <summary>Method to raise event CoordsDirtyEvt.</summary>
public void OnCoordsDirtyEvt(EventArgs e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_COORDS_DIRTY";
}
/// <summary>The manager_focus property has changed. The previously focused object is passed as an event argument.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args> ManagerFocusChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event ManagerFocusChangedEvt.</summary>
+ /// <summary>Method to raise event ManagerFocusChangedEvt.</summary>
public void OnManagerFocusChangedEvt(Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_MANAGER_FOCUS_CHANGED";
}
/// <summary>Called when this focus manager is frozen or thawed, even_info being <c>true</c> indicates that it is now frozen, <c>false</c> indicates that it is thawed.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args> DirtyLogicFreezeChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event DirtyLogicFreezeChangedEvt.</summary>
+ /// <summary>Method to raise event DirtyLogicFreezeChangedEvt.</summary>
public void OnDirtyLogicFreezeChangedEvt(Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_DIRTY_LOGIC_FREEZE_CHANGED";
}
/// <summary>This will fetch the data from a registered node.
/// Be aware this function will trigger a computation of all dirty nodes.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="child">The child object to inspect.</param>
/// <returns>The list of relations starting from <c>child</c>.</returns>
public Efl.Ui.Focus.Relations Fetch(Efl.Ui.Focus.IObject child) {
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_Ui_FocusIManagerSubConcrete_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Ui.Focus.IObject> ManagerFocus<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Focus.IManagerSub, T>magic = null) where T : Efl.Ui.Focus.IManagerSub {
+ return new Efl.BindableProperty<Efl.Ui.Focus.IObject>("manager_focus", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Ui.Focus.IManager> Redirect<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Focus.IManagerSub, T>magic = null) where T : Efl.Ui.Focus.IManagerSub {
+ return new Efl.BindableProperty<Efl.Ui.Focus.IManager>("redirect", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<Efl.Ui.Focus.IObject> Root<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Focus.IManagerSub, T>magic = null) where T : Efl.Ui.Focus.IManagerSub {
+ return new Efl.BindableProperty<Efl.Ui.Focus.IObject>("root", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <summary>A interface to indicate the end of a focus chain.
/// 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>
-sealed public class IManagerWindowRootConcrete :
+sealed public class IManagerWindowRootConcrete :
Efl.Eo.EoWrapper
, IManagerWindowRoot
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IManagerWindowRootConcrete(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_Ui_FocusIManagerWindowRootConcrete_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
bool UpdateOnFocus();
/// <summary>Emitted if the focus state has changed.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IObjectFocusChangedEvt_Args"/></value>
event EventHandler<Efl.Ui.Focus.IObjectFocusChangedEvt_Args> FocusChangedEvt;
/// <summary>Emitted when a new manager is the parent for this object.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IObjectFocusManagerChangedEvt_Args"/></value>
event EventHandler<Efl.Ui.Focus.IObjectFocusManagerChangedEvt_Args> FocusManagerChangedEvt;
/// <summary>Emitted when a new logical parent should be used.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IObjectFocusParentChangedEvt_Args"/></value>
event EventHandler<Efl.Ui.Focus.IObjectFocusParentChangedEvt_Args> FocusParentChangedEvt;
/// <summary>Emitted if child_focus has changed.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IObjectChildFocusChangedEvt_Args"/></value>
event EventHandler<Efl.Ui.Focus.IObjectChildFocusChangedEvt_Args> ChildFocusChangedEvt;
/// <summary>Emitted if focus geometry of this object has changed.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IObjectFocusGeometryChangedEvt_Args"/></value>
event EventHandler<Efl.Ui.Focus.IObjectFocusGeometryChangedEvt_Args> FocusGeometryChangedEvt;
/// <summary>The geometry (that is, the bounding rectangle) used to calculate the relationship with other objects.
/// (Since EFL 1.22)</summary>
/// <value>The geometry to use.</value>
Eina.Rect FocusGeometry {
- get ;
+ get;
}
/// <summary>Returns whether the widget is currently focused or not.
/// (Since EFL 1.22)</summary>
/// <value>The focused state of the object.</value>
bool Focus {
- get ;
- set ;
+ get;
+ set;
}
/// <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>
/// <value>The manager object</value>
Efl.Ui.Focus.IManager FocusManager {
- get ;
+ get;
}
/// <summary>Describes which logical parent is used by this object.
/// (Since EFL 1.22)</summary>
/// <value>The focus parent.</value>
Efl.Ui.Focus.IObject FocusParent {
- get ;
+ get;
}
/// <summary>Indicates if a child of this object has focus set to true.
/// (Since EFL 1.22)</summary>
/// <value><c>true</c> if a child has focus.</value>
bool ChildFocus {
- get ;
- set ;
+ get;
+ set;
}
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.Focus.IObject.FocusChangedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Emitted if the focus state has changed.</value>
public bool arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.Focus.IObject.FocusManagerChangedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Emitted when a new manager is the parent for this object.</value>
public Efl.Ui.Focus.IManager arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.Focus.IObject.FocusParentChangedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Emitted when a new logical parent should be used.</value>
public Efl.Ui.Focus.IObject arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.Focus.IObject.ChildFocusChangedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Emitted if child_focus has changed.</value>
public bool arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.Focus.IObject.FocusGeometryChangedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Emitted if focus geometry of this object has changed.</value>
public Eina.Rect arg { get; set; }
}
/// <summary>Functions of focusable objects.
/// (Since EFL 1.22)</summary>
-sealed public class IObjectConcrete :
+sealed public class IObjectConcrete :
Efl.Eo.EoWrapper
, IObject
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IObjectConcrete(ConstructingHandle ch) : base(ch)
{
/// <summary>Emitted if the focus state has changed.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IObjectFocusChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.Focus.IObjectFocusChangedEvt_Args> FocusChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event FocusChangedEvt.</summary>
+ /// <summary>Method to raise event FocusChangedEvt.</summary>
public void OnFocusChangedEvt(Efl.Ui.Focus.IObjectFocusChangedEvt_Args e)
{
var key = "_EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_CHANGED";
}
/// <summary>Emitted when a new manager is the parent for this object.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IObjectFocusManagerChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.Focus.IObjectFocusManagerChangedEvt_Args> FocusManagerChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event FocusManagerChangedEvt.</summary>
+ /// <summary>Method to raise event FocusManagerChangedEvt.</summary>
public void OnFocusManagerChangedEvt(Efl.Ui.Focus.IObjectFocusManagerChangedEvt_Args e)
{
var key = "_EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_MANAGER_CHANGED";
}
/// <summary>Emitted when a new logical parent should be used.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IObjectFocusParentChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.Focus.IObjectFocusParentChangedEvt_Args> FocusParentChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event FocusParentChangedEvt.</summary>
+ /// <summary>Method to raise event FocusParentChangedEvt.</summary>
public void OnFocusParentChangedEvt(Efl.Ui.Focus.IObjectFocusParentChangedEvt_Args e)
{
var key = "_EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_PARENT_CHANGED";
}
/// <summary>Emitted if child_focus has changed.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IObjectChildFocusChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.Focus.IObjectChildFocusChangedEvt_Args> ChildFocusChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event ChildFocusChangedEvt.</summary>
+ /// <summary>Method to raise event ChildFocusChangedEvt.</summary>
public void OnChildFocusChangedEvt(Efl.Ui.Focus.IObjectChildFocusChangedEvt_Args e)
{
var key = "_EFL_UI_FOCUS_OBJECT_EVENT_CHILD_FOCUS_CHANGED";
}
/// <summary>Emitted if focus geometry of this object has changed.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IObjectFocusGeometryChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.Focus.IObjectFocusGeometryChangedEvt_Args> FocusGeometryChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event FocusGeometryChangedEvt.</summary>
+ /// <summary>Method to raise event FocusGeometryChangedEvt.</summary>
public void OnFocusGeometryChangedEvt(Efl.Ui.Focus.IObjectFocusGeometryChangedEvt_Args e)
{
var key = "_EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_GEOMETRY_CHANGED";
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_Ui_FocusIObjectConcrete_ExtensionMethods {
+
+ public static Efl.BindableProperty<bool> Focus<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Focus.IObject, T>magic = null) where T : Efl.Ui.Focus.IObject {
+ return new Efl.BindableProperty<bool>("focus", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<bool> ChildFocus<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Focus.IObject, T>magic = null) where T : Efl.Ui.Focus.IObject {
+ return new Efl.BindableProperty<bool>("child_focus", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Focus {
/// <summary>EFL UI Focus Util class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.Focus.Util.NativeMethods]
[Efl.Eo.BindingEntity]
public class Util : Efl.Object
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Util(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_Ui_FocusUtil_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// 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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.IFormatConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IFormat :
/// <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 ;
+ get;
+ set;
}
/// <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 ;
+ get;
+ set;
+ }
+ /// <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>
+ /// <value>Formatting string containing regular characters and format specifiers.</value>
+ (System.String, Efl.Ui.FormatStringType) FormatString {
+ get;
+ set;
}
}
/// <summary>Helper mixin that simplifies converting numerical values to text.
/// 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 :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IFormatConcrete :
Efl.Eo.EoWrapper
, IFormat
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IFormatConcrete(ConstructingHandle ch) : base(ch)
{
get { return GetFormatValues(); }
set { SetFormatValues(value); }
}
+ /// <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>
+ /// <value>Formatting string containing regular characters and format specifiers.</value>
+ public (System.String, Efl.Ui.FormatStringType) FormatString {
+ get {
+ System.String _out_kw_string = default(System.String);
+ Efl.Ui.FormatStringType _out_type = default(Efl.Ui.FormatStringType);
+ GetFormatString(out _out_kw_string,out _out_type);
+ return (_out_kw_string,_out_type);
+ }
+ set { SetFormatString( value.Item1, value.Item2); }
+ }
private static IntPtr GetEflClassStatic()
{
return Efl.Ui.IFormatConcrete.efl_ui_format_mixin_get();
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiIFormatConcrete_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Ui.FormatFunc> FormatFunc<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.IFormat, T>magic = null) where T : Efl.Ui.IFormat {
+ return new Efl.BindableProperty<Efl.Ui.FormatFunc>("format_func", fac);
+ }
+
+ public static Efl.BindableProperty<Eina.Accessor<Efl.Ui.FormatValue>> FormatValues<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.IFormat, T>magic = null) where T : Efl.Ui.IFormat {
+ return new Efl.BindableProperty<Eina.Accessor<Efl.Ui.FormatValue>>("format_values", fac);
+ }
+
+
+}
+#pragma warning restore CS1591
+#endif
namespace Efl {
namespace Ui {
public int Value;
/// <summary>Text string to replace it.</summary>
public System.String Text;
- ///<summary>Constructor for FormatValue.</summary>
+ /// <summary>Constructor for FormatValue.</summary>
+ /// <param name="Value">Input value.</param>;
+ /// <param name="Text">Text string to replace it.</param>;
public FormatValue(
int Value = default(int),
System.String Text = default(System.String) )
this.Text = Text;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct FormatValue.</summary>
+ /// <summary>Internal wrapper for struct FormatValue.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
public int Value;
- ///<summary>Internal wrapper for field Text</summary>
+ /// <summary>Internal wrapper for field Text</summary>
public System.IntPtr Text;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator FormatValue.NativeStruct(FormatValue _external_struct)
{
var _internal_struct = new FormatValue.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator FormatValue(FormatValue.NativeStruct _internal_struct)
{
var _external_struct = new FormatValue();
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.Frame.NativeMethods]
[Efl.Eo.BindingEntity]
-public class Frame : Efl.Ui.LayoutBase, Efl.IContent, Efl.IText, Efl.ITextMarkup, Efl.Ui.IClickable
+public class Frame : Efl.Ui.LayoutBase, Efl.IContent, Efl.IText, Efl.ITextMarkup, Efl.Input.IClickable
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Frame(ConstructingHandle ch) : base(ch)
{
/// <summary>Sent after the content is set or unset using the current content object.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContentContentChangedEvt_Args"/></value>
public event EventHandler<Efl.IContentContentChangedEvt_Args> ContentChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentChangedEvt.</summary>
+ /// <summary>Method to raise event ContentChangedEvt.</summary>
public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e)
{
var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>Called when object is in sequence pressed and unpressed, by the primary button</summary>
- public event EventHandler<Efl.Ui.IClickableClickedEvt_Args> ClickedEvt
+ /// <value><see cref="Efl.Input.IClickableClickedEvt_Args"/></value>
+ public event EventHandler<Efl.Input.IClickableClickedEvt_Args> ClickedEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- Efl.Ui.IClickableClickedEvt_Args args = new Efl.Ui.IClickableClickedEvt_Args();
+ Efl.Input.IClickableClickedEvt_Args args = new Efl.Input.IClickableClickedEvt_Args();
args.arg = evt.Info;
try
{
}
};
- string key = "_EFL_UI_EVENT_CLICKED";
+ string key = "_EFL_INPUT_EVENT_CLICKED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_CLICKED";
+ string key = "_EFL_INPUT_EVENT_CLICKED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event ClickedEvt.</summary>
- public void OnClickedEvt(Efl.Ui.IClickableClickedEvt_Args e)
+ /// <summary>Method to raise event ClickedEvt.</summary>
+ public void OnClickedEvt(Efl.Input.IClickableClickedEvt_Args e)
{
- var key = "_EFL_UI_EVENT_CLICKED";
+ var key = "_EFL_INPUT_EVENT_CLICKED";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
}
}
/// <summary>Called when object is in sequence pressed and unpressed by any button. The button that triggered the event can be found in the event information.</summary>
- public event EventHandler<Efl.Ui.IClickableClickedAnyEvt_Args> ClickedAnyEvt
+ /// <value><see cref="Efl.Input.IClickableClickedAnyEvt_Args"/></value>
+ public event EventHandler<Efl.Input.IClickableClickedAnyEvt_Args> ClickedAnyEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- Efl.Ui.IClickableClickedAnyEvt_Args args = new Efl.Ui.IClickableClickedAnyEvt_Args();
+ Efl.Input.IClickableClickedAnyEvt_Args args = new Efl.Input.IClickableClickedAnyEvt_Args();
args.arg = evt.Info;
try
{
}
};
- string key = "_EFL_UI_EVENT_CLICKED_ANY";
+ string key = "_EFL_INPUT_EVENT_CLICKED_ANY";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_CLICKED_ANY";
+ string key = "_EFL_INPUT_EVENT_CLICKED_ANY";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event ClickedAnyEvt.</summary>
- public void OnClickedAnyEvt(Efl.Ui.IClickableClickedAnyEvt_Args e)
+ /// <summary>Method to raise event ClickedAnyEvt.</summary>
+ public void OnClickedAnyEvt(Efl.Input.IClickableClickedAnyEvt_Args e)
{
- var key = "_EFL_UI_EVENT_CLICKED_ANY";
+ var key = "_EFL_INPUT_EVENT_CLICKED_ANY";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
}
}
/// <summary>Called when the object is pressed, event_info is the button that got pressed</summary>
- public event EventHandler<Efl.Ui.IClickablePressedEvt_Args> PressedEvt
+ /// <value><see cref="Efl.Input.IClickablePressedEvt_Args"/></value>
+ public event EventHandler<Efl.Input.IClickablePressedEvt_Args> PressedEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- Efl.Ui.IClickablePressedEvt_Args args = new Efl.Ui.IClickablePressedEvt_Args();
+ Efl.Input.IClickablePressedEvt_Args args = new Efl.Input.IClickablePressedEvt_Args();
args.arg = Marshal.ReadInt32(evt.Info);
try
{
}
};
- string key = "_EFL_UI_EVENT_PRESSED";
+ string key = "_EFL_INPUT_EVENT_PRESSED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_PRESSED";
+ string key = "_EFL_INPUT_EVENT_PRESSED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event PressedEvt.</summary>
- public void OnPressedEvt(Efl.Ui.IClickablePressedEvt_Args e)
+ /// <summary>Method to raise event PressedEvt.</summary>
+ public void OnPressedEvt(Efl.Input.IClickablePressedEvt_Args e)
{
- var key = "_EFL_UI_EVENT_PRESSED";
+ var key = "_EFL_INPUT_EVENT_PRESSED";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
}
}
/// <summary>Called when the object is no longer pressed, event_info is the button that got pressed</summary>
- public event EventHandler<Efl.Ui.IClickableUnpressedEvt_Args> UnpressedEvt
+ /// <value><see cref="Efl.Input.IClickableUnpressedEvt_Args"/></value>
+ public event EventHandler<Efl.Input.IClickableUnpressedEvt_Args> UnpressedEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- Efl.Ui.IClickableUnpressedEvt_Args args = new Efl.Ui.IClickableUnpressedEvt_Args();
+ Efl.Input.IClickableUnpressedEvt_Args args = new Efl.Input.IClickableUnpressedEvt_Args();
args.arg = Marshal.ReadInt32(evt.Info);
try
{
}
};
- string key = "_EFL_UI_EVENT_UNPRESSED";
+ string key = "_EFL_INPUT_EVENT_UNPRESSED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_UNPRESSED";
+ string key = "_EFL_INPUT_EVENT_UNPRESSED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event UnpressedEvt.</summary>
- public void OnUnpressedEvt(Efl.Ui.IClickableUnpressedEvt_Args e)
+ /// <summary>Method to raise event UnpressedEvt.</summary>
+ public void OnUnpressedEvt(Efl.Input.IClickableUnpressedEvt_Args e)
{
- var key = "_EFL_UI_EVENT_UNPRESSED";
+ var key = "_EFL_INPUT_EVENT_UNPRESSED";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
}
}
/// <summary>Called when the object receives a long press, event_info is the button that got pressed</summary>
- public event EventHandler<Efl.Ui.IClickableLongpressedEvt_Args> LongpressedEvt
+ /// <value><see cref="Efl.Input.IClickableLongpressedEvt_Args"/></value>
+ public event EventHandler<Efl.Input.IClickableLongpressedEvt_Args> LongpressedEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- Efl.Ui.IClickableLongpressedEvt_Args args = new Efl.Ui.IClickableLongpressedEvt_Args();
+ Efl.Input.IClickableLongpressedEvt_Args args = new Efl.Input.IClickableLongpressedEvt_Args();
args.arg = Marshal.ReadInt32(evt.Info);
try
{
}
};
- string key = "_EFL_UI_EVENT_LONGPRESSED";
+ string key = "_EFL_INPUT_EVENT_LONGPRESSED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_LONGPRESSED";
+ string key = "_EFL_INPUT_EVENT_LONGPRESSED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event LongpressedEvt.</summary>
- public void OnLongpressedEvt(Efl.Ui.IClickableLongpressedEvt_Args e)
+ /// <summary>Method to raise event LongpressedEvt.</summary>
+ public void OnLongpressedEvt(Efl.Input.IClickableLongpressedEvt_Args e)
{
- var key = "_EFL_UI_EVENT_LONGPRESSED";
+ var key = "_EFL_INPUT_EVENT_LONGPRESSED";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
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>This returns true if the given object is currently in event emission</summary>
+ virtual public bool GetInteraction() {
+ var _ret_var = Efl.Input.IClickableConcrete.NativeMethods.efl_input_clickable_interaction_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
/// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),button);
+ Efl.Input.IClickableConcrete.NativeMethods.efl_input_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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),button);
+ Efl.Input.IClickableConcrete.NativeMethods.efl_input_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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),button);
+ Efl.Input.IClickableConcrete.NativeMethods.efl_input_clickable_button_state_reset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),button);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>This aborts ongoing longpress event.
+ /// That is, this will stop the timer for longpress.</summary>
+ virtual public void LongpressAbort(uint button) {
+ Efl.Input.IClickableConcrete.NativeMethods.efl_input_clickable_longpress_abort_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>
get { return GetMarkup(); }
set { SetMarkup(value); }
}
+ /// <summary>This returns true if the given object is currently in event emission</summary>
+ public bool Interaction {
+ get { return GetInteraction(); }
+ }
private static IntPtr GetEflClassStatic()
{
return Efl.Ui.Frame.efl_ui_frame_class_get();
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_markup_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_markup_set_static_delegate) });
}
- if (efl_ui_clickable_press_static_delegate == null)
+ if (efl_input_clickable_interaction_get_static_delegate == null)
{
- efl_ui_clickable_press_static_delegate = new efl_ui_clickable_press_delegate(press);
+ efl_input_clickable_interaction_get_static_delegate = new efl_input_clickable_interaction_get_delegate(interaction_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetInteraction") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_clickable_interaction_get"), func = Marshal.GetFunctionPointerForDelegate(efl_input_clickable_interaction_get_static_delegate) });
+ }
+
+ if (efl_input_clickable_press_static_delegate == null)
+ {
+ efl_input_clickable_press_static_delegate = new efl_input_clickable_press_delegate(press);
}
if (methods.FirstOrDefault(m => m.Name == "Press") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_clickable_press"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_clickable_press_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_clickable_press"), func = Marshal.GetFunctionPointerForDelegate(efl_input_clickable_press_static_delegate) });
}
- if (efl_ui_clickable_unpress_static_delegate == null)
+ if (efl_input_clickable_unpress_static_delegate == null)
{
- efl_ui_clickable_unpress_static_delegate = new efl_ui_clickable_unpress_delegate(unpress);
+ efl_input_clickable_unpress_static_delegate = new efl_input_clickable_unpress_delegate(unpress);
}
if (methods.FirstOrDefault(m => m.Name == "Unpress") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_clickable_unpress"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_clickable_unpress_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_clickable_unpress"), func = Marshal.GetFunctionPointerForDelegate(efl_input_clickable_unpress_static_delegate) });
}
- if (efl_ui_clickable_button_state_reset_static_delegate == null)
+ if (efl_input_clickable_button_state_reset_static_delegate == null)
{
- efl_ui_clickable_button_state_reset_static_delegate = new efl_ui_clickable_button_state_reset_delegate(button_state_reset);
+ efl_input_clickable_button_state_reset_static_delegate = new efl_input_clickable_button_state_reset_delegate(button_state_reset);
}
if (methods.FirstOrDefault(m => m.Name == "ResetButtonState") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_clickable_button_state_reset"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_clickable_button_state_reset_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_clickable_button_state_reset"), func = Marshal.GetFunctionPointerForDelegate(efl_input_clickable_button_state_reset_static_delegate) });
+ }
+
+ if (efl_input_clickable_longpress_abort_static_delegate == null)
+ {
+ efl_input_clickable_longpress_abort_static_delegate = new efl_input_clickable_longpress_abort_delegate(longpress_abort);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "LongpressAbort") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_clickable_longpress_abort"), func = Marshal.GetFunctionPointerForDelegate(efl_input_clickable_longpress_abort_static_delegate) });
}
descs.AddRange(base.GetEoOps(type));
private static efl_text_markup_set_delegate efl_text_markup_set_static_delegate;
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_input_clickable_interaction_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_input_clickable_interaction_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_input_clickable_interaction_get_api_delegate> efl_input_clickable_interaction_get_ptr = new Efl.Eo.FunctionWrapper<efl_input_clickable_interaction_get_api_delegate>(Module, "efl_input_clickable_interaction_get");
+
+ private static bool interaction_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_input_clickable_interaction_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((Frame)ws.Target).GetInteraction();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_input_clickable_interaction_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_input_clickable_interaction_get_delegate efl_input_clickable_interaction_get_static_delegate;
+
- private delegate void efl_ui_clickable_press_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
+ private delegate void efl_input_clickable_press_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
- public delegate void efl_ui_clickable_press_api_delegate(System.IntPtr obj, uint button);
+ public delegate void efl_input_clickable_press_api_delegate(System.IntPtr obj, uint button);
- public static Efl.Eo.FunctionWrapper<efl_ui_clickable_press_api_delegate> efl_ui_clickable_press_ptr = new Efl.Eo.FunctionWrapper<efl_ui_clickable_press_api_delegate>(Module, "efl_ui_clickable_press");
+ public static Efl.Eo.FunctionWrapper<efl_input_clickable_press_api_delegate> efl_input_clickable_press_ptr = new Efl.Eo.FunctionWrapper<efl_input_clickable_press_api_delegate>(Module, "efl_input_clickable_press");
private static void press(System.IntPtr obj, System.IntPtr pd, uint button)
{
- Eina.Log.Debug("function efl_ui_clickable_press was called");
+ Eina.Log.Debug("function efl_input_clickable_press was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
}
else
{
- efl_ui_clickable_press_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
+ efl_input_clickable_press_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
}
}
- private static efl_ui_clickable_press_delegate efl_ui_clickable_press_static_delegate;
+ private static efl_input_clickable_press_delegate efl_input_clickable_press_static_delegate;
- private delegate void efl_ui_clickable_unpress_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
+ private delegate void efl_input_clickable_unpress_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
- public delegate void efl_ui_clickable_unpress_api_delegate(System.IntPtr obj, uint button);
+ public delegate void efl_input_clickable_unpress_api_delegate(System.IntPtr obj, uint button);
- public static Efl.Eo.FunctionWrapper<efl_ui_clickable_unpress_api_delegate> efl_ui_clickable_unpress_ptr = new Efl.Eo.FunctionWrapper<efl_ui_clickable_unpress_api_delegate>(Module, "efl_ui_clickable_unpress");
+ public static Efl.Eo.FunctionWrapper<efl_input_clickable_unpress_api_delegate> efl_input_clickable_unpress_ptr = new Efl.Eo.FunctionWrapper<efl_input_clickable_unpress_api_delegate>(Module, "efl_input_clickable_unpress");
private static void unpress(System.IntPtr obj, System.IntPtr pd, uint button)
{
- Eina.Log.Debug("function efl_ui_clickable_unpress was called");
+ Eina.Log.Debug("function efl_input_clickable_unpress was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
}
else
{
- efl_ui_clickable_unpress_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
+ efl_input_clickable_unpress_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
}
}
- private static efl_ui_clickable_unpress_delegate efl_ui_clickable_unpress_static_delegate;
+ private static efl_input_clickable_unpress_delegate efl_input_clickable_unpress_static_delegate;
- private delegate void efl_ui_clickable_button_state_reset_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
+ private delegate void efl_input_clickable_button_state_reset_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
- public delegate void efl_ui_clickable_button_state_reset_api_delegate(System.IntPtr obj, uint button);
+ public delegate void efl_input_clickable_button_state_reset_api_delegate(System.IntPtr obj, uint button);
- public static Efl.Eo.FunctionWrapper<efl_ui_clickable_button_state_reset_api_delegate> efl_ui_clickable_button_state_reset_ptr = new Efl.Eo.FunctionWrapper<efl_ui_clickable_button_state_reset_api_delegate>(Module, "efl_ui_clickable_button_state_reset");
+ public static Efl.Eo.FunctionWrapper<efl_input_clickable_button_state_reset_api_delegate> efl_input_clickable_button_state_reset_ptr = new Efl.Eo.FunctionWrapper<efl_input_clickable_button_state_reset_api_delegate>(Module, "efl_input_clickable_button_state_reset");
private static void button_state_reset(System.IntPtr obj, System.IntPtr pd, uint button)
{
- Eina.Log.Debug("function efl_ui_clickable_button_state_reset was called");
+ Eina.Log.Debug("function efl_input_clickable_button_state_reset was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
}
else
{
- efl_ui_clickable_button_state_reset_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
+ efl_input_clickable_button_state_reset_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
}
}
- private static efl_ui_clickable_button_state_reset_delegate efl_ui_clickable_button_state_reset_static_delegate;
+ private static efl_input_clickable_button_state_reset_delegate efl_input_clickable_button_state_reset_static_delegate;
+
+
+ private delegate void efl_input_clickable_longpress_abort_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
+
+
+ public delegate void efl_input_clickable_longpress_abort_api_delegate(System.IntPtr obj, uint button);
+
+ public static Efl.Eo.FunctionWrapper<efl_input_clickable_longpress_abort_api_delegate> efl_input_clickable_longpress_abort_ptr = new Efl.Eo.FunctionWrapper<efl_input_clickable_longpress_abort_api_delegate>(Module, "efl_input_clickable_longpress_abort");
+
+ private static void longpress_abort(System.IntPtr obj, System.IntPtr pd, uint button)
+ {
+ Eina.Log.Debug("function efl_input_clickable_longpress_abort was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Frame)ws.Target).LongpressAbort(button);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_input_clickable_longpress_abort_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
+ }
+ }
+
+ private static efl_input_clickable_longpress_abort_delegate efl_input_clickable_longpress_abort_static_delegate;
#pragma warning restore CA1707, CS1591, SA1300, SA1600
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiFrame_ExtensionMethods {
+ public static Efl.BindableProperty<bool> Collapse<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Frame, T>magic = null) where T : Efl.Ui.Frame {
+ return new Efl.BindableProperty<bool>("collapse", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Autocollapse<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Frame, T>magic = null) where T : Efl.Ui.Frame {
+ return new Efl.BindableProperty<bool>("autocollapse", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Gfx.IEntity> Content<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Frame, T>magic = null) where T : Efl.Ui.Frame {
+ return new Efl.BindableProperty<Efl.Gfx.IEntity>("content", fac);
+ }
+
+
+ public static Efl.BindableProperty<System.String> Markup<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Frame, T>magic = null) where T : Efl.Ui.Frame {
+ return new Efl.BindableProperty<System.String>("markup", fac);
+ }
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Simple grid widget with Pack interface.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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
+public class Grid : Efl.Ui.Collection
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Grid(ConstructingHandle ch) : base(ch)
{
{
}
- /// <summary>Sent after the layout was updated.</summary>
- public event EventHandler LayoutUpdatedEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_PACK_EVENT_LAYOUT_UPDATED";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_PACK_EVENT_LAYOUT_UPDATED";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event LayoutUpdatedEvt.</summary>
- public void OnLayoutUpdatedEvt(EventArgs e)
- {
- var key = "_EFL_PACK_EVENT_LAYOUT_UPDATED";
- 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>Called when scroll operation starts</summary>
- public event EventHandler ScrollStartEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SCROLL_START";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SCROLL_START";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ScrollStartEvt.</summary>
- public void OnScrollStartEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SCROLL_START";
- 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>Called when scrolling</summary>
- public event EventHandler ScrollEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SCROLL";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SCROLL";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ScrollEvt.</summary>
- public void OnScrollEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SCROLL";
- 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>Called when scroll operation stops</summary>
- public event EventHandler ScrollStopEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SCROLL_STOP";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SCROLL_STOP";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ScrollStopEvt.</summary>
- public void OnScrollStopEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SCROLL_STOP";
- 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>Called when scrolling upwards</summary>
- public event EventHandler ScrollUpEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SCROLL_UP";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SCROLL_UP";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ScrollUpEvt.</summary>
- public void OnScrollUpEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SCROLL_UP";
- 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>Called when scrolling downwards</summary>
- public event EventHandler ScrollDownEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SCROLL_DOWN";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SCROLL_DOWN";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ScrollDownEvt.</summary>
- public void OnScrollDownEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SCROLL_DOWN";
- 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>Called when scrolling left</summary>
- public event EventHandler ScrollLeftEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SCROLL_LEFT";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SCROLL_LEFT";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ScrollLeftEvt.</summary>
- public void OnScrollLeftEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SCROLL_LEFT";
- 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>Called when scrolling right</summary>
- public event EventHandler ScrollRightEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SCROLL_RIGHT";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SCROLL_RIGHT";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ScrollRightEvt.</summary>
- public void OnScrollRightEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SCROLL_RIGHT";
- 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>Called when hitting the top edge</summary>
- public event EventHandler EdgeUpEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_EDGE_UP";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_EDGE_UP";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event EdgeUpEvt.</summary>
- public void OnEdgeUpEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_EDGE_UP";
- 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>Called when hitting the bottom edge</summary>
- public event EventHandler EdgeDownEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_EDGE_DOWN";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_EDGE_DOWN";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event EdgeDownEvt.</summary>
- public void OnEdgeDownEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_EDGE_DOWN";
- 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>Called when hitting the left edge</summary>
- public event EventHandler EdgeLeftEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_EDGE_LEFT";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_EDGE_LEFT";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event EdgeLeftEvt.</summary>
- public void OnEdgeLeftEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_EDGE_LEFT";
- 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>Called when hitting the right edge</summary>
- public event EventHandler EdgeRightEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_EDGE_RIGHT";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_EDGE_RIGHT";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event EdgeRightEvt.</summary>
- public void OnEdgeRightEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_EDGE_RIGHT";
- 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>Called when scroll animation starts</summary>
- public event EventHandler ScrollAnimStartEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SCROLL_ANIM_START";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SCROLL_ANIM_START";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ScrollAnimStartEvt.</summary>
- public void OnScrollAnimStartEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SCROLL_ANIM_START";
- 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>Called when scroll animation stopps</summary>
- public event EventHandler ScrollAnimStopEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SCROLL_ANIM_STOP";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ScrollAnimStopEvt.</summary>
- public void OnScrollAnimStopEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP";
- 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>Called when scroll drag starts</summary>
- public event EventHandler ScrollDragStartEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SCROLL_DRAG_START";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SCROLL_DRAG_START";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ScrollDragStartEvt.</summary>
- public void OnScrollDragStartEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SCROLL_DRAG_START";
- 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>Called when scroll drag stops</summary>
- public event EventHandler ScrollDragStopEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SCROLL_DRAG_STOP";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ScrollDragStopEvt.</summary>
- public void OnScrollDragStopEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP";
- 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>Called when bar is pressed.</summary>
- public event EventHandler<Efl.Ui.IScrollbarBarPressEvt_Args> BarPressEvt
- {
- 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.IScrollbarBarPressEvt_Args args = new Efl.Ui.IScrollbarBarPressEvt_Args();
- args.arg = (Efl.Ui.ScrollbarDirection)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_SCROLLBAR_EVENT_BAR_PRESS";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event BarPressEvt.</summary>
- public void OnBarPressEvt(Efl.Ui.IScrollbarBarPressEvt_Args e)
- {
- var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS";
- 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>Called when bar is unpressed.</summary>
- public event EventHandler<Efl.Ui.IScrollbarBarUnpressEvt_Args> BarUnpressEvt
- {
- 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.IScrollbarBarUnpressEvt_Args args = new Efl.Ui.IScrollbarBarUnpressEvt_Args();
- args.arg = (Efl.Ui.ScrollbarDirection)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_SCROLLBAR_EVENT_BAR_UNPRESS";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event BarUnpressEvt.</summary>
- public void OnBarUnpressEvt(Efl.Ui.IScrollbarBarUnpressEvt_Args e)
- {
- var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS";
- 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>Called when bar is dragged.</summary>
- public event EventHandler<Efl.Ui.IScrollbarBarDragEvt_Args> BarDragEvt
- {
- 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.IScrollbarBarDragEvt_Args args = new Efl.Ui.IScrollbarBarDragEvt_Args();
- args.arg = (Efl.Ui.ScrollbarDirection)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_SCROLLBAR_EVENT_BAR_DRAG";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event BarDragEvt.</summary>
- public void OnBarDragEvt(Efl.Ui.IScrollbarBarDragEvt_Args e)
- {
- var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG";
- 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>Called when bar size is changed.</summary>
- public event EventHandler BarSizeChangedEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_SCROLLBAR_EVENT_BAR_SIZE_CHANGED";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event BarSizeChangedEvt.</summary>
- public void OnBarSizeChangedEvt(EventArgs e)
- {
- var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_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>Called when bar position is changed.</summary>
- public event EventHandler BarPosChangedEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_SCROLLBAR_EVENT_BAR_POS_CHANGED";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event BarPosChangedEvt.</summary>
- public void OnBarPosChangedEvt(EventArgs e)
- {
- var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_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>Callend when bar is shown.</summary>
- public event EventHandler<Efl.Ui.IScrollbarBarShowEvt_Args> BarShowEvt
- {
- 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.IScrollbarBarShowEvt_Args args = new Efl.Ui.IScrollbarBarShowEvt_Args();
- args.arg = (Efl.Ui.ScrollbarDirection)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_SCROLLBAR_EVENT_BAR_SHOW";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event BarShowEvt.</summary>
- public void OnBarShowEvt(Efl.Ui.IScrollbarBarShowEvt_Args e)
- {
- var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW";
- 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>Called when bar is hidden.</summary>
- public event EventHandler<Efl.Ui.IScrollbarBarHideEvt_Args> BarHideEvt
- {
- 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.IScrollbarBarHideEvt_Args args = new Efl.Ui.IScrollbarBarHideEvt_Args();
- args.arg = (Efl.Ui.ScrollbarDirection)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_SCROLLBAR_EVENT_BAR_HIDE";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event BarHideEvt.</summary>
- public void OnBarHideEvt(Efl.Ui.IScrollbarBarHideEvt_Args e)
- {
- var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE";
- 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>Called when selected</summary>
- public event EventHandler<Efl.Ui.ISelectableItemSelectedEvt_Args> ItemSelectedEvt
- {
- 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.ISelectableItemSelectedEvt_Args args = new Efl.Ui.ISelectableItemSelectedEvt_Args();
- args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Object);
- try
- {
- value?.Invoke(obj, args);
- }
- catch (Exception e)
- {
- Eina.Log.Error(e.ToString());
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
- }
- };
-
- string key = "_EFL_UI_EVENT_ITEM_SELECTED";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_ITEM_SELECTED";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ItemSelectedEvt.</summary>
- public void OnItemSelectedEvt(Efl.Ui.ISelectableItemSelectedEvt_Args e)
- {
- var key = "_EFL_UI_EVENT_ITEM_SELECTED";
- 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 = e.arg.NativeHandle;
- Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
- }
- /// <summary>Called when no longer selected</summary>
- public event EventHandler<Efl.Ui.ISelectableItemUnselectedEvt_Args> ItemUnselectedEvt
- {
- 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.ISelectableItemUnselectedEvt_Args args = new Efl.Ui.ISelectableItemUnselectedEvt_Args();
- args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Object);
- try
- {
- value?.Invoke(obj, args);
- }
- catch (Exception e)
- {
- Eina.Log.Error(e.ToString());
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
- }
- };
-
- string key = "_EFL_UI_EVENT_ITEM_UNSELECTED";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_ITEM_UNSELECTED";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ItemUnselectedEvt.</summary>
- public void OnItemUnselectedEvt(Efl.Ui.ISelectableItemUnselectedEvt_Args e)
- {
- var key = "_EFL_UI_EVENT_ITEM_UNSELECTED";
- 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 = e.arg.NativeHandle;
- Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
- }
- /// <summary>Called when selection is pasted</summary>
- public event EventHandler SelectionPasteEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SELECTION_PASTE";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SELECTION_PASTE";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event SelectionPasteEvt.</summary>
- public void OnSelectionPasteEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SELECTION_PASTE";
- 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>Called when selection is copied</summary>
- public event EventHandler SelectionCopyEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SELECTION_COPY";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SELECTION_COPY";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event SelectionCopyEvt.</summary>
- public void OnSelectionCopyEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SELECTION_COPY";
- 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>Called when selection is cut</summary>
- public event EventHandler SelectionCutEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SELECTION_CUT";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SELECTION_CUT";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event SelectionCutEvt.</summary>
- public void OnSelectionCutEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SELECTION_CUT";
- 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>Called at selection start</summary>
- public event EventHandler SelectionStartEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SELECTION_START";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SELECTION_START";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event SelectionStartEvt.</summary>
- public void OnSelectionStartEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SELECTION_START";
- 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>Called when selection is changed</summary>
- public event EventHandler SelectionChangedEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SELECTION_CHANGED";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SELECTION_CHANGED";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event SelectionChangedEvt.</summary>
- public void OnSelectionChangedEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SELECTION_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>Called when selection is cleared</summary>
- public event EventHandler SelectionClearedEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SELECTION_CLEARED";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SELECTION_CLEARED";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event SelectionClearedEvt.</summary>
- public void OnSelectionClearedEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SELECTION_CLEARED";
- 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>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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Property data of item size.</summary>
- /// <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((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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>scroll move the item to show in the viewport.</summary>
- /// <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((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="item">Target item.</param>
- /// <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((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((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);
- }
- /// <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>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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Implementation of this container's layout algorithm.
- /// EFL will call this function whenever the contents of this container need to be re-laid out on the canvas.
- ///
- /// This can be overriden to implement custom layout behaviors.</summary>
- virtual public void UpdateLayout() {
- 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.
- /// 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>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 GetContentAlign(out double align_horiz, out double 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((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_horiz">Horizontal padding</param>
- /// <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((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_horiz">Horizontal padding</param>
- /// <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((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.
- /// 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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <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>
- /// <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((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((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((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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>The content position</summary>
- /// <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((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((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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Bouncing behavior
- /// When scrolling, the scroller may "bounce" when reaching the edge of the content object. This is a visual way to indicate the end has been reached. This is enabled by default for both axes. This API will determine if it's enabled for the given axis with the boolean parameters for each one.</summary>
- /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out horiz, out vert);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Bouncing behavior
- /// When scrolling, the scroller may "bounce" when reaching the edge of the content object. This is a visual way to indicate the end has been reached. This is enabled by default for both axes. This API will determine if it's enabled for the given axis with the boolean parameters for each one.</summary>
- /// <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((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((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((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((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((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((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((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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <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>
- /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),block);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Control scrolling gravity on the scrollable
- /// The gravity defines how the scroller will adjust its view when the size of the scroller contents increases.
- ///
- /// The scroller will adjust the view to glue itself as follows.
- ///
- /// x=0.0, for staying where it is relative to the left edge of the content x=1.0, for staying where it is relative to the right edge of the content y=0.0, for staying where it is relative to the top edge of the content y=1.0, for staying where it is relative to the bottom edge of the content
- ///
- /// Default values for x and y are 0.0</summary>
- /// <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((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
- /// The gravity defines how the scroller will adjust its view when the size of the scroller contents increases.
- ///
- /// The scroller will adjust the view to glue itself as follows.
- ///
- /// x=0.0, for staying where it is relative to the left edge of the content x=1.0, for staying where it is relative to the right edge of the content y=0.0, for staying where it is relative to the top edge of the content y=1.0, for staying where it is relative to the bottom edge of the content
- ///
- /// Default values for x and y are 0.0</summary>
- /// <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((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.
- /// By default the scroller will be as small as its design allows, irrespective of its content. This will make the scroller minimum size the right size horizontally and/or vertically to perfectly fit its content in that direction.</summary>
- /// <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((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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Control the step size
- /// Use this call to set step size. This value is used when scroller scroll by arrow key event.</summary>
- /// <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((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.
- /// This will ensure all (or part if it does not fit) of the designated region in the virtual content object (0, 0 starting at the top-left of the virtual content object) is shown within the scroller. This allows the scroller to "smoothly slide" to this location (if configuration in general calls for transitions). It may not jump immediately to the new location and make take a while and show other content along the way.</summary>
- /// <param name="rect">The position where to scroll. and The size user want to see</param>
- /// <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((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>
- 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((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>
- 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((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>
- virtual public void GetBarSize(out double width, out double 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>
- virtual public void GetBarPosition(out double posx, out double 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>
- virtual public void SetBarPosition(double posx, double 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 needs to be shown or hidden.</summary>
- virtual public void UpdateBarVisibility() {
- 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>
- /// <value>last selected item of grid.</value>
- public Eina.Size2D ItemSize {
- get { return GetItemSize(); }
- set { SetItemSize(value); }
- }
- /// <summary>Property data of last selected item.</summary>
- /// <value>last selected item of grid.</value>
- public Efl.Ui.GridItem LastSelectedItem {
- get { return GetLastSelectedItem(); }
- }
- /// <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>
- /// <value>Direction of the widget.</value>
- public Efl.Ui.LayoutOrientation Orientation {
- get { return GetOrientation(); }
- set { SetOrientation(value); }
- }
- /// <summary>The mode type for children selection.</summary>
- /// <value>Type of selection of children</value>
- public Efl.Ui.SelectMode SelectMode {
- get { return GetSelectMode(); }
- set { SetSelectMode(value); }
- }
- /// <summary>The content position</summary>
- /// <value>The position is virtual value, (0, 0) starting at the top-left.</value>
- public Eina.Position2D ContentPos {
- get { return GetContentPos(); }
- set { SetContentPos(value); }
- }
- /// <summary>The content size</summary>
- /// <value>The content size in pixels.</value>
- public Eina.Size2D ContentSize {
- get { return GetContentSize(); }
- }
- /// <summary>The viewport geometry</summary>
- /// <value>It is absolute geometry.</value>
- public Eina.Rect ViewportGeometry {
- get { return GetViewportGeometry(); }
- }
- /// <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>
- /// <value><c>true</c> if freeze, <c>false</c> otherwise</value>
- public bool ScrollFreeze {
- get { return GetScrollFreeze(); }
- set { SetScrollFreeze(value); }
- }
- /// <summary>Hold property When hold turns on, it only scrolls by holding action.</summary>
- /// <value><c>true</c> if hold, <c>false</c> otherwise</value>
- public bool ScrollHold {
- get { return GetScrollHold(); }
- set { SetScrollHold(value); }
- }
- /// <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>
- /// <value>Which axis (or axes) to block</value>
- public Efl.Ui.ScrollBlock MovementBlock {
- get { return GetMovementBlock(); }
- set { SetMovementBlock(value); }
- }
- /// <summary>Control the step size
- /// Use this call to set step size. This value is used when scroller scroll by arrow key event.</summary>
- /// <value>The step size in pixels</value>
- public Eina.Position2D StepSize {
- get { return GetStepSize(); }
- set { SetStepSize(value); }
- }
- private static IntPtr GetEflClassStatic()
- {
- return Efl.Ui.Grid.efl_ui_grid_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_grid_item_size_get_static_delegate == null)
- {
- efl_ui_grid_item_size_get_static_delegate = new efl_ui_grid_item_size_get_delegate(item_size_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetItemSize") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_grid_item_size_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_grid_item_size_get_static_delegate) });
- }
-
- if (efl_ui_grid_item_size_set_static_delegate == null)
- {
- efl_ui_grid_item_size_set_static_delegate = new efl_ui_grid_item_size_set_delegate(item_size_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetItemSize") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_grid_item_size_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_grid_item_size_set_static_delegate) });
- }
-
- if (efl_ui_grid_last_selected_item_get_static_delegate == null)
- {
- efl_ui_grid_last_selected_item_get_static_delegate = new efl_ui_grid_last_selected_item_get_delegate(last_selected_item_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetLastSelectedItem") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_grid_last_selected_item_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_grid_last_selected_item_get_static_delegate) });
- }
-
- if (efl_ui_grid_item_scroll_static_delegate == null)
- {
- efl_ui_grid_item_scroll_static_delegate = new efl_ui_grid_item_scroll_delegate(item_scroll);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "ItemScroll") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_grid_item_scroll"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_grid_item_scroll_static_delegate) });
- }
-
- if (efl_ui_grid_item_scroll_align_static_delegate == null)
- {
- efl_ui_grid_item_scroll_align_static_delegate = new efl_ui_grid_item_scroll_align_delegate(item_scroll_align);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "ItemScrollAlign") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_grid_item_scroll_align"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_grid_item_scroll_align_static_delegate) });
- }
-
- if (efl_ui_grid_selected_items_get_static_delegate == null)
- {
- efl_ui_grid_selected_items_get_static_delegate = new efl_ui_grid_selected_items_get_delegate(selected_items_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetSelectedItems") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_grid_selected_items_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_grid_selected_items_get_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_layout_request_static_delegate == null)
- {
- efl_pack_layout_request_static_delegate = new efl_pack_layout_request_delegate(layout_request);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "LayoutRequest") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_layout_request"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_layout_request_static_delegate) });
- }
-
- if (efl_pack_layout_update_static_delegate == null)
- {
- efl_pack_layout_update_static_delegate = new efl_pack_layout_update_delegate(layout_update);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "UpdateLayout") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_layout_update"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_layout_update_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) });
- }
-
- if (efl_gfx_arrangement_content_align_get_static_delegate == null)
- {
- efl_gfx_arrangement_content_align_get_static_delegate = new efl_gfx_arrangement_content_align_get_delegate(content_align_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetContentAlign") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_arrangement_content_align_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_arrangement_content_align_get_static_delegate) });
- }
-
- if (efl_gfx_arrangement_content_align_set_static_delegate == null)
- {
- efl_gfx_arrangement_content_align_set_static_delegate = new efl_gfx_arrangement_content_align_set_delegate(content_align_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetContentAlign") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_arrangement_content_align_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_arrangement_content_align_set_static_delegate) });
- }
-
- if (efl_gfx_arrangement_content_padding_get_static_delegate == null)
- {
- efl_gfx_arrangement_content_padding_get_static_delegate = new efl_gfx_arrangement_content_padding_get_delegate(content_padding_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetContentPadding") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_arrangement_content_padding_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_arrangement_content_padding_get_static_delegate) });
- }
-
- if (efl_gfx_arrangement_content_padding_set_static_delegate == null)
- {
- efl_gfx_arrangement_content_padding_set_static_delegate = new efl_gfx_arrangement_content_padding_set_delegate(content_padding_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetContentPadding") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_arrangement_content_padding_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_arrangement_content_padding_set_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);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetOrientation") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_layout_orientation_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_layout_orientation_get_static_delegate) });
- }
-
- if (efl_ui_layout_orientation_set_static_delegate == null)
- {
- efl_ui_layout_orientation_set_static_delegate = new efl_ui_layout_orientation_set_delegate(orientation_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetOrientation") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_layout_orientation_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_layout_orientation_set_static_delegate) });
- }
-
- if (efl_ui_select_mode_get_static_delegate == null)
- {
- efl_ui_select_mode_get_static_delegate = new efl_ui_select_mode_get_delegate(select_mode_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetSelectMode") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_select_mode_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_select_mode_get_static_delegate) });
- }
-
- if (efl_ui_select_mode_set_static_delegate == null)
- {
- efl_ui_select_mode_set_static_delegate = new efl_ui_select_mode_set_delegate(select_mode_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetSelectMode") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_select_mode_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_select_mode_set_static_delegate) });
- }
-
- if (efl_ui_scrollable_content_pos_get_static_delegate == null)
- {
- efl_ui_scrollable_content_pos_get_static_delegate = new efl_ui_scrollable_content_pos_get_delegate(content_pos_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetContentPos") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_content_pos_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_content_pos_get_static_delegate) });
- }
-
- if (efl_ui_scrollable_content_pos_set_static_delegate == null)
- {
- efl_ui_scrollable_content_pos_set_static_delegate = new efl_ui_scrollable_content_pos_set_delegate(content_pos_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetContentPos") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_content_pos_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_content_pos_set_static_delegate) });
- }
-
- if (efl_ui_scrollable_content_size_get_static_delegate == null)
- {
- efl_ui_scrollable_content_size_get_static_delegate = new efl_ui_scrollable_content_size_get_delegate(content_size_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetContentSize") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_content_size_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_content_size_get_static_delegate) });
- }
-
- if (efl_ui_scrollable_viewport_geometry_get_static_delegate == null)
- {
- efl_ui_scrollable_viewport_geometry_get_static_delegate = new efl_ui_scrollable_viewport_geometry_get_delegate(viewport_geometry_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetViewportGeometry") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_viewport_geometry_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_viewport_geometry_get_static_delegate) });
- }
-
- if (efl_ui_scrollable_bounce_enabled_get_static_delegate == null)
- {
- efl_ui_scrollable_bounce_enabled_get_static_delegate = new efl_ui_scrollable_bounce_enabled_get_delegate(bounce_enabled_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetBounceEnabled") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_bounce_enabled_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_bounce_enabled_get_static_delegate) });
- }
-
- if (efl_ui_scrollable_bounce_enabled_set_static_delegate == null)
- {
- efl_ui_scrollable_bounce_enabled_set_static_delegate = new efl_ui_scrollable_bounce_enabled_set_delegate(bounce_enabled_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetBounceEnabled") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_bounce_enabled_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_bounce_enabled_set_static_delegate) });
- }
-
- if (efl_ui_scrollable_scroll_freeze_get_static_delegate == null)
- {
- efl_ui_scrollable_scroll_freeze_get_static_delegate = new efl_ui_scrollable_scroll_freeze_get_delegate(scroll_freeze_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetScrollFreeze") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_scroll_freeze_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_scroll_freeze_get_static_delegate) });
- }
-
- if (efl_ui_scrollable_scroll_freeze_set_static_delegate == null)
- {
- efl_ui_scrollable_scroll_freeze_set_static_delegate = new efl_ui_scrollable_scroll_freeze_set_delegate(scroll_freeze_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetScrollFreeze") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_scroll_freeze_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_scroll_freeze_set_static_delegate) });
- }
-
- if (efl_ui_scrollable_scroll_hold_get_static_delegate == null)
- {
- efl_ui_scrollable_scroll_hold_get_static_delegate = new efl_ui_scrollable_scroll_hold_get_delegate(scroll_hold_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetScrollHold") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_scroll_hold_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_scroll_hold_get_static_delegate) });
- }
-
- if (efl_ui_scrollable_scroll_hold_set_static_delegate == null)
- {
- efl_ui_scrollable_scroll_hold_set_static_delegate = new efl_ui_scrollable_scroll_hold_set_delegate(scroll_hold_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetScrollHold") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_scroll_hold_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_scroll_hold_set_static_delegate) });
- }
-
- if (efl_ui_scrollable_looping_get_static_delegate == null)
- {
- efl_ui_scrollable_looping_get_static_delegate = new efl_ui_scrollable_looping_get_delegate(looping_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetLooping") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_looping_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_looping_get_static_delegate) });
- }
-
- if (efl_ui_scrollable_looping_set_static_delegate == null)
- {
- efl_ui_scrollable_looping_set_static_delegate = new efl_ui_scrollable_looping_set_delegate(looping_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetLooping") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_looping_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_looping_set_static_delegate) });
- }
-
- if (efl_ui_scrollable_movement_block_get_static_delegate == null)
- {
- efl_ui_scrollable_movement_block_get_static_delegate = new efl_ui_scrollable_movement_block_get_delegate(movement_block_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetMovementBlock") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_movement_block_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_movement_block_get_static_delegate) });
- }
-
- if (efl_ui_scrollable_movement_block_set_static_delegate == null)
- {
- efl_ui_scrollable_movement_block_set_static_delegate = new efl_ui_scrollable_movement_block_set_delegate(movement_block_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetMovementBlock") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_movement_block_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_movement_block_set_static_delegate) });
- }
-
- if (efl_ui_scrollable_gravity_get_static_delegate == null)
- {
- efl_ui_scrollable_gravity_get_static_delegate = new efl_ui_scrollable_gravity_get_delegate(gravity_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetGravity") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_gravity_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_gravity_get_static_delegate) });
- }
-
- if (efl_ui_scrollable_gravity_set_static_delegate == null)
- {
- efl_ui_scrollable_gravity_set_static_delegate = new efl_ui_scrollable_gravity_set_delegate(gravity_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetGravity") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_gravity_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_gravity_set_static_delegate) });
- }
-
- if (efl_ui_scrollable_match_content_set_static_delegate == null)
- {
- efl_ui_scrollable_match_content_set_static_delegate = new efl_ui_scrollable_match_content_set_delegate(match_content_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetMatchContent") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_match_content_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_match_content_set_static_delegate) });
- }
-
- if (efl_ui_scrollable_step_size_get_static_delegate == null)
- {
- efl_ui_scrollable_step_size_get_static_delegate = new efl_ui_scrollable_step_size_get_delegate(step_size_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetStepSize") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_step_size_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_step_size_get_static_delegate) });
- }
-
- if (efl_ui_scrollable_step_size_set_static_delegate == null)
- {
- efl_ui_scrollable_step_size_set_static_delegate = new efl_ui_scrollable_step_size_set_delegate(step_size_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetStepSize") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_step_size_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_step_size_set_static_delegate) });
- }
-
- if (efl_ui_scrollable_scroll_static_delegate == null)
- {
- efl_ui_scrollable_scroll_static_delegate = new efl_ui_scrollable_scroll_delegate(scroll);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "Scroll") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_scroll"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_scroll_static_delegate) });
- }
-
- if (efl_ui_scrollbar_bar_mode_get_static_delegate == null)
- {
- efl_ui_scrollbar_bar_mode_get_static_delegate = new efl_ui_scrollbar_bar_mode_get_delegate(bar_mode_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetBarMode") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollbar_bar_mode_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollbar_bar_mode_get_static_delegate) });
- }
-
- if (efl_ui_scrollbar_bar_mode_set_static_delegate == null)
- {
- efl_ui_scrollbar_bar_mode_set_static_delegate = new efl_ui_scrollbar_bar_mode_set_delegate(bar_mode_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetBarMode") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollbar_bar_mode_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollbar_bar_mode_set_static_delegate) });
- }
-
- if (efl_ui_scrollbar_bar_size_get_static_delegate == null)
- {
- efl_ui_scrollbar_bar_size_get_static_delegate = new efl_ui_scrollbar_bar_size_get_delegate(bar_size_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetBarSize") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollbar_bar_size_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollbar_bar_size_get_static_delegate) });
- }
-
- if (efl_ui_scrollbar_bar_position_get_static_delegate == null)
- {
- efl_ui_scrollbar_bar_position_get_static_delegate = new efl_ui_scrollbar_bar_position_get_delegate(bar_position_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetBarPosition") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollbar_bar_position_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollbar_bar_position_get_static_delegate) });
- }
-
- if (efl_ui_scrollbar_bar_position_set_static_delegate == null)
- {
- efl_ui_scrollbar_bar_position_set_static_delegate = new efl_ui_scrollbar_bar_position_set_delegate(bar_position_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetBarPosition") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollbar_bar_position_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollbar_bar_position_set_static_delegate) });
- }
-
- if (efl_ui_scrollbar_bar_visibility_update_static_delegate == null)
- {
- efl_ui_scrollbar_bar_visibility_update_static_delegate = new efl_ui_scrollbar_bar_visibility_update_delegate(bar_visibility_update);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "UpdateBarVisibility") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollbar_bar_visibility_update"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollbar_bar_visibility_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.Grid.efl_ui_grid_class_get();
- }
-
- #pragma warning disable CA1707, CS1591, SA1300, SA1600
-
-
- private delegate Eina.Size2D.NativeStruct efl_ui_grid_item_size_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate Eina.Size2D.NativeStruct efl_ui_grid_item_size_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_grid_item_size_get_api_delegate> efl_ui_grid_item_size_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_grid_item_size_get_api_delegate>(Module, "efl_ui_grid_item_size_get");
-
- private static Eina.Size2D.NativeStruct item_size_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_grid_item_size_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Eina.Size2D _ret_var = default(Eina.Size2D);
- try
- {
- _ret_var = ((Grid)ws.Target).GetItemSize();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_grid_item_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_grid_item_size_get_delegate efl_ui_grid_item_size_get_static_delegate;
-
-
- private delegate void efl_ui_grid_item_size_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct size);
-
-
- public delegate void efl_ui_grid_item_size_set_api_delegate(System.IntPtr obj, Eina.Size2D.NativeStruct size);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_grid_item_size_set_api_delegate> efl_ui_grid_item_size_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_grid_item_size_set_api_delegate>(Module, "efl_ui_grid_item_size_set");
-
- private static void item_size_set(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct size)
- {
- Eina.Log.Debug("function efl_ui_grid_item_size_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Eina.Size2D _in_size = size;
-
- try
- {
- ((Grid)ws.Target).SetItemSize(_in_size);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_grid_item_size_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), size);
- }
- }
-
- private static efl_ui_grid_item_size_set_delegate efl_ui_grid_item_size_set_static_delegate;
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- private delegate Efl.Ui.GridItem efl_ui_grid_last_selected_item_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- public delegate Efl.Ui.GridItem efl_ui_grid_last_selected_item_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_grid_last_selected_item_get_api_delegate> efl_ui_grid_last_selected_item_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_grid_last_selected_item_get_api_delegate>(Module, "efl_ui_grid_last_selected_item_get");
-
- private static Efl.Ui.GridItem last_selected_item_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_grid_last_selected_item_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Efl.Ui.GridItem _ret_var = default(Efl.Ui.GridItem);
- try
- {
- _ret_var = ((Grid)ws.Target).GetLastSelectedItem();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_grid_last_selected_item_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_grid_last_selected_item_get_delegate efl_ui_grid_last_selected_item_get_static_delegate;
-
-
- private delegate void efl_ui_grid_item_scroll_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.GridItem item, [MarshalAs(UnmanagedType.U1)] bool animation);
-
-
- public delegate void efl_ui_grid_item_scroll_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.GridItem item, [MarshalAs(UnmanagedType.U1)] bool animation);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_grid_item_scroll_api_delegate> efl_ui_grid_item_scroll_ptr = new Efl.Eo.FunctionWrapper<efl_ui_grid_item_scroll_api_delegate>(Module, "efl_ui_grid_item_scroll");
-
- private static void item_scroll(System.IntPtr obj, System.IntPtr pd, Efl.Ui.GridItem item, bool animation)
- {
- Eina.Log.Debug("function efl_ui_grid_item_scroll was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Grid)ws.Target).ItemScroll(item, animation);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_grid_item_scroll_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), item, animation);
- }
- }
-
- private static efl_ui_grid_item_scroll_delegate efl_ui_grid_item_scroll_static_delegate;
-
-
- private delegate void efl_ui_grid_item_scroll_align_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.GridItem item, double align, [MarshalAs(UnmanagedType.U1)] bool animation);
-
-
- public delegate void efl_ui_grid_item_scroll_align_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.GridItem item, double align, [MarshalAs(UnmanagedType.U1)] bool animation);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_grid_item_scroll_align_api_delegate> efl_ui_grid_item_scroll_align_ptr = new Efl.Eo.FunctionWrapper<efl_ui_grid_item_scroll_align_api_delegate>(Module, "efl_ui_grid_item_scroll_align");
-
- private static void item_scroll_align(System.IntPtr obj, System.IntPtr pd, Efl.Ui.GridItem item, double align, bool animation)
- {
- Eina.Log.Debug("function efl_ui_grid_item_scroll_align was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Grid)ws.Target).ItemScrollAlign(item, align, animation);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_grid_item_scroll_align_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), item, align, animation);
- }
- }
-
- private static efl_ui_grid_item_scroll_align_delegate efl_ui_grid_item_scroll_align_static_delegate;
-
-
- private delegate System.IntPtr efl_ui_grid_selected_items_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate System.IntPtr efl_ui_grid_selected_items_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_grid_selected_items_get_api_delegate> efl_ui_grid_selected_items_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_grid_selected_items_get_api_delegate>(Module, "efl_ui_grid_selected_items_get");
-
- private static System.IntPtr selected_items_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_grid_selected_items_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Eina.Iterator<Efl.Ui.GridItem> _ret_var = default(Eina.Iterator<Efl.Ui.GridItem>);
- try
- {
- _ret_var = ((Grid)ws.Target).GetSelectedItems();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- _ret_var.Own = false; return _ret_var.Handle;
-
- }
- else
- {
- return efl_ui_grid_selected_items_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_grid_selected_items_get_delegate efl_ui_grid_selected_items_get_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 = ((Grid)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 = ((Grid)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 = ((Grid)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 = ((Grid)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;
-
-
- private delegate void efl_pack_layout_request_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate void efl_pack_layout_request_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_pack_layout_request_api_delegate> efl_pack_layout_request_ptr = new Efl.Eo.FunctionWrapper<efl_pack_layout_request_api_delegate>(Module, "efl_pack_layout_request");
-
- private static void layout_request(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_pack_layout_request was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Grid)ws.Target).LayoutRequest();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_pack_layout_request_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_pack_layout_request_delegate efl_pack_layout_request_static_delegate;
-
-
- private delegate void efl_pack_layout_update_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate void efl_pack_layout_update_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_pack_layout_update_api_delegate> efl_pack_layout_update_ptr = new Efl.Eo.FunctionWrapper<efl_pack_layout_update_api_delegate>(Module, "efl_pack_layout_update");
-
- private static void layout_update(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_pack_layout_update was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Grid)ws.Target).UpdateLayout();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_pack_layout_update_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_pack_layout_update_delegate efl_pack_layout_update_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 = ((Grid)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 = ((Grid)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 = ((Grid)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 = ((Grid)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 = ((Grid)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 = ((Grid)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 = ((Grid)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 = ((Grid)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;
-
-
- private delegate void efl_gfx_arrangement_content_align_get_delegate(System.IntPtr obj, System.IntPtr pd, out double align_horiz, out double align_vert);
-
-
- public delegate void efl_gfx_arrangement_content_align_get_api_delegate(System.IntPtr obj, out double align_horiz, out double align_vert);
-
- public static Efl.Eo.FunctionWrapper<efl_gfx_arrangement_content_align_get_api_delegate> efl_gfx_arrangement_content_align_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_arrangement_content_align_get_api_delegate>(Module, "efl_gfx_arrangement_content_align_get");
-
- private static void content_align_get(System.IntPtr obj, System.IntPtr pd, out double align_horiz, out double align_vert)
- {
- Eina.Log.Debug("function efl_gfx_arrangement_content_align_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- align_horiz = default(double); align_vert = default(double);
- try
- {
- ((Grid)ws.Target).GetContentAlign(out align_horiz, out align_vert);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_gfx_arrangement_content_align_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out align_horiz, out align_vert);
- }
- }
-
- private static efl_gfx_arrangement_content_align_get_delegate efl_gfx_arrangement_content_align_get_static_delegate;
-
-
- private delegate void efl_gfx_arrangement_content_align_set_delegate(System.IntPtr obj, System.IntPtr pd, double align_horiz, double align_vert);
-
-
- public delegate void efl_gfx_arrangement_content_align_set_api_delegate(System.IntPtr obj, double align_horiz, double align_vert);
-
- public static Efl.Eo.FunctionWrapper<efl_gfx_arrangement_content_align_set_api_delegate> efl_gfx_arrangement_content_align_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_arrangement_content_align_set_api_delegate>(Module, "efl_gfx_arrangement_content_align_set");
-
- private static void content_align_set(System.IntPtr obj, System.IntPtr pd, double align_horiz, double align_vert)
- {
- Eina.Log.Debug("function efl_gfx_arrangement_content_align_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Grid)ws.Target).SetContentAlign(align_horiz, align_vert);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_gfx_arrangement_content_align_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), align_horiz, align_vert);
- }
- }
-
- private static efl_gfx_arrangement_content_align_set_delegate efl_gfx_arrangement_content_align_set_static_delegate;
-
-
- private delegate void efl_gfx_arrangement_content_padding_get_delegate(System.IntPtr obj, System.IntPtr pd, out double pad_horiz, out double pad_vert, [MarshalAs(UnmanagedType.U1)] out bool scalable);
-
-
- public delegate void efl_gfx_arrangement_content_padding_get_api_delegate(System.IntPtr obj, out double pad_horiz, out double pad_vert, [MarshalAs(UnmanagedType.U1)] out bool scalable);
-
- public static Efl.Eo.FunctionWrapper<efl_gfx_arrangement_content_padding_get_api_delegate> efl_gfx_arrangement_content_padding_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_arrangement_content_padding_get_api_delegate>(Module, "efl_gfx_arrangement_content_padding_get");
-
- private static void content_padding_get(System.IntPtr obj, System.IntPtr pd, out double pad_horiz, out double pad_vert, out bool scalable)
- {
- Eina.Log.Debug("function efl_gfx_arrangement_content_padding_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- pad_horiz = default(double); pad_vert = default(double); scalable = default(bool);
- try
- {
- ((Grid)ws.Target).GetContentPadding(out pad_horiz, out pad_vert, out scalable);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_gfx_arrangement_content_padding_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out pad_horiz, out pad_vert, out scalable);
- }
- }
-
- private static efl_gfx_arrangement_content_padding_get_delegate efl_gfx_arrangement_content_padding_get_static_delegate;
-
-
- private delegate void efl_gfx_arrangement_content_padding_set_delegate(System.IntPtr obj, System.IntPtr pd, double pad_horiz, double pad_vert, [MarshalAs(UnmanagedType.U1)] bool scalable);
-
-
- public delegate void efl_gfx_arrangement_content_padding_set_api_delegate(System.IntPtr obj, double pad_horiz, double pad_vert, [MarshalAs(UnmanagedType.U1)] bool scalable);
-
- public static Efl.Eo.FunctionWrapper<efl_gfx_arrangement_content_padding_set_api_delegate> efl_gfx_arrangement_content_padding_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_arrangement_content_padding_set_api_delegate>(Module, "efl_gfx_arrangement_content_padding_set");
-
- private static void content_padding_set(System.IntPtr obj, System.IntPtr pd, double pad_horiz, double pad_vert, bool scalable)
- {
- Eina.Log.Debug("function efl_gfx_arrangement_content_padding_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Grid)ws.Target).SetContentPadding(pad_horiz, pad_vert, scalable);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_gfx_arrangement_content_padding_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), pad_horiz, pad_vert, scalable);
- }
- }
-
- private static efl_gfx_arrangement_content_padding_set_delegate efl_gfx_arrangement_content_padding_set_static_delegate;
-
-
- private delegate Efl.Ui.LayoutOrientation efl_ui_layout_orientation_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate Efl.Ui.LayoutOrientation efl_ui_layout_orientation_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_layout_orientation_get_api_delegate> efl_ui_layout_orientation_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_layout_orientation_get_api_delegate>(Module, "efl_ui_layout_orientation_get");
-
- private static Efl.Ui.LayoutOrientation orientation_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_layout_orientation_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Efl.Ui.LayoutOrientation _ret_var = default(Efl.Ui.LayoutOrientation);
- try
- {
- _ret_var = ((Grid)ws.Target).GetOrientation();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_layout_orientation_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_layout_orientation_get_delegate efl_ui_layout_orientation_get_static_delegate;
-
-
- private delegate void efl_ui_layout_orientation_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.LayoutOrientation dir);
-
-
- public delegate void efl_ui_layout_orientation_set_api_delegate(System.IntPtr obj, Efl.Ui.LayoutOrientation dir);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_layout_orientation_set_api_delegate> efl_ui_layout_orientation_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_layout_orientation_set_api_delegate>(Module, "efl_ui_layout_orientation_set");
-
- private static void orientation_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.LayoutOrientation dir)
- {
- Eina.Log.Debug("function efl_ui_layout_orientation_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Grid)ws.Target).SetOrientation(dir);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_layout_orientation_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), dir);
- }
- }
-
- private static efl_ui_layout_orientation_set_delegate efl_ui_layout_orientation_set_static_delegate;
-
-
- private delegate Efl.Ui.SelectMode efl_ui_select_mode_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate Efl.Ui.SelectMode efl_ui_select_mode_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_select_mode_get_api_delegate> efl_ui_select_mode_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_select_mode_get_api_delegate>(Module, "efl_ui_select_mode_get");
-
- private static Efl.Ui.SelectMode select_mode_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_select_mode_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Efl.Ui.SelectMode _ret_var = default(Efl.Ui.SelectMode);
- try
- {
- _ret_var = ((Grid)ws.Target).GetSelectMode();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_select_mode_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_select_mode_get_delegate efl_ui_select_mode_get_static_delegate;
-
-
- private delegate void efl_ui_select_mode_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.SelectMode mode);
-
-
- public delegate void efl_ui_select_mode_set_api_delegate(System.IntPtr obj, Efl.Ui.SelectMode mode);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_select_mode_set_api_delegate> efl_ui_select_mode_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_select_mode_set_api_delegate>(Module, "efl_ui_select_mode_set");
-
- private static void select_mode_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.SelectMode mode)
- {
- Eina.Log.Debug("function efl_ui_select_mode_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Grid)ws.Target).SetSelectMode(mode);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_select_mode_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), mode);
- }
- }
-
- private static efl_ui_select_mode_set_delegate efl_ui_select_mode_set_static_delegate;
-
-
- private delegate Eina.Position2D.NativeStruct efl_ui_scrollable_content_pos_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate Eina.Position2D.NativeStruct efl_ui_scrollable_content_pos_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_content_pos_get_api_delegate> efl_ui_scrollable_content_pos_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_content_pos_get_api_delegate>(Module, "efl_ui_scrollable_content_pos_get");
-
- private static Eina.Position2D.NativeStruct content_pos_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_scrollable_content_pos_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Eina.Position2D _ret_var = default(Eina.Position2D);
- try
- {
- _ret_var = ((Grid)ws.Target).GetContentPos();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_scrollable_content_pos_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_scrollable_content_pos_get_delegate efl_ui_scrollable_content_pos_get_static_delegate;
-
-
- private delegate void efl_ui_scrollable_content_pos_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Position2D.NativeStruct pos);
-
-
- public delegate void efl_ui_scrollable_content_pos_set_api_delegate(System.IntPtr obj, Eina.Position2D.NativeStruct pos);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_content_pos_set_api_delegate> efl_ui_scrollable_content_pos_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_content_pos_set_api_delegate>(Module, "efl_ui_scrollable_content_pos_set");
-
- private static void content_pos_set(System.IntPtr obj, System.IntPtr pd, Eina.Position2D.NativeStruct pos)
- {
- Eina.Log.Debug("function efl_ui_scrollable_content_pos_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Eina.Position2D _in_pos = pos;
-
- try
- {
- ((Grid)ws.Target).SetContentPos(_in_pos);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_scrollable_content_pos_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), pos);
- }
- }
-
- private static efl_ui_scrollable_content_pos_set_delegate efl_ui_scrollable_content_pos_set_static_delegate;
-
-
- private delegate Eina.Size2D.NativeStruct efl_ui_scrollable_content_size_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate Eina.Size2D.NativeStruct efl_ui_scrollable_content_size_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_content_size_get_api_delegate> efl_ui_scrollable_content_size_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_content_size_get_api_delegate>(Module, "efl_ui_scrollable_content_size_get");
-
- private static Eina.Size2D.NativeStruct content_size_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_scrollable_content_size_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Eina.Size2D _ret_var = default(Eina.Size2D);
- try
- {
- _ret_var = ((Grid)ws.Target).GetContentSize();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_scrollable_content_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_scrollable_content_size_get_delegate efl_ui_scrollable_content_size_get_static_delegate;
-
-
- private delegate Eina.Rect.NativeStruct efl_ui_scrollable_viewport_geometry_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate Eina.Rect.NativeStruct efl_ui_scrollable_viewport_geometry_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_viewport_geometry_get_api_delegate> efl_ui_scrollable_viewport_geometry_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_viewport_geometry_get_api_delegate>(Module, "efl_ui_scrollable_viewport_geometry_get");
-
- private static Eina.Rect.NativeStruct viewport_geometry_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_scrollable_viewport_geometry_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Eina.Rect _ret_var = default(Eina.Rect);
- try
- {
- _ret_var = ((Grid)ws.Target).GetViewportGeometry();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_scrollable_viewport_geometry_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_scrollable_viewport_geometry_get_delegate efl_ui_scrollable_viewport_geometry_get_static_delegate;
-
-
- private delegate void efl_ui_scrollable_bounce_enabled_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] out bool horiz, [MarshalAs(UnmanagedType.U1)] out bool vert);
-
-
- public delegate void efl_ui_scrollable_bounce_enabled_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] out bool horiz, [MarshalAs(UnmanagedType.U1)] out bool vert);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_bounce_enabled_get_api_delegate> efl_ui_scrollable_bounce_enabled_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_bounce_enabled_get_api_delegate>(Module, "efl_ui_scrollable_bounce_enabled_get");
-
- private static void bounce_enabled_get(System.IntPtr obj, System.IntPtr pd, out bool horiz, out bool vert)
- {
- Eina.Log.Debug("function efl_ui_scrollable_bounce_enabled_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- horiz = default(bool); vert = default(bool);
- try
- {
- ((Grid)ws.Target).GetBounceEnabled(out horiz, out vert);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_scrollable_bounce_enabled_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out horiz, out vert);
- }
- }
-
- private static efl_ui_scrollable_bounce_enabled_get_delegate efl_ui_scrollable_bounce_enabled_get_static_delegate;
-
-
- private delegate void efl_ui_scrollable_bounce_enabled_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool horiz, [MarshalAs(UnmanagedType.U1)] bool vert);
-
-
- public delegate void efl_ui_scrollable_bounce_enabled_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool horiz, [MarshalAs(UnmanagedType.U1)] bool vert);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_bounce_enabled_set_api_delegate> efl_ui_scrollable_bounce_enabled_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_bounce_enabled_set_api_delegate>(Module, "efl_ui_scrollable_bounce_enabled_set");
-
- private static void bounce_enabled_set(System.IntPtr obj, System.IntPtr pd, bool horiz, bool vert)
- {
- Eina.Log.Debug("function efl_ui_scrollable_bounce_enabled_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Grid)ws.Target).SetBounceEnabled(horiz, vert);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_scrollable_bounce_enabled_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), horiz, vert);
- }
- }
-
- private static efl_ui_scrollable_bounce_enabled_set_delegate efl_ui_scrollable_bounce_enabled_set_static_delegate;
-
- [return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_ui_scrollable_scroll_freeze_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- [return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_ui_scrollable_scroll_freeze_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_freeze_get_api_delegate> efl_ui_scrollable_scroll_freeze_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_freeze_get_api_delegate>(Module, "efl_ui_scrollable_scroll_freeze_get");
-
- private static bool scroll_freeze_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_scrollable_scroll_freeze_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- bool _ret_var = default(bool);
- try
- {
- _ret_var = ((Grid)ws.Target).GetScrollFreeze();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_scrollable_scroll_freeze_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_scrollable_scroll_freeze_get_delegate efl_ui_scrollable_scroll_freeze_get_static_delegate;
-
-
- private delegate void efl_ui_scrollable_scroll_freeze_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool freeze);
-
-
- public delegate void efl_ui_scrollable_scroll_freeze_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool freeze);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_freeze_set_api_delegate> efl_ui_scrollable_scroll_freeze_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_freeze_set_api_delegate>(Module, "efl_ui_scrollable_scroll_freeze_set");
-
- private static void scroll_freeze_set(System.IntPtr obj, System.IntPtr pd, bool freeze)
- {
- Eina.Log.Debug("function efl_ui_scrollable_scroll_freeze_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Grid)ws.Target).SetScrollFreeze(freeze);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_scrollable_scroll_freeze_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), freeze);
- }
- }
-
- private static efl_ui_scrollable_scroll_freeze_set_delegate efl_ui_scrollable_scroll_freeze_set_static_delegate;
-
- [return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_ui_scrollable_scroll_hold_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- [return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_ui_scrollable_scroll_hold_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_hold_get_api_delegate> efl_ui_scrollable_scroll_hold_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_hold_get_api_delegate>(Module, "efl_ui_scrollable_scroll_hold_get");
-
- private static bool scroll_hold_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_scrollable_scroll_hold_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- bool _ret_var = default(bool);
- try
- {
- _ret_var = ((Grid)ws.Target).GetScrollHold();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_scrollable_scroll_hold_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_scrollable_scroll_hold_get_delegate efl_ui_scrollable_scroll_hold_get_static_delegate;
-
-
- private delegate void efl_ui_scrollable_scroll_hold_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool hold);
-
-
- public delegate void efl_ui_scrollable_scroll_hold_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool hold);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_hold_set_api_delegate> efl_ui_scrollable_scroll_hold_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_hold_set_api_delegate>(Module, "efl_ui_scrollable_scroll_hold_set");
-
- private static void scroll_hold_set(System.IntPtr obj, System.IntPtr pd, bool hold)
- {
- Eina.Log.Debug("function efl_ui_scrollable_scroll_hold_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Grid)ws.Target).SetScrollHold(hold);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_scrollable_scroll_hold_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), hold);
- }
- }
-
- private static efl_ui_scrollable_scroll_hold_set_delegate efl_ui_scrollable_scroll_hold_set_static_delegate;
-
-
- private delegate void efl_ui_scrollable_looping_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] out bool loop_h, [MarshalAs(UnmanagedType.U1)] out bool loop_v);
-
-
- public delegate void efl_ui_scrollable_looping_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] out bool loop_h, [MarshalAs(UnmanagedType.U1)] out bool loop_v);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_looping_get_api_delegate> efl_ui_scrollable_looping_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_looping_get_api_delegate>(Module, "efl_ui_scrollable_looping_get");
-
- private static void looping_get(System.IntPtr obj, System.IntPtr pd, out bool loop_h, out bool loop_v)
- {
- Eina.Log.Debug("function efl_ui_scrollable_looping_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- loop_h = default(bool); loop_v = default(bool);
- try
- {
- ((Grid)ws.Target).GetLooping(out loop_h, out loop_v);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_scrollable_looping_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out loop_h, out loop_v);
- }
- }
-
- private static efl_ui_scrollable_looping_get_delegate efl_ui_scrollable_looping_get_static_delegate;
-
-
- private delegate void efl_ui_scrollable_looping_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool loop_h, [MarshalAs(UnmanagedType.U1)] bool loop_v);
-
-
- public delegate void efl_ui_scrollable_looping_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool loop_h, [MarshalAs(UnmanagedType.U1)] bool loop_v);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_looping_set_api_delegate> efl_ui_scrollable_looping_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_looping_set_api_delegate>(Module, "efl_ui_scrollable_looping_set");
-
- private static void looping_set(System.IntPtr obj, System.IntPtr pd, bool loop_h, bool loop_v)
- {
- Eina.Log.Debug("function efl_ui_scrollable_looping_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Grid)ws.Target).SetLooping(loop_h, loop_v);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_scrollable_looping_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), loop_h, loop_v);
- }
- }
-
- private static efl_ui_scrollable_looping_set_delegate efl_ui_scrollable_looping_set_static_delegate;
-
-
- private delegate Efl.Ui.ScrollBlock efl_ui_scrollable_movement_block_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate Efl.Ui.ScrollBlock efl_ui_scrollable_movement_block_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_movement_block_get_api_delegate> efl_ui_scrollable_movement_block_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_movement_block_get_api_delegate>(Module, "efl_ui_scrollable_movement_block_get");
-
- private static Efl.Ui.ScrollBlock movement_block_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_scrollable_movement_block_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Efl.Ui.ScrollBlock _ret_var = default(Efl.Ui.ScrollBlock);
- try
- {
- _ret_var = ((Grid)ws.Target).GetMovementBlock();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_scrollable_movement_block_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_scrollable_movement_block_get_delegate efl_ui_scrollable_movement_block_get_static_delegate;
-
-
- private delegate void efl_ui_scrollable_movement_block_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ScrollBlock block);
-
-
- public delegate void efl_ui_scrollable_movement_block_set_api_delegate(System.IntPtr obj, Efl.Ui.ScrollBlock block);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_movement_block_set_api_delegate> efl_ui_scrollable_movement_block_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_movement_block_set_api_delegate>(Module, "efl_ui_scrollable_movement_block_set");
-
- private static void movement_block_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ScrollBlock block)
- {
- Eina.Log.Debug("function efl_ui_scrollable_movement_block_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Grid)ws.Target).SetMovementBlock(block);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_scrollable_movement_block_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), block);
- }
- }
-
- private static efl_ui_scrollable_movement_block_set_delegate efl_ui_scrollable_movement_block_set_static_delegate;
-
-
- private delegate void efl_ui_scrollable_gravity_get_delegate(System.IntPtr obj, System.IntPtr pd, out double x, out double y);
-
-
- public delegate void efl_ui_scrollable_gravity_get_api_delegate(System.IntPtr obj, out double x, out double y);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_gravity_get_api_delegate> efl_ui_scrollable_gravity_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_gravity_get_api_delegate>(Module, "efl_ui_scrollable_gravity_get");
-
- private static void gravity_get(System.IntPtr obj, System.IntPtr pd, out double x, out double y)
- {
- Eina.Log.Debug("function efl_ui_scrollable_gravity_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- x = default(double); y = default(double);
- try
- {
- ((Grid)ws.Target).GetGravity(out x, out y);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_scrollable_gravity_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out x, out y);
- }
- }
-
- private static efl_ui_scrollable_gravity_get_delegate efl_ui_scrollable_gravity_get_static_delegate;
-
-
- private delegate void efl_ui_scrollable_gravity_set_delegate(System.IntPtr obj, System.IntPtr pd, double x, double y);
-
-
- public delegate void efl_ui_scrollable_gravity_set_api_delegate(System.IntPtr obj, double x, double y);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_gravity_set_api_delegate> efl_ui_scrollable_gravity_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_gravity_set_api_delegate>(Module, "efl_ui_scrollable_gravity_set");
-
- private static void gravity_set(System.IntPtr obj, System.IntPtr pd, double x, double y)
- {
- Eina.Log.Debug("function efl_ui_scrollable_gravity_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Grid)ws.Target).SetGravity(x, y);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_scrollable_gravity_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y);
- }
- }
-
- private static efl_ui_scrollable_gravity_set_delegate efl_ui_scrollable_gravity_set_static_delegate;
-
-
- private delegate void efl_ui_scrollable_match_content_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool w, [MarshalAs(UnmanagedType.U1)] bool h);
-
-
- public delegate void efl_ui_scrollable_match_content_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool w, [MarshalAs(UnmanagedType.U1)] bool h);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_match_content_set_api_delegate> efl_ui_scrollable_match_content_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_match_content_set_api_delegate>(Module, "efl_ui_scrollable_match_content_set");
-
- private static void match_content_set(System.IntPtr obj, System.IntPtr pd, bool w, bool h)
- {
- Eina.Log.Debug("function efl_ui_scrollable_match_content_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Grid)ws.Target).SetMatchContent(w, h);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_scrollable_match_content_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), w, h);
- }
- }
-
- private static efl_ui_scrollable_match_content_set_delegate efl_ui_scrollable_match_content_set_static_delegate;
-
-
- private delegate Eina.Position2D.NativeStruct efl_ui_scrollable_step_size_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate Eina.Position2D.NativeStruct efl_ui_scrollable_step_size_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_step_size_get_api_delegate> efl_ui_scrollable_step_size_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_step_size_get_api_delegate>(Module, "efl_ui_scrollable_step_size_get");
-
- private static Eina.Position2D.NativeStruct step_size_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_scrollable_step_size_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Eina.Position2D _ret_var = default(Eina.Position2D);
- try
- {
- _ret_var = ((Grid)ws.Target).GetStepSize();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_scrollable_step_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_scrollable_step_size_get_delegate efl_ui_scrollable_step_size_get_static_delegate;
-
-
- private delegate void efl_ui_scrollable_step_size_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Position2D.NativeStruct step);
-
-
- public delegate void efl_ui_scrollable_step_size_set_api_delegate(System.IntPtr obj, Eina.Position2D.NativeStruct step);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_step_size_set_api_delegate> efl_ui_scrollable_step_size_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_step_size_set_api_delegate>(Module, "efl_ui_scrollable_step_size_set");
-
- private static void step_size_set(System.IntPtr obj, System.IntPtr pd, Eina.Position2D.NativeStruct step)
- {
- Eina.Log.Debug("function efl_ui_scrollable_step_size_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Eina.Position2D _in_step = step;
-
- try
- {
- ((Grid)ws.Target).SetStepSize(_in_step);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_scrollable_step_size_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), step);
- }
- }
-
- private static efl_ui_scrollable_step_size_set_delegate efl_ui_scrollable_step_size_set_static_delegate;
-
-
- private delegate void efl_ui_scrollable_scroll_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct rect, [MarshalAs(UnmanagedType.U1)] bool animation);
-
-
- public delegate void efl_ui_scrollable_scroll_api_delegate(System.IntPtr obj, Eina.Rect.NativeStruct rect, [MarshalAs(UnmanagedType.U1)] bool animation);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_api_delegate> efl_ui_scrollable_scroll_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_api_delegate>(Module, "efl_ui_scrollable_scroll");
-
- private static void scroll(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct rect, bool animation)
- {
- Eina.Log.Debug("function efl_ui_scrollable_scroll was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Eina.Rect _in_rect = rect;
-
- try
- {
- ((Grid)ws.Target).Scroll(_in_rect, animation);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_scrollable_scroll_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), rect, animation);
- }
- }
-
- private static efl_ui_scrollable_scroll_delegate efl_ui_scrollable_scroll_static_delegate;
-
-
- private delegate void efl_ui_scrollbar_bar_mode_get_delegate(System.IntPtr obj, System.IntPtr pd, out Efl.Ui.ScrollbarMode hbar, out Efl.Ui.ScrollbarMode vbar);
-
-
- public delegate void efl_ui_scrollbar_bar_mode_get_api_delegate(System.IntPtr obj, out Efl.Ui.ScrollbarMode hbar, out Efl.Ui.ScrollbarMode vbar);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_mode_get_api_delegate> efl_ui_scrollbar_bar_mode_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_mode_get_api_delegate>(Module, "efl_ui_scrollbar_bar_mode_get");
-
- private static void bar_mode_get(System.IntPtr obj, System.IntPtr pd, out Efl.Ui.ScrollbarMode hbar, out Efl.Ui.ScrollbarMode vbar)
- {
- Eina.Log.Debug("function efl_ui_scrollbar_bar_mode_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- hbar = default(Efl.Ui.ScrollbarMode); vbar = default(Efl.Ui.ScrollbarMode);
- try
- {
- ((Grid)ws.Target).GetBarMode(out hbar, out vbar);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_scrollbar_bar_mode_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out hbar, out vbar);
- }
- }
-
- private static efl_ui_scrollbar_bar_mode_get_delegate efl_ui_scrollbar_bar_mode_get_static_delegate;
-
-
- private delegate void efl_ui_scrollbar_bar_mode_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ScrollbarMode hbar, Efl.Ui.ScrollbarMode vbar);
-
-
- public delegate void efl_ui_scrollbar_bar_mode_set_api_delegate(System.IntPtr obj, Efl.Ui.ScrollbarMode hbar, Efl.Ui.ScrollbarMode vbar);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_mode_set_api_delegate> efl_ui_scrollbar_bar_mode_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_mode_set_api_delegate>(Module, "efl_ui_scrollbar_bar_mode_set");
-
- private static void bar_mode_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ScrollbarMode hbar, Efl.Ui.ScrollbarMode vbar)
- {
- Eina.Log.Debug("function efl_ui_scrollbar_bar_mode_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Grid)ws.Target).SetBarMode(hbar, vbar);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_scrollbar_bar_mode_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), hbar, vbar);
- }
- }
-
- private static efl_ui_scrollbar_bar_mode_set_delegate efl_ui_scrollbar_bar_mode_set_static_delegate;
-
-
- private delegate void efl_ui_scrollbar_bar_size_get_delegate(System.IntPtr obj, System.IntPtr pd, out double width, out double height);
-
-
- public delegate void efl_ui_scrollbar_bar_size_get_api_delegate(System.IntPtr obj, out double width, out double height);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_size_get_api_delegate> efl_ui_scrollbar_bar_size_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_size_get_api_delegate>(Module, "efl_ui_scrollbar_bar_size_get");
-
- private static void bar_size_get(System.IntPtr obj, System.IntPtr pd, out double width, out double height)
- {
- Eina.Log.Debug("function efl_ui_scrollbar_bar_size_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- width = default(double); height = default(double);
- try
- {
- ((Grid)ws.Target).GetBarSize(out width, out height);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_scrollbar_bar_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out width, out height);
- }
- }
-
- private static efl_ui_scrollbar_bar_size_get_delegate efl_ui_scrollbar_bar_size_get_static_delegate;
-
-
- private delegate void efl_ui_scrollbar_bar_position_get_delegate(System.IntPtr obj, System.IntPtr pd, out double posx, out double posy);
-
-
- public delegate void efl_ui_scrollbar_bar_position_get_api_delegate(System.IntPtr obj, out double posx, out double posy);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_position_get_api_delegate> efl_ui_scrollbar_bar_position_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_position_get_api_delegate>(Module, "efl_ui_scrollbar_bar_position_get");
-
- private static void bar_position_get(System.IntPtr obj, System.IntPtr pd, out double posx, out double posy)
- {
- Eina.Log.Debug("function efl_ui_scrollbar_bar_position_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- posx = default(double); posy = default(double);
- try
- {
- ((Grid)ws.Target).GetBarPosition(out posx, out posy);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_scrollbar_bar_position_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out posx, out posy);
- }
- }
-
- private static efl_ui_scrollbar_bar_position_get_delegate efl_ui_scrollbar_bar_position_get_static_delegate;
-
-
- private delegate void efl_ui_scrollbar_bar_position_set_delegate(System.IntPtr obj, System.IntPtr pd, double posx, double posy);
-
-
- public delegate void efl_ui_scrollbar_bar_position_set_api_delegate(System.IntPtr obj, double posx, double posy);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_position_set_api_delegate> efl_ui_scrollbar_bar_position_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_position_set_api_delegate>(Module, "efl_ui_scrollbar_bar_position_set");
-
- private static void bar_position_set(System.IntPtr obj, System.IntPtr pd, double posx, double posy)
+ private static IntPtr GetEflClassStatic()
+ {
+ return Efl.Ui.Grid.efl_ui_grid_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.Collection.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)
{
- Eina.Log.Debug("function efl_ui_scrollbar_bar_position_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Grid)ws.Target).SetBarPosition(posx, posy);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_scrollbar_bar_position_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), posx, posy);
- }
+ var descs = new System.Collections.Generic.List<Efl_Op_Description>();
+ descs.AddRange(base.GetEoOps(type));
+ return descs;
}
-
- private static efl_ui_scrollbar_bar_position_set_delegate efl_ui_scrollbar_bar_position_set_static_delegate;
-
-
- private delegate void efl_ui_scrollbar_bar_visibility_update_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate void efl_ui_scrollbar_bar_visibility_update_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_visibility_update_api_delegate> efl_ui_scrollbar_bar_visibility_update_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_visibility_update_api_delegate>(Module, "efl_ui_scrollbar_bar_visibility_update");
-
- private static void bar_visibility_update(System.IntPtr obj, System.IntPtr pd)
+ /// <summary>Returns the Eo class for the native methods of this class.</summary>
+ /// <returns>The native class pointer.</returns>
+ public override IntPtr GetEflClass()
{
- Eina.Log.Debug("function efl_ui_scrollbar_bar_visibility_update was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Grid)ws.Target).UpdateBarVisibility();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_scrollbar_bar_visibility_update_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
+ return Efl.Ui.Grid.efl_ui_grid_class_get();
}
- private static efl_ui_scrollbar_bar_visibility_update_delegate efl_ui_scrollbar_bar_visibility_update_static_delegate;
+ #pragma warning disable CA1707, CS1591, SA1300, SA1600
#pragma warning restore CA1707, CS1591, SA1300, SA1600
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiGrid_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
-/// <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>
+/// <summary>Grid Default Item class.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.GridDefaultItem.NativeMethods]
[Efl.Eo.BindingEntity]
-public class GridDefaultItem : Efl.Ui.GridItem, Efl.IContent, Efl.IText, Efl.ITextMarkup
+public class GridDefaultItem : Efl.Ui.DefaultItem
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected GridDefaultItem(ConstructingHandle ch) : base(ch)
{
{
}
- /// <summary>Sent after the content is set or unset using the current content object.
- /// (Since EFL 1.22)</summary>
- public event EventHandler<Efl.IContentContentChangedEvt_Args> ContentChangedEvt
- {
- 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.IContentContentChangedEvt_Args args = new Efl.IContentContentChangedEvt_Args();
- args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Gfx.IEntityConcrete);
- try
- {
- value?.Invoke(obj, args);
- }
- catch (Exception e)
- {
- Eina.Log.Error(e.ToString());
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
- }
- };
-
- string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ContentChangedEvt.</summary>
- public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e)
- {
- var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
- 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 = e.arg.NativeHandle;
- Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
- }
- /// <summary>The extra content part for grid default item. extra part is the spare content of grid item. you can swallow small badge widget such as check, radio.</summary>
- public Efl.Ui.ItemPartExtra EndPart
- {
- get
- {
- return GetPart("end") as Efl.Ui.ItemPartExtra;
- }
- }
- /// <summary>The icon content part for grid default item. icon part is the main content of grid item.</summary>
- public Efl.Ui.ItemPartIcon IconPart
- {
- get
- {
- return GetPart("icon") as Efl.Ui.ItemPartIcon;
- }
- }
- /// <summary>The text part for grid default item. text part is the caption of grid item.</summary>
- public Efl.Ui.ItemPartText TextPart
- {
- get
- {
- return GetPart("text") as Efl.Ui.ItemPartText;
- }
- }
- /// <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>
- /// <returns>The sub-object.</returns>
- virtual public Efl.Gfx.IEntity GetContent() {
- 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;
- }
- /// <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>
- /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),content);
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Remove the sub-object currently set as content of this object and return it. This object becomes empty.
- /// (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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Retrieves the text string currently being displayed by the given text object.
- /// Do not free() the return value.
- ///
- /// See also <see cref="Efl.IText.GetText"/>.
- /// (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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Sets the text string to be displayed by the given text object.
- /// See also <see cref="Efl.IText.GetText"/>.
- /// (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((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((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((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.
- /// 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>
- /// <value>The sub-object.</value>
- public Efl.Gfx.IEntity Content {
- get { return GetContent(); }
- set { SetContent(value); }
- }
- /// <summary>Markup property</summary>
- /// <value>The markup-text representation set to this text.</value>
- public System.String Markup {
- get { return GetMarkup(); }
- set { SetMarkup(value); }
- }
private static IntPtr GetEflClassStatic()
{
return Efl.Ui.GridDefaultItem.efl_ui_grid_default_item_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.GridItem.NativeMethods
+ public new class NativeMethods : Efl.Ui.DefaultItem.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_content_get_static_delegate == null)
- {
- efl_content_get_static_delegate = new efl_content_get_delegate(content_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetContent") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_get"), func = Marshal.GetFunctionPointerForDelegate(efl_content_get_static_delegate) });
- }
-
- if (efl_content_set_static_delegate == null)
- {
- efl_content_set_static_delegate = new efl_content_set_delegate(content_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetContent") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_set"), func = Marshal.GetFunctionPointerForDelegate(efl_content_set_static_delegate) });
- }
-
- if (efl_content_unset_static_delegate == null)
- {
- efl_content_unset_static_delegate = new efl_content_unset_delegate(content_unset);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "UnsetContent") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_unset"), func = Marshal.GetFunctionPointerForDelegate(efl_content_unset_static_delegate) });
- }
-
- if (efl_text_get_static_delegate == null)
- {
- efl_text_get_static_delegate = new efl_text_get_delegate(text_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetText") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_get_static_delegate) });
- }
-
- if (efl_text_set_static_delegate == null)
- {
- efl_text_set_static_delegate = new efl_text_set_delegate(text_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetText") != null)
- {
- 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_text_markup_get_static_delegate == null)
- {
- efl_text_markup_get_static_delegate = new efl_text_markup_get_delegate(markup_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetMarkup") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_markup_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_markup_get_static_delegate) });
- }
-
- if (efl_text_markup_set_static_delegate == null)
- {
- efl_text_markup_set_static_delegate = new efl_text_markup_set_delegate(markup_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetMarkup") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_markup_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_markup_set_static_delegate) });
- }
-
descs.AddRange(base.GetEoOps(type));
return descs;
}
#pragma warning disable CA1707, CS1591, SA1300, SA1600
- [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);
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- public delegate Efl.Gfx.IEntity efl_content_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_content_get_api_delegate> efl_content_get_ptr = new Efl.Eo.FunctionWrapper<efl_content_get_api_delegate>(Module, "efl_content_get");
-
- private static Efl.Gfx.IEntity content_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_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 = ((GridDefaultItem)ws.Target).GetContent();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_content_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_content_get_delegate efl_content_get_static_delegate;
-
- [return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_content_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity content);
-
- [return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_content_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity content);
-
- public static Efl.Eo.FunctionWrapper<efl_content_set_api_delegate> efl_content_set_ptr = new Efl.Eo.FunctionWrapper<efl_content_set_api_delegate>(Module, "efl_content_set");
-
- private static bool content_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity content)
- {
- Eina.Log.Debug("function efl_content_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- bool _ret_var = default(bool);
- try
- {
- _ret_var = ((GridDefaultItem)ws.Target).SetContent(content);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_content_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), content);
- }
- }
-
- private static efl_content_set_delegate efl_content_set_static_delegate;
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- private delegate Efl.Gfx.IEntity efl_content_unset_delegate(System.IntPtr obj, System.IntPtr pd);
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- public delegate Efl.Gfx.IEntity efl_content_unset_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_content_unset_api_delegate> efl_content_unset_ptr = new Efl.Eo.FunctionWrapper<efl_content_unset_api_delegate>(Module, "efl_content_unset");
-
- private static Efl.Gfx.IEntity content_unset(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_content_unset was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
- try
- {
- _ret_var = ((GridDefaultItem)ws.Target).UnsetContent();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_content_unset_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_content_unset_delegate efl_content_unset_static_delegate;
-
- [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
- private delegate System.String efl_text_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
- public delegate System.String efl_text_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_text_get_api_delegate> efl_text_get_ptr = new Efl.Eo.FunctionWrapper<efl_text_get_api_delegate>(Module, "efl_text_get");
-
- private static System.String text_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_text_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- System.String _ret_var = default(System.String);
- try
- {
- _ret_var = ((GridDefaultItem)ws.Target).GetText();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_text_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_text_get_delegate efl_text_get_static_delegate;
-
-
- private delegate void efl_text_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String text);
-
-
- public delegate void efl_text_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String text);
-
- public static Efl.Eo.FunctionWrapper<efl_text_set_api_delegate> efl_text_set_ptr = new Efl.Eo.FunctionWrapper<efl_text_set_api_delegate>(Module, "efl_text_set");
-
- private static void text_set(System.IntPtr obj, System.IntPtr pd, System.String text)
- {
- Eina.Log.Debug("function efl_text_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((GridDefaultItem)ws.Target).SetText(text);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_text_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), text);
- }
- }
-
- private static efl_text_set_delegate efl_text_set_static_delegate;
-
- [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
- private delegate System.String efl_text_markup_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
- public delegate System.String efl_text_markup_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_text_markup_get_api_delegate> efl_text_markup_get_ptr = new Efl.Eo.FunctionWrapper<efl_text_markup_get_api_delegate>(Module, "efl_text_markup_get");
-
- private static System.String markup_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_text_markup_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- System.String _ret_var = default(System.String);
- try
- {
- _ret_var = ((GridDefaultItem)ws.Target).GetMarkup();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_text_markup_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_text_markup_get_delegate efl_text_markup_get_static_delegate;
-
-
- private delegate void efl_text_markup_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String markup);
-
-
- public delegate void efl_text_markup_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String markup);
-
- public static Efl.Eo.FunctionWrapper<efl_text_markup_set_api_delegate> efl_text_markup_set_ptr = new Efl.Eo.FunctionWrapper<efl_text_markup_set_api_delegate>(Module, "efl_text_markup_set");
-
- private static void markup_set(System.IntPtr obj, System.IntPtr pd, System.String markup)
- {
- Eina.Log.Debug("function efl_text_markup_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((GridDefaultItem)ws.Target).SetMarkup(markup);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_text_markup_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), markup);
- }
- }
-
- private static efl_text_markup_set_delegate efl_text_markup_set_static_delegate;
-
#pragma warning restore CA1707, CS1591, SA1300, SA1600
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiGridDefaultItem_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+++ /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 {
-
-[Efl.Ui.GridItem.NativeMethods]
-[Efl.Eo.BindingEntity]
-public abstract class GridItem : Efl.Ui.Item
-{
- ///<summary>Pointer to the native class description.</summary>
- public override System.IntPtr NativeClass
- {
- get
- {
- if (((object)this).GetType() == typeof(GridItem))
- {
- 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_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>
- public GridItem(Efl.Object parent
- , System.String style = null) : base(efl_ui_grid_item_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 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="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(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="parent">The Efl.Object parent of this instance.</param>
- protected GridItem(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
- {
- }
-
- private static IntPtr GetEflClassStatic()
- {
- return Efl.Ui.GridItem.efl_ui_grid_item_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.Item.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.GridItem.efl_ui_grid_item_class_get();
- }
-
- #pragma warning disable CA1707, CS1591, SA1300, SA1600
-
- #pragma warning restore CA1707, CS1591, SA1300, SA1600
-
-}
-}
-}
-
-}
-
--- /dev/null
+#define EFL_BETA
+#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>Group item for grids and lists</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+[Efl.Ui.GroupItem.NativeMethods]
+[Efl.Eo.BindingEntity]
+public class GroupItem : Efl.Ui.DefaultItem, Efl.IPack, Efl.IPackLinear
+{
+ /// <summary>Pointer to the native class description.</summary>
+ public override System.IntPtr NativeClass
+ {
+ get
+ {
+ if (((object)this).GetType() == typeof(GroupItem))
+ {
+ 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_group_item_class_get();
+ /// <summary>Initializes a new instance of the <see cref="GroupItem"/> 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 GroupItem(Efl.Object parent
+ , System.String style = null) : base(efl_ui_group_item_class_get(), parent)
+ {
+ if (Efl.Eo.Globals.ParamHelperCheck(style))
+ {
+ SetStyle(Efl.Eo.Globals.GetParamHelper(style));
+ }
+
+ FinishInstantiation();
+ }
+
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected GroupItem(ConstructingHandle ch) : base(ch)
+ {
+ }
+
+ /// <summary>Initializes a new instance of the <see cref="GroupItem"/> 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 GroupItem(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
+ {
+ }
+
+ /// <summary>Initializes a new instance of the <see cref="GroupItem"/> 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 GroupItem(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
+ {
+ }
+
+ /// <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;
+ }
+ private static IntPtr GetEflClassStatic()
+ {
+ return Efl.Ui.GroupItem.efl_ui_group_item_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.DefaultItem.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_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.GroupItem.efl_ui_group_item_class_get();
+ }
+
+ #pragma warning disable CA1707, CS1591, SA1300, SA1600
+
+ [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 = ((GroupItem)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 = ((GroupItem)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 = ((GroupItem)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 = ((GroupItem)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 = ((GroupItem)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 = ((GroupItem)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 = ((GroupItem)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 = ((GroupItem)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 = ((GroupItem)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 = ((GroupItem)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 = ((GroupItem)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 = ((GroupItem)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
+
+}
+}
+}
+
+}
+
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiGroupItem_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>A common Internationalization interface for UI objects.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.II18nConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface II18n :
/// If mirrored, an object is in RTL (right to left) mode instead of LTR (left to right).</summary>
/// <value><c>true</c> for RTL, <c>false</c> for LTR (default).</value>
bool Mirrored {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>Whether the property <see cref="Efl.Ui.II18n.Mirrored"/> should be set automatically.
/// If enabled, the system or application configuration will be used to set the value of <see cref="Efl.Ui.II18n.Mirrored"/>.
/// 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>
/// <value>Whether the widget uses automatic mirroring</value>
bool MirroredAutomatic {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>The (human) language for this object.</summary>
/// <value>The current language.</value>
System.String Language {
- get ;
- set ;
+ get;
+ set;
}
}
/// <summary>A common Internationalization interface for UI objects.</summary>
-sealed public class II18nConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class II18nConcrete :
Efl.Eo.EoWrapper
, II18n
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private II18nConcrete(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiII18nConcrete_ExtensionMethods {
+ public static Efl.BindableProperty<bool> Mirrored<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.II18n, T>magic = null) where T : Efl.Ui.II18n {
+ return new Efl.BindableProperty<bool>("mirrored", fac);
+ }
+
+ public static Efl.BindableProperty<bool> MirroredAutomatic<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.II18n, T>magic = null) where T : Efl.Ui.II18n {
+ return new Efl.BindableProperty<bool>("mirrored_automatic", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> Language<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.II18n, T>magic = null) where T : Efl.Ui.II18n {
+ return new Efl.BindableProperty<System.String>("language", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.Image.DropEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called when drop from drag and drop happened</value>
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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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
+public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IArrangement, Efl.Gfx.IImage, Efl.Gfx.IImageLoadController, Efl.Gfx.IImageOrientable, Efl.Gfx.IView, Efl.Input.IClickable, Efl.Layout.ICalc, Efl.Layout.IGroup, Efl.Layout.ISignal, Efl.Ui.IDraggable
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Image(ConstructingHandle ch) : base(ch)
{
}
/// <summary>Called when drop from drag and drop happened</summary>
+ /// <value><see cref="Efl.Ui.ImageDropEvt_Args"/></value>
public event EventHandler<Efl.Ui.ImageDropEvt_Args> DropEvt
{
add
}
}
}
- ///<summary>Method to raise event DropEvt.</summary>
+ /// <summary>Method to raise event DropEvt.</summary>
public void OnDropEvt(Efl.Ui.ImageDropEvt_Args e)
{
var key = "_EFL_UI_IMAGE_EVENT_DROP";
}
}
}
- ///<summary>Method to raise event ImagePreloadEvt.</summary>
+ /// <summary>Method to raise event ImagePreloadEvt.</summary>
public void OnImagePreloadEvt(EventArgs e)
{
var key = "_EFL_GFX_IMAGE_EVENT_IMAGE_PRELOAD";
}
}
}
- ///<summary>Method to raise event ImageResizeEvt.</summary>
+ /// <summary>Method to raise event ImageResizeEvt.</summary>
public void OnImageResizeEvt(EventArgs e)
{
var key = "_EFL_GFX_IMAGE_EVENT_IMAGE_RESIZE";
}
}
}
- ///<summary>Method to raise event ImageUnloadEvt.</summary>
+ /// <summary>Method to raise event ImageUnloadEvt.</summary>
public void OnImageUnloadEvt(EventArgs e)
{
var key = "_EFL_GFX_IMAGE_EVENT_IMAGE_UNLOAD";
}
}
}
- ///<summary>Method to raise event LoadDoneEvt.</summary>
+ /// <summary>Method to raise event LoadDoneEvt.</summary>
public void OnLoadDoneEvt(EventArgs e)
{
var key = "_EFL_GFX_IMAGE_LOAD_CONTROLLER_EVENT_LOAD_DONE";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
/// <summary>Called when an error happened during image loading</summary>
+ /// <value><see cref="Efl.Gfx.IImageLoadControllerLoadErrorEvt_Args"/></value>
public event EventHandler<Efl.Gfx.IImageLoadControllerLoadErrorEvt_Args> LoadErrorEvt
{
add
}
}
}
- ///<summary>Method to raise event LoadErrorEvt.</summary>
+ /// <summary>Method to raise event LoadErrorEvt.</summary>
public void OnLoadErrorEvt(Efl.Gfx.IImageLoadControllerLoadErrorEvt_Args e)
{
var key = "_EFL_GFX_IMAGE_LOAD_CONTROLLER_EVENT_LOAD_ERROR";
Marshal.FreeHGlobal(info);
}
}
- /// <summary>The layout was recalculated.
- /// (Since EFL 1.22)</summary>
- public event EventHandler RecalcEvt
+ /// <summary>Called when object is in sequence pressed and unpressed, by the primary button</summary>
+ /// <value><see cref="Efl.Input.IClickableClickedEvt_Args"/></value>
+ public event EventHandler<Efl.Input.IClickableClickedEvt_Args> ClickedEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- EventArgs args = EventArgs.Empty;
+ Efl.Input.IClickableClickedEvt_Args args = new Efl.Input.IClickableClickedEvt_Args();
+ args.arg = evt.Info;
try
{
value?.Invoke(obj, args);
}
};
- string key = "_EFL_LAYOUT_EVENT_RECALC";
+ string key = "_EFL_INPUT_EVENT_CLICKED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_LAYOUT_EVENT_RECALC";
+ string key = "_EFL_INPUT_EVENT_CLICKED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event RecalcEvt.</summary>
- public void OnRecalcEvt(EventArgs e)
+ /// <summary>Method to raise event ClickedEvt.</summary>
+ public void OnClickedEvt(Efl.Input.IClickableClickedEvt_Args e)
{
- var key = "_EFL_LAYOUT_EVENT_RECALC";
+ var key = "_EFL_INPUT_EVENT_CLICKED";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
return;
}
- Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
+ 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 circular dependency between parts of the object was found.
- /// (Since EFL 1.22)</summary>
- public event EventHandler<Efl.Layout.ICalcCircularDependencyEvt_Args> CircularDependencyEvt
+ /// <summary>Called when object is in sequence pressed and unpressed by any button. The button that triggered the event can be found in the event information.</summary>
+ /// <value><see cref="Efl.Input.IClickableClickedAnyEvt_Args"/></value>
+ public event EventHandler<Efl.Input.IClickableClickedAnyEvt_Args> ClickedAnyEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- Efl.Layout.ICalcCircularDependencyEvt_Args args = new Efl.Layout.ICalcCircularDependencyEvt_Args();
- args.arg = new Eina.Array<System.String>(evt.Info, false, false);
+ Efl.Input.IClickableClickedAnyEvt_Args args = new Efl.Input.IClickableClickedAnyEvt_Args();
+ args.arg = evt.Info;
try
{
value?.Invoke(obj, args);
}
};
- string key = "_EFL_LAYOUT_EVENT_CIRCULAR_DEPENDENCY";
+ string key = "_EFL_INPUT_EVENT_CLICKED_ANY";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_LAYOUT_EVENT_CIRCULAR_DEPENDENCY";
+ string key = "_EFL_INPUT_EVENT_CLICKED_ANY";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event CircularDependencyEvt.</summary>
- public void OnCircularDependencyEvt(Efl.Layout.ICalcCircularDependencyEvt_Args e)
+ /// <summary>Method to raise event ClickedAnyEvt.</summary>
+ public void OnClickedAnyEvt(Efl.Input.IClickableClickedAnyEvt_Args e)
{
- var key = "_EFL_LAYOUT_EVENT_CIRCULAR_DEPENDENCY";
+ var key = "_EFL_INPUT_EVENT_CLICKED_ANY";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
return;
}
- IntPtr info = e.arg.Handle;
- Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
+ 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>Called when object is in sequence pressed and unpressed, by the primary button</summary>
- public event EventHandler<Efl.Ui.IClickableClickedEvt_Args> ClickedEvt
+ /// <summary>Called when the object is pressed, event_info is the button that got pressed</summary>
+ /// <value><see cref="Efl.Input.IClickablePressedEvt_Args"/></value>
+ public event EventHandler<Efl.Input.IClickablePressedEvt_Args> PressedEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- Efl.Ui.IClickableClickedEvt_Args args = new Efl.Ui.IClickableClickedEvt_Args();
- args.arg = evt.Info;
+ Efl.Input.IClickablePressedEvt_Args args = new Efl.Input.IClickablePressedEvt_Args();
+ args.arg = Marshal.ReadInt32(evt.Info);
try
{
value?.Invoke(obj, args);
}
};
- string key = "_EFL_UI_EVENT_CLICKED";
+ string key = "_EFL_INPUT_EVENT_PRESSED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_CLICKED";
+ string key = "_EFL_INPUT_EVENT_PRESSED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event ClickedEvt.</summary>
- public void OnClickedEvt(Efl.Ui.IClickableClickedEvt_Args e)
+ /// <summary>Method to raise event PressedEvt.</summary>
+ public void OnPressedEvt(Efl.Input.IClickablePressedEvt_Args e)
{
- var key = "_EFL_UI_EVENT_CLICKED";
+ var key = "_EFL_INPUT_EVENT_PRESSED";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
return;
}
- IntPtr info = Marshal.AllocHGlobal(Marshal.SizeOf(e.arg));
+ IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(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>Called when object is in sequence pressed and unpressed by any button. The button that triggered the event can be found in the event information.</summary>
- public event EventHandler<Efl.Ui.IClickableClickedAnyEvt_Args> ClickedAnyEvt
+ /// <summary>Called when the object is no longer pressed, event_info is the button that got pressed</summary>
+ /// <value><see cref="Efl.Input.IClickableUnpressedEvt_Args"/></value>
+ public event EventHandler<Efl.Input.IClickableUnpressedEvt_Args> UnpressedEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- Efl.Ui.IClickableClickedAnyEvt_Args args = new Efl.Ui.IClickableClickedAnyEvt_Args();
- args.arg = evt.Info;
+ Efl.Input.IClickableUnpressedEvt_Args args = new Efl.Input.IClickableUnpressedEvt_Args();
+ args.arg = Marshal.ReadInt32(evt.Info);
try
{
value?.Invoke(obj, args);
}
};
- string key = "_EFL_UI_EVENT_CLICKED_ANY";
+ string key = "_EFL_INPUT_EVENT_UNPRESSED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_CLICKED_ANY";
+ string key = "_EFL_INPUT_EVENT_UNPRESSED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event ClickedAnyEvt.</summary>
- public void OnClickedAnyEvt(Efl.Ui.IClickableClickedAnyEvt_Args e)
+ /// <summary>Method to raise event UnpressedEvt.</summary>
+ public void OnUnpressedEvt(Efl.Input.IClickableUnpressedEvt_Args e)
{
- var key = "_EFL_UI_EVENT_CLICKED_ANY";
+ var key = "_EFL_INPUT_EVENT_UNPRESSED";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
return;
}
- IntPtr info = Marshal.AllocHGlobal(Marshal.SizeOf(e.arg));
+ IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(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>Called when the object is pressed, event_info is the button that got pressed</summary>
- public event EventHandler<Efl.Ui.IClickablePressedEvt_Args> PressedEvt
+ /// <summary>Called when the object receives a long press, event_info is the button that got pressed</summary>
+ /// <value><see cref="Efl.Input.IClickableLongpressedEvt_Args"/></value>
+ public event EventHandler<Efl.Input.IClickableLongpressedEvt_Args> LongpressedEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- Efl.Ui.IClickablePressedEvt_Args args = new Efl.Ui.IClickablePressedEvt_Args();
+ Efl.Input.IClickableLongpressedEvt_Args args = new Efl.Input.IClickableLongpressedEvt_Args();
args.arg = Marshal.ReadInt32(evt.Info);
try
{
}
};
- string key = "_EFL_UI_EVENT_PRESSED";
+ string key = "_EFL_INPUT_EVENT_LONGPRESSED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_PRESSED";
+ string key = "_EFL_INPUT_EVENT_LONGPRESSED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event PressedEvt.</summary>
- public void OnPressedEvt(Efl.Ui.IClickablePressedEvt_Args e)
+ /// <summary>Method to raise event LongpressedEvt.</summary>
+ public void OnLongpressedEvt(Efl.Input.IClickableLongpressedEvt_Args e)
{
- var key = "_EFL_UI_EVENT_PRESSED";
+ var key = "_EFL_INPUT_EVENT_LONGPRESSED";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
Marshal.FreeHGlobal(info);
}
}
- /// <summary>Called when the object is no longer pressed, event_info is the button that got pressed</summary>
- public event EventHandler<Efl.Ui.IClickableUnpressedEvt_Args> UnpressedEvt
+ /// <summary>The layout was recalculated.
+ /// (Since EFL 1.22)</summary>
+ public event EventHandler RecalcEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- Efl.Ui.IClickableUnpressedEvt_Args args = new Efl.Ui.IClickableUnpressedEvt_Args();
- args.arg = Marshal.ReadInt32(evt.Info);
+ EventArgs args = EventArgs.Empty;
try
{
value?.Invoke(obj, args);
}
};
- string key = "_EFL_UI_EVENT_UNPRESSED";
+ string key = "_EFL_LAYOUT_EVENT_RECALC";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_UNPRESSED";
+ string key = "_EFL_LAYOUT_EVENT_RECALC";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event UnpressedEvt.</summary>
- public void OnUnpressedEvt(Efl.Ui.IClickableUnpressedEvt_Args e)
+ /// <summary>Method to raise event RecalcEvt.</summary>
+ public void OnRecalcEvt(EventArgs e)
{
- var key = "_EFL_UI_EVENT_UNPRESSED";
+ var key = "_EFL_LAYOUT_EVENT_RECALC";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
return;
}
- IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg);
- try
- {
- Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
- }
- finally
- {
- Marshal.FreeHGlobal(info);
- }
+ Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Called when the object receives a long press, event_info is the button that got pressed</summary>
- public event EventHandler<Efl.Ui.IClickableLongpressedEvt_Args> LongpressedEvt
+ /// <summary>A circular dependency between parts of the object was found.
+ /// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Layout.ICalcCircularDependencyEvt_Args"/></value>
+ public event EventHandler<Efl.Layout.ICalcCircularDependencyEvt_Args> CircularDependencyEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- Efl.Ui.IClickableLongpressedEvt_Args args = new Efl.Ui.IClickableLongpressedEvt_Args();
- args.arg = Marshal.ReadInt32(evt.Info);
+ Efl.Layout.ICalcCircularDependencyEvt_Args args = new Efl.Layout.ICalcCircularDependencyEvt_Args();
+ args.arg = new Eina.Array<System.String>(evt.Info, false, false);
try
{
value?.Invoke(obj, args);
}
};
- string key = "_EFL_UI_EVENT_LONGPRESSED";
+ string key = "_EFL_LAYOUT_EVENT_CIRCULAR_DEPENDENCY";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_LONGPRESSED";
+ string key = "_EFL_LAYOUT_EVENT_CIRCULAR_DEPENDENCY";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event LongpressedEvt.</summary>
- public void OnLongpressedEvt(Efl.Ui.IClickableLongpressedEvt_Args e)
+ /// <summary>Method to raise event CircularDependencyEvt.</summary>
+ public void OnCircularDependencyEvt(Efl.Layout.ICalcCircularDependencyEvt_Args e)
{
- var key = "_EFL_UI_EVENT_LONGPRESSED";
+ var key = "_EFL_LAYOUT_EVENT_CIRCULAR_DEPENDENCY";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
return;
}
- IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg);
- try
- {
- Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
- }
- finally
- {
- Marshal.FreeHGlobal(info);
- }
+ IntPtr info = e.arg.Handle;
+ Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>Called when drag operation starts</summary>
+ /// <value><see cref="Efl.Ui.IDraggableDragEvt_Args"/></value>
public event EventHandler<Efl.Ui.IDraggableDragEvt_Args> DragEvt
{
add
}
}
}
- ///<summary>Method to raise event DragEvt.</summary>
+ /// <summary>Method to raise event DragEvt.</summary>
public void OnDragEvt(Efl.Ui.IDraggableDragEvt_Args e)
{
var key = "_EFL_UI_EVENT_DRAG";
}
}
}
- ///<summary>Method to raise event DragStartEvt.</summary>
+ /// <summary>Method to raise event DragStartEvt.</summary>
public void OnDragStartEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_DRAG_START";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
/// <summary>Called when drag stopped</summary>
+ /// <value><see cref="Efl.Ui.IDraggableDragStopEvt_Args"/></value>
public event EventHandler<Efl.Ui.IDraggableDragStopEvt_Args> DragStopEvt
{
add
}
}
}
- ///<summary>Method to raise event DragStopEvt.</summary>
+ /// <summary>Method to raise event DragStopEvt.</summary>
public void OnDragStopEvt(Efl.Ui.IDraggableDragStopEvt_Args e)
{
var key = "_EFL_UI_EVENT_DRAG_STOP";
}
}
}
- ///<summary>Method to raise event DragEndEvt.</summary>
+ /// <summary>Method to raise event DragEndEvt.</summary>
public void OnDragEndEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_DRAG_END";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
/// <summary>Called when drag starts into up direction</summary>
+ /// <value><see cref="Efl.Ui.IDraggableDragStartUpEvt_Args"/></value>
public event EventHandler<Efl.Ui.IDraggableDragStartUpEvt_Args> DragStartUpEvt
{
add
}
}
}
- ///<summary>Method to raise event DragStartUpEvt.</summary>
+ /// <summary>Method to raise event DragStartUpEvt.</summary>
public void OnDragStartUpEvt(Efl.Ui.IDraggableDragStartUpEvt_Args e)
{
var key = "_EFL_UI_EVENT_DRAG_START_UP";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>Called when drag starts into down direction</summary>
+ /// <value><see cref="Efl.Ui.IDraggableDragStartDownEvt_Args"/></value>
public event EventHandler<Efl.Ui.IDraggableDragStartDownEvt_Args> DragStartDownEvt
{
add
}
}
}
- ///<summary>Method to raise event DragStartDownEvt.</summary>
+ /// <summary>Method to raise event DragStartDownEvt.</summary>
public void OnDragStartDownEvt(Efl.Ui.IDraggableDragStartDownEvt_Args e)
{
var key = "_EFL_UI_EVENT_DRAG_START_DOWN";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>Called when drag starts into right direction</summary>
+ /// <value><see cref="Efl.Ui.IDraggableDragStartRightEvt_Args"/></value>
public event EventHandler<Efl.Ui.IDraggableDragStartRightEvt_Args> DragStartRightEvt
{
add
}
}
}
- ///<summary>Method to raise event DragStartRightEvt.</summary>
+ /// <summary>Method to raise event DragStartRightEvt.</summary>
public void OnDragStartRightEvt(Efl.Ui.IDraggableDragStartRightEvt_Args e)
{
var key = "_EFL_UI_EVENT_DRAG_START_RIGHT";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>Called when drag starts into left direction</summary>
+ /// <value><see cref="Efl.Ui.IDraggableDragStartLeftEvt_Args"/></value>
public event EventHandler<Efl.Ui.IDraggableDragStartLeftEvt_Args> DragStartLeftEvt
{
add
}
}
}
- ///<summary>Method to raise event DragStartLeftEvt.</summary>
+ /// <summary>Method to raise event DragStartLeftEvt.</summary>
public void OnDragStartLeftEvt(Efl.Ui.IDraggableDragStartLeftEvt_Args e)
{
var key = "_EFL_UI_EVENT_DRAG_START_LEFT";
IntPtr info = e.arg.NativeHandle;
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
- /// <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 GetScalable(out bool scale_up, out bool 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((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((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((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>
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>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 GetContentAlign(out double align_horiz, out double 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((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_horiz">Horizontal padding</param>
+ /// <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((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_horiz">Horizontal padding</param>
+ /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),pad_horiz, pad_vert, scalable);
+ Eina.Error.RaiseIfUnhandledException();
+ }
/// <summary>Whether to use high-quality image scaling algorithm for this image.
/// When enabled, a higher quality image scaling algorithm is used when scaling images to sizes other than the source image's original one. This gives better results but is more computationally expensive.
///
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>If <c>true</c>, the image may be scaled to a larger size. If <c>false</c>, the image will never be resized larger than its native size. This is set to <c>true</c> by default.</summary>
+ /// <returns>Allow image upscaling</returns>
+ virtual public bool GetCanUpscale() {
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_can_upscale_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>If <c>true</c>, the image may be scaled to a larger size. If <c>false</c>, the image will never be resized larger than its native size. This is set to <c>true</c> by default.</summary>
+ /// <param name="upscale">Allow image upscaling</param>
+ virtual public void SetCanUpscale(bool upscale) {
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_can_upscale_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),upscale);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>If <c>true</c>, the image may be scaled to a smaller size. If <c>false</c>, the image will never be resized smaller than its native size. This is set to <c>true</c> by default.</summary>
+ /// <returns>Allow image downscaling</returns>
+ virtual public bool GetCanDownscale() {
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_can_downscale_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>If <c>true</c>, the image may be scaled to a smaller size. If <c>false</c>, the image will never be resized smaller than its native size. This is set to <c>true</c> by default.</summary>
+ /// <param name="downscale">Allow image downscaling</param>
+ virtual public void SetCanDownscale(bool downscale) {
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_can_downscale_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),downscale);
+ Eina.Error.RaiseIfUnhandledException();
+ }
/// <summary>Returns 1.0 if not applicable (eg. height = 0).</summary>
/// <returns>The image's ratio.</returns>
virtual public double GetRatio() {
/// 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) {
+ virtual public void GetStretchRegion(out Eina.Iterator<Efl.Gfx.ImageStretchRegion> horizontal, out Eina.Iterator<Efl.Gfx.ImageStretchRegion> 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);
+ horizontal = new Eina.Iterator<Efl.Gfx.ImageStretchRegion>(_out_horizontal, false);
+ vertical = new Eina.Iterator<Efl.Gfx.ImageStretchRegion>(_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) {
+ virtual public Eina.Error SetStretchRegion(Eina.Iterator<Efl.Gfx.ImageStretchRegion> horizontal, Eina.Iterator<Efl.Gfx.ImageStretchRegion> 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);
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>This returns true if the given object is currently in event emission</summary>
+ virtual public bool GetInteraction() {
+ var _ret_var = Efl.Input.IClickableConcrete.NativeMethods.efl_input_clickable_interaction_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <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.Input.IClickableConcrete.NativeMethods.efl_input_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.Input.IClickableConcrete.NativeMethods.efl_input_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.Input.IClickableConcrete.NativeMethods.efl_input_clickable_button_state_reset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),button);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>This aborts ongoing longpress event.
+ /// That is, this will stop the timer for longpress.</summary>
+ virtual public void LongpressAbort(uint button) {
+ Efl.Input.IClickableConcrete.NativeMethods.efl_input_clickable_longpress_abort_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),button);
+ 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>
///
/// Though there are those common uses for the two strings, one is free to use them however they like.
///
- /// Signal callback registration is powerful, in the way that blobs may be used to match multiple signals at once. All the "*?[" set of <c>fnmatch</c>() operators can be used, both for emission and source.
+ /// Signal callback registration is powerful, in the way that blobs may be used to match multiple signals at once. All the "*?[" set of <c>fnmatch</c>() operators can be used, both for emission and source.
///
/// Edje has internal signals it will emit, automatically, on various actions taking place on group parts. For example, the mouse cursor being moved, pressed, released, etc., over a given part's area, all generate individual signals.
///
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((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((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((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>
public bool Seekable {
get { return GetSeekable(); }
}
+ /// <summary>Alignment of the container within its bounds</summary>
+ /// <value>Horizontal alignment</value>
+ public (double, double) ContentAlign {
+ get {
+ double _out_align_horiz = default(double);
+ double _out_align_vert = default(double);
+ GetContentAlign(out _out_align_horiz,out _out_align_vert);
+ return (_out_align_horiz,_out_align_vert);
+ }
+ set { SetContentAlign( value.Item1, value.Item2); }
+ }
+ /// <summary>Padding between items contained in this object.</summary>
+ /// <value>Horizontal padding</value>
+ public (double, double, bool) ContentPadding {
+ get {
+ double _out_pad_horiz = default(double);
+ double _out_pad_vert = default(double);
+ bool _out_scalable = default(bool);
+ GetContentPadding(out _out_pad_horiz,out _out_pad_vert,out _out_scalable);
+ return (_out_pad_horiz,_out_pad_vert,_out_scalable);
+ }
+ set { SetContentPadding( value.Item1, value.Item2, value.Item3); }
+ }
/// <summary>Whether to use high-quality image scaling algorithm for this image.
/// When enabled, a higher quality image scaling algorithm is used when scaling images to sizes other than the source image's original one. This gives better results but is more computationally expensive.
///
get { return GetScaleType(); }
set { SetScaleType(value); }
}
+ /// <summary>If <c>true</c>, the image may be scaled to a larger size. If <c>false</c>, the image will never be resized larger than its native size. This is set to <c>true</c> by default.</summary>
+ /// <value>Allow image upscaling</value>
+ public bool CanUpscale {
+ get { return GetCanUpscale(); }
+ set { SetCanUpscale(value); }
+ }
+ /// <summary>If <c>true</c>, the image may be scaled to a smaller size. If <c>false</c>, the image will never be resized smaller than its native size. This is set to <c>true</c> by default.</summary>
+ /// <value>Allow image downscaling</value>
+ public bool CanDownscale {
+ get { return GetCanDownscale(); }
+ set { SetCanDownscale(value); }
+ }
/// <summary>The native width/height ratio of the image.</summary>
/// <value>The image's ratio.</value>
public double Ratio {
public Eina.Rect ContentRegion {
get { return 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 units used for <c>l</c>, <c>r</c>, <c>t</c> and <c>b</c> are canvas units (pixels).
+ ///
+ /// Note: The border region itself may be scaled by the <see cref="Efl.Gfx.IImage.SetBorderScale"/> function.
+ ///
+ /// Note: By default, image objects have no borders set, i.e. <c>l</c>, <c>r</c>, <c>t</c> and <c>b</c> start as 0.
+ ///
+ /// Note: Similar to the concepts of 9-patch images or cap insets.</summary>
+ /// <value>The border's left width.</value>
+ public (int, int, int, int) Border {
+ get {
+ int _out_l = default(int);
+ int _out_r = default(int);
+ int _out_t = default(int);
+ int _out_b = default(int);
+ GetBorder(out _out_l,out _out_r,out _out_t,out _out_b);
+ return (_out_l,_out_r,_out_t,_out_b);
+ }
+ set { SetBorder( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <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.
///
get { return GetBorderCenterFill(); }
set { SetBorderCenterFill(value); }
}
+ /// <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>
+ /// <value>Representation of area that are stretchable in the image horizontal space.</value>
+ public (Eina.Iterator<Efl.Gfx.ImageStretchRegion>, Eina.Iterator<Efl.Gfx.ImageStretchRegion>) StretchRegion {
+ get {
+ Eina.Iterator<Efl.Gfx.ImageStretchRegion> _out_horizontal = default(Eina.Iterator<Efl.Gfx.ImageStretchRegion>);
+ Eina.Iterator<Efl.Gfx.ImageStretchRegion> _out_vertical = default(Eina.Iterator<Efl.Gfx.ImageStretchRegion>);
+ GetStretchRegion(out _out_horizontal,out _out_vertical);
+ return (_out_horizontal,_out_vertical);
+ }
+ set { SetStretchRegion( value.Item1, value.Item2); }
+ }
/// <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.
///
get { return GetViewSize(); }
set { SetViewSize(value); }
}
+ /// <summary>This returns true if the given object is currently in event emission</summary>
+ public bool Interaction {
+ get { return GetInteraction(); }
+ }
/// <summary>Whether this object updates its size hints automatically.
/// By default edje doesn't set size hints on itself. If this property is set to <c>true</c>, size hints will be updated after recalculation. Be careful, as recalculation may happen often, enabling this property may have a considerable performance impact as other widgets will be notified of the size hints changes.
///
var descs = new System.Collections.Generic.List<Efl_Op_Description>();
var methods = Efl.Eo.Globals.GetUserMethods(type);
- if (efl_ui_image_scalable_get_static_delegate == null)
- {
- efl_ui_image_scalable_get_static_delegate = new efl_ui_image_scalable_get_delegate(scalable_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetScalable") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_image_scalable_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_image_scalable_get_static_delegate) });
- }
-
- if (efl_ui_image_scalable_set_static_delegate == null)
- {
- efl_ui_image_scalable_set_static_delegate = new efl_ui_image_scalable_set_delegate(scalable_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetScalable") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_image_scalable_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_image_scalable_set_static_delegate) });
- }
-
- if (efl_ui_image_align_get_static_delegate == null)
- {
- efl_ui_image_align_get_static_delegate = new efl_ui_image_align_get_delegate(align_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetAlign") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_image_align_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_image_align_get_static_delegate) });
- }
-
- if (efl_ui_image_align_set_static_delegate == null)
- {
- efl_ui_image_align_set_static_delegate = new efl_ui_image_align_set_delegate(align_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetAlign") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_image_align_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_image_align_set_static_delegate) });
- }
-
if (efl_ui_image_icon_get_static_delegate == null)
{
efl_ui_image_icon_get_static_delegate = new efl_ui_image_icon_get_delegate(icon_get);
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_player_stop"), func = Marshal.GetFunctionPointerForDelegate(efl_player_stop_static_delegate) });
}
+ if (efl_gfx_arrangement_content_align_get_static_delegate == null)
+ {
+ efl_gfx_arrangement_content_align_get_static_delegate = new efl_gfx_arrangement_content_align_get_delegate(content_align_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetContentAlign") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_arrangement_content_align_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_arrangement_content_align_get_static_delegate) });
+ }
+
+ if (efl_gfx_arrangement_content_align_set_static_delegate == null)
+ {
+ efl_gfx_arrangement_content_align_set_static_delegate = new efl_gfx_arrangement_content_align_set_delegate(content_align_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetContentAlign") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_arrangement_content_align_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_arrangement_content_align_set_static_delegate) });
+ }
+
+ if (efl_gfx_arrangement_content_padding_get_static_delegate == null)
+ {
+ efl_gfx_arrangement_content_padding_get_static_delegate = new efl_gfx_arrangement_content_padding_get_delegate(content_padding_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetContentPadding") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_arrangement_content_padding_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_arrangement_content_padding_get_static_delegate) });
+ }
+
+ if (efl_gfx_arrangement_content_padding_set_static_delegate == null)
+ {
+ efl_gfx_arrangement_content_padding_set_static_delegate = new efl_gfx_arrangement_content_padding_set_delegate(content_padding_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetContentPadding") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_arrangement_content_padding_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_arrangement_content_padding_set_static_delegate) });
+ }
+
if (efl_gfx_image_smooth_scale_get_static_delegate == null)
{
efl_gfx_image_smooth_scale_get_static_delegate = new efl_gfx_image_smooth_scale_get_delegate(smooth_scale_get);
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_scale_type_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_scale_type_set_static_delegate) });
}
+ if (efl_gfx_image_can_upscale_get_static_delegate == null)
+ {
+ efl_gfx_image_can_upscale_get_static_delegate = new efl_gfx_image_can_upscale_get_delegate(can_upscale_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetCanUpscale") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_can_upscale_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_can_upscale_get_static_delegate) });
+ }
+
+ if (efl_gfx_image_can_upscale_set_static_delegate == null)
+ {
+ efl_gfx_image_can_upscale_set_static_delegate = new efl_gfx_image_can_upscale_set_delegate(can_upscale_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetCanUpscale") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_can_upscale_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_can_upscale_set_static_delegate) });
+ }
+
+ if (efl_gfx_image_can_downscale_get_static_delegate == null)
+ {
+ efl_gfx_image_can_downscale_get_static_delegate = new efl_gfx_image_can_downscale_get_delegate(can_downscale_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetCanDownscale") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_can_downscale_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_can_downscale_get_static_delegate) });
+ }
+
+ if (efl_gfx_image_can_downscale_set_static_delegate == null)
+ {
+ efl_gfx_image_can_downscale_set_static_delegate = new efl_gfx_image_can_downscale_set_delegate(can_downscale_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetCanDownscale") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_can_downscale_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_can_downscale_set_static_delegate) });
+ }
+
if (efl_gfx_image_ratio_get_static_delegate == null)
{
efl_gfx_image_ratio_get_static_delegate = new efl_gfx_image_ratio_get_delegate(ratio_get);
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_view_size_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_view_size_set_static_delegate) });
}
+ if (efl_input_clickable_interaction_get_static_delegate == null)
+ {
+ efl_input_clickable_interaction_get_static_delegate = new efl_input_clickable_interaction_get_delegate(interaction_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetInteraction") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_clickable_interaction_get"), func = Marshal.GetFunctionPointerForDelegate(efl_input_clickable_interaction_get_static_delegate) });
+ }
+
+ if (efl_input_clickable_press_static_delegate == null)
+ {
+ efl_input_clickable_press_static_delegate = new efl_input_clickable_press_delegate(press);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "Press") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_clickable_press"), func = Marshal.GetFunctionPointerForDelegate(efl_input_clickable_press_static_delegate) });
+ }
+
+ if (efl_input_clickable_unpress_static_delegate == null)
+ {
+ efl_input_clickable_unpress_static_delegate = new efl_input_clickable_unpress_delegate(unpress);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "Unpress") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_clickable_unpress"), func = Marshal.GetFunctionPointerForDelegate(efl_input_clickable_unpress_static_delegate) });
+ }
+
+ if (efl_input_clickable_button_state_reset_static_delegate == null)
+ {
+ efl_input_clickable_button_state_reset_static_delegate = new efl_input_clickable_button_state_reset_delegate(button_state_reset);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "ResetButtonState") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_clickable_button_state_reset"), func = Marshal.GetFunctionPointerForDelegate(efl_input_clickable_button_state_reset_static_delegate) });
+ }
+
+ if (efl_input_clickable_longpress_abort_static_delegate == null)
+ {
+ efl_input_clickable_longpress_abort_static_delegate = new efl_input_clickable_longpress_abort_delegate(longpress_abort);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "LongpressAbort") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_clickable_longpress_abort"), func = Marshal.GetFunctionPointerForDelegate(efl_input_clickable_longpress_abort_static_delegate) });
+ }
+
if (efl_layout_calc_auto_update_hints_get_static_delegate == null)
{
efl_layout_calc_auto_update_hints_get_static_delegate = new efl_layout_calc_auto_update_hints_get_delegate(calc_auto_update_hints_get);
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_layout_signal_process"), func = Marshal.GetFunctionPointerForDelegate(efl_layout_signal_process_static_delegate) });
}
- if (efl_ui_clickable_press_static_delegate == null)
- {
- efl_ui_clickable_press_static_delegate = new efl_ui_clickable_press_delegate(press);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "Press") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_clickable_press"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_clickable_press_static_delegate) });
- }
-
- if (efl_ui_clickable_unpress_static_delegate == null)
- {
- efl_ui_clickable_unpress_static_delegate = new efl_ui_clickable_unpress_delegate(unpress);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "Unpress") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_clickable_unpress"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_clickable_unpress_static_delegate) });
- }
-
- if (efl_ui_clickable_button_state_reset_static_delegate == null)
- {
- efl_ui_clickable_button_state_reset_static_delegate = new efl_ui_clickable_button_state_reset_delegate(button_state_reset);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "ResetButtonState") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_clickable_button_state_reset"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_clickable_button_state_reset_static_delegate) });
- }
-
if (efl_ui_draggable_drag_target_get_static_delegate == null)
{
efl_ui_draggable_drag_target_get_static_delegate = new efl_ui_draggable_drag_target_get_delegate(drag_target_get);
#pragma warning disable CA1707, CS1591, SA1300, SA1600
-
- private delegate void efl_ui_image_scalable_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] out bool scale_up, [MarshalAs(UnmanagedType.U1)] out bool scale_down);
-
-
- public delegate void efl_ui_image_scalable_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] out bool scale_up, [MarshalAs(UnmanagedType.U1)] out bool scale_down);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_image_scalable_get_api_delegate> efl_ui_image_scalable_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_image_scalable_get_api_delegate>(Module, "efl_ui_image_scalable_get");
-
- private static void scalable_get(System.IntPtr obj, System.IntPtr pd, out bool scale_up, out bool scale_down)
- {
- Eina.Log.Debug("function efl_ui_image_scalable_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- scale_up = default(bool); scale_down = default(bool);
- try
- {
- ((Image)ws.Target).GetScalable(out scale_up, out scale_down);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_image_scalable_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out scale_up, out scale_down);
- }
- }
-
- private static efl_ui_image_scalable_get_delegate efl_ui_image_scalable_get_static_delegate;
-
-
- private delegate void efl_ui_image_scalable_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool scale_up, [MarshalAs(UnmanagedType.U1)] bool scale_down);
-
-
- public delegate void efl_ui_image_scalable_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool scale_up, [MarshalAs(UnmanagedType.U1)] bool scale_down);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_image_scalable_set_api_delegate> efl_ui_image_scalable_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_image_scalable_set_api_delegate>(Module, "efl_ui_image_scalable_set");
-
- private static void scalable_set(System.IntPtr obj, System.IntPtr pd, bool scale_up, bool scale_down)
- {
- Eina.Log.Debug("function efl_ui_image_scalable_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Image)ws.Target).SetScalable(scale_up, scale_down);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_image_scalable_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), scale_up, scale_down);
- }
- }
-
- private static efl_ui_image_scalable_set_delegate efl_ui_image_scalable_set_static_delegate;
-
-
- private delegate void efl_ui_image_align_get_delegate(System.IntPtr obj, System.IntPtr pd, out double align_x, out double align_y);
-
-
- public delegate void efl_ui_image_align_get_api_delegate(System.IntPtr obj, out double align_x, out double align_y);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_image_align_get_api_delegate> efl_ui_image_align_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_image_align_get_api_delegate>(Module, "efl_ui_image_align_get");
-
- private static void align_get(System.IntPtr obj, System.IntPtr pd, out double align_x, out double align_y)
- {
- Eina.Log.Debug("function efl_ui_image_align_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- align_x = default(double); align_y = default(double);
- try
- {
- ((Image)ws.Target).GetAlign(out align_x, out align_y);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_image_align_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out align_x, out align_y);
- }
- }
-
- private static efl_ui_image_align_get_delegate efl_ui_image_align_get_static_delegate;
-
-
- private delegate void efl_ui_image_align_set_delegate(System.IntPtr obj, System.IntPtr pd, double align_x, double align_y);
-
-
- public delegate void efl_ui_image_align_set_api_delegate(System.IntPtr obj, double align_x, double align_y);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_image_align_set_api_delegate> efl_ui_image_align_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_image_align_set_api_delegate>(Module, "efl_ui_image_align_set");
-
- private static void align_set(System.IntPtr obj, System.IntPtr pd, double align_x, double align_y)
- {
- Eina.Log.Debug("function efl_ui_image_align_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Image)ws.Target).SetAlign(align_x, align_y);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_image_align_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), align_x, align_y);
- }
- }
-
- private static efl_ui_image_align_set_delegate efl_ui_image_align_set_static_delegate;
-
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
private delegate System.String efl_ui_image_icon_get_delegate(System.IntPtr obj, System.IntPtr pd);
private static efl_player_stop_delegate efl_player_stop_static_delegate;
- [return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_gfx_image_smooth_scale_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ private delegate void efl_gfx_arrangement_content_align_get_delegate(System.IntPtr obj, System.IntPtr pd, out double align_horiz, out double align_vert);
- [return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_gfx_image_smooth_scale_get_api_delegate(System.IntPtr obj);
+
+ public delegate void efl_gfx_arrangement_content_align_get_api_delegate(System.IntPtr obj, out double align_horiz, out double align_vert);
- public static Efl.Eo.FunctionWrapper<efl_gfx_image_smooth_scale_get_api_delegate> efl_gfx_image_smooth_scale_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_smooth_scale_get_api_delegate>(Module, "efl_gfx_image_smooth_scale_get");
+ public static Efl.Eo.FunctionWrapper<efl_gfx_arrangement_content_align_get_api_delegate> efl_gfx_arrangement_content_align_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_arrangement_content_align_get_api_delegate>(Module, "efl_gfx_arrangement_content_align_get");
- private static bool smooth_scale_get(System.IntPtr obj, System.IntPtr pd)
+ private static void content_align_get(System.IntPtr obj, System.IntPtr pd, out double align_horiz, out double align_vert)
{
- Eina.Log.Debug("function efl_gfx_image_smooth_scale_get was called");
+ Eina.Log.Debug("function efl_gfx_arrangement_content_align_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- bool _ret_var = default(bool);
+ align_horiz = default(double); align_vert = default(double);
try
{
- _ret_var = ((Image)ws.Target).GetSmoothScale();
+ ((Image)ws.Target).GetContentAlign(out align_horiz, out align_vert);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
- return _ret_var;
-
+
}
else
{
- return efl_gfx_image_smooth_scale_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ efl_gfx_arrangement_content_align_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out align_horiz, out align_vert);
}
}
- private static efl_gfx_image_smooth_scale_get_delegate efl_gfx_image_smooth_scale_get_static_delegate;
+ private static efl_gfx_arrangement_content_align_get_delegate efl_gfx_arrangement_content_align_get_static_delegate;
- private delegate void efl_gfx_image_smooth_scale_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool smooth_scale);
+ private delegate void efl_gfx_arrangement_content_align_set_delegate(System.IntPtr obj, System.IntPtr pd, double align_horiz, double align_vert);
- public delegate void efl_gfx_image_smooth_scale_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool smooth_scale);
+ public delegate void efl_gfx_arrangement_content_align_set_api_delegate(System.IntPtr obj, double align_horiz, double align_vert);
- public static Efl.Eo.FunctionWrapper<efl_gfx_image_smooth_scale_set_api_delegate> efl_gfx_image_smooth_scale_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_smooth_scale_set_api_delegate>(Module, "efl_gfx_image_smooth_scale_set");
+ public static Efl.Eo.FunctionWrapper<efl_gfx_arrangement_content_align_set_api_delegate> efl_gfx_arrangement_content_align_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_arrangement_content_align_set_api_delegate>(Module, "efl_gfx_arrangement_content_align_set");
- private static void smooth_scale_set(System.IntPtr obj, System.IntPtr pd, bool smooth_scale)
+ private static void content_align_set(System.IntPtr obj, System.IntPtr pd, double align_horiz, double align_vert)
{
- Eina.Log.Debug("function efl_gfx_image_smooth_scale_set was called");
+ Eina.Log.Debug("function efl_gfx_arrangement_content_align_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
-
+
try
{
- ((Image)ws.Target).SetSmoothScale(smooth_scale);
+ ((Image)ws.Target).SetContentAlign(align_horiz, align_vert);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+
}
else
{
- efl_gfx_image_smooth_scale_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), smooth_scale);
+ efl_gfx_arrangement_content_align_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), align_horiz, align_vert);
}
}
- private static efl_gfx_image_smooth_scale_set_delegate efl_gfx_image_smooth_scale_set_static_delegate;
+ private static efl_gfx_arrangement_content_align_set_delegate efl_gfx_arrangement_content_align_set_static_delegate;
- private delegate Efl.Gfx.ImageScaleType efl_gfx_image_scale_type_get_delegate(System.IntPtr obj, System.IntPtr pd);
+ private delegate void efl_gfx_arrangement_content_padding_get_delegate(System.IntPtr obj, System.IntPtr pd, out double pad_horiz, out double pad_vert, [MarshalAs(UnmanagedType.U1)] out bool scalable);
- public delegate Efl.Gfx.ImageScaleType efl_gfx_image_scale_type_get_api_delegate(System.IntPtr obj);
+ public delegate void efl_gfx_arrangement_content_padding_get_api_delegate(System.IntPtr obj, out double pad_horiz, out double pad_vert, [MarshalAs(UnmanagedType.U1)] out bool scalable);
- public static Efl.Eo.FunctionWrapper<efl_gfx_image_scale_type_get_api_delegate> efl_gfx_image_scale_type_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_scale_type_get_api_delegate>(Module, "efl_gfx_image_scale_type_get");
+ public static Efl.Eo.FunctionWrapper<efl_gfx_arrangement_content_padding_get_api_delegate> efl_gfx_arrangement_content_padding_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_arrangement_content_padding_get_api_delegate>(Module, "efl_gfx_arrangement_content_padding_get");
- private static Efl.Gfx.ImageScaleType scale_type_get(System.IntPtr obj, System.IntPtr pd)
+ private static void content_padding_get(System.IntPtr obj, System.IntPtr pd, out double pad_horiz, out double pad_vert, out bool scalable)
{
- Eina.Log.Debug("function efl_gfx_image_scale_type_get was called");
+ Eina.Log.Debug("function efl_gfx_arrangement_content_padding_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- Efl.Gfx.ImageScaleType _ret_var = default(Efl.Gfx.ImageScaleType);
+ pad_horiz = default(double); pad_vert = default(double); scalable = default(bool);
try
{
- _ret_var = ((Image)ws.Target).GetScaleType();
+ ((Image)ws.Target).GetContentPadding(out pad_horiz, out pad_vert, out scalable);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
- return _ret_var;
-
+
}
else
{
- return efl_gfx_image_scale_type_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ efl_gfx_arrangement_content_padding_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out pad_horiz, out pad_vert, out scalable);
}
}
- private static efl_gfx_image_scale_type_get_delegate efl_gfx_image_scale_type_get_static_delegate;
+ private static efl_gfx_arrangement_content_padding_get_delegate efl_gfx_arrangement_content_padding_get_static_delegate;
- private delegate void efl_gfx_image_scale_type_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.ImageScaleType scale_type);
+ private delegate void efl_gfx_arrangement_content_padding_set_delegate(System.IntPtr obj, System.IntPtr pd, double pad_horiz, double pad_vert, [MarshalAs(UnmanagedType.U1)] bool scalable);
- public delegate void efl_gfx_image_scale_type_set_api_delegate(System.IntPtr obj, Efl.Gfx.ImageScaleType scale_type);
+ public delegate void efl_gfx_arrangement_content_padding_set_api_delegate(System.IntPtr obj, double pad_horiz, double pad_vert, [MarshalAs(UnmanagedType.U1)] bool scalable);
- public static Efl.Eo.FunctionWrapper<efl_gfx_image_scale_type_set_api_delegate> efl_gfx_image_scale_type_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_scale_type_set_api_delegate>(Module, "efl_gfx_image_scale_type_set");
+ public static Efl.Eo.FunctionWrapper<efl_gfx_arrangement_content_padding_set_api_delegate> efl_gfx_arrangement_content_padding_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_arrangement_content_padding_set_api_delegate>(Module, "efl_gfx_arrangement_content_padding_set");
- private static void scale_type_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.ImageScaleType scale_type)
+ private static void content_padding_set(System.IntPtr obj, System.IntPtr pd, double pad_horiz, double pad_vert, bool scalable)
{
- Eina.Log.Debug("function efl_gfx_image_scale_type_set was called");
+ Eina.Log.Debug("function efl_gfx_arrangement_content_padding_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
-
+
try
{
- ((Image)ws.Target).SetScaleType(scale_type);
+ ((Image)ws.Target).SetContentPadding(pad_horiz, pad_vert, scalable);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+
}
else
{
- efl_gfx_image_scale_type_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), scale_type);
+ efl_gfx_arrangement_content_padding_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), pad_horiz, pad_vert, scalable);
}
}
- private static efl_gfx_image_scale_type_set_delegate efl_gfx_image_scale_type_set_static_delegate;
+ private static efl_gfx_arrangement_content_padding_set_delegate efl_gfx_arrangement_content_padding_set_static_delegate;
-
- private delegate double efl_gfx_image_ratio_get_delegate(System.IntPtr obj, System.IntPtr pd);
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_gfx_image_smooth_scale_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- public delegate double efl_gfx_image_ratio_get_api_delegate(System.IntPtr obj);
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_gfx_image_smooth_scale_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<efl_gfx_image_ratio_get_api_delegate> efl_gfx_image_ratio_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_ratio_get_api_delegate>(Module, "efl_gfx_image_ratio_get");
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_smooth_scale_get_api_delegate> efl_gfx_image_smooth_scale_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_smooth_scale_get_api_delegate>(Module, "efl_gfx_image_smooth_scale_get");
- private static double ratio_get(System.IntPtr obj, System.IntPtr pd)
+ private static bool smooth_scale_get(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function efl_gfx_image_ratio_get was called");
+ Eina.Log.Debug("function efl_gfx_image_smooth_scale_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- double _ret_var = default(double);
+ bool _ret_var = default(bool);
try
{
- _ret_var = ((Image)ws.Target).GetRatio();
+ _ret_var = ((Image)ws.Target).GetSmoothScale();
}
catch (Exception e)
{
}
else
{
- return efl_gfx_image_ratio_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ return efl_gfx_image_smooth_scale_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
- private static efl_gfx_image_ratio_get_delegate efl_gfx_image_ratio_get_static_delegate;
+ private static efl_gfx_image_smooth_scale_get_delegate efl_gfx_image_smooth_scale_get_static_delegate;
- private delegate Eina.Rect.NativeStruct efl_gfx_image_content_region_get_delegate(System.IntPtr obj, System.IntPtr pd);
+ private delegate void efl_gfx_image_smooth_scale_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool smooth_scale);
- public delegate Eina.Rect.NativeStruct efl_gfx_image_content_region_get_api_delegate(System.IntPtr obj);
+ public delegate void efl_gfx_image_smooth_scale_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool smooth_scale);
- 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");
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_smooth_scale_set_api_delegate> efl_gfx_image_smooth_scale_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_smooth_scale_set_api_delegate>(Module, "efl_gfx_image_smooth_scale_set");
- private static Eina.Rect.NativeStruct content_region_get(System.IntPtr obj, System.IntPtr pd)
+ private static void smooth_scale_set(System.IntPtr obj, System.IntPtr pd, bool smooth_scale)
{
- Eina.Log.Debug("function efl_gfx_image_content_region_get was called");
+ Eina.Log.Debug("function efl_gfx_image_smooth_scale_set 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();
+ ((Image)ws.Target).SetSmoothScale(smooth_scale);
}
catch (Exception e)
{
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)));
+ efl_gfx_image_smooth_scale_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), smooth_scale);
}
}
- private static efl_gfx_image_content_region_get_delegate efl_gfx_image_content_region_get_static_delegate;
+ private static efl_gfx_image_smooth_scale_set_delegate efl_gfx_image_smooth_scale_set_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 delegate Efl.Gfx.ImageScaleType efl_gfx_image_scale_type_get_delegate(System.IntPtr obj, System.IntPtr pd);
- public delegate void efl_gfx_image_border_get_api_delegate(System.IntPtr obj, out int l, out int r, out int t, out int b);
+ public delegate Efl.Gfx.ImageScaleType efl_gfx_image_scale_type_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_scale_type_get_api_delegate> efl_gfx_image_scale_type_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_scale_type_get_api_delegate>(Module, "efl_gfx_image_scale_type_get");
+
+ private static Efl.Gfx.ImageScaleType scale_type_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_gfx_image_scale_type_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.Gfx.ImageScaleType _ret_var = default(Efl.Gfx.ImageScaleType);
+ try
+ {
+ _ret_var = ((Image)ws.Target).GetScaleType();
+ }
+ 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_scale_type_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_gfx_image_scale_type_get_delegate efl_gfx_image_scale_type_get_static_delegate;
+
+
+ private delegate void efl_gfx_image_scale_type_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.ImageScaleType scale_type);
+
+
+ public delegate void efl_gfx_image_scale_type_set_api_delegate(System.IntPtr obj, Efl.Gfx.ImageScaleType scale_type);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_scale_type_set_api_delegate> efl_gfx_image_scale_type_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_scale_type_set_api_delegate>(Module, "efl_gfx_image_scale_type_set");
+
+ private static void scale_type_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.ImageScaleType scale_type)
+ {
+ Eina.Log.Debug("function efl_gfx_image_scale_type_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Image)ws.Target).SetScaleType(scale_type);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_gfx_image_scale_type_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), scale_type);
+ }
+ }
+
+ private static efl_gfx_image_scale_type_set_delegate efl_gfx_image_scale_type_set_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_gfx_image_can_upscale_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_gfx_image_can_upscale_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_can_upscale_get_api_delegate> efl_gfx_image_can_upscale_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_can_upscale_get_api_delegate>(Module, "efl_gfx_image_can_upscale_get");
+
+ private static bool can_upscale_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_gfx_image_can_upscale_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((Image)ws.Target).GetCanUpscale();
+ }
+ 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_can_upscale_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_gfx_image_can_upscale_get_delegate efl_gfx_image_can_upscale_get_static_delegate;
+
+
+ private delegate void efl_gfx_image_can_upscale_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool upscale);
+
+
+ public delegate void efl_gfx_image_can_upscale_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool upscale);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_can_upscale_set_api_delegate> efl_gfx_image_can_upscale_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_can_upscale_set_api_delegate>(Module, "efl_gfx_image_can_upscale_set");
+
+ private static void can_upscale_set(System.IntPtr obj, System.IntPtr pd, bool upscale)
+ {
+ Eina.Log.Debug("function efl_gfx_image_can_upscale_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Image)ws.Target).SetCanUpscale(upscale);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_gfx_image_can_upscale_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), upscale);
+ }
+ }
+
+ private static efl_gfx_image_can_upscale_set_delegate efl_gfx_image_can_upscale_set_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_gfx_image_can_downscale_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_gfx_image_can_downscale_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_can_downscale_get_api_delegate> efl_gfx_image_can_downscale_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_can_downscale_get_api_delegate>(Module, "efl_gfx_image_can_downscale_get");
+
+ private static bool can_downscale_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_gfx_image_can_downscale_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((Image)ws.Target).GetCanDownscale();
+ }
+ 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_can_downscale_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_gfx_image_can_downscale_get_delegate efl_gfx_image_can_downscale_get_static_delegate;
+
+
+ private delegate void efl_gfx_image_can_downscale_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool downscale);
+
+
+ public delegate void efl_gfx_image_can_downscale_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool downscale);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_can_downscale_set_api_delegate> efl_gfx_image_can_downscale_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_can_downscale_set_api_delegate>(Module, "efl_gfx_image_can_downscale_set");
+
+ private static void can_downscale_set(System.IntPtr obj, System.IntPtr pd, bool downscale)
+ {
+ Eina.Log.Debug("function efl_gfx_image_can_downscale_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Image)ws.Target).SetCanDownscale(downscale);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_gfx_image_can_downscale_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), downscale);
+ }
+ }
+
+ private static efl_gfx_image_can_downscale_set_delegate efl_gfx_image_can_downscale_set_static_delegate;
+
+
+ private delegate double efl_gfx_image_ratio_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate double efl_gfx_image_ratio_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_ratio_get_api_delegate> efl_gfx_image_ratio_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_ratio_get_api_delegate>(Module, "efl_gfx_image_ratio_get");
+
+ private static double ratio_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_gfx_image_ratio_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ double _ret_var = default(double);
+ try
+ {
+ _ret_var = ((Image)ws.Target).GetRatio();
+ }
+ 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_ratio_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ 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);
+
+
+ public delegate void efl_gfx_image_border_get_api_delegate(System.IntPtr obj, out int l, out int r, out int t, out int b);
public static Efl.Eo.FunctionWrapper<efl_gfx_image_border_get_api_delegate> efl_gfx_image_border_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_border_get_api_delegate>(Module, "efl_gfx_image_border_get");
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>);
+ Eina.Iterator<Efl.Gfx.ImageStretchRegion> _out_horizontal = default(Eina.Iterator<Efl.Gfx.ImageStretchRegion>);
+ Eina.Iterator<Efl.Gfx.ImageStretchRegion> _out_vertical = default(Eina.Iterator<Efl.Gfx.ImageStretchRegion>);
try
{
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);
+ var _in_horizontal = new Eina.Iterator<Efl.Gfx.ImageStretchRegion>(horizontal, false);
+ var _in_vertical = new Eina.Iterator<Efl.Gfx.ImageStretchRegion>(vertical, false);
Eina.Error _ret_var = default(Eina.Error);
try
{
private static efl_gfx_view_size_set_delegate efl_gfx_view_size_set_static_delegate;
[return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_layout_calc_auto_update_hints_get_delegate(System.IntPtr obj, System.IntPtr pd);
+ private delegate bool efl_input_clickable_interaction_get_delegate(System.IntPtr obj, System.IntPtr pd);
[return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_layout_calc_auto_update_hints_get_api_delegate(System.IntPtr obj);
+ public delegate bool efl_input_clickable_interaction_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<efl_layout_calc_auto_update_hints_get_api_delegate> efl_layout_calc_auto_update_hints_get_ptr = new Efl.Eo.FunctionWrapper<efl_layout_calc_auto_update_hints_get_api_delegate>(Module, "efl_layout_calc_auto_update_hints_get");
+ public static Efl.Eo.FunctionWrapper<efl_input_clickable_interaction_get_api_delegate> efl_input_clickable_interaction_get_ptr = new Efl.Eo.FunctionWrapper<efl_input_clickable_interaction_get_api_delegate>(Module, "efl_input_clickable_interaction_get");
+
+ private static bool interaction_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_input_clickable_interaction_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((Image)ws.Target).GetInteraction();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_input_clickable_interaction_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_input_clickable_interaction_get_delegate efl_input_clickable_interaction_get_static_delegate;
+
+
+ private delegate void efl_input_clickable_press_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
+
+
+ public delegate void efl_input_clickable_press_api_delegate(System.IntPtr obj, uint button);
+
+ public static Efl.Eo.FunctionWrapper<efl_input_clickable_press_api_delegate> efl_input_clickable_press_ptr = new Efl.Eo.FunctionWrapper<efl_input_clickable_press_api_delegate>(Module, "efl_input_clickable_press");
+
+ private static void press(System.IntPtr obj, System.IntPtr pd, uint button)
+ {
+ Eina.Log.Debug("function efl_input_clickable_press was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Image)ws.Target).Press(button);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_input_clickable_press_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
+ }
+ }
+
+ private static efl_input_clickable_press_delegate efl_input_clickable_press_static_delegate;
+
+
+ private delegate void efl_input_clickable_unpress_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
+
+
+ public delegate void efl_input_clickable_unpress_api_delegate(System.IntPtr obj, uint button);
+
+ public static Efl.Eo.FunctionWrapper<efl_input_clickable_unpress_api_delegate> efl_input_clickable_unpress_ptr = new Efl.Eo.FunctionWrapper<efl_input_clickable_unpress_api_delegate>(Module, "efl_input_clickable_unpress");
+
+ private static void unpress(System.IntPtr obj, System.IntPtr pd, uint button)
+ {
+ Eina.Log.Debug("function efl_input_clickable_unpress was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Image)ws.Target).Unpress(button);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_input_clickable_unpress_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
+ }
+ }
+
+ private static efl_input_clickable_unpress_delegate efl_input_clickable_unpress_static_delegate;
+
+
+ private delegate void efl_input_clickable_button_state_reset_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
+
+
+ public delegate void efl_input_clickable_button_state_reset_api_delegate(System.IntPtr obj, uint button);
+
+ public static Efl.Eo.FunctionWrapper<efl_input_clickable_button_state_reset_api_delegate> efl_input_clickable_button_state_reset_ptr = new Efl.Eo.FunctionWrapper<efl_input_clickable_button_state_reset_api_delegate>(Module, "efl_input_clickable_button_state_reset");
+
+ private static void button_state_reset(System.IntPtr obj, System.IntPtr pd, uint button)
+ {
+ Eina.Log.Debug("function efl_input_clickable_button_state_reset was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Image)ws.Target).ResetButtonState(button);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_input_clickable_button_state_reset_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
+ }
+ }
+
+ private static efl_input_clickable_button_state_reset_delegate efl_input_clickable_button_state_reset_static_delegate;
+
+
+ private delegate void efl_input_clickable_longpress_abort_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
+
+
+ public delegate void efl_input_clickable_longpress_abort_api_delegate(System.IntPtr obj, uint button);
+
+ public static Efl.Eo.FunctionWrapper<efl_input_clickable_longpress_abort_api_delegate> efl_input_clickable_longpress_abort_ptr = new Efl.Eo.FunctionWrapper<efl_input_clickable_longpress_abort_api_delegate>(Module, "efl_input_clickable_longpress_abort");
+
+ private static void longpress_abort(System.IntPtr obj, System.IntPtr pd, uint button)
+ {
+ Eina.Log.Debug("function efl_input_clickable_longpress_abort was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Image)ws.Target).LongpressAbort(button);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_input_clickable_longpress_abort_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
+ }
+ }
+
+ private static efl_input_clickable_longpress_abort_delegate efl_input_clickable_longpress_abort_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_layout_calc_auto_update_hints_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_layout_calc_auto_update_hints_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_layout_calc_auto_update_hints_get_api_delegate> efl_layout_calc_auto_update_hints_get_ptr = new Efl.Eo.FunctionWrapper<efl_layout_calc_auto_update_hints_get_api_delegate>(Module, "efl_layout_calc_auto_update_hints_get");
private static bool calc_auto_update_hints_get(System.IntPtr obj, System.IntPtr pd)
{
private static efl_layout_signal_process_delegate efl_layout_signal_process_static_delegate;
-
- private delegate void efl_ui_clickable_press_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
-
-
- public delegate void efl_ui_clickable_press_api_delegate(System.IntPtr obj, uint button);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_clickable_press_api_delegate> efl_ui_clickable_press_ptr = new Efl.Eo.FunctionWrapper<efl_ui_clickable_press_api_delegate>(Module, "efl_ui_clickable_press");
-
- private static void press(System.IntPtr obj, System.IntPtr pd, uint button)
- {
- Eina.Log.Debug("function efl_ui_clickable_press was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Image)ws.Target).Press(button);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_clickable_press_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
- }
- }
-
- private static efl_ui_clickable_press_delegate efl_ui_clickable_press_static_delegate;
-
-
- private delegate void efl_ui_clickable_unpress_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
-
-
- public delegate void efl_ui_clickable_unpress_api_delegate(System.IntPtr obj, uint button);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_clickable_unpress_api_delegate> efl_ui_clickable_unpress_ptr = new Efl.Eo.FunctionWrapper<efl_ui_clickable_unpress_api_delegate>(Module, "efl_ui_clickable_unpress");
-
- private static void unpress(System.IntPtr obj, System.IntPtr pd, uint button)
- {
- Eina.Log.Debug("function efl_ui_clickable_unpress was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Image)ws.Target).Unpress(button);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_clickable_unpress_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
- }
- }
-
- private static efl_ui_clickable_unpress_delegate efl_ui_clickable_unpress_static_delegate;
-
-
- private delegate void efl_ui_clickable_button_state_reset_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
-
-
- public delegate void efl_ui_clickable_button_state_reset_api_delegate(System.IntPtr obj, uint button);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_clickable_button_state_reset_api_delegate> efl_ui_clickable_button_state_reset_ptr = new Efl.Eo.FunctionWrapper<efl_ui_clickable_button_state_reset_api_delegate>(Module, "efl_ui_clickable_button_state_reset");
-
- private static void button_state_reset(System.IntPtr obj, System.IntPtr pd, uint button)
- {
- Eina.Log.Debug("function efl_ui_clickable_button_state_reset was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Image)ws.Target).ResetButtonState(button);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_clickable_button_state_reset_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
- }
- }
-
- private static efl_ui_clickable_button_state_reset_delegate efl_ui_clickable_button_state_reset_static_delegate;
-
[return: MarshalAs(UnmanagedType.U1)]
private delegate bool efl_ui_draggable_drag_target_get_delegate(System.IntPtr obj, System.IntPtr pd);
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiImage_ExtensionMethods {
+ public static Efl.BindableProperty<System.String> Icon<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Image, T>magic = null) where T : Efl.Ui.Image {
+ return new Efl.BindableProperty<System.String>("icon", fac);
+ }
+
+ public static Efl.BindableProperty<Eina.File> Mmap<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Image, T>magic = null) where T : Efl.Ui.Image {
+ return new Efl.BindableProperty<Eina.File>("mmap", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> File<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Image, T>magic = null) where T : Efl.Ui.Image {
+ return new Efl.BindableProperty<System.String>("file", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> Key<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Image, T>magic = null) where T : Efl.Ui.Image {
+ return new Efl.BindableProperty<System.String>("key", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<bool> Play<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Image, T>magic = null) where T : Efl.Ui.Image {
+ return new Efl.BindableProperty<bool>("play", fac);
+ }
+
+ public static Efl.BindableProperty<double> Pos<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Image, T>magic = null) where T : Efl.Ui.Image {
+ return new Efl.BindableProperty<double>("pos", fac);
+ }
+
+
+ public static Efl.BindableProperty<double> PlaySpeed<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Image, T>magic = null) where T : Efl.Ui.Image {
+ return new Efl.BindableProperty<double>("play_speed", fac);
+ }
+
+ public static Efl.BindableProperty<double> Volume<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Image, T>magic = null) where T : Efl.Ui.Image {
+ return new Efl.BindableProperty<double>("volume", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Mute<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Image, T>magic = null) where T : Efl.Ui.Image {
+ return new Efl.BindableProperty<bool>("mute", fac);
+ }
+
+
+
+
+
+ public static Efl.BindableProperty<bool> SmoothScale<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Image, T>magic = null) where T : Efl.Ui.Image {
+ return new Efl.BindableProperty<bool>("smooth_scale", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Gfx.ImageScaleType> ScaleType<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Image, T>magic = null) where T : Efl.Ui.Image {
+ return new Efl.BindableProperty<Efl.Gfx.ImageScaleType>("scale_type", fac);
+ }
+
+ public static Efl.BindableProperty<bool> CanUpscale<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Image, T>magic = null) where T : Efl.Ui.Image {
+ return new Efl.BindableProperty<bool>("can_upscale", fac);
+ }
+
+ public static Efl.BindableProperty<bool> CanDownscale<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Image, T>magic = null) where T : Efl.Ui.Image {
+ return new Efl.BindableProperty<bool>("can_downscale", fac);
+ }
+
+
+
+
+ public static Efl.BindableProperty<double> BorderScale<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Image, T>magic = null) where T : Efl.Ui.Image {
+ return new Efl.BindableProperty<double>("border_scale", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Gfx.BorderFillMode> BorderCenterFill<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Image, T>magic = null) where T : Efl.Ui.Image {
+ return new Efl.BindableProperty<Efl.Gfx.BorderFillMode>("border_center_fill", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<Efl.Gfx.ImageContentHint> ContentHint<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Image, T>magic = null) where T : Efl.Ui.Image {
+ return new Efl.BindableProperty<Efl.Gfx.ImageContentHint>("content_hint", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Gfx.ImageScaleHint> ScaleHint<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Image, T>magic = null) where T : Efl.Ui.Image {
+ return new Efl.BindableProperty<Efl.Gfx.ImageScaleHint>("scale_hint", fac);
+ }
+
+
+ public static Efl.BindableProperty<Eina.Size2D> LoadSize<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Image, T>magic = null) where T : Efl.Ui.Image {
+ return new Efl.BindableProperty<Eina.Size2D>("load_size", fac);
+ }
+
+ public static Efl.BindableProperty<double> LoadDpi<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Image, T>magic = null) where T : Efl.Ui.Image {
+ return new Efl.BindableProperty<double>("load_dpi", fac);
+ }
+
+
+ public static Efl.BindableProperty<Eina.Rect> LoadRegion<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Image, T>magic = null) where T : Efl.Ui.Image {
+ return new Efl.BindableProperty<Eina.Rect>("load_region", fac);
+ }
+
+ public static Efl.BindableProperty<bool> LoadOrientation<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Image, T>magic = null) where T : Efl.Ui.Image {
+ return new Efl.BindableProperty<bool>("load_orientation", fac);
+ }
+
+ public static Efl.BindableProperty<int> LoadScaleDown<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Image, T>magic = null) where T : Efl.Ui.Image {
+ return new Efl.BindableProperty<int>("load_scale_down", fac);
+ }
+
+ public static Efl.BindableProperty<bool> LoadSkipHeader<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Image, T>magic = null) where T : Efl.Ui.Image {
+ return new Efl.BindableProperty<bool>("load_skip_header", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Gfx.ImageOrientation> ImageOrientation<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Image, T>magic = null) where T : Efl.Ui.Image {
+ return new Efl.BindableProperty<Efl.Gfx.ImageOrientation>("image_orientation", fac);
+ }
+
+ public static Efl.BindableProperty<Eina.Size2D> ViewSize<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Image, T>magic = null) where T : Efl.Ui.Image {
+ return new Efl.BindableProperty<Eina.Size2D>("view_size", fac);
+ }
+
+
+ public static Efl.BindableProperty<bool> CalcAutoUpdateHints<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Image, T>magic = null) where T : Efl.Ui.Image {
+ return new Efl.BindableProperty<bool>("calc_auto_update_hints", fac);
+ }
+
+
+
+
+
+ public static Efl.BindableProperty<bool> DragTarget<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Image, T>magic = null) where T : Efl.Ui.Image {
+ return new Efl.BindableProperty<bool>("drag_target", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
namespace Efl {
namespace Ui {
public double Now;
/// <summary>Total percentage</summary>
public double Total;
- ///<summary>Constructor for ImageProgress.</summary>
+ /// <summary>Constructor for ImageProgress.</summary>
+ /// <param name="Now">Current percentage</param>;
+ /// <param name="Total">Total percentage</param>;
public ImageProgress(
double Now = default(double),
double Total = default(double) )
this.Total = Total;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 ImageProgress(IntPtr ptr)
{
var tmp = (ImageProgress.NativeStruct)Marshal.PtrToStructure(ptr, typeof(ImageProgress.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct ImageProgress.</summary>
+ /// <summary>Internal wrapper for struct ImageProgress.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
public double Now;
public double Total;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator ImageProgress.NativeStruct(ImageProgress _external_struct)
{
var _internal_struct = new ImageProgress.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator ImageProgress(ImageProgress.NativeStruct _internal_struct)
{
var _external_struct = new ImageProgress();
public int Status;
/// <summary><c>true</c> if the error happened when opening the file, <c>false</c> otherwise</summary>
public bool Open_error;
- ///<summary>Constructor for ImageError.</summary>
+ /// <summary>Constructor for ImageError.</summary>
+ /// <param name="Status">Error status of the download</param>;
+ /// <param name="Open_error"><c>true</c> if the error happened when opening the file, <c>false</c> otherwise</param>;
public ImageError(
int Status = default(int),
bool Open_error = default(bool) )
this.Open_error = Open_error;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 ImageError(IntPtr ptr)
{
var tmp = (ImageError.NativeStruct)Marshal.PtrToStructure(ptr, typeof(ImageError.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct ImageError.</summary>
+ /// <summary>Internal wrapper for struct ImageError.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
public int Status;
- ///<summary>Internal wrapper for field Open_error</summary>
+ /// <summary>Internal wrapper for field Open_error</summary>
public System.Byte Open_error;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator ImageError.NativeStruct(ImageError _external_struct)
{
var _internal_struct = new ImageError.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator ImageError(ImageError.NativeStruct _internal_struct)
{
var _external_struct = new ImageError();
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Efl UI image factory class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.ImageFactory.NativeMethods]
[Efl.Eo.BindingEntity]
public class ImageFactory : Efl.Ui.CachingFactory
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected ImageFactory(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiImageFactory_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.ImageZoomable.DownloadProgressEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called when photocam download progress updated</value>
public Elm.Photocam.Progress arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.ImageZoomable.DownloadErrorEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called when photocam download failed</value>
public Elm.Photocam.Error arg { get; set; }
}
/// <summary>Elementary Image Zoomable class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected ImageZoomable(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event PressEvt.</summary>
+ /// <summary>Method to raise event PressEvt.</summary>
public void OnPressEvt(EventArgs e)
{
var key = "_EFL_UI_IMAGE_ZOOMABLE_EVENT_PRESS";
}
}
}
- ///<summary>Method to raise event LoadEvt.</summary>
+ /// <summary>Method to raise event LoadEvt.</summary>
public void OnLoadEvt(EventArgs e)
{
var key = "_EFL_UI_IMAGE_ZOOMABLE_EVENT_LOAD";
}
}
}
- ///<summary>Method to raise event LoadedEvt.</summary>
+ /// <summary>Method to raise event LoadedEvt.</summary>
public void OnLoadedEvt(EventArgs e)
{
var key = "_EFL_UI_IMAGE_ZOOMABLE_EVENT_LOADED";
}
}
}
- ///<summary>Method to raise event LoadDetailEvt.</summary>
+ /// <summary>Method to raise event LoadDetailEvt.</summary>
public void OnLoadDetailEvt(EventArgs e)
{
var key = "_EFL_UI_IMAGE_ZOOMABLE_EVENT_LOAD_DETAIL";
}
}
}
- ///<summary>Method to raise event LoadedDetailEvt.</summary>
+ /// <summary>Method to raise event LoadedDetailEvt.</summary>
public void OnLoadedDetailEvt(EventArgs e)
{
var key = "_EFL_UI_IMAGE_ZOOMABLE_EVENT_LOADED_DETAIL";
}
}
}
- ///<summary>Method to raise event DownloadStartEvt.</summary>
+ /// <summary>Method to raise event DownloadStartEvt.</summary>
public void OnDownloadStartEvt(EventArgs e)
{
var key = "_EFL_UI_IMAGE_ZOOMABLE_EVENT_DOWNLOAD_START";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
/// <summary>Called when photocam download progress updated</summary>
+ /// <value><see cref="Efl.Ui.ImageZoomableDownloadProgressEvt_Args"/></value>
public event EventHandler<Efl.Ui.ImageZoomableDownloadProgressEvt_Args> DownloadProgressEvt
{
add
}
}
}
- ///<summary>Method to raise event DownloadProgressEvt.</summary>
+ /// <summary>Method to raise event DownloadProgressEvt.</summary>
public void OnDownloadProgressEvt(Efl.Ui.ImageZoomableDownloadProgressEvt_Args e)
{
var key = "_EFL_UI_IMAGE_ZOOMABLE_EVENT_DOWNLOAD_PROGRESS";
}
}
}
- ///<summary>Method to raise event DownloadDoneEvt.</summary>
+ /// <summary>Method to raise event DownloadDoneEvt.</summary>
public void OnDownloadDoneEvt(EventArgs e)
{
var key = "_EFL_UI_IMAGE_ZOOMABLE_EVENT_DOWNLOAD_DONE";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
/// <summary>Called when photocam download failed</summary>
+ /// <value><see cref="Efl.Ui.ImageZoomableDownloadErrorEvt_Args"/></value>
public event EventHandler<Efl.Ui.ImageZoomableDownloadErrorEvt_Args> DownloadErrorEvt
{
add
}
}
}
- ///<summary>Method to raise event DownloadErrorEvt.</summary>
+ /// <summary>Method to raise event DownloadErrorEvt.</summary>
public void OnDownloadErrorEvt(Efl.Ui.ImageZoomableDownloadErrorEvt_Args e)
{
var key = "_EFL_UI_IMAGE_ZOOMABLE_EVENT_DOWNLOAD_ERROR";
}
}
}
- ///<summary>Method to raise event ScrollStartEvt.</summary>
+ /// <summary>Method to raise event ScrollStartEvt.</summary>
public void OnScrollStartEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_START";
}
}
}
- ///<summary>Method to raise event ScrollEvt.</summary>
+ /// <summary>Method to raise event ScrollEvt.</summary>
public void OnScrollEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL";
}
}
}
- ///<summary>Method to raise event ScrollStopEvt.</summary>
+ /// <summary>Method to raise event ScrollStopEvt.</summary>
public void OnScrollStopEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_STOP";
}
}
}
- ///<summary>Method to raise event ScrollUpEvt.</summary>
+ /// <summary>Method to raise event ScrollUpEvt.</summary>
public void OnScrollUpEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_UP";
}
}
}
- ///<summary>Method to raise event ScrollDownEvt.</summary>
+ /// <summary>Method to raise event ScrollDownEvt.</summary>
public void OnScrollDownEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_DOWN";
}
}
}
- ///<summary>Method to raise event ScrollLeftEvt.</summary>
+ /// <summary>Method to raise event ScrollLeftEvt.</summary>
public void OnScrollLeftEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_LEFT";
}
}
}
- ///<summary>Method to raise event ScrollRightEvt.</summary>
+ /// <summary>Method to raise event ScrollRightEvt.</summary>
public void OnScrollRightEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_RIGHT";
}
}
}
- ///<summary>Method to raise event EdgeUpEvt.</summary>
+ /// <summary>Method to raise event EdgeUpEvt.</summary>
public void OnEdgeUpEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_EDGE_UP";
}
}
}
- ///<summary>Method to raise event EdgeDownEvt.</summary>
+ /// <summary>Method to raise event EdgeDownEvt.</summary>
public void OnEdgeDownEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_EDGE_DOWN";
}
}
}
- ///<summary>Method to raise event EdgeLeftEvt.</summary>
+ /// <summary>Method to raise event EdgeLeftEvt.</summary>
public void OnEdgeLeftEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_EDGE_LEFT";
}
}
}
- ///<summary>Method to raise event EdgeRightEvt.</summary>
+ /// <summary>Method to raise event EdgeRightEvt.</summary>
public void OnEdgeRightEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_EDGE_RIGHT";
}
}
}
- ///<summary>Method to raise event ScrollAnimStartEvt.</summary>
+ /// <summary>Method to raise event ScrollAnimStartEvt.</summary>
public void OnScrollAnimStartEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_ANIM_START";
}
}
}
- ///<summary>Method to raise event ScrollAnimStopEvt.</summary>
+ /// <summary>Method to raise event ScrollAnimStopEvt.</summary>
public void OnScrollAnimStopEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP";
}
}
}
- ///<summary>Method to raise event ScrollDragStartEvt.</summary>
+ /// <summary>Method to raise event ScrollDragStartEvt.</summary>
public void OnScrollDragStartEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_DRAG_START";
}
}
}
- ///<summary>Method to raise event ScrollDragStopEvt.</summary>
+ /// <summary>Method to raise event ScrollDragStopEvt.</summary>
public void OnScrollDragStopEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
/// <summary>Called when bar is pressed.</summary>
+ /// <value><see cref="Efl.Ui.IScrollbarBarPressEvt_Args"/></value>
public event EventHandler<Efl.Ui.IScrollbarBarPressEvt_Args> BarPressEvt
{
add
if (obj != null)
{
Efl.Ui.IScrollbarBarPressEvt_Args args = new Efl.Ui.IScrollbarBarPressEvt_Args();
- args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
+ args.arg = (Efl.Ui.LayoutOrientation)evt.Info;
try
{
value?.Invoke(obj, args);
}
}
}
- ///<summary>Method to raise event BarPressEvt.</summary>
+ /// <summary>Method to raise event BarPressEvt.</summary>
public void OnBarPressEvt(Efl.Ui.IScrollbarBarPressEvt_Args e)
{
var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS";
}
}
/// <summary>Called when bar is unpressed.</summary>
+ /// <value><see cref="Efl.Ui.IScrollbarBarUnpressEvt_Args"/></value>
public event EventHandler<Efl.Ui.IScrollbarBarUnpressEvt_Args> BarUnpressEvt
{
add
if (obj != null)
{
Efl.Ui.IScrollbarBarUnpressEvt_Args args = new Efl.Ui.IScrollbarBarUnpressEvt_Args();
- args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
+ args.arg = (Efl.Ui.LayoutOrientation)evt.Info;
try
{
value?.Invoke(obj, args);
}
}
}
- ///<summary>Method to raise event BarUnpressEvt.</summary>
+ /// <summary>Method to raise event BarUnpressEvt.</summary>
public void OnBarUnpressEvt(Efl.Ui.IScrollbarBarUnpressEvt_Args e)
{
var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS";
}
}
/// <summary>Called when bar is dragged.</summary>
+ /// <value><see cref="Efl.Ui.IScrollbarBarDragEvt_Args"/></value>
public event EventHandler<Efl.Ui.IScrollbarBarDragEvt_Args> BarDragEvt
{
add
if (obj != null)
{
Efl.Ui.IScrollbarBarDragEvt_Args args = new Efl.Ui.IScrollbarBarDragEvt_Args();
- args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
+ args.arg = (Efl.Ui.LayoutOrientation)evt.Info;
try
{
value?.Invoke(obj, args);
}
}
}
- ///<summary>Method to raise event BarDragEvt.</summary>
+ /// <summary>Method to raise event BarDragEvt.</summary>
public void OnBarDragEvt(Efl.Ui.IScrollbarBarDragEvt_Args e)
{
var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG";
}
}
}
- ///<summary>Method to raise event BarSizeChangedEvt.</summary>
+ /// <summary>Method to raise event BarSizeChangedEvt.</summary>
public void OnBarSizeChangedEvt(EventArgs e)
{
var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED";
}
}
}
- ///<summary>Method to raise event BarPosChangedEvt.</summary>
+ /// <summary>Method to raise event BarPosChangedEvt.</summary>
public void OnBarPosChangedEvt(EventArgs e)
{
var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
/// <summary>Callend when bar is shown.</summary>
+ /// <value><see cref="Efl.Ui.IScrollbarBarShowEvt_Args"/></value>
public event EventHandler<Efl.Ui.IScrollbarBarShowEvt_Args> BarShowEvt
{
add
if (obj != null)
{
Efl.Ui.IScrollbarBarShowEvt_Args args = new Efl.Ui.IScrollbarBarShowEvt_Args();
- args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
+ args.arg = (Efl.Ui.LayoutOrientation)evt.Info;
try
{
value?.Invoke(obj, args);
}
}
}
- ///<summary>Method to raise event BarShowEvt.</summary>
+ /// <summary>Method to raise event BarShowEvt.</summary>
public void OnBarShowEvt(Efl.Ui.IScrollbarBarShowEvt_Args e)
{
var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW";
}
}
/// <summary>Called when bar is hidden.</summary>
+ /// <value><see cref="Efl.Ui.IScrollbarBarHideEvt_Args"/></value>
public event EventHandler<Efl.Ui.IScrollbarBarHideEvt_Args> BarHideEvt
{
add
if (obj != null)
{
Efl.Ui.IScrollbarBarHideEvt_Args args = new Efl.Ui.IScrollbarBarHideEvt_Args();
- args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
+ args.arg = (Efl.Ui.LayoutOrientation)evt.Info;
try
{
value?.Invoke(obj, args);
}
}
}
- ///<summary>Method to raise event BarHideEvt.</summary>
+ /// <summary>Method to raise event BarHideEvt.</summary>
public void OnBarHideEvt(Efl.Ui.IScrollbarBarHideEvt_Args e)
{
var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE";
}
}
}
- ///<summary>Method to raise event ZoomStartEvt.</summary>
+ /// <summary>Method to raise event ZoomStartEvt.</summary>
public void OnZoomStartEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_ZOOM_START";
}
}
}
- ///<summary>Method to raise event ZoomStopEvt.</summary>
+ /// <summary>Method to raise event ZoomStopEvt.</summary>
public void OnZoomStopEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_ZOOM_STOP";
}
}
}
- ///<summary>Method to raise event ZoomChangeEvt.</summary>
+ /// <summary>Method to raise event ZoomChangeEvt.</summary>
public void OnZoomChangeEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_ZOOM_CHANGE";
public Eina.Rect ViewportGeometry {
get { return GetViewportGeometry(); }
}
+ /// <summary>Bouncing behavior
+ /// When scrolling, the scroller may "bounce" when reaching the edge of the content object. This is a visual way to indicate the end has been reached. This is enabled by default for both axes. This API will determine if it's enabled for the given axis with the boolean parameters for each one.</summary>
+ /// <value>Horizontal bounce policy.</value>
+ public (bool, bool) BounceEnabled {
+ get {
+ bool _out_horiz = default(bool);
+ bool _out_vert = default(bool);
+ GetBounceEnabled(out _out_horiz,out _out_vert);
+ return (_out_horiz,_out_vert);
+ }
+ set { SetBounceEnabled( value.Item1, value.Item2); }
+ }
/// <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>
/// <value><c>true</c> if freeze, <c>false</c> otherwise</value>
public bool ScrollFreeze {
get { return GetScrollHold(); }
set { SetScrollHold(value); }
}
+ /// <summary>Controls an infinite loop for a scroller.</summary>
+ /// <value>The scrolling horizontal loop</value>
+ public (bool, bool) Looping {
+ get {
+ bool _out_loop_h = default(bool);
+ bool _out_loop_v = default(bool);
+ GetLooping(out _out_loop_h,out _out_loop_v);
+ return (_out_loop_h,_out_loop_v);
+ }
+ set { SetLooping( value.Item1, value.Item2); }
+ }
/// <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>
/// <value>Which axis (or axes) to block</value>
get { return GetMovementBlock(); }
set { SetMovementBlock(value); }
}
+ /// <summary>Control scrolling gravity on the scrollable
+ /// The gravity defines how the scroller will adjust its view when the size of the scroller contents increases.
+ ///
+ /// The scroller will adjust the view to glue itself as follows.
+ ///
+ /// x=0.0, for staying where it is relative to the left edge of the content x=1.0, for staying where it is relative to the right edge of the content y=0.0, for staying where it is relative to the top edge of the content y=1.0, for staying where it is relative to the bottom edge of the content
+ ///
+ /// Default values for x and y are 0.0</summary>
+ /// <value>Horizontal scrolling gravity</value>
+ public (double, double) Gravity {
+ get {
+ double _out_x = default(double);
+ double _out_y = default(double);
+ GetGravity(out _out_x,out _out_y);
+ return (_out_x,_out_y);
+ }
+ set { SetGravity( value.Item1, value.Item2); }
+ }
+ /// <summary>Prevent the scrollable from being smaller than the minimum size of the content.
+ /// By default the scroller will be as small as its design allows, irrespective of its content. This will make the scroller minimum size the right size horizontally and/or vertically to perfectly fit its content in that direction.</summary>
+ /// <value>Whether to limit the minimum horizontal size</value>
+ public (bool, bool) MatchContent {
+ set { SetMatchContent( value.Item1, value.Item2); }
+ }
/// <summary>Control the step size
/// Use this call to set step size. This value is used when scroller scroll by arrow key event.</summary>
/// <value>The step size in pixels</value>
get { return GetStepSize(); }
set { SetStepSize(value); }
}
+ /// <summary>Scrollbar visibility policy</summary>
+ /// <value>Horizontal scrollbar.</value>
+ public (Efl.Ui.ScrollbarMode, Efl.Ui.ScrollbarMode) BarMode {
+ get {
+ Efl.Ui.ScrollbarMode _out_hbar = default(Efl.Ui.ScrollbarMode);
+ Efl.Ui.ScrollbarMode _out_vbar = default(Efl.Ui.ScrollbarMode);
+ GetBarMode(out _out_hbar,out _out_vbar);
+ return (_out_hbar,_out_vbar);
+ }
+ set { SetBarMode( value.Item1, value.Item2); }
+ }
+ /// <summary>Scrollbar size. It is calculated based on viewport size-content sizes.</summary>
+ public (double, double) BarSize {
+ get {
+ double _out_width = default(double);
+ double _out_height = default(double);
+ GetBarSize(out _out_width,out _out_height);
+ return (_out_width,_out_height);
+ }
+ }
+ /// <summary>Scrollbar position. It is calculated based on current position-maximum positions.</summary>
+ /// <value>Value between 0.0 and 1.0.</value>
+ public (double, double) BarPosition {
+ get {
+ double _out_posx = default(double);
+ double _out_posy = default(double);
+ GetBarPosition(out _out_posx,out _out_posy);
+ return (_out_posx,_out_posy);
+ }
+ set { SetBarPosition( value.Item1, value.Item2); }
+ }
/// <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>
/// <value>The paused state.</value>
public bool ZoomAnimation {
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiImageZoomable_ExtensionMethods {
+ public static Efl.BindableProperty<bool> GestureEnabled<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.ImageZoomable, T>magic = null) where T : Efl.Ui.ImageZoomable {
+ return new Efl.BindableProperty<bool>("gesture_enabled", fac);
+ }
+
+ public static Efl.BindableProperty<Eina.Rect> ImageRegion<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.ImageZoomable, T>magic = null) where T : Efl.Ui.ImageZoomable {
+ return new Efl.BindableProperty<Eina.Rect>("image_region", fac);
+ }
+
+ public static Efl.BindableProperty<Eina.Position2D> ContentPos<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.ImageZoomable, T>magic = null) where T : Efl.Ui.ImageZoomable {
+ return new Efl.BindableProperty<Eina.Position2D>("content_pos", fac);
+ }
+
+
+
+
+ public static Efl.BindableProperty<bool> ScrollFreeze<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.ImageZoomable, T>magic = null) where T : Efl.Ui.ImageZoomable {
+ return new Efl.BindableProperty<bool>("scroll_freeze", fac);
+ }
+
+ public static Efl.BindableProperty<bool> ScrollHold<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.ImageZoomable, T>magic = null) where T : Efl.Ui.ImageZoomable {
+ return new Efl.BindableProperty<bool>("scroll_hold", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.Ui.ScrollBlock> MovementBlock<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.ImageZoomable, T>magic = null) where T : Efl.Ui.ImageZoomable {
+ return new Efl.BindableProperty<Efl.Ui.ScrollBlock>("movement_block", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<Eina.Position2D> StepSize<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.ImageZoomable, T>magic = null) where T : Efl.Ui.ImageZoomable {
+ return new Efl.BindableProperty<Eina.Position2D>("step_size", fac);
+ }
+
+
+
+
+ public static Efl.BindableProperty<bool> ZoomAnimation<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.ImageZoomable, T>magic = null) where T : Efl.Ui.ImageZoomable {
+ return new Efl.BindableProperty<bool>("zoom_animation", fac);
+ }
+
+ public static Efl.BindableProperty<double> ZoomLevel<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.ImageZoomable, T>magic = null) where T : Efl.Ui.ImageZoomable {
+ return new Efl.BindableProperty<double>("zoom_level", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Ui.ZoomMode> ZoomMode<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.ImageZoomable, T>magic = null) where T : Efl.Ui.ImageZoomable {
+ return new Efl.BindableProperty<Efl.Ui.ZoomMode>("zoom_mode", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
namespace Elm {
namespace Photocam {
[Efl.Eo.BindingEntity]
public struct Error
{
- ///<summary>Placeholder field</summary>
+ /// <summary>Placeholder field</summary>
public IntPtr field;
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 Error(IntPtr ptr)
{
var tmp = (Error.NativeStruct)Marshal.PtrToStructure(ptr, typeof(Error.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct Error.</summary>
+ /// <summary>Internal wrapper for struct Error.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
internal IntPtr field;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator Error.NativeStruct(Error _external_struct)
{
var _internal_struct = new Error.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator Error(Error.NativeStruct _internal_struct)
{
var _external_struct = new Error();
[Efl.Eo.BindingEntity]
public struct Progress
{
- ///<summary>Placeholder field</summary>
+ /// <summary>Placeholder field</summary>
public IntPtr field;
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 Progress(IntPtr ptr)
{
var tmp = (Progress.NativeStruct)Marshal.PtrToStructure(ptr, typeof(Progress.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct Progress.</summary>
+ /// <summary>Internal wrapper for struct Progress.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
internal IntPtr field;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator Progress.NativeStruct(Progress _external_struct)
{
var _internal_struct = new Progress.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator Progress(Progress.NativeStruct _internal_struct)
{
var _external_struct = new Progress();
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Elementary photocom pan class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.ImageZoomablePan.NativeMethods]
[Efl.Eo.BindingEntity]
public class ImageZoomablePan : Efl.Ui.Pan
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected ImageZoomablePan(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiImageZoomablePan_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
-/// <summary>Item abstract class for pack widget. All item have to be inherited from this class.</summary>
+/// <summary>Selectable Item abstraction.
+/// This class serves as the basis to create widgets acting as selectable items inside containers like <see cref="Efl.Ui.List"/> or <see cref="Efl.Ui.Grid"/>, for example. <see cref="Efl.Ui.Item"/> provides user interaction through the <see cref="Efl.Input.IClickable"/> mixin. Items can be pressed, long-pressed, etc, and appropriate events are generated. <see cref="Efl.Ui.Item"/> also implements the <see cref="Efl.Ui.ISelectable"/> interface, meaning that "selected" and "unselected" events are automatically generated.
+///
+/// Classes inheriting from this one only need to deal with the visual representation of the widget. See for example <see cref="Efl.Ui.GridDefaultItem"/> and <see cref="Efl.Ui.ListDefaultItem"/>.
+///
+/// Some events are converted to edje signals so the theme can react to them: <see cref="Efl.Input.IClickable.PressedEvt"/> -> "efl,state,pressed", <see cref="Efl.Input.IClickable.UnpressedEvt"/> -> "efl,state,unpressed", <see cref="Efl.Ui.ISelectable.SelectedChangedEvt"/> (true) -> "efl,state,selected", <see cref="Efl.Ui.ISelectable.SelectedChangedEvt"/> (false) -> "efl,state,unselected".</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.Item.NativeMethods]
[Efl.Eo.BindingEntity]
-public abstract class Item : Efl.Ui.LayoutBase, Efl.Ui.IClickable, Efl.Ui.ISelectable
+public abstract class Item : Efl.Ui.LayoutBase, Efl.Input.IClickable, Efl.Ui.ISelectable
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Item(ConstructingHandle ch) : base(ch)
{
}
/// <summary>Called when object is in sequence pressed and unpressed, by the primary button</summary>
- public event EventHandler<Efl.Ui.IClickableClickedEvt_Args> ClickedEvt
+ /// <value><see cref="Efl.Input.IClickableClickedEvt_Args"/></value>
+ public event EventHandler<Efl.Input.IClickableClickedEvt_Args> ClickedEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- Efl.Ui.IClickableClickedEvt_Args args = new Efl.Ui.IClickableClickedEvt_Args();
+ Efl.Input.IClickableClickedEvt_Args args = new Efl.Input.IClickableClickedEvt_Args();
args.arg = evt.Info;
try
{
}
};
- string key = "_EFL_UI_EVENT_CLICKED";
+ string key = "_EFL_INPUT_EVENT_CLICKED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_CLICKED";
+ string key = "_EFL_INPUT_EVENT_CLICKED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event ClickedEvt.</summary>
- public void OnClickedEvt(Efl.Ui.IClickableClickedEvt_Args e)
+ /// <summary>Method to raise event ClickedEvt.</summary>
+ public void OnClickedEvt(Efl.Input.IClickableClickedEvt_Args e)
{
- var key = "_EFL_UI_EVENT_CLICKED";
+ var key = "_EFL_INPUT_EVENT_CLICKED";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
}
}
/// <summary>Called when object is in sequence pressed and unpressed by any button. The button that triggered the event can be found in the event information.</summary>
- public event EventHandler<Efl.Ui.IClickableClickedAnyEvt_Args> ClickedAnyEvt
+ /// <value><see cref="Efl.Input.IClickableClickedAnyEvt_Args"/></value>
+ public event EventHandler<Efl.Input.IClickableClickedAnyEvt_Args> ClickedAnyEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- Efl.Ui.IClickableClickedAnyEvt_Args args = new Efl.Ui.IClickableClickedAnyEvt_Args();
+ Efl.Input.IClickableClickedAnyEvt_Args args = new Efl.Input.IClickableClickedAnyEvt_Args();
args.arg = evt.Info;
try
{
}
};
- string key = "_EFL_UI_EVENT_CLICKED_ANY";
+ string key = "_EFL_INPUT_EVENT_CLICKED_ANY";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_CLICKED_ANY";
+ string key = "_EFL_INPUT_EVENT_CLICKED_ANY";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event ClickedAnyEvt.</summary>
- public void OnClickedAnyEvt(Efl.Ui.IClickableClickedAnyEvt_Args e)
+ /// <summary>Method to raise event ClickedAnyEvt.</summary>
+ public void OnClickedAnyEvt(Efl.Input.IClickableClickedAnyEvt_Args e)
{
- var key = "_EFL_UI_EVENT_CLICKED_ANY";
+ var key = "_EFL_INPUT_EVENT_CLICKED_ANY";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
}
}
/// <summary>Called when the object is pressed, event_info is the button that got pressed</summary>
- public event EventHandler<Efl.Ui.IClickablePressedEvt_Args> PressedEvt
+ /// <value><see cref="Efl.Input.IClickablePressedEvt_Args"/></value>
+ public event EventHandler<Efl.Input.IClickablePressedEvt_Args> PressedEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- Efl.Ui.IClickablePressedEvt_Args args = new Efl.Ui.IClickablePressedEvt_Args();
+ Efl.Input.IClickablePressedEvt_Args args = new Efl.Input.IClickablePressedEvt_Args();
args.arg = Marshal.ReadInt32(evt.Info);
try
{
}
};
- string key = "_EFL_UI_EVENT_PRESSED";
+ string key = "_EFL_INPUT_EVENT_PRESSED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_PRESSED";
+ string key = "_EFL_INPUT_EVENT_PRESSED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event PressedEvt.</summary>
- public void OnPressedEvt(Efl.Ui.IClickablePressedEvt_Args e)
+ /// <summary>Method to raise event PressedEvt.</summary>
+ public void OnPressedEvt(Efl.Input.IClickablePressedEvt_Args e)
{
- var key = "_EFL_UI_EVENT_PRESSED";
+ var key = "_EFL_INPUT_EVENT_PRESSED";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
}
}
/// <summary>Called when the object is no longer pressed, event_info is the button that got pressed</summary>
- public event EventHandler<Efl.Ui.IClickableUnpressedEvt_Args> UnpressedEvt
+ /// <value><see cref="Efl.Input.IClickableUnpressedEvt_Args"/></value>
+ public event EventHandler<Efl.Input.IClickableUnpressedEvt_Args> UnpressedEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- Efl.Ui.IClickableUnpressedEvt_Args args = new Efl.Ui.IClickableUnpressedEvt_Args();
+ Efl.Input.IClickableUnpressedEvt_Args args = new Efl.Input.IClickableUnpressedEvt_Args();
args.arg = Marshal.ReadInt32(evt.Info);
try
{
}
};
- string key = "_EFL_UI_EVENT_UNPRESSED";
+ string key = "_EFL_INPUT_EVENT_UNPRESSED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_UNPRESSED";
+ string key = "_EFL_INPUT_EVENT_UNPRESSED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event UnpressedEvt.</summary>
- public void OnUnpressedEvt(Efl.Ui.IClickableUnpressedEvt_Args e)
+ /// <summary>Method to raise event UnpressedEvt.</summary>
+ public void OnUnpressedEvt(Efl.Input.IClickableUnpressedEvt_Args e)
{
- var key = "_EFL_UI_EVENT_UNPRESSED";
+ var key = "_EFL_INPUT_EVENT_UNPRESSED";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
}
}
/// <summary>Called when the object receives a long press, event_info is the button that got pressed</summary>
- public event EventHandler<Efl.Ui.IClickableLongpressedEvt_Args> LongpressedEvt
+ /// <value><see cref="Efl.Input.IClickableLongpressedEvt_Args"/></value>
+ public event EventHandler<Efl.Input.IClickableLongpressedEvt_Args> LongpressedEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- Efl.Ui.IClickableLongpressedEvt_Args args = new Efl.Ui.IClickableLongpressedEvt_Args();
+ Efl.Input.IClickableLongpressedEvt_Args args = new Efl.Input.IClickableLongpressedEvt_Args();
args.arg = Marshal.ReadInt32(evt.Info);
try
{
}
};
- string key = "_EFL_UI_EVENT_LONGPRESSED";
+ string key = "_EFL_INPUT_EVENT_LONGPRESSED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_LONGPRESSED";
+ string key = "_EFL_INPUT_EVENT_LONGPRESSED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event LongpressedEvt.</summary>
- public void OnLongpressedEvt(Efl.Ui.IClickableLongpressedEvt_Args e)
+ /// <summary>Method to raise event LongpressedEvt.</summary>
+ public void OnLongpressedEvt(Efl.Input.IClickableLongpressedEvt_Args e)
{
- var key = "_EFL_UI_EVENT_LONGPRESSED";
+ var key = "_EFL_INPUT_EVENT_LONGPRESSED";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
Marshal.FreeHGlobal(info);
}
}
- /// <summary>Called when selected</summary>
- public event EventHandler<Efl.Ui.ISelectableItemSelectedEvt_Args> ItemSelectedEvt
+ /// <summary>Called when the selected state has changed</summary>
+ /// <value><see cref="Efl.Ui.ISelectableSelectedChangedEvt_Args"/></value>
+ public event EventHandler<Efl.Ui.ISelectableSelectedChangedEvt_Args> SelectedChangedEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- Efl.Ui.ISelectableItemSelectedEvt_Args args = new Efl.Ui.ISelectableItemSelectedEvt_Args();
- args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Object);
+ Efl.Ui.ISelectableSelectedChangedEvt_Args args = new Efl.Ui.ISelectableSelectedChangedEvt_Args();
+ args.arg = Marshal.ReadByte(evt.Info) != 0;
try
{
value?.Invoke(obj, args);
}
};
- string key = "_EFL_UI_EVENT_ITEM_SELECTED";
+ string key = "_EFL_UI_EVENT_SELECTED_CHANGED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_ITEM_SELECTED";
+ string key = "_EFL_UI_EVENT_SELECTED_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event ItemSelectedEvt.</summary>
- public void OnItemSelectedEvt(Efl.Ui.ISelectableItemSelectedEvt_Args e)
+ /// <summary>Method to raise event SelectedChangedEvt.</summary>
+ public void OnSelectedChangedEvt(Efl.Ui.ISelectableSelectedChangedEvt_Args e)
{
- var key = "_EFL_UI_EVENT_ITEM_SELECTED";
+ var key = "_EFL_UI_EVENT_SELECTED_CHANGED";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
return;
}
- IntPtr info = e.arg.NativeHandle;
- Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
- }
- /// <summary>Called when no longer selected</summary>
- public event EventHandler<Efl.Ui.ISelectableItemUnselectedEvt_Args> ItemUnselectedEvt
- {
- 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.ISelectableItemUnselectedEvt_Args args = new Efl.Ui.ISelectableItemUnselectedEvt_Args();
- args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Object);
- try
- {
- value?.Invoke(obj, args);
- }
- catch (Exception e)
- {
- Eina.Log.Error(e.ToString());
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
- }
- };
-
- string key = "_EFL_UI_EVENT_ITEM_UNSELECTED";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_ITEM_UNSELECTED";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ItemUnselectedEvt.</summary>
- public void OnItemUnselectedEvt(Efl.Ui.ISelectableItemUnselectedEvt_Args e)
- {
- var key = "_EFL_UI_EVENT_ITEM_UNSELECTED";
- 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 = e.arg.NativeHandle;
- Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
- }
- /// <summary>Called when selection is pasted</summary>
- public event EventHandler SelectionPasteEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SELECTION_PASTE";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SELECTION_PASTE";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event SelectionPasteEvt.</summary>
- public void OnSelectionPasteEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SELECTION_PASTE";
- 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>Called when selection is copied</summary>
- public event EventHandler SelectionCopyEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SELECTION_COPY";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SELECTION_COPY";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event SelectionCopyEvt.</summary>
- public void OnSelectionCopyEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SELECTION_COPY";
- 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>Called when selection is cut</summary>
- public event EventHandler SelectionCutEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SELECTION_CUT";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SELECTION_CUT";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event SelectionCutEvt.</summary>
- public void OnSelectionCutEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SELECTION_CUT";
- 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>Called at selection start</summary>
- public event EventHandler SelectionStartEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SELECTION_START";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SELECTION_START";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event SelectionStartEvt.</summary>
- public void OnSelectionStartEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SELECTION_START";
- 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>Called when selection is changed</summary>
- public event EventHandler SelectionChangedEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SELECTION_CHANGED";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SELECTION_CHANGED";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event SelectionChangedEvt.</summary>
- public void OnSelectionChangedEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SELECTION_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>Called when selection is cleared</summary>
- public event EventHandler SelectionClearedEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SELECTION_CLEARED";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
+ IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg ? (byte) 1 : (byte) 0);
+ try
{
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SELECTION_CLEARED";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
+ Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
- }
- ///<summary>Method to raise event SelectionClearedEvt.</summary>
- public void OnSelectionClearedEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SELECTION_CLEARED";
- IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
- if (desc == IntPtr.Zero)
+ finally
{
- Eina.Log.Error($"Failed to get native event {key}");
- return;
+ Marshal.FreeHGlobal(info);
}
-
- Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>index number of item from their parent object.</summary>
+ /// <summary>The index of this item inside its container.
+ /// The container must be set through the <see cref="Efl.Ui.Item.Container"/> property.</summary>
+ /// <returns>The index where to find this item in its <c>container</c>.</returns>
virtual public int GetIndex() {
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((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((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>
+ /// You should never use this property directly, the container will set it when the item is added. Unsetting this while the item is packed inside a container does not remove the item from 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)));
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>
+ /// You should never use this property directly, the container will set it when the item is added. Unsetting this while the item is packed inside a container does not remove the item from 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>The parent of the item.
+ /// This property expresses a tree structure of items. If the parent is NULL the item is added in the root level of the content. The item parent can only be set once, when the object is invalidated, the item parent is set to NULL and still cannot be reset.</summary>
+ virtual public Efl.Ui.Item GetItemParent() {
+ var _ret_var = Efl.Ui.Item.NativeMethods.efl_ui_item_parent_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>The parent of the item.
+ /// This property expresses a tree structure of items. If the parent is NULL the item is added in the root level of the content. The item parent can only be set once, when the object is invalidated, the item parent is set to NULL and still cannot be reset.</summary>
+ virtual public void SetItemParent(Efl.Ui.Item parent) {
+ Efl.Ui.Item.NativeMethods.efl_ui_item_parent_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),parent);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>This returns true if the given object is currently in event emission</summary>
+ virtual public bool GetInteraction() {
+ var _ret_var = Efl.Input.IClickableConcrete.NativeMethods.efl_input_clickable_interaction_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
/// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),button);
+ Efl.Input.IClickableConcrete.NativeMethods.efl_input_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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),button);
+ Efl.Input.IClickableConcrete.NativeMethods.efl_input_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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),button);
+ Efl.Input.IClickableConcrete.NativeMethods.efl_input_clickable_button_state_reset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),button);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>This aborts ongoing longpress event.
+ /// That is, this will stop the timer for longpress.</summary>
+ virtual public void LongpressAbort(uint button) {
+ Efl.Input.IClickableConcrete.NativeMethods.efl_input_clickable_longpress_abort_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),button);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>The selected state of this object
+ /// A change to this property emits the changed event.</summary>
+ /// <returns>The selected state of this object</returns>
+ virtual public bool GetSelected() {
+ var _ret_var = Efl.Ui.ISelectableConcrete.NativeMethods.efl_ui_selectable_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 selected state of this object
+ /// A change to this property emits the changed event.</summary>
+ /// <param name="selected">The selected state of this object</param>
+ virtual public void SetSelected(bool selected) {
+ Efl.Ui.ISelectableConcrete.NativeMethods.efl_ui_selectable_selected_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),selected);
Eina.Error.RaiseIfUnhandledException();
}
- /// <summary>index number of item from their parent object.</summary>
+ /// <summary>The index of this item inside its container.
+ /// The container must be set through the <see cref="Efl.Ui.Item.Container"/> property.</summary>
+ /// <value>The index where to find this item in its <c>container</c>.</value>
public int Index {
get { return GetIndex(); }
}
- /// <summary>Select property for item object. Item can be selected by user mouse/key input also</summary>
- public bool Selected {
- 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>
+ /// You should never use this property directly, the container will set it when the item is added. Unsetting this while the item is packed inside a container does not remove the item from the container.</summary>
/// <value>The container this item is in.</value>
public Efl.Ui.Widget Container {
get { return GetContainer(); }
set { SetContainer(value); }
}
+ /// <summary>The parent of the item.
+ /// This property expresses a tree structure of items. If the parent is NULL the item is added in the root level of the content. The item parent can only be set once, when the object is invalidated, the item parent is set to NULL and still cannot be reset.</summary>
+ public Efl.Ui.Item ItemParent {
+ get { return GetItemParent(); }
+ set { SetItemParent(value); }
+ }
+ /// <summary>This returns true if the given object is currently in event emission</summary>
+ public bool Interaction {
+ get { return GetInteraction(); }
+ }
+ /// <summary>The selected state of this object
+ /// A change to this property emits the changed event.</summary>
+ /// <value>The selected state of this object</value>
+ public bool Selected {
+ get { return GetSelected(); }
+ set { SetSelected(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_index_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_item_index_get_static_delegate) });
}
- if (efl_ui_item_selected_get_static_delegate == null)
+ if (efl_ui_item_container_get_static_delegate == null)
{
- efl_ui_item_selected_get_static_delegate = new efl_ui_item_selected_get_delegate(selected_get);
+ efl_ui_item_container_get_static_delegate = new efl_ui_item_container_get_delegate(container_get);
}
- if (methods.FirstOrDefault(m => m.Name == "GetSelected") != null)
+ 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_selected_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_item_selected_get_static_delegate) });
+ 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_selected_set_static_delegate == null)
+ if (efl_ui_item_container_set_static_delegate == null)
{
- efl_ui_item_selected_set_static_delegate = new efl_ui_item_selected_set_delegate(selected_set);
+ efl_ui_item_container_set_static_delegate = new efl_ui_item_container_set_delegate(container_set);
}
- if (methods.FirstOrDefault(m => m.Name == "SetSelected") != null)
+ 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_selected_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_item_selected_set_static_delegate) });
+ 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_item_container_get_static_delegate == null)
+ if (efl_ui_item_parent_get_static_delegate == null)
{
- efl_ui_item_container_get_static_delegate = new efl_ui_item_container_get_delegate(container_get);
+ efl_ui_item_parent_get_static_delegate = new efl_ui_item_parent_get_delegate(item_parent_get);
}
- if (methods.FirstOrDefault(m => m.Name == "GetContainer") != null)
+ if (methods.FirstOrDefault(m => m.Name == "GetItemParent") != 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) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_item_parent_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_item_parent_get_static_delegate) });
}
- if (efl_ui_item_container_set_static_delegate == null)
+ if (efl_ui_item_parent_set_static_delegate == null)
{
- efl_ui_item_container_set_static_delegate = new efl_ui_item_container_set_delegate(container_set);
+ efl_ui_item_parent_set_static_delegate = new efl_ui_item_parent_set_delegate(item_parent_set);
}
- if (methods.FirstOrDefault(m => m.Name == "SetContainer") != null)
+ if (methods.FirstOrDefault(m => m.Name == "SetItemParent") != 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) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_item_parent_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_item_parent_set_static_delegate) });
+ }
+
+ if (efl_input_clickable_interaction_get_static_delegate == null)
+ {
+ efl_input_clickable_interaction_get_static_delegate = new efl_input_clickable_interaction_get_delegate(interaction_get);
}
- if (efl_ui_clickable_press_static_delegate == null)
+ if (methods.FirstOrDefault(m => m.Name == "GetInteraction") != null)
{
- efl_ui_clickable_press_static_delegate = new efl_ui_clickable_press_delegate(press);
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_clickable_interaction_get"), func = Marshal.GetFunctionPointerForDelegate(efl_input_clickable_interaction_get_static_delegate) });
+ }
+
+ if (efl_input_clickable_press_static_delegate == null)
+ {
+ efl_input_clickable_press_static_delegate = new efl_input_clickable_press_delegate(press);
}
if (methods.FirstOrDefault(m => m.Name == "Press") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_clickable_press"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_clickable_press_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_clickable_press"), func = Marshal.GetFunctionPointerForDelegate(efl_input_clickable_press_static_delegate) });
}
- if (efl_ui_clickable_unpress_static_delegate == null)
+ if (efl_input_clickable_unpress_static_delegate == null)
{
- efl_ui_clickable_unpress_static_delegate = new efl_ui_clickable_unpress_delegate(unpress);
+ efl_input_clickable_unpress_static_delegate = new efl_input_clickable_unpress_delegate(unpress);
}
if (methods.FirstOrDefault(m => m.Name == "Unpress") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_clickable_unpress"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_clickable_unpress_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_clickable_unpress"), func = Marshal.GetFunctionPointerForDelegate(efl_input_clickable_unpress_static_delegate) });
}
- if (efl_ui_clickable_button_state_reset_static_delegate == null)
+ if (efl_input_clickable_button_state_reset_static_delegate == null)
{
- efl_ui_clickable_button_state_reset_static_delegate = new efl_ui_clickable_button_state_reset_delegate(button_state_reset);
+ efl_input_clickable_button_state_reset_static_delegate = new efl_input_clickable_button_state_reset_delegate(button_state_reset);
}
if (methods.FirstOrDefault(m => m.Name == "ResetButtonState") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_clickable_button_state_reset"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_clickable_button_state_reset_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_clickable_button_state_reset"), func = Marshal.GetFunctionPointerForDelegate(efl_input_clickable_button_state_reset_static_delegate) });
+ }
+
+ if (efl_input_clickable_longpress_abort_static_delegate == null)
+ {
+ efl_input_clickable_longpress_abort_static_delegate = new efl_input_clickable_longpress_abort_delegate(longpress_abort);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "LongpressAbort") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_clickable_longpress_abort"), func = Marshal.GetFunctionPointerForDelegate(efl_input_clickable_longpress_abort_static_delegate) });
+ }
+
+ if (efl_ui_selectable_selected_get_static_delegate == null)
+ {
+ efl_ui_selectable_selected_get_static_delegate = new efl_ui_selectable_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_ui_selectable_selected_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_selectable_selected_get_static_delegate) });
+ }
+
+ if (efl_ui_selectable_selected_set_static_delegate == null)
+ {
+ efl_ui_selectable_selected_set_static_delegate = new efl_ui_selectable_selected_set_delegate(selected_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetSelected") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_selectable_selected_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_selectable_selected_set_static_delegate) });
}
descs.AddRange(base.GetEoOps(type));
private static efl_ui_item_index_get_delegate efl_ui_item_index_get_static_delegate;
- [return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_ui_item_selected_get_delegate(System.IntPtr obj, System.IntPtr pd);
+ [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.U1)]
- public delegate bool efl_ui_item_selected_get_api_delegate(System.IntPtr obj);
+ [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_selected_get_api_delegate> efl_ui_item_selected_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_item_selected_get_api_delegate>(Module, "efl_ui_item_selected_get");
+ 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 bool selected_get(System.IntPtr obj, System.IntPtr pd)
+ private static Efl.Ui.Widget container_get(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function efl_ui_item_selected_get was called");
+ Eina.Log.Debug("function efl_ui_item_container_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- bool _ret_var = default(bool);
+ Efl.Ui.Widget _ret_var = default(Efl.Ui.Widget);
try
{
- _ret_var = ((Item)ws.Target).GetSelected();
+ _ret_var = ((Item)ws.Target).GetContainer();
}
catch (Exception e)
{
}
else
{
- return efl_ui_item_selected_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ 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_selected_get_delegate efl_ui_item_selected_get_static_delegate;
+ private static efl_ui_item_container_get_delegate efl_ui_item_container_get_static_delegate;
- private delegate void efl_ui_item_selected_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool select);
+ 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_selected_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool select);
+ 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_selected_set_api_delegate> efl_ui_item_selected_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_item_selected_set_api_delegate>(Module, "efl_ui_item_selected_set");
+ 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 selected_set(System.IntPtr obj, System.IntPtr pd, bool select)
+ private static void container_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Widget container)
{
- Eina.Log.Debug("function efl_ui_item_selected_set was called");
+ 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).SetSelected(select);
+ ((Item)ws.Target).SetContainer(container);
}
catch (Exception e)
{
}
else
{
- efl_ui_item_selected_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), select);
+ 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_selected_set_delegate efl_ui_item_selected_set_static_delegate;
+ private static efl_ui_item_container_set_delegate efl_ui_item_container_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);
+ private delegate Efl.Ui.Item efl_ui_item_parent_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 delegate Efl.Ui.Item efl_ui_item_parent_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");
+ public static Efl.Eo.FunctionWrapper<efl_ui_item_parent_get_api_delegate> efl_ui_item_parent_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_item_parent_get_api_delegate>(Module, "efl_ui_item_parent_get");
- private static Efl.Ui.Widget container_get(System.IntPtr obj, System.IntPtr pd)
+ private static Efl.Ui.Item item_parent_get(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function efl_ui_item_container_get was called");
+ Eina.Log.Debug("function efl_ui_item_parent_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- Efl.Ui.Widget _ret_var = default(Efl.Ui.Widget);
+ Efl.Ui.Item _ret_var = default(Efl.Ui.Item);
try
{
- _ret_var = ((Item)ws.Target).GetContainer();
+ _ret_var = ((Item)ws.Target).GetItemParent();
}
catch (Exception e)
{
}
else
{
- return efl_ui_item_container_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ return efl_ui_item_parent_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 static efl_ui_item_parent_get_delegate efl_ui_item_parent_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);
+ private delegate void efl_ui_item_parent_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Item parent);
- 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 delegate void efl_ui_item_parent_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Item parent);
- 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");
+ public static Efl.Eo.FunctionWrapper<efl_ui_item_parent_set_api_delegate> efl_ui_item_parent_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_item_parent_set_api_delegate>(Module, "efl_ui_item_parent_set");
- private static void container_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Widget container)
+ private static void item_parent_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Item parent)
{
- Eina.Log.Debug("function efl_ui_item_container_set was called");
+ Eina.Log.Debug("function efl_ui_item_parent_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
- ((Item)ws.Target).SetContainer(container);
+ ((Item)ws.Target).SetItemParent(parent);
}
catch (Exception e)
{
}
else
{
- efl_ui_item_container_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), container);
+ efl_ui_item_parent_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), parent);
}
}
- private static efl_ui_item_container_set_delegate efl_ui_item_container_set_static_delegate;
+ private static efl_ui_item_parent_set_delegate efl_ui_item_parent_set_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_input_clickable_interaction_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_input_clickable_interaction_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_input_clickable_interaction_get_api_delegate> efl_input_clickable_interaction_get_ptr = new Efl.Eo.FunctionWrapper<efl_input_clickable_interaction_get_api_delegate>(Module, "efl_input_clickable_interaction_get");
+
+ private static bool interaction_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_input_clickable_interaction_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((Item)ws.Target).GetInteraction();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_input_clickable_interaction_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_input_clickable_interaction_get_delegate efl_input_clickable_interaction_get_static_delegate;
- private delegate void efl_ui_clickable_press_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
+ private delegate void efl_input_clickable_press_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
- public delegate void efl_ui_clickable_press_api_delegate(System.IntPtr obj, uint button);
+ public delegate void efl_input_clickable_press_api_delegate(System.IntPtr obj, uint button);
- public static Efl.Eo.FunctionWrapper<efl_ui_clickable_press_api_delegate> efl_ui_clickable_press_ptr = new Efl.Eo.FunctionWrapper<efl_ui_clickable_press_api_delegate>(Module, "efl_ui_clickable_press");
+ public static Efl.Eo.FunctionWrapper<efl_input_clickable_press_api_delegate> efl_input_clickable_press_ptr = new Efl.Eo.FunctionWrapper<efl_input_clickable_press_api_delegate>(Module, "efl_input_clickable_press");
private static void press(System.IntPtr obj, System.IntPtr pd, uint button)
{
- Eina.Log.Debug("function efl_ui_clickable_press was called");
+ Eina.Log.Debug("function efl_input_clickable_press was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
}
else
{
- efl_ui_clickable_press_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
+ efl_input_clickable_press_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
}
}
- private static efl_ui_clickable_press_delegate efl_ui_clickable_press_static_delegate;
+ private static efl_input_clickable_press_delegate efl_input_clickable_press_static_delegate;
- private delegate void efl_ui_clickable_unpress_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
+ private delegate void efl_input_clickable_unpress_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
- public delegate void efl_ui_clickable_unpress_api_delegate(System.IntPtr obj, uint button);
+ public delegate void efl_input_clickable_unpress_api_delegate(System.IntPtr obj, uint button);
- public static Efl.Eo.FunctionWrapper<efl_ui_clickable_unpress_api_delegate> efl_ui_clickable_unpress_ptr = new Efl.Eo.FunctionWrapper<efl_ui_clickable_unpress_api_delegate>(Module, "efl_ui_clickable_unpress");
+ public static Efl.Eo.FunctionWrapper<efl_input_clickable_unpress_api_delegate> efl_input_clickable_unpress_ptr = new Efl.Eo.FunctionWrapper<efl_input_clickable_unpress_api_delegate>(Module, "efl_input_clickable_unpress");
private static void unpress(System.IntPtr obj, System.IntPtr pd, uint button)
{
- Eina.Log.Debug("function efl_ui_clickable_unpress was called");
+ Eina.Log.Debug("function efl_input_clickable_unpress was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
}
else
{
- efl_ui_clickable_unpress_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
+ efl_input_clickable_unpress_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
}
}
- private static efl_ui_clickable_unpress_delegate efl_ui_clickable_unpress_static_delegate;
+ private static efl_input_clickable_unpress_delegate efl_input_clickable_unpress_static_delegate;
- private delegate void efl_ui_clickable_button_state_reset_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
+ private delegate void efl_input_clickable_button_state_reset_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
- public delegate void efl_ui_clickable_button_state_reset_api_delegate(System.IntPtr obj, uint button);
+ public delegate void efl_input_clickable_button_state_reset_api_delegate(System.IntPtr obj, uint button);
- public static Efl.Eo.FunctionWrapper<efl_ui_clickable_button_state_reset_api_delegate> efl_ui_clickable_button_state_reset_ptr = new Efl.Eo.FunctionWrapper<efl_ui_clickable_button_state_reset_api_delegate>(Module, "efl_ui_clickable_button_state_reset");
+ public static Efl.Eo.FunctionWrapper<efl_input_clickable_button_state_reset_api_delegate> efl_input_clickable_button_state_reset_ptr = new Efl.Eo.FunctionWrapper<efl_input_clickable_button_state_reset_api_delegate>(Module, "efl_input_clickable_button_state_reset");
private static void button_state_reset(System.IntPtr obj, System.IntPtr pd, uint button)
{
- Eina.Log.Debug("function efl_ui_clickable_button_state_reset was called");
+ Eina.Log.Debug("function efl_input_clickable_button_state_reset was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
}
else
{
- efl_ui_clickable_button_state_reset_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
+ efl_input_clickable_button_state_reset_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
+ }
+ }
+
+ private static efl_input_clickable_button_state_reset_delegate efl_input_clickable_button_state_reset_static_delegate;
+
+
+ private delegate void efl_input_clickable_longpress_abort_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
+
+
+ public delegate void efl_input_clickable_longpress_abort_api_delegate(System.IntPtr obj, uint button);
+
+ public static Efl.Eo.FunctionWrapper<efl_input_clickable_longpress_abort_api_delegate> efl_input_clickable_longpress_abort_ptr = new Efl.Eo.FunctionWrapper<efl_input_clickable_longpress_abort_api_delegate>(Module, "efl_input_clickable_longpress_abort");
+
+ private static void longpress_abort(System.IntPtr obj, System.IntPtr pd, uint button)
+ {
+ Eina.Log.Debug("function efl_input_clickable_longpress_abort was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Item)ws.Target).LongpressAbort(button);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_input_clickable_longpress_abort_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
+ }
+ }
+
+ private static efl_input_clickable_longpress_abort_delegate efl_input_clickable_longpress_abort_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_ui_selectable_selected_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_ui_selectable_selected_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_selectable_selected_get_api_delegate> efl_ui_selectable_selected_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_selectable_selected_get_api_delegate>(Module, "efl_ui_selectable_selected_get");
+
+ private static bool selected_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_selectable_selected_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((Item)ws.Target).GetSelected();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_selectable_selected_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_selectable_selected_get_delegate efl_ui_selectable_selected_get_static_delegate;
+
+
+ private delegate void efl_ui_selectable_selected_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool selected);
+
+
+ public delegate void efl_ui_selectable_selected_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool selected);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_selectable_selected_set_api_delegate> efl_ui_selectable_selected_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_selectable_selected_set_api_delegate>(Module, "efl_ui_selectable_selected_set");
+
+ private static void selected_set(System.IntPtr obj, System.IntPtr pd, bool selected)
+ {
+ Eina.Log.Debug("function efl_ui_selectable_selected_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Item)ws.Target).SetSelected(selected);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_selectable_selected_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), selected);
}
}
- private static efl_ui_clickable_button_state_reset_delegate efl_ui_clickable_button_state_reset_static_delegate;
+ private static efl_ui_selectable_selected_set_delegate efl_ui_selectable_selected_set_static_delegate;
#pragma warning restore CA1707, CS1591, SA1300, SA1600
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiItem_ExtensionMethods {
+
+ public static Efl.BindableProperty<Efl.Ui.Widget> Container<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Item, T>magic = null) where T : Efl.Ui.Item {
+ return new Efl.BindableProperty<Efl.Ui.Widget>("container", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Ui.Item> ItemParent<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Item, T>magic = null) where T : Efl.Ui.Item {
+ return new Efl.BindableProperty<Efl.Ui.Item>("item_parent", fac);
+ }
+
+
+ public static Efl.BindableProperty<bool> Selected<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Item, T>magic = null) where T : Efl.Ui.Item {
+ return new Efl.BindableProperty<bool>("selected", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+++ /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>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>
- public override System.IntPtr NativeClass
- {
- get
- {
- if (((object)this).GetType() == typeof(ItemPartContent))
- {
- 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_item_part_content_class_get();
- /// <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(), 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="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="parent">The Efl.Object parent of this instance.</param>
- protected ItemPartContent(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
- {
- }
-
- /// <summary>Sent after the content is set or unset using the current content object.
- /// (Since EFL 1.22)</summary>
- public event EventHandler<Efl.IContentContentChangedEvt_Args> ContentChangedEvt
- {
- 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.IContentContentChangedEvt_Args args = new Efl.IContentContentChangedEvt_Args();
- args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Gfx.IEntityConcrete);
- try
- {
- value?.Invoke(obj, args);
- }
- catch (Exception e)
- {
- Eina.Log.Error(e.ToString());
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
- }
- };
-
- string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ContentChangedEvt.</summary>
- public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e)
- {
- var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
- 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 = e.arg.NativeHandle;
- Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
- }
- /// <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>
- /// <returns>The sub-object.</returns>
- virtual public Efl.Gfx.IEntity GetContent() {
- 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;
- }
- /// <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>
- /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),content);
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Remove the sub-object currently set as content of this object and return it. This object becomes empty.
- /// (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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <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>
- /// <value>The sub-object.</value>
- public Efl.Gfx.IEntity Content {
- get { return GetContent(); }
- set { SetContent(value); }
- }
- private static IntPtr GetEflClassStatic()
- {
- return Efl.Ui.ItemPartContent.efl_ui_item_part_content_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.LayoutPart.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_content_get_static_delegate == null)
- {
- efl_content_get_static_delegate = new efl_content_get_delegate(content_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetContent") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_get"), func = Marshal.GetFunctionPointerForDelegate(efl_content_get_static_delegate) });
- }
-
- if (efl_content_set_static_delegate == null)
- {
- efl_content_set_static_delegate = new efl_content_set_delegate(content_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetContent") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_set"), func = Marshal.GetFunctionPointerForDelegate(efl_content_set_static_delegate) });
- }
-
- if (efl_content_unset_static_delegate == null)
- {
- efl_content_unset_static_delegate = new efl_content_unset_delegate(content_unset);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "UnsetContent") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_unset"), func = Marshal.GetFunctionPointerForDelegate(efl_content_unset_static_delegate) });
- }
-
- 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.ItemPartContent.efl_ui_item_part_content_class_get();
- }
-
- #pragma warning disable CA1707, CS1591, SA1300, SA1600
-
- [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);
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- public delegate Efl.Gfx.IEntity efl_content_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_content_get_api_delegate> efl_content_get_ptr = new Efl.Eo.FunctionWrapper<efl_content_get_api_delegate>(Module, "efl_content_get");
-
- private static Efl.Gfx.IEntity content_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_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 = ((ItemPartContent)ws.Target).GetContent();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_content_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_content_get_delegate efl_content_get_static_delegate;
-
- [return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_content_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity content);
-
- [return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_content_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity content);
-
- public static Efl.Eo.FunctionWrapper<efl_content_set_api_delegate> efl_content_set_ptr = new Efl.Eo.FunctionWrapper<efl_content_set_api_delegate>(Module, "efl_content_set");
-
- private static bool content_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity content)
- {
- Eina.Log.Debug("function efl_content_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- bool _ret_var = default(bool);
- try
- {
- _ret_var = ((ItemPartContent)ws.Target).SetContent(content);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_content_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), content);
- }
- }
-
- private static efl_content_set_delegate efl_content_set_static_delegate;
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- private delegate Efl.Gfx.IEntity efl_content_unset_delegate(System.IntPtr obj, System.IntPtr pd);
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- public delegate Efl.Gfx.IEntity efl_content_unset_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_content_unset_api_delegate> efl_content_unset_ptr = new Efl.Eo.FunctionWrapper<efl_content_unset_api_delegate>(Module, "efl_content_unset");
-
- private static Efl.Gfx.IEntity content_unset(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_content_unset was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
- try
- {
- _ret_var = ((ItemPartContent)ws.Target).UnsetContent();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_content_unset_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_content_unset_delegate efl_content_unset_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 {
-
-/// <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>
- public override System.IntPtr NativeClass
- {
- get
- {
- if (((object)this).GetType() == typeof(ItemPartExtra))
- {
- 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_item_part_extra_class_get();
- /// <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(), 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="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="parent">The Efl.Object parent of this instance.</param>
- protected ItemPartExtra(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
- {
- }
-
- /// <summary>Sent after the content is set or unset using the current content object.
- /// (Since EFL 1.22)</summary>
- public event EventHandler<Efl.IContentContentChangedEvt_Args> ContentChangedEvt
- {
- 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.IContentContentChangedEvt_Args args = new Efl.IContentContentChangedEvt_Args();
- args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Gfx.IEntityConcrete);
- try
- {
- value?.Invoke(obj, args);
- }
- catch (Exception e)
- {
- Eina.Log.Error(e.ToString());
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
- }
- };
-
- string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ContentChangedEvt.</summary>
- public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e)
- {
- var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
- 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 = e.arg.NativeHandle;
- Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
- }
- /// <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>
- /// <returns>The sub-object.</returns>
- virtual public Efl.Gfx.IEntity GetContent() {
- 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;
- }
- /// <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>
- /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),content);
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Remove the sub-object currently set as content of this object and return it. This object becomes empty.
- /// (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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <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>
- /// <value>The sub-object.</value>
- public Efl.Gfx.IEntity Content {
- get { return GetContent(); }
- set { SetContent(value); }
- }
- private static IntPtr GetEflClassStatic()
- {
- return Efl.Ui.ItemPartExtra.efl_ui_item_part_extra_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.LayoutPart.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_content_get_static_delegate == null)
- {
- efl_content_get_static_delegate = new efl_content_get_delegate(content_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetContent") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_get"), func = Marshal.GetFunctionPointerForDelegate(efl_content_get_static_delegate) });
- }
-
- if (efl_content_set_static_delegate == null)
- {
- efl_content_set_static_delegate = new efl_content_set_delegate(content_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetContent") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_set"), func = Marshal.GetFunctionPointerForDelegate(efl_content_set_static_delegate) });
- }
-
- if (efl_content_unset_static_delegate == null)
- {
- efl_content_unset_static_delegate = new efl_content_unset_delegate(content_unset);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "UnsetContent") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_unset"), func = Marshal.GetFunctionPointerForDelegate(efl_content_unset_static_delegate) });
- }
-
- 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.ItemPartExtra.efl_ui_item_part_extra_class_get();
- }
-
- #pragma warning disable CA1707, CS1591, SA1300, SA1600
-
- [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);
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- public delegate Efl.Gfx.IEntity efl_content_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_content_get_api_delegate> efl_content_get_ptr = new Efl.Eo.FunctionWrapper<efl_content_get_api_delegate>(Module, "efl_content_get");
-
- private static Efl.Gfx.IEntity content_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_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 = ((ItemPartExtra)ws.Target).GetContent();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_content_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_content_get_delegate efl_content_get_static_delegate;
-
- [return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_content_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity content);
-
- [return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_content_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity content);
-
- public static Efl.Eo.FunctionWrapper<efl_content_set_api_delegate> efl_content_set_ptr = new Efl.Eo.FunctionWrapper<efl_content_set_api_delegate>(Module, "efl_content_set");
-
- private static bool content_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity content)
- {
- Eina.Log.Debug("function efl_content_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- bool _ret_var = default(bool);
- try
- {
- _ret_var = ((ItemPartExtra)ws.Target).SetContent(content);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_content_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), content);
- }
- }
-
- private static efl_content_set_delegate efl_content_set_static_delegate;
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- private delegate Efl.Gfx.IEntity efl_content_unset_delegate(System.IntPtr obj, System.IntPtr pd);
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- public delegate Efl.Gfx.IEntity efl_content_unset_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_content_unset_api_delegate> efl_content_unset_ptr = new Efl.Eo.FunctionWrapper<efl_content_unset_api_delegate>(Module, "efl_content_unset");
-
- private static Efl.Gfx.IEntity content_unset(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_content_unset was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
- try
- {
- _ret_var = ((ItemPartExtra)ws.Target).UnsetContent();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_content_unset_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_content_unset_delegate efl_content_unset_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 {
-
-/// <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>
- public override System.IntPtr NativeClass
- {
- get
- {
- if (((object)this).GetType() == typeof(ItemPartIcon))
- {
- 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_item_part_icon_class_get();
- /// <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(), 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="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="parent">The Efl.Object parent of this instance.</param>
- protected ItemPartIcon(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
- {
- }
-
- /// <summary>Sent after the content is set or unset using the current content object.
- /// (Since EFL 1.22)</summary>
- public event EventHandler<Efl.IContentContentChangedEvt_Args> ContentChangedEvt
- {
- 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.IContentContentChangedEvt_Args args = new Efl.IContentContentChangedEvt_Args();
- args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Gfx.IEntityConcrete);
- try
- {
- value?.Invoke(obj, args);
- }
- catch (Exception e)
- {
- Eina.Log.Error(e.ToString());
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
- }
- };
-
- string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ContentChangedEvt.</summary>
- public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e)
- {
- var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
- 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 = e.arg.NativeHandle;
- Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
- }
- /// <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>
- /// <returns>The sub-object.</returns>
- virtual public Efl.Gfx.IEntity GetContent() {
- 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;
- }
- /// <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>
- /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),content);
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Remove the sub-object currently set as content of this object and return it. This object becomes empty.
- /// (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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <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>
- /// <value>The sub-object.</value>
- public Efl.Gfx.IEntity Content {
- get { return GetContent(); }
- set { SetContent(value); }
- }
- private static IntPtr GetEflClassStatic()
- {
- return Efl.Ui.ItemPartIcon.efl_ui_item_part_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.LayoutPart.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_content_get_static_delegate == null)
- {
- efl_content_get_static_delegate = new efl_content_get_delegate(content_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetContent") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_get"), func = Marshal.GetFunctionPointerForDelegate(efl_content_get_static_delegate) });
- }
-
- if (efl_content_set_static_delegate == null)
- {
- efl_content_set_static_delegate = new efl_content_set_delegate(content_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetContent") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_set"), func = Marshal.GetFunctionPointerForDelegate(efl_content_set_static_delegate) });
- }
-
- if (efl_content_unset_static_delegate == null)
- {
- efl_content_unset_static_delegate = new efl_content_unset_delegate(content_unset);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "UnsetContent") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_unset"), func = Marshal.GetFunctionPointerForDelegate(efl_content_unset_static_delegate) });
- }
-
- 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.ItemPartIcon.efl_ui_item_part_icon_class_get();
- }
-
- #pragma warning disable CA1707, CS1591, SA1300, SA1600
-
- [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);
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- public delegate Efl.Gfx.IEntity efl_content_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_content_get_api_delegate> efl_content_get_ptr = new Efl.Eo.FunctionWrapper<efl_content_get_api_delegate>(Module, "efl_content_get");
-
- private static Efl.Gfx.IEntity content_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_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 = ((ItemPartIcon)ws.Target).GetContent();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_content_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_content_get_delegate efl_content_get_static_delegate;
-
- [return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_content_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity content);
-
- [return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_content_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity content);
-
- public static Efl.Eo.FunctionWrapper<efl_content_set_api_delegate> efl_content_set_ptr = new Efl.Eo.FunctionWrapper<efl_content_set_api_delegate>(Module, "efl_content_set");
-
- private static bool content_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity content)
- {
- Eina.Log.Debug("function efl_content_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- bool _ret_var = default(bool);
- try
- {
- _ret_var = ((ItemPartIcon)ws.Target).SetContent(content);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_content_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), content);
- }
- }
-
- private static efl_content_set_delegate efl_content_set_static_delegate;
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- private delegate Efl.Gfx.IEntity efl_content_unset_delegate(System.IntPtr obj, System.IntPtr pd);
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- public delegate Efl.Gfx.IEntity efl_content_unset_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_content_unset_api_delegate> efl_content_unset_ptr = new Efl.Eo.FunctionWrapper<efl_content_unset_api_delegate>(Module, "efl_content_unset");
-
- private static Efl.Gfx.IEntity content_unset(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_content_unset was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
- try
- {
- _ret_var = ((ItemPartIcon)ws.Target).UnsetContent();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_content_unset_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_content_unset_delegate efl_content_unset_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 {
-
-/// <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>
- public override System.IntPtr NativeClass
- {
- get
- {
- if (((object)this).GetType() == typeof(ItemPartText))
- {
- 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_item_part_text_class_get();
- /// <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(), 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="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="parent">The Efl.Object parent of this instance.</param>
- protected ItemPartText(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
- {
- }
-
- /// <summary>Retrieves the text string currently being displayed by the given text object.
- /// Do not free() the return value.
- ///
- /// See also <see cref="Efl.IText.GetText"/>.
- /// (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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Sets the text string to be displayed by the given text object.
- /// See also <see cref="Efl.IText.GetText"/>.
- /// (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((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((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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),markup);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>A unique string to be translated.
- /// Often this will be a human-readable string (e.g. in English) but it can also be a unique string identifier that must then be translated to the current locale with <c>dgettext</c>() or any similar mechanism.
- ///
- /// Setting this property will enable translation for this object or part.</summary>
- /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out domain);
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Sets the new untranslated string and domain for this object.</summary>
- /// <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((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.
- /// Currently strings are translated with <c>dgettext</c>, so support for this function may depend on the platform. It is up to the application to provide its own translation data.
- ///
- /// 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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Markup property</summary>
- /// <value>The markup-text representation set to this text.</value>
- public System.String Markup {
- get { return GetMarkup(); }
- set { SetMarkup(value); }
- }
- private static IntPtr GetEflClassStatic()
- {
- return Efl.Ui.ItemPartText.efl_ui_item_part_text_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.LayoutPart.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_text_get_static_delegate == null)
- {
- efl_text_get_static_delegate = new efl_text_get_delegate(text_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetText") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_get_static_delegate) });
- }
-
- if (efl_text_set_static_delegate == null)
- {
- efl_text_set_static_delegate = new efl_text_set_delegate(text_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetText") != null)
- {
- 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_text_markup_get_static_delegate == null)
- {
- efl_text_markup_get_static_delegate = new efl_text_markup_get_delegate(markup_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetMarkup") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_markup_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_markup_get_static_delegate) });
- }
-
- if (efl_text_markup_set_static_delegate == null)
- {
- efl_text_markup_set_static_delegate = new efl_text_markup_set_delegate(markup_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetMarkup") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_markup_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_markup_set_static_delegate) });
- }
-
- if (efl_ui_l10n_text_get_static_delegate == null)
- {
- efl_ui_l10n_text_get_static_delegate = new efl_ui_l10n_text_get_delegate(l10n_text_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetL10nText") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_l10n_text_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_l10n_text_get_static_delegate) });
- }
-
- if (efl_ui_l10n_text_set_static_delegate == null)
- {
- efl_ui_l10n_text_set_static_delegate = new efl_ui_l10n_text_set_delegate(l10n_text_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetL10nText") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_l10n_text_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_l10n_text_set_static_delegate) });
- }
-
- if (efl_ui_l10n_translation_update_static_delegate == null)
- {
- efl_ui_l10n_translation_update_static_delegate = new efl_ui_l10n_translation_update_delegate(translation_update);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "UpdateTranslation") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_l10n_translation_update"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_l10n_translation_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.ItemPartText.efl_ui_item_part_text_class_get();
- }
-
- #pragma warning disable CA1707, CS1591, SA1300, SA1600
-
- [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
- private delegate System.String efl_text_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
- public delegate System.String efl_text_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_text_get_api_delegate> efl_text_get_ptr = new Efl.Eo.FunctionWrapper<efl_text_get_api_delegate>(Module, "efl_text_get");
-
- private static System.String text_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_text_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- System.String _ret_var = default(System.String);
- try
- {
- _ret_var = ((ItemPartText)ws.Target).GetText();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_text_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_text_get_delegate efl_text_get_static_delegate;
-
-
- private delegate void efl_text_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String text);
-
-
- public delegate void efl_text_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String text);
-
- public static Efl.Eo.FunctionWrapper<efl_text_set_api_delegate> efl_text_set_ptr = new Efl.Eo.FunctionWrapper<efl_text_set_api_delegate>(Module, "efl_text_set");
-
- private static void text_set(System.IntPtr obj, System.IntPtr pd, System.String text)
- {
- Eina.Log.Debug("function efl_text_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((ItemPartText)ws.Target).SetText(text);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_text_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), text);
- }
- }
-
- private static efl_text_set_delegate efl_text_set_static_delegate;
-
- [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
- private delegate System.String efl_text_markup_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
- public delegate System.String efl_text_markup_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_text_markup_get_api_delegate> efl_text_markup_get_ptr = new Efl.Eo.FunctionWrapper<efl_text_markup_get_api_delegate>(Module, "efl_text_markup_get");
-
- private static System.String markup_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_text_markup_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- System.String _ret_var = default(System.String);
- try
- {
- _ret_var = ((ItemPartText)ws.Target).GetMarkup();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_text_markup_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_text_markup_get_delegate efl_text_markup_get_static_delegate;
-
-
- private delegate void efl_text_markup_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String markup);
-
-
- public delegate void efl_text_markup_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String markup);
-
- public static Efl.Eo.FunctionWrapper<efl_text_markup_set_api_delegate> efl_text_markup_set_ptr = new Efl.Eo.FunctionWrapper<efl_text_markup_set_api_delegate>(Module, "efl_text_markup_set");
-
- private static void markup_set(System.IntPtr obj, System.IntPtr pd, System.String markup)
- {
- Eina.Log.Debug("function efl_text_markup_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((ItemPartText)ws.Target).SetMarkup(markup);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_text_markup_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), markup);
- }
- }
-
- private static efl_text_markup_set_delegate efl_text_markup_set_static_delegate;
-
- [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
- private delegate System.String efl_ui_l10n_text_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String domain);
-
- [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
- public delegate System.String efl_ui_l10n_text_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String domain);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_l10n_text_get_api_delegate> efl_ui_l10n_text_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_l10n_text_get_api_delegate>(Module, "efl_ui_l10n_text_get");
-
- private static System.String l10n_text_get(System.IntPtr obj, System.IntPtr pd, out System.String domain)
- {
- Eina.Log.Debug("function efl_ui_l10n_text_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- System.String _out_domain = default(System.String);
- System.String _ret_var = default(System.String);
- try
- {
- _ret_var = ((ItemPartText)ws.Target).GetL10nText(out _out_domain);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- domain = _out_domain;
- return _ret_var;
-
- }
- else
- {
- return efl_ui_l10n_text_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out domain);
- }
- }
-
- private static efl_ui_l10n_text_get_delegate efl_ui_l10n_text_get_static_delegate;
-
-
- private delegate void efl_ui_l10n_text_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String label, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String domain);
-
-
- public delegate void efl_ui_l10n_text_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String label, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String domain);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_l10n_text_set_api_delegate> efl_ui_l10n_text_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_l10n_text_set_api_delegate>(Module, "efl_ui_l10n_text_set");
-
- private static void l10n_text_set(System.IntPtr obj, System.IntPtr pd, System.String label, System.String domain)
- {
- Eina.Log.Debug("function efl_ui_l10n_text_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((ItemPartText)ws.Target).SetL10nText(label, domain);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_l10n_text_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), label, domain);
- }
- }
-
- private static efl_ui_l10n_text_set_delegate efl_ui_l10n_text_set_static_delegate;
-
-
- private delegate void efl_ui_l10n_translation_update_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate void efl_ui_l10n_translation_update_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_l10n_translation_update_api_delegate> efl_ui_l10n_translation_update_ptr = new Efl.Eo.FunctionWrapper<efl_ui_l10n_translation_update_api_delegate>(Module, "efl_ui_l10n_translation_update");
-
- private static void translation_update(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_l10n_translation_update was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((ItemPartText)ws.Target).UpdateTranslation();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_l10n_translation_update_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_l10n_translation_update_delegate efl_ui_l10n_translation_update_static_delegate;
-
- #pragma warning restore CA1707, CS1591, SA1300, SA1600
-
-}
-}
-}
-
-}
-
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.IL10nConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IL10n :
}
/// <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>
-sealed public class IL10nConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IL10nConcrete :
Efl.Eo.EoWrapper
, IL10n
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IL10nConcrete(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiIL10nConcrete_ExtensionMethods {
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <summary>Elementary layout class
/// 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).
+///
+/// By default, layouts do not apply the finger_size global configuration value when calculating their geometries.
/// (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>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Layout(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiLayout_ExtensionMethods {
+ public static Efl.BindableProperty<Eina.File> Mmap<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Layout, T>magic = null) where T : Efl.Ui.Layout {
+ return new Efl.BindableProperty<Eina.File>("mmap", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> File<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Layout, T>magic = null) where T : Efl.Ui.Layout {
+ return new Efl.BindableProperty<System.String>("file", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> Key<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Layout, T>magic = null) where T : Efl.Ui.Layout {
+ return new Efl.BindableProperty<System.String>("key", fac);
+ }
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
[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>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected LayoutBase(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event ThemeChangedEvt.</summary>
+ /// <summary>Method to raise event ThemeChangedEvt.</summary>
public void OnThemeChangedEvt(EventArgs e)
{
var key = "_EFL_UI_LAYOUT_EVENT_THEME_CHANGED";
}
/// <summary>Sent after a new sub-object was added.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContainerContentAddedEvt_Args"/></value>
public event EventHandler<Efl.IContainerContentAddedEvt_Args> ContentAddedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentAddedEvt.</summary>
+ /// <summary>Method to raise event ContentAddedEvt.</summary>
public void OnContentAddedEvt(Efl.IContainerContentAddedEvt_Args e)
{
var key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED";
}
/// <summary>Sent after a sub-object was removed, before unref.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContainerContentRemovedEvt_Args"/></value>
public event EventHandler<Efl.IContainerContentRemovedEvt_Args> ContentRemovedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentRemovedEvt.</summary>
+ /// <summary>Method to raise event ContentRemovedEvt.</summary>
public void OnContentRemovedEvt(Efl.IContainerContentRemovedEvt_Args e)
{
var key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED";
}
}
}
- ///<summary>Method to raise event RecalcEvt.</summary>
+ /// <summary>Method to raise event RecalcEvt.</summary>
public void OnRecalcEvt(EventArgs e)
{
var key = "_EFL_LAYOUT_EVENT_RECALC";
}
/// <summary>A circular dependency between parts of the object was found.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Layout.ICalcCircularDependencyEvt_Args"/></value>
public event EventHandler<Efl.Layout.ICalcCircularDependencyEvt_Args> CircularDependencyEvt
{
add
}
}
}
- ///<summary>Method to raise event CircularDependencyEvt.</summary>
+ /// <summary>Method to raise event CircularDependencyEvt.</summary>
public void OnCircularDependencyEvt(Efl.Layout.ICalcCircularDependencyEvt_Args e)
{
var key = "_EFL_LAYOUT_EVENT_CIRCULAR_DEPENDENCY";
IntPtr info = e.arg.Handle;
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
+ /// <summary>Set a multiplier for applying finger size to the layout.
+ /// By default, any widget which inherits from this class will apply the finger_size global config value with a 1:1 width:height ratio during sizing calculations. This will cause the widget to scale its size based on the finger_size config value.
+ ///
+ /// To disable finger_size in a layout's sizing calculations, set the multipliers for both axes to 0.
+ /// (Since EFL 1.23)</summary>
+ /// <param name="multiplier_x">Multiplier for X axis.</param>
+ /// <param name="multiplier_y">Multiplier for Y axis.</param>
+ virtual public void GetFingerSizeMultiplier(out uint multiplier_x, out uint multiplier_y) {
+ Efl.Ui.LayoutBase.NativeMethods.efl_ui_layout_finger_size_multiplier_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out multiplier_x, out multiplier_y);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Set a multiplier for applying finger size to the layout.
+ /// By default, any widget which inherits from this class will apply the finger_size global config value with a 1:1 width:height ratio during sizing calculations. This will cause the widget to scale its size based on the finger_size config value.
+ ///
+ /// To disable finger_size in a layout's sizing calculations, set the multipliers for both axes to 0.
+ /// (Since EFL 1.23)</summary>
+ /// <param name="multiplier_x">Multiplier for X axis.</param>
+ /// <param name="multiplier_y">Multiplier for Y axis.</param>
+ virtual public void SetFingerSizeMultiplier(uint multiplier_x, uint multiplier_y) {
+ Efl.Ui.LayoutBase.NativeMethods.efl_ui_layout_finger_size_multiplier_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),multiplier_x, multiplier_y);
+ Eina.Error.RaiseIfUnhandledException();
+ }
/// <summary>The theme of this widget, defines which edje group will be used.
/// Based on the type of widget (<c>klass</c>), a given <c>group</c> and a <c>style</c> (usually "default"), the edje group name will be formed for this object.
///
return _ret_var;
}
/// <summary>This flag tells if this object will automatically mirror the rotation changes of the window to this object.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
return _ret_var;
}
/// <summary>This flag tells if this object will automatically mirror the rotation changes of the window to this object.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</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((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>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),orientation);
///
/// Though there are those common uses for the two strings, one is free to use them however they like.
///
- /// Signal callback registration is powerful, in the way that blobs may be used to match multiple signals at once. All the "*?[" set of <c>fnmatch</c>() operators can be used, both for emission and source.
+ /// Signal callback registration is powerful, in the way that blobs may be used to match multiple signals at once. All the "*?[" set of <c>fnmatch</c>() operators can be used, both for emission and source.
///
/// Edje has internal signals it will emit, automatically, on various actions taking place on group parts. For example, the mouse cursor being moved, pressed, released, etc., over a given part's area, all generate individual signals.
///
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>Set a multiplier for applying finger size to the layout.
+ /// By default, any widget which inherits from this class will apply the finger_size global config value with a 1:1 width:height ratio during sizing calculations. This will cause the widget to scale its size based on the finger_size config value.
+ ///
+ /// To disable finger_size in a layout's sizing calculations, set the multipliers for both axes to 0.
+ /// (Since EFL 1.23)</summary>
+ /// <value>Multiplier for X axis.</value>
+ public (uint, uint) FingerSizeMultiplier {
+ get {
+ uint _out_multiplier_x = default(uint);
+ uint _out_multiplier_y = default(uint);
+ GetFingerSizeMultiplier(out _out_multiplier_x,out _out_multiplier_y);
+ return (_out_multiplier_x,_out_multiplier_y);
+ }
+ set { SetFingerSizeMultiplier( value.Item1, value.Item2); }
+ }
+ /// <summary>The theme of this widget, defines which edje group will be used.
+ /// Based on the type of widget (<c>klass</c>), a given <c>group</c> and a <c>style</c> (usually "default"), the edje group name will be formed for this object.
+ ///
+ /// Widgets that inherit from this class will call this function automatically so it should not be called by applications, unless you are dealing directly with a <see cref="Efl.Ui.Layout"/> object.
+ ///
+ /// Note that <c>style</c> will be the new style of this object, as retrieved by <see cref="Efl.Ui.Widget.Style"/>. As a consequence this function can only be called during construction of the object, before finalize.
+ ///
+ /// If this returns <c>false</c> the widget is very likely to become non-functioning.
/// (Since EFL 1.22)</summary>
+ /// <value>The class of the group, eg. "button".</value>
+ public (System.String, System.String, System.String) Theme {
+ get {
+ System.String _out_klass = default(System.String);
+ System.String _out_group = default(System.String);
+ System.String _out_style = default(System.String);
+ GetTheme(out _out_klass,out _out_group,out _out_style);
+ return (_out_klass,_out_group,_out_style);
+ }
+ set { SetTheme( value.Item1, value.Item2, value.Item3); }
+ }
+ /// <summary>This flag tells if this object will automatically mirror the rotation changes of the window to this object.
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value><c>true</c> to mirror orientation changes to the theme <c>false</c> otherwise</value>
public bool AutomaticThemeRotation {
get { return GetAutomaticThemeRotation(); }
var descs = new System.Collections.Generic.List<Efl_Op_Description>();
var methods = Efl.Eo.Globals.GetUserMethods(type);
+ if (efl_ui_layout_finger_size_multiplier_get_static_delegate == null)
+ {
+ efl_ui_layout_finger_size_multiplier_get_static_delegate = new efl_ui_layout_finger_size_multiplier_get_delegate(finger_size_multiplier_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetFingerSizeMultiplier") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_layout_finger_size_multiplier_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_layout_finger_size_multiplier_get_static_delegate) });
+ }
+
+ if (efl_ui_layout_finger_size_multiplier_set_static_delegate == null)
+ {
+ efl_ui_layout_finger_size_multiplier_set_static_delegate = new efl_ui_layout_finger_size_multiplier_set_delegate(finger_size_multiplier_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetFingerSizeMultiplier") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_layout_finger_size_multiplier_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_layout_finger_size_multiplier_set_static_delegate) });
+ }
+
if (efl_ui_layout_theme_get_static_delegate == null)
{
efl_ui_layout_theme_get_static_delegate = new efl_ui_layout_theme_get_delegate(theme_get);
#pragma warning disable CA1707, CS1591, SA1300, SA1600
+ private delegate void efl_ui_layout_finger_size_multiplier_get_delegate(System.IntPtr obj, System.IntPtr pd, out uint multiplier_x, out uint multiplier_y);
+
+
+ public delegate void efl_ui_layout_finger_size_multiplier_get_api_delegate(System.IntPtr obj, out uint multiplier_x, out uint multiplier_y);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_layout_finger_size_multiplier_get_api_delegate> efl_ui_layout_finger_size_multiplier_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_layout_finger_size_multiplier_get_api_delegate>(Module, "efl_ui_layout_finger_size_multiplier_get");
+
+ private static void finger_size_multiplier_get(System.IntPtr obj, System.IntPtr pd, out uint multiplier_x, out uint multiplier_y)
+ {
+ Eina.Log.Debug("function efl_ui_layout_finger_size_multiplier_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ multiplier_x = default(uint); multiplier_y = default(uint);
+ try
+ {
+ ((LayoutBase)ws.Target).GetFingerSizeMultiplier(out multiplier_x, out multiplier_y);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_layout_finger_size_multiplier_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out multiplier_x, out multiplier_y);
+ }
+ }
+
+ private static efl_ui_layout_finger_size_multiplier_get_delegate efl_ui_layout_finger_size_multiplier_get_static_delegate;
+
+
+ private delegate void efl_ui_layout_finger_size_multiplier_set_delegate(System.IntPtr obj, System.IntPtr pd, uint multiplier_x, uint multiplier_y);
+
+
+ public delegate void efl_ui_layout_finger_size_multiplier_set_api_delegate(System.IntPtr obj, uint multiplier_x, uint multiplier_y);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_layout_finger_size_multiplier_set_api_delegate> efl_ui_layout_finger_size_multiplier_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_layout_finger_size_multiplier_set_api_delegate>(Module, "efl_ui_layout_finger_size_multiplier_set");
+
+ private static void finger_size_multiplier_set(System.IntPtr obj, System.IntPtr pd, uint multiplier_x, uint multiplier_y)
+ {
+ Eina.Log.Debug("function efl_ui_layout_finger_size_multiplier_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((LayoutBase)ws.Target).SetFingerSizeMultiplier(multiplier_x, multiplier_y);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_layout_finger_size_multiplier_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), multiplier_x, multiplier_y);
+ }
+ }
+
+ private static efl_ui_layout_finger_size_multiplier_set_delegate efl_ui_layout_finger_size_multiplier_set_static_delegate;
+
+
private delegate void efl_ui_layout_theme_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String klass, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String group, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String style);
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiLayoutBase_ExtensionMethods {
+
+
+ public static Efl.BindableProperty<bool> AutomaticThemeRotation<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.LayoutBase, T>magic = null) where T : Efl.Ui.LayoutBase {
+ return new Efl.BindableProperty<bool>("automatic_theme_rotation", fac);
+ }
+
+ public static Efl.BindableProperty<bool> CalcAutoUpdateHints<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.LayoutBase, T>magic = null) where T : Efl.Ui.LayoutBase {
+ return new Efl.BindableProperty<bool>("calc_auto_update_hints", fac);
+ }
+
+
+
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Efl Ui Layout Factory class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.LayoutFactory.NativeMethods]
[Efl.Eo.BindingEntity]
public class LayoutFactory : Efl.Ui.CachingFactory
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected LayoutFactory(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiLayoutFactory_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// 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>
/// <value>Direction of the widget.</value>
Efl.Ui.LayoutOrientation Orientation {
- get ;
- set ;
+ get;
+ set;
}
}
/// <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>
-sealed public class ILayoutOrientableConcrete :
+sealed public class ILayoutOrientableConcrete :
Efl.Eo.EoWrapper
, ILayoutOrientable
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private ILayoutOrientableConcrete(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiILayoutOrientableConcrete_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Ui.LayoutOrientation> Orientation<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.ILayoutOrientable, T>magic = null) where T : Efl.Ui.ILayoutOrientable {
+ return new Efl.BindableProperty<Efl.Ui.LayoutOrientation>("orientation", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
namespace Efl {
namespace Ui {
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.ILayoutOrientableReadonlyConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface ILayoutOrientableReadonly :
Efl.Eo.IWrapper, IDisposable
{
}
-sealed public class ILayoutOrientableReadonlyConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class ILayoutOrientableReadonlyConcrete :
Efl.Eo.EoWrapper
, ILayoutOrientableReadonly
, Efl.Ui.ILayoutOrientable
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private ILayoutOrientableReadonlyConcrete(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiILayoutOrientableReadonlyConcrete_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Ui.LayoutOrientation> Orientation<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.ILayoutOrientableReadonly, T>magic = null) where T : Efl.Ui.ILayoutOrientableReadonly {
+ return new Efl.BindableProperty<Efl.Ui.LayoutOrientation>("orientation", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Elementary layout internal part class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.LayoutPart.NativeMethods]
[Efl.Eo.BindingEntity]
public class LayoutPart : Efl.Ui.WidgetPart
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected LayoutPart(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiLayoutPart_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Elementary layout internal part background class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.LayoutPartBg.NativeMethods]
[Efl.Eo.BindingEntity]
public class LayoutPartBg : Efl.Ui.WidgetPartBg
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected LayoutPartBg(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiLayoutPartBg_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected LayoutPartBox(ConstructingHandle ch) : base(ch)
{
/// <summary>Sent after a new sub-object was added.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContainerContentAddedEvt_Args"/></value>
public event EventHandler<Efl.IContainerContentAddedEvt_Args> ContentAddedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentAddedEvt.</summary>
+ /// <summary>Method to raise event ContentAddedEvt.</summary>
public void OnContentAddedEvt(Efl.IContainerContentAddedEvt_Args e)
{
var key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED";
}
/// <summary>Sent after a sub-object was removed, before unref.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContainerContentRemovedEvt_Args"/></value>
public event EventHandler<Efl.IContainerContentRemovedEvt_Args> ContentRemovedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentRemovedEvt.</summary>
+ /// <summary>Method to raise event ContentRemovedEvt.</summary>
public void OnContentRemovedEvt(Efl.IContainerContentRemovedEvt_Args e)
{
var key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED";
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>Real part property</summary>
+ /// <value>Real part object</value>
+ protected (Efl.Object, System.String) RealPart {
+ set { SetRealPart( value.Item1, value.Item2); }
+ }
/// <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.
///
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiLayoutPartBox_ExtensionMethods {
+
+ public static Efl.BindableProperty<Efl.Ui.LayoutOrientation> Orientation<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.LayoutPartBox, T>magic = null) where T : Efl.Ui.LayoutPartBox {
+ return new Efl.BindableProperty<Efl.Ui.LayoutOrientation>("orientation", fac);
+ }
+public static Efl.BindableProperty<Efl.Ui.LayoutOrientation> Orientation<T>(this Efl.BindablePart<T> part, Efl.Csharp.ExtensionTag<Efl.Ui.LayoutPartBox, T>magic = null) where T : Efl.Ui.LayoutPartBox {
+ return new Efl.BindableProperty<Efl.Ui.LayoutOrientation>(part.PartName, "orientation", part.Binder);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Elementary layout internal part class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.LayoutPartContent.NativeMethods]
[Efl.Eo.BindingEntity]
public class LayoutPartContent : Efl.Ui.LayoutPart, Efl.IContent
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected LayoutPartContent(ConstructingHandle ch) : base(ch)
{
/// <summary>Sent after the content is set or unset using the current content object.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContentContentChangedEvt_Args"/></value>
public event EventHandler<Efl.IContentContentChangedEvt_Args> ContentChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentChangedEvt.</summary>
+ /// <summary>Method to raise event ContentChangedEvt.</summary>
public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e)
{
var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiLayoutPartContent_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Gfx.IEntity> Content<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.LayoutPartContent, T>magic = null) where T : Efl.Ui.LayoutPartContent {
+ return new Efl.BindableProperty<Efl.Gfx.IEntity>("content", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Elementary layout internal part class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected LayoutPartLegacy(ConstructingHandle ch) : base(ch)
{
/// <summary>Sent after the content is set or unset using the current content object.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContentContentChangedEvt_Args"/></value>
public event EventHandler<Efl.IContentContentChangedEvt_Args> ContentChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentChangedEvt.</summary>
+ /// <summary>Method to raise event ContentChangedEvt.</summary>
public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e)
{
var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiLayoutPartLegacy_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Gfx.IEntity> Content<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.LayoutPartLegacy, T>magic = null) where T : Efl.Ui.LayoutPartLegacy {
+ return new Efl.BindableProperty<Efl.Gfx.IEntity>("content", fac);
+ }
+
+
+ public static Efl.BindableProperty<System.String> Markup<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.LayoutPartLegacy, T>magic = null) where T : Efl.Ui.LayoutPartLegacy {
+ return new Efl.BindableProperty<System.String>("markup", fac);
+ }
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected LayoutPartTable(ConstructingHandle ch) : base(ch)
{
/// <summary>Sent after a new sub-object was added.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContainerContentAddedEvt_Args"/></value>
public event EventHandler<Efl.IContainerContentAddedEvt_Args> ContentAddedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentAddedEvt.</summary>
+ /// <summary>Method to raise event ContentAddedEvt.</summary>
public void OnContentAddedEvt(Efl.IContainerContentAddedEvt_Args e)
{
var key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED";
}
/// <summary>Sent after a sub-object was removed, before unref.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContainerContentRemovedEvt_Args"/></value>
public event EventHandler<Efl.IContainerContentRemovedEvt_Args> ContentRemovedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentRemovedEvt.</summary>
+ /// <summary>Method to raise event ContentRemovedEvt.</summary>
public void OnContentRemovedEvt(Efl.IContainerContentRemovedEvt_Args e)
{
var key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED";
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
- /// <summary>Position and span of the <c>subobj</c> in this container, may be modified to move the <c>subobj</c></summary>
+ /// <summary>column of the <c>subobj</c> in this container.</summary>
+ /// <param name="subobj">Child object</param>
+ /// <param name="col">Column number</param>
+ /// <param name="colspan">Column span</param>
+ /// <returns>Returns false if item is not a child</returns>
+ virtual public bool GetTableCellColumn(Efl.Gfx.IEntity subobj, out int col, out int colspan) {
+ var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_cell_column_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, out col, out colspan);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>column of the <c>subobj</c> in this container.</summary>
/// <param name="subobj">Child object</param>
/// <param name="col">Column number</param>
- /// <param name="row">Row number</param>
/// <param name="colspan">Column span</param>
+ virtual public void SetTableCellColumn(Efl.Gfx.IEntity subobj, int col, int colspan) {
+ Efl.IPackTableConcrete.NativeMethods.efl_pack_table_cell_column_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, col, colspan);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>row of the <c>subobj</c> in this container.</summary>
+ /// <param name="subobj">Child object</param>
+ /// <param name="row">Row number</param>
/// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, out col, out row, out colspan, out rowspan);
+ virtual public bool GetTableCellRow(Efl.Gfx.IEntity subobj, out int row, out int rowspan) {
+ var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_cell_row_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, out row, out rowspan);
Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
+ return _ret_var;
}
+ /// <summary>row of the <c>subobj</c> in this container.</summary>
+ /// <param name="subobj">Child object</param>
+ /// <param name="row">Row number</param>
+ /// <param name="rowspan">Row span</param>
+ virtual public void SetTableCellRow(Efl.Gfx.IEntity subobj, int row, int rowspan) {
+ Efl.IPackTableConcrete.NativeMethods.efl_pack_table_cell_row_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, row, rowspan);
+ 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>
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
+ /// <summary>Real part property</summary>
+ /// <value>Real part object</value>
+ protected (Efl.Object, System.String) RealPart {
+ set { SetRealPart( value.Item1, value.Item2); }
+ }
+ /// <summary>Combines <see cref="Efl.IPackTable.TableColumns"/> and <see cref="Efl.IPackTable.TableRows"/></summary>
+ /// <value>Number of columns</value>
+ public (int, int) TableSize {
+ get {
+ int _out_cols = default(int);
+ int _out_rows = default(int);
+ GetTableSize(out _out_cols,out _out_rows);
+ return (_out_cols,_out_rows);
+ }
+ set { SetTableSize( value.Item1, value.Item2); }
+ }
/// <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>
/// <value>Amount of columns.</value>
public int TableColumns {
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_table_position_get_static_delegate == null)
+ if (efl_pack_table_cell_column_get_static_delegate == null)
+ {
+ efl_pack_table_cell_column_get_static_delegate = new efl_pack_table_cell_column_get_delegate(table_cell_column_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetTableCellColumn") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_cell_column_get"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_cell_column_get_static_delegate) });
+ }
+
+ if (efl_pack_table_cell_column_set_static_delegate == null)
+ {
+ efl_pack_table_cell_column_set_static_delegate = new efl_pack_table_cell_column_set_delegate(table_cell_column_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetTableCellColumn") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_cell_column_set"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_cell_column_set_static_delegate) });
+ }
+
+ if (efl_pack_table_cell_row_get_static_delegate == null)
+ {
+ efl_pack_table_cell_row_get_static_delegate = new efl_pack_table_cell_row_get_delegate(table_cell_row_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetTableCellRow") != null)
{
- efl_pack_table_position_get_static_delegate = new efl_pack_table_position_get_delegate(table_position_get);
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_cell_row_get"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_cell_row_get_static_delegate) });
}
- if (methods.FirstOrDefault(m => m.Name == "GetTablePosition") != null)
+ if (efl_pack_table_cell_row_set_static_delegate == null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_position_get"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_position_get_static_delegate) });
+ efl_pack_table_cell_row_set_static_delegate = new efl_pack_table_cell_row_set_delegate(table_cell_row_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetTableCellRow") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_cell_row_set"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_cell_row_set_static_delegate) });
}
if (efl_pack_table_size_get_static_delegate == null)
private static efl_pack_delegate efl_pack_static_delegate;
[return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_pack_table_position_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, out int col, out int row, out int colspan, out int rowspan);
+ private delegate bool efl_pack_table_cell_column_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, out int col, out int colspan);
[return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_pack_table_position_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, out int col, out int row, out int colspan, out int rowspan);
+ public delegate bool efl_pack_table_cell_column_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, out int col, out int colspan);
- public static Efl.Eo.FunctionWrapper<efl_pack_table_position_get_api_delegate> efl_pack_table_position_get_ptr = new Efl.Eo.FunctionWrapper<efl_pack_table_position_get_api_delegate>(Module, "efl_pack_table_position_get");
+ public static Efl.Eo.FunctionWrapper<efl_pack_table_cell_column_get_api_delegate> efl_pack_table_cell_column_get_ptr = new Efl.Eo.FunctionWrapper<efl_pack_table_cell_column_get_api_delegate>(Module, "efl_pack_table_cell_column_get");
- private static bool table_position_get(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, out int col, out int row, out int colspan, out int rowspan)
+ private static bool table_cell_column_get(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, out int col, out int colspan)
{
- Eina.Log.Debug("function efl_pack_table_position_get was called");
+ Eina.Log.Debug("function efl_pack_table_cell_column_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- col = default(int); row = default(int); colspan = default(int); rowspan = default(int); bool _ret_var = default(bool);
+ col = default(int); colspan = default(int); bool _ret_var = default(bool);
try
{
- _ret_var = ((LayoutPartTable)ws.Target).GetTablePosition(subobj, out col, out row, out colspan, out rowspan);
+ _ret_var = ((LayoutPartTable)ws.Target).GetTableCellColumn(subobj, out col, out colspan);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
- return _ret_var;
+ return _ret_var;
}
else
{
- return efl_pack_table_position_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, out col, out row, out colspan, out rowspan);
+ return efl_pack_table_cell_column_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, out col, out colspan);
}
}
- private static efl_pack_table_position_get_delegate efl_pack_table_position_get_static_delegate;
+ private static efl_pack_table_cell_column_get_delegate efl_pack_table_cell_column_get_static_delegate;
+
+
+ private delegate void efl_pack_table_cell_column_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, int col, int colspan);
+
+
+ public delegate void efl_pack_table_cell_column_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, int col, int colspan);
+
+ public static Efl.Eo.FunctionWrapper<efl_pack_table_cell_column_set_api_delegate> efl_pack_table_cell_column_set_ptr = new Efl.Eo.FunctionWrapper<efl_pack_table_cell_column_set_api_delegate>(Module, "efl_pack_table_cell_column_set");
+
+ private static void table_cell_column_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, int col, int colspan)
+ {
+ Eina.Log.Debug("function efl_pack_table_cell_column_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((LayoutPartTable)ws.Target).SetTableCellColumn(subobj, col, colspan);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_pack_table_cell_column_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, col, colspan);
+ }
+ }
+
+ private static efl_pack_table_cell_column_set_delegate efl_pack_table_cell_column_set_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_pack_table_cell_row_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, out int row, out int rowspan);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_pack_table_cell_row_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, out int row, out int rowspan);
+
+ public static Efl.Eo.FunctionWrapper<efl_pack_table_cell_row_get_api_delegate> efl_pack_table_cell_row_get_ptr = new Efl.Eo.FunctionWrapper<efl_pack_table_cell_row_get_api_delegate>(Module, "efl_pack_table_cell_row_get");
+
+ private static bool table_cell_row_get(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, out int row, out int rowspan)
+ {
+ Eina.Log.Debug("function efl_pack_table_cell_row_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ row = default(int); rowspan = default(int); bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((LayoutPartTable)ws.Target).GetTableCellRow(subobj, out row, out rowspan);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_pack_table_cell_row_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, out row, out rowspan);
+ }
+ }
+
+ private static efl_pack_table_cell_row_get_delegate efl_pack_table_cell_row_get_static_delegate;
+
+
+ private delegate void efl_pack_table_cell_row_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, int row, int rowspan);
+
+
+ public delegate void efl_pack_table_cell_row_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, int row, int rowspan);
+
+ public static Efl.Eo.FunctionWrapper<efl_pack_table_cell_row_set_api_delegate> efl_pack_table_cell_row_set_ptr = new Efl.Eo.FunctionWrapper<efl_pack_table_cell_row_set_api_delegate>(Module, "efl_pack_table_cell_row_set");
+
+ private static void table_cell_row_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, int row, int rowspan)
+ {
+ Eina.Log.Debug("function efl_pack_table_cell_row_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((LayoutPartTable)ws.Target).SetTableCellRow(subobj, row, rowspan);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_pack_table_cell_row_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, row, rowspan);
+ }
+ }
+
+ private static efl_pack_table_cell_row_set_delegate efl_pack_table_cell_row_set_static_delegate;
private delegate void efl_pack_table_size_get_delegate(System.IntPtr obj, System.IntPtr pd, out int cols, out int rows);
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiLayoutPartTable_ExtensionMethods {
+
+
+
+
+ public static Efl.BindableProperty<int> TableColumns<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.LayoutPartTable, T>magic = null) where T : Efl.Ui.LayoutPartTable {
+ return new Efl.BindableProperty<int>("table_columns", fac);
+ }
+public static Efl.BindableProperty<int> TableColumns<T>(this Efl.BindablePart<T> part, Efl.Csharp.ExtensionTag<Efl.Ui.LayoutPartTable, T>magic = null) where T : Efl.Ui.LayoutPartTable {
+ return new Efl.BindableProperty<int>(part.PartName, "table_columns", part.Binder);
+ }
+
+ public static Efl.BindableProperty<int> TableRows<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.LayoutPartTable, T>magic = null) where T : Efl.Ui.LayoutPartTable {
+ return new Efl.BindableProperty<int>("table_rows", fac);
+ }
+public static Efl.BindableProperty<int> TableRows<T>(this Efl.BindablePart<T> part, Efl.Csharp.ExtensionTag<Efl.Ui.LayoutPartTable, T>magic = null) where T : Efl.Ui.LayoutPartTable {
+ return new Efl.BindableProperty<int>(part.PartName, "table_rows", part.Binder);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Elementary layout internal part class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected LayoutPartText(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiLayoutPartText_ExtensionMethods {
+
+ public static Efl.BindableProperty<System.String> Markup<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.LayoutPartText, T>magic = null) where T : Efl.Ui.LayoutPartText {
+ return new Efl.BindableProperty<System.String>("markup", fac);
+ }
+public static Efl.BindableProperty<System.String> Markup<T>(this Efl.BindablePart<T> part, Efl.Csharp.ExtensionTag<Efl.Ui.LayoutPartText, T>magic = null) where T : Efl.Ui.LayoutPartText {
+ return new Efl.BindableProperty<System.String>(part.PartName, "markup", part.Binder);
+ }
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.ILegacyConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface ILegacy :
}
/// <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>
-sealed public class ILegacyConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class ILegacyConcrete :
Efl.Eo.EoWrapper
, ILegacy
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private ILegacyConcrete(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiILegacyConcrete_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Simple list widget with Pack interface.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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
+public class List : Efl.Ui.Collection
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected List(ConstructingHandle ch) : base(ch)
{
{
}
- /// <summary>Sent after the layout was updated.</summary>
- public event EventHandler LayoutUpdatedEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_PACK_EVENT_LAYOUT_UPDATED";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_PACK_EVENT_LAYOUT_UPDATED";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event LayoutUpdatedEvt.</summary>
- public void OnLayoutUpdatedEvt(EventArgs e)
- {
- var key = "_EFL_PACK_EVENT_LAYOUT_UPDATED";
- 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>Called when scroll operation starts</summary>
- public event EventHandler ScrollStartEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SCROLL_START";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SCROLL_START";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ScrollStartEvt.</summary>
- public void OnScrollStartEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SCROLL_START";
- 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>Called when scrolling</summary>
- public event EventHandler ScrollEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SCROLL";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SCROLL";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ScrollEvt.</summary>
- public void OnScrollEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SCROLL";
- 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>Called when scroll operation stops</summary>
- public event EventHandler ScrollStopEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SCROLL_STOP";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SCROLL_STOP";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ScrollStopEvt.</summary>
- public void OnScrollStopEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SCROLL_STOP";
- 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>Called when scrolling upwards</summary>
- public event EventHandler ScrollUpEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SCROLL_UP";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SCROLL_UP";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ScrollUpEvt.</summary>
- public void OnScrollUpEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SCROLL_UP";
- 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>Called when scrolling downwards</summary>
- public event EventHandler ScrollDownEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SCROLL_DOWN";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SCROLL_DOWN";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ScrollDownEvt.</summary>
- public void OnScrollDownEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SCROLL_DOWN";
- 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>Called when scrolling left</summary>
- public event EventHandler ScrollLeftEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SCROLL_LEFT";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SCROLL_LEFT";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ScrollLeftEvt.</summary>
- public void OnScrollLeftEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SCROLL_LEFT";
- 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>Called when scrolling right</summary>
- public event EventHandler ScrollRightEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SCROLL_RIGHT";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SCROLL_RIGHT";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ScrollRightEvt.</summary>
- public void OnScrollRightEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SCROLL_RIGHT";
- 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>Called when hitting the top edge</summary>
- public event EventHandler EdgeUpEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_EDGE_UP";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_EDGE_UP";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event EdgeUpEvt.</summary>
- public void OnEdgeUpEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_EDGE_UP";
- 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>Called when hitting the bottom edge</summary>
- public event EventHandler EdgeDownEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_EDGE_DOWN";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_EDGE_DOWN";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event EdgeDownEvt.</summary>
- public void OnEdgeDownEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_EDGE_DOWN";
- 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>Called when hitting the left edge</summary>
- public event EventHandler EdgeLeftEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_EDGE_LEFT";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_EDGE_LEFT";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event EdgeLeftEvt.</summary>
- public void OnEdgeLeftEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_EDGE_LEFT";
- 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>Called when hitting the right edge</summary>
- public event EventHandler EdgeRightEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_EDGE_RIGHT";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_EDGE_RIGHT";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event EdgeRightEvt.</summary>
- public void OnEdgeRightEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_EDGE_RIGHT";
- 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>Called when scroll animation starts</summary>
- public event EventHandler ScrollAnimStartEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SCROLL_ANIM_START";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SCROLL_ANIM_START";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ScrollAnimStartEvt.</summary>
- public void OnScrollAnimStartEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SCROLL_ANIM_START";
- 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>Called when scroll animation stopps</summary>
- public event EventHandler ScrollAnimStopEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SCROLL_ANIM_STOP";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ScrollAnimStopEvt.</summary>
- public void OnScrollAnimStopEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP";
- 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>Called when scroll drag starts</summary>
- public event EventHandler ScrollDragStartEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SCROLL_DRAG_START";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SCROLL_DRAG_START";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ScrollDragStartEvt.</summary>
- public void OnScrollDragStartEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SCROLL_DRAG_START";
- 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>Called when scroll drag stops</summary>
- public event EventHandler ScrollDragStopEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SCROLL_DRAG_STOP";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ScrollDragStopEvt.</summary>
- public void OnScrollDragStopEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP";
- 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>Called when bar is pressed.</summary>
- public event EventHandler<Efl.Ui.IScrollbarBarPressEvt_Args> BarPressEvt
- {
- 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.IScrollbarBarPressEvt_Args args = new Efl.Ui.IScrollbarBarPressEvt_Args();
- args.arg = (Efl.Ui.ScrollbarDirection)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_SCROLLBAR_EVENT_BAR_PRESS";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event BarPressEvt.</summary>
- public void OnBarPressEvt(Efl.Ui.IScrollbarBarPressEvt_Args e)
- {
- var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS";
- 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>Called when bar is unpressed.</summary>
- public event EventHandler<Efl.Ui.IScrollbarBarUnpressEvt_Args> BarUnpressEvt
- {
- 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.IScrollbarBarUnpressEvt_Args args = new Efl.Ui.IScrollbarBarUnpressEvt_Args();
- args.arg = (Efl.Ui.ScrollbarDirection)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_SCROLLBAR_EVENT_BAR_UNPRESS";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event BarUnpressEvt.</summary>
- public void OnBarUnpressEvt(Efl.Ui.IScrollbarBarUnpressEvt_Args e)
- {
- var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS";
- 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>Called when bar is dragged.</summary>
- public event EventHandler<Efl.Ui.IScrollbarBarDragEvt_Args> BarDragEvt
- {
- 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.IScrollbarBarDragEvt_Args args = new Efl.Ui.IScrollbarBarDragEvt_Args();
- args.arg = (Efl.Ui.ScrollbarDirection)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_SCROLLBAR_EVENT_BAR_DRAG";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event BarDragEvt.</summary>
- public void OnBarDragEvt(Efl.Ui.IScrollbarBarDragEvt_Args e)
- {
- var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG";
- 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>Called when bar size is changed.</summary>
- public event EventHandler BarSizeChangedEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_SCROLLBAR_EVENT_BAR_SIZE_CHANGED";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event BarSizeChangedEvt.</summary>
- public void OnBarSizeChangedEvt(EventArgs e)
- {
- var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_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>Called when bar position is changed.</summary>
- public event EventHandler BarPosChangedEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_SCROLLBAR_EVENT_BAR_POS_CHANGED";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event BarPosChangedEvt.</summary>
- public void OnBarPosChangedEvt(EventArgs e)
- {
- var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_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>Callend when bar is shown.</summary>
- public event EventHandler<Efl.Ui.IScrollbarBarShowEvt_Args> BarShowEvt
- {
- 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.IScrollbarBarShowEvt_Args args = new Efl.Ui.IScrollbarBarShowEvt_Args();
- args.arg = (Efl.Ui.ScrollbarDirection)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_SCROLLBAR_EVENT_BAR_SHOW";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event BarShowEvt.</summary>
- public void OnBarShowEvt(Efl.Ui.IScrollbarBarShowEvt_Args e)
- {
- var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW";
- 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>Called when bar is hidden.</summary>
- public event EventHandler<Efl.Ui.IScrollbarBarHideEvt_Args> BarHideEvt
- {
- 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.IScrollbarBarHideEvt_Args args = new Efl.Ui.IScrollbarBarHideEvt_Args();
- args.arg = (Efl.Ui.ScrollbarDirection)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_SCROLLBAR_EVENT_BAR_HIDE";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event BarHideEvt.</summary>
- public void OnBarHideEvt(Efl.Ui.IScrollbarBarHideEvt_Args e)
- {
- var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE";
- 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>Called when selected</summary>
- public event EventHandler<Efl.Ui.ISelectableItemSelectedEvt_Args> ItemSelectedEvt
- {
- 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.ISelectableItemSelectedEvt_Args args = new Efl.Ui.ISelectableItemSelectedEvt_Args();
- args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Object);
- try
- {
- value?.Invoke(obj, args);
- }
- catch (Exception e)
- {
- Eina.Log.Error(e.ToString());
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
- }
- };
-
- string key = "_EFL_UI_EVENT_ITEM_SELECTED";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_ITEM_SELECTED";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ItemSelectedEvt.</summary>
- public void OnItemSelectedEvt(Efl.Ui.ISelectableItemSelectedEvt_Args e)
- {
- var key = "_EFL_UI_EVENT_ITEM_SELECTED";
- 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 = e.arg.NativeHandle;
- Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
- }
- /// <summary>Called when no longer selected</summary>
- public event EventHandler<Efl.Ui.ISelectableItemUnselectedEvt_Args> ItemUnselectedEvt
- {
- 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.ISelectableItemUnselectedEvt_Args args = new Efl.Ui.ISelectableItemUnselectedEvt_Args();
- args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Object);
- try
- {
- value?.Invoke(obj, args);
- }
- catch (Exception e)
- {
- Eina.Log.Error(e.ToString());
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
- }
- };
-
- string key = "_EFL_UI_EVENT_ITEM_UNSELECTED";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_ITEM_UNSELECTED";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ItemUnselectedEvt.</summary>
- public void OnItemUnselectedEvt(Efl.Ui.ISelectableItemUnselectedEvt_Args e)
- {
- var key = "_EFL_UI_EVENT_ITEM_UNSELECTED";
- 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 = e.arg.NativeHandle;
- Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
- }
- /// <summary>Called when selection is pasted</summary>
- public event EventHandler SelectionPasteEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SELECTION_PASTE";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SELECTION_PASTE";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event SelectionPasteEvt.</summary>
- public void OnSelectionPasteEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SELECTION_PASTE";
- 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>Called when selection is copied</summary>
- public event EventHandler SelectionCopyEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SELECTION_COPY";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SELECTION_COPY";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event SelectionCopyEvt.</summary>
- public void OnSelectionCopyEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SELECTION_COPY";
- 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>Called when selection is cut</summary>
- public event EventHandler SelectionCutEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SELECTION_CUT";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SELECTION_CUT";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event SelectionCutEvt.</summary>
- public void OnSelectionCutEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SELECTION_CUT";
- 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>Called at selection start</summary>
- public event EventHandler SelectionStartEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SELECTION_START";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SELECTION_START";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event SelectionStartEvt.</summary>
- public void OnSelectionStartEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SELECTION_START";
- 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>Called when selection is changed</summary>
- public event EventHandler SelectionChangedEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SELECTION_CHANGED";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SELECTION_CHANGED";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event SelectionChangedEvt.</summary>
- public void OnSelectionChangedEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SELECTION_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>Called when selection is cleared</summary>
- public event EventHandler SelectionClearedEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SELECTION_CLEARED";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SELECTION_CLEARED";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event SelectionClearedEvt.</summary>
- public void OnSelectionClearedEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SELECTION_CLEARED";
- 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>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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>scroll move the item to show in the viewport.</summary>
- /// <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((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="item">Target item.</param>
- /// <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((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((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);
- }
- /// <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>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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Implementation of this container's layout algorithm.
- /// EFL will call this function whenever the contents of this container need to be re-laid out on the canvas.
- ///
- /// This can be overriden to implement custom layout behaviors.</summary>
- virtual public void UpdateLayout() {
- 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.
- /// 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>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 GetContentAlign(out double align_horiz, out double 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((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_horiz">Horizontal padding</param>
- /// <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((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_horiz">Horizontal padding</param>
- /// <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((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((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((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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>The content position</summary>
- /// <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((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((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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Bouncing behavior
- /// When scrolling, the scroller may "bounce" when reaching the edge of the content object. This is a visual way to indicate the end has been reached. This is enabled by default for both axes. This API will determine if it's enabled for the given axis with the boolean parameters for each one.</summary>
- /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out horiz, out vert);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Bouncing behavior
- /// When scrolling, the scroller may "bounce" when reaching the edge of the content object. This is a visual way to indicate the end has been reached. This is enabled by default for both axes. This API will determine if it's enabled for the given axis with the boolean parameters for each one.</summary>
- /// <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((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((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((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((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((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((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((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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <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>
- /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),block);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Control scrolling gravity on the scrollable
- /// The gravity defines how the scroller will adjust its view when the size of the scroller contents increases.
- ///
- /// The scroller will adjust the view to glue itself as follows.
- ///
- /// x=0.0, for staying where it is relative to the left edge of the content x=1.0, for staying where it is relative to the right edge of the content y=0.0, for staying where it is relative to the top edge of the content y=1.0, for staying where it is relative to the bottom edge of the content
- ///
- /// Default values for x and y are 0.0</summary>
- /// <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((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
- /// The gravity defines how the scroller will adjust its view when the size of the scroller contents increases.
- ///
- /// The scroller will adjust the view to glue itself as follows.
- ///
- /// x=0.0, for staying where it is relative to the left edge of the content x=1.0, for staying where it is relative to the right edge of the content y=0.0, for staying where it is relative to the top edge of the content y=1.0, for staying where it is relative to the bottom edge of the content
- ///
- /// Default values for x and y are 0.0</summary>
- /// <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((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.
- /// By default the scroller will be as small as its design allows, irrespective of its content. This will make the scroller minimum size the right size horizontally and/or vertically to perfectly fit its content in that direction.</summary>
- /// <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((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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Control the step size
- /// Use this call to set step size. This value is used when scroller scroll by arrow key event.</summary>
- /// <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((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.
- /// This will ensure all (or part if it does not fit) of the designated region in the virtual content object (0, 0 starting at the top-left of the virtual content object) is shown within the scroller. This allows the scroller to "smoothly slide" to this location (if configuration in general calls for transitions). It may not jump immediately to the new location and make take a while and show other content along the way.</summary>
- /// <param name="rect">The position where to scroll. and The size user want to see</param>
- /// <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((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>
- 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((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>
- 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((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>
- virtual public void GetBarSize(out double width, out double 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>
- virtual public void GetBarPosition(out double posx, out double 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>
- virtual public void SetBarPosition(double posx, double 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 needs to be shown or hidden.</summary>
- virtual public void UpdateBarVisibility() {
- 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>
- /// <value>last selected item of list.</value>
- public Efl.Ui.ListItem LastSelectedItem {
- get { return GetLastSelectedItem(); }
- }
- /// <summary>The mode type for children selection.</summary>
- /// <value>Type of selection of children</value>
- public Efl.Ui.SelectMode SelectMode {
- get { return GetSelectMode(); }
- set { SetSelectMode(value); }
- }
- /// <summary>The content position</summary>
- /// <value>The position is virtual value, (0, 0) starting at the top-left.</value>
- public Eina.Position2D ContentPos {
- get { return GetContentPos(); }
- set { SetContentPos(value); }
- }
- /// <summary>The content size</summary>
- /// <value>The content size in pixels.</value>
- public Eina.Size2D ContentSize {
- get { return GetContentSize(); }
- }
- /// <summary>The viewport geometry</summary>
- /// <value>It is absolute geometry.</value>
- public Eina.Rect ViewportGeometry {
- get { return GetViewportGeometry(); }
- }
- /// <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>
- /// <value><c>true</c> if freeze, <c>false</c> otherwise</value>
- public bool ScrollFreeze {
- get { return GetScrollFreeze(); }
- set { SetScrollFreeze(value); }
- }
- /// <summary>Hold property When hold turns on, it only scrolls by holding action.</summary>
- /// <value><c>true</c> if hold, <c>false</c> otherwise</value>
- public bool ScrollHold {
- get { return GetScrollHold(); }
- set { SetScrollHold(value); }
- }
- /// <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>
- /// <value>Which axis (or axes) to block</value>
- public Efl.Ui.ScrollBlock MovementBlock {
- get { return GetMovementBlock(); }
- set { SetMovementBlock(value); }
- }
- /// <summary>Control the step size
- /// Use this call to set step size. This value is used when scroller scroll by arrow key event.</summary>
- /// <value>The step size in pixels</value>
- public Eina.Position2D StepSize {
- get { return GetStepSize(); }
- set { SetStepSize(value); }
- }
- private static IntPtr GetEflClassStatic()
- {
- return Efl.Ui.List.efl_ui_list_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_list_last_selected_item_get_static_delegate == null)
- {
- efl_ui_list_last_selected_item_get_static_delegate = new efl_ui_list_last_selected_item_get_delegate(last_selected_item_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetLastSelectedItem") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_list_last_selected_item_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_list_last_selected_item_get_static_delegate) });
- }
-
- if (efl_ui_list_item_scroll_static_delegate == null)
- {
- efl_ui_list_item_scroll_static_delegate = new efl_ui_list_item_scroll_delegate(item_scroll);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "ItemScroll") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_list_item_scroll"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_list_item_scroll_static_delegate) });
- }
-
- if (efl_ui_list_item_scroll_align_static_delegate == null)
- {
- efl_ui_list_item_scroll_align_static_delegate = new efl_ui_list_item_scroll_align_delegate(item_scroll_align);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "ItemScrollAlign") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_list_item_scroll_align"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_list_item_scroll_align_static_delegate) });
- }
-
- if (efl_ui_list_selected_items_get_static_delegate == null)
- {
- efl_ui_list_selected_items_get_static_delegate = new efl_ui_list_selected_items_get_delegate(selected_items_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetSelectedItems") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_list_selected_items_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_list_selected_items_get_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_layout_request_static_delegate == null)
- {
- efl_pack_layout_request_static_delegate = new efl_pack_layout_request_delegate(layout_request);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "LayoutRequest") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_layout_request"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_layout_request_static_delegate) });
- }
-
- if (efl_pack_layout_update_static_delegate == null)
- {
- efl_pack_layout_update_static_delegate = new efl_pack_layout_update_delegate(layout_update);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "UpdateLayout") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_layout_update"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_layout_update_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) });
- }
-
- if (efl_gfx_arrangement_content_align_get_static_delegate == null)
- {
- efl_gfx_arrangement_content_align_get_static_delegate = new efl_gfx_arrangement_content_align_get_delegate(content_align_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetContentAlign") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_arrangement_content_align_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_arrangement_content_align_get_static_delegate) });
- }
-
- if (efl_gfx_arrangement_content_align_set_static_delegate == null)
- {
- efl_gfx_arrangement_content_align_set_static_delegate = new efl_gfx_arrangement_content_align_set_delegate(content_align_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetContentAlign") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_arrangement_content_align_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_arrangement_content_align_set_static_delegate) });
- }
-
- if (efl_gfx_arrangement_content_padding_get_static_delegate == null)
- {
- efl_gfx_arrangement_content_padding_get_static_delegate = new efl_gfx_arrangement_content_padding_get_delegate(content_padding_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetContentPadding") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_arrangement_content_padding_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_arrangement_content_padding_get_static_delegate) });
- }
-
- if (efl_gfx_arrangement_content_padding_set_static_delegate == null)
- {
- efl_gfx_arrangement_content_padding_set_static_delegate = new efl_gfx_arrangement_content_padding_set_delegate(content_padding_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetContentPadding") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_arrangement_content_padding_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_arrangement_content_padding_set_static_delegate) });
- }
-
- if (efl_ui_select_mode_get_static_delegate == null)
- {
- efl_ui_select_mode_get_static_delegate = new efl_ui_select_mode_get_delegate(select_mode_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetSelectMode") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_select_mode_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_select_mode_get_static_delegate) });
- }
-
- if (efl_ui_select_mode_set_static_delegate == null)
- {
- efl_ui_select_mode_set_static_delegate = new efl_ui_select_mode_set_delegate(select_mode_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetSelectMode") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_select_mode_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_select_mode_set_static_delegate) });
- }
-
- if (efl_ui_scrollable_content_pos_get_static_delegate == null)
- {
- efl_ui_scrollable_content_pos_get_static_delegate = new efl_ui_scrollable_content_pos_get_delegate(content_pos_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetContentPos") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_content_pos_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_content_pos_get_static_delegate) });
- }
-
- if (efl_ui_scrollable_content_pos_set_static_delegate == null)
- {
- efl_ui_scrollable_content_pos_set_static_delegate = new efl_ui_scrollable_content_pos_set_delegate(content_pos_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetContentPos") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_content_pos_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_content_pos_set_static_delegate) });
- }
-
- if (efl_ui_scrollable_content_size_get_static_delegate == null)
- {
- efl_ui_scrollable_content_size_get_static_delegate = new efl_ui_scrollable_content_size_get_delegate(content_size_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetContentSize") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_content_size_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_content_size_get_static_delegate) });
- }
-
- if (efl_ui_scrollable_viewport_geometry_get_static_delegate == null)
- {
- efl_ui_scrollable_viewport_geometry_get_static_delegate = new efl_ui_scrollable_viewport_geometry_get_delegate(viewport_geometry_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetViewportGeometry") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_viewport_geometry_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_viewport_geometry_get_static_delegate) });
- }
-
- if (efl_ui_scrollable_bounce_enabled_get_static_delegate == null)
- {
- efl_ui_scrollable_bounce_enabled_get_static_delegate = new efl_ui_scrollable_bounce_enabled_get_delegate(bounce_enabled_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetBounceEnabled") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_bounce_enabled_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_bounce_enabled_get_static_delegate) });
- }
-
- if (efl_ui_scrollable_bounce_enabled_set_static_delegate == null)
- {
- efl_ui_scrollable_bounce_enabled_set_static_delegate = new efl_ui_scrollable_bounce_enabled_set_delegate(bounce_enabled_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetBounceEnabled") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_bounce_enabled_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_bounce_enabled_set_static_delegate) });
- }
-
- if (efl_ui_scrollable_scroll_freeze_get_static_delegate == null)
- {
- efl_ui_scrollable_scroll_freeze_get_static_delegate = new efl_ui_scrollable_scroll_freeze_get_delegate(scroll_freeze_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetScrollFreeze") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_scroll_freeze_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_scroll_freeze_get_static_delegate) });
- }
-
- if (efl_ui_scrollable_scroll_freeze_set_static_delegate == null)
- {
- efl_ui_scrollable_scroll_freeze_set_static_delegate = new efl_ui_scrollable_scroll_freeze_set_delegate(scroll_freeze_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetScrollFreeze") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_scroll_freeze_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_scroll_freeze_set_static_delegate) });
- }
-
- if (efl_ui_scrollable_scroll_hold_get_static_delegate == null)
- {
- efl_ui_scrollable_scroll_hold_get_static_delegate = new efl_ui_scrollable_scroll_hold_get_delegate(scroll_hold_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetScrollHold") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_scroll_hold_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_scroll_hold_get_static_delegate) });
- }
-
- if (efl_ui_scrollable_scroll_hold_set_static_delegate == null)
- {
- efl_ui_scrollable_scroll_hold_set_static_delegate = new efl_ui_scrollable_scroll_hold_set_delegate(scroll_hold_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetScrollHold") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_scroll_hold_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_scroll_hold_set_static_delegate) });
- }
-
- if (efl_ui_scrollable_looping_get_static_delegate == null)
- {
- efl_ui_scrollable_looping_get_static_delegate = new efl_ui_scrollable_looping_get_delegate(looping_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetLooping") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_looping_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_looping_get_static_delegate) });
- }
-
- if (efl_ui_scrollable_looping_set_static_delegate == null)
- {
- efl_ui_scrollable_looping_set_static_delegate = new efl_ui_scrollable_looping_set_delegate(looping_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetLooping") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_looping_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_looping_set_static_delegate) });
- }
-
- if (efl_ui_scrollable_movement_block_get_static_delegate == null)
- {
- efl_ui_scrollable_movement_block_get_static_delegate = new efl_ui_scrollable_movement_block_get_delegate(movement_block_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetMovementBlock") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_movement_block_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_movement_block_get_static_delegate) });
- }
-
- if (efl_ui_scrollable_movement_block_set_static_delegate == null)
- {
- efl_ui_scrollable_movement_block_set_static_delegate = new efl_ui_scrollable_movement_block_set_delegate(movement_block_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetMovementBlock") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_movement_block_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_movement_block_set_static_delegate) });
- }
-
- if (efl_ui_scrollable_gravity_get_static_delegate == null)
- {
- efl_ui_scrollable_gravity_get_static_delegate = new efl_ui_scrollable_gravity_get_delegate(gravity_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetGravity") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_gravity_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_gravity_get_static_delegate) });
- }
-
- if (efl_ui_scrollable_gravity_set_static_delegate == null)
- {
- efl_ui_scrollable_gravity_set_static_delegate = new efl_ui_scrollable_gravity_set_delegate(gravity_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetGravity") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_gravity_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_gravity_set_static_delegate) });
- }
-
- if (efl_ui_scrollable_match_content_set_static_delegate == null)
- {
- efl_ui_scrollable_match_content_set_static_delegate = new efl_ui_scrollable_match_content_set_delegate(match_content_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetMatchContent") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_match_content_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_match_content_set_static_delegate) });
- }
-
- if (efl_ui_scrollable_step_size_get_static_delegate == null)
- {
- efl_ui_scrollable_step_size_get_static_delegate = new efl_ui_scrollable_step_size_get_delegate(step_size_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetStepSize") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_step_size_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_step_size_get_static_delegate) });
- }
-
- if (efl_ui_scrollable_step_size_set_static_delegate == null)
- {
- efl_ui_scrollable_step_size_set_static_delegate = new efl_ui_scrollable_step_size_set_delegate(step_size_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetStepSize") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_step_size_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_step_size_set_static_delegate) });
- }
-
- if (efl_ui_scrollable_scroll_static_delegate == null)
- {
- efl_ui_scrollable_scroll_static_delegate = new efl_ui_scrollable_scroll_delegate(scroll);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "Scroll") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_scroll"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_scroll_static_delegate) });
- }
-
- if (efl_ui_scrollbar_bar_mode_get_static_delegate == null)
- {
- efl_ui_scrollbar_bar_mode_get_static_delegate = new efl_ui_scrollbar_bar_mode_get_delegate(bar_mode_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetBarMode") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollbar_bar_mode_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollbar_bar_mode_get_static_delegate) });
- }
-
- if (efl_ui_scrollbar_bar_mode_set_static_delegate == null)
- {
- efl_ui_scrollbar_bar_mode_set_static_delegate = new efl_ui_scrollbar_bar_mode_set_delegate(bar_mode_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetBarMode") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollbar_bar_mode_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollbar_bar_mode_set_static_delegate) });
- }
-
- if (efl_ui_scrollbar_bar_size_get_static_delegate == null)
- {
- efl_ui_scrollbar_bar_size_get_static_delegate = new efl_ui_scrollbar_bar_size_get_delegate(bar_size_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetBarSize") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollbar_bar_size_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollbar_bar_size_get_static_delegate) });
- }
-
- if (efl_ui_scrollbar_bar_position_get_static_delegate == null)
- {
- efl_ui_scrollbar_bar_position_get_static_delegate = new efl_ui_scrollbar_bar_position_get_delegate(bar_position_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetBarPosition") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollbar_bar_position_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollbar_bar_position_get_static_delegate) });
- }
-
- if (efl_ui_scrollbar_bar_position_set_static_delegate == null)
- {
- efl_ui_scrollbar_bar_position_set_static_delegate = new efl_ui_scrollbar_bar_position_set_delegate(bar_position_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetBarPosition") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollbar_bar_position_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollbar_bar_position_set_static_delegate) });
- }
-
- if (efl_ui_scrollbar_bar_visibility_update_static_delegate == null)
- {
- efl_ui_scrollbar_bar_visibility_update_static_delegate = new efl_ui_scrollbar_bar_visibility_update_delegate(bar_visibility_update);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "UpdateBarVisibility") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollbar_bar_visibility_update"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollbar_bar_visibility_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.List.efl_ui_list_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.ListItem efl_ui_list_last_selected_item_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- public delegate Efl.Ui.ListItem efl_ui_list_last_selected_item_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_list_last_selected_item_get_api_delegate> efl_ui_list_last_selected_item_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_list_last_selected_item_get_api_delegate>(Module, "efl_ui_list_last_selected_item_get");
-
- private static Efl.Ui.ListItem last_selected_item_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_list_last_selected_item_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Efl.Ui.ListItem _ret_var = default(Efl.Ui.ListItem);
- try
- {
- _ret_var = ((List)ws.Target).GetLastSelectedItem();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_list_last_selected_item_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_list_last_selected_item_get_delegate efl_ui_list_last_selected_item_get_static_delegate;
-
-
- private delegate void efl_ui_list_item_scroll_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.ListItem item, [MarshalAs(UnmanagedType.U1)] bool animation);
-
-
- public delegate void efl_ui_list_item_scroll_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.ListItem item, [MarshalAs(UnmanagedType.U1)] bool animation);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_list_item_scroll_api_delegate> efl_ui_list_item_scroll_ptr = new Efl.Eo.FunctionWrapper<efl_ui_list_item_scroll_api_delegate>(Module, "efl_ui_list_item_scroll");
-
- private static void item_scroll(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ListItem item, bool animation)
- {
- Eina.Log.Debug("function efl_ui_list_item_scroll was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((List)ws.Target).ItemScroll(item, animation);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_list_item_scroll_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), item, animation);
- }
- }
-
- private static efl_ui_list_item_scroll_delegate efl_ui_list_item_scroll_static_delegate;
-
-
- private delegate void efl_ui_list_item_scroll_align_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.ListItem item, double align, [MarshalAs(UnmanagedType.U1)] bool animation);
-
-
- public delegate void efl_ui_list_item_scroll_align_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.ListItem item, double align, [MarshalAs(UnmanagedType.U1)] bool animation);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_list_item_scroll_align_api_delegate> efl_ui_list_item_scroll_align_ptr = new Efl.Eo.FunctionWrapper<efl_ui_list_item_scroll_align_api_delegate>(Module, "efl_ui_list_item_scroll_align");
-
- private static void item_scroll_align(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ListItem item, double align, bool animation)
- {
- Eina.Log.Debug("function efl_ui_list_item_scroll_align was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((List)ws.Target).ItemScrollAlign(item, align, animation);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_list_item_scroll_align_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), item, align, animation);
- }
- }
-
- private static efl_ui_list_item_scroll_align_delegate efl_ui_list_item_scroll_align_static_delegate;
-
-
- private delegate System.IntPtr efl_ui_list_selected_items_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate System.IntPtr efl_ui_list_selected_items_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_list_selected_items_get_api_delegate> efl_ui_list_selected_items_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_list_selected_items_get_api_delegate>(Module, "efl_ui_list_selected_items_get");
-
- private static System.IntPtr selected_items_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_list_selected_items_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Eina.Iterator<Efl.Ui.ListItem> _ret_var = default(Eina.Iterator<Efl.Ui.ListItem>);
- try
- {
- _ret_var = ((List)ws.Target).GetSelectedItems();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- _ret_var.Own = false; return _ret_var.Handle;
-
- }
- else
- {
- return efl_ui_list_selected_items_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_list_selected_items_get_delegate efl_ui_list_selected_items_get_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 = ((List)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 = ((List)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 = ((List)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 = ((List)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;
-
-
- private delegate void efl_pack_layout_request_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate void efl_pack_layout_request_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_pack_layout_request_api_delegate> efl_pack_layout_request_ptr = new Efl.Eo.FunctionWrapper<efl_pack_layout_request_api_delegate>(Module, "efl_pack_layout_request");
-
- private static void layout_request(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_pack_layout_request was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((List)ws.Target).LayoutRequest();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_pack_layout_request_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_pack_layout_request_delegate efl_pack_layout_request_static_delegate;
-
-
- private delegate void efl_pack_layout_update_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate void efl_pack_layout_update_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_pack_layout_update_api_delegate> efl_pack_layout_update_ptr = new Efl.Eo.FunctionWrapper<efl_pack_layout_update_api_delegate>(Module, "efl_pack_layout_update");
-
- private static void layout_update(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_pack_layout_update was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((List)ws.Target).UpdateLayout();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_pack_layout_update_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_pack_layout_update_delegate efl_pack_layout_update_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 = ((List)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 = ((List)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 = ((List)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 = ((List)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 = ((List)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 = ((List)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 = ((List)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 = ((List)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;
-
-
- private delegate void efl_gfx_arrangement_content_align_get_delegate(System.IntPtr obj, System.IntPtr pd, out double align_horiz, out double align_vert);
-
-
- public delegate void efl_gfx_arrangement_content_align_get_api_delegate(System.IntPtr obj, out double align_horiz, out double align_vert);
-
- public static Efl.Eo.FunctionWrapper<efl_gfx_arrangement_content_align_get_api_delegate> efl_gfx_arrangement_content_align_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_arrangement_content_align_get_api_delegate>(Module, "efl_gfx_arrangement_content_align_get");
-
- private static void content_align_get(System.IntPtr obj, System.IntPtr pd, out double align_horiz, out double align_vert)
- {
- Eina.Log.Debug("function efl_gfx_arrangement_content_align_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- align_horiz = default(double); align_vert = default(double);
- try
- {
- ((List)ws.Target).GetContentAlign(out align_horiz, out align_vert);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_gfx_arrangement_content_align_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out align_horiz, out align_vert);
- }
- }
-
- private static efl_gfx_arrangement_content_align_get_delegate efl_gfx_arrangement_content_align_get_static_delegate;
-
-
- private delegate void efl_gfx_arrangement_content_align_set_delegate(System.IntPtr obj, System.IntPtr pd, double align_horiz, double align_vert);
-
-
- public delegate void efl_gfx_arrangement_content_align_set_api_delegate(System.IntPtr obj, double align_horiz, double align_vert);
-
- public static Efl.Eo.FunctionWrapper<efl_gfx_arrangement_content_align_set_api_delegate> efl_gfx_arrangement_content_align_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_arrangement_content_align_set_api_delegate>(Module, "efl_gfx_arrangement_content_align_set");
-
- private static void content_align_set(System.IntPtr obj, System.IntPtr pd, double align_horiz, double align_vert)
- {
- Eina.Log.Debug("function efl_gfx_arrangement_content_align_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((List)ws.Target).SetContentAlign(align_horiz, align_vert);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_gfx_arrangement_content_align_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), align_horiz, align_vert);
- }
- }
-
- private static efl_gfx_arrangement_content_align_set_delegate efl_gfx_arrangement_content_align_set_static_delegate;
-
-
- private delegate void efl_gfx_arrangement_content_padding_get_delegate(System.IntPtr obj, System.IntPtr pd, out double pad_horiz, out double pad_vert, [MarshalAs(UnmanagedType.U1)] out bool scalable);
-
-
- public delegate void efl_gfx_arrangement_content_padding_get_api_delegate(System.IntPtr obj, out double pad_horiz, out double pad_vert, [MarshalAs(UnmanagedType.U1)] out bool scalable);
-
- public static Efl.Eo.FunctionWrapper<efl_gfx_arrangement_content_padding_get_api_delegate> efl_gfx_arrangement_content_padding_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_arrangement_content_padding_get_api_delegate>(Module, "efl_gfx_arrangement_content_padding_get");
-
- private static void content_padding_get(System.IntPtr obj, System.IntPtr pd, out double pad_horiz, out double pad_vert, out bool scalable)
- {
- Eina.Log.Debug("function efl_gfx_arrangement_content_padding_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- pad_horiz = default(double); pad_vert = default(double); scalable = default(bool);
- try
- {
- ((List)ws.Target).GetContentPadding(out pad_horiz, out pad_vert, out scalable);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_gfx_arrangement_content_padding_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out pad_horiz, out pad_vert, out scalable);
- }
- }
-
- private static efl_gfx_arrangement_content_padding_get_delegate efl_gfx_arrangement_content_padding_get_static_delegate;
-
-
- private delegate void efl_gfx_arrangement_content_padding_set_delegate(System.IntPtr obj, System.IntPtr pd, double pad_horiz, double pad_vert, [MarshalAs(UnmanagedType.U1)] bool scalable);
-
-
- public delegate void efl_gfx_arrangement_content_padding_set_api_delegate(System.IntPtr obj, double pad_horiz, double pad_vert, [MarshalAs(UnmanagedType.U1)] bool scalable);
-
- public static Efl.Eo.FunctionWrapper<efl_gfx_arrangement_content_padding_set_api_delegate> efl_gfx_arrangement_content_padding_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_arrangement_content_padding_set_api_delegate>(Module, "efl_gfx_arrangement_content_padding_set");
-
- private static void content_padding_set(System.IntPtr obj, System.IntPtr pd, double pad_horiz, double pad_vert, bool scalable)
- {
- Eina.Log.Debug("function efl_gfx_arrangement_content_padding_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((List)ws.Target).SetContentPadding(pad_horiz, pad_vert, scalable);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_gfx_arrangement_content_padding_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), pad_horiz, pad_vert, scalable);
- }
- }
-
- private static efl_gfx_arrangement_content_padding_set_delegate efl_gfx_arrangement_content_padding_set_static_delegate;
-
-
- private delegate Efl.Ui.SelectMode efl_ui_select_mode_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate Efl.Ui.SelectMode efl_ui_select_mode_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_select_mode_get_api_delegate> efl_ui_select_mode_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_select_mode_get_api_delegate>(Module, "efl_ui_select_mode_get");
-
- private static Efl.Ui.SelectMode select_mode_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_select_mode_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Efl.Ui.SelectMode _ret_var = default(Efl.Ui.SelectMode);
- try
- {
- _ret_var = ((List)ws.Target).GetSelectMode();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_select_mode_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_select_mode_get_delegate efl_ui_select_mode_get_static_delegate;
-
-
- private delegate void efl_ui_select_mode_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.SelectMode mode);
-
-
- public delegate void efl_ui_select_mode_set_api_delegate(System.IntPtr obj, Efl.Ui.SelectMode mode);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_select_mode_set_api_delegate> efl_ui_select_mode_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_select_mode_set_api_delegate>(Module, "efl_ui_select_mode_set");
-
- private static void select_mode_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.SelectMode mode)
- {
- Eina.Log.Debug("function efl_ui_select_mode_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((List)ws.Target).SetSelectMode(mode);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_select_mode_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), mode);
- }
- }
-
- private static efl_ui_select_mode_set_delegate efl_ui_select_mode_set_static_delegate;
-
-
- private delegate Eina.Position2D.NativeStruct efl_ui_scrollable_content_pos_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate Eina.Position2D.NativeStruct efl_ui_scrollable_content_pos_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_content_pos_get_api_delegate> efl_ui_scrollable_content_pos_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_content_pos_get_api_delegate>(Module, "efl_ui_scrollable_content_pos_get");
-
- private static Eina.Position2D.NativeStruct content_pos_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_scrollable_content_pos_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Eina.Position2D _ret_var = default(Eina.Position2D);
- try
- {
- _ret_var = ((List)ws.Target).GetContentPos();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_scrollable_content_pos_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_scrollable_content_pos_get_delegate efl_ui_scrollable_content_pos_get_static_delegate;
-
-
- private delegate void efl_ui_scrollable_content_pos_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Position2D.NativeStruct pos);
-
-
- public delegate void efl_ui_scrollable_content_pos_set_api_delegate(System.IntPtr obj, Eina.Position2D.NativeStruct pos);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_content_pos_set_api_delegate> efl_ui_scrollable_content_pos_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_content_pos_set_api_delegate>(Module, "efl_ui_scrollable_content_pos_set");
-
- private static void content_pos_set(System.IntPtr obj, System.IntPtr pd, Eina.Position2D.NativeStruct pos)
- {
- Eina.Log.Debug("function efl_ui_scrollable_content_pos_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Eina.Position2D _in_pos = pos;
-
- try
- {
- ((List)ws.Target).SetContentPos(_in_pos);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_scrollable_content_pos_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), pos);
- }
- }
-
- private static efl_ui_scrollable_content_pos_set_delegate efl_ui_scrollable_content_pos_set_static_delegate;
-
-
- private delegate Eina.Size2D.NativeStruct efl_ui_scrollable_content_size_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate Eina.Size2D.NativeStruct efl_ui_scrollable_content_size_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_content_size_get_api_delegate> efl_ui_scrollable_content_size_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_content_size_get_api_delegate>(Module, "efl_ui_scrollable_content_size_get");
-
- private static Eina.Size2D.NativeStruct content_size_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_scrollable_content_size_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Eina.Size2D _ret_var = default(Eina.Size2D);
- try
- {
- _ret_var = ((List)ws.Target).GetContentSize();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_scrollable_content_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_scrollable_content_size_get_delegate efl_ui_scrollable_content_size_get_static_delegate;
-
-
- private delegate Eina.Rect.NativeStruct efl_ui_scrollable_viewport_geometry_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate Eina.Rect.NativeStruct efl_ui_scrollable_viewport_geometry_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_viewport_geometry_get_api_delegate> efl_ui_scrollable_viewport_geometry_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_viewport_geometry_get_api_delegate>(Module, "efl_ui_scrollable_viewport_geometry_get");
-
- private static Eina.Rect.NativeStruct viewport_geometry_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_scrollable_viewport_geometry_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Eina.Rect _ret_var = default(Eina.Rect);
- try
- {
- _ret_var = ((List)ws.Target).GetViewportGeometry();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_scrollable_viewport_geometry_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_scrollable_viewport_geometry_get_delegate efl_ui_scrollable_viewport_geometry_get_static_delegate;
-
-
- private delegate void efl_ui_scrollable_bounce_enabled_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] out bool horiz, [MarshalAs(UnmanagedType.U1)] out bool vert);
-
-
- public delegate void efl_ui_scrollable_bounce_enabled_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] out bool horiz, [MarshalAs(UnmanagedType.U1)] out bool vert);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_bounce_enabled_get_api_delegate> efl_ui_scrollable_bounce_enabled_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_bounce_enabled_get_api_delegate>(Module, "efl_ui_scrollable_bounce_enabled_get");
-
- private static void bounce_enabled_get(System.IntPtr obj, System.IntPtr pd, out bool horiz, out bool vert)
- {
- Eina.Log.Debug("function efl_ui_scrollable_bounce_enabled_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- horiz = default(bool); vert = default(bool);
- try
- {
- ((List)ws.Target).GetBounceEnabled(out horiz, out vert);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_scrollable_bounce_enabled_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out horiz, out vert);
- }
- }
-
- private static efl_ui_scrollable_bounce_enabled_get_delegate efl_ui_scrollable_bounce_enabled_get_static_delegate;
-
-
- private delegate void efl_ui_scrollable_bounce_enabled_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool horiz, [MarshalAs(UnmanagedType.U1)] bool vert);
-
-
- public delegate void efl_ui_scrollable_bounce_enabled_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool horiz, [MarshalAs(UnmanagedType.U1)] bool vert);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_bounce_enabled_set_api_delegate> efl_ui_scrollable_bounce_enabled_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_bounce_enabled_set_api_delegate>(Module, "efl_ui_scrollable_bounce_enabled_set");
-
- private static void bounce_enabled_set(System.IntPtr obj, System.IntPtr pd, bool horiz, bool vert)
- {
- Eina.Log.Debug("function efl_ui_scrollable_bounce_enabled_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((List)ws.Target).SetBounceEnabled(horiz, vert);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_scrollable_bounce_enabled_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), horiz, vert);
- }
- }
-
- private static efl_ui_scrollable_bounce_enabled_set_delegate efl_ui_scrollable_bounce_enabled_set_static_delegate;
-
- [return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_ui_scrollable_scroll_freeze_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- [return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_ui_scrollable_scroll_freeze_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_freeze_get_api_delegate> efl_ui_scrollable_scroll_freeze_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_freeze_get_api_delegate>(Module, "efl_ui_scrollable_scroll_freeze_get");
-
- private static bool scroll_freeze_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_scrollable_scroll_freeze_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- bool _ret_var = default(bool);
- try
- {
- _ret_var = ((List)ws.Target).GetScrollFreeze();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_scrollable_scroll_freeze_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_scrollable_scroll_freeze_get_delegate efl_ui_scrollable_scroll_freeze_get_static_delegate;
-
-
- private delegate void efl_ui_scrollable_scroll_freeze_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool freeze);
-
-
- public delegate void efl_ui_scrollable_scroll_freeze_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool freeze);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_freeze_set_api_delegate> efl_ui_scrollable_scroll_freeze_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_freeze_set_api_delegate>(Module, "efl_ui_scrollable_scroll_freeze_set");
-
- private static void scroll_freeze_set(System.IntPtr obj, System.IntPtr pd, bool freeze)
- {
- Eina.Log.Debug("function efl_ui_scrollable_scroll_freeze_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((List)ws.Target).SetScrollFreeze(freeze);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_scrollable_scroll_freeze_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), freeze);
- }
- }
-
- private static efl_ui_scrollable_scroll_freeze_set_delegate efl_ui_scrollable_scroll_freeze_set_static_delegate;
-
- [return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_ui_scrollable_scroll_hold_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- [return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_ui_scrollable_scroll_hold_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_hold_get_api_delegate> efl_ui_scrollable_scroll_hold_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_hold_get_api_delegate>(Module, "efl_ui_scrollable_scroll_hold_get");
-
- private static bool scroll_hold_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_scrollable_scroll_hold_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- bool _ret_var = default(bool);
- try
- {
- _ret_var = ((List)ws.Target).GetScrollHold();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_scrollable_scroll_hold_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_scrollable_scroll_hold_get_delegate efl_ui_scrollable_scroll_hold_get_static_delegate;
-
-
- private delegate void efl_ui_scrollable_scroll_hold_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool hold);
-
-
- public delegate void efl_ui_scrollable_scroll_hold_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool hold);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_hold_set_api_delegate> efl_ui_scrollable_scroll_hold_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_hold_set_api_delegate>(Module, "efl_ui_scrollable_scroll_hold_set");
-
- private static void scroll_hold_set(System.IntPtr obj, System.IntPtr pd, bool hold)
- {
- Eina.Log.Debug("function efl_ui_scrollable_scroll_hold_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((List)ws.Target).SetScrollHold(hold);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_scrollable_scroll_hold_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), hold);
- }
- }
-
- private static efl_ui_scrollable_scroll_hold_set_delegate efl_ui_scrollable_scroll_hold_set_static_delegate;
-
-
- private delegate void efl_ui_scrollable_looping_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] out bool loop_h, [MarshalAs(UnmanagedType.U1)] out bool loop_v);
-
-
- public delegate void efl_ui_scrollable_looping_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] out bool loop_h, [MarshalAs(UnmanagedType.U1)] out bool loop_v);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_looping_get_api_delegate> efl_ui_scrollable_looping_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_looping_get_api_delegate>(Module, "efl_ui_scrollable_looping_get");
-
- private static void looping_get(System.IntPtr obj, System.IntPtr pd, out bool loop_h, out bool loop_v)
- {
- Eina.Log.Debug("function efl_ui_scrollable_looping_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- loop_h = default(bool); loop_v = default(bool);
- try
- {
- ((List)ws.Target).GetLooping(out loop_h, out loop_v);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_scrollable_looping_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out loop_h, out loop_v);
- }
- }
-
- private static efl_ui_scrollable_looping_get_delegate efl_ui_scrollable_looping_get_static_delegate;
-
-
- private delegate void efl_ui_scrollable_looping_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool loop_h, [MarshalAs(UnmanagedType.U1)] bool loop_v);
-
-
- public delegate void efl_ui_scrollable_looping_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool loop_h, [MarshalAs(UnmanagedType.U1)] bool loop_v);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_looping_set_api_delegate> efl_ui_scrollable_looping_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_looping_set_api_delegate>(Module, "efl_ui_scrollable_looping_set");
-
- private static void looping_set(System.IntPtr obj, System.IntPtr pd, bool loop_h, bool loop_v)
- {
- Eina.Log.Debug("function efl_ui_scrollable_looping_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((List)ws.Target).SetLooping(loop_h, loop_v);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_scrollable_looping_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), loop_h, loop_v);
- }
- }
-
- private static efl_ui_scrollable_looping_set_delegate efl_ui_scrollable_looping_set_static_delegate;
-
-
- private delegate Efl.Ui.ScrollBlock efl_ui_scrollable_movement_block_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate Efl.Ui.ScrollBlock efl_ui_scrollable_movement_block_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_movement_block_get_api_delegate> efl_ui_scrollable_movement_block_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_movement_block_get_api_delegate>(Module, "efl_ui_scrollable_movement_block_get");
-
- private static Efl.Ui.ScrollBlock movement_block_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_scrollable_movement_block_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Efl.Ui.ScrollBlock _ret_var = default(Efl.Ui.ScrollBlock);
- try
- {
- _ret_var = ((List)ws.Target).GetMovementBlock();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_scrollable_movement_block_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_scrollable_movement_block_get_delegate efl_ui_scrollable_movement_block_get_static_delegate;
-
-
- private delegate void efl_ui_scrollable_movement_block_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ScrollBlock block);
-
-
- public delegate void efl_ui_scrollable_movement_block_set_api_delegate(System.IntPtr obj, Efl.Ui.ScrollBlock block);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_movement_block_set_api_delegate> efl_ui_scrollable_movement_block_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_movement_block_set_api_delegate>(Module, "efl_ui_scrollable_movement_block_set");
-
- private static void movement_block_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ScrollBlock block)
- {
- Eina.Log.Debug("function efl_ui_scrollable_movement_block_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((List)ws.Target).SetMovementBlock(block);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_scrollable_movement_block_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), block);
- }
- }
-
- private static efl_ui_scrollable_movement_block_set_delegate efl_ui_scrollable_movement_block_set_static_delegate;
-
-
- private delegate void efl_ui_scrollable_gravity_get_delegate(System.IntPtr obj, System.IntPtr pd, out double x, out double y);
-
-
- public delegate void efl_ui_scrollable_gravity_get_api_delegate(System.IntPtr obj, out double x, out double y);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_gravity_get_api_delegate> efl_ui_scrollable_gravity_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_gravity_get_api_delegate>(Module, "efl_ui_scrollable_gravity_get");
-
- private static void gravity_get(System.IntPtr obj, System.IntPtr pd, out double x, out double y)
- {
- Eina.Log.Debug("function efl_ui_scrollable_gravity_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- x = default(double); y = default(double);
- try
- {
- ((List)ws.Target).GetGravity(out x, out y);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_scrollable_gravity_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out x, out y);
- }
- }
-
- private static efl_ui_scrollable_gravity_get_delegate efl_ui_scrollable_gravity_get_static_delegate;
-
-
- private delegate void efl_ui_scrollable_gravity_set_delegate(System.IntPtr obj, System.IntPtr pd, double x, double y);
-
-
- public delegate void efl_ui_scrollable_gravity_set_api_delegate(System.IntPtr obj, double x, double y);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_gravity_set_api_delegate> efl_ui_scrollable_gravity_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_gravity_set_api_delegate>(Module, "efl_ui_scrollable_gravity_set");
-
- private static void gravity_set(System.IntPtr obj, System.IntPtr pd, double x, double y)
- {
- Eina.Log.Debug("function efl_ui_scrollable_gravity_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((List)ws.Target).SetGravity(x, y);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_scrollable_gravity_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y);
- }
- }
-
- private static efl_ui_scrollable_gravity_set_delegate efl_ui_scrollable_gravity_set_static_delegate;
-
-
- private delegate void efl_ui_scrollable_match_content_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool w, [MarshalAs(UnmanagedType.U1)] bool h);
-
-
- public delegate void efl_ui_scrollable_match_content_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool w, [MarshalAs(UnmanagedType.U1)] bool h);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_match_content_set_api_delegate> efl_ui_scrollable_match_content_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_match_content_set_api_delegate>(Module, "efl_ui_scrollable_match_content_set");
-
- private static void match_content_set(System.IntPtr obj, System.IntPtr pd, bool w, bool h)
- {
- Eina.Log.Debug("function efl_ui_scrollable_match_content_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((List)ws.Target).SetMatchContent(w, h);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_scrollable_match_content_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), w, h);
- }
- }
-
- private static efl_ui_scrollable_match_content_set_delegate efl_ui_scrollable_match_content_set_static_delegate;
-
-
- private delegate Eina.Position2D.NativeStruct efl_ui_scrollable_step_size_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate Eina.Position2D.NativeStruct efl_ui_scrollable_step_size_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_step_size_get_api_delegate> efl_ui_scrollable_step_size_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_step_size_get_api_delegate>(Module, "efl_ui_scrollable_step_size_get");
-
- private static Eina.Position2D.NativeStruct step_size_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_scrollable_step_size_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Eina.Position2D _ret_var = default(Eina.Position2D);
- try
- {
- _ret_var = ((List)ws.Target).GetStepSize();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_scrollable_step_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_scrollable_step_size_get_delegate efl_ui_scrollable_step_size_get_static_delegate;
-
-
- private delegate void efl_ui_scrollable_step_size_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Position2D.NativeStruct step);
-
-
- public delegate void efl_ui_scrollable_step_size_set_api_delegate(System.IntPtr obj, Eina.Position2D.NativeStruct step);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_step_size_set_api_delegate> efl_ui_scrollable_step_size_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_step_size_set_api_delegate>(Module, "efl_ui_scrollable_step_size_set");
-
- private static void step_size_set(System.IntPtr obj, System.IntPtr pd, Eina.Position2D.NativeStruct step)
- {
- Eina.Log.Debug("function efl_ui_scrollable_step_size_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Eina.Position2D _in_step = step;
-
- try
- {
- ((List)ws.Target).SetStepSize(_in_step);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_scrollable_step_size_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), step);
- }
- }
-
- private static efl_ui_scrollable_step_size_set_delegate efl_ui_scrollable_step_size_set_static_delegate;
-
-
- private delegate void efl_ui_scrollable_scroll_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct rect, [MarshalAs(UnmanagedType.U1)] bool animation);
-
-
- public delegate void efl_ui_scrollable_scroll_api_delegate(System.IntPtr obj, Eina.Rect.NativeStruct rect, [MarshalAs(UnmanagedType.U1)] bool animation);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_api_delegate> efl_ui_scrollable_scroll_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_api_delegate>(Module, "efl_ui_scrollable_scroll");
-
- private static void scroll(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct rect, bool animation)
- {
- Eina.Log.Debug("function efl_ui_scrollable_scroll was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Eina.Rect _in_rect = rect;
-
- try
- {
- ((List)ws.Target).Scroll(_in_rect, animation);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_scrollable_scroll_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), rect, animation);
- }
- }
-
- private static efl_ui_scrollable_scroll_delegate efl_ui_scrollable_scroll_static_delegate;
-
-
- private delegate void efl_ui_scrollbar_bar_mode_get_delegate(System.IntPtr obj, System.IntPtr pd, out Efl.Ui.ScrollbarMode hbar, out Efl.Ui.ScrollbarMode vbar);
-
-
- public delegate void efl_ui_scrollbar_bar_mode_get_api_delegate(System.IntPtr obj, out Efl.Ui.ScrollbarMode hbar, out Efl.Ui.ScrollbarMode vbar);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_mode_get_api_delegate> efl_ui_scrollbar_bar_mode_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_mode_get_api_delegate>(Module, "efl_ui_scrollbar_bar_mode_get");
-
- private static void bar_mode_get(System.IntPtr obj, System.IntPtr pd, out Efl.Ui.ScrollbarMode hbar, out Efl.Ui.ScrollbarMode vbar)
- {
- Eina.Log.Debug("function efl_ui_scrollbar_bar_mode_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- hbar = default(Efl.Ui.ScrollbarMode); vbar = default(Efl.Ui.ScrollbarMode);
- try
- {
- ((List)ws.Target).GetBarMode(out hbar, out vbar);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_scrollbar_bar_mode_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out hbar, out vbar);
- }
- }
-
- private static efl_ui_scrollbar_bar_mode_get_delegate efl_ui_scrollbar_bar_mode_get_static_delegate;
-
-
- private delegate void efl_ui_scrollbar_bar_mode_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ScrollbarMode hbar, Efl.Ui.ScrollbarMode vbar);
-
-
- public delegate void efl_ui_scrollbar_bar_mode_set_api_delegate(System.IntPtr obj, Efl.Ui.ScrollbarMode hbar, Efl.Ui.ScrollbarMode vbar);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_mode_set_api_delegate> efl_ui_scrollbar_bar_mode_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_mode_set_api_delegate>(Module, "efl_ui_scrollbar_bar_mode_set");
-
- private static void bar_mode_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ScrollbarMode hbar, Efl.Ui.ScrollbarMode vbar)
- {
- Eina.Log.Debug("function efl_ui_scrollbar_bar_mode_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((List)ws.Target).SetBarMode(hbar, vbar);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_scrollbar_bar_mode_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), hbar, vbar);
- }
- }
-
- private static efl_ui_scrollbar_bar_mode_set_delegate efl_ui_scrollbar_bar_mode_set_static_delegate;
-
-
- private delegate void efl_ui_scrollbar_bar_size_get_delegate(System.IntPtr obj, System.IntPtr pd, out double width, out double height);
-
-
- public delegate void efl_ui_scrollbar_bar_size_get_api_delegate(System.IntPtr obj, out double width, out double height);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_size_get_api_delegate> efl_ui_scrollbar_bar_size_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_size_get_api_delegate>(Module, "efl_ui_scrollbar_bar_size_get");
-
- private static void bar_size_get(System.IntPtr obj, System.IntPtr pd, out double width, out double height)
- {
- Eina.Log.Debug("function efl_ui_scrollbar_bar_size_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- width = default(double); height = default(double);
- try
- {
- ((List)ws.Target).GetBarSize(out width, out height);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_scrollbar_bar_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out width, out height);
- }
- }
-
- private static efl_ui_scrollbar_bar_size_get_delegate efl_ui_scrollbar_bar_size_get_static_delegate;
-
-
- private delegate void efl_ui_scrollbar_bar_position_get_delegate(System.IntPtr obj, System.IntPtr pd, out double posx, out double posy);
-
-
- public delegate void efl_ui_scrollbar_bar_position_get_api_delegate(System.IntPtr obj, out double posx, out double posy);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_position_get_api_delegate> efl_ui_scrollbar_bar_position_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_position_get_api_delegate>(Module, "efl_ui_scrollbar_bar_position_get");
-
- private static void bar_position_get(System.IntPtr obj, System.IntPtr pd, out double posx, out double posy)
- {
- Eina.Log.Debug("function efl_ui_scrollbar_bar_position_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- posx = default(double); posy = default(double);
- try
- {
- ((List)ws.Target).GetBarPosition(out posx, out posy);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_scrollbar_bar_position_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out posx, out posy);
- }
- }
-
- private static efl_ui_scrollbar_bar_position_get_delegate efl_ui_scrollbar_bar_position_get_static_delegate;
-
-
- private delegate void efl_ui_scrollbar_bar_position_set_delegate(System.IntPtr obj, System.IntPtr pd, double posx, double posy);
-
-
- public delegate void efl_ui_scrollbar_bar_position_set_api_delegate(System.IntPtr obj, double posx, double posy);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_position_set_api_delegate> efl_ui_scrollbar_bar_position_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_position_set_api_delegate>(Module, "efl_ui_scrollbar_bar_position_set");
-
- private static void bar_position_set(System.IntPtr obj, System.IntPtr pd, double posx, double posy)
+ private static IntPtr GetEflClassStatic()
+ {
+ return Efl.Ui.List.efl_ui_list_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.Collection.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)
{
- Eina.Log.Debug("function efl_ui_scrollbar_bar_position_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((List)ws.Target).SetBarPosition(posx, posy);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_scrollbar_bar_position_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), posx, posy);
- }
+ var descs = new System.Collections.Generic.List<Efl_Op_Description>();
+ descs.AddRange(base.GetEoOps(type));
+ return descs;
}
-
- private static efl_ui_scrollbar_bar_position_set_delegate efl_ui_scrollbar_bar_position_set_static_delegate;
-
-
- private delegate void efl_ui_scrollbar_bar_visibility_update_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate void efl_ui_scrollbar_bar_visibility_update_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_visibility_update_api_delegate> efl_ui_scrollbar_bar_visibility_update_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_visibility_update_api_delegate>(Module, "efl_ui_scrollbar_bar_visibility_update");
-
- private static void bar_visibility_update(System.IntPtr obj, System.IntPtr pd)
+ /// <summary>Returns the Eo class for the native methods of this class.</summary>
+ /// <returns>The native class pointer.</returns>
+ public override IntPtr GetEflClass()
{
- Eina.Log.Debug("function efl_ui_scrollbar_bar_visibility_update was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((List)ws.Target).UpdateBarVisibility();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_scrollbar_bar_visibility_update_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
+ return Efl.Ui.List.efl_ui_list_class_get();
}
- private static efl_ui_scrollbar_bar_visibility_update_delegate efl_ui_scrollbar_bar_visibility_update_static_delegate;
+ #pragma warning disable CA1707, CS1591, SA1300, SA1600
#pragma warning restore CA1707, CS1591, SA1300, SA1600
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiList_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
-/// <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>
+/// <summary>List Default Item class.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.ListDefaultItem.NativeMethods]
[Efl.Eo.BindingEntity]
-public class ListDefaultItem : Efl.Ui.ListItem, Efl.IContent, Efl.IText, Efl.ITextMarkup
+public class ListDefaultItem : Efl.Ui.DefaultItem
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected ListDefaultItem(ConstructingHandle ch) : base(ch)
{
{
}
- /// <summary>Sent after the content is set or unset using the current content object.
- /// (Since EFL 1.22)</summary>
- public event EventHandler<Efl.IContentContentChangedEvt_Args> ContentChangedEvt
- {
- 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.IContentContentChangedEvt_Args args = new Efl.IContentContentChangedEvt_Args();
- args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Gfx.IEntityConcrete);
- try
- {
- value?.Invoke(obj, args);
- }
- catch (Exception e)
- {
- Eina.Log.Error(e.ToString());
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
- }
- };
-
- string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ContentChangedEvt.</summary>
- public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e)
- {
- var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
- 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 = e.arg.NativeHandle;
- Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
- }
- /// <summary>The extra content part for list default item. extra part is the right-side content of list item.</summary>
- public Efl.Ui.ItemPartExtra ExtraPart
- {
- get
- {
- return GetPart("extra") as Efl.Ui.ItemPartExtra;
- }
- }
- /// <summary>The icon content part for list default item. icon part is the left-side content of list item.</summary>
- public Efl.Ui.ItemPartIcon IconPart
- {
- get
- {
- return GetPart("icon") as Efl.Ui.ItemPartIcon;
- }
- }
- /// <summary>The text part for list default item.</summary>
- public Efl.Ui.ItemPartText TextPart
- {
- get
- {
- return GetPart("text") as Efl.Ui.ItemPartText;
- }
- }
- /// <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>
- /// <returns>The sub-object.</returns>
- virtual public Efl.Gfx.IEntity GetContent() {
- 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;
- }
- /// <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>
- /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),content);
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Remove the sub-object currently set as content of this object and return it. This object becomes empty.
- /// (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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Retrieves the text string currently being displayed by the given text object.
- /// Do not free() the return value.
- ///
- /// See also <see cref="Efl.IText.GetText"/>.
- /// (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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Sets the text string to be displayed by the given text object.
- /// See also <see cref="Efl.IText.GetText"/>.
- /// (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((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((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((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.
- /// 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>
- /// <value>The sub-object.</value>
- public Efl.Gfx.IEntity Content {
- get { return GetContent(); }
- set { SetContent(value); }
- }
- /// <summary>Markup property</summary>
- /// <value>The markup-text representation set to this text.</value>
- public System.String Markup {
- get { return GetMarkup(); }
- set { SetMarkup(value); }
- }
private static IntPtr GetEflClassStatic()
{
return Efl.Ui.ListDefaultItem.efl_ui_list_default_item_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.ListItem.NativeMethods
+ public new class NativeMethods : Efl.Ui.DefaultItem.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_content_get_static_delegate == null)
- {
- efl_content_get_static_delegate = new efl_content_get_delegate(content_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetContent") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_get"), func = Marshal.GetFunctionPointerForDelegate(efl_content_get_static_delegate) });
- }
-
- if (efl_content_set_static_delegate == null)
- {
- efl_content_set_static_delegate = new efl_content_set_delegate(content_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetContent") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_set"), func = Marshal.GetFunctionPointerForDelegate(efl_content_set_static_delegate) });
- }
-
- if (efl_content_unset_static_delegate == null)
- {
- efl_content_unset_static_delegate = new efl_content_unset_delegate(content_unset);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "UnsetContent") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_unset"), func = Marshal.GetFunctionPointerForDelegate(efl_content_unset_static_delegate) });
- }
-
- if (efl_text_get_static_delegate == null)
- {
- efl_text_get_static_delegate = new efl_text_get_delegate(text_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetText") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_get_static_delegate) });
- }
-
- if (efl_text_set_static_delegate == null)
- {
- efl_text_set_static_delegate = new efl_text_set_delegate(text_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetText") != null)
- {
- 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_text_markup_get_static_delegate == null)
- {
- efl_text_markup_get_static_delegate = new efl_text_markup_get_delegate(markup_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetMarkup") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_markup_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_markup_get_static_delegate) });
- }
-
- if (efl_text_markup_set_static_delegate == null)
- {
- efl_text_markup_set_static_delegate = new efl_text_markup_set_delegate(markup_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetMarkup") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_markup_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_markup_set_static_delegate) });
- }
-
descs.AddRange(base.GetEoOps(type));
return descs;
}
#pragma warning disable CA1707, CS1591, SA1300, SA1600
- [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);
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- public delegate Efl.Gfx.IEntity efl_content_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_content_get_api_delegate> efl_content_get_ptr = new Efl.Eo.FunctionWrapper<efl_content_get_api_delegate>(Module, "efl_content_get");
-
- private static Efl.Gfx.IEntity content_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_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 = ((ListDefaultItem)ws.Target).GetContent();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_content_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_content_get_delegate efl_content_get_static_delegate;
-
- [return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_content_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity content);
-
- [return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_content_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity content);
-
- public static Efl.Eo.FunctionWrapper<efl_content_set_api_delegate> efl_content_set_ptr = new Efl.Eo.FunctionWrapper<efl_content_set_api_delegate>(Module, "efl_content_set");
-
- private static bool content_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity content)
- {
- Eina.Log.Debug("function efl_content_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- bool _ret_var = default(bool);
- try
- {
- _ret_var = ((ListDefaultItem)ws.Target).SetContent(content);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_content_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), content);
- }
- }
-
- private static efl_content_set_delegate efl_content_set_static_delegate;
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- private delegate Efl.Gfx.IEntity efl_content_unset_delegate(System.IntPtr obj, System.IntPtr pd);
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- public delegate Efl.Gfx.IEntity efl_content_unset_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_content_unset_api_delegate> efl_content_unset_ptr = new Efl.Eo.FunctionWrapper<efl_content_unset_api_delegate>(Module, "efl_content_unset");
-
- private static Efl.Gfx.IEntity content_unset(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_content_unset was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
- try
- {
- _ret_var = ((ListDefaultItem)ws.Target).UnsetContent();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_content_unset_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_content_unset_delegate efl_content_unset_static_delegate;
-
- [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
- private delegate System.String efl_text_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
- public delegate System.String efl_text_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_text_get_api_delegate> efl_text_get_ptr = new Efl.Eo.FunctionWrapper<efl_text_get_api_delegate>(Module, "efl_text_get");
-
- private static System.String text_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_text_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- System.String _ret_var = default(System.String);
- try
- {
- _ret_var = ((ListDefaultItem)ws.Target).GetText();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_text_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_text_get_delegate efl_text_get_static_delegate;
-
-
- private delegate void efl_text_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String text);
-
-
- public delegate void efl_text_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String text);
-
- public static Efl.Eo.FunctionWrapper<efl_text_set_api_delegate> efl_text_set_ptr = new Efl.Eo.FunctionWrapper<efl_text_set_api_delegate>(Module, "efl_text_set");
-
- private static void text_set(System.IntPtr obj, System.IntPtr pd, System.String text)
- {
- Eina.Log.Debug("function efl_text_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((ListDefaultItem)ws.Target).SetText(text);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_text_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), text);
- }
- }
-
- private static efl_text_set_delegate efl_text_set_static_delegate;
-
- [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
- private delegate System.String efl_text_markup_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
- public delegate System.String efl_text_markup_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_text_markup_get_api_delegate> efl_text_markup_get_ptr = new Efl.Eo.FunctionWrapper<efl_text_markup_get_api_delegate>(Module, "efl_text_markup_get");
-
- private static System.String markup_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_text_markup_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- System.String _ret_var = default(System.String);
- try
- {
- _ret_var = ((ListDefaultItem)ws.Target).GetMarkup();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_text_markup_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_text_markup_get_delegate efl_text_markup_get_static_delegate;
-
-
- private delegate void efl_text_markup_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String markup);
-
-
- public delegate void efl_text_markup_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String markup);
-
- public static Efl.Eo.FunctionWrapper<efl_text_markup_set_api_delegate> efl_text_markup_set_ptr = new Efl.Eo.FunctionWrapper<efl_text_markup_set_api_delegate>(Module, "efl_text_markup_set");
-
- private static void markup_set(System.IntPtr obj, System.IntPtr pd, System.String markup)
- {
- Eina.Log.Debug("function efl_text_markup_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((ListDefaultItem)ws.Target).SetMarkup(markup);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_text_markup_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), markup);
- }
- }
-
- private static efl_text_markup_set_delegate efl_text_markup_set_static_delegate;
-
#pragma warning restore CA1707, CS1591, SA1300, SA1600
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiListDefaultItem_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+++ /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 {
-
-[Efl.Ui.ListItem.NativeMethods]
-[Efl.Eo.BindingEntity]
-public abstract class ListItem : Efl.Ui.Item
-{
- ///<summary>Pointer to the native class description.</summary>
- public override System.IntPtr NativeClass
- {
- get
- {
- if (((object)this).GetType() == typeof(ListItem))
- {
- 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_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>
- public ListItem(Efl.Object parent
- , System.String style = null) : base(efl_ui_list_item_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 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="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(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="parent">The Efl.Object parent of this instance.</param>
- protected ListItem(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
- {
- }
-
- private static IntPtr GetEflClassStatic()
- {
- return Efl.Ui.ListItem.efl_ui_list_item_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.Item.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.ListItem.efl_ui_list_item_class_get();
- }
-
- #pragma warning disable CA1707, CS1591, SA1300, SA1600
-
- #pragma warning restore CA1707, CS1591, SA1300, SA1600
-
-}
-}
-}
-
-}
-
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.ListPlaceholderItem.NativeMethods]
[Efl.Eo.BindingEntity]
-public class ListPlaceholderItem : Efl.Ui.ListItem, Efl.IContent
+public class ListPlaceholderItem : Efl.Ui.Item, Efl.IContent
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected ListPlaceholderItem(ConstructingHandle ch) : base(ch)
{
/// <summary>Sent after the content is set or unset using the current content object.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContentContentChangedEvt_Args"/></value>
public event EventHandler<Efl.IContentContentChangedEvt_Args> ContentChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentChangedEvt.</summary>
+ /// <summary>Method to raise event ContentChangedEvt.</summary>
public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e)
{
var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
/// <summary>the content part for list placeholder item. the content part is empty slot for user customizing. fill the place with container widget such as layout, box, table.</summary>
- public Efl.Ui.ItemPartContent ContentPart
+ public Efl.Ui.LayoutPartContent ContentPart
{
get
{
- return GetPart("content") as Efl.Ui.ItemPartContent;
+ return GetPart("content") as Efl.Ui.LayoutPartContent;
}
}
/// <summary>Sub-object currently set as this object's single content.
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public new class NativeMethods : Efl.Ui.ListItem.NativeMethods
+ public new class NativeMethods : Efl.Ui.Item.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
/// <summary>Gets the list of Eo operations to override.</summary>
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiListPlaceholderItem_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Gfx.IEntity> Content<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.ListPlaceholderItem, T>magic = null) where T : Efl.Ui.ListPlaceholderItem {
+ return new Efl.BindableProperty<Efl.Gfx.IEntity>("content", fac);
+ }
+
+ public static Efl.BindableFactoryPart<Efl.Ui.LayoutPartContent> ContentPart<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.ListPlaceholderItem, T> x=null) where T : Efl.Ui.ListPlaceholderItem
+ {
+ return new Efl.BindableFactoryPart<Efl.Ui.LayoutPartContent>("content" ,fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.ListView.ItemRealizedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value></value>
public Efl.Ui.ListViewItemEvent arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.ListView.ItemUnrealizedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value></value>
public Efl.Ui.ListViewItemEvent arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.ListView.ItemFocusedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value></value>
public Efl.Ui.ListViewItemEvent arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.ListView.ItemUnfocusedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value></value>
public Efl.Ui.ListViewItemEvent arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.ListView.ItemHighlightedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value></value>
public Efl.Ui.ListViewItemEvent arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.ListView.ItemUnhighlightedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value></value>
public Efl.Ui.ListViewItemEvent arg { get; set; }
}
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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
+public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IContainerSelectable, Efl.Ui.IListViewModel, Efl.Ui.IScrollable, Efl.Ui.IScrollableInteractive, Efl.Ui.IScrollbar, Efl.Ui.IWidgetFocusManager, Efl.Ui.Focus.IComposition, Efl.Ui.Focus.IManager, Efl.Ui.Focus.IManagerSub
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected ListView(ConstructingHandle ch) : base(ch)
{
{
}
+ /// <value><see cref="Efl.Ui.ListViewItemRealizedEvt_Args"/></value>
public event EventHandler<Efl.Ui.ListViewItemRealizedEvt_Args> ItemRealizedEvt
{
add
}
}
}
- ///<summary>Method to raise event ItemRealizedEvt.</summary>
+ /// <summary>Method to raise event ItemRealizedEvt.</summary>
public void OnItemRealizedEvt(Efl.Ui.ListViewItemRealizedEvt_Args e)
{
var key = "_EFL_UI_LIST_VIEW_EVENT_ITEM_REALIZED";
Marshal.FreeHGlobal(info);
}
}
+ /// <value><see cref="Efl.Ui.ListViewItemUnrealizedEvt_Args"/></value>
public event EventHandler<Efl.Ui.ListViewItemUnrealizedEvt_Args> ItemUnrealizedEvt
{
add
}
}
}
- ///<summary>Method to raise event ItemUnrealizedEvt.</summary>
+ /// <summary>Method to raise event ItemUnrealizedEvt.</summary>
public void OnItemUnrealizedEvt(Efl.Ui.ListViewItemUnrealizedEvt_Args e)
{
var key = "_EFL_UI_LIST_VIEW_EVENT_ITEM_UNREALIZED";
Marshal.FreeHGlobal(info);
}
}
+ /// <value><see cref="Efl.Ui.ListViewItemFocusedEvt_Args"/></value>
public event EventHandler<Efl.Ui.ListViewItemFocusedEvt_Args> ItemFocusedEvt
{
add
}
}
}
- ///<summary>Method to raise event ItemFocusedEvt.</summary>
+ /// <summary>Method to raise event ItemFocusedEvt.</summary>
public void OnItemFocusedEvt(Efl.Ui.ListViewItemFocusedEvt_Args e)
{
var key = "_EFL_UI_LIST_VIEW_EVENT_ITEM_FOCUSED";
Marshal.FreeHGlobal(info);
}
}
+ /// <value><see cref="Efl.Ui.ListViewItemUnfocusedEvt_Args"/></value>
public event EventHandler<Efl.Ui.ListViewItemUnfocusedEvt_Args> ItemUnfocusedEvt
{
add
}
}
}
- ///<summary>Method to raise event ItemUnfocusedEvt.</summary>
+ /// <summary>Method to raise event ItemUnfocusedEvt.</summary>
public void OnItemUnfocusedEvt(Efl.Ui.ListViewItemUnfocusedEvt_Args e)
{
var key = "_EFL_UI_LIST_VIEW_EVENT_ITEM_UNFOCUSED";
Marshal.FreeHGlobal(info);
}
}
+ /// <value><see cref="Efl.Ui.ListViewItemHighlightedEvt_Args"/></value>
public event EventHandler<Efl.Ui.ListViewItemHighlightedEvt_Args> ItemHighlightedEvt
{
add
}
}
}
- ///<summary>Method to raise event ItemHighlightedEvt.</summary>
+ /// <summary>Method to raise event ItemHighlightedEvt.</summary>
public void OnItemHighlightedEvt(Efl.Ui.ListViewItemHighlightedEvt_Args e)
{
var key = "_EFL_UI_LIST_VIEW_EVENT_ITEM_HIGHLIGHTED";
Marshal.FreeHGlobal(info);
}
}
+ /// <value><see cref="Efl.Ui.ListViewItemUnhighlightedEvt_Args"/></value>
public event EventHandler<Efl.Ui.ListViewItemUnhighlightedEvt_Args> ItemUnhighlightedEvt
{
add
}
}
}
- ///<summary>Method to raise event ItemUnhighlightedEvt.</summary>
+ /// <summary>Method to raise event ItemUnhighlightedEvt.</summary>
public void OnItemUnhighlightedEvt(Efl.Ui.ListViewItemUnhighlightedEvt_Args e)
{
var key = "_EFL_UI_LIST_VIEW_EVENT_ITEM_UNHIGHLIGHTED";
}
}
}
- ///<summary>Method to raise event AccessSelectionChangedEvt.</summary>
+ /// <summary>Method to raise event AccessSelectionChangedEvt.</summary>
public void OnAccessSelectionChangedEvt(EventArgs e)
{
var key = "_EFL_ACCESS_SELECTION_EVENT_ACCESS_SELECTION_CHANGED";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Called when scroll operation starts</summary>
- public event EventHandler ScrollStartEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SCROLL_START";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SCROLL_START";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ScrollStartEvt.</summary>
- public void OnScrollStartEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SCROLL_START";
- 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>Called when scrolling</summary>
- public event EventHandler ScrollEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SCROLL";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SCROLL";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ScrollEvt.</summary>
- public void OnScrollEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SCROLL";
- 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>Called when scroll operation stops</summary>
- public event EventHandler ScrollStopEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SCROLL_STOP";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SCROLL_STOP";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ScrollStopEvt.</summary>
- public void OnScrollStopEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SCROLL_STOP";
- 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>Called when scrolling upwards</summary>
- public event EventHandler ScrollUpEvt
+ /// <summary>Called when selected</summary>
+ /// <value><see cref="Efl.Ui.IContainerSelectableItemSelectedEvt_Args"/></value>
+ public event EventHandler<Efl.Ui.IContainerSelectableItemSelectedEvt_Args> ItemSelectedEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- EventArgs args = EventArgs.Empty;
+ Efl.Ui.IContainerSelectableItemSelectedEvt_Args args = new Efl.Ui.IContainerSelectableItemSelectedEvt_Args();
+ args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Object);
try
{
value?.Invoke(obj, args);
}
};
- string key = "_EFL_UI_EVENT_SCROLL_UP";
+ string key = "_EFL_UI_EVENT_ITEM_SELECTED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_SCROLL_UP";
+ string key = "_EFL_UI_EVENT_ITEM_SELECTED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event ScrollUpEvt.</summary>
- public void OnScrollUpEvt(EventArgs e)
+ /// <summary>Method to raise event ItemSelectedEvt.</summary>
+ public void OnItemSelectedEvt(Efl.Ui.IContainerSelectableItemSelectedEvt_Args e)
{
- var key = "_EFL_UI_EVENT_SCROLL_UP";
+ var key = "_EFL_UI_EVENT_ITEM_SELECTED";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
return;
}
- Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
+ IntPtr info = e.arg.NativeHandle;
+ Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
- /// <summary>Called when scrolling downwards</summary>
- public event EventHandler ScrollDownEvt
+ /// <summary>Called when no longer selected</summary>
+ /// <value><see cref="Efl.Ui.IContainerSelectableItemUnselectedEvt_Args"/></value>
+ public event EventHandler<Efl.Ui.IContainerSelectableItemUnselectedEvt_Args> ItemUnselectedEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- EventArgs args = EventArgs.Empty;
+ Efl.Ui.IContainerSelectableItemUnselectedEvt_Args args = new Efl.Ui.IContainerSelectableItemUnselectedEvt_Args();
+ args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Object);
try
{
value?.Invoke(obj, args);
}
};
- string key = "_EFL_UI_EVENT_SCROLL_DOWN";
+ string key = "_EFL_UI_EVENT_ITEM_UNSELECTED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_SCROLL_DOWN";
+ string key = "_EFL_UI_EVENT_ITEM_UNSELECTED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event ScrollDownEvt.</summary>
- public void OnScrollDownEvt(EventArgs e)
+ /// <summary>Method to raise event ItemUnselectedEvt.</summary>
+ public void OnItemUnselectedEvt(Efl.Ui.IContainerSelectableItemUnselectedEvt_Args e)
{
- var key = "_EFL_UI_EVENT_SCROLL_DOWN";
+ var key = "_EFL_UI_EVENT_ITEM_UNSELECTED";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
return;
}
- Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
+ IntPtr info = e.arg.NativeHandle;
+ Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
- /// <summary>Called when scrolling left</summary>
- public event EventHandler ScrollLeftEvt
+ /// <summary>Called when scroll operation starts</summary>
+ public event EventHandler ScrollStartEvt
{
add
{
}
};
- string key = "_EFL_UI_EVENT_SCROLL_LEFT";
+ string key = "_EFL_UI_EVENT_SCROLL_START";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_SCROLL_LEFT";
+ string key = "_EFL_UI_EVENT_SCROLL_START";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event ScrollLeftEvt.</summary>
- public void OnScrollLeftEvt(EventArgs e)
+ /// <summary>Method to raise event ScrollStartEvt.</summary>
+ public void OnScrollStartEvt(EventArgs e)
{
- var key = "_EFL_UI_EVENT_SCROLL_LEFT";
+ var key = "_EFL_UI_EVENT_SCROLL_START";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Called when scrolling right</summary>
- public event EventHandler ScrollRightEvt
+ /// <summary>Called when scrolling</summary>
+ public event EventHandler ScrollEvt
{
add
{
}
};
- string key = "_EFL_UI_EVENT_SCROLL_RIGHT";
+ string key = "_EFL_UI_EVENT_SCROLL";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_SCROLL_RIGHT";
+ string key = "_EFL_UI_EVENT_SCROLL";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event ScrollRightEvt.</summary>
- public void OnScrollRightEvt(EventArgs e)
+ /// <summary>Method to raise event ScrollEvt.</summary>
+ public void OnScrollEvt(EventArgs e)
{
- var key = "_EFL_UI_EVENT_SCROLL_RIGHT";
+ var key = "_EFL_UI_EVENT_SCROLL";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Called when hitting the top edge</summary>
- public event EventHandler EdgeUpEvt
+ /// <summary>Called when scroll operation stops</summary>
+ public event EventHandler ScrollStopEvt
{
add
{
}
};
- string key = "_EFL_UI_EVENT_EDGE_UP";
+ string key = "_EFL_UI_EVENT_SCROLL_STOP";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_EDGE_UP";
+ string key = "_EFL_UI_EVENT_SCROLL_STOP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event EdgeUpEvt.</summary>
- public void OnEdgeUpEvt(EventArgs e)
+ /// <summary>Method to raise event ScrollStopEvt.</summary>
+ public void OnScrollStopEvt(EventArgs e)
{
- var key = "_EFL_UI_EVENT_EDGE_UP";
+ var key = "_EFL_UI_EVENT_SCROLL_STOP";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Called when hitting the bottom edge</summary>
- public event EventHandler EdgeDownEvt
+ /// <summary>Called when scrolling upwards</summary>
+ public event EventHandler ScrollUpEvt
{
add
{
}
};
- string key = "_EFL_UI_EVENT_EDGE_DOWN";
+ string key = "_EFL_UI_EVENT_SCROLL_UP";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_EDGE_DOWN";
+ string key = "_EFL_UI_EVENT_SCROLL_UP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event EdgeDownEvt.</summary>
- public void OnEdgeDownEvt(EventArgs e)
+ /// <summary>Method to raise event ScrollUpEvt.</summary>
+ public void OnScrollUpEvt(EventArgs e)
{
- var key = "_EFL_UI_EVENT_EDGE_DOWN";
+ var key = "_EFL_UI_EVENT_SCROLL_UP";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Called when hitting the left edge</summary>
- public event EventHandler EdgeLeftEvt
+ /// <summary>Called when scrolling downwards</summary>
+ public event EventHandler ScrollDownEvt
{
add
{
}
};
- string key = "_EFL_UI_EVENT_EDGE_LEFT";
+ string key = "_EFL_UI_EVENT_SCROLL_DOWN";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_EDGE_LEFT";
+ string key = "_EFL_UI_EVENT_SCROLL_DOWN";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event EdgeLeftEvt.</summary>
- public void OnEdgeLeftEvt(EventArgs e)
+ /// <summary>Method to raise event ScrollDownEvt.</summary>
+ public void OnScrollDownEvt(EventArgs e)
{
- var key = "_EFL_UI_EVENT_EDGE_LEFT";
+ var key = "_EFL_UI_EVENT_SCROLL_DOWN";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Called when hitting the right edge</summary>
- public event EventHandler EdgeRightEvt
+ /// <summary>Called when scrolling left</summary>
+ public event EventHandler ScrollLeftEvt
{
add
{
}
};
- string key = "_EFL_UI_EVENT_EDGE_RIGHT";
+ string key = "_EFL_UI_EVENT_SCROLL_LEFT";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_EDGE_RIGHT";
+ string key = "_EFL_UI_EVENT_SCROLL_LEFT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event EdgeRightEvt.</summary>
- public void OnEdgeRightEvt(EventArgs e)
+ /// <summary>Method to raise event ScrollLeftEvt.</summary>
+ public void OnScrollLeftEvt(EventArgs e)
{
- var key = "_EFL_UI_EVENT_EDGE_RIGHT";
+ var key = "_EFL_UI_EVENT_SCROLL_LEFT";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Called when scroll animation starts</summary>
- public event EventHandler ScrollAnimStartEvt
+ /// <summary>Called when scrolling right</summary>
+ public event EventHandler ScrollRightEvt
{
add
{
}
};
- string key = "_EFL_UI_EVENT_SCROLL_ANIM_START";
+ string key = "_EFL_UI_EVENT_SCROLL_RIGHT";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_SCROLL_ANIM_START";
+ string key = "_EFL_UI_EVENT_SCROLL_RIGHT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event ScrollAnimStartEvt.</summary>
- public void OnScrollAnimStartEvt(EventArgs e)
+ /// <summary>Method to raise event ScrollRightEvt.</summary>
+ public void OnScrollRightEvt(EventArgs e)
{
- var key = "_EFL_UI_EVENT_SCROLL_ANIM_START";
+ var key = "_EFL_UI_EVENT_SCROLL_RIGHT";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Called when scroll animation stopps</summary>
- public event EventHandler ScrollAnimStopEvt
+ /// <summary>Called when hitting the top edge</summary>
+ public event EventHandler EdgeUpEvt
{
add
{
}
};
- string key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP";
+ string key = "_EFL_UI_EVENT_EDGE_UP";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP";
+ string key = "_EFL_UI_EVENT_EDGE_UP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event ScrollAnimStopEvt.</summary>
- public void OnScrollAnimStopEvt(EventArgs e)
+ /// <summary>Method to raise event EdgeUpEvt.</summary>
+ public void OnEdgeUpEvt(EventArgs e)
{
- var key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP";
+ var key = "_EFL_UI_EVENT_EDGE_UP";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Called when scroll drag starts</summary>
- public event EventHandler ScrollDragStartEvt
+ /// <summary>Called when hitting the bottom edge</summary>
+ public event EventHandler EdgeDownEvt
{
add
{
}
};
- string key = "_EFL_UI_EVENT_SCROLL_DRAG_START";
+ string key = "_EFL_UI_EVENT_EDGE_DOWN";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_SCROLL_DRAG_START";
+ string key = "_EFL_UI_EVENT_EDGE_DOWN";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event ScrollDragStartEvt.</summary>
- public void OnScrollDragStartEvt(EventArgs e)
+ /// <summary>Method to raise event EdgeDownEvt.</summary>
+ public void OnEdgeDownEvt(EventArgs e)
{
- var key = "_EFL_UI_EVENT_SCROLL_DRAG_START";
+ var key = "_EFL_UI_EVENT_EDGE_DOWN";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Called when scroll drag stops</summary>
- public event EventHandler ScrollDragStopEvt
+ /// <summary>Called when hitting the left edge</summary>
+ public event EventHandler EdgeLeftEvt
{
add
{
}
};
- string key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ScrollDragStopEvt.</summary>
- public void OnScrollDragStopEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP";
- 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>Called when bar is pressed.</summary>
- public event EventHandler<Efl.Ui.IScrollbarBarPressEvt_Args> BarPressEvt
- {
- 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.IScrollbarBarPressEvt_Args args = new Efl.Ui.IScrollbarBarPressEvt_Args();
- args.arg = (Efl.Ui.ScrollbarDirection)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_SCROLLBAR_EVENT_BAR_PRESS";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event BarPressEvt.</summary>
- public void OnBarPressEvt(Efl.Ui.IScrollbarBarPressEvt_Args e)
- {
- var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS";
- 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>Called when bar is unpressed.</summary>
- public event EventHandler<Efl.Ui.IScrollbarBarUnpressEvt_Args> BarUnpressEvt
- {
- 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.IScrollbarBarUnpressEvt_Args args = new Efl.Ui.IScrollbarBarUnpressEvt_Args();
- args.arg = (Efl.Ui.ScrollbarDirection)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_SCROLLBAR_EVENT_BAR_UNPRESS";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event BarUnpressEvt.</summary>
- public void OnBarUnpressEvt(Efl.Ui.IScrollbarBarUnpressEvt_Args e)
- {
- var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS";
- 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>Called when bar is dragged.</summary>
- public event EventHandler<Efl.Ui.IScrollbarBarDragEvt_Args> BarDragEvt
- {
- 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.IScrollbarBarDragEvt_Args args = new Efl.Ui.IScrollbarBarDragEvt_Args();
- args.arg = (Efl.Ui.ScrollbarDirection)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_SCROLLBAR_EVENT_BAR_DRAG";
+ string key = "_EFL_UI_EVENT_EDGE_LEFT";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG";
+ string key = "_EFL_UI_EVENT_EDGE_LEFT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event BarDragEvt.</summary>
- public void OnBarDragEvt(Efl.Ui.IScrollbarBarDragEvt_Args e)
+ /// <summary>Method to raise event EdgeLeftEvt.</summary>
+ public void OnEdgeLeftEvt(EventArgs e)
{
- var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG";
+ var key = "_EFL_UI_EVENT_EDGE_LEFT";
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);
+ return;
}
+
+ Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Called when bar size is changed.</summary>
- public event EventHandler BarSizeChangedEvt
+ /// <summary>Called when hitting the right edge</summary>
+ public event EventHandler EdgeRightEvt
{
add
{
}
};
- string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED";
+ string key = "_EFL_UI_EVENT_EDGE_RIGHT";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED";
+ string key = "_EFL_UI_EVENT_EDGE_RIGHT";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event BarSizeChangedEvt.</summary>
- public void OnBarSizeChangedEvt(EventArgs e)
+ /// <summary>Method to raise event EdgeRightEvt.</summary>
+ public void OnEdgeRightEvt(EventArgs e)
{
- var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED";
+ var key = "_EFL_UI_EVENT_EDGE_RIGHT";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Called when bar position is changed.</summary>
- public event EventHandler BarPosChangedEvt
+ /// <summary>Called when scroll animation starts</summary>
+ public event EventHandler ScrollAnimStartEvt
{
add
{
}
};
- string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED";
+ string key = "_EFL_UI_EVENT_SCROLL_ANIM_START";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED";
+ string key = "_EFL_UI_EVENT_SCROLL_ANIM_START";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event BarPosChangedEvt.</summary>
- public void OnBarPosChangedEvt(EventArgs e)
+ /// <summary>Method to raise event ScrollAnimStartEvt.</summary>
+ public void OnScrollAnimStartEvt(EventArgs e)
{
- var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED";
+ var key = "_EFL_UI_EVENT_SCROLL_ANIM_START";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Callend when bar is shown.</summary>
- public event EventHandler<Efl.Ui.IScrollbarBarShowEvt_Args> BarShowEvt
+ /// <summary>Called when scroll animation stopps</summary>
+ public event EventHandler ScrollAnimStopEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- Efl.Ui.IScrollbarBarShowEvt_Args args = new Efl.Ui.IScrollbarBarShowEvt_Args();
- args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
+ EventArgs args = EventArgs.Empty;
try
{
value?.Invoke(obj, args);
}
};
- string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW";
+ string key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW";
+ string key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event BarShowEvt.</summary>
- public void OnBarShowEvt(Efl.Ui.IScrollbarBarShowEvt_Args e)
+ /// <summary>Method to raise event ScrollAnimStopEvt.</summary>
+ public void OnScrollAnimStopEvt(EventArgs e)
{
- var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW";
+ var key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
return;
}
- IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg);
- try
- {
- Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
- }
- finally
- {
- Marshal.FreeHGlobal(info);
- }
+ Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Called when bar is hidden.</summary>
- public event EventHandler<Efl.Ui.IScrollbarBarHideEvt_Args> BarHideEvt
+ /// <summary>Called when scroll drag starts</summary>
+ public event EventHandler ScrollDragStartEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- Efl.Ui.IScrollbarBarHideEvt_Args args = new Efl.Ui.IScrollbarBarHideEvt_Args();
- args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
+ EventArgs args = EventArgs.Empty;
try
{
value?.Invoke(obj, args);
}
};
- string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE";
+ string key = "_EFL_UI_EVENT_SCROLL_DRAG_START";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE";
+ string key = "_EFL_UI_EVENT_SCROLL_DRAG_START";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event BarHideEvt.</summary>
- public void OnBarHideEvt(Efl.Ui.IScrollbarBarHideEvt_Args e)
+ /// <summary>Method to raise event ScrollDragStartEvt.</summary>
+ public void OnScrollDragStartEvt(EventArgs e)
{
- var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE";
+ var key = "_EFL_UI_EVENT_SCROLL_DRAG_START";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
return;
}
- IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg);
- try
- {
- Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
- }
- finally
- {
- Marshal.FreeHGlobal(info);
- }
+ Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Called when selected</summary>
- public event EventHandler<Efl.Ui.ISelectableItemSelectedEvt_Args> ItemSelectedEvt
+ /// <summary>Called when scroll drag stops</summary>
+ public event EventHandler ScrollDragStopEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- Efl.Ui.ISelectableItemSelectedEvt_Args args = new Efl.Ui.ISelectableItemSelectedEvt_Args();
- args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Object);
+ EventArgs args = EventArgs.Empty;
try
{
value?.Invoke(obj, args);
}
};
- string key = "_EFL_UI_EVENT_ITEM_SELECTED";
+ string key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_ITEM_SELECTED";
+ string key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event ItemSelectedEvt.</summary>
- public void OnItemSelectedEvt(Efl.Ui.ISelectableItemSelectedEvt_Args e)
+ /// <summary>Method to raise event ScrollDragStopEvt.</summary>
+ public void OnScrollDragStopEvt(EventArgs e)
{
- var key = "_EFL_UI_EVENT_ITEM_SELECTED";
+ var key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
return;
}
- IntPtr info = e.arg.NativeHandle;
- Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
+ Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Called when no longer selected</summary>
- public event EventHandler<Efl.Ui.ISelectableItemUnselectedEvt_Args> ItemUnselectedEvt
+ /// <summary>Called when bar is pressed.</summary>
+ /// <value><see cref="Efl.Ui.IScrollbarBarPressEvt_Args"/></value>
+ public event EventHandler<Efl.Ui.IScrollbarBarPressEvt_Args> BarPressEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- Efl.Ui.ISelectableItemUnselectedEvt_Args args = new Efl.Ui.ISelectableItemUnselectedEvt_Args();
- args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Object);
+ Efl.Ui.IScrollbarBarPressEvt_Args args = new Efl.Ui.IScrollbarBarPressEvt_Args();
+ args.arg = (Efl.Ui.LayoutOrientation)evt.Info;
try
{
value?.Invoke(obj, args);
}
};
- string key = "_EFL_UI_EVENT_ITEM_UNSELECTED";
+ string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_ITEM_UNSELECTED";
+ string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event ItemUnselectedEvt.</summary>
- public void OnItemUnselectedEvt(Efl.Ui.ISelectableItemUnselectedEvt_Args e)
+ /// <summary>Method to raise event BarPressEvt.</summary>
+ public void OnBarPressEvt(Efl.Ui.IScrollbarBarPressEvt_Args e)
{
- var key = "_EFL_UI_EVENT_ITEM_UNSELECTED";
+ var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
return;
}
- IntPtr info = e.arg.NativeHandle;
- Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
+ IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg);
+ try
+ {
+ Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
+ }
+ finally
+ {
+ Marshal.FreeHGlobal(info);
+ }
}
- /// <summary>Called when selection is pasted</summary>
- public event EventHandler SelectionPasteEvt
+ /// <summary>Called when bar is unpressed.</summary>
+ /// <value><see cref="Efl.Ui.IScrollbarBarUnpressEvt_Args"/></value>
+ public event EventHandler<Efl.Ui.IScrollbarBarUnpressEvt_Args> BarUnpressEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- EventArgs args = EventArgs.Empty;
+ Efl.Ui.IScrollbarBarUnpressEvt_Args args = new Efl.Ui.IScrollbarBarUnpressEvt_Args();
+ args.arg = (Efl.Ui.LayoutOrientation)evt.Info;
try
{
value?.Invoke(obj, args);
}
};
- string key = "_EFL_UI_EVENT_SELECTION_PASTE";
+ string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_SELECTION_PASTE";
+ string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event SelectionPasteEvt.</summary>
- public void OnSelectionPasteEvt(EventArgs e)
+ /// <summary>Method to raise event BarUnpressEvt.</summary>
+ public void OnBarUnpressEvt(Efl.Ui.IScrollbarBarUnpressEvt_Args e)
{
- var key = "_EFL_UI_EVENT_SELECTION_PASTE";
+ var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
return;
}
- Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
+ IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg);
+ try
+ {
+ Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
+ }
+ finally
+ {
+ Marshal.FreeHGlobal(info);
+ }
}
- /// <summary>Called when selection is copied</summary>
- public event EventHandler SelectionCopyEvt
+ /// <summary>Called when bar is dragged.</summary>
+ /// <value><see cref="Efl.Ui.IScrollbarBarDragEvt_Args"/></value>
+ public event EventHandler<Efl.Ui.IScrollbarBarDragEvt_Args> BarDragEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- EventArgs args = EventArgs.Empty;
+ Efl.Ui.IScrollbarBarDragEvt_Args args = new Efl.Ui.IScrollbarBarDragEvt_Args();
+ args.arg = (Efl.Ui.LayoutOrientation)evt.Info;
try
{
value?.Invoke(obj, args);
}
};
- string key = "_EFL_UI_EVENT_SELECTION_COPY";
+ string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_SELECTION_COPY";
+ string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event SelectionCopyEvt.</summary>
- public void OnSelectionCopyEvt(EventArgs e)
+ /// <summary>Method to raise event BarDragEvt.</summary>
+ public void OnBarDragEvt(Efl.Ui.IScrollbarBarDragEvt_Args e)
{
- var key = "_EFL_UI_EVENT_SELECTION_COPY";
+ var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
return;
}
- Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
+ IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg);
+ try
+ {
+ Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
+ }
+ finally
+ {
+ Marshal.FreeHGlobal(info);
+ }
}
- /// <summary>Called when selection is cut</summary>
- public event EventHandler SelectionCutEvt
+ /// <summary>Called when bar size is changed.</summary>
+ public event EventHandler BarSizeChangedEvt
{
add
{
}
};
- string key = "_EFL_UI_EVENT_SELECTION_CUT";
+ string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_SELECTION_CUT";
+ string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event SelectionCutEvt.</summary>
- public void OnSelectionCutEvt(EventArgs e)
+ /// <summary>Method to raise event BarSizeChangedEvt.</summary>
+ public void OnBarSizeChangedEvt(EventArgs e)
{
- var key = "_EFL_UI_EVENT_SELECTION_CUT";
+ var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Called at selection start</summary>
- public event EventHandler SelectionStartEvt
+ /// <summary>Called when bar position is changed.</summary>
+ public event EventHandler BarPosChangedEvt
{
add
{
}
};
- string key = "_EFL_UI_EVENT_SELECTION_START";
+ string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_SELECTION_START";
+ string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event SelectionStartEvt.</summary>
- public void OnSelectionStartEvt(EventArgs e)
+ /// <summary>Method to raise event BarPosChangedEvt.</summary>
+ public void OnBarPosChangedEvt(EventArgs e)
{
- var key = "_EFL_UI_EVENT_SELECTION_START";
+ var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Called when selection is changed</summary>
- public event EventHandler SelectionChangedEvt
+ /// <summary>Callend when bar is shown.</summary>
+ /// <value><see cref="Efl.Ui.IScrollbarBarShowEvt_Args"/></value>
+ public event EventHandler<Efl.Ui.IScrollbarBarShowEvt_Args> BarShowEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- EventArgs args = EventArgs.Empty;
+ Efl.Ui.IScrollbarBarShowEvt_Args args = new Efl.Ui.IScrollbarBarShowEvt_Args();
+ args.arg = (Efl.Ui.LayoutOrientation)evt.Info;
try
{
value?.Invoke(obj, args);
}
};
- string key = "_EFL_UI_EVENT_SELECTION_CHANGED";
+ string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_SELECTION_CHANGED";
+ string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event SelectionChangedEvt.</summary>
- public void OnSelectionChangedEvt(EventArgs e)
+ /// <summary>Method to raise event BarShowEvt.</summary>
+ public void OnBarShowEvt(Efl.Ui.IScrollbarBarShowEvt_Args e)
{
- var key = "_EFL_UI_EVENT_SELECTION_CHANGED";
+ var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
return;
}
- Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
+ IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg);
+ try
+ {
+ Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
+ }
+ finally
+ {
+ Marshal.FreeHGlobal(info);
+ }
}
- /// <summary>Called when selection is cleared</summary>
- public event EventHandler SelectionClearedEvt
+ /// <summary>Called when bar is hidden.</summary>
+ /// <value><see cref="Efl.Ui.IScrollbarBarHideEvt_Args"/></value>
+ public event EventHandler<Efl.Ui.IScrollbarBarHideEvt_Args> BarHideEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- EventArgs args = EventArgs.Empty;
+ Efl.Ui.IScrollbarBarHideEvt_Args args = new Efl.Ui.IScrollbarBarHideEvt_Args();
+ args.arg = (Efl.Ui.LayoutOrientation)evt.Info;
try
{
value?.Invoke(obj, args);
}
};
- string key = "_EFL_UI_EVENT_SELECTION_CLEARED";
+ string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_SELECTION_CLEARED";
+ string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event SelectionClearedEvt.</summary>
- public void OnSelectionClearedEvt(EventArgs e)
+ /// <summary>Method to raise event BarHideEvt.</summary>
+ public void OnBarHideEvt(Efl.Ui.IScrollbarBarHideEvt_Args e)
{
- var key = "_EFL_UI_EVENT_SELECTION_CLEARED";
+ var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
return;
}
- Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
+ IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg);
+ try
+ {
+ Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
+ }
+ finally
+ {
+ Marshal.FreeHGlobal(info);
+ }
}
/// <summary>Redirect object has changed, the old manager is passed as an event argument.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IManagerRedirectChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.Focus.IManagerRedirectChangedEvt_Args> RedirectChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event RedirectChangedEvt.</summary>
+ /// <summary>Method to raise event RedirectChangedEvt.</summary>
public void OnRedirectChangedEvt(Efl.Ui.Focus.IManagerRedirectChangedEvt_Args e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_REDIRECT_CHANGED";
}
}
}
- ///<summary>Method to raise event FlushPreEvt.</summary>
+ /// <summary>Method to raise event FlushPreEvt.</summary>
public void OnFlushPreEvt(EventArgs e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_FLUSH_PRE";
}
}
}
- ///<summary>Method to raise event CoordsDirtyEvt.</summary>
+ /// <summary>Method to raise event CoordsDirtyEvt.</summary>
public void OnCoordsDirtyEvt(EventArgs e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_COORDS_DIRTY";
}
/// <summary>The manager_focus property has changed. The previously focused object is passed as an event argument.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args> ManagerFocusChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event ManagerFocusChangedEvt.</summary>
+ /// <summary>Method to raise event ManagerFocusChangedEvt.</summary>
public void OnManagerFocusChangedEvt(Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_MANAGER_FOCUS_CHANGED";
}
/// <summary>Called when this focus manager is frozen or thawed, even_info being <c>true</c> indicates that it is now frozen, <c>false</c> indicates that it is thawed.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args> DirtyLogicFreezeChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event DirtyLogicFreezeChangedEvt.</summary>
+ /// <summary>Method to raise event DirtyLogicFreezeChangedEvt.</summary>
public void OnDirtyLogicFreezeChangedEvt(Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_DIRTY_LOGIC_FREEZE_CHANGED";
}
/// <summary>This will fetch the data from a registered node.
/// Be aware this function will trigger a computation of all dirty nodes.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <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) {
public int SelectedChildrenCount {
get { return GetSelectedChildrenCount(); }
}
+ public (int, int) LoadRange {
+ set { SetLoadRange( value.Item1, value.Item2); }
+ }
public int ModelSize {
get { return GetModelSize(); }
}
public Eina.Rect ViewportGeometry {
get { return GetViewportGeometry(); }
}
+ /// <summary>Bouncing behavior
+ /// When scrolling, the scroller may "bounce" when reaching the edge of the content object. This is a visual way to indicate the end has been reached. This is enabled by default for both axes. This API will determine if it's enabled for the given axis with the boolean parameters for each one.</summary>
+ /// <value>Horizontal bounce policy.</value>
+ public (bool, bool) BounceEnabled {
+ get {
+ bool _out_horiz = default(bool);
+ bool _out_vert = default(bool);
+ GetBounceEnabled(out _out_horiz,out _out_vert);
+ return (_out_horiz,_out_vert);
+ }
+ set { SetBounceEnabled( value.Item1, value.Item2); }
+ }
/// <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>
/// <value><c>true</c> if freeze, <c>false</c> otherwise</value>
public bool ScrollFreeze {
get { return GetScrollHold(); }
set { SetScrollHold(value); }
}
+ /// <summary>Controls an infinite loop for a scroller.</summary>
+ /// <value>The scrolling horizontal loop</value>
+ public (bool, bool) Looping {
+ get {
+ bool _out_loop_h = default(bool);
+ bool _out_loop_v = default(bool);
+ GetLooping(out _out_loop_h,out _out_loop_v);
+ return (_out_loop_h,_out_loop_v);
+ }
+ set { SetLooping( value.Item1, value.Item2); }
+ }
/// <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>
/// <value>Which axis (or axes) to block</value>
get { return GetMovementBlock(); }
set { SetMovementBlock(value); }
}
+ /// <summary>Control scrolling gravity on the scrollable
+ /// The gravity defines how the scroller will adjust its view when the size of the scroller contents increases.
+ ///
+ /// The scroller will adjust the view to glue itself as follows.
+ ///
+ /// x=0.0, for staying where it is relative to the left edge of the content x=1.0, for staying where it is relative to the right edge of the content y=0.0, for staying where it is relative to the top edge of the content y=1.0, for staying where it is relative to the bottom edge of the content
+ ///
+ /// Default values for x and y are 0.0</summary>
+ /// <value>Horizontal scrolling gravity</value>
+ public (double, double) Gravity {
+ get {
+ double _out_x = default(double);
+ double _out_y = default(double);
+ GetGravity(out _out_x,out _out_y);
+ return (_out_x,_out_y);
+ }
+ set { SetGravity( value.Item1, value.Item2); }
+ }
+ /// <summary>Prevent the scrollable from being smaller than the minimum size of the content.
+ /// By default the scroller will be as small as its design allows, irrespective of its content. This will make the scroller minimum size the right size horizontally and/or vertically to perfectly fit its content in that direction.</summary>
+ /// <value>Whether to limit the minimum horizontal size</value>
+ public (bool, bool) MatchContent {
+ set { SetMatchContent( value.Item1, value.Item2); }
+ }
/// <summary>Control the step size
/// Use this call to set step size. This value is used when scroller scroll by arrow key event.</summary>
/// <value>The step size in pixels</value>
get { return GetStepSize(); }
set { SetStepSize(value); }
}
+ /// <summary>Scrollbar visibility policy</summary>
+ /// <value>Horizontal scrollbar.</value>
+ public (Efl.Ui.ScrollbarMode, Efl.Ui.ScrollbarMode) BarMode {
+ get {
+ Efl.Ui.ScrollbarMode _out_hbar = default(Efl.Ui.ScrollbarMode);
+ Efl.Ui.ScrollbarMode _out_vbar = default(Efl.Ui.ScrollbarMode);
+ GetBarMode(out _out_hbar,out _out_vbar);
+ return (_out_hbar,_out_vbar);
+ }
+ set { SetBarMode( value.Item1, value.Item2); }
+ }
+ /// <summary>Scrollbar size. It is calculated based on viewport size-content sizes.</summary>
+ public (double, double) BarSize {
+ get {
+ double _out_width = default(double);
+ double _out_height = default(double);
+ GetBarSize(out _out_width,out _out_height);
+ return (_out_width,_out_height);
+ }
+ }
+ /// <summary>Scrollbar position. It is calculated based on current position-maximum positions.</summary>
+ /// <value>Value between 0.0 and 1.0.</value>
+ public (double, double) BarPosition {
+ get {
+ double _out_posx = default(double);
+ double _out_posy = default(double);
+ GetBarPosition(out _out_posx,out _out_posy);
+ return (_out_posx,_out_posy);
+ }
+ set { SetBarPosition( value.Item1, value.Item2); }
+ }
/// <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 EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiListView_ExtensionMethods {
+ public static Efl.BindableProperty<bool> Homogeneous<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.ListView, T>magic = null) where T : Efl.Ui.ListView {
+ return new Efl.BindableProperty<bool>("homogeneous", fac);
+ }
+
+ public static Efl.BindableProperty<Elm.Object.SelectMode> SelectMode<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.ListView, T>magic = null) where T : Efl.Ui.ListView {
+ return new Efl.BindableProperty<Elm.Object.SelectMode>("select_mode", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> DefaultStyle<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.ListView, T>magic = null) where T : Efl.Ui.ListView {
+ return new Efl.BindableProperty<System.String>("default_style", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Ui.IFactory> LayoutFactory<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.ListView, T>magic = null) where T : Efl.Ui.ListView {
+ return new Efl.BindableProperty<Efl.Ui.IFactory>("layout_factory", fac);
+ }
+
+
+
+
+
+ public static Efl.BindableProperty<Eina.Size2D> MinSize<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.ListView, T>magic = null) where T : Efl.Ui.ListView {
+ return new Efl.BindableProperty<Eina.Size2D>("min_size", fac);
+ }
+
+ public static Efl.BindableProperty<Eina.Position2D> ContentPos<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.ListView, T>magic = null) where T : Efl.Ui.ListView {
+ return new Efl.BindableProperty<Eina.Position2D>("content_pos", fac);
+ }
+
+
+
+
+ public static Efl.BindableProperty<bool> ScrollFreeze<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.ListView, T>magic = null) where T : Efl.Ui.ListView {
+ return new Efl.BindableProperty<bool>("scroll_freeze", fac);
+ }
+
+ public static Efl.BindableProperty<bool> ScrollHold<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.ListView, T>magic = null) where T : Efl.Ui.ListView {
+ return new Efl.BindableProperty<bool>("scroll_hold", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.Ui.ScrollBlock> MovementBlock<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.ListView, T>magic = null) where T : Efl.Ui.ListView {
+ return new Efl.BindableProperty<Efl.Ui.ScrollBlock>("movement_block", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<Eina.Position2D> StepSize<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.ListView, T>magic = null) where T : Efl.Ui.ListView {
+ return new Efl.BindableProperty<Eina.Position2D>("step_size", fac);
+ }
+
+
+
+
+ public static Efl.BindableProperty<Eina.List<Efl.Gfx.IEntity>> CompositionElements<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.ListView, T>magic = null) where T : Efl.Ui.ListView {
+ return new Efl.BindableProperty<Eina.List<Efl.Gfx.IEntity>>("composition_elements", fac);
+ }
+
+ public static Efl.BindableProperty<bool> LogicalMode<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.ListView, T>magic = null) where T : Efl.Ui.ListView {
+ return new Efl.BindableProperty<bool>("logical_mode", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Ui.Focus.IObject> ManagerFocus<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.ListView, T>magic = null) where T : Efl.Ui.ListView {
+ return new Efl.BindableProperty<Efl.Ui.Focus.IObject>("manager_focus", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Ui.Focus.IManager> Redirect<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.ListView, T>magic = null) where T : Efl.Ui.ListView {
+ return new Efl.BindableProperty<Efl.Ui.Focus.IManager>("redirect", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<Efl.Ui.Focus.IObject> Root<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.ListView, T>magic = null) where T : Efl.Ui.ListView {
+ return new Efl.BindableProperty<Efl.Ui.Focus.IObject>("root", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
namespace Efl {
namespace Ui {
public Efl.IModel Child;
/// <summary>TBD</summary>
public int Index;
- ///<summary>Constructor for ListViewItemEvent.</summary>
+ /// <summary>Constructor for ListViewItemEvent.</summary>
+ /// <param name="Layout">TBD</param>;
+ /// <param name="Child">TBD</param>;
+ /// <param name="Index">TBD</param>;
public ListViewItemEvent(
Efl.Ui.Layout Layout = default(Efl.Ui.Layout),
Efl.IModel Child = default(Efl.IModel),
this.Index = Index;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 ListViewItemEvent(IntPtr ptr)
{
var tmp = (ListViewItemEvent.NativeStruct)Marshal.PtrToStructure(ptr, typeof(ListViewItemEvent.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct ListViewItemEvent.</summary>
+ /// <summary>Internal wrapper for struct ListViewItemEvent.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
- ///<summary>Internal wrapper for field Layout</summary>
+ /// <summary>Internal wrapper for field Layout</summary>
public System.IntPtr Layout;
- ///<summary>Internal wrapper for field Child</summary>
+ /// <summary>Internal wrapper for field Child</summary>
public System.IntPtr Child;
public int Index;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator ListViewItemEvent.NativeStruct(ListViewItemEvent _external_struct)
{
var _internal_struct = new ListViewItemEvent.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator ListViewItemEvent(ListViewItemEvent.NativeStruct _internal_struct)
{
var _external_struct = new ListViewItemEvent();
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.IListViewModelConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IListViewModel :
void SetMinSize(Eina.Size2D min);
Efl.Ui.ListViewLayoutItem Realize(ref Efl.Ui.ListViewLayoutItem item);
void Unrealize(ref Efl.Ui.ListViewLayoutItem item);
- int ModelSize {
- get ;
+ (int, int) LoadRange {
+ set;
+ }
+ int ModelSize {
+ get;
}
/// <summary>Minimal content size.</summary>
Eina.Size2D MinSize {
- get ;
- set ;
+ get;
+ set;
}
}
-sealed public class IListViewModelConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IListViewModelConcrete :
Efl.Eo.EoWrapper
, IListViewModel
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IListViewModelConcrete(ConstructingHandle ch) : base(ch)
{
Eina.Error.RaiseIfUnhandledException();
item = _in_item;
}
+ public (int, int) LoadRange {
+ set { SetLoadRange( value.Item1, value.Item2); }
+ }
public int ModelSize {
get { return GetModelSize(); }
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiIListViewModelConcrete_ExtensionMethods {
+
+
+ public static Efl.BindableProperty<Eina.Size2D> MinSize<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.IListViewModel, T>magic = null) where T : Efl.Ui.IListViewModel {
+ return new Efl.BindableProperty<Eina.Size2D>("min_size", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Elementary Efl_Ui_List_View pan class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.ListViewPan.NativeMethods]
[Efl.Eo.BindingEntity]
public class ListViewPan : Efl.Ui.Pan
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected ListViewPan(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiListViewPan_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
public Efl.IModel Children;
public int Index_offset;
public System.IntPtr Tree_node;
+ /// <value>A 2D size in pixels.</value>
public Eina.Size2D Min;
+ /// <value>A 2D size in pixels.</value>
public Eina.Size2D Size;
+ /// <value>A 2D location in pixels.</value>
public Eina.Position2D Pos;
- ///<summary>Constructor for ListViewLayoutItem.</summary>
+ /// <summary>Constructor for ListViewLayoutItem.</summary>
+ /// <param name="Layout"></param>;
+ /// <param name="Layout_request"></param>;
+ /// <param name="Children"></param>;
+ /// <param name="Index_offset"></param>;
+ /// <param name="Tree_node"></param>;
+ /// <param name="Min"></param>;
+ /// <param name="Size"></param>;
+ /// <param name="Pos"></param>;
public ListViewLayoutItem(
Efl.Ui.Layout Layout = default(Efl.Ui.Layout),
Eina.Future Layout_request = default( Eina.Future),
this.Pos = Pos;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 ListViewLayoutItem(IntPtr ptr)
{
var tmp = (ListViewLayoutItem.NativeStruct)Marshal.PtrToStructure(ptr, typeof(ListViewLayoutItem.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct ListViewLayoutItem.</summary>
+ /// <summary>Internal wrapper for struct ListViewLayoutItem.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
- ///<summary>Internal wrapper for field Layout</summary>
+ /// <summary>Internal wrapper for field Layout</summary>
public System.IntPtr Layout;
[MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Eina.FutureMarshaler))]
public Eina.Future Layout_request;
- ///<summary>Internal wrapper for field Children</summary>
+ /// <summary>Internal wrapper for field Children</summary>
public System.IntPtr Children;
public int Index_offset;
public Eina.Size2D.NativeStruct Size;
public Eina.Position2D.NativeStruct Pos;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator ListViewLayoutItem.NativeStruct(ListViewLayoutItem _external_struct)
{
var _internal_struct = new ListViewLayoutItem.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator ListViewLayoutItem(ListViewLayoutItem.NativeStruct _internal_struct)
{
var _external_struct = new ListViewLayoutItem();
[Efl.Eo.BindingEntity]
public struct EflUiListViewSegArray
{
- ///<summary>Placeholder field</summary>
+ /// <summary>Placeholder field</summary>
public IntPtr field;
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 EflUiListViewSegArray(IntPtr ptr)
{
var tmp = (EflUiListViewSegArray.NativeStruct)Marshal.PtrToStructure(ptr, typeof(EflUiListViewSegArray.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct EflUiListViewSegArray.</summary>
+ /// <summary>Internal wrapper for struct EflUiListViewSegArray.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
internal IntPtr field;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator EflUiListViewSegArray.NativeStruct(EflUiListViewSegArray _external_struct)
{
var _internal_struct = new EflUiListViewSegArray.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator EflUiListViewSegArray(EflUiListViewSegArray.NativeStruct _internal_struct)
{
var _external_struct = new EflUiListViewSegArray();
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
-/// <summary>Efl UI Multi selectable interface. The container have to control select property of multiple chidren.</summary>
+/// <summary>Interface for getting access to a range of selected items.
+/// The implementor of this interface provides the possibility to select multiple Selectables. (If not, only Efl.Ui.Single_Selectable should be implemented)</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.IMultiSelectableConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IMultiSelectable :
+ Efl.Ui.ISingleSelectable ,
Efl.Eo.IWrapper, IDisposable
{
/// <summary>The mode type for children selection.</summary>
/// <summary>The mode type for children selection.</summary>
/// <param name="mode">Type of selection of children</param>
void SetSelectMode(Efl.Ui.SelectMode mode);
- /// <summary>The mode type for children selection.</summary>
+ /// <summary>Get the selected items in a iterator. The iterator sequence will be decided by selection.</summary>
+/// <returns>User has to free the iterator after usage.</returns>
+Eina.Iterator<Efl.Ui.ISelectable> GetSelectedItems();
+ /// <summary>Select a range of <see cref="Efl.Ui.ISelectable"/>.
+/// This will select the range of selectables from a to b or from b to a depending on which one comes first. If a or b are not part of the widget, a error is returned, and no change is applied. <c>null</c> is not allowed as either of the parameters. Both of the passed values will also be selected.</summary>
+/// <param name="a">One side of the range.</param>
+/// <param name="b">The other side of the range.</param>
+void SelectRange(Efl.Ui.ISelectable a, Efl.Ui.ISelectable b);
+ /// <summary>Unselect a range of <see cref="Efl.Ui.ISelectable"/>.
+/// This will unselect the range of selectables from a to b or from b to a depending on which one comes first. If a or b are not part of the widget, a error is returned, and no change is applied. <c>null</c> is not allowed as either of the parameters. Both of the passed values will also be unselected.</summary>
+/// <param name="a">One side of the range.</param>
+/// <param name="b">The other side of the range.</param>
+void UnselectRange(Efl.Ui.ISelectable a, Efl.Ui.ISelectable b);
+ /// <summary>Select all <see cref="Efl.Ui.ISelectable"/></summary>
+void SelectAll();
+ /// <summary>Unselect all <see cref="Efl.Ui.ISelectable"/></summary>
+void UnselectAll();
+ /// <summary>The mode type for children selection.</summary>
/// <value>Type of selection of children</value>
Efl.Ui.SelectMode SelectMode {
- get ;
- set ;
+ get;
+ set;
}
}
-/// <summary>Efl UI Multi selectable interface. The container have to control select property of multiple chidren.</summary>
-sealed public class IMultiSelectableConcrete :
+/// <summary>Interface for getting access to a range of selected items.
+/// The implementor of this interface provides the possibility to select multiple Selectables. (If not, only Efl.Ui.Single_Selectable should be implemented)</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IMultiSelectableConcrete :
Efl.Eo.EoWrapper
, IMultiSelectable
-
+ , Efl.Ui.ISingleSelectable
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</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
+ [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] 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>
{
}
+ /// <summary>Called when there is a change in the selection state, this event will collect all the item selection change events that are happening within one loop iteration. This means, you will only get this event once, even if a lot of items have changed. If you are interested in detailed changes, subscribe to the selection,changed event of Efl.Ui.Selectable.</summary>
+ public event EventHandler SelectionChangedEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_SINGLE_SELECTABLE_EVENT_SELECTION_CHANGED";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_SINGLE_SELECTABLE_EVENT_SELECTION_CHANGED";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event SelectionChangedEvt.</summary>
+ public void OnSelectionChangedEvt(EventArgs e)
+ {
+ var key = "_EFL_UI_SINGLE_SELECTABLE_EVENT_SELECTION_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>The mode type for children selection.</summary>
/// <returns>Type of selection of children</returns>
public Efl.Ui.SelectMode GetSelectMode() {
Efl.Ui.IMultiSelectableConcrete.NativeMethods.efl_ui_select_mode_set_ptr.Value.Delegate(this.NativeHandle,mode);
Eina.Error.RaiseIfUnhandledException();
}
+ /// <summary>Get the selected items in a iterator. The iterator sequence will be decided by selection.</summary>
+ /// <returns>User has to free the iterator after usage.</returns>
+ public Eina.Iterator<Efl.Ui.ISelectable> GetSelectedItems() {
+ var _ret_var = Efl.Ui.IMultiSelectableConcrete.NativeMethods.efl_ui_selected_items_get_ptr.Value.Delegate(this.NativeHandle);
+ Eina.Error.RaiseIfUnhandledException();
+ return new Eina.Iterator<Efl.Ui.ISelectable>(_ret_var, true);
+ }
+ /// <summary>Select a range of <see cref="Efl.Ui.ISelectable"/>.
+ /// This will select the range of selectables from a to b or from b to a depending on which one comes first. If a or b are not part of the widget, a error is returned, and no change is applied. <c>null</c> is not allowed as either of the parameters. Both of the passed values will also be selected.</summary>
+ /// <param name="a">One side of the range.</param>
+ /// <param name="b">The other side of the range.</param>
+ public void SelectRange(Efl.Ui.ISelectable a, Efl.Ui.ISelectable b) {
+ Efl.Ui.IMultiSelectableConcrete.NativeMethods.efl_ui_select_range_ptr.Value.Delegate(this.NativeHandle,a, b);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Unselect a range of <see cref="Efl.Ui.ISelectable"/>.
+ /// This will unselect the range of selectables from a to b or from b to a depending on which one comes first. If a or b are not part of the widget, a error is returned, and no change is applied. <c>null</c> is not allowed as either of the parameters. Both of the passed values will also be unselected.</summary>
+ /// <param name="a">One side of the range.</param>
+ /// <param name="b">The other side of the range.</param>
+ public void UnselectRange(Efl.Ui.ISelectable a, Efl.Ui.ISelectable b) {
+ Efl.Ui.IMultiSelectableConcrete.NativeMethods.efl_ui_unselect_range_ptr.Value.Delegate(this.NativeHandle,a, b);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Select all <see cref="Efl.Ui.ISelectable"/></summary>
+ public void SelectAll() {
+ Efl.Ui.IMultiSelectableConcrete.NativeMethods.efl_ui_select_all_ptr.Value.Delegate(this.NativeHandle);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Unselect all <see cref="Efl.Ui.ISelectable"/></summary>
+ public void UnselectAll() {
+ Efl.Ui.IMultiSelectableConcrete.NativeMethods.efl_ui_unselect_all_ptr.Value.Delegate(this.NativeHandle);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>The selectable that was selected most recently.</summary>
+ /// <returns>The latest selected item.</returns>
+ public Efl.Ui.ISelectable GetLastSelected() {
+ var _ret_var = Efl.Ui.ISingleSelectableConcrete.NativeMethods.efl_ui_single_selectable_last_selected_get_ptr.Value.Delegate(this.NativeHandle);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>A object that will be selected in case nothing is selected
+ /// A object set to this property will be selected instead of no item beeing selected. Which means, there will be always at least one element selected. If this property is NULL, the state of "no item is selected" can be reached.
+ ///
+ /// Setting this property as a result of selection events results in undefined behavior.</summary>
+ public Efl.Ui.ISelectable GetFallbackSelection() {
+ var _ret_var = Efl.Ui.ISingleSelectableConcrete.NativeMethods.efl_ui_single_selectable_fallback_selection_get_ptr.Value.Delegate(this.NativeHandle);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>A object that will be selected in case nothing is selected
+ /// A object set to this property will be selected instead of no item beeing selected. Which means, there will be always at least one element selected. If this property is NULL, the state of "no item is selected" can be reached.
+ ///
+ /// Setting this property as a result of selection events results in undefined behavior.</summary>
+ public void SetFallbackSelection(Efl.Ui.ISelectable fallback) {
+ Efl.Ui.ISingleSelectableConcrete.NativeMethods.efl_ui_single_selectable_fallback_selection_set_ptr.Value.Delegate(this.NativeHandle,fallback);
+ Eina.Error.RaiseIfUnhandledException();
+ }
/// <summary>The mode type for children selection.</summary>
/// <value>Type of selection of children</value>
public Efl.Ui.SelectMode SelectMode {
get { return GetSelectMode(); }
set { SetSelectMode(value); }
}
+ /// <summary>The selectable that was selected most recently.</summary>
+ /// <value>The latest selected item.</value>
+ public Efl.Ui.ISelectable LastSelected {
+ get { return GetLastSelected(); }
+ }
+ /// <summary>A object that will be selected in case nothing is selected
+ /// A object set to this property will be selected instead of no item beeing selected. Which means, there will be always at least one element selected. If this property is NULL, the state of "no item is selected" can be reached.
+ ///
+ /// Setting this property as a result of selection events results in undefined behavior.</summary>
+ public Efl.Ui.ISelectable FallbackSelection {
+ get { return GetFallbackSelection(); }
+ set { SetFallbackSelection(value); }
+ }
private static IntPtr GetEflClassStatic()
{
return Efl.Ui.IMultiSelectableConcrete.efl_ui_multi_selectable_interface_get();
/// 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.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)
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_select_mode_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_select_mode_set_static_delegate) });
}
+ if (efl_ui_selected_items_get_static_delegate == null)
+ {
+ efl_ui_selected_items_get_static_delegate = new efl_ui_selected_items_get_delegate(selected_items_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetSelectedItems") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_selected_items_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_selected_items_get_static_delegate) });
+ }
+
+ if (efl_ui_select_range_static_delegate == null)
+ {
+ efl_ui_select_range_static_delegate = new efl_ui_select_range_delegate(select_range);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SelectRange") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_select_range"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_select_range_static_delegate) });
+ }
+
+ if (efl_ui_unselect_range_static_delegate == null)
+ {
+ efl_ui_unselect_range_static_delegate = new efl_ui_unselect_range_delegate(unselect_range);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "UnselectRange") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_unselect_range"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_unselect_range_static_delegate) });
+ }
+
+ if (efl_ui_select_all_static_delegate == null)
+ {
+ efl_ui_select_all_static_delegate = new efl_ui_select_all_delegate(select_all);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SelectAll") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_select_all"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_select_all_static_delegate) });
+ }
+
+ if (efl_ui_unselect_all_static_delegate == null)
+ {
+ efl_ui_unselect_all_static_delegate = new efl_ui_unselect_all_delegate(unselect_all);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "UnselectAll") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_unselect_all"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_unselect_all_static_delegate) });
+ }
+
+ if (efl_ui_single_selectable_last_selected_get_static_delegate == null)
+ {
+ efl_ui_single_selectable_last_selected_get_static_delegate = new efl_ui_single_selectable_last_selected_get_delegate(last_selected_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetLastSelected") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_single_selectable_last_selected_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_single_selectable_last_selected_get_static_delegate) });
+ }
+
+ if (efl_ui_single_selectable_fallback_selection_get_static_delegate == null)
+ {
+ efl_ui_single_selectable_fallback_selection_get_static_delegate = new efl_ui_single_selectable_fallback_selection_get_delegate(fallback_selection_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetFallbackSelection") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_single_selectable_fallback_selection_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_single_selectable_fallback_selection_get_static_delegate) });
+ }
+
+ if (efl_ui_single_selectable_fallback_selection_set_static_delegate == null)
+ {
+ efl_ui_single_selectable_fallback_selection_set_static_delegate = new efl_ui_single_selectable_fallback_selection_set_delegate(fallback_selection_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetFallbackSelection") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_single_selectable_fallback_selection_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_single_selectable_fallback_selection_set_static_delegate) });
+ }
+
return descs;
}
/// <summary>Returns the Eo class for the native methods of this class.</summary>
private static efl_ui_select_mode_set_delegate efl_ui_select_mode_set_static_delegate;
+
+ private delegate System.IntPtr efl_ui_selected_items_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate System.IntPtr efl_ui_selected_items_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_selected_items_get_api_delegate> efl_ui_selected_items_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_selected_items_get_api_delegate>(Module, "efl_ui_selected_items_get");
+
+ private static System.IntPtr selected_items_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_selected_items_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Iterator<Efl.Ui.ISelectable> _ret_var = default(Eina.Iterator<Efl.Ui.ISelectable>);
+ try
+ {
+ _ret_var = ((IMultiSelectable)ws.Target).GetSelectedItems();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ _ret_var.Own = false; return _ret_var.Handle;
+
+ }
+ else
+ {
+ return efl_ui_selected_items_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_selected_items_get_delegate efl_ui_selected_items_get_static_delegate;
+
+
+ private delegate void efl_ui_select_range_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.ISelectable a, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.ISelectable b);
+
+
+ public delegate void efl_ui_select_range_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.ISelectable a, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.ISelectable b);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_select_range_api_delegate> efl_ui_select_range_ptr = new Efl.Eo.FunctionWrapper<efl_ui_select_range_api_delegate>(Module, "efl_ui_select_range");
+
+ private static void select_range(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ISelectable a, Efl.Ui.ISelectable b)
+ {
+ Eina.Log.Debug("function efl_ui_select_range was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((IMultiSelectable)ws.Target).SelectRange(a, b);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_select_range_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), a, b);
+ }
+ }
+
+ private static efl_ui_select_range_delegate efl_ui_select_range_static_delegate;
+
+
+ private delegate void efl_ui_unselect_range_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.ISelectable a, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.ISelectable b);
+
+
+ public delegate void efl_ui_unselect_range_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.ISelectable a, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.ISelectable b);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_unselect_range_api_delegate> efl_ui_unselect_range_ptr = new Efl.Eo.FunctionWrapper<efl_ui_unselect_range_api_delegate>(Module, "efl_ui_unselect_range");
+
+ private static void unselect_range(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ISelectable a, Efl.Ui.ISelectable b)
+ {
+ Eina.Log.Debug("function efl_ui_unselect_range was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((IMultiSelectable)ws.Target).UnselectRange(a, b);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_unselect_range_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), a, b);
+ }
+ }
+
+ private static efl_ui_unselect_range_delegate efl_ui_unselect_range_static_delegate;
+
+
+ private delegate void efl_ui_select_all_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate void efl_ui_select_all_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_select_all_api_delegate> efl_ui_select_all_ptr = new Efl.Eo.FunctionWrapper<efl_ui_select_all_api_delegate>(Module, "efl_ui_select_all");
+
+ private static void select_all(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_select_all was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((IMultiSelectable)ws.Target).SelectAll();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_select_all_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_select_all_delegate efl_ui_select_all_static_delegate;
+
+
+ private delegate void efl_ui_unselect_all_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate void efl_ui_unselect_all_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_unselect_all_api_delegate> efl_ui_unselect_all_ptr = new Efl.Eo.FunctionWrapper<efl_ui_unselect_all_api_delegate>(Module, "efl_ui_unselect_all");
+
+ private static void unselect_all(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_unselect_all was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((IMultiSelectable)ws.Target).UnselectAll();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_unselect_all_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_unselect_all_delegate efl_ui_unselect_all_static_delegate;
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ private delegate Efl.Ui.ISelectable efl_ui_single_selectable_last_selected_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ public delegate Efl.Ui.ISelectable efl_ui_single_selectable_last_selected_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_single_selectable_last_selected_get_api_delegate> efl_ui_single_selectable_last_selected_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_single_selectable_last_selected_get_api_delegate>(Module, "efl_ui_single_selectable_last_selected_get");
+
+ private static Efl.Ui.ISelectable last_selected_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_single_selectable_last_selected_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.Ui.ISelectable _ret_var = default(Efl.Ui.ISelectable);
+ try
+ {
+ _ret_var = ((IMultiSelectable)ws.Target).GetLastSelected();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_single_selectable_last_selected_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_single_selectable_last_selected_get_delegate efl_ui_single_selectable_last_selected_get_static_delegate;
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ private delegate Efl.Ui.ISelectable efl_ui_single_selectable_fallback_selection_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ public delegate Efl.Ui.ISelectable efl_ui_single_selectable_fallback_selection_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_single_selectable_fallback_selection_get_api_delegate> efl_ui_single_selectable_fallback_selection_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_single_selectable_fallback_selection_get_api_delegate>(Module, "efl_ui_single_selectable_fallback_selection_get");
+
+ private static Efl.Ui.ISelectable fallback_selection_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_single_selectable_fallback_selection_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.Ui.ISelectable _ret_var = default(Efl.Ui.ISelectable);
+ try
+ {
+ _ret_var = ((IMultiSelectable)ws.Target).GetFallbackSelection();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_single_selectable_fallback_selection_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_single_selectable_fallback_selection_get_delegate efl_ui_single_selectable_fallback_selection_get_static_delegate;
+
+
+ private delegate void efl_ui_single_selectable_fallback_selection_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.ISelectable fallback);
+
+
+ public delegate void efl_ui_single_selectable_fallback_selection_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.ISelectable fallback);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_single_selectable_fallback_selection_set_api_delegate> efl_ui_single_selectable_fallback_selection_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_single_selectable_fallback_selection_set_api_delegate>(Module, "efl_ui_single_selectable_fallback_selection_set");
+
+ private static void fallback_selection_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ISelectable fallback)
+ {
+ Eina.Log.Debug("function efl_ui_single_selectable_fallback_selection_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((IMultiSelectable)ws.Target).SetFallbackSelection(fallback);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_single_selectable_fallback_selection_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), fallback);
+ }
+ }
+
+ private static efl_ui_single_selectable_fallback_selection_set_delegate efl_ui_single_selectable_fallback_selection_set_static_delegate;
+
#pragma warning restore CA1707, CS1591, SA1300, SA1600
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiIMultiSelectableConcrete_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Ui.SelectMode> SelectMode<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.IMultiSelectable, T>magic = null) where T : Efl.Ui.IMultiSelectable {
+ return new Efl.BindableProperty<Efl.Ui.SelectMode>("select_mode", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.Ui.ISelectable> FallbackSelection<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.IMultiSelectable, T>magic = null) where T : Efl.Ui.IMultiSelectable {
+ return new Efl.BindableProperty<Efl.Ui.ISelectable>("fallback_selection", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
namespace Efl {
namespace Ui {
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.NavigationBar.NativeMethods]
[Efl.Eo.BindingEntity]
public class NavigationBar : Efl.Ui.LayoutBase, Efl.IText
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected NavigationBar(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiNavigationBar_ExtensionMethods {
+
+ public static Efl.BindableFactoryPart<Efl.Ui.NavigationBarPartBackButton> BackButtonPart<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.NavigationBar, T> x=null) where T : Efl.Ui.NavigationBar
+ {
+ return new Efl.BindableFactoryPart<Efl.Ui.NavigationBarPartBackButton>("back_button" ,fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Efl UI Navigation_Bar internal part class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.NavigationBarPart.NativeMethods]
[Efl.Eo.BindingEntity]
public class NavigationBarPart : Efl.Ui.LayoutPartContent
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected NavigationBarPart(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiNavigationBarPart_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Efl Ui Navigation_Bar internal part back button class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected NavigationBarPartBackButton(ConstructingHandle ch) : base(ch)
{
/// <summary>Sent after the content is set or unset using the current content object.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContentContentChangedEvt_Args"/></value>
public event EventHandler<Efl.IContentContentChangedEvt_Args> ContentChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentChangedEvt.</summary>
+ /// <summary>Method to raise event ContentChangedEvt.</summary>
public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e)
{
var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
}
/// <summary>Object's visibility state changed, the event value is the new state.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Gfx.IEntityVisibilityChangedEvt_Args"/></value>
public event EventHandler<Efl.Gfx.IEntityVisibilityChangedEvt_Args> VisibilityChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event VisibilityChangedEvt.</summary>
+ /// <summary>Method to raise event VisibilityChangedEvt.</summary>
public void OnVisibilityChangedEvt(Efl.Gfx.IEntityVisibilityChangedEvt_Args e)
{
var key = "_EFL_GFX_ENTITY_EVENT_VISIBILITY_CHANGED";
}
/// <summary>Object was moved, its position during the event is the new one.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Gfx.IEntityPositionChangedEvt_Args"/></value>
public event EventHandler<Efl.Gfx.IEntityPositionChangedEvt_Args> PositionChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event PositionChangedEvt.</summary>
+ /// <summary>Method to raise event PositionChangedEvt.</summary>
public void OnPositionChangedEvt(Efl.Gfx.IEntityPositionChangedEvt_Args e)
{
var key = "_EFL_GFX_ENTITY_EVENT_POSITION_CHANGED";
}
/// <summary>Object was resized, its size during the event is the new one.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Gfx.IEntitySizeChangedEvt_Args"/></value>
public event EventHandler<Efl.Gfx.IEntitySizeChangedEvt_Args> SizeChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event SizeChangedEvt.</summary>
+ /// <summary>Method to raise event SizeChangedEvt.</summary>
public void OnSizeChangedEvt(Efl.Gfx.IEntitySizeChangedEvt_Args e)
{
var key = "_EFL_GFX_ENTITY_EVENT_SIZE_CHANGED";
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiNavigationBarPartBackButton_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Gfx.IEntity> Content<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.NavigationBarPartBackButton, T>magic = null) where T : Efl.Ui.NavigationBarPartBackButton {
+ return new Efl.BindableProperty<Efl.Gfx.IEntity>("content", fac);
+ }
+
+
+ public static Efl.BindableProperty<Eina.Position2D> Position<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.NavigationBarPartBackButton, T>magic = null) where T : Efl.Ui.NavigationBarPartBackButton {
+ return new Efl.BindableProperty<Eina.Position2D>("position", fac);
+ }
+
+ public static Efl.BindableProperty<Eina.Size2D> Size<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.NavigationBarPartBackButton, T>magic = null) where T : Efl.Ui.NavigationBarPartBackButton {
+ return new Efl.BindableProperty<Eina.Size2D>("size", fac);
+ }
+
+ public static Efl.BindableProperty<Eina.Rect> Geometry<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.NavigationBarPartBackButton, T>magic = null) where T : Efl.Ui.NavigationBarPartBackButton {
+ return new Efl.BindableProperty<Eina.Rect>("geometry", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Visible<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.NavigationBarPartBackButton, T>magic = null) where T : Efl.Ui.NavigationBarPartBackButton {
+ return new Efl.BindableProperty<bool>("visible", fac);
+ }
+
+ public static Efl.BindableProperty<double> Scale<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.NavigationBarPartBackButton, T>magic = null) where T : Efl.Ui.NavigationBarPartBackButton {
+ return new Efl.BindableProperty<double>("scale", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.NavigationLayout.NativeMethods]
[Efl.Eo.BindingEntity]
public class NavigationLayout : Efl.Ui.LayoutBase, Efl.IContent
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected NavigationLayout(ConstructingHandle ch) : base(ch)
{
/// <summary>Sent after the content is set or unset using the current content object.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContentContentChangedEvt_Args"/></value>
public event EventHandler<Efl.IContentContentChangedEvt_Args> ContentChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentChangedEvt.</summary>
+ /// <summary>Method to raise event ContentChangedEvt.</summary>
public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e)
{
var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiNavigationLayout_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Ui.LayoutBase> Bar<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.NavigationLayout, T>magic = null) where T : Efl.Ui.NavigationLayout {
+ return new Efl.BindableProperty<Efl.Ui.LayoutBase>("bar", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Gfx.IEntity> Content<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.NavigationLayout, T>magic = null) where T : Efl.Ui.NavigationLayout {
+ return new Efl.BindableProperty<Efl.Gfx.IEntity>("content", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
-/// <summary>Elementary pan class</summary>
+/// <summary>Pan widget class.
+/// This widget positions its contents (set using <see cref="Efl.IContent.Content"/>) relative to the widget itself. This is particularly useful for large content which does not fit inside its container. In this case only a portion is shown.
+///
+/// The position of this "window" into the content can be changed using <see cref="Efl.Ui.Pan.PanPosition"/>. This widget does not provide means for a user to change the content's position (like scroll bars). This widget is meant to be used internally by other clases like <see cref="Efl.Ui.Scroll.Manager"/>.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.Pan.NativeMethods]
[Efl.Eo.BindingEntity]
public class Pan : Efl.Canvas.Group, Efl.IContent
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Pan(ConstructingHandle ch) : base(ch)
{
{
}
- /// <summary>Called when pan content changed</summary>
+ /// <summary>The content has changed.</summary>
public event EventHandler PanContentChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event PanContentChangedEvt.</summary>
+ /// <summary>Method to raise event PanContentChangedEvt.</summary>
public void OnPanContentChangedEvt(EventArgs e)
{
var key = "_EFL_UI_PAN_EVENT_PAN_CONTENT_CHANGED";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Called when pan viewport changed</summary>
+ /// <summary>This widget's position or size has changed.</summary>
public event EventHandler PanViewportChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event PanViewportChangedEvt.</summary>
+ /// <summary>Method to raise event PanViewportChangedEvt.</summary>
public void OnPanViewportChangedEvt(EventArgs e)
{
var key = "_EFL_UI_PAN_EVENT_PAN_VIEWPORT_CHANGED";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Called when pan position changed</summary>
+ /// <summary>The content's position has changed.</summary>
public event EventHandler PanPositionChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event PanPositionChangedEvt.</summary>
+ /// <summary>Method to raise event PanPositionChangedEvt.</summary>
public void OnPanPositionChangedEvt(EventArgs e)
{
var key = "_EFL_UI_PAN_EVENT_PAN_POSITION_CHANGED";
}
/// <summary>Sent after the content is set or unset using the current content object.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContentContentChangedEvt_Args"/></value>
public event EventHandler<Efl.IContentContentChangedEvt_Args> ContentChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentChangedEvt.</summary>
+ /// <summary>Method to raise event ContentChangedEvt.</summary>
public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e)
{
var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
IntPtr info = e.arg.NativeHandle;
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
- /// <summary>Position</summary>
+ /// <summary>Position of the content inside the Pan widget.
+ /// Setting the position to <see cref="Efl.Ui.Pan.GetPanPositionMin"/> makes the upper left corner of the content visible. Setting the position to <see cref="Efl.Ui.Pan.GetPanPositionMax"/> makes the lower right corner of the content visible. Values outside this range are valid and make the background show.</summary>
+ /// <returns>Content position.</returns>
virtual public Eina.Position2D GetPanPosition() {
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>
+ /// <summary>Position of the content inside the Pan widget.
+ /// Setting the position to <see cref="Efl.Ui.Pan.GetPanPositionMin"/> makes the upper left corner of the content visible. Setting the position to <see cref="Efl.Ui.Pan.GetPanPositionMax"/> makes the lower right corner of the content visible. Values outside this range are valid and make the background show.</summary>
+ /// <param name="position">Content position.</param>
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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_position);
Eina.Error.RaiseIfUnhandledException();
}
- /// <summary>Content size</summary>
+ /// <summary>Size of the content currently set through <see cref="Efl.IContent.Content"/>. This is a convenience proxy.</summary>
+ /// <returns>The size of the content.</returns>
virtual public Eina.Size2D GetContentSize() {
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>
+ /// <summary>Position you can set to <see cref="Efl.Ui.Pan.PanPosition"/> so that the content's upper left corner is visible. Always (0, 0).</summary>
+ /// <returns>Content's upper left corner position.</returns>
virtual public Eina.Position2D GetPanPositionMin() {
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>
+ /// <summary>Position you can set to <see cref="Efl.Ui.Pan.PanPosition"/> so that the content's lower right corner is visible. It depends both on the content's size and this widget's size.</summary>
+ /// <returns>Content's lower right corner position.</returns>
virtual public Eina.Position2D GetPanPositionMax() {
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();
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
- /// <summary>Position</summary>
+ /// <summary>Position of the content inside the Pan widget.
+ /// Setting the position to <see cref="Efl.Ui.Pan.GetPanPositionMin"/> makes the upper left corner of the content visible. Setting the position to <see cref="Efl.Ui.Pan.GetPanPositionMax"/> makes the lower right corner of the content visible. Values outside this range are valid and make the background show.</summary>
+ /// <value>Content position.</value>
public Eina.Position2D PanPosition {
get { return GetPanPosition(); }
set { SetPanPosition(value); }
}
- /// <summary>Content size</summary>
+ /// <summary>Size of the content currently set through <see cref="Efl.IContent.Content"/>. This is a convenience proxy.</summary>
+ /// <value>The size of the content.</value>
public Eina.Size2D ContentSize {
get { return GetContentSize(); }
}
- /// <summary>The minimal position to scroll</summary>
+ /// <summary>Position you can set to <see cref="Efl.Ui.Pan.PanPosition"/> so that the content's upper left corner is visible. Always (0, 0).</summary>
+ /// <value>Content's upper left corner position.</value>
public Eina.Position2D PanPositionMin {
get { return GetPanPositionMin(); }
}
- /// <summary>The maximal position to scroll</summary>
+ /// <summary>Position you can set to <see cref="Efl.Ui.Pan.PanPosition"/> so that the content's lower right corner is visible. It depends both on the content's size and this widget's size.</summary>
+ /// <value>Content's lower right corner position.</value>
public Eina.Position2D PanPositionMax {
get { return GetPanPositionMax(); }
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiPan_ExtensionMethods {
+ public static Efl.BindableProperty<Eina.Position2D> PanPosition<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Pan, T>magic = null) where T : Efl.Ui.Pan {
+ return new Efl.BindableProperty<Eina.Position2D>("pan_position", fac);
+ }
+
+
+
+
+ public static Efl.BindableProperty<Efl.Gfx.IEntity> Content<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Pan, T>magic = null) where T : Efl.Ui.Pan {
+ return new Efl.BindableProperty<Efl.Gfx.IEntity>("content", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Elementary panel class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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
+public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui.IScrollableInteractive, Efl.Ui.IWidgetFocusManager, Efl.Ui.Focus.ILayer, Efl.Ui.Focus.IManager
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Panel(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event ToggledEvt.</summary>
+ /// <summary>Method to raise event ToggledEvt.</summary>
public void OnToggledEvt(EventArgs e)
{
var key = "_EFL_UI_PANEL_EVENT_TOGGLED";
}
/// <summary>Sent after the content is set or unset using the current content object.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContentContentChangedEvt_Args"/></value>
public event EventHandler<Efl.IContentContentChangedEvt_Args> ContentChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentChangedEvt.</summary>
+ /// <summary>Method to raise event ContentChangedEvt.</summary>
public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e)
{
var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
}
}
}
- ///<summary>Method to raise event ScrollStartEvt.</summary>
+ /// <summary>Method to raise event ScrollStartEvt.</summary>
public void OnScrollStartEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_START";
}
}
}
- ///<summary>Method to raise event ScrollEvt.</summary>
+ /// <summary>Method to raise event ScrollEvt.</summary>
public void OnScrollEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL";
}
}
}
- ///<summary>Method to raise event ScrollStopEvt.</summary>
+ /// <summary>Method to raise event ScrollStopEvt.</summary>
public void OnScrollStopEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_STOP";
}
}
}
- ///<summary>Method to raise event ScrollUpEvt.</summary>
+ /// <summary>Method to raise event ScrollUpEvt.</summary>
public void OnScrollUpEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_UP";
}
}
}
- ///<summary>Method to raise event ScrollDownEvt.</summary>
+ /// <summary>Method to raise event ScrollDownEvt.</summary>
public void OnScrollDownEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_DOWN";
}
}
}
- ///<summary>Method to raise event ScrollLeftEvt.</summary>
+ /// <summary>Method to raise event ScrollLeftEvt.</summary>
public void OnScrollLeftEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_LEFT";
}
}
}
- ///<summary>Method to raise event ScrollRightEvt.</summary>
+ /// <summary>Method to raise event ScrollRightEvt.</summary>
public void OnScrollRightEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_RIGHT";
}
}
}
- ///<summary>Method to raise event EdgeUpEvt.</summary>
+ /// <summary>Method to raise event EdgeUpEvt.</summary>
public void OnEdgeUpEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_EDGE_UP";
}
}
}
- ///<summary>Method to raise event EdgeDownEvt.</summary>
+ /// <summary>Method to raise event EdgeDownEvt.</summary>
public void OnEdgeDownEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_EDGE_DOWN";
}
}
}
- ///<summary>Method to raise event EdgeLeftEvt.</summary>
+ /// <summary>Method to raise event EdgeLeftEvt.</summary>
public void OnEdgeLeftEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_EDGE_LEFT";
}
}
}
- ///<summary>Method to raise event EdgeRightEvt.</summary>
+ /// <summary>Method to raise event EdgeRightEvt.</summary>
public void OnEdgeRightEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_EDGE_RIGHT";
}
}
}
- ///<summary>Method to raise event ScrollAnimStartEvt.</summary>
+ /// <summary>Method to raise event ScrollAnimStartEvt.</summary>
public void OnScrollAnimStartEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_ANIM_START";
}
}
}
- ///<summary>Method to raise event ScrollAnimStopEvt.</summary>
+ /// <summary>Method to raise event ScrollAnimStopEvt.</summary>
public void OnScrollAnimStopEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP";
}
}
}
- ///<summary>Method to raise event ScrollDragStartEvt.</summary>
+ /// <summary>Method to raise event ScrollDragStartEvt.</summary>
public void OnScrollDragStartEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_DRAG_START";
}
}
}
- ///<summary>Method to raise event ScrollDragStopEvt.</summary>
+ /// <summary>Method to raise event ScrollDragStopEvt.</summary>
public void OnScrollDragStopEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP";
}
/// <summary>Redirect object has changed, the old manager is passed as an event argument.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IManagerRedirectChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.Focus.IManagerRedirectChangedEvt_Args> RedirectChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event RedirectChangedEvt.</summary>
+ /// <summary>Method to raise event RedirectChangedEvt.</summary>
public void OnRedirectChangedEvt(Efl.Ui.Focus.IManagerRedirectChangedEvt_Args e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_REDIRECT_CHANGED";
}
}
}
- ///<summary>Method to raise event FlushPreEvt.</summary>
+ /// <summary>Method to raise event FlushPreEvt.</summary>
public void OnFlushPreEvt(EventArgs e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_FLUSH_PRE";
}
}
}
- ///<summary>Method to raise event CoordsDirtyEvt.</summary>
+ /// <summary>Method to raise event CoordsDirtyEvt.</summary>
public void OnCoordsDirtyEvt(EventArgs e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_COORDS_DIRTY";
}
/// <summary>The manager_focus property has changed. The previously focused object is passed as an event argument.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args> ManagerFocusChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event ManagerFocusChangedEvt.</summary>
+ /// <summary>Method to raise event ManagerFocusChangedEvt.</summary>
public void OnManagerFocusChangedEvt(Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_MANAGER_FOCUS_CHANGED";
}
/// <summary>Called when this focus manager is frozen or thawed, even_info being <c>true</c> indicates that it is now frozen, <c>false</c> indicates that it is thawed.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args> DirtyLogicFreezeChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event DirtyLogicFreezeChangedEvt.</summary>
+ /// <summary>Method to raise event DirtyLogicFreezeChangedEvt.</summary>
public void OnDirtyLogicFreezeChangedEvt(Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_DIRTY_LOGIC_FREEZE_CHANGED";
Marshal.FreeHGlobal(info);
}
}
- /// <summary>Called when content changed</summary>
- public event EventHandler ChangedEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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 = "_ELM_INTERFACE_SCROLLABLE_EVENT_CHANGED";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_ELM_INTERFACE_SCROLLABLE_EVENT_CHANGED";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ChangedEvt.</summary>
- public void OnChangedEvt(EventArgs e)
- {
- var key = "_ELM_INTERFACE_SCROLLABLE_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>Gets the orientation of the panel.</summary>
/// <returns>The panel orientation.</returns>
virtual public Efl.Ui.PanelOrient GetOrient() {
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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>The content position</summary>
+ /// <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((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((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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Bouncing behavior
+ /// When scrolling, the scroller may "bounce" when reaching the edge of the content object. This is a visual way to indicate the end has been reached. This is enabled by default for both axes. This API will determine if it's enabled for the given axis with the boolean parameters for each one.</summary>
+ /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out horiz, out vert);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Bouncing behavior
+ /// When scrolling, the scroller may "bounce" when reaching the edge of the content object. This is a visual way to indicate the end has been reached. This is enabled by default for both axes. This API will determine if it's enabled for the given axis with the boolean parameters for each one.</summary>
+ /// <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((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((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((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((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((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((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((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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <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>
+ /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),block);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Control scrolling gravity on the scrollable
+ /// The gravity defines how the scroller will adjust its view when the size of the scroller contents increases.
+ ///
+ /// The scroller will adjust the view to glue itself as follows.
+ ///
+ /// x=0.0, for staying where it is relative to the left edge of the content x=1.0, for staying where it is relative to the right edge of the content y=0.0, for staying where it is relative to the top edge of the content y=1.0, for staying where it is relative to the bottom edge of the content
+ ///
+ /// Default values for x and y are 0.0</summary>
+ /// <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((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
+ /// The gravity defines how the scroller will adjust its view when the size of the scroller contents increases.
+ ///
+ /// The scroller will adjust the view to glue itself as follows.
+ ///
+ /// x=0.0, for staying where it is relative to the left edge of the content x=1.0, for staying where it is relative to the right edge of the content y=0.0, for staying where it is relative to the top edge of the content y=1.0, for staying where it is relative to the bottom edge of the content
+ ///
+ /// Default values for x and y are 0.0</summary>
+ /// <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((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.
+ /// By default the scroller will be as small as its design allows, irrespective of its content. This will make the scroller minimum size the right size horizontally and/or vertically to perfectly fit its content in that direction.</summary>
+ /// <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((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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Control the step size
+ /// Use this call to set step size. This value is used when scroller scroll by arrow key event.</summary>
+ /// <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((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.
+ /// This will ensure all (or part if it does not fit) of the designated region in the virtual content object (0, 0 starting at the top-left of the virtual content object) is shown within the scroller. This allows the scroller to "smoothly slide" to this location (if configuration in general calls for transitions). It may not jump immediately to the new location and make take a while and show other content along the way.</summary>
+ /// <param name="rect">The position where to scroll. and The size user want to see</param>
+ /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_rect, animation);
+ Eina.Error.RaiseIfUnhandledException();
+ }
/// <summary>If the widget needs a focus manager, this function will be called.
/// It can be used and overriden to inject your own manager or set custom options on the focus manager.
/// (Since EFL 1.22)</summary>
}
/// <summary>This will fetch the data from a registered node.
/// Be aware this function will trigger a computation of all dirty nodes.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <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) {
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>Gets the orientation of the panel.</summary>
+ /// <value>The panel orientation.</value>
+ public Efl.Ui.PanelOrient Orient {
+ get { return GetOrient(); }
+ set { SetOrient(value); }
+ }
+ /// <summary>Gets the state of the panel.</summary>
+ /// <value>If <c>true</c>, the panel will run the animation to disappear.</value>
+ public bool Hidden {
+ get { return GetHidden(); }
+ set { SetHidden(value); }
+ }
+ /// <summary>Gets the state of the scrollability.</summary>
+ /// <value>The scrollable state.</value>
+ public bool Scrollable {
+ get { return GetScrollable(); }
+ set { SetScrollable(value); }
+ }
+ /// <summary>Gets the size of the scrollable panel.</summary>
+ /// <value>Size ratio</value>
+ public double ScrollableContentSize {
+ get { return GetScrollableContentSize(); }
+ set { SetScrollableContentSize(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>
+ /// <value>The sub-object.</value>
+ public Efl.Gfx.IEntity Content {
+ get { return GetContent(); }
+ set { SetContent(value); }
+ }
+ /// <summary>The content position</summary>
+ /// <value>The position is virtual value, (0, 0) starting at the top-left.</value>
+ public Eina.Position2D ContentPos {
+ get { return GetContentPos(); }
+ set { SetContentPos(value); }
+ }
+ /// <summary>The content size</summary>
+ /// <value>The content size in pixels.</value>
+ public Eina.Size2D ContentSize {
+ get { return GetContentSize(); }
+ }
+ /// <summary>The viewport geometry</summary>
+ /// <value>It is absolute geometry.</value>
+ public Eina.Rect ViewportGeometry {
+ get { return GetViewportGeometry(); }
+ }
+ /// <summary>Bouncing behavior
+ /// When scrolling, the scroller may "bounce" when reaching the edge of the content object. This is a visual way to indicate the end has been reached. This is enabled by default for both axes. This API will determine if it's enabled for the given axis with the boolean parameters for each one.</summary>
+ /// <value>Horizontal bounce policy.</value>
+ public (bool, bool) BounceEnabled {
+ get {
+ bool _out_horiz = default(bool);
+ bool _out_vert = default(bool);
+ GetBounceEnabled(out _out_horiz,out _out_vert);
+ return (_out_horiz,_out_vert);
+ }
+ set { SetBounceEnabled( value.Item1, value.Item2); }
+ }
+ /// <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>
+ /// <value><c>true</c> if freeze, <c>false</c> otherwise</value>
+ public bool ScrollFreeze {
+ get { return GetScrollFreeze(); }
+ set { SetScrollFreeze(value); }
+ }
+ /// <summary>Hold property When hold turns on, it only scrolls by holding action.</summary>
+ /// <value><c>true</c> if hold, <c>false</c> otherwise</value>
+ public bool ScrollHold {
+ get { return GetScrollHold(); }
+ set { SetScrollHold(value); }
+ }
+ /// <summary>Controls an infinite loop for a scroller.</summary>
+ /// <value>The scrolling horizontal loop</value>
+ public (bool, bool) Looping {
+ get {
+ bool _out_loop_h = default(bool);
+ bool _out_loop_v = default(bool);
+ GetLooping(out _out_loop_h,out _out_loop_v);
+ return (_out_loop_h,_out_loop_v);
+ }
+ set { SetLooping( value.Item1, value.Item2); }
+ }
+ /// <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>
+ /// <value>Which axis (or axes) to block</value>
+ public Efl.Ui.ScrollBlock MovementBlock {
+ get { return GetMovementBlock(); }
+ set { SetMovementBlock(value); }
+ }
/// <summary>Control scrolling gravity on the scrollable
/// The gravity defines how the scroller will adjust its view when the size of the scroller contents increases.
///
/// x=0.0, for staying where it is relative to the left edge of the content x=1.0, for staying where it is relative to the right edge of the content y=0.0, for staying where it is relative to the top edge of the content y=1.0, for staying where it is relative to the bottom edge of the content
///
/// Default values for x and y are 0.0</summary>
- /// <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((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
- /// The gravity defines how the scroller will adjust its view when the size of the scroller contents increases.
- ///
- /// The scroller will adjust the view to glue itself as follows.
- ///
- /// x=0.0, for staying where it is relative to the left edge of the content x=1.0, for staying where it is relative to the right edge of the content y=0.0, for staying where it is relative to the top edge of the content y=1.0, for staying where it is relative to the bottom edge of the content
- ///
- /// Default values for x and y are 0.0</summary>
- /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Bouncing behavior
- /// When scrolling, the scroller may "bounce" when reaching an edge of the content object. This is a visual way to indicate the end has been reached. This is enabled by default for both axis. This API will set if it is enabled for the given axis with the boolean parameters for each axis.</summary>
- /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out horiz, out vert);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Bouncing behavior
- /// When scrolling, the scroller may "bounce" when reaching an edge of the content object. This is a visual way to indicate the end has been reached. This is enabled by default for both axis. This API will set if it is enabled for the given axis with the boolean parameters for each axis.</summary>
- /// <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((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((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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),disabled);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Blocking of scrolling (per axis)
- /// This function will block scrolling movement (by input of a user) in a given direction. One 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.
- ///
- /// 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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Blocking of scrolling (per axis)
- /// This function will block scrolling movement (by input of a user) in a given direction. One 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.
- ///
- /// 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((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((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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),disabled);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Scrollbar visibility policy
- /// #ELM_SCROLLER_POLICY_AUTO means the scrollbar is made visible if it is needed, and otherwise kept hidden. #ELM_SCROLLER_POLICY_ON turns it on all the time, and #ELM_SCROLLER_POLICY_OFF always keeps it off. This applies respectively for the horizontal and vertical scrollbars.</summary>
- /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out hbar, out vbar);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Scrollbar visibility policy
- /// #ELM_SCROLLER_POLICY_AUTO means the scrollbar is made visible if it is needed, and otherwise kept hidden. #ELM_SCROLLER_POLICY_ON turns it on all the time, and #ELM_SCROLLER_POLICY_OFF always keeps it off. This applies respectively for the horizontal and vertical scrollbars.</summary>
- /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),hbar, vbar);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Currently visible content region
- /// This gets the current region in the content object that is visible through the scroller. The region co-ordinates are returned in the <c>x</c>, <c>y</c>, <c>w</c>, <c>h</c> values pointed to.
- ///
- /// Note: All coordinates are relative to the content.
- ///
- /// See: <see cref="Elm.IInterfaceScrollable.ShowContentRegion"/>.</summary>
- /// <param name="x">X coordinate of the region</param>
- /// <param name="y">Y coordinate of the region</param>
- /// <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((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
- /// This gets the current region in the content object that is visible through the scroller. The region co-ordinates are returned in the <c>x</c>, <c>y</c>, <c>w</c>, <c>h</c> values pointed to.
- ///
- /// Note: All coordinates are relative to the content.
- ///
- /// See: <see cref="Elm.IInterfaceScrollable.ShowContentRegion"/>.</summary>
- /// <param name="x">X coordinate of the region</param>
- /// <param name="y">Y coordinate of the region</param>
- /// <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((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((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((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.
- /// The scroller is capable of limiting scrolling by the user to "pages". That is to jump by and only show a "whole page" at a time as if the continuous area of the scroller content is split into page sized pieces. This sets the size of a page relative to the viewport of the scroller. 1.0 is "1 viewport" is size (horizontally or vertically). 0.0 turns it off in that axis. This is mutually exclusive with page size (see <see cref="Elm.IInterfaceScrollable.GetPageSize"/> for more information). Likewise 0.5 is "half a viewport". Sane usable values are normally between 0.0 and 1.0 including 1.0. If you only want 1 axis to be page "limited", use 0.0 for the other axis.</summary>
- /// <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((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.
- /// The scroller is capable of limiting scrolling by the user to "pages". That is to jump by and only show a "whole page" at a time as if the continuous area of the scroller content is split into page sized pieces. This sets the size of a page relative to the viewport of the scroller. 1.0 is "1 viewport" is size (horizontally or vertically). 0.0 turns it off in that axis. This is mutually exclusive with page size (see <see cref="Elm.IInterfaceScrollable.GetPageSize"/> for more information). Likewise 0.5 is "half a viewport". Sane usable values are normally between 0.0 and 1.0 including 1.0. If you only want 1 axis to be page "limited", use 0.0 for the other axis.</summary>
- /// <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((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((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((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((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((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
- /// When scrolling, if a scroller is paged (see elm_scroller_page_size_set() and elm_scroller_page_relative_set()), the scroller may snap to pages when being scrolled, i.e., even if it had momentum to scroll further, it will stop at the next page boundaries. This is disabled, by default, for both axis. This function will set if it that is enabled or not, for each axis.
- ///
- /// Note: If <c>obj</c> is not set to have pages, nothing will happen after this call.</summary>
- /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out horiz, out vert);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Page snapping behavior
- /// When scrolling, if a scroller is paged (see elm_scroller_page_size_set() and elm_scroller_page_relative_set()), the scroller may snap to pages when being scrolled, i.e., even if it had momentum to scroll further, it will stop at the next page boundaries. This is disabled, by default, for both axis. This function will set if it that is enabled or not, for each axis.
- ///
- /// Note: If <c>obj</c> is not set to have pages, nothing will happen after this call.</summary>
- /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),horiz, vert);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Pagin property</summary>
- /// <param name="pagerel_h">Page relation horizontal</param>
- /// <param name="pagerel_v">Page relation vertical</param>
- /// <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((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="pagerel_h">Page relation horizontal</param>
- /// <param name="pagerel_v">Page relation vertical</param>
- /// <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((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
- /// This makes it possible to restrict scrolling to a single direction, with a "soft" or "hard" behavior.
- ///
- /// 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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Single direction scroll configuration
- /// This makes it possible to restrict scrolling to a single direction, with a "soft" or "hard" behavior.
- ///
- /// 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((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((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((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((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((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((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((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((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((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((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((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((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((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((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((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((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((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((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((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((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((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((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((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((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((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((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((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((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((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((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((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((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((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((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((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.
- /// The page number starts from 0. 0 is the first page. This returns the last page number among the pages.
- ///
- /// See: <see cref="Elm.IInterfaceScrollable.GetCurrentPage"/>, <see cref="Elm.IInterfaceScrollable.ShowPage"/> and <see cref="Elm.IInterfaceScrollable.PageBringIn"/>.</summary>
- /// <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((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.
- /// The page number starts from 0. 0 is the first page. Current page means the page which meets the top-left of the viewport. If there are two or more pages in the viewport, it returns the number of the page which meets the top-left of the viewport.
- ///
- /// See: <see cref="Elm.IInterfaceScrollable.GetLastPage"/>, <see cref="Elm.IInterfaceScrollable.ShowPage"/> and <see cref="Elm.IInterfaceScrollable.PageBringIn"/>.</summary>
- /// <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((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="x">X coordinate</param>
- /// <param name="y">Y coordinate</param>
- /// <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((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
- /// This gets the size of the content object of the scroller.</summary>
- /// <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((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((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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),enable);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Set the content position</summary>
- /// <param name="x">X coordinate</param>
- /// <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((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((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.
- /// 0, 0 of the indicated page is located at the top-left of the viewport. This will jump to the page directly without animation.
- ///
- /// See <see cref="Elm.IInterfaceScrollable.PageBringIn"/>.</summary>
- /// <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((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.
- /// This will ensure all (or part if it does not fit) of the designated region in the virtual content object (0, 0 starting at the top-left of the virtual content object) is shown within the scroller. Unlike elm_scroller_region_show(), this allows the scroller to "smoothly slide" to this location (if configuration in general calls for transitions). It may not jump immediately to the new location and make take a while and show other content along the way.
- ///
- /// See <see cref="Elm.IInterfaceScrollable.ShowContentRegion"/></summary>
- /// <param name="x">X coordinate of the region</param>
- /// <param name="y">Y coordinate of the region</param>
- /// <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((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.
- /// 0, 0 of the indicated page is located at the top-left of the viewport. This will slide to the page with animation.
- ///
- /// <see cref="Elm.IInterfaceScrollable.ShowPage"/></summary>
- /// <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((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
- /// This will ensure all (or part if it does not fit) of the designated region in the virtual content object (0, 0 starting at the top-left of the virtual content object) is shown within the scroller.</summary>
- /// <param name="x">X coordinate of the region</param>
- /// <param name="y">Y coordinate of the region</param>
- /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y, w, h);
- Eina.Error.RaiseIfUnhandledException();
- }
+ /// <value>Horizontal scrolling gravity</value>
+ public (double, double) Gravity {
+ get {
+ double _out_x = default(double);
+ double _out_y = default(double);
+ GetGravity(out _out_x,out _out_y);
+ return (_out_x,_out_y);
+ }
+ set { SetGravity( value.Item1, value.Item2); }
+ }
/// <summary>Prevent the scrollable from being smaller than the minimum size of the content.
/// By default the scroller will be as small as its design allows, irrespective of its content. This will make the scroller minimum size the right size horizontally and/or vertically to perfectly fit its content in that direction.</summary>
- /// <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((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((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((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>
- /// <value>The panel orientation.</value>
- public Efl.Ui.PanelOrient Orient {
- get { return GetOrient(); }
- set { SetOrient(value); }
- }
- /// <summary>Gets the state of the panel.</summary>
- /// <value>If <c>true</c>, the panel will run the animation to disappear.</value>
- public bool Hidden {
- get { return GetHidden(); }
- set { SetHidden(value); }
- }
- /// <summary>Gets the state of the scrollability.</summary>
- /// <value>The scrollable state.</value>
- public bool Scrollable {
- get { return GetScrollable(); }
- set { SetScrollable(value); }
- }
- /// <summary>Gets the size of the scrollable panel.</summary>
- /// <value>Size ratio</value>
- public double ScrollableContentSize {
- get { return GetScrollableContentSize(); }
- set { SetScrollableContentSize(value); }
+ /// <value>Whether to limit the minimum horizontal size</value>
+ public (bool, bool) MatchContent {
+ set { SetMatchContent( value.Item1, value.Item2); }
}
- /// <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>
- /// <value>The sub-object.</value>
- public Efl.Gfx.IEntity Content {
- get { return GetContent(); }
- set { SetContent(value); }
+ /// <summary>Control the step size
+ /// Use this call to set step size. This value is used when scroller scroll by arrow key event.</summary>
+ /// <value>The step size in pixels</value>
+ public Eina.Position2D StepSize {
+ get { return GetStepSize(); }
+ set { SetStepSize(value); }
}
/// <summary>Enable property</summary>
/// <value><c>true</c> to set enable the layer <c>false</c> to disable it</value>
get { return GetEnable(); }
set { SetEnable(value); }
}
+ /// <summary>Constructor for setting the behaviour of the layer</summary>
+ /// <value><c>true</c> means layer will set itself once the inheriting widget becomes visible, <c>false</c> means the layer isn't enabled automatically</value>
+ public (bool, bool) Behaviour {
+ get {
+ bool _out_enable_on_visible = default(bool);
+ bool _out_cycle = default(bool);
+ GetBehaviour(out _out_enable_on_visible,out _out_cycle);
+ return (_out_enable_on_visible,_out_cycle);
+ }
+ set { SetBehaviour( value.Item1, value.Item2); }
+ }
/// <summary>The element which is currently focused by this manager
/// Use this property to retrieve the object currently being focused, or to set the focus to a new one. When <c>focus</c> is a logical child (which cannot receive focus), the next non-logical object is selected instead. If there is no such object, focus does not change.
/// (Since EFL 1.22)</summary>
get { return GetRoot(); }
set { SetRoot(value); }
}
- /// <summary>Control Wheel disable Enable or disable mouse wheel to be used to scroll the scroller content. heel is enabled by default.</summary>
- /// <value><c>true</c> if wheel is disabled, <c>false</c> otherwise</value>
- public bool WheelDisabled {
- get { return GetWheelDisabled(); }
- set { SetWheelDisabled(value); }
- }
- /// <summary>Blocking of scrolling (per axis)
- /// This function will block scrolling movement (by input of a user) in a given direction. One 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.
- ///
- /// 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>
- /// <value>Which axis (or axes) to block</value>
- public Efl.Ui.ScrollBlock MovementBlock {
- get { return GetMovementBlock(); }
- set { SetMovementBlock(value); }
- }
- /// <summary>Momentum animator</summary>
- /// <value><c>true</c> if disabled, <c>false</c> otherwise</value>
- public bool MomentumAnimatorDisabled {
- get { return GetMomentumAnimatorDisabled(); }
- set { SetMomentumAnimatorDisabled(value); }
- }
- /// <summary>It decides whether the scrollable object propagates the events to content object or not.</summary>
- /// <value><c>true</c> if events are propagated, <c>false</c> otherwise</value>
- public bool ContentEvents {
- get { return GetContentEvents(); }
- set { SetContentEvents(value); }
- }
- /// <summary>Bounce animator</summary>
- /// <value><c>true</c> if bounce animation is disabled, <c>false</c> otherwise</value>
- public bool BounceAnimatorDisabled {
- get { return GetBounceAnimatorDisabled(); }
- set { SetBounceAnimatorDisabled(value); }
- }
- /// <summary>Single direction scroll configuration
- /// This makes it possible to restrict scrolling to a single direction, with a "soft" or "hard" behavior.
- ///
- /// 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>
- /// <value>The single direction scroll policy</value>
- public Elm.Scroller.SingleDirection SingleDirection {
- get { return GetSingleDirection(); }
- set { SetSingleDirection(value); }
- }
- /// <summary>Set the callback to run when the content has been moved up.</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableCb ScrollUpCb {
- set { SetScrollUpCb(value); }
- }
- /// <summary>Set the callback to run when the horizontal scrollbar is dragged.</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableCb HbarDragCb {
- set { SetHbarDragCb(value); }
- }
- /// <summary>Set the callback to run when dragging of the contents has started.</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableCb DragStartCb {
- set { SetDragStartCb(value); }
- }
- /// <summary>Set the callback to run when scrolling of the contents has started.</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableCb ScrollStartCb {
- set { SetScrollStartCb(value); }
- }
- /// <summary>Freeze property</summary>
- /// <value><c>true</c> if freeze, <c>false</c> otherwise</value>
- public bool Freeze {
- set { SetFreeze(value); }
- }
- /// <summary>When the viewport is resized, the callback is called.</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableResizeCb ContentViewportResizeCb {
- set { SetContentViewportResizeCb(value); }
- }
- /// <summary>Set the callback to run when the content has been moved to the left</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableCb ScrollLeftCb {
- set { SetScrollLeftCb(value); }
- }
- /// <summary>Set the callback to run when the vertical scrollbar is pressed.</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableCb VbarPressCb {
- set { SetVbarPressCb(value); }
- }
- /// <summary>Set the callback to run when the horizontal scrollbar is pressed.</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableCb HbarPressCb {
- set { SetHbarPressCb(value); }
- }
- /// <summary>Set the callback to run when the horizontal scrollbar is unpressed.</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableCb HbarUnpressCb {
- set { SetHbarUnpressCb(value); }
- }
- /// <summary>Set the callback to run when dragging of the contents has stopped.</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableCb DragStopCb {
- set { SetDragStopCb(value); }
- }
- /// <summary>Set the callback to run when scrolling of the contents has stopped.</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableCb ScrollStopCb {
- set { SetScrollStopCb(value); }
- }
- /// <summary>Extern pan</summary>
- /// <value>Pan object</value>
- public Efl.Canvas.Object ExternPan {
- set { SetExternPan(value); }
- }
- /// <summary>Set the callback to run when the visible page changes.</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableCb PageChangeCb {
- set { SetPageChangeCb(value); }
- }
- /// <summary>Hold property</summary>
- /// <value><c>true</c> if hold, <c>false</c> otherwise</value>
- public bool Hold {
- set { SetHold(value); }
- }
- /// <summary>Set the callback to run when the scrolling animation has started.</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableCb AnimateStartCb {
- set { SetAnimateStartCb(value); }
- }
- /// <summary>Set the callback to run when the content has been moved down.</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableCb ScrollDownCb {
- set { SetScrollDownCb(value); }
- }
- /// <summary>Set the callback to run when the content has been moved.</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableCb ScrollCb {
- set { SetScrollCb(value); }
- }
- /// <summary>Set the callback to run when the scrolling animation has stopped.</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableCb AnimateStopCb {
- set { SetAnimateStopCb(value); }
- }
- /// <summary>set the callback to run on minimal limit content</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableMinLimitCb ContentMinLimitCb {
- set { SetContentMinLimitCb(value); }
- }
- /// <summary>Set the callback to run when the content has been moved to the right.</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableCb ScrollRightCb {
- set { SetScrollRightCb(value); }
- }
- /// <summary>Content property</summary>
- /// <value>Content object</value>
- public Efl.Canvas.Object ScrollableContent {
- set { SetScrollableContent(value); }
- }
- /// <summary>Set the callback to run when the left edge of the content has been reached.</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableCb EdgeLeftCb {
- set { SetEdgeLeftCb(value); }
- }
- /// <summary>Set the callback to run when the horizontal scrollbar is dragged.</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableCb VbarDragCb {
- set { SetVbarDragCb(value); }
- }
- /// <summary>Set the callback to run when the horizontal scrollbar is unpressed.</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableCb VbarUnpressCb {
- set { SetVbarUnpressCb(value); }
- }
- /// <summary>Set the callback to run when the bottom edge of the content has been reached.</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableCb EdgeBottomCb {
- set { SetEdgeBottomCb(value); }
- }
- /// <summary>Set the callback to run when the right edge of the content has been reached.</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableCb EdgeRightCb {
- set { SetEdgeRightCb(value); }
- }
- /// <summary>Set the callback to run when the top edge of the content has been reached.</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableCb EdgeTopCb {
- set { SetEdgeTopCb(value); }
- }
- /// <summary>Whether scrolling should loop around.</summary>
- /// <value>True to enable looping.</value>
- public bool ItemLoopEnabled {
- get { return GetItemLoopEnabled(); }
- set { SetItemLoopEnabled(value); }
- }
private static IntPtr GetEflClassStatic()
{
return Efl.Ui.Panel.efl_ui_panel_class_get();
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_unset"), func = Marshal.GetFunctionPointerForDelegate(efl_content_unset_static_delegate) });
}
- if (efl_ui_widget_focus_manager_create_static_delegate == null)
+ if (efl_ui_scrollable_content_pos_get_static_delegate == null)
{
- efl_ui_widget_focus_manager_create_static_delegate = new efl_ui_widget_focus_manager_create_delegate(focus_manager_create);
+ efl_ui_scrollable_content_pos_get_static_delegate = new efl_ui_scrollable_content_pos_get_delegate(content_pos_get);
}
- if (methods.FirstOrDefault(m => m.Name == "FocusManagerCreate") != null)
+ if (methods.FirstOrDefault(m => m.Name == "GetContentPos") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_widget_focus_manager_create"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_widget_focus_manager_create_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_content_pos_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_content_pos_get_static_delegate) });
}
- if (efl_ui_focus_layer_enable_get_static_delegate == null)
+ if (efl_ui_scrollable_content_pos_set_static_delegate == null)
{
- efl_ui_focus_layer_enable_get_static_delegate = new efl_ui_focus_layer_enable_get_delegate(enable_get);
+ efl_ui_scrollable_content_pos_set_static_delegate = new efl_ui_scrollable_content_pos_set_delegate(content_pos_set);
}
- if (methods.FirstOrDefault(m => m.Name == "GetEnable") != null)
+ if (methods.FirstOrDefault(m => m.Name == "SetContentPos") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_layer_enable_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_layer_enable_get_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_content_pos_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_content_pos_set_static_delegate) });
}
- if (efl_ui_focus_layer_enable_set_static_delegate == null)
+ if (efl_ui_scrollable_content_size_get_static_delegate == null)
{
- efl_ui_focus_layer_enable_set_static_delegate = new efl_ui_focus_layer_enable_set_delegate(enable_set);
+ efl_ui_scrollable_content_size_get_static_delegate = new efl_ui_scrollable_content_size_get_delegate(content_size_get);
}
- if (methods.FirstOrDefault(m => m.Name == "SetEnable") != null)
+ if (methods.FirstOrDefault(m => m.Name == "GetContentSize") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_layer_enable_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_layer_enable_set_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_content_size_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_content_size_get_static_delegate) });
}
- if (efl_ui_focus_layer_behaviour_get_static_delegate == null)
+ if (efl_ui_scrollable_viewport_geometry_get_static_delegate == null)
{
- efl_ui_focus_layer_behaviour_get_static_delegate = new efl_ui_focus_layer_behaviour_get_delegate(behaviour_get);
+ efl_ui_scrollable_viewport_geometry_get_static_delegate = new efl_ui_scrollable_viewport_geometry_get_delegate(viewport_geometry_get);
}
- if (methods.FirstOrDefault(m => m.Name == "GetBehaviour") != null)
+ if (methods.FirstOrDefault(m => m.Name == "GetViewportGeometry") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_layer_behaviour_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_layer_behaviour_get_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_viewport_geometry_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_viewport_geometry_get_static_delegate) });
}
- if (efl_ui_focus_layer_behaviour_set_static_delegate == null)
+ if (efl_ui_scrollable_bounce_enabled_get_static_delegate == null)
{
- efl_ui_focus_layer_behaviour_set_static_delegate = new efl_ui_focus_layer_behaviour_set_delegate(behaviour_set);
+ efl_ui_scrollable_bounce_enabled_get_static_delegate = new efl_ui_scrollable_bounce_enabled_get_delegate(bounce_enabled_get);
}
- if (methods.FirstOrDefault(m => m.Name == "SetBehaviour") != null)
+ if (methods.FirstOrDefault(m => m.Name == "GetBounceEnabled") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_layer_behaviour_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_layer_behaviour_set_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_bounce_enabled_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_bounce_enabled_get_static_delegate) });
}
- if (efl_ui_focus_manager_focus_get_static_delegate == null)
+ if (efl_ui_scrollable_bounce_enabled_set_static_delegate == null)
{
- efl_ui_focus_manager_focus_get_static_delegate = new efl_ui_focus_manager_focus_get_delegate(manager_focus_get);
+ efl_ui_scrollable_bounce_enabled_set_static_delegate = new efl_ui_scrollable_bounce_enabled_set_delegate(bounce_enabled_set);
}
- if (methods.FirstOrDefault(m => m.Name == "GetManagerFocus") != null)
+ if (methods.FirstOrDefault(m => m.Name == "SetBounceEnabled") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_focus_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_focus_get_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_bounce_enabled_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_bounce_enabled_set_static_delegate) });
}
- if (efl_ui_focus_manager_focus_set_static_delegate == null)
+ if (efl_ui_scrollable_scroll_freeze_get_static_delegate == null)
{
- efl_ui_focus_manager_focus_set_static_delegate = new efl_ui_focus_manager_focus_set_delegate(manager_focus_set);
+ efl_ui_scrollable_scroll_freeze_get_static_delegate = new efl_ui_scrollable_scroll_freeze_get_delegate(scroll_freeze_get);
}
- if (methods.FirstOrDefault(m => m.Name == "SetManagerFocus") != null)
+ if (methods.FirstOrDefault(m => m.Name == "GetScrollFreeze") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_focus_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_focus_set_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_scroll_freeze_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_scroll_freeze_get_static_delegate) });
}
- if (efl_ui_focus_manager_redirect_get_static_delegate == null)
+ if (efl_ui_scrollable_scroll_freeze_set_static_delegate == null)
{
- efl_ui_focus_manager_redirect_get_static_delegate = new efl_ui_focus_manager_redirect_get_delegate(redirect_get);
+ efl_ui_scrollable_scroll_freeze_set_static_delegate = new efl_ui_scrollable_scroll_freeze_set_delegate(scroll_freeze_set);
}
- if (methods.FirstOrDefault(m => m.Name == "GetRedirect") != null)
+ if (methods.FirstOrDefault(m => m.Name == "SetScrollFreeze") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_redirect_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_redirect_get_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_scroll_freeze_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_scroll_freeze_set_static_delegate) });
}
- if (efl_ui_focus_manager_redirect_set_static_delegate == null)
+ if (efl_ui_scrollable_scroll_hold_get_static_delegate == null)
{
- efl_ui_focus_manager_redirect_set_static_delegate = new efl_ui_focus_manager_redirect_set_delegate(redirect_set);
+ efl_ui_scrollable_scroll_hold_get_static_delegate = new efl_ui_scrollable_scroll_hold_get_delegate(scroll_hold_get);
}
- if (methods.FirstOrDefault(m => m.Name == "SetRedirect") != null)
+ if (methods.FirstOrDefault(m => m.Name == "GetScrollHold") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_redirect_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_redirect_set_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_scroll_hold_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_scroll_hold_get_static_delegate) });
}
- if (efl_ui_focus_manager_border_elements_get_static_delegate == null)
+ if (efl_ui_scrollable_scroll_hold_set_static_delegate == null)
{
- efl_ui_focus_manager_border_elements_get_static_delegate = new efl_ui_focus_manager_border_elements_get_delegate(border_elements_get);
+ efl_ui_scrollable_scroll_hold_set_static_delegate = new efl_ui_scrollable_scroll_hold_set_delegate(scroll_hold_set);
}
- if (methods.FirstOrDefault(m => m.Name == "GetBorderElements") != null)
+ if (methods.FirstOrDefault(m => m.Name == "SetScrollHold") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_border_elements_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_border_elements_get_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_scroll_hold_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_scroll_hold_set_static_delegate) });
}
- if (efl_ui_focus_manager_viewport_elements_get_static_delegate == null)
+ if (efl_ui_scrollable_looping_get_static_delegate == null)
{
- efl_ui_focus_manager_viewport_elements_get_static_delegate = new efl_ui_focus_manager_viewport_elements_get_delegate(viewport_elements_get);
+ efl_ui_scrollable_looping_get_static_delegate = new efl_ui_scrollable_looping_get_delegate(looping_get);
}
- if (methods.FirstOrDefault(m => m.Name == "GetViewportElements") != null)
+ if (methods.FirstOrDefault(m => m.Name == "GetLooping") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_viewport_elements_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_viewport_elements_get_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_looping_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_looping_get_static_delegate) });
}
- if (efl_ui_focus_manager_root_get_static_delegate == null)
+ if (efl_ui_scrollable_looping_set_static_delegate == null)
{
- efl_ui_focus_manager_root_get_static_delegate = new efl_ui_focus_manager_root_get_delegate(root_get);
+ efl_ui_scrollable_looping_set_static_delegate = new efl_ui_scrollable_looping_set_delegate(looping_set);
}
- if (methods.FirstOrDefault(m => m.Name == "GetRoot") != null)
+ if (methods.FirstOrDefault(m => m.Name == "SetLooping") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_root_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_root_get_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_looping_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_looping_set_static_delegate) });
}
- if (efl_ui_focus_manager_root_set_static_delegate == null)
+ if (efl_ui_scrollable_movement_block_get_static_delegate == null)
{
- efl_ui_focus_manager_root_set_static_delegate = new efl_ui_focus_manager_root_set_delegate(root_set);
+ efl_ui_scrollable_movement_block_get_static_delegate = new efl_ui_scrollable_movement_block_get_delegate(movement_block_get);
}
- if (methods.FirstOrDefault(m => m.Name == "SetRoot") != null)
+ if (methods.FirstOrDefault(m => m.Name == "GetMovementBlock") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_root_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_root_set_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_movement_block_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_movement_block_get_static_delegate) });
}
- if (efl_ui_focus_manager_move_static_delegate == null)
+ if (efl_ui_scrollable_movement_block_set_static_delegate == null)
{
- efl_ui_focus_manager_move_static_delegate = new efl_ui_focus_manager_move_delegate(move);
+ efl_ui_scrollable_movement_block_set_static_delegate = new efl_ui_scrollable_movement_block_set_delegate(movement_block_set);
}
- if (methods.FirstOrDefault(m => m.Name == "Move") != null)
+ if (methods.FirstOrDefault(m => m.Name == "SetMovementBlock") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_move"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_move_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_movement_block_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_movement_block_set_static_delegate) });
}
- if (efl_ui_focus_manager_request_move_static_delegate == null)
+ if (efl_ui_scrollable_gravity_get_static_delegate == null)
{
- efl_ui_focus_manager_request_move_static_delegate = new efl_ui_focus_manager_request_move_delegate(request_move);
+ efl_ui_scrollable_gravity_get_static_delegate = new efl_ui_scrollable_gravity_get_delegate(gravity_get);
}
- if (methods.FirstOrDefault(m => m.Name == "MoveRequest") != null)
+ if (methods.FirstOrDefault(m => m.Name == "GetGravity") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_request_move"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_request_move_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_gravity_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_gravity_get_static_delegate) });
}
- if (efl_ui_focus_manager_request_subchild_static_delegate == null)
+ if (efl_ui_scrollable_gravity_set_static_delegate == null)
{
- efl_ui_focus_manager_request_subchild_static_delegate = new efl_ui_focus_manager_request_subchild_delegate(request_subchild);
+ efl_ui_scrollable_gravity_set_static_delegate = new efl_ui_scrollable_gravity_set_delegate(gravity_set);
}
- if (methods.FirstOrDefault(m => m.Name == "RequestSubchild") != null)
+ if (methods.FirstOrDefault(m => m.Name == "SetGravity") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_request_subchild"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_request_subchild_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_gravity_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_gravity_set_static_delegate) });
}
- if (efl_ui_focus_manager_fetch_static_delegate == null)
+ if (efl_ui_scrollable_match_content_set_static_delegate == null)
{
- efl_ui_focus_manager_fetch_static_delegate = new efl_ui_focus_manager_fetch_delegate(fetch);
+ efl_ui_scrollable_match_content_set_static_delegate = new efl_ui_scrollable_match_content_set_delegate(match_content_set);
}
- if (methods.FirstOrDefault(m => m.Name == "Fetch") != null)
+ if (methods.FirstOrDefault(m => m.Name == "SetMatchContent") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_fetch"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_fetch_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_match_content_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_match_content_set_static_delegate) });
}
- if (efl_ui_focus_manager_logical_end_static_delegate == null)
+ if (efl_ui_scrollable_step_size_get_static_delegate == null)
{
- efl_ui_focus_manager_logical_end_static_delegate = new efl_ui_focus_manager_logical_end_delegate(logical_end);
+ efl_ui_scrollable_step_size_get_static_delegate = new efl_ui_scrollable_step_size_get_delegate(step_size_get);
}
- if (methods.FirstOrDefault(m => m.Name == "LogicalEnd") != null)
+ if (methods.FirstOrDefault(m => m.Name == "GetStepSize") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_logical_end"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_logical_end_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_step_size_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_step_size_get_static_delegate) });
}
- if (efl_ui_focus_manager_reset_history_static_delegate == null)
+ if (efl_ui_scrollable_step_size_set_static_delegate == null)
{
- efl_ui_focus_manager_reset_history_static_delegate = new efl_ui_focus_manager_reset_history_delegate(reset_history);
+ efl_ui_scrollable_step_size_set_static_delegate = new efl_ui_scrollable_step_size_set_delegate(step_size_set);
}
- if (methods.FirstOrDefault(m => m.Name == "ResetHistory") != null)
+ if (methods.FirstOrDefault(m => m.Name == "SetStepSize") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_reset_history"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_reset_history_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_step_size_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_step_size_set_static_delegate) });
}
- if (efl_ui_focus_manager_pop_history_stack_static_delegate == null)
+ if (efl_ui_scrollable_scroll_static_delegate == null)
{
- efl_ui_focus_manager_pop_history_stack_static_delegate = new efl_ui_focus_manager_pop_history_stack_delegate(pop_history_stack);
+ efl_ui_scrollable_scroll_static_delegate = new efl_ui_scrollable_scroll_delegate(scroll);
}
- if (methods.FirstOrDefault(m => m.Name == "PopHistoryStack") != null)
+ if (methods.FirstOrDefault(m => m.Name == "Scroll") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_pop_history_stack"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_pop_history_stack_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_scroll"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_scroll_static_delegate) });
}
- if (efl_ui_focus_manager_setup_on_first_touch_static_delegate == null)
+ if (efl_ui_widget_focus_manager_create_static_delegate == null)
{
- efl_ui_focus_manager_setup_on_first_touch_static_delegate = new efl_ui_focus_manager_setup_on_first_touch_delegate(setup_on_first_touch);
+ efl_ui_widget_focus_manager_create_static_delegate = new efl_ui_widget_focus_manager_create_delegate(focus_manager_create);
}
- if (methods.FirstOrDefault(m => m.Name == "SetupOnFirstTouch") != null)
+ if (methods.FirstOrDefault(m => m.Name == "FocusManagerCreate") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_setup_on_first_touch"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_setup_on_first_touch_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_widget_focus_manager_create"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_widget_focus_manager_create_static_delegate) });
}
- if (efl_ui_focus_manager_dirty_logic_freeze_static_delegate == null)
+ if (efl_ui_focus_layer_enable_get_static_delegate == null)
{
- efl_ui_focus_manager_dirty_logic_freeze_static_delegate = new efl_ui_focus_manager_dirty_logic_freeze_delegate(dirty_logic_freeze);
+ efl_ui_focus_layer_enable_get_static_delegate = new efl_ui_focus_layer_enable_get_delegate(enable_get);
}
- if (methods.FirstOrDefault(m => m.Name == "FreezeDirtyLogic") != null)
+ if (methods.FirstOrDefault(m => m.Name == "GetEnable") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_dirty_logic_freeze"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_dirty_logic_freeze_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_layer_enable_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_layer_enable_get_static_delegate) });
}
- if (efl_ui_focus_manager_dirty_logic_unfreeze_static_delegate == null)
+ if (efl_ui_focus_layer_enable_set_static_delegate == null)
{
- efl_ui_focus_manager_dirty_logic_unfreeze_static_delegate = new efl_ui_focus_manager_dirty_logic_unfreeze_delegate(dirty_logic_unfreeze);
+ efl_ui_focus_layer_enable_set_static_delegate = new efl_ui_focus_layer_enable_set_delegate(enable_set);
}
- if (methods.FirstOrDefault(m => m.Name == "DirtyLogicUnfreeze") != null)
+ if (methods.FirstOrDefault(m => m.Name == "SetEnable") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_dirty_logic_unfreeze"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_dirty_logic_unfreeze_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_layer_enable_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_layer_enable_set_static_delegate) });
}
- if (elm_interface_scrollable_gravity_get_static_delegate == null)
+ if (efl_ui_focus_layer_behaviour_get_static_delegate == null)
{
- elm_interface_scrollable_gravity_get_static_delegate = new elm_interface_scrollable_gravity_get_delegate(gravity_get);
+ efl_ui_focus_layer_behaviour_get_static_delegate = new efl_ui_focus_layer_behaviour_get_delegate(behaviour_get);
}
- if (methods.FirstOrDefault(m => m.Name == "GetGravity") != null)
+ if (methods.FirstOrDefault(m => m.Name == "GetBehaviour") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_gravity_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_gravity_get_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_layer_behaviour_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_layer_behaviour_get_static_delegate) });
}
- if (elm_interface_scrollable_gravity_set_static_delegate == null)
+ if (efl_ui_focus_layer_behaviour_set_static_delegate == null)
{
- elm_interface_scrollable_gravity_set_static_delegate = new elm_interface_scrollable_gravity_set_delegate(gravity_set);
+ efl_ui_focus_layer_behaviour_set_static_delegate = new efl_ui_focus_layer_behaviour_set_delegate(behaviour_set);
}
- if (methods.FirstOrDefault(m => m.Name == "SetGravity") != null)
+ if (methods.FirstOrDefault(m => m.Name == "SetBehaviour") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_gravity_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_gravity_set_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_layer_behaviour_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_layer_behaviour_set_static_delegate) });
}
- if (elm_interface_scrollable_bounce_allow_get_static_delegate == null)
+ if (efl_ui_focus_manager_focus_get_static_delegate == null)
{
- elm_interface_scrollable_bounce_allow_get_static_delegate = new elm_interface_scrollable_bounce_allow_get_delegate(bounce_allow_get);
+ efl_ui_focus_manager_focus_get_static_delegate = new efl_ui_focus_manager_focus_get_delegate(manager_focus_get);
}
- if (methods.FirstOrDefault(m => m.Name == "GetBounceAllow") != null)
+ if (methods.FirstOrDefault(m => m.Name == "GetManagerFocus") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_bounce_allow_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_bounce_allow_get_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_focus_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_focus_get_static_delegate) });
}
- if (elm_interface_scrollable_bounce_allow_set_static_delegate == null)
+ if (efl_ui_focus_manager_focus_set_static_delegate == null)
{
- elm_interface_scrollable_bounce_allow_set_static_delegate = new elm_interface_scrollable_bounce_allow_set_delegate(bounce_allow_set);
+ efl_ui_focus_manager_focus_set_static_delegate = new efl_ui_focus_manager_focus_set_delegate(manager_focus_set);
}
- if (methods.FirstOrDefault(m => m.Name == "SetBounceAllow") != null)
+ if (methods.FirstOrDefault(m => m.Name == "SetManagerFocus") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_bounce_allow_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_bounce_allow_set_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_focus_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_focus_set_static_delegate) });
}
- if (elm_interface_scrollable_wheel_disabled_get_static_delegate == null)
+ if (efl_ui_focus_manager_redirect_get_static_delegate == null)
{
- elm_interface_scrollable_wheel_disabled_get_static_delegate = new elm_interface_scrollable_wheel_disabled_get_delegate(wheel_disabled_get);
+ efl_ui_focus_manager_redirect_get_static_delegate = new efl_ui_focus_manager_redirect_get_delegate(redirect_get);
}
- if (methods.FirstOrDefault(m => m.Name == "GetWheelDisabled") != null)
+ if (methods.FirstOrDefault(m => m.Name == "GetRedirect") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_wheel_disabled_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_wheel_disabled_get_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_redirect_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_redirect_get_static_delegate) });
}
- if (elm_interface_scrollable_wheel_disabled_set_static_delegate == null)
+ if (efl_ui_focus_manager_redirect_set_static_delegate == null)
{
- elm_interface_scrollable_wheel_disabled_set_static_delegate = new elm_interface_scrollable_wheel_disabled_set_delegate(wheel_disabled_set);
+ efl_ui_focus_manager_redirect_set_static_delegate = new efl_ui_focus_manager_redirect_set_delegate(redirect_set);
}
- if (methods.FirstOrDefault(m => m.Name == "SetWheelDisabled") != null)
+ if (methods.FirstOrDefault(m => m.Name == "SetRedirect") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_wheel_disabled_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_wheel_disabled_set_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_redirect_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_redirect_set_static_delegate) });
}
- if (elm_interface_scrollable_movement_block_get_static_delegate == null)
+ if (efl_ui_focus_manager_border_elements_get_static_delegate == null)
{
- elm_interface_scrollable_movement_block_get_static_delegate = new elm_interface_scrollable_movement_block_get_delegate(movement_block_get);
+ efl_ui_focus_manager_border_elements_get_static_delegate = new efl_ui_focus_manager_border_elements_get_delegate(border_elements_get);
}
- if (methods.FirstOrDefault(m => m.Name == "GetMovementBlock") != null)
+ if (methods.FirstOrDefault(m => m.Name == "GetBorderElements") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_movement_block_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_movement_block_get_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_border_elements_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_border_elements_get_static_delegate) });
}
- if (elm_interface_scrollable_movement_block_set_static_delegate == null)
+ if (efl_ui_focus_manager_viewport_elements_get_static_delegate == null)
{
- elm_interface_scrollable_movement_block_set_static_delegate = new elm_interface_scrollable_movement_block_set_delegate(movement_block_set);
+ efl_ui_focus_manager_viewport_elements_get_static_delegate = new efl_ui_focus_manager_viewport_elements_get_delegate(viewport_elements_get);
}
- if (methods.FirstOrDefault(m => m.Name == "SetMovementBlock") != null)
+ if (methods.FirstOrDefault(m => m.Name == "GetViewportElements") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_movement_block_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_movement_block_set_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_viewport_elements_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_viewport_elements_get_static_delegate) });
}
- if (elm_interface_scrollable_momentum_animator_disabled_get_static_delegate == null)
+ if (efl_ui_focus_manager_root_get_static_delegate == null)
{
- elm_interface_scrollable_momentum_animator_disabled_get_static_delegate = new elm_interface_scrollable_momentum_animator_disabled_get_delegate(momentum_animator_disabled_get);
+ efl_ui_focus_manager_root_get_static_delegate = new efl_ui_focus_manager_root_get_delegate(root_get);
}
- if (methods.FirstOrDefault(m => m.Name == "GetMomentumAnimatorDisabled") != null)
+ if (methods.FirstOrDefault(m => m.Name == "GetRoot") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_momentum_animator_disabled_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_momentum_animator_disabled_get_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_root_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_root_get_static_delegate) });
}
- if (elm_interface_scrollable_momentum_animator_disabled_set_static_delegate == null)
+ if (efl_ui_focus_manager_root_set_static_delegate == null)
{
- elm_interface_scrollable_momentum_animator_disabled_set_static_delegate = new elm_interface_scrollable_momentum_animator_disabled_set_delegate(momentum_animator_disabled_set);
+ efl_ui_focus_manager_root_set_static_delegate = new efl_ui_focus_manager_root_set_delegate(root_set);
}
- if (methods.FirstOrDefault(m => m.Name == "SetMomentumAnimatorDisabled") != null)
+ if (methods.FirstOrDefault(m => m.Name == "SetRoot") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_momentum_animator_disabled_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_momentum_animator_disabled_set_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_root_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_root_set_static_delegate) });
}
- if (elm_interface_scrollable_policy_get_static_delegate == null)
+ if (efl_ui_focus_manager_move_static_delegate == null)
{
- elm_interface_scrollable_policy_get_static_delegate = new elm_interface_scrollable_policy_get_delegate(policy_get);
+ efl_ui_focus_manager_move_static_delegate = new efl_ui_focus_manager_move_delegate(move);
}
- if (methods.FirstOrDefault(m => m.Name == "GetPolicy") != null)
+ if (methods.FirstOrDefault(m => m.Name == "Move") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_policy_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_policy_get_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_move"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_move_static_delegate) });
}
- if (elm_interface_scrollable_policy_set_static_delegate == null)
+ if (efl_ui_focus_manager_request_move_static_delegate == null)
{
- elm_interface_scrollable_policy_set_static_delegate = new elm_interface_scrollable_policy_set_delegate(policy_set);
+ efl_ui_focus_manager_request_move_static_delegate = new efl_ui_focus_manager_request_move_delegate(request_move);
}
- if (methods.FirstOrDefault(m => m.Name == "SetPolicy") != null)
+ if (methods.FirstOrDefault(m => m.Name == "MoveRequest") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_policy_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_policy_set_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_request_move"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_request_move_static_delegate) });
}
- if (elm_interface_scrollable_content_region_get_static_delegate == null)
+ if (efl_ui_focus_manager_request_subchild_static_delegate == null)
{
- elm_interface_scrollable_content_region_get_static_delegate = new elm_interface_scrollable_content_region_get_delegate(content_region_get);
+ efl_ui_focus_manager_request_subchild_static_delegate = new efl_ui_focus_manager_request_subchild_delegate(request_subchild);
}
- if (methods.FirstOrDefault(m => m.Name == "GetContentRegion") != null)
+ if (methods.FirstOrDefault(m => m.Name == "RequestSubchild") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_content_region_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_content_region_get_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_request_subchild"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_request_subchild_static_delegate) });
}
- if (elm_interface_scrollable_content_region_set_static_delegate == null)
+ if (efl_ui_focus_manager_fetch_static_delegate == null)
{
- elm_interface_scrollable_content_region_set_static_delegate = new elm_interface_scrollable_content_region_set_delegate(content_region_set);
+ efl_ui_focus_manager_fetch_static_delegate = new efl_ui_focus_manager_fetch_delegate(fetch);
}
- if (methods.FirstOrDefault(m => m.Name == "SetContentRegion") != null)
+ if (methods.FirstOrDefault(m => m.Name == "Fetch") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_content_region_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_content_region_set_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_fetch"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_fetch_static_delegate) });
}
- if (elm_interface_scrollable_content_events_get_static_delegate == null)
+ if (efl_ui_focus_manager_logical_end_static_delegate == null)
{
- elm_interface_scrollable_content_events_get_static_delegate = new elm_interface_scrollable_content_events_get_delegate(content_events_get);
+ efl_ui_focus_manager_logical_end_static_delegate = new efl_ui_focus_manager_logical_end_delegate(logical_end);
}
- if (methods.FirstOrDefault(m => m.Name == "GetContentEvents") != null)
+ if (methods.FirstOrDefault(m => m.Name == "LogicalEnd") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_content_events_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_content_events_get_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_logical_end"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_logical_end_static_delegate) });
}
- if (elm_interface_scrollable_content_events_set_static_delegate == null)
+ if (efl_ui_focus_manager_reset_history_static_delegate == null)
{
- elm_interface_scrollable_content_events_set_static_delegate = new elm_interface_scrollable_content_events_set_delegate(content_events_set);
+ efl_ui_focus_manager_reset_history_static_delegate = new efl_ui_focus_manager_reset_history_delegate(reset_history);
}
- if (methods.FirstOrDefault(m => m.Name == "SetContentEvents") != null)
+ if (methods.FirstOrDefault(m => m.Name == "ResetHistory") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_content_events_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_content_events_set_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_reset_history"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_reset_history_static_delegate) });
}
- if (elm_interface_scrollable_page_size_get_static_delegate == null)
+ if (efl_ui_focus_manager_pop_history_stack_static_delegate == null)
{
- elm_interface_scrollable_page_size_get_static_delegate = new elm_interface_scrollable_page_size_get_delegate(page_size_get);
+ efl_ui_focus_manager_pop_history_stack_static_delegate = new efl_ui_focus_manager_pop_history_stack_delegate(pop_history_stack);
}
- if (methods.FirstOrDefault(m => m.Name == "GetPageSize") != null)
+ if (methods.FirstOrDefault(m => m.Name == "PopHistoryStack") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_page_size_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_page_size_get_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_pop_history_stack"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_pop_history_stack_static_delegate) });
}
- if (elm_interface_scrollable_page_size_set_static_delegate == null)
+ if (efl_ui_focus_manager_setup_on_first_touch_static_delegate == null)
{
- elm_interface_scrollable_page_size_set_static_delegate = new elm_interface_scrollable_page_size_set_delegate(page_size_set);
+ efl_ui_focus_manager_setup_on_first_touch_static_delegate = new efl_ui_focus_manager_setup_on_first_touch_delegate(setup_on_first_touch);
}
- if (methods.FirstOrDefault(m => m.Name == "SetPageSize") != null)
+ if (methods.FirstOrDefault(m => m.Name == "SetupOnFirstTouch") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_page_size_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_page_size_set_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_setup_on_first_touch"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_setup_on_first_touch_static_delegate) });
}
- if (elm_interface_scrollable_bounce_animator_disabled_get_static_delegate == null)
+ if (efl_ui_focus_manager_dirty_logic_freeze_static_delegate == null)
{
- elm_interface_scrollable_bounce_animator_disabled_get_static_delegate = new elm_interface_scrollable_bounce_animator_disabled_get_delegate(bounce_animator_disabled_get);
+ efl_ui_focus_manager_dirty_logic_freeze_static_delegate = new efl_ui_focus_manager_dirty_logic_freeze_delegate(dirty_logic_freeze);
}
- if (methods.FirstOrDefault(m => m.Name == "GetBounceAnimatorDisabled") != null)
+ if (methods.FirstOrDefault(m => m.Name == "FreezeDirtyLogic") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_bounce_animator_disabled_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_bounce_animator_disabled_get_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_dirty_logic_freeze"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_dirty_logic_freeze_static_delegate) });
}
- if (elm_interface_scrollable_bounce_animator_disabled_set_static_delegate == null)
+ if (efl_ui_focus_manager_dirty_logic_unfreeze_static_delegate == null)
{
- elm_interface_scrollable_bounce_animator_disabled_set_static_delegate = new elm_interface_scrollable_bounce_animator_disabled_set_delegate(bounce_animator_disabled_set);
+ efl_ui_focus_manager_dirty_logic_unfreeze_static_delegate = new efl_ui_focus_manager_dirty_logic_unfreeze_delegate(dirty_logic_unfreeze);
}
- if (methods.FirstOrDefault(m => m.Name == "SetBounceAnimatorDisabled") != null)
+ if (methods.FirstOrDefault(m => m.Name == "DirtyLogicUnfreeze") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_bounce_animator_disabled_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_bounce_animator_disabled_set_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_dirty_logic_unfreeze"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_dirty_logic_unfreeze_static_delegate) });
}
- if (elm_interface_scrollable_page_scroll_limit_get_static_delegate == null)
- {
- elm_interface_scrollable_page_scroll_limit_get_static_delegate = new elm_interface_scrollable_page_scroll_limit_get_delegate(page_scroll_limit_get);
- }
+ 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.Panel.efl_ui_panel_class_get();
+ }
- if (methods.FirstOrDefault(m => m.Name == "GetPageScrollLimit") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_page_scroll_limit_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_page_scroll_limit_get_static_delegate) });
- }
+ #pragma warning disable CA1707, CS1591, SA1300, SA1600
- if (elm_interface_scrollable_page_scroll_limit_set_static_delegate == null)
- {
- elm_interface_scrollable_page_scroll_limit_set_static_delegate = new elm_interface_scrollable_page_scroll_limit_set_delegate(page_scroll_limit_set);
- }
+
+ private delegate Efl.Ui.PanelOrient efl_ui_panel_orient_get_delegate(System.IntPtr obj, System.IntPtr pd);
- if (methods.FirstOrDefault(m => m.Name == "SetPageScrollLimit") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_page_scroll_limit_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_page_scroll_limit_set_static_delegate) });
- }
+
+ public delegate Efl.Ui.PanelOrient efl_ui_panel_orient_get_api_delegate(System.IntPtr obj);
- if (elm_interface_scrollable_page_snap_allow_get_static_delegate == null)
- {
- elm_interface_scrollable_page_snap_allow_get_static_delegate = new elm_interface_scrollable_page_snap_allow_get_delegate(page_snap_allow_get);
- }
+ public static Efl.Eo.FunctionWrapper<efl_ui_panel_orient_get_api_delegate> efl_ui_panel_orient_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_panel_orient_get_api_delegate>(Module, "efl_ui_panel_orient_get");
- if (methods.FirstOrDefault(m => m.Name == "GetPageSnapAllow") != null)
+ private static Efl.Ui.PanelOrient orient_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_panel_orient_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_page_snap_allow_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_page_snap_allow_get_static_delegate) });
- }
+ Efl.Ui.PanelOrient _ret_var = default(Efl.Ui.PanelOrient);
+ try
+ {
+ _ret_var = ((Panel)ws.Target).GetOrient();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
- if (elm_interface_scrollable_page_snap_allow_set_static_delegate == null)
- {
- elm_interface_scrollable_page_snap_allow_set_static_delegate = new elm_interface_scrollable_page_snap_allow_set_delegate(page_snap_allow_set);
- }
+ return _ret_var;
- if (methods.FirstOrDefault(m => m.Name == "SetPageSnapAllow") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_page_snap_allow_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_page_snap_allow_set_static_delegate) });
}
-
- if (elm_interface_scrollable_paging_get_static_delegate == null)
+ else
{
- elm_interface_scrollable_paging_get_static_delegate = new elm_interface_scrollable_paging_get_delegate(paging_get);
+ return efl_ui_panel_orient_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
+ }
- if (methods.FirstOrDefault(m => m.Name == "GetPaging") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_paging_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_paging_get_static_delegate) });
- }
+ private static efl_ui_panel_orient_get_delegate efl_ui_panel_orient_get_static_delegate;
- if (elm_interface_scrollable_paging_set_static_delegate == null)
- {
- elm_interface_scrollable_paging_set_static_delegate = new elm_interface_scrollable_paging_set_delegate(paging_set);
- }
+
+ private delegate void efl_ui_panel_orient_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.PanelOrient orient);
- if (methods.FirstOrDefault(m => m.Name == "SetPaging") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_paging_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_paging_set_static_delegate) });
- }
+
+ public delegate void efl_ui_panel_orient_set_api_delegate(System.IntPtr obj, Efl.Ui.PanelOrient orient);
- if (elm_interface_scrollable_single_direction_get_static_delegate == null)
- {
- elm_interface_scrollable_single_direction_get_static_delegate = new elm_interface_scrollable_single_direction_get_delegate(single_direction_get);
- }
+ public static Efl.Eo.FunctionWrapper<efl_ui_panel_orient_set_api_delegate> efl_ui_panel_orient_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_panel_orient_set_api_delegate>(Module, "efl_ui_panel_orient_set");
- if (methods.FirstOrDefault(m => m.Name == "GetSingleDirection") != null)
+ private static void orient_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.PanelOrient orient)
+ {
+ Eina.Log.Debug("function efl_ui_panel_orient_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_single_direction_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_single_direction_get_static_delegate) });
- }
+
+ try
+ {
+ ((Panel)ws.Target).SetOrient(orient);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
- if (elm_interface_scrollable_single_direction_set_static_delegate == null)
- {
- elm_interface_scrollable_single_direction_set_static_delegate = new elm_interface_scrollable_single_direction_set_delegate(single_direction_set);
+
}
-
- if (methods.FirstOrDefault(m => m.Name == "SetSingleDirection") != null)
+ else
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_single_direction_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_single_direction_set_static_delegate) });
+ efl_ui_panel_orient_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), orient);
}
+ }
- if (elm_interface_scrollable_step_size_get_static_delegate == null)
- {
- elm_interface_scrollable_step_size_get_static_delegate = new elm_interface_scrollable_step_size_get_delegate(step_size_get);
- }
+ private static efl_ui_panel_orient_set_delegate efl_ui_panel_orient_set_static_delegate;
- if (methods.FirstOrDefault(m => m.Name == "GetStepSize") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_step_size_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_step_size_get_static_delegate) });
- }
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_ui_panel_hidden_get_delegate(System.IntPtr obj, System.IntPtr pd);
- if (elm_interface_scrollable_step_size_set_static_delegate == null)
- {
- elm_interface_scrollable_step_size_set_static_delegate = new elm_interface_scrollable_step_size_set_delegate(step_size_set);
- }
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_ui_panel_hidden_get_api_delegate(System.IntPtr obj);
- if (methods.FirstOrDefault(m => m.Name == "SetStepSize") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_step_size_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_step_size_set_static_delegate) });
- }
+ public static Efl.Eo.FunctionWrapper<efl_ui_panel_hidden_get_api_delegate> efl_ui_panel_hidden_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_panel_hidden_get_api_delegate>(Module, "efl_ui_panel_hidden_get");
- if (elm_interface_scrollable_content_loop_get_static_delegate == null)
- {
- elm_interface_scrollable_content_loop_get_static_delegate = new elm_interface_scrollable_content_loop_get_delegate(content_loop_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetContentLoop") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_content_loop_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_content_loop_get_static_delegate) });
- }
-
- if (elm_interface_scrollable_content_loop_set_static_delegate == null)
- {
- elm_interface_scrollable_content_loop_set_static_delegate = new elm_interface_scrollable_content_loop_set_delegate(content_loop_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetContentLoop") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_content_loop_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_content_loop_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_scroll_up_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_scroll_up_cb_set_static_delegate = new elm_interface_scrollable_scroll_up_cb_set_delegate(scroll_up_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetScrollUpCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_scroll_up_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_scroll_up_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_hbar_drag_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_hbar_drag_cb_set_static_delegate = new elm_interface_scrollable_hbar_drag_cb_set_delegate(hbar_drag_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetHbarDragCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_hbar_drag_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_hbar_drag_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_drag_start_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_drag_start_cb_set_static_delegate = new elm_interface_scrollable_drag_start_cb_set_delegate(drag_start_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetDragStartCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_drag_start_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_drag_start_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_scroll_start_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_scroll_start_cb_set_static_delegate = new elm_interface_scrollable_scroll_start_cb_set_delegate(scroll_start_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetScrollStartCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_scroll_start_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_scroll_start_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_freeze_set_static_delegate == null)
- {
- elm_interface_scrollable_freeze_set_static_delegate = new elm_interface_scrollable_freeze_set_delegate(freeze_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetFreeze") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_freeze_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_freeze_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_content_viewport_resize_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_content_viewport_resize_cb_set_static_delegate = new elm_interface_scrollable_content_viewport_resize_cb_set_delegate(content_viewport_resize_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetContentViewportResizeCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_content_viewport_resize_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_content_viewport_resize_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_scroll_left_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_scroll_left_cb_set_static_delegate = new elm_interface_scrollable_scroll_left_cb_set_delegate(scroll_left_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetScrollLeftCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_scroll_left_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_scroll_left_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_vbar_press_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_vbar_press_cb_set_static_delegate = new elm_interface_scrollable_vbar_press_cb_set_delegate(vbar_press_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetVbarPressCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_vbar_press_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_vbar_press_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_hbar_press_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_hbar_press_cb_set_static_delegate = new elm_interface_scrollable_hbar_press_cb_set_delegate(hbar_press_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetHbarPressCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_hbar_press_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_hbar_press_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_hbar_unpress_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_hbar_unpress_cb_set_static_delegate = new elm_interface_scrollable_hbar_unpress_cb_set_delegate(hbar_unpress_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetHbarUnpressCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_hbar_unpress_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_hbar_unpress_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_drag_stop_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_drag_stop_cb_set_static_delegate = new elm_interface_scrollable_drag_stop_cb_set_delegate(drag_stop_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetDragStopCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_drag_stop_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_drag_stop_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_scroll_stop_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_scroll_stop_cb_set_static_delegate = new elm_interface_scrollable_scroll_stop_cb_set_delegate(scroll_stop_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetScrollStopCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_scroll_stop_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_scroll_stop_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_extern_pan_set_static_delegate == null)
- {
- elm_interface_scrollable_extern_pan_set_static_delegate = new elm_interface_scrollable_extern_pan_set_delegate(extern_pan_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetExternPan") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_extern_pan_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_extern_pan_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_page_change_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_page_change_cb_set_static_delegate = new elm_interface_scrollable_page_change_cb_set_delegate(page_change_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetPageChangeCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_page_change_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_page_change_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_hold_set_static_delegate == null)
- {
- elm_interface_scrollable_hold_set_static_delegate = new elm_interface_scrollable_hold_set_delegate(hold_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetHold") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_hold_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_hold_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_animate_start_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_animate_start_cb_set_static_delegate = new elm_interface_scrollable_animate_start_cb_set_delegate(animate_start_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetAnimateStartCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_animate_start_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_animate_start_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_scroll_down_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_scroll_down_cb_set_static_delegate = new elm_interface_scrollable_scroll_down_cb_set_delegate(scroll_down_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetScrollDownCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_scroll_down_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_scroll_down_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_page_relative_set_static_delegate == null)
- {
- elm_interface_scrollable_page_relative_set_static_delegate = new elm_interface_scrollable_page_relative_set_delegate(page_relative_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetPageRelative") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_page_relative_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_page_relative_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_scroll_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_scroll_cb_set_static_delegate = new elm_interface_scrollable_scroll_cb_set_delegate(scroll_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetScrollCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_scroll_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_scroll_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_animate_stop_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_animate_stop_cb_set_static_delegate = new elm_interface_scrollable_animate_stop_cb_set_delegate(animate_stop_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetAnimateStopCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_animate_stop_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_animate_stop_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_content_min_limit_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_content_min_limit_cb_set_static_delegate = new elm_interface_scrollable_content_min_limit_cb_set_delegate(content_min_limit_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetContentMinLimitCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_content_min_limit_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_content_min_limit_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_scroll_right_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_scroll_right_cb_set_static_delegate = new elm_interface_scrollable_scroll_right_cb_set_delegate(scroll_right_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetScrollRightCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_scroll_right_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_scroll_right_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_content_set_static_delegate == null)
- {
- elm_interface_scrollable_content_set_static_delegate = new elm_interface_scrollable_content_set_delegate(scrollable_content_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetScrollableContent") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_content_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_content_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_edge_left_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_edge_left_cb_set_static_delegate = new elm_interface_scrollable_edge_left_cb_set_delegate(edge_left_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetEdgeLeftCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_edge_left_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_edge_left_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_vbar_drag_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_vbar_drag_cb_set_static_delegate = new elm_interface_scrollable_vbar_drag_cb_set_delegate(vbar_drag_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetVbarDragCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_vbar_drag_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_vbar_drag_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_vbar_unpress_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_vbar_unpress_cb_set_static_delegate = new elm_interface_scrollable_vbar_unpress_cb_set_delegate(vbar_unpress_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetVbarUnpressCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_vbar_unpress_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_vbar_unpress_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_edge_bottom_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_edge_bottom_cb_set_static_delegate = new elm_interface_scrollable_edge_bottom_cb_set_delegate(edge_bottom_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetEdgeBottomCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_edge_bottom_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_edge_bottom_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_edge_right_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_edge_right_cb_set_static_delegate = new elm_interface_scrollable_edge_right_cb_set_delegate(edge_right_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetEdgeRightCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_edge_right_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_edge_right_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_edge_top_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_edge_top_cb_set_static_delegate = new elm_interface_scrollable_edge_top_cb_set_delegate(edge_top_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetEdgeTopCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_edge_top_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_edge_top_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_objects_set_static_delegate == null)
- {
- elm_interface_scrollable_objects_set_static_delegate = new elm_interface_scrollable_objects_set_delegate(objects_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetObjects") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_objects_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_objects_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_last_page_get_static_delegate == null)
- {
- elm_interface_scrollable_last_page_get_static_delegate = new elm_interface_scrollable_last_page_get_delegate(last_page_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetLastPage") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_last_page_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_last_page_get_static_delegate) });
- }
-
- if (elm_interface_scrollable_current_page_get_static_delegate == null)
- {
- elm_interface_scrollable_current_page_get_static_delegate = new elm_interface_scrollable_current_page_get_delegate(current_page_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetCurrentPage") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_current_page_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_current_page_get_static_delegate) });
- }
-
- if (elm_interface_scrollable_content_viewport_geometry_get_static_delegate == null)
- {
- elm_interface_scrollable_content_viewport_geometry_get_static_delegate = new elm_interface_scrollable_content_viewport_geometry_get_delegate(content_viewport_geometry_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetContentViewportGeometry") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_content_viewport_geometry_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_content_viewport_geometry_get_static_delegate) });
- }
-
- if (elm_interface_scrollable_content_size_get_static_delegate == null)
- {
- elm_interface_scrollable_content_size_get_static_delegate = new elm_interface_scrollable_content_size_get_delegate(content_size_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetContentSize") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_content_size_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_content_size_get_static_delegate) });
- }
-
- if (elm_interface_scrollable_item_loop_enabled_get_static_delegate == null)
- {
- elm_interface_scrollable_item_loop_enabled_get_static_delegate = new elm_interface_scrollable_item_loop_enabled_get_delegate(item_loop_enabled_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetItemLoopEnabled") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_item_loop_enabled_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_item_loop_enabled_get_static_delegate) });
- }
-
- if (elm_interface_scrollable_item_loop_enabled_set_static_delegate == null)
- {
- elm_interface_scrollable_item_loop_enabled_set_static_delegate = new elm_interface_scrollable_item_loop_enabled_set_delegate(item_loop_enabled_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetItemLoopEnabled") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_item_loop_enabled_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_item_loop_enabled_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_content_pos_set_static_delegate == null)
- {
- elm_interface_scrollable_content_pos_set_static_delegate = new elm_interface_scrollable_content_pos_set_delegate(content_pos_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetContentPos") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_content_pos_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_content_pos_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_content_pos_get_static_delegate == null)
- {
- elm_interface_scrollable_content_pos_get_static_delegate = new elm_interface_scrollable_content_pos_get_delegate(content_pos_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetContentPos") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_content_pos_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_content_pos_get_static_delegate) });
- }
-
- if (elm_interface_scrollable_page_show_static_delegate == null)
- {
- elm_interface_scrollable_page_show_static_delegate = new elm_interface_scrollable_page_show_delegate(page_show);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "ShowPage") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_page_show"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_page_show_static_delegate) });
- }
-
- if (elm_interface_scrollable_region_bring_in_static_delegate == null)
- {
- elm_interface_scrollable_region_bring_in_static_delegate = new elm_interface_scrollable_region_bring_in_delegate(region_bring_in);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "RegionBringIn") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_region_bring_in"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_region_bring_in_static_delegate) });
- }
-
- if (elm_interface_scrollable_page_bring_in_static_delegate == null)
- {
- elm_interface_scrollable_page_bring_in_static_delegate = new elm_interface_scrollable_page_bring_in_delegate(page_bring_in);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "PageBringIn") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_page_bring_in"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_page_bring_in_static_delegate) });
- }
-
- if (elm_interface_scrollable_content_region_show_static_delegate == null)
- {
- elm_interface_scrollable_content_region_show_static_delegate = new elm_interface_scrollable_content_region_show_delegate(content_region_show);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "ShowContentRegion") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_content_region_show"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_content_region_show_static_delegate) });
- }
-
- if (elm_interface_scrollable_content_min_limit_static_delegate == null)
- {
- elm_interface_scrollable_content_min_limit_static_delegate = new elm_interface_scrollable_content_min_limit_delegate(content_min_limit);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "ContentMinLimit") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_content_min_limit"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_content_min_limit_static_delegate) });
- }
-
- if (elm_interface_scrollable_wanted_region_set_static_delegate == null)
- {
- elm_interface_scrollable_wanted_region_set_static_delegate = new elm_interface_scrollable_wanted_region_set_delegate(wanted_region_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetWantedRegion") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_wanted_region_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_wanted_region_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_custom_pan_pos_adjust_static_delegate == null)
- {
- elm_interface_scrollable_custom_pan_pos_adjust_static_delegate = new elm_interface_scrollable_custom_pan_pos_adjust_delegate(custom_pan_pos_adjust);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "CustomPanPosAdjust") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_custom_pan_pos_adjust"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_custom_pan_pos_adjust_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.Panel.efl_ui_panel_class_get();
- }
-
- #pragma warning disable CA1707, CS1591, SA1300, SA1600
-
-
- private delegate Efl.Ui.PanelOrient efl_ui_panel_orient_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate Efl.Ui.PanelOrient efl_ui_panel_orient_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_panel_orient_get_api_delegate> efl_ui_panel_orient_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_panel_orient_get_api_delegate>(Module, "efl_ui_panel_orient_get");
-
- private static Efl.Ui.PanelOrient orient_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_panel_orient_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Efl.Ui.PanelOrient _ret_var = default(Efl.Ui.PanelOrient);
- try
- {
- _ret_var = ((Panel)ws.Target).GetOrient();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_panel_orient_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_panel_orient_get_delegate efl_ui_panel_orient_get_static_delegate;
-
-
- private delegate void efl_ui_panel_orient_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.PanelOrient orient);
-
-
- public delegate void efl_ui_panel_orient_set_api_delegate(System.IntPtr obj, Efl.Ui.PanelOrient orient);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_panel_orient_set_api_delegate> efl_ui_panel_orient_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_panel_orient_set_api_delegate>(Module, "efl_ui_panel_orient_set");
-
- private static void orient_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.PanelOrient orient)
- {
- Eina.Log.Debug("function efl_ui_panel_orient_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Panel)ws.Target).SetOrient(orient);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_panel_orient_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), orient);
- }
- }
-
- private static efl_ui_panel_orient_set_delegate efl_ui_panel_orient_set_static_delegate;
-
- [return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_ui_panel_hidden_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- [return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_ui_panel_hidden_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_panel_hidden_get_api_delegate> efl_ui_panel_hidden_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_panel_hidden_get_api_delegate>(Module, "efl_ui_panel_hidden_get");
-
- private static bool hidden_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_panel_hidden_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- bool _ret_var = default(bool);
- try
- {
- _ret_var = ((Panel)ws.Target).GetHidden();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_panel_hidden_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_panel_hidden_get_delegate efl_ui_panel_hidden_get_static_delegate;
-
-
- private delegate void efl_ui_panel_hidden_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool hidden);
-
-
- public delegate void efl_ui_panel_hidden_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool hidden);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_panel_hidden_set_api_delegate> efl_ui_panel_hidden_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_panel_hidden_set_api_delegate>(Module, "efl_ui_panel_hidden_set");
-
- private static void hidden_set(System.IntPtr obj, System.IntPtr pd, bool hidden)
- {
- Eina.Log.Debug("function efl_ui_panel_hidden_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Panel)ws.Target).SetHidden(hidden);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_panel_hidden_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), hidden);
- }
- }
-
- private static efl_ui_panel_hidden_set_delegate efl_ui_panel_hidden_set_static_delegate;
-
- [return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_ui_panel_scrollable_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- [return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_ui_panel_scrollable_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_panel_scrollable_get_api_delegate> efl_ui_panel_scrollable_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_panel_scrollable_get_api_delegate>(Module, "efl_ui_panel_scrollable_get");
-
- private static bool scrollable_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_panel_scrollable_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- bool _ret_var = default(bool);
- try
- {
- _ret_var = ((Panel)ws.Target).GetScrollable();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_panel_scrollable_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_panel_scrollable_get_delegate efl_ui_panel_scrollable_get_static_delegate;
-
-
- private delegate void efl_ui_panel_scrollable_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool scrollable);
-
-
- public delegate void efl_ui_panel_scrollable_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool scrollable);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_panel_scrollable_set_api_delegate> efl_ui_panel_scrollable_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_panel_scrollable_set_api_delegate>(Module, "efl_ui_panel_scrollable_set");
-
- private static void scrollable_set(System.IntPtr obj, System.IntPtr pd, bool scrollable)
- {
- Eina.Log.Debug("function efl_ui_panel_scrollable_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Panel)ws.Target).SetScrollable(scrollable);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_panel_scrollable_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), scrollable);
- }
- }
-
- private static efl_ui_panel_scrollable_set_delegate efl_ui_panel_scrollable_set_static_delegate;
-
-
- private delegate double efl_ui_panel_scrollable_content_size_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate double efl_ui_panel_scrollable_content_size_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_panel_scrollable_content_size_get_api_delegate> efl_ui_panel_scrollable_content_size_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_panel_scrollable_content_size_get_api_delegate>(Module, "efl_ui_panel_scrollable_content_size_get");
-
- private static double scrollable_content_size_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_panel_scrollable_content_size_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- double _ret_var = default(double);
- try
- {
- _ret_var = ((Panel)ws.Target).GetScrollableContentSize();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_panel_scrollable_content_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_panel_scrollable_content_size_get_delegate efl_ui_panel_scrollable_content_size_get_static_delegate;
-
-
- private delegate void efl_ui_panel_scrollable_content_size_set_delegate(System.IntPtr obj, System.IntPtr pd, double ratio);
-
-
- public delegate void efl_ui_panel_scrollable_content_size_set_api_delegate(System.IntPtr obj, double ratio);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_panel_scrollable_content_size_set_api_delegate> efl_ui_panel_scrollable_content_size_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_panel_scrollable_content_size_set_api_delegate>(Module, "efl_ui_panel_scrollable_content_size_set");
-
- private static void scrollable_content_size_set(System.IntPtr obj, System.IntPtr pd, double ratio)
- {
- Eina.Log.Debug("function efl_ui_panel_scrollable_content_size_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Panel)ws.Target).SetScrollableContentSize(ratio);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_panel_scrollable_content_size_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), ratio);
- }
- }
-
- private static efl_ui_panel_scrollable_content_size_set_delegate efl_ui_panel_scrollable_content_size_set_static_delegate;
-
-
- private delegate void efl_ui_panel_toggle_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate void efl_ui_panel_toggle_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_panel_toggle_api_delegate> efl_ui_panel_toggle_ptr = new Efl.Eo.FunctionWrapper<efl_ui_panel_toggle_api_delegate>(Module, "efl_ui_panel_toggle");
-
- private static void toggle(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_panel_toggle was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Panel)ws.Target).Toggle();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_panel_toggle_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_panel_toggle_delegate efl_ui_panel_toggle_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);
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- public delegate Efl.Gfx.IEntity efl_content_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_content_get_api_delegate> efl_content_get_ptr = new Efl.Eo.FunctionWrapper<efl_content_get_api_delegate>(Module, "efl_content_get");
-
- private static Efl.Gfx.IEntity content_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_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 = ((Panel)ws.Target).GetContent();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_content_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_content_get_delegate efl_content_get_static_delegate;
-
- [return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_content_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity content);
-
- [return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_content_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity content);
-
- public static Efl.Eo.FunctionWrapper<efl_content_set_api_delegate> efl_content_set_ptr = new Efl.Eo.FunctionWrapper<efl_content_set_api_delegate>(Module, "efl_content_set");
-
- private static bool content_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity content)
- {
- Eina.Log.Debug("function efl_content_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- bool _ret_var = default(bool);
- try
- {
- _ret_var = ((Panel)ws.Target).SetContent(content);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_content_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), content);
- }
- }
-
- private static efl_content_set_delegate efl_content_set_static_delegate;
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- private delegate Efl.Gfx.IEntity efl_content_unset_delegate(System.IntPtr obj, System.IntPtr pd);
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- public delegate Efl.Gfx.IEntity efl_content_unset_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_content_unset_api_delegate> efl_content_unset_ptr = new Efl.Eo.FunctionWrapper<efl_content_unset_api_delegate>(Module, "efl_content_unset");
-
- private static Efl.Gfx.IEntity content_unset(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_content_unset was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
- try
- {
- _ret_var = ((Panel)ws.Target).UnsetContent();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_content_unset_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_content_unset_delegate efl_content_unset_static_delegate;
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- private delegate Efl.Ui.Focus.IManager efl_ui_widget_focus_manager_create_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject root);
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- public delegate Efl.Ui.Focus.IManager efl_ui_widget_focus_manager_create_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject root);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_widget_focus_manager_create_api_delegate> efl_ui_widget_focus_manager_create_ptr = new Efl.Eo.FunctionWrapper<efl_ui_widget_focus_manager_create_api_delegate>(Module, "efl_ui_widget_focus_manager_create");
-
- private static Efl.Ui.Focus.IManager focus_manager_create(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IObject root)
- {
- Eina.Log.Debug("function efl_ui_widget_focus_manager_create was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Efl.Ui.Focus.IManager _ret_var = default(Efl.Ui.Focus.IManager);
- try
- {
- _ret_var = ((Panel)ws.Target).FocusManagerCreate(root);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_widget_focus_manager_create_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), root);
- }
- }
-
- private static efl_ui_widget_focus_manager_create_delegate efl_ui_widget_focus_manager_create_static_delegate;
-
- [return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_ui_focus_layer_enable_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- [return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_ui_focus_layer_enable_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_focus_layer_enable_get_api_delegate> efl_ui_focus_layer_enable_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_layer_enable_get_api_delegate>(Module, "efl_ui_focus_layer_enable_get");
-
- private static bool enable_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_focus_layer_enable_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- bool _ret_var = default(bool);
- try
- {
- _ret_var = ((Panel)ws.Target).GetEnable();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_focus_layer_enable_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_focus_layer_enable_get_delegate efl_ui_focus_layer_enable_get_static_delegate;
-
-
- private delegate void efl_ui_focus_layer_enable_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool v);
-
-
- public delegate void efl_ui_focus_layer_enable_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool v);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_focus_layer_enable_set_api_delegate> efl_ui_focus_layer_enable_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_layer_enable_set_api_delegate>(Module, "efl_ui_focus_layer_enable_set");
-
- private static void enable_set(System.IntPtr obj, System.IntPtr pd, bool v)
- {
- Eina.Log.Debug("function efl_ui_focus_layer_enable_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Panel)ws.Target).SetEnable(v);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_focus_layer_enable_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), v);
- }
- }
-
- private static efl_ui_focus_layer_enable_set_delegate efl_ui_focus_layer_enable_set_static_delegate;
-
-
- private delegate void efl_ui_focus_layer_behaviour_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] out bool enable_on_visible, [MarshalAs(UnmanagedType.U1)] out bool cycle);
-
-
- public delegate void efl_ui_focus_layer_behaviour_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] out bool enable_on_visible, [MarshalAs(UnmanagedType.U1)] out bool cycle);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_focus_layer_behaviour_get_api_delegate> efl_ui_focus_layer_behaviour_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_layer_behaviour_get_api_delegate>(Module, "efl_ui_focus_layer_behaviour_get");
-
- private static void behaviour_get(System.IntPtr obj, System.IntPtr pd, out bool enable_on_visible, out bool cycle)
- {
- Eina.Log.Debug("function efl_ui_focus_layer_behaviour_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- enable_on_visible = default(bool); cycle = default(bool);
- try
- {
- ((Panel)ws.Target).GetBehaviour(out enable_on_visible, out cycle);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_focus_layer_behaviour_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out enable_on_visible, out cycle);
- }
- }
-
- private static efl_ui_focus_layer_behaviour_get_delegate efl_ui_focus_layer_behaviour_get_static_delegate;
-
-
- private delegate void efl_ui_focus_layer_behaviour_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool enable_on_visible, [MarshalAs(UnmanagedType.U1)] bool cycle);
-
-
- public delegate void efl_ui_focus_layer_behaviour_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool enable_on_visible, [MarshalAs(UnmanagedType.U1)] bool cycle);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_focus_layer_behaviour_set_api_delegate> efl_ui_focus_layer_behaviour_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_layer_behaviour_set_api_delegate>(Module, "efl_ui_focus_layer_behaviour_set");
-
- private static void behaviour_set(System.IntPtr obj, System.IntPtr pd, bool enable_on_visible, bool cycle)
- {
- Eina.Log.Debug("function efl_ui_focus_layer_behaviour_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Panel)ws.Target).SetBehaviour(enable_on_visible, cycle);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_focus_layer_behaviour_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), enable_on_visible, cycle);
- }
- }
-
- private static efl_ui_focus_layer_behaviour_set_delegate efl_ui_focus_layer_behaviour_set_static_delegate;
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- private delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_focus_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- public delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_focus_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_focus_get_api_delegate> efl_ui_focus_manager_focus_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_focus_get_api_delegate>(Module, "efl_ui_focus_manager_focus_get");
-
- private static Efl.Ui.Focus.IObject manager_focus_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_focus_manager_focus_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject);
- try
- {
- _ret_var = ((Panel)ws.Target).GetManagerFocus();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_focus_manager_focus_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_focus_manager_focus_get_delegate efl_ui_focus_manager_focus_get_static_delegate;
-
-
- private delegate void efl_ui_focus_manager_focus_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject focus);
-
-
- public delegate void efl_ui_focus_manager_focus_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject focus);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_focus_set_api_delegate> efl_ui_focus_manager_focus_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_focus_set_api_delegate>(Module, "efl_ui_focus_manager_focus_set");
-
- private static void manager_focus_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IObject focus)
- {
- Eina.Log.Debug("function efl_ui_focus_manager_focus_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Panel)ws.Target).SetManagerFocus(focus);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_focus_manager_focus_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), focus);
- }
- }
-
- private static efl_ui_focus_manager_focus_set_delegate efl_ui_focus_manager_focus_set_static_delegate;
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- private delegate Efl.Ui.Focus.IManager efl_ui_focus_manager_redirect_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- public delegate Efl.Ui.Focus.IManager efl_ui_focus_manager_redirect_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_redirect_get_api_delegate> efl_ui_focus_manager_redirect_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_redirect_get_api_delegate>(Module, "efl_ui_focus_manager_redirect_get");
-
- private static Efl.Ui.Focus.IManager redirect_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_focus_manager_redirect_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Efl.Ui.Focus.IManager _ret_var = default(Efl.Ui.Focus.IManager);
- try
- {
- _ret_var = ((Panel)ws.Target).GetRedirect();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_focus_manager_redirect_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_focus_manager_redirect_get_delegate efl_ui_focus_manager_redirect_get_static_delegate;
-
-
- private delegate void efl_ui_focus_manager_redirect_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IManager redirect);
-
-
- public delegate void efl_ui_focus_manager_redirect_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IManager redirect);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_redirect_set_api_delegate> efl_ui_focus_manager_redirect_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_redirect_set_api_delegate>(Module, "efl_ui_focus_manager_redirect_set");
-
- private static void redirect_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IManager redirect)
- {
- Eina.Log.Debug("function efl_ui_focus_manager_redirect_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Panel)ws.Target).SetRedirect(redirect);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_focus_manager_redirect_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), redirect);
- }
- }
-
- private static efl_ui_focus_manager_redirect_set_delegate efl_ui_focus_manager_redirect_set_static_delegate;
-
-
- private delegate System.IntPtr efl_ui_focus_manager_border_elements_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate System.IntPtr efl_ui_focus_manager_border_elements_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_border_elements_get_api_delegate> efl_ui_focus_manager_border_elements_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_border_elements_get_api_delegate>(Module, "efl_ui_focus_manager_border_elements_get");
-
- private static System.IntPtr border_elements_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_focus_manager_border_elements_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Eina.Iterator<Efl.Ui.Focus.IObject> _ret_var = default(Eina.Iterator<Efl.Ui.Focus.IObject>);
- try
- {
- _ret_var = ((Panel)ws.Target).GetBorderElements();
- }
- 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_focus_manager_border_elements_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_focus_manager_border_elements_get_delegate efl_ui_focus_manager_border_elements_get_static_delegate;
-
-
- private delegate System.IntPtr efl_ui_focus_manager_viewport_elements_get_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct viewport);
-
-
- public delegate System.IntPtr efl_ui_focus_manager_viewport_elements_get_api_delegate(System.IntPtr obj, Eina.Rect.NativeStruct viewport);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_viewport_elements_get_api_delegate> efl_ui_focus_manager_viewport_elements_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_viewport_elements_get_api_delegate>(Module, "efl_ui_focus_manager_viewport_elements_get");
-
- private static System.IntPtr viewport_elements_get(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct viewport)
- {
- Eina.Log.Debug("function efl_ui_focus_manager_viewport_elements_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Eina.Rect _in_viewport = viewport;
- Eina.Iterator<Efl.Ui.Focus.IObject> _ret_var = default(Eina.Iterator<Efl.Ui.Focus.IObject>);
- try
- {
- _ret_var = ((Panel)ws.Target).GetViewportElements(_in_viewport);
- }
- 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_focus_manager_viewport_elements_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), viewport);
- }
- }
-
- private static efl_ui_focus_manager_viewport_elements_get_delegate efl_ui_focus_manager_viewport_elements_get_static_delegate;
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- private delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_root_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- public delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_root_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_root_get_api_delegate> efl_ui_focus_manager_root_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_root_get_api_delegate>(Module, "efl_ui_focus_manager_root_get");
-
- private static Efl.Ui.Focus.IObject root_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_focus_manager_root_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject);
- try
- {
- _ret_var = ((Panel)ws.Target).GetRoot();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_focus_manager_root_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_focus_manager_root_get_delegate efl_ui_focus_manager_root_get_static_delegate;
-
- [return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_ui_focus_manager_root_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject root);
-
- [return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_ui_focus_manager_root_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject root);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_root_set_api_delegate> efl_ui_focus_manager_root_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_root_set_api_delegate>(Module, "efl_ui_focus_manager_root_set");
-
- private static bool root_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IObject root)
- {
- Eina.Log.Debug("function efl_ui_focus_manager_root_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- bool _ret_var = default(bool);
- try
- {
- _ret_var = ((Panel)ws.Target).SetRoot(root);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_focus_manager_root_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), root);
- }
- }
-
- private static efl_ui_focus_manager_root_set_delegate efl_ui_focus_manager_root_set_static_delegate;
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- private delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_move_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.Direction direction);
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- public delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_move_api_delegate(System.IntPtr obj, Efl.Ui.Focus.Direction direction);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_move_api_delegate> efl_ui_focus_manager_move_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_move_api_delegate>(Module, "efl_ui_focus_manager_move");
-
- private static Efl.Ui.Focus.IObject move(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.Direction direction)
- {
- Eina.Log.Debug("function efl_ui_focus_manager_move was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject);
- try
- {
- _ret_var = ((Panel)ws.Target).Move(direction);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_focus_manager_move_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), direction);
- }
- }
-
- private static efl_ui_focus_manager_move_delegate efl_ui_focus_manager_move_static_delegate;
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- private delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_request_move_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.Direction direction, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject child, [MarshalAs(UnmanagedType.U1)] bool logical);
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- public delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_request_move_api_delegate(System.IntPtr obj, Efl.Ui.Focus.Direction direction, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject child, [MarshalAs(UnmanagedType.U1)] bool logical);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_request_move_api_delegate> efl_ui_focus_manager_request_move_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_request_move_api_delegate>(Module, "efl_ui_focus_manager_request_move");
-
- private static Efl.Ui.Focus.IObject request_move(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.Direction direction, Efl.Ui.Focus.IObject child, bool logical)
- {
- Eina.Log.Debug("function efl_ui_focus_manager_request_move was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject);
- try
- {
- _ret_var = ((Panel)ws.Target).MoveRequest(direction, child, logical);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_focus_manager_request_move_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), direction, child, logical);
- }
- }
-
- private static efl_ui_focus_manager_request_move_delegate efl_ui_focus_manager_request_move_static_delegate;
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- private delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_request_subchild_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject root);
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- public delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_request_subchild_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject root);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_request_subchild_api_delegate> efl_ui_focus_manager_request_subchild_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_request_subchild_api_delegate>(Module, "efl_ui_focus_manager_request_subchild");
-
- private static Efl.Ui.Focus.IObject request_subchild(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IObject root)
- {
- Eina.Log.Debug("function efl_ui_focus_manager_request_subchild was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject);
- try
- {
- _ret_var = ((Panel)ws.Target).RequestSubchild(root);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_focus_manager_request_subchild_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), root);
- }
- }
-
- private static efl_ui_focus_manager_request_subchild_delegate efl_ui_focus_manager_request_subchild_static_delegate;
-
-
- private delegate System.IntPtr efl_ui_focus_manager_fetch_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject child);
-
-
- public delegate System.IntPtr efl_ui_focus_manager_fetch_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject child);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_fetch_api_delegate> efl_ui_focus_manager_fetch_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_fetch_api_delegate>(Module, "efl_ui_focus_manager_fetch");
-
- private static System.IntPtr fetch(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IObject child)
- {
- Eina.Log.Debug("function efl_ui_focus_manager_fetch was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Efl.Ui.Focus.Relations _ret_var = default(Efl.Ui.Focus.Relations);
- try
- {
- _ret_var = ((Panel)ws.Target).Fetch(child);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return Eina.PrimitiveConversion.ManagedToPointerAlloc(_ret_var);
-
- }
- else
- {
- return efl_ui_focus_manager_fetch_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), child);
- }
- }
-
- private static efl_ui_focus_manager_fetch_delegate efl_ui_focus_manager_fetch_static_delegate;
-
-
- private delegate Efl.Ui.Focus.ManagerLogicalEndDetail.NativeStruct efl_ui_focus_manager_logical_end_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate Efl.Ui.Focus.ManagerLogicalEndDetail.NativeStruct efl_ui_focus_manager_logical_end_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_logical_end_api_delegate> efl_ui_focus_manager_logical_end_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_logical_end_api_delegate>(Module, "efl_ui_focus_manager_logical_end");
-
- private static Efl.Ui.Focus.ManagerLogicalEndDetail.NativeStruct logical_end(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_focus_manager_logical_end was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Efl.Ui.Focus.ManagerLogicalEndDetail _ret_var = default(Efl.Ui.Focus.ManagerLogicalEndDetail);
- try
- {
- _ret_var = ((Panel)ws.Target).LogicalEnd();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_focus_manager_logical_end_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_focus_manager_logical_end_delegate efl_ui_focus_manager_logical_end_static_delegate;
-
-
- private delegate void efl_ui_focus_manager_reset_history_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate void efl_ui_focus_manager_reset_history_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_reset_history_api_delegate> efl_ui_focus_manager_reset_history_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_reset_history_api_delegate>(Module, "efl_ui_focus_manager_reset_history");
-
- private static void reset_history(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_focus_manager_reset_history was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Panel)ws.Target).ResetHistory();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_focus_manager_reset_history_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_focus_manager_reset_history_delegate efl_ui_focus_manager_reset_history_static_delegate;
-
-
- private delegate void efl_ui_focus_manager_pop_history_stack_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate void efl_ui_focus_manager_pop_history_stack_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_pop_history_stack_api_delegate> efl_ui_focus_manager_pop_history_stack_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_pop_history_stack_api_delegate>(Module, "efl_ui_focus_manager_pop_history_stack");
-
- private static void pop_history_stack(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_focus_manager_pop_history_stack was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Panel)ws.Target).PopHistoryStack();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_focus_manager_pop_history_stack_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_focus_manager_pop_history_stack_delegate efl_ui_focus_manager_pop_history_stack_static_delegate;
-
-
- private delegate void efl_ui_focus_manager_setup_on_first_touch_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.Direction direction, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject entry);
-
-
- public delegate void efl_ui_focus_manager_setup_on_first_touch_api_delegate(System.IntPtr obj, Efl.Ui.Focus.Direction direction, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject entry);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_setup_on_first_touch_api_delegate> efl_ui_focus_manager_setup_on_first_touch_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_setup_on_first_touch_api_delegate>(Module, "efl_ui_focus_manager_setup_on_first_touch");
-
- private static void setup_on_first_touch(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.Direction direction, Efl.Ui.Focus.IObject entry)
- {
- Eina.Log.Debug("function efl_ui_focus_manager_setup_on_first_touch was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Panel)ws.Target).SetupOnFirstTouch(direction, entry);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_focus_manager_setup_on_first_touch_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), direction, entry);
- }
- }
-
- private static efl_ui_focus_manager_setup_on_first_touch_delegate efl_ui_focus_manager_setup_on_first_touch_static_delegate;
-
-
- private delegate void efl_ui_focus_manager_dirty_logic_freeze_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate void efl_ui_focus_manager_dirty_logic_freeze_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_dirty_logic_freeze_api_delegate> efl_ui_focus_manager_dirty_logic_freeze_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_dirty_logic_freeze_api_delegate>(Module, "efl_ui_focus_manager_dirty_logic_freeze");
-
- private static void dirty_logic_freeze(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_focus_manager_dirty_logic_freeze was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Panel)ws.Target).FreezeDirtyLogic();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_focus_manager_dirty_logic_freeze_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_focus_manager_dirty_logic_freeze_delegate efl_ui_focus_manager_dirty_logic_freeze_static_delegate;
-
-
- private delegate void efl_ui_focus_manager_dirty_logic_unfreeze_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate void efl_ui_focus_manager_dirty_logic_unfreeze_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_dirty_logic_unfreeze_api_delegate> efl_ui_focus_manager_dirty_logic_unfreeze_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_dirty_logic_unfreeze_api_delegate>(Module, "efl_ui_focus_manager_dirty_logic_unfreeze");
-
- private static void dirty_logic_unfreeze(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_focus_manager_dirty_logic_unfreeze was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Panel)ws.Target).DirtyLogicUnfreeze();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_focus_manager_dirty_logic_unfreeze_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_focus_manager_dirty_logic_unfreeze_delegate efl_ui_focus_manager_dirty_logic_unfreeze_static_delegate;
-
-
- private delegate void elm_interface_scrollable_gravity_get_delegate(System.IntPtr obj, System.IntPtr pd, out double x, out double y);
-
-
- public delegate void elm_interface_scrollable_gravity_get_api_delegate(System.IntPtr obj, out double x, out double y);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_gravity_get_api_delegate> elm_interface_scrollable_gravity_get_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_gravity_get_api_delegate>(Module, "elm_interface_scrollable_gravity_get");
-
- private static void gravity_get(System.IntPtr obj, System.IntPtr pd, out double x, out double y)
- {
- Eina.Log.Debug("function elm_interface_scrollable_gravity_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- x = default(double); y = default(double);
- try
- {
- ((Panel)ws.Target).GetGravity(out x, out y);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_gravity_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out x, out y);
- }
- }
-
- private static elm_interface_scrollable_gravity_get_delegate elm_interface_scrollable_gravity_get_static_delegate;
-
-
- private delegate void elm_interface_scrollable_gravity_set_delegate(System.IntPtr obj, System.IntPtr pd, double x, double y);
-
-
- public delegate void elm_interface_scrollable_gravity_set_api_delegate(System.IntPtr obj, double x, double y);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_gravity_set_api_delegate> elm_interface_scrollable_gravity_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_gravity_set_api_delegate>(Module, "elm_interface_scrollable_gravity_set");
-
- private static void gravity_set(System.IntPtr obj, System.IntPtr pd, double x, double y)
- {
- Eina.Log.Debug("function elm_interface_scrollable_gravity_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Panel)ws.Target).SetGravity(x, y);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_gravity_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y);
- }
- }
-
- private static elm_interface_scrollable_gravity_set_delegate elm_interface_scrollable_gravity_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_bounce_allow_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] out bool horiz, [MarshalAs(UnmanagedType.U1)] out bool vert);
-
-
- public delegate void elm_interface_scrollable_bounce_allow_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] out bool horiz, [MarshalAs(UnmanagedType.U1)] out bool vert);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_bounce_allow_get_api_delegate> elm_interface_scrollable_bounce_allow_get_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_bounce_allow_get_api_delegate>(Module, "elm_interface_scrollable_bounce_allow_get");
-
- private static void bounce_allow_get(System.IntPtr obj, System.IntPtr pd, out bool horiz, out bool vert)
- {
- Eina.Log.Debug("function elm_interface_scrollable_bounce_allow_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- horiz = default(bool); vert = default(bool);
- try
- {
- ((Panel)ws.Target).GetBounceAllow(out horiz, out vert);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_bounce_allow_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out horiz, out vert);
- }
- }
-
- private static elm_interface_scrollable_bounce_allow_get_delegate elm_interface_scrollable_bounce_allow_get_static_delegate;
-
-
- private delegate void elm_interface_scrollable_bounce_allow_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool horiz, [MarshalAs(UnmanagedType.U1)] bool vert);
-
-
- public delegate void elm_interface_scrollable_bounce_allow_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool horiz, [MarshalAs(UnmanagedType.U1)] bool vert);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_bounce_allow_set_api_delegate> elm_interface_scrollable_bounce_allow_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_bounce_allow_set_api_delegate>(Module, "elm_interface_scrollable_bounce_allow_set");
-
- private static void bounce_allow_set(System.IntPtr obj, System.IntPtr pd, bool horiz, bool vert)
- {
- Eina.Log.Debug("function elm_interface_scrollable_bounce_allow_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Panel)ws.Target).SetBounceAllow(horiz, vert);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_bounce_allow_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), horiz, vert);
- }
- }
-
- private static elm_interface_scrollable_bounce_allow_set_delegate elm_interface_scrollable_bounce_allow_set_static_delegate;
-
- [return: MarshalAs(UnmanagedType.U1)]
- private delegate bool elm_interface_scrollable_wheel_disabled_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- [return: MarshalAs(UnmanagedType.U1)]
- public delegate bool elm_interface_scrollable_wheel_disabled_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_wheel_disabled_get_api_delegate> elm_interface_scrollable_wheel_disabled_get_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_wheel_disabled_get_api_delegate>(Module, "elm_interface_scrollable_wheel_disabled_get");
-
- private static bool wheel_disabled_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function elm_interface_scrollable_wheel_disabled_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- bool _ret_var = default(bool);
- try
- {
- _ret_var = ((Panel)ws.Target).GetWheelDisabled();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return elm_interface_scrollable_wheel_disabled_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static elm_interface_scrollable_wheel_disabled_get_delegate elm_interface_scrollable_wheel_disabled_get_static_delegate;
-
-
- private delegate void elm_interface_scrollable_wheel_disabled_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool disabled);
-
-
- public delegate void elm_interface_scrollable_wheel_disabled_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool disabled);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_wheel_disabled_set_api_delegate> elm_interface_scrollable_wheel_disabled_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_wheel_disabled_set_api_delegate>(Module, "elm_interface_scrollable_wheel_disabled_set");
-
- private static void wheel_disabled_set(System.IntPtr obj, System.IntPtr pd, bool disabled)
- {
- Eina.Log.Debug("function elm_interface_scrollable_wheel_disabled_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Panel)ws.Target).SetWheelDisabled(disabled);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_wheel_disabled_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), disabled);
- }
- }
-
- private static elm_interface_scrollable_wheel_disabled_set_delegate elm_interface_scrollable_wheel_disabled_set_static_delegate;
-
-
- private delegate Efl.Ui.ScrollBlock elm_interface_scrollable_movement_block_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate Efl.Ui.ScrollBlock elm_interface_scrollable_movement_block_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_movement_block_get_api_delegate> elm_interface_scrollable_movement_block_get_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_movement_block_get_api_delegate>(Module, "elm_interface_scrollable_movement_block_get");
-
- private static Efl.Ui.ScrollBlock movement_block_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function elm_interface_scrollable_movement_block_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Efl.Ui.ScrollBlock _ret_var = default(Efl.Ui.ScrollBlock);
- try
- {
- _ret_var = ((Panel)ws.Target).GetMovementBlock();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return elm_interface_scrollable_movement_block_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static elm_interface_scrollable_movement_block_get_delegate elm_interface_scrollable_movement_block_get_static_delegate;
-
-
- private delegate void elm_interface_scrollable_movement_block_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ScrollBlock block);
-
-
- public delegate void elm_interface_scrollable_movement_block_set_api_delegate(System.IntPtr obj, Efl.Ui.ScrollBlock block);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_movement_block_set_api_delegate> elm_interface_scrollable_movement_block_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_movement_block_set_api_delegate>(Module, "elm_interface_scrollable_movement_block_set");
-
- private static void movement_block_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ScrollBlock block)
- {
- Eina.Log.Debug("function elm_interface_scrollable_movement_block_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Panel)ws.Target).SetMovementBlock(block);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_movement_block_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), block);
- }
- }
-
- private static elm_interface_scrollable_movement_block_set_delegate elm_interface_scrollable_movement_block_set_static_delegate;
-
- [return: MarshalAs(UnmanagedType.U1)]
- private delegate bool elm_interface_scrollable_momentum_animator_disabled_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- [return: MarshalAs(UnmanagedType.U1)]
- public delegate bool elm_interface_scrollable_momentum_animator_disabled_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_momentum_animator_disabled_get_api_delegate> elm_interface_scrollable_momentum_animator_disabled_get_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_momentum_animator_disabled_get_api_delegate>(Module, "elm_interface_scrollable_momentum_animator_disabled_get");
-
- private static bool momentum_animator_disabled_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function elm_interface_scrollable_momentum_animator_disabled_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- bool _ret_var = default(bool);
- try
- {
- _ret_var = ((Panel)ws.Target).GetMomentumAnimatorDisabled();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return elm_interface_scrollable_momentum_animator_disabled_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static elm_interface_scrollable_momentum_animator_disabled_get_delegate elm_interface_scrollable_momentum_animator_disabled_get_static_delegate;
-
-
- private delegate void elm_interface_scrollable_momentum_animator_disabled_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool disabled);
-
-
- public delegate void elm_interface_scrollable_momentum_animator_disabled_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool disabled);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_momentum_animator_disabled_set_api_delegate> elm_interface_scrollable_momentum_animator_disabled_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_momentum_animator_disabled_set_api_delegate>(Module, "elm_interface_scrollable_momentum_animator_disabled_set");
-
- private static void momentum_animator_disabled_set(System.IntPtr obj, System.IntPtr pd, bool disabled)
- {
- Eina.Log.Debug("function elm_interface_scrollable_momentum_animator_disabled_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Panel)ws.Target).SetMomentumAnimatorDisabled(disabled);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_momentum_animator_disabled_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), disabled);
- }
- }
-
- private static elm_interface_scrollable_momentum_animator_disabled_set_delegate elm_interface_scrollable_momentum_animator_disabled_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_policy_get_delegate(System.IntPtr obj, System.IntPtr pd, out Elm.Scroller.Policy hbar, out Elm.Scroller.Policy vbar);
-
-
- public delegate void elm_interface_scrollable_policy_get_api_delegate(System.IntPtr obj, out Elm.Scroller.Policy hbar, out Elm.Scroller.Policy vbar);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_policy_get_api_delegate> elm_interface_scrollable_policy_get_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_policy_get_api_delegate>(Module, "elm_interface_scrollable_policy_get");
-
- private static void policy_get(System.IntPtr obj, System.IntPtr pd, out Elm.Scroller.Policy hbar, out Elm.Scroller.Policy vbar)
- {
- Eina.Log.Debug("function elm_interface_scrollable_policy_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- hbar = default(Elm.Scroller.Policy); vbar = default(Elm.Scroller.Policy);
- try
- {
- ((Panel)ws.Target).GetPolicy(out hbar, out vbar);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_policy_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out hbar, out vbar);
- }
- }
-
- private static elm_interface_scrollable_policy_get_delegate elm_interface_scrollable_policy_get_static_delegate;
-
-
- private delegate void elm_interface_scrollable_policy_set_delegate(System.IntPtr obj, System.IntPtr pd, Elm.Scroller.Policy hbar, Elm.Scroller.Policy vbar);
-
-
- public delegate void elm_interface_scrollable_policy_set_api_delegate(System.IntPtr obj, Elm.Scroller.Policy hbar, Elm.Scroller.Policy vbar);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_policy_set_api_delegate> elm_interface_scrollable_policy_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_policy_set_api_delegate>(Module, "elm_interface_scrollable_policy_set");
-
- private static void policy_set(System.IntPtr obj, System.IntPtr pd, Elm.Scroller.Policy hbar, Elm.Scroller.Policy vbar)
- {
- Eina.Log.Debug("function elm_interface_scrollable_policy_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Panel)ws.Target).SetPolicy(hbar, vbar);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_policy_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), hbar, vbar);
- }
- }
-
- private static elm_interface_scrollable_policy_set_delegate elm_interface_scrollable_policy_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_content_region_get_delegate(System.IntPtr obj, System.IntPtr pd, out int x, out int y, out int w, out int h);
-
-
- public delegate void elm_interface_scrollable_content_region_get_api_delegate(System.IntPtr obj, out int x, out int y, out int w, out int h);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_region_get_api_delegate> elm_interface_scrollable_content_region_get_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_region_get_api_delegate>(Module, "elm_interface_scrollable_content_region_get");
-
- private static void content_region_get(System.IntPtr obj, System.IntPtr pd, out int x, out int y, out int w, out int h)
- {
- Eina.Log.Debug("function elm_interface_scrollable_content_region_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- x = default(int); y = default(int); w = default(int); h = default(int);
- try
- {
- ((Panel)ws.Target).GetContentRegion(out x, out y, out w, out h);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_content_region_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out x, out y, out w, out h);
- }
- }
-
- private static elm_interface_scrollable_content_region_get_delegate elm_interface_scrollable_content_region_get_static_delegate;
-
-
- private delegate void elm_interface_scrollable_content_region_set_delegate(System.IntPtr obj, System.IntPtr pd, int x, int y, int w, int h);
-
-
- public delegate void elm_interface_scrollable_content_region_set_api_delegate(System.IntPtr obj, int x, int y, int w, int h);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_region_set_api_delegate> elm_interface_scrollable_content_region_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_region_set_api_delegate>(Module, "elm_interface_scrollable_content_region_set");
-
- private static void content_region_set(System.IntPtr obj, System.IntPtr pd, int x, int y, int w, int h)
- {
- Eina.Log.Debug("function elm_interface_scrollable_content_region_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Panel)ws.Target).SetContentRegion(x, y, w, h);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_content_region_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y, w, h);
- }
- }
-
- private static elm_interface_scrollable_content_region_set_delegate elm_interface_scrollable_content_region_set_static_delegate;
-
- [return: MarshalAs(UnmanagedType.U1)]
- private delegate bool elm_interface_scrollable_content_events_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- [return: MarshalAs(UnmanagedType.U1)]
- public delegate bool elm_interface_scrollable_content_events_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_events_get_api_delegate> elm_interface_scrollable_content_events_get_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_events_get_api_delegate>(Module, "elm_interface_scrollable_content_events_get");
-
- private static bool content_events_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function elm_interface_scrollable_content_events_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- bool _ret_var = default(bool);
- try
- {
- _ret_var = ((Panel)ws.Target).GetContentEvents();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return elm_interface_scrollable_content_events_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static elm_interface_scrollable_content_events_get_delegate elm_interface_scrollable_content_events_get_static_delegate;
-
-
- private delegate void elm_interface_scrollable_content_events_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool repeat_events);
-
-
- public delegate void elm_interface_scrollable_content_events_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool repeat_events);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_events_set_api_delegate> elm_interface_scrollable_content_events_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_events_set_api_delegate>(Module, "elm_interface_scrollable_content_events_set");
-
- private static void content_events_set(System.IntPtr obj, System.IntPtr pd, bool repeat_events)
- {
- Eina.Log.Debug("function elm_interface_scrollable_content_events_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Panel)ws.Target).SetContentEvents(repeat_events);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_content_events_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), repeat_events);
- }
- }
-
- private static elm_interface_scrollable_content_events_set_delegate elm_interface_scrollable_content_events_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_page_size_get_delegate(System.IntPtr obj, System.IntPtr pd, out int x, out int y);
-
-
- public delegate void elm_interface_scrollable_page_size_get_api_delegate(System.IntPtr obj, out int x, out int y);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_page_size_get_api_delegate> elm_interface_scrollable_page_size_get_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_page_size_get_api_delegate>(Module, "elm_interface_scrollable_page_size_get");
-
- private static void page_size_get(System.IntPtr obj, System.IntPtr pd, out int x, out int y)
- {
- Eina.Log.Debug("function elm_interface_scrollable_page_size_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- x = default(int); y = default(int);
- try
- {
- ((Panel)ws.Target).GetPageSize(out x, out y);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_page_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out x, out y);
- }
- }
-
- private static elm_interface_scrollable_page_size_get_delegate elm_interface_scrollable_page_size_get_static_delegate;
-
-
- private delegate void elm_interface_scrollable_page_size_set_delegate(System.IntPtr obj, System.IntPtr pd, int x, int y);
-
-
- public delegate void elm_interface_scrollable_page_size_set_api_delegate(System.IntPtr obj, int x, int y);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_page_size_set_api_delegate> elm_interface_scrollable_page_size_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_page_size_set_api_delegate>(Module, "elm_interface_scrollable_page_size_set");
-
- private static void page_size_set(System.IntPtr obj, System.IntPtr pd, int x, int y)
- {
- Eina.Log.Debug("function elm_interface_scrollable_page_size_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Panel)ws.Target).SetPageSize(x, y);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_page_size_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y);
- }
- }
-
- private static elm_interface_scrollable_page_size_set_delegate elm_interface_scrollable_page_size_set_static_delegate;
-
- [return: MarshalAs(UnmanagedType.U1)]
- private delegate bool elm_interface_scrollable_bounce_animator_disabled_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- [return: MarshalAs(UnmanagedType.U1)]
- public delegate bool elm_interface_scrollable_bounce_animator_disabled_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_bounce_animator_disabled_get_api_delegate> elm_interface_scrollable_bounce_animator_disabled_get_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_bounce_animator_disabled_get_api_delegate>(Module, "elm_interface_scrollable_bounce_animator_disabled_get");
-
- private static bool bounce_animator_disabled_get(System.IntPtr obj, System.IntPtr pd)
+ private static bool hidden_get(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function elm_interface_scrollable_bounce_animator_disabled_get was called");
+ Eina.Log.Debug("function efl_ui_panel_hidden_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
bool _ret_var = default(bool);
try
{
- _ret_var = ((Panel)ws.Target).GetBounceAnimatorDisabled();
+ _ret_var = ((Panel)ws.Target).GetHidden();
}
catch (Exception e)
{
}
else
{
- return elm_interface_scrollable_bounce_animator_disabled_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ return efl_ui_panel_hidden_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
- private static elm_interface_scrollable_bounce_animator_disabled_get_delegate elm_interface_scrollable_bounce_animator_disabled_get_static_delegate;
+ private static efl_ui_panel_hidden_get_delegate efl_ui_panel_hidden_get_static_delegate;
- private delegate void elm_interface_scrollable_bounce_animator_disabled_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool disabled);
+ private delegate void efl_ui_panel_hidden_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool hidden);
- public delegate void elm_interface_scrollable_bounce_animator_disabled_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool disabled);
+ public delegate void efl_ui_panel_hidden_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool hidden);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_bounce_animator_disabled_set_api_delegate> elm_interface_scrollable_bounce_animator_disabled_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_bounce_animator_disabled_set_api_delegate>(Module, "elm_interface_scrollable_bounce_animator_disabled_set");
+ public static Efl.Eo.FunctionWrapper<efl_ui_panel_hidden_set_api_delegate> efl_ui_panel_hidden_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_panel_hidden_set_api_delegate>(Module, "efl_ui_panel_hidden_set");
- private static void bounce_animator_disabled_set(System.IntPtr obj, System.IntPtr pd, bool disabled)
+ private static void hidden_set(System.IntPtr obj, System.IntPtr pd, bool hidden)
{
- Eina.Log.Debug("function elm_interface_scrollable_bounce_animator_disabled_set was called");
+ Eina.Log.Debug("function efl_ui_panel_hidden_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
- ((Panel)ws.Target).SetBounceAnimatorDisabled(disabled);
+ ((Panel)ws.Target).SetHidden(hidden);
}
catch (Exception e)
{
}
else
{
- elm_interface_scrollable_bounce_animator_disabled_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), disabled);
- }
- }
-
- private static elm_interface_scrollable_bounce_animator_disabled_set_delegate elm_interface_scrollable_bounce_animator_disabled_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_page_scroll_limit_get_delegate(System.IntPtr obj, System.IntPtr pd, out int page_limit_h, out int page_limit_v);
-
-
- public delegate void elm_interface_scrollable_page_scroll_limit_get_api_delegate(System.IntPtr obj, out int page_limit_h, out int page_limit_v);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_page_scroll_limit_get_api_delegate> elm_interface_scrollable_page_scroll_limit_get_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_page_scroll_limit_get_api_delegate>(Module, "elm_interface_scrollable_page_scroll_limit_get");
-
- private static void page_scroll_limit_get(System.IntPtr obj, System.IntPtr pd, out int page_limit_h, out int page_limit_v)
- {
- Eina.Log.Debug("function elm_interface_scrollable_page_scroll_limit_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- page_limit_h = default(int); page_limit_v = default(int);
- try
- {
- ((Panel)ws.Target).GetPageScrollLimit(out page_limit_h, out page_limit_v);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_page_scroll_limit_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out page_limit_h, out page_limit_v);
- }
- }
-
- private static elm_interface_scrollable_page_scroll_limit_get_delegate elm_interface_scrollable_page_scroll_limit_get_static_delegate;
-
-
- private delegate void elm_interface_scrollable_page_scroll_limit_set_delegate(System.IntPtr obj, System.IntPtr pd, int page_limit_h, int page_limit_v);
-
-
- public delegate void elm_interface_scrollable_page_scroll_limit_set_api_delegate(System.IntPtr obj, int page_limit_h, int page_limit_v);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_page_scroll_limit_set_api_delegate> elm_interface_scrollable_page_scroll_limit_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_page_scroll_limit_set_api_delegate>(Module, "elm_interface_scrollable_page_scroll_limit_set");
-
- private static void page_scroll_limit_set(System.IntPtr obj, System.IntPtr pd, int page_limit_h, int page_limit_v)
- {
- Eina.Log.Debug("function elm_interface_scrollable_page_scroll_limit_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Panel)ws.Target).SetPageScrollLimit(page_limit_h, page_limit_v);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_page_scroll_limit_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), page_limit_h, page_limit_v);
- }
- }
-
- private static elm_interface_scrollable_page_scroll_limit_set_delegate elm_interface_scrollable_page_scroll_limit_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_page_snap_allow_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] out bool horiz, [MarshalAs(UnmanagedType.U1)] out bool vert);
-
-
- public delegate void elm_interface_scrollable_page_snap_allow_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] out bool horiz, [MarshalAs(UnmanagedType.U1)] out bool vert);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_page_snap_allow_get_api_delegate> elm_interface_scrollable_page_snap_allow_get_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_page_snap_allow_get_api_delegate>(Module, "elm_interface_scrollable_page_snap_allow_get");
-
- private static void page_snap_allow_get(System.IntPtr obj, System.IntPtr pd, out bool horiz, out bool vert)
- {
- Eina.Log.Debug("function elm_interface_scrollable_page_snap_allow_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- horiz = default(bool); vert = default(bool);
- try
- {
- ((Panel)ws.Target).GetPageSnapAllow(out horiz, out vert);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_page_snap_allow_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out horiz, out vert);
- }
- }
-
- private static elm_interface_scrollable_page_snap_allow_get_delegate elm_interface_scrollable_page_snap_allow_get_static_delegate;
-
-
- private delegate void elm_interface_scrollable_page_snap_allow_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool horiz, [MarshalAs(UnmanagedType.U1)] bool vert);
-
-
- public delegate void elm_interface_scrollable_page_snap_allow_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool horiz, [MarshalAs(UnmanagedType.U1)] bool vert);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_page_snap_allow_set_api_delegate> elm_interface_scrollable_page_snap_allow_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_page_snap_allow_set_api_delegate>(Module, "elm_interface_scrollable_page_snap_allow_set");
-
- private static void page_snap_allow_set(System.IntPtr obj, System.IntPtr pd, bool horiz, bool vert)
- {
- Eina.Log.Debug("function elm_interface_scrollable_page_snap_allow_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Panel)ws.Target).SetPageSnapAllow(horiz, vert);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_page_snap_allow_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), horiz, vert);
- }
- }
-
- private static elm_interface_scrollable_page_snap_allow_set_delegate elm_interface_scrollable_page_snap_allow_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_paging_get_delegate(System.IntPtr obj, System.IntPtr pd, out double pagerel_h, out double pagerel_v, out int pagesize_h, out int pagesize_v);
-
-
- public delegate void elm_interface_scrollable_paging_get_api_delegate(System.IntPtr obj, out double pagerel_h, out double pagerel_v, out int pagesize_h, out int pagesize_v);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_paging_get_api_delegate> elm_interface_scrollable_paging_get_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_paging_get_api_delegate>(Module, "elm_interface_scrollable_paging_get");
-
- private static void paging_get(System.IntPtr obj, System.IntPtr pd, out double pagerel_h, out double pagerel_v, out int pagesize_h, out int pagesize_v)
- {
- Eina.Log.Debug("function elm_interface_scrollable_paging_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- pagerel_h = default(double); pagerel_v = default(double); pagesize_h = default(int); pagesize_v = default(int);
- try
- {
- ((Panel)ws.Target).GetPaging(out pagerel_h, out pagerel_v, out pagesize_h, out pagesize_v);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_paging_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out pagerel_h, out pagerel_v, out pagesize_h, out pagesize_v);
- }
- }
-
- private static elm_interface_scrollable_paging_get_delegate elm_interface_scrollable_paging_get_static_delegate;
-
-
- private delegate void elm_interface_scrollable_paging_set_delegate(System.IntPtr obj, System.IntPtr pd, double pagerel_h, double pagerel_v, int pagesize_h, int pagesize_v);
-
-
- public delegate void elm_interface_scrollable_paging_set_api_delegate(System.IntPtr obj, double pagerel_h, double pagerel_v, int pagesize_h, int pagesize_v);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_paging_set_api_delegate> elm_interface_scrollable_paging_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_paging_set_api_delegate>(Module, "elm_interface_scrollable_paging_set");
-
- private static void paging_set(System.IntPtr obj, System.IntPtr pd, double pagerel_h, double pagerel_v, int pagesize_h, int pagesize_v)
- {
- Eina.Log.Debug("function elm_interface_scrollable_paging_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Panel)ws.Target).SetPaging(pagerel_h, pagerel_v, pagesize_h, pagesize_v);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_paging_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), pagerel_h, pagerel_v, pagesize_h, pagesize_v);
+ efl_ui_panel_hidden_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), hidden);
}
}
- private static elm_interface_scrollable_paging_set_delegate elm_interface_scrollable_paging_set_static_delegate;
+ private static efl_ui_panel_hidden_set_delegate efl_ui_panel_hidden_set_static_delegate;
-
- private delegate Elm.Scroller.SingleDirection elm_interface_scrollable_single_direction_get_delegate(System.IntPtr obj, System.IntPtr pd);
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_ui_panel_scrollable_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- public delegate Elm.Scroller.SingleDirection elm_interface_scrollable_single_direction_get_api_delegate(System.IntPtr obj);
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_ui_panel_scrollable_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_single_direction_get_api_delegate> elm_interface_scrollable_single_direction_get_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_single_direction_get_api_delegate>(Module, "elm_interface_scrollable_single_direction_get");
+ public static Efl.Eo.FunctionWrapper<efl_ui_panel_scrollable_get_api_delegate> efl_ui_panel_scrollable_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_panel_scrollable_get_api_delegate>(Module, "efl_ui_panel_scrollable_get");
- private static Elm.Scroller.SingleDirection single_direction_get(System.IntPtr obj, System.IntPtr pd)
+ private static bool scrollable_get(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function elm_interface_scrollable_single_direction_get was called");
+ Eina.Log.Debug("function efl_ui_panel_scrollable_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- Elm.Scroller.SingleDirection _ret_var = default(Elm.Scroller.SingleDirection);
+ bool _ret_var = default(bool);
try
{
- _ret_var = ((Panel)ws.Target).GetSingleDirection();
+ _ret_var = ((Panel)ws.Target).GetScrollable();
}
catch (Exception e)
{
}
else
{
- return elm_interface_scrollable_single_direction_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ return efl_ui_panel_scrollable_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
- private static elm_interface_scrollable_single_direction_get_delegate elm_interface_scrollable_single_direction_get_static_delegate;
+ private static efl_ui_panel_scrollable_get_delegate efl_ui_panel_scrollable_get_static_delegate;
- private delegate void elm_interface_scrollable_single_direction_set_delegate(System.IntPtr obj, System.IntPtr pd, Elm.Scroller.SingleDirection single_dir);
+ private delegate void efl_ui_panel_scrollable_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool scrollable);
- public delegate void elm_interface_scrollable_single_direction_set_api_delegate(System.IntPtr obj, Elm.Scroller.SingleDirection single_dir);
+ public delegate void efl_ui_panel_scrollable_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool scrollable);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_single_direction_set_api_delegate> elm_interface_scrollable_single_direction_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_single_direction_set_api_delegate>(Module, "elm_interface_scrollable_single_direction_set");
+ public static Efl.Eo.FunctionWrapper<efl_ui_panel_scrollable_set_api_delegate> efl_ui_panel_scrollable_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_panel_scrollable_set_api_delegate>(Module, "efl_ui_panel_scrollable_set");
- private static void single_direction_set(System.IntPtr obj, System.IntPtr pd, Elm.Scroller.SingleDirection single_dir)
+ private static void scrollable_set(System.IntPtr obj, System.IntPtr pd, bool scrollable)
{
- Eina.Log.Debug("function elm_interface_scrollable_single_direction_set was called");
+ Eina.Log.Debug("function efl_ui_panel_scrollable_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
- ((Panel)ws.Target).SetSingleDirection(single_dir);
+ ((Panel)ws.Target).SetScrollable(scrollable);
}
catch (Exception e)
{
}
else
{
- elm_interface_scrollable_single_direction_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), single_dir);
+ efl_ui_panel_scrollable_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), scrollable);
}
}
- private static elm_interface_scrollable_single_direction_set_delegate elm_interface_scrollable_single_direction_set_static_delegate;
+ private static efl_ui_panel_scrollable_set_delegate efl_ui_panel_scrollable_set_static_delegate;
- private delegate void elm_interface_scrollable_step_size_get_delegate(System.IntPtr obj, System.IntPtr pd, out int x, out int y);
+ private delegate double efl_ui_panel_scrollable_content_size_get_delegate(System.IntPtr obj, System.IntPtr pd);
- public delegate void elm_interface_scrollable_step_size_get_api_delegate(System.IntPtr obj, out int x, out int y);
+ public delegate double efl_ui_panel_scrollable_content_size_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_step_size_get_api_delegate> elm_interface_scrollable_step_size_get_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_step_size_get_api_delegate>(Module, "elm_interface_scrollable_step_size_get");
+ public static Efl.Eo.FunctionWrapper<efl_ui_panel_scrollable_content_size_get_api_delegate> efl_ui_panel_scrollable_content_size_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_panel_scrollable_content_size_get_api_delegate>(Module, "efl_ui_panel_scrollable_content_size_get");
- private static void step_size_get(System.IntPtr obj, System.IntPtr pd, out int x, out int y)
+ private static double scrollable_content_size_get(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function elm_interface_scrollable_step_size_get was called");
+ Eina.Log.Debug("function efl_ui_panel_scrollable_content_size_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- x = default(int); y = default(int);
+ double _ret_var = default(double);
try
{
- ((Panel)ws.Target).GetStepSize(out x, out y);
+ _ret_var = ((Panel)ws.Target).GetScrollableContentSize();
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+ return _ret_var;
+
}
else
{
- elm_interface_scrollable_step_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out x, out y);
+ return efl_ui_panel_scrollable_content_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
- private static elm_interface_scrollable_step_size_get_delegate elm_interface_scrollable_step_size_get_static_delegate;
+ private static efl_ui_panel_scrollable_content_size_get_delegate efl_ui_panel_scrollable_content_size_get_static_delegate;
- private delegate void elm_interface_scrollable_step_size_set_delegate(System.IntPtr obj, System.IntPtr pd, int x, int y);
+ private delegate void efl_ui_panel_scrollable_content_size_set_delegate(System.IntPtr obj, System.IntPtr pd, double ratio);
- public delegate void elm_interface_scrollable_step_size_set_api_delegate(System.IntPtr obj, int x, int y);
+ public delegate void efl_ui_panel_scrollable_content_size_set_api_delegate(System.IntPtr obj, double ratio);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_step_size_set_api_delegate> elm_interface_scrollable_step_size_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_step_size_set_api_delegate>(Module, "elm_interface_scrollable_step_size_set");
+ public static Efl.Eo.FunctionWrapper<efl_ui_panel_scrollable_content_size_set_api_delegate> efl_ui_panel_scrollable_content_size_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_panel_scrollable_content_size_set_api_delegate>(Module, "efl_ui_panel_scrollable_content_size_set");
- private static void step_size_set(System.IntPtr obj, System.IntPtr pd, int x, int y)
+ private static void scrollable_content_size_set(System.IntPtr obj, System.IntPtr pd, double ratio)
{
- Eina.Log.Debug("function elm_interface_scrollable_step_size_set was called");
+ Eina.Log.Debug("function efl_ui_panel_scrollable_content_size_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
-
+
try
{
- ((Panel)ws.Target).SetStepSize(x, y);
+ ((Panel)ws.Target).SetScrollableContentSize(ratio);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+
}
else
{
- elm_interface_scrollable_step_size_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y);
+ efl_ui_panel_scrollable_content_size_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), ratio);
}
}
- private static elm_interface_scrollable_step_size_set_delegate elm_interface_scrollable_step_size_set_static_delegate;
+ private static efl_ui_panel_scrollable_content_size_set_delegate efl_ui_panel_scrollable_content_size_set_static_delegate;
- private delegate void elm_interface_scrollable_content_loop_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] out bool loop_h, [MarshalAs(UnmanagedType.U1)] out bool loop_v);
+ private delegate void efl_ui_panel_toggle_delegate(System.IntPtr obj, System.IntPtr pd);
- public delegate void elm_interface_scrollable_content_loop_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] out bool loop_h, [MarshalAs(UnmanagedType.U1)] out bool loop_v);
+ public delegate void efl_ui_panel_toggle_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_loop_get_api_delegate> elm_interface_scrollable_content_loop_get_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_loop_get_api_delegate>(Module, "elm_interface_scrollable_content_loop_get");
+ public static Efl.Eo.FunctionWrapper<efl_ui_panel_toggle_api_delegate> efl_ui_panel_toggle_ptr = new Efl.Eo.FunctionWrapper<efl_ui_panel_toggle_api_delegate>(Module, "efl_ui_panel_toggle");
- private static void content_loop_get(System.IntPtr obj, System.IntPtr pd, out bool loop_h, out bool loop_v)
+ private static void toggle(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function elm_interface_scrollable_content_loop_get was called");
+ Eina.Log.Debug("function efl_ui_panel_toggle was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- loop_h = default(bool); loop_v = default(bool);
+
try
{
- ((Panel)ws.Target).GetContentLoop(out loop_h, out loop_v);
+ ((Panel)ws.Target).Toggle();
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+
}
else
{
- elm_interface_scrollable_content_loop_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out loop_h, out loop_v);
+ efl_ui_panel_toggle_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
- private static elm_interface_scrollable_content_loop_get_delegate elm_interface_scrollable_content_loop_get_static_delegate;
+ private static efl_ui_panel_toggle_delegate efl_ui_panel_toggle_static_delegate;
-
- private delegate void elm_interface_scrollable_content_loop_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool loop_h, [MarshalAs(UnmanagedType.U1)] bool loop_v);
+ [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);
-
- public delegate void elm_interface_scrollable_content_loop_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool loop_h, [MarshalAs(UnmanagedType.U1)] bool loop_v);
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ public delegate Efl.Gfx.IEntity efl_content_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_loop_set_api_delegate> elm_interface_scrollable_content_loop_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_loop_set_api_delegate>(Module, "elm_interface_scrollable_content_loop_set");
+ public static Efl.Eo.FunctionWrapper<efl_content_get_api_delegate> efl_content_get_ptr = new Efl.Eo.FunctionWrapper<efl_content_get_api_delegate>(Module, "efl_content_get");
- private static void content_loop_set(System.IntPtr obj, System.IntPtr pd, bool loop_h, bool loop_v)
+ private static Efl.Gfx.IEntity content_get(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function elm_interface_scrollable_content_loop_set was called");
+ Eina.Log.Debug("function efl_content_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
-
+ Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
try
{
- ((Panel)ws.Target).SetContentLoop(loop_h, loop_v);
+ _ret_var = ((Panel)ws.Target).GetContent();
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+ return _ret_var;
+
}
else
{
- elm_interface_scrollable_content_loop_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), loop_h, loop_v);
+ return efl_content_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
- private static elm_interface_scrollable_content_loop_set_delegate elm_interface_scrollable_content_loop_set_static_delegate;
+ private static efl_content_get_delegate efl_content_get_static_delegate;
-
- private delegate void elm_interface_scrollable_scroll_up_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb scroll_up_cb);
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_content_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity content);
-
- public delegate void elm_interface_scrollable_scroll_up_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb scroll_up_cb);
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_content_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity content);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_scroll_up_cb_set_api_delegate> elm_interface_scrollable_scroll_up_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_scroll_up_cb_set_api_delegate>(Module, "elm_interface_scrollable_scroll_up_cb_set");
+ public static Efl.Eo.FunctionWrapper<efl_content_set_api_delegate> efl_content_set_ptr = new Efl.Eo.FunctionWrapper<efl_content_set_api_delegate>(Module, "efl_content_set");
- private static void scroll_up_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb scroll_up_cb)
+ private static bool content_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity content)
{
- Eina.Log.Debug("function elm_interface_scrollable_scroll_up_cb_set was called");
+ Eina.Log.Debug("function efl_content_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
-
+ bool _ret_var = default(bool);
try
{
- ((Panel)ws.Target).SetScrollUpCb(scroll_up_cb);
+ _ret_var = ((Panel)ws.Target).SetContent(content);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+ return _ret_var;
+
}
else
{
- elm_interface_scrollable_scroll_up_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), scroll_up_cb);
+ return efl_content_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), content);
}
}
- private static elm_interface_scrollable_scroll_up_cb_set_delegate elm_interface_scrollable_scroll_up_cb_set_static_delegate;
+ private static efl_content_set_delegate efl_content_set_static_delegate;
-
- private delegate void elm_interface_scrollable_hbar_drag_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb hbar_drag_cb);
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ private delegate Efl.Gfx.IEntity efl_content_unset_delegate(System.IntPtr obj, System.IntPtr pd);
-
- public delegate void elm_interface_scrollable_hbar_drag_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb hbar_drag_cb);
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ public delegate Efl.Gfx.IEntity efl_content_unset_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_hbar_drag_cb_set_api_delegate> elm_interface_scrollable_hbar_drag_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_hbar_drag_cb_set_api_delegate>(Module, "elm_interface_scrollable_hbar_drag_cb_set");
+ public static Efl.Eo.FunctionWrapper<efl_content_unset_api_delegate> efl_content_unset_ptr = new Efl.Eo.FunctionWrapper<efl_content_unset_api_delegate>(Module, "efl_content_unset");
- private static void hbar_drag_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb hbar_drag_cb)
+ private static Efl.Gfx.IEntity content_unset(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function elm_interface_scrollable_hbar_drag_cb_set was called");
+ Eina.Log.Debug("function efl_content_unset was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
-
+ Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
try
{
- ((Panel)ws.Target).SetHbarDragCb(hbar_drag_cb);
+ _ret_var = ((Panel)ws.Target).UnsetContent();
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+ return _ret_var;
+
}
else
{
- elm_interface_scrollable_hbar_drag_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), hbar_drag_cb);
+ return efl_content_unset_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
- private static elm_interface_scrollable_hbar_drag_cb_set_delegate elm_interface_scrollable_hbar_drag_cb_set_static_delegate;
+ private static efl_content_unset_delegate efl_content_unset_static_delegate;
- private delegate void elm_interface_scrollable_drag_start_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb drag_start_cb);
+ private delegate Eina.Position2D.NativeStruct efl_ui_scrollable_content_pos_get_delegate(System.IntPtr obj, System.IntPtr pd);
- public delegate void elm_interface_scrollable_drag_start_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb drag_start_cb);
+ public delegate Eina.Position2D.NativeStruct efl_ui_scrollable_content_pos_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_drag_start_cb_set_api_delegate> elm_interface_scrollable_drag_start_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_drag_start_cb_set_api_delegate>(Module, "elm_interface_scrollable_drag_start_cb_set");
+ public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_content_pos_get_api_delegate> efl_ui_scrollable_content_pos_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_content_pos_get_api_delegate>(Module, "efl_ui_scrollable_content_pos_get");
- private static void drag_start_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb drag_start_cb)
+ private static Eina.Position2D.NativeStruct content_pos_get(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function elm_interface_scrollable_drag_start_cb_set was called");
+ Eina.Log.Debug("function efl_ui_scrollable_content_pos_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
-
+ Eina.Position2D _ret_var = default(Eina.Position2D);
try
{
- ((Panel)ws.Target).SetDragStartCb(drag_start_cb);
+ _ret_var = ((Panel)ws.Target).GetContentPos();
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+ return _ret_var;
+
}
else
{
- elm_interface_scrollable_drag_start_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), drag_start_cb);
+ return efl_ui_scrollable_content_pos_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
- private static elm_interface_scrollable_drag_start_cb_set_delegate elm_interface_scrollable_drag_start_cb_set_static_delegate;
+ private static efl_ui_scrollable_content_pos_get_delegate efl_ui_scrollable_content_pos_get_static_delegate;
- private delegate void elm_interface_scrollable_scroll_start_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb scroll_start_cb);
+ private delegate void efl_ui_scrollable_content_pos_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Position2D.NativeStruct pos);
- public delegate void elm_interface_scrollable_scroll_start_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb scroll_start_cb);
+ public delegate void efl_ui_scrollable_content_pos_set_api_delegate(System.IntPtr obj, Eina.Position2D.NativeStruct pos);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_scroll_start_cb_set_api_delegate> elm_interface_scrollable_scroll_start_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_scroll_start_cb_set_api_delegate>(Module, "elm_interface_scrollable_scroll_start_cb_set");
+ public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_content_pos_set_api_delegate> efl_ui_scrollable_content_pos_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_content_pos_set_api_delegate>(Module, "efl_ui_scrollable_content_pos_set");
- private static void scroll_start_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb scroll_start_cb)
+ private static void content_pos_set(System.IntPtr obj, System.IntPtr pd, Eina.Position2D.NativeStruct pos)
{
- Eina.Log.Debug("function elm_interface_scrollable_scroll_start_cb_set was called");
+ Eina.Log.Debug("function efl_ui_scrollable_content_pos_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
-
+ Eina.Position2D _in_pos = pos;
+
try
{
- ((Panel)ws.Target).SetScrollStartCb(scroll_start_cb);
+ ((Panel)ws.Target).SetContentPos(_in_pos);
}
catch (Exception e)
{
}
else
{
- elm_interface_scrollable_scroll_start_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), scroll_start_cb);
+ efl_ui_scrollable_content_pos_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), pos);
}
}
- private static elm_interface_scrollable_scroll_start_cb_set_delegate elm_interface_scrollable_scroll_start_cb_set_static_delegate;
+ private static efl_ui_scrollable_content_pos_set_delegate efl_ui_scrollable_content_pos_set_static_delegate;
- private delegate void elm_interface_scrollable_freeze_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool freeze);
+ private delegate Eina.Size2D.NativeStruct efl_ui_scrollable_content_size_get_delegate(System.IntPtr obj, System.IntPtr pd);
- public delegate void elm_interface_scrollable_freeze_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool freeze);
+ public delegate Eina.Size2D.NativeStruct efl_ui_scrollable_content_size_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_freeze_set_api_delegate> elm_interface_scrollable_freeze_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_freeze_set_api_delegate>(Module, "elm_interface_scrollable_freeze_set");
+ public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_content_size_get_api_delegate> efl_ui_scrollable_content_size_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_content_size_get_api_delegate>(Module, "efl_ui_scrollable_content_size_get");
- private static void freeze_set(System.IntPtr obj, System.IntPtr pd, bool freeze)
+ private static Eina.Size2D.NativeStruct content_size_get(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function elm_interface_scrollable_freeze_set was called");
+ Eina.Log.Debug("function efl_ui_scrollable_content_size_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
-
+ Eina.Size2D _ret_var = default(Eina.Size2D);
try
{
- ((Panel)ws.Target).SetFreeze(freeze);
+ _ret_var = ((Panel)ws.Target).GetContentSize();
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+ return _ret_var;
+
}
else
{
- elm_interface_scrollable_freeze_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), freeze);
+ return efl_ui_scrollable_content_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
- private static elm_interface_scrollable_freeze_set_delegate elm_interface_scrollable_freeze_set_static_delegate;
+ private static efl_ui_scrollable_content_size_get_delegate efl_ui_scrollable_content_size_get_static_delegate;
- private delegate void elm_interface_scrollable_content_viewport_resize_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableResizeCb viewport_resize_cb);
+ private delegate Eina.Rect.NativeStruct efl_ui_scrollable_viewport_geometry_get_delegate(System.IntPtr obj, System.IntPtr pd);
- public delegate void elm_interface_scrollable_content_viewport_resize_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableResizeCb viewport_resize_cb);
+ public delegate Eina.Rect.NativeStruct efl_ui_scrollable_viewport_geometry_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_viewport_resize_cb_set_api_delegate> elm_interface_scrollable_content_viewport_resize_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_viewport_resize_cb_set_api_delegate>(Module, "elm_interface_scrollable_content_viewport_resize_cb_set");
+ public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_viewport_geometry_get_api_delegate> efl_ui_scrollable_viewport_geometry_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_viewport_geometry_get_api_delegate>(Module, "efl_ui_scrollable_viewport_geometry_get");
- private static void content_viewport_resize_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableResizeCb viewport_resize_cb)
+ private static Eina.Rect.NativeStruct viewport_geometry_get(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function elm_interface_scrollable_content_viewport_resize_cb_set was called");
+ Eina.Log.Debug("function efl_ui_scrollable_viewport_geometry_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
-
+ Eina.Rect _ret_var = default(Eina.Rect);
try
{
- ((Panel)ws.Target).SetContentViewportResizeCb(viewport_resize_cb);
+ _ret_var = ((Panel)ws.Target).GetViewportGeometry();
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+ return _ret_var;
+
}
else
{
- elm_interface_scrollable_content_viewport_resize_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), viewport_resize_cb);
+ return efl_ui_scrollable_viewport_geometry_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
- private static elm_interface_scrollable_content_viewport_resize_cb_set_delegate elm_interface_scrollable_content_viewport_resize_cb_set_static_delegate;
+ private static efl_ui_scrollable_viewport_geometry_get_delegate efl_ui_scrollable_viewport_geometry_get_static_delegate;
- private delegate void elm_interface_scrollable_scroll_left_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb scroll_left_cb);
+ private delegate void efl_ui_scrollable_bounce_enabled_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] out bool horiz, [MarshalAs(UnmanagedType.U1)] out bool vert);
- public delegate void elm_interface_scrollable_scroll_left_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb scroll_left_cb);
+ public delegate void efl_ui_scrollable_bounce_enabled_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] out bool horiz, [MarshalAs(UnmanagedType.U1)] out bool vert);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_scroll_left_cb_set_api_delegate> elm_interface_scrollable_scroll_left_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_scroll_left_cb_set_api_delegate>(Module, "elm_interface_scrollable_scroll_left_cb_set");
+ public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_bounce_enabled_get_api_delegate> efl_ui_scrollable_bounce_enabled_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_bounce_enabled_get_api_delegate>(Module, "efl_ui_scrollable_bounce_enabled_get");
- private static void scroll_left_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb scroll_left_cb)
+ private static void bounce_enabled_get(System.IntPtr obj, System.IntPtr pd, out bool horiz, out bool vert)
{
- Eina.Log.Debug("function elm_interface_scrollable_scroll_left_cb_set was called");
+ Eina.Log.Debug("function efl_ui_scrollable_bounce_enabled_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
-
+ horiz = default(bool); vert = default(bool);
try
{
- ((Panel)ws.Target).SetScrollLeftCb(scroll_left_cb);
+ ((Panel)ws.Target).GetBounceEnabled(out horiz, out vert);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+
}
else
{
- elm_interface_scrollable_scroll_left_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), scroll_left_cb);
+ efl_ui_scrollable_bounce_enabled_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out horiz, out vert);
}
}
- private static elm_interface_scrollable_scroll_left_cb_set_delegate elm_interface_scrollable_scroll_left_cb_set_static_delegate;
+ private static efl_ui_scrollable_bounce_enabled_get_delegate efl_ui_scrollable_bounce_enabled_get_static_delegate;
- private delegate void elm_interface_scrollable_vbar_press_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb vbar_press_cb);
+ private delegate void efl_ui_scrollable_bounce_enabled_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool horiz, [MarshalAs(UnmanagedType.U1)] bool vert);
- public delegate void elm_interface_scrollable_vbar_press_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb vbar_press_cb);
+ public delegate void efl_ui_scrollable_bounce_enabled_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool horiz, [MarshalAs(UnmanagedType.U1)] bool vert);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_vbar_press_cb_set_api_delegate> elm_interface_scrollable_vbar_press_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_vbar_press_cb_set_api_delegate>(Module, "elm_interface_scrollable_vbar_press_cb_set");
+ public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_bounce_enabled_set_api_delegate> efl_ui_scrollable_bounce_enabled_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_bounce_enabled_set_api_delegate>(Module, "efl_ui_scrollable_bounce_enabled_set");
- private static void vbar_press_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb vbar_press_cb)
+ private static void bounce_enabled_set(System.IntPtr obj, System.IntPtr pd, bool horiz, bool vert)
{
- Eina.Log.Debug("function elm_interface_scrollable_vbar_press_cb_set was called");
+ Eina.Log.Debug("function efl_ui_scrollable_bounce_enabled_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
-
+
try
{
- ((Panel)ws.Target).SetVbarPressCb(vbar_press_cb);
+ ((Panel)ws.Target).SetBounceEnabled(horiz, vert);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+
}
else
{
- elm_interface_scrollable_vbar_press_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), vbar_press_cb);
+ efl_ui_scrollable_bounce_enabled_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), horiz, vert);
}
}
- private static elm_interface_scrollable_vbar_press_cb_set_delegate elm_interface_scrollable_vbar_press_cb_set_static_delegate;
+ private static efl_ui_scrollable_bounce_enabled_set_delegate efl_ui_scrollable_bounce_enabled_set_static_delegate;
-
- private delegate void elm_interface_scrollable_hbar_press_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb hbar_press_cb);
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_ui_scrollable_scroll_freeze_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- public delegate void elm_interface_scrollable_hbar_press_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb hbar_press_cb);
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_ui_scrollable_scroll_freeze_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_hbar_press_cb_set_api_delegate> elm_interface_scrollable_hbar_press_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_hbar_press_cb_set_api_delegate>(Module, "elm_interface_scrollable_hbar_press_cb_set");
+ public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_freeze_get_api_delegate> efl_ui_scrollable_scroll_freeze_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_freeze_get_api_delegate>(Module, "efl_ui_scrollable_scroll_freeze_get");
- private static void hbar_press_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb hbar_press_cb)
+ private static bool scroll_freeze_get(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function elm_interface_scrollable_hbar_press_cb_set was called");
+ Eina.Log.Debug("function efl_ui_scrollable_scroll_freeze_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
-
+ bool _ret_var = default(bool);
try
{
- ((Panel)ws.Target).SetHbarPressCb(hbar_press_cb);
+ _ret_var = ((Panel)ws.Target).GetScrollFreeze();
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+ return _ret_var;
+
}
else
{
- elm_interface_scrollable_hbar_press_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), hbar_press_cb);
+ return efl_ui_scrollable_scroll_freeze_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
- private static elm_interface_scrollable_hbar_press_cb_set_delegate elm_interface_scrollable_hbar_press_cb_set_static_delegate;
+ private static efl_ui_scrollable_scroll_freeze_get_delegate efl_ui_scrollable_scroll_freeze_get_static_delegate;
- private delegate void elm_interface_scrollable_hbar_unpress_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb hbar_unpress_cb);
+ private delegate void efl_ui_scrollable_scroll_freeze_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool freeze);
- public delegate void elm_interface_scrollable_hbar_unpress_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb hbar_unpress_cb);
+ public delegate void efl_ui_scrollable_scroll_freeze_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool freeze);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_hbar_unpress_cb_set_api_delegate> elm_interface_scrollable_hbar_unpress_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_hbar_unpress_cb_set_api_delegate>(Module, "elm_interface_scrollable_hbar_unpress_cb_set");
+ public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_freeze_set_api_delegate> efl_ui_scrollable_scroll_freeze_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_freeze_set_api_delegate>(Module, "efl_ui_scrollable_scroll_freeze_set");
- private static void hbar_unpress_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb hbar_unpress_cb)
+ private static void scroll_freeze_set(System.IntPtr obj, System.IntPtr pd, bool freeze)
{
- Eina.Log.Debug("function elm_interface_scrollable_hbar_unpress_cb_set was called");
+ Eina.Log.Debug("function efl_ui_scrollable_scroll_freeze_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
- ((Panel)ws.Target).SetHbarUnpressCb(hbar_unpress_cb);
+ ((Panel)ws.Target).SetScrollFreeze(freeze);
}
catch (Exception e)
{
}
else
{
- elm_interface_scrollable_hbar_unpress_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), hbar_unpress_cb);
+ efl_ui_scrollable_scroll_freeze_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), freeze);
}
}
- private static elm_interface_scrollable_hbar_unpress_cb_set_delegate elm_interface_scrollable_hbar_unpress_cb_set_static_delegate;
+ private static efl_ui_scrollable_scroll_freeze_set_delegate efl_ui_scrollable_scroll_freeze_set_static_delegate;
-
- private delegate void elm_interface_scrollable_drag_stop_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb drag_stop_cb);
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_ui_scrollable_scroll_hold_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- public delegate void elm_interface_scrollable_drag_stop_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb drag_stop_cb);
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_ui_scrollable_scroll_hold_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_drag_stop_cb_set_api_delegate> elm_interface_scrollable_drag_stop_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_drag_stop_cb_set_api_delegate>(Module, "elm_interface_scrollable_drag_stop_cb_set");
+ public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_hold_get_api_delegate> efl_ui_scrollable_scroll_hold_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_hold_get_api_delegate>(Module, "efl_ui_scrollable_scroll_hold_get");
- private static void drag_stop_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb drag_stop_cb)
+ private static bool scroll_hold_get(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function elm_interface_scrollable_drag_stop_cb_set was called");
+ Eina.Log.Debug("function efl_ui_scrollable_scroll_hold_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
-
+ bool _ret_var = default(bool);
try
{
- ((Panel)ws.Target).SetDragStopCb(drag_stop_cb);
+ _ret_var = ((Panel)ws.Target).GetScrollHold();
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+ return _ret_var;
+
}
else
{
- elm_interface_scrollable_drag_stop_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), drag_stop_cb);
+ return efl_ui_scrollable_scroll_hold_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
- private static elm_interface_scrollable_drag_stop_cb_set_delegate elm_interface_scrollable_drag_stop_cb_set_static_delegate;
+ private static efl_ui_scrollable_scroll_hold_get_delegate efl_ui_scrollable_scroll_hold_get_static_delegate;
- private delegate void elm_interface_scrollable_scroll_stop_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb scroll_stop_cb);
+ private delegate void efl_ui_scrollable_scroll_hold_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool hold);
- public delegate void elm_interface_scrollable_scroll_stop_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb scroll_stop_cb);
+ public delegate void efl_ui_scrollable_scroll_hold_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool hold);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_scroll_stop_cb_set_api_delegate> elm_interface_scrollable_scroll_stop_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_scroll_stop_cb_set_api_delegate>(Module, "elm_interface_scrollable_scroll_stop_cb_set");
+ public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_hold_set_api_delegate> efl_ui_scrollable_scroll_hold_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_hold_set_api_delegate>(Module, "efl_ui_scrollable_scroll_hold_set");
- private static void scroll_stop_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb scroll_stop_cb)
+ private static void scroll_hold_set(System.IntPtr obj, System.IntPtr pd, bool hold)
{
- Eina.Log.Debug("function elm_interface_scrollable_scroll_stop_cb_set was called");
+ Eina.Log.Debug("function efl_ui_scrollable_scroll_hold_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
- ((Panel)ws.Target).SetScrollStopCb(scroll_stop_cb);
+ ((Panel)ws.Target).SetScrollHold(hold);
}
catch (Exception e)
{
}
else
{
- elm_interface_scrollable_scroll_stop_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), scroll_stop_cb);
+ efl_ui_scrollable_scroll_hold_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), hold);
}
}
- private static elm_interface_scrollable_scroll_stop_cb_set_delegate elm_interface_scrollable_scroll_stop_cb_set_static_delegate;
+ private static efl_ui_scrollable_scroll_hold_set_delegate efl_ui_scrollable_scroll_hold_set_static_delegate;
- private delegate void elm_interface_scrollable_extern_pan_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Object pan);
+ private delegate void efl_ui_scrollable_looping_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] out bool loop_h, [MarshalAs(UnmanagedType.U1)] out bool loop_v);
- public delegate void elm_interface_scrollable_extern_pan_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Object pan);
+ public delegate void efl_ui_scrollable_looping_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] out bool loop_h, [MarshalAs(UnmanagedType.U1)] out bool loop_v);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_extern_pan_set_api_delegate> elm_interface_scrollable_extern_pan_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_extern_pan_set_api_delegate>(Module, "elm_interface_scrollable_extern_pan_set");
+ public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_looping_get_api_delegate> efl_ui_scrollable_looping_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_looping_get_api_delegate>(Module, "efl_ui_scrollable_looping_get");
- private static void extern_pan_set(System.IntPtr obj, System.IntPtr pd, Efl.Canvas.Object pan)
+ private static void looping_get(System.IntPtr obj, System.IntPtr pd, out bool loop_h, out bool loop_v)
{
- Eina.Log.Debug("function elm_interface_scrollable_extern_pan_set was called");
+ Eina.Log.Debug("function efl_ui_scrollable_looping_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
-
+ loop_h = default(bool); loop_v = default(bool);
try
{
- ((Panel)ws.Target).SetExternPan(pan);
+ ((Panel)ws.Target).GetLooping(out loop_h, out loop_v);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+
}
else
{
- elm_interface_scrollable_extern_pan_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), pan);
+ efl_ui_scrollable_looping_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out loop_h, out loop_v);
}
}
- private static elm_interface_scrollable_extern_pan_set_delegate elm_interface_scrollable_extern_pan_set_static_delegate;
+ private static efl_ui_scrollable_looping_get_delegate efl_ui_scrollable_looping_get_static_delegate;
- private delegate void elm_interface_scrollable_page_change_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb page_change_cb);
+ private delegate void efl_ui_scrollable_looping_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool loop_h, [MarshalAs(UnmanagedType.U1)] bool loop_v);
- public delegate void elm_interface_scrollable_page_change_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb page_change_cb);
+ public delegate void efl_ui_scrollable_looping_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool loop_h, [MarshalAs(UnmanagedType.U1)] bool loop_v);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_page_change_cb_set_api_delegate> elm_interface_scrollable_page_change_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_page_change_cb_set_api_delegate>(Module, "elm_interface_scrollable_page_change_cb_set");
+ public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_looping_set_api_delegate> efl_ui_scrollable_looping_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_looping_set_api_delegate>(Module, "efl_ui_scrollable_looping_set");
- private static void page_change_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb page_change_cb)
+ private static void looping_set(System.IntPtr obj, System.IntPtr pd, bool loop_h, bool loop_v)
{
- Eina.Log.Debug("function elm_interface_scrollable_page_change_cb_set was called");
+ Eina.Log.Debug("function efl_ui_scrollable_looping_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
-
+
try
{
- ((Panel)ws.Target).SetPageChangeCb(page_change_cb);
+ ((Panel)ws.Target).SetLooping(loop_h, loop_v);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+
}
else
{
- elm_interface_scrollable_page_change_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), page_change_cb);
+ efl_ui_scrollable_looping_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), loop_h, loop_v);
}
}
- private static elm_interface_scrollable_page_change_cb_set_delegate elm_interface_scrollable_page_change_cb_set_static_delegate;
+ private static efl_ui_scrollable_looping_set_delegate efl_ui_scrollable_looping_set_static_delegate;
- private delegate void elm_interface_scrollable_hold_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool hold);
+ private delegate Efl.Ui.ScrollBlock efl_ui_scrollable_movement_block_get_delegate(System.IntPtr obj, System.IntPtr pd);
- public delegate void elm_interface_scrollable_hold_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool hold);
+ public delegate Efl.Ui.ScrollBlock efl_ui_scrollable_movement_block_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_hold_set_api_delegate> elm_interface_scrollable_hold_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_hold_set_api_delegate>(Module, "elm_interface_scrollable_hold_set");
+ public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_movement_block_get_api_delegate> efl_ui_scrollable_movement_block_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_movement_block_get_api_delegate>(Module, "efl_ui_scrollable_movement_block_get");
- private static void hold_set(System.IntPtr obj, System.IntPtr pd, bool hold)
+ private static Efl.Ui.ScrollBlock movement_block_get(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function elm_interface_scrollable_hold_set was called");
+ Eina.Log.Debug("function efl_ui_scrollable_movement_block_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
-
+ Efl.Ui.ScrollBlock _ret_var = default(Efl.Ui.ScrollBlock);
try
{
- ((Panel)ws.Target).SetHold(hold);
+ _ret_var = ((Panel)ws.Target).GetMovementBlock();
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+ return _ret_var;
+
}
else
{
- elm_interface_scrollable_hold_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), hold);
+ return efl_ui_scrollable_movement_block_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
- private static elm_interface_scrollable_hold_set_delegate elm_interface_scrollable_hold_set_static_delegate;
+ private static efl_ui_scrollable_movement_block_get_delegate efl_ui_scrollable_movement_block_get_static_delegate;
- private delegate void elm_interface_scrollable_animate_start_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb animate_start_cb);
+ private delegate void efl_ui_scrollable_movement_block_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ScrollBlock block);
- public delegate void elm_interface_scrollable_animate_start_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb animate_start_cb);
+ public delegate void efl_ui_scrollable_movement_block_set_api_delegate(System.IntPtr obj, Efl.Ui.ScrollBlock block);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_animate_start_cb_set_api_delegate> elm_interface_scrollable_animate_start_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_animate_start_cb_set_api_delegate>(Module, "elm_interface_scrollable_animate_start_cb_set");
+ public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_movement_block_set_api_delegate> efl_ui_scrollable_movement_block_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_movement_block_set_api_delegate>(Module, "efl_ui_scrollable_movement_block_set");
- private static void animate_start_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb animate_start_cb)
+ private static void movement_block_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ScrollBlock block)
{
- Eina.Log.Debug("function elm_interface_scrollable_animate_start_cb_set was called");
+ Eina.Log.Debug("function efl_ui_scrollable_movement_block_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
- ((Panel)ws.Target).SetAnimateStartCb(animate_start_cb);
+ ((Panel)ws.Target).SetMovementBlock(block);
}
catch (Exception e)
{
}
else
{
- elm_interface_scrollable_animate_start_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), animate_start_cb);
+ efl_ui_scrollable_movement_block_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), block);
}
}
- private static elm_interface_scrollable_animate_start_cb_set_delegate elm_interface_scrollable_animate_start_cb_set_static_delegate;
+ private static efl_ui_scrollable_movement_block_set_delegate efl_ui_scrollable_movement_block_set_static_delegate;
- private delegate void elm_interface_scrollable_scroll_down_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb scroll_down_cb);
+ private delegate void efl_ui_scrollable_gravity_get_delegate(System.IntPtr obj, System.IntPtr pd, out double x, out double y);
- public delegate void elm_interface_scrollable_scroll_down_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb scroll_down_cb);
+ public delegate void efl_ui_scrollable_gravity_get_api_delegate(System.IntPtr obj, out double x, out double y);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_scroll_down_cb_set_api_delegate> elm_interface_scrollable_scroll_down_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_scroll_down_cb_set_api_delegate>(Module, "elm_interface_scrollable_scroll_down_cb_set");
+ public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_gravity_get_api_delegate> efl_ui_scrollable_gravity_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_gravity_get_api_delegate>(Module, "efl_ui_scrollable_gravity_get");
- private static void scroll_down_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb scroll_down_cb)
+ private static void gravity_get(System.IntPtr obj, System.IntPtr pd, out double x, out double y)
{
- Eina.Log.Debug("function elm_interface_scrollable_scroll_down_cb_set was called");
+ Eina.Log.Debug("function efl_ui_scrollable_gravity_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
-
+ x = default(double); y = default(double);
try
{
- ((Panel)ws.Target).SetScrollDownCb(scroll_down_cb);
+ ((Panel)ws.Target).GetGravity(out x, out y);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+
}
else
{
- elm_interface_scrollable_scroll_down_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), scroll_down_cb);
+ efl_ui_scrollable_gravity_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out x, out y);
}
}
- private static elm_interface_scrollable_scroll_down_cb_set_delegate elm_interface_scrollable_scroll_down_cb_set_static_delegate;
+ private static efl_ui_scrollable_gravity_get_delegate efl_ui_scrollable_gravity_get_static_delegate;
- private delegate void elm_interface_scrollable_page_relative_set_delegate(System.IntPtr obj, System.IntPtr pd, double h_pagerel, double v_pagerel);
+ private delegate void efl_ui_scrollable_gravity_set_delegate(System.IntPtr obj, System.IntPtr pd, double x, double y);
- public delegate void elm_interface_scrollable_page_relative_set_api_delegate(System.IntPtr obj, double h_pagerel, double v_pagerel);
+ public delegate void efl_ui_scrollable_gravity_set_api_delegate(System.IntPtr obj, double x, double y);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_page_relative_set_api_delegate> elm_interface_scrollable_page_relative_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_page_relative_set_api_delegate>(Module, "elm_interface_scrollable_page_relative_set");
+ public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_gravity_set_api_delegate> efl_ui_scrollable_gravity_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_gravity_set_api_delegate>(Module, "efl_ui_scrollable_gravity_set");
- private static void page_relative_set(System.IntPtr obj, System.IntPtr pd, double h_pagerel, double v_pagerel)
+ private static void gravity_set(System.IntPtr obj, System.IntPtr pd, double x, double y)
{
- Eina.Log.Debug("function elm_interface_scrollable_page_relative_set was called");
+ Eina.Log.Debug("function efl_ui_scrollable_gravity_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
- ((Panel)ws.Target).SetPageRelative(h_pagerel, v_pagerel);
+ ((Panel)ws.Target).SetGravity(x, y);
}
catch (Exception e)
{
}
else
{
- elm_interface_scrollable_page_relative_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), h_pagerel, v_pagerel);
+ efl_ui_scrollable_gravity_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y);
}
}
- private static elm_interface_scrollable_page_relative_set_delegate elm_interface_scrollable_page_relative_set_static_delegate;
+ private static efl_ui_scrollable_gravity_set_delegate efl_ui_scrollable_gravity_set_static_delegate;
- private delegate void elm_interface_scrollable_scroll_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb scroll_cb);
+ private delegate void efl_ui_scrollable_match_content_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool w, [MarshalAs(UnmanagedType.U1)] bool h);
- public delegate void elm_interface_scrollable_scroll_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb scroll_cb);
+ public delegate void efl_ui_scrollable_match_content_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool w, [MarshalAs(UnmanagedType.U1)] bool h);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_scroll_cb_set_api_delegate> elm_interface_scrollable_scroll_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_scroll_cb_set_api_delegate>(Module, "elm_interface_scrollable_scroll_cb_set");
+ public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_match_content_set_api_delegate> efl_ui_scrollable_match_content_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_match_content_set_api_delegate>(Module, "efl_ui_scrollable_match_content_set");
- private static void scroll_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb scroll_cb)
+ private static void match_content_set(System.IntPtr obj, System.IntPtr pd, bool w, bool h)
{
- Eina.Log.Debug("function elm_interface_scrollable_scroll_cb_set was called");
+ Eina.Log.Debug("function efl_ui_scrollable_match_content_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
-
+
try
{
- ((Panel)ws.Target).SetScrollCb(scroll_cb);
+ ((Panel)ws.Target).SetMatchContent(w, h);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+
}
else
{
- elm_interface_scrollable_scroll_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), scroll_cb);
+ efl_ui_scrollable_match_content_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), w, h);
}
}
- private static elm_interface_scrollable_scroll_cb_set_delegate elm_interface_scrollable_scroll_cb_set_static_delegate;
+ private static efl_ui_scrollable_match_content_set_delegate efl_ui_scrollable_match_content_set_static_delegate;
- private delegate void elm_interface_scrollable_animate_stop_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb animate_stop_cb);
+ private delegate Eina.Position2D.NativeStruct efl_ui_scrollable_step_size_get_delegate(System.IntPtr obj, System.IntPtr pd);
- public delegate void elm_interface_scrollable_animate_stop_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb animate_stop_cb);
+ public delegate Eina.Position2D.NativeStruct efl_ui_scrollable_step_size_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_animate_stop_cb_set_api_delegate> elm_interface_scrollable_animate_stop_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_animate_stop_cb_set_api_delegate>(Module, "elm_interface_scrollable_animate_stop_cb_set");
+ public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_step_size_get_api_delegate> efl_ui_scrollable_step_size_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_step_size_get_api_delegate>(Module, "efl_ui_scrollable_step_size_get");
- private static void animate_stop_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb animate_stop_cb)
+ private static Eina.Position2D.NativeStruct step_size_get(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function elm_interface_scrollable_animate_stop_cb_set was called");
+ Eina.Log.Debug("function efl_ui_scrollable_step_size_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
-
+ Eina.Position2D _ret_var = default(Eina.Position2D);
try
{
- ((Panel)ws.Target).SetAnimateStopCb(animate_stop_cb);
+ _ret_var = ((Panel)ws.Target).GetStepSize();
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+ return _ret_var;
+
}
else
{
- elm_interface_scrollable_animate_stop_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), animate_stop_cb);
+ return efl_ui_scrollable_step_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
- private static elm_interface_scrollable_animate_stop_cb_set_delegate elm_interface_scrollable_animate_stop_cb_set_static_delegate;
+ private static efl_ui_scrollable_step_size_get_delegate efl_ui_scrollable_step_size_get_static_delegate;
- private delegate void elm_interface_scrollable_content_min_limit_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableMinLimitCb min_limit_cb);
+ private delegate void efl_ui_scrollable_step_size_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Position2D.NativeStruct step);
- public delegate void elm_interface_scrollable_content_min_limit_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableMinLimitCb min_limit_cb);
+ public delegate void efl_ui_scrollable_step_size_set_api_delegate(System.IntPtr obj, Eina.Position2D.NativeStruct step);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_min_limit_cb_set_api_delegate> elm_interface_scrollable_content_min_limit_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_min_limit_cb_set_api_delegate>(Module, "elm_interface_scrollable_content_min_limit_cb_set");
+ public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_step_size_set_api_delegate> efl_ui_scrollable_step_size_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_step_size_set_api_delegate>(Module, "efl_ui_scrollable_step_size_set");
- private static void content_min_limit_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableMinLimitCb min_limit_cb)
+ private static void step_size_set(System.IntPtr obj, System.IntPtr pd, Eina.Position2D.NativeStruct step)
{
- Eina.Log.Debug("function elm_interface_scrollable_content_min_limit_cb_set was called");
+ Eina.Log.Debug("function efl_ui_scrollable_step_size_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
-
+ Eina.Position2D _in_step = step;
+
try
{
- ((Panel)ws.Target).SetContentMinLimitCb(min_limit_cb);
+ ((Panel)ws.Target).SetStepSize(_in_step);
}
catch (Exception e)
{
}
else
{
- elm_interface_scrollable_content_min_limit_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), min_limit_cb);
+ efl_ui_scrollable_step_size_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), step);
}
}
- private static elm_interface_scrollable_content_min_limit_cb_set_delegate elm_interface_scrollable_content_min_limit_cb_set_static_delegate;
+ private static efl_ui_scrollable_step_size_set_delegate efl_ui_scrollable_step_size_set_static_delegate;
- private delegate void elm_interface_scrollable_scroll_right_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb scroll_right_cb);
+ private delegate void efl_ui_scrollable_scroll_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct rect, [MarshalAs(UnmanagedType.U1)] bool animation);
- public delegate void elm_interface_scrollable_scroll_right_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb scroll_right_cb);
+ public delegate void efl_ui_scrollable_scroll_api_delegate(System.IntPtr obj, Eina.Rect.NativeStruct rect, [MarshalAs(UnmanagedType.U1)] bool animation);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_scroll_right_cb_set_api_delegate> elm_interface_scrollable_scroll_right_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_scroll_right_cb_set_api_delegate>(Module, "elm_interface_scrollable_scroll_right_cb_set");
+ public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_api_delegate> efl_ui_scrollable_scroll_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_api_delegate>(Module, "efl_ui_scrollable_scroll");
- private static void scroll_right_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb scroll_right_cb)
+ private static void scroll(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct rect, bool animation)
{
- Eina.Log.Debug("function elm_interface_scrollable_scroll_right_cb_set was called");
+ Eina.Log.Debug("function efl_ui_scrollable_scroll was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
-
+ Eina.Rect _in_rect = rect;
+
try
{
- ((Panel)ws.Target).SetScrollRightCb(scroll_right_cb);
+ ((Panel)ws.Target).Scroll(_in_rect, animation);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+
}
else
{
- elm_interface_scrollable_scroll_right_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), scroll_right_cb);
+ efl_ui_scrollable_scroll_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), rect, animation);
}
}
- private static elm_interface_scrollable_scroll_right_cb_set_delegate elm_interface_scrollable_scroll_right_cb_set_static_delegate;
+ private static efl_ui_scrollable_scroll_delegate efl_ui_scrollable_scroll_static_delegate;
-
- private delegate void elm_interface_scrollable_content_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Object content);
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ private delegate Efl.Ui.Focus.IManager efl_ui_widget_focus_manager_create_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject root);
-
- public delegate void elm_interface_scrollable_content_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Object content);
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ public delegate Efl.Ui.Focus.IManager efl_ui_widget_focus_manager_create_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject root);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_set_api_delegate> elm_interface_scrollable_content_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_set_api_delegate>(Module, "elm_interface_scrollable_content_set");
+ public static Efl.Eo.FunctionWrapper<efl_ui_widget_focus_manager_create_api_delegate> efl_ui_widget_focus_manager_create_ptr = new Efl.Eo.FunctionWrapper<efl_ui_widget_focus_manager_create_api_delegate>(Module, "efl_ui_widget_focus_manager_create");
- private static void scrollable_content_set(System.IntPtr obj, System.IntPtr pd, Efl.Canvas.Object content)
+ private static Efl.Ui.Focus.IManager focus_manager_create(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IObject root)
{
- Eina.Log.Debug("function elm_interface_scrollable_content_set was called");
+ Eina.Log.Debug("function efl_ui_widget_focus_manager_create was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
-
+ Efl.Ui.Focus.IManager _ret_var = default(Efl.Ui.Focus.IManager);
try
{
- ((Panel)ws.Target).SetScrollableContent(content);
+ _ret_var = ((Panel)ws.Target).FocusManagerCreate(root);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+ return _ret_var;
+
}
else
{
- elm_interface_scrollable_content_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), content);
+ return efl_ui_widget_focus_manager_create_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), root);
}
}
- private static elm_interface_scrollable_content_set_delegate elm_interface_scrollable_content_set_static_delegate;
+ private static efl_ui_widget_focus_manager_create_delegate efl_ui_widget_focus_manager_create_static_delegate;
-
- private delegate void elm_interface_scrollable_edge_left_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb edge_left_cb);
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_ui_focus_layer_enable_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- public delegate void elm_interface_scrollable_edge_left_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb edge_left_cb);
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_ui_focus_layer_enable_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_edge_left_cb_set_api_delegate> elm_interface_scrollable_edge_left_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_edge_left_cb_set_api_delegate>(Module, "elm_interface_scrollable_edge_left_cb_set");
+ public static Efl.Eo.FunctionWrapper<efl_ui_focus_layer_enable_get_api_delegate> efl_ui_focus_layer_enable_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_layer_enable_get_api_delegate>(Module, "efl_ui_focus_layer_enable_get");
- private static void edge_left_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb edge_left_cb)
+ private static bool enable_get(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function elm_interface_scrollable_edge_left_cb_set was called");
+ Eina.Log.Debug("function efl_ui_focus_layer_enable_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
-
+ bool _ret_var = default(bool);
try
{
- ((Panel)ws.Target).SetEdgeLeftCb(edge_left_cb);
+ _ret_var = ((Panel)ws.Target).GetEnable();
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+ return _ret_var;
+
}
else
{
- elm_interface_scrollable_edge_left_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), edge_left_cb);
+ return efl_ui_focus_layer_enable_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
- private static elm_interface_scrollable_edge_left_cb_set_delegate elm_interface_scrollable_edge_left_cb_set_static_delegate;
+ private static efl_ui_focus_layer_enable_get_delegate efl_ui_focus_layer_enable_get_static_delegate;
- private delegate void elm_interface_scrollable_vbar_drag_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb vbar_drag_cb);
+ private delegate void efl_ui_focus_layer_enable_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool v);
- public delegate void elm_interface_scrollable_vbar_drag_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb vbar_drag_cb);
+ public delegate void efl_ui_focus_layer_enable_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool v);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_vbar_drag_cb_set_api_delegate> elm_interface_scrollable_vbar_drag_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_vbar_drag_cb_set_api_delegate>(Module, "elm_interface_scrollable_vbar_drag_cb_set");
+ public static Efl.Eo.FunctionWrapper<efl_ui_focus_layer_enable_set_api_delegate> efl_ui_focus_layer_enable_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_layer_enable_set_api_delegate>(Module, "efl_ui_focus_layer_enable_set");
- private static void vbar_drag_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb vbar_drag_cb)
+ private static void enable_set(System.IntPtr obj, System.IntPtr pd, bool v)
{
- Eina.Log.Debug("function elm_interface_scrollable_vbar_drag_cb_set was called");
+ Eina.Log.Debug("function efl_ui_focus_layer_enable_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
- ((Panel)ws.Target).SetVbarDragCb(vbar_drag_cb);
+ ((Panel)ws.Target).SetEnable(v);
}
catch (Exception e)
{
}
else
{
- elm_interface_scrollable_vbar_drag_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), vbar_drag_cb);
+ efl_ui_focus_layer_enable_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), v);
}
}
- private static elm_interface_scrollable_vbar_drag_cb_set_delegate elm_interface_scrollable_vbar_drag_cb_set_static_delegate;
+ private static efl_ui_focus_layer_enable_set_delegate efl_ui_focus_layer_enable_set_static_delegate;
- private delegate void elm_interface_scrollable_vbar_unpress_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb vbar_unpress_cb);
+ private delegate void efl_ui_focus_layer_behaviour_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] out bool enable_on_visible, [MarshalAs(UnmanagedType.U1)] out bool cycle);
- public delegate void elm_interface_scrollable_vbar_unpress_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb vbar_unpress_cb);
+ public delegate void efl_ui_focus_layer_behaviour_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] out bool enable_on_visible, [MarshalAs(UnmanagedType.U1)] out bool cycle);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_vbar_unpress_cb_set_api_delegate> elm_interface_scrollable_vbar_unpress_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_vbar_unpress_cb_set_api_delegate>(Module, "elm_interface_scrollable_vbar_unpress_cb_set");
+ public static Efl.Eo.FunctionWrapper<efl_ui_focus_layer_behaviour_get_api_delegate> efl_ui_focus_layer_behaviour_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_layer_behaviour_get_api_delegate>(Module, "efl_ui_focus_layer_behaviour_get");
- private static void vbar_unpress_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb vbar_unpress_cb)
+ private static void behaviour_get(System.IntPtr obj, System.IntPtr pd, out bool enable_on_visible, out bool cycle)
{
- Eina.Log.Debug("function elm_interface_scrollable_vbar_unpress_cb_set was called");
+ Eina.Log.Debug("function efl_ui_focus_layer_behaviour_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
-
+ enable_on_visible = default(bool); cycle = default(bool);
try
{
- ((Panel)ws.Target).SetVbarUnpressCb(vbar_unpress_cb);
+ ((Panel)ws.Target).GetBehaviour(out enable_on_visible, out cycle);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+
}
else
{
- elm_interface_scrollable_vbar_unpress_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), vbar_unpress_cb);
+ efl_ui_focus_layer_behaviour_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out enable_on_visible, out cycle);
}
}
- private static elm_interface_scrollable_vbar_unpress_cb_set_delegate elm_interface_scrollable_vbar_unpress_cb_set_static_delegate;
+ private static efl_ui_focus_layer_behaviour_get_delegate efl_ui_focus_layer_behaviour_get_static_delegate;
- private delegate void elm_interface_scrollable_edge_bottom_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb edge_bottom_cb);
+ private delegate void efl_ui_focus_layer_behaviour_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool enable_on_visible, [MarshalAs(UnmanagedType.U1)] bool cycle);
- public delegate void elm_interface_scrollable_edge_bottom_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb edge_bottom_cb);
+ public delegate void efl_ui_focus_layer_behaviour_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool enable_on_visible, [MarshalAs(UnmanagedType.U1)] bool cycle);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_edge_bottom_cb_set_api_delegate> elm_interface_scrollable_edge_bottom_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_edge_bottom_cb_set_api_delegate>(Module, "elm_interface_scrollable_edge_bottom_cb_set");
+ public static Efl.Eo.FunctionWrapper<efl_ui_focus_layer_behaviour_set_api_delegate> efl_ui_focus_layer_behaviour_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_layer_behaviour_set_api_delegate>(Module, "efl_ui_focus_layer_behaviour_set");
- private static void edge_bottom_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb edge_bottom_cb)
+ private static void behaviour_set(System.IntPtr obj, System.IntPtr pd, bool enable_on_visible, bool cycle)
{
- Eina.Log.Debug("function elm_interface_scrollable_edge_bottom_cb_set was called");
+ Eina.Log.Debug("function efl_ui_focus_layer_behaviour_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
-
+
try
{
- ((Panel)ws.Target).SetEdgeBottomCb(edge_bottom_cb);
+ ((Panel)ws.Target).SetBehaviour(enable_on_visible, cycle);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+
}
else
{
- elm_interface_scrollable_edge_bottom_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), edge_bottom_cb);
+ efl_ui_focus_layer_behaviour_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), enable_on_visible, cycle);
}
}
- private static elm_interface_scrollable_edge_bottom_cb_set_delegate elm_interface_scrollable_edge_bottom_cb_set_static_delegate;
+ private static efl_ui_focus_layer_behaviour_set_delegate efl_ui_focus_layer_behaviour_set_static_delegate;
-
- private delegate void elm_interface_scrollable_edge_right_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb edge_right_cb);
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ private delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_focus_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- public delegate void elm_interface_scrollable_edge_right_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb edge_right_cb);
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ public delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_focus_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_edge_right_cb_set_api_delegate> elm_interface_scrollable_edge_right_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_edge_right_cb_set_api_delegate>(Module, "elm_interface_scrollable_edge_right_cb_set");
+ public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_focus_get_api_delegate> efl_ui_focus_manager_focus_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_focus_get_api_delegate>(Module, "efl_ui_focus_manager_focus_get");
- private static void edge_right_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb edge_right_cb)
+ private static Efl.Ui.Focus.IObject manager_focus_get(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function elm_interface_scrollable_edge_right_cb_set was called");
+ Eina.Log.Debug("function efl_ui_focus_manager_focus_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
-
+ Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject);
try
{
- ((Panel)ws.Target).SetEdgeRightCb(edge_right_cb);
+ _ret_var = ((Panel)ws.Target).GetManagerFocus();
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+ return _ret_var;
+
}
else
{
- elm_interface_scrollable_edge_right_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), edge_right_cb);
+ return efl_ui_focus_manager_focus_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
- private static elm_interface_scrollable_edge_right_cb_set_delegate elm_interface_scrollable_edge_right_cb_set_static_delegate;
+ private static efl_ui_focus_manager_focus_get_delegate efl_ui_focus_manager_focus_get_static_delegate;
- private delegate void elm_interface_scrollable_edge_top_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb edge_top_cb);
+ private delegate void efl_ui_focus_manager_focus_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject focus);
- public delegate void elm_interface_scrollable_edge_top_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb edge_top_cb);
+ public delegate void efl_ui_focus_manager_focus_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject focus);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_edge_top_cb_set_api_delegate> elm_interface_scrollable_edge_top_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_edge_top_cb_set_api_delegate>(Module, "elm_interface_scrollable_edge_top_cb_set");
+ public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_focus_set_api_delegate> efl_ui_focus_manager_focus_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_focus_set_api_delegate>(Module, "efl_ui_focus_manager_focus_set");
- private static void edge_top_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb edge_top_cb)
+ private static void manager_focus_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IObject focus)
{
- Eina.Log.Debug("function elm_interface_scrollable_edge_top_cb_set was called");
+ Eina.Log.Debug("function efl_ui_focus_manager_focus_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
- ((Panel)ws.Target).SetEdgeTopCb(edge_top_cb);
+ ((Panel)ws.Target).SetManagerFocus(focus);
}
catch (Exception e)
{
}
else
{
- elm_interface_scrollable_edge_top_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), edge_top_cb);
+ efl_ui_focus_manager_focus_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), focus);
}
}
- private static elm_interface_scrollable_edge_top_cb_set_delegate elm_interface_scrollable_edge_top_cb_set_static_delegate;
+ private static efl_ui_focus_manager_focus_set_delegate efl_ui_focus_manager_focus_set_static_delegate;
-
- private delegate void elm_interface_scrollable_objects_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Object edje_object, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Object hit_rectangle);
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ private delegate Efl.Ui.Focus.IManager efl_ui_focus_manager_redirect_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- public delegate void elm_interface_scrollable_objects_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Object edje_object, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Object hit_rectangle);
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ public delegate Efl.Ui.Focus.IManager efl_ui_focus_manager_redirect_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_objects_set_api_delegate> elm_interface_scrollable_objects_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_objects_set_api_delegate>(Module, "elm_interface_scrollable_objects_set");
+ public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_redirect_get_api_delegate> efl_ui_focus_manager_redirect_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_redirect_get_api_delegate>(Module, "efl_ui_focus_manager_redirect_get");
- private static void objects_set(System.IntPtr obj, System.IntPtr pd, Efl.Canvas.Object edje_object, Efl.Canvas.Object hit_rectangle)
+ private static Efl.Ui.Focus.IManager redirect_get(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function elm_interface_scrollable_objects_set was called");
+ Eina.Log.Debug("function efl_ui_focus_manager_redirect_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
-
+ Efl.Ui.Focus.IManager _ret_var = default(Efl.Ui.Focus.IManager);
try
{
- ((Panel)ws.Target).SetObjects(edje_object, hit_rectangle);
+ _ret_var = ((Panel)ws.Target).GetRedirect();
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+ return _ret_var;
+
}
else
{
- elm_interface_scrollable_objects_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), edje_object, hit_rectangle);
+ return efl_ui_focus_manager_redirect_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
- private static elm_interface_scrollable_objects_set_delegate elm_interface_scrollable_objects_set_static_delegate;
+ private static efl_ui_focus_manager_redirect_get_delegate efl_ui_focus_manager_redirect_get_static_delegate;
- private delegate void elm_interface_scrollable_last_page_get_delegate(System.IntPtr obj, System.IntPtr pd, out int pagenumber_h, out int pagenumber_v);
+ private delegate void efl_ui_focus_manager_redirect_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IManager redirect);
- public delegate void elm_interface_scrollable_last_page_get_api_delegate(System.IntPtr obj, out int pagenumber_h, out int pagenumber_v);
+ public delegate void efl_ui_focus_manager_redirect_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IManager redirect);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_last_page_get_api_delegate> elm_interface_scrollable_last_page_get_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_last_page_get_api_delegate>(Module, "elm_interface_scrollable_last_page_get");
+ public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_redirect_set_api_delegate> efl_ui_focus_manager_redirect_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_redirect_set_api_delegate>(Module, "efl_ui_focus_manager_redirect_set");
- private static void last_page_get(System.IntPtr obj, System.IntPtr pd, out int pagenumber_h, out int pagenumber_v)
+ private static void redirect_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IManager redirect)
{
- Eina.Log.Debug("function elm_interface_scrollable_last_page_get was called");
+ Eina.Log.Debug("function efl_ui_focus_manager_redirect_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- pagenumber_h = default(int); pagenumber_v = default(int);
+
try
{
- ((Panel)ws.Target).GetLastPage(out pagenumber_h, out pagenumber_v);
+ ((Panel)ws.Target).SetRedirect(redirect);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+
}
else
{
- elm_interface_scrollable_last_page_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out pagenumber_h, out pagenumber_v);
+ efl_ui_focus_manager_redirect_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), redirect);
}
}
- private static elm_interface_scrollable_last_page_get_delegate elm_interface_scrollable_last_page_get_static_delegate;
+ private static efl_ui_focus_manager_redirect_set_delegate efl_ui_focus_manager_redirect_set_static_delegate;
- private delegate void elm_interface_scrollable_current_page_get_delegate(System.IntPtr obj, System.IntPtr pd, out int pagenumber_h, out int pagenumber_v);
+ private delegate System.IntPtr efl_ui_focus_manager_border_elements_get_delegate(System.IntPtr obj, System.IntPtr pd);
- public delegate void elm_interface_scrollable_current_page_get_api_delegate(System.IntPtr obj, out int pagenumber_h, out int pagenumber_v);
+ public delegate System.IntPtr efl_ui_focus_manager_border_elements_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_current_page_get_api_delegate> elm_interface_scrollable_current_page_get_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_current_page_get_api_delegate>(Module, "elm_interface_scrollable_current_page_get");
+ public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_border_elements_get_api_delegate> efl_ui_focus_manager_border_elements_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_border_elements_get_api_delegate>(Module, "efl_ui_focus_manager_border_elements_get");
- private static void current_page_get(System.IntPtr obj, System.IntPtr pd, out int pagenumber_h, out int pagenumber_v)
+ private static System.IntPtr border_elements_get(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function elm_interface_scrollable_current_page_get was called");
+ Eina.Log.Debug("function efl_ui_focus_manager_border_elements_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- pagenumber_h = default(int); pagenumber_v = default(int);
+ Eina.Iterator<Efl.Ui.Focus.IObject> _ret_var = default(Eina.Iterator<Efl.Ui.Focus.IObject>);
try
{
- ((Panel)ws.Target).GetCurrentPage(out pagenumber_h, out pagenumber_v);
+ _ret_var = ((Panel)ws.Target).GetBorderElements();
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+ return _ret_var.Handle;
+
}
else
{
- elm_interface_scrollable_current_page_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out pagenumber_h, out pagenumber_v);
+ return efl_ui_focus_manager_border_elements_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
- private static elm_interface_scrollable_current_page_get_delegate elm_interface_scrollable_current_page_get_static_delegate;
+ private static efl_ui_focus_manager_border_elements_get_delegate efl_ui_focus_manager_border_elements_get_static_delegate;
- private delegate void elm_interface_scrollable_content_viewport_geometry_get_delegate(System.IntPtr obj, System.IntPtr pd, out int x, out int y, out int w, out int h);
+ private delegate System.IntPtr efl_ui_focus_manager_viewport_elements_get_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct viewport);
- public delegate void elm_interface_scrollable_content_viewport_geometry_get_api_delegate(System.IntPtr obj, out int x, out int y, out int w, out int h);
+ public delegate System.IntPtr efl_ui_focus_manager_viewport_elements_get_api_delegate(System.IntPtr obj, Eina.Rect.NativeStruct viewport);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_viewport_geometry_get_api_delegate> elm_interface_scrollable_content_viewport_geometry_get_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_viewport_geometry_get_api_delegate>(Module, "elm_interface_scrollable_content_viewport_geometry_get");
+ public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_viewport_elements_get_api_delegate> efl_ui_focus_manager_viewport_elements_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_viewport_elements_get_api_delegate>(Module, "efl_ui_focus_manager_viewport_elements_get");
- private static void content_viewport_geometry_get(System.IntPtr obj, System.IntPtr pd, out int x, out int y, out int w, out int h)
+ private static System.IntPtr viewport_elements_get(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct viewport)
{
- Eina.Log.Debug("function elm_interface_scrollable_content_viewport_geometry_get was called");
+ Eina.Log.Debug("function efl_ui_focus_manager_viewport_elements_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- x = default(int); y = default(int); w = default(int); h = default(int);
+ Eina.Rect _in_viewport = viewport;
+ Eina.Iterator<Efl.Ui.Focus.IObject> _ret_var = default(Eina.Iterator<Efl.Ui.Focus.IObject>);
try
{
- ((Panel)ws.Target).GetContentViewportGeometry(out x, out y, out w, out h);
+ _ret_var = ((Panel)ws.Target).GetViewportElements(_in_viewport);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+ return _ret_var.Handle;
+
}
else
{
- elm_interface_scrollable_content_viewport_geometry_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out x, out y, out w, out h);
+ return efl_ui_focus_manager_viewport_elements_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), viewport);
}
}
- private static elm_interface_scrollable_content_viewport_geometry_get_delegate elm_interface_scrollable_content_viewport_geometry_get_static_delegate;
+ private static efl_ui_focus_manager_viewport_elements_get_delegate efl_ui_focus_manager_viewport_elements_get_static_delegate;
-
- private delegate void elm_interface_scrollable_content_size_get_delegate(System.IntPtr obj, System.IntPtr pd, out int w, out int h);
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ private delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_root_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- public delegate void elm_interface_scrollable_content_size_get_api_delegate(System.IntPtr obj, out int w, out int h);
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ public delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_root_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_size_get_api_delegate> elm_interface_scrollable_content_size_get_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_size_get_api_delegate>(Module, "elm_interface_scrollable_content_size_get");
+ public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_root_get_api_delegate> efl_ui_focus_manager_root_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_root_get_api_delegate>(Module, "efl_ui_focus_manager_root_get");
- private static void content_size_get(System.IntPtr obj, System.IntPtr pd, out int w, out int h)
+ private static Efl.Ui.Focus.IObject root_get(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function elm_interface_scrollable_content_size_get was called");
+ Eina.Log.Debug("function efl_ui_focus_manager_root_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- w = default(int); h = default(int);
+ Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject);
try
{
- ((Panel)ws.Target).GetContentSize(out w, out h);
+ _ret_var = ((Panel)ws.Target).GetRoot();
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+ return _ret_var;
+
}
else
{
- elm_interface_scrollable_content_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out w, out h);
+ return efl_ui_focus_manager_root_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
- private static elm_interface_scrollable_content_size_get_delegate elm_interface_scrollable_content_size_get_static_delegate;
+ private static efl_ui_focus_manager_root_get_delegate efl_ui_focus_manager_root_get_static_delegate;
[return: MarshalAs(UnmanagedType.U1)]
- private delegate bool elm_interface_scrollable_item_loop_enabled_get_delegate(System.IntPtr obj, System.IntPtr pd);
+ private delegate bool efl_ui_focus_manager_root_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject root);
[return: MarshalAs(UnmanagedType.U1)]
- public delegate bool elm_interface_scrollable_item_loop_enabled_get_api_delegate(System.IntPtr obj);
+ public delegate bool efl_ui_focus_manager_root_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject root);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_item_loop_enabled_get_api_delegate> elm_interface_scrollable_item_loop_enabled_get_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_item_loop_enabled_get_api_delegate>(Module, "elm_interface_scrollable_item_loop_enabled_get");
+ public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_root_set_api_delegate> efl_ui_focus_manager_root_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_root_set_api_delegate>(Module, "efl_ui_focus_manager_root_set");
- private static bool item_loop_enabled_get(System.IntPtr obj, System.IntPtr pd)
+ private static bool root_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IObject root)
{
- Eina.Log.Debug("function elm_interface_scrollable_item_loop_enabled_get was called");
+ Eina.Log.Debug("function efl_ui_focus_manager_root_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- bool _ret_var = default(bool);
+ bool _ret_var = default(bool);
try
{
- _ret_var = ((Panel)ws.Target).GetItemLoopEnabled();
+ _ret_var = ((Panel)ws.Target).SetRoot(root);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
- return _ret_var;
+ return _ret_var;
}
else
{
- return elm_interface_scrollable_item_loop_enabled_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ return efl_ui_focus_manager_root_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), root);
}
}
- private static elm_interface_scrollable_item_loop_enabled_get_delegate elm_interface_scrollable_item_loop_enabled_get_static_delegate;
+ private static efl_ui_focus_manager_root_set_delegate efl_ui_focus_manager_root_set_static_delegate;
-
- private delegate void elm_interface_scrollable_item_loop_enabled_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool enable);
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ private delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_move_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.Direction direction);
-
- public delegate void elm_interface_scrollable_item_loop_enabled_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool enable);
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ public delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_move_api_delegate(System.IntPtr obj, Efl.Ui.Focus.Direction direction);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_item_loop_enabled_set_api_delegate> elm_interface_scrollable_item_loop_enabled_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_item_loop_enabled_set_api_delegate>(Module, "elm_interface_scrollable_item_loop_enabled_set");
+ public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_move_api_delegate> efl_ui_focus_manager_move_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_move_api_delegate>(Module, "efl_ui_focus_manager_move");
- private static void item_loop_enabled_set(System.IntPtr obj, System.IntPtr pd, bool enable)
+ private static Efl.Ui.Focus.IObject move(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.Direction direction)
{
- Eina.Log.Debug("function elm_interface_scrollable_item_loop_enabled_set was called");
+ Eina.Log.Debug("function efl_ui_focus_manager_move was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
-
+ Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject);
try
{
- ((Panel)ws.Target).SetItemLoopEnabled(enable);
+ _ret_var = ((Panel)ws.Target).Move(direction);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+ return _ret_var;
+
}
else
{
- elm_interface_scrollable_item_loop_enabled_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), enable);
+ return efl_ui_focus_manager_move_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), direction);
}
}
- private static elm_interface_scrollable_item_loop_enabled_set_delegate elm_interface_scrollable_item_loop_enabled_set_static_delegate;
+ private static efl_ui_focus_manager_move_delegate efl_ui_focus_manager_move_static_delegate;
-
- private delegate void elm_interface_scrollable_content_pos_set_delegate(System.IntPtr obj, System.IntPtr pd, int x, int y, [MarshalAs(UnmanagedType.U1)] bool sig);
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ private delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_request_move_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.Direction direction, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject child, [MarshalAs(UnmanagedType.U1)] bool logical);
-
- public delegate void elm_interface_scrollable_content_pos_set_api_delegate(System.IntPtr obj, int x, int y, [MarshalAs(UnmanagedType.U1)] bool sig);
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ public delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_request_move_api_delegate(System.IntPtr obj, Efl.Ui.Focus.Direction direction, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject child, [MarshalAs(UnmanagedType.U1)] bool logical);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_pos_set_api_delegate> elm_interface_scrollable_content_pos_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_pos_set_api_delegate>(Module, "elm_interface_scrollable_content_pos_set");
+ public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_request_move_api_delegate> efl_ui_focus_manager_request_move_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_request_move_api_delegate>(Module, "efl_ui_focus_manager_request_move");
- private static void content_pos_set(System.IntPtr obj, System.IntPtr pd, int x, int y, bool sig)
+ private static Efl.Ui.Focus.IObject request_move(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.Direction direction, Efl.Ui.Focus.IObject child, bool logical)
{
- Eina.Log.Debug("function elm_interface_scrollable_content_pos_set was called");
+ Eina.Log.Debug("function efl_ui_focus_manager_request_move was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
-
+ Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject);
try
{
- ((Panel)ws.Target).SetContentPos(x, y, sig);
+ _ret_var = ((Panel)ws.Target).MoveRequest(direction, child, logical);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+ return _ret_var;
+
}
else
{
- elm_interface_scrollable_content_pos_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y, sig);
+ return efl_ui_focus_manager_request_move_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), direction, child, logical);
}
}
- private static elm_interface_scrollable_content_pos_set_delegate elm_interface_scrollable_content_pos_set_static_delegate;
+ private static efl_ui_focus_manager_request_move_delegate efl_ui_focus_manager_request_move_static_delegate;
-
- private delegate void elm_interface_scrollable_content_pos_get_delegate(System.IntPtr obj, System.IntPtr pd, out int x, out int y);
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ private delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_request_subchild_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject root);
-
- public delegate void elm_interface_scrollable_content_pos_get_api_delegate(System.IntPtr obj, out int x, out int y);
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ public delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_request_subchild_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject root);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_pos_get_api_delegate> elm_interface_scrollable_content_pos_get_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_pos_get_api_delegate>(Module, "elm_interface_scrollable_content_pos_get");
+ public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_request_subchild_api_delegate> efl_ui_focus_manager_request_subchild_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_request_subchild_api_delegate>(Module, "efl_ui_focus_manager_request_subchild");
- private static void content_pos_get(System.IntPtr obj, System.IntPtr pd, out int x, out int y)
+ private static Efl.Ui.Focus.IObject request_subchild(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IObject root)
{
- Eina.Log.Debug("function elm_interface_scrollable_content_pos_get was called");
+ Eina.Log.Debug("function efl_ui_focus_manager_request_subchild was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- x = default(int); y = default(int);
+ Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject);
try
{
- ((Panel)ws.Target).GetContentPos(out x, out y);
+ _ret_var = ((Panel)ws.Target).RequestSubchild(root);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+ return _ret_var;
+
}
else
{
- elm_interface_scrollable_content_pos_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out x, out y);
+ return efl_ui_focus_manager_request_subchild_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), root);
}
}
- private static elm_interface_scrollable_content_pos_get_delegate elm_interface_scrollable_content_pos_get_static_delegate;
+ private static efl_ui_focus_manager_request_subchild_delegate efl_ui_focus_manager_request_subchild_static_delegate;
- private delegate void elm_interface_scrollable_page_show_delegate(System.IntPtr obj, System.IntPtr pd, int pagenumber_h, int pagenumber_v);
+ private delegate System.IntPtr efl_ui_focus_manager_fetch_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject child);
- public delegate void elm_interface_scrollable_page_show_api_delegate(System.IntPtr obj, int pagenumber_h, int pagenumber_v);
+ public delegate System.IntPtr efl_ui_focus_manager_fetch_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject child);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_page_show_api_delegate> elm_interface_scrollable_page_show_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_page_show_api_delegate>(Module, "elm_interface_scrollable_page_show");
+ public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_fetch_api_delegate> efl_ui_focus_manager_fetch_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_fetch_api_delegate>(Module, "efl_ui_focus_manager_fetch");
- private static void page_show(System.IntPtr obj, System.IntPtr pd, int pagenumber_h, int pagenumber_v)
+ private static System.IntPtr fetch(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IObject child)
{
- Eina.Log.Debug("function elm_interface_scrollable_page_show was called");
+ Eina.Log.Debug("function efl_ui_focus_manager_fetch was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
-
+ Efl.Ui.Focus.Relations _ret_var = default(Efl.Ui.Focus.Relations);
try
{
- ((Panel)ws.Target).ShowPage(pagenumber_h, pagenumber_v);
+ _ret_var = ((Panel)ws.Target).Fetch(child);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+ return Eina.PrimitiveConversion.ManagedToPointerAlloc(_ret_var);
+
}
else
{
- elm_interface_scrollable_page_show_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), pagenumber_h, pagenumber_v);
+ return efl_ui_focus_manager_fetch_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), child);
}
}
- private static elm_interface_scrollable_page_show_delegate elm_interface_scrollable_page_show_static_delegate;
+ private static efl_ui_focus_manager_fetch_delegate efl_ui_focus_manager_fetch_static_delegate;
- private delegate void elm_interface_scrollable_region_bring_in_delegate(System.IntPtr obj, System.IntPtr pd, int x, int y, int w, int h);
+ private delegate Efl.Ui.Focus.ManagerLogicalEndDetail.NativeStruct efl_ui_focus_manager_logical_end_delegate(System.IntPtr obj, System.IntPtr pd);
- public delegate void elm_interface_scrollable_region_bring_in_api_delegate(System.IntPtr obj, int x, int y, int w, int h);
+ public delegate Efl.Ui.Focus.ManagerLogicalEndDetail.NativeStruct efl_ui_focus_manager_logical_end_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_region_bring_in_api_delegate> elm_interface_scrollable_region_bring_in_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_region_bring_in_api_delegate>(Module, "elm_interface_scrollable_region_bring_in");
+ public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_logical_end_api_delegate> efl_ui_focus_manager_logical_end_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_logical_end_api_delegate>(Module, "efl_ui_focus_manager_logical_end");
- private static void region_bring_in(System.IntPtr obj, System.IntPtr pd, int x, int y, int w, int h)
+ private static Efl.Ui.Focus.ManagerLogicalEndDetail.NativeStruct logical_end(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function elm_interface_scrollable_region_bring_in was called");
+ Eina.Log.Debug("function efl_ui_focus_manager_logical_end was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
-
+ Efl.Ui.Focus.ManagerLogicalEndDetail _ret_var = default(Efl.Ui.Focus.ManagerLogicalEndDetail);
try
{
- ((Panel)ws.Target).RegionBringIn(x, y, w, h);
+ _ret_var = ((Panel)ws.Target).LogicalEnd();
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+ return _ret_var;
+
}
else
{
- elm_interface_scrollable_region_bring_in_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y, w, h);
+ return efl_ui_focus_manager_logical_end_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
- private static elm_interface_scrollable_region_bring_in_delegate elm_interface_scrollable_region_bring_in_static_delegate;
+ private static efl_ui_focus_manager_logical_end_delegate efl_ui_focus_manager_logical_end_static_delegate;
- private delegate void elm_interface_scrollable_page_bring_in_delegate(System.IntPtr obj, System.IntPtr pd, int pagenumber_h, int pagenumber_v);
+ private delegate void efl_ui_focus_manager_reset_history_delegate(System.IntPtr obj, System.IntPtr pd);
- public delegate void elm_interface_scrollable_page_bring_in_api_delegate(System.IntPtr obj, int pagenumber_h, int pagenumber_v);
+ public delegate void efl_ui_focus_manager_reset_history_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_page_bring_in_api_delegate> elm_interface_scrollable_page_bring_in_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_page_bring_in_api_delegate>(Module, "elm_interface_scrollable_page_bring_in");
+ public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_reset_history_api_delegate> efl_ui_focus_manager_reset_history_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_reset_history_api_delegate>(Module, "efl_ui_focus_manager_reset_history");
- private static void page_bring_in(System.IntPtr obj, System.IntPtr pd, int pagenumber_h, int pagenumber_v)
+ private static void reset_history(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function elm_interface_scrollable_page_bring_in was called");
+ Eina.Log.Debug("function efl_ui_focus_manager_reset_history was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
-
+
try
{
- ((Panel)ws.Target).PageBringIn(pagenumber_h, pagenumber_v);
+ ((Panel)ws.Target).ResetHistory();
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+
}
else
{
- elm_interface_scrollable_page_bring_in_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), pagenumber_h, pagenumber_v);
+ efl_ui_focus_manager_reset_history_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
- private static elm_interface_scrollable_page_bring_in_delegate elm_interface_scrollable_page_bring_in_static_delegate;
+ private static efl_ui_focus_manager_reset_history_delegate efl_ui_focus_manager_reset_history_static_delegate;
- private delegate void elm_interface_scrollable_content_region_show_delegate(System.IntPtr obj, System.IntPtr pd, int x, int y, int w, int h);
+ private delegate void efl_ui_focus_manager_pop_history_stack_delegate(System.IntPtr obj, System.IntPtr pd);
- public delegate void elm_interface_scrollable_content_region_show_api_delegate(System.IntPtr obj, int x, int y, int w, int h);
+ public delegate void efl_ui_focus_manager_pop_history_stack_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_region_show_api_delegate> elm_interface_scrollable_content_region_show_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_region_show_api_delegate>(Module, "elm_interface_scrollable_content_region_show");
+ public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_pop_history_stack_api_delegate> efl_ui_focus_manager_pop_history_stack_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_pop_history_stack_api_delegate>(Module, "efl_ui_focus_manager_pop_history_stack");
- private static void content_region_show(System.IntPtr obj, System.IntPtr pd, int x, int y, int w, int h)
+ private static void pop_history_stack(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function elm_interface_scrollable_content_region_show was called");
+ Eina.Log.Debug("function efl_ui_focus_manager_pop_history_stack was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
-
+
try
{
- ((Panel)ws.Target).ShowContentRegion(x, y, w, h);
+ ((Panel)ws.Target).PopHistoryStack();
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+
}
else
{
- elm_interface_scrollable_content_region_show_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y, w, h);
+ efl_ui_focus_manager_pop_history_stack_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
- private static elm_interface_scrollable_content_region_show_delegate elm_interface_scrollable_content_region_show_static_delegate;
+ private static efl_ui_focus_manager_pop_history_stack_delegate efl_ui_focus_manager_pop_history_stack_static_delegate;
- private delegate void elm_interface_scrollable_content_min_limit_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool w, [MarshalAs(UnmanagedType.U1)] bool h);
+ private delegate void efl_ui_focus_manager_setup_on_first_touch_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.Direction direction, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject entry);
- public delegate void elm_interface_scrollable_content_min_limit_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool w, [MarshalAs(UnmanagedType.U1)] bool h);
+ public delegate void efl_ui_focus_manager_setup_on_first_touch_api_delegate(System.IntPtr obj, Efl.Ui.Focus.Direction direction, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject entry);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_min_limit_api_delegate> elm_interface_scrollable_content_min_limit_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_min_limit_api_delegate>(Module, "elm_interface_scrollable_content_min_limit");
+ public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_setup_on_first_touch_api_delegate> efl_ui_focus_manager_setup_on_first_touch_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_setup_on_first_touch_api_delegate>(Module, "efl_ui_focus_manager_setup_on_first_touch");
- private static void content_min_limit(System.IntPtr obj, System.IntPtr pd, bool w, bool h)
+ private static void setup_on_first_touch(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.Direction direction, Efl.Ui.Focus.IObject entry)
{
- Eina.Log.Debug("function elm_interface_scrollable_content_min_limit was called");
+ Eina.Log.Debug("function efl_ui_focus_manager_setup_on_first_touch was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
- ((Panel)ws.Target).ContentMinLimit(w, h);
+ ((Panel)ws.Target).SetupOnFirstTouch(direction, entry);
}
catch (Exception e)
{
}
else
{
- elm_interface_scrollable_content_min_limit_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), w, h);
+ efl_ui_focus_manager_setup_on_first_touch_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), direction, entry);
}
}
- private static elm_interface_scrollable_content_min_limit_delegate elm_interface_scrollable_content_min_limit_static_delegate;
+ private static efl_ui_focus_manager_setup_on_first_touch_delegate efl_ui_focus_manager_setup_on_first_touch_static_delegate;
- private delegate void elm_interface_scrollable_wanted_region_set_delegate(System.IntPtr obj, System.IntPtr pd, int x, int y);
+ private delegate void efl_ui_focus_manager_dirty_logic_freeze_delegate(System.IntPtr obj, System.IntPtr pd);
- public delegate void elm_interface_scrollable_wanted_region_set_api_delegate(System.IntPtr obj, int x, int y);
+ public delegate void efl_ui_focus_manager_dirty_logic_freeze_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_wanted_region_set_api_delegate> elm_interface_scrollable_wanted_region_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_wanted_region_set_api_delegate>(Module, "elm_interface_scrollable_wanted_region_set");
+ public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_dirty_logic_freeze_api_delegate> efl_ui_focus_manager_dirty_logic_freeze_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_dirty_logic_freeze_api_delegate>(Module, "efl_ui_focus_manager_dirty_logic_freeze");
- private static void wanted_region_set(System.IntPtr obj, System.IntPtr pd, int x, int y)
+ private static void dirty_logic_freeze(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function elm_interface_scrollable_wanted_region_set was called");
+ Eina.Log.Debug("function efl_ui_focus_manager_dirty_logic_freeze was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
-
+
try
{
- ((Panel)ws.Target).SetWantedRegion(x, y);
+ ((Panel)ws.Target).FreezeDirtyLogic();
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+
}
else
{
- elm_interface_scrollable_wanted_region_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y);
+ efl_ui_focus_manager_dirty_logic_freeze_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
- private static elm_interface_scrollable_wanted_region_set_delegate elm_interface_scrollable_wanted_region_set_static_delegate;
+ private static efl_ui_focus_manager_dirty_logic_freeze_delegate efl_ui_focus_manager_dirty_logic_freeze_static_delegate;
- private delegate void elm_interface_scrollable_custom_pan_pos_adjust_delegate(System.IntPtr obj, System.IntPtr pd, System.IntPtr x, System.IntPtr y);
+ private delegate void efl_ui_focus_manager_dirty_logic_unfreeze_delegate(System.IntPtr obj, System.IntPtr pd);
- public delegate void elm_interface_scrollable_custom_pan_pos_adjust_api_delegate(System.IntPtr obj, System.IntPtr x, System.IntPtr y);
+ public delegate void efl_ui_focus_manager_dirty_logic_unfreeze_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_custom_pan_pos_adjust_api_delegate> elm_interface_scrollable_custom_pan_pos_adjust_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_custom_pan_pos_adjust_api_delegate>(Module, "elm_interface_scrollable_custom_pan_pos_adjust");
+ public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_dirty_logic_unfreeze_api_delegate> efl_ui_focus_manager_dirty_logic_unfreeze_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_dirty_logic_unfreeze_api_delegate>(Module, "efl_ui_focus_manager_dirty_logic_unfreeze");
- private static void custom_pan_pos_adjust(System.IntPtr obj, System.IntPtr pd, System.IntPtr x, System.IntPtr y)
+ private static void dirty_logic_unfreeze(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function elm_interface_scrollable_custom_pan_pos_adjust was called");
+ Eina.Log.Debug("function efl_ui_focus_manager_dirty_logic_unfreeze was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- var _in_x = Eina.PrimitiveConversion.PointerToManaged<int>(x);
- var _in_y = Eina.PrimitiveConversion.PointerToManaged<int>(y);
-
+
try
{
- ((Panel)ws.Target).CustomPanPosAdjust(_in_x, _in_y);
+ ((Panel)ws.Target).DirtyLogicUnfreeze();
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+
}
else
{
- elm_interface_scrollable_custom_pan_pos_adjust_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y);
+ efl_ui_focus_manager_dirty_logic_unfreeze_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
- private static elm_interface_scrollable_custom_pan_pos_adjust_delegate elm_interface_scrollable_custom_pan_pos_adjust_static_delegate;
+ private static efl_ui_focus_manager_dirty_logic_unfreeze_delegate efl_ui_focus_manager_dirty_logic_unfreeze_static_delegate;
#pragma warning restore CA1707, CS1591, SA1300, SA1600
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiPanel_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Ui.PanelOrient> Orient<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Panel, T>magic = null) where T : Efl.Ui.Panel {
+ return new Efl.BindableProperty<Efl.Ui.PanelOrient>("orient", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Hidden<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Panel, T>magic = null) where T : Efl.Ui.Panel {
+ return new Efl.BindableProperty<bool>("hidden", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Scrollable<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Panel, T>magic = null) where T : Efl.Ui.Panel {
+ return new Efl.BindableProperty<bool>("scrollable", fac);
+ }
+
+ public static Efl.BindableProperty<double> ScrollableContentSize<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Panel, T>magic = null) where T : Efl.Ui.Panel {
+ return new Efl.BindableProperty<double>("scrollable_content_size", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Gfx.IEntity> Content<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Panel, T>magic = null) where T : Efl.Ui.Panel {
+ return new Efl.BindableProperty<Efl.Gfx.IEntity>("content", fac);
+ }
+
+ public static Efl.BindableProperty<Eina.Position2D> ContentPos<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Panel, T>magic = null) where T : Efl.Ui.Panel {
+ return new Efl.BindableProperty<Eina.Position2D>("content_pos", fac);
+ }
+
+
+
+
+ public static Efl.BindableProperty<bool> ScrollFreeze<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Panel, T>magic = null) where T : Efl.Ui.Panel {
+ return new Efl.BindableProperty<bool>("scroll_freeze", fac);
+ }
+
+ public static Efl.BindableProperty<bool> ScrollHold<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Panel, T>magic = null) where T : Efl.Ui.Panel {
+ return new Efl.BindableProperty<bool>("scroll_hold", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.Ui.ScrollBlock> MovementBlock<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Panel, T>magic = null) where T : Efl.Ui.Panel {
+ return new Efl.BindableProperty<Efl.Ui.ScrollBlock>("movement_block", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<Eina.Position2D> StepSize<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Panel, T>magic = null) where T : Efl.Ui.Panel {
+ return new Efl.BindableProperty<Eina.Position2D>("step_size", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Enable<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Panel, T>magic = null) where T : Efl.Ui.Panel {
+ return new Efl.BindableProperty<bool>("enable", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.Ui.Focus.IObject> ManagerFocus<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Panel, T>magic = null) where T : Efl.Ui.Panel {
+ return new Efl.BindableProperty<Efl.Ui.Focus.IObject>("manager_focus", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Ui.Focus.IManager> Redirect<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Panel, T>magic = null) where T : Efl.Ui.Panel {
+ return new Efl.BindableProperty<Efl.Ui.Focus.IManager>("redirect", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<Efl.Ui.Focus.IObject> Root<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Panel, T>magic = null) where T : Efl.Ui.Panel {
+ return new Efl.BindableProperty<Efl.Ui.Focus.IObject>("root", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
namespace Efl {
namespace Ui {
public double Rel_x;
/// <summary>content scrolled position (0.0 ~ 1.0) in the panel</summary>
public double Rel_y;
- ///<summary>Constructor for PanelScrollInfo.</summary>
+ /// <summary>Constructor for PanelScrollInfo.</summary>
+ /// <param name="Rel_x">content scrolled position (0.0 ~ 1.0) in the panel</param>;
+ /// <param name="Rel_y">content scrolled position (0.0 ~ 1.0) in the panel</param>;
public PanelScrollInfo(
double Rel_x = default(double),
double Rel_y = default(double) )
this.Rel_y = Rel_y;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 PanelScrollInfo(IntPtr ptr)
{
var tmp = (PanelScrollInfo.NativeStruct)Marshal.PtrToStructure(ptr, typeof(PanelScrollInfo.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct PanelScrollInfo.</summary>
+ /// <summary>Internal wrapper for struct PanelScrollInfo.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
public double Rel_x;
public double Rel_y;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator PanelScrollInfo.NativeStruct(PanelScrollInfo _external_struct)
{
var _internal_struct = new PanelScrollInfo.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator PanelScrollInfo(PanelScrollInfo.NativeStruct _internal_struct)
{
var _external_struct = new PanelScrollInfo();
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Elementary panes class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.Panes.NativeMethods]
[Efl.Eo.BindingEntity]
-public class Panes : Efl.Ui.LayoutBase, Efl.Ui.IClickable, Efl.Ui.ILayoutOrientable
+public class Panes : Efl.Ui.LayoutBase, Efl.Input.IClickable, Efl.Ui.ILayoutOrientable
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Panes(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event PressEvt.</summary>
+ /// <summary>Method to raise event PressEvt.</summary>
public void OnPressEvt(EventArgs e)
{
var key = "_ELM_PANES_EVENT_PRESS";
}
}
}
- ///<summary>Method to raise event UnpressEvt.</summary>
+ /// <summary>Method to raise event UnpressEvt.</summary>
public void OnUnpressEvt(EventArgs e)
{
var key = "_ELM_PANES_EVENT_UNPRESS";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
/// <summary>Called when object is in sequence pressed and unpressed, by the primary button</summary>
- public event EventHandler<Efl.Ui.IClickableClickedEvt_Args> ClickedEvt
+ /// <value><see cref="Efl.Input.IClickableClickedEvt_Args"/></value>
+ public event EventHandler<Efl.Input.IClickableClickedEvt_Args> ClickedEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- Efl.Ui.IClickableClickedEvt_Args args = new Efl.Ui.IClickableClickedEvt_Args();
+ Efl.Input.IClickableClickedEvt_Args args = new Efl.Input.IClickableClickedEvt_Args();
args.arg = evt.Info;
try
{
}
};
- string key = "_EFL_UI_EVENT_CLICKED";
+ string key = "_EFL_INPUT_EVENT_CLICKED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_CLICKED";
+ string key = "_EFL_INPUT_EVENT_CLICKED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event ClickedEvt.</summary>
- public void OnClickedEvt(Efl.Ui.IClickableClickedEvt_Args e)
+ /// <summary>Method to raise event ClickedEvt.</summary>
+ public void OnClickedEvt(Efl.Input.IClickableClickedEvt_Args e)
{
- var key = "_EFL_UI_EVENT_CLICKED";
+ var key = "_EFL_INPUT_EVENT_CLICKED";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
}
}
/// <summary>Called when object is in sequence pressed and unpressed by any button. The button that triggered the event can be found in the event information.</summary>
- public event EventHandler<Efl.Ui.IClickableClickedAnyEvt_Args> ClickedAnyEvt
+ /// <value><see cref="Efl.Input.IClickableClickedAnyEvt_Args"/></value>
+ public event EventHandler<Efl.Input.IClickableClickedAnyEvt_Args> ClickedAnyEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- Efl.Ui.IClickableClickedAnyEvt_Args args = new Efl.Ui.IClickableClickedAnyEvt_Args();
+ Efl.Input.IClickableClickedAnyEvt_Args args = new Efl.Input.IClickableClickedAnyEvt_Args();
args.arg = evt.Info;
try
{
}
};
- string key = "_EFL_UI_EVENT_CLICKED_ANY";
+ string key = "_EFL_INPUT_EVENT_CLICKED_ANY";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_CLICKED_ANY";
+ string key = "_EFL_INPUT_EVENT_CLICKED_ANY";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event ClickedAnyEvt.</summary>
- public void OnClickedAnyEvt(Efl.Ui.IClickableClickedAnyEvt_Args e)
+ /// <summary>Method to raise event ClickedAnyEvt.</summary>
+ public void OnClickedAnyEvt(Efl.Input.IClickableClickedAnyEvt_Args e)
{
- var key = "_EFL_UI_EVENT_CLICKED_ANY";
+ var key = "_EFL_INPUT_EVENT_CLICKED_ANY";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
}
}
/// <summary>Called when the object is pressed, event_info is the button that got pressed</summary>
- public event EventHandler<Efl.Ui.IClickablePressedEvt_Args> PressedEvt
+ /// <value><see cref="Efl.Input.IClickablePressedEvt_Args"/></value>
+ public event EventHandler<Efl.Input.IClickablePressedEvt_Args> PressedEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- Efl.Ui.IClickablePressedEvt_Args args = new Efl.Ui.IClickablePressedEvt_Args();
+ Efl.Input.IClickablePressedEvt_Args args = new Efl.Input.IClickablePressedEvt_Args();
args.arg = Marshal.ReadInt32(evt.Info);
try
{
}
};
- string key = "_EFL_UI_EVENT_PRESSED";
+ string key = "_EFL_INPUT_EVENT_PRESSED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_PRESSED";
+ string key = "_EFL_INPUT_EVENT_PRESSED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event PressedEvt.</summary>
- public void OnPressedEvt(Efl.Ui.IClickablePressedEvt_Args e)
+ /// <summary>Method to raise event PressedEvt.</summary>
+ public void OnPressedEvt(Efl.Input.IClickablePressedEvt_Args e)
{
- var key = "_EFL_UI_EVENT_PRESSED";
+ var key = "_EFL_INPUT_EVENT_PRESSED";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
}
}
/// <summary>Called when the object is no longer pressed, event_info is the button that got pressed</summary>
- public event EventHandler<Efl.Ui.IClickableUnpressedEvt_Args> UnpressedEvt
+ /// <value><see cref="Efl.Input.IClickableUnpressedEvt_Args"/></value>
+ public event EventHandler<Efl.Input.IClickableUnpressedEvt_Args> UnpressedEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- Efl.Ui.IClickableUnpressedEvt_Args args = new Efl.Ui.IClickableUnpressedEvt_Args();
+ Efl.Input.IClickableUnpressedEvt_Args args = new Efl.Input.IClickableUnpressedEvt_Args();
args.arg = Marshal.ReadInt32(evt.Info);
try
{
}
};
- string key = "_EFL_UI_EVENT_UNPRESSED";
+ string key = "_EFL_INPUT_EVENT_UNPRESSED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_UNPRESSED";
+ string key = "_EFL_INPUT_EVENT_UNPRESSED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event UnpressedEvt.</summary>
- public void OnUnpressedEvt(Efl.Ui.IClickableUnpressedEvt_Args e)
+ /// <summary>Method to raise event UnpressedEvt.</summary>
+ public void OnUnpressedEvt(Efl.Input.IClickableUnpressedEvt_Args e)
{
- var key = "_EFL_UI_EVENT_UNPRESSED";
+ var key = "_EFL_INPUT_EVENT_UNPRESSED";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
}
}
/// <summary>Called when the object receives a long press, event_info is the button that got pressed</summary>
- public event EventHandler<Efl.Ui.IClickableLongpressedEvt_Args> LongpressedEvt
+ /// <value><see cref="Efl.Input.IClickableLongpressedEvt_Args"/></value>
+ public event EventHandler<Efl.Input.IClickableLongpressedEvt_Args> LongpressedEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- Efl.Ui.IClickableLongpressedEvt_Args args = new Efl.Ui.IClickableLongpressedEvt_Args();
+ Efl.Input.IClickableLongpressedEvt_Args args = new Efl.Input.IClickableLongpressedEvt_Args();
args.arg = Marshal.ReadInt32(evt.Info);
try
{
}
};
- string key = "_EFL_UI_EVENT_LONGPRESSED";
+ string key = "_EFL_INPUT_EVENT_LONGPRESSED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_LONGPRESSED";
+ string key = "_EFL_INPUT_EVENT_LONGPRESSED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event LongpressedEvt.</summary>
- public void OnLongpressedEvt(Efl.Ui.IClickableLongpressedEvt_Args e)
+ /// <summary>Method to raise event LongpressedEvt.</summary>
+ public void OnLongpressedEvt(Efl.Input.IClickableLongpressedEvt_Args e)
{
- var key = "_EFL_UI_EVENT_LONGPRESSED";
+ var key = "_EFL_INPUT_EVENT_LONGPRESSED";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
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>This returns true if the given object is currently in event emission</summary>
+ virtual public bool GetInteraction() {
+ var _ret_var = Efl.Input.IClickableConcrete.NativeMethods.efl_input_clickable_interaction_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
/// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),button);
+ Efl.Input.IClickableConcrete.NativeMethods.efl_input_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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),button);
+ Efl.Input.IClickableConcrete.NativeMethods.efl_input_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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),button);
+ Efl.Input.IClickableConcrete.NativeMethods.efl_input_clickable_button_state_reset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),button);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>This aborts ongoing longpress event.
+ /// That is, this will stop the timer for longpress.</summary>
+ virtual public void LongpressAbort(uint button) {
+ Efl.Input.IClickableConcrete.NativeMethods.efl_input_clickable_longpress_abort_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.
get { return GetFixed(); }
set { SetFixed(value); }
}
+ /// <summary>This returns true if the given object is currently in event emission</summary>
+ public bool Interaction {
+ get { return GetInteraction(); }
+ }
/// <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_panes_fixed_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_panes_fixed_set_static_delegate) });
}
- if (efl_ui_clickable_press_static_delegate == null)
+ if (efl_input_clickable_interaction_get_static_delegate == null)
+ {
+ efl_input_clickable_interaction_get_static_delegate = new efl_input_clickable_interaction_get_delegate(interaction_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetInteraction") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_clickable_interaction_get"), func = Marshal.GetFunctionPointerForDelegate(efl_input_clickable_interaction_get_static_delegate) });
+ }
+
+ if (efl_input_clickable_press_static_delegate == null)
{
- efl_ui_clickable_press_static_delegate = new efl_ui_clickable_press_delegate(press);
+ efl_input_clickable_press_static_delegate = new efl_input_clickable_press_delegate(press);
}
if (methods.FirstOrDefault(m => m.Name == "Press") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_clickable_press"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_clickable_press_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_clickable_press"), func = Marshal.GetFunctionPointerForDelegate(efl_input_clickable_press_static_delegate) });
}
- if (efl_ui_clickable_unpress_static_delegate == null)
+ if (efl_input_clickable_unpress_static_delegate == null)
{
- efl_ui_clickable_unpress_static_delegate = new efl_ui_clickable_unpress_delegate(unpress);
+ efl_input_clickable_unpress_static_delegate = new efl_input_clickable_unpress_delegate(unpress);
}
if (methods.FirstOrDefault(m => m.Name == "Unpress") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_clickable_unpress"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_clickable_unpress_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_clickable_unpress"), func = Marshal.GetFunctionPointerForDelegate(efl_input_clickable_unpress_static_delegate) });
}
- if (efl_ui_clickable_button_state_reset_static_delegate == null)
+ if (efl_input_clickable_button_state_reset_static_delegate == null)
{
- efl_ui_clickable_button_state_reset_static_delegate = new efl_ui_clickable_button_state_reset_delegate(button_state_reset);
+ efl_input_clickable_button_state_reset_static_delegate = new efl_input_clickable_button_state_reset_delegate(button_state_reset);
}
if (methods.FirstOrDefault(m => m.Name == "ResetButtonState") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_clickable_button_state_reset"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_clickable_button_state_reset_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_clickable_button_state_reset"), func = Marshal.GetFunctionPointerForDelegate(efl_input_clickable_button_state_reset_static_delegate) });
+ }
+
+ if (efl_input_clickable_longpress_abort_static_delegate == null)
+ {
+ efl_input_clickable_longpress_abort_static_delegate = new efl_input_clickable_longpress_abort_delegate(longpress_abort);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "LongpressAbort") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_clickable_longpress_abort"), func = Marshal.GetFunctionPointerForDelegate(efl_input_clickable_longpress_abort_static_delegate) });
}
if (efl_ui_layout_orientation_get_static_delegate == null)
private static efl_ui_panes_fixed_set_delegate efl_ui_panes_fixed_set_static_delegate;
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_input_clickable_interaction_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_input_clickable_interaction_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_input_clickable_interaction_get_api_delegate> efl_input_clickable_interaction_get_ptr = new Efl.Eo.FunctionWrapper<efl_input_clickable_interaction_get_api_delegate>(Module, "efl_input_clickable_interaction_get");
+
+ private static bool interaction_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_input_clickable_interaction_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((Panes)ws.Target).GetInteraction();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_input_clickable_interaction_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_input_clickable_interaction_get_delegate efl_input_clickable_interaction_get_static_delegate;
+
- private delegate void efl_ui_clickable_press_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
+ private delegate void efl_input_clickable_press_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
- public delegate void efl_ui_clickable_press_api_delegate(System.IntPtr obj, uint button);
+ public delegate void efl_input_clickable_press_api_delegate(System.IntPtr obj, uint button);
- public static Efl.Eo.FunctionWrapper<efl_ui_clickable_press_api_delegate> efl_ui_clickable_press_ptr = new Efl.Eo.FunctionWrapper<efl_ui_clickable_press_api_delegate>(Module, "efl_ui_clickable_press");
+ public static Efl.Eo.FunctionWrapper<efl_input_clickable_press_api_delegate> efl_input_clickable_press_ptr = new Efl.Eo.FunctionWrapper<efl_input_clickable_press_api_delegate>(Module, "efl_input_clickable_press");
private static void press(System.IntPtr obj, System.IntPtr pd, uint button)
{
- Eina.Log.Debug("function efl_ui_clickable_press was called");
+ Eina.Log.Debug("function efl_input_clickable_press was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
}
else
{
- efl_ui_clickable_press_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
+ efl_input_clickable_press_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
}
}
- private static efl_ui_clickable_press_delegate efl_ui_clickable_press_static_delegate;
+ private static efl_input_clickable_press_delegate efl_input_clickable_press_static_delegate;
- private delegate void efl_ui_clickable_unpress_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
+ private delegate void efl_input_clickable_unpress_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
- public delegate void efl_ui_clickable_unpress_api_delegate(System.IntPtr obj, uint button);
+ public delegate void efl_input_clickable_unpress_api_delegate(System.IntPtr obj, uint button);
- public static Efl.Eo.FunctionWrapper<efl_ui_clickable_unpress_api_delegate> efl_ui_clickable_unpress_ptr = new Efl.Eo.FunctionWrapper<efl_ui_clickable_unpress_api_delegate>(Module, "efl_ui_clickable_unpress");
+ public static Efl.Eo.FunctionWrapper<efl_input_clickable_unpress_api_delegate> efl_input_clickable_unpress_ptr = new Efl.Eo.FunctionWrapper<efl_input_clickable_unpress_api_delegate>(Module, "efl_input_clickable_unpress");
private static void unpress(System.IntPtr obj, System.IntPtr pd, uint button)
{
- Eina.Log.Debug("function efl_ui_clickable_unpress was called");
+ Eina.Log.Debug("function efl_input_clickable_unpress was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
}
else
{
- efl_ui_clickable_unpress_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
+ efl_input_clickable_unpress_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
}
}
- private static efl_ui_clickable_unpress_delegate efl_ui_clickable_unpress_static_delegate;
+ private static efl_input_clickable_unpress_delegate efl_input_clickable_unpress_static_delegate;
- private delegate void efl_ui_clickable_button_state_reset_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
+ private delegate void efl_input_clickable_button_state_reset_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
- public delegate void efl_ui_clickable_button_state_reset_api_delegate(System.IntPtr obj, uint button);
+ public delegate void efl_input_clickable_button_state_reset_api_delegate(System.IntPtr obj, uint button);
- public static Efl.Eo.FunctionWrapper<efl_ui_clickable_button_state_reset_api_delegate> efl_ui_clickable_button_state_reset_ptr = new Efl.Eo.FunctionWrapper<efl_ui_clickable_button_state_reset_api_delegate>(Module, "efl_ui_clickable_button_state_reset");
+ public static Efl.Eo.FunctionWrapper<efl_input_clickable_button_state_reset_api_delegate> efl_input_clickable_button_state_reset_ptr = new Efl.Eo.FunctionWrapper<efl_input_clickable_button_state_reset_api_delegate>(Module, "efl_input_clickable_button_state_reset");
private static void button_state_reset(System.IntPtr obj, System.IntPtr pd, uint button)
{
- Eina.Log.Debug("function efl_ui_clickable_button_state_reset was called");
+ Eina.Log.Debug("function efl_input_clickable_button_state_reset was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
}
else
{
- efl_ui_clickable_button_state_reset_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
+ efl_input_clickable_button_state_reset_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
}
}
- private static efl_ui_clickable_button_state_reset_delegate efl_ui_clickable_button_state_reset_static_delegate;
+ private static efl_input_clickable_button_state_reset_delegate efl_input_clickable_button_state_reset_static_delegate;
+
+
+ private delegate void efl_input_clickable_longpress_abort_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
+
+
+ public delegate void efl_input_clickable_longpress_abort_api_delegate(System.IntPtr obj, uint button);
+
+ public static Efl.Eo.FunctionWrapper<efl_input_clickable_longpress_abort_api_delegate> efl_input_clickable_longpress_abort_ptr = new Efl.Eo.FunctionWrapper<efl_input_clickable_longpress_abort_api_delegate>(Module, "efl_input_clickable_longpress_abort");
+
+ private static void longpress_abort(System.IntPtr obj, System.IntPtr pd, uint button)
+ {
+ Eina.Log.Debug("function efl_input_clickable_longpress_abort was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Panes)ws.Target).LongpressAbort(button);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_input_clickable_longpress_abort_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
+ }
+ }
+
+ private static efl_input_clickable_longpress_abort_delegate efl_input_clickable_longpress_abort_static_delegate;
private delegate Efl.Ui.LayoutOrientation efl_ui_layout_orientation_get_delegate(System.IntPtr obj, System.IntPtr pd);
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiPanes_ExtensionMethods {
+ public static Efl.BindableProperty<double> SplitRatio<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Panes, T>magic = null) where T : Efl.Ui.Panes {
+ return new Efl.BindableProperty<double>("split_ratio", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Fixed<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Panes, T>magic = null) where T : Efl.Ui.Panes {
+ return new Efl.BindableProperty<bool>("fixed", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.Ui.LayoutOrientation> Orientation<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Panes, T>magic = null) where T : Efl.Ui.Panes {
+ return new Efl.BindableProperty<Efl.Ui.LayoutOrientation>("orientation", fac);
+ }
+
+ public static Efl.BindableFactoryPart<Efl.Ui.PanesPart> SecondPart<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Panes, T> x=null) where T : Efl.Ui.Panes
+ {
+ return new Efl.BindableFactoryPart<Efl.Ui.PanesPart>("second" ,fac);
+ }
+
+ public static Efl.BindableFactoryPart<Efl.Ui.PanesPart> FirstPart<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Panes, T> x=null) where T : Efl.Ui.Panes
+ {
+ return new Efl.BindableFactoryPart<Efl.Ui.PanesPart>("first" ,fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Elementary Panes internal part class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.PanesPart.NativeMethods]
[Efl.Eo.BindingEntity]
public class PanesPart : Efl.Ui.LayoutPartContent
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected PanesPart(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiPanesPart_ExtensionMethods {
+ public static Efl.BindableProperty<bool> HintMinAllow<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.PanesPart, T>magic = null) where T : Efl.Ui.PanesPart {
+ return new Efl.BindableProperty<bool>("hint_min_allow", fac);
+ }
+
+ public static Efl.BindableProperty<double> SplitRatioMin<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.PanesPart, T>magic = null) where T : Efl.Ui.PanesPart {
+ return new Efl.BindableProperty<double>("split_ratio_min", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>EFL UI popup class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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
+public class Popup : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IWidgetFocusManager, Efl.Ui.IWidgetScrollableContent, Efl.Ui.Focus.ILayer, Efl.Ui.Focus.IManager
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Popup(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event BackwallClickedEvt.</summary>
+ /// <summary>Method to raise event BackwallClickedEvt.</summary>
public void OnBackwallClickedEvt(EventArgs e)
{
var key = "_EFL_UI_POPUP_EVENT_BACKWALL_CLICKED";
}
}
}
- ///<summary>Method to raise event TimeoutEvt.</summary>
+ /// <summary>Method to raise event TimeoutEvt.</summary>
public void OnTimeoutEvt(EventArgs e)
{
var key = "_EFL_UI_POPUP_EVENT_TIMEOUT";
}
/// <summary>Sent after the content is set or unset using the current content object.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContentContentChangedEvt_Args"/></value>
public event EventHandler<Efl.IContentContentChangedEvt_Args> ContentChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentChangedEvt.</summary>
+ /// <summary>Method to raise event ContentChangedEvt.</summary>
public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e)
{
var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
IntPtr info = e.arg.NativeHandle;
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
+ /// <summary>The optimal size for the widget based on scrollable content.</summary>
+ /// <value><see cref="Efl.Ui.IWidgetScrollableContentOptimalSizeCalcEvt_Args"/></value>
+ public event EventHandler<Efl.Ui.IWidgetScrollableContentOptimalSizeCalcEvt_Args> OptimalSizeCalcEvt
+ {
+ 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.IWidgetScrollableContentOptimalSizeCalcEvt_Args args = new Efl.Ui.IWidgetScrollableContentOptimalSizeCalcEvt_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_WIDGET_SCROLLABLE_CONTENT_EVENT_OPTIMAL_SIZE_CALC";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_WIDGET_SCROLLABLE_CONTENT_EVENT_OPTIMAL_SIZE_CALC";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event OptimalSizeCalcEvt.</summary>
+ public void OnOptimalSizeCalcEvt(Efl.Ui.IWidgetScrollableContentOptimalSizeCalcEvt_Args e)
+ {
+ var key = "_EFL_UI_WIDGET_SCROLLABLE_CONTENT_EVENT_OPTIMAL_SIZE_CALC";
+ 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>Redirect object has changed, the old manager is passed as an event argument.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IManagerRedirectChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.Focus.IManagerRedirectChangedEvt_Args> RedirectChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event RedirectChangedEvt.</summary>
+ /// <summary>Method to raise event RedirectChangedEvt.</summary>
public void OnRedirectChangedEvt(Efl.Ui.Focus.IManagerRedirectChangedEvt_Args e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_REDIRECT_CHANGED";
}
}
}
- ///<summary>Method to raise event FlushPreEvt.</summary>
+ /// <summary>Method to raise event FlushPreEvt.</summary>
public void OnFlushPreEvt(EventArgs e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_FLUSH_PRE";
}
}
}
- ///<summary>Method to raise event CoordsDirtyEvt.</summary>
+ /// <summary>Method to raise event CoordsDirtyEvt.</summary>
public void OnCoordsDirtyEvt(EventArgs e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_COORDS_DIRTY";
}
/// <summary>The manager_focus property has changed. The previously focused object is passed as an event argument.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args> ManagerFocusChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event ManagerFocusChangedEvt.</summary>
+ /// <summary>Method to raise event ManagerFocusChangedEvt.</summary>
public void OnManagerFocusChangedEvt(Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_MANAGER_FOCUS_CHANGED";
}
/// <summary>Called when this focus manager is frozen or thawed, even_info being <c>true</c> indicates that it is now frozen, <c>false</c> indicates that it is thawed.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args> DirtyLogicFreezeChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event DirtyLogicFreezeChangedEvt.</summary>
+ /// <summary>Method to raise event DirtyLogicFreezeChangedEvt.</summary>
public void OnDirtyLogicFreezeChangedEvt(Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_DIRTY_LOGIC_FREEZE_CHANGED";
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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ /// <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.Popup.NativeMethods.efl_ui_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 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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_size);
+ /// <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.Popup.NativeMethods.efl_ui_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="first">First align priority</param>
+ /// <param name="second">Second align priority</param>
+ /// <param name="third">Third align priority</param>
+ /// <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.Popup.NativeMethods.efl_ui_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="first">First align priority</param>
+ /// <param name="second">Second align priority</param>
+ /// <param name="third">Third align priority</param>
+ /// <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.Popup.NativeMethods.efl_ui_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>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>
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
+ /// <summary>Widgets can call this function during their <see cref="Efl.Canvas.Group.CalculateGroup"/> implementation after the super call to determine whether the internal scroller has performed sizing calculations.
+ /// The optimal_size,calc event will have been emitted during the super call if this method returns <c>true</c>.
+ ///
+ /// In the case that this returns <c>true</c>, it's likely that the widget should be completing its internal sizing calculations from the optimal_size,calc callback using
+ ///
+ /// `efl_canvas_group_calculate(efl_super(ev->object, EFL_UI_WIDGET_SCROLLABLE_CONTENT_MIXIN));`
+ ///
+ /// in order to skip the scrollable sizing calc.</summary>
+ /// <returns>Whether the internal scroller has done sizing calcs.</returns>
+ virtual public bool GetScrollableContentDidGroupCalc() {
+ var _ret_var = Efl.Ui.IWidgetScrollableContentConcrete.NativeMethods.efl_ui_widget_scrollable_content_did_group_calc_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>This is the content which will be placed in the internal scroller.</summary>
+ /// <returns>The content object.</returns>
+ virtual public Efl.Canvas.Object GetScrollableContent() {
+ var _ret_var = Efl.Ui.IWidgetScrollableContentConcrete.NativeMethods.efl_ui_widget_scrollable_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>This is the content which will be placed in the internal scroller.</summary>
+ /// <param name="content">The content object.</param>
+ /// <returns>True on success</returns>
+ virtual public bool SetScrollableContent(Efl.Canvas.Object content) {
+ var _ret_var = Efl.Ui.IWidgetScrollableContentConcrete.NativeMethods.efl_ui_widget_scrollable_content_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),content);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Retrieves the text string currently being displayed by the given text object.
+ /// Do not free() the return value.
+ ///
+ /// See also <see cref="Efl.Ui.IWidgetScrollableContent.SetScrollableText"/>.</summary>
+ /// <returns>Text string to display on it.</returns>
+ virtual public System.String GetScrollableText() {
+ var _ret_var = Efl.Ui.IWidgetScrollableContentConcrete.NativeMethods.efl_ui_widget_scrollable_text_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 text string to be displayed by the given text object. The text will be scrollable depending on its size relative to the object's geometry.
+ /// See also <see cref="Efl.Ui.IWidgetScrollableContent.GetScrollableText"/>.</summary>
+ /// <param name="text">Text string to display on it.</param>
+ virtual public void SetScrollableText(System.String text) {
+ Efl.Ui.IWidgetScrollableContentConcrete.NativeMethods.efl_ui_widget_scrollable_text_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),text);
+ Eina.Error.RaiseIfUnhandledException();
+ }
/// <summary>Enable property</summary>
/// <returns><c>true</c> to set enable the layer <c>false</c> to disable it</returns>
virtual public bool GetEnable() {
}
/// <summary>This will fetch the data from a registered node.
/// Be aware this function will trigger a computation of all dirty nodes.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <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) {
get { return GetTimeout(); }
set { SetTimeout(value); }
}
- /// <summary>get the current popup size.</summary>
- public Eina.Size2D PopupSize {
- get { return GetPopupSize(); }
- set { SetPopupSize(value); }
+ /// <summary>Returns the anchor object which the popup is following.</summary>
+ /// <value>The object which popup is following.</value>
+ public Efl.Canvas.Object Anchor {
+ get { return GetAnchor(); }
+ set { SetAnchor(value); }
+ }
+ /// <summary>Get the align priority of a popup.</summary>
+ /// <value>First align priority</value>
+ public (Efl.Ui.PopupAlign, Efl.Ui.PopupAlign, Efl.Ui.PopupAlign, Efl.Ui.PopupAlign, Efl.Ui.PopupAlign) AlignPriority {
+ get {
+ Efl.Ui.PopupAlign _out_first = default(Efl.Ui.PopupAlign);
+ Efl.Ui.PopupAlign _out_second = default(Efl.Ui.PopupAlign);
+ Efl.Ui.PopupAlign _out_third = default(Efl.Ui.PopupAlign);
+ Efl.Ui.PopupAlign _out_fourth = default(Efl.Ui.PopupAlign);
+ Efl.Ui.PopupAlign _out_fifth = default(Efl.Ui.PopupAlign);
+ GetAlignPriority(out _out_first,out _out_second,out _out_third,out _out_fourth,out _out_fifth);
+ return (_out_first,_out_second,_out_third,_out_fourth,_out_fifth);
+ }
+ set { SetAlignPriority( value.Item1, value.Item2, value.Item3, value.Item4, value.Item5); }
}
/// <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).
get { return GetContent(); }
set { SetContent(value); }
}
+ /// <summary>Widgets can call this function during their <see cref="Efl.Canvas.Group.CalculateGroup"/> implementation after the super call to determine whether the internal scroller has performed sizing calculations.
+ /// The optimal_size,calc event will have been emitted during the super call if this method returns <c>true</c>.
+ ///
+ /// In the case that this returns <c>true</c>, it's likely that the widget should be completing its internal sizing calculations from the optimal_size,calc callback using
+ ///
+ /// `efl_canvas_group_calculate(efl_super(ev->object, EFL_UI_WIDGET_SCROLLABLE_CONTENT_MIXIN));`
+ ///
+ /// in order to skip the scrollable sizing calc.</summary>
+ /// <value>Whether the internal scroller has done sizing calcs.</value>
+ public bool ScrollableContentDidGroupCalc {
+ get { return GetScrollableContentDidGroupCalc(); }
+ }
+ /// <summary>This is the content which will be placed in the internal scroller.</summary>
+ /// <value>The content object.</value>
+ public Efl.Canvas.Object ScrollableContent {
+ get { return GetScrollableContent(); }
+ set { SetScrollableContent(value); }
+ }
+ /// <summary>Retrieves the text string currently being displayed by the given text object.
+ /// Do not free() the return value.
+ ///
+ /// See also <see cref="Efl.Ui.IWidgetScrollableContent.SetScrollableText"/>.</summary>
+ /// <value>Text string to display on it.</value>
+ public System.String ScrollableText {
+ get { return GetScrollableText(); }
+ set { SetScrollableText(value); }
+ }
/// <summary>Enable property</summary>
/// <value><c>true</c> to set enable the layer <c>false</c> to disable it</value>
public bool Enable {
get { return GetEnable(); }
set { SetEnable(value); }
}
+ /// <summary>Constructor for setting the behaviour of the layer</summary>
+ /// <value><c>true</c> means layer will set itself once the inheriting widget becomes visible, <c>false</c> means the layer isn't enabled automatically</value>
+ public (bool, bool) Behaviour {
+ get {
+ bool _out_enable_on_visible = default(bool);
+ bool _out_cycle = default(bool);
+ GetBehaviour(out _out_enable_on_visible,out _out_cycle);
+ return (_out_enable_on_visible,_out_cycle);
+ }
+ set { SetBehaviour( value.Item1, value.Item2); }
+ }
/// <summary>The element which is currently focused by this manager
/// Use this property to retrieve the object currently being focused, or to set the focus to a new one. When <c>focus</c> is a logical child (which cannot receive focus), the next non-logical object is selected instead. If there is no such object, focus does not change.
/// (Since EFL 1.22)</summary>
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_popup_timeout_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_popup_timeout_set_static_delegate) });
}
- if (efl_ui_popup_size_get_static_delegate == null)
+ if (efl_ui_popup_anchor_get_static_delegate == null)
+ {
+ efl_ui_popup_anchor_get_static_delegate = new efl_ui_popup_anchor_get_delegate(anchor_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetAnchor") != null)
{
- efl_ui_popup_size_get_static_delegate = new efl_ui_popup_size_get_delegate(popup_size_get);
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_popup_anchor_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_popup_anchor_get_static_delegate) });
}
- if (methods.FirstOrDefault(m => m.Name == "GetPopupSize") != null)
+ if (efl_ui_popup_anchor_set_static_delegate == null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_popup_size_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_popup_size_get_static_delegate) });
+ efl_ui_popup_anchor_set_static_delegate = new efl_ui_popup_anchor_set_delegate(anchor_set);
}
- if (efl_ui_popup_size_set_static_delegate == null)
+ if (methods.FirstOrDefault(m => m.Name == "SetAnchor") != null)
{
- efl_ui_popup_size_set_static_delegate = new efl_ui_popup_size_set_delegate(popup_size_set);
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_popup_anchor_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_popup_anchor_set_static_delegate) });
}
- if (methods.FirstOrDefault(m => m.Name == "SetPopupSize") != null)
+ if (efl_ui_popup_align_priority_get_static_delegate == null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_popup_size_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_popup_size_set_static_delegate) });
+ efl_ui_popup_align_priority_get_static_delegate = new efl_ui_popup_align_priority_get_delegate(align_priority_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetAlignPriority") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_popup_align_priority_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_popup_align_priority_get_static_delegate) });
+ }
+
+ if (efl_ui_popup_align_priority_set_static_delegate == null)
+ {
+ efl_ui_popup_align_priority_set_static_delegate = new efl_ui_popup_align_priority_set_delegate(align_priority_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetAlignPriority") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_popup_align_priority_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_popup_align_priority_set_static_delegate) });
}
if (efl_content_get_static_delegate == null)
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_widget_focus_manager_create"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_widget_focus_manager_create_static_delegate) });
}
+ if (efl_ui_widget_scrollable_content_did_group_calc_get_static_delegate == null)
+ {
+ efl_ui_widget_scrollable_content_did_group_calc_get_static_delegate = new efl_ui_widget_scrollable_content_did_group_calc_get_delegate(scrollable_content_did_group_calc_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetScrollableContentDidGroupCalc") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_widget_scrollable_content_did_group_calc_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_widget_scrollable_content_did_group_calc_get_static_delegate) });
+ }
+
+ if (efl_ui_widget_scrollable_content_get_static_delegate == null)
+ {
+ efl_ui_widget_scrollable_content_get_static_delegate = new efl_ui_widget_scrollable_content_get_delegate(scrollable_content_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetScrollableContent") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_widget_scrollable_content_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_widget_scrollable_content_get_static_delegate) });
+ }
+
+ if (efl_ui_widget_scrollable_content_set_static_delegate == null)
+ {
+ efl_ui_widget_scrollable_content_set_static_delegate = new efl_ui_widget_scrollable_content_set_delegate(scrollable_content_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetScrollableContent") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_widget_scrollable_content_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_widget_scrollable_content_set_static_delegate) });
+ }
+
+ if (efl_ui_widget_scrollable_text_get_static_delegate == null)
+ {
+ efl_ui_widget_scrollable_text_get_static_delegate = new efl_ui_widget_scrollable_text_get_delegate(scrollable_text_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetScrollableText") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_widget_scrollable_text_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_widget_scrollable_text_get_static_delegate) });
+ }
+
+ if (efl_ui_widget_scrollable_text_set_static_delegate == null)
+ {
+ efl_ui_widget_scrollable_text_set_static_delegate = new efl_ui_widget_scrollable_text_set_delegate(scrollable_text_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetScrollableText") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_widget_scrollable_text_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_widget_scrollable_text_set_static_delegate) });
+ }
+
if (efl_ui_focus_layer_enable_get_static_delegate == null)
{
efl_ui_focus_layer_enable_get_static_delegate = new efl_ui_focus_layer_enable_get_delegate(enable_get);
private static efl_ui_popup_timeout_set_delegate efl_ui_popup_timeout_set_static_delegate;
-
- private delegate Eina.Size2D.NativeStruct efl_ui_popup_size_get_delegate(System.IntPtr obj, System.IntPtr pd);
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ private delegate Efl.Canvas.Object efl_ui_popup_anchor_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- public delegate Eina.Size2D.NativeStruct efl_ui_popup_size_get_api_delegate(System.IntPtr obj);
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ public delegate Efl.Canvas.Object efl_ui_popup_anchor_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<efl_ui_popup_size_get_api_delegate> efl_ui_popup_size_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_popup_size_get_api_delegate>(Module, "efl_ui_popup_size_get");
+ public static Efl.Eo.FunctionWrapper<efl_ui_popup_anchor_get_api_delegate> efl_ui_popup_anchor_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_popup_anchor_get_api_delegate>(Module, "efl_ui_popup_anchor_get");
- private static Eina.Size2D.NativeStruct popup_size_get(System.IntPtr obj, System.IntPtr pd)
+ private static Efl.Canvas.Object anchor_get(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function efl_ui_popup_size_get was called");
+ Eina.Log.Debug("function efl_ui_popup_anchor_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- Eina.Size2D _ret_var = default(Eina.Size2D);
+ Efl.Canvas.Object _ret_var = default(Efl.Canvas.Object);
try
{
- _ret_var = ((Popup)ws.Target).GetPopupSize();
+ _ret_var = ((Popup)ws.Target).GetAnchor();
}
catch (Exception e)
{
}
else
{
- return efl_ui_popup_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ return efl_ui_popup_anchor_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
- private static efl_ui_popup_size_get_delegate efl_ui_popup_size_get_static_delegate;
+ private static efl_ui_popup_anchor_get_delegate efl_ui_popup_anchor_get_static_delegate;
- private delegate void efl_ui_popup_size_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct size);
+ private delegate void efl_ui_popup_anchor_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Object anchor);
- public delegate void efl_ui_popup_size_set_api_delegate(System.IntPtr obj, Eina.Size2D.NativeStruct size);
+ public delegate void efl_ui_popup_anchor_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Object anchor);
- public static Efl.Eo.FunctionWrapper<efl_ui_popup_size_set_api_delegate> efl_ui_popup_size_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_popup_size_set_api_delegate>(Module, "efl_ui_popup_size_set");
+ public static Efl.Eo.FunctionWrapper<efl_ui_popup_anchor_set_api_delegate> efl_ui_popup_anchor_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_popup_anchor_set_api_delegate>(Module, "efl_ui_popup_anchor_set");
- private static void popup_size_set(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct size)
+ private static void anchor_set(System.IntPtr obj, System.IntPtr pd, Efl.Canvas.Object anchor)
{
- Eina.Log.Debug("function efl_ui_popup_size_set was called");
+ Eina.Log.Debug("function efl_ui_popup_anchor_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- Eina.Size2D _in_size = size;
-
+
try
{
- ((Popup)ws.Target).SetPopupSize(_in_size);
+ ((Popup)ws.Target).SetAnchor(anchor);
}
catch (Exception e)
{
}
else
{
- efl_ui_popup_size_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), size);
+ efl_ui_popup_anchor_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), anchor);
}
}
- private static efl_ui_popup_size_set_delegate efl_ui_popup_size_set_static_delegate;
+ private static efl_ui_popup_anchor_set_delegate efl_ui_popup_anchor_set_static_delegate;
+
+
+ private delegate void efl_ui_popup_align_priority_get_delegate(System.IntPtr obj, System.IntPtr pd, 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);
+
+
+ public delegate void efl_ui_popup_align_priority_get_api_delegate(System.IntPtr obj, 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);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_popup_align_priority_get_api_delegate> efl_ui_popup_align_priority_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_popup_align_priority_get_api_delegate>(Module, "efl_ui_popup_align_priority_get");
+
+ private static void align_priority_get(System.IntPtr obj, System.IntPtr pd, 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)
+ {
+ Eina.Log.Debug("function efl_ui_popup_align_priority_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ first = default(Efl.Ui.PopupAlign); second = default(Efl.Ui.PopupAlign); third = default(Efl.Ui.PopupAlign); fourth = default(Efl.Ui.PopupAlign); fifth = default(Efl.Ui.PopupAlign);
+ try
+ {
+ ((Popup)ws.Target).GetAlignPriority(out first, out second, out third, out fourth, out fifth);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_popup_align_priority_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out first, out second, out third, out fourth, out fifth);
+ }
+ }
+
+ private static efl_ui_popup_align_priority_get_delegate efl_ui_popup_align_priority_get_static_delegate;
+
+
+ private delegate void efl_ui_popup_align_priority_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.PopupAlign first, Efl.Ui.PopupAlign second, Efl.Ui.PopupAlign third, Efl.Ui.PopupAlign fourth, Efl.Ui.PopupAlign fifth);
+
+
+ public delegate void efl_ui_popup_align_priority_set_api_delegate(System.IntPtr obj, Efl.Ui.PopupAlign first, Efl.Ui.PopupAlign second, Efl.Ui.PopupAlign third, Efl.Ui.PopupAlign fourth, Efl.Ui.PopupAlign fifth);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_popup_align_priority_set_api_delegate> efl_ui_popup_align_priority_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_popup_align_priority_set_api_delegate>(Module, "efl_ui_popup_align_priority_set");
+
+ private static void align_priority_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.PopupAlign first, Efl.Ui.PopupAlign second, Efl.Ui.PopupAlign third, Efl.Ui.PopupAlign fourth, Efl.Ui.PopupAlign fifth)
+ {
+ Eina.Log.Debug("function efl_ui_popup_align_priority_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Popup)ws.Target).SetAlignPriority(first, second, third, fourth, fifth);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_popup_align_priority_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), first, second, third, fourth, fifth);
+ }
+ }
+
+ private static efl_ui_popup_align_priority_set_delegate efl_ui_popup_align_priority_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_ui_widget_focus_manager_create_delegate efl_ui_widget_focus_manager_create_static_delegate;
[return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_ui_widget_scrollable_content_did_group_calc_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_ui_widget_scrollable_content_did_group_calc_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_widget_scrollable_content_did_group_calc_get_api_delegate> efl_ui_widget_scrollable_content_did_group_calc_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_widget_scrollable_content_did_group_calc_get_api_delegate>(Module, "efl_ui_widget_scrollable_content_did_group_calc_get");
+
+ private static bool scrollable_content_did_group_calc_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_widget_scrollable_content_did_group_calc_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((Popup)ws.Target).GetScrollableContentDidGroupCalc();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_widget_scrollable_content_did_group_calc_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_widget_scrollable_content_did_group_calc_get_delegate efl_ui_widget_scrollable_content_did_group_calc_get_static_delegate;
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ private delegate Efl.Canvas.Object efl_ui_widget_scrollable_content_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ public delegate Efl.Canvas.Object efl_ui_widget_scrollable_content_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_widget_scrollable_content_get_api_delegate> efl_ui_widget_scrollable_content_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_widget_scrollable_content_get_api_delegate>(Module, "efl_ui_widget_scrollable_content_get");
+
+ private static Efl.Canvas.Object scrollable_content_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_widget_scrollable_content_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.Canvas.Object _ret_var = default(Efl.Canvas.Object);
+ try
+ {
+ _ret_var = ((Popup)ws.Target).GetScrollableContent();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_widget_scrollable_content_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_widget_scrollable_content_get_delegate efl_ui_widget_scrollable_content_get_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_ui_widget_scrollable_content_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Object content);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_ui_widget_scrollable_content_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Object content);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_widget_scrollable_content_set_api_delegate> efl_ui_widget_scrollable_content_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_widget_scrollable_content_set_api_delegate>(Module, "efl_ui_widget_scrollable_content_set");
+
+ private static bool scrollable_content_set(System.IntPtr obj, System.IntPtr pd, Efl.Canvas.Object content)
+ {
+ Eina.Log.Debug("function efl_ui_widget_scrollable_content_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((Popup)ws.Target).SetScrollableContent(content);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_widget_scrollable_content_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), content);
+ }
+ }
+
+ private static efl_ui_widget_scrollable_content_set_delegate efl_ui_widget_scrollable_content_set_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
+ private delegate System.String efl_ui_widget_scrollable_text_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
+ public delegate System.String efl_ui_widget_scrollable_text_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_widget_scrollable_text_get_api_delegate> efl_ui_widget_scrollable_text_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_widget_scrollable_text_get_api_delegate>(Module, "efl_ui_widget_scrollable_text_get");
+
+ private static System.String scrollable_text_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_widget_scrollable_text_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ System.String _ret_var = default(System.String);
+ try
+ {
+ _ret_var = ((Popup)ws.Target).GetScrollableText();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_widget_scrollable_text_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_widget_scrollable_text_get_delegate efl_ui_widget_scrollable_text_get_static_delegate;
+
+
+ private delegate void efl_ui_widget_scrollable_text_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String text);
+
+
+ public delegate void efl_ui_widget_scrollable_text_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String text);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_widget_scrollable_text_set_api_delegate> efl_ui_widget_scrollable_text_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_widget_scrollable_text_set_api_delegate>(Module, "efl_ui_widget_scrollable_text_set");
+
+ private static void scrollable_text_set(System.IntPtr obj, System.IntPtr pd, System.String text)
+ {
+ Eina.Log.Debug("function efl_ui_widget_scrollable_text_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Popup)ws.Target).SetScrollableText(text);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_widget_scrollable_text_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), text);
+ }
+ }
+
+ private static efl_ui_widget_scrollable_text_set_delegate efl_ui_widget_scrollable_text_set_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.U1)]
private delegate bool efl_ui_focus_layer_enable_get_delegate(System.IntPtr obj, System.IntPtr pd);
[return: MarshalAs(UnmanagedType.U1)]
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiPopup_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Ui.PopupAlign> Align<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Popup, T>magic = null) where T : Efl.Ui.Popup {
+ return new Efl.BindableProperty<Efl.Ui.PopupAlign>("align", fac);
+ }
+
+ public static Efl.BindableProperty<double> Timeout<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Popup, T>magic = null) where T : Efl.Ui.Popup {
+ return new Efl.BindableProperty<double>("timeout", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Canvas.Object> Anchor<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Popup, T>magic = null) where T : Efl.Ui.Popup {
+ return new Efl.BindableProperty<Efl.Canvas.Object>("anchor", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.Gfx.IEntity> Content<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Popup, T>magic = null) where T : Efl.Ui.Popup {
+ return new Efl.BindableProperty<Efl.Gfx.IEntity>("content", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.Canvas.Object> ScrollableContent<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Popup, T>magic = null) where T : Efl.Ui.Popup {
+ return new Efl.BindableProperty<Efl.Canvas.Object>("scrollable_content", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> ScrollableText<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Popup, T>magic = null) where T : Efl.Ui.Popup {
+ return new Efl.BindableProperty<System.String>("scrollable_text", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Enable<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Popup, T>magic = null) where T : Efl.Ui.Popup {
+ return new Efl.BindableProperty<bool>("enable", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.Ui.Focus.IObject> ManagerFocus<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Popup, T>magic = null) where T : Efl.Ui.Popup {
+ return new Efl.BindableProperty<Efl.Ui.Focus.IObject>("manager_focus", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Ui.Focus.IManager> Redirect<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Popup, T>magic = null) where T : Efl.Ui.Popup {
+ return new Efl.BindableProperty<Efl.Ui.Focus.IManager>("redirect", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<Efl.Ui.Focus.IObject> Root<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Popup, T>magic = null) where T : Efl.Ui.Popup {
+ return new Efl.BindableProperty<Efl.Ui.Focus.IObject>("root", fac);
+ }
+
+ public static Efl.BindablePart<Efl.Ui.PopupPartBackwall> BackwallPart<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Popup, T> x=null) where T : Efl.Ui.Popup
+ {
+ return new Efl.BindablePart<Efl.Ui.PopupPartBackwall>("backwall" ,fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
namespace Efl {
namespace Ui {
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Efl UI Popup internal part backwall class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.PopupPartBackwall.NativeMethods]
[Efl.Eo.BindingEntity]
public class PopupPartBackwall : Efl.Ui.LayoutPart, Efl.IFile
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected PopupPartBackwall(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiPopupPartBackwall_ExtensionMethods {
+ public static Efl.BindableProperty<bool> RepeatEvents<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.PopupPartBackwall, T>magic = null) where T : Efl.Ui.PopupPartBackwall {
+ return new Efl.BindableProperty<bool>("repeat_events", fac);
+ }
+public static Efl.BindableProperty<bool> RepeatEvents<T>(this Efl.BindablePart<T> part, Efl.Csharp.ExtensionTag<Efl.Ui.PopupPartBackwall, T>magic = null) where T : Efl.Ui.PopupPartBackwall {
+ return new Efl.BindableProperty<bool>(part.PartName, "repeat_events", part.Binder);
+ }
+
+ public static Efl.BindableProperty<Eina.File> Mmap<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.PopupPartBackwall, T>magic = null) where T : Efl.Ui.PopupPartBackwall {
+ return new Efl.BindableProperty<Eina.File>("mmap", fac);
+ }
+public static Efl.BindableProperty<Eina.File> Mmap<T>(this Efl.BindablePart<T> part, Efl.Csharp.ExtensionTag<Efl.Ui.PopupPartBackwall, T>magic = null) where T : Efl.Ui.PopupPartBackwall {
+ return new Efl.BindableProperty<Eina.File>(part.PartName, "mmap", part.Binder);
+ }
+
+ public static Efl.BindableProperty<System.String> File<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.PopupPartBackwall, T>magic = null) where T : Efl.Ui.PopupPartBackwall {
+ return new Efl.BindableProperty<System.String>("file", fac);
+ }
+public static Efl.BindableProperty<System.String> File<T>(this Efl.BindablePart<T> part, Efl.Csharp.ExtensionTag<Efl.Ui.PopupPartBackwall, T>magic = null) where T : Efl.Ui.PopupPartBackwall {
+ return new Efl.BindableProperty<System.String>(part.PartName, "file", part.Binder);
+ }
+
+ public static Efl.BindableProperty<System.String> Key<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.PopupPartBackwall, T>magic = null) where T : Efl.Ui.PopupPartBackwall {
+ return new Efl.BindableProperty<System.String>("key", fac);
+ }
+public static Efl.BindableProperty<System.String> Key<T>(this Efl.BindablePart<T> part, Efl.Csharp.ExtensionTag<Efl.Ui.PopupPartBackwall, T>magic = null) where T : Efl.Ui.PopupPartBackwall {
+ return new Efl.BindableProperty<System.String>(part.PartName, "key", part.Binder);
+ }
+
+
+}
+#pragma warning restore CS1591
+#endif
--- /dev/null
+#define EFL_BETA
+#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 PositionManager {
+
+/// <param name="range">The range of items to fill into @.memory. The length of memory must be bigger or equal to the requested items</param>
+/// <param name="memory">The slice to fill the information in, the full slice will be filled if there are enough items</param>
+[Efl.Eo.BindingEntity]
+public delegate Efl.Ui.PositionManager.ObjectBatchResult ObjectBatchCallback(Efl.Ui.PositionManager.RequestRange range, Eina.RwSlice memory);
+public delegate Efl.Ui.PositionManager.ObjectBatchResult.NativeStruct ObjectBatchCallbackInternal(IntPtr data, Efl.Ui.PositionManager.RequestRange.NativeStruct range, Eina.RwSlice memory);
+internal class ObjectBatchCallbackWrapper : IDisposable
+{
+
+ private ObjectBatchCallbackInternal _cb;
+ private IntPtr _cb_data;
+ private EinaFreeCb _cb_free_cb;
+
+ internal ObjectBatchCallbackWrapper (ObjectBatchCallbackInternal _cb, IntPtr _cb_data, EinaFreeCb _cb_free_cb)
+ {
+ this._cb = _cb;
+ this._cb_data = _cb_data;
+ this._cb_free_cb = _cb_free_cb;
+ }
+
+ ~ObjectBatchCallbackWrapper()
+ {
+ Dispose(false);
+ }
+
+ protected virtual void Dispose(bool disposing)
+ {
+ if (this._cb_free_cb != null)
+ {
+ if (disposing)
+ {
+ this._cb_free_cb(this._cb_data);
+ }
+ else
+ {
+ Efl.Eo.Globals.ThreadSafeFreeCbExec(this._cb_free_cb, this._cb_data);
+ }
+ this._cb_free_cb = null;
+ this._cb_data = IntPtr.Zero;
+ this._cb = null;
+ }
+ }
+
+ public void Dispose()
+ {
+ Dispose(true);
+ GC.SuppressFinalize(this);
+ }
+
+ internal Efl.Ui.PositionManager.ObjectBatchResult ManagedCb(Efl.Ui.PositionManager.RequestRange range, Eina.RwSlice memory)
+ {
+ Efl.Ui.PositionManager.RequestRange.NativeStruct _in_range = range;
+ var _ret_var = _cb(_cb_data, _in_range, memory);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+
+ internal static Efl.Ui.PositionManager.ObjectBatchResult.NativeStruct Cb(IntPtr cb_data, Efl.Ui.PositionManager.RequestRange.NativeStruct range, Eina.RwSlice memory)
+ {
+ GCHandle handle = GCHandle.FromIntPtr(cb_data);
+ ObjectBatchCallback cb = (ObjectBatchCallback)handle.Target;
+ Efl.Ui.PositionManager.RequestRange _in_range = range;
+ Efl.Ui.PositionManager.ObjectBatchResult _ret_var = default(Efl.Ui.PositionManager.ObjectBatchResult);
+ try {
+ _ret_var = cb(_in_range, memory);
+ } catch (Exception e) {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+ return _ret_var;
+ }
+}
+}
+
+}
+
+}
+
+namespace Efl {
+
+namespace Ui {
+
+namespace PositionManager {
+
+/// <param name="conf">The configution for this call</param>
+/// <param name="memory">The slice to fill the information in, the full slice will be filled if there are enough items</param>
+[Efl.Eo.BindingEntity]
+public delegate Efl.Ui.PositionManager.SizeBatchResult SizeBatchCallback(Efl.Ui.PositionManager.SizeCallConfig conf, Eina.RwSlice memory);
+public delegate Efl.Ui.PositionManager.SizeBatchResult.NativeStruct SizeBatchCallbackInternal(IntPtr data, Efl.Ui.PositionManager.SizeCallConfig.NativeStruct conf, Eina.RwSlice memory);
+internal class SizeBatchCallbackWrapper : IDisposable
+{
+
+ private SizeBatchCallbackInternal _cb;
+ private IntPtr _cb_data;
+ private EinaFreeCb _cb_free_cb;
+
+ internal SizeBatchCallbackWrapper (SizeBatchCallbackInternal _cb, IntPtr _cb_data, EinaFreeCb _cb_free_cb)
+ {
+ this._cb = _cb;
+ this._cb_data = _cb_data;
+ this._cb_free_cb = _cb_free_cb;
+ }
+
+ ~SizeBatchCallbackWrapper()
+ {
+ Dispose(false);
+ }
+
+ protected virtual void Dispose(bool disposing)
+ {
+ if (this._cb_free_cb != null)
+ {
+ if (disposing)
+ {
+ this._cb_free_cb(this._cb_data);
+ }
+ else
+ {
+ Efl.Eo.Globals.ThreadSafeFreeCbExec(this._cb_free_cb, this._cb_data);
+ }
+ this._cb_free_cb = null;
+ this._cb_data = IntPtr.Zero;
+ this._cb = null;
+ }
+ }
+
+ public void Dispose()
+ {
+ Dispose(true);
+ GC.SuppressFinalize(this);
+ }
+
+ internal Efl.Ui.PositionManager.SizeBatchResult ManagedCb(Efl.Ui.PositionManager.SizeCallConfig conf, Eina.RwSlice memory)
+ {
+ Efl.Ui.PositionManager.SizeCallConfig.NativeStruct _in_conf = conf;
+ var _ret_var = _cb(_cb_data, _in_conf, memory);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+
+ internal static Efl.Ui.PositionManager.SizeBatchResult.NativeStruct Cb(IntPtr cb_data, Efl.Ui.PositionManager.SizeCallConfig.NativeStruct conf, Eina.RwSlice memory)
+ {
+ GCHandle handle = GCHandle.FromIntPtr(cb_data);
+ SizeBatchCallback cb = (SizeBatchCallback)handle.Target;
+ Efl.Ui.PositionManager.SizeCallConfig _in_conf = conf;
+ Efl.Ui.PositionManager.SizeBatchResult _ret_var = default(Efl.Ui.PositionManager.SizeBatchResult);
+ try {
+ _ret_var = cb(_in_conf, memory);
+ } catch (Exception e) {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+ return _ret_var;
+ }
+}
+}
+
+}
+
+}
+
+namespace Efl {
+
+namespace Ui {
+
+namespace PositionManager {
+
+/// <summary>Interface for abstracting the data access of the position managers.
+/// The idea here is that a data-provider, calls <see cref="Efl.Ui.PositionManager.IDataAccessV1.SetDataAccess"/> on the positon manager object and passes the functions that are defined here. At any pointer later in time, the position manager can call these function callbacks to get sizes or objects. A data-provider should always fill all requested items. If a item is not available <c>null</c> is inserted. If a size is not available, a as-close-as-possible approximation should be inserted. The Size callback is equipped with a parameter for if this is a caching request or not. This flag can be used to differentiate between two usecases. The size can be requested for building up a cache over all items. The size can also be requested for applying it to the object. The data-provider might needs to do heavy loading for getting the right size available, in case of a cache build up the as-close-as-possible aproximation is enough there. If it is real placement, the size should be correct. If a size changes after it was returned due to batching, this change still should be annonced with the <see cref="Efl.Ui.PositionManager.IEntity.ItemSizeChanged"/> function.
+///
+/// The depth of the items is used to express a hierachical structure on the items themselves. Any given depth might or might not have a <c>depth_leader</c>. A group is ended when there is either a lower depth, or another depth_leader.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+[Efl.Ui.PositionManager.IDataAccessV1Concrete.NativeMethods]
+[Efl.Eo.BindingEntity]
+public interface IDataAccessV1 :
+ Efl.Eo.IWrapper, IDisposable
+{
+ /// <summary>This gives access to items to be managed. The manager reads this information and modifies the retrieved items' positions and sizes.
+/// <c>obj_access</c> gives access to the graphical entitites to manage. Some of them might be NULL, meaning they are not yet ready to be displayed. Their size in the <c>size_access</c> array will be correct, though, so other entities can still be positioned correctly. Typically, only entities inside the viewport will be retrieved.
+///
+/// <c>size_access</c> gives access to the 2D sizes for the items to manage. All sizes will always be valid, and might change over time (indicated through the <see cref="Efl.Ui.PositionManager.IEntity.ItemSizeChanged"/> method). The whole range might need to be traversed in order to calculate the position of all items in some arrangements.
+///
+/// You can access a batch of objects or sizes by calling the here passed function callbacks. Further details can be found at the function definitions.</summary>
+/// <param name="obj_access">Function callback for canvas objects, even if the start_id is valid, the returned objects may be NULL.</param>
+/// <param name="size_access">Function callback for the size, returned values are always valid, but might be changed later on.</param>
+/// <param name="size">valid size for start_id, 0 <= i < size</param>
+void SetDataAccess(Efl.Ui.PositionManager.ObjectBatchCallback obj_access, Efl.Ui.PositionManager.SizeBatchCallback size_access, int size);
+ /// <summary>This gives access to items to be managed. The manager reads this information and modifies the retrieved items' positions and sizes.
+ /// <c>obj_access</c> gives access to the graphical entitites to manage. Some of them might be NULL, meaning they are not yet ready to be displayed. Their size in the <c>size_access</c> array will be correct, though, so other entities can still be positioned correctly. Typically, only entities inside the viewport will be retrieved.
+ ///
+ /// <c>size_access</c> gives access to the 2D sizes for the items to manage. All sizes will always be valid, and might change over time (indicated through the <see cref="Efl.Ui.PositionManager.IEntity.ItemSizeChanged"/> method). The whole range might need to be traversed in order to calculate the position of all items in some arrangements.
+ ///
+ /// You can access a batch of objects or sizes by calling the here passed function callbacks. Further details can be found at the function definitions.</summary>
+ /// <value>Function callback for canvas objects, even if the start_id is valid, the returned objects may be NULL.</value>
+ (Efl.Ui.PositionManager.ObjectBatchCallback, Efl.Ui.PositionManager.SizeBatchCallback, int) DataAccess {
+ set;
+ }
+}
+/// <summary>Interface for abstracting the data access of the position managers.
+/// The idea here is that a data-provider, calls <see cref="Efl.Ui.PositionManager.IDataAccessV1.SetDataAccess"/> on the positon manager object and passes the functions that are defined here. At any pointer later in time, the position manager can call these function callbacks to get sizes or objects. A data-provider should always fill all requested items. If a item is not available <c>null</c> is inserted. If a size is not available, a as-close-as-possible approximation should be inserted. The Size callback is equipped with a parameter for if this is a caching request or not. This flag can be used to differentiate between two usecases. The size can be requested for building up a cache over all items. The size can also be requested for applying it to the object. The data-provider might needs to do heavy loading for getting the right size available, in case of a cache build up the as-close-as-possible aproximation is enough there. If it is real placement, the size should be correct. If a size changes after it was returned due to batching, this change still should be annonced with the <see cref="Efl.Ui.PositionManager.IEntity.ItemSizeChanged"/> function.
+///
+/// The depth of the items is used to express a hierachical structure on the items themselves. Any given depth might or might not have a <c>depth_leader</c>. A group is ended when there is either a lower depth, or another depth_leader.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IDataAccessV1Concrete :
+ Efl.Eo.EoWrapper
+ , IDataAccessV1
+
+{
+ /// <summary>Pointer to the native class description.</summary>
+ public override System.IntPtr NativeClass
+ {
+ get
+ {
+ if (((object)this).GetType() == typeof(IDataAccessV1Concrete))
+ {
+ return GetEflClassStatic();
+ }
+ else
+ {
+ return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
+ }
+ }
+ }
+
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IDataAccessV1Concrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
+ [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
+ efl_ui_position_manager_data_access_v1_interface_get();
+ /// <summary>Initializes a new instance of the <see cref="IDataAccessV1"/> class.
+ /// Internal usage: 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>
+ private IDataAccessV1Concrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
+ {
+ }
+
+ /// <summary>This gives access to items to be managed. The manager reads this information and modifies the retrieved items' positions and sizes.
+ /// <c>obj_access</c> gives access to the graphical entitites to manage. Some of them might be NULL, meaning they are not yet ready to be displayed. Their size in the <c>size_access</c> array will be correct, though, so other entities can still be positioned correctly. Typically, only entities inside the viewport will be retrieved.
+ ///
+ /// <c>size_access</c> gives access to the 2D sizes for the items to manage. All sizes will always be valid, and might change over time (indicated through the <see cref="Efl.Ui.PositionManager.IEntity.ItemSizeChanged"/> method). The whole range might need to be traversed in order to calculate the position of all items in some arrangements.
+ ///
+ /// You can access a batch of objects or sizes by calling the here passed function callbacks. Further details can be found at the function definitions.</summary>
+ /// <param name="obj_access">Function callback for canvas objects, even if the start_id is valid, the returned objects may be NULL.</param>
+ /// <param name="size_access">Function callback for the size, returned values are always valid, but might be changed later on.</param>
+ /// <param name="size">valid size for start_id, 0 <= i < size</param>
+ public void SetDataAccess(Efl.Ui.PositionManager.ObjectBatchCallback obj_access, Efl.Ui.PositionManager.SizeBatchCallback size_access, int size) {
+ GCHandle obj_access_handle = GCHandle.Alloc(obj_access);
+ GCHandle size_access_handle = GCHandle.Alloc(size_access);
+ Efl.Ui.PositionManager.IDataAccessV1Concrete.NativeMethods.efl_ui_position_manager_data_access_v1_data_access_set_ptr.Value.Delegate(this.NativeHandle,GCHandle.ToIntPtr(obj_access_handle), Efl.Ui.PositionManager.ObjectBatchCallbackWrapper.Cb, Efl.Eo.Globals.free_gchandle, GCHandle.ToIntPtr(size_access_handle), Efl.Ui.PositionManager.SizeBatchCallbackWrapper.Cb, Efl.Eo.Globals.free_gchandle, size);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>This gives access to items to be managed. The manager reads this information and modifies the retrieved items' positions and sizes.
+ /// <c>obj_access</c> gives access to the graphical entitites to manage. Some of them might be NULL, meaning they are not yet ready to be displayed. Their size in the <c>size_access</c> array will be correct, though, so other entities can still be positioned correctly. Typically, only entities inside the viewport will be retrieved.
+ ///
+ /// <c>size_access</c> gives access to the 2D sizes for the items to manage. All sizes will always be valid, and might change over time (indicated through the <see cref="Efl.Ui.PositionManager.IEntity.ItemSizeChanged"/> method). The whole range might need to be traversed in order to calculate the position of all items in some arrangements.
+ ///
+ /// You can access a batch of objects or sizes by calling the here passed function callbacks. Further details can be found at the function definitions.</summary>
+ /// <value>Function callback for canvas objects, even if the start_id is valid, the returned objects may be NULL.</value>
+ public (Efl.Ui.PositionManager.ObjectBatchCallback, Efl.Ui.PositionManager.SizeBatchCallback, int) DataAccess {
+ set { SetDataAccess( value.Item1, value.Item2, value.Item3); }
+ }
+ private static IntPtr GetEflClassStatic()
+ {
+ return Efl.Ui.PositionManager.IDataAccessV1Concrete.efl_ui_position_manager_data_access_v1_interface_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>();
+ var methods = Efl.Eo.Globals.GetUserMethods(type);
+
+ if (efl_ui_position_manager_data_access_v1_data_access_set_static_delegate == null)
+ {
+ efl_ui_position_manager_data_access_v1_data_access_set_static_delegate = new efl_ui_position_manager_data_access_v1_data_access_set_delegate(data_access_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetDataAccess") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_position_manager_data_access_v1_data_access_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_position_manager_data_access_v1_data_access_set_static_delegate) });
+ }
+
+ 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.PositionManager.IDataAccessV1Concrete.efl_ui_position_manager_data_access_v1_interface_get();
+ }
+
+ #pragma warning disable CA1707, CS1591, SA1300, SA1600
+
+
+ private delegate void efl_ui_position_manager_data_access_v1_data_access_set_delegate(System.IntPtr obj, System.IntPtr pd, IntPtr obj_access_data, Efl.Ui.PositionManager.ObjectBatchCallbackInternal obj_access, EinaFreeCb obj_access_free_cb, IntPtr size_access_data, Efl.Ui.PositionManager.SizeBatchCallbackInternal size_access, EinaFreeCb size_access_free_cb, int size);
+
+
+ public delegate void efl_ui_position_manager_data_access_v1_data_access_set_api_delegate(System.IntPtr obj, IntPtr obj_access_data, Efl.Ui.PositionManager.ObjectBatchCallbackInternal obj_access, EinaFreeCb obj_access_free_cb, IntPtr size_access_data, Efl.Ui.PositionManager.SizeBatchCallbackInternal size_access, EinaFreeCb size_access_free_cb, int size);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_position_manager_data_access_v1_data_access_set_api_delegate> efl_ui_position_manager_data_access_v1_data_access_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_position_manager_data_access_v1_data_access_set_api_delegate>(Module, "efl_ui_position_manager_data_access_v1_data_access_set");
+
+ private static void data_access_set(System.IntPtr obj, System.IntPtr pd, IntPtr obj_access_data, Efl.Ui.PositionManager.ObjectBatchCallbackInternal obj_access, EinaFreeCb obj_access_free_cb, IntPtr size_access_data, Efl.Ui.PositionManager.SizeBatchCallbackInternal size_access, EinaFreeCb size_access_free_cb, int size)
+ {
+ Eina.Log.Debug("function efl_ui_position_manager_data_access_v1_data_access_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.Ui.PositionManager.ObjectBatchCallbackWrapper obj_access_wrapper = new Efl.Ui.PositionManager.ObjectBatchCallbackWrapper(obj_access, obj_access_data, obj_access_free_cb);
+ Efl.Ui.PositionManager.SizeBatchCallbackWrapper size_access_wrapper = new Efl.Ui.PositionManager.SizeBatchCallbackWrapper(size_access, size_access_data, size_access_free_cb);
+
+ try
+ {
+ ((IDataAccessV1)ws.Target).SetDataAccess(obj_access_wrapper.ManagedCb, size_access_wrapper.ManagedCb, size);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_position_manager_data_access_v1_data_access_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), obj_access_data, obj_access, obj_access_free_cb, size_access_data, size_access, size_access_free_cb, size);
+ }
+ }
+
+ private static efl_ui_position_manager_data_access_v1_data_access_set_delegate efl_ui_position_manager_data_access_v1_data_access_set_static_delegate;
+
+ #pragma warning restore CA1707, CS1591, SA1300, SA1600
+
+}
+}
+}
+
+}
+
+}
+
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_Ui_Position_ManagerIDataAccessV1Concrete_ExtensionMethods {
+
+}
+#pragma warning restore CS1591
+#endif
+namespace Efl {
+
+namespace Ui {
+
+namespace PositionManager {
+
+/// <summary>Representing the range of a request.</summary>
+[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
+public struct RequestRange
+{
+ /// <summary>The first item that must be filled into the passed slice.</summary>
+ public uint Start_id;
+ /// <summary>The last item that must be filled into the passed slice.</summary>
+ public uint End_id;
+ /// <summary>Constructor for RequestRange.</summary>
+ /// <param name="Start_id">The first item that must be filled into the passed slice.</param>;
+ /// <param name="End_id">The last item that must be filled into the passed slice.</param>;
+ public RequestRange(
+ uint Start_id = default(uint),
+ uint End_id = default(uint) )
+ {
+ this.Start_id = Start_id;
+ this.End_id = End_id;
+ }
+
+ /// <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 RequestRange(IntPtr ptr)
+ {
+ var tmp = (RequestRange.NativeStruct)Marshal.PtrToStructure(ptr, typeof(RequestRange.NativeStruct));
+ return tmp;
+ }
+
+ #pragma warning disable CS1591
+
+ /// <summary>Internal wrapper for struct RequestRange.</summary>
+ [StructLayout(LayoutKind.Sequential)]
+ public struct NativeStruct
+ {
+
+ public uint Start_id;
+
+ public uint End_id;
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
+ public static implicit operator RequestRange.NativeStruct(RequestRange _external_struct)
+ {
+ var _internal_struct = new RequestRange.NativeStruct();
+ _internal_struct.Start_id = _external_struct.Start_id;
+ _internal_struct.End_id = _external_struct.End_id;
+ return _internal_struct;
+ }
+
+ /// <summary>Implicit conversion to the managed representation.</summary>
+ public static implicit operator RequestRange(RequestRange.NativeStruct _internal_struct)
+ {
+ var _external_struct = new RequestRange();
+ _external_struct.Start_id = _internal_struct.Start_id;
+ _external_struct.End_id = _internal_struct.End_id;
+ return _external_struct;
+ }
+
+ }
+
+ #pragma warning restore CS1591
+
+}
+
+}
+
+}
+
+}
+
+namespace Efl {
+
+namespace Ui {
+
+namespace PositionManager {
+
+/// <summary>Struct that is getting filled by the object function callback.</summary>
+[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
+public struct ObjectBatchEntity
+{
+ /// <summary>The canvas object.</summary>
+ public Efl.Gfx.IEntity Entity;
+ /// <summary>The depth change in this returned entity. Every Element has a depth, if the parent is <c>null</c> the depth is 0. Every step deeper into the hirachy is exactly one depth deeper. If this depth has been different to the previous item, then this element can be seen as the group leader. The following elements with the same depth are in the same group.</summary>
+ public byte Element_depth;
+ /// <summary><c>true</c> if this is the leader of a group</summary>
+ public bool Depth_leader;
+ /// <summary>Constructor for ObjectBatchEntity.</summary>
+ /// <param name="Entity">The canvas object.</param>;
+ /// <param name="Element_depth">The depth change in this returned entity. Every Element has a depth, if the parent is <c>null</c> the depth is 0. Every step deeper into the hirachy is exactly one depth deeper. If this depth has been different to the previous item, then this element can be seen as the group leader. The following elements with the same depth are in the same group.</param>;
+ /// <param name="Depth_leader"><c>true</c> if this is the leader of a group</param>;
+ public ObjectBatchEntity(
+ Efl.Gfx.IEntity Entity = default(Efl.Gfx.IEntity),
+ byte Element_depth = default(byte),
+ bool Depth_leader = default(bool) )
+ {
+ this.Entity = Entity;
+ this.Element_depth = Element_depth;
+ this.Depth_leader = Depth_leader;
+ }
+
+ /// <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 ObjectBatchEntity(IntPtr ptr)
+ {
+ var tmp = (ObjectBatchEntity.NativeStruct)Marshal.PtrToStructure(ptr, typeof(ObjectBatchEntity.NativeStruct));
+ return tmp;
+ }
+
+ #pragma warning disable CS1591
+
+ /// <summary>Internal wrapper for struct ObjectBatchEntity.</summary>
+ [StructLayout(LayoutKind.Sequential)]
+ public struct NativeStruct
+ {
+ /// <summary>Internal wrapper for field Entity</summary>
+ public System.IntPtr Entity;
+
+ public byte Element_depth;
+ /// <summary>Internal wrapper for field Depth_leader</summary>
+ public System.Byte Depth_leader;
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
+ public static implicit operator ObjectBatchEntity.NativeStruct(ObjectBatchEntity _external_struct)
+ {
+ var _internal_struct = new ObjectBatchEntity.NativeStruct();
+ _internal_struct.Entity = _external_struct.Entity?.NativeHandle ?? System.IntPtr.Zero;
+ _internal_struct.Element_depth = _external_struct.Element_depth;
+ _internal_struct.Depth_leader = _external_struct.Depth_leader ? (byte)1 : (byte)0;
+ return _internal_struct;
+ }
+
+ /// <summary>Implicit conversion to the managed representation.</summary>
+ public static implicit operator ObjectBatchEntity(ObjectBatchEntity.NativeStruct _internal_struct)
+ {
+ var _external_struct = new ObjectBatchEntity();
+
+ _external_struct.Entity = (Efl.Gfx.IEntityConcrete) Efl.Eo.Globals.CreateWrapperFor(_internal_struct.Entity);
+ _external_struct.Element_depth = _internal_struct.Element_depth;
+ _external_struct.Depth_leader = _internal_struct.Depth_leader != 0;
+ return _external_struct;
+ }
+
+ }
+
+ #pragma warning restore CS1591
+
+}
+
+}
+
+}
+
+}
+
+namespace Efl {
+
+namespace Ui {
+
+namespace PositionManager {
+
+/// <summary>Struct that is getting filled by the size function callback.</summary>
+[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
+public struct SizeBatchEntity
+{
+ /// <summary>The size of the element.</summary>
+ /// <value>A 2D size in pixels.</value>
+ public Eina.Size2D Size;
+ /// <summary>The depth change in this returned entity. Every Element has a depth, if the parent is <c>null</c> the depth is 0. Every step deeper into the hirachy is exactly one depth deeper. If this depth has been different to the previous item, then this element can be seen as the group leader. The following elements with the same depth are in the same group.</summary>
+ public byte Element_depth;
+ /// <summary><c>true</c> if this is the leader of a group</summary>
+ public bool Depth_leader;
+ /// <summary>Constructor for SizeBatchEntity.</summary>
+ /// <param name="Size">The size of the element.</param>;
+ /// <param name="Element_depth">The depth change in this returned entity. Every Element has a depth, if the parent is <c>null</c> the depth is 0. Every step deeper into the hirachy is exactly one depth deeper. If this depth has been different to the previous item, then this element can be seen as the group leader. The following elements with the same depth are in the same group.</param>;
+ /// <param name="Depth_leader"><c>true</c> if this is the leader of a group</param>;
+ public SizeBatchEntity(
+ Eina.Size2D Size = default(Eina.Size2D),
+ byte Element_depth = default(byte),
+ bool Depth_leader = default(bool) )
+ {
+ this.Size = Size;
+ this.Element_depth = Element_depth;
+ this.Depth_leader = Depth_leader;
+ }
+
+ /// <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 SizeBatchEntity(IntPtr ptr)
+ {
+ var tmp = (SizeBatchEntity.NativeStruct)Marshal.PtrToStructure(ptr, typeof(SizeBatchEntity.NativeStruct));
+ return tmp;
+ }
+
+ #pragma warning disable CS1591
+
+ /// <summary>Internal wrapper for struct SizeBatchEntity.</summary>
+ [StructLayout(LayoutKind.Sequential)]
+ public struct NativeStruct
+ {
+
+ public Eina.Size2D.NativeStruct Size;
+
+ public byte Element_depth;
+ /// <summary>Internal wrapper for field Depth_leader</summary>
+ public System.Byte Depth_leader;
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
+ public static implicit operator SizeBatchEntity.NativeStruct(SizeBatchEntity _external_struct)
+ {
+ var _internal_struct = new SizeBatchEntity.NativeStruct();
+ _internal_struct.Size = _external_struct.Size;
+ _internal_struct.Element_depth = _external_struct.Element_depth;
+ _internal_struct.Depth_leader = _external_struct.Depth_leader ? (byte)1 : (byte)0;
+ return _internal_struct;
+ }
+
+ /// <summary>Implicit conversion to the managed representation.</summary>
+ public static implicit operator SizeBatchEntity(SizeBatchEntity.NativeStruct _internal_struct)
+ {
+ var _external_struct = new SizeBatchEntity();
+ _external_struct.Size = _internal_struct.Size;
+ _external_struct.Element_depth = _internal_struct.Element_depth;
+ _external_struct.Depth_leader = _internal_struct.Depth_leader != 0;
+ return _external_struct;
+ }
+
+ }
+
+ #pragma warning restore CS1591
+
+}
+
+}
+
+}
+
+}
+
+namespace Efl {
+
+namespace Ui {
+
+namespace PositionManager {
+
+/// <summary>Struct returned by the size access callback.</summary>
+[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
+public struct SizeBatchResult
+{
+ /// <summary>The group size of the group where the first item is part of.</summary>
+ /// <value>A 2D size in pixels.</value>
+ public Eina.Size2D Parent_size;
+ /// <summary>The depth of the parent</summary>
+ public byte Parent_depth;
+ /// <summary>The number of items that are filled into the slice.</summary>
+ public uint Filled_items;
+ /// <summary>Constructor for SizeBatchResult.</summary>
+ /// <param name="Parent_size">The group size of the group where the first item is part of.</param>;
+ /// <param name="Parent_depth">The depth of the parent</param>;
+ /// <param name="Filled_items">The number of items that are filled into the slice.</param>;
+ public SizeBatchResult(
+ Eina.Size2D Parent_size = default(Eina.Size2D),
+ byte Parent_depth = default(byte),
+ uint Filled_items = default(uint) )
+ {
+ this.Parent_size = Parent_size;
+ this.Parent_depth = Parent_depth;
+ this.Filled_items = Filled_items;
+ }
+
+ /// <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 SizeBatchResult(IntPtr ptr)
+ {
+ var tmp = (SizeBatchResult.NativeStruct)Marshal.PtrToStructure(ptr, typeof(SizeBatchResult.NativeStruct));
+ return tmp;
+ }
+
+ #pragma warning disable CS1591
+
+ /// <summary>Internal wrapper for struct SizeBatchResult.</summary>
+ [StructLayout(LayoutKind.Sequential)]
+ public struct NativeStruct
+ {
+
+ public Eina.Size2D.NativeStruct Parent_size;
+
+ public byte Parent_depth;
+
+ public uint Filled_items;
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
+ public static implicit operator SizeBatchResult.NativeStruct(SizeBatchResult _external_struct)
+ {
+ var _internal_struct = new SizeBatchResult.NativeStruct();
+ _internal_struct.Parent_size = _external_struct.Parent_size;
+ _internal_struct.Parent_depth = _external_struct.Parent_depth;
+ _internal_struct.Filled_items = _external_struct.Filled_items;
+ return _internal_struct;
+ }
+
+ /// <summary>Implicit conversion to the managed representation.</summary>
+ public static implicit operator SizeBatchResult(SizeBatchResult.NativeStruct _internal_struct)
+ {
+ var _external_struct = new SizeBatchResult();
+ _external_struct.Parent_size = _internal_struct.Parent_size;
+ _external_struct.Parent_depth = _internal_struct.Parent_depth;
+ _external_struct.Filled_items = _internal_struct.Filled_items;
+ return _external_struct;
+ }
+
+ }
+
+ #pragma warning restore CS1591
+
+}
+
+}
+
+}
+
+}
+
+namespace Efl {
+
+namespace Ui {
+
+namespace PositionManager {
+
+/// <summary>Struct that is returned by the function callbacks.</summary>
+[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
+public struct SizeCallConfig
+{
+ /// <summary>The range of items to fill into @.memory. The length of memory must be bigger or equal to the requested items</summary>
+ /// <value>Representing the range of a request.</value>
+ public Efl.Ui.PositionManager.RequestRange Range;
+ /// <summary>Indicate if this request is made for caching or displaying. If its for caching, the data-provider will fill in approximations, instead of doing heavy lifting from some backend. If this is not a caching call, the exact size should be requested and delivered at some later point.</summary>
+ public bool Cache_request;
+ /// <summary>Constructor for SizeCallConfig.</summary>
+ /// <param name="Range">The range of items to fill into @.memory. The length of memory must be bigger or equal to the requested items</param>;
+ /// <param name="Cache_request">Indicate if this request is made for caching or displaying. If its for caching, the data-provider will fill in approximations, instead of doing heavy lifting from some backend. If this is not a caching call, the exact size should be requested and delivered at some later point.</param>;
+ public SizeCallConfig(
+ Efl.Ui.PositionManager.RequestRange Range = default(Efl.Ui.PositionManager.RequestRange),
+ bool Cache_request = default(bool) )
+ {
+ this.Range = Range;
+ this.Cache_request = Cache_request;
+ }
+
+ /// <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 SizeCallConfig(IntPtr ptr)
+ {
+ var tmp = (SizeCallConfig.NativeStruct)Marshal.PtrToStructure(ptr, typeof(SizeCallConfig.NativeStruct));
+ return tmp;
+ }
+
+ #pragma warning disable CS1591
+
+ /// <summary>Internal wrapper for struct SizeCallConfig.</summary>
+ [StructLayout(LayoutKind.Sequential)]
+ public struct NativeStruct
+ {
+
+ public Efl.Ui.PositionManager.RequestRange.NativeStruct Range;
+ /// <summary>Internal wrapper for field Cache_request</summary>
+ public System.Byte Cache_request;
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
+ public static implicit operator SizeCallConfig.NativeStruct(SizeCallConfig _external_struct)
+ {
+ var _internal_struct = new SizeCallConfig.NativeStruct();
+ _internal_struct.Range = _external_struct.Range;
+ _internal_struct.Cache_request = _external_struct.Cache_request ? (byte)1 : (byte)0;
+ return _internal_struct;
+ }
+
+ /// <summary>Implicit conversion to the managed representation.</summary>
+ public static implicit operator SizeCallConfig(SizeCallConfig.NativeStruct _internal_struct)
+ {
+ var _external_struct = new SizeCallConfig();
+ _external_struct.Range = _internal_struct.Range;
+ _external_struct.Cache_request = _internal_struct.Cache_request != 0;
+ return _external_struct;
+ }
+
+ }
+
+ #pragma warning restore CS1591
+
+}
+
+}
+
+}
+
+}
+
+namespace Efl {
+
+namespace Ui {
+
+namespace PositionManager {
+
+/// <summary>Struct returned by the object access callback</summary>
+[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
+public struct ObjectBatchResult
+{
+ /// <summary>The group where the first item is part of</summary>
+ public Efl.Ui.Item Group;
+ /// <summary>The depth of the parent</summary>
+ public byte Parent_depth;
+ /// <summary>The number of items that are filled into the slice</summary>
+ public uint Filled_items;
+ /// <summary>Constructor for ObjectBatchResult.</summary>
+ /// <param name="Group">The group where the first item is part of</param>;
+ /// <param name="Parent_depth">The depth of the parent</param>;
+ /// <param name="Filled_items">The number of items that are filled into the slice</param>;
+ public ObjectBatchResult(
+ Efl.Ui.Item Group = default(Efl.Ui.Item),
+ byte Parent_depth = default(byte),
+ uint Filled_items = default(uint) )
+ {
+ this.Group = Group;
+ this.Parent_depth = Parent_depth;
+ this.Filled_items = Filled_items;
+ }
+
+ /// <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 ObjectBatchResult(IntPtr ptr)
+ {
+ var tmp = (ObjectBatchResult.NativeStruct)Marshal.PtrToStructure(ptr, typeof(ObjectBatchResult.NativeStruct));
+ return tmp;
+ }
+
+ #pragma warning disable CS1591
+
+ /// <summary>Internal wrapper for struct ObjectBatchResult.</summary>
+ [StructLayout(LayoutKind.Sequential)]
+ public struct NativeStruct
+ {
+ /// <summary>Internal wrapper for field Group</summary>
+ public System.IntPtr Group;
+
+ public byte Parent_depth;
+
+ public uint Filled_items;
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
+ public static implicit operator ObjectBatchResult.NativeStruct(ObjectBatchResult _external_struct)
+ {
+ var _internal_struct = new ObjectBatchResult.NativeStruct();
+ _internal_struct.Group = _external_struct.Group?.NativeHandle ?? System.IntPtr.Zero;
+ _internal_struct.Parent_depth = _external_struct.Parent_depth;
+ _internal_struct.Filled_items = _external_struct.Filled_items;
+ return _internal_struct;
+ }
+
+ /// <summary>Implicit conversion to the managed representation.</summary>
+ public static implicit operator ObjectBatchResult(ObjectBatchResult.NativeStruct _internal_struct)
+ {
+ var _external_struct = new ObjectBatchResult();
+
+ _external_struct.Group = (Efl.Ui.Item) Efl.Eo.Globals.CreateWrapperFor(_internal_struct.Group);
+ _external_struct.Parent_depth = _internal_struct.Parent_depth;
+ _external_struct.Filled_items = _internal_struct.Filled_items;
+ return _external_struct;
+ }
+
+ }
+
+ #pragma warning restore CS1591
+
+}
+
+}
+
+}
+
+}
+
--- /dev/null
+#define EFL_BETA
+#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 PositionManager {
+
+/// <summary>This abstracts the basic placement of items in a not defined form under a viewport.
+/// The interface gets a defined set of elements that is meant to be displayed. The implementation provides a way to calculate the size that is required to display all items. Every time this absolut size of items is changed, content_size,changed is called.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+[Efl.Ui.PositionManager.IEntityConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
+public interface IEntity :
+ Efl.Ui.ILayoutOrientable ,
+ Efl.Eo.IWrapper, IDisposable
+{
+ /// <summary>This is the position and size of the viewport, where elements are displayed in. Entities outside this viewport will not be shown.</summary>
+void SetViewport(Eina.Rect viewport);
+ /// <summary>Move the items relative to the viewport.
+/// The items that are managed with this position manager might be bigger than the actual viewport. The positioning of the layer where all items are on is described by these values. 0.0,0.0 means that layer is moved that the top left items are shown, 1.0,1.0 means, that the lower right items are shown.</summary>
+/// <param name="x">X position of the scroller, valid form 0 to 1.0</param>
+/// <param name="y">Y position of the scroller, valid form 0 to 1.0</param>
+void SetScrollPosition(double x, double y);
+ /// <summary>Return the version of Data_Access that is used. This object needs to implement the interface Efl.Ui.Position_Manager.Data_Access_V1 if 1 is returned. 2 if V2 (not available yet) is implemented.</summary>
+/// <param name="max">The maximum version that is available from the data-provider.</param>
+/// <returns>The version that should be used here. 0 is an error.</returns>
+int Version(int max);
+ /// <summary>Return the position and size of item idx
+/// This method returns the size and position of the item at <c>idx</c>. Even if the item is outside the viewport, the returned rectangle must be valid. The result can be used for scrolling calculations.</summary>
+/// <param name="idx">The id for the item</param>
+/// <returns>Position and Size in canvas coordinations</returns>
+Eina.Rect PositionSingleItem(int idx);
+ /// <summary>The new item <c>subobj</c> has been added at the <c>added_index</c> field.
+/// The accessor provided through <see cref="Efl.Ui.PositionManager.IDataAccessV1.SetDataAccess"/> will contain updated Entities.</summary>
+void ItemAdded(int added_index, Efl.Gfx.IEntity subobj);
+ /// <summary>The item <c>subobj</c> previously at position <c>removed_index</c> has been removed. The accessor provided through <see cref="Efl.Ui.PositionManager.IDataAccessV1.SetDataAccess"/> will contain updated Entities.</summary>
+void ItemRemoved(int removed_index, Efl.Gfx.IEntity subobj);
+ /// <summary>The size of the items from <c>start_id</c> to <c>end_id</c> have been changed. The positioning and sizing of all items will be updated</summary>
+/// <param name="start_id">The first item that has a new size</param>
+/// <param name="end_id">The last item that has a new size</param>
+void ItemSizeChanged(int start_id, int end_id);
+ /// <summary>translate the current_id, into a new id which is oriented in the <c>direction</c> of <c>current_id</c>. In case that there is no item, -1 is returned</summary>
+/// <param name="current_id">The id where the direction is oriented at</param>
+/// <param name="direction">The direction where the new id is</param>
+/// <returns>The id of the item in that direction, or -1 if there is no item in that direction</returns>
+int RelativeItem(uint current_id, Efl.Ui.Focus.Direction direction);
+ /// <summary>Emitted when the aggregate size of all items has changed. This can be used to resize an enclosing Pan object.</summary>
+ /// <value><see cref="Efl.Ui.PositionManager.IEntityContentSizeChangedEvt_Args"/></value>
+ event EventHandler<Efl.Ui.PositionManager.IEntityContentSizeChangedEvt_Args> ContentSizeChangedEvt;
+ /// <summary>Emitted when the minimum size of all items has changed. The minimum size is the size, that this position_manager needs at *least* to display a single item.</summary>
+ /// <value><see cref="Efl.Ui.PositionManager.IEntityContentMinSizeChangedEvt_Args"/></value>
+ event EventHandler<Efl.Ui.PositionManager.IEntityContentMinSizeChangedEvt_Args> ContentMinSizeChangedEvt;
+ /// <value><see cref="Efl.Ui.PositionManager.IEntityVisibleRangeChangedEvt_Args"/></value>
+ event EventHandler<Efl.Ui.PositionManager.IEntityVisibleRangeChangedEvt_Args> VisibleRangeChangedEvt;
+ /// <summary>This is the position and size of the viewport, where elements are displayed in. Entities outside this viewport will not be shown.</summary>
+ Eina.Rect Viewport {
+ set;
+ }
+ /// <summary>Move the items relative to the viewport.
+ /// The items that are managed with this position manager might be bigger than the actual viewport. The positioning of the layer where all items are on is described by these values. 0.0,0.0 means that layer is moved that the top left items are shown, 1.0,1.0 means, that the lower right items are shown.</summary>
+ /// <value>X position of the scroller, valid form 0 to 1.0</value>
+ (double, double) ScrollPosition {
+ set;
+ }
+}
+/// <summary>Event argument wrapper for event <see cref="Efl.Ui.PositionManager.IEntity.ContentSizeChangedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
+public class IEntityContentSizeChangedEvt_Args : EventArgs {
+ /// <summary>Actual event payload.</summary>
+ /// <value>Emitted when the aggregate size of all items has changed. This can be used to resize an enclosing Pan object.</value>
+ public Eina.Size2D arg { get; set; }
+}
+/// <summary>Event argument wrapper for event <see cref="Efl.Ui.PositionManager.IEntity.ContentMinSizeChangedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
+public class IEntityContentMinSizeChangedEvt_Args : EventArgs {
+ /// <summary>Actual event payload.</summary>
+ /// <value>Emitted when the minimum size of all items has changed. The minimum size is the size, that this position_manager needs at *least* to display a single item.</value>
+ public Eina.Size2D arg { get; set; }
+}
+/// <summary>Event argument wrapper for event <see cref="Efl.Ui.PositionManager.IEntity.VisibleRangeChangedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
+public class IEntityVisibleRangeChangedEvt_Args : EventArgs {
+ /// <summary>Actual event payload.</summary>
+ /// <value></value>
+ public Efl.Ui.PositionManager.RangeUpdate arg { get; set; }
+}
+/// <summary>This abstracts the basic placement of items in a not defined form under a viewport.
+/// The interface gets a defined set of elements that is meant to be displayed. The implementation provides a way to calculate the size that is required to display all items. Every time this absolut size of items is changed, content_size,changed is called.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IEntityConcrete :
+ Efl.Eo.EoWrapper
+ , IEntity
+ , Efl.Ui.ILayoutOrientable
+{
+ /// <summary>Pointer to the native class description.</summary>
+ public override System.IntPtr NativeClass
+ {
+ get
+ {
+ if (((object)this).GetType() == typeof(IEntityConcrete))
+ {
+ return GetEflClassStatic();
+ }
+ else
+ {
+ return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
+ }
+ }
+ }
+
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</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(efl.Libs.Elementary)] internal static extern System.IntPtr
+ efl_ui_position_manager_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>
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private IEntityConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
+ {
+ }
+
+ /// <summary>Emitted when the aggregate size of all items has changed. This can be used to resize an enclosing Pan object.</summary>
+ /// <value><see cref="Efl.Ui.PositionManager.IEntityContentSizeChangedEvt_Args"/></value>
+ public event EventHandler<Efl.Ui.PositionManager.IEntityContentSizeChangedEvt_Args> ContentSizeChangedEvt
+ {
+ 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.PositionManager.IEntityContentSizeChangedEvt_Args args = new Efl.Ui.PositionManager.IEntityContentSizeChangedEvt_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_POSITION_MANAGER_ENTITY_EVENT_CONTENT_SIZE_CHANGED";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_POSITION_MANAGER_ENTITY_EVENT_CONTENT_SIZE_CHANGED";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event ContentSizeChangedEvt.</summary>
+ public void OnContentSizeChangedEvt(Efl.Ui.PositionManager.IEntityContentSizeChangedEvt_Args e)
+ {
+ var key = "_EFL_UI_POSITION_MANAGER_ENTITY_EVENT_CONTENT_SIZE_CHANGED";
+ 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>Emitted when the minimum size of all items has changed. The minimum size is the size, that this position_manager needs at *least* to display a single item.</summary>
+ /// <value><see cref="Efl.Ui.PositionManager.IEntityContentMinSizeChangedEvt_Args"/></value>
+ public event EventHandler<Efl.Ui.PositionManager.IEntityContentMinSizeChangedEvt_Args> ContentMinSizeChangedEvt
+ {
+ 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.PositionManager.IEntityContentMinSizeChangedEvt_Args args = new Efl.Ui.PositionManager.IEntityContentMinSizeChangedEvt_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_POSITION_MANAGER_ENTITY_EVENT_CONTENT_MIN_SIZE_CHANGED";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_POSITION_MANAGER_ENTITY_EVENT_CONTENT_MIN_SIZE_CHANGED";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event ContentMinSizeChangedEvt.</summary>
+ public void OnContentMinSizeChangedEvt(Efl.Ui.PositionManager.IEntityContentMinSizeChangedEvt_Args e)
+ {
+ var key = "_EFL_UI_POSITION_MANAGER_ENTITY_EVENT_CONTENT_MIN_SIZE_CHANGED";
+ 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);
+ }
+ }
+ /// <value><see cref="Efl.Ui.PositionManager.IEntityVisibleRangeChangedEvt_Args"/></value>
+ public event EventHandler<Efl.Ui.PositionManager.IEntityVisibleRangeChangedEvt_Args> VisibleRangeChangedEvt
+ {
+ 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.PositionManager.IEntityVisibleRangeChangedEvt_Args args = new Efl.Ui.PositionManager.IEntityVisibleRangeChangedEvt_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_POSITION_MANAGER_ENTITY_EVENT_VISIBLE_RANGE_CHANGED";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_POSITION_MANAGER_ENTITY_EVENT_VISIBLE_RANGE_CHANGED";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event VisibleRangeChangedEvt.</summary>
+ public void OnVisibleRangeChangedEvt(Efl.Ui.PositionManager.IEntityVisibleRangeChangedEvt_Args e)
+ {
+ var key = "_EFL_UI_POSITION_MANAGER_ENTITY_EVENT_VISIBLE_RANGE_CHANGED";
+ 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 is the position and size of the viewport, where elements are displayed in. Entities outside this viewport will not be shown.</summary>
+ public void SetViewport(Eina.Rect viewport) {
+ Eina.Rect.NativeStruct _in_viewport = viewport;
+ Efl.Ui.PositionManager.IEntityConcrete.NativeMethods.efl_ui_position_manager_entity_viewport_set_ptr.Value.Delegate(this.NativeHandle,_in_viewport);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Move the items relative to the viewport.
+ /// The items that are managed with this position manager might be bigger than the actual viewport. The positioning of the layer where all items are on is described by these values. 0.0,0.0 means that layer is moved that the top left items are shown, 1.0,1.0 means, that the lower right items are shown.</summary>
+ /// <param name="x">X position of the scroller, valid form 0 to 1.0</param>
+ /// <param name="y">Y position of the scroller, valid form 0 to 1.0</param>
+ public void SetScrollPosition(double x, double y) {
+ Efl.Ui.PositionManager.IEntityConcrete.NativeMethods.efl_ui_position_manager_entity_scroll_position_set_ptr.Value.Delegate(this.NativeHandle,x, y);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Return the version of Data_Access that is used. This object needs to implement the interface Efl.Ui.Position_Manager.Data_Access_V1 if 1 is returned. 2 if V2 (not available yet) is implemented.</summary>
+ /// <param name="max">The maximum version that is available from the data-provider.</param>
+ /// <returns>The version that should be used here. 0 is an error.</returns>
+ public int Version(int max) {
+ var _ret_var = Efl.Ui.PositionManager.IEntityConcrete.NativeMethods.efl_ui_position_manager_entity_version_ptr.Value.Delegate(this.NativeHandle,max);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Return the position and size of item idx
+ /// This method returns the size and position of the item at <c>idx</c>. Even if the item is outside the viewport, the returned rectangle must be valid. The result can be used for scrolling calculations.</summary>
+ /// <param name="idx">The id for the item</param>
+ /// <returns>Position and Size in canvas coordinations</returns>
+ public Eina.Rect PositionSingleItem(int idx) {
+ var _ret_var = Efl.Ui.PositionManager.IEntityConcrete.NativeMethods.efl_ui_position_manager_entity_position_single_item_ptr.Value.Delegate(this.NativeHandle,idx);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>The new item <c>subobj</c> has been added at the <c>added_index</c> field.
+ /// The accessor provided through <see cref="Efl.Ui.PositionManager.IDataAccessV1.SetDataAccess"/> will contain updated Entities.</summary>
+ public void ItemAdded(int added_index, Efl.Gfx.IEntity subobj) {
+ Efl.Ui.PositionManager.IEntityConcrete.NativeMethods.efl_ui_position_manager_entity_item_added_ptr.Value.Delegate(this.NativeHandle,added_index, subobj);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>The item <c>subobj</c> previously at position <c>removed_index</c> has been removed. The accessor provided through <see cref="Efl.Ui.PositionManager.IDataAccessV1.SetDataAccess"/> will contain updated Entities.</summary>
+ public void ItemRemoved(int removed_index, Efl.Gfx.IEntity subobj) {
+ Efl.Ui.PositionManager.IEntityConcrete.NativeMethods.efl_ui_position_manager_entity_item_removed_ptr.Value.Delegate(this.NativeHandle,removed_index, subobj);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>The size of the items from <c>start_id</c> to <c>end_id</c> have been changed. The positioning and sizing of all items will be updated</summary>
+ /// <param name="start_id">The first item that has a new size</param>
+ /// <param name="end_id">The last item that has a new size</param>
+ public void ItemSizeChanged(int start_id, int end_id) {
+ Efl.Ui.PositionManager.IEntityConcrete.NativeMethods.efl_ui_position_manager_entity_item_size_changed_ptr.Value.Delegate(this.NativeHandle,start_id, end_id);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>translate the current_id, into a new id which is oriented in the <c>direction</c> of <c>current_id</c>. In case that there is no item, -1 is returned</summary>
+ /// <param name="current_id">The id where the direction is oriented at</param>
+ /// <param name="direction">The direction where the new id is</param>
+ /// <returns>The id of the item in that direction, or -1 if there is no item in that direction</returns>
+ public int RelativeItem(uint current_id, Efl.Ui.Focus.Direction direction) {
+ var _ret_var = Efl.Ui.PositionManager.IEntityConcrete.NativeMethods.efl_ui_position_manager_entity_relative_item_ptr.Value.Delegate(this.NativeHandle,current_id, direction);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <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>
+ public Efl.Ui.LayoutOrientation GetOrientation() {
+ var _ret_var = Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_get_ptr.Value.Delegate(this.NativeHandle);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <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>
+ /// <param name="dir">Direction of the widget.</param>
+ public void SetOrientation(Efl.Ui.LayoutOrientation dir) {
+ Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_set_ptr.Value.Delegate(this.NativeHandle,dir);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>This is the position and size of the viewport, where elements are displayed in. Entities outside this viewport will not be shown.</summary>
+ public Eina.Rect Viewport {
+ set { SetViewport(value); }
+ }
+ /// <summary>Move the items relative to the viewport.
+ /// The items that are managed with this position manager might be bigger than the actual viewport. The positioning of the layer where all items are on is described by these values. 0.0,0.0 means that layer is moved that the top left items are shown, 1.0,1.0 means, that the lower right items are shown.</summary>
+ /// <value>X position of the scroller, valid form 0 to 1.0</value>
+ public (double, double) ScrollPosition {
+ set { SetScrollPosition( value.Item1, value.Item2); }
+ }
+ /// <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>
+ /// <value>Direction of the widget.</value>
+ public Efl.Ui.LayoutOrientation Orientation {
+ get { return GetOrientation(); }
+ set { SetOrientation(value); }
+ }
+ private static IntPtr GetEflClassStatic()
+ {
+ return Efl.Ui.PositionManager.IEntityConcrete.efl_ui_position_manager_entity_interface_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>();
+ var methods = Efl.Eo.Globals.GetUserMethods(type);
+
+ if (efl_ui_position_manager_entity_viewport_set_static_delegate == null)
+ {
+ efl_ui_position_manager_entity_viewport_set_static_delegate = new efl_ui_position_manager_entity_viewport_set_delegate(viewport_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetViewport") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_position_manager_entity_viewport_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_position_manager_entity_viewport_set_static_delegate) });
+ }
+
+ if (efl_ui_position_manager_entity_scroll_position_set_static_delegate == null)
+ {
+ efl_ui_position_manager_entity_scroll_position_set_static_delegate = new efl_ui_position_manager_entity_scroll_position_set_delegate(scroll_position_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetScrollPosition") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_position_manager_entity_scroll_position_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_position_manager_entity_scroll_position_set_static_delegate) });
+ }
+
+ if (efl_ui_position_manager_entity_version_static_delegate == null)
+ {
+ efl_ui_position_manager_entity_version_static_delegate = new efl_ui_position_manager_entity_version_delegate(version);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "Version") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_position_manager_entity_version"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_position_manager_entity_version_static_delegate) });
+ }
+
+ if (efl_ui_position_manager_entity_position_single_item_static_delegate == null)
+ {
+ efl_ui_position_manager_entity_position_single_item_static_delegate = new efl_ui_position_manager_entity_position_single_item_delegate(position_single_item);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "PositionSingleItem") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_position_manager_entity_position_single_item"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_position_manager_entity_position_single_item_static_delegate) });
+ }
+
+ if (efl_ui_position_manager_entity_item_added_static_delegate == null)
+ {
+ efl_ui_position_manager_entity_item_added_static_delegate = new efl_ui_position_manager_entity_item_added_delegate(item_added);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "ItemAdded") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_position_manager_entity_item_added"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_position_manager_entity_item_added_static_delegate) });
+ }
+
+ if (efl_ui_position_manager_entity_item_removed_static_delegate == null)
+ {
+ efl_ui_position_manager_entity_item_removed_static_delegate = new efl_ui_position_manager_entity_item_removed_delegate(item_removed);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "ItemRemoved") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_position_manager_entity_item_removed"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_position_manager_entity_item_removed_static_delegate) });
+ }
+
+ if (efl_ui_position_manager_entity_item_size_changed_static_delegate == null)
+ {
+ efl_ui_position_manager_entity_item_size_changed_static_delegate = new efl_ui_position_manager_entity_item_size_changed_delegate(item_size_changed);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "ItemSizeChanged") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_position_manager_entity_item_size_changed"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_position_manager_entity_item_size_changed_static_delegate) });
+ }
+
+ if (efl_ui_position_manager_entity_relative_item_static_delegate == null)
+ {
+ efl_ui_position_manager_entity_relative_item_static_delegate = new efl_ui_position_manager_entity_relative_item_delegate(relative_item);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "RelativeItem") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_position_manager_entity_relative_item"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_position_manager_entity_relative_item_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);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetOrientation") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_layout_orientation_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_layout_orientation_get_static_delegate) });
+ }
+
+ if (efl_ui_layout_orientation_set_static_delegate == null)
+ {
+ efl_ui_layout_orientation_set_static_delegate = new efl_ui_layout_orientation_set_delegate(orientation_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetOrientation") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_layout_orientation_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_layout_orientation_set_static_delegate) });
+ }
+
+ 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.PositionManager.IEntityConcrete.efl_ui_position_manager_entity_interface_get();
+ }
+
+ #pragma warning disable CA1707, CS1591, SA1300, SA1600
+
+
+ private delegate void efl_ui_position_manager_entity_viewport_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct viewport);
+
+
+ public delegate void efl_ui_position_manager_entity_viewport_set_api_delegate(System.IntPtr obj, Eina.Rect.NativeStruct viewport);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_viewport_set_api_delegate> efl_ui_position_manager_entity_viewport_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_viewport_set_api_delegate>(Module, "efl_ui_position_manager_entity_viewport_set");
+
+ private static void viewport_set(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct viewport)
+ {
+ Eina.Log.Debug("function efl_ui_position_manager_entity_viewport_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Rect _in_viewport = viewport;
+
+ try
+ {
+ ((IEntity)ws.Target).SetViewport(_in_viewport);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_position_manager_entity_viewport_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), viewport);
+ }
+ }
+
+ private static efl_ui_position_manager_entity_viewport_set_delegate efl_ui_position_manager_entity_viewport_set_static_delegate;
+
+
+ private delegate void efl_ui_position_manager_entity_scroll_position_set_delegate(System.IntPtr obj, System.IntPtr pd, double x, double y);
+
+
+ public delegate void efl_ui_position_manager_entity_scroll_position_set_api_delegate(System.IntPtr obj, double x, double y);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_scroll_position_set_api_delegate> efl_ui_position_manager_entity_scroll_position_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_scroll_position_set_api_delegate>(Module, "efl_ui_position_manager_entity_scroll_position_set");
+
+ private static void scroll_position_set(System.IntPtr obj, System.IntPtr pd, double x, double y)
+ {
+ Eina.Log.Debug("function efl_ui_position_manager_entity_scroll_position_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((IEntity)ws.Target).SetScrollPosition(x, y);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_position_manager_entity_scroll_position_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y);
+ }
+ }
+
+ private static efl_ui_position_manager_entity_scroll_position_set_delegate efl_ui_position_manager_entity_scroll_position_set_static_delegate;
+
+
+ private delegate int efl_ui_position_manager_entity_version_delegate(System.IntPtr obj, System.IntPtr pd, int max);
+
+
+ public delegate int efl_ui_position_manager_entity_version_api_delegate(System.IntPtr obj, int max);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_version_api_delegate> efl_ui_position_manager_entity_version_ptr = new Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_version_api_delegate>(Module, "efl_ui_position_manager_entity_version");
+
+ private static int version(System.IntPtr obj, System.IntPtr pd, int max)
+ {
+ Eina.Log.Debug("function efl_ui_position_manager_entity_version was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ int _ret_var = default(int);
+ try
+ {
+ _ret_var = ((IEntity)ws.Target).Version(max);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_position_manager_entity_version_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), max);
+ }
+ }
+
+ private static efl_ui_position_manager_entity_version_delegate efl_ui_position_manager_entity_version_static_delegate;
+
+
+ private delegate Eina.Rect.NativeStruct efl_ui_position_manager_entity_position_single_item_delegate(System.IntPtr obj, System.IntPtr pd, int idx);
+
+
+ public delegate Eina.Rect.NativeStruct efl_ui_position_manager_entity_position_single_item_api_delegate(System.IntPtr obj, int idx);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_position_single_item_api_delegate> efl_ui_position_manager_entity_position_single_item_ptr = new Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_position_single_item_api_delegate>(Module, "efl_ui_position_manager_entity_position_single_item");
+
+ private static Eina.Rect.NativeStruct position_single_item(System.IntPtr obj, System.IntPtr pd, int idx)
+ {
+ Eina.Log.Debug("function efl_ui_position_manager_entity_position_single_item was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Rect _ret_var = default(Eina.Rect);
+ try
+ {
+ _ret_var = ((IEntity)ws.Target).PositionSingleItem(idx);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_position_manager_entity_position_single_item_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), idx);
+ }
+ }
+
+ private static efl_ui_position_manager_entity_position_single_item_delegate efl_ui_position_manager_entity_position_single_item_static_delegate;
+
+
+ private delegate void efl_ui_position_manager_entity_item_added_delegate(System.IntPtr obj, System.IntPtr pd, int added_index, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
+
+
+ public delegate void efl_ui_position_manager_entity_item_added_api_delegate(System.IntPtr obj, int added_index, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_item_added_api_delegate> efl_ui_position_manager_entity_item_added_ptr = new Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_item_added_api_delegate>(Module, "efl_ui_position_manager_entity_item_added");
+
+ private static void item_added(System.IntPtr obj, System.IntPtr pd, int added_index, Efl.Gfx.IEntity subobj)
+ {
+ Eina.Log.Debug("function efl_ui_position_manager_entity_item_added was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((IEntity)ws.Target).ItemAdded(added_index, subobj);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_position_manager_entity_item_added_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), added_index, subobj);
+ }
+ }
+
+ private static efl_ui_position_manager_entity_item_added_delegate efl_ui_position_manager_entity_item_added_static_delegate;
+
+
+ private delegate void efl_ui_position_manager_entity_item_removed_delegate(System.IntPtr obj, System.IntPtr pd, int removed_index, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
+
+
+ public delegate void efl_ui_position_manager_entity_item_removed_api_delegate(System.IntPtr obj, int removed_index, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_item_removed_api_delegate> efl_ui_position_manager_entity_item_removed_ptr = new Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_item_removed_api_delegate>(Module, "efl_ui_position_manager_entity_item_removed");
+
+ private static void item_removed(System.IntPtr obj, System.IntPtr pd, int removed_index, Efl.Gfx.IEntity subobj)
+ {
+ Eina.Log.Debug("function efl_ui_position_manager_entity_item_removed was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((IEntity)ws.Target).ItemRemoved(removed_index, subobj);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_position_manager_entity_item_removed_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), removed_index, subobj);
+ }
+ }
+
+ private static efl_ui_position_manager_entity_item_removed_delegate efl_ui_position_manager_entity_item_removed_static_delegate;
+
+
+ private delegate void efl_ui_position_manager_entity_item_size_changed_delegate(System.IntPtr obj, System.IntPtr pd, int start_id, int end_id);
+
+
+ public delegate void efl_ui_position_manager_entity_item_size_changed_api_delegate(System.IntPtr obj, int start_id, int end_id);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_item_size_changed_api_delegate> efl_ui_position_manager_entity_item_size_changed_ptr = new Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_item_size_changed_api_delegate>(Module, "efl_ui_position_manager_entity_item_size_changed");
+
+ private static void item_size_changed(System.IntPtr obj, System.IntPtr pd, int start_id, int end_id)
+ {
+ Eina.Log.Debug("function efl_ui_position_manager_entity_item_size_changed was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((IEntity)ws.Target).ItemSizeChanged(start_id, end_id);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_position_manager_entity_item_size_changed_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), start_id, end_id);
+ }
+ }
+
+ private static efl_ui_position_manager_entity_item_size_changed_delegate efl_ui_position_manager_entity_item_size_changed_static_delegate;
+
+
+ private delegate int efl_ui_position_manager_entity_relative_item_delegate(System.IntPtr obj, System.IntPtr pd, uint current_id, Efl.Ui.Focus.Direction direction);
+
+
+ public delegate int efl_ui_position_manager_entity_relative_item_api_delegate(System.IntPtr obj, uint current_id, Efl.Ui.Focus.Direction direction);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_relative_item_api_delegate> efl_ui_position_manager_entity_relative_item_ptr = new Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_relative_item_api_delegate>(Module, "efl_ui_position_manager_entity_relative_item");
+
+ private static int relative_item(System.IntPtr obj, System.IntPtr pd, uint current_id, Efl.Ui.Focus.Direction direction)
+ {
+ Eina.Log.Debug("function efl_ui_position_manager_entity_relative_item was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ int _ret_var = default(int);
+ try
+ {
+ _ret_var = ((IEntity)ws.Target).RelativeItem(current_id, direction);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_position_manager_entity_relative_item_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), current_id, direction);
+ }
+ }
+
+ private static efl_ui_position_manager_entity_relative_item_delegate efl_ui_position_manager_entity_relative_item_static_delegate;
+
+
+ private delegate Efl.Ui.LayoutOrientation efl_ui_layout_orientation_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate Efl.Ui.LayoutOrientation efl_ui_layout_orientation_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_layout_orientation_get_api_delegate> efl_ui_layout_orientation_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_layout_orientation_get_api_delegate>(Module, "efl_ui_layout_orientation_get");
+
+ private static Efl.Ui.LayoutOrientation orientation_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_layout_orientation_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.Ui.LayoutOrientation _ret_var = default(Efl.Ui.LayoutOrientation);
+ try
+ {
+ _ret_var = ((IEntity)ws.Target).GetOrientation();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_layout_orientation_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_layout_orientation_get_delegate efl_ui_layout_orientation_get_static_delegate;
+
+
+ private delegate void efl_ui_layout_orientation_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.LayoutOrientation dir);
+
+
+ public delegate void efl_ui_layout_orientation_set_api_delegate(System.IntPtr obj, Efl.Ui.LayoutOrientation dir);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_layout_orientation_set_api_delegate> efl_ui_layout_orientation_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_layout_orientation_set_api_delegate>(Module, "efl_ui_layout_orientation_set");
+
+ private static void orientation_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.LayoutOrientation dir)
+ {
+ Eina.Log.Debug("function efl_ui_layout_orientation_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((IEntity)ws.Target).SetOrientation(dir);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_layout_orientation_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), dir);
+ }
+ }
+
+ private static efl_ui_layout_orientation_set_delegate efl_ui_layout_orientation_set_static_delegate;
+
+ #pragma warning restore CA1707, CS1591, SA1300, SA1600
+
+}
+}
+}
+
+}
+
+}
+
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_Ui_Position_ManagerIEntityConcrete_ExtensionMethods {
+ public static Efl.BindableProperty<Eina.Rect> Viewport<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.PositionManager.IEntity, T>magic = null) where T : Efl.Ui.PositionManager.IEntity {
+ return new Efl.BindableProperty<Eina.Rect>("viewport", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.Ui.LayoutOrientation> Orientation<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.PositionManager.IEntity, T>magic = null) where T : Efl.Ui.PositionManager.IEntity {
+ return new Efl.BindableProperty<Efl.Ui.LayoutOrientation>("orientation", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+namespace Efl {
+
+namespace Ui {
+
+namespace PositionManager {
+
+/// <summary>A struct containing the the updated range of visible items in this position manger.</summary>
+[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
+public struct RangeUpdate
+{
+ /// <summary>The first item that is visible</summary>
+ public uint Start_id;
+ /// <summary>The last item that is visible</summary>
+ public uint End_id;
+ /// <summary>Constructor for RangeUpdate.</summary>
+ /// <param name="Start_id">The first item that is visible</param>;
+ /// <param name="End_id">The last item that is visible</param>;
+ public RangeUpdate(
+ uint Start_id = default(uint),
+ uint End_id = default(uint) )
+ {
+ this.Start_id = Start_id;
+ this.End_id = End_id;
+ }
+
+ /// <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 RangeUpdate(IntPtr ptr)
+ {
+ var tmp = (RangeUpdate.NativeStruct)Marshal.PtrToStructure(ptr, typeof(RangeUpdate.NativeStruct));
+ return tmp;
+ }
+
+ #pragma warning disable CS1591
+
+ /// <summary>Internal wrapper for struct RangeUpdate.</summary>
+ [StructLayout(LayoutKind.Sequential)]
+ public struct NativeStruct
+ {
+
+ public uint Start_id;
+
+ public uint End_id;
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
+ public static implicit operator RangeUpdate.NativeStruct(RangeUpdate _external_struct)
+ {
+ var _internal_struct = new RangeUpdate.NativeStruct();
+ _internal_struct.Start_id = _external_struct.Start_id;
+ _internal_struct.End_id = _external_struct.End_id;
+ return _internal_struct;
+ }
+
+ /// <summary>Implicit conversion to the managed representation.</summary>
+ public static implicit operator RangeUpdate(RangeUpdate.NativeStruct _internal_struct)
+ {
+ var _external_struct = new RangeUpdate();
+ _external_struct.Start_id = _internal_struct.Start_id;
+ _external_struct.End_id = _internal_struct.End_id;
+ return _external_struct;
+ }
+
+ }
+
+ #pragma warning restore CS1591
+
+}
+
+}
+
+}
+
+}
+
--- /dev/null
+#define EFL_BETA
+#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 PositionManager {
+
+/// <summary>Implementation of <see cref="Efl.Ui.PositionManager.IEntity"/> for two-dimensional grids.
+/// Every item in the grid has the same size, which is the biggest minimum size of all items.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+[Efl.Ui.PositionManager.Grid.NativeMethods]
+[Efl.Eo.BindingEntity]
+public class Grid : Efl.Object, Efl.Ui.ILayoutOrientable, Efl.Ui.PositionManager.IDataAccessV1, Efl.Ui.PositionManager.IEntity
+{
+ /// <summary>Pointer to the native class description.</summary>
+ public override System.IntPtr NativeClass
+ {
+ get
+ {
+ if (((object)this).GetType() == typeof(Grid))
+ {
+ 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_position_manager_grid_class_get();
+ /// <summary>Initializes a new instance of the <see cref="Grid"/> class.</summary>
+ /// <param name="parent">Parent instance.</param>
+ public Grid(Efl.Object parent= null
+ ) : base(efl_ui_position_manager_grid_class_get(), parent)
+ {
+ FinishInstantiation();
+ }
+
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</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="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="parent">The Efl.Object parent of this instance.</param>
+ protected Grid(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
+ {
+ }
+
+ /// <summary>Emitted when the aggregate size of all items has changed. This can be used to resize an enclosing Pan object.</summary>
+ /// <value><see cref="Efl.Ui.PositionManager.IEntityContentSizeChangedEvt_Args"/></value>
+ public event EventHandler<Efl.Ui.PositionManager.IEntityContentSizeChangedEvt_Args> ContentSizeChangedEvt
+ {
+ 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.PositionManager.IEntityContentSizeChangedEvt_Args args = new Efl.Ui.PositionManager.IEntityContentSizeChangedEvt_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_POSITION_MANAGER_ENTITY_EVENT_CONTENT_SIZE_CHANGED";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_POSITION_MANAGER_ENTITY_EVENT_CONTENT_SIZE_CHANGED";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event ContentSizeChangedEvt.</summary>
+ public void OnContentSizeChangedEvt(Efl.Ui.PositionManager.IEntityContentSizeChangedEvt_Args e)
+ {
+ var key = "_EFL_UI_POSITION_MANAGER_ENTITY_EVENT_CONTENT_SIZE_CHANGED";
+ 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>Emitted when the minimum size of all items has changed. The minimum size is the size, that this position_manager needs at *least* to display a single item.</summary>
+ /// <value><see cref="Efl.Ui.PositionManager.IEntityContentMinSizeChangedEvt_Args"/></value>
+ public event EventHandler<Efl.Ui.PositionManager.IEntityContentMinSizeChangedEvt_Args> ContentMinSizeChangedEvt
+ {
+ 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.PositionManager.IEntityContentMinSizeChangedEvt_Args args = new Efl.Ui.PositionManager.IEntityContentMinSizeChangedEvt_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_POSITION_MANAGER_ENTITY_EVENT_CONTENT_MIN_SIZE_CHANGED";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_POSITION_MANAGER_ENTITY_EVENT_CONTENT_MIN_SIZE_CHANGED";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event ContentMinSizeChangedEvt.</summary>
+ public void OnContentMinSizeChangedEvt(Efl.Ui.PositionManager.IEntityContentMinSizeChangedEvt_Args e)
+ {
+ var key = "_EFL_UI_POSITION_MANAGER_ENTITY_EVENT_CONTENT_MIN_SIZE_CHANGED";
+ 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);
+ }
+ }
+ /// <value><see cref="Efl.Ui.PositionManager.IEntityVisibleRangeChangedEvt_Args"/></value>
+ public event EventHandler<Efl.Ui.PositionManager.IEntityVisibleRangeChangedEvt_Args> VisibleRangeChangedEvt
+ {
+ 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.PositionManager.IEntityVisibleRangeChangedEvt_Args args = new Efl.Ui.PositionManager.IEntityVisibleRangeChangedEvt_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_POSITION_MANAGER_ENTITY_EVENT_VISIBLE_RANGE_CHANGED";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_POSITION_MANAGER_ENTITY_EVENT_VISIBLE_RANGE_CHANGED";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event VisibleRangeChangedEvt.</summary>
+ public void OnVisibleRangeChangedEvt(Efl.Ui.PositionManager.IEntityVisibleRangeChangedEvt_Args e)
+ {
+ var key = "_EFL_UI_POSITION_MANAGER_ENTITY_EVENT_VISIBLE_RANGE_CHANGED";
+ 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>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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <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>
+ /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dir);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>This gives access to items to be managed. The manager reads this information and modifies the retrieved items' positions and sizes.
+ /// <c>obj_access</c> gives access to the graphical entitites to manage. Some of them might be NULL, meaning they are not yet ready to be displayed. Their size in the <c>size_access</c> array will be correct, though, so other entities can still be positioned correctly. Typically, only entities inside the viewport will be retrieved.
+ ///
+ /// <c>size_access</c> gives access to the 2D sizes for the items to manage. All sizes will always be valid, and might change over time (indicated through the <see cref="Efl.Ui.PositionManager.IEntity.ItemSizeChanged"/> method). The whole range might need to be traversed in order to calculate the position of all items in some arrangements.
+ ///
+ /// You can access a batch of objects or sizes by calling the here passed function callbacks. Further details can be found at the function definitions.</summary>
+ /// <param name="obj_access">Function callback for canvas objects, even if the start_id is valid, the returned objects may be NULL.</param>
+ /// <param name="size_access">Function callback for the size, returned values are always valid, but might be changed later on.</param>
+ /// <param name="size">valid size for start_id, 0 <= i < size</param>
+ virtual public void SetDataAccess(Efl.Ui.PositionManager.ObjectBatchCallback obj_access, Efl.Ui.PositionManager.SizeBatchCallback size_access, int size) {
+ GCHandle obj_access_handle = GCHandle.Alloc(obj_access);
+ GCHandle size_access_handle = GCHandle.Alloc(size_access);
+ Efl.Ui.PositionManager.IDataAccessV1Concrete.NativeMethods.efl_ui_position_manager_data_access_v1_data_access_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),GCHandle.ToIntPtr(obj_access_handle), Efl.Ui.PositionManager.ObjectBatchCallbackWrapper.Cb, Efl.Eo.Globals.free_gchandle, GCHandle.ToIntPtr(size_access_handle), Efl.Ui.PositionManager.SizeBatchCallbackWrapper.Cb, Efl.Eo.Globals.free_gchandle, size);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>This is the position and size of the viewport, where elements are displayed in. Entities outside this viewport will not be shown.</summary>
+ virtual public void SetViewport(Eina.Rect viewport) {
+ Eina.Rect.NativeStruct _in_viewport = viewport;
+ Efl.Ui.PositionManager.IEntityConcrete.NativeMethods.efl_ui_position_manager_entity_viewport_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_viewport);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Move the items relative to the viewport.
+ /// The items that are managed with this position manager might be bigger than the actual viewport. The positioning of the layer where all items are on is described by these values. 0.0,0.0 means that layer is moved that the top left items are shown, 1.0,1.0 means, that the lower right items are shown.</summary>
+ /// <param name="x">X position of the scroller, valid form 0 to 1.0</param>
+ /// <param name="y">Y position of the scroller, valid form 0 to 1.0</param>
+ virtual public void SetScrollPosition(double x, double y) {
+ Efl.Ui.PositionManager.IEntityConcrete.NativeMethods.efl_ui_position_manager_entity_scroll_position_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Return the version of Data_Access that is used. This object needs to implement the interface Efl.Ui.Position_Manager.Data_Access_V1 if 1 is returned. 2 if V2 (not available yet) is implemented.</summary>
+ /// <param name="max">The maximum version that is available from the data-provider.</param>
+ /// <returns>The version that should be used here. 0 is an error.</returns>
+ virtual public int Version(int max) {
+ var _ret_var = Efl.Ui.PositionManager.IEntityConcrete.NativeMethods.efl_ui_position_manager_entity_version_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),max);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Return the position and size of item idx
+ /// This method returns the size and position of the item at <c>idx</c>. Even if the item is outside the viewport, the returned rectangle must be valid. The result can be used for scrolling calculations.</summary>
+ /// <param name="idx">The id for the item</param>
+ /// <returns>Position and Size in canvas coordinations</returns>
+ virtual public Eina.Rect PositionSingleItem(int idx) {
+ var _ret_var = Efl.Ui.PositionManager.IEntityConcrete.NativeMethods.efl_ui_position_manager_entity_position_single_item_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),idx);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>The new item <c>subobj</c> has been added at the <c>added_index</c> field.
+ /// The accessor provided through <see cref="Efl.Ui.PositionManager.IDataAccessV1.SetDataAccess"/> will contain updated Entities.</summary>
+ virtual public void ItemAdded(int added_index, Efl.Gfx.IEntity subobj) {
+ Efl.Ui.PositionManager.IEntityConcrete.NativeMethods.efl_ui_position_manager_entity_item_added_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),added_index, subobj);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>The item <c>subobj</c> previously at position <c>removed_index</c> has been removed. The accessor provided through <see cref="Efl.Ui.PositionManager.IDataAccessV1.SetDataAccess"/> will contain updated Entities.</summary>
+ virtual public void ItemRemoved(int removed_index, Efl.Gfx.IEntity subobj) {
+ Efl.Ui.PositionManager.IEntityConcrete.NativeMethods.efl_ui_position_manager_entity_item_removed_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),removed_index, subobj);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>The size of the items from <c>start_id</c> to <c>end_id</c> have been changed. The positioning and sizing of all items will be updated</summary>
+ /// <param name="start_id">The first item that has a new size</param>
+ /// <param name="end_id">The last item that has a new size</param>
+ virtual public void ItemSizeChanged(int start_id, int end_id) {
+ Efl.Ui.PositionManager.IEntityConcrete.NativeMethods.efl_ui_position_manager_entity_item_size_changed_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),start_id, end_id);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>translate the current_id, into a new id which is oriented in the <c>direction</c> of <c>current_id</c>. In case that there is no item, -1 is returned</summary>
+ /// <param name="current_id">The id where the direction is oriented at</param>
+ /// <param name="direction">The direction where the new id is</param>
+ /// <returns>The id of the item in that direction, or -1 if there is no item in that direction</returns>
+ virtual public int RelativeItem(uint current_id, Efl.Ui.Focus.Direction direction) {
+ var _ret_var = Efl.Ui.PositionManager.IEntityConcrete.NativeMethods.efl_ui_position_manager_entity_relative_item_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),current_id, direction);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <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>
+ /// <value>Direction of the widget.</value>
+ public Efl.Ui.LayoutOrientation Orientation {
+ get { return GetOrientation(); }
+ set { SetOrientation(value); }
+ }
+ /// <summary>This gives access to items to be managed. The manager reads this information and modifies the retrieved items' positions and sizes.
+ /// <c>obj_access</c> gives access to the graphical entitites to manage. Some of them might be NULL, meaning they are not yet ready to be displayed. Their size in the <c>size_access</c> array will be correct, though, so other entities can still be positioned correctly. Typically, only entities inside the viewport will be retrieved.
+ ///
+ /// <c>size_access</c> gives access to the 2D sizes for the items to manage. All sizes will always be valid, and might change over time (indicated through the <see cref="Efl.Ui.PositionManager.IEntity.ItemSizeChanged"/> method). The whole range might need to be traversed in order to calculate the position of all items in some arrangements.
+ ///
+ /// You can access a batch of objects or sizes by calling the here passed function callbacks. Further details can be found at the function definitions.</summary>
+ /// <value>Function callback for canvas objects, even if the start_id is valid, the returned objects may be NULL.</value>
+ public (Efl.Ui.PositionManager.ObjectBatchCallback, Efl.Ui.PositionManager.SizeBatchCallback, int) DataAccess {
+ set { SetDataAccess( value.Item1, value.Item2, value.Item3); }
+ }
+ /// <summary>This is the position and size of the viewport, where elements are displayed in. Entities outside this viewport will not be shown.</summary>
+ public Eina.Rect Viewport {
+ set { SetViewport(value); }
+ }
+ /// <summary>Move the items relative to the viewport.
+ /// The items that are managed with this position manager might be bigger than the actual viewport. The positioning of the layer where all items are on is described by these values. 0.0,0.0 means that layer is moved that the top left items are shown, 1.0,1.0 means, that the lower right items are shown.</summary>
+ /// <value>X position of the scroller, valid form 0 to 1.0</value>
+ public (double, double) ScrollPosition {
+ set { SetScrollPosition( value.Item1, value.Item2); }
+ }
+ private static IntPtr GetEflClassStatic()
+ {
+ return Efl.Ui.PositionManager.Grid.efl_ui_position_manager_grid_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_layout_orientation_get_static_delegate == null)
+ {
+ efl_ui_layout_orientation_get_static_delegate = new efl_ui_layout_orientation_get_delegate(orientation_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetOrientation") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_layout_orientation_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_layout_orientation_get_static_delegate) });
+ }
+
+ if (efl_ui_layout_orientation_set_static_delegate == null)
+ {
+ efl_ui_layout_orientation_set_static_delegate = new efl_ui_layout_orientation_set_delegate(orientation_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetOrientation") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_layout_orientation_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_layout_orientation_set_static_delegate) });
+ }
+
+ if (efl_ui_position_manager_data_access_v1_data_access_set_static_delegate == null)
+ {
+ efl_ui_position_manager_data_access_v1_data_access_set_static_delegate = new efl_ui_position_manager_data_access_v1_data_access_set_delegate(data_access_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetDataAccess") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_position_manager_data_access_v1_data_access_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_position_manager_data_access_v1_data_access_set_static_delegate) });
+ }
+
+ if (efl_ui_position_manager_entity_viewport_set_static_delegate == null)
+ {
+ efl_ui_position_manager_entity_viewport_set_static_delegate = new efl_ui_position_manager_entity_viewport_set_delegate(viewport_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetViewport") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_position_manager_entity_viewport_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_position_manager_entity_viewport_set_static_delegate) });
+ }
+
+ if (efl_ui_position_manager_entity_scroll_position_set_static_delegate == null)
+ {
+ efl_ui_position_manager_entity_scroll_position_set_static_delegate = new efl_ui_position_manager_entity_scroll_position_set_delegate(scroll_position_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetScrollPosition") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_position_manager_entity_scroll_position_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_position_manager_entity_scroll_position_set_static_delegate) });
+ }
+
+ if (efl_ui_position_manager_entity_version_static_delegate == null)
+ {
+ efl_ui_position_manager_entity_version_static_delegate = new efl_ui_position_manager_entity_version_delegate(version);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "Version") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_position_manager_entity_version"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_position_manager_entity_version_static_delegate) });
+ }
+
+ if (efl_ui_position_manager_entity_position_single_item_static_delegate == null)
+ {
+ efl_ui_position_manager_entity_position_single_item_static_delegate = new efl_ui_position_manager_entity_position_single_item_delegate(position_single_item);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "PositionSingleItem") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_position_manager_entity_position_single_item"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_position_manager_entity_position_single_item_static_delegate) });
+ }
+
+ if (efl_ui_position_manager_entity_item_added_static_delegate == null)
+ {
+ efl_ui_position_manager_entity_item_added_static_delegate = new efl_ui_position_manager_entity_item_added_delegate(item_added);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "ItemAdded") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_position_manager_entity_item_added"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_position_manager_entity_item_added_static_delegate) });
+ }
+
+ if (efl_ui_position_manager_entity_item_removed_static_delegate == null)
+ {
+ efl_ui_position_manager_entity_item_removed_static_delegate = new efl_ui_position_manager_entity_item_removed_delegate(item_removed);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "ItemRemoved") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_position_manager_entity_item_removed"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_position_manager_entity_item_removed_static_delegate) });
+ }
+
+ if (efl_ui_position_manager_entity_item_size_changed_static_delegate == null)
+ {
+ efl_ui_position_manager_entity_item_size_changed_static_delegate = new efl_ui_position_manager_entity_item_size_changed_delegate(item_size_changed);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "ItemSizeChanged") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_position_manager_entity_item_size_changed"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_position_manager_entity_item_size_changed_static_delegate) });
+ }
+
+ if (efl_ui_position_manager_entity_relative_item_static_delegate == null)
+ {
+ efl_ui_position_manager_entity_relative_item_static_delegate = new efl_ui_position_manager_entity_relative_item_delegate(relative_item);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "RelativeItem") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_position_manager_entity_relative_item"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_position_manager_entity_relative_item_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.PositionManager.Grid.efl_ui_position_manager_grid_class_get();
+ }
+
+ #pragma warning disable CA1707, CS1591, SA1300, SA1600
+
+
+ private delegate Efl.Ui.LayoutOrientation efl_ui_layout_orientation_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate Efl.Ui.LayoutOrientation efl_ui_layout_orientation_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_layout_orientation_get_api_delegate> efl_ui_layout_orientation_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_layout_orientation_get_api_delegate>(Module, "efl_ui_layout_orientation_get");
+
+ private static Efl.Ui.LayoutOrientation orientation_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_layout_orientation_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.Ui.LayoutOrientation _ret_var = default(Efl.Ui.LayoutOrientation);
+ try
+ {
+ _ret_var = ((Grid)ws.Target).GetOrientation();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_layout_orientation_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_layout_orientation_get_delegate efl_ui_layout_orientation_get_static_delegate;
+
+
+ private delegate void efl_ui_layout_orientation_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.LayoutOrientation dir);
+
+
+ public delegate void efl_ui_layout_orientation_set_api_delegate(System.IntPtr obj, Efl.Ui.LayoutOrientation dir);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_layout_orientation_set_api_delegate> efl_ui_layout_orientation_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_layout_orientation_set_api_delegate>(Module, "efl_ui_layout_orientation_set");
+
+ private static void orientation_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.LayoutOrientation dir)
+ {
+ Eina.Log.Debug("function efl_ui_layout_orientation_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Grid)ws.Target).SetOrientation(dir);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_layout_orientation_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), dir);
+ }
+ }
+
+ private static efl_ui_layout_orientation_set_delegate efl_ui_layout_orientation_set_static_delegate;
+
+
+ private delegate void efl_ui_position_manager_data_access_v1_data_access_set_delegate(System.IntPtr obj, System.IntPtr pd, IntPtr obj_access_data, Efl.Ui.PositionManager.ObjectBatchCallbackInternal obj_access, EinaFreeCb obj_access_free_cb, IntPtr size_access_data, Efl.Ui.PositionManager.SizeBatchCallbackInternal size_access, EinaFreeCb size_access_free_cb, int size);
+
+
+ public delegate void efl_ui_position_manager_data_access_v1_data_access_set_api_delegate(System.IntPtr obj, IntPtr obj_access_data, Efl.Ui.PositionManager.ObjectBatchCallbackInternal obj_access, EinaFreeCb obj_access_free_cb, IntPtr size_access_data, Efl.Ui.PositionManager.SizeBatchCallbackInternal size_access, EinaFreeCb size_access_free_cb, int size);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_position_manager_data_access_v1_data_access_set_api_delegate> efl_ui_position_manager_data_access_v1_data_access_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_position_manager_data_access_v1_data_access_set_api_delegate>(Module, "efl_ui_position_manager_data_access_v1_data_access_set");
+
+ private static void data_access_set(System.IntPtr obj, System.IntPtr pd, IntPtr obj_access_data, Efl.Ui.PositionManager.ObjectBatchCallbackInternal obj_access, EinaFreeCb obj_access_free_cb, IntPtr size_access_data, Efl.Ui.PositionManager.SizeBatchCallbackInternal size_access, EinaFreeCb size_access_free_cb, int size)
+ {
+ Eina.Log.Debug("function efl_ui_position_manager_data_access_v1_data_access_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.Ui.PositionManager.ObjectBatchCallbackWrapper obj_access_wrapper = new Efl.Ui.PositionManager.ObjectBatchCallbackWrapper(obj_access, obj_access_data, obj_access_free_cb);
+ Efl.Ui.PositionManager.SizeBatchCallbackWrapper size_access_wrapper = new Efl.Ui.PositionManager.SizeBatchCallbackWrapper(size_access, size_access_data, size_access_free_cb);
+
+ try
+ {
+ ((Grid)ws.Target).SetDataAccess(obj_access_wrapper.ManagedCb, size_access_wrapper.ManagedCb, size);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_position_manager_data_access_v1_data_access_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), obj_access_data, obj_access, obj_access_free_cb, size_access_data, size_access, size_access_free_cb, size);
+ }
+ }
+
+ private static efl_ui_position_manager_data_access_v1_data_access_set_delegate efl_ui_position_manager_data_access_v1_data_access_set_static_delegate;
+
+
+ private delegate void efl_ui_position_manager_entity_viewport_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct viewport);
+
+
+ public delegate void efl_ui_position_manager_entity_viewport_set_api_delegate(System.IntPtr obj, Eina.Rect.NativeStruct viewport);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_viewport_set_api_delegate> efl_ui_position_manager_entity_viewport_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_viewport_set_api_delegate>(Module, "efl_ui_position_manager_entity_viewport_set");
+
+ private static void viewport_set(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct viewport)
+ {
+ Eina.Log.Debug("function efl_ui_position_manager_entity_viewport_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Rect _in_viewport = viewport;
+
+ try
+ {
+ ((Grid)ws.Target).SetViewport(_in_viewport);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_position_manager_entity_viewport_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), viewport);
+ }
+ }
+
+ private static efl_ui_position_manager_entity_viewport_set_delegate efl_ui_position_manager_entity_viewport_set_static_delegate;
+
+
+ private delegate void efl_ui_position_manager_entity_scroll_position_set_delegate(System.IntPtr obj, System.IntPtr pd, double x, double y);
+
+
+ public delegate void efl_ui_position_manager_entity_scroll_position_set_api_delegate(System.IntPtr obj, double x, double y);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_scroll_position_set_api_delegate> efl_ui_position_manager_entity_scroll_position_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_scroll_position_set_api_delegate>(Module, "efl_ui_position_manager_entity_scroll_position_set");
+
+ private static void scroll_position_set(System.IntPtr obj, System.IntPtr pd, double x, double y)
+ {
+ Eina.Log.Debug("function efl_ui_position_manager_entity_scroll_position_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Grid)ws.Target).SetScrollPosition(x, y);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_position_manager_entity_scroll_position_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y);
+ }
+ }
+
+ private static efl_ui_position_manager_entity_scroll_position_set_delegate efl_ui_position_manager_entity_scroll_position_set_static_delegate;
+
+
+ private delegate int efl_ui_position_manager_entity_version_delegate(System.IntPtr obj, System.IntPtr pd, int max);
+
+
+ public delegate int efl_ui_position_manager_entity_version_api_delegate(System.IntPtr obj, int max);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_version_api_delegate> efl_ui_position_manager_entity_version_ptr = new Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_version_api_delegate>(Module, "efl_ui_position_manager_entity_version");
+
+ private static int version(System.IntPtr obj, System.IntPtr pd, int max)
+ {
+ Eina.Log.Debug("function efl_ui_position_manager_entity_version was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ int _ret_var = default(int);
+ try
+ {
+ _ret_var = ((Grid)ws.Target).Version(max);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_position_manager_entity_version_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), max);
+ }
+ }
+
+ private static efl_ui_position_manager_entity_version_delegate efl_ui_position_manager_entity_version_static_delegate;
+
+
+ private delegate Eina.Rect.NativeStruct efl_ui_position_manager_entity_position_single_item_delegate(System.IntPtr obj, System.IntPtr pd, int idx);
+
+
+ public delegate Eina.Rect.NativeStruct efl_ui_position_manager_entity_position_single_item_api_delegate(System.IntPtr obj, int idx);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_position_single_item_api_delegate> efl_ui_position_manager_entity_position_single_item_ptr = new Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_position_single_item_api_delegate>(Module, "efl_ui_position_manager_entity_position_single_item");
+
+ private static Eina.Rect.NativeStruct position_single_item(System.IntPtr obj, System.IntPtr pd, int idx)
+ {
+ Eina.Log.Debug("function efl_ui_position_manager_entity_position_single_item was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Rect _ret_var = default(Eina.Rect);
+ try
+ {
+ _ret_var = ((Grid)ws.Target).PositionSingleItem(idx);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_position_manager_entity_position_single_item_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), idx);
+ }
+ }
+
+ private static efl_ui_position_manager_entity_position_single_item_delegate efl_ui_position_manager_entity_position_single_item_static_delegate;
+
+
+ private delegate void efl_ui_position_manager_entity_item_added_delegate(System.IntPtr obj, System.IntPtr pd, int added_index, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
+
+
+ public delegate void efl_ui_position_manager_entity_item_added_api_delegate(System.IntPtr obj, int added_index, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_item_added_api_delegate> efl_ui_position_manager_entity_item_added_ptr = new Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_item_added_api_delegate>(Module, "efl_ui_position_manager_entity_item_added");
+
+ private static void item_added(System.IntPtr obj, System.IntPtr pd, int added_index, Efl.Gfx.IEntity subobj)
+ {
+ Eina.Log.Debug("function efl_ui_position_manager_entity_item_added was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Grid)ws.Target).ItemAdded(added_index, subobj);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_position_manager_entity_item_added_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), added_index, subobj);
+ }
+ }
+
+ private static efl_ui_position_manager_entity_item_added_delegate efl_ui_position_manager_entity_item_added_static_delegate;
+
+
+ private delegate void efl_ui_position_manager_entity_item_removed_delegate(System.IntPtr obj, System.IntPtr pd, int removed_index, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
+
+
+ public delegate void efl_ui_position_manager_entity_item_removed_api_delegate(System.IntPtr obj, int removed_index, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_item_removed_api_delegate> efl_ui_position_manager_entity_item_removed_ptr = new Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_item_removed_api_delegate>(Module, "efl_ui_position_manager_entity_item_removed");
+
+ private static void item_removed(System.IntPtr obj, System.IntPtr pd, int removed_index, Efl.Gfx.IEntity subobj)
+ {
+ Eina.Log.Debug("function efl_ui_position_manager_entity_item_removed was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Grid)ws.Target).ItemRemoved(removed_index, subobj);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_position_manager_entity_item_removed_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), removed_index, subobj);
+ }
+ }
+
+ private static efl_ui_position_manager_entity_item_removed_delegate efl_ui_position_manager_entity_item_removed_static_delegate;
+
+
+ private delegate void efl_ui_position_manager_entity_item_size_changed_delegate(System.IntPtr obj, System.IntPtr pd, int start_id, int end_id);
+
+
+ public delegate void efl_ui_position_manager_entity_item_size_changed_api_delegate(System.IntPtr obj, int start_id, int end_id);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_item_size_changed_api_delegate> efl_ui_position_manager_entity_item_size_changed_ptr = new Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_item_size_changed_api_delegate>(Module, "efl_ui_position_manager_entity_item_size_changed");
+
+ private static void item_size_changed(System.IntPtr obj, System.IntPtr pd, int start_id, int end_id)
+ {
+ Eina.Log.Debug("function efl_ui_position_manager_entity_item_size_changed was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Grid)ws.Target).ItemSizeChanged(start_id, end_id);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_position_manager_entity_item_size_changed_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), start_id, end_id);
+ }
+ }
+
+ private static efl_ui_position_manager_entity_item_size_changed_delegate efl_ui_position_manager_entity_item_size_changed_static_delegate;
+
+
+ private delegate int efl_ui_position_manager_entity_relative_item_delegate(System.IntPtr obj, System.IntPtr pd, uint current_id, Efl.Ui.Focus.Direction direction);
+
+
+ public delegate int efl_ui_position_manager_entity_relative_item_api_delegate(System.IntPtr obj, uint current_id, Efl.Ui.Focus.Direction direction);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_relative_item_api_delegate> efl_ui_position_manager_entity_relative_item_ptr = new Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_relative_item_api_delegate>(Module, "efl_ui_position_manager_entity_relative_item");
+
+ private static int relative_item(System.IntPtr obj, System.IntPtr pd, uint current_id, Efl.Ui.Focus.Direction direction)
+ {
+ Eina.Log.Debug("function efl_ui_position_manager_entity_relative_item was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ int _ret_var = default(int);
+ try
+ {
+ _ret_var = ((Grid)ws.Target).RelativeItem(current_id, direction);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_position_manager_entity_relative_item_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), current_id, direction);
+ }
+ }
+
+ private static efl_ui_position_manager_entity_relative_item_delegate efl_ui_position_manager_entity_relative_item_static_delegate;
+
+ #pragma warning restore CA1707, CS1591, SA1300, SA1600
+
+}
+}
+}
+
+}
+
+}
+
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_Ui_Position_ManagerGrid_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Ui.LayoutOrientation> Orientation<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.PositionManager.Grid, T>magic = null) where T : Efl.Ui.PositionManager.Grid {
+ return new Efl.BindableProperty<Efl.Ui.LayoutOrientation>("orientation", fac);
+ }
+
+
+ public static Efl.BindableProperty<Eina.Rect> Viewport<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.PositionManager.Grid, T>magic = null) where T : Efl.Ui.PositionManager.Grid {
+ return new Efl.BindableProperty<Eina.Rect>("viewport", fac);
+ }
+
+
+}
+#pragma warning restore CS1591
+#endif
--- /dev/null
+#define EFL_BETA
+#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 PositionManager {
+
+/// <summary>Implementation of <see cref="Efl.Ui.PositionManager.IEntity"/> for a list
+/// Every item in the list will get at least his minsize applied, changes to the misize are listend to and change the layouting of all items. This supports the vertical and horizontal orientation.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+[Efl.Ui.PositionManager.List.NativeMethods]
+[Efl.Eo.BindingEntity]
+public class List : Efl.Object, Efl.Ui.ILayoutOrientable, Efl.Ui.PositionManager.IDataAccessV1, Efl.Ui.PositionManager.IEntity
+{
+ /// <summary>Pointer to the native class description.</summary>
+ public override System.IntPtr NativeClass
+ {
+ get
+ {
+ if (((object)this).GetType() == typeof(List))
+ {
+ 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_position_manager_list_class_get();
+ /// <summary>Initializes a new instance of the <see cref="List"/> class.</summary>
+ /// <param name="parent">Parent instance.</param>
+ public List(Efl.Object parent= null
+ ) : base(efl_ui_position_manager_list_class_get(), parent)
+ {
+ FinishInstantiation();
+ }
+
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</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="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="parent">The Efl.Object parent of this instance.</param>
+ protected List(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
+ {
+ }
+
+ /// <summary>Emitted when the aggregate size of all items has changed. This can be used to resize an enclosing Pan object.</summary>
+ /// <value><see cref="Efl.Ui.PositionManager.IEntityContentSizeChangedEvt_Args"/></value>
+ public event EventHandler<Efl.Ui.PositionManager.IEntityContentSizeChangedEvt_Args> ContentSizeChangedEvt
+ {
+ 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.PositionManager.IEntityContentSizeChangedEvt_Args args = new Efl.Ui.PositionManager.IEntityContentSizeChangedEvt_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_POSITION_MANAGER_ENTITY_EVENT_CONTENT_SIZE_CHANGED";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_POSITION_MANAGER_ENTITY_EVENT_CONTENT_SIZE_CHANGED";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event ContentSizeChangedEvt.</summary>
+ public void OnContentSizeChangedEvt(Efl.Ui.PositionManager.IEntityContentSizeChangedEvt_Args e)
+ {
+ var key = "_EFL_UI_POSITION_MANAGER_ENTITY_EVENT_CONTENT_SIZE_CHANGED";
+ 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>Emitted when the minimum size of all items has changed. The minimum size is the size, that this position_manager needs at *least* to display a single item.</summary>
+ /// <value><see cref="Efl.Ui.PositionManager.IEntityContentMinSizeChangedEvt_Args"/></value>
+ public event EventHandler<Efl.Ui.PositionManager.IEntityContentMinSizeChangedEvt_Args> ContentMinSizeChangedEvt
+ {
+ 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.PositionManager.IEntityContentMinSizeChangedEvt_Args args = new Efl.Ui.PositionManager.IEntityContentMinSizeChangedEvt_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_POSITION_MANAGER_ENTITY_EVENT_CONTENT_MIN_SIZE_CHANGED";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_POSITION_MANAGER_ENTITY_EVENT_CONTENT_MIN_SIZE_CHANGED";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event ContentMinSizeChangedEvt.</summary>
+ public void OnContentMinSizeChangedEvt(Efl.Ui.PositionManager.IEntityContentMinSizeChangedEvt_Args e)
+ {
+ var key = "_EFL_UI_POSITION_MANAGER_ENTITY_EVENT_CONTENT_MIN_SIZE_CHANGED";
+ 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);
+ }
+ }
+ /// <value><see cref="Efl.Ui.PositionManager.IEntityVisibleRangeChangedEvt_Args"/></value>
+ public event EventHandler<Efl.Ui.PositionManager.IEntityVisibleRangeChangedEvt_Args> VisibleRangeChangedEvt
+ {
+ 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.PositionManager.IEntityVisibleRangeChangedEvt_Args args = new Efl.Ui.PositionManager.IEntityVisibleRangeChangedEvt_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_POSITION_MANAGER_ENTITY_EVENT_VISIBLE_RANGE_CHANGED";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_POSITION_MANAGER_ENTITY_EVENT_VISIBLE_RANGE_CHANGED";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event VisibleRangeChangedEvt.</summary>
+ public void OnVisibleRangeChangedEvt(Efl.Ui.PositionManager.IEntityVisibleRangeChangedEvt_Args e)
+ {
+ var key = "_EFL_UI_POSITION_MANAGER_ENTITY_EVENT_VISIBLE_RANGE_CHANGED";
+ 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>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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <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>
+ /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dir);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>This gives access to items to be managed. The manager reads this information and modifies the retrieved items' positions and sizes.
+ /// <c>obj_access</c> gives access to the graphical entitites to manage. Some of them might be NULL, meaning they are not yet ready to be displayed. Their size in the <c>size_access</c> array will be correct, though, so other entities can still be positioned correctly. Typically, only entities inside the viewport will be retrieved.
+ ///
+ /// <c>size_access</c> gives access to the 2D sizes for the items to manage. All sizes will always be valid, and might change over time (indicated through the <see cref="Efl.Ui.PositionManager.IEntity.ItemSizeChanged"/> method). The whole range might need to be traversed in order to calculate the position of all items in some arrangements.
+ ///
+ /// You can access a batch of objects or sizes by calling the here passed function callbacks. Further details can be found at the function definitions.</summary>
+ /// <param name="obj_access">Function callback for canvas objects, even if the start_id is valid, the returned objects may be NULL.</param>
+ /// <param name="size_access">Function callback for the size, returned values are always valid, but might be changed later on.</param>
+ /// <param name="size">valid size for start_id, 0 <= i < size</param>
+ virtual public void SetDataAccess(Efl.Ui.PositionManager.ObjectBatchCallback obj_access, Efl.Ui.PositionManager.SizeBatchCallback size_access, int size) {
+ GCHandle obj_access_handle = GCHandle.Alloc(obj_access);
+ GCHandle size_access_handle = GCHandle.Alloc(size_access);
+ Efl.Ui.PositionManager.IDataAccessV1Concrete.NativeMethods.efl_ui_position_manager_data_access_v1_data_access_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),GCHandle.ToIntPtr(obj_access_handle), Efl.Ui.PositionManager.ObjectBatchCallbackWrapper.Cb, Efl.Eo.Globals.free_gchandle, GCHandle.ToIntPtr(size_access_handle), Efl.Ui.PositionManager.SizeBatchCallbackWrapper.Cb, Efl.Eo.Globals.free_gchandle, size);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>This is the position and size of the viewport, where elements are displayed in. Entities outside this viewport will not be shown.</summary>
+ virtual public void SetViewport(Eina.Rect viewport) {
+ Eina.Rect.NativeStruct _in_viewport = viewport;
+ Efl.Ui.PositionManager.IEntityConcrete.NativeMethods.efl_ui_position_manager_entity_viewport_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_viewport);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Move the items relative to the viewport.
+ /// The items that are managed with this position manager might be bigger than the actual viewport. The positioning of the layer where all items are on is described by these values. 0.0,0.0 means that layer is moved that the top left items are shown, 1.0,1.0 means, that the lower right items are shown.</summary>
+ /// <param name="x">X position of the scroller, valid form 0 to 1.0</param>
+ /// <param name="y">Y position of the scroller, valid form 0 to 1.0</param>
+ virtual public void SetScrollPosition(double x, double y) {
+ Efl.Ui.PositionManager.IEntityConcrete.NativeMethods.efl_ui_position_manager_entity_scroll_position_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Return the version of Data_Access that is used. This object needs to implement the interface Efl.Ui.Position_Manager.Data_Access_V1 if 1 is returned. 2 if V2 (not available yet) is implemented.</summary>
+ /// <param name="max">The maximum version that is available from the data-provider.</param>
+ /// <returns>The version that should be used here. 0 is an error.</returns>
+ virtual public int Version(int max) {
+ var _ret_var = Efl.Ui.PositionManager.IEntityConcrete.NativeMethods.efl_ui_position_manager_entity_version_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),max);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Return the position and size of item idx
+ /// This method returns the size and position of the item at <c>idx</c>. Even if the item is outside the viewport, the returned rectangle must be valid. The result can be used for scrolling calculations.</summary>
+ /// <param name="idx">The id for the item</param>
+ /// <returns>Position and Size in canvas coordinations</returns>
+ virtual public Eina.Rect PositionSingleItem(int idx) {
+ var _ret_var = Efl.Ui.PositionManager.IEntityConcrete.NativeMethods.efl_ui_position_manager_entity_position_single_item_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),idx);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>The new item <c>subobj</c> has been added at the <c>added_index</c> field.
+ /// The accessor provided through <see cref="Efl.Ui.PositionManager.IDataAccessV1.SetDataAccess"/> will contain updated Entities.</summary>
+ virtual public void ItemAdded(int added_index, Efl.Gfx.IEntity subobj) {
+ Efl.Ui.PositionManager.IEntityConcrete.NativeMethods.efl_ui_position_manager_entity_item_added_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),added_index, subobj);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>The item <c>subobj</c> previously at position <c>removed_index</c> has been removed. The accessor provided through <see cref="Efl.Ui.PositionManager.IDataAccessV1.SetDataAccess"/> will contain updated Entities.</summary>
+ virtual public void ItemRemoved(int removed_index, Efl.Gfx.IEntity subobj) {
+ Efl.Ui.PositionManager.IEntityConcrete.NativeMethods.efl_ui_position_manager_entity_item_removed_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),removed_index, subobj);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>The size of the items from <c>start_id</c> to <c>end_id</c> have been changed. The positioning and sizing of all items will be updated</summary>
+ /// <param name="start_id">The first item that has a new size</param>
+ /// <param name="end_id">The last item that has a new size</param>
+ virtual public void ItemSizeChanged(int start_id, int end_id) {
+ Efl.Ui.PositionManager.IEntityConcrete.NativeMethods.efl_ui_position_manager_entity_item_size_changed_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),start_id, end_id);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>translate the current_id, into a new id which is oriented in the <c>direction</c> of <c>current_id</c>. In case that there is no item, -1 is returned</summary>
+ /// <param name="current_id">The id where the direction is oriented at</param>
+ /// <param name="direction">The direction where the new id is</param>
+ /// <returns>The id of the item in that direction, or -1 if there is no item in that direction</returns>
+ virtual public int RelativeItem(uint current_id, Efl.Ui.Focus.Direction direction) {
+ var _ret_var = Efl.Ui.PositionManager.IEntityConcrete.NativeMethods.efl_ui_position_manager_entity_relative_item_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),current_id, direction);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <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>
+ /// <value>Direction of the widget.</value>
+ public Efl.Ui.LayoutOrientation Orientation {
+ get { return GetOrientation(); }
+ set { SetOrientation(value); }
+ }
+ /// <summary>This gives access to items to be managed. The manager reads this information and modifies the retrieved items' positions and sizes.
+ /// <c>obj_access</c> gives access to the graphical entitites to manage. Some of them might be NULL, meaning they are not yet ready to be displayed. Their size in the <c>size_access</c> array will be correct, though, so other entities can still be positioned correctly. Typically, only entities inside the viewport will be retrieved.
+ ///
+ /// <c>size_access</c> gives access to the 2D sizes for the items to manage. All sizes will always be valid, and might change over time (indicated through the <see cref="Efl.Ui.PositionManager.IEntity.ItemSizeChanged"/> method). The whole range might need to be traversed in order to calculate the position of all items in some arrangements.
+ ///
+ /// You can access a batch of objects or sizes by calling the here passed function callbacks. Further details can be found at the function definitions.</summary>
+ /// <value>Function callback for canvas objects, even if the start_id is valid, the returned objects may be NULL.</value>
+ public (Efl.Ui.PositionManager.ObjectBatchCallback, Efl.Ui.PositionManager.SizeBatchCallback, int) DataAccess {
+ set { SetDataAccess( value.Item1, value.Item2, value.Item3); }
+ }
+ /// <summary>This is the position and size of the viewport, where elements are displayed in. Entities outside this viewport will not be shown.</summary>
+ public Eina.Rect Viewport {
+ set { SetViewport(value); }
+ }
+ /// <summary>Move the items relative to the viewport.
+ /// The items that are managed with this position manager might be bigger than the actual viewport. The positioning of the layer where all items are on is described by these values. 0.0,0.0 means that layer is moved that the top left items are shown, 1.0,1.0 means, that the lower right items are shown.</summary>
+ /// <value>X position of the scroller, valid form 0 to 1.0</value>
+ public (double, double) ScrollPosition {
+ set { SetScrollPosition( value.Item1, value.Item2); }
+ }
+ private static IntPtr GetEflClassStatic()
+ {
+ return Efl.Ui.PositionManager.List.efl_ui_position_manager_list_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_layout_orientation_get_static_delegate == null)
+ {
+ efl_ui_layout_orientation_get_static_delegate = new efl_ui_layout_orientation_get_delegate(orientation_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetOrientation") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_layout_orientation_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_layout_orientation_get_static_delegate) });
+ }
+
+ if (efl_ui_layout_orientation_set_static_delegate == null)
+ {
+ efl_ui_layout_orientation_set_static_delegate = new efl_ui_layout_orientation_set_delegate(orientation_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetOrientation") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_layout_orientation_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_layout_orientation_set_static_delegate) });
+ }
+
+ if (efl_ui_position_manager_data_access_v1_data_access_set_static_delegate == null)
+ {
+ efl_ui_position_manager_data_access_v1_data_access_set_static_delegate = new efl_ui_position_manager_data_access_v1_data_access_set_delegate(data_access_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetDataAccess") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_position_manager_data_access_v1_data_access_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_position_manager_data_access_v1_data_access_set_static_delegate) });
+ }
+
+ if (efl_ui_position_manager_entity_viewport_set_static_delegate == null)
+ {
+ efl_ui_position_manager_entity_viewport_set_static_delegate = new efl_ui_position_manager_entity_viewport_set_delegate(viewport_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetViewport") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_position_manager_entity_viewport_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_position_manager_entity_viewport_set_static_delegate) });
+ }
+
+ if (efl_ui_position_manager_entity_scroll_position_set_static_delegate == null)
+ {
+ efl_ui_position_manager_entity_scroll_position_set_static_delegate = new efl_ui_position_manager_entity_scroll_position_set_delegate(scroll_position_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetScrollPosition") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_position_manager_entity_scroll_position_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_position_manager_entity_scroll_position_set_static_delegate) });
+ }
+
+ if (efl_ui_position_manager_entity_version_static_delegate == null)
+ {
+ efl_ui_position_manager_entity_version_static_delegate = new efl_ui_position_manager_entity_version_delegate(version);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "Version") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_position_manager_entity_version"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_position_manager_entity_version_static_delegate) });
+ }
+
+ if (efl_ui_position_manager_entity_position_single_item_static_delegate == null)
+ {
+ efl_ui_position_manager_entity_position_single_item_static_delegate = new efl_ui_position_manager_entity_position_single_item_delegate(position_single_item);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "PositionSingleItem") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_position_manager_entity_position_single_item"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_position_manager_entity_position_single_item_static_delegate) });
+ }
+
+ if (efl_ui_position_manager_entity_item_added_static_delegate == null)
+ {
+ efl_ui_position_manager_entity_item_added_static_delegate = new efl_ui_position_manager_entity_item_added_delegate(item_added);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "ItemAdded") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_position_manager_entity_item_added"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_position_manager_entity_item_added_static_delegate) });
+ }
+
+ if (efl_ui_position_manager_entity_item_removed_static_delegate == null)
+ {
+ efl_ui_position_manager_entity_item_removed_static_delegate = new efl_ui_position_manager_entity_item_removed_delegate(item_removed);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "ItemRemoved") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_position_manager_entity_item_removed"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_position_manager_entity_item_removed_static_delegate) });
+ }
+
+ if (efl_ui_position_manager_entity_item_size_changed_static_delegate == null)
+ {
+ efl_ui_position_manager_entity_item_size_changed_static_delegate = new efl_ui_position_manager_entity_item_size_changed_delegate(item_size_changed);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "ItemSizeChanged") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_position_manager_entity_item_size_changed"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_position_manager_entity_item_size_changed_static_delegate) });
+ }
+
+ if (efl_ui_position_manager_entity_relative_item_static_delegate == null)
+ {
+ efl_ui_position_manager_entity_relative_item_static_delegate = new efl_ui_position_manager_entity_relative_item_delegate(relative_item);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "RelativeItem") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_position_manager_entity_relative_item"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_position_manager_entity_relative_item_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.PositionManager.List.efl_ui_position_manager_list_class_get();
+ }
+
+ #pragma warning disable CA1707, CS1591, SA1300, SA1600
+
+
+ private delegate Efl.Ui.LayoutOrientation efl_ui_layout_orientation_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate Efl.Ui.LayoutOrientation efl_ui_layout_orientation_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_layout_orientation_get_api_delegate> efl_ui_layout_orientation_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_layout_orientation_get_api_delegate>(Module, "efl_ui_layout_orientation_get");
+
+ private static Efl.Ui.LayoutOrientation orientation_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_layout_orientation_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.Ui.LayoutOrientation _ret_var = default(Efl.Ui.LayoutOrientation);
+ try
+ {
+ _ret_var = ((List)ws.Target).GetOrientation();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_layout_orientation_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_layout_orientation_get_delegate efl_ui_layout_orientation_get_static_delegate;
+
+
+ private delegate void efl_ui_layout_orientation_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.LayoutOrientation dir);
+
+
+ public delegate void efl_ui_layout_orientation_set_api_delegate(System.IntPtr obj, Efl.Ui.LayoutOrientation dir);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_layout_orientation_set_api_delegate> efl_ui_layout_orientation_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_layout_orientation_set_api_delegate>(Module, "efl_ui_layout_orientation_set");
+
+ private static void orientation_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.LayoutOrientation dir)
+ {
+ Eina.Log.Debug("function efl_ui_layout_orientation_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((List)ws.Target).SetOrientation(dir);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_layout_orientation_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), dir);
+ }
+ }
+
+ private static efl_ui_layout_orientation_set_delegate efl_ui_layout_orientation_set_static_delegate;
+
+
+ private delegate void efl_ui_position_manager_data_access_v1_data_access_set_delegate(System.IntPtr obj, System.IntPtr pd, IntPtr obj_access_data, Efl.Ui.PositionManager.ObjectBatchCallbackInternal obj_access, EinaFreeCb obj_access_free_cb, IntPtr size_access_data, Efl.Ui.PositionManager.SizeBatchCallbackInternal size_access, EinaFreeCb size_access_free_cb, int size);
+
+
+ public delegate void efl_ui_position_manager_data_access_v1_data_access_set_api_delegate(System.IntPtr obj, IntPtr obj_access_data, Efl.Ui.PositionManager.ObjectBatchCallbackInternal obj_access, EinaFreeCb obj_access_free_cb, IntPtr size_access_data, Efl.Ui.PositionManager.SizeBatchCallbackInternal size_access, EinaFreeCb size_access_free_cb, int size);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_position_manager_data_access_v1_data_access_set_api_delegate> efl_ui_position_manager_data_access_v1_data_access_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_position_manager_data_access_v1_data_access_set_api_delegate>(Module, "efl_ui_position_manager_data_access_v1_data_access_set");
+
+ private static void data_access_set(System.IntPtr obj, System.IntPtr pd, IntPtr obj_access_data, Efl.Ui.PositionManager.ObjectBatchCallbackInternal obj_access, EinaFreeCb obj_access_free_cb, IntPtr size_access_data, Efl.Ui.PositionManager.SizeBatchCallbackInternal size_access, EinaFreeCb size_access_free_cb, int size)
+ {
+ Eina.Log.Debug("function efl_ui_position_manager_data_access_v1_data_access_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.Ui.PositionManager.ObjectBatchCallbackWrapper obj_access_wrapper = new Efl.Ui.PositionManager.ObjectBatchCallbackWrapper(obj_access, obj_access_data, obj_access_free_cb);
+ Efl.Ui.PositionManager.SizeBatchCallbackWrapper size_access_wrapper = new Efl.Ui.PositionManager.SizeBatchCallbackWrapper(size_access, size_access_data, size_access_free_cb);
+
+ try
+ {
+ ((List)ws.Target).SetDataAccess(obj_access_wrapper.ManagedCb, size_access_wrapper.ManagedCb, size);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_position_manager_data_access_v1_data_access_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), obj_access_data, obj_access, obj_access_free_cb, size_access_data, size_access, size_access_free_cb, size);
+ }
+ }
+
+ private static efl_ui_position_manager_data_access_v1_data_access_set_delegate efl_ui_position_manager_data_access_v1_data_access_set_static_delegate;
+
+
+ private delegate void efl_ui_position_manager_entity_viewport_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct viewport);
+
+
+ public delegate void efl_ui_position_manager_entity_viewport_set_api_delegate(System.IntPtr obj, Eina.Rect.NativeStruct viewport);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_viewport_set_api_delegate> efl_ui_position_manager_entity_viewport_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_viewport_set_api_delegate>(Module, "efl_ui_position_manager_entity_viewport_set");
+
+ private static void viewport_set(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct viewport)
+ {
+ Eina.Log.Debug("function efl_ui_position_manager_entity_viewport_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Rect _in_viewport = viewport;
+
+ try
+ {
+ ((List)ws.Target).SetViewport(_in_viewport);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_position_manager_entity_viewport_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), viewport);
+ }
+ }
+
+ private static efl_ui_position_manager_entity_viewport_set_delegate efl_ui_position_manager_entity_viewport_set_static_delegate;
+
+
+ private delegate void efl_ui_position_manager_entity_scroll_position_set_delegate(System.IntPtr obj, System.IntPtr pd, double x, double y);
+
+
+ public delegate void efl_ui_position_manager_entity_scroll_position_set_api_delegate(System.IntPtr obj, double x, double y);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_scroll_position_set_api_delegate> efl_ui_position_manager_entity_scroll_position_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_scroll_position_set_api_delegate>(Module, "efl_ui_position_manager_entity_scroll_position_set");
+
+ private static void scroll_position_set(System.IntPtr obj, System.IntPtr pd, double x, double y)
+ {
+ Eina.Log.Debug("function efl_ui_position_manager_entity_scroll_position_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((List)ws.Target).SetScrollPosition(x, y);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_position_manager_entity_scroll_position_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y);
+ }
+ }
+
+ private static efl_ui_position_manager_entity_scroll_position_set_delegate efl_ui_position_manager_entity_scroll_position_set_static_delegate;
+
+
+ private delegate int efl_ui_position_manager_entity_version_delegate(System.IntPtr obj, System.IntPtr pd, int max);
+
+
+ public delegate int efl_ui_position_manager_entity_version_api_delegate(System.IntPtr obj, int max);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_version_api_delegate> efl_ui_position_manager_entity_version_ptr = new Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_version_api_delegate>(Module, "efl_ui_position_manager_entity_version");
+
+ private static int version(System.IntPtr obj, System.IntPtr pd, int max)
+ {
+ Eina.Log.Debug("function efl_ui_position_manager_entity_version was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ int _ret_var = default(int);
+ try
+ {
+ _ret_var = ((List)ws.Target).Version(max);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_position_manager_entity_version_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), max);
+ }
+ }
+
+ private static efl_ui_position_manager_entity_version_delegate efl_ui_position_manager_entity_version_static_delegate;
+
+
+ private delegate Eina.Rect.NativeStruct efl_ui_position_manager_entity_position_single_item_delegate(System.IntPtr obj, System.IntPtr pd, int idx);
+
+
+ public delegate Eina.Rect.NativeStruct efl_ui_position_manager_entity_position_single_item_api_delegate(System.IntPtr obj, int idx);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_position_single_item_api_delegate> efl_ui_position_manager_entity_position_single_item_ptr = new Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_position_single_item_api_delegate>(Module, "efl_ui_position_manager_entity_position_single_item");
+
+ private static Eina.Rect.NativeStruct position_single_item(System.IntPtr obj, System.IntPtr pd, int idx)
+ {
+ Eina.Log.Debug("function efl_ui_position_manager_entity_position_single_item was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Rect _ret_var = default(Eina.Rect);
+ try
+ {
+ _ret_var = ((List)ws.Target).PositionSingleItem(idx);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_position_manager_entity_position_single_item_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), idx);
+ }
+ }
+
+ private static efl_ui_position_manager_entity_position_single_item_delegate efl_ui_position_manager_entity_position_single_item_static_delegate;
+
+
+ private delegate void efl_ui_position_manager_entity_item_added_delegate(System.IntPtr obj, System.IntPtr pd, int added_index, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
+
+
+ public delegate void efl_ui_position_manager_entity_item_added_api_delegate(System.IntPtr obj, int added_index, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_item_added_api_delegate> efl_ui_position_manager_entity_item_added_ptr = new Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_item_added_api_delegate>(Module, "efl_ui_position_manager_entity_item_added");
+
+ private static void item_added(System.IntPtr obj, System.IntPtr pd, int added_index, Efl.Gfx.IEntity subobj)
+ {
+ Eina.Log.Debug("function efl_ui_position_manager_entity_item_added was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((List)ws.Target).ItemAdded(added_index, subobj);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_position_manager_entity_item_added_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), added_index, subobj);
+ }
+ }
+
+ private static efl_ui_position_manager_entity_item_added_delegate efl_ui_position_manager_entity_item_added_static_delegate;
+
+
+ private delegate void efl_ui_position_manager_entity_item_removed_delegate(System.IntPtr obj, System.IntPtr pd, int removed_index, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
+
+
+ public delegate void efl_ui_position_manager_entity_item_removed_api_delegate(System.IntPtr obj, int removed_index, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_item_removed_api_delegate> efl_ui_position_manager_entity_item_removed_ptr = new Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_item_removed_api_delegate>(Module, "efl_ui_position_manager_entity_item_removed");
+
+ private static void item_removed(System.IntPtr obj, System.IntPtr pd, int removed_index, Efl.Gfx.IEntity subobj)
+ {
+ Eina.Log.Debug("function efl_ui_position_manager_entity_item_removed was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((List)ws.Target).ItemRemoved(removed_index, subobj);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_position_manager_entity_item_removed_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), removed_index, subobj);
+ }
+ }
+
+ private static efl_ui_position_manager_entity_item_removed_delegate efl_ui_position_manager_entity_item_removed_static_delegate;
+
+
+ private delegate void efl_ui_position_manager_entity_item_size_changed_delegate(System.IntPtr obj, System.IntPtr pd, int start_id, int end_id);
+
+
+ public delegate void efl_ui_position_manager_entity_item_size_changed_api_delegate(System.IntPtr obj, int start_id, int end_id);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_item_size_changed_api_delegate> efl_ui_position_manager_entity_item_size_changed_ptr = new Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_item_size_changed_api_delegate>(Module, "efl_ui_position_manager_entity_item_size_changed");
+
+ private static void item_size_changed(System.IntPtr obj, System.IntPtr pd, int start_id, int end_id)
+ {
+ Eina.Log.Debug("function efl_ui_position_manager_entity_item_size_changed was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((List)ws.Target).ItemSizeChanged(start_id, end_id);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_position_manager_entity_item_size_changed_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), start_id, end_id);
+ }
+ }
+
+ private static efl_ui_position_manager_entity_item_size_changed_delegate efl_ui_position_manager_entity_item_size_changed_static_delegate;
+
+
+ private delegate int efl_ui_position_manager_entity_relative_item_delegate(System.IntPtr obj, System.IntPtr pd, uint current_id, Efl.Ui.Focus.Direction direction);
+
+
+ public delegate int efl_ui_position_manager_entity_relative_item_api_delegate(System.IntPtr obj, uint current_id, Efl.Ui.Focus.Direction direction);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_relative_item_api_delegate> efl_ui_position_manager_entity_relative_item_ptr = new Efl.Eo.FunctionWrapper<efl_ui_position_manager_entity_relative_item_api_delegate>(Module, "efl_ui_position_manager_entity_relative_item");
+
+ private static int relative_item(System.IntPtr obj, System.IntPtr pd, uint current_id, Efl.Ui.Focus.Direction direction)
+ {
+ Eina.Log.Debug("function efl_ui_position_manager_entity_relative_item was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ int _ret_var = default(int);
+ try
+ {
+ _ret_var = ((List)ws.Target).RelativeItem(current_id, direction);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_position_manager_entity_relative_item_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), current_id, direction);
+ }
+ }
+
+ private static efl_ui_position_manager_entity_relative_item_delegate efl_ui_position_manager_entity_relative_item_static_delegate;
+
+ #pragma warning restore CA1707, CS1591, SA1300, SA1600
+
+}
+}
+}
+
+}
+
+}
+
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_Ui_Position_ManagerList_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Ui.LayoutOrientation> Orientation<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.PositionManager.List, T>magic = null) where T : Efl.Ui.PositionManager.List {
+ return new Efl.BindableProperty<Efl.Ui.LayoutOrientation>("orientation", fac);
+ }
+
+
+ public static Efl.BindableProperty<Eina.Rect> Viewport<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.PositionManager.List, T>magic = null) where T : Efl.Ui.PositionManager.List {
+ return new Efl.BindableProperty<Eina.Rect>("viewport", fac);
+ }
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Elementary progressbar class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Progressbar(ConstructingHandle ch) : base(ch)
{
{
}
- /// <summary>Called when progressbar changed</summary>
+ /// <summary>Sent after the content is set or unset using the current content object.
+ /// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContentContentChangedEvt_Args"/></value>
+ public event EventHandler<Efl.IContentContentChangedEvt_Args> ContentChangedEvt
+ {
+ 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.IContentContentChangedEvt_Args args = new Efl.IContentContentChangedEvt_Args();
+ args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Gfx.IEntityConcrete);
+ try
+ {
+ value?.Invoke(obj, args);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Error(e.ToString());
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+ }
+ };
+
+ string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event ContentChangedEvt.</summary>
+ public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e)
+ {
+ var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
+ 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 = e.arg.NativeHandle;
+ Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
+ }
+ /// <summary>Emitted when the <see cref="Efl.Ui.IRangeDisplay.RangeValue"/> is getting changed.</summary>
public event EventHandler ChangedEvt
{
add
}
};
- string key = "_EFL_UI_PROGRESSBAR_EVENT_CHANGED";
+ string key = "_EFL_UI_RANGE_EVENT_CHANGED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_PROGRESSBAR_EVENT_CHANGED";
+ string key = "_EFL_UI_RANGE_EVENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event ChangedEvt.</summary>
+ /// <summary>Method to raise event ChangedEvt.</summary>
public void OnChangedEvt(EventArgs e)
{
- var key = "_EFL_UI_PROGRESSBAR_EVENT_CHANGED";
+ var key = "_EFL_UI_RANGE_EVENT_CHANGED";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Sent after the content is set or unset using the current content object.
- /// (Since EFL 1.22)</summary>
- public event EventHandler<Efl.IContentContentChangedEvt_Args> ContentChangedEvt
+ /// <summary>Emitted when the <see cref="Efl.Ui.IRangeDisplay.RangeValue"/> has reached the minimum of <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/>.</summary>
+ public event EventHandler MinReachedEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- Efl.IContentContentChangedEvt_Args args = new Efl.IContentContentChangedEvt_Args();
- args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Gfx.IEntityConcrete);
+ EventArgs args = EventArgs.Empty;
try
{
value?.Invoke(obj, args);
}
};
- string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
+ string key = "_EFL_UI_RANGE_EVENT_MIN_REACHED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
+ string key = "_EFL_UI_RANGE_EVENT_MIN_REACHED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event ContentChangedEvt.</summary>
- public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e)
+ /// <summary>Method to raise event MinReachedEvt.</summary>
+ public void OnMinReachedEvt(EventArgs e)
{
- var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
+ var key = "_EFL_UI_RANGE_EVENT_MIN_REACHED";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
return;
}
- IntPtr info = e.arg.NativeHandle;
- Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
+ Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
+ }
+ /// <summary>Emitted when the <c>range_value</c> has reached the maximum of <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/>.</summary>
+ public event EventHandler MaxReachedEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_RANGE_EVENT_MAX_REACHED";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_RANGE_EVENT_MAX_REACHED";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event MaxReachedEvt.</summary>
+ public void OnMaxReachedEvt(EventArgs e)
+ {
+ var key = "_EFL_UI_RANGE_EVENT_MAX_REACHED";
+ 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>Control whether a given progress bar widget is at "pulsing mode" or not.
/// 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>
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
- /// 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>
+ /// <summary>Control the value (position) of the widget within its valid range.
+ /// Values outside the limits defined in <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/> are ignored and an error is printed.</summary>
+ /// <returns>The range value (must be within the bounds of <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/>).</returns>
virtual public double GetRangeValue() {
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;
}
- /// <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>
- /// <param name="val">The range value (must be between $0.0 and 1.0)</param>
+ /// <summary>Control the value (position) of the widget within its valid range.
+ /// Values outside the limits defined in <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/> are ignored and an error is printed.</summary>
+ /// <param name="val">The range value (must be within the bounds of <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/>).</param>
virtual public void SetRangeValue(double 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.
- /// Note: If only one value is needed, the other pointer can be passed as <c>null</c>.</summary>
+ /// <summary>Set the minimum and maximum values for given range widget.
+ /// If the current value is less than <c>min</c>, it will be updated to <c>min</c>. If it is bigger then <c>max</c>, will be updated to <c>max</c>. The resulting value can be obtained with <see cref="Efl.Ui.IRangeDisplay.GetRangeValue"/>.
+ ///
+ /// The default minimum and maximum values may be different for each class.
+ ///
+ /// Note: maximum must be greater than minimum, otherwise behavior is undefined.</summary>
/// <param name="min">The minimum value.</param>
/// <param name="max">The maximum value.</param>
virtual public void GetRangeLimits(out double min, out double max) {
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the minimum and maximum values for given range widget.
- /// Define the allowed range of values to be selected by the user.
- ///
- /// If actual value is less than <c>min</c>, it will be updated to <c>min</c>. If it is bigger then <c>max</c>, will be updated to <c>max</c>. The actual value can be obtained with <see cref="Efl.Ui.IRangeDisplay.GetRangeValue"/>
+ /// If the current value is less than <c>min</c>, it will be updated to <c>min</c>. If it is bigger then <c>max</c>, will be updated to <c>max</c>. The resulting value can be obtained with <see cref="Efl.Ui.IRangeDisplay.GetRangeValue"/>.
///
- /// The minimum and maximum values may be different for each class.
+ /// The default minimum and maximum values may be different for each class.
///
- /// Warning: maximum must be greater than minimum, otherwise behavior is undefined.</summary>
+ /// Note: maximum must be greater than minimum, otherwise behavior is undefined.</summary>
/// <param name="min">The minimum value.</param>
/// <param name="max">The maximum value.</param>
virtual public void SetRangeLimits(double min, double max) {
get { return GetMarkup(); }
set { SetMarkup(value); }
}
+ /// <summary>Value and text property</summary>
+ /// <value>Value of widget casted to floating point number.</value>
+ public (double, System.String) ValueAndText {
+ get {
+ double _out_value = default(double);
+ System.String _out_text = default(System.String);
+ GetValueAndText(out _out_value,out _out_text);
+ return (_out_value,_out_text);
+ }
+ set { SetValueAndText( value.Item1, value.Item2); }
+ }
+ /// <summary>Gets a range of all possible values and its description</summary>
+ public (double, double, System.String) Range {
+ get {
+ double _out_lower_limit = default(double);
+ double _out_upper_limit = default(double);
+ System.String _out_description = default(System.String);
+ GetRange(out _out_lower_limit,out _out_upper_limit,out _out_description);
+ return (_out_lower_limit,_out_upper_limit,_out_description);
+ }
+ }
/// <summary>Gets an minimal incrementation value</summary>
/// <value>Minimal incrementation value</value>
public double Increment {
get { return GetFormatValues(); }
set { SetFormatValues(value); }
}
+ /// <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>
+ /// <value>Formatting string containing regular characters and format specifiers.</value>
+ public (System.String, Efl.Ui.FormatStringType) FormatString {
+ get {
+ System.String _out_kw_string = default(System.String);
+ Efl.Ui.FormatStringType _out_type = default(Efl.Ui.FormatStringType);
+ GetFormatString(out _out_kw_string,out _out_type);
+ return (_out_kw_string,_out_type);
+ }
+ set { SetFormatString( value.Item1, value.Item2); }
+ }
/// <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.
///
get { return GetOrientation(); }
set { SetOrientation(value); }
}
- /// <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>
- /// <value>The range value (must be between $0.0 and 1.0)</value>
+ /// <summary>Control the value (position) of the widget within its valid range.
+ /// Values outside the limits defined in <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/> are ignored and an error is printed.</summary>
+ /// <value>The range value (must be within the bounds of <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/>).</value>
public double RangeValue {
get { return GetRangeValue(); }
set { SetRangeValue(value); }
}
+ /// <summary>Set the minimum and maximum values for given range widget.
+ /// If the current value is less than <c>min</c>, it will be updated to <c>min</c>. If it is bigger then <c>max</c>, will be updated to <c>max</c>. The resulting value can be obtained with <see cref="Efl.Ui.IRangeDisplay.GetRangeValue"/>.
+ ///
+ /// The default minimum and maximum values may be different for each class.
+ ///
+ /// Note: maximum must be greater than minimum, otherwise behavior is undefined.</summary>
+ /// <value>The minimum value.</value>
+ public (double, double) RangeLimits {
+ get {
+ double _out_min = default(double);
+ double _out_max = default(double);
+ GetRangeLimits(out _out_min,out _out_max);
+ return (_out_min,_out_max);
+ }
+ set { SetRangeLimits( value.Item1, value.Item2); }
+ }
private static IntPtr GetEflClassStatic()
{
return Efl.Ui.Progressbar.efl_ui_progressbar_class_get();
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiProgressbar_ExtensionMethods {
+ public static Efl.BindableProperty<bool> PulseMode<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Progressbar, T>magic = null) where T : Efl.Ui.Progressbar {
+ return new Efl.BindableProperty<bool>("pulse_mode", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Pulse<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Progressbar, T>magic = null) where T : Efl.Ui.Progressbar {
+ return new Efl.BindableProperty<bool>("pulse", fac);
+ }
+
+ public static Efl.BindableProperty<bool> ShowProgressLabel<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Progressbar, T>magic = null) where T : Efl.Ui.Progressbar {
+ return new Efl.BindableProperty<bool>("show_progress_label", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Gfx.IEntity> Content<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Progressbar, T>magic = null) where T : Efl.Ui.Progressbar {
+ return new Efl.BindableProperty<Efl.Gfx.IEntity>("content", fac);
+ }
+
+
+ public static Efl.BindableProperty<System.String> Markup<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Progressbar, T>magic = null) where T : Efl.Ui.Progressbar {
+ return new Efl.BindableProperty<System.String>("markup", fac);
+ }
+
+
+
+
+ public static Efl.BindableProperty<Efl.Ui.FormatFunc> FormatFunc<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Progressbar, T>magic = null) where T : Efl.Ui.Progressbar {
+ return new Efl.BindableProperty<Efl.Ui.FormatFunc>("format_func", fac);
+ }
+
+ public static Efl.BindableProperty<Eina.Accessor<Efl.Ui.FormatValue>> FormatValues<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Progressbar, T>magic = null) where T : Efl.Ui.Progressbar {
+ return new Efl.BindableProperty<Eina.Accessor<Efl.Ui.FormatValue>>("format_values", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.Ui.LayoutOrientation> Orientation<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Progressbar, T>magic = null) where T : Efl.Ui.Progressbar {
+ return new Efl.BindableProperty<Efl.Ui.LayoutOrientation>("orientation", fac);
+ }
+
+ public static Efl.BindableProperty<double> RangeValue<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Progressbar, T>magic = null) where T : Efl.Ui.Progressbar {
+ return new Efl.BindableProperty<double>("range_value", fac);
+ }
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Elementary progressbar internal part class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.ProgressbarLegacyPart.NativeMethods]
[Efl.Eo.BindingEntity]
public class ProgressbarLegacyPart : Efl.Ui.LayoutPartContent
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected ProgressbarLegacyPart(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiProgressbarLegacyPart_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Elementary progressbar internal part class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected ProgressbarPart(ConstructingHandle ch) : base(ch)
{
{
}
- /// <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>
+ /// <summary>Emitted when the <see cref="Efl.Ui.IRangeDisplay.RangeValue"/> is getting changed.</summary>
+ public event EventHandler ChangedEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_RANGE_EVENT_CHANGED";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_RANGE_EVENT_CHANGED";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event ChangedEvt.</summary>
+ public void OnChangedEvt(EventArgs e)
+ {
+ var key = "_EFL_UI_RANGE_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>Emitted when the <see cref="Efl.Ui.IRangeDisplay.RangeValue"/> has reached the minimum of <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/>.</summary>
+ public event EventHandler MinReachedEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_RANGE_EVENT_MIN_REACHED";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_RANGE_EVENT_MIN_REACHED";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event MinReachedEvt.</summary>
+ public void OnMinReachedEvt(EventArgs e)
+ {
+ var key = "_EFL_UI_RANGE_EVENT_MIN_REACHED";
+ 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>Emitted when the <c>range_value</c> has reached the maximum of <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/>.</summary>
+ public event EventHandler MaxReachedEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_RANGE_EVENT_MAX_REACHED";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_RANGE_EVENT_MAX_REACHED";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event MaxReachedEvt.</summary>
+ public void OnMaxReachedEvt(EventArgs e)
+ {
+ var key = "_EFL_UI_RANGE_EVENT_MAX_REACHED";
+ 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>Control the value (position) of the widget within its valid range.
+ /// Values outside the limits defined in <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/> are ignored and an error is printed.</summary>
+ /// <returns>The range value (must be within the bounds of <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/>).</returns>
virtual public double GetRangeValue() {
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;
}
- /// <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>
- /// <param name="val">The range value (must be between $0.0 and 1.0)</param>
+ /// <summary>Control the value (position) of the widget within its valid range.
+ /// Values outside the limits defined in <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/> are ignored and an error is printed.</summary>
+ /// <param name="val">The range value (must be within the bounds of <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/>).</param>
virtual public void SetRangeValue(double 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.
- /// Note: If only one value is needed, the other pointer can be passed as <c>null</c>.</summary>
+ /// <summary>Set the minimum and maximum values for given range widget.
+ /// If the current value is less than <c>min</c>, it will be updated to <c>min</c>. If it is bigger then <c>max</c>, will be updated to <c>max</c>. The resulting value can be obtained with <see cref="Efl.Ui.IRangeDisplay.GetRangeValue"/>.
+ ///
+ /// The default minimum and maximum values may be different for each class.
+ ///
+ /// Note: maximum must be greater than minimum, otherwise behavior is undefined.</summary>
/// <param name="min">The minimum value.</param>
/// <param name="max">The maximum value.</param>
virtual public void GetRangeLimits(out double min, out double max) {
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the minimum and maximum values for given range widget.
- /// Define the allowed range of values to be selected by the user.
+ /// If the current value is less than <c>min</c>, it will be updated to <c>min</c>. If it is bigger then <c>max</c>, will be updated to <c>max</c>. The resulting value can be obtained with <see cref="Efl.Ui.IRangeDisplay.GetRangeValue"/>.
///
- /// If actual value is less than <c>min</c>, it will be updated to <c>min</c>. If it is bigger then <c>max</c>, will be updated to <c>max</c>. The actual value can be obtained with <see cref="Efl.Ui.IRangeDisplay.GetRangeValue"/>
+ /// The default minimum and maximum values may be different for each class.
///
- /// The minimum and maximum values may be different for each class.
- ///
- /// Warning: maximum must be greater than minimum, otherwise behavior is undefined.</summary>
+ /// Note: maximum must be greater than minimum, otherwise behavior is undefined.</summary>
/// <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((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
- /// 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>
- /// <value>The range value (must be between $0.0 and 1.0)</value>
+ /// <summary>Control the value (position) of the widget within its valid range.
+ /// Values outside the limits defined in <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/> are ignored and an error is printed.</summary>
+ /// <value>The range value (must be within the bounds of <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/>).</value>
public double RangeValue {
get { return GetRangeValue(); }
set { SetRangeValue(value); }
}
+ /// <summary>Set the minimum and maximum values for given range widget.
+ /// If the current value is less than <c>min</c>, it will be updated to <c>min</c>. If it is bigger then <c>max</c>, will be updated to <c>max</c>. The resulting value can be obtained with <see cref="Efl.Ui.IRangeDisplay.GetRangeValue"/>.
+ ///
+ /// The default minimum and maximum values may be different for each class.
+ ///
+ /// Note: maximum must be greater than minimum, otherwise behavior is undefined.</summary>
+ /// <value>The minimum value.</value>
+ public (double, double) RangeLimits {
+ get {
+ double _out_min = default(double);
+ double _out_max = default(double);
+ GetRangeLimits(out _out_min,out _out_max);
+ return (_out_min,_out_max);
+ }
+ set { SetRangeLimits( value.Item1, value.Item2); }
+ }
private static IntPtr GetEflClassStatic()
{
return Efl.Ui.ProgressbarPart.efl_ui_progressbar_part_class_get();
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiProgressbarPart_ExtensionMethods {
+ public static Efl.BindableProperty<double> RangeValue<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.ProgressbarPart, T>magic = null) where T : Efl.Ui.ProgressbarPart {
+ return new Efl.BindableProperty<double>("range_value", fac);
+ }
+public static Efl.BindableProperty<double> RangeValue<T>(this Efl.BindablePart<T> part, Efl.Csharp.ExtensionTag<Efl.Ui.ProgressbarPart, T>magic = null) where T : Efl.Ui.ProgressbarPart {
+ return new Efl.BindableProperty<double>(part.PartName, "range_value", part.Binder);
+ }
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.IPropertyBindConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IPropertyBind :
/// <returns>0 when it succeed, an error code otherwise.</returns>
Eina.Error PropertyBind(System.String key, System.String property);
/// <summary>Event dispatched when a property on the object has changed due to an user interaction on the object that a model could be interested in.</summary>
+ /// <value><see cref="Efl.Ui.IPropertyBindPropertiesChangedEvt_Args"/></value>
event EventHandler<Efl.Ui.IPropertyBindPropertiesChangedEvt_Args> PropertiesChangedEvt;
/// <summary>Event dispatched when a property on the object is bound to a model. This is useful to not overgenerate event.</summary>
+ /// <value><see cref="Efl.Ui.IPropertyBindPropertyBoundEvt_Args"/></value>
event EventHandler<Efl.Ui.IPropertyBindPropertyBoundEvt_Args> PropertyBoundEvt;
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.IPropertyBind.PropertiesChangedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Event dispatched when a property on the object has changed due to an user interaction on the object that a model could be interested in.</value>
public Efl.Ui.PropertyEvent arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.IPropertyBind.PropertyBoundEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Event dispatched when a property on the object is bound to a model. This is useful to not overgenerate event.</value>
public System.String arg { get; set; }
}
/// <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>
-sealed public class IPropertyBindConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IPropertyBindConcrete :
Efl.Eo.EoWrapper
, IPropertyBind
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IPropertyBindConcrete(ConstructingHandle ch) : base(ch)
{
}
/// <summary>Event dispatched when a property on the object has changed due to an user interaction on the object that a model could be interested in.</summary>
+ /// <value><see cref="Efl.Ui.IPropertyBindPropertiesChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.IPropertyBindPropertiesChangedEvt_Args> PropertiesChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event PropertiesChangedEvt.</summary>
+ /// <summary>Method to raise event PropertiesChangedEvt.</summary>
public void OnPropertiesChangedEvt(Efl.Ui.IPropertyBindPropertiesChangedEvt_Args e)
{
var key = "_EFL_UI_PROPERTY_BIND_EVENT_PROPERTIES_CHANGED";
}
}
/// <summary>Event dispatched when a property on the object is bound to a model. This is useful to not overgenerate event.</summary>
+ /// <value><see cref="Efl.Ui.IPropertyBindPropertyBoundEvt_Args"/></value>
public event EventHandler<Efl.Ui.IPropertyBindPropertyBoundEvt_Args> PropertyBoundEvt
{
add
}
}
}
- ///<summary>Method to raise event PropertyBoundEvt.</summary>
+ /// <summary>Method to raise event PropertyBoundEvt.</summary>
public void OnPropertyBoundEvt(Efl.Ui.IPropertyBindPropertyBoundEvt_Args e)
{
var key = "_EFL_UI_PROPERTY_BIND_EVENT_PROPERTY_BOUND";
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiIPropertyBindConcrete_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
namespace Efl {
namespace Ui {
{
/// <summary>List of changed properties</summary>
public Eina.Array<Eina.Stringshare> Changed_properties;
- ///<summary>Constructor for PropertyEvent.</summary>
+ /// <summary>Constructor for PropertyEvent.</summary>
+ /// <param name="Changed_properties">List of changed properties</param>;
public PropertyEvent(
Eina.Array<Eina.Stringshare> Changed_properties = default(Eina.Array<Eina.Stringshare>) )
{
this.Changed_properties = Changed_properties;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 PropertyEvent(IntPtr ptr)
{
var tmp = (PropertyEvent.NativeStruct)Marshal.PtrToStructure(ptr, typeof(PropertyEvent.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct PropertyEvent.</summary>
+ /// <summary>Internal wrapper for struct PropertyEvent.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
public System.IntPtr Changed_properties;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator PropertyEvent.NativeStruct(PropertyEvent _external_struct)
{
var _internal_struct = new PropertyEvent.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator PropertyEvent(PropertyEvent.NativeStruct _internal_struct)
{
var _external_struct = new PropertyEvent();
--- /dev/null
+#define EFL_BETA
+#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>Every part returned by an <see cref="Efl.Ui.WidgetFactory"/> will enable the <see cref="Efl.Ui.IFactory"/> to remember what part to call <see cref="Efl.Ui.IPropertyBind.PropertyBind"/> on when an item is created enabling to propagate binding model property to item object property.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+[Efl.Ui.PropertyBindPart.NativeMethods]
+[Efl.Eo.BindingEntity]
+public class PropertyBindPart : Efl.Object, Efl.Ui.IPropertyBind
+{
+ /// <summary>Pointer to the native class description.</summary>
+ public override System.IntPtr NativeClass
+ {
+ get
+ {
+ if (((object)this).GetType() == typeof(PropertyBindPart))
+ {
+ 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_property_bind_part_class_get();
+ /// <summary>Initializes a new instance of the <see cref="PropertyBindPart"/> class.</summary>
+ /// <param name="parent">Parent instance.</param>
+ public PropertyBindPart(Efl.Object parent= null
+ ) : base(efl_ui_property_bind_part_class_get(), parent)
+ {
+ FinishInstantiation();
+ }
+
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected PropertyBindPart(ConstructingHandle ch) : base(ch)
+ {
+ }
+
+ /// <summary>Initializes a new instance of the <see cref="PropertyBindPart"/> 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 PropertyBindPart(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
+ {
+ }
+
+ /// <summary>Initializes a new instance of the <see cref="PropertyBindPart"/> 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 PropertyBindPart(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
+ {
+ }
+
+ /// <summary>Event dispatched when a property on the object has changed due to an user interaction on the object that a model could be interested in.</summary>
+ /// <value><see cref="Efl.Ui.IPropertyBindPropertiesChangedEvt_Args"/></value>
+ public event EventHandler<Efl.Ui.IPropertyBindPropertiesChangedEvt_Args> PropertiesChangedEvt
+ {
+ 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.IPropertyBindPropertiesChangedEvt_Args args = new Efl.Ui.IPropertyBindPropertiesChangedEvt_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_PROPERTY_BIND_EVENT_PROPERTIES_CHANGED";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_PROPERTY_BIND_EVENT_PROPERTIES_CHANGED";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event PropertiesChangedEvt.</summary>
+ public void OnPropertiesChangedEvt(Efl.Ui.IPropertyBindPropertiesChangedEvt_Args e)
+ {
+ var key = "_EFL_UI_PROPERTY_BIND_EVENT_PROPERTIES_CHANGED";
+ 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>Event dispatched when a property on the object is bound to a model. This is useful to not overgenerate event.</summary>
+ /// <value><see cref="Efl.Ui.IPropertyBindPropertyBoundEvt_Args"/></value>
+ public event EventHandler<Efl.Ui.IPropertyBindPropertyBoundEvt_Args> PropertyBoundEvt
+ {
+ 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.IPropertyBindPropertyBoundEvt_Args args = new Efl.Ui.IPropertyBindPropertyBoundEvt_Args();
+ args.arg = Eina.StringConversion.NativeUtf8ToManagedString(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_PROPERTY_BIND_EVENT_PROPERTY_BOUND";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_PROPERTY_BIND_EVENT_PROPERTY_BOUND";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event PropertyBoundEvt.</summary>
+ public void OnPropertyBoundEvt(Efl.Ui.IPropertyBindPropertyBoundEvt_Args e)
+ {
+ var key = "_EFL_UI_PROPERTY_BIND_EVENT_PROPERTY_BOUND";
+ 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.StringConversion.ManagedStringToNativeUtf8Alloc(e.arg);
+ try
+ {
+ Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
+ }
+ finally
+ {
+ Eina.MemoryNative.Free(info);
+ }
+ }
+ /// <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="key">key string for bind model property data</param>
+ /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),key, property);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ private static IntPtr GetEflClassStatic()
+ {
+ return Efl.Ui.PropertyBindPart.efl_ui_property_bind_part_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_property_bind_static_delegate == null)
+ {
+ efl_ui_property_bind_static_delegate = new efl_ui_property_bind_delegate(property_bind);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "PropertyBind") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_property_bind"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_property_bind_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.PropertyBindPart.efl_ui_property_bind_part_class_get();
+ }
+
+ #pragma warning disable CA1707, CS1591, SA1300, SA1600
+
+
+ private delegate Eina.Error efl_ui_property_bind_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String key, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String property);
+
+
+ public delegate Eina.Error efl_ui_property_bind_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String key, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String property);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_property_bind_api_delegate> efl_ui_property_bind_ptr = new Efl.Eo.FunctionWrapper<efl_ui_property_bind_api_delegate>(Module, "efl_ui_property_bind");
+
+ private static Eina.Error property_bind(System.IntPtr obj, System.IntPtr pd, System.String key, System.String property)
+ {
+ Eina.Log.Debug("function efl_ui_property_bind was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Error _ret_var = default(Eina.Error);
+ try
+ {
+ _ret_var = ((PropertyBindPart)ws.Target).PropertyBind(key, property);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_property_bind_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), key, property);
+ }
+ }
+
+ private static efl_ui_property_bind_delegate efl_ui_property_bind_static_delegate;
+
+ #pragma warning restore CA1707, CS1591, SA1300, SA1600
+
+}
+}
+}
+
+}
+
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiPropertyBindPart_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// They are a common way to allow a user to select one option among a list.
///
/// 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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.Radio.NativeMethods]
[Efl.Eo.BindingEntity]
public class Radio : Efl.Ui.Check
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Radio(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiRadio_ExtensionMethods {
+ public static Efl.BindableProperty<int> StateValue<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Radio, T>magic = null) where T : Efl.Ui.Radio {
+ return new Efl.BindableProperty<int>("state_value", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.RadioBox.NativeMethods]
[Efl.Eo.BindingEntity]
public class RadioBox : Efl.Ui.Box, Efl.Ui.IRadioGroup
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected RadioBox(ConstructingHandle ch) : base(ch)
{
}
/// <summary>Emitted each time the <c>selected_value</c> changes. The event information contains the <see cref="Efl.Ui.Radio.StateValue"/> of the newly selected button or -1 if no button is now selected.</summary>
+ /// <value><see cref="Efl.Ui.IRadioGroupValueChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.IRadioGroupValueChangedEvt_Args> ValueChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event ValueChangedEvt.</summary>
+ /// <summary>Method to raise event ValueChangedEvt.</summary>
public void OnValueChangedEvt(Efl.Ui.IRadioGroupValueChangedEvt_Args e)
{
var key = "_EFL_UI_RADIO_GROUP_EVENT_VALUE_CHANGED";
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiRadioBox_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Ui.Radio> SelectedObject<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.RadioBox, T>magic = null) where T : Efl.Ui.RadioBox {
+ return new Efl.BindableProperty<Efl.Ui.Radio>("selected_object", fac);
+ }
+
+ public static Efl.BindableProperty<int> SelectedValue<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.RadioBox, T>magic = null) where T : Efl.Ui.RadioBox {
+ return new Efl.BindableProperty<int>("selected_value", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.IRadioGroupConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IRadioGroup :
/// <param name="radio">The radio button to remove from the group.</param>
void Unregister(Efl.Ui.Radio radio);
/// <summary>Emitted each time the <c>selected_value</c> changes. The event information contains the <see cref="Efl.Ui.Radio.StateValue"/> of the newly selected button or -1 if no button is now selected.</summary>
+ /// <value><see cref="Efl.Ui.IRadioGroupValueChangedEvt_Args"/></value>
event EventHandler<Efl.Ui.IRadioGroupValueChangedEvt_Args> ValueChangedEvt;
/// <summary>Currently selected button in a radio button group, or <c>NULL</c> if no button is selected.
/// See also <see cref="Efl.Ui.IRadioGroup.SelectedValue"/>.</summary>
/// <value>The currently selected radio button in the group, or <c>NULL</c>.</value>
Efl.Ui.Radio SelectedObject {
- get ;
- set ;
+ get;
+ set;
}
/// <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>
/// <value>The value of the currently selected radio button, or -1.</value>
int SelectedValue {
- get ;
- set ;
+ get;
+ set;
}
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.IRadioGroup.ValueChangedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Emitted each time the <c>selected_value</c> changes. The event information contains the <see cref="Efl.Ui.Radio.StateValue"/> of the newly selected button or -1 if no button is now selected.</value>
public int arg { get; set; }
}
/// <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>
-sealed public class IRadioGroupConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IRadioGroupConcrete :
Efl.Eo.EoWrapper
, IRadioGroup
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IRadioGroupConcrete(ConstructingHandle ch) : base(ch)
{
}
/// <summary>Emitted each time the <c>selected_value</c> changes. The event information contains the <see cref="Efl.Ui.Radio.StateValue"/> of the newly selected button or -1 if no button is now selected.</summary>
+ /// <value><see cref="Efl.Ui.IRadioGroupValueChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.IRadioGroupValueChangedEvt_Args> ValueChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event ValueChangedEvt.</summary>
+ /// <summary>Method to raise event ValueChangedEvt.</summary>
public void OnValueChangedEvt(Efl.Ui.IRadioGroupValueChangedEvt_Args e)
{
var key = "_EFL_UI_RADIO_GROUP_EVENT_VALUE_CHANGED";
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiIRadioGroupConcrete_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Ui.Radio> SelectedObject<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.IRadioGroup, T>magic = null) where T : Efl.Ui.IRadioGroup {
+ return new Efl.BindableProperty<Efl.Ui.Radio>("selected_object", fac);
+ }
+
+ public static Efl.BindableProperty<int> SelectedValue<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.IRadioGroup, T>magic = null) where T : Efl.Ui.IRadioGroup {
+ return new Efl.BindableProperty<int>("selected_value", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Object with the default implementation for <see cref="Efl.Ui.IRadioGroup"/>.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.RadioGroupImpl.NativeMethods]
[Efl.Eo.BindingEntity]
public class RadioGroupImpl : Efl.Object, Efl.Ui.IRadioGroup
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected RadioGroupImpl(ConstructingHandle ch) : base(ch)
{
}
/// <summary>Emitted each time the <c>selected_value</c> changes. The event information contains the <see cref="Efl.Ui.Radio.StateValue"/> of the newly selected button or -1 if no button is now selected.</summary>
+ /// <value><see cref="Efl.Ui.IRadioGroupValueChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.IRadioGroupValueChangedEvt_Args> ValueChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event ValueChangedEvt.</summary>
+ /// <summary>Method to raise event ValueChangedEvt.</summary>
public void OnValueChangedEvt(Efl.Ui.IRadioGroupValueChangedEvt_Args e)
{
var key = "_EFL_UI_RADIO_GROUP_EVENT_VALUE_CHANGED";
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiRadioGroupImpl_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Ui.Radio> SelectedObject<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.RadioGroupImpl, T>magic = null) where T : Efl.Ui.RadioGroupImpl {
+ return new Efl.BindableProperty<Efl.Ui.Radio>("selected_object", fac);
+ }
+
+ public static Efl.BindableProperty<int> SelectedValue<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.RadioGroupImpl, T>magic = null) where T : Efl.Ui.RadioGroupImpl {
+ return new Efl.BindableProperty<int>("selected_value", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Elementary radio internal part class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.RadioLegacyPart.NativeMethods]
[Efl.Eo.BindingEntity]
public class RadioLegacyPart : Efl.Ui.LayoutPartContent
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected RadioLegacyPart(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiRadioLegacyPart_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
-/// <summary>Interface that contains properties regarding the displaying of a range.</summary>
+/// <summary>Interface that contains properties regarding the displaying of a value within a range.
+/// A value range contains a value restricted between specified minimum and maximum limits at all times. This can be used for progressbars, sliders or spinners, for example.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.IRangeDisplayConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IRangeDisplay :
Efl.Eo.IWrapper, IDisposable
{
- /// <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>
+ /// <summary>Control the value (position) of the widget within its valid range.
+/// Values outside the limits defined in <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/> are ignored and an error is printed.</summary>
+/// <returns>The range value (must be within the bounds of <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/>).</returns>
double GetRangeValue();
- /// <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>
-/// <param name="val">The range value (must be between $0.0 and 1.0)</param>
+ /// <summary>Control the value (position) of the widget within its valid range.
+/// Values outside the limits defined in <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/> are ignored and an error is printed.</summary>
+/// <param name="val">The range value (must be within the bounds of <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/>).</param>
void SetRangeValue(double val);
- /// <summary>Get the minimum and maximum values of the given range widget.
-/// Note: If only one value is needed, the other pointer can be passed as <c>null</c>.</summary>
+ /// <summary>Set the minimum and maximum values for given range widget.
+/// If the current value is less than <c>min</c>, it will be updated to <c>min</c>. If it is bigger then <c>max</c>, will be updated to <c>max</c>. The resulting value can be obtained with <see cref="Efl.Ui.IRangeDisplay.GetRangeValue"/>.
+///
+/// The default minimum and maximum values may be different for each class.
+///
+/// Note: maximum must be greater than minimum, otherwise behavior is undefined.</summary>
/// <param name="min">The minimum value.</param>
/// <param name="max">The maximum value.</param>
void GetRangeLimits(out double min, out double max);
/// <summary>Set the minimum and maximum values for given range widget.
-/// Define the allowed range of values to be selected by the user.
+/// If the current value is less than <c>min</c>, it will be updated to <c>min</c>. If it is bigger then <c>max</c>, will be updated to <c>max</c>. The resulting value can be obtained with <see cref="Efl.Ui.IRangeDisplay.GetRangeValue"/>.
///
-/// If actual value is less than <c>min</c>, it will be updated to <c>min</c>. If it is bigger then <c>max</c>, will be updated to <c>max</c>. The actual value can be obtained with <see cref="Efl.Ui.IRangeDisplay.GetRangeValue"/>
+/// The default minimum and maximum values may be different for each class.
///
-/// The minimum and maximum values may be different for each class.
-///
-/// Warning: maximum must be greater than minimum, otherwise behavior is undefined.</summary>
+/// Note: maximum must be greater than minimum, otherwise behavior is undefined.</summary>
/// <param name="min">The minimum value.</param>
/// <param name="max">The maximum value.</param>
void SetRangeLimits(double min, double max);
- /// <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>
- /// <value>The range value (must be between $0.0 and 1.0)</value>
+ /// <summary>Emitted when the <see cref="Efl.Ui.IRangeDisplay.RangeValue"/> is getting changed.</summary>
+ event EventHandler ChangedEvt;
+ /// <summary>Emitted when the <see cref="Efl.Ui.IRangeDisplay.RangeValue"/> has reached the minimum of <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/>.</summary>
+ event EventHandler MinReachedEvt;
+ /// <summary>Emitted when the <c>range_value</c> has reached the maximum of <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/>.</summary>
+ event EventHandler MaxReachedEvt;
+ /// <summary>Control the value (position) of the widget within its valid range.
+ /// Values outside the limits defined in <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/> are ignored and an error is printed.</summary>
+ /// <value>The range value (must be within the bounds of <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/>).</value>
double RangeValue {
- get ;
- set ;
+ get;
+ set;
+ }
+ /// <summary>Set the minimum and maximum values for given range widget.
+ /// If the current value is less than <c>min</c>, it will be updated to <c>min</c>. If it is bigger then <c>max</c>, will be updated to <c>max</c>. The resulting value can be obtained with <see cref="Efl.Ui.IRangeDisplay.GetRangeValue"/>.
+ ///
+ /// The default minimum and maximum values may be different for each class.
+ ///
+ /// Note: maximum must be greater than minimum, otherwise behavior is undefined.</summary>
+ /// <value>The minimum value.</value>
+ (double, double) RangeLimits {
+ get;
+ set;
}
}
-/// <summary>Interface that contains properties regarding the displaying of a range.</summary>
-sealed public class IRangeDisplayConcrete :
+/// <summary>Interface that contains properties regarding the displaying of a value within a range.
+/// A value range contains a value restricted between specified minimum and maximum limits at all times. This can be used for progressbars, sliders or spinners, for example.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IRangeDisplayConcrete :
Efl.Eo.EoWrapper
, IRangeDisplay
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IRangeDisplayConcrete(ConstructingHandle ch) : base(ch)
{
{
}
- /// <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>
+ /// <summary>Emitted when the <see cref="Efl.Ui.IRangeDisplay.RangeValue"/> is getting changed.</summary>
+ public event EventHandler ChangedEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_RANGE_EVENT_CHANGED";
+ AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_RANGE_EVENT_CHANGED";
+ RemoveNativeEventHandler(efl.Libs.Efl, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event ChangedEvt.</summary>
+ public void OnChangedEvt(EventArgs e)
+ {
+ var key = "_EFL_UI_RANGE_EVENT_CHANGED";
+ IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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>Emitted when the <see cref="Efl.Ui.IRangeDisplay.RangeValue"/> has reached the minimum of <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/>.</summary>
+ public event EventHandler MinReachedEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_RANGE_EVENT_MIN_REACHED";
+ AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_RANGE_EVENT_MIN_REACHED";
+ RemoveNativeEventHandler(efl.Libs.Efl, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event MinReachedEvt.</summary>
+ public void OnMinReachedEvt(EventArgs e)
+ {
+ var key = "_EFL_UI_RANGE_EVENT_MIN_REACHED";
+ IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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>Emitted when the <c>range_value</c> has reached the maximum of <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/>.</summary>
+ public event EventHandler MaxReachedEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_RANGE_EVENT_MAX_REACHED";
+ AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_RANGE_EVENT_MAX_REACHED";
+ RemoveNativeEventHandler(efl.Libs.Efl, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event MaxReachedEvt.</summary>
+ public void OnMaxReachedEvt(EventArgs e)
+ {
+ var key = "_EFL_UI_RANGE_EVENT_MAX_REACHED";
+ IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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>Control the value (position) of the widget within its valid range.
+ /// Values outside the limits defined in <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/> are ignored and an error is printed.</summary>
+ /// <returns>The range value (must be within the bounds of <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/>).</returns>
public double GetRangeValue() {
var _ret_var = Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_value_get_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
- /// <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>
- /// <param name="val">The range value (must be between $0.0 and 1.0)</param>
+ /// <summary>Control the value (position) of the widget within its valid range.
+ /// Values outside the limits defined in <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/> are ignored and an error is printed.</summary>
+ /// <param name="val">The range value (must be within the bounds of <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/>).</param>
public void SetRangeValue(double val) {
Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_value_set_ptr.Value.Delegate(this.NativeHandle,val);
Eina.Error.RaiseIfUnhandledException();
}
- /// <summary>Get the minimum and maximum values of the given range widget.
- /// Note: If only one value is needed, the other pointer can be passed as <c>null</c>.</summary>
+ /// <summary>Set the minimum and maximum values for given range widget.
+ /// If the current value is less than <c>min</c>, it will be updated to <c>min</c>. If it is bigger then <c>max</c>, will be updated to <c>max</c>. The resulting value can be obtained with <see cref="Efl.Ui.IRangeDisplay.GetRangeValue"/>.
+ ///
+ /// The default minimum and maximum values may be different for each class.
+ ///
+ /// Note: maximum must be greater than minimum, otherwise behavior is undefined.</summary>
/// <param name="min">The minimum value.</param>
/// <param name="max">The maximum value.</param>
public void GetRangeLimits(out double min, out double max) {
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the minimum and maximum values for given range widget.
- /// Define the allowed range of values to be selected by the user.
- ///
- /// If actual value is less than <c>min</c>, it will be updated to <c>min</c>. If it is bigger then <c>max</c>, will be updated to <c>max</c>. The actual value can be obtained with <see cref="Efl.Ui.IRangeDisplay.GetRangeValue"/>
+ /// If the current value is less than <c>min</c>, it will be updated to <c>min</c>. If it is bigger then <c>max</c>, will be updated to <c>max</c>. The resulting value can be obtained with <see cref="Efl.Ui.IRangeDisplay.GetRangeValue"/>.
///
- /// The minimum and maximum values may be different for each class.
+ /// The default minimum and maximum values may be different for each class.
///
- /// Warning: maximum must be greater than minimum, otherwise behavior is undefined.</summary>
+ /// Note: maximum must be greater than minimum, otherwise behavior is undefined.</summary>
/// <param name="min">The minimum value.</param>
/// <param name="max">The maximum value.</param>
public void SetRangeLimits(double min, double max) {
Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_limits_set_ptr.Value.Delegate(this.NativeHandle,min, max);
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>
- /// <value>The range value (must be between $0.0 and 1.0)</value>
+ /// <summary>Control the value (position) of the widget within its valid range.
+ /// Values outside the limits defined in <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/> are ignored and an error is printed.</summary>
+ /// <value>The range value (must be within the bounds of <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/>).</value>
public double RangeValue {
get { return GetRangeValue(); }
set { SetRangeValue(value); }
}
+ /// <summary>Set the minimum and maximum values for given range widget.
+ /// If the current value is less than <c>min</c>, it will be updated to <c>min</c>. If it is bigger then <c>max</c>, will be updated to <c>max</c>. The resulting value can be obtained with <see cref="Efl.Ui.IRangeDisplay.GetRangeValue"/>.
+ ///
+ /// The default minimum and maximum values may be different for each class.
+ ///
+ /// Note: maximum must be greater than minimum, otherwise behavior is undefined.</summary>
+ /// <value>The minimum value.</value>
+ public (double, double) RangeLimits {
+ get {
+ double _out_min = default(double);
+ double _out_max = default(double);
+ GetRangeLimits(out _out_min,out _out_max);
+ return (_out_min,_out_max);
+ }
+ set { SetRangeLimits( value.Item1, value.Item2); }
+ }
private static IntPtr GetEflClassStatic()
{
return Efl.Ui.IRangeDisplayConcrete.efl_ui_range_display_interface_get();
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiIRangeDisplayConcrete_ExtensionMethods {
+ public static Efl.BindableProperty<double> RangeValue<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.IRangeDisplay, T>magic = null) where T : Efl.Ui.IRangeDisplay {
+ return new Efl.BindableProperty<double>("range_value", fac);
+ }
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.IRangeInteractiveConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IRangeInteractive :
/// Warning: The step value should be bigger than 0.</summary>
/// <param name="step">The step value.</param>
void SetRangeStep(double step);
- /// <summary>Control the step used to increment or decrement values for given widget.
+ /// <summary>Called when the widget's value has changed and has remained unchanged for 0.2s. This allows filtering out unwanted "noise" from the widget if you are only interested in its final position. Use this event instead of <see cref="Efl.Ui.IRangeDisplay.ChangedEvt"/> if you are going to perform a costly operation on its handler.</summary>
+ event EventHandler SteadyEvt;
+ /// <summary>Control the step used to increment or decrement values for given widget.
/// This value will be incremented or decremented to the displayed value.
///
/// By default step value is equal to 1.
/// Warning: The step value should be bigger than 0.</summary>
/// <value>The step value.</value>
double RangeStep {
- get ;
- set ;
+ get;
+ set;
}
}
/// <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>
-sealed public class IRangeInteractiveConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IRangeInteractiveConcrete :
Efl.Eo.EoWrapper
, IRangeInteractive
, Efl.Ui.IRangeDisplay
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IRangeInteractiveConcrete(ConstructingHandle ch) : base(ch)
{
{
}
+ /// <summary>Called when the widget's value has changed and has remained unchanged for 0.2s. This allows filtering out unwanted "noise" from the widget if you are only interested in its final position. Use this event instead of <see cref="Efl.Ui.IRangeDisplay.ChangedEvt"/> if you are going to perform a costly operation on its handler.</summary>
+ public event EventHandler SteadyEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_RANGE_EVENT_STEADY";
+ AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_RANGE_EVENT_STEADY";
+ RemoveNativeEventHandler(efl.Libs.Efl, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event SteadyEvt.</summary>
+ public void OnSteadyEvt(EventArgs e)
+ {
+ var key = "_EFL_UI_RANGE_EVENT_STEADY";
+ IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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>Emitted when the <see cref="Efl.Ui.IRangeDisplay.RangeValue"/> is getting changed.</summary>
+ public event EventHandler ChangedEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_RANGE_EVENT_CHANGED";
+ AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_RANGE_EVENT_CHANGED";
+ RemoveNativeEventHandler(efl.Libs.Efl, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event ChangedEvt.</summary>
+ public void OnChangedEvt(EventArgs e)
+ {
+ var key = "_EFL_UI_RANGE_EVENT_CHANGED";
+ IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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>Emitted when the <see cref="Efl.Ui.IRangeDisplay.RangeValue"/> has reached the minimum of <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/>.</summary>
+ public event EventHandler MinReachedEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_RANGE_EVENT_MIN_REACHED";
+ AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_RANGE_EVENT_MIN_REACHED";
+ RemoveNativeEventHandler(efl.Libs.Efl, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event MinReachedEvt.</summary>
+ public void OnMinReachedEvt(EventArgs e)
+ {
+ var key = "_EFL_UI_RANGE_EVENT_MIN_REACHED";
+ IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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>Emitted when the <c>range_value</c> has reached the maximum of <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/>.</summary>
+ public event EventHandler MaxReachedEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_RANGE_EVENT_MAX_REACHED";
+ AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_RANGE_EVENT_MAX_REACHED";
+ RemoveNativeEventHandler(efl.Libs.Efl, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event MaxReachedEvt.</summary>
+ public void OnMaxReachedEvt(EventArgs e)
+ {
+ var key = "_EFL_UI_RANGE_EVENT_MAX_REACHED";
+ IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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>Control the step used to increment or decrement values for given widget.
/// This value will be incremented or decremented to the displayed value.
///
Efl.Ui.IRangeInteractiveConcrete.NativeMethods.efl_ui_range_step_set_ptr.Value.Delegate(this.NativeHandle,step);
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>
+ /// <summary>Control the value (position) of the widget within its valid range.
+ /// Values outside the limits defined in <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/> are ignored and an error is printed.</summary>
+ /// <returns>The range value (must be within the bounds of <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/>).</returns>
public double GetRangeValue() {
var _ret_var = Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_value_get_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
- /// <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>
- /// <param name="val">The range value (must be between $0.0 and 1.0)</param>
+ /// <summary>Control the value (position) of the widget within its valid range.
+ /// Values outside the limits defined in <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/> are ignored and an error is printed.</summary>
+ /// <param name="val">The range value (must be within the bounds of <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/>).</param>
public void SetRangeValue(double val) {
Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_value_set_ptr.Value.Delegate(this.NativeHandle,val);
Eina.Error.RaiseIfUnhandledException();
}
- /// <summary>Get the minimum and maximum values of the given range widget.
- /// Note: If only one value is needed, the other pointer can be passed as <c>null</c>.</summary>
+ /// <summary>Set the minimum and maximum values for given range widget.
+ /// If the current value is less than <c>min</c>, it will be updated to <c>min</c>. If it is bigger then <c>max</c>, will be updated to <c>max</c>. The resulting value can be obtained with <see cref="Efl.Ui.IRangeDisplay.GetRangeValue"/>.
+ ///
+ /// The default minimum and maximum values may be different for each class.
+ ///
+ /// Note: maximum must be greater than minimum, otherwise behavior is undefined.</summary>
/// <param name="min">The minimum value.</param>
/// <param name="max">The maximum value.</param>
public void GetRangeLimits(out double min, out double max) {
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the minimum and maximum values for given range widget.
- /// Define the allowed range of values to be selected by the user.
- ///
- /// If actual value is less than <c>min</c>, it will be updated to <c>min</c>. If it is bigger then <c>max</c>, will be updated to <c>max</c>. The actual value can be obtained with <see cref="Efl.Ui.IRangeDisplay.GetRangeValue"/>
+ /// If the current value is less than <c>min</c>, it will be updated to <c>min</c>. If it is bigger then <c>max</c>, will be updated to <c>max</c>. The resulting value can be obtained with <see cref="Efl.Ui.IRangeDisplay.GetRangeValue"/>.
///
- /// The minimum and maximum values may be different for each class.
+ /// The default minimum and maximum values may be different for each class.
///
- /// Warning: maximum must be greater than minimum, otherwise behavior is undefined.</summary>
+ /// Note: maximum must be greater than minimum, otherwise behavior is undefined.</summary>
/// <param name="min">The minimum value.</param>
/// <param name="max">The maximum value.</param>
public void SetRangeLimits(double min, double max) {
get { return GetRangeStep(); }
set { SetRangeStep(value); }
}
- /// <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>
- /// <value>The range value (must be between $0.0 and 1.0)</value>
+ /// <summary>Control the value (position) of the widget within its valid range.
+ /// Values outside the limits defined in <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/> are ignored and an error is printed.</summary>
+ /// <value>The range value (must be within the bounds of <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/>).</value>
public double RangeValue {
get { return GetRangeValue(); }
set { SetRangeValue(value); }
}
+ /// <summary>Set the minimum and maximum values for given range widget.
+ /// If the current value is less than <c>min</c>, it will be updated to <c>min</c>. If it is bigger then <c>max</c>, will be updated to <c>max</c>. The resulting value can be obtained with <see cref="Efl.Ui.IRangeDisplay.GetRangeValue"/>.
+ ///
+ /// The default minimum and maximum values may be different for each class.
+ ///
+ /// Note: maximum must be greater than minimum, otherwise behavior is undefined.</summary>
+ /// <value>The minimum value.</value>
+ public (double, double) RangeLimits {
+ get {
+ double _out_min = default(double);
+ double _out_max = default(double);
+ GetRangeLimits(out _out_min,out _out_max);
+ return (_out_min,_out_max);
+ }
+ set { SetRangeLimits( value.Item1, value.Item2); }
+ }
private static IntPtr GetEflClassStatic()
{
return Efl.Ui.IRangeInteractiveConcrete.efl_ui_range_interactive_interface_get();
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiIRangeInteractiveConcrete_ExtensionMethods {
+ public static Efl.BindableProperty<double> RangeStep<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.IRangeInteractive, T>magic = null) where T : Efl.Ui.IRangeInteractive {
+ return new Efl.BindableProperty<double>("range_step", fac);
+ }
+
+ public static Efl.BindableProperty<double> RangeValue<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.IRangeInteractive, T>magic = null) where T : Efl.Ui.IRangeInteractive {
+ return new Efl.BindableProperty<double>("range_value", fac);
+ }
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected RelativeLayout(ConstructingHandle ch) : base(ch)
{
/// <summary>Sent after a new sub-object was added.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContainerContentAddedEvt_Args"/></value>
public event EventHandler<Efl.IContainerContentAddedEvt_Args> ContentAddedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentAddedEvt.</summary>
+ /// <summary>Method to raise event ContentAddedEvt.</summary>
public void OnContentAddedEvt(Efl.IContainerContentAddedEvt_Args e)
{
var key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED";
}
/// <summary>Sent after a sub-object was removed, before unref.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContainerContentRemovedEvt_Args"/></value>
public event EventHandler<Efl.IContainerContentRemovedEvt_Args> ContentRemovedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentRemovedEvt.</summary>
+ /// <summary>Method to raise event ContentRemovedEvt.</summary>
public void OnContentRemovedEvt(Efl.IContainerContentRemovedEvt_Args e)
{
var key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED";
}
}
}
- ///<summary>Method to raise event LayoutUpdatedEvt.</summary>
+ /// <summary>Method to raise event LayoutUpdatedEvt.</summary>
public void OnLayoutUpdatedEvt(EventArgs e)
{
var key = "_EFL_PACK_EVENT_LAYOUT_UPDATED";
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiRelativeLayout_ExtensionMethods {
+
+
+
+
+}
+#pragma warning restore CS1591
+#endif
+++ /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 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>
- public override System.IntPtr NativeClass
- {
- get
- {
- if (((object)this).GetType() == typeof(ScrollAlertPopup))
- {
- 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_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>
- public ScrollAlertPopup(Efl.Object parent
- , System.String style = null) : base(efl_ui_scroll_alert_popup_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 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="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="parent">The Efl.Object parent of this instance.</param>
- protected ScrollAlertPopup(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
- {
- }
-
- /// <summary>Get the expandable max size of popup.
- /// 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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Set the expandable max size of popup.
- /// If the given max_size is -1, then a 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>
- /// <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((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.
- /// 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>
- /// <value>A 2D max size in pixel units.</value>
- public Eina.Size2D Expandable {
- get { return GetExpandable(); }
- set { SetExpandable(value); }
- }
- private static IntPtr GetEflClassStatic()
- {
- return Efl.Ui.ScrollAlertPopup.efl_ui_scroll_alert_popup_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.AlertPopup.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_scroll_alert_popup_expandable_get_static_delegate == null)
- {
- efl_ui_scroll_alert_popup_expandable_get_static_delegate = new efl_ui_scroll_alert_popup_expandable_get_delegate(expandable_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetExpandable") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scroll_alert_popup_expandable_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scroll_alert_popup_expandable_get_static_delegate) });
- }
-
- if (efl_ui_scroll_alert_popup_expandable_set_static_delegate == null)
- {
- efl_ui_scroll_alert_popup_expandable_set_static_delegate = new efl_ui_scroll_alert_popup_expandable_set_delegate(expandable_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetExpandable") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scroll_alert_popup_expandable_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scroll_alert_popup_expandable_set_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.ScrollAlertPopup.efl_ui_scroll_alert_popup_class_get();
- }
-
- #pragma warning disable CA1707, CS1591, SA1300, SA1600
-
-
- private delegate Eina.Size2D.NativeStruct efl_ui_scroll_alert_popup_expandable_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate Eina.Size2D.NativeStruct efl_ui_scroll_alert_popup_expandable_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scroll_alert_popup_expandable_get_api_delegate> efl_ui_scroll_alert_popup_expandable_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scroll_alert_popup_expandable_get_api_delegate>(Module, "efl_ui_scroll_alert_popup_expandable_get");
-
- private static Eina.Size2D.NativeStruct expandable_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_scroll_alert_popup_expandable_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Eina.Size2D _ret_var = default(Eina.Size2D);
- try
- {
- _ret_var = ((ScrollAlertPopup)ws.Target).GetExpandable();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_scroll_alert_popup_expandable_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_scroll_alert_popup_expandable_get_delegate efl_ui_scroll_alert_popup_expandable_get_static_delegate;
-
-
- private delegate void efl_ui_scroll_alert_popup_expandable_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct max_size);
-
-
- public delegate void efl_ui_scroll_alert_popup_expandable_set_api_delegate(System.IntPtr obj, Eina.Size2D.NativeStruct max_size);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_scroll_alert_popup_expandable_set_api_delegate> efl_ui_scroll_alert_popup_expandable_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scroll_alert_popup_expandable_set_api_delegate>(Module, "efl_ui_scroll_alert_popup_expandable_set");
-
- private static void expandable_set(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct max_size)
- {
- Eina.Log.Debug("function efl_ui_scroll_alert_popup_expandable_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Eina.Size2D _in_max_size = max_size;
-
- try
- {
- ((ScrollAlertPopup)ws.Target).SetExpandable(_in_max_size);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_scroll_alert_popup_expandable_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), max_size);
- }
- }
-
- private static efl_ui_scroll_alert_popup_expandable_set_delegate efl_ui_scroll_alert_popup_expandable_set_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 {
-
-/// <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>
- public override System.IntPtr NativeClass
- {
- get
- {
- if (((object)this).GetType() == typeof(ScrollAlertPopupPart))
- {
- 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_scroll_alert_popup_part_class_get();
- /// <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(), 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="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="parent">The Efl.Object parent of this instance.</param>
- protected ScrollAlertPopupPart(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
- {
- }
-
- /// <summary>Sent after the content is set or unset using the current content object.
- /// (Since EFL 1.22)</summary>
- public event EventHandler<Efl.IContentContentChangedEvt_Args> ContentChangedEvt
- {
- 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.IContentContentChangedEvt_Args args = new Efl.IContentContentChangedEvt_Args();
- args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Gfx.IEntityConcrete);
- try
- {
- value?.Invoke(obj, args);
- }
- catch (Exception e)
- {
- Eina.Log.Error(e.ToString());
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
- }
- };
-
- string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ContentChangedEvt.</summary>
- public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e)
- {
- var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
- 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 = e.arg.NativeHandle;
- Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
- }
- /// <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>
- /// <returns>The sub-object.</returns>
- virtual public Efl.Gfx.IEntity GetContent() {
- 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;
- }
- /// <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>
- /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),content);
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Remove the sub-object currently set as content of this object and return it. This object becomes empty.
- /// (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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Retrieves the text string currently being displayed by the given text object.
- /// Do not free() the return value.
- ///
- /// See also <see cref="Efl.IText.GetText"/>.
- /// (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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Sets the text string to be displayed by the given text object.
- /// See also <see cref="Efl.IText.GetText"/>.
- /// (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((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.
- /// 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>
- /// <value>The sub-object.</value>
- public Efl.Gfx.IEntity Content {
- get { return GetContent(); }
- set { SetContent(value); }
- }
- private static IntPtr GetEflClassStatic()
- {
- return Efl.Ui.ScrollAlertPopupPart.efl_ui_scroll_alert_popup_part_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.LayoutPart.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_content_get_static_delegate == null)
- {
- efl_content_get_static_delegate = new efl_content_get_delegate(content_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetContent") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_get"), func = Marshal.GetFunctionPointerForDelegate(efl_content_get_static_delegate) });
- }
-
- if (efl_content_set_static_delegate == null)
- {
- efl_content_set_static_delegate = new efl_content_set_delegate(content_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetContent") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_set"), func = Marshal.GetFunctionPointerForDelegate(efl_content_set_static_delegate) });
- }
-
- if (efl_content_unset_static_delegate == null)
- {
- efl_content_unset_static_delegate = new efl_content_unset_delegate(content_unset);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "UnsetContent") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_unset"), func = Marshal.GetFunctionPointerForDelegate(efl_content_unset_static_delegate) });
- }
-
- if (efl_text_get_static_delegate == null)
- {
- efl_text_get_static_delegate = new efl_text_get_delegate(text_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetText") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_get_static_delegate) });
- }
-
- if (efl_text_set_static_delegate == null)
- {
- efl_text_set_static_delegate = new efl_text_set_delegate(text_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetText") != null)
- {
- 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) });
- }
-
- 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.ScrollAlertPopupPart.efl_ui_scroll_alert_popup_part_class_get();
- }
-
- #pragma warning disable CA1707, CS1591, SA1300, SA1600
-
- [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);
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- public delegate Efl.Gfx.IEntity efl_content_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_content_get_api_delegate> efl_content_get_ptr = new Efl.Eo.FunctionWrapper<efl_content_get_api_delegate>(Module, "efl_content_get");
-
- private static Efl.Gfx.IEntity content_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_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 = ((ScrollAlertPopupPart)ws.Target).GetContent();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_content_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_content_get_delegate efl_content_get_static_delegate;
-
- [return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_content_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity content);
-
- [return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_content_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity content);
-
- public static Efl.Eo.FunctionWrapper<efl_content_set_api_delegate> efl_content_set_ptr = new Efl.Eo.FunctionWrapper<efl_content_set_api_delegate>(Module, "efl_content_set");
-
- private static bool content_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity content)
- {
- Eina.Log.Debug("function efl_content_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- bool _ret_var = default(bool);
- try
- {
- _ret_var = ((ScrollAlertPopupPart)ws.Target).SetContent(content);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_content_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), content);
- }
- }
-
- private static efl_content_set_delegate efl_content_set_static_delegate;
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- private delegate Efl.Gfx.IEntity efl_content_unset_delegate(System.IntPtr obj, System.IntPtr pd);
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- public delegate Efl.Gfx.IEntity efl_content_unset_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_content_unset_api_delegate> efl_content_unset_ptr = new Efl.Eo.FunctionWrapper<efl_content_unset_api_delegate>(Module, "efl_content_unset");
-
- private static Efl.Gfx.IEntity content_unset(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_content_unset was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
- try
- {
- _ret_var = ((ScrollAlertPopupPart)ws.Target).UnsetContent();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_content_unset_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_content_unset_delegate efl_content_unset_static_delegate;
-
- [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
- private delegate System.String efl_text_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
- public delegate System.String efl_text_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_text_get_api_delegate> efl_text_get_ptr = new Efl.Eo.FunctionWrapper<efl_text_get_api_delegate>(Module, "efl_text_get");
-
- private static System.String text_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_text_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- System.String _ret_var = default(System.String);
- try
- {
- _ret_var = ((ScrollAlertPopupPart)ws.Target).GetText();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_text_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_text_get_delegate efl_text_get_static_delegate;
-
-
- private delegate void efl_text_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String text);
-
-
- public delegate void efl_text_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String text);
-
- public static Efl.Eo.FunctionWrapper<efl_text_set_api_delegate> efl_text_set_ptr = new Efl.Eo.FunctionWrapper<efl_text_set_api_delegate>(Module, "efl_text_set");
-
- private static void text_set(System.IntPtr obj, System.IntPtr pd, System.String text)
- {
- Eina.Log.Debug("function efl_text_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((ScrollAlertPopupPart)ws.Target).SetText(text);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_text_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), text);
- }
- }
-
- private static efl_text_set_delegate efl_text_set_static_delegate;
-
- #pragma warning restore CA1707, CS1591, SA1300, SA1600
-
-}
-}
-}
-
-}
-
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Scroll {
/// <summary>Efl ui scroll manager class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Manager(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event ScrollStartEvt.</summary>
+ /// <summary>Method to raise event ScrollStartEvt.</summary>
public void OnScrollStartEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_START";
}
}
}
- ///<summary>Method to raise event ScrollEvt.</summary>
+ /// <summary>Method to raise event ScrollEvt.</summary>
public void OnScrollEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL";
}
}
}
- ///<summary>Method to raise event ScrollStopEvt.</summary>
+ /// <summary>Method to raise event ScrollStopEvt.</summary>
public void OnScrollStopEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_STOP";
}
}
}
- ///<summary>Method to raise event ScrollUpEvt.</summary>
+ /// <summary>Method to raise event ScrollUpEvt.</summary>
public void OnScrollUpEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_UP";
}
}
}
- ///<summary>Method to raise event ScrollDownEvt.</summary>
+ /// <summary>Method to raise event ScrollDownEvt.</summary>
public void OnScrollDownEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_DOWN";
}
}
}
- ///<summary>Method to raise event ScrollLeftEvt.</summary>
+ /// <summary>Method to raise event ScrollLeftEvt.</summary>
public void OnScrollLeftEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_LEFT";
}
}
}
- ///<summary>Method to raise event ScrollRightEvt.</summary>
+ /// <summary>Method to raise event ScrollRightEvt.</summary>
public void OnScrollRightEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_RIGHT";
}
}
}
- ///<summary>Method to raise event EdgeUpEvt.</summary>
+ /// <summary>Method to raise event EdgeUpEvt.</summary>
public void OnEdgeUpEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_EDGE_UP";
}
}
}
- ///<summary>Method to raise event EdgeDownEvt.</summary>
+ /// <summary>Method to raise event EdgeDownEvt.</summary>
public void OnEdgeDownEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_EDGE_DOWN";
}
}
}
- ///<summary>Method to raise event EdgeLeftEvt.</summary>
+ /// <summary>Method to raise event EdgeLeftEvt.</summary>
public void OnEdgeLeftEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_EDGE_LEFT";
}
}
}
- ///<summary>Method to raise event EdgeRightEvt.</summary>
+ /// <summary>Method to raise event EdgeRightEvt.</summary>
public void OnEdgeRightEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_EDGE_RIGHT";
}
}
}
- ///<summary>Method to raise event ScrollAnimStartEvt.</summary>
+ /// <summary>Method to raise event ScrollAnimStartEvt.</summary>
public void OnScrollAnimStartEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_ANIM_START";
}
}
}
- ///<summary>Method to raise event ScrollAnimStopEvt.</summary>
+ /// <summary>Method to raise event ScrollAnimStopEvt.</summary>
public void OnScrollAnimStopEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP";
}
}
}
- ///<summary>Method to raise event ScrollDragStartEvt.</summary>
+ /// <summary>Method to raise event ScrollDragStartEvt.</summary>
public void OnScrollDragStartEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_DRAG_START";
}
}
}
- ///<summary>Method to raise event ScrollDragStopEvt.</summary>
+ /// <summary>Method to raise event ScrollDragStopEvt.</summary>
public void OnScrollDragStopEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
/// <summary>Called when bar is pressed.</summary>
+ /// <value><see cref="Efl.Ui.IScrollbarBarPressEvt_Args"/></value>
public event EventHandler<Efl.Ui.IScrollbarBarPressEvt_Args> BarPressEvt
{
add
if (obj != null)
{
Efl.Ui.IScrollbarBarPressEvt_Args args = new Efl.Ui.IScrollbarBarPressEvt_Args();
- args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
+ args.arg = (Efl.Ui.LayoutOrientation)evt.Info;
try
{
value?.Invoke(obj, args);
}
}
}
- ///<summary>Method to raise event BarPressEvt.</summary>
+ /// <summary>Method to raise event BarPressEvt.</summary>
public void OnBarPressEvt(Efl.Ui.IScrollbarBarPressEvt_Args e)
{
var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS";
}
}
/// <summary>Called when bar is unpressed.</summary>
+ /// <value><see cref="Efl.Ui.IScrollbarBarUnpressEvt_Args"/></value>
public event EventHandler<Efl.Ui.IScrollbarBarUnpressEvt_Args> BarUnpressEvt
{
add
if (obj != null)
{
Efl.Ui.IScrollbarBarUnpressEvt_Args args = new Efl.Ui.IScrollbarBarUnpressEvt_Args();
- args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
+ args.arg = (Efl.Ui.LayoutOrientation)evt.Info;
try
{
value?.Invoke(obj, args);
}
}
}
- ///<summary>Method to raise event BarUnpressEvt.</summary>
+ /// <summary>Method to raise event BarUnpressEvt.</summary>
public void OnBarUnpressEvt(Efl.Ui.IScrollbarBarUnpressEvt_Args e)
{
var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS";
}
}
/// <summary>Called when bar is dragged.</summary>
+ /// <value><see cref="Efl.Ui.IScrollbarBarDragEvt_Args"/></value>
public event EventHandler<Efl.Ui.IScrollbarBarDragEvt_Args> BarDragEvt
{
add
if (obj != null)
{
Efl.Ui.IScrollbarBarDragEvt_Args args = new Efl.Ui.IScrollbarBarDragEvt_Args();
- args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
+ args.arg = (Efl.Ui.LayoutOrientation)evt.Info;
try
{
value?.Invoke(obj, args);
}
}
}
- ///<summary>Method to raise event BarDragEvt.</summary>
+ /// <summary>Method to raise event BarDragEvt.</summary>
public void OnBarDragEvt(Efl.Ui.IScrollbarBarDragEvt_Args e)
{
var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG";
}
}
}
- ///<summary>Method to raise event BarSizeChangedEvt.</summary>
+ /// <summary>Method to raise event BarSizeChangedEvt.</summary>
public void OnBarSizeChangedEvt(EventArgs e)
{
var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED";
}
}
}
- ///<summary>Method to raise event BarPosChangedEvt.</summary>
+ /// <summary>Method to raise event BarPosChangedEvt.</summary>
public void OnBarPosChangedEvt(EventArgs e)
{
var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
/// <summary>Callend when bar is shown.</summary>
+ /// <value><see cref="Efl.Ui.IScrollbarBarShowEvt_Args"/></value>
public event EventHandler<Efl.Ui.IScrollbarBarShowEvt_Args> BarShowEvt
{
add
if (obj != null)
{
Efl.Ui.IScrollbarBarShowEvt_Args args = new Efl.Ui.IScrollbarBarShowEvt_Args();
- args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
+ args.arg = (Efl.Ui.LayoutOrientation)evt.Info;
try
{
value?.Invoke(obj, args);
}
}
}
- ///<summary>Method to raise event BarShowEvt.</summary>
+ /// <summary>Method to raise event BarShowEvt.</summary>
public void OnBarShowEvt(Efl.Ui.IScrollbarBarShowEvt_Args e)
{
var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW";
}
}
/// <summary>Called when bar is hidden.</summary>
+ /// <value><see cref="Efl.Ui.IScrollbarBarHideEvt_Args"/></value>
public event EventHandler<Efl.Ui.IScrollbarBarHideEvt_Args> BarHideEvt
{
add
if (obj != null)
{
Efl.Ui.IScrollbarBarHideEvt_Args args = new Efl.Ui.IScrollbarBarHideEvt_Args();
- args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
+ args.arg = (Efl.Ui.LayoutOrientation)evt.Info;
try
{
value?.Invoke(obj, args);
}
}
}
- ///<summary>Method to raise event BarHideEvt.</summary>
+ /// <summary>Method to raise event BarHideEvt.</summary>
public void OnBarHideEvt(Efl.Ui.IScrollbarBarHideEvt_Args e)
{
var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE";
public Eina.Rect ViewportGeometry {
get { return GetViewportGeometry(); }
}
+ /// <summary>Bouncing behavior
+ /// When scrolling, the scroller may "bounce" when reaching the edge of the content object. This is a visual way to indicate the end has been reached. This is enabled by default for both axes. This API will determine if it's enabled for the given axis with the boolean parameters for each one.</summary>
+ /// <value>Horizontal bounce policy.</value>
+ public (bool, bool) BounceEnabled {
+ get {
+ bool _out_horiz = default(bool);
+ bool _out_vert = default(bool);
+ GetBounceEnabled(out _out_horiz,out _out_vert);
+ return (_out_horiz,_out_vert);
+ }
+ set { SetBounceEnabled( value.Item1, value.Item2); }
+ }
/// <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>
/// <value><c>true</c> if freeze, <c>false</c> otherwise</value>
public bool ScrollFreeze {
get { return GetScrollHold(); }
set { SetScrollHold(value); }
}
+ /// <summary>Controls an infinite loop for a scroller.</summary>
+ /// <value>The scrolling horizontal loop</value>
+ public (bool, bool) Looping {
+ get {
+ bool _out_loop_h = default(bool);
+ bool _out_loop_v = default(bool);
+ GetLooping(out _out_loop_h,out _out_loop_v);
+ return (_out_loop_h,_out_loop_v);
+ }
+ set { SetLooping( value.Item1, value.Item2); }
+ }
/// <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>
/// <value>Which axis (or axes) to block</value>
get { return GetMovementBlock(); }
set { SetMovementBlock(value); }
}
+ /// <summary>Control scrolling gravity on the scrollable
+ /// The gravity defines how the scroller will adjust its view when the size of the scroller contents increases.
+ ///
+ /// The scroller will adjust the view to glue itself as follows.
+ ///
+ /// x=0.0, for staying where it is relative to the left edge of the content x=1.0, for staying where it is relative to the right edge of the content y=0.0, for staying where it is relative to the top edge of the content y=1.0, for staying where it is relative to the bottom edge of the content
+ ///
+ /// Default values for x and y are 0.0</summary>
+ /// <value>Horizontal scrolling gravity</value>
+ public (double, double) Gravity {
+ get {
+ double _out_x = default(double);
+ double _out_y = default(double);
+ GetGravity(out _out_x,out _out_y);
+ return (_out_x,_out_y);
+ }
+ set { SetGravity( value.Item1, value.Item2); }
+ }
+ /// <summary>Prevent the scrollable from being smaller than the minimum size of the content.
+ /// By default the scroller will be as small as its design allows, irrespective of its content. This will make the scroller minimum size the right size horizontally and/or vertically to perfectly fit its content in that direction.</summary>
+ /// <value>Whether to limit the minimum horizontal size</value>
+ public (bool, bool) MatchContent {
+ set { SetMatchContent( value.Item1, value.Item2); }
+ }
/// <summary>Control the step size
/// Use this call to set step size. This value is used when scroller scroll by arrow key event.</summary>
/// <value>The step size in pixels</value>
get { return GetStepSize(); }
set { SetStepSize(value); }
}
+ /// <summary>Scrollbar visibility policy</summary>
+ /// <value>Horizontal scrollbar.</value>
+ public (Efl.Ui.ScrollbarMode, Efl.Ui.ScrollbarMode) BarMode {
+ get {
+ Efl.Ui.ScrollbarMode _out_hbar = default(Efl.Ui.ScrollbarMode);
+ Efl.Ui.ScrollbarMode _out_vbar = default(Efl.Ui.ScrollbarMode);
+ GetBarMode(out _out_hbar,out _out_vbar);
+ return (_out_hbar,_out_vbar);
+ }
+ set { SetBarMode( value.Item1, value.Item2); }
+ }
+ /// <summary>Scrollbar size. It is calculated based on viewport size-content sizes.</summary>
+ public (double, double) BarSize {
+ get {
+ double _out_width = default(double);
+ double _out_height = default(double);
+ GetBarSize(out _out_width,out _out_height);
+ return (_out_width,_out_height);
+ }
+ }
+ /// <summary>Scrollbar position. It is calculated based on current position-maximum positions.</summary>
+ /// <value>Value between 0.0 and 1.0.</value>
+ public (double, double) BarPosition {
+ get {
+ double _out_posx = default(double);
+ double _out_posy = default(double);
+ GetBarPosition(out _out_posx,out _out_posy);
+ return (_out_posx,_out_posy);
+ }
+ set { SetBarPosition( value.Item1, value.Item2); }
+ }
private static IntPtr GetEflClassStatic()
{
return Efl.Ui.Scroll.Manager.efl_ui_scroll_manager_class_get();
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_Ui_ScrollManager_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Ui.Pan> Pan<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Scroll.Manager, T>magic = null) where T : Efl.Ui.Scroll.Manager {
+ return new Efl.BindableProperty<Efl.Ui.Pan>("pan", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Mirrored<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Scroll.Manager, T>magic = null) where T : Efl.Ui.Scroll.Manager {
+ return new Efl.BindableProperty<bool>("mirrored", fac);
+ }
+
+ public static Efl.BindableProperty<bool> MirroredAutomatic<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Scroll.Manager, T>magic = null) where T : Efl.Ui.Scroll.Manager {
+ return new Efl.BindableProperty<bool>("mirrored_automatic", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> Language<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Scroll.Manager, T>magic = null) where T : Efl.Ui.Scroll.Manager {
+ return new Efl.BindableProperty<System.String>("language", fac);
+ }
+
+ public static Efl.BindableProperty<Eina.Position2D> ContentPos<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Scroll.Manager, T>magic = null) where T : Efl.Ui.Scroll.Manager {
+ return new Efl.BindableProperty<Eina.Position2D>("content_pos", fac);
+ }
+
+
+
+
+ public static Efl.BindableProperty<bool> ScrollFreeze<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Scroll.Manager, T>magic = null) where T : Efl.Ui.Scroll.Manager {
+ return new Efl.BindableProperty<bool>("scroll_freeze", fac);
+ }
+
+ public static Efl.BindableProperty<bool> ScrollHold<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Scroll.Manager, T>magic = null) where T : Efl.Ui.Scroll.Manager {
+ return new Efl.BindableProperty<bool>("scroll_hold", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.Ui.ScrollBlock> MovementBlock<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Scroll.Manager, T>magic = null) where T : Efl.Ui.Scroll.Manager {
+ return new Efl.BindableProperty<Efl.Ui.ScrollBlock>("movement_block", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<Eina.Position2D> StepSize<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Scroll.Manager, T>magic = null) where T : Efl.Ui.Scroll.Manager {
+ return new Efl.BindableProperty<Eina.Position2D>("step_size", fac);
+ }
+
+
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Efl UI scrollable interface</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.IScrollableConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IScrollable :
event EventHandler ScrollDragStopEvt;
}
/// <summary>Efl UI scrollable interface</summary>
-sealed public class IScrollableConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IScrollableConcrete :
Efl.Eo.EoWrapper
, IScrollable
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IScrollableConcrete(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event ScrollStartEvt.</summary>
+ /// <summary>Method to raise event ScrollStartEvt.</summary>
public void OnScrollStartEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_START";
}
}
}
- ///<summary>Method to raise event ScrollEvt.</summary>
+ /// <summary>Method to raise event ScrollEvt.</summary>
public void OnScrollEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL";
}
}
}
- ///<summary>Method to raise event ScrollStopEvt.</summary>
+ /// <summary>Method to raise event ScrollStopEvt.</summary>
public void OnScrollStopEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_STOP";
}
}
}
- ///<summary>Method to raise event ScrollUpEvt.</summary>
+ /// <summary>Method to raise event ScrollUpEvt.</summary>
public void OnScrollUpEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_UP";
}
}
}
- ///<summary>Method to raise event ScrollDownEvt.</summary>
+ /// <summary>Method to raise event ScrollDownEvt.</summary>
public void OnScrollDownEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_DOWN";
}
}
}
- ///<summary>Method to raise event ScrollLeftEvt.</summary>
+ /// <summary>Method to raise event ScrollLeftEvt.</summary>
public void OnScrollLeftEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_LEFT";
}
}
}
- ///<summary>Method to raise event ScrollRightEvt.</summary>
+ /// <summary>Method to raise event ScrollRightEvt.</summary>
public void OnScrollRightEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_RIGHT";
}
}
}
- ///<summary>Method to raise event EdgeUpEvt.</summary>
+ /// <summary>Method to raise event EdgeUpEvt.</summary>
public void OnEdgeUpEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_EDGE_UP";
}
}
}
- ///<summary>Method to raise event EdgeDownEvt.</summary>
+ /// <summary>Method to raise event EdgeDownEvt.</summary>
public void OnEdgeDownEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_EDGE_DOWN";
}
}
}
- ///<summary>Method to raise event EdgeLeftEvt.</summary>
+ /// <summary>Method to raise event EdgeLeftEvt.</summary>
public void OnEdgeLeftEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_EDGE_LEFT";
}
}
}
- ///<summary>Method to raise event EdgeRightEvt.</summary>
+ /// <summary>Method to raise event EdgeRightEvt.</summary>
public void OnEdgeRightEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_EDGE_RIGHT";
}
}
}
- ///<summary>Method to raise event ScrollAnimStartEvt.</summary>
+ /// <summary>Method to raise event ScrollAnimStartEvt.</summary>
public void OnScrollAnimStartEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_ANIM_START";
}
}
}
- ///<summary>Method to raise event ScrollAnimStopEvt.</summary>
+ /// <summary>Method to raise event ScrollAnimStopEvt.</summary>
public void OnScrollAnimStopEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP";
}
}
}
- ///<summary>Method to raise event ScrollDragStartEvt.</summary>
+ /// <summary>Method to raise event ScrollDragStartEvt.</summary>
public void OnScrollDragStartEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_DRAG_START";
}
}
}
- ///<summary>Method to raise event ScrollDragStopEvt.</summary>
+ /// <summary>Method to raise event ScrollDragStopEvt.</summary>
public void OnScrollDragStopEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP";
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiIScrollableConcrete_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
namespace Efl {
namespace Ui {
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.IScrollableInteractiveConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IScrollableInteractive :
/// <summary>The content position</summary>
/// <value>The position is virtual value, (0, 0) starting at the top-left.</value>
Eina.Position2D ContentPos {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>The content size</summary>
/// <value>The content size in pixels.</value>
Eina.Size2D ContentSize {
- get ;
+ get;
}
/// <summary>The viewport geometry</summary>
/// <value>It is absolute geometry.</value>
Eina.Rect ViewportGeometry {
- get ;
+ get;
+ }
+ /// <summary>Bouncing behavior
+ /// When scrolling, the scroller may "bounce" when reaching the edge of the content object. This is a visual way to indicate the end has been reached. This is enabled by default for both axes. This API will determine if it's enabled for the given axis with the boolean parameters for each one.</summary>
+ /// <value>Horizontal bounce policy.</value>
+ (bool, bool) BounceEnabled {
+ get;
+ set;
}
/// <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>
/// <value><c>true</c> if freeze, <c>false</c> otherwise</value>
bool ScrollFreeze {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>Hold property When hold turns on, it only scrolls by holding action.</summary>
/// <value><c>true</c> if hold, <c>false</c> otherwise</value>
bool ScrollHold {
- get ;
- set ;
+ get;
+ set;
+ }
+ /// <summary>Controls an infinite loop for a scroller.</summary>
+ /// <value>The scrolling horizontal loop</value>
+ (bool, bool) Looping {
+ get;
+ set;
}
/// <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>
/// <value>Which axis (or axes) to block</value>
Efl.Ui.ScrollBlock MovementBlock {
- get ;
- set ;
+ get;
+ set;
+ }
+ /// <summary>Control scrolling gravity on the scrollable
+ /// The gravity defines how the scroller will adjust its view when the size of the scroller contents increases.
+ ///
+ /// The scroller will adjust the view to glue itself as follows.
+ ///
+ /// x=0.0, for staying where it is relative to the left edge of the content x=1.0, for staying where it is relative to the right edge of the content y=0.0, for staying where it is relative to the top edge of the content y=1.0, for staying where it is relative to the bottom edge of the content
+ ///
+ /// Default values for x and y are 0.0</summary>
+ /// <value>Horizontal scrolling gravity</value>
+ (double, double) Gravity {
+ get;
+ set;
+ }
+ /// <summary>Prevent the scrollable from being smaller than the minimum size of the content.
+ /// By default the scroller will be as small as its design allows, irrespective of its content. This will make the scroller minimum size the right size horizontally and/or vertically to perfectly fit its content in that direction.</summary>
+ /// <value>Whether to limit the minimum horizontal size</value>
+ (bool, bool) MatchContent {
+ set;
}
/// <summary>Control the step size
/// Use this call to set step size. This value is used when scroller scroll by arrow key event.</summary>
/// <value>The step size in pixels</value>
Eina.Position2D StepSize {
- get ;
- set ;
+ get;
+ set;
}
}
-sealed public class IScrollableInteractiveConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IScrollableInteractiveConcrete :
Efl.Eo.EoWrapper
, IScrollableInteractive
, Efl.Ui.IScrollable
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IScrollableInteractiveConcrete(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event ScrollStartEvt.</summary>
+ /// <summary>Method to raise event ScrollStartEvt.</summary>
public void OnScrollStartEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_START";
}
}
}
- ///<summary>Method to raise event ScrollEvt.</summary>
+ /// <summary>Method to raise event ScrollEvt.</summary>
public void OnScrollEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL";
}
}
}
- ///<summary>Method to raise event ScrollStopEvt.</summary>
+ /// <summary>Method to raise event ScrollStopEvt.</summary>
public void OnScrollStopEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_STOP";
}
}
}
- ///<summary>Method to raise event ScrollUpEvt.</summary>
+ /// <summary>Method to raise event ScrollUpEvt.</summary>
public void OnScrollUpEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_UP";
}
}
}
- ///<summary>Method to raise event ScrollDownEvt.</summary>
+ /// <summary>Method to raise event ScrollDownEvt.</summary>
public void OnScrollDownEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_DOWN";
}
}
}
- ///<summary>Method to raise event ScrollLeftEvt.</summary>
+ /// <summary>Method to raise event ScrollLeftEvt.</summary>
public void OnScrollLeftEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_LEFT";
}
}
}
- ///<summary>Method to raise event ScrollRightEvt.</summary>
+ /// <summary>Method to raise event ScrollRightEvt.</summary>
public void OnScrollRightEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_RIGHT";
}
}
}
- ///<summary>Method to raise event EdgeUpEvt.</summary>
+ /// <summary>Method to raise event EdgeUpEvt.</summary>
public void OnEdgeUpEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_EDGE_UP";
}
}
}
- ///<summary>Method to raise event EdgeDownEvt.</summary>
+ /// <summary>Method to raise event EdgeDownEvt.</summary>
public void OnEdgeDownEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_EDGE_DOWN";
}
}
}
- ///<summary>Method to raise event EdgeLeftEvt.</summary>
+ /// <summary>Method to raise event EdgeLeftEvt.</summary>
public void OnEdgeLeftEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_EDGE_LEFT";
}
}
}
- ///<summary>Method to raise event EdgeRightEvt.</summary>
+ /// <summary>Method to raise event EdgeRightEvt.</summary>
public void OnEdgeRightEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_EDGE_RIGHT";
}
}
}
- ///<summary>Method to raise event ScrollAnimStartEvt.</summary>
+ /// <summary>Method to raise event ScrollAnimStartEvt.</summary>
public void OnScrollAnimStartEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_ANIM_START";
}
}
}
- ///<summary>Method to raise event ScrollAnimStopEvt.</summary>
+ /// <summary>Method to raise event ScrollAnimStopEvt.</summary>
public void OnScrollAnimStopEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP";
}
}
}
- ///<summary>Method to raise event ScrollDragStartEvt.</summary>
+ /// <summary>Method to raise event ScrollDragStartEvt.</summary>
public void OnScrollDragStartEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_DRAG_START";
}
}
}
- ///<summary>Method to raise event ScrollDragStopEvt.</summary>
+ /// <summary>Method to raise event ScrollDragStopEvt.</summary>
public void OnScrollDragStopEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP";
public Eina.Rect ViewportGeometry {
get { return GetViewportGeometry(); }
}
+ /// <summary>Bouncing behavior
+ /// When scrolling, the scroller may "bounce" when reaching the edge of the content object. This is a visual way to indicate the end has been reached. This is enabled by default for both axes. This API will determine if it's enabled for the given axis with the boolean parameters for each one.</summary>
+ /// <value>Horizontal bounce policy.</value>
+ public (bool, bool) BounceEnabled {
+ get {
+ bool _out_horiz = default(bool);
+ bool _out_vert = default(bool);
+ GetBounceEnabled(out _out_horiz,out _out_vert);
+ return (_out_horiz,_out_vert);
+ }
+ set { SetBounceEnabled( value.Item1, value.Item2); }
+ }
/// <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>
/// <value><c>true</c> if freeze, <c>false</c> otherwise</value>
public bool ScrollFreeze {
get { return GetScrollHold(); }
set { SetScrollHold(value); }
}
+ /// <summary>Controls an infinite loop for a scroller.</summary>
+ /// <value>The scrolling horizontal loop</value>
+ public (bool, bool) Looping {
+ get {
+ bool _out_loop_h = default(bool);
+ bool _out_loop_v = default(bool);
+ GetLooping(out _out_loop_h,out _out_loop_v);
+ return (_out_loop_h,_out_loop_v);
+ }
+ set { SetLooping( value.Item1, value.Item2); }
+ }
/// <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>
/// <value>Which axis (or axes) to block</value>
get { return GetMovementBlock(); }
set { SetMovementBlock(value); }
}
+ /// <summary>Control scrolling gravity on the scrollable
+ /// The gravity defines how the scroller will adjust its view when the size of the scroller contents increases.
+ ///
+ /// The scroller will adjust the view to glue itself as follows.
+ ///
+ /// x=0.0, for staying where it is relative to the left edge of the content x=1.0, for staying where it is relative to the right edge of the content y=0.0, for staying where it is relative to the top edge of the content y=1.0, for staying where it is relative to the bottom edge of the content
+ ///
+ /// Default values for x and y are 0.0</summary>
+ /// <value>Horizontal scrolling gravity</value>
+ public (double, double) Gravity {
+ get {
+ double _out_x = default(double);
+ double _out_y = default(double);
+ GetGravity(out _out_x,out _out_y);
+ return (_out_x,_out_y);
+ }
+ set { SetGravity( value.Item1, value.Item2); }
+ }
+ /// <summary>Prevent the scrollable from being smaller than the minimum size of the content.
+ /// By default the scroller will be as small as its design allows, irrespective of its content. This will make the scroller minimum size the right size horizontally and/or vertically to perfectly fit its content in that direction.</summary>
+ /// <value>Whether to limit the minimum horizontal size</value>
+ public (bool, bool) MatchContent {
+ set { SetMatchContent( value.Item1, value.Item2); }
+ }
/// <summary>Control the step size
/// Use this call to set step size. This value is used when scroller scroll by arrow key event.</summary>
/// <value>The step size in pixels</value>
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiIScrollableInteractiveConcrete_ExtensionMethods {
+ public static Efl.BindableProperty<Eina.Position2D> ContentPos<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.IScrollableInteractive, T>magic = null) where T : Efl.Ui.IScrollableInteractive {
+ return new Efl.BindableProperty<Eina.Position2D>("content_pos", fac);
+ }
+
+
+
+
+ public static Efl.BindableProperty<bool> ScrollFreeze<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.IScrollableInteractive, T>magic = null) where T : Efl.Ui.IScrollableInteractive {
+ return new Efl.BindableProperty<bool>("scroll_freeze", fac);
+ }
+
+ public static Efl.BindableProperty<bool> ScrollHold<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.IScrollableInteractive, T>magic = null) where T : Efl.Ui.IScrollableInteractive {
+ return new Efl.BindableProperty<bool>("scroll_hold", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.Ui.ScrollBlock> MovementBlock<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.IScrollableInteractive, T>magic = null) where T : Efl.Ui.IScrollableInteractive {
+ return new Efl.BindableProperty<Efl.Ui.ScrollBlock>("movement_block", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<Eina.Position2D> StepSize<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.IScrollableInteractive, T>magic = null) where T : Efl.Ui.IScrollableInteractive {
+ return new Efl.BindableProperty<Eina.Position2D>("step_size", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Interface used by widgets which can display scrollbars, enabling them to contain more content than actually fits inside them.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.IScrollbarConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IScrollbar :
/// 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>
+ /// <value><see cref="Efl.Ui.IScrollbarBarPressEvt_Args"/></value>
event EventHandler<Efl.Ui.IScrollbarBarPressEvt_Args> BarPressEvt;
/// <summary>Called when bar is unpressed.</summary>
+ /// <value><see cref="Efl.Ui.IScrollbarBarUnpressEvt_Args"/></value>
event EventHandler<Efl.Ui.IScrollbarBarUnpressEvt_Args> BarUnpressEvt;
/// <summary>Called when bar is dragged.</summary>
+ /// <value><see cref="Efl.Ui.IScrollbarBarDragEvt_Args"/></value>
event EventHandler<Efl.Ui.IScrollbarBarDragEvt_Args> BarDragEvt;
/// <summary>Called when bar size is changed.</summary>
event EventHandler BarSizeChangedEvt;
/// <summary>Called when bar position is changed.</summary>
event EventHandler BarPosChangedEvt;
/// <summary>Callend when bar is shown.</summary>
+ /// <value><see cref="Efl.Ui.IScrollbarBarShowEvt_Args"/></value>
event EventHandler<Efl.Ui.IScrollbarBarShowEvt_Args> BarShowEvt;
/// <summary>Called when bar is hidden.</summary>
+ /// <value><see cref="Efl.Ui.IScrollbarBarHideEvt_Args"/></value>
event EventHandler<Efl.Ui.IScrollbarBarHideEvt_Args> BarHideEvt;
+ /// <summary>Scrollbar visibility policy</summary>
+ /// <value>Horizontal scrollbar.</value>
+ (Efl.Ui.ScrollbarMode, Efl.Ui.ScrollbarMode) BarMode {
+ get;
+ set;
+ }
+ /// <summary>Scrollbar size. It is calculated based on viewport size-content sizes.</summary>
+ (double, double) BarSize {
+ get;
+ }
+ /// <summary>Scrollbar position. It is calculated based on current position-maximum positions.</summary>
+ /// <value>Value between 0.0 and 1.0.</value>
+ (double, double) BarPosition {
+ get;
+ set;
+ }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.IScrollbar.BarPressEvt"/>.</summary>
+/// <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>Actual event payload.</summary>
+ /// <value>Called when bar is pressed.</value>
+ public Efl.Ui.LayoutOrientation arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.IScrollbar.BarUnpressEvt"/>.</summary>
+/// <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>Actual event payload.</summary>
+ /// <value>Called when bar is unpressed.</value>
+ public Efl.Ui.LayoutOrientation arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.IScrollbar.BarDragEvt"/>.</summary>
+/// <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>Actual event payload.</summary>
+ /// <value>Called when bar is dragged.</value>
+ public Efl.Ui.LayoutOrientation arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.IScrollbar.BarShowEvt"/>.</summary>
+/// <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>Actual event payload.</summary>
+ /// <value>Callend when bar is shown.</value>
+ public Efl.Ui.LayoutOrientation arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.IScrollbar.BarHideEvt"/>.</summary>
+/// <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>Actual event payload.</summary>
+ /// <value>Called when bar is hidden.</value>
+ public Efl.Ui.LayoutOrientation 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 :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IScrollbarConcrete :
Efl.Eo.EoWrapper
, IScrollbar
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IScrollbarConcrete(ConstructingHandle ch) : base(ch)
{
}
/// <summary>Called when bar is pressed.</summary>
+ /// <value><see cref="Efl.Ui.IScrollbarBarPressEvt_Args"/></value>
public event EventHandler<Efl.Ui.IScrollbarBarPressEvt_Args> BarPressEvt
{
add
if (obj != null)
{
Efl.Ui.IScrollbarBarPressEvt_Args args = new Efl.Ui.IScrollbarBarPressEvt_Args();
- args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
+ args.arg = (Efl.Ui.LayoutOrientation)evt.Info;
try
{
value?.Invoke(obj, args);
}
}
}
- ///<summary>Method to raise event BarPressEvt.</summary>
+ /// <summary>Method to raise event BarPressEvt.</summary>
public void OnBarPressEvt(Efl.Ui.IScrollbarBarPressEvt_Args e)
{
var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS";
}
}
/// <summary>Called when bar is unpressed.</summary>
+ /// <value><see cref="Efl.Ui.IScrollbarBarUnpressEvt_Args"/></value>
public event EventHandler<Efl.Ui.IScrollbarBarUnpressEvt_Args> BarUnpressEvt
{
add
if (obj != null)
{
Efl.Ui.IScrollbarBarUnpressEvt_Args args = new Efl.Ui.IScrollbarBarUnpressEvt_Args();
- args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
+ args.arg = (Efl.Ui.LayoutOrientation)evt.Info;
try
{
value?.Invoke(obj, args);
}
}
}
- ///<summary>Method to raise event BarUnpressEvt.</summary>
+ /// <summary>Method to raise event BarUnpressEvt.</summary>
public void OnBarUnpressEvt(Efl.Ui.IScrollbarBarUnpressEvt_Args e)
{
var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS";
}
}
/// <summary>Called when bar is dragged.</summary>
+ /// <value><see cref="Efl.Ui.IScrollbarBarDragEvt_Args"/></value>
public event EventHandler<Efl.Ui.IScrollbarBarDragEvt_Args> BarDragEvt
{
add
if (obj != null)
{
Efl.Ui.IScrollbarBarDragEvt_Args args = new Efl.Ui.IScrollbarBarDragEvt_Args();
- args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
+ args.arg = (Efl.Ui.LayoutOrientation)evt.Info;
try
{
value?.Invoke(obj, args);
}
}
}
- ///<summary>Method to raise event BarDragEvt.</summary>
+ /// <summary>Method to raise event BarDragEvt.</summary>
public void OnBarDragEvt(Efl.Ui.IScrollbarBarDragEvt_Args e)
{
var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG";
}
}
}
- ///<summary>Method to raise event BarSizeChangedEvt.</summary>
+ /// <summary>Method to raise event BarSizeChangedEvt.</summary>
public void OnBarSizeChangedEvt(EventArgs e)
{
var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED";
}
}
}
- ///<summary>Method to raise event BarPosChangedEvt.</summary>
+ /// <summary>Method to raise event BarPosChangedEvt.</summary>
public void OnBarPosChangedEvt(EventArgs e)
{
var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
/// <summary>Callend when bar is shown.</summary>
+ /// <value><see cref="Efl.Ui.IScrollbarBarShowEvt_Args"/></value>
public event EventHandler<Efl.Ui.IScrollbarBarShowEvt_Args> BarShowEvt
{
add
if (obj != null)
{
Efl.Ui.IScrollbarBarShowEvt_Args args = new Efl.Ui.IScrollbarBarShowEvt_Args();
- args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
+ args.arg = (Efl.Ui.LayoutOrientation)evt.Info;
try
{
value?.Invoke(obj, args);
}
}
}
- ///<summary>Method to raise event BarShowEvt.</summary>
+ /// <summary>Method to raise event BarShowEvt.</summary>
public void OnBarShowEvt(Efl.Ui.IScrollbarBarShowEvt_Args e)
{
var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW";
}
}
/// <summary>Called when bar is hidden.</summary>
+ /// <value><see cref="Efl.Ui.IScrollbarBarHideEvt_Args"/></value>
public event EventHandler<Efl.Ui.IScrollbarBarHideEvt_Args> BarHideEvt
{
add
if (obj != null)
{
Efl.Ui.IScrollbarBarHideEvt_Args args = new Efl.Ui.IScrollbarBarHideEvt_Args();
- args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
+ args.arg = (Efl.Ui.LayoutOrientation)evt.Info;
try
{
value?.Invoke(obj, args);
}
}
}
- ///<summary>Method to raise event BarHideEvt.</summary>
+ /// <summary>Method to raise event BarHideEvt.</summary>
public void OnBarHideEvt(Efl.Ui.IScrollbarBarHideEvt_Args e)
{
var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE";
Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_visibility_update_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
}
+ /// <summary>Scrollbar visibility policy</summary>
+ /// <value>Horizontal scrollbar.</value>
+ public (Efl.Ui.ScrollbarMode, Efl.Ui.ScrollbarMode) BarMode {
+ get {
+ Efl.Ui.ScrollbarMode _out_hbar = default(Efl.Ui.ScrollbarMode);
+ Efl.Ui.ScrollbarMode _out_vbar = default(Efl.Ui.ScrollbarMode);
+ GetBarMode(out _out_hbar,out _out_vbar);
+ return (_out_hbar,_out_vbar);
+ }
+ set { SetBarMode( value.Item1, value.Item2); }
+ }
+ /// <summary>Scrollbar size. It is calculated based on viewport size-content sizes.</summary>
+ public (double, double) BarSize {
+ get {
+ double _out_width = default(double);
+ double _out_height = default(double);
+ GetBarSize(out _out_width,out _out_height);
+ return (_out_width,_out_height);
+ }
+ }
+ /// <summary>Scrollbar position. It is calculated based on current position-maximum positions.</summary>
+ /// <value>Value between 0.0 and 1.0.</value>
+ public (double, double) BarPosition {
+ get {
+ double _out_posx = default(double);
+ double _out_posy = default(double);
+ GetBarPosition(out _out_posx,out _out_posy);
+ return (_out_posx,_out_posy);
+ }
+ set { SetBarPosition( value.Item1, value.Item2); }
+ }
private static IntPtr GetEflClassStatic()
{
return Efl.Ui.IScrollbarConcrete.efl_ui_scrollbar_interface_get();
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiIScrollbarConcrete_ExtensionMethods {
+
+
+
+}
+#pragma warning restore CS1591
+#endif
namespace Efl {
namespace Ui {
}
-namespace Efl {
-
-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,
-}
-
-}
-
-}
-
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Efl ui scroller class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Scroller(ConstructingHandle ch) : base(ch)
{
/// <summary>Sent after the content is set or unset using the current content object.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContentContentChangedEvt_Args"/></value>
public event EventHandler<Efl.IContentContentChangedEvt_Args> ContentChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentChangedEvt.</summary>
+ /// <summary>Method to raise event ContentChangedEvt.</summary>
public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e)
{
var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
}
}
}
- ///<summary>Method to raise event ScrollStartEvt.</summary>
+ /// <summary>Method to raise event ScrollStartEvt.</summary>
public void OnScrollStartEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_START";
}
}
}
- ///<summary>Method to raise event ScrollEvt.</summary>
+ /// <summary>Method to raise event ScrollEvt.</summary>
public void OnScrollEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL";
}
}
}
- ///<summary>Method to raise event ScrollStopEvt.</summary>
+ /// <summary>Method to raise event ScrollStopEvt.</summary>
public void OnScrollStopEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_STOP";
}
}
}
- ///<summary>Method to raise event ScrollUpEvt.</summary>
+ /// <summary>Method to raise event ScrollUpEvt.</summary>
public void OnScrollUpEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_UP";
}
}
}
- ///<summary>Method to raise event ScrollDownEvt.</summary>
+ /// <summary>Method to raise event ScrollDownEvt.</summary>
public void OnScrollDownEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_DOWN";
}
}
}
- ///<summary>Method to raise event ScrollLeftEvt.</summary>
+ /// <summary>Method to raise event ScrollLeftEvt.</summary>
public void OnScrollLeftEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_LEFT";
}
}
}
- ///<summary>Method to raise event ScrollRightEvt.</summary>
+ /// <summary>Method to raise event ScrollRightEvt.</summary>
public void OnScrollRightEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_RIGHT";
}
}
}
- ///<summary>Method to raise event EdgeUpEvt.</summary>
+ /// <summary>Method to raise event EdgeUpEvt.</summary>
public void OnEdgeUpEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_EDGE_UP";
}
}
}
- ///<summary>Method to raise event EdgeDownEvt.</summary>
+ /// <summary>Method to raise event EdgeDownEvt.</summary>
public void OnEdgeDownEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_EDGE_DOWN";
}
}
}
- ///<summary>Method to raise event EdgeLeftEvt.</summary>
+ /// <summary>Method to raise event EdgeLeftEvt.</summary>
public void OnEdgeLeftEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_EDGE_LEFT";
}
}
}
- ///<summary>Method to raise event EdgeRightEvt.</summary>
+ /// <summary>Method to raise event EdgeRightEvt.</summary>
public void OnEdgeRightEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_EDGE_RIGHT";
}
}
}
- ///<summary>Method to raise event ScrollAnimStartEvt.</summary>
+ /// <summary>Method to raise event ScrollAnimStartEvt.</summary>
public void OnScrollAnimStartEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_ANIM_START";
}
}
}
- ///<summary>Method to raise event ScrollAnimStopEvt.</summary>
+ /// <summary>Method to raise event ScrollAnimStopEvt.</summary>
public void OnScrollAnimStopEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP";
}
}
}
- ///<summary>Method to raise event ScrollDragStartEvt.</summary>
+ /// <summary>Method to raise event ScrollDragStartEvt.</summary>
public void OnScrollDragStartEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_DRAG_START";
}
}
}
- ///<summary>Method to raise event ScrollDragStopEvt.</summary>
+ /// <summary>Method to raise event ScrollDragStopEvt.</summary>
public void OnScrollDragStopEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
/// <summary>Called when bar is pressed.</summary>
+ /// <value><see cref="Efl.Ui.IScrollbarBarPressEvt_Args"/></value>
public event EventHandler<Efl.Ui.IScrollbarBarPressEvt_Args> BarPressEvt
{
add
if (obj != null)
{
Efl.Ui.IScrollbarBarPressEvt_Args args = new Efl.Ui.IScrollbarBarPressEvt_Args();
- args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
+ args.arg = (Efl.Ui.LayoutOrientation)evt.Info;
try
{
value?.Invoke(obj, args);
}
}
}
- ///<summary>Method to raise event BarPressEvt.</summary>
+ /// <summary>Method to raise event BarPressEvt.</summary>
public void OnBarPressEvt(Efl.Ui.IScrollbarBarPressEvt_Args e)
{
var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS";
}
}
/// <summary>Called when bar is unpressed.</summary>
+ /// <value><see cref="Efl.Ui.IScrollbarBarUnpressEvt_Args"/></value>
public event EventHandler<Efl.Ui.IScrollbarBarUnpressEvt_Args> BarUnpressEvt
{
add
if (obj != null)
{
Efl.Ui.IScrollbarBarUnpressEvt_Args args = new Efl.Ui.IScrollbarBarUnpressEvt_Args();
- args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
+ args.arg = (Efl.Ui.LayoutOrientation)evt.Info;
try
{
value?.Invoke(obj, args);
}
}
}
- ///<summary>Method to raise event BarUnpressEvt.</summary>
+ /// <summary>Method to raise event BarUnpressEvt.</summary>
public void OnBarUnpressEvt(Efl.Ui.IScrollbarBarUnpressEvt_Args e)
{
var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS";
}
}
/// <summary>Called when bar is dragged.</summary>
+ /// <value><see cref="Efl.Ui.IScrollbarBarDragEvt_Args"/></value>
public event EventHandler<Efl.Ui.IScrollbarBarDragEvt_Args> BarDragEvt
{
add
if (obj != null)
{
Efl.Ui.IScrollbarBarDragEvt_Args args = new Efl.Ui.IScrollbarBarDragEvt_Args();
- args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
+ args.arg = (Efl.Ui.LayoutOrientation)evt.Info;
try
{
value?.Invoke(obj, args);
}
}
}
- ///<summary>Method to raise event BarDragEvt.</summary>
+ /// <summary>Method to raise event BarDragEvt.</summary>
public void OnBarDragEvt(Efl.Ui.IScrollbarBarDragEvt_Args e)
{
var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG";
}
}
}
- ///<summary>Method to raise event BarSizeChangedEvt.</summary>
+ /// <summary>Method to raise event BarSizeChangedEvt.</summary>
public void OnBarSizeChangedEvt(EventArgs e)
{
var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED";
}
}
}
- ///<summary>Method to raise event BarPosChangedEvt.</summary>
+ /// <summary>Method to raise event BarPosChangedEvt.</summary>
public void OnBarPosChangedEvt(EventArgs e)
{
var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
/// <summary>Callend when bar is shown.</summary>
+ /// <value><see cref="Efl.Ui.IScrollbarBarShowEvt_Args"/></value>
public event EventHandler<Efl.Ui.IScrollbarBarShowEvt_Args> BarShowEvt
{
add
if (obj != null)
{
Efl.Ui.IScrollbarBarShowEvt_Args args = new Efl.Ui.IScrollbarBarShowEvt_Args();
- args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
+ args.arg = (Efl.Ui.LayoutOrientation)evt.Info;
try
{
value?.Invoke(obj, args);
}
}
}
- ///<summary>Method to raise event BarShowEvt.</summary>
+ /// <summary>Method to raise event BarShowEvt.</summary>
public void OnBarShowEvt(Efl.Ui.IScrollbarBarShowEvt_Args e)
{
var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW";
}
}
/// <summary>Called when bar is hidden.</summary>
+ /// <value><see cref="Efl.Ui.IScrollbarBarHideEvt_Args"/></value>
public event EventHandler<Efl.Ui.IScrollbarBarHideEvt_Args> BarHideEvt
{
add
if (obj != null)
{
Efl.Ui.IScrollbarBarHideEvt_Args args = new Efl.Ui.IScrollbarBarHideEvt_Args();
- args.arg = (Efl.Ui.ScrollbarDirection)evt.Info;
+ args.arg = (Efl.Ui.LayoutOrientation)evt.Info;
try
{
value?.Invoke(obj, args);
}
}
}
- ///<summary>Method to raise event BarHideEvt.</summary>
+ /// <summary>Method to raise event BarHideEvt.</summary>
public void OnBarHideEvt(Efl.Ui.IScrollbarBarHideEvt_Args e)
{
var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE";
}
/// <summary>Redirect object has changed, the old manager is passed as an event argument.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IManagerRedirectChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.Focus.IManagerRedirectChangedEvt_Args> RedirectChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event RedirectChangedEvt.</summary>
+ /// <summary>Method to raise event RedirectChangedEvt.</summary>
public void OnRedirectChangedEvt(Efl.Ui.Focus.IManagerRedirectChangedEvt_Args e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_REDIRECT_CHANGED";
}
}
}
- ///<summary>Method to raise event FlushPreEvt.</summary>
+ /// <summary>Method to raise event FlushPreEvt.</summary>
public void OnFlushPreEvt(EventArgs e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_FLUSH_PRE";
}
}
}
- ///<summary>Method to raise event CoordsDirtyEvt.</summary>
+ /// <summary>Method to raise event CoordsDirtyEvt.</summary>
public void OnCoordsDirtyEvt(EventArgs e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_COORDS_DIRTY";
}
/// <summary>The manager_focus property has changed. The previously focused object is passed as an event argument.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args> ManagerFocusChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event ManagerFocusChangedEvt.</summary>
+ /// <summary>Method to raise event ManagerFocusChangedEvt.</summary>
public void OnManagerFocusChangedEvt(Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_MANAGER_FOCUS_CHANGED";
}
/// <summary>Called when this focus manager is frozen or thawed, even_info being <c>true</c> indicates that it is now frozen, <c>false</c> indicates that it is thawed.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args> DirtyLogicFreezeChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event DirtyLogicFreezeChangedEvt.</summary>
+ /// <summary>Method to raise event DirtyLogicFreezeChangedEvt.</summary>
public void OnDirtyLogicFreezeChangedEvt(Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_DIRTY_LOGIC_FREEZE_CHANGED";
}
/// <summary>This will fetch the data from a registered node.
/// Be aware this function will trigger a computation of all dirty nodes.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <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) {
public Eina.Rect ViewportGeometry {
get { return GetViewportGeometry(); }
}
+ /// <summary>Bouncing behavior
+ /// When scrolling, the scroller may "bounce" when reaching the edge of the content object. This is a visual way to indicate the end has been reached. This is enabled by default for both axes. This API will determine if it's enabled for the given axis with the boolean parameters for each one.</summary>
+ /// <value>Horizontal bounce policy.</value>
+ public (bool, bool) BounceEnabled {
+ get {
+ bool _out_horiz = default(bool);
+ bool _out_vert = default(bool);
+ GetBounceEnabled(out _out_horiz,out _out_vert);
+ return (_out_horiz,_out_vert);
+ }
+ set { SetBounceEnabled( value.Item1, value.Item2); }
+ }
/// <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>
/// <value><c>true</c> if freeze, <c>false</c> otherwise</value>
public bool ScrollFreeze {
get { return GetScrollHold(); }
set { SetScrollHold(value); }
}
+ /// <summary>Controls an infinite loop for a scroller.</summary>
+ /// <value>The scrolling horizontal loop</value>
+ public (bool, bool) Looping {
+ get {
+ bool _out_loop_h = default(bool);
+ bool _out_loop_v = default(bool);
+ GetLooping(out _out_loop_h,out _out_loop_v);
+ return (_out_loop_h,_out_loop_v);
+ }
+ set { SetLooping( value.Item1, value.Item2); }
+ }
/// <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>
/// <value>Which axis (or axes) to block</value>
get { return GetMovementBlock(); }
set { SetMovementBlock(value); }
}
+ /// <summary>Control scrolling gravity on the scrollable
+ /// The gravity defines how the scroller will adjust its view when the size of the scroller contents increases.
+ ///
+ /// The scroller will adjust the view to glue itself as follows.
+ ///
+ /// x=0.0, for staying where it is relative to the left edge of the content x=1.0, for staying where it is relative to the right edge of the content y=0.0, for staying where it is relative to the top edge of the content y=1.0, for staying where it is relative to the bottom edge of the content
+ ///
+ /// Default values for x and y are 0.0</summary>
+ /// <value>Horizontal scrolling gravity</value>
+ public (double, double) Gravity {
+ get {
+ double _out_x = default(double);
+ double _out_y = default(double);
+ GetGravity(out _out_x,out _out_y);
+ return (_out_x,_out_y);
+ }
+ set { SetGravity( value.Item1, value.Item2); }
+ }
+ /// <summary>Prevent the scrollable from being smaller than the minimum size of the content.
+ /// By default the scroller will be as small as its design allows, irrespective of its content. This will make the scroller minimum size the right size horizontally and/or vertically to perfectly fit its content in that direction.</summary>
+ /// <value>Whether to limit the minimum horizontal size</value>
+ public (bool, bool) MatchContent {
+ set { SetMatchContent( value.Item1, value.Item2); }
+ }
/// <summary>Control the step size
/// Use this call to set step size. This value is used when scroller scroll by arrow key event.</summary>
/// <value>The step size in pixels</value>
get { return GetStepSize(); }
set { SetStepSize(value); }
}
+ /// <summary>Scrollbar visibility policy</summary>
+ /// <value>Horizontal scrollbar.</value>
+ public (Efl.Ui.ScrollbarMode, Efl.Ui.ScrollbarMode) BarMode {
+ get {
+ Efl.Ui.ScrollbarMode _out_hbar = default(Efl.Ui.ScrollbarMode);
+ Efl.Ui.ScrollbarMode _out_vbar = default(Efl.Ui.ScrollbarMode);
+ GetBarMode(out _out_hbar,out _out_vbar);
+ return (_out_hbar,_out_vbar);
+ }
+ set { SetBarMode( value.Item1, value.Item2); }
+ }
+ /// <summary>Scrollbar size. It is calculated based on viewport size-content sizes.</summary>
+ public (double, double) BarSize {
+ get {
+ double _out_width = default(double);
+ double _out_height = default(double);
+ GetBarSize(out _out_width,out _out_height);
+ return (_out_width,_out_height);
+ }
+ }
+ /// <summary>Scrollbar position. It is calculated based on current position-maximum positions.</summary>
+ /// <value>Value between 0.0 and 1.0.</value>
+ public (double, double) BarPosition {
+ get {
+ double _out_posx = default(double);
+ double _out_posy = default(double);
+ GetBarPosition(out _out_posx,out _out_posy);
+ return (_out_posx,_out_posy);
+ }
+ set { SetBarPosition( value.Item1, value.Item2); }
+ }
/// <summary>The element which is currently focused by this manager
/// Use this property to retrieve the object currently being focused, or to set the focus to a new one. When <c>focus</c> is a logical child (which cannot receive focus), the next non-logical object is selected instead. If there is no such object, focus does not change.
/// (Since EFL 1.22)</summary>
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiScroller_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Gfx.IEntity> Content<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Scroller, T>magic = null) where T : Efl.Ui.Scroller {
+ return new Efl.BindableProperty<Efl.Gfx.IEntity>("content", fac);
+ }
+
+ public static Efl.BindableProperty<Eina.Position2D> ContentPos<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Scroller, T>magic = null) where T : Efl.Ui.Scroller {
+ return new Efl.BindableProperty<Eina.Position2D>("content_pos", fac);
+ }
+
+
+
+
+ public static Efl.BindableProperty<bool> ScrollFreeze<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Scroller, T>magic = null) where T : Efl.Ui.Scroller {
+ return new Efl.BindableProperty<bool>("scroll_freeze", fac);
+ }
+
+ public static Efl.BindableProperty<bool> ScrollHold<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Scroller, T>magic = null) where T : Efl.Ui.Scroller {
+ return new Efl.BindableProperty<bool>("scroll_hold", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.Ui.ScrollBlock> MovementBlock<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Scroller, T>magic = null) where T : Efl.Ui.Scroller {
+ return new Efl.BindableProperty<Efl.Ui.ScrollBlock>("movement_block", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<Eina.Position2D> StepSize<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Scroller, T>magic = null) where T : Efl.Ui.Scroller {
+ return new Efl.BindableProperty<Eina.Position2D>("step_size", fac);
+ }
+
+
+
+
+ public static Efl.BindableProperty<Efl.Ui.Focus.IObject> ManagerFocus<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Scroller, T>magic = null) where T : Efl.Ui.Scroller {
+ return new Efl.BindableProperty<Efl.Ui.Focus.IObject>("manager_focus", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Ui.Focus.IManager> Redirect<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Scroller, T>magic = null) where T : Efl.Ui.Scroller {
+ return new Efl.BindableProperty<Efl.Ui.Focus.IManager>("redirect", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<Efl.Ui.Focus.IObject> Root<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Scroller, T>magic = null) where T : Efl.Ui.Scroller {
+ return new Efl.BindableProperty<Efl.Ui.Focus.IObject>("root", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
-/// <summary>Efl UI selectable interface</summary>
+/// <summary>Selectable interface for ui objects
+/// A object implementing this can be selected. When the selected property of this object changes, the selected,changed event is emitted.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.ISelectableConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface ISelectable :
Efl.Eo.IWrapper, IDisposable
{
- /// <summary>Called when selected</summary>
- event EventHandler<Efl.Ui.ISelectableItemSelectedEvt_Args> ItemSelectedEvt;
- /// <summary>Called when no longer selected</summary>
- event EventHandler<Efl.Ui.ISelectableItemUnselectedEvt_Args> ItemUnselectedEvt;
- /// <summary>Called when selection is pasted</summary>
- event EventHandler SelectionPasteEvt;
- /// <summary>Called when selection is copied</summary>
- event EventHandler SelectionCopyEvt;
- /// <summary>Called when selection is cut</summary>
- event EventHandler SelectionCutEvt;
- /// <summary>Called at selection start</summary>
- event EventHandler SelectionStartEvt;
- /// <summary>Called when selection is changed</summary>
- event EventHandler SelectionChangedEvt;
- /// <summary>Called when selection is cleared</summary>
- 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>The selected state of this object
+/// A change to this property emits the changed event.</summary>
+/// <returns>The selected state of this object</returns>
+bool GetSelected();
+ /// <summary>The selected state of this object
+/// A change to this property emits the changed event.</summary>
+/// <param name="selected">The selected state of this object</param>
+void SetSelected(bool selected);
+ /// <summary>Called when the selected state has changed</summary>
+ /// <value><see cref="Efl.Ui.ISelectableSelectedChangedEvt_Args"/></value>
+ event EventHandler<Efl.Ui.ISelectableSelectedChangedEvt_Args> SelectedChangedEvt;
+ /// <summary>The selected state of this object
+ /// A change to this property emits the changed event.</summary>
+ /// <value>The selected state of this object</value>
+ bool Selected {
+ get;
+ set;
+ }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.ISelectable.ItemUnselectedEvt"/>.</summary>
+/// <summary>Event argument wrapper for event <see cref="Efl.Ui.ISelectable.SelectedChangedEvt"/>.</summary>
[Efl.Eo.BindingEntity]
-public class ISelectableItemUnselectedEvt_Args : EventArgs {
- ///<summary>Actual event payload.</summary>
- public Efl.Object arg { get; set; }
+public class ISelectableSelectedChangedEvt_Args : EventArgs {
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called when the selected state has changed</value>
+ public bool arg { get; set; }
}
-/// <summary>Efl UI selectable interface</summary>
-sealed public class ISelectableConcrete :
+/// <summary>Selectable interface for ui objects
+/// A object implementing this can be selected. When the selected property of this object changes, the selected,changed event is emitted.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class ISelectableConcrete :
Efl.Eo.EoWrapper
, ISelectable
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</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
+ [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] 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>
{
}
- /// <summary>Called when selected</summary>
- public event EventHandler<Efl.Ui.ISelectableItemSelectedEvt_Args> ItemSelectedEvt
+ /// <summary>Called when the selected state has changed</summary>
+ /// <value><see cref="Efl.Ui.ISelectableSelectedChangedEvt_Args"/></value>
+ public event EventHandler<Efl.Ui.ISelectableSelectedChangedEvt_Args> SelectedChangedEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- Efl.Ui.ISelectableItemSelectedEvt_Args args = new Efl.Ui.ISelectableItemSelectedEvt_Args();
- args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Object);
+ Efl.Ui.ISelectableSelectedChangedEvt_Args args = new Efl.Ui.ISelectableSelectedChangedEvt_Args();
+ args.arg = Marshal.ReadByte(evt.Info) != 0;
try
{
value?.Invoke(obj, args);
}
};
- string key = "_EFL_UI_EVENT_ITEM_SELECTED";
- AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
+ string key = "_EFL_UI_EVENT_SELECTED_CHANGED";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_ITEM_SELECTED";
- RemoveNativeEventHandler(efl.Libs.Efl, key, value);
+ string key = "_EFL_UI_EVENT_SELECTED_CHANGED";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event ItemSelectedEvt.</summary>
- public void OnItemSelectedEvt(Efl.Ui.ISelectableItemSelectedEvt_Args e)
+ /// <summary>Method to raise event SelectedChangedEvt.</summary>
+ public void OnSelectedChangedEvt(Efl.Ui.ISelectableSelectedChangedEvt_Args e)
{
- var key = "_EFL_UI_EVENT_ITEM_SELECTED";
- IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
+ var key = "_EFL_UI_EVENT_SELECTED_CHANGED";
+ 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 = e.arg.NativeHandle;
- Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
- }
- /// <summary>Called when no longer selected</summary>
- public event EventHandler<Efl.Ui.ISelectableItemUnselectedEvt_Args> ItemUnselectedEvt
- {
- add
+ IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg ? (byte) 1 : (byte) 0);
+ try
{
- 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.ISelectableItemUnselectedEvt_Args args = new Efl.Ui.ISelectableItemUnselectedEvt_Args();
- args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Object);
- try
- {
- value?.Invoke(obj, args);
- }
- catch (Exception e)
- {
- Eina.Log.Error(e.ToString());
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
- }
- };
-
- string key = "_EFL_UI_EVENT_ITEM_UNSELECTED";
- AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
- }
+ Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
-
- remove
+ finally
{
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_ITEM_UNSELECTED";
- RemoveNativeEventHandler(efl.Libs.Efl, key, value);
- }
+ Marshal.FreeHGlobal(info);
}
}
- ///<summary>Method to raise event ItemUnselectedEvt.</summary>
- public void OnItemUnselectedEvt(Efl.Ui.ISelectableItemUnselectedEvt_Args e)
+ /// <summary>The selected state of this object
+ /// A change to this property emits the changed event.</summary>
+ /// <returns>The selected state of this object</returns>
+ public bool GetSelected() {
+ var _ret_var = Efl.Ui.ISelectableConcrete.NativeMethods.efl_ui_selectable_selected_get_ptr.Value.Delegate(this.NativeHandle);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>The selected state of this object
+ /// A change to this property emits the changed event.</summary>
+ /// <param name="selected">The selected state of this object</param>
+ public void SetSelected(bool selected) {
+ Efl.Ui.ISelectableConcrete.NativeMethods.efl_ui_selectable_selected_set_ptr.Value.Delegate(this.NativeHandle,selected);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>The selected state of this object
+ /// A change to this property emits the changed event.</summary>
+ /// <value>The selected state of this object</value>
+ public bool Selected {
+ get { return GetSelected(); }
+ set { SetSelected(value); }
+ }
+ private static IntPtr GetEflClassStatic()
{
- var key = "_EFL_UI_EVENT_ITEM_UNSELECTED";
- IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
- if (desc == IntPtr.Zero)
- {
- Eina.Log.Error($"Failed to get native event {key}");
- return;
- }
-
- IntPtr info = e.arg.NativeHandle;
- Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
+ return Efl.Ui.ISelectableConcrete.efl_ui_selectable_interface_get();
}
- /// <summary>Called when selection is pasted</summary>
- public event EventHandler SelectionPasteEvt
+ /// <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
{
- add
+ 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)
{
- lock (eflBindingEventLock)
- {
- 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);
- }
- }
- };
+ var descs = new System.Collections.Generic.List<Efl_Op_Description>();
+ var methods = Efl.Eo.Globals.GetUserMethods(type);
- string key = "_EFL_UI_EVENT_SELECTION_PASTE";
- AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
+ if (efl_ui_selectable_selected_get_static_delegate == null)
+ {
+ efl_ui_selectable_selected_get_static_delegate = new efl_ui_selectable_selected_get_delegate(selected_get);
}
- }
- remove
- {
- lock (eflBindingEventLock)
+ if (methods.FirstOrDefault(m => m.Name == "GetSelected") != null)
{
- string key = "_EFL_UI_EVENT_SELECTION_PASTE";
- RemoveNativeEventHandler(efl.Libs.Efl, key, value);
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_selectable_selected_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_selectable_selected_get_static_delegate) });
}
- }
- }
- ///<summary>Method to raise event SelectionPasteEvt.</summary>
- public void OnSelectionPasteEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SELECTION_PASTE";
- IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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>Called when selection is copied</summary>
- public event EventHandler SelectionCopyEvt
- {
- add
- {
- lock (eflBindingEventLock)
+ if (efl_ui_selectable_selected_set_static_delegate == null)
{
- 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_EVENT_SELECTION_COPY";
- AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
+ efl_ui_selectable_selected_set_static_delegate = new efl_ui_selectable_selected_set_delegate(selected_set);
}
- }
- remove
- {
- lock (eflBindingEventLock)
+ if (methods.FirstOrDefault(m => m.Name == "SetSelected") != null)
{
- string key = "_EFL_UI_EVENT_SELECTION_COPY";
- RemoveNativeEventHandler(efl.Libs.Efl, key, value);
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_selectable_selected_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_selectable_selected_set_static_delegate) });
}
+
+ return descs;
}
- }
- ///<summary>Method to raise event SelectionCopyEvt.</summary>
- public void OnSelectionCopyEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SELECTION_COPY";
- IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
- if (desc == IntPtr.Zero)
+ /// <summary>Returns the Eo class for the native methods of this class.</summary>
+ /// <returns>The native class pointer.</returns>
+ public override IntPtr GetEflClass()
{
- Eina.Log.Error($"Failed to get native event {key}");
- return;
+ return Efl.Ui.ISelectableConcrete.efl_ui_selectable_interface_get();
}
- Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
- }
- /// <summary>Called when selection is cut</summary>
- public event EventHandler SelectionCutEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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);
- }
- }
- };
+ #pragma warning disable CA1707, CS1591, SA1300, SA1600
- string key = "_EFL_UI_EVENT_SELECTION_CUT";
- AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
- }
- }
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_ui_selectable_selected_get_delegate(System.IntPtr obj, System.IntPtr pd);
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SELECTION_CUT";
- RemoveNativeEventHandler(efl.Libs.Efl, key, value);
- }
- }
- }
- ///<summary>Method to raise event SelectionCutEvt.</summary>
- public void OnSelectionCutEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SELECTION_CUT";
- IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
- if (desc == IntPtr.Zero)
- {
- Eina.Log.Error($"Failed to get native event {key}");
- return;
- }
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_ui_selectable_selected_get_api_delegate(System.IntPtr obj);
- Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
- }
- /// <summary>Called at selection start</summary>
- public event EventHandler SelectionStartEvt
- {
- add
+ public static Efl.Eo.FunctionWrapper<efl_ui_selectable_selected_get_api_delegate> efl_ui_selectable_selected_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_selectable_selected_get_api_delegate>(Module, "efl_ui_selectable_selected_get");
+
+ private static bool selected_get(System.IntPtr obj, System.IntPtr pd)
{
- lock (eflBindingEventLock)
+ Eina.Log.Debug("function efl_ui_selectable_selected_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
{
- Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
+ bool _ret_var = default(bool);
+ try
{
- 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);
- }
- }
- };
+ _ret_var = ((ISelectable)ws.Target).GetSelected();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
- string key = "_EFL_UI_EVENT_SELECTION_START";
- AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
- }
- }
+ return _ret_var;
- remove
- {
- lock (eflBindingEventLock)
+ }
+ else
{
- string key = "_EFL_UI_EVENT_SELECTION_START";
- RemoveNativeEventHandler(efl.Libs.Efl, key, value);
+ return efl_ui_selectable_selected_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
- }
- ///<summary>Method to raise event SelectionStartEvt.</summary>
- public void OnSelectionStartEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SELECTION_START";
- IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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>Called when selection is changed</summary>
- public event EventHandler SelectionChangedEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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);
- }
- }
- };
+ private static efl_ui_selectable_selected_get_delegate efl_ui_selectable_selected_get_static_delegate;
- string key = "_EFL_UI_EVENT_SELECTION_CHANGED";
- AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
- }
- }
+
+ private delegate void efl_ui_selectable_selected_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool selected);
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SELECTION_CHANGED";
- RemoveNativeEventHandler(efl.Libs.Efl, key, value);
- }
- }
- }
- ///<summary>Method to raise event SelectionChangedEvt.</summary>
- public void OnSelectionChangedEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SELECTION_CHANGED";
- IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
- if (desc == IntPtr.Zero)
- {
- Eina.Log.Error($"Failed to get native event {key}");
- return;
- }
+
+ public delegate void efl_ui_selectable_selected_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool selected);
- Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
- }
- /// <summary>Called when selection is cleared</summary>
- public event EventHandler SelectionClearedEvt
- {
- add
+ public static Efl.Eo.FunctionWrapper<efl_ui_selectable_selected_set_api_delegate> efl_ui_selectable_selected_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_selectable_selected_set_api_delegate>(Module, "efl_ui_selectable_selected_set");
+
+ private static void selected_set(System.IntPtr obj, System.IntPtr pd, bool selected)
{
- lock (eflBindingEventLock)
+ Eina.Log.Debug("function efl_ui_selectable_selected_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
{
- Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
+
+ try
{
- 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);
- }
- }
- };
+ ((ISelectable)ws.Target).SetSelected(selected);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
- string key = "_EFL_UI_EVENT_SELECTION_CLEARED";
- AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
+
}
- }
-
- remove
- {
- lock (eflBindingEventLock)
+ else
{
- string key = "_EFL_UI_EVENT_SELECTION_CLEARED";
- RemoveNativeEventHandler(efl.Libs.Efl, key, value);
+ efl_ui_selectable_selected_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), selected);
}
}
- }
- ///<summary>Method to raise event SelectionClearedEvt.</summary>
- public void OnSelectionClearedEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SELECTION_CLEARED";
- IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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);
- }
- private static IntPtr GetEflClassStatic()
- {
- return Efl.Ui.ISelectableConcrete.efl_ui_selectable_interface_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
- {
- /// <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.ISelectableConcrete.efl_ui_selectable_interface_get();
- }
- #pragma warning disable CA1707, CS1591, SA1300, SA1600
+ private static efl_ui_selectable_selected_set_delegate efl_ui_selectable_selected_set_static_delegate;
#pragma warning restore CA1707, CS1591, SA1300, SA1600
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiISelectableConcrete_ExtensionMethods {
+ public static Efl.BindableProperty<bool> Selected<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.ISelectable, T>magic = null) where T : Efl.Ui.ISelectable {
+ return new Efl.BindableProperty<bool>("selected", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Efl Ui Selection class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.ISelectionConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface ISelection :
System.Threading.Tasks.Task<Eina.Value> SetSelectionAsync(Efl.Ui.SelectionType type,Efl.Ui.SelectionFormat format,Eina.Slice data,uint seat, System.Threading.CancellationToken token = default(System.Threading.CancellationToken));
/// <summary>Called when display server's selection has changed</summary>
+ /// <value><see cref="Efl.Ui.ISelectionWmSelectionChangedEvt_Args"/></value>
event EventHandler<Efl.Ui.ISelectionWmSelectionChangedEvt_Args> WmSelectionChangedEvt;
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.ISelection.WmSelectionChangedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called when display server's selection has changed</value>
public Efl.Ui.SelectionChanged arg { get; set; }
}
/// <summary>Efl Ui Selection class</summary>
-sealed public class ISelectionConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class ISelectionConcrete :
Efl.Eo.EoWrapper
, ISelection
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private ISelectionConcrete(ConstructingHandle ch) : base(ch)
{
}
/// <summary>Called when display server's selection has changed</summary>
+ /// <value><see cref="Efl.Ui.ISelectionWmSelectionChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.ISelectionWmSelectionChangedEvt_Args> WmSelectionChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event WmSelectionChangedEvt.</summary>
+ /// <summary>Method to raise event WmSelectionChangedEvt.</summary>
public void OnWmSelectionChangedEvt(Efl.Ui.ISelectionWmSelectionChangedEvt_Args e)
{
var key = "_EFL_UI_SELECTION_EVENT_WM_SELECTION_CHANGED";
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiISelectionConcrete_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
{
/// <summary>For matching every possible atom</summary>
Targets = -1,
-/// <summary>Content is from outside of Elementary</summary>
+/// <summary>Content is from outside of EFL</summary>
None = 0,
/// <summary>Plain unformatted text: Used for things that don't want rich markup</summary>
Text = 1,
public struct SelectionData
{
/// <summary>Coordinates of the drop (DND operations only)</summary>
+ /// <value>A 2D location in pixels.</value>
public Eina.Position2D Pos;
/// <summary>Format of the selection</summary>
+ /// <value>Selection format</value>
public Efl.Ui.SelectionFormat Format;
/// <summary>Selection data</summary>
+ /// <value>A linear, read-only, memory segment</value>
public Eina.Slice Content;
/// <summary>Action to perform with the data</summary>
+ /// <value>Defines the kind of action associated with the drop data</value>
public Efl.Ui.SelectionAction Action;
/// <summary>Item under the drag position. It is only available for container</summary>
public Efl.Object Item;
- ///<summary>Constructor for SelectionData.</summary>
+ /// <summary>Constructor for SelectionData.</summary>
+ /// <param name="Pos">Coordinates of the drop (DND operations only)</param>;
+ /// <param name="Format">Format of the selection</param>;
+ /// <param name="Content">Selection data</param>;
+ /// <param name="Action">Action to perform with the data</param>;
+ /// <param name="Item">Item under the drag position. It is only available for container</param>;
public SelectionData(
Eina.Position2D Pos = default(Eina.Position2D),
Efl.Ui.SelectionFormat Format = default(Efl.Ui.SelectionFormat),
this.Item = Item;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 SelectionData(IntPtr ptr)
{
var tmp = (SelectionData.NativeStruct)Marshal.PtrToStructure(ptr, typeof(SelectionData.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct SelectionData.</summary>
+ /// <summary>Internal wrapper for struct SelectionData.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
public Eina.Slice Content;
public Efl.Ui.SelectionAction Action;
- ///<summary>Internal wrapper for field Item</summary>
+ /// <summary>Internal wrapper for field Item</summary>
public System.IntPtr Item;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator SelectionData.NativeStruct(SelectionData _external_struct)
{
var _internal_struct = new SelectionData.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator SelectionData(SelectionData.NativeStruct _internal_struct)
{
var _external_struct = new SelectionData();
public struct SelectionChanged
{
/// <summary>Selection type</summary>
+ /// <value>Selection type</value>
public Efl.Ui.SelectionType Type;
/// <summary>The seat on which the selection changed, or NULL for "default"</summary>
public int Seat;
public System.IntPtr Display;
/// <summary>EINA_TRUE if the selection has an owner</summary>
public bool Exist;
- ///<summary>Constructor for SelectionChanged.</summary>
+ /// <summary>Constructor for SelectionChanged.</summary>
+ /// <param name="Type">Selection type</param>;
+ /// <param name="Seat">The seat on which the selection changed, or NULL for "default"</param>;
+ /// <param name="Display">The display connection object, NULL under X11</param>;
+ /// <param name="Exist">EINA_TRUE if the selection has an owner</param>;
public SelectionChanged(
Efl.Ui.SelectionType Type = default(Efl.Ui.SelectionType),
int Seat = default(int),
this.Exist = Exist;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 SelectionChanged(IntPtr ptr)
{
var tmp = (SelectionChanged.NativeStruct)Marshal.PtrToStructure(ptr, typeof(SelectionChanged.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct SelectionChanged.</summary>
+ /// <summary>Internal wrapper for struct SelectionChanged.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
public int Seat;
public System.IntPtr Display;
- ///<summary>Internal wrapper for field Exist</summary>
+ /// <summary>Internal wrapper for field Exist</summary>
public System.Byte Exist;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator SelectionChanged.NativeStruct(SelectionChanged _external_struct)
{
var _internal_struct = new SelectionChanged.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator SelectionChanged(SelectionChanged.NativeStruct _internal_struct)
{
var _external_struct = new SelectionChanged();
--- /dev/null
+#define EFL_BETA
+#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>Interface for getting access to a single selected item in the implementor.
+/// The implementor is free to allow a specific number of selectables beeing selected or not. This interface just covers always the latest selected selectable.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+[Efl.Ui.ISingleSelectableConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
+public interface ISingleSelectable :
+ Efl.Eo.IWrapper, IDisposable
+{
+ /// <summary>The selectable that was selected most recently.</summary>
+/// <returns>The latest selected item.</returns>
+Efl.Ui.ISelectable GetLastSelected();
+ /// <summary>A object that will be selected in case nothing is selected
+/// A object set to this property will be selected instead of no item beeing selected. Which means, there will be always at least one element selected. If this property is NULL, the state of "no item is selected" can be reached.
+///
+/// Setting this property as a result of selection events results in undefined behavior.</summary>
+Efl.Ui.ISelectable GetFallbackSelection();
+ /// <summary>A object that will be selected in case nothing is selected
+/// A object set to this property will be selected instead of no item beeing selected. Which means, there will be always at least one element selected. If this property is NULL, the state of "no item is selected" can be reached.
+///
+/// Setting this property as a result of selection events results in undefined behavior.</summary>
+void SetFallbackSelection(Efl.Ui.ISelectable fallback);
+ /// <summary>Called when there is a change in the selection state, this event will collect all the item selection change events that are happening within one loop iteration. This means, you will only get this event once, even if a lot of items have changed. If you are interested in detailed changes, subscribe to the selection,changed event of Efl.Ui.Selectable.</summary>
+ event EventHandler SelectionChangedEvt;
+ /// <summary>The selectable that was selected most recently.</summary>
+ /// <value>The latest selected item.</value>
+ Efl.Ui.ISelectable LastSelected {
+ get;
+ }
+ /// <summary>A object that will be selected in case nothing is selected
+ /// A object set to this property will be selected instead of no item beeing selected. Which means, there will be always at least one element selected. If this property is NULL, the state of "no item is selected" can be reached.
+ ///
+ /// Setting this property as a result of selection events results in undefined behavior.</summary>
+ Efl.Ui.ISelectable FallbackSelection {
+ get;
+ set;
+ }
+}
+/// <summary>Interface for getting access to a single selected item in the implementor.
+/// The implementor is free to allow a specific number of selectables beeing selected or not. This interface just covers always the latest selected selectable.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class ISingleSelectableConcrete :
+ Efl.Eo.EoWrapper
+ , ISingleSelectable
+
+{
+ /// <summary>Pointer to the native class description.</summary>
+ public override System.IntPtr NativeClass
+ {
+ get
+ {
+ if (((object)this).GetType() == typeof(ISingleSelectableConcrete))
+ {
+ return GetEflClassStatic();
+ }
+ else
+ {
+ return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
+ }
+ }
+ }
+
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private ISingleSelectableConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
+ [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
+ efl_ui_single_selectable_interface_get();
+ /// <summary>Initializes a new instance of the <see cref="ISingleSelectable"/> class.
+ /// Internal usage: 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>
+ private ISingleSelectableConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
+ {
+ }
+
+ /// <summary>Called when there is a change in the selection state, this event will collect all the item selection change events that are happening within one loop iteration. This means, you will only get this event once, even if a lot of items have changed. If you are interested in detailed changes, subscribe to the selection,changed event of Efl.Ui.Selectable.</summary>
+ public event EventHandler SelectionChangedEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_SINGLE_SELECTABLE_EVENT_SELECTION_CHANGED";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_SINGLE_SELECTABLE_EVENT_SELECTION_CHANGED";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event SelectionChangedEvt.</summary>
+ public void OnSelectionChangedEvt(EventArgs e)
+ {
+ var key = "_EFL_UI_SINGLE_SELECTABLE_EVENT_SELECTION_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>The selectable that was selected most recently.</summary>
+ /// <returns>The latest selected item.</returns>
+ public Efl.Ui.ISelectable GetLastSelected() {
+ var _ret_var = Efl.Ui.ISingleSelectableConcrete.NativeMethods.efl_ui_single_selectable_last_selected_get_ptr.Value.Delegate(this.NativeHandle);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>A object that will be selected in case nothing is selected
+ /// A object set to this property will be selected instead of no item beeing selected. Which means, there will be always at least one element selected. If this property is NULL, the state of "no item is selected" can be reached.
+ ///
+ /// Setting this property as a result of selection events results in undefined behavior.</summary>
+ public Efl.Ui.ISelectable GetFallbackSelection() {
+ var _ret_var = Efl.Ui.ISingleSelectableConcrete.NativeMethods.efl_ui_single_selectable_fallback_selection_get_ptr.Value.Delegate(this.NativeHandle);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>A object that will be selected in case nothing is selected
+ /// A object set to this property will be selected instead of no item beeing selected. Which means, there will be always at least one element selected. If this property is NULL, the state of "no item is selected" can be reached.
+ ///
+ /// Setting this property as a result of selection events results in undefined behavior.</summary>
+ public void SetFallbackSelection(Efl.Ui.ISelectable fallback) {
+ Efl.Ui.ISingleSelectableConcrete.NativeMethods.efl_ui_single_selectable_fallback_selection_set_ptr.Value.Delegate(this.NativeHandle,fallback);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>The selectable that was selected most recently.</summary>
+ /// <value>The latest selected item.</value>
+ public Efl.Ui.ISelectable LastSelected {
+ get { return GetLastSelected(); }
+ }
+ /// <summary>A object that will be selected in case nothing is selected
+ /// A object set to this property will be selected instead of no item beeing selected. Which means, there will be always at least one element selected. If this property is NULL, the state of "no item is selected" can be reached.
+ ///
+ /// Setting this property as a result of selection events results in undefined behavior.</summary>
+ public Efl.Ui.ISelectable FallbackSelection {
+ get { return GetFallbackSelection(); }
+ set { SetFallbackSelection(value); }
+ }
+ private static IntPtr GetEflClassStatic()
+ {
+ return Efl.Ui.ISingleSelectableConcrete.efl_ui_single_selectable_interface_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>();
+ var methods = Efl.Eo.Globals.GetUserMethods(type);
+
+ if (efl_ui_single_selectable_last_selected_get_static_delegate == null)
+ {
+ efl_ui_single_selectable_last_selected_get_static_delegate = new efl_ui_single_selectable_last_selected_get_delegate(last_selected_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetLastSelected") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_single_selectable_last_selected_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_single_selectable_last_selected_get_static_delegate) });
+ }
+
+ if (efl_ui_single_selectable_fallback_selection_get_static_delegate == null)
+ {
+ efl_ui_single_selectable_fallback_selection_get_static_delegate = new efl_ui_single_selectable_fallback_selection_get_delegate(fallback_selection_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetFallbackSelection") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_single_selectable_fallback_selection_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_single_selectable_fallback_selection_get_static_delegate) });
+ }
+
+ if (efl_ui_single_selectable_fallback_selection_set_static_delegate == null)
+ {
+ efl_ui_single_selectable_fallback_selection_set_static_delegate = new efl_ui_single_selectable_fallback_selection_set_delegate(fallback_selection_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetFallbackSelection") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_single_selectable_fallback_selection_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_single_selectable_fallback_selection_set_static_delegate) });
+ }
+
+ 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.ISingleSelectableConcrete.efl_ui_single_selectable_interface_get();
+ }
+
+ #pragma warning disable CA1707, CS1591, SA1300, SA1600
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ private delegate Efl.Ui.ISelectable efl_ui_single_selectable_last_selected_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ public delegate Efl.Ui.ISelectable efl_ui_single_selectable_last_selected_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_single_selectable_last_selected_get_api_delegate> efl_ui_single_selectable_last_selected_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_single_selectable_last_selected_get_api_delegate>(Module, "efl_ui_single_selectable_last_selected_get");
+
+ private static Efl.Ui.ISelectable last_selected_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_single_selectable_last_selected_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.Ui.ISelectable _ret_var = default(Efl.Ui.ISelectable);
+ try
+ {
+ _ret_var = ((ISingleSelectable)ws.Target).GetLastSelected();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_single_selectable_last_selected_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_single_selectable_last_selected_get_delegate efl_ui_single_selectable_last_selected_get_static_delegate;
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ private delegate Efl.Ui.ISelectable efl_ui_single_selectable_fallback_selection_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ public delegate Efl.Ui.ISelectable efl_ui_single_selectable_fallback_selection_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_single_selectable_fallback_selection_get_api_delegate> efl_ui_single_selectable_fallback_selection_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_single_selectable_fallback_selection_get_api_delegate>(Module, "efl_ui_single_selectable_fallback_selection_get");
+
+ private static Efl.Ui.ISelectable fallback_selection_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_single_selectable_fallback_selection_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.Ui.ISelectable _ret_var = default(Efl.Ui.ISelectable);
+ try
+ {
+ _ret_var = ((ISingleSelectable)ws.Target).GetFallbackSelection();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_single_selectable_fallback_selection_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_single_selectable_fallback_selection_get_delegate efl_ui_single_selectable_fallback_selection_get_static_delegate;
+
+
+ private delegate void efl_ui_single_selectable_fallback_selection_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.ISelectable fallback);
+
+
+ public delegate void efl_ui_single_selectable_fallback_selection_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.ISelectable fallback);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_single_selectable_fallback_selection_set_api_delegate> efl_ui_single_selectable_fallback_selection_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_single_selectable_fallback_selection_set_api_delegate>(Module, "efl_ui_single_selectable_fallback_selection_set");
+
+ private static void fallback_selection_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ISelectable fallback)
+ {
+ Eina.Log.Debug("function efl_ui_single_selectable_fallback_selection_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((ISingleSelectable)ws.Target).SetFallbackSelection(fallback);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_single_selectable_fallback_selection_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), fallback);
+ }
+ }
+
+ private static efl_ui_single_selectable_fallback_selection_set_delegate efl_ui_single_selectable_fallback_selection_set_static_delegate;
+
+ #pragma warning restore CA1707, CS1591, SA1300, SA1600
+
+}
+}
+}
+
+}
+
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiISingleSelectableConcrete_ExtensionMethods {
+
+ public static Efl.BindableProperty<Efl.Ui.ISelectable> FallbackSelection<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.ISingleSelectable, T>magic = null) where T : Efl.Ui.ISingleSelectable {
+ return new Efl.BindableProperty<Efl.Ui.ISelectable>("fallback_selection", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Elementary slider class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Slider(ConstructingHandle ch) : base(ch)
{
{
}
- /// <summary>Called when the slider position has changed.</summary>
+ /// <summary>Called when a slider drag operation has started. This means a <c>press</c> event has been received on the slider thumb but not the <c>unpress</c>.</summary>
+ public event EventHandler SliderDragStartEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_SLIDER_EVENT_SLIDER_DRAG_START";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_SLIDER_EVENT_SLIDER_DRAG_START";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event SliderDragStartEvt.</summary>
+ public void OnSliderDragStartEvt(EventArgs e)
+ {
+ var key = "_EFL_UI_SLIDER_EVENT_SLIDER_DRAG_START";
+ 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>Called when a slider drag operation has finished. This means an <c>unpress</c> event has been received on the slider thumb.</summary>
+ public event EventHandler SliderDragStopEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_SLIDER_EVENT_SLIDER_DRAG_STOP";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_SLIDER_EVENT_SLIDER_DRAG_STOP";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event SliderDragStopEvt.</summary>
+ public void OnSliderDragStopEvt(EventArgs e)
+ {
+ var key = "_EFL_UI_SLIDER_EVENT_SLIDER_DRAG_STOP";
+ 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>Emitted when the <see cref="Efl.Ui.IRangeDisplay.RangeValue"/> is getting changed.</summary>
public event EventHandler ChangedEvt
{
add
}
};
- string key = "_EFL_UI_SLIDER_EVENT_CHANGED";
+ string key = "_EFL_UI_RANGE_EVENT_CHANGED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_SLIDER_EVENT_CHANGED";
+ string key = "_EFL_UI_RANGE_EVENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event ChangedEvt.</summary>
+ /// <summary>Method to raise event ChangedEvt.</summary>
public void OnChangedEvt(EventArgs e)
{
- var key = "_EFL_UI_SLIDER_EVENT_CHANGED";
+ var key = "_EFL_UI_RANGE_EVENT_CHANGED";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Called when the slider position has changed and has remained unchanged for 0.2s. This allows filtering out unwanted "noise" from the slider signal if you are only interested in the final position of the slider. Use this signal instead of <see cref="Efl.Ui.Slider.ChangedEvt"/> if you are going to perform a costly operation on its handler.</summary>
- public event EventHandler SteadyEvt
+ /// <summary>Emitted when the <see cref="Efl.Ui.IRangeDisplay.RangeValue"/> has reached the minimum of <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/>.</summary>
+ public event EventHandler MinReachedEvt
{
add
{
}
};
- string key = "_EFL_UI_SLIDER_EVENT_STEADY";
+ string key = "_EFL_UI_RANGE_EVENT_MIN_REACHED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_SLIDER_EVENT_STEADY";
+ string key = "_EFL_UI_RANGE_EVENT_MIN_REACHED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event SteadyEvt.</summary>
- public void OnSteadyEvt(EventArgs e)
+ /// <summary>Method to raise event MinReachedEvt.</summary>
+ public void OnMinReachedEvt(EventArgs e)
{
- var key = "_EFL_UI_SLIDER_EVENT_STEADY";
+ var key = "_EFL_UI_RANGE_EVENT_MIN_REACHED";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Called when a slider drag operation has started. This means a <c>press</c> event has been received on the slider thumb but not the <c>unpress</c>.</summary>
- public event EventHandler SliderDragStartEvt
+ /// <summary>Emitted when the <c>range_value</c> has reached the maximum of <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/>.</summary>
+ public event EventHandler MaxReachedEvt
{
add
{
}
};
- string key = "_EFL_UI_SLIDER_EVENT_SLIDER_DRAG_START";
+ string key = "_EFL_UI_RANGE_EVENT_MAX_REACHED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_SLIDER_EVENT_SLIDER_DRAG_START";
+ string key = "_EFL_UI_RANGE_EVENT_MAX_REACHED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event SliderDragStartEvt.</summary>
- public void OnSliderDragStartEvt(EventArgs e)
+ /// <summary>Method to raise event MaxReachedEvt.</summary>
+ public void OnMaxReachedEvt(EventArgs e)
{
- var key = "_EFL_UI_SLIDER_EVENT_SLIDER_DRAG_START";
+ var key = "_EFL_UI_RANGE_EVENT_MAX_REACHED";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Called when a slider drag operation has finished. This means an <c>unpress</c> event has been received on the slider thumb.</summary>
- public event EventHandler SliderDragStopEvt
+ /// <summary>Called when the widget's value has changed and has remained unchanged for 0.2s. This allows filtering out unwanted "noise" from the widget if you are only interested in its final position. Use this event instead of <see cref="Efl.Ui.IRangeDisplay.ChangedEvt"/> if you are going to perform a costly operation on its handler.</summary>
+ public event EventHandler SteadyEvt
{
add
{
}
};
- string key = "_EFL_UI_SLIDER_EVENT_SLIDER_DRAG_STOP";
+ string key = "_EFL_UI_RANGE_EVENT_STEADY";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_SLIDER_EVENT_SLIDER_DRAG_STOP";
+ string key = "_EFL_UI_RANGE_EVENT_STEADY";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event SliderDragStopEvt.</summary>
- public void OnSliderDragStopEvt(EventArgs e)
+ /// <summary>Method to raise event SteadyEvt.</summary>
+ public void OnSteadyEvt(EventArgs e)
{
- var key = "_EFL_UI_SLIDER_EVENT_SLIDER_DRAG_STOP";
+ var key = "_EFL_UI_RANGE_EVENT_STEADY";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
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
- /// 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>
+ /// <summary>Control the value (position) of the widget within its valid range.
+ /// Values outside the limits defined in <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/> are ignored and an error is printed.</summary>
+ /// <returns>The range value (must be within the bounds of <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/>).</returns>
virtual public double GetRangeValue() {
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;
}
- /// <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>
- /// <param name="val">The range value (must be between $0.0 and 1.0)</param>
+ /// <summary>Control the value (position) of the widget within its valid range.
+ /// Values outside the limits defined in <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/> are ignored and an error is printed.</summary>
+ /// <param name="val">The range value (must be within the bounds of <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/>).</param>
virtual public void SetRangeValue(double 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.
- /// Note: If only one value is needed, the other pointer can be passed as <c>null</c>.</summary>
+ /// <summary>Set the minimum and maximum values for given range widget.
+ /// If the current value is less than <c>min</c>, it will be updated to <c>min</c>. If it is bigger then <c>max</c>, will be updated to <c>max</c>. The resulting value can be obtained with <see cref="Efl.Ui.IRangeDisplay.GetRangeValue"/>.
+ ///
+ /// The default minimum and maximum values may be different for each class.
+ ///
+ /// Note: maximum must be greater than minimum, otherwise behavior is undefined.</summary>
/// <param name="min">The minimum value.</param>
/// <param name="max">The maximum value.</param>
virtual public void GetRangeLimits(out double min, out double max) {
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the minimum and maximum values for given range widget.
- /// Define the allowed range of values to be selected by the user.
- ///
- /// If actual value is less than <c>min</c>, it will be updated to <c>min</c>. If it is bigger then <c>max</c>, will be updated to <c>max</c>. The actual value can be obtained with <see cref="Efl.Ui.IRangeDisplay.GetRangeValue"/>
+ /// If the current value is less than <c>min</c>, it will be updated to <c>min</c>. If it is bigger then <c>max</c>, will be updated to <c>max</c>. The resulting value can be obtained with <see cref="Efl.Ui.IRangeDisplay.GetRangeValue"/>.
///
- /// The minimum and maximum values may be different for each class.
+ /// The default minimum and maximum values may be different for each class.
///
- /// Warning: maximum must be greater than minimum, otherwise behavior is undefined.</summary>
+ /// Note: maximum must be greater than minimum, otherwise behavior is undefined.</summary>
/// <param name="min">The minimum value.</param>
/// <param name="max">The maximum value.</param>
virtual public void SetRangeLimits(double min, double max) {
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>Value and text property</summary>
+ /// <value>Value of widget casted to floating point number.</value>
+ public (double, System.String) ValueAndText {
+ get {
+ double _out_value = default(double);
+ System.String _out_text = default(System.String);
+ GetValueAndText(out _out_value,out _out_text);
+ return (_out_value,_out_text);
+ }
+ set { SetValueAndText( value.Item1, value.Item2); }
+ }
+ /// <summary>Gets a range of all possible values and its description</summary>
+ public (double, double, System.String) Range {
+ get {
+ double _out_lower_limit = default(double);
+ double _out_upper_limit = default(double);
+ System.String _out_description = default(System.String);
+ GetRange(out _out_lower_limit,out _out_upper_limit,out _out_description);
+ return (_out_lower_limit,_out_upper_limit,_out_description);
+ }
+ }
/// <summary>Gets an minimal incrementation value</summary>
/// <value>Minimal incrementation value</value>
public double Increment {
get { return GetOrientation(); }
set { SetOrientation(value); }
}
- /// <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>
- /// <value>The range value (must be between $0.0 and 1.0)</value>
+ /// <summary>Control the value (position) of the widget within its valid range.
+ /// Values outside the limits defined in <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/> are ignored and an error is printed.</summary>
+ /// <value>The range value (must be within the bounds of <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/>).</value>
public double RangeValue {
get { return GetRangeValue(); }
set { SetRangeValue(value); }
}
+ /// <summary>Set the minimum and maximum values for given range widget.
+ /// If the current value is less than <c>min</c>, it will be updated to <c>min</c>. If it is bigger then <c>max</c>, will be updated to <c>max</c>. The resulting value can be obtained with <see cref="Efl.Ui.IRangeDisplay.GetRangeValue"/>.
+ ///
+ /// The default minimum and maximum values may be different for each class.
+ ///
+ /// Note: maximum must be greater than minimum, otherwise behavior is undefined.</summary>
+ /// <value>The minimum value.</value>
+ public (double, double) RangeLimits {
+ get {
+ double _out_min = default(double);
+ double _out_max = default(double);
+ GetRangeLimits(out _out_min,out _out_max);
+ return (_out_min,_out_max);
+ }
+ set { SetRangeLimits( value.Item1, value.Item2); }
+ }
/// <summary>Control the step used to increment or decrement values for given widget.
/// This value will be incremented or decremented to the displayed value.
///
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiSlider_ExtensionMethods {
+
+
+
+ public static Efl.BindableProperty<Efl.Ui.LayoutOrientation> Orientation<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Slider, T>magic = null) where T : Efl.Ui.Slider {
+ return new Efl.BindableProperty<Efl.Ui.LayoutOrientation>("orientation", fac);
+ }
+
+ public static Efl.BindableProperty<double> RangeValue<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Slider, T>magic = null) where T : Efl.Ui.Slider {
+ return new Efl.BindableProperty<double>("range_value", fac);
+ }
+
+
+ public static Efl.BindableProperty<double> RangeStep<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Slider, T>magic = null) where T : Efl.Ui.Slider {
+ return new Efl.BindableProperty<double>("range_step", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+++ /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>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>
- public override System.IntPtr NativeClass
- {
- get
- {
- if (((object)this).GetType() == typeof(SliderInterval))
- {
- 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_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>
- public SliderInterval(Efl.Object parent
- , System.String style = null) : base(efl_ui_slider_interval_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 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="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="parent">The Efl.Object parent of this instance.</param>
- protected SliderInterval(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
- {
- }
-
- /// <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 GetIntervalValue(out double from, out double 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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),from, to);
- Eina.Error.RaiseIfUnhandledException();
- }
- private static IntPtr GetEflClassStatic()
- {
- return Efl.Ui.SliderInterval.efl_ui_slider_interval_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.Slider.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_slider_interval_value_get_static_delegate == null)
- {
- efl_ui_slider_interval_value_get_static_delegate = new efl_ui_slider_interval_value_get_delegate(interval_value_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetIntervalValue") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_slider_interval_value_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_slider_interval_value_get_static_delegate) });
- }
-
- if (efl_ui_slider_interval_value_set_static_delegate == null)
- {
- efl_ui_slider_interval_value_set_static_delegate = new efl_ui_slider_interval_value_set_delegate(interval_value_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetIntervalValue") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_slider_interval_value_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_slider_interval_value_set_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.SliderInterval.efl_ui_slider_interval_class_get();
- }
-
- #pragma warning disable CA1707, CS1591, SA1300, SA1600
-
-
- private delegate void efl_ui_slider_interval_value_get_delegate(System.IntPtr obj, System.IntPtr pd, out double from, out double to);
-
-
- public delegate void efl_ui_slider_interval_value_get_api_delegate(System.IntPtr obj, out double from, out double to);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_slider_interval_value_get_api_delegate> efl_ui_slider_interval_value_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_slider_interval_value_get_api_delegate>(Module, "efl_ui_slider_interval_value_get");
-
- private static void interval_value_get(System.IntPtr obj, System.IntPtr pd, out double from, out double to)
- {
- Eina.Log.Debug("function efl_ui_slider_interval_value_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- from = default(double); to = default(double);
- try
- {
- ((SliderInterval)ws.Target).GetIntervalValue(out from, out to);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_slider_interval_value_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out from, out to);
- }
- }
-
- private static efl_ui_slider_interval_value_get_delegate efl_ui_slider_interval_value_get_static_delegate;
-
-
- private delegate void efl_ui_slider_interval_value_set_delegate(System.IntPtr obj, System.IntPtr pd, double from, double to);
-
-
- public delegate void efl_ui_slider_interval_value_set_api_delegate(System.IntPtr obj, double from, double to);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_slider_interval_value_set_api_delegate> efl_ui_slider_interval_value_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_slider_interval_value_set_api_delegate>(Module, "efl_ui_slider_interval_value_set");
-
- private static void interval_value_set(System.IntPtr obj, System.IntPtr pd, double from, double to)
- {
- Eina.Log.Debug("function efl_ui_slider_interval_value_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((SliderInterval)ws.Target).SetIntervalValue(from, to);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_slider_interval_value_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), from, to);
- }
- }
-
- private static efl_ui_slider_interval_value_set_delegate efl_ui_slider_interval_value_set_static_delegate;
-
- #pragma warning restore CA1707, CS1591, SA1300, SA1600
-
-}
-}
-}
-
-}
-
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <summary>A Spin.
/// 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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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
+public class Spin : Efl.Ui.LayoutBase, Efl.Access.IValue, Efl.Ui.IFormat, Efl.Ui.IRangeDisplay
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Spin(ConstructingHandle ch) : base(ch)
{
{
}
- /// <summary>Called when spin changed</summary>
+ /// <summary>Emitted when the <see cref="Efl.Ui.IRangeDisplay.RangeValue"/> is getting changed.</summary>
public event EventHandler ChangedEvt
{
add
}
};
- string key = "_EFL_UI_SPIN_EVENT_CHANGED";
+ string key = "_EFL_UI_RANGE_EVENT_CHANGED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_SPIN_EVENT_CHANGED";
+ string key = "_EFL_UI_RANGE_EVENT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event ChangedEvt.</summary>
+ /// <summary>Method to raise event ChangedEvt.</summary>
public void OnChangedEvt(EventArgs e)
{
- var key = "_EFL_UI_SPIN_EVENT_CHANGED";
+ var key = "_EFL_UI_RANGE_EVENT_CHANGED";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Called when spin value reached min</summary>
+ /// <summary>Emitted when the <see cref="Efl.Ui.IRangeDisplay.RangeValue"/> has reached the minimum of <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/>.</summary>
public event EventHandler MinReachedEvt
{
add
}
};
- string key = "_EFL_UI_SPIN_EVENT_MIN_REACHED";
+ string key = "_EFL_UI_RANGE_EVENT_MIN_REACHED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_SPIN_EVENT_MIN_REACHED";
+ string key = "_EFL_UI_RANGE_EVENT_MIN_REACHED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event MinReachedEvt.</summary>
+ /// <summary>Method to raise event MinReachedEvt.</summary>
public void OnMinReachedEvt(EventArgs e)
{
- var key = "_EFL_UI_SPIN_EVENT_MIN_REACHED";
+ var key = "_EFL_UI_RANGE_EVENT_MIN_REACHED";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Called when spin value reached max</summary>
+ /// <summary>Emitted when the <c>range_value</c> has reached the maximum of <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/>.</summary>
public event EventHandler MaxReachedEvt
{
add
}
};
- string key = "_EFL_UI_SPIN_EVENT_MAX_REACHED";
+ string key = "_EFL_UI_RANGE_EVENT_MAX_REACHED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_SPIN_EVENT_MAX_REACHED";
+ string key = "_EFL_UI_RANGE_EVENT_MAX_REACHED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event MaxReachedEvt.</summary>
+ /// <summary>Method to raise event MaxReachedEvt.</summary>
public void OnMaxReachedEvt(EventArgs e)
{
- var key = "_EFL_UI_SPIN_EVENT_MAX_REACHED";
+ var key = "_EFL_UI_RANGE_EVENT_MAX_REACHED";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
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>
+ /// <summary>Control the value (position) of the widget within its valid range.
+ /// Values outside the limits defined in <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/> are ignored and an error is printed.</summary>
+ /// <returns>The range value (must be within the bounds of <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/>).</returns>
virtual public double GetRangeValue() {
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;
}
- /// <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>
- /// <param name="val">The range value (must be between $0.0 and 1.0)</param>
+ /// <summary>Control the value (position) of the widget within its valid range.
+ /// Values outside the limits defined in <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/> are ignored and an error is printed.</summary>
+ /// <param name="val">The range value (must be within the bounds of <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/>).</param>
virtual public void SetRangeValue(double 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.
- /// Note: If only one value is needed, the other pointer can be passed as <c>null</c>.</summary>
+ /// <summary>Set the minimum and maximum values for given range widget.
+ /// If the current value is less than <c>min</c>, it will be updated to <c>min</c>. If it is bigger then <c>max</c>, will be updated to <c>max</c>. The resulting value can be obtained with <see cref="Efl.Ui.IRangeDisplay.GetRangeValue"/>.
+ ///
+ /// The default minimum and maximum values may be different for each class.
+ ///
+ /// Note: maximum must be greater than minimum, otherwise behavior is undefined.</summary>
/// <param name="min">The minimum value.</param>
/// <param name="max">The maximum value.</param>
virtual public void GetRangeLimits(out double min, out double max) {
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Set the minimum and maximum values for given range widget.
- /// Define the allowed range of values to be selected by the user.
- ///
- /// If actual value is less than <c>min</c>, it will be updated to <c>min</c>. If it is bigger then <c>max</c>, will be updated to <c>max</c>. The actual value can be obtained with <see cref="Efl.Ui.IRangeDisplay.GetRangeValue"/>
+ /// If the current value is less than <c>min</c>, it will be updated to <c>min</c>. If it is bigger then <c>max</c>, will be updated to <c>max</c>. The resulting value can be obtained with <see cref="Efl.Ui.IRangeDisplay.GetRangeValue"/>.
///
- /// The minimum and maximum values may be different for each class.
+ /// The default minimum and maximum values may be different for each class.
///
- /// Warning: maximum must be greater than minimum, otherwise behavior is undefined.</summary>
+ /// Note: maximum must be greater than minimum, otherwise behavior is undefined.</summary>
/// <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((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.
- /// This value will be incremented or decremented to the displayed value.
- ///
- /// By default step value is equal to 1.
- ///
- /// 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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Control the step used to increment or decrement values for given widget.
- /// This value will be incremented or decremented to the displayed value.
- ///
- /// By default step value is equal to 1.
- ///
- /// 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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),step);
- Eina.Error.RaiseIfUnhandledException();
- }
+ /// <summary>Value and text property</summary>
+ /// <value>Value of widget casted to floating point number.</value>
+ public (double, System.String) ValueAndText {
+ get {
+ double _out_value = default(double);
+ System.String _out_text = default(System.String);
+ GetValueAndText(out _out_value,out _out_text);
+ return (_out_value,_out_text);
+ }
+ set { SetValueAndText( value.Item1, value.Item2); }
+ }
+ /// <summary>Gets a range of all possible values and its description</summary>
+ public (double, double, System.String) Range {
+ get {
+ double _out_lower_limit = default(double);
+ double _out_upper_limit = default(double);
+ System.String _out_description = default(System.String);
+ GetRange(out _out_lower_limit,out _out_upper_limit,out _out_description);
+ return (_out_lower_limit,_out_upper_limit,_out_description);
+ }
+ }
/// <summary>Gets an minimal incrementation value</summary>
/// <value>Minimal incrementation value</value>
public double Increment {
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.
+ /// <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: 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>
- /// <value>The range value (must be between $0.0 and 1.0)</value>
+ /// Pass <c>NULL</c> to disable this mechanism.</summary>
+ /// <value>Formatting string containing regular characters and format specifiers.</value>
+ public (System.String, Efl.Ui.FormatStringType) FormatString {
+ get {
+ System.String _out_kw_string = default(System.String);
+ Efl.Ui.FormatStringType _out_type = default(Efl.Ui.FormatStringType);
+ GetFormatString(out _out_kw_string,out _out_type);
+ return (_out_kw_string,_out_type);
+ }
+ set { SetFormatString( value.Item1, value.Item2); }
+ }
+ /// <summary>Control the value (position) of the widget within its valid range.
+ /// Values outside the limits defined in <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/> are ignored and an error is printed.</summary>
+ /// <value>The range value (must be within the bounds of <see cref="Efl.Ui.IRangeDisplay.GetRangeLimits"/>).</value>
public double RangeValue {
get { return GetRangeValue(); }
set { SetRangeValue(value); }
}
- /// <summary>Control the step used to increment or decrement values for given widget.
- /// This value will be incremented or decremented to the displayed value.
+ /// <summary>Set the minimum and maximum values for given range widget.
+ /// If the current value is less than <c>min</c>, it will be updated to <c>min</c>. If it is bigger then <c>max</c>, will be updated to <c>max</c>. The resulting value can be obtained with <see cref="Efl.Ui.IRangeDisplay.GetRangeValue"/>.
///
- /// By default step value is equal to 1.
+ /// The default minimum and maximum values may be different for each class.
///
- /// Warning: The step value should be bigger than 0.</summary>
- /// <value>The step value.</value>
- public double RangeStep {
- get { return GetRangeStep(); }
- set { SetRangeStep(value); }
+ /// Note: maximum must be greater than minimum, otherwise behavior is undefined.</summary>
+ /// <value>The minimum value.</value>
+ public (double, double) RangeLimits {
+ get {
+ double _out_min = default(double);
+ double _out_max = default(double);
+ GetRangeLimits(out _out_min,out _out_max);
+ return (_out_min,_out_max);
+ }
+ set { SetRangeLimits( value.Item1, value.Item2); }
}
private static IntPtr GetEflClassStatic()
{
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_range_limits_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_range_limits_set_static_delegate) });
}
- if (efl_ui_range_step_get_static_delegate == null)
- {
- efl_ui_range_step_get_static_delegate = new efl_ui_range_step_get_delegate(range_step_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetRangeStep") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_range_step_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_range_step_get_static_delegate) });
- }
-
- if (efl_ui_range_step_set_static_delegate == null)
- {
- efl_ui_range_step_set_static_delegate = new efl_ui_range_step_set_delegate(range_step_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetRangeStep") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_range_step_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_range_step_set_static_delegate) });
- }
-
descs.AddRange(base.GetEoOps(type));
return descs;
}
private static efl_ui_range_limits_set_delegate efl_ui_range_limits_set_static_delegate;
-
- private delegate double efl_ui_range_step_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate double efl_ui_range_step_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_range_step_get_api_delegate> efl_ui_range_step_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_range_step_get_api_delegate>(Module, "efl_ui_range_step_get");
-
- private static double range_step_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_range_step_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- double _ret_var = default(double);
- try
- {
- _ret_var = ((Spin)ws.Target).GetRangeStep();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_range_step_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_range_step_get_delegate efl_ui_range_step_get_static_delegate;
-
-
- private delegate void efl_ui_range_step_set_delegate(System.IntPtr obj, System.IntPtr pd, double step);
-
-
- public delegate void efl_ui_range_step_set_api_delegate(System.IntPtr obj, double step);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_range_step_set_api_delegate> efl_ui_range_step_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_range_step_set_api_delegate>(Module, "efl_ui_range_step_set");
-
- private static void range_step_set(System.IntPtr obj, System.IntPtr pd, double step)
- {
- Eina.Log.Debug("function efl_ui_range_step_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((Spin)ws.Target).SetRangeStep(step);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_range_step_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), step);
- }
- }
-
- private static efl_ui_range_step_set_delegate efl_ui_range_step_set_static_delegate;
-
#pragma warning restore CA1707, CS1591, SA1300, SA1600
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiSpin_ExtensionMethods {
+
+
+
+ public static Efl.BindableProperty<Efl.Ui.FormatFunc> FormatFunc<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Spin, T>magic = null) where T : Efl.Ui.Spin {
+ return new Efl.BindableProperty<Efl.Ui.FormatFunc>("format_func", fac);
+ }
+
+ public static Efl.BindableProperty<Eina.Accessor<Efl.Ui.FormatValue>> FormatValues<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Spin, T>magic = null) where T : Efl.Ui.Spin {
+ return new Efl.BindableProperty<Eina.Accessor<Efl.Ui.FormatValue>>("format_values", fac);
+ }
+
+
+ public static Efl.BindableProperty<double> RangeValue<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Spin, T>magic = null) where T : Efl.Ui.Spin {
+ return new Efl.BindableProperty<double>("range_value", fac);
+ }
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.SpinButton.NativeMethods]
[Efl.Eo.BindingEntity]
-public class SpinButton : Efl.Ui.Spin, Efl.Ui.ILayoutOrientable, Efl.Ui.Focus.IComposition
+public class SpinButton : Efl.Ui.Spin, Efl.Ui.ILayoutOrientable, Efl.Ui.IRangeInteractive, Efl.Ui.Focus.IComposition
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected SpinButton(ConstructingHandle ch) : base(ch)
{
{
}
- /// <summary>Called when spin delay is changed.</summary>
- public event EventHandler DelayChangedEvt
+ /// <summary>Called when the widget's value has changed and has remained unchanged for 0.2s. This allows filtering out unwanted "noise" from the widget if you are only interested in its final position. Use this event instead of <see cref="Efl.Ui.IRangeDisplay.ChangedEvt"/> if you are going to perform a costly operation on its handler.</summary>
+ public event EventHandler SteadyEvt
{
add
{
}
};
- string key = "_EFL_UI_SPIN_BUTTON_EVENT_DELAY_CHANGED";
+ string key = "_EFL_UI_RANGE_EVENT_STEADY";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_SPIN_BUTTON_EVENT_DELAY_CHANGED";
+ string key = "_EFL_UI_RANGE_EVENT_STEADY";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event DelayChangedEvt.</summary>
- public void OnDelayChangedEvt(EventArgs e)
+ /// <summary>Method to raise event SteadyEvt.</summary>
+ public void OnSteadyEvt(EventArgs e)
{
- var key = "_EFL_UI_SPIN_BUTTON_EVENT_DELAY_CHANGED";
+ var key = "_EFL_UI_RANGE_EVENT_STEADY";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
///
/// 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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ virtual public bool GetWraparound() {
+ var _ret_var = Efl.Ui.SpinButton.NativeMethods.efl_ui_spin_button_wraparound_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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),circulate);
+ virtual public void SetWraparound(bool circulate) {
+ Efl.Ui.SpinButton.NativeMethods.efl_ui_spin_button_wraparound_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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ virtual public bool GetDirectTextInput() {
+ var _ret_var = Efl.Ui.SpinButton.NativeMethods.efl_ui_spin_button_direct_text_input_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <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>
- /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),editable);
+ /// <param name="direct_text_input"><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 SetDirectTextInput(bool direct_text_input) {
+ Efl.Ui.SpinButton.NativeMethods.efl_ui_spin_button_direct_text_input_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),direct_text_input);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Control the direction of a given widget.
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 step used to increment or decrement values for given widget.
+ /// This value will be incremented or decremented to the displayed value.
+ ///
+ /// By default step value is equal to 1.
+ ///
+ /// 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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Control the step used to increment or decrement values for given widget.
+ /// This value will be incremented or decremented to the displayed value.
+ ///
+ /// By default step value is equal to 1.
+ ///
+ /// 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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),step);
+ 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.
///
///
/// When the user decrements the value (using left or bottom arrow), it will display $50.</summary>
/// <value><c>true</c> to enable circulate or <c>false</c> to disable it.</value>
- public bool Circulate {
- get { return GetCirculate(); }
- set { SetCirculate(value); }
+ public bool Wraparound {
+ get { return GetWraparound(); }
+ set { SetWraparound(value); }
}
/// <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>
/// <value><c>true</c> to allow users to edit it or <c>false</c> to don't allow users to edit it directly.</value>
- public bool Editable {
- get { return GetEditable(); }
- set { SetEditable(value); }
+ public bool DirectTextInput {
+ get { return GetDirectTextInput(); }
+ set { SetDirectTextInput(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.
get { return GetOrientation(); }
set { SetOrientation(value); }
}
+ /// <summary>Control the step used to increment or decrement values for given widget.
+ /// This value will be incremented or decremented to the displayed value.
+ ///
+ /// By default step value is equal to 1.
+ ///
+ /// Warning: The step value should be bigger than 0.</summary>
+ /// <value>The step value.</value>
+ public double RangeStep {
+ get { return GetRangeStep(); }
+ set { SetRangeStep(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.
///
var descs = new System.Collections.Generic.List<Efl_Op_Description>();
var methods = Efl.Eo.Globals.GetUserMethods(type);
- if (efl_ui_spin_button_circulate_get_static_delegate == null)
+ if (efl_ui_spin_button_wraparound_get_static_delegate == null)
{
- efl_ui_spin_button_circulate_get_static_delegate = new efl_ui_spin_button_circulate_get_delegate(circulate_get);
+ efl_ui_spin_button_wraparound_get_static_delegate = new efl_ui_spin_button_wraparound_get_delegate(wraparound_get);
}
- if (methods.FirstOrDefault(m => m.Name == "GetCirculate") != null)
+ if (methods.FirstOrDefault(m => m.Name == "GetWraparound") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spin_button_circulate_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spin_button_circulate_get_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spin_button_wraparound_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spin_button_wraparound_get_static_delegate) });
}
- if (efl_ui_spin_button_circulate_set_static_delegate == null)
+ if (efl_ui_spin_button_wraparound_set_static_delegate == null)
{
- efl_ui_spin_button_circulate_set_static_delegate = new efl_ui_spin_button_circulate_set_delegate(circulate_set);
+ efl_ui_spin_button_wraparound_set_static_delegate = new efl_ui_spin_button_wraparound_set_delegate(wraparound_set);
}
- if (methods.FirstOrDefault(m => m.Name == "SetCirculate") != null)
+ if (methods.FirstOrDefault(m => m.Name == "SetWraparound") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spin_button_circulate_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spin_button_circulate_set_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spin_button_wraparound_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spin_button_wraparound_set_static_delegate) });
}
- if (efl_ui_spin_button_editable_get_static_delegate == null)
+ if (efl_ui_spin_button_direct_text_input_get_static_delegate == null)
{
- efl_ui_spin_button_editable_get_static_delegate = new efl_ui_spin_button_editable_get_delegate(editable_get);
+ efl_ui_spin_button_direct_text_input_get_static_delegate = new efl_ui_spin_button_direct_text_input_get_delegate(direct_text_input_get);
}
- if (methods.FirstOrDefault(m => m.Name == "GetEditable") != null)
+ if (methods.FirstOrDefault(m => m.Name == "GetDirectTextInput") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spin_button_editable_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spin_button_editable_get_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spin_button_direct_text_input_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spin_button_direct_text_input_get_static_delegate) });
}
- if (efl_ui_spin_button_editable_set_static_delegate == null)
+ if (efl_ui_spin_button_direct_text_input_set_static_delegate == null)
{
- efl_ui_spin_button_editable_set_static_delegate = new efl_ui_spin_button_editable_set_delegate(editable_set);
+ efl_ui_spin_button_direct_text_input_set_static_delegate = new efl_ui_spin_button_direct_text_input_set_delegate(direct_text_input_set);
}
- if (methods.FirstOrDefault(m => m.Name == "SetEditable") != null)
+ if (methods.FirstOrDefault(m => m.Name == "SetDirectTextInput") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spin_button_editable_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spin_button_editable_set_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spin_button_direct_text_input_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spin_button_direct_text_input_set_static_delegate) });
}
if (efl_ui_layout_orientation_get_static_delegate == null)
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_layout_orientation_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_layout_orientation_set_static_delegate) });
}
+ if (efl_ui_range_step_get_static_delegate == null)
+ {
+ efl_ui_range_step_get_static_delegate = new efl_ui_range_step_get_delegate(range_step_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetRangeStep") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_range_step_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_range_step_get_static_delegate) });
+ }
+
+ if (efl_ui_range_step_set_static_delegate == null)
+ {
+ efl_ui_range_step_set_static_delegate = new efl_ui_range_step_set_delegate(range_step_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetRangeStep") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_range_step_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_range_step_set_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);
#pragma warning disable CA1707, CS1591, SA1300, SA1600
[return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_ui_spin_button_circulate_get_delegate(System.IntPtr obj, System.IntPtr pd);
+ private delegate bool efl_ui_spin_button_wraparound_get_delegate(System.IntPtr obj, System.IntPtr pd);
[return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_ui_spin_button_circulate_get_api_delegate(System.IntPtr obj);
+ public delegate bool efl_ui_spin_button_wraparound_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<efl_ui_spin_button_circulate_get_api_delegate> efl_ui_spin_button_circulate_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spin_button_circulate_get_api_delegate>(Module, "efl_ui_spin_button_circulate_get");
+ public static Efl.Eo.FunctionWrapper<efl_ui_spin_button_wraparound_get_api_delegate> efl_ui_spin_button_wraparound_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spin_button_wraparound_get_api_delegate>(Module, "efl_ui_spin_button_wraparound_get");
- private static bool circulate_get(System.IntPtr obj, System.IntPtr pd)
+ private static bool wraparound_get(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function efl_ui_spin_button_circulate_get was called");
+ Eina.Log.Debug("function efl_ui_spin_button_wraparound_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
bool _ret_var = default(bool);
try
{
- _ret_var = ((SpinButton)ws.Target).GetCirculate();
+ _ret_var = ((SpinButton)ws.Target).GetWraparound();
}
catch (Exception e)
{
}
else
{
- return efl_ui_spin_button_circulate_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ return efl_ui_spin_button_wraparound_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
- private static efl_ui_spin_button_circulate_get_delegate efl_ui_spin_button_circulate_get_static_delegate;
+ private static efl_ui_spin_button_wraparound_get_delegate efl_ui_spin_button_wraparound_get_static_delegate;
- private delegate void efl_ui_spin_button_circulate_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool circulate);
+ private delegate void efl_ui_spin_button_wraparound_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool circulate);
- public delegate void efl_ui_spin_button_circulate_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool circulate);
+ public delegate void efl_ui_spin_button_wraparound_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool circulate);
- public static Efl.Eo.FunctionWrapper<efl_ui_spin_button_circulate_set_api_delegate> efl_ui_spin_button_circulate_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spin_button_circulate_set_api_delegate>(Module, "efl_ui_spin_button_circulate_set");
+ public static Efl.Eo.FunctionWrapper<efl_ui_spin_button_wraparound_set_api_delegate> efl_ui_spin_button_wraparound_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spin_button_wraparound_set_api_delegate>(Module, "efl_ui_spin_button_wraparound_set");
- private static void circulate_set(System.IntPtr obj, System.IntPtr pd, bool circulate)
+ private static void wraparound_set(System.IntPtr obj, System.IntPtr pd, bool circulate)
{
- Eina.Log.Debug("function efl_ui_spin_button_circulate_set was called");
+ Eina.Log.Debug("function efl_ui_spin_button_wraparound_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
- ((SpinButton)ws.Target).SetCirculate(circulate);
+ ((SpinButton)ws.Target).SetWraparound(circulate);
}
catch (Exception e)
{
}
else
{
- efl_ui_spin_button_circulate_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), circulate);
+ efl_ui_spin_button_wraparound_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), circulate);
}
}
- private static efl_ui_spin_button_circulate_set_delegate efl_ui_spin_button_circulate_set_static_delegate;
+ private static efl_ui_spin_button_wraparound_set_delegate efl_ui_spin_button_wraparound_set_static_delegate;
[return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_ui_spin_button_editable_get_delegate(System.IntPtr obj, System.IntPtr pd);
+ private delegate bool efl_ui_spin_button_direct_text_input_get_delegate(System.IntPtr obj, System.IntPtr pd);
[return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_ui_spin_button_editable_get_api_delegate(System.IntPtr obj);
+ public delegate bool efl_ui_spin_button_direct_text_input_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<efl_ui_spin_button_editable_get_api_delegate> efl_ui_spin_button_editable_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spin_button_editable_get_api_delegate>(Module, "efl_ui_spin_button_editable_get");
+ public static Efl.Eo.FunctionWrapper<efl_ui_spin_button_direct_text_input_get_api_delegate> efl_ui_spin_button_direct_text_input_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spin_button_direct_text_input_get_api_delegate>(Module, "efl_ui_spin_button_direct_text_input_get");
- private static bool editable_get(System.IntPtr obj, System.IntPtr pd)
+ private static bool direct_text_input_get(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function efl_ui_spin_button_editable_get was called");
+ Eina.Log.Debug("function efl_ui_spin_button_direct_text_input_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
bool _ret_var = default(bool);
try
{
- _ret_var = ((SpinButton)ws.Target).GetEditable();
+ _ret_var = ((SpinButton)ws.Target).GetDirectTextInput();
}
catch (Exception e)
{
}
else
{
- return efl_ui_spin_button_editable_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ return efl_ui_spin_button_direct_text_input_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
- private static efl_ui_spin_button_editable_get_delegate efl_ui_spin_button_editable_get_static_delegate;
+ private static efl_ui_spin_button_direct_text_input_get_delegate efl_ui_spin_button_direct_text_input_get_static_delegate;
- private delegate void efl_ui_spin_button_editable_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool editable);
+ private delegate void efl_ui_spin_button_direct_text_input_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool direct_text_input);
- public delegate void efl_ui_spin_button_editable_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool editable);
+ public delegate void efl_ui_spin_button_direct_text_input_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool direct_text_input);
- public static Efl.Eo.FunctionWrapper<efl_ui_spin_button_editable_set_api_delegate> efl_ui_spin_button_editable_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spin_button_editable_set_api_delegate>(Module, "efl_ui_spin_button_editable_set");
+ public static Efl.Eo.FunctionWrapper<efl_ui_spin_button_direct_text_input_set_api_delegate> efl_ui_spin_button_direct_text_input_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spin_button_direct_text_input_set_api_delegate>(Module, "efl_ui_spin_button_direct_text_input_set");
- private static void editable_set(System.IntPtr obj, System.IntPtr pd, bool editable)
+ private static void direct_text_input_set(System.IntPtr obj, System.IntPtr pd, bool direct_text_input)
{
- Eina.Log.Debug("function efl_ui_spin_button_editable_set was called");
+ Eina.Log.Debug("function efl_ui_spin_button_direct_text_input_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
- ((SpinButton)ws.Target).SetEditable(editable);
+ ((SpinButton)ws.Target).SetDirectTextInput(direct_text_input);
}
catch (Exception e)
{
}
else
{
- efl_ui_spin_button_editable_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), editable);
+ efl_ui_spin_button_direct_text_input_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), direct_text_input);
}
}
- private static efl_ui_spin_button_editable_set_delegate efl_ui_spin_button_editable_set_static_delegate;
+ private static efl_ui_spin_button_direct_text_input_set_delegate efl_ui_spin_button_direct_text_input_set_static_delegate;
private delegate Efl.Ui.LayoutOrientation efl_ui_layout_orientation_get_delegate(System.IntPtr obj, System.IntPtr pd);
private static efl_ui_layout_orientation_set_delegate efl_ui_layout_orientation_set_static_delegate;
+ private delegate double efl_ui_range_step_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate double efl_ui_range_step_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_range_step_get_api_delegate> efl_ui_range_step_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_range_step_get_api_delegate>(Module, "efl_ui_range_step_get");
+
+ private static double range_step_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_range_step_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ double _ret_var = default(double);
+ try
+ {
+ _ret_var = ((SpinButton)ws.Target).GetRangeStep();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_range_step_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_range_step_get_delegate efl_ui_range_step_get_static_delegate;
+
+
+ private delegate void efl_ui_range_step_set_delegate(System.IntPtr obj, System.IntPtr pd, double step);
+
+
+ public delegate void efl_ui_range_step_set_api_delegate(System.IntPtr obj, double step);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_range_step_set_api_delegate> efl_ui_range_step_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_range_step_set_api_delegate>(Module, "efl_ui_range_step_set");
+
+ private static void range_step_set(System.IntPtr obj, System.IntPtr pd, double step)
+ {
+ Eina.Log.Debug("function efl_ui_range_step_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((SpinButton)ws.Target).SetRangeStep(step);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_range_step_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), step);
+ }
+ }
+
+ private static efl_ui_range_step_set_delegate efl_ui_range_step_set_static_delegate;
+
+
private delegate System.IntPtr efl_ui_focus_composition_elements_get_delegate(System.IntPtr obj, System.IntPtr pd);
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiSpinButton_ExtensionMethods {
+ public static Efl.BindableProperty<bool> Wraparound<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.SpinButton, T>magic = null) where T : Efl.Ui.SpinButton {
+ return new Efl.BindableProperty<bool>("wraparound", fac);
+ }
+
+ public static Efl.BindableProperty<bool> DirectTextInput<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.SpinButton, T>magic = null) where T : Efl.Ui.SpinButton {
+ return new Efl.BindableProperty<bool>("direct_text_input", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Ui.LayoutOrientation> Orientation<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.SpinButton, T>magic = null) where T : Efl.Ui.SpinButton {
+ return new Efl.BindableProperty<Efl.Ui.LayoutOrientation>("orientation", fac);
+ }
+
+ public static Efl.BindableProperty<double> RangeStep<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.SpinButton, T>magic = null) where T : Efl.Ui.SpinButton {
+ return new Efl.BindableProperty<double>("range_step", fac);
+ }
+
+ public static Efl.BindableProperty<Eina.List<Efl.Gfx.IEntity>> CompositionElements<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.SpinButton, T>magic = null) where T : Efl.Ui.SpinButton {
+ return new Efl.BindableProperty<Eina.List<Efl.Gfx.IEntity>>("composition_elements", fac);
+ }
+
+ public static Efl.BindableProperty<bool> LogicalMode<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.SpinButton, T>magic = null) where T : Efl.Ui.SpinButton {
+ return new Efl.BindableProperty<bool>("logical_mode", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Spotlight {
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.Spotlight.Container.TransitionStartEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>A transition animation has started.</value>
public Efl.Ui.Spotlight.TransitionEvent arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.Spotlight.Container.TransitionEndEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>A transition animation has ended.</value>
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.
/// 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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Container(ConstructingHandle ch) : base(ch)
{
}
/// <summary>A transition animation has started.</summary>
+ /// <value><see cref="Efl.Ui.Spotlight.ContainerTransitionStartEvt_Args"/></value>
public event EventHandler<Efl.Ui.Spotlight.ContainerTransitionStartEvt_Args> TransitionStartEvt
{
add
}
}
}
- ///<summary>Method to raise event TransitionStartEvt.</summary>
+ /// <summary>Method to raise event TransitionStartEvt.</summary>
public void OnTransitionStartEvt(Efl.Ui.Spotlight.ContainerTransitionStartEvt_Args e)
{
var key = "_EFL_UI_SPOTLIGHT_EVENT_TRANSITION_START";
}
}
/// <summary>A transition animation has ended.</summary>
+ /// <value><see cref="Efl.Ui.Spotlight.ContainerTransitionEndEvt_Args"/></value>
public event EventHandler<Efl.Ui.Spotlight.ContainerTransitionEndEvt_Args> TransitionEndEvt
{
add
}
}
}
- ///<summary>Method to raise event TransitionEndEvt.</summary>
+ /// <summary>Method to raise event TransitionEndEvt.</summary>
public void OnTransitionEndEvt(Efl.Ui.Spotlight.ContainerTransitionEndEvt_Args e)
{
var key = "_EFL_UI_SPOTLIGHT_EVENT_TRANSITION_END";
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_Ui_SpotlightContainer_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Ui.Spotlight.Manager> SpotlightManager<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Spotlight.Container, T>magic = null) where T : Efl.Ui.Spotlight.Container {
+ return new Efl.BindableProperty<Efl.Ui.Spotlight.Manager>("spotlight_manager", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Ui.Spotlight.Indicator> Indicator<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Spotlight.Container, T>magic = null) where T : Efl.Ui.Spotlight.Container {
+ return new Efl.BindableProperty<Efl.Ui.Spotlight.Indicator>("indicator", fac);
+ }
+
+ public static Efl.BindableProperty<int> ActiveIndex<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Spotlight.Container, T>magic = null) where T : Efl.Ui.Spotlight.Container {
+ return new Efl.BindableProperty<int>("active_index", fac);
+ }
+
+ public static Efl.BindableProperty<Eina.Size2D> SpotlightSize<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Spotlight.Container, T>magic = null) where T : Efl.Ui.Spotlight.Container {
+ return new Efl.BindableProperty<Eina.Size2D>("spotlight_size", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
namespace Efl {
namespace Ui {
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>
+ /// <summary>Constructor for TransitionEvent.</summary>
+ /// <param name="From">The index from where the transition started, -1 if not known.</param>;
+ /// <param name="To">The index to where the transition is headed, -1 if not known.</param>;
public TransitionEvent(
int From = default(int),
int To = default(int) )
this.To = To;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct TransitionEvent.</summary>
+ /// <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>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator TransitionEvent.NativeStruct(TransitionEvent _external_struct)
{
var _internal_struct = new TransitionEvent.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator TransitionEvent(TransitionEvent.NativeStruct _internal_struct)
{
var _external_struct = new TransitionEvent();
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.Spotlight.Indicator.NativeMethods]
[Efl.Eo.BindingEntity]
public abstract class Indicator : Efl.Object
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Indicator(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_Ui_SpotlightIndicator_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Spotlight {
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.Spotlight.IndicatorIcon.NativeMethods]
[Efl.Eo.BindingEntity]
public class IndicatorIcon : Efl.Ui.Spotlight.Indicator
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected IndicatorIcon(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_Ui_SpotlightIndicatorIcon_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Spotlight {
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.Spotlight.Manager.PosUpdateEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>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.</value>
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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.Spotlight.Manager.NativeMethods]
[Efl.Eo.BindingEntity]
public abstract class Manager : Efl.Object
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Manager(ConstructingHandle ch) : base(ch)
{
}
/// <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>
+ /// <value><see cref="Efl.Ui.Spotlight.ManagerPosUpdateEvt_Args"/></value>
public event EventHandler<Efl.Ui.Spotlight.ManagerPosUpdateEvt_Args> PosUpdateEvt
{
add
}
}
}
- ///<summary>Method to raise event PosUpdateEvt.</summary>
+ /// <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";
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_Ui_SpotlightManager_ExtensionMethods {
+ public static Efl.BindableProperty<Eina.Size2D> Size<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Spotlight.Manager, T>magic = null) where T : Efl.Ui.Spotlight.Manager {
+ return new Efl.BindableProperty<Eina.Size2D>("size", fac);
+ }
+
+ public static Efl.BindableProperty<bool> AnimationEnabled<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Spotlight.Manager, T>magic = null) where T : Efl.Ui.Spotlight.Manager {
+ return new Efl.BindableProperty<bool>("animation_enabled", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Spotlight {
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.Spotlight.ManagerScroll.NativeMethods]
[Efl.Eo.BindingEntity]
public class ManagerScroll : Efl.Ui.Spotlight.Manager
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected ManagerScroll(ConstructingHandle ch) : base(ch)
{
{
}
+ /// <summary>Blocking of scrolling
+ /// This function will block scrolling movement (by input of a user). You can disable scrolling movement. The default value is <c>false</c>, where the scrolling movement is allowed.</summary>
+ /// <returns><c>true</c> if block scrolling movement, <c>false</c> otherwise</returns>
+ virtual public bool GetScrollBlock() {
+ var _ret_var = Efl.Ui.Spotlight.ManagerScroll.NativeMethods.efl_ui_spotlight_manager_scroll_block_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Blocking of scrolling
+ /// This function will block scrolling movement (by input of a user). You can disable scrolling movement. The default value is <c>false</c>, where the scrolling movement is allowed.</summary>
+ /// <param name="scroll_block"><c>true</c> if block scrolling movement, <c>false</c> otherwise</param>
+ virtual public void SetScrollBlock(bool scroll_block) {
+ Efl.Ui.Spotlight.ManagerScroll.NativeMethods.efl_ui_spotlight_manager_scroll_block_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),scroll_block);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Blocking of scrolling
+ /// This function will block scrolling movement (by input of a user). You can disable scrolling movement. The default value is <c>false</c>, where the scrolling movement is allowed.</summary>
+ /// <value><c>true</c> if block scrolling movement, <c>false</c> otherwise</value>
+ public bool ScrollBlock {
+ get { return GetScrollBlock(); }
+ set { SetScrollBlock(value); }
+ }
private static IntPtr GetEflClassStatic()
{
return Efl.Ui.Spotlight.ManagerScroll.efl_ui_spotlight_manager_scroll_class_get();
/// For internal use by generated code only.</summary>
public new class NativeMethods : Efl.Ui.Spotlight.Manager.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_scroll_block_get_static_delegate == null)
+ {
+ efl_ui_spotlight_manager_scroll_block_get_static_delegate = new efl_ui_spotlight_manager_scroll_block_get_delegate(scroll_block_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetScrollBlock") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spotlight_manager_scroll_block_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spotlight_manager_scroll_block_get_static_delegate) });
+ }
+
+ if (efl_ui_spotlight_manager_scroll_block_set_static_delegate == null)
+ {
+ efl_ui_spotlight_manager_scroll_block_set_static_delegate = new efl_ui_spotlight_manager_scroll_block_set_delegate(scroll_block_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetScrollBlock") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spotlight_manager_scroll_block_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spotlight_manager_scroll_block_set_static_delegate) });
+ }
+
descs.AddRange(base.GetEoOps(type));
return descs;
}
#pragma warning disable CA1707, CS1591, SA1300, SA1600
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_ui_spotlight_manager_scroll_block_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_ui_spotlight_manager_scroll_block_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_spotlight_manager_scroll_block_get_api_delegate> efl_ui_spotlight_manager_scroll_block_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spotlight_manager_scroll_block_get_api_delegate>(Module, "efl_ui_spotlight_manager_scroll_block_get");
+
+ private static bool scroll_block_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_spotlight_manager_scroll_block_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((ManagerScroll)ws.Target).GetScrollBlock();
+ }
+ 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_scroll_block_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_spotlight_manager_scroll_block_get_delegate efl_ui_spotlight_manager_scroll_block_get_static_delegate;
+
+
+ private delegate void efl_ui_spotlight_manager_scroll_block_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool scroll_block);
+
+
+ public delegate void efl_ui_spotlight_manager_scroll_block_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool scroll_block);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_spotlight_manager_scroll_block_set_api_delegate> efl_ui_spotlight_manager_scroll_block_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spotlight_manager_scroll_block_set_api_delegate>(Module, "efl_ui_spotlight_manager_scroll_block_set");
+
+ private static void scroll_block_set(System.IntPtr obj, System.IntPtr pd, bool scroll_block)
+ {
+ Eina.Log.Debug("function efl_ui_spotlight_manager_scroll_block_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((ManagerScroll)ws.Target).SetScrollBlock(scroll_block);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_spotlight_manager_scroll_block_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), scroll_block);
+ }
+ }
+
+ private static efl_ui_spotlight_manager_scroll_block_set_delegate efl_ui_spotlight_manager_scroll_block_set_static_delegate;
+
#pragma warning restore CA1707, CS1591, SA1300, SA1600
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_Ui_SpotlightManagerScroll_ExtensionMethods {
+ public static Efl.BindableProperty<bool> ScrollBlock<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Spotlight.ManagerScroll, T>magic = null) where T : Efl.Ui.Spotlight.ManagerScroll {
+ return new Efl.BindableProperty<bool>("scroll_block", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Spotlight {
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.Spotlight.ManagerStack.NativeMethods]
[Efl.Eo.BindingEntity]
public class ManagerStack : Efl.Ui.Spotlight.Manager
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected ManagerStack(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_Ui_SpotlightManagerStack_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Spotlight {
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.Spotlight.Util.NativeMethods]
[Efl.Eo.BindingEntity]
public class Util : Efl.Eo.EoWrapper
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Util(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_Ui_SpotlightUtil_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Tab Bar class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.TabBar.NativeMethods]
[Efl.Eo.BindingEntity]
public class TabBar : Efl.Ui.LayoutBase
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected TabBar(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiTabBar_ExtensionMethods {
+ public static Efl.BindableProperty<int> CurrentTab<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.TabBar, T>magic = null) where T : Efl.Ui.TabBar {
+ return new Efl.BindableProperty<int>("current_tab", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.TabPage.TabChangedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called when tab changed</value>
public Efl.Ui.TabPageTabChangedEvent arg { get; set; }
}
/// <summary>Tab Page class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.TabPage.NativeMethods]
[Efl.Eo.BindingEntity]
public class TabPage : Efl.Ui.LayoutBase, Efl.IContent
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected TabPage(ConstructingHandle ch) : base(ch)
{
}
/// <summary>Called when tab changed</summary>
+ /// <value><see cref="Efl.Ui.TabPageTabChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.TabPageTabChangedEvt_Args> TabChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event TabChangedEvt.</summary>
+ /// <summary>Method to raise event TabChangedEvt.</summary>
public void OnTabChangedEvt(Efl.Ui.TabPageTabChangedEvt_Args e)
{
var key = "_EFL_UI_TAB_PAGE_EVENT_TAB_CHANGED";
}
/// <summary>Sent after the content is set or unset using the current content object.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContentContentChangedEvt_Args"/></value>
public event EventHandler<Efl.IContentContentChangedEvt_Args> ContentChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentChangedEvt.</summary>
+ /// <summary>Method to raise event ContentChangedEvt.</summary>
public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e)
{
var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiTabPage_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Gfx.IEntity> Content<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.TabPage, T>magic = null) where T : Efl.Ui.TabPage {
+ return new Efl.BindableProperty<Efl.Gfx.IEntity>("content", fac);
+ }
+
+ public static Efl.BindablePart<Efl.Ui.TabPagePartTab> TabPart<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.TabPage, T> x=null) where T : Efl.Ui.TabPage
+ {
+ return new Efl.BindablePart<Efl.Ui.TabPagePartTab>("tab" ,fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
namespace Efl {
namespace Ui {
public struct TabPageTabChangedEvent
{
/// <summary>Which part of the tab has changed.</summary>
+ /// <value>Which part of the tab has changed.</value>
public Efl.Ui.TabPageTabChanged Changed_info;
- ///<summary>Constructor for TabPageTabChangedEvent.</summary>
+ /// <summary>Constructor for TabPageTabChangedEvent.</summary>
+ /// <param name="Changed_info">Which part of the tab has changed.</param>;
public TabPageTabChangedEvent(
Efl.Ui.TabPageTabChanged Changed_info = default(Efl.Ui.TabPageTabChanged) )
{
this.Changed_info = Changed_info;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 TabPageTabChangedEvent(IntPtr ptr)
{
var tmp = (TabPageTabChangedEvent.NativeStruct)Marshal.PtrToStructure(ptr, typeof(TabPageTabChangedEvent.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct TabPageTabChangedEvent.</summary>
+ /// <summary>Internal wrapper for struct TabPageTabChangedEvent.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
public Efl.Ui.TabPageTabChanged Changed_info;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator TabPageTabChangedEvent.NativeStruct(TabPageTabChangedEvent _external_struct)
{
var _internal_struct = new TabPageTabChangedEvent.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator TabPageTabChangedEvent(TabPageTabChangedEvent.NativeStruct _internal_struct)
{
var _external_struct = new TabPageTabChangedEvent();
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Tab_Page internal part class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.TabPagePartTab.NativeMethods]
[Efl.Eo.BindingEntity]
public class TabPagePartTab : Efl.Ui.LayoutPart, Efl.IText
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected TabPagePartTab(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiTabPagePartTab_ExtensionMethods {
+ public static Efl.BindableProperty<System.String> Icon<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.TabPagePartTab, T>magic = null) where T : Efl.Ui.TabPagePartTab {
+ return new Efl.BindableProperty<System.String>("icon", fac);
+ }
+public static Efl.BindableProperty<System.String> Icon<T>(this Efl.BindablePart<T> part, Efl.Csharp.ExtensionTag<Efl.Ui.TabPagePartTab, T>magic = null) where T : Efl.Ui.TabPagePartTab {
+ return new Efl.BindableProperty<System.String>(part.PartName, "icon", part.Binder);
+ }
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Tab Pager class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.TabPager.NativeMethods]
[Efl.Eo.BindingEntity]
public class TabPager : Efl.Ui.Spotlight.Container
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected TabPager(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiTabPager_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Canvas.Object> TabBar<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.TabPager, T>magic = null) where T : Efl.Ui.TabPager {
+ return new Efl.BindableProperty<Efl.Canvas.Object>("tab_bar", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
[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>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Table(ConstructingHandle ch) : base(ch)
{
/// <summary>Sent after a new sub-object was added.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContainerContentAddedEvt_Args"/></value>
public event EventHandler<Efl.IContainerContentAddedEvt_Args> ContentAddedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentAddedEvt.</summary>
+ /// <summary>Method to raise event ContentAddedEvt.</summary>
public void OnContentAddedEvt(Efl.IContainerContentAddedEvt_Args e)
{
var key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED";
}
/// <summary>Sent after a sub-object was removed, before unref.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContainerContentRemovedEvt_Args"/></value>
public event EventHandler<Efl.IContainerContentRemovedEvt_Args> ContentRemovedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentRemovedEvt.</summary>
+ /// <summary>Method to raise event ContentRemovedEvt.</summary>
public void OnContentRemovedEvt(Efl.IContainerContentRemovedEvt_Args e)
{
var key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED";
}
}
}
- ///<summary>Method to raise event LayoutUpdatedEvt.</summary>
+ /// <summary>Method to raise event LayoutUpdatedEvt.</summary>
public void OnLayoutUpdatedEvt(EventArgs e)
{
var key = "_EFL_PACK_EVENT_LAYOUT_UPDATED";
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>
+ /// <summary>column of the <c>subobj</c> in this container.</summary>
/// <param name="subobj">Child object</param>
/// <param name="col">Column number</param>
- /// <param name="row">Row number</param>
/// <param name="colspan">Column span</param>
+ /// <returns>Returns false if item is not a child</returns>
+ virtual public bool GetTableCellColumn(Efl.Gfx.IEntity subobj, out int col, out int colspan) {
+ var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_cell_column_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, out col, out colspan);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>column of the <c>subobj</c> in this container.</summary>
+ /// <param name="subobj">Child object</param>
+ /// <param name="col">Column number</param>
+ /// <param name="colspan">Column span</param>
+ virtual public void SetTableCellColumn(Efl.Gfx.IEntity subobj, int col, int colspan) {
+ Efl.IPackTableConcrete.NativeMethods.efl_pack_table_cell_column_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, col, colspan);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>row of the <c>subobj</c> in this container.</summary>
+ /// <param name="subobj">Child object</param>
+ /// <param name="row">Row number</param>
/// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, out col, out row, out colspan, out rowspan);
+ virtual public bool GetTableCellRow(Efl.Gfx.IEntity subobj, out int row, out int rowspan) {
+ var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_cell_row_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, out row, out rowspan);
Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
+ return _ret_var;
}
+ /// <summary>row of the <c>subobj</c> in this container.</summary>
+ /// <param name="subobj">Child object</param>
+ /// <param name="row">Row number</param>
+ /// <param name="rowspan">Row span</param>
+ virtual public void SetTableCellRow(Efl.Gfx.IEntity subobj, int row, int rowspan) {
+ Efl.IPackTableConcrete.NativeMethods.efl_pack_table_cell_row_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, row, rowspan);
+ 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>
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 cells are of the same weight and of the same min size which is determined by maximum min size of cells.</summary>
+ /// <value><c>true</c> if the box is homogeneous horizontally, <c>false</c> otherwise</value>
+ public (bool, bool) Homogeneous {
+ get {
+ bool _out_homogeneoush = default(bool);
+ bool _out_homogeneousv = default(bool);
+ GetHomogeneous(out _out_homogeneoush,out _out_homogeneousv);
+ return (_out_homogeneoush,_out_homogeneousv);
+ }
+ set { SetHomogeneous( value.Item1, value.Item2); }
+ }
+ /// <summary>Combines <see cref="Efl.IPackTable.TableColumns"/> and <see cref="Efl.IPackTable.TableRows"/></summary>
+ /// <value>Number of columns</value>
+ public (int, int) TableSize {
+ get {
+ int _out_cols = default(int);
+ int _out_rows = default(int);
+ GetTableSize(out _out_cols,out _out_rows);
+ return (_out_cols,_out_rows);
+ }
+ set { SetTableSize( value.Item1, value.Item2); }
+ }
/// <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>
/// <value>Amount of columns.</value>
public int TableColumns {
get { return GetTableRows(); }
set { SetTableRows(value); }
}
+ /// <summary>Alignment of the container within its bounds</summary>
+ /// <value>Horizontal alignment</value>
+ public (double, double) ContentAlign {
+ get {
+ double _out_align_horiz = default(double);
+ double _out_align_vert = default(double);
+ GetContentAlign(out _out_align_horiz,out _out_align_vert);
+ return (_out_align_horiz,_out_align_vert);
+ }
+ set { SetContentAlign( value.Item1, value.Item2); }
+ }
+ /// <summary>Padding between items contained in this object.</summary>
+ /// <value>Horizontal padding</value>
+ public (double, double, bool) ContentPadding {
+ get {
+ double _out_pad_horiz = default(double);
+ double _out_pad_vert = default(double);
+ bool _out_scalable = default(bool);
+ GetContentPadding(out _out_pad_horiz,out _out_pad_vert,out _out_scalable);
+ return (_out_pad_horiz,_out_pad_vert,_out_scalable);
+ }
+ set { SetContentPadding( value.Item1, value.Item2, value.Item3); }
+ }
/// <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_pack_layout_update"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_layout_update_static_delegate) });
}
- if (efl_pack_table_position_get_static_delegate == null)
+ if (efl_pack_table_cell_column_get_static_delegate == null)
+ {
+ efl_pack_table_cell_column_get_static_delegate = new efl_pack_table_cell_column_get_delegate(table_cell_column_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetTableCellColumn") != null)
{
- efl_pack_table_position_get_static_delegate = new efl_pack_table_position_get_delegate(table_position_get);
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_cell_column_get"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_cell_column_get_static_delegate) });
}
- if (methods.FirstOrDefault(m => m.Name == "GetTablePosition") != null)
+ if (efl_pack_table_cell_column_set_static_delegate == null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_position_get"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_position_get_static_delegate) });
+ efl_pack_table_cell_column_set_static_delegate = new efl_pack_table_cell_column_set_delegate(table_cell_column_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetTableCellColumn") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_cell_column_set"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_cell_column_set_static_delegate) });
+ }
+
+ if (efl_pack_table_cell_row_get_static_delegate == null)
+ {
+ efl_pack_table_cell_row_get_static_delegate = new efl_pack_table_cell_row_get_delegate(table_cell_row_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetTableCellRow") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_cell_row_get"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_cell_row_get_static_delegate) });
+ }
+
+ if (efl_pack_table_cell_row_set_static_delegate == null)
+ {
+ efl_pack_table_cell_row_set_static_delegate = new efl_pack_table_cell_row_set_delegate(table_cell_row_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetTableCellRow") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_cell_row_set"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_cell_row_set_static_delegate) });
}
if (efl_pack_table_size_get_static_delegate == null)
private static efl_pack_layout_update_delegate efl_pack_layout_update_static_delegate;
[return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_pack_table_position_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, out int col, out int row, out int colspan, out int rowspan);
+ private delegate bool efl_pack_table_cell_column_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, out int col, out int colspan);
[return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_pack_table_position_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, out int col, out int row, out int colspan, out int rowspan);
+ public delegate bool efl_pack_table_cell_column_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, out int col, out int colspan);
- public static Efl.Eo.FunctionWrapper<efl_pack_table_position_get_api_delegate> efl_pack_table_position_get_ptr = new Efl.Eo.FunctionWrapper<efl_pack_table_position_get_api_delegate>(Module, "efl_pack_table_position_get");
+ public static Efl.Eo.FunctionWrapper<efl_pack_table_cell_column_get_api_delegate> efl_pack_table_cell_column_get_ptr = new Efl.Eo.FunctionWrapper<efl_pack_table_cell_column_get_api_delegate>(Module, "efl_pack_table_cell_column_get");
- private static bool table_position_get(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, out int col, out int row, out int colspan, out int rowspan)
+ private static bool table_cell_column_get(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, out int col, out int colspan)
{
- Eina.Log.Debug("function efl_pack_table_position_get was called");
+ Eina.Log.Debug("function efl_pack_table_cell_column_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- col = default(int); row = default(int); colspan = default(int); rowspan = default(int); bool _ret_var = default(bool);
+ col = default(int); colspan = default(int); bool _ret_var = default(bool);
try
{
- _ret_var = ((Table)ws.Target).GetTablePosition(subobj, out col, out row, out colspan, out rowspan);
+ _ret_var = ((Table)ws.Target).GetTableCellColumn(subobj, out col, out colspan);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
- return _ret_var;
+ return _ret_var;
}
else
{
- return efl_pack_table_position_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, out col, out row, out colspan, out rowspan);
+ return efl_pack_table_cell_column_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, out col, out colspan);
}
}
- private static efl_pack_table_position_get_delegate efl_pack_table_position_get_static_delegate;
+ private static efl_pack_table_cell_column_get_delegate efl_pack_table_cell_column_get_static_delegate;
+
+
+ private delegate void efl_pack_table_cell_column_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, int col, int colspan);
+
+
+ public delegate void efl_pack_table_cell_column_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, int col, int colspan);
+
+ public static Efl.Eo.FunctionWrapper<efl_pack_table_cell_column_set_api_delegate> efl_pack_table_cell_column_set_ptr = new Efl.Eo.FunctionWrapper<efl_pack_table_cell_column_set_api_delegate>(Module, "efl_pack_table_cell_column_set");
+
+ private static void table_cell_column_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, int col, int colspan)
+ {
+ Eina.Log.Debug("function efl_pack_table_cell_column_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Table)ws.Target).SetTableCellColumn(subobj, col, colspan);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_pack_table_cell_column_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, col, colspan);
+ }
+ }
+
+ private static efl_pack_table_cell_column_set_delegate efl_pack_table_cell_column_set_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_pack_table_cell_row_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, out int row, out int rowspan);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_pack_table_cell_row_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, out int row, out int rowspan);
+
+ public static Efl.Eo.FunctionWrapper<efl_pack_table_cell_row_get_api_delegate> efl_pack_table_cell_row_get_ptr = new Efl.Eo.FunctionWrapper<efl_pack_table_cell_row_get_api_delegate>(Module, "efl_pack_table_cell_row_get");
+
+ private static bool table_cell_row_get(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, out int row, out int rowspan)
+ {
+ Eina.Log.Debug("function efl_pack_table_cell_row_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ row = default(int); rowspan = default(int); bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((Table)ws.Target).GetTableCellRow(subobj, out row, out rowspan);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_pack_table_cell_row_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, out row, out rowspan);
+ }
+ }
+
+ private static efl_pack_table_cell_row_get_delegate efl_pack_table_cell_row_get_static_delegate;
+
+
+ private delegate void efl_pack_table_cell_row_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, int row, int rowspan);
+
+
+ public delegate void efl_pack_table_cell_row_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj, int row, int rowspan);
+
+ public static Efl.Eo.FunctionWrapper<efl_pack_table_cell_row_set_api_delegate> efl_pack_table_cell_row_set_ptr = new Efl.Eo.FunctionWrapper<efl_pack_table_cell_row_set_api_delegate>(Module, "efl_pack_table_cell_row_set");
+
+ private static void table_cell_row_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, int row, int rowspan)
+ {
+ Eina.Log.Debug("function efl_pack_table_cell_row_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Table)ws.Target).SetTableCellRow(subobj, row, rowspan);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_pack_table_cell_row_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, row, rowspan);
+ }
+ }
+
+ private static efl_pack_table_cell_row_set_delegate efl_pack_table_cell_row_set_static_delegate;
private delegate void efl_pack_table_size_get_delegate(System.IntPtr obj, System.IntPtr pd, out int cols, out int rows);
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiTable_ExtensionMethods {
+
+
+
+
+ public static Efl.BindableProperty<int> TableColumns<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Table, T>magic = null) where T : Efl.Ui.Table {
+ return new Efl.BindableProperty<int>("table_columns", fac);
+ }
+
+ public static Efl.BindableProperty<int> TableRows<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Table, T>magic = null) where T : Efl.Ui.Table {
+ return new Efl.BindableProperty<int>("table_rows", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<Efl.Ui.LayoutOrientation> Orientation<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Table, T>magic = null) where T : Efl.Ui.Table {
+ return new Efl.BindableProperty<Efl.Ui.LayoutOrientation>("orientation", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Efl UI table static class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.TableStatic.NativeMethods]
[Efl.Eo.BindingEntity]
public class TableStatic : Efl.Ui.Table
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected TableStatic(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiTableStatic_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.Tags.ItemSelectedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called when item was selected</value>
public System.String arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.Tags.ItemAddedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called when item was added</value>
public System.String arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.Tags.ItemDeletedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called when item was deleted</value>
public System.String arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.Tags.ItemClickedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called when item was clicked</value>
public System.String arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.Tags.ItemLongpressedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called when item got a longpress</value>
public System.String arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.Tags.ExpandStateChangedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called when expanded state changed</value>
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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Tags(ConstructingHandle ch) : base(ch)
{
}
/// <summary>Called when item was selected</summary>
+ /// <value><see cref="Efl.Ui.TagsItemSelectedEvt_Args"/></value>
public event EventHandler<Efl.Ui.TagsItemSelectedEvt_Args> ItemSelectedEvt
{
add
}
}
}
- ///<summary>Method to raise event ItemSelectedEvt.</summary>
+ /// <summary>Method to raise event ItemSelectedEvt.</summary>
public void OnItemSelectedEvt(Efl.Ui.TagsItemSelectedEvt_Args e)
{
var key = "_EFL_UI_TAGS_EVENT_ITEM_SELECTED";
}
}
/// <summary>Called when item was added</summary>
+ /// <value><see cref="Efl.Ui.TagsItemAddedEvt_Args"/></value>
public event EventHandler<Efl.Ui.TagsItemAddedEvt_Args> ItemAddedEvt
{
add
}
}
}
- ///<summary>Method to raise event ItemAddedEvt.</summary>
+ /// <summary>Method to raise event ItemAddedEvt.</summary>
public void OnItemAddedEvt(Efl.Ui.TagsItemAddedEvt_Args e)
{
var key = "_EFL_UI_TAGS_EVENT_ITEM_ADDED";
}
}
/// <summary>Called when item was deleted</summary>
+ /// <value><see cref="Efl.Ui.TagsItemDeletedEvt_Args"/></value>
public event EventHandler<Efl.Ui.TagsItemDeletedEvt_Args> ItemDeletedEvt
{
add
}
}
}
- ///<summary>Method to raise event ItemDeletedEvt.</summary>
+ /// <summary>Method to raise event ItemDeletedEvt.</summary>
public void OnItemDeletedEvt(Efl.Ui.TagsItemDeletedEvt_Args e)
{
var key = "_EFL_UI_TAGS_EVENT_ITEM_DELETED";
}
}
/// <summary>Called when item was clicked</summary>
+ /// <value><see cref="Efl.Ui.TagsItemClickedEvt_Args"/></value>
public event EventHandler<Efl.Ui.TagsItemClickedEvt_Args> ItemClickedEvt
{
add
}
}
}
- ///<summary>Method to raise event ItemClickedEvt.</summary>
+ /// <summary>Method to raise event ItemClickedEvt.</summary>
public void OnItemClickedEvt(Efl.Ui.TagsItemClickedEvt_Args e)
{
var key = "_EFL_UI_TAGS_EVENT_ITEM_CLICKED";
}
}
/// <summary>Called when item got a longpress</summary>
+ /// <value><see cref="Efl.Ui.TagsItemLongpressedEvt_Args"/></value>
public event EventHandler<Efl.Ui.TagsItemLongpressedEvt_Args> ItemLongpressedEvt
{
add
}
}
}
- ///<summary>Method to raise event ItemLongpressedEvt.</summary>
+ /// <summary>Method to raise event ItemLongpressedEvt.</summary>
public void OnItemLongpressedEvt(Efl.Ui.TagsItemLongpressedEvt_Args e)
{
var key = "_EFL_UI_TAGS_EVENT_ITEM_LONGPRESSED";
}
}
}
- ///<summary>Method to raise event ExpandedEvt.</summary>
+ /// <summary>Method to raise event ExpandedEvt.</summary>
public void OnExpandedEvt(EventArgs e)
{
var key = "_EFL_UI_TAGS_EVENT_EXPANDED";
}
}
}
- ///<summary>Method to raise event ContractedEvt.</summary>
+ /// <summary>Method to raise event ContractedEvt.</summary>
public void OnContractedEvt(EventArgs e)
{
var key = "_EFL_UI_TAGS_EVENT_CONTRACTED";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
/// <summary>Called when expanded state changed</summary>
+ /// <value><see cref="Efl.Ui.TagsExpandStateChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.TagsExpandStateChangedEvt_Args> ExpandStateChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event ExpandStateChangedEvt.</summary>
+ /// <summary>Method to raise event ExpandStateChangedEvt.</summary>
public void OnExpandStateChangedEvt(Efl.Ui.TagsExpandStateChangedEvt_Args e)
{
var key = "_EFL_UI_TAGS_EVENT_EXPAND_STATE_CHANGED";
get { return GetFormatValues(); }
set { SetFormatValues(value); }
}
+ /// <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>
+ /// <value>Formatting string containing regular characters and format specifiers.</value>
+ public (System.String, Efl.Ui.FormatStringType) FormatString {
+ get {
+ System.String _out_kw_string = default(System.String);
+ Efl.Ui.FormatStringType _out_type = default(Efl.Ui.FormatStringType);
+ GetFormatString(out _out_kw_string,out _out_type);
+ return (_out_kw_string,_out_type);
+ }
+ set { SetFormatString( value.Item1, value.Item2); }
+ }
private static IntPtr GetEflClassStatic()
{
return Efl.Ui.Tags.efl_ui_tags_class_get();
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiTags_ExtensionMethods {
+ public static Efl.BindableProperty<bool> Editable<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Tags, T>magic = null) where T : Efl.Ui.Tags {
+ return new Efl.BindableProperty<bool>("editable", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Expanded<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Tags, T>magic = null) where T : Efl.Ui.Tags {
+ return new Efl.BindableProperty<bool>("expanded", fac);
+ }
+
+ public static Efl.BindableProperty<Eina.Array<System.String>> Items<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Tags, T>magic = null) where T : Efl.Ui.Tags {
+ return new Efl.BindableProperty<Eina.Array<System.String>>("items", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.Ui.FormatFunc> FormatFunc<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Tags, T>magic = null) where T : Efl.Ui.Tags {
+ return new Efl.BindableProperty<Efl.Ui.FormatFunc>("format_func", fac);
+ }
+
+ public static Efl.BindableProperty<Eina.Accessor<Efl.Ui.FormatValue>> FormatValues<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Tags, T>magic = null) where T : Efl.Ui.Tags {
+ return new Efl.BindableProperty<Eina.Accessor<Efl.Ui.FormatValue>>("format_values", fac);
+ }
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.Text.ChangedUserEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>The text object has changed due to user interaction</value>
public Efl.Ui.TextChangeInfo arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.Text.ValidateEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called when validating</value>
public Elm.ValidateContent arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.Text.AnchorDownEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called on anchor down</value>
public Elm.EntryAnchorInfo arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.Text.AnchorHoverOpenedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called when hover opened</value>
public Elm.EntryAnchorHoverInfo arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.Text.AnchorInEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called on anchor in</value>
public Elm.EntryAnchorInfo arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.Text.AnchorOutEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called on anchor out</value>
public Elm.EntryAnchorInfo arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.Text.AnchorUpEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>called on anchor up</value>
public Elm.EntryAnchorInfo arg { get; set; }
}
-/// <summary>Efl UI text class</summary>
+/// <summary>A flexible text widget which can be static (as a label) or editable by the user (as a text entry). It provides all sorts of editing facilities like automatic scrollbars, virtual keyboard, clipboard, configurable context menus, password mode or autocapitalization, for example.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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
+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.Input.IClickable, Efl.Ui.ITextSelectable
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Text(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event ChangedEvt.</summary>
+ /// <summary>Method to raise event ChangedEvt.</summary>
public void OnChangedEvt(EventArgs e)
{
var key = "_EFL_UI_TEXT_EVENT_CHANGED";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
/// <summary>The text object has changed due to user interaction</summary>
+ /// <value><see cref="Efl.Ui.TextChangedUserEvt_Args"/></value>
public event EventHandler<Efl.Ui.TextChangedUserEvt_Args> ChangedUserEvt
{
add
}
}
}
- ///<summary>Method to raise event ChangedUserEvt.</summary>
+ /// <summary>Method to raise event ChangedUserEvt.</summary>
public void OnChangedUserEvt(Efl.Ui.TextChangedUserEvt_Args e)
{
var key = "_EFL_UI_TEXT_EVENT_CHANGED_USER";
}
}
/// <summary>Called when validating</summary>
+ /// <value><see cref="Efl.Ui.TextValidateEvt_Args"/></value>
public event EventHandler<Efl.Ui.TextValidateEvt_Args> ValidateEvt
{
add
}
}
}
- ///<summary>Method to raise event ValidateEvt.</summary>
+ /// <summary>Method to raise event ValidateEvt.</summary>
public void OnValidateEvt(Efl.Ui.TextValidateEvt_Args e)
{
var key = "_EFL_UI_TEXT_EVENT_VALIDATE";
}
}
}
- ///<summary>Method to raise event ContextOpenEvt.</summary>
+ /// <summary>Method to raise event ContextOpenEvt.</summary>
public void OnContextOpenEvt(EventArgs e)
{
var key = "_EFL_UI_TEXT_EVENT_CONTEXT_OPEN";
}
}
}
- ///<summary>Method to raise event PreeditChangedEvt.</summary>
+ /// <summary>Method to raise event PreeditChangedEvt.</summary>
public void OnPreeditChangedEvt(EventArgs e)
{
var key = "_EFL_UI_TEXT_EVENT_PREEDIT_CHANGED";
}
}
}
- ///<summary>Method to raise event PressEvt.</summary>
+ /// <summary>Method to raise event PressEvt.</summary>
public void OnPressEvt(EventArgs e)
{
var key = "_EFL_UI_TEXT_EVENT_PRESS";
}
}
}
- ///<summary>Method to raise event RedoRequestEvt.</summary>
+ /// <summary>Method to raise event RedoRequestEvt.</summary>
public void OnRedoRequestEvt(EventArgs e)
{
var key = "_EFL_UI_TEXT_EVENT_REDO_REQUEST";
}
}
}
- ///<summary>Method to raise event UndoRequestEvt.</summary>
+ /// <summary>Method to raise event UndoRequestEvt.</summary>
public void OnUndoRequestEvt(EventArgs e)
{
var key = "_EFL_UI_TEXT_EVENT_UNDO_REQUEST";
}
}
}
- ///<summary>Method to raise event AbortedEvt.</summary>
+ /// <summary>Method to raise event AbortedEvt.</summary>
public void OnAbortedEvt(EventArgs e)
{
var key = "_EFL_UI_TEXT_EVENT_ABORTED";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
/// <summary>Called on anchor down</summary>
+ /// <value><see cref="Efl.Ui.TextAnchorDownEvt_Args"/></value>
public event EventHandler<Efl.Ui.TextAnchorDownEvt_Args> AnchorDownEvt
{
add
}
}
}
- ///<summary>Method to raise event AnchorDownEvt.</summary>
+ /// <summary>Method to raise event AnchorDownEvt.</summary>
public void OnAnchorDownEvt(Efl.Ui.TextAnchorDownEvt_Args e)
{
var key = "_EFL_UI_TEXT_EVENT_ANCHOR_DOWN";
}
}
/// <summary>Called when hover opened</summary>
+ /// <value><see cref="Efl.Ui.TextAnchorHoverOpenedEvt_Args"/></value>
public event EventHandler<Efl.Ui.TextAnchorHoverOpenedEvt_Args> AnchorHoverOpenedEvt
{
add
}
}
}
- ///<summary>Method to raise event AnchorHoverOpenedEvt.</summary>
+ /// <summary>Method to raise event AnchorHoverOpenedEvt.</summary>
public void OnAnchorHoverOpenedEvt(Efl.Ui.TextAnchorHoverOpenedEvt_Args e)
{
var key = "_EFL_UI_TEXT_EVENT_ANCHOR_HOVER_OPENED";
}
}
/// <summary>Called on anchor in</summary>
+ /// <value><see cref="Efl.Ui.TextAnchorInEvt_Args"/></value>
public event EventHandler<Efl.Ui.TextAnchorInEvt_Args> AnchorInEvt
{
add
}
}
}
- ///<summary>Method to raise event AnchorInEvt.</summary>
+ /// <summary>Method to raise event AnchorInEvt.</summary>
public void OnAnchorInEvt(Efl.Ui.TextAnchorInEvt_Args e)
{
var key = "_EFL_UI_TEXT_EVENT_ANCHOR_IN";
}
}
/// <summary>Called on anchor out</summary>
+ /// <value><see cref="Efl.Ui.TextAnchorOutEvt_Args"/></value>
public event EventHandler<Efl.Ui.TextAnchorOutEvt_Args> AnchorOutEvt
{
add
}
}
}
- ///<summary>Method to raise event AnchorOutEvt.</summary>
+ /// <summary>Method to raise event AnchorOutEvt.</summary>
public void OnAnchorOutEvt(Efl.Ui.TextAnchorOutEvt_Args e)
{
var key = "_EFL_UI_TEXT_EVENT_ANCHOR_OUT";
}
}
/// <summary>called on anchor up</summary>
+ /// <value><see cref="Efl.Ui.TextAnchorUpEvt_Args"/></value>
public event EventHandler<Efl.Ui.TextAnchorUpEvt_Args> AnchorUpEvt
{
add
}
}
}
- ///<summary>Method to raise event AnchorUpEvt.</summary>
+ /// <summary>Method to raise event AnchorUpEvt.</summary>
public void OnAnchorUpEvt(Efl.Ui.TextAnchorUpEvt_Args e)
{
var key = "_EFL_UI_TEXT_EVENT_ANCHOR_UP";
}
}
}
- ///<summary>Method to raise event CursorChangedManualEvt.</summary>
+ /// <summary>Method to raise event CursorChangedManualEvt.</summary>
public void OnCursorChangedManualEvt(EventArgs e)
{
var key = "_EFL_UI_TEXT_EVENT_CURSOR_CHANGED_MANUAL";
}
}
}
- ///<summary>Method to raise event TextSelectionChangedEvt.</summary>
+ /// <summary>Method to raise event TextSelectionChangedEvt.</summary>
public void OnTextSelectionChangedEvt(EventArgs e)
{
var key = "_EFL_TEXT_INTERACTIVE_EVENT_TEXT_SELECTION_CHANGED";
}
}
}
- ///<summary>Method to raise event AccessTextCaretMovedEvt.</summary>
+ /// <summary>Method to raise event AccessTextCaretMovedEvt.</summary>
public void OnAccessTextCaretMovedEvt(EventArgs e)
{
var key = "_EFL_ACCESS_TEXT_EVENT_ACCESS_TEXT_CARET_MOVED";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
/// <summary>Text was inserted</summary>
+ /// <value><see cref="Efl.Access.ITextAccessTextInsertedEvt_Args"/></value>
public event EventHandler<Efl.Access.ITextAccessTextInsertedEvt_Args> AccessTextInsertedEvt
{
add
}
}
}
- ///<summary>Method to raise event AccessTextInsertedEvt.</summary>
+ /// <summary>Method to raise event AccessTextInsertedEvt.</summary>
public void OnAccessTextInsertedEvt(Efl.Access.ITextAccessTextInsertedEvt_Args e)
{
var key = "_EFL_ACCESS_TEXT_EVENT_ACCESS_TEXT_INSERTED";
}
}
/// <summary>Text was removed</summary>
+ /// <value><see cref="Efl.Access.ITextAccessTextRemovedEvt_Args"/></value>
public event EventHandler<Efl.Access.ITextAccessTextRemovedEvt_Args> AccessTextRemovedEvt
{
add
}
}
}
- ///<summary>Method to raise event AccessTextRemovedEvt.</summary>
+ /// <summary>Method to raise event AccessTextRemovedEvt.</summary>
public void OnAccessTextRemovedEvt(Efl.Access.ITextAccessTextRemovedEvt_Args e)
{
var key = "_EFL_ACCESS_TEXT_EVENT_ACCESS_TEXT_REMOVED";
}
}
}
- ///<summary>Method to raise event AccessTextSelectionChangedEvt.</summary>
+ /// <summary>Method to raise event AccessTextSelectionChangedEvt.</summary>
public void OnAccessTextSelectionChangedEvt(EventArgs e)
{
var key = "_EFL_ACCESS_TEXT_EVENT_ACCESS_TEXT_SELECTION_CHANGED";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
/// <summary>Called when object is in sequence pressed and unpressed, by the primary button</summary>
- public event EventHandler<Efl.Ui.IClickableClickedEvt_Args> ClickedEvt
+ /// <value><see cref="Efl.Input.IClickableClickedEvt_Args"/></value>
+ public event EventHandler<Efl.Input.IClickableClickedEvt_Args> ClickedEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- Efl.Ui.IClickableClickedEvt_Args args = new Efl.Ui.IClickableClickedEvt_Args();
+ Efl.Input.IClickableClickedEvt_Args args = new Efl.Input.IClickableClickedEvt_Args();
args.arg = evt.Info;
try
{
}
};
- string key = "_EFL_UI_EVENT_CLICKED";
+ string key = "_EFL_INPUT_EVENT_CLICKED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_CLICKED";
+ string key = "_EFL_INPUT_EVENT_CLICKED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event ClickedEvt.</summary>
- public void OnClickedEvt(Efl.Ui.IClickableClickedEvt_Args e)
+ /// <summary>Method to raise event ClickedEvt.</summary>
+ public void OnClickedEvt(Efl.Input.IClickableClickedEvt_Args e)
{
- var key = "_EFL_UI_EVENT_CLICKED";
+ var key = "_EFL_INPUT_EVENT_CLICKED";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
}
}
/// <summary>Called when object is in sequence pressed and unpressed by any button. The button that triggered the event can be found in the event information.</summary>
- public event EventHandler<Efl.Ui.IClickableClickedAnyEvt_Args> ClickedAnyEvt
+ /// <value><see cref="Efl.Input.IClickableClickedAnyEvt_Args"/></value>
+ public event EventHandler<Efl.Input.IClickableClickedAnyEvt_Args> ClickedAnyEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- Efl.Ui.IClickableClickedAnyEvt_Args args = new Efl.Ui.IClickableClickedAnyEvt_Args();
+ Efl.Input.IClickableClickedAnyEvt_Args args = new Efl.Input.IClickableClickedAnyEvt_Args();
args.arg = evt.Info;
try
{
}
};
- string key = "_EFL_UI_EVENT_CLICKED_ANY";
+ string key = "_EFL_INPUT_EVENT_CLICKED_ANY";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_CLICKED_ANY";
+ string key = "_EFL_INPUT_EVENT_CLICKED_ANY";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event ClickedAnyEvt.</summary>
- public void OnClickedAnyEvt(Efl.Ui.IClickableClickedAnyEvt_Args e)
+ /// <summary>Method to raise event ClickedAnyEvt.</summary>
+ public void OnClickedAnyEvt(Efl.Input.IClickableClickedAnyEvt_Args e)
{
- var key = "_EFL_UI_EVENT_CLICKED_ANY";
+ var key = "_EFL_INPUT_EVENT_CLICKED_ANY";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
}
}
/// <summary>Called when the object is pressed, event_info is the button that got pressed</summary>
- public event EventHandler<Efl.Ui.IClickablePressedEvt_Args> PressedEvt
+ /// <value><see cref="Efl.Input.IClickablePressedEvt_Args"/></value>
+ public event EventHandler<Efl.Input.IClickablePressedEvt_Args> PressedEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- Efl.Ui.IClickablePressedEvt_Args args = new Efl.Ui.IClickablePressedEvt_Args();
+ Efl.Input.IClickablePressedEvt_Args args = new Efl.Input.IClickablePressedEvt_Args();
args.arg = Marshal.ReadInt32(evt.Info);
try
{
}
};
- string key = "_EFL_UI_EVENT_PRESSED";
+ string key = "_EFL_INPUT_EVENT_PRESSED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_PRESSED";
+ string key = "_EFL_INPUT_EVENT_PRESSED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event PressedEvt.</summary>
- public void OnPressedEvt(Efl.Ui.IClickablePressedEvt_Args e)
+ /// <summary>Method to raise event PressedEvt.</summary>
+ public void OnPressedEvt(Efl.Input.IClickablePressedEvt_Args e)
{
- var key = "_EFL_UI_EVENT_PRESSED";
+ var key = "_EFL_INPUT_EVENT_PRESSED";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
}
}
/// <summary>Called when the object is no longer pressed, event_info is the button that got pressed</summary>
- public event EventHandler<Efl.Ui.IClickableUnpressedEvt_Args> UnpressedEvt
+ /// <value><see cref="Efl.Input.IClickableUnpressedEvt_Args"/></value>
+ public event EventHandler<Efl.Input.IClickableUnpressedEvt_Args> UnpressedEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- Efl.Ui.IClickableUnpressedEvt_Args args = new Efl.Ui.IClickableUnpressedEvt_Args();
+ Efl.Input.IClickableUnpressedEvt_Args args = new Efl.Input.IClickableUnpressedEvt_Args();
args.arg = Marshal.ReadInt32(evt.Info);
try
{
}
};
- string key = "_EFL_UI_EVENT_UNPRESSED";
+ string key = "_EFL_INPUT_EVENT_UNPRESSED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_UNPRESSED";
+ string key = "_EFL_INPUT_EVENT_UNPRESSED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event UnpressedEvt.</summary>
- public void OnUnpressedEvt(Efl.Ui.IClickableUnpressedEvt_Args e)
+ /// <summary>Method to raise event UnpressedEvt.</summary>
+ public void OnUnpressedEvt(Efl.Input.IClickableUnpressedEvt_Args e)
{
- var key = "_EFL_UI_EVENT_UNPRESSED";
+ var key = "_EFL_INPUT_EVENT_UNPRESSED";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
}
}
/// <summary>Called when the object receives a long press, event_info is the button that got pressed</summary>
- public event EventHandler<Efl.Ui.IClickableLongpressedEvt_Args> LongpressedEvt
+ /// <value><see cref="Efl.Input.IClickableLongpressedEvt_Args"/></value>
+ public event EventHandler<Efl.Input.IClickableLongpressedEvt_Args> LongpressedEvt
{
add
{
var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
if (obj != null)
{
- Efl.Ui.IClickableLongpressedEvt_Args args = new Efl.Ui.IClickableLongpressedEvt_Args();
+ Efl.Input.IClickableLongpressedEvt_Args args = new Efl.Input.IClickableLongpressedEvt_Args();
args.arg = Marshal.ReadInt32(evt.Info);
try
{
}
};
- string key = "_EFL_UI_EVENT_LONGPRESSED";
+ string key = "_EFL_INPUT_EVENT_LONGPRESSED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
{
lock (eflBindingEventLock)
{
- string key = "_EFL_UI_EVENT_LONGPRESSED";
+ string key = "_EFL_INPUT_EVENT_LONGPRESSED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
- ///<summary>Method to raise event LongpressedEvt.</summary>
- public void OnLongpressedEvt(Efl.Ui.IClickableLongpressedEvt_Args e)
+ /// <summary>Method to raise event LongpressedEvt.</summary>
+ public void OnLongpressedEvt(Efl.Input.IClickableLongpressedEvt_Args e)
{
- var key = "_EFL_UI_EVENT_LONGPRESSED";
+ var key = "_EFL_INPUT_EVENT_LONGPRESSED";
IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
if (desc == IntPtr.Zero)
{
Marshal.FreeHGlobal(info);
}
}
- /// <summary>Called when selected</summary>
- public event EventHandler<Efl.Ui.ISelectableItemSelectedEvt_Args> ItemSelectedEvt
- {
- 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.ISelectableItemSelectedEvt_Args args = new Efl.Ui.ISelectableItemSelectedEvt_Args();
- args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Object);
- try
- {
- value?.Invoke(obj, args);
- }
- catch (Exception e)
- {
- Eina.Log.Error(e.ToString());
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
- }
- };
-
- string key = "_EFL_UI_EVENT_ITEM_SELECTED";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_ITEM_SELECTED";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ItemSelectedEvt.</summary>
- public void OnItemSelectedEvt(Efl.Ui.ISelectableItemSelectedEvt_Args e)
- {
- var key = "_EFL_UI_EVENT_ITEM_SELECTED";
- 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 = e.arg.NativeHandle;
- Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
- }
- /// <summary>Called when no longer selected</summary>
- public event EventHandler<Efl.Ui.ISelectableItemUnselectedEvt_Args> ItemUnselectedEvt
- {
- 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.ISelectableItemUnselectedEvt_Args args = new Efl.Ui.ISelectableItemUnselectedEvt_Args();
- args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Object);
- try
- {
- value?.Invoke(obj, args);
- }
- catch (Exception e)
- {
- Eina.Log.Error(e.ToString());
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
- }
- };
-
- string key = "_EFL_UI_EVENT_ITEM_UNSELECTED";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_ITEM_UNSELECTED";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ItemUnselectedEvt.</summary>
- public void OnItemUnselectedEvt(Efl.Ui.ISelectableItemUnselectedEvt_Args e)
- {
- var key = "_EFL_UI_EVENT_ITEM_UNSELECTED";
- 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 = e.arg.NativeHandle;
- Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
- }
/// <summary>Called when selection is pasted</summary>
public event EventHandler SelectionPasteEvt
{
}
}
}
- ///<summary>Method to raise event SelectionPasteEvt.</summary>
+ /// <summary>Method to raise event SelectionPasteEvt.</summary>
public void OnSelectionPasteEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SELECTION_PASTE";
}
}
}
- ///<summary>Method to raise event SelectionCopyEvt.</summary>
+ /// <summary>Method to raise event SelectionCopyEvt.</summary>
public void OnSelectionCopyEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SELECTION_COPY";
}
}
}
- ///<summary>Method to raise event SelectionCutEvt.</summary>
+ /// <summary>Method to raise event SelectionCutEvt.</summary>
public void OnSelectionCutEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SELECTION_CUT";
}
}
}
- ///<summary>Method to raise event SelectionStartEvt.</summary>
+ /// <summary>Method to raise event SelectionStartEvt.</summary>
public void OnSelectionStartEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SELECTION_START";
}
}
}
- ///<summary>Method to raise event SelectionChangedEvt.</summary>
+ /// <summary>Method to raise event SelectionChangedEvt.</summary>
public void OnSelectionChangedEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SELECTION_CHANGED";
}
}
}
- ///<summary>Method to raise event SelectionClearedEvt.</summary>
+ /// <summary>Method to raise event SelectionClearedEvt.</summary>
public void OnSelectionClearedEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_SELECTION_CLEARED";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
- /// <summary>Get the scrollable state of the entry
- /// 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>
+ /// <summary>Enable or disable scrolling in the widget.
+ /// When scrolling is enabled scrollbars will appear if the text does not fit the widget size.</summary>
+ /// <returns><c>true</c> to enable scrolling. Default is <c>false</c>.</returns>
virtual public bool GetScrollable() {
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;
}
- /// <summary>Enable or disable scrolling in entry
- /// 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>
+ /// <summary>Enable or disable scrolling in the widget.
+ /// When scrolling is enabled scrollbars will appear if the text does not fit the widget size.</summary>
+ /// <param name="scroll"><c>true</c> to enable scrolling. Default is <c>false</c>.</param>
virtual public void SetScrollable(bool 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>Set the font family, filename and size for a given text object.
/// This function allows the font name and size of a text object to be set. The font string has to follow fontconfig's convention for naming fonts, as it's the underlying library used to query system fonts by Evas (see the fc-list command's output, on your system, to get an idea). Alternatively, youe can use the full path to a font file.
///
+ /// To skip changing font family pass null as font family. To skip changing font size pass 0 as font size.
+ ///
/// See also <see cref="Efl.ITextFont.GetFont"/>, <see cref="Efl.ITextFont.GetFontSource"/>.</summary>
/// <param name="font">The font family name or filename.</param>
/// <param name="size">The font size, in points.</param>
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
+ /// <summary>This returns true if the given object is currently in event emission</summary>
+ virtual public bool GetInteraction() {
+ var _ret_var = Efl.Input.IClickableConcrete.NativeMethods.efl_input_clickable_interaction_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
/// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),button);
+ Efl.Input.IClickableConcrete.NativeMethods.efl_input_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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),button);
+ Efl.Input.IClickableConcrete.NativeMethods.efl_input_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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),button);
+ Efl.Input.IClickableConcrete.NativeMethods.efl_input_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
- /// Normally the entry is not scrollable. This gets the scrollable state of the entry.</summary>
- /// <value><c>true</c> if it is to be scrollable, <c>false</c> otherwise.</value>
+ /// <summary>This aborts ongoing longpress event.
+ /// That is, this will stop the timer for longpress.</summary>
+ virtual public void LongpressAbort(uint button) {
+ Efl.Input.IClickableConcrete.NativeMethods.efl_input_clickable_longpress_abort_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),button);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Enable or disable scrolling in the widget.
+ /// When scrolling is enabled scrollbars will appear if the text does not fit the widget size.</summary>
+ /// <value><c>true</c> to enable scrolling. Default is <c>false</c>.</value>
public bool Scrollable {
get { return GetScrollable(); }
set { SetScrollable(value); }
public bool Loaded {
get { return GetLoaded(); }
}
+ /// <summary>Retrieve the font family and size in use on a given text object.
+ /// This function allows the font name and size of a text object to be queried. Remember that the font name string is still owned by Evas and should not have free() called on it by the caller of the function.
+ ///
+ /// See also <see cref="Efl.ITextFont.GetFont"/>.</summary>
+ /// <value>The font family name or filename.</value>
+ public (System.String, Efl.Font.Size) Font {
+ get {
+ System.String _out_font = default(System.String);
+ Efl.Font.Size _out_size = default(Efl.Font.Size);
+ GetFont(out _out_font,out _out_size);
+ return (_out_font,_out_size);
+ }
+ set { SetFont( value.Item1, value.Item2); }
+ }
/// <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>
/// <value>The font file's path.</value>
get { return GetSelectionAllowed(); }
set { SetSelectionAllowed(value); }
}
+ /// <summary>The cursors used for selection handling.
+ /// If the cursors are equal there's no selection.
+ ///
+ /// You are allowed to retain and modify them. Modifying them modifies the selection of the object.</summary>
+ public (Efl.TextCursorCursor, Efl.TextCursorCursor) SelectionCursors {
+ get {
+ Efl.TextCursorCursor _out_start = default(Efl.TextCursorCursor);
+ Efl.TextCursorCursor _out_end = default(Efl.TextCursorCursor);
+ GetSelectionCursors(out _out_start,out _out_end);
+ return (_out_start,_out_end);
+ }
+ }
/// <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>
/// <value>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.</value>
get { return GetMarkup(); }
set { SetMarkup(value); }
}
+ /// <summary>Color of text, excluding style</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) NormalColor {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetNormalColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetNormalColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Enable or disable backing type</summary>
/// <value>Backing type</value>
public Efl.TextStyleBackingType BackingType {
get { return GetBackingType(); }
set { SetBackingType(value); }
}
+ /// <summary>Backing color</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) BackingColor {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetBackingColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetBackingColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Sets an underline style on the text</summary>
/// <value>Underline type</value>
public Efl.TextStyleUnderlineType UnderlineType {
get { return GetUnderlineType(); }
set { SetUnderlineType(value); }
}
+ /// <summary>Color of normal underline style</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) UnderlineColor {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetUnderlineColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetUnderlineColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Height of underline style</summary>
/// <value>Height</value>
public double UnderlineHeight {
get { return GetUnderlineHeight(); }
set { SetUnderlineHeight(value); }
}
+ /// <summary>Color of dashed underline style</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) UnderlineDashedColor {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetUnderlineDashedColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetUnderlineDashedColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Width of dashed underline style</summary>
/// <value>Width</value>
public int UnderlineDashedWidth {
get { return GetUnderlineDashedGap(); }
set { SetUnderlineDashedGap(value); }
}
+ /// <summary>Color of underline2 style</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) Underline2Color {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetUnderline2Color(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetUnderline2Color( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Type of strikethrough style</summary>
/// <value>Strikethrough type</value>
public Efl.TextStyleStrikethroughType StrikethroughType {
get { return GetStrikethroughType(); }
set { SetStrikethroughType(value); }
}
+ /// <summary>Color of strikethrough_style</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) StrikethroughColor {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetStrikethroughColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetStrikethroughColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Type of effect used for the displayed text</summary>
/// <value>Effect type</value>
public Efl.TextStyleEffectType EffectType {
get { return GetEffectType(); }
set { SetEffectType(value); }
}
+ /// <summary>Color of outline effect</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) OutlineColor {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetOutlineColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetOutlineColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Direction of shadow effect</summary>
/// <value>Shadow direction</value>
public Efl.TextStyleShadowDirection ShadowDirection {
get { return GetShadowDirection(); }
set { SetShadowDirection(value); }
}
+ /// <summary>Color of shadow effect</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) ShadowColor {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetShadowColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetShadowColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
+ /// <summary>Color of glow effect</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) GlowColor {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetGlowColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetGlowColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
+ /// <summary>Second color of the glow effect</summary>
+ /// <value>Red component</value>
+ public (byte, byte, byte, byte) Glow2Color {
+ get {
+ byte _out_r = default(byte);
+ byte _out_g = default(byte);
+ byte _out_b = default(byte);
+ byte _out_a = default(byte);
+ GetGlow2Color(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetGlow2Color( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Program that applies a special filter
/// See <see cref="Efl.Gfx.IFilter"/>.</summary>
/// <value>Filter code</value>
public System.String TextContent {
set { SetTextContent(value); }
}
+ /// <summary>This returns true if the given object is currently in event emission</summary>
+ public bool Interaction {
+ get { return GetInteraction(); }
+ }
private static IntPtr GetEflClassStatic()
{
return Efl.Ui.Text.efl_ui_text_class_get();
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_editable_text_paste"), func = Marshal.GetFunctionPointerForDelegate(efl_access_editable_text_paste_static_delegate) });
}
- if (efl_ui_clickable_press_static_delegate == null)
+ if (efl_input_clickable_interaction_get_static_delegate == null)
+ {
+ efl_input_clickable_interaction_get_static_delegate = new efl_input_clickable_interaction_get_delegate(interaction_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetInteraction") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_clickable_interaction_get"), func = Marshal.GetFunctionPointerForDelegate(efl_input_clickable_interaction_get_static_delegate) });
+ }
+
+ if (efl_input_clickable_press_static_delegate == null)
{
- efl_ui_clickable_press_static_delegate = new efl_ui_clickable_press_delegate(press);
+ efl_input_clickable_press_static_delegate = new efl_input_clickable_press_delegate(press);
}
if (methods.FirstOrDefault(m => m.Name == "Press") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_clickable_press"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_clickable_press_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_clickable_press"), func = Marshal.GetFunctionPointerForDelegate(efl_input_clickable_press_static_delegate) });
}
- if (efl_ui_clickable_unpress_static_delegate == null)
+ if (efl_input_clickable_unpress_static_delegate == null)
{
- efl_ui_clickable_unpress_static_delegate = new efl_ui_clickable_unpress_delegate(unpress);
+ efl_input_clickable_unpress_static_delegate = new efl_input_clickable_unpress_delegate(unpress);
}
if (methods.FirstOrDefault(m => m.Name == "Unpress") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_clickable_unpress"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_clickable_unpress_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_clickable_unpress"), func = Marshal.GetFunctionPointerForDelegate(efl_input_clickable_unpress_static_delegate) });
}
- if (efl_ui_clickable_button_state_reset_static_delegate == null)
+ if (efl_input_clickable_button_state_reset_static_delegate == null)
{
- efl_ui_clickable_button_state_reset_static_delegate = new efl_ui_clickable_button_state_reset_delegate(button_state_reset);
+ efl_input_clickable_button_state_reset_static_delegate = new efl_input_clickable_button_state_reset_delegate(button_state_reset);
}
if (methods.FirstOrDefault(m => m.Name == "ResetButtonState") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_clickable_button_state_reset"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_clickable_button_state_reset_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_clickable_button_state_reset"), func = Marshal.GetFunctionPointerForDelegate(efl_input_clickable_button_state_reset_static_delegate) });
+ }
+
+ if (efl_input_clickable_longpress_abort_static_delegate == null)
+ {
+ efl_input_clickable_longpress_abort_static_delegate = new efl_input_clickable_longpress_abort_delegate(longpress_abort);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "LongpressAbort") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_clickable_longpress_abort"), func = Marshal.GetFunctionPointerForDelegate(efl_input_clickable_longpress_abort_static_delegate) });
}
descs.AddRange(base.GetEoOps(type));
private static efl_access_editable_text_paste_delegate efl_access_editable_text_paste_static_delegate;
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_input_clickable_interaction_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_input_clickable_interaction_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_input_clickable_interaction_get_api_delegate> efl_input_clickable_interaction_get_ptr = new Efl.Eo.FunctionWrapper<efl_input_clickable_interaction_get_api_delegate>(Module, "efl_input_clickable_interaction_get");
+
+ private static bool interaction_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_input_clickable_interaction_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((Text)ws.Target).GetInteraction();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_input_clickable_interaction_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_input_clickable_interaction_get_delegate efl_input_clickable_interaction_get_static_delegate;
+
- private delegate void efl_ui_clickable_press_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
+ private delegate void efl_input_clickable_press_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
- public delegate void efl_ui_clickable_press_api_delegate(System.IntPtr obj, uint button);
+ public delegate void efl_input_clickable_press_api_delegate(System.IntPtr obj, uint button);
- public static Efl.Eo.FunctionWrapper<efl_ui_clickable_press_api_delegate> efl_ui_clickable_press_ptr = new Efl.Eo.FunctionWrapper<efl_ui_clickable_press_api_delegate>(Module, "efl_ui_clickable_press");
+ public static Efl.Eo.FunctionWrapper<efl_input_clickable_press_api_delegate> efl_input_clickable_press_ptr = new Efl.Eo.FunctionWrapper<efl_input_clickable_press_api_delegate>(Module, "efl_input_clickable_press");
private static void press(System.IntPtr obj, System.IntPtr pd, uint button)
{
- Eina.Log.Debug("function efl_ui_clickable_press was called");
+ Eina.Log.Debug("function efl_input_clickable_press was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
}
else
{
- efl_ui_clickable_press_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
+ efl_input_clickable_press_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
}
}
- private static efl_ui_clickable_press_delegate efl_ui_clickable_press_static_delegate;
+ private static efl_input_clickable_press_delegate efl_input_clickable_press_static_delegate;
- private delegate void efl_ui_clickable_unpress_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
+ private delegate void efl_input_clickable_unpress_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
- public delegate void efl_ui_clickable_unpress_api_delegate(System.IntPtr obj, uint button);
+ public delegate void efl_input_clickable_unpress_api_delegate(System.IntPtr obj, uint button);
- public static Efl.Eo.FunctionWrapper<efl_ui_clickable_unpress_api_delegate> efl_ui_clickable_unpress_ptr = new Efl.Eo.FunctionWrapper<efl_ui_clickable_unpress_api_delegate>(Module, "efl_ui_clickable_unpress");
+ public static Efl.Eo.FunctionWrapper<efl_input_clickable_unpress_api_delegate> efl_input_clickable_unpress_ptr = new Efl.Eo.FunctionWrapper<efl_input_clickable_unpress_api_delegate>(Module, "efl_input_clickable_unpress");
private static void unpress(System.IntPtr obj, System.IntPtr pd, uint button)
{
- Eina.Log.Debug("function efl_ui_clickable_unpress was called");
+ Eina.Log.Debug("function efl_input_clickable_unpress was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
}
else
{
- efl_ui_clickable_unpress_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
+ efl_input_clickable_unpress_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
}
}
- private static efl_ui_clickable_unpress_delegate efl_ui_clickable_unpress_static_delegate;
+ private static efl_input_clickable_unpress_delegate efl_input_clickable_unpress_static_delegate;
- private delegate void efl_ui_clickable_button_state_reset_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
+ private delegate void efl_input_clickable_button_state_reset_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
- public delegate void efl_ui_clickable_button_state_reset_api_delegate(System.IntPtr obj, uint button);
+ public delegate void efl_input_clickable_button_state_reset_api_delegate(System.IntPtr obj, uint button);
- public static Efl.Eo.FunctionWrapper<efl_ui_clickable_button_state_reset_api_delegate> efl_ui_clickable_button_state_reset_ptr = new Efl.Eo.FunctionWrapper<efl_ui_clickable_button_state_reset_api_delegate>(Module, "efl_ui_clickable_button_state_reset");
+ public static Efl.Eo.FunctionWrapper<efl_input_clickable_button_state_reset_api_delegate> efl_input_clickable_button_state_reset_ptr = new Efl.Eo.FunctionWrapper<efl_input_clickable_button_state_reset_api_delegate>(Module, "efl_input_clickable_button_state_reset");
private static void button_state_reset(System.IntPtr obj, System.IntPtr pd, uint button)
{
- Eina.Log.Debug("function efl_ui_clickable_button_state_reset was called");
+ Eina.Log.Debug("function efl_input_clickable_button_state_reset was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
}
else
{
- efl_ui_clickable_button_state_reset_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
+ efl_input_clickable_button_state_reset_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
}
}
- private static efl_ui_clickable_button_state_reset_delegate efl_ui_clickable_button_state_reset_static_delegate;
+ private static efl_input_clickable_button_state_reset_delegate efl_input_clickable_button_state_reset_static_delegate;
+
+
+ private delegate void efl_input_clickable_longpress_abort_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
+
+
+ public delegate void efl_input_clickable_longpress_abort_api_delegate(System.IntPtr obj, uint button);
+
+ public static Efl.Eo.FunctionWrapper<efl_input_clickable_longpress_abort_api_delegate> efl_input_clickable_longpress_abort_ptr = new Efl.Eo.FunctionWrapper<efl_input_clickable_longpress_abort_api_delegate>(Module, "efl_input_clickable_longpress_abort");
+
+ private static void longpress_abort(System.IntPtr obj, System.IntPtr pd, uint button)
+ {
+ Eina.Log.Debug("function efl_input_clickable_longpress_abort was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Text)ws.Target).LongpressAbort(button);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_input_clickable_longpress_abort_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
+ }
+ }
+
+ private static efl_input_clickable_longpress_abort_delegate efl_input_clickable_longpress_abort_static_delegate;
#pragma warning restore CA1707, CS1591, SA1300, SA1600
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiText_ExtensionMethods {
+ public static Efl.BindableProperty<bool> Scrollable<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<bool>("scrollable", fac);
+ }
+
+ public static Efl.BindableProperty<bool> InputPanelShowOnDemand<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<bool>("input_panel_show_on_demand", fac);
+ }
+
+ public static Efl.BindableProperty<bool> ContextMenuDisabled<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<bool>("context_menu_disabled", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Ui.SelectionFormat> CnpMode<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<Efl.Ui.SelectionFormat>("cnp_mode", fac);
+ }
+
+ public static Efl.BindableProperty<Elm.Input.Panel.Lang> InputPanelLanguage<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<Elm.Input.Panel.Lang>("input_panel_language", fac);
+ }
+
+ public static Efl.BindableProperty<bool> SelectionHandlerDisabled<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<bool>("selection_handler_disabled", fac);
+ }
+
+ public static Efl.BindableProperty<int> InputPanelLayoutVariation<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<int>("input_panel_layout_variation", fac);
+ }
+
+ public static Efl.BindableProperty<Elm.Autocapital.Type> AutocapitalType<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<Elm.Autocapital.Type>("autocapital_type", fac);
+ }
+
+ public static Efl.BindableProperty<bool> PasswordMode<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<bool>("password_mode", fac);
+ }
+
+ public static Efl.BindableProperty<bool> InputPanelReturnKeyDisabled<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<bool>("input_panel_return_key_disabled", fac);
+ }
+
+ public static Efl.BindableProperty<bool> PredictionAllow<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<bool>("prediction_allow", fac);
+ }
+
+ public static Efl.BindableProperty<Elm.Input.Hints> InputHint<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<Elm.Input.Hints>("input_hint", fac);
+ }
+
+ public static Efl.BindableProperty<Elm.Input.Panel.Layout> InputPanelLayout<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<Elm.Input.Panel.Layout>("input_panel_layout", fac);
+ }
+
+ public static Efl.BindableProperty<Elm.Input.Panel.ReturnKey.Type> InputPanelReturnKeyType<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<Elm.Input.Panel.ReturnKey.Type>("input_panel_return_key_type", fac);
+ }
+
+ public static Efl.BindableProperty<bool> InputPanelEnabled<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<bool>("input_panel_enabled", fac);
+ }
+
+ public static Efl.BindableProperty<bool> InputPanelReturnKeyAutoenabled<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<bool>("input_panel_return_key_autoenabled", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Canvas.ITextFactory> ItemFactory<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<Efl.Canvas.ITextFactory>("item_factory", fac);
+ }
+
+ public static Efl.BindableProperty<Eina.File> Mmap<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<Eina.File>("mmap", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> File<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<System.String>("file", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> Key<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<System.String>("key", fac);
+ }
+
+
+
+
+ public static Efl.BindableProperty<System.String> FontSource<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<System.String>("font_source", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> FontFallbacks<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<System.String>("font_fallbacks", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.TextFontWeight> FontWeight<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<Efl.TextFontWeight>("font_weight", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.TextFontSlant> FontSlant<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<Efl.TextFontSlant>("font_slant", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.TextFontWidth> FontWidth<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<Efl.TextFontWidth>("font_width", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> FontLang<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<System.String>("font_lang", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.TextFontBitmapScalable> FontBitmapScalable<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<Efl.TextFontBitmapScalable>("font_bitmap_scalable", fac);
+ }
+
+ public static Efl.BindableProperty<double> Ellipsis<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<double>("ellipsis", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.TextFormatWrap> Wrap<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<Efl.TextFormatWrap>("wrap", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Multiline<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<bool>("multiline", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.TextFormatHorizontalAlignmentAutoType> HalignAutoType<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<Efl.TextFormatHorizontalAlignmentAutoType>("halign_auto_type", fac);
+ }
+
+ public static Efl.BindableProperty<double> Halign<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<double>("halign", fac);
+ }
+
+ public static Efl.BindableProperty<double> Valign<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<double>("valign", fac);
+ }
+
+ public static Efl.BindableProperty<double> Linegap<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<double>("linegap", fac);
+ }
+
+ public static Efl.BindableProperty<double> Linerelgap<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<double>("linerelgap", fac);
+ }
+
+ public static Efl.BindableProperty<int> Tabstops<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<int>("tabstops", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Password<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<bool>("password", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> ReplacementChar<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<System.String>("replacement_char", fac);
+ }
+
+ public static Efl.BindableProperty<bool> SelectionAllowed<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<bool>("selection_allowed", fac);
+ }
+
+
+ public static Efl.BindableProperty<bool> Editable<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<bool>("editable", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> Markup<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<System.String>("markup", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.TextStyleBackingType> BackingType<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<Efl.TextStyleBackingType>("backing_type", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.TextStyleUnderlineType> UnderlineType<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<Efl.TextStyleUnderlineType>("underline_type", fac);
+ }
+
+
+ public static Efl.BindableProperty<double> UnderlineHeight<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<double>("underline_height", fac);
+ }
+
+
+ public static Efl.BindableProperty<int> UnderlineDashedWidth<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<int>("underline_dashed_width", fac);
+ }
+
+ public static Efl.BindableProperty<int> UnderlineDashedGap<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<int>("underline_dashed_gap", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.TextStyleStrikethroughType> StrikethroughType<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<Efl.TextStyleStrikethroughType>("strikethrough_type", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.TextStyleEffectType> EffectType<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<Efl.TextStyleEffectType>("effect_type", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.TextStyleShadowDirection> ShadowDirection<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<Efl.TextStyleShadowDirection>("shadow_direction", fac);
+ }
+
+
+
+
+ public static Efl.BindableProperty<System.String> GfxFilter<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<System.String>("gfx_filter", fac);
+ }
+
+
+
+
+ public static Efl.BindableProperty<int> CaretOffset<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<int>("caret_offset", fac);
+ }
+
+
+
+
+
+
+
+
+
+
+
+ public static Efl.BindableProperty<System.String> TextContent<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Text, T>magic = null) where T : Efl.Ui.Text {
+ return new Efl.BindableProperty<System.String>("text_content", fac);
+ }
+
+
+}
+#pragma warning restore CS1591
+#endif
+++ /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 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>
- public override System.IntPtr NativeClass
- {
- get
- {
- if (((object)this).GetType() == typeof(TextAlertPopup))
- {
- 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_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>
- public TextAlertPopup(Efl.Object parent
- , System.String style = null) : base(efl_ui_text_alert_popup_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 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="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="parent">The Efl.Object parent of this instance.</param>
- protected TextAlertPopup(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
- {
- }
-
- /// <summary>Set the expandable of popup.
- /// If the contents of the popup has min size, the popup will be increased by min size along the Y axis. If max hint is set it will be increased to the value of max hint and scrolling will occur.</summary>
- /// <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((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.
- /// Do not free() the return value.
- ///
- /// See also <see cref="Efl.IText.GetText"/>.
- /// (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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Sets the text string to be displayed by the given text object.
- /// See also <see cref="Efl.IText.GetText"/>.
- /// (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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),text);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Set the expandable of popup.
- /// If the contents of the popup has min size, the popup will be increased by min size along the Y axis. If max hint is set it will be increased to the value of max hint and scrolling will occur.</summary>
- /// <value>A 2D max size in pixel units.</value>
- public Eina.Size2D Expandable {
- set { SetExpandable(value); }
- }
- private static IntPtr GetEflClassStatic()
- {
- return Efl.Ui.TextAlertPopup.efl_ui_text_alert_popup_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.AlertPopup.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_text_alert_popup_expandable_set_static_delegate == null)
- {
- efl_ui_text_alert_popup_expandable_set_static_delegate = new efl_ui_text_alert_popup_expandable_set_delegate(expandable_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetExpandable") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_text_alert_popup_expandable_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_text_alert_popup_expandable_set_static_delegate) });
- }
-
- if (efl_text_get_static_delegate == null)
- {
- efl_text_get_static_delegate = new efl_text_get_delegate(text_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetText") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_get_static_delegate) });
- }
-
- if (efl_text_set_static_delegate == null)
- {
- efl_text_set_static_delegate = new efl_text_set_delegate(text_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetText") != null)
- {
- 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) });
- }
-
- 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.TextAlertPopup.efl_ui_text_alert_popup_class_get();
- }
-
- #pragma warning disable CA1707, CS1591, SA1300, SA1600
-
-
- private delegate void efl_ui_text_alert_popup_expandable_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct max_size);
-
-
- public delegate void efl_ui_text_alert_popup_expandable_set_api_delegate(System.IntPtr obj, Eina.Size2D.NativeStruct max_size);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_text_alert_popup_expandable_set_api_delegate> efl_ui_text_alert_popup_expandable_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_text_alert_popup_expandable_set_api_delegate>(Module, "efl_ui_text_alert_popup_expandable_set");
-
- private static void expandable_set(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct max_size)
- {
- Eina.Log.Debug("function efl_ui_text_alert_popup_expandable_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Eina.Size2D _in_max_size = max_size;
-
- try
- {
- ((TextAlertPopup)ws.Target).SetExpandable(_in_max_size);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_text_alert_popup_expandable_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), max_size);
- }
- }
-
- private static efl_ui_text_alert_popup_expandable_set_delegate efl_ui_text_alert_popup_expandable_set_static_delegate;
-
- [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
- private delegate System.String efl_text_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
- public delegate System.String efl_text_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_text_get_api_delegate> efl_text_get_ptr = new Efl.Eo.FunctionWrapper<efl_text_get_api_delegate>(Module, "efl_text_get");
-
- private static System.String text_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_text_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- System.String _ret_var = default(System.String);
- try
- {
- _ret_var = ((TextAlertPopup)ws.Target).GetText();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_text_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_text_get_delegate efl_text_get_static_delegate;
-
-
- private delegate void efl_text_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String text);
-
-
- public delegate void efl_text_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String text);
-
- public static Efl.Eo.FunctionWrapper<efl_text_set_api_delegate> efl_text_set_ptr = new Efl.Eo.FunctionWrapper<efl_text_set_api_delegate>(Module, "efl_text_set");
-
- private static void text_set(System.IntPtr obj, System.IntPtr pd, System.String text)
- {
- Eina.Log.Debug("function efl_text_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((TextAlertPopup)ws.Target).SetText(text);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_text_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), text);
- }
- }
-
- private static efl_text_set_delegate efl_text_set_static_delegate;
-
- #pragma warning restore CA1707, CS1591, SA1300, SA1600
-
-}
-}
-}
-
-}
-
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Efl UI text async class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.TextAsync.NativeMethods]
[Efl.Eo.BindingEntity]
public class TextAsync : Efl.Ui.Text
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected TextAsync(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiTextAsync_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Efl UI text editable class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.TextEditable.NativeMethods]
[Efl.Eo.BindingEntity]
public class TextEditable : Efl.Ui.Text
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected TextEditable(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiTextEditable_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace TextFactory {
/// <summary>Factory that creates emoticons from the current theme given a key.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Emoticons(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_Ui_Text_FactoryEmoticons_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Fallback(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_Ui_Text_FactoryFallback_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Images(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_Ui_Text_FactoryImages_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Efl UI Text internal part class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.TextPart.NativeMethods]
[Efl.Eo.BindingEntity]
public class TextPart : Efl.Ui.LayoutPartText
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected TextPart(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiTextPart_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
--- /dev/null
+#define EFL_BETA
+#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 text selectable interface</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+[Efl.Ui.ITextSelectableConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
+public interface ITextSelectable :
+ Efl.Eo.IWrapper, IDisposable
+{
+ /// <summary>Called when selection is pasted</summary>
+ event EventHandler SelectionPasteEvt;
+ /// <summary>Called when selection is copied</summary>
+ event EventHandler SelectionCopyEvt;
+ /// <summary>Called when selection is cut</summary>
+ event EventHandler SelectionCutEvt;
+ /// <summary>Called at selection start</summary>
+ event EventHandler SelectionStartEvt;
+ /// <summary>Called when selection is changed</summary>
+ event EventHandler SelectionChangedEvt;
+ /// <summary>Called when selection is cleared</summary>
+ event EventHandler SelectionClearedEvt;
+}
+/// <summary>Efl UI text selectable interface</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class ITextSelectableConcrete :
+ Efl.Eo.EoWrapper
+ , ITextSelectable
+
+{
+ /// <summary>Pointer to the native class description.</summary>
+ public override System.IntPtr NativeClass
+ {
+ get
+ {
+ if (((object)this).GetType() == typeof(ITextSelectableConcrete))
+ {
+ return GetEflClassStatic();
+ }
+ else
+ {
+ return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
+ }
+ }
+ }
+
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private ITextSelectableConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
+ [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
+ efl_ui_text_selectable_interface_get();
+ /// <summary>Initializes a new instance of the <see cref="ITextSelectable"/> class.
+ /// Internal usage: 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>
+ private ITextSelectableConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
+ {
+ }
+
+ /// <summary>Called when selection is pasted</summary>
+ public event EventHandler SelectionPasteEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_EVENT_SELECTION_PASTE";
+ AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_EVENT_SELECTION_PASTE";
+ RemoveNativeEventHandler(efl.Libs.Efl, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event SelectionPasteEvt.</summary>
+ public void OnSelectionPasteEvt(EventArgs e)
+ {
+ var key = "_EFL_UI_EVENT_SELECTION_PASTE";
+ IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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>Called when selection is copied</summary>
+ public event EventHandler SelectionCopyEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_EVENT_SELECTION_COPY";
+ AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_EVENT_SELECTION_COPY";
+ RemoveNativeEventHandler(efl.Libs.Efl, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event SelectionCopyEvt.</summary>
+ public void OnSelectionCopyEvt(EventArgs e)
+ {
+ var key = "_EFL_UI_EVENT_SELECTION_COPY";
+ IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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>Called when selection is cut</summary>
+ public event EventHandler SelectionCutEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_EVENT_SELECTION_CUT";
+ AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_EVENT_SELECTION_CUT";
+ RemoveNativeEventHandler(efl.Libs.Efl, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event SelectionCutEvt.</summary>
+ public void OnSelectionCutEvt(EventArgs e)
+ {
+ var key = "_EFL_UI_EVENT_SELECTION_CUT";
+ IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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>Called at selection start</summary>
+ public event EventHandler SelectionStartEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_EVENT_SELECTION_START";
+ AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_EVENT_SELECTION_START";
+ RemoveNativeEventHandler(efl.Libs.Efl, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event SelectionStartEvt.</summary>
+ public void OnSelectionStartEvt(EventArgs e)
+ {
+ var key = "_EFL_UI_EVENT_SELECTION_START";
+ IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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>Called when selection is changed</summary>
+ public event EventHandler SelectionChangedEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_EVENT_SELECTION_CHANGED";
+ AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_EVENT_SELECTION_CHANGED";
+ RemoveNativeEventHandler(efl.Libs.Efl, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event SelectionChangedEvt.</summary>
+ public void OnSelectionChangedEvt(EventArgs e)
+ {
+ var key = "_EFL_UI_EVENT_SELECTION_CHANGED";
+ IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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>Called when selection is cleared</summary>
+ public event EventHandler SelectionClearedEvt
+ {
+ add
+ {
+ lock (eflBindingEventLock)
+ {
+ 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_EVENT_SELECTION_CLEARED";
+ AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_EVENT_SELECTION_CLEARED";
+ RemoveNativeEventHandler(efl.Libs.Efl, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event SelectionClearedEvt.</summary>
+ public void OnSelectionClearedEvt(EventArgs e)
+ {
+ var key = "_EFL_UI_EVENT_SELECTION_CLEARED";
+ IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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);
+ }
+ private static IntPtr GetEflClassStatic()
+ {
+ return Efl.Ui.ITextSelectableConcrete.efl_ui_text_selectable_interface_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
+ {
+ /// <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.ITextSelectableConcrete.efl_ui_text_selectable_interface_get();
+ }
+
+ #pragma warning disable CA1707, CS1591, SA1300, SA1600
+
+ #pragma warning restore CA1707, CS1591, SA1300, SA1600
+
+}
+}
+}
+
+}
+
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiITextSelectableConcrete_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Efl Ui Textpath class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Textpath(ConstructingHandle ch) : base(ch)
{
}
/// <summary>The number of slices. The larger the number of slice_num is, The better the text follows the path.
- /// @internal</summary>
+ /// 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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
return _ret_var;
}
/// <summary>The number of slices. The larger the number of slice_num is, The better the text follows the path.
- /// @internal</summary>
+ /// 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((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>
+ /// 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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
return _ret_var;
}
/// <summary>Control the ellipsis behavior of the textpath.
- /// @since_tizen 5.5</summary>
+ /// 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((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.
- /// @since_tizen 5.5</summary>
- /// <param name="x">X coordinate of center</param>
- /// <param name="y">Y coordinate of center</param>
+ /// <summary>Set a circle with given radius and start angle. The center of the circle will be decided by the object center position.
+ /// since_tizen 5.5</summary>
/// <param name="radius">Radius of the circle</param>
/// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y, radius, start_angle, direction);
+ virtual public void SetCircular(double radius, double start_angle, Efl.Ui.TextpathDirection direction) {
+ Efl.Ui.Textpath.NativeMethods.efl_ui_textpath_circular_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),radius, start_angle, direction);
Eina.Error.RaiseIfUnhandledException();
- }
+ }
/// <summary>Retrieves the text string currently being displayed by the given text object.
/// Do not free() the return value.
///
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>The number of slices. The larger the number of slice_num is, The better the text follows the path.
- /// @internal</summary>
+ /// internal</summary>
/// <value>Number of slices</value>
public int SliceNumber {
get { return GetSliceNumber(); }
set { SetSliceNumber(value); }
}
/// <summary>Control the ellipsis behavior of the textpath.
- /// @since_tizen 5.5</summary>
+ /// since_tizen 5.5</summary>
/// <value>To ellipsis text or not</value>
public bool Ellipsis {
get { return GetEllipsis(); }
set { SetEllipsis(value); }
}
+ /// <summary>Set the list of commands and points to be used to create the content of path.</summary>
+ /// <value>Command list</value>
+ public (Efl.Gfx.PathCommandType, double) Path {
+ get {
+ Efl.Gfx.PathCommandType _out_op = default(Efl.Gfx.PathCommandType);
+ double _out_points = default(double);
+ GetPath(out _out_op,out _out_points);
+ return (_out_op,_out_points);
+ }
+ set { SetPath( value.Item1, value.Item2); }
+ }
+ /// <summary>Path length property</summary>
+ public (uint, uint) Length {
+ get {
+ uint _out_commands = default(uint);
+ uint _out_points = default(uint);
+ GetLength(out _out_commands,out _out_points);
+ return (_out_commands,_out_points);
+ }
+ }
+ /// <summary>Current point coordinates</summary>
+ public (double, double) Current {
+ get {
+ double _out_x = default(double);
+ double _out_y = default(double);
+ GetCurrent(out _out_x,out _out_y);
+ return (_out_x,_out_y);
+ }
+ }
+ /// <summary>Current control point coordinates</summary>
+ public (double, double) CurrentCtrl {
+ get {
+ double _out_x = default(double);
+ double _out_y = default(double);
+ GetCurrentCtrl(out _out_x,out _out_y);
+ return (_out_x,_out_y);
+ }
+ }
private static IntPtr GetEflClassStatic()
{
return Efl.Ui.Textpath.efl_ui_textpath_class_get();
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_textpath_ellipsis_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_textpath_ellipsis_set_static_delegate) });
}
- if (efl_ui_textpath_circle_set_static_delegate == null)
+ if (efl_ui_textpath_circular_set_static_delegate == null)
{
- efl_ui_textpath_circle_set_static_delegate = new efl_ui_textpath_circle_set_delegate(circle_set);
+ efl_ui_textpath_circular_set_static_delegate = new efl_ui_textpath_circular_set_delegate(circular_set);
}
- if (methods.FirstOrDefault(m => m.Name == "SetCircle") != null)
+ if (methods.FirstOrDefault(m => m.Name == "SetCircular") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_textpath_circle_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_textpath_circle_set_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_textpath_circular_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_textpath_circular_set_static_delegate) });
}
if (efl_text_get_static_delegate == null)
private static efl_ui_textpath_ellipsis_set_delegate efl_ui_textpath_ellipsis_set_static_delegate;
- private delegate void efl_ui_textpath_circle_set_delegate(System.IntPtr obj, System.IntPtr pd, double x, double y, double radius, double start_angle, Efl.Ui.TextpathDirection direction);
+ private delegate void efl_ui_textpath_circular_set_delegate(System.IntPtr obj, System.IntPtr pd, double radius, double start_angle, Efl.Ui.TextpathDirection direction);
- public delegate void efl_ui_textpath_circle_set_api_delegate(System.IntPtr obj, double x, double y, double radius, double start_angle, Efl.Ui.TextpathDirection direction);
+ public delegate void efl_ui_textpath_circular_set_api_delegate(System.IntPtr obj, double radius, double start_angle, Efl.Ui.TextpathDirection direction);
- public static Efl.Eo.FunctionWrapper<efl_ui_textpath_circle_set_api_delegate> efl_ui_textpath_circle_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_textpath_circle_set_api_delegate>(Module, "efl_ui_textpath_circle_set");
+ public static Efl.Eo.FunctionWrapper<efl_ui_textpath_circular_set_api_delegate> efl_ui_textpath_circular_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_textpath_circular_set_api_delegate>(Module, "efl_ui_textpath_circular_set");
- private static void circle_set(System.IntPtr obj, System.IntPtr pd, double x, double y, double radius, double start_angle, Efl.Ui.TextpathDirection direction)
+ private static void circular_set(System.IntPtr obj, System.IntPtr pd, double radius, double start_angle, Efl.Ui.TextpathDirection direction)
{
- Eina.Log.Debug("function efl_ui_textpath_circle_set was called");
+ Eina.Log.Debug("function efl_ui_textpath_circular_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
-
+
try
{
- ((Textpath)ws.Target).SetCircle(x, y, radius, start_angle, direction);
+ ((Textpath)ws.Target).SetCircular(radius, start_angle, direction);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+
}
else
{
- efl_ui_textpath_circle_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y, radius, start_angle, direction);
+ efl_ui_textpath_circular_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), radius, start_angle, direction);
}
}
- private static efl_ui_textpath_circle_set_delegate efl_ui_textpath_circle_set_static_delegate;
+ private static efl_ui_textpath_circular_set_delegate efl_ui_textpath_circular_set_static_delegate;
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
private delegate System.String efl_text_get_delegate(System.IntPtr obj, System.IntPtr pd);
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiTextpath_ExtensionMethods {
+ public static Efl.BindableProperty<int> SliceNumber<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Textpath, T>magic = null) where T : Efl.Ui.Textpath {
+ return new Efl.BindableProperty<int>("slice_number", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Ellipsis<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Textpath, T>magic = null) where T : Efl.Ui.Textpath {
+ return new Efl.BindableProperty<bool>("ellipsis", fac);
+ }
+
+
+
+
+
+
+}
+#pragma warning restore CS1591
+#endif
namespace Efl {
namespace Ui {
/// <summary>Textpath direction
-/// @since_tizen 5.5</summary>
+/// since_tizen 5.5</summary>
[Efl.Eo.BindingEntity]
public enum TextpathDirection
{
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Efl UI Textpath internal part class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.TextpathPart.NativeMethods]
[Efl.Eo.BindingEntity]
public class TextpathPart : Efl.Ui.LayoutPartText
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected TextpathPart(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiTextpathPart_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Efl Ui Theme class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.Theme.NativeMethods]
[Efl.Eo.BindingEntity]
public class Theme : Efl.Object
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Theme(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiTheme_ExtensionMethods {
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.Timepicker.NativeMethods]
[Efl.Eo.BindingEntity]
public class Timepicker : Efl.Ui.LayoutBase
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Timepicker(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event ChangedEvt.</summary>
+ /// <summary>Method to raise event ChangedEvt.</summary>
public void OnChangedEvt(EventArgs e)
{
var key = "_EFL_UI_TIMEPICKER_EVENT_CHANGED";
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>The current value of time
+ /// <c>hour</c>: Hour. The hour value is in terms of 24 hour format from 0 to 23.
+ ///
+ /// <c>min</c>: Minute. The minute range is from 0 to 59.</summary>
+ /// <value>The hour value from 0 to 23.</value>
+ public (int, int) Time {
+ get {
+ int _out_hour = default(int);
+ int _out_min = default(int);
+ GetTime(out _out_hour,out _out_min);
+ return (_out_hour,_out_min);
+ }
+ set { SetTime( value.Item1, value.Item2); }
+ }
/// <summary>Control if the Timepicker displays 24 hour time or 12 hour time including AM/PM button.</summary>
/// <value><c>true</c> to display the 24 hour time, <c>false</c> to display 12 hour time including AM/PM button.</value>
public bool Ampm {
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiTimepicker_ExtensionMethods {
+
+ public static Efl.BindableProperty<bool> Ampm<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Timepicker, T>magic = null) where T : Efl.Ui.Timepicker {
+ return new Efl.BindableProperty<bool>("ampm", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Efl UI video class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Video(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiVideo_ExtensionMethods {
+ public static Efl.BindableProperty<bool> RememberPosition<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Video, T>magic = null) where T : Efl.Ui.Video {
+ return new Efl.BindableProperty<bool>("remember_position", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<Eina.File> Mmap<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Video, T>magic = null) where T : Efl.Ui.Video {
+ return new Efl.BindableProperty<Eina.File>("mmap", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> File<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Video, T>magic = null) where T : Efl.Ui.Video {
+ return new Efl.BindableProperty<System.String>("file", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> Key<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Video, T>magic = null) where T : Efl.Ui.Video {
+ return new Efl.BindableProperty<System.String>("key", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<bool> Play<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Video, T>magic = null) where T : Efl.Ui.Video {
+ return new Efl.BindableProperty<bool>("play", fac);
+ }
+
+ public static Efl.BindableProperty<double> Pos<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Video, T>magic = null) where T : Efl.Ui.Video {
+ return new Efl.BindableProperty<double>("pos", fac);
+ }
+
+
+ public static Efl.BindableProperty<double> PlaySpeed<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Video, T>magic = null) where T : Efl.Ui.Video {
+ return new Efl.BindableProperty<double>("play_speed", fac);
+ }
+
+ public static Efl.BindableProperty<double> Volume<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Video, T>magic = null) where T : Efl.Ui.Video {
+ return new Efl.BindableProperty<double>("volume", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Mute<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Video, T>magic = null) where T : Efl.Ui.Video {
+ return new Efl.BindableProperty<bool>("mute", fac);
+ }
+
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Efl UI view interface</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.IViewConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IView :
/// <summary>Model that is/will be</summary>
/// <param name="model">Efl model</param>
void SetModel(Efl.IModel model);
- /// <summary>Model that is/will be</summary>
+ /// <summary>Event dispatched when a new model is set.</summary>
+ /// <value><see cref="Efl.Ui.IViewModelChangedEvt_Args"/></value>
+ event EventHandler<Efl.Ui.IViewModelChangedEvt_Args> ModelChangedEvt;
+ /// <summary>Model that is/will be</summary>
/// <value>Efl model</value>
Efl.IModel Model {
- get ;
- set ;
+ get;
+ set;
}
}
+/// <summary>Event argument wrapper for event <see cref="Efl.Ui.IView.ModelChangedEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
+public class IViewModelChangedEvt_Args : EventArgs {
+ /// <summary>Actual event payload.</summary>
+ /// <value>Event dispatched when a new model is set.</value>
+ public Efl.ModelChangedEvent arg { get; set; }
+}
/// <summary>Efl UI view interface</summary>
-sealed public class IViewConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IViewConcrete :
Efl.Eo.EoWrapper
, IView
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IViewConcrete(ConstructingHandle ch) : base(ch)
{
{
}
+ /// <summary>Event dispatched when a new model is set.</summary>
+ /// <value><see cref="Efl.Ui.IViewModelChangedEvt_Args"/></value>
+ public event EventHandler<Efl.Ui.IViewModelChangedEvt_Args> ModelChangedEvt
+ {
+ 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.IViewModelChangedEvt_Args args = new Efl.Ui.IViewModelChangedEvt_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_VIEW_EVENT_MODEL_CHANGED";
+ AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_VIEW_EVENT_MODEL_CHANGED";
+ RemoveNativeEventHandler(efl.Libs.Efl, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event ModelChangedEvt.</summary>
+ public void OnModelChangedEvt(Efl.Ui.IViewModelChangedEvt_Args e)
+ {
+ var key = "_EFL_UI_VIEW_EVENT_MODEL_CHANGED";
+ IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, 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>Model that is/will be</summary>
/// <returns>Efl model</returns>
public Efl.IModel GetModel() {
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiIViewConcrete_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.IModel> Model<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.IView, T>magic = null) where T : Efl.Ui.IView {
+ return new Efl.BindableProperty<Efl.IModel>("model", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+namespace Efl {
+
+/// <summary>Every time the model is changed on the object.</summary>
+[StructLayout(LayoutKind.Sequential)]
+[Efl.Eo.BindingEntity]
+public struct ModelChangedEvent
+{
+ /// <summary>The newly set model.</summary>
+ public Efl.IModel Current;
+ /// <summary>The previously set model.</summary>
+ public Efl.IModel Previous;
+ /// <summary>Constructor for ModelChangedEvent.</summary>
+ /// <param name="Current">The newly set model.</param>;
+ /// <param name="Previous">The previously set model.</param>;
+ public ModelChangedEvent(
+ Efl.IModel Current = default(Efl.IModel),
+ Efl.IModel Previous = default(Efl.IModel) )
+ {
+ this.Current = Current;
+ this.Previous = Previous;
+ }
+
+ /// <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 ModelChangedEvent(IntPtr ptr)
+ {
+ var tmp = (ModelChangedEvent.NativeStruct)Marshal.PtrToStructure(ptr, typeof(ModelChangedEvent.NativeStruct));
+ return tmp;
+ }
+
+ #pragma warning disable CS1591
+
+ /// <summary>Internal wrapper for struct ModelChangedEvent.</summary>
+ [StructLayout(LayoutKind.Sequential)]
+ public struct NativeStruct
+ {
+ /// <summary>Internal wrapper for field Current</summary>
+ public System.IntPtr Current;
+ /// <summary>Internal wrapper for field Previous</summary>
+ public System.IntPtr Previous;
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
+ public static implicit operator ModelChangedEvent.NativeStruct(ModelChangedEvent _external_struct)
+ {
+ var _internal_struct = new ModelChangedEvent.NativeStruct();
+ _internal_struct.Current = _external_struct.Current?.NativeHandle ?? System.IntPtr.Zero;
+ _internal_struct.Previous = _external_struct.Previous?.NativeHandle ?? System.IntPtr.Zero;
+ return _internal_struct;
+ }
+
+ /// <summary>Implicit conversion to the managed representation.</summary>
+ public static implicit operator ModelChangedEvent(ModelChangedEvent.NativeStruct _internal_struct)
+ {
+ var _external_struct = new ModelChangedEvent();
+
+ _external_struct.Current = (Efl.IModelConcrete) Efl.Eo.Globals.CreateWrapperFor(_internal_struct.Current);
+
+ _external_struct.Previous = (Efl.IModelConcrete) Efl.Eo.Globals.CreateWrapperFor(_internal_struct.Previous);
+ return _external_struct;
+ }
+
+ }
+
+ #pragma warning restore CS1591
+
+}
+
+}
+
--- /dev/null
+#define EFL_BETA
+#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>This class provide a utility function that class that wish to use <see cref="Efl.Ui.IFactory.Create"/> should use.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+[Efl.Ui.ViewFactory.NativeMethods]
+[Efl.Eo.BindingEntity]
+public class ViewFactory : Efl.Eo.EoWrapper
+{
+ /// <summary>Pointer to the native class description.</summary>
+ public override System.IntPtr NativeClass
+ {
+ get
+ {
+ if (((object)this).GetType() == typeof(ViewFactory))
+ {
+ return GetEflClassStatic();
+ }
+ else
+ {
+ return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
+ }
+ }
+ }
+
+ [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
+ efl_ui_view_factory_class_get();
+ /// <summary>Initializes a new instance of the <see cref="ViewFactory"/> class.</summary>
+ /// <param name="parent">Parent instance.</param>
+ public ViewFactory(Efl.Object parent= null
+ ) : base(efl_ui_view_factory_class_get(), parent)
+ {
+ FinishInstantiation();
+ }
+
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected ViewFactory(ConstructingHandle ch) : base(ch)
+ {
+ }
+
+ /// <summary>Initializes a new instance of the <see cref="ViewFactory"/> 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 ViewFactory(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
+ {
+ }
+
+ /// <summary>Initializes a new instance of the <see cref="ViewFactory"/> 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 ViewFactory(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
+ {
+ }
+
+ /// <summary>Create a UI object from the necessary properties in the specified model and generate the created event on the factory when the object is done building. This function must be use by all <see cref="Efl.Ui.IView"/> that need to create object. They should not use <see cref="Efl.Ui.IFactory.Create"/> directly.</summary>
+ /// <param name="factory">The factory to use for requesting the new object from and generating the created event onto.</param>
+ /// <param name="models">Efl iterator providing the model to be associated to the new item. It should remain valid until the end of the function call.</param>
+ /// <param name="parent">Efl canvas</param>
+ /// <returns>Created UI object</returns>
+ public static Eina.Future CreateWithEvent(Efl.Ui.IFactory factory, Eina.Iterator<Efl.IModel> models, Efl.Gfx.IEntity parent) {
+ var _in_models = models.Handle;
+ var _ret_var = Efl.Ui.ViewFactory.NativeMethods.efl_ui_view_factory_create_with_event_ptr.Value.Delegate(factory, _in_models, parent);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ private static IntPtr GetEflClassStatic()
+ {
+ return Efl.Ui.ViewFactory.efl_ui_view_factory_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.Efl);
+ /// <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.ViewFactory.efl_ui_view_factory_class_get();
+ }
+
+ #pragma warning disable CA1707, CS1591, SA1300, SA1600
+
+ [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Eina.FutureMarshaler))]
+ private delegate Eina.Future efl_ui_view_factory_create_with_event_delegate([MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.IFactory factory, System.IntPtr models, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity parent);
+
+ [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Eina.FutureMarshaler))]
+ public delegate Eina.Future efl_ui_view_factory_create_with_event_api_delegate([MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.IFactory factory, System.IntPtr models, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity parent);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_view_factory_create_with_event_api_delegate> efl_ui_view_factory_create_with_event_ptr = new Efl.Eo.FunctionWrapper<efl_ui_view_factory_create_with_event_api_delegate>(Module, "efl_ui_view_factory_create_with_event");
+
+ private static Eina.Future create_with_event(System.IntPtr obj, System.IntPtr pd, Efl.Ui.IFactory factory, System.IntPtr models, Efl.Gfx.IEntity parent)
+ {
+ Eina.Log.Debug("function efl_ui_view_factory_create_with_event was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ var _in_models = new Eina.Iterator<Efl.IModel>(models, false);
+ Eina.Future _ret_var = default( Eina.Future);
+ try
+ {
+ _ret_var = ViewFactory.CreateWithEvent(factory, _in_models, 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_view_factory_create_with_event_ptr.Value.Delegate(factory, models, parent);
+ }
+ }
+
+ #pragma warning restore CA1707, CS1591, SA1300, SA1600
+
+}
+}
+}
+
+}
+
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiViewFactory_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
+/// <summary>
+///
+/// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="obj">Canvas object</param>
/// <param name="region">Showed region</param>
[Efl.Eo.BindingEntity]
/// (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
+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.II18n, Efl.Ui.IL10n, Efl.Ui.IPropertyBind, Efl.Ui.ISelection, Efl.Ui.IView, Efl.Ui.Focus.IObject
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Widget(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event AtspiHighlightedEvt.</summary>
+ /// <summary>Method to raise event AtspiHighlightedEvt.</summary>
public void OnAtspiHighlightedEvt(EventArgs e)
{
var key = "_EFL_UI_WIDGET_EVENT_ATSPI_HIGHLIGHTED";
}
}
}
- ///<summary>Method to raise event AtspiUnhighlightedEvt.</summary>
+ /// <summary>Method to raise event AtspiUnhighlightedEvt.</summary>
public void OnAtspiUnhighlightedEvt(EventArgs e)
{
var key = "_EFL_UI_WIDGET_EVENT_ATSPI_UNHIGHLIGHTED";
}
}
}
- ///<summary>Method to raise event LanguageChangedEvt.</summary>
+ /// <summary>Method to raise event LanguageChangedEvt.</summary>
public void OnLanguageChangedEvt(EventArgs e)
{
var key = "_EFL_UI_WIDGET_EVENT_LANGUAGE_CHANGED";
}
}
}
- ///<summary>Method to raise event AccessChangedEvt.</summary>
+ /// <summary>Method to raise event AccessChangedEvt.</summary>
public void OnAccessChangedEvt(EventArgs e)
{
var key = "_EFL_UI_WIDGET_EVENT_ACCESS_CHANGED";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
/// <summary>Called when property has changed</summary>
+ /// <value><see cref="Efl.Access.IObjectPropertyChangedEvt_Args"/></value>
public event EventHandler<Efl.Access.IObjectPropertyChangedEvt_Args> PropertyChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event PropertyChangedEvt.</summary>
+ /// <summary>Method to raise event PropertyChangedEvt.</summary>
public void OnPropertyChangedEvt(Efl.Access.IObjectPropertyChangedEvt_Args e)
{
var key = "_EFL_ACCESS_OBJECT_EVENT_PROPERTY_CHANGED";
}
}
/// <summary>Called when children have changed</summary>
+ /// <value><see cref="Efl.Access.IObjectChildrenChangedEvt_Args"/></value>
public event EventHandler<Efl.Access.IObjectChildrenChangedEvt_Args> ChildrenChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event ChildrenChangedEvt.</summary>
+ /// <summary>Method to raise event ChildrenChangedEvt.</summary>
public void OnChildrenChangedEvt(Efl.Access.IObjectChildrenChangedEvt_Args e)
{
var key = "_EFL_ACCESS_OBJECT_EVENT_CHILDREN_CHANGED";
}
}
/// <summary>Called when state has changed</summary>
+ /// <value><see cref="Efl.Access.IObjectStateChangedEvt_Args"/></value>
public event EventHandler<Efl.Access.IObjectStateChangedEvt_Args> StateChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event StateChangedEvt.</summary>
+ /// <summary>Method to raise event StateChangedEvt.</summary>
public void OnStateChangedEvt(Efl.Access.IObjectStateChangedEvt_Args e)
{
var key = "_EFL_ACCESS_OBJECT_EVENT_STATE_CHANGED";
}
}
/// <summary>Called when boundaries have changed</summary>
+ /// <value><see cref="Efl.Access.IObjectBoundsChangedEvt_Args"/></value>
public event EventHandler<Efl.Access.IObjectBoundsChangedEvt_Args> BoundsChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event BoundsChangedEvt.</summary>
+ /// <summary>Method to raise event BoundsChangedEvt.</summary>
public void OnBoundsChangedEvt(Efl.Access.IObjectBoundsChangedEvt_Args e)
{
var key = "_EFL_ACCESS_OBJECT_EVENT_BOUNDS_CHANGED";
}
}
}
- ///<summary>Method to raise event VisibleDataChangedEvt.</summary>
+ /// <summary>Method to raise event VisibleDataChangedEvt.</summary>
public void OnVisibleDataChangedEvt(EventArgs e)
{
var key = "_EFL_ACCESS_OBJECT_EVENT_VISIBLE_DATA_CHANGED";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
/// <summary>Called when active state of descendant has changed</summary>
+ /// <value><see cref="Efl.Access.IObjectActiveDescendantChangedEvt_Args"/></value>
public event EventHandler<Efl.Access.IObjectActiveDescendantChangedEvt_Args> ActiveDescendantChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event ActiveDescendantChangedEvt.</summary>
+ /// <summary>Method to raise event ActiveDescendantChangedEvt.</summary>
public void OnActiveDescendantChangedEvt(Efl.Access.IObjectActiveDescendantChangedEvt_Args e)
{
var key = "_EFL_ACCESS_OBJECT_EVENT_ACTIVE_DESCENDANT_CHANGED";
}
}
}
- ///<summary>Method to raise event AddedEvt.</summary>
+ /// <summary>Method to raise event AddedEvt.</summary>
public void OnAddedEvt(EventArgs e)
{
var key = "_EFL_ACCESS_OBJECT_EVENT_ADDED";
}
}
}
- ///<summary>Method to raise event RemovedEvt.</summary>
+ /// <summary>Method to raise event RemovedEvt.</summary>
public void OnRemovedEvt(EventArgs e)
{
var key = "_EFL_ACCESS_OBJECT_EVENT_REMOVED";
}
}
}
- ///<summary>Method to raise event MoveOutedEvt.</summary>
+ /// <summary>Method to raise event MoveOutedEvt.</summary>
public void OnMoveOutedEvt(EventArgs e)
{
var key = "_EFL_ACCESS_OBJECT_EVENT_MOVE_OUTED";
}
}
}
- ///<summary>Method to raise event ReadingStateChangedEvt.</summary>
+ /// <summary>Method to raise event ReadingStateChangedEvt.</summary>
public void OnReadingStateChangedEvt(EventArgs e)
{
var key = "_EFL_ACCESS_WIDGET_ACTION_EVENT_READING_STATE_CHANGED";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
/// <summary>accept drag data</summary>
+ /// <value><see cref="Efl.Ui.IDndDragAcceptEvt_Args"/></value>
public event EventHandler<Efl.Ui.IDndDragAcceptEvt_Args> DragAcceptEvt
{
add
}
}
}
- ///<summary>Method to raise event DragAcceptEvt.</summary>
+ /// <summary>Method to raise event DragAcceptEvt.</summary>
public void OnDragAcceptEvt(Efl.Ui.IDndDragAcceptEvt_Args e)
{
var key = "_EFL_UI_DND_EVENT_DRAG_ACCEPT";
}
}
}
- ///<summary>Method to raise event DragDoneEvt.</summary>
+ /// <summary>Method to raise event DragDoneEvt.</summary>
public void OnDragDoneEvt(EventArgs e)
{
var key = "_EFL_UI_DND_EVENT_DRAG_DONE";
}
}
}
- ///<summary>Method to raise event DragEnterEvt.</summary>
+ /// <summary>Method to raise event DragEnterEvt.</summary>
public void OnDragEnterEvt(EventArgs e)
{
var key = "_EFL_UI_DND_EVENT_DRAG_ENTER";
}
}
}
- ///<summary>Method to raise event DragLeaveEvt.</summary>
+ /// <summary>Method to raise event DragLeaveEvt.</summary>
public void OnDragLeaveEvt(EventArgs e)
{
var key = "_EFL_UI_DND_EVENT_DRAG_LEAVE";
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
}
/// <summary>called when the drag object changes drag position</summary>
+ /// <value><see cref="Efl.Ui.IDndDragPosEvt_Args"/></value>
public event EventHandler<Efl.Ui.IDndDragPosEvt_Args> DragPosEvt
{
add
}
}
}
- ///<summary>Method to raise event DragPosEvt.</summary>
+ /// <summary>Method to raise event DragPosEvt.</summary>
public void OnDragPosEvt(Efl.Ui.IDndDragPosEvt_Args e)
{
var key = "_EFL_UI_DND_EVENT_DRAG_POS";
}
}
/// <summary>called when the drag object dropped on this object</summary>
+ /// <value><see cref="Efl.Ui.IDndDragDropEvt_Args"/></value>
public event EventHandler<Efl.Ui.IDndDragDropEvt_Args> DragDropEvt
{
add
}
}
}
- ///<summary>Method to raise event DragDropEvt.</summary>
+ /// <summary>Method to raise event DragDropEvt.</summary>
public void OnDragDropEvt(Efl.Ui.IDndDragDropEvt_Args e)
{
var key = "_EFL_UI_DND_EVENT_DRAG_DROP";
}
}
/// <summary>Event dispatched when a property on the object has changed due to an user interaction on the object that a model could be interested in.</summary>
+ /// <value><see cref="Efl.Ui.IPropertyBindPropertiesChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.IPropertyBindPropertiesChangedEvt_Args> PropertiesChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event PropertiesChangedEvt.</summary>
+ /// <summary>Method to raise event PropertiesChangedEvt.</summary>
public void OnPropertiesChangedEvt(Efl.Ui.IPropertyBindPropertiesChangedEvt_Args e)
{
var key = "_EFL_UI_PROPERTY_BIND_EVENT_PROPERTIES_CHANGED";
}
}
/// <summary>Event dispatched when a property on the object is bound to a model. This is useful to not overgenerate event.</summary>
+ /// <value><see cref="Efl.Ui.IPropertyBindPropertyBoundEvt_Args"/></value>
public event EventHandler<Efl.Ui.IPropertyBindPropertyBoundEvt_Args> PropertyBoundEvt
{
add
}
}
}
- ///<summary>Method to raise event PropertyBoundEvt.</summary>
+ /// <summary>Method to raise event PropertyBoundEvt.</summary>
public void OnPropertyBoundEvt(Efl.Ui.IPropertyBindPropertyBoundEvt_Args e)
{
var key = "_EFL_UI_PROPERTY_BIND_EVENT_PROPERTY_BOUND";
}
}
/// <summary>Called when display server's selection has changed</summary>
+ /// <value><see cref="Efl.Ui.ISelectionWmSelectionChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.ISelectionWmSelectionChangedEvt_Args> WmSelectionChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event WmSelectionChangedEvt.</summary>
+ /// <summary>Method to raise event WmSelectionChangedEvt.</summary>
public void OnWmSelectionChangedEvt(Efl.Ui.ISelectionWmSelectionChangedEvt_Args e)
{
var key = "_EFL_UI_SELECTION_EVENT_WM_SELECTION_CHANGED";
Marshal.FreeHGlobal(info);
}
}
+ /// <summary>Event dispatched when a new model is set.</summary>
+ /// <value><see cref="Efl.Ui.IViewModelChangedEvt_Args"/></value>
+ public event EventHandler<Efl.Ui.IViewModelChangedEvt_Args> ModelChangedEvt
+ {
+ 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.IViewModelChangedEvt_Args args = new Efl.Ui.IViewModelChangedEvt_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_VIEW_EVENT_MODEL_CHANGED";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_VIEW_EVENT_MODEL_CHANGED";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event ModelChangedEvt.</summary>
+ public void OnModelChangedEvt(Efl.Ui.IViewModelChangedEvt_Args e)
+ {
+ var key = "_EFL_UI_VIEW_EVENT_MODEL_CHANGED";
+ 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>Emitted if the focus state has changed.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IObjectFocusChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.Focus.IObjectFocusChangedEvt_Args> FocusChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event FocusChangedEvt.</summary>
+ /// <summary>Method to raise event FocusChangedEvt.</summary>
public void OnFocusChangedEvt(Efl.Ui.Focus.IObjectFocusChangedEvt_Args e)
{
var key = "_EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_CHANGED";
}
/// <summary>Emitted when a new manager is the parent for this object.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IObjectFocusManagerChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.Focus.IObjectFocusManagerChangedEvt_Args> FocusManagerChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event FocusManagerChangedEvt.</summary>
+ /// <summary>Method to raise event FocusManagerChangedEvt.</summary>
public void OnFocusManagerChangedEvt(Efl.Ui.Focus.IObjectFocusManagerChangedEvt_Args e)
{
var key = "_EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_MANAGER_CHANGED";
}
/// <summary>Emitted when a new logical parent should be used.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IObjectFocusParentChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.Focus.IObjectFocusParentChangedEvt_Args> FocusParentChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event FocusParentChangedEvt.</summary>
+ /// <summary>Method to raise event FocusParentChangedEvt.</summary>
public void OnFocusParentChangedEvt(Efl.Ui.Focus.IObjectFocusParentChangedEvt_Args e)
{
var key = "_EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_PARENT_CHANGED";
}
/// <summary>Emitted if child_focus has changed.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IObjectChildFocusChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.Focus.IObjectChildFocusChangedEvt_Args> ChildFocusChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event ChildFocusChangedEvt.</summary>
+ /// <summary>Method to raise event ChildFocusChangedEvt.</summary>
public void OnChildFocusChangedEvt(Efl.Ui.Focus.IObjectChildFocusChangedEvt_Args e)
{
var key = "_EFL_UI_FOCUS_OBJECT_EVENT_CHILD_FOCUS_CHANGED";
}
/// <summary>Emitted if focus geometry of this object has changed.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IObjectFocusGeometryChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.Focus.IObjectFocusGeometryChangedEvt_Args> FocusGeometryChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event FocusGeometryChangedEvt.</summary>
+ /// <summary>Method to raise event FocusGeometryChangedEvt.</summary>
public void OnFocusGeometryChangedEvt(Efl.Ui.Focus.IObjectFocusGeometryChangedEvt_Args e)
{
var key = "_EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_GEOMETRY_CHANGED";
}
}
/// <summary>Returns the current cursor name.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
}
/// <summary>Sets or unsets the current cursor.
/// If <c>cursor</c> is <c>null</c> this function will reset the cursor to the default one.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <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) {
return _ret_var;
}
/// <summary>Returns the current cursor style name.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
return _ret_var;
}
/// <summary>Sets a style for the current cursor. Call after <see cref="Efl.Ui.Widget.SetCursor"/>.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <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) {
return _ret_var;
}
/// <summary>Returns the current state of theme cursors search.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
return _ret_var;
}
/// <summary>Enables or disables theme cursors.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="allow">Whether to use theme cursors.</param>
/// <returns><c>true</c> if successful.</returns>
virtual public bool SetCursorThemeSearchEnabled(bool allow) {
}
/// <summary>Accessibility information.
/// This is a replacement string to be read by the accessibility text-to-speech engine, if accessibility is enabled by configuration. This will take precedence over the default text for this object, which means for instance that the label of a button won't be read out loud, instead <c>txt</c> will be read out.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
}
/// <summary>Accessibility information.
/// This is a replacement string to be read by the accessibility text-to-speech engine, if accessibility is enabled by configuration. This will take precedence over the default text for this object, which means for instance that the label of a button won't be read out loud, instead <c>txt</c> will be read out.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),txt);
return _ret_var;
}
/// <summary>Focus order property
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <returns>FIXME</returns>
virtual public uint GetFocusOrder() {
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)));
}
/// <summary>A custom chain of objects to pass focus.
/// Note: On focus cycle, only will be evaluated children of this container.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
return new Eina.List<Efl.Canvas.Object>(_ret_var, false, false);
}
/// <summary>This function overwrites any previous custom focus chain within the list of objects. The previous list will be deleted and this list will be managed by elementary. After it is set, don't modify it.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <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;
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Current focused object in object tree.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
return _ret_var;
}
/// <summary>The widget's focus move policy.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
return _ret_var;
}
/// <summary>The widget's focus move policy.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</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((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>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
return _ret_var;
}
/// <summary>Control the widget's focus_move_policy mode setting.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),automatic);
/// <param name="eo_event">EO event struct with an Efl.Input.Event as info.</param>
/// <param name="source">Source object where the event originated. Often same as this.</param>
/// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),ref _in_eo_event, source);
+ virtual protected bool WidgetInputEventHandler(Efl.Event eo_event, Efl.Canvas.Object 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)),eo_event, source);
Eina.Error.RaiseIfUnhandledException();
- eo_event = _in_eo_event;
- return _ret_var;
+ return _ret_var;
}
/// <summary>Hook function called when widget is activated through accessibility.
/// This meant to be overridden by subclasses to support accessibility. This is an unstable API.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <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) {
}
/// <summary>Hook function called when accessibility is changed on the widget.
/// This meant to be overridden by subclasses to support accessibility. This is an unstable API.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),enable);
return _ret_var;
}
/// <summary>Push scroll hold
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
virtual public void PushScrollHold() {
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>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
virtual public void PopScrollHold() {
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>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
virtual public void PushScrollFreeze() {
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>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
virtual public void PopScrollFreeze() {
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();
return _ret_var;
}
/// <summary>Set the next object with specific focus direction.
- /// (Since EFL 1.8)</summary>
+ /// (Since EFL 1.8)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <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) {
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the next object with specific focus direction.
- /// (Since EFL 1.8)</summary>
+ /// (Since EFL 1.8)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="dir">Focus direction</param>
/// <returns>Focus next object</returns>
virtual public Efl.Canvas.Object GetFocusNextObject(Efl.Ui.Focus.Direction dir) {
return _ret_var;
}
/// <summary>Set the next object item with specific focus direction.
- /// (Since EFL 1.16)</summary>
+ /// (Since EFL 1.16)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <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) {
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get the next object item with specific focus direction.
- /// (Since EFL 1.16)</summary>
+ /// (Since EFL 1.16)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="dir">Focus direction</param>
/// <returns>Focus next object item</returns>
virtual public Efl.Ui.Widget GetFocusNextItem(Efl.Ui.Focus.Direction dir) {
/// Note: If @"relative_child" equal to <c>null</c> or not in custom chain, the object will be added in begin.
///
/// Note: On focus cycle, only will be evaluated children of this container.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <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) {
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Give focus to next object with specific focus direction in object tree.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</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((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.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="kw_base">Base object</param>
/// <param name="degree">Degree</param>
/// <param name="direction">Direction</param>
return _ret_var;
}
/// <summary>'Virtual' function which checks if handling of passing focus to sub-objects is supported by widget.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
return _ret_var;
}
/// <summary>Get focus list direction
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="kw_base">Base object</param>
/// <param name="items">Item list</param>
/// <param name="list_data_get">Data get function</param>
return _ret_var;
}
/// <summary>Clear focused object
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
virtual public void ClearFocusedObject() {
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
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="degree">Degree</param>
/// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
virtual public bool FocusDirectionGo(double degree) {
return _ret_var;
}
/// <summary>Get next focus item
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="dir">Focus direction</param>
/// <param name="next">Next object</param>
/// <param name="next_item">Next item</param>
}
/// <summary>Restore the focus state of the sub-tree.
/// 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>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
virtual public void FocusRestore() {
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>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
virtual public void UnsetFocusCustomChain() {
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>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</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((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>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
virtual public void FocusHideHandle() {
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.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="dir">Focus direction</param>
/// <param name="next">Next object</param>
/// <param name="next_item">Next item</param>
return _ret_var;
}
/// <summary>Get next item in focus list
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="items">Item list</param>
/// <param name="list_data_get">Function type</param>
/// <param name="dir">Focus direction</param>
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Get focus direction
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="kw_base">Base</param>
/// <param name="degree">Degree</param>
/// <param name="direction">Direction</param>
return _ret_var;
}
/// <summary>Handle disable widget focus
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
virtual public void FocusDisabledHandle() {
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();
/// Note: If @"relative_child" equal to <c>null</c> or not in custom chain, the object will be added in end.
///
/// Note: On focus cycle, only will be evaluated children of this container.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <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) {
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>No description supplied.
- /// (Since EFL 1.18)</summary>
+ /// (Since EFL 1.18)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
virtual public void FocusReconfigure() {
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();
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>
+ /// 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((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>
+ /// 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((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>
+ /// <summary>Gets an localized string describing accessible object role name.
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</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((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>
+ /// <summary>Accessible name of the object.
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</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((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>
+ /// <summary>Accessible name of the object.
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</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((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>
+ /// if WEARABLE since_tizen 3.0 endif
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</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((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>
+ /// <summary>Gets an all relations between accessible object and other accessible objects.
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</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((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>
+ /// <summary>The role of the object in accessibility domain.
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</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((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>
+ /// <summary>Sets the role of the object in accessibility domain.
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),role);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Sets contextual information callback about widget.
- /// @if WEARABLE @since_tizen 3.0 @endif</summary>
+ /// if WEARABLE since_tizen 3.0 endif
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="description_cb">The function called to provide the accessible description.</param>
- /// <param name="data">The data passed to @c description_cb.</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((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.
/// Warning: Please do not abuse this API. The purpose of this API is to support special application such as screen-reader guidance. Before using this API, please check if there is another way.
///
- /// @if WEARABLE @since_tizen 3.0 @endif</summary>
+ /// if WEARABLE since_tizen 3.0 endif
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</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((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>
+ /// <summary>Gets object's accessible children.
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</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((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>
+ /// <summary>Gets human-readable string indentifying object accessibility role.
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</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((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>
+ /// <summary>Gets key-value pairs indentifying object extra attributes. Must be free by a user.
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
return new Eina.List<Efl.Access.Attribute>(_ret_var, true, true);
}
/// <summary>Gets reading information types of an accessible object. if no reading information is set, 0 is returned which means all four reading information types will be read on object highlight
- /// @if WEARABLE @since_tizen 3.0 @endif</summary>
+ /// 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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
return _ret_var;
}
/// <summary>Sets reading information of an accessible object. If set as 0, existing reading info will be deleted and by default all four reading information types like name, role, state and description will be read on object highlight
- /// @if WEARABLE @since_tizen 3.0 @endif</summary>
+ /// 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((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>
+ /// <summary>Gets index of the child in parent's children list.
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</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((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>
+ /// <summary>Gets contextual information about object.
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
- /// <summary>Sets widget contextual information.</summary>
+ /// <summary>Sets widget contextual information.
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),description);
Eina.Error.RaiseIfUnhandledException();
}
- /// <summary>Gets set describing object accessible states.</summary>
+ /// <summary>Gets set describing object accessible states.
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
- /// <summary>Gets highlightable of given widget.
- /// @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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Sets highlightable to given widget.
- /// @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((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.
/// Translation domain should be set if the application wants to support i18n for accessibility "name" and "description" properties.
///
/// When translation domain is set, values of "name" and "description" properties will be translated with the dgettext function using the current translation domain as the "domainname" parameter.
///
- /// 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>
+ /// It is the application developer's responsibility to ensure that translation files are loaded and bound to the translation domain when accessibility is enabled.
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
///
/// When translation domain is set, values of "name" and "description" properties will be translated with the dgettext function using the current translation domain as the "domainname" parameter.
///
- /// 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>
+ /// It is the application developer's responsibility to ensure that translation files are loaded and bound to the translation domain when accessibility is enabled.
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</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((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>Get root object of accessible object hierarchy
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <returns>Root object</returns>
public static Efl.Object GetAccessRoot() {
var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_access_root_get_ptr.Value.Delegate();
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
+ /// <summary>Gets highlightable of given widget.
+ /// 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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Sets highlightable to given widget.
+ /// 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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),can_highlight);
+ Eina.Error.RaiseIfUnhandledException();
+ }
/// <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;
return _ret_var;
}
/// <summary>Add key-value pair identifying object extra attribute
- /// @if WEARABLE @since_tizen 3.0 @endif</summary>
+ /// if WEARABLE since_tizen 3.0 endif</summary>
/// <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_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>
+ /// <summary>Register accessibility event listener
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="cb">Callback</param>
/// <param name="data">Data</param>
/// <returns>Event handler</returns>
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
- /// <summary>Deregister accessibility event listener</summary>
+ /// <summary>Deregister accessibility event listener
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="handler">Event handler</param>
public static void DelEventHandler(Efl.Access.Event.Handler handler) {
Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_event_handler_del_ptr.Value.Delegate(handler);
Eina.Error.RaiseIfUnhandledException();
}
- /// <summary>Emit event</summary>
+ /// <summary>Emit event
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="accessible">Accessibility object.</param>
/// <param name="kw_event">Accessibility event type.</param>
/// <param name="event_info">Accessibility event details.</param>
///
/// Relationships can be queried by Assistive Technology clients to provide customized feedback, improving overall user experience.
///
- /// Relationship_append API is asymmetric, which means that appending, for example, relation EFL_ACCESS_RELATION_TYPE_FLOWS_TO from object A to B, do NOT append relation EFL_ACCESS_RELATION_TYPE_FLOWS_FROM from object B to object A.</summary>
+ /// Relationship_append API is asymmetric, which means that appending, for example, relation EFL_ACCESS_RELATION_TYPE_FLOWS_TO from object A to B, do NOT append relation EFL_ACCESS_RELATION_TYPE_FLOWS_FROM from object B to object A.
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="type">Relation type</param>
/// <param name="relation_object">Object to relate to</param>
/// <returns><c>true</c> if relationship was successfully appended, <c>false</c> otherwise</returns>
return _ret_var;
}
/// <summary>Removes the relationship between two accessible objects.
- /// If relation_object is NULL function removes all relations of the given type.</summary>
+ /// If relation_object is NULL function removes all relations of the given type.
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <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((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>
+ /// <summary>Removes all relationships in accessible object.
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
virtual public void ClearRelationships() {
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();
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>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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <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>
+ /// <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((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.
+ /// If enabled, the system or application configuration will be used to set the value of <see cref="Efl.Ui.II18n.Mirrored"/>.
+ ///
+ /// 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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Whether the property <see cref="Efl.Ui.II18n.Mirrored"/> should be set automatically.
+ /// If enabled, the system or application configuration will be used to set the value of <see cref="Efl.Ui.II18n.Mirrored"/>.
+ ///
+ /// 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((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((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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),language);
+ Eina.Error.RaiseIfUnhandledException();
+ }
/// <summary>A unique string to be translated.
/// Often this will be a human-readable string (e.g. in English) but it can also be a unique string identifier that must then be translated to the current locale with <c>dgettext</c>() or any similar mechanism.
///
/// This is the cursor that will be displayed when mouse is over the object. The object can have only one cursor set to it so if <see cref="Efl.Ui.Widget.SetCursor"/> is called twice for an object, the previous set will be unset.
///
/// If using X cursors, a definition of all the valid cursor names is listed on Elementary_Cursors.h. If an invalid name is set the default cursor will be used.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>The cursor name, defined either by the display system or the theme.</value>
public System.String Cursor {
get { return GetCursor(); }
}
/// <summary>A different style for the cursor.
/// This only makes sense if theme cursors are used. The cursor should be set with <see cref="Efl.Ui.Widget.SetCursor"/> first before setting its style with this property.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>A specific style to use, eg. default, transparent, ....</value>
public System.String CursorStyle {
get { return GetCursorStyle(); }
}
/// <summary>Whether the cursor may be looked in the theme or not.
/// If <c>false</c>, the cursor may only come from the render engine, i.e. from the display manager.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>Whether to use theme cursors.</value>
public bool CursorThemeSearchEnabled {
get { return GetCursorThemeSearchEnabled(); }
}
/// <summary>Accessibility information.
/// This is a replacement string to be read by the accessibility text-to-speech engine, if accessibility is enabled by configuration. This will take precedence over the default text for this object, which means for instance that the label of a button won't be read out loud, instead <c>txt</c> will be read out.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>Accessibility text description.</value>
public System.String AccessInfo {
get { return GetAccessInfo(); }
get { return GetFocusHighlightGeometry(); }
}
/// <summary>Focus order property
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>FIXME</value>
public uint FocusOrder {
get { return GetFocusOrder(); }
}
/// <summary>A custom chain of objects to pass focus.
/// Note: On focus cycle, only will be evaluated children of this container.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>Chain of objects to pass focus</value>
public Eina.List<Efl.Canvas.Object> FocusCustomChain {
get { return GetFocusCustomChain(); }
set { SetFocusCustomChain(value); }
}
/// <summary>Current focused object in object tree.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>Current focused or <c>null</c>, if there is no focused object.</value>
public Efl.Canvas.Object FocusedObject {
get { return GetFocusedObject(); }
}
/// <summary>The widget's focus move policy.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>Focus move policy</value>
public Efl.Ui.Focus.MovePolicy FocusMovePolicy {
get { return GetFocusMovePolicy(); }
set { SetFocusMovePolicy(value); }
}
/// <summary>Control the widget's focus_move_policy mode setting.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value><c>true</c> to follow system focus move policy change, <c>false</c> otherwise</value>
public bool FocusMovePolicyAutomatic {
get { return GetFocusMovePolicyAutomatic(); }
public int ZOrder {
get { return GetZOrder(); }
}
- /// <summary>Gets an localized string describing accessible object role name.</summary>
+ /// <summary>Position of accessible widget.</summary>
+ /// <value>X coordinate</value>
+ public (int, int) ScreenPosition {
+ get {
+ int _out_x = default(int);
+ int _out_y = default(int);
+ GetScreenPosition(out _out_x,out _out_y);
+ return (_out_x,_out_y);
+ }
+ set { SetScreenPosition( value.Item1, value.Item2); }
+ }
+ /// <summary>Gets position of socket offset.</summary>
+ public (int, int) SocketOffset {
+ get {
+ int _out_x = default(int);
+ int _out_y = default(int);
+ GetSocketOffset(out _out_x,out _out_y);
+ return (_out_x,_out_y);
+ }
+ set { SetSocketOffset( value.Item1, value.Item2); }
+ }
+ /// <summary>Gets an localized string describing accessible object role name.
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>Localized accessible object role name</value>
public System.String LocalizedRoleName {
get { return GetLocalizedRoleName(); }
}
- /// <summary>Accessible name of the object.</summary>
+ /// <summary>Accessible name of the object.
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>Accessible name</value>
public System.String I18nName {
get { return GetI18nName(); }
set { SetI18nName(value); }
}
- /// <summary>Gets an all relations between accessible object and other accessible objects.</summary>
+ /// <summary>Sets name information callback about widget.
+ /// if WEARABLE since_tizen 3.0 endif
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
+ /// <value>reading information callback</value>
+ public (Efl.Access.ReadingInfoCb, System.IntPtr) NameCb {
+ set { SetNameCb( value.Item1, value.Item2); }
+ }
+ /// <summary>Gets an all relations between accessible object and other accessible objects.
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>Accessible relation set</value>
public Efl.Access.RelationSet RelationSet {
get { return GetRelationSet(); }
}
- /// <summary>The role of the object in accessibility domain.</summary>
+ /// <summary>The role of the object in accessibility domain.
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>Accessible role</value>
public Efl.Access.Role Role {
get { return GetRole(); }
get { return GetAccessParent(); }
set { SetAccessParent(value); }
}
- /// <summary>Gets object's accessible children.</summary>
+ /// <summary>Sets contextual information callback about widget.
+ /// if WEARABLE since_tizen 3.0 endif
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
+ /// <value>The function called to provide the accessible description.</value>
+ public (Efl.Access.ReadingInfoCb, System.IntPtr) DescriptionCb {
+ set { SetDescriptionCb( value.Item1, value.Item2); }
+ }
+ /// <summary>Sets gesture callback to give widget.
+ /// Warning: Please do not abuse this API. The purpose of this API is to support special application such as screen-reader guidance. Before using this API, please check if there is another way.
+ ///
+ /// if WEARABLE since_tizen 3.0 endif
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
+ public (Efl.Access.GestureCb, System.IntPtr) GestureCb {
+ set { SetGestureCb( value.Item1, value.Item2); }
+ }
+ /// <summary>Gets object's accessible children.
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>List of widget's children</value>
public Eina.List<Efl.Access.IObject> AccessChildren {
get { return GetAccessChildren(); }
}
- /// <summary>Gets human-readable string indentifying object accessibility role.</summary>
+ /// <summary>Gets human-readable string indentifying object accessibility role.
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>Accessible role name</value>
public System.String RoleName {
get { return GetRoleName(); }
}
- /// <summary>Gets key-value pairs indentifying object extra attributes. Must be free by a user.</summary>
+ /// <summary>Gets key-value pairs indentifying object extra attributes. Must be free by a user.
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>List of object attributes, Must be freed by the user</value>
public Eina.List<Efl.Access.Attribute> Attributes {
get { return GetAttributes(); }
}
/// <summary>Gets reading information types of an accessible object. if no reading information is set, 0 is returned which means all four reading information types will be read on object highlight
- /// @if WEARABLE @since_tizen 3.0 @endif</summary>
+ /// if WEARABLE since_tizen 3.0 endif</summary>
/// <value>Reading information types</value>
public Efl.Access.ReadingInfoTypeMask ReadingInfoType {
get { return GetReadingInfoType(); }
set { SetReadingInfoType(value); }
}
- /// <summary>Gets index of the child in parent's children list.</summary>
+ /// <summary>Gets index of the child in parent's children list.
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>Index in children list</value>
public int IndexInParent {
get { return GetIndexInParent(); }
}
- /// <summary>Gets contextual information about object.</summary>
+ /// <summary>Gets contextual information about object.
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>Accessible contextual information</value>
public System.String Description {
get { return GetDescription(); }
set { SetDescription(value); }
}
- /// <summary>Gets set describing object accessible states.</summary>
+ /// <summary>Gets set describing object accessible states.
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>Accessible state set</value>
public Efl.Access.StateSet StateSet {
get { return GetStateSet(); }
}
- /// <summary>Gets highlightable of given widget.
- /// @if WEARABLE @since_tizen 3.0 @endif</summary>
- /// <value>If @c true, the object is highlightable.</value>
- public bool CanHighlight {
- get { return GetCanHighlight(); }
- set { SetCanHighlight(value); }
- }
/// <summary>The translation domain of "name" and "description" properties.
/// Translation domain should be set if the application wants to support i18n for accessibility "name" and "description" properties.
///
/// When translation domain is set, values of "name" and "description" properties will be translated with the dgettext function using the current translation domain as the "domainname" parameter.
///
- /// 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>
+ /// It is the application developer's responsibility to ensure that translation files are loaded and bound to the translation domain when accessibility is enabled.
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>Translation domain</value>
public System.String TranslationDomain {
get { return GetTranslationDomain(); }
set { SetTranslationDomain(value); }
}
- /// <summary>Get root object of accessible object hierarchy</summary>
+ /// <summary>Get root object of accessible object hierarchy
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>Root object</value>
public static Efl.Object AccessRoot {
get { return GetAccessRoot(); }
}
- /// <summary>Elementary actions</summary>
- /// <value>NULL-terminated array of Efl.Access.Action_Data.</value>
+ /// <summary>Gets highlightable of given widget.
+ /// if WEARABLE since_tizen 3.0 endif</summary>
+ /// <value>If c true, the object is highlightable.</value>
+ public bool CanHighlight {
+ get { return GetCanHighlight(); }
+ set { SetCanHighlight(value); }
+ }
+ /// <summary>Elementary actions</summary>
+ /// <value>NULL-terminated array of Efl.Access.Action_Data.</value>
public Efl.Access.ActionData ElmActions {
get { return GetElmActions(); }
}
+ /// <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>
+ /// <value><c>true</c> for RTL, <c>false</c> for LTR (default).</value>
+ public bool Mirrored {
+ get { return GetMirrored(); }
+ set { SetMirrored(value); }
+ }
+ /// <summary>Whether the property <see cref="Efl.Ui.II18n.Mirrored"/> should be set automatically.
+ /// If enabled, the system or application configuration will be used to set the value of <see cref="Efl.Ui.II18n.Mirrored"/>.
+ ///
+ /// 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>
+ /// <value>Whether the widget uses automatic mirroring</value>
+ public bool MirroredAutomatic {
+ get { return GetMirroredAutomatic(); }
+ set { SetMirroredAutomatic(value); }
+ }
+ /// <summary>The (human) language for this object.</summary>
+ /// <value>The current language.</value>
+ public System.String Language {
+ get { return GetLanguage(); }
+ set { SetLanguage(value); }
+ }
/// <summary>Model that is/will be</summary>
/// <value>Efl model</value>
public Efl.IModel Model {
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_object_state_set_get"), func = Marshal.GetFunctionPointerForDelegate(efl_access_object_state_set_get_static_delegate) });
}
- if (efl_access_object_can_highlight_get_static_delegate == null)
+ if (efl_access_object_translation_domain_get_static_delegate == null)
{
- efl_access_object_can_highlight_get_static_delegate = new efl_access_object_can_highlight_get_delegate(can_highlight_get);
+ efl_access_object_translation_domain_get_static_delegate = new efl_access_object_translation_domain_get_delegate(translation_domain_get);
}
- if (methods.FirstOrDefault(m => m.Name == "GetCanHighlight") != null)
+ if (methods.FirstOrDefault(m => m.Name == "GetTranslationDomain") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_object_can_highlight_get"), func = Marshal.GetFunctionPointerForDelegate(efl_access_object_can_highlight_get_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_object_translation_domain_get"), func = Marshal.GetFunctionPointerForDelegate(efl_access_object_translation_domain_get_static_delegate) });
}
- if (efl_access_object_can_highlight_set_static_delegate == null)
+ if (efl_access_object_translation_domain_set_static_delegate == null)
{
- efl_access_object_can_highlight_set_static_delegate = new efl_access_object_can_highlight_set_delegate(can_highlight_set);
+ efl_access_object_translation_domain_set_static_delegate = new efl_access_object_translation_domain_set_delegate(translation_domain_set);
}
- if (methods.FirstOrDefault(m => m.Name == "SetCanHighlight") != null)
+ if (methods.FirstOrDefault(m => m.Name == "SetTranslationDomain") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_object_can_highlight_set"), func = Marshal.GetFunctionPointerForDelegate(efl_access_object_can_highlight_set_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_object_translation_domain_set"), func = Marshal.GetFunctionPointerForDelegate(efl_access_object_translation_domain_set_static_delegate) });
}
- if (efl_access_object_translation_domain_get_static_delegate == null)
+ if (efl_access_object_can_highlight_get_static_delegate == null)
{
- efl_access_object_translation_domain_get_static_delegate = new efl_access_object_translation_domain_get_delegate(translation_domain_get);
+ efl_access_object_can_highlight_get_static_delegate = new efl_access_object_can_highlight_get_delegate(can_highlight_get);
}
- if (methods.FirstOrDefault(m => m.Name == "GetTranslationDomain") != null)
+ if (methods.FirstOrDefault(m => m.Name == "GetCanHighlight") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_object_translation_domain_get"), func = Marshal.GetFunctionPointerForDelegate(efl_access_object_translation_domain_get_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_object_can_highlight_get"), func = Marshal.GetFunctionPointerForDelegate(efl_access_object_can_highlight_get_static_delegate) });
}
- if (efl_access_object_translation_domain_set_static_delegate == null)
+ if (efl_access_object_can_highlight_set_static_delegate == null)
{
- efl_access_object_translation_domain_set_static_delegate = new efl_access_object_translation_domain_set_delegate(translation_domain_set);
+ efl_access_object_can_highlight_set_static_delegate = new efl_access_object_can_highlight_set_delegate(can_highlight_set);
}
- if (methods.FirstOrDefault(m => m.Name == "SetTranslationDomain") != null)
+ if (methods.FirstOrDefault(m => m.Name == "SetCanHighlight") != null)
{
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_object_translation_domain_set"), func = Marshal.GetFunctionPointerForDelegate(efl_access_object_translation_domain_set_static_delegate) });
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_object_can_highlight_set"), func = Marshal.GetFunctionPointerForDelegate(efl_access_object_can_highlight_set_static_delegate) });
}
if (efl_access_object_gesture_do_static_delegate == null)
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_dnd_drop_target_del"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_dnd_drop_target_del_static_delegate) });
}
+ if (efl_ui_mirrored_get_static_delegate == null)
+ {
+ efl_ui_mirrored_get_static_delegate = new efl_ui_mirrored_get_delegate(mirrored_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetMirrored") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_mirrored_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_mirrored_get_static_delegate) });
+ }
+
+ if (efl_ui_mirrored_set_static_delegate == null)
+ {
+ efl_ui_mirrored_set_static_delegate = new efl_ui_mirrored_set_delegate(mirrored_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetMirrored") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_mirrored_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_mirrored_set_static_delegate) });
+ }
+
+ if (efl_ui_mirrored_automatic_get_static_delegate == null)
+ {
+ efl_ui_mirrored_automatic_get_static_delegate = new efl_ui_mirrored_automatic_get_delegate(mirrored_automatic_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetMirroredAutomatic") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_mirrored_automatic_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_mirrored_automatic_get_static_delegate) });
+ }
+
+ if (efl_ui_mirrored_automatic_set_static_delegate == null)
+ {
+ efl_ui_mirrored_automatic_set_static_delegate = new efl_ui_mirrored_automatic_set_delegate(mirrored_automatic_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetMirroredAutomatic") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_mirrored_automatic_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_mirrored_automatic_set_static_delegate) });
+ }
+
+ if (efl_ui_language_get_static_delegate == null)
+ {
+ efl_ui_language_get_static_delegate = new efl_ui_language_get_delegate(language_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetLanguage") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_language_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_language_get_static_delegate) });
+ }
+
+ if (efl_ui_language_set_static_delegate == null)
+ {
+ efl_ui_language_set_static_delegate = new efl_ui_language_set_delegate(language_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetLanguage") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_language_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_language_set_static_delegate) });
+ }
+
if (efl_ui_l10n_text_get_static_delegate == null)
{
efl_ui_l10n_text_get_static_delegate = new efl_ui_l10n_text_get_delegate(l10n_text_get);
private static efl_ui_widget_focus_move_policy_automatic_set_delegate efl_ui_widget_focus_move_policy_automatic_set_static_delegate;
[return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_ui_widget_input_event_handler_delegate(System.IntPtr obj, System.IntPtr pd, ref Efl.Event.NativeStruct eo_event, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Object source);
+ private delegate bool efl_ui_widget_input_event_handler_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Event.NativeStruct eo_event, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Object source);
[return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_ui_widget_input_event_handler_api_delegate(System.IntPtr obj, ref Efl.Event.NativeStruct eo_event, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Object source);
+ public delegate bool efl_ui_widget_input_event_handler_api_delegate(System.IntPtr obj, Efl.Event.NativeStruct eo_event, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Object source);
public static Efl.Eo.FunctionWrapper<efl_ui_widget_input_event_handler_api_delegate> efl_ui_widget_input_event_handler_ptr = new Efl.Eo.FunctionWrapper<efl_ui_widget_input_event_handler_api_delegate>(Module, "efl_ui_widget_input_event_handler");
- private static bool widget_input_event_handler(System.IntPtr obj, System.IntPtr pd, ref Efl.Event.NativeStruct eo_event, Efl.Canvas.Object source)
+ private static bool widget_input_event_handler(System.IntPtr obj, System.IntPtr pd, Efl.Event.NativeStruct eo_event, Efl.Canvas.Object source)
{
Eina.Log.Debug("function efl_ui_widget_input_event_handler was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- Efl.Event _in_eo_event = eo_event;
- bool _ret_var = default(bool);
+ bool _ret_var = default(bool);
try
{
- _ret_var = ((Widget)ws.Target).WidgetInputEventHandler(ref _in_eo_event, source);
+ _ret_var = ((Widget)ws.Target).WidgetInputEventHandler(eo_event, source);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
- eo_event = _in_eo_event;
- return _ret_var;
+ return _ret_var;
}
else
{
- return efl_ui_widget_input_event_handler_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), ref eo_event, source);
+ return efl_ui_widget_input_event_handler_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), eo_event, source);
}
}
private static efl_access_object_state_set_get_delegate efl_access_object_state_set_get_static_delegate;
- [return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_access_object_can_highlight_get_delegate(System.IntPtr obj, System.IntPtr pd);
+ [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
+ private delegate System.String efl_access_object_translation_domain_get_delegate(System.IntPtr obj, System.IntPtr pd);
- [return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_access_object_can_highlight_get_api_delegate(System.IntPtr obj);
+ [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
+ public delegate System.String efl_access_object_translation_domain_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<efl_access_object_can_highlight_get_api_delegate> efl_access_object_can_highlight_get_ptr = new Efl.Eo.FunctionWrapper<efl_access_object_can_highlight_get_api_delegate>(Module, "efl_access_object_can_highlight_get");
+ public static Efl.Eo.FunctionWrapper<efl_access_object_translation_domain_get_api_delegate> efl_access_object_translation_domain_get_ptr = new Efl.Eo.FunctionWrapper<efl_access_object_translation_domain_get_api_delegate>(Module, "efl_access_object_translation_domain_get");
- private static bool can_highlight_get(System.IntPtr obj, System.IntPtr pd)
+ private static System.String translation_domain_get(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function efl_access_object_can_highlight_get was called");
+ Eina.Log.Debug("function efl_access_object_translation_domain_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- bool _ret_var = default(bool);
+ System.String _ret_var = default(System.String);
try
{
- _ret_var = ((Widget)ws.Target).GetCanHighlight();
+ _ret_var = ((Widget)ws.Target).GetTranslationDomain();
}
catch (Exception e)
{
}
else
{
- return efl_access_object_can_highlight_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ return efl_access_object_translation_domain_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
- private static efl_access_object_can_highlight_get_delegate efl_access_object_can_highlight_get_static_delegate;
+ private static efl_access_object_translation_domain_get_delegate efl_access_object_translation_domain_get_static_delegate;
- private delegate void efl_access_object_can_highlight_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool can_highlight);
+ private delegate void efl_access_object_translation_domain_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String domain);
- public delegate void efl_access_object_can_highlight_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool can_highlight);
+ public delegate void efl_access_object_translation_domain_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String domain);
- public static Efl.Eo.FunctionWrapper<efl_access_object_can_highlight_set_api_delegate> efl_access_object_can_highlight_set_ptr = new Efl.Eo.FunctionWrapper<efl_access_object_can_highlight_set_api_delegate>(Module, "efl_access_object_can_highlight_set");
+ public static Efl.Eo.FunctionWrapper<efl_access_object_translation_domain_set_api_delegate> efl_access_object_translation_domain_set_ptr = new Efl.Eo.FunctionWrapper<efl_access_object_translation_domain_set_api_delegate>(Module, "efl_access_object_translation_domain_set");
- private static void can_highlight_set(System.IntPtr obj, System.IntPtr pd, bool can_highlight)
+ private static void translation_domain_set(System.IntPtr obj, System.IntPtr pd, System.String domain)
{
- Eina.Log.Debug("function efl_access_object_can_highlight_set was called");
+ Eina.Log.Debug("function efl_access_object_translation_domain_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
- ((Widget)ws.Target).SetCanHighlight(can_highlight);
+ ((Widget)ws.Target).SetTranslationDomain(domain);
}
catch (Exception e)
{
}
else
{
- efl_access_object_can_highlight_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), can_highlight);
+ efl_access_object_translation_domain_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), domain);
}
}
- private static efl_access_object_can_highlight_set_delegate efl_access_object_can_highlight_set_static_delegate;
+ private static efl_access_object_translation_domain_set_delegate efl_access_object_translation_domain_set_static_delegate;
- [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
- private delegate System.String efl_access_object_translation_domain_get_delegate(System.IntPtr obj, System.IntPtr pd);
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ private delegate Efl.Object efl_access_object_access_root_get_delegate();
- [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
- public delegate System.String efl_access_object_translation_domain_get_api_delegate(System.IntPtr obj);
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ public delegate Efl.Object efl_access_object_access_root_get_api_delegate();
- public static Efl.Eo.FunctionWrapper<efl_access_object_translation_domain_get_api_delegate> efl_access_object_translation_domain_get_ptr = new Efl.Eo.FunctionWrapper<efl_access_object_translation_domain_get_api_delegate>(Module, "efl_access_object_translation_domain_get");
+ public static Efl.Eo.FunctionWrapper<efl_access_object_access_root_get_api_delegate> efl_access_object_access_root_get_ptr = new Efl.Eo.FunctionWrapper<efl_access_object_access_root_get_api_delegate>(Module, "efl_access_object_access_root_get");
- private static System.String translation_domain_get(System.IntPtr obj, System.IntPtr pd)
+ private static Efl.Object access_root_get(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function efl_access_object_translation_domain_get was called");
+ Eina.Log.Debug("function efl_access_object_access_root_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- System.String _ret_var = default(System.String);
+ Efl.Object _ret_var = default(Efl.Object);
try
{
- _ret_var = ((Widget)ws.Target).GetTranslationDomain();
+ _ret_var = Widget.GetAccessRoot();
}
catch (Exception e)
{
}
else
{
- return efl_access_object_translation_domain_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ return efl_access_object_access_root_get_ptr.Value.Delegate();
}
}
- private static efl_access_object_translation_domain_get_delegate efl_access_object_translation_domain_get_static_delegate;
-
-
- private delegate void efl_access_object_translation_domain_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String domain);
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_access_object_can_highlight_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- public delegate void efl_access_object_translation_domain_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String domain);
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_access_object_can_highlight_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<efl_access_object_translation_domain_set_api_delegate> efl_access_object_translation_domain_set_ptr = new Efl.Eo.FunctionWrapper<efl_access_object_translation_domain_set_api_delegate>(Module, "efl_access_object_translation_domain_set");
+ public static Efl.Eo.FunctionWrapper<efl_access_object_can_highlight_get_api_delegate> efl_access_object_can_highlight_get_ptr = new Efl.Eo.FunctionWrapper<efl_access_object_can_highlight_get_api_delegate>(Module, "efl_access_object_can_highlight_get");
- private static void translation_domain_set(System.IntPtr obj, System.IntPtr pd, System.String domain)
+ private static bool can_highlight_get(System.IntPtr obj, System.IntPtr pd)
{
- Eina.Log.Debug("function efl_access_object_translation_domain_set was called");
+ Eina.Log.Debug("function efl_access_object_can_highlight_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
-
+ bool _ret_var = default(bool);
try
{
- ((Widget)ws.Target).SetTranslationDomain(domain);
+ _ret_var = ((Widget)ws.Target).GetCanHighlight();
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
-
+ return _ret_var;
+
}
else
{
- efl_access_object_translation_domain_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), domain);
+ return efl_access_object_can_highlight_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
- private static efl_access_object_translation_domain_set_delegate efl_access_object_translation_domain_set_static_delegate;
+ private static efl_access_object_can_highlight_get_delegate efl_access_object_can_highlight_get_static_delegate;
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- private delegate Efl.Object efl_access_object_access_root_get_delegate();
+
+ private delegate void efl_access_object_can_highlight_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool can_highlight);
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- public delegate Efl.Object efl_access_object_access_root_get_api_delegate();
+
+ public delegate void efl_access_object_can_highlight_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool can_highlight);
- public static Efl.Eo.FunctionWrapper<efl_access_object_access_root_get_api_delegate> efl_access_object_access_root_get_ptr = new Efl.Eo.FunctionWrapper<efl_access_object_access_root_get_api_delegate>(Module, "efl_access_object_access_root_get");
+ public static Efl.Eo.FunctionWrapper<efl_access_object_can_highlight_set_api_delegate> efl_access_object_can_highlight_set_ptr = new Efl.Eo.FunctionWrapper<efl_access_object_can_highlight_set_api_delegate>(Module, "efl_access_object_can_highlight_set");
- private static Efl.Object access_root_get(System.IntPtr obj, System.IntPtr pd)
+ private static void can_highlight_set(System.IntPtr obj, System.IntPtr pd, bool can_highlight)
{
- Eina.Log.Debug("function efl_access_object_access_root_get was called");
+ Eina.Log.Debug("function efl_access_object_can_highlight_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- Efl.Object _ret_var = default(Efl.Object);
+
try
{
- _ret_var = Widget.GetAccessRoot();
+ ((Widget)ws.Target).SetCanHighlight(can_highlight);
}
catch (Exception e)
{
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
- return _ret_var;
-
+
}
else
{
- return efl_access_object_access_root_get_ptr.Value.Delegate();
+ efl_access_object_can_highlight_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), can_highlight);
}
}
+ private static efl_access_object_can_highlight_set_delegate efl_access_object_can_highlight_set_static_delegate;
+
[return: MarshalAs(UnmanagedType.U1)]
private delegate bool efl_access_object_gesture_do_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Access.GestureInfo.NativeStruct gesture_info);
private static efl_ui_dnd_drop_target_del_delegate efl_ui_dnd_drop_target_del_static_delegate;
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_ui_mirrored_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_ui_mirrored_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_mirrored_get_api_delegate> efl_ui_mirrored_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_mirrored_get_api_delegate>(Module, "efl_ui_mirrored_get");
+
+ private static bool mirrored_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_mirrored_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((Widget)ws.Target).GetMirrored();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_mirrored_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_mirrored_get_delegate efl_ui_mirrored_get_static_delegate;
+
+
+ private delegate void efl_ui_mirrored_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool rtl);
+
+
+ public delegate void efl_ui_mirrored_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool rtl);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_mirrored_set_api_delegate> efl_ui_mirrored_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_mirrored_set_api_delegate>(Module, "efl_ui_mirrored_set");
+
+ private static void mirrored_set(System.IntPtr obj, System.IntPtr pd, bool rtl)
+ {
+ Eina.Log.Debug("function efl_ui_mirrored_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Widget)ws.Target).SetMirrored(rtl);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_mirrored_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), rtl);
+ }
+ }
+
+ private static efl_ui_mirrored_set_delegate efl_ui_mirrored_set_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_ui_mirrored_automatic_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_ui_mirrored_automatic_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_mirrored_automatic_get_api_delegate> efl_ui_mirrored_automatic_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_mirrored_automatic_get_api_delegate>(Module, "efl_ui_mirrored_automatic_get");
+
+ private static bool mirrored_automatic_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_mirrored_automatic_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((Widget)ws.Target).GetMirroredAutomatic();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_mirrored_automatic_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_mirrored_automatic_get_delegate efl_ui_mirrored_automatic_get_static_delegate;
+
+
+ private delegate void efl_ui_mirrored_automatic_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool automatic);
+
+
+ public delegate void efl_ui_mirrored_automatic_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool automatic);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_mirrored_automatic_set_api_delegate> efl_ui_mirrored_automatic_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_mirrored_automatic_set_api_delegate>(Module, "efl_ui_mirrored_automatic_set");
+
+ private static void mirrored_automatic_set(System.IntPtr obj, System.IntPtr pd, bool automatic)
+ {
+ Eina.Log.Debug("function efl_ui_mirrored_automatic_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Widget)ws.Target).SetMirroredAutomatic(automatic);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_mirrored_automatic_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), automatic);
+ }
+ }
+
+ private static efl_ui_mirrored_automatic_set_delegate efl_ui_mirrored_automatic_set_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
+ private delegate System.String efl_ui_language_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
+ public delegate System.String efl_ui_language_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_language_get_api_delegate> efl_ui_language_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_language_get_api_delegate>(Module, "efl_ui_language_get");
+
+ private static System.String language_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_language_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ System.String _ret_var = default(System.String);
+ try
+ {
+ _ret_var = ((Widget)ws.Target).GetLanguage();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_language_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_language_get_delegate efl_ui_language_get_static_delegate;
+
+
+ private delegate void efl_ui_language_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String language);
+
+
+ public delegate void efl_ui_language_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String language);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_language_set_api_delegate> efl_ui_language_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_language_set_api_delegate>(Module, "efl_ui_language_set");
+
+ private static void language_set(System.IntPtr obj, System.IntPtr pd, System.String language)
+ {
+ Eina.Log.Debug("function efl_ui_language_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Widget)ws.Target).SetLanguage(language);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_language_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), language);
+ }
+ }
+
+ private static efl_ui_language_set_delegate efl_ui_language_set_static_delegate;
+
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
private delegate System.String efl_ui_l10n_text_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String domain);
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiWidget_ExtensionMethods {
+ public static Efl.BindableProperty<System.String> Cursor<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Widget, T>magic = null) where T : Efl.Ui.Widget {
+ return new Efl.BindableProperty<System.String>("cursor", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> CursorStyle<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Widget, T>magic = null) where T : Efl.Ui.Widget {
+ return new Efl.BindableProperty<System.String>("cursor_style", fac);
+ }
+
+ public static Efl.BindableProperty<bool> CursorThemeSearchEnabled<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Widget, T>magic = null) where T : Efl.Ui.Widget {
+ return new Efl.BindableProperty<bool>("cursor_theme_search_enabled", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Canvas.Object> ResizeObject<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Widget, T>magic = null) where T : Efl.Ui.Widget {
+ return new Efl.BindableProperty<Efl.Canvas.Object>("resize_object", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Disabled<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Widget, T>magic = null) where T : Efl.Ui.Widget {
+ return new Efl.BindableProperty<bool>("disabled", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> Style<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Widget, T>magic = null) where T : Efl.Ui.Widget {
+ return new Efl.BindableProperty<System.String>("style", fac);
+ }
+
+ public static Efl.BindableProperty<bool> FocusAllow<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Widget, T>magic = null) where T : Efl.Ui.Widget {
+ return new Efl.BindableProperty<bool>("focus_allow", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Ui.Widget> WidgetParent<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Widget, T>magic = null) where T : Efl.Ui.Widget {
+ return new Efl.BindableProperty<Efl.Ui.Widget>("widget_parent", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> AccessInfo<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Widget, T>magic = null) where T : Efl.Ui.Widget {
+ return new Efl.BindableProperty<System.String>("access_info", fac);
+ }
+
+
+
+
+ public static Efl.BindableProperty<Eina.List<Efl.Canvas.Object>> FocusCustomChain<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Widget, T>magic = null) where T : Efl.Ui.Widget {
+ return new Efl.BindableProperty<Eina.List<Efl.Canvas.Object>>("focus_custom_chain", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.Ui.Focus.MovePolicy> FocusMovePolicy<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Widget, T>magic = null) where T : Efl.Ui.Widget {
+ return new Efl.BindableProperty<Efl.Ui.Focus.MovePolicy>("focus_move_policy", fac);
+ }
+
+ public static Efl.BindableProperty<bool> FocusMovePolicyAutomatic<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Widget, T>magic = null) where T : Efl.Ui.Widget {
+ return new Efl.BindableProperty<bool>("focus_move_policy_automatic", fac);
+ }
+
+
+
+
+
+
+
+
+
+
+ public static Efl.BindableProperty<System.String> I18nName<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Widget, T>magic = null) where T : Efl.Ui.Widget {
+ return new Efl.BindableProperty<System.String>("i18n_name", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<Efl.Access.Role> Role<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Widget, T>magic = null) where T : Efl.Ui.Widget {
+ return new Efl.BindableProperty<Efl.Access.Role>("role", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Access.IObject> AccessParent<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Widget, T>magic = null) where T : Efl.Ui.Widget {
+ return new Efl.BindableProperty<Efl.Access.IObject>("access_parent", fac);
+ }
+
+
+
+
+
+
+ public static Efl.BindableProperty<Efl.Access.ReadingInfoTypeMask> ReadingInfoType<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Widget, T>magic = null) where T : Efl.Ui.Widget {
+ return new Efl.BindableProperty<Efl.Access.ReadingInfoTypeMask>("reading_info_type", fac);
+ }
+
+
+ public static Efl.BindableProperty<System.String> Description<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Widget, T>magic = null) where T : Efl.Ui.Widget {
+ return new Efl.BindableProperty<System.String>("description", fac);
+ }
+
+
+ public static Efl.BindableProperty<System.String> TranslationDomain<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Widget, T>magic = null) where T : Efl.Ui.Widget {
+ return new Efl.BindableProperty<System.String>("translation_domain", fac);
+ }
+
+
+ public static Efl.BindableProperty<bool> CanHighlight<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Widget, T>magic = null) where T : Efl.Ui.Widget {
+ return new Efl.BindableProperty<bool>("can_highlight", fac);
+ }
+
+
+ public static Efl.BindableProperty<bool> Mirrored<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Widget, T>magic = null) where T : Efl.Ui.Widget {
+ return new Efl.BindableProperty<bool>("mirrored", fac);
+ }
+
+ public static Efl.BindableProperty<bool> MirroredAutomatic<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Widget, T>magic = null) where T : Efl.Ui.Widget {
+ return new Efl.BindableProperty<bool>("mirrored_automatic", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> Language<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Widget, T>magic = null) where T : Efl.Ui.Widget {
+ return new Efl.BindableProperty<System.String>("language", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.IModel> Model<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Widget, T>magic = null) where T : Efl.Ui.Widget {
+ return new Efl.BindableProperty<Efl.IModel>("model", fac);
+ }
+
+
+ public static Efl.BindableProperty<bool> Focus<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Widget, T>magic = null) where T : Efl.Ui.Widget {
+ return new Efl.BindableProperty<bool>("focus", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<bool> ChildFocus<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Widget, T>magic = null) where T : Efl.Ui.Widget {
+ return new Efl.BindableProperty<bool>("child_focus", fac);
+ }
+
+ public static Efl.BindablePart<Efl.Ui.WidgetPartBg> BackgroundPart<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Widget, T> x=null) where T : Efl.Ui.Widget
+ {
+ return new Efl.BindablePart<Efl.Ui.WidgetPartBg>("background" ,fac);
+ }
+
+ public static Efl.BindablePart<Efl.Ui.WidgetPartShadow> ShadowPart<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Widget, T> x=null) where T : Efl.Ui.Widget
+ {
+ return new Efl.BindablePart<Efl.Ui.WidgetPartShadow>("shadow" ,fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
namespace Efl {
namespace Ui {
public Efl.Ui.Focus.IObject Parent;
/// <summary><c>true</c> if this is registered as logical currently</summary>
public bool Logical;
- ///<summary>Constructor for WidgetFocusState.</summary>
+ /// <summary>Constructor for WidgetFocusState.</summary>
+ /// <param name="Manager">The manager where the widget is registered in</param>;
+ /// <param name="Parent">The parent the widget is using as logical parent</param>;
+ /// <param name="Logical"><c>true</c> if this is registered as logical currently</param>;
public WidgetFocusState(
Efl.Ui.Focus.IManager Manager = default(Efl.Ui.Focus.IManager),
Efl.Ui.Focus.IObject Parent = default(Efl.Ui.Focus.IObject),
this.Logical = Logical;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 WidgetFocusState(IntPtr ptr)
{
var tmp = (WidgetFocusState.NativeStruct)Marshal.PtrToStructure(ptr, typeof(WidgetFocusState.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct WidgetFocusState.</summary>
+ /// <summary>Internal wrapper for struct WidgetFocusState.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
- ///<summary>Internal wrapper for field Manager</summary>
+ /// <summary>Internal wrapper for field Manager</summary>
public System.IntPtr Manager;
- ///<summary>Internal wrapper for field Parent</summary>
+ /// <summary>Internal wrapper for field Parent</summary>
public System.IntPtr Parent;
- ///<summary>Internal wrapper for field Logical</summary>
+ /// <summary>Internal wrapper for field Logical</summary>
public System.Byte Logical;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator WidgetFocusState.NativeStruct(WidgetFocusState _external_struct)
{
var _internal_struct = new WidgetFocusState.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator WidgetFocusState(WidgetFocusState.NativeStruct _internal_struct)
{
var _external_struct = new WidgetFocusState();
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.WidgetFactory.NativeMethods]
[Efl.Eo.BindingEntity]
-public class WidgetFactory : Efl.LoopConsumer, Efl.Ui.IFactory, Efl.Ui.IFactoryBind, Efl.Ui.IPropertyBind
+public class WidgetFactory : Efl.LoopConsumer, Efl.IPart, Efl.Ui.IFactory, Efl.Ui.IFactoryBind, Efl.Ui.IPropertyBind
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected WidgetFactory(ConstructingHandle ch) : base(ch)
{
}
/// <summary>Event triggered when an item has been successfully created.</summary>
+ /// <value><see cref="Efl.Ui.IFactoryCreatedEvt_Args"/></value>
public event EventHandler<Efl.Ui.IFactoryCreatedEvt_Args> CreatedEvt
{
add
}
}
}
- ///<summary>Method to raise event CreatedEvt.</summary>
+ /// <summary>Method to raise event CreatedEvt.</summary>
public void OnCreatedEvt(Efl.Ui.IFactoryCreatedEvt_Args e)
{
var key = "_EFL_UI_FACTORY_EVENT_CREATED";
}
}
/// <summary>Event dispatched when a property on the object has changed due to an user interaction on the object that a model could be interested in.</summary>
+ /// <value><see cref="Efl.Ui.IPropertyBindPropertiesChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.IPropertyBindPropertiesChangedEvt_Args> PropertiesChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event PropertiesChangedEvt.</summary>
+ /// <summary>Method to raise event PropertiesChangedEvt.</summary>
public void OnPropertiesChangedEvt(Efl.Ui.IPropertyBindPropertiesChangedEvt_Args e)
{
var key = "_EFL_UI_PROPERTY_BIND_EVENT_PROPERTIES_CHANGED";
}
}
/// <summary>Event dispatched when a property on the object is bound to a model. This is useful to not overgenerate event.</summary>
+ /// <value><see cref="Efl.Ui.IPropertyBindPropertyBoundEvt_Args"/></value>
public event EventHandler<Efl.Ui.IPropertyBindPropertyBoundEvt_Args> PropertyBoundEvt
{
add
}
}
}
- ///<summary>Method to raise event PropertyBoundEvt.</summary>
+ /// <summary>Method to raise event PropertyBoundEvt.</summary>
public void OnPropertyBoundEvt(Efl.Ui.IPropertyBindPropertyBoundEvt_Args e)
{
var key = "_EFL_UI_PROPERTY_BIND_EVENT_PROPERTY_BOUND";
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="model">Efl model</param>
+ /// <summary>Get a proxy object referring to a part of an object.
+ /// (Since EFL 1.22)</summary>
+ /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),name);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Create a UI object from the necessary properties in the specified model.
+ /// Note: This is the function you need to implement for a custom factory, but if you want to use a factory, you should rely on <see cref="Efl.Ui.ViewFactory.CreateWithEvent"/>.</summary>
+ /// <param name="models">Efl iterator providing the model to be associated to the new item. It should remain valid until the end of the function call.</param>
/// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),model, parent);
+ virtual public Eina.Future Create(Eina.Iterator<Efl.IModel> models, Efl.Gfx.IEntity parent) {
+ var _in_models = models.Handle;
+ 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)),_in_models, parent);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
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>This function is called during the creation of an UI object between the Efl.Object.constructor and <see cref="Efl.Object.FinalizeAdd"/> call.
+ /// Note: if the <see cref="Efl.Ui.IFactory"/> does keep a cache of object, this won't be called when object are pulled out of the cache.</summary>
+ /// <param name="ui_view">The UI object being created.</param>
+ virtual public void Building(Efl.Gfx.IEntity ui_view) {
+ Efl.Ui.IFactoryConcrete.NativeMethods.efl_ui_factory_building_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>
return _ret_var;
}
/// <summary>Async wrapper for <see cref="Create" />.</summary>
- /// <param name="model">Efl model</param>
+ /// <param name="models">Efl iterator providing the model to be associated to the new item. It should remain valid until the end of the function call.</param>
/// <param name="parent">Efl canvas</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> CreateAsync(Efl.IModel model,Efl.Gfx.IEntity parent, System.Threading.CancellationToken token = default(System.Threading.CancellationToken))
+ public System.Threading.Tasks.Task<Eina.Value> CreateAsync(Eina.Iterator<Efl.IModel> models,Efl.Gfx.IEntity parent, System.Threading.CancellationToken token = default(System.Threading.CancellationToken))
{
- Eina.Future future = Create( model, parent);
+ Eina.Future future = Create( models, parent);
return Efl.Eo.Globals.WrapAsync(future, token);
}
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_widget_factory_item_class_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_widget_factory_item_class_set_static_delegate) });
}
+ if (efl_part_get_static_delegate == null)
+ {
+ efl_part_get_static_delegate = new efl_part_get_delegate(part_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetPart") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_part_get"), func = Marshal.GetFunctionPointerForDelegate(efl_part_get_static_delegate) });
+ }
+
if (efl_ui_factory_create_static_delegate == null)
{
efl_ui_factory_create_static_delegate = new efl_ui_factory_create_delegate(create);
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_factory_release"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_factory_release_static_delegate) });
}
+ if (efl_ui_factory_building_static_delegate == null)
+ {
+ efl_ui_factory_building_static_delegate = new efl_ui_factory_building_delegate(building);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "Building") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_factory_building"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_factory_building_static_delegate) });
+ }
+
if (efl_ui_factory_bind_static_delegate == null)
{
efl_ui_factory_bind_static_delegate = new efl_ui_factory_bind_delegate(factory_bind);
private static efl_ui_widget_factory_item_class_set_delegate efl_ui_widget_factory_item_class_set_static_delegate;
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ private delegate Efl.Object efl_part_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String name);
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ public delegate Efl.Object efl_part_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String name);
+
+ public static Efl.Eo.FunctionWrapper<efl_part_get_api_delegate> efl_part_get_ptr = new Efl.Eo.FunctionWrapper<efl_part_get_api_delegate>(Module, "efl_part_get");
+
+ private static Efl.Object part_get(System.IntPtr obj, System.IntPtr pd, System.String name)
+ {
+ Eina.Log.Debug("function efl_part_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.Object _ret_var = default(Efl.Object);
+ try
+ {
+ _ret_var = ((WidgetFactory)ws.Target).GetPart(name);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_part_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), name);
+ }
+ }
+
+ private static efl_part_get_delegate efl_part_get_static_delegate;
+
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Eina.FutureMarshaler))]
- private delegate Eina.Future efl_ui_factory_create_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.IModel model, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity parent);
+ private delegate Eina.Future efl_ui_factory_create_delegate(System.IntPtr obj, System.IntPtr pd, System.IntPtr models, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity parent);
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Eina.FutureMarshaler))]
- public delegate Eina.Future efl_ui_factory_create_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.IModel model, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity parent);
+ public delegate Eina.Future efl_ui_factory_create_api_delegate(System.IntPtr obj, System.IntPtr models, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity parent);
public static Efl.Eo.FunctionWrapper<efl_ui_factory_create_api_delegate> efl_ui_factory_create_ptr = new Efl.Eo.FunctionWrapper<efl_ui_factory_create_api_delegate>(Module, "efl_ui_factory_create");
- private static Eina.Future create(System.IntPtr obj, System.IntPtr pd, Efl.IModel model, Efl.Gfx.IEntity parent)
+ private static Eina.Future create(System.IntPtr obj, System.IntPtr pd, System.IntPtr models, Efl.Gfx.IEntity parent)
{
Eina.Log.Debug("function efl_ui_factory_create was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
- Eina.Future _ret_var = default( Eina.Future);
+ var _in_models = new Eina.Iterator<Efl.IModel>(models, false);
+ Eina.Future _ret_var = default( Eina.Future);
try
{
- _ret_var = ((WidgetFactory)ws.Target).Create(model, parent);
+ _ret_var = ((WidgetFactory)ws.Target).Create(_in_models, parent);
}
catch (Exception e)
{
}
else
{
- return efl_ui_factory_create_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), model, parent);
+ return efl_ui_factory_create_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), models, parent);
}
}
private static efl_ui_factory_release_delegate efl_ui_factory_release_static_delegate;
+ private delegate void efl_ui_factory_building_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity ui_view);
+
+
+ public delegate void efl_ui_factory_building_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity ui_view);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_factory_building_api_delegate> efl_ui_factory_building_ptr = new Efl.Eo.FunctionWrapper<efl_ui_factory_building_api_delegate>(Module, "efl_ui_factory_building");
+
+ private static void building(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity ui_view)
+ {
+ Eina.Log.Debug("function efl_ui_factory_building was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((WidgetFactory)ws.Target).Building(ui_view);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_factory_building_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), ui_view);
+ }
+ }
+
+ private static efl_ui_factory_building_delegate efl_ui_factory_building_static_delegate;
+
+
private delegate void efl_ui_factory_bind_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String key, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.IFactory factory);
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiWidgetFactory_ExtensionMethods {
+ public static Efl.BindableProperty<Type> ItemClass<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.WidgetFactory, T>magic = null) where T : Efl.Ui.WidgetFactory {
+ return new Efl.BindableProperty<Type>("item_class", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
}
/// <summary>No description supplied.
/// (Since EFL 1.22)</summary>
-sealed public class IWidgetFocusManagerConcrete :
+sealed public class IWidgetFocusManagerConcrete :
Efl.Eo.EoWrapper
, IWidgetFocusManager
, Efl.Ui.Focus.IManager
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IWidgetFocusManagerConcrete(ConstructingHandle ch) : base(ch)
{
/// <summary>Redirect object has changed, the old manager is passed as an event argument.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IManagerRedirectChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.Focus.IManagerRedirectChangedEvt_Args> RedirectChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event RedirectChangedEvt.</summary>
+ /// <summary>Method to raise event RedirectChangedEvt.</summary>
public void OnRedirectChangedEvt(Efl.Ui.Focus.IManagerRedirectChangedEvt_Args e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_REDIRECT_CHANGED";
}
}
}
- ///<summary>Method to raise event FlushPreEvt.</summary>
+ /// <summary>Method to raise event FlushPreEvt.</summary>
public void OnFlushPreEvt(EventArgs e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_FLUSH_PRE";
}
}
}
- ///<summary>Method to raise event CoordsDirtyEvt.</summary>
+ /// <summary>Method to raise event CoordsDirtyEvt.</summary>
public void OnCoordsDirtyEvt(EventArgs e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_COORDS_DIRTY";
}
/// <summary>The manager_focus property has changed. The previously focused object is passed as an event argument.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args> ManagerFocusChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event ManagerFocusChangedEvt.</summary>
+ /// <summary>Method to raise event ManagerFocusChangedEvt.</summary>
public void OnManagerFocusChangedEvt(Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_MANAGER_FOCUS_CHANGED";
}
/// <summary>Called when this focus manager is frozen or thawed, even_info being <c>true</c> indicates that it is now frozen, <c>false</c> indicates that it is thawed.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args> DirtyLogicFreezeChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event DirtyLogicFreezeChangedEvt.</summary>
+ /// <summary>Method to raise event DirtyLogicFreezeChangedEvt.</summary>
public void OnDirtyLogicFreezeChangedEvt(Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_DIRTY_LOGIC_FREEZE_CHANGED";
}
/// <summary>This will fetch the data from a registered node.
/// Be aware this function will trigger a computation of all dirty nodes.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="child">The child object to inspect.</param>
/// <returns>The list of relations starting from <c>child</c>.</returns>
public Efl.Ui.Focus.Relations Fetch(Efl.Ui.Focus.IObject child) {
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiIWidgetFocusManagerConcrete_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Ui.Focus.IObject> ManagerFocus<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.IWidgetFocusManager, T>magic = null) where T : Efl.Ui.IWidgetFocusManager {
+ return new Efl.BindableProperty<Efl.Ui.Focus.IObject>("manager_focus", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Ui.Focus.IManager> Redirect<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.IWidgetFocusManager, T>magic = null) where T : Efl.Ui.IWidgetFocusManager {
+ return new Efl.BindableProperty<Efl.Ui.Focus.IManager>("redirect", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<Efl.Ui.Focus.IObject> Root<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.IWidgetFocusManager, T>magic = null) where T : Efl.Ui.IWidgetFocusManager {
+ return new Efl.BindableProperty<Efl.Ui.Focus.IObject>("root", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.WidgetPart.NativeMethods]
[Efl.Eo.BindingEntity]
-public class WidgetPart : Efl.Object
+public class WidgetPart : Efl.Object, Efl.Ui.IPropertyBind
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected WidgetPart(ConstructingHandle ch) : base(ch)
{
{
}
+ /// <summary>Event dispatched when a property on the object has changed due to an user interaction on the object that a model could be interested in.</summary>
+ /// <value><see cref="Efl.Ui.IPropertyBindPropertiesChangedEvt_Args"/></value>
+ public event EventHandler<Efl.Ui.IPropertyBindPropertiesChangedEvt_Args> PropertiesChangedEvt
+ {
+ 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.IPropertyBindPropertiesChangedEvt_Args args = new Efl.Ui.IPropertyBindPropertiesChangedEvt_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_PROPERTY_BIND_EVENT_PROPERTIES_CHANGED";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_PROPERTY_BIND_EVENT_PROPERTIES_CHANGED";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event PropertiesChangedEvt.</summary>
+ public void OnPropertiesChangedEvt(Efl.Ui.IPropertyBindPropertiesChangedEvt_Args e)
+ {
+ var key = "_EFL_UI_PROPERTY_BIND_EVENT_PROPERTIES_CHANGED";
+ 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>Event dispatched when a property on the object is bound to a model. This is useful to not overgenerate event.</summary>
+ /// <value><see cref="Efl.Ui.IPropertyBindPropertyBoundEvt_Args"/></value>
+ public event EventHandler<Efl.Ui.IPropertyBindPropertyBoundEvt_Args> PropertyBoundEvt
+ {
+ 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.IPropertyBindPropertyBoundEvt_Args args = new Efl.Ui.IPropertyBindPropertyBoundEvt_Args();
+ args.arg = Eina.StringConversion.NativeUtf8ToManagedString(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_PROPERTY_BIND_EVENT_PROPERTY_BOUND";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_PROPERTY_BIND_EVENT_PROPERTY_BOUND";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event PropertyBoundEvt.</summary>
+ public void OnPropertyBoundEvt(Efl.Ui.IPropertyBindPropertyBoundEvt_Args e)
+ {
+ var key = "_EFL_UI_PROPERTY_BIND_EVENT_PROPERTY_BOUND";
+ 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.StringConversion.ManagedStringToNativeUtf8Alloc(e.arg);
+ try
+ {
+ Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
+ }
+ finally
+ {
+ Eina.MemoryNative.Free(info);
+ }
+ }
+ /// <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="key">key string for bind model property data</param>
+ /// <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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),key, property);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
private static IntPtr GetEflClassStatic()
{
return Efl.Ui.WidgetPart.efl_ui_widget_part_class_get();
/// 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_property_bind_static_delegate == null)
+ {
+ efl_ui_property_bind_static_delegate = new efl_ui_property_bind_delegate(property_bind);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "PropertyBind") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_property_bind"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_property_bind_static_delegate) });
+ }
+
descs.AddRange(base.GetEoOps(type));
return descs;
}
#pragma warning disable CA1707, CS1591, SA1300, SA1600
+
+ private delegate Eina.Error efl_ui_property_bind_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String key, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String property);
+
+
+ public delegate Eina.Error efl_ui_property_bind_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String key, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String property);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_property_bind_api_delegate> efl_ui_property_bind_ptr = new Efl.Eo.FunctionWrapper<efl_ui_property_bind_api_delegate>(Module, "efl_ui_property_bind");
+
+ private static Eina.Error property_bind(System.IntPtr obj, System.IntPtr pd, System.String key, System.String property)
+ {
+ Eina.Log.Debug("function efl_ui_property_bind was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Eina.Error _ret_var = default(Eina.Error);
+ try
+ {
+ _ret_var = ((WidgetPart)ws.Target).PropertyBind(key, property);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_property_bind_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), key, property);
+ }
+ }
+
+ private static efl_ui_property_bind_delegate efl_ui_property_bind_static_delegate;
+
#pragma warning restore CA1707, CS1591, SA1300, SA1600
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiWidgetPart_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Elementary widget internal part background class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected WidgetPartBg(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event ImagePreloadEvt.</summary>
+ /// <summary>Method to raise event ImagePreloadEvt.</summary>
public void OnImagePreloadEvt(EventArgs e)
{
var key = "_EFL_GFX_IMAGE_EVENT_IMAGE_PRELOAD";
}
}
}
- ///<summary>Method to raise event ImageResizeEvt.</summary>
+ /// <summary>Method to raise event ImageResizeEvt.</summary>
public void OnImageResizeEvt(EventArgs e)
{
var key = "_EFL_GFX_IMAGE_EVENT_IMAGE_RESIZE";
}
}
}
- ///<summary>Method to raise event ImageUnloadEvt.</summary>
+ /// <summary>Method to raise event ImageUnloadEvt.</summary>
public void OnImageUnloadEvt(EventArgs e)
{
var key = "_EFL_GFX_IMAGE_EVENT_IMAGE_UNLOAD";
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>If <c>true</c>, the image may be scaled to a larger size. If <c>false</c>, the image will never be resized larger than its native size. This is set to <c>true</c> by default.</summary>
+ /// <returns>Allow image upscaling</returns>
+ virtual public bool GetCanUpscale() {
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_can_upscale_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>If <c>true</c>, the image may be scaled to a larger size. If <c>false</c>, the image will never be resized larger than its native size. This is set to <c>true</c> by default.</summary>
+ /// <param name="upscale">Allow image upscaling</param>
+ virtual public void SetCanUpscale(bool upscale) {
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_can_upscale_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),upscale);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>If <c>true</c>, the image may be scaled to a smaller size. If <c>false</c>, the image will never be resized smaller than its native size. This is set to <c>true</c> by default.</summary>
+ /// <returns>Allow image downscaling</returns>
+ virtual public bool GetCanDownscale() {
+ var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_can_downscale_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>If <c>true</c>, the image may be scaled to a smaller size. If <c>false</c>, the image will never be resized smaller than its native size. This is set to <c>true</c> by default.</summary>
+ /// <param name="downscale">Allow image downscaling</param>
+ virtual public void SetCanDownscale(bool downscale) {
+ Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_can_downscale_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),downscale);
+ Eina.Error.RaiseIfUnhandledException();
+ }
/// <summary>Returns 1.0 if not applicable (eg. height = 0).</summary>
/// <returns>The image's ratio.</returns>
virtual public double GetRatio() {
/// 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) {
+ virtual public void GetStretchRegion(out Eina.Iterator<Efl.Gfx.ImageStretchRegion> horizontal, out Eina.Iterator<Efl.Gfx.ImageStretchRegion> 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);
+ horizontal = new Eina.Iterator<Efl.Gfx.ImageStretchRegion>(_out_horizontal, false);
+ vertical = new Eina.Iterator<Efl.Gfx.ImageStretchRegion>(_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) {
+ virtual public Eina.Error SetStretchRegion(Eina.Iterator<Efl.Gfx.ImageStretchRegion> horizontal, Eina.Iterator<Efl.Gfx.ImageStretchRegion> 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);
public bool Loaded {
get { return GetLoaded(); }
}
+ /// <summary>Retrieves the general/main color of the given Evas object.
+ /// Retrieves the main color's RGB component (and alpha channel) values, which range from 0 to 255. For the alpha channel, which defines the object's transparency level, 0 means totally transparent, while 255 means opaque. These color values are premultiplied by the alpha value.
+ ///
+ /// Usually youll use this attribute for text and rectangle objects, where the main color is their unique one. If set for objects which themselves have colors, like the images one, those colors get modulated by this one.
+ ///
+ /// All newly created Evas rectangles get the default color values of 255 255 255 255 (opaque white).
+ ///
+ /// Use null pointers on the components you're not interested in: they'll be ignored by the function.
+ /// (Since EFL 1.22)</summary>
+ public (int, int, int, int) Color {
+ get {
+ int _out_r = default(int);
+ int _out_g = default(int);
+ int _out_b = default(int);
+ int _out_a = default(int);
+ GetColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Get hex color code of given Evas object. This returns a short lived hex color code string.
/// (Since EFL 1.22)</summary>
/// <value>the hex color code.</value>
get { return GetScaleType(); }
set { SetScaleType(value); }
}
+ /// <summary>If <c>true</c>, the image may be scaled to a larger size. If <c>false</c>, the image will never be resized larger than its native size. This is set to <c>true</c> by default.</summary>
+ /// <value>Allow image upscaling</value>
+ public bool CanUpscale {
+ get { return GetCanUpscale(); }
+ set { SetCanUpscale(value); }
+ }
+ /// <summary>If <c>true</c>, the image may be scaled to a smaller size. If <c>false</c>, the image will never be resized smaller than its native size. This is set to <c>true</c> by default.</summary>
+ /// <value>Allow image downscaling</value>
+ public bool CanDownscale {
+ get { return GetCanDownscale(); }
+ set { SetCanDownscale(value); }
+ }
/// <summary>The native width/height ratio of the image.</summary>
/// <value>The image's ratio.</value>
public double Ratio {
public Eina.Rect ContentRegion {
get { return 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 units used for <c>l</c>, <c>r</c>, <c>t</c> and <c>b</c> are canvas units (pixels).
+ ///
+ /// Note: The border region itself may be scaled by the <see cref="Efl.Gfx.IImage.SetBorderScale"/> function.
+ ///
+ /// Note: By default, image objects have no borders set, i.e. <c>l</c>, <c>r</c>, <c>t</c> and <c>b</c> start as 0.
+ ///
+ /// Note: Similar to the concepts of 9-patch images or cap insets.</summary>
+ /// <value>The border's left width.</value>
+ public (int, int, int, int) Border {
+ get {
+ int _out_l = default(int);
+ int _out_r = default(int);
+ int _out_t = default(int);
+ int _out_b = default(int);
+ GetBorder(out _out_l,out _out_r,out _out_t,out _out_b);
+ return (_out_l,_out_r,_out_t,_out_b);
+ }
+ set { SetBorder( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <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.
///
get { return GetBorderCenterFill(); }
set { SetBorderCenterFill(value); }
}
+ /// <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>
+ /// <value>Representation of area that are stretchable in the image horizontal space.</value>
+ public (Eina.Iterator<Efl.Gfx.ImageStretchRegion>, Eina.Iterator<Efl.Gfx.ImageStretchRegion>) StretchRegion {
+ get {
+ Eina.Iterator<Efl.Gfx.ImageStretchRegion> _out_horizontal = default(Eina.Iterator<Efl.Gfx.ImageStretchRegion>);
+ Eina.Iterator<Efl.Gfx.ImageStretchRegion> _out_vertical = default(Eina.Iterator<Efl.Gfx.ImageStretchRegion>);
+ GetStretchRegion(out _out_horizontal,out _out_vertical);
+ return (_out_horizontal,_out_vertical);
+ }
+ set { SetStretchRegion( value.Item1, value.Item2); }
+ }
/// <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.
///
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_scale_type_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_scale_type_set_static_delegate) });
}
+ if (efl_gfx_image_can_upscale_get_static_delegate == null)
+ {
+ efl_gfx_image_can_upscale_get_static_delegate = new efl_gfx_image_can_upscale_get_delegate(can_upscale_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetCanUpscale") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_can_upscale_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_can_upscale_get_static_delegate) });
+ }
+
+ if (efl_gfx_image_can_upscale_set_static_delegate == null)
+ {
+ efl_gfx_image_can_upscale_set_static_delegate = new efl_gfx_image_can_upscale_set_delegate(can_upscale_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetCanUpscale") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_can_upscale_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_can_upscale_set_static_delegate) });
+ }
+
+ if (efl_gfx_image_can_downscale_get_static_delegate == null)
+ {
+ efl_gfx_image_can_downscale_get_static_delegate = new efl_gfx_image_can_downscale_get_delegate(can_downscale_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetCanDownscale") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_can_downscale_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_can_downscale_get_static_delegate) });
+ }
+
+ if (efl_gfx_image_can_downscale_set_static_delegate == null)
+ {
+ efl_gfx_image_can_downscale_set_static_delegate = new efl_gfx_image_can_downscale_set_delegate(can_downscale_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetCanDownscale") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_can_downscale_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_can_downscale_set_static_delegate) });
+ }
+
if (efl_gfx_image_ratio_get_static_delegate == null)
{
efl_gfx_image_ratio_get_static_delegate = new efl_gfx_image_ratio_get_delegate(ratio_get);
private static efl_gfx_image_scale_type_set_delegate efl_gfx_image_scale_type_set_static_delegate;
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_gfx_image_can_upscale_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_gfx_image_can_upscale_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_can_upscale_get_api_delegate> efl_gfx_image_can_upscale_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_can_upscale_get_api_delegate>(Module, "efl_gfx_image_can_upscale_get");
+
+ private static bool can_upscale_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_gfx_image_can_upscale_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((WidgetPartBg)ws.Target).GetCanUpscale();
+ }
+ 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_can_upscale_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_gfx_image_can_upscale_get_delegate efl_gfx_image_can_upscale_get_static_delegate;
+
+
+ private delegate void efl_gfx_image_can_upscale_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool upscale);
+
+
+ public delegate void efl_gfx_image_can_upscale_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool upscale);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_can_upscale_set_api_delegate> efl_gfx_image_can_upscale_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_can_upscale_set_api_delegate>(Module, "efl_gfx_image_can_upscale_set");
+
+ private static void can_upscale_set(System.IntPtr obj, System.IntPtr pd, bool upscale)
+ {
+ Eina.Log.Debug("function efl_gfx_image_can_upscale_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((WidgetPartBg)ws.Target).SetCanUpscale(upscale);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_gfx_image_can_upscale_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), upscale);
+ }
+ }
+
+ private static efl_gfx_image_can_upscale_set_delegate efl_gfx_image_can_upscale_set_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_gfx_image_can_downscale_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_gfx_image_can_downscale_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_can_downscale_get_api_delegate> efl_gfx_image_can_downscale_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_can_downscale_get_api_delegate>(Module, "efl_gfx_image_can_downscale_get");
+
+ private static bool can_downscale_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_gfx_image_can_downscale_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((WidgetPartBg)ws.Target).GetCanDownscale();
+ }
+ 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_can_downscale_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_gfx_image_can_downscale_get_delegate efl_gfx_image_can_downscale_get_static_delegate;
+
+
+ private delegate void efl_gfx_image_can_downscale_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool downscale);
+
+
+ public delegate void efl_gfx_image_can_downscale_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool downscale);
+
+ public static Efl.Eo.FunctionWrapper<efl_gfx_image_can_downscale_set_api_delegate> efl_gfx_image_can_downscale_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_can_downscale_set_api_delegate>(Module, "efl_gfx_image_can_downscale_set");
+
+ private static void can_downscale_set(System.IntPtr obj, System.IntPtr pd, bool downscale)
+ {
+ Eina.Log.Debug("function efl_gfx_image_can_downscale_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((WidgetPartBg)ws.Target).SetCanDownscale(downscale);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_gfx_image_can_downscale_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), downscale);
+ }
+ }
+
+ private static efl_gfx_image_can_downscale_set_delegate efl_gfx_image_can_downscale_set_static_delegate;
+
private delegate double efl_gfx_image_ratio_get_delegate(System.IntPtr obj, System.IntPtr pd);
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>);
+ Eina.Iterator<Efl.Gfx.ImageStretchRegion> _out_horizontal = default(Eina.Iterator<Efl.Gfx.ImageStretchRegion>);
+ Eina.Iterator<Efl.Gfx.ImageStretchRegion> _out_vertical = default(Eina.Iterator<Efl.Gfx.ImageStretchRegion>);
try
{
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);
+ var _in_horizontal = new Eina.Iterator<Efl.Gfx.ImageStretchRegion>(horizontal, false);
+ var _in_vertical = new Eina.Iterator<Efl.Gfx.ImageStretchRegion>(vertical, false);
Eina.Error _ret_var = default(Eina.Error);
try
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiWidgetPartBg_ExtensionMethods {
+ public static Efl.BindableProperty<Eina.File> Mmap<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.WidgetPartBg, T>magic = null) where T : Efl.Ui.WidgetPartBg {
+ return new Efl.BindableProperty<Eina.File>("mmap", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> File<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.WidgetPartBg, T>magic = null) where T : Efl.Ui.WidgetPartBg {
+ return new Efl.BindableProperty<System.String>("file", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> Key<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.WidgetPartBg, T>magic = null) where T : Efl.Ui.WidgetPartBg {
+ return new Efl.BindableProperty<System.String>("key", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<System.String> ColorCode<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.WidgetPartBg, T>magic = null) where T : Efl.Ui.WidgetPartBg {
+ return new Efl.BindableProperty<System.String>("color_code", fac);
+ }
+
+ public static Efl.BindableProperty<bool> SmoothScale<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.WidgetPartBg, T>magic = null) where T : Efl.Ui.WidgetPartBg {
+ return new Efl.BindableProperty<bool>("smooth_scale", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Gfx.ImageScaleType> ScaleType<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.WidgetPartBg, T>magic = null) where T : Efl.Ui.WidgetPartBg {
+ return new Efl.BindableProperty<Efl.Gfx.ImageScaleType>("scale_type", fac);
+ }
+
+ public static Efl.BindableProperty<bool> CanUpscale<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.WidgetPartBg, T>magic = null) where T : Efl.Ui.WidgetPartBg {
+ return new Efl.BindableProperty<bool>("can_upscale", fac);
+ }
+
+ public static Efl.BindableProperty<bool> CanDownscale<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.WidgetPartBg, T>magic = null) where T : Efl.Ui.WidgetPartBg {
+ return new Efl.BindableProperty<bool>("can_downscale", fac);
+ }
+
+
+
+
+ public static Efl.BindableProperty<double> BorderScale<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.WidgetPartBg, T>magic = null) where T : Efl.Ui.WidgetPartBg {
+ return new Efl.BindableProperty<double>("border_scale", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Gfx.BorderFillMode> BorderCenterFill<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.WidgetPartBg, T>magic = null) where T : Efl.Ui.WidgetPartBg {
+ return new Efl.BindableProperty<Efl.Gfx.BorderFillMode>("border_center_fill", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<Efl.Gfx.ImageContentHint> ContentHint<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.WidgetPartBg, T>magic = null) where T : Efl.Ui.WidgetPartBg {
+ return new Efl.BindableProperty<Efl.Gfx.ImageContentHint>("content_hint", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Gfx.ImageScaleHint> ScaleHint<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.WidgetPartBg, T>magic = null) where T : Efl.Ui.WidgetPartBg {
+ return new Efl.BindableProperty<Efl.Gfx.ImageScaleHint>("scale_hint", fac);
+ }
+
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// As another example, here's a black drop-shadow: obj.shadow().color_set(0, 0, 0, 255); obj.shadow().grow_set(1); obj.shadow().radius_set(5, 5); obj.shadow().offset_set(5, 5);
///
/// It is also possible to manually specify which <see cref="Efl.Gfx.IFilter"/> program to use.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected WidgetPartShadow(ConstructingHandle ch) : base(ch)
{
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>The blur radius in pixels.</summary>
+ /// <value>The horizontal blur radius.</value>
+ public (double, double) Radius {
+ get {
+ double _out_rx = default(double);
+ double _out_ry = default(double);
+ GetRadius(out _out_rx,out _out_ry);
+ return (_out_rx,_out_ry);
+ }
+ set { SetRadius( value.Item1, value.Item2); }
+ }
+ /// <summary>An offset relative to the original pixels.
+ /// This property allows for drop shadow effects.</summary>
+ /// <value>Horizontal offset in pixels.</value>
+ public (double, double) Offset {
+ get {
+ double _out_ox = default(double);
+ double _out_oy = default(double);
+ GetOffset(out _out_ox,out _out_oy);
+ return (_out_ox,_out_oy);
+ }
+ set { SetOffset( value.Item1, value.Item2); }
+ }
/// <summary>How much the original image should be "grown" before blurring.
/// Growing is a combination of blur & color levels adjustment. If the value of grow is positive, the pixels will appear more "fat" or "bold" than the original. If the value is negative, a shrink effect happens instead.
///
get { return GetGrow(); }
set { SetGrow(value); }
}
+ /// <summary>Retrieves the general/main color of the given Evas object.
+ /// Retrieves the main color's RGB component (and alpha channel) values, which range from 0 to 255. For the alpha channel, which defines the object's transparency level, 0 means totally transparent, while 255 means opaque. These color values are premultiplied by the alpha value.
+ ///
+ /// Usually youll use this attribute for text and rectangle objects, where the main color is their unique one. If set for objects which themselves have colors, like the images one, those colors get modulated by this one.
+ ///
+ /// All newly created Evas rectangles get the default color values of 255 255 255 255 (opaque white).
+ ///
+ /// Use null pointers on the components you're not interested in: they'll be ignored by the function.
+ /// (Since EFL 1.22)</summary>
+ public (int, int, int, int) Color {
+ get {
+ int _out_r = default(int);
+ int _out_g = default(int);
+ int _out_b = default(int);
+ int _out_a = default(int);
+ GetColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Get hex color code of given Evas object. This returns a short lived hex color code string.
/// (Since EFL 1.22)</summary>
/// <value>the hex color code.</value>
get { return GetColorCode(); }
set { SetColorCode(value); }
}
+ /// <summary>Gets the code of the filter program set on this object. May be <c>null</c>.</summary>
+ /// <value>The Lua program source code.</value>
+ public (System.String, System.String) FilterProgram {
+ get {
+ System.String _out_code = default(System.String);
+ System.String _out_name = default(System.String);
+ GetFilterProgram(out _out_code,out _out_name);
+ return (_out_code,_out_name);
+ }
+ set { SetFilterProgram( value.Item1, value.Item2); }
+ }
+ /// <summary>Set the current state of the filter.
+ /// This should be used by Edje (EFL's internal layout engine), but could also be used when implementing animations programmatically.
+ ///
+ /// A full state is defined by two states (name + value): origin state and target state of an ongoing animation, as well as the <c>pos</c> progress (from 0 to 1) of that animation timeline. The second state can be omitted if there is no ongoing animation.</summary>
+ /// <value>Current state of the filter</value>
+ public (System.String, double, System.String, double, double) FilterState {
+ get {
+ System.String _out_cur_state = default(System.String);
+ double _out_cur_val = default(double);
+ System.String _out_next_state = default(System.String);
+ double _out_next_val = default(double);
+ double _out_pos = default(double);
+ GetFilterState(out _out_cur_state,out _out_cur_val,out _out_next_state,out _out_next_val,out _out_pos);
+ return (_out_cur_state,_out_cur_val,_out_next_state,_out_next_val,_out_pos);
+ }
+ set { SetFilterState( value.Item1, value.Item2, value.Item3, value.Item4, value.Item5); }
+ }
+ /// <summary>Required padding to apply this filter without cropping.
+ /// Read-only property that can be used to calculate the object's final geometry. This can be overridden (set) from inside the filter program by using the function 'padding_set' in the Lua program.</summary>
+ public (int, int, int, int) FilterPadding {
+ get {
+ int _out_l = default(int);
+ int _out_r = default(int);
+ int _out_t = default(int);
+ int _out_b = default(int);
+ GetFilterPadding(out _out_l,out _out_r,out _out_t,out _out_b);
+ return (_out_l,_out_r,_out_t,_out_b);
+ }
+ }
private static IntPtr GetEflClassStatic()
{
return Efl.Ui.WidgetPartShadow.efl_ui_widget_part_shadow_class_get();
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiWidgetPartShadow_ExtensionMethods {
+
+
+ public static Efl.BindableProperty<double> Grow<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.WidgetPartShadow, T>magic = null) where T : Efl.Ui.WidgetPartShadow {
+ return new Efl.BindableProperty<double>("grow", fac);
+ }
+
+
+ public static Efl.BindableProperty<System.String> ColorCode<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.WidgetPartShadow, T>magic = null) where T : Efl.Ui.WidgetPartShadow {
+ return new Efl.BindableProperty<System.String>("color_code", fac);
+ }
+
+
+
+
+
+
+}
+#pragma warning restore CS1591
+#endif
--- /dev/null
+#define EFL_BETA
+#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 widget scrollable content mixin
+/// This can be used to provide scrollable contents and text for widgets.
+///
+/// Widgets can set the "__efl_scrollable_content_scroller_style" key data during their constructor to apply a style to the internal scroller widget.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+[Efl.Ui.IWidgetScrollableContentConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
+public interface IWidgetScrollableContent :
+ Efl.Eo.IWrapper, IDisposable
+{
+ /// <summary>Widgets can call this function during their <see cref="Efl.Canvas.Group.CalculateGroup"/> implementation after the super call to determine whether the internal scroller has performed sizing calculations.
+/// The optimal_size,calc event will have been emitted during the super call if this method returns <c>true</c>.
+///
+/// In the case that this returns <c>true</c>, it's likely that the widget should be completing its internal sizing calculations from the optimal_size,calc callback using
+///
+/// `efl_canvas_group_calculate(efl_super(ev->object, EFL_UI_WIDGET_SCROLLABLE_CONTENT_MIXIN));`
+///
+/// in order to skip the scrollable sizing calc.</summary>
+/// <returns>Whether the internal scroller has done sizing calcs.</returns>
+bool GetScrollableContentDidGroupCalc();
+ /// <summary>This is the content which will be placed in the internal scroller.</summary>
+/// <returns>The content object.</returns>
+Efl.Canvas.Object GetScrollableContent();
+ /// <summary>This is the content which will be placed in the internal scroller.</summary>
+/// <param name="content">The content object.</param>
+/// <returns>True on success</returns>
+bool SetScrollableContent(Efl.Canvas.Object content);
+ /// <summary>Retrieves the text string currently being displayed by the given text object.
+/// Do not free() the return value.
+///
+/// See also <see cref="Efl.Ui.IWidgetScrollableContent.SetScrollableText"/>.</summary>
+/// <returns>Text string to display on it.</returns>
+System.String GetScrollableText();
+ /// <summary>Sets the text string to be displayed by the given text object. The text will be scrollable depending on its size relative to the object's geometry.
+/// See also <see cref="Efl.Ui.IWidgetScrollableContent.GetScrollableText"/>.</summary>
+/// <param name="text">Text string to display on it.</param>
+void SetScrollableText(System.String text);
+ /// <summary>The optimal size for the widget based on scrollable content.</summary>
+ /// <value><see cref="Efl.Ui.IWidgetScrollableContentOptimalSizeCalcEvt_Args"/></value>
+ event EventHandler<Efl.Ui.IWidgetScrollableContentOptimalSizeCalcEvt_Args> OptimalSizeCalcEvt;
+ /// <summary>Widgets can call this function during their <see cref="Efl.Canvas.Group.CalculateGroup"/> implementation after the super call to determine whether the internal scroller has performed sizing calculations.
+ /// The optimal_size,calc event will have been emitted during the super call if this method returns <c>true</c>.
+ ///
+ /// In the case that this returns <c>true</c>, it's likely that the widget should be completing its internal sizing calculations from the optimal_size,calc callback using
+ ///
+ /// `efl_canvas_group_calculate(efl_super(ev->object, EFL_UI_WIDGET_SCROLLABLE_CONTENT_MIXIN));`
+ ///
+ /// in order to skip the scrollable sizing calc.</summary>
+ /// <value>Whether the internal scroller has done sizing calcs.</value>
+ bool ScrollableContentDidGroupCalc {
+ get;
+ }
+ /// <summary>This is the content which will be placed in the internal scroller.</summary>
+ /// <value>The content object.</value>
+ Efl.Canvas.Object ScrollableContent {
+ get;
+ set;
+ }
+ /// <summary>Retrieves the text string currently being displayed by the given text object.
+ /// Do not free() the return value.
+ ///
+ /// See also <see cref="Efl.Ui.IWidgetScrollableContent.SetScrollableText"/>.</summary>
+ /// <value>Text string to display on it.</value>
+ System.String ScrollableText {
+ get;
+ set;
+ }
+}
+/// <summary>Event argument wrapper for event <see cref="Efl.Ui.IWidgetScrollableContent.OptimalSizeCalcEvt"/>.</summary>
+[Efl.Eo.BindingEntity]
+public class IWidgetScrollableContentOptimalSizeCalcEvt_Args : EventArgs {
+ /// <summary>Actual event payload.</summary>
+ /// <value>The optimal size for the widget based on scrollable content.</value>
+ public Eina.Size2D arg { get; set; }
+}
+/// <summary>Efl widget scrollable content mixin
+/// This can be used to provide scrollable contents and text for widgets.
+///
+/// Widgets can set the "__efl_scrollable_content_scroller_style" key data during their constructor to apply a style to the internal scroller widget.</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IWidgetScrollableContentConcrete :
+ Efl.Eo.EoWrapper
+ , IWidgetScrollableContent
+
+{
+ /// <summary>Pointer to the native class description.</summary>
+ public override System.IntPtr NativeClass
+ {
+ get
+ {
+ if (((object)this).GetType() == typeof(IWidgetScrollableContentConcrete))
+ {
+ return GetEflClassStatic();
+ }
+ else
+ {
+ return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
+ }
+ }
+ }
+
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private IWidgetScrollableContentConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
+ [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
+ efl_ui_widget_scrollable_content_mixin_get();
+ /// <summary>Initializes a new instance of the <see cref="IWidgetScrollableContent"/> class.
+ /// Internal usage: 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>
+ private IWidgetScrollableContentConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
+ {
+ }
+
+ /// <summary>The optimal size for the widget based on scrollable content.</summary>
+ /// <value><see cref="Efl.Ui.IWidgetScrollableContentOptimalSizeCalcEvt_Args"/></value>
+ public event EventHandler<Efl.Ui.IWidgetScrollableContentOptimalSizeCalcEvt_Args> OptimalSizeCalcEvt
+ {
+ 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.IWidgetScrollableContentOptimalSizeCalcEvt_Args args = new Efl.Ui.IWidgetScrollableContentOptimalSizeCalcEvt_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_WIDGET_SCROLLABLE_CONTENT_EVENT_OPTIMAL_SIZE_CALC";
+ AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
+ }
+ }
+
+ remove
+ {
+ lock (eflBindingEventLock)
+ {
+ string key = "_EFL_UI_WIDGET_SCROLLABLE_CONTENT_EVENT_OPTIMAL_SIZE_CALC";
+ RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
+ }
+ }
+ }
+ /// <summary>Method to raise event OptimalSizeCalcEvt.</summary>
+ public void OnOptimalSizeCalcEvt(Efl.Ui.IWidgetScrollableContentOptimalSizeCalcEvt_Args e)
+ {
+ var key = "_EFL_UI_WIDGET_SCROLLABLE_CONTENT_EVENT_OPTIMAL_SIZE_CALC";
+ 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>Widgets can call this function during their <see cref="Efl.Canvas.Group.CalculateGroup"/> implementation after the super call to determine whether the internal scroller has performed sizing calculations.
+ /// The optimal_size,calc event will have been emitted during the super call if this method returns <c>true</c>.
+ ///
+ /// In the case that this returns <c>true</c>, it's likely that the widget should be completing its internal sizing calculations from the optimal_size,calc callback using
+ ///
+ /// `efl_canvas_group_calculate(efl_super(ev->object, EFL_UI_WIDGET_SCROLLABLE_CONTENT_MIXIN));`
+ ///
+ /// in order to skip the scrollable sizing calc.</summary>
+ /// <returns>Whether the internal scroller has done sizing calcs.</returns>
+ public bool GetScrollableContentDidGroupCalc() {
+ var _ret_var = Efl.Ui.IWidgetScrollableContentConcrete.NativeMethods.efl_ui_widget_scrollable_content_did_group_calc_get_ptr.Value.Delegate(this.NativeHandle);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>This is the content which will be placed in the internal scroller.</summary>
+ /// <returns>The content object.</returns>
+ public Efl.Canvas.Object GetScrollableContent() {
+ var _ret_var = Efl.Ui.IWidgetScrollableContentConcrete.NativeMethods.efl_ui_widget_scrollable_content_get_ptr.Value.Delegate(this.NativeHandle);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>This is the content which will be placed in the internal scroller.</summary>
+ /// <param name="content">The content object.</param>
+ /// <returns>True on success</returns>
+ public bool SetScrollableContent(Efl.Canvas.Object content) {
+ var _ret_var = Efl.Ui.IWidgetScrollableContentConcrete.NativeMethods.efl_ui_widget_scrollable_content_set_ptr.Value.Delegate(this.NativeHandle,content);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Retrieves the text string currently being displayed by the given text object.
+ /// Do not free() the return value.
+ ///
+ /// See also <see cref="Efl.Ui.IWidgetScrollableContent.SetScrollableText"/>.</summary>
+ /// <returns>Text string to display on it.</returns>
+ public System.String GetScrollableText() {
+ var _ret_var = Efl.Ui.IWidgetScrollableContentConcrete.NativeMethods.efl_ui_widget_scrollable_text_get_ptr.Value.Delegate(this.NativeHandle);
+ Eina.Error.RaiseIfUnhandledException();
+ return _ret_var;
+ }
+ /// <summary>Sets the text string to be displayed by the given text object. The text will be scrollable depending on its size relative to the object's geometry.
+ /// See also <see cref="Efl.Ui.IWidgetScrollableContent.GetScrollableText"/>.</summary>
+ /// <param name="text">Text string to display on it.</param>
+ public void SetScrollableText(System.String text) {
+ Efl.Ui.IWidgetScrollableContentConcrete.NativeMethods.efl_ui_widget_scrollable_text_set_ptr.Value.Delegate(this.NativeHandle,text);
+ Eina.Error.RaiseIfUnhandledException();
+ }
+ /// <summary>Widgets can call this function during their <see cref="Efl.Canvas.Group.CalculateGroup"/> implementation after the super call to determine whether the internal scroller has performed sizing calculations.
+ /// The optimal_size,calc event will have been emitted during the super call if this method returns <c>true</c>.
+ ///
+ /// In the case that this returns <c>true</c>, it's likely that the widget should be completing its internal sizing calculations from the optimal_size,calc callback using
+ ///
+ /// `efl_canvas_group_calculate(efl_super(ev->object, EFL_UI_WIDGET_SCROLLABLE_CONTENT_MIXIN));`
+ ///
+ /// in order to skip the scrollable sizing calc.</summary>
+ /// <value>Whether the internal scroller has done sizing calcs.</value>
+ public bool ScrollableContentDidGroupCalc {
+ get { return GetScrollableContentDidGroupCalc(); }
+ }
+ /// <summary>This is the content which will be placed in the internal scroller.</summary>
+ /// <value>The content object.</value>
+ public Efl.Canvas.Object ScrollableContent {
+ get { return GetScrollableContent(); }
+ set { SetScrollableContent(value); }
+ }
+ /// <summary>Retrieves the text string currently being displayed by the given text object.
+ /// Do not free() the return value.
+ ///
+ /// See also <see cref="Efl.Ui.IWidgetScrollableContent.SetScrollableText"/>.</summary>
+ /// <value>Text string to display on it.</value>
+ public System.String ScrollableText {
+ get { return GetScrollableText(); }
+ set { SetScrollableText(value); }
+ }
+ private static IntPtr GetEflClassStatic()
+ {
+ return Efl.Ui.IWidgetScrollableContentConcrete.efl_ui_widget_scrollable_content_mixin_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>();
+ var methods = Efl.Eo.Globals.GetUserMethods(type);
+
+ if (efl_ui_widget_scrollable_content_did_group_calc_get_static_delegate == null)
+ {
+ efl_ui_widget_scrollable_content_did_group_calc_get_static_delegate = new efl_ui_widget_scrollable_content_did_group_calc_get_delegate(scrollable_content_did_group_calc_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetScrollableContentDidGroupCalc") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_widget_scrollable_content_did_group_calc_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_widget_scrollable_content_did_group_calc_get_static_delegate) });
+ }
+
+ if (efl_ui_widget_scrollable_content_get_static_delegate == null)
+ {
+ efl_ui_widget_scrollable_content_get_static_delegate = new efl_ui_widget_scrollable_content_get_delegate(scrollable_content_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetScrollableContent") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_widget_scrollable_content_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_widget_scrollable_content_get_static_delegate) });
+ }
+
+ if (efl_ui_widget_scrollable_content_set_static_delegate == null)
+ {
+ efl_ui_widget_scrollable_content_set_static_delegate = new efl_ui_widget_scrollable_content_set_delegate(scrollable_content_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetScrollableContent") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_widget_scrollable_content_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_widget_scrollable_content_set_static_delegate) });
+ }
+
+ if (efl_ui_widget_scrollable_text_get_static_delegate == null)
+ {
+ efl_ui_widget_scrollable_text_get_static_delegate = new efl_ui_widget_scrollable_text_get_delegate(scrollable_text_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetScrollableText") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_widget_scrollable_text_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_widget_scrollable_text_get_static_delegate) });
+ }
+
+ if (efl_ui_widget_scrollable_text_set_static_delegate == null)
+ {
+ efl_ui_widget_scrollable_text_set_static_delegate = new efl_ui_widget_scrollable_text_set_delegate(scrollable_text_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetScrollableText") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_widget_scrollable_text_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_widget_scrollable_text_set_static_delegate) });
+ }
+
+ 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.IWidgetScrollableContentConcrete.efl_ui_widget_scrollable_content_mixin_get();
+ }
+
+ #pragma warning disable CA1707, CS1591, SA1300, SA1600
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_ui_widget_scrollable_content_did_group_calc_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_ui_widget_scrollable_content_did_group_calc_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_widget_scrollable_content_did_group_calc_get_api_delegate> efl_ui_widget_scrollable_content_did_group_calc_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_widget_scrollable_content_did_group_calc_get_api_delegate>(Module, "efl_ui_widget_scrollable_content_did_group_calc_get");
+
+ private static bool scrollable_content_did_group_calc_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_widget_scrollable_content_did_group_calc_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((IWidgetScrollableContent)ws.Target).GetScrollableContentDidGroupCalc();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_widget_scrollable_content_did_group_calc_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_widget_scrollable_content_did_group_calc_get_delegate efl_ui_widget_scrollable_content_did_group_calc_get_static_delegate;
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ private delegate Efl.Canvas.Object efl_ui_widget_scrollable_content_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ public delegate Efl.Canvas.Object efl_ui_widget_scrollable_content_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_widget_scrollable_content_get_api_delegate> efl_ui_widget_scrollable_content_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_widget_scrollable_content_get_api_delegate>(Module, "efl_ui_widget_scrollable_content_get");
+
+ private static Efl.Canvas.Object scrollable_content_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_widget_scrollable_content_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.Canvas.Object _ret_var = default(Efl.Canvas.Object);
+ try
+ {
+ _ret_var = ((IWidgetScrollableContent)ws.Target).GetScrollableContent();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_widget_scrollable_content_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_widget_scrollable_content_get_delegate efl_ui_widget_scrollable_content_get_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_ui_widget_scrollable_content_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Object content);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_ui_widget_scrollable_content_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Object content);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_widget_scrollable_content_set_api_delegate> efl_ui_widget_scrollable_content_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_widget_scrollable_content_set_api_delegate>(Module, "efl_ui_widget_scrollable_content_set");
+
+ private static bool scrollable_content_set(System.IntPtr obj, System.IntPtr pd, Efl.Canvas.Object content)
+ {
+ Eina.Log.Debug("function efl_ui_widget_scrollable_content_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((IWidgetScrollableContent)ws.Target).SetScrollableContent(content);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_widget_scrollable_content_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), content);
+ }
+ }
+
+ private static efl_ui_widget_scrollable_content_set_delegate efl_ui_widget_scrollable_content_set_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
+ private delegate System.String efl_ui_widget_scrollable_text_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
+ public delegate System.String efl_ui_widget_scrollable_text_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_widget_scrollable_text_get_api_delegate> efl_ui_widget_scrollable_text_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_widget_scrollable_text_get_api_delegate>(Module, "efl_ui_widget_scrollable_text_get");
+
+ private static System.String scrollable_text_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_ui_widget_scrollable_text_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ System.String _ret_var = default(System.String);
+ try
+ {
+ _ret_var = ((IWidgetScrollableContent)ws.Target).GetScrollableText();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
+
+ }
+ else
+ {
+ return efl_ui_widget_scrollable_text_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_ui_widget_scrollable_text_get_delegate efl_ui_widget_scrollable_text_get_static_delegate;
+
+
+ private delegate void efl_ui_widget_scrollable_text_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String text);
+
+
+ public delegate void efl_ui_widget_scrollable_text_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String text);
+
+ public static Efl.Eo.FunctionWrapper<efl_ui_widget_scrollable_text_set_api_delegate> efl_ui_widget_scrollable_text_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_widget_scrollable_text_set_api_delegate>(Module, "efl_ui_widget_scrollable_text_set");
+
+ private static void scrollable_text_set(System.IntPtr obj, System.IntPtr pd, System.String text)
+ {
+ Eina.Log.Debug("function efl_ui_widget_scrollable_text_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((IWidgetScrollableContent)ws.Target).SetScrollableText(text);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_ui_widget_scrollable_text_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), text);
+ }
+ }
+
+ private static efl_ui_widget_scrollable_text_set_delegate efl_ui_widget_scrollable_text_set_static_delegate;
+
+ #pragma warning restore CA1707, CS1591, SA1300, SA1600
+
+}
+}
+}
+
+}
+
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiIWidgetScrollableContentConcrete_ExtensionMethods {
+
+ public static Efl.BindableProperty<Efl.Canvas.Object> ScrollableContent<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.IWidgetScrollableContent, T>magic = null) where T : Efl.Ui.IWidgetScrollableContent {
+ return new Efl.BindableProperty<Efl.Canvas.Object>("scrollable_content", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> ScrollableText<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.IWidgetScrollableContent, T>magic = null) where T : Efl.Ui.IWidgetScrollableContent {
+ return new Efl.BindableProperty<System.String>("scrollable_text", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.Win.FullscreenChangedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called when window is set to or from fullscreen</value>
public bool arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.Win.MaximizedChangedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called when window is set to or from maximized</value>
public bool arg { get; set; }
}
-///<summary>Event argument wrapper for event <see cref="Efl.Ui.Win.WinRotationChangedEvt"/>.</summary>
+/// <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>
+ /// <summary>Actual event payload.</summary>
+ /// <value>Called when window rotation is changed, sends current rotation in degrees</value>
public int arg { get; set; }
}
-/// <summary>Efl UI window class
+/// <summary>Efl UI window class.
/// (Since EFL 1.22)</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected Win(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event DeleteRequestEvt.</summary>
+ /// <summary>Method to raise event DeleteRequestEvt.</summary>
public void OnDeleteRequestEvt(EventArgs e)
{
var key = "_EFL_UI_WIN_EVENT_DELETE_REQUEST";
}
}
}
- ///<summary>Method to raise event WithdrawnEvt.</summary>
+ /// <summary>Method to raise event WithdrawnEvt.</summary>
public void OnWithdrawnEvt(EventArgs e)
{
var key = "_EFL_UI_WIN_EVENT_WITHDRAWN";
}
}
}
- ///<summary>Method to raise event MinimizedEvt.</summary>
+ /// <summary>Method to raise event MinimizedEvt.</summary>
public void OnMinimizedEvt(EventArgs e)
{
var key = "_EFL_UI_WIN_EVENT_MINIMIZED";
}
}
}
- ///<summary>Method to raise event NormalEvt.</summary>
+ /// <summary>Method to raise event NormalEvt.</summary>
public void OnNormalEvt(EventArgs e)
{
var key = "_EFL_UI_WIN_EVENT_NORMAL";
}
}
}
- ///<summary>Method to raise event StickEvt.</summary>
+ /// <summary>Method to raise event StickEvt.</summary>
public void OnStickEvt(EventArgs e)
{
var key = "_EFL_UI_WIN_EVENT_STICK";
}
}
}
- ///<summary>Method to raise event UnstickEvt.</summary>
+ /// <summary>Method to raise event UnstickEvt.</summary>
public void OnUnstickEvt(EventArgs e)
{
var key = "_EFL_UI_WIN_EVENT_UNSTICK";
}
/// <summary>Called when window is set to or from fullscreen
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.WinFullscreenChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.WinFullscreenChangedEvt_Args> FullscreenChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event FullscreenChangedEvt.</summary>
+ /// <summary>Method to raise event FullscreenChangedEvt.</summary>
public void OnFullscreenChangedEvt(Efl.Ui.WinFullscreenChangedEvt_Args e)
{
var key = "_EFL_UI_WIN_EVENT_FULLSCREEN_CHANGED";
}
/// <summary>Called when window is set to or from maximized
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.WinMaximizedChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.WinMaximizedChangedEvt_Args> MaximizedChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event MaximizedChangedEvt.</summary>
+ /// <summary>Method to raise event MaximizedChangedEvt.</summary>
public void OnMaximizedChangedEvt(Efl.Ui.WinMaximizedChangedEvt_Args e)
{
var key = "_EFL_UI_WIN_EVENT_MAXIMIZED_CHANGED";
}
}
}
- ///<summary>Method to raise event IndicatorPropChangedEvt.</summary>
+ /// <summary>Method to raise event IndicatorPropChangedEvt.</summary>
public void OnIndicatorPropChangedEvt(EventArgs e)
{
var key = "_EFL_UI_WIN_EVENT_INDICATOR_PROP_CHANGED";
}
/// <summary>Called when window rotation is changed, sends current rotation in degrees
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.WinWinRotationChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.WinWinRotationChangedEvt_Args> WinRotationChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event WinRotationChangedEvt.</summary>
+ /// <summary>Method to raise event WinRotationChangedEvt.</summary>
public void OnWinRotationChangedEvt(Efl.Ui.WinWinRotationChangedEvt_Args e)
{
var key = "_EFL_UI_WIN_EVENT_WIN_ROTATION_CHANGED";
}
}
}
- ///<summary>Method to raise event ProfileChangedEvt.</summary>
+ /// <summary>Method to raise event ProfileChangedEvt.</summary>
public void OnProfileChangedEvt(EventArgs e)
{
var key = "_EFL_UI_WIN_EVENT_PROFILE_CHANGED";
}
}
}
- ///<summary>Method to raise event WmRotationChangedEvt.</summary>
+ /// <summary>Method to raise event WmRotationChangedEvt.</summary>
public void OnWmRotationChangedEvt(EventArgs e)
{
var key = "_EFL_UI_WIN_EVENT_WM_ROTATION_CHANGED";
}
}
}
- ///<summary>Method to raise event ThemeChangedEvt.</summary>
+ /// <summary>Method to raise event ThemeChangedEvt.</summary>
public void OnThemeChangedEvt(EventArgs e)
{
var key = "_EFL_UI_WIN_EVENT_THEME_CHANGED";
}
}
}
- ///<summary>Method to raise event ElmActionBlockMenuEvt.</summary>
+ /// <summary>Method to raise event ElmActionBlockMenuEvt.</summary>
public void OnElmActionBlockMenuEvt(EventArgs e)
{
var key = "_EFL_UI_WIN_EVENT_ELM_ACTION_BLOCK_MENU";
}
}
}
- ///<summary>Method to raise event PauseEvt.</summary>
+ /// <summary>Method to raise event PauseEvt.</summary>
public void OnPauseEvt(EventArgs e)
{
var key = "_EFL_UI_WIN_EVENT_PAUSE";
}
}
}
- ///<summary>Method to raise event ResumeEvt.</summary>
+ /// <summary>Method to raise event ResumeEvt.</summary>
public void OnResumeEvt(EventArgs e)
{
var key = "_EFL_UI_WIN_EVENT_RESUME";
}
/// <summary>Sent after the content is set or unset using the current content object.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContentContentChangedEvt_Args"/></value>
public event EventHandler<Efl.IContentContentChangedEvt_Args> ContentChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentChangedEvt.</summary>
+ /// <summary>Method to raise event ContentChangedEvt.</summary>
public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e)
{
var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
}
}
}
- ///<summary>Method to raise event WindowCreatedEvt.</summary>
+ /// <summary>Method to raise event WindowCreatedEvt.</summary>
public void OnWindowCreatedEvt(EventArgs e)
{
var key = "_EFL_ACCESS_WINDOW_EVENT_WINDOW_CREATED";
}
}
}
- ///<summary>Method to raise event WindowDestroyedEvt.</summary>
+ /// <summary>Method to raise event WindowDestroyedEvt.</summary>
public void OnWindowDestroyedEvt(EventArgs e)
{
var key = "_EFL_ACCESS_WINDOW_EVENT_WINDOW_DESTROYED";
}
}
}
- ///<summary>Method to raise event WindowActivatedEvt.</summary>
+ /// <summary>Method to raise event WindowActivatedEvt.</summary>
public void OnWindowActivatedEvt(EventArgs e)
{
var key = "_EFL_ACCESS_WINDOW_EVENT_WINDOW_ACTIVATED";
}
}
}
- ///<summary>Method to raise event WindowDeactivatedEvt.</summary>
+ /// <summary>Method to raise event WindowDeactivatedEvt.</summary>
public void OnWindowDeactivatedEvt(EventArgs e)
{
var key = "_EFL_ACCESS_WINDOW_EVENT_WINDOW_DEACTIVATED";
}
}
}
- ///<summary>Method to raise event WindowMaximizedEvt.</summary>
+ /// <summary>Method to raise event WindowMaximizedEvt.</summary>
public void OnWindowMaximizedEvt(EventArgs e)
{
var key = "_EFL_ACCESS_WINDOW_EVENT_WINDOW_MAXIMIZED";
}
}
}
- ///<summary>Method to raise event WindowMinimizedEvt.</summary>
+ /// <summary>Method to raise event WindowMinimizedEvt.</summary>
public void OnWindowMinimizedEvt(EventArgs e)
{
var key = "_EFL_ACCESS_WINDOW_EVENT_WINDOW_MINIMIZED";
}
}
}
- ///<summary>Method to raise event WindowRestoredEvt.</summary>
+ /// <summary>Method to raise event WindowRestoredEvt.</summary>
public void OnWindowRestoredEvt(EventArgs e)
{
var key = "_EFL_ACCESS_WINDOW_EVENT_WINDOW_RESTORED";
}
}
}
- ///<summary>Method to raise event SceneFocusInEvt.</summary>
+ /// <summary>Method to raise event SceneFocusInEvt.</summary>
public void OnSceneFocusInEvt(EventArgs e)
{
var key = "_EFL_CANVAS_SCENE_EVENT_SCENE_FOCUS_IN";
}
}
}
- ///<summary>Method to raise event SceneFocusOutEvt.</summary>
+ /// <summary>Method to raise event SceneFocusOutEvt.</summary>
public void OnSceneFocusOutEvt(EventArgs e)
{
var key = "_EFL_CANVAS_SCENE_EVENT_SCENE_FOCUS_OUT";
}
/// <summary>Called when object got focus
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Canvas.ISceneObjectFocusInEvt_Args"/></value>
public event EventHandler<Efl.Canvas.ISceneObjectFocusInEvt_Args> ObjectFocusInEvt
{
add
}
}
}
- ///<summary>Method to raise event ObjectFocusInEvt.</summary>
+ /// <summary>Method to raise event ObjectFocusInEvt.</summary>
public void OnObjectFocusInEvt(Efl.Canvas.ISceneObjectFocusInEvt_Args e)
{
var key = "_EFL_CANVAS_SCENE_EVENT_OBJECT_FOCUS_IN";
}
/// <summary>Called when object lost focus
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Canvas.ISceneObjectFocusOutEvt_Args"/></value>
public event EventHandler<Efl.Canvas.ISceneObjectFocusOutEvt_Args> ObjectFocusOutEvt
{
add
}
}
}
- ///<summary>Method to raise event ObjectFocusOutEvt.</summary>
+ /// <summary>Method to raise event ObjectFocusOutEvt.</summary>
public void OnObjectFocusOutEvt(Efl.Canvas.ISceneObjectFocusOutEvt_Args e)
{
var key = "_EFL_CANVAS_SCENE_EVENT_OBJECT_FOCUS_OUT";
}
}
}
- ///<summary>Method to raise event RenderPreEvt.</summary>
+ /// <summary>Method to raise event RenderPreEvt.</summary>
public void OnRenderPreEvt(EventArgs e)
{
var key = "_EFL_CANVAS_SCENE_EVENT_RENDER_PRE";
}
/// <summary>Called when post render happens
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Canvas.ISceneRenderPostEvt_Args"/></value>
public event EventHandler<Efl.Canvas.ISceneRenderPostEvt_Args> RenderPostEvt
{
add
}
}
}
- ///<summary>Method to raise event RenderPostEvt.</summary>
+ /// <summary>Method to raise event RenderPostEvt.</summary>
public void OnRenderPostEvt(Efl.Canvas.ISceneRenderPostEvt_Args e)
{
var key = "_EFL_CANVAS_SCENE_EVENT_RENDER_POST";
}
/// <summary>Called when input device changed
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Canvas.ISceneDeviceChangedEvt_Args"/></value>
public event EventHandler<Efl.Canvas.ISceneDeviceChangedEvt_Args> DeviceChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event DeviceChangedEvt.</summary>
+ /// <summary>Method to raise event DeviceChangedEvt.</summary>
public void OnDeviceChangedEvt(Efl.Canvas.ISceneDeviceChangedEvt_Args e)
{
var key = "_EFL_CANVAS_SCENE_EVENT_DEVICE_CHANGED";
}
/// <summary>Called when input device was added
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Canvas.ISceneDeviceAddedEvt_Args"/></value>
public event EventHandler<Efl.Canvas.ISceneDeviceAddedEvt_Args> DeviceAddedEvt
{
add
}
}
}
- ///<summary>Method to raise event DeviceAddedEvt.</summary>
+ /// <summary>Method to raise event DeviceAddedEvt.</summary>
public void OnDeviceAddedEvt(Efl.Canvas.ISceneDeviceAddedEvt_Args e)
{
var key = "_EFL_CANVAS_SCENE_EVENT_DEVICE_ADDED";
}
/// <summary>Called when input device was removed
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Canvas.ISceneDeviceRemovedEvt_Args"/></value>
public event EventHandler<Efl.Canvas.ISceneDeviceRemovedEvt_Args> DeviceRemovedEvt
{
add
}
}
}
- ///<summary>Method to raise event DeviceRemovedEvt.</summary>
+ /// <summary>Method to raise event DeviceRemovedEvt.</summary>
public void OnDeviceRemovedEvt(Efl.Canvas.ISceneDeviceRemovedEvt_Args e)
{
var key = "_EFL_CANVAS_SCENE_EVENT_DEVICE_REMOVED";
}
/// <summary>Redirect object has changed, the old manager is passed as an event argument.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IManagerRedirectChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.Focus.IManagerRedirectChangedEvt_Args> RedirectChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event RedirectChangedEvt.</summary>
+ /// <summary>Method to raise event RedirectChangedEvt.</summary>
public void OnRedirectChangedEvt(Efl.Ui.Focus.IManagerRedirectChangedEvt_Args e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_REDIRECT_CHANGED";
}
}
}
- ///<summary>Method to raise event FlushPreEvt.</summary>
+ /// <summary>Method to raise event FlushPreEvt.</summary>
public void OnFlushPreEvt(EventArgs e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_FLUSH_PRE";
}
}
}
- ///<summary>Method to raise event CoordsDirtyEvt.</summary>
+ /// <summary>Method to raise event CoordsDirtyEvt.</summary>
public void OnCoordsDirtyEvt(EventArgs e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_COORDS_DIRTY";
}
/// <summary>The manager_focus property has changed. The previously focused object is passed as an event argument.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args> ManagerFocusChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event ManagerFocusChangedEvt.</summary>
+ /// <summary>Method to raise event ManagerFocusChangedEvt.</summary>
public void OnManagerFocusChangedEvt(Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_MANAGER_FOCUS_CHANGED";
}
/// <summary>Called when this focus manager is frozen or thawed, even_info being <c>true</c> indicates that it is now frozen, <c>false</c> indicates that it is thawed.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args"/></value>
public event EventHandler<Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args> DirtyLogicFreezeChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event DirtyLogicFreezeChangedEvt.</summary>
+ /// <summary>Method to raise event DirtyLogicFreezeChangedEvt.</summary>
public void OnDirtyLogicFreezeChangedEvt(Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args e)
{
var key = "_EFL_UI_FOCUS_MANAGER_EVENT_DIRTY_LOGIC_FREEZE_CHANGED";
return _ret_var;
}
/// <summary>Get a device by name.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <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) {
return _ret_var;
}
/// <summary>Get a seat by id.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <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) {
return _ret_var;
}
/// <summary>Get the default seat.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
}
/// <summary>This function returns the current known pointer coordinates
/// This function returns the current position of the main input pointer (mouse, pen, etc...).
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="seat">The seat, or <c>null</c> to use the default.</param>
/// <param name="pos">The pointer position in pixels.</param>
/// <returns><c>true</c> if a pointer exists for the given seat, otherwise <c>false</c>.</returns>
}
/// <summary>Iterate over the available input device seats for the canvas.
/// A "seat" is the term used for a group of input devices, typically including a pointer and a keyboard. A seat object is the parent of the individual input devices.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</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((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
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>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="mod">The modifier key to test.</param>
/// <param name="seat">The seat device, may be <c>null</c></param>
/// <returns><c>true</c> if the key modifier is pressed.</returns>
return _ret_var;
}
/// <summary>Indicates whether a key lock is on, such as NumLock, CapsLock, ...
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <param name="kw_lock">The lock key to test.</param>
/// <param name="seat">The seat device, may be <c>null</c></param>
/// <returns><c>true</c> if the key lock is on.</returns>
}
/// <summary>This will fetch the data from a registered node.
/// Be aware this function will trigger a computation of all dirty nodes.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <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) {
get { return GetKeyboardMode(); }
set { SetKeyboardMode(value); }
}
+ /// <summary>Defines which rotations this window supports.
+ /// The window manager will refer to these hints and rotate the window accordingly, depending on the device orientation, for instance.
+ /// (Since EFL 1.22)</summary>
+ /// <value>Normal orientation.</value>
+ public (bool, bool, bool, bool) WmAvailableRotations {
+ get {
+ bool _out_allow_0 = default(bool);
+ bool _out_allow_90 = default(bool);
+ bool _out_allow_180 = default(bool);
+ bool _out_allow_270 = default(bool);
+ GetWmAvailableRotations(out _out_allow_0,out _out_allow_90,out _out_allow_180,out _out_allow_270);
+ return (_out_allow_0,_out_allow_90,_out_allow_180,_out_allow_270);
+ }
+ set { SetWmAvailableRotations( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Available profiles on a window.
/// (Since EFL 1.22)</summary>
/// <value>A list of profiles.</value>
public int ScreenRotation {
get { return GetScreenRotation(); }
}
+ /// <summary>Get the pixel density in DPI (Dots Per Inch) for the screen that a window is on.
+ /// (Since EFL 1.22)</summary>
+ public (int, int) ScreenDpi {
+ get {
+ int _out_xdpi = default(int);
+ int _out_ydpi = default(int);
+ GetScreenDpi(out _out_xdpi,out _out_ydpi);
+ return (_out_xdpi,_out_ydpi);
+ }
+ }
+ /// <summary>Get the maximum image size the canvas can possibly handle.
+ /// This function returns the largest image or surface size that the canvas can handle in pixels, and if there is one, returns <c>true</c>. It returns <c>false</c> if no extra constraint on maximum image size exists.
+ ///
+ /// The default limit is 65535x65535.
+ /// (Since EFL 1.22)</summary>
+ /// <value><c>true</c> on success, <c>false</c> otherwise</value>
+ public Eina.Size2D ImageMaxSize {
+ get {
+ Eina.Size2D _out_max = default(Eina.Size2D);
+ GetImageMaxSize(out _out_max);
+ return (_out_max);
+ }
+ }
/// <summary>Get if the canvas is currently calculating group objects.
/// (Since EFL 1.22)</summary>
/// <value><c>true</c> if currently calculating group objects.</value>
/// A canvas may have exactly one default seat.
///
/// See also <see cref="Efl.Canvas.IScene.GetDevice"/> to find a seat by name. See also <see cref="Efl.Canvas.IScene.GetSeat"/> to find a seat by id.
- /// (Since EFL 1.22)</summary>
+ /// (Since EFL 1.22)
+ ///
+ /// <b>This is a BETA property</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
/// <value>The default seat or <c>null</c> if one does not exist.</value>
public Efl.Input.Device SeatDefault {
get { return GetSeatDefault(); }
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiWin_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Ui.WinIndicatorMode> IndicatorMode<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Win, T>magic = null) where T : Efl.Ui.Win {
+ return new Efl.BindableProperty<Efl.Ui.WinIndicatorMode>("indicator_mode", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Ui.WinKeyboardMode> KeyboardMode<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Win, T>magic = null) where T : Efl.Ui.Win {
+ return new Efl.BindableProperty<Efl.Ui.WinKeyboardMode>("keyboard_mode", fac);
+ }
+
+
+ public static Efl.BindableProperty<Eina.Array<System.String>> WmAvailableProfiles<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Win, T>magic = null) where T : Efl.Ui.Win {
+ return new Efl.BindableProperty<Eina.Array<System.String>>("wm_available_profiles", fac);
+ }
+
+ public static Efl.BindableProperty<bool> ScreenConstrain<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Win, T>magic = null) where T : Efl.Ui.Win {
+ return new Efl.BindableProperty<bool>("screen_constrain", fac);
+ }
+
+ public static Efl.BindableProperty<bool> PropFocusSkip<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Win, T>magic = null) where T : Efl.Ui.Win {
+ return new Efl.BindableProperty<bool>("prop_focus_skip", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Autohide<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Win, T>magic = null) where T : Efl.Ui.Win {
+ return new Efl.BindableProperty<bool>("autohide", fac);
+ }
+
+ public static Efl.BindableProperty<Eina.Value> ExitOnClose<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Win, T>magic = null) where T : Efl.Ui.Win {
+ return new Efl.BindableProperty<Eina.Value>("exit_on_close", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Canvas.Object> IconObject<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Win, T>magic = null) where T : Efl.Ui.Win {
+ return new Efl.BindableProperty<Efl.Canvas.Object>("icon_object", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Minimized<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Win, T>magic = null) where T : Efl.Ui.Win {
+ return new Efl.BindableProperty<bool>("minimized", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Maximized<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Win, T>magic = null) where T : Efl.Ui.Win {
+ return new Efl.BindableProperty<bool>("maximized", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Fullscreen<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Win, T>magic = null) where T : Efl.Ui.Win {
+ return new Efl.BindableProperty<bool>("fullscreen", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Sticky<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Win, T>magic = null) where T : Efl.Ui.Win {
+ return new Efl.BindableProperty<bool>("sticky", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Ui.WinUrgentMode> Urgent<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Win, T>magic = null) where T : Efl.Ui.Win {
+ return new Efl.BindableProperty<Efl.Ui.WinUrgentMode>("urgent", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Ui.WinModalMode> Modal<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Win, T>magic = null) where T : Efl.Ui.Win {
+ return new Efl.BindableProperty<Efl.Ui.WinModalMode>("modal", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Borderless<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Win, T>magic = null) where T : Efl.Ui.Win {
+ return new Efl.BindableProperty<bool>("borderless", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> WinRole<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Win, T>magic = null) where T : Efl.Ui.Win {
+ return new Efl.BindableProperty<System.String>("win_role", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> WinName<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Win, T>magic = null) where T : Efl.Ui.Win {
+ return new Efl.BindableProperty<System.String>("win_name", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Ui.WinType> WinType<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Win, T>magic = null) where T : Efl.Ui.Win {
+ return new Efl.BindableProperty<Efl.Ui.WinType>("win_type", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> AccelPreference<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Win, T>magic = null) where T : Efl.Ui.Win {
+ return new Efl.BindableProperty<System.String>("accel_preference", fac);
+ }
+
+ public static Efl.BindableProperty<bool> Alpha<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Win, T>magic = null) where T : Efl.Ui.Win {
+ return new Efl.BindableProperty<bool>("alpha", fac);
+ }
+
+
+ public static Efl.BindableProperty<System.String> StackMasterId<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Win, T>magic = null) where T : Efl.Ui.Win {
+ return new Efl.BindableProperty<System.String>("stack_master_id", fac);
+ }
+
+ public static Efl.BindableProperty<bool> StackBase<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Win, T>magic = null) where T : Efl.Ui.Win {
+ return new Efl.BindableProperty<bool>("stack_base", fac);
+ }
+
+ public static Efl.BindableProperty<Eina.Value> ExitOnAllWindowsClosed<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Win, T>magic = null) where T : Efl.Ui.Win {
+ return new Efl.BindableProperty<Eina.Value>("exit_on_all_windows_closed", fac);
+ }
+
+ public static Efl.BindableProperty<Eina.Size2D> HintBase<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Win, T>magic = null) where T : Efl.Ui.Win {
+ return new Efl.BindableProperty<Eina.Size2D>("hint_base", fac);
+ }
+
+ public static Efl.BindableProperty<Eina.Size2D> HintStep<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Win, T>magic = null) where T : Efl.Ui.Win {
+ return new Efl.BindableProperty<Eina.Size2D>("hint_step", fac);
+ }
+
+ public static Efl.BindableProperty<int> WinRotation<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Win, T>magic = null) where T : Efl.Ui.Win {
+ return new Efl.BindableProperty<int>("win_rotation", fac);
+ }
+
+ public static Efl.BindableProperty<bool> FocusHighlightEnabled<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Win, T>magic = null) where T : Efl.Ui.Win {
+ return new Efl.BindableProperty<bool>("focus_highlight_enabled", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> FocusHighlightStyle<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Win, T>magic = null) where T : Efl.Ui.Win {
+ return new Efl.BindableProperty<System.String>("focus_highlight_style", fac);
+ }
+
+ public static Efl.BindableProperty<bool> FocusHighlightAnimate<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Win, T>magic = null) where T : Efl.Ui.Win {
+ return new Efl.BindableProperty<bool>("focus_highlight_animate", fac);
+ }
+
+
+ public static Efl.BindableProperty<Efl.Gfx.IEntity> Content<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Win, T>magic = null) where T : Efl.Ui.Win {
+ return new Efl.BindableProperty<Efl.Gfx.IEntity>("content", fac);
+ }
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ public static Efl.BindableProperty<Efl.Ui.Focus.IObject> ManagerFocus<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Win, T>magic = null) where T : Efl.Ui.Win {
+ return new Efl.BindableProperty<Efl.Ui.Focus.IObject>("manager_focus", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Ui.Focus.IManager> Redirect<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Win, T>magic = null) where T : Efl.Ui.Win {
+ return new Efl.BindableProperty<Efl.Ui.Focus.IManager>("redirect", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<Efl.Ui.Focus.IObject> Root<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Win, T>magic = null) where T : Efl.Ui.Win {
+ return new Efl.BindableProperty<Efl.Ui.Focus.IObject>("root", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
namespace Efl {
namespace Ui {
-/// <summary>Defines the types of window that can be created
+/// <summary>Defines the types of window that can be created.
/// 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>
Desktop = 3,
/// <summary>The window is used as a dock or panel. Usually would be kept on top of any other window by the Window Manager.</summary>
Dock = 4,
-/// <summary>The window is used to hold a floating toolbar, or similar.</summary>
+/// <summary>The window is used to hold a floating toolbar or similar.</summary>
Toolbar = 5,
-/// <summary>Similar to @.toolbar.</summary>
+/// <summary>Similar to <see cref="Efl.Ui.WinType.Toolbar"/>.</summary>
Menu = 6,
/// <summary>A persistent utility window, like a toolbox or palette.</summary>
Utility = 7,
/// <summary>Splash window for a starting up application.</summary>
Splash = 8,
-/// <summary>The window is a dropdown menu, as when an entry in a menubar is clicked. This hint exists for completion only, as the EFL way of implementing a menu would not normally use a separate window for its contents.</summary>
+/// <summary>The window is a dropdown menu, as when an entry in a menu bar is clicked. This hint exists for completeness' sake, as the EFL way of implementing a menu would not normally use a separate window for its contents.</summary>
DropdownMenu = 9,
-/// <summary>Like @.dropdown_menu, but for the menu triggered by right-clicking an object.</summary>
+/// <summary>Like <see cref="Efl.Ui.WinType.DropdownMenu"/>, but for the menu triggered by right-clicking an object.</summary>
PopupMenu = 10,
-/// <summary>The window is a tooltip. A short piece of explanatory text that typically appear after the mouse cursor hovers over an object for a while. Typically not very commonly used in the EFL.</summary>
+/// <summary>The window is a tooltip. A short piece of explanatory text that typically appear after the mouse cursor hovers over an object for a while. Not commonly used in the EFL.</summary>
Tooltip = 11,
/// <summary>A notification window, like a warning about battery life or a new E-Mail received.</summary>
Notification = 12,
-/// <summary>A window holding the contents of a combo box. Not usually used in the EFL.</summary>
+/// <summary>A window holding the contents of a combo box. Not commonly used in the EFL.</summary>
Combo = 13,
/// <summary>Internal use.</summary>
Dnd = 14,
namespace Ui {
-/// <summary>Defines the type indicator that can be shown
+/// <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>
+/// <summary>Request to deactivate the indicator.</summary>
Off = 0,
-/// <summary>The indicator icon is opaque, as is the indicator background. The content of window is located at the end of the indicator. The area of indicator and window content are not overlapped</summary>
+/// <summary>The indicator icon is opaque, as is the indicator background. The content of window is located at the end of the indicator. The area of indicator and window content are not overlapped.</summary>
BgOpaque = 1,
/// <summary>Be translucent the indicator</summary>
Translucent = 2,
/// <summary>Transparentizes the indicator</summary>
Transparent = 3,
-/// <summary>The icon of indicator is opaque, but the background is transparent. The content of window is located under the indicator in Z-order. The area of indicator and window content are overlapped</summary>
+/// <summary>The icon of indicator is opaque, but the background is transparent. The content of window is located under the indicator in Z-order. The area of indicator and window content are overlapped.</summary>
BgTransparent = 4,
/// <summary>The indicator is hidden so user can see only the content of window such as in video mode. If user flicks the upper side of window, the indicator is shown temporarily.</summary>
Hidden = 5,
namespace Ui {
-/// <summary>Defines the mode of a modal window</summary>
+/// <summary>Defines the mode of a modal window.</summary>
[Efl.Eo.BindingEntity]
public enum WinModalMode
{
-/// <summary>The window is not modal window.</summary>
+/// <summary>The window is not a modal window.</summary>
None = 0,
-/// <summary>The window is modal window.</summary>
+/// <summary>The window is a modal window.</summary>
Modal = 1,
}
namespace Ui {
-/// <summary>Define the move or resize mode of window.
+/// <summary>Define the move or resize mode of a window.
/// The user can request the display server to start moving or resizing the window by combining these modes. However only limited combinations are allowed.
///
/// 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.
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.WinInlined.NativeMethods]
[Efl.Eo.BindingEntity]
public class WinInlined : Efl.Ui.Win
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected WinInlined(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiWinInlined_ExtensionMethods {
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Efl UI window interal part class</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[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>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected WinPart(ConstructingHandle ch) : base(ch)
{
/// <summary>Sent after the content is set or unset using the current content object.
/// (Since EFL 1.22)</summary>
+ /// <value><see cref="Efl.IContentContentChangedEvt_Args"/></value>
public event EventHandler<Efl.IContentContentChangedEvt_Args> ContentChangedEvt
{
add
}
}
}
- ///<summary>Method to raise event ContentChangedEvt.</summary>
+ /// <summary>Method to raise event ContentChangedEvt.</summary>
public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e)
{
var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
public bool Loaded {
get { return GetLoaded(); }
}
+ /// <summary>Retrieves the general/main color of the given Evas object.
+ /// Retrieves the main color's RGB component (and alpha channel) values, which range from 0 to 255. For the alpha channel, which defines the object's transparency level, 0 means totally transparent, while 255 means opaque. These color values are premultiplied by the alpha value.
+ ///
+ /// Usually youll use this attribute for text and rectangle objects, where the main color is their unique one. If set for objects which themselves have colors, like the images one, those colors get modulated by this one.
+ ///
+ /// All newly created Evas rectangles get the default color values of 255 255 255 255 (opaque white).
+ ///
+ /// Use null pointers on the components you're not interested in: they'll be ignored by the function.
+ /// (Since EFL 1.22)</summary>
+ public (int, int, int, int) Color {
+ get {
+ int _out_r = default(int);
+ int _out_g = default(int);
+ int _out_b = default(int);
+ int _out_a = default(int);
+ GetColor(out _out_r,out _out_g,out _out_b,out _out_a);
+ return (_out_r,_out_g,_out_b,_out_a);
+ }
+ set { SetColor( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
/// <summary>Get hex color code of given Evas object. This returns a short lived hex color code string.
/// (Since EFL 1.22)</summary>
/// <value>the hex color code.</value>
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiWinPart_ExtensionMethods {
+ public static Efl.BindableProperty<Efl.Gfx.IEntity> Content<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.WinPart, T>magic = null) where T : Efl.Ui.WinPart {
+ return new Efl.BindableProperty<Efl.Gfx.IEntity>("content", fac);
+ }
+
+ public static Efl.BindableProperty<Eina.File> Mmap<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.WinPart, T>magic = null) where T : Efl.Ui.WinPart {
+ return new Efl.BindableProperty<Eina.File>("mmap", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> File<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.WinPart, T>magic = null) where T : Efl.Ui.WinPart {
+ return new Efl.BindableProperty<System.String>("file", fac);
+ }
+
+ public static Efl.BindableProperty<System.String> Key<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.WinPart, T>magic = null) where T : Efl.Ui.WinPart {
+ return new Efl.BindableProperty<System.String>("key", fac);
+ }
+
+
+
+ public static Efl.BindableProperty<System.String> ColorCode<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.WinPart, T>magic = null) where T : Efl.Ui.WinPart {
+ return new Efl.BindableProperty<System.String>("color_code", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.WinSocket.NativeMethods]
[Efl.Eo.BindingEntity]
public class WinSocket : Efl.Ui.Win
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected WinSocket(ConstructingHandle ch) : base(ch)
{
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiWinSocket_ExtensionMethods {
+}
+#pragma warning restore CS1591
+#endif
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Ui {
/// <summary>Efl UI zoom interface</summary>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.Ui.IZoomConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IZoom :
/// <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>
/// <value>The paused state.</value>
bool ZoomAnimation {
- get ;
- set ;
+ get;
+ set;
}
/// <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>
/// <value>The zoom level to set</value>
double ZoomLevel {
- get ;
- set ;
+ get;
+ set;
}
/// <summary>Get the zoom mode
/// This gets the current zoom mode of the zoomable object.</summary>
/// <value>The zoom mode.</value>
Efl.Ui.ZoomMode ZoomMode {
- get ;
- set ;
+ get;
+ set;
}
}
/// <summary>Efl UI zoom interface</summary>
-sealed public class IZoomConcrete :
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+sealed public class IZoomConcrete :
Efl.Eo.EoWrapper
, IZoom
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
}
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
private IZoomConcrete(ConstructingHandle ch) : base(ch)
{
}
}
}
- ///<summary>Method to raise event ZoomStartEvt.</summary>
+ /// <summary>Method to raise event ZoomStartEvt.</summary>
public void OnZoomStartEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_ZOOM_START";
}
}
}
- ///<summary>Method to raise event ZoomStopEvt.</summary>
+ /// <summary>Method to raise event ZoomStopEvt.</summary>
public void OnZoomStopEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_ZOOM_STOP";
}
}
}
- ///<summary>Method to raise event ZoomChangeEvt.</summary>
+ /// <summary>Method to raise event ZoomChangeEvt.</summary>
public void OnZoomChangeEvt(EventArgs e)
{
var key = "_EFL_UI_EVENT_ZOOM_CHANGE";
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiIZoomConcrete_ExtensionMethods {
+ public static Efl.BindableProperty<bool> ZoomAnimation<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.IZoom, T>magic = null) where T : Efl.Ui.IZoom {
+ return new Efl.BindableProperty<bool>("zoom_animation", fac);
+ }
+
+ public static Efl.BindableProperty<double> ZoomLevel<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.IZoom, T>magic = null) where T : Efl.Ui.IZoom {
+ return new Efl.BindableProperty<double>("zoom_level", fac);
+ }
+
+ public static Efl.BindableProperty<Efl.Ui.ZoomMode> ZoomMode<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.IZoom, T>magic = null) where T : Efl.Ui.IZoom {
+ return new Efl.BindableProperty<Efl.Ui.ZoomMode>("zoom_mode", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
namespace Efl {
namespace Ui {
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
/// <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>
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
[Efl.ViewModel.NativeMethods]
[Efl.Eo.BindingEntity]
public class ViewModel : Efl.CompositeModel
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
FinishInstantiation();
}
- /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
/// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
protected ViewModel(ConstructingHandle ch) : base(ch)
{
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflViewModel_ExtensionMethods {
+ public static Efl.BindableProperty<bool> ChildrenBind<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ViewModel, T>magic = null) where T : Efl.ViewModel {
+ return new Efl.BindableProperty<bool>("children_bind", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif
return;
}
- if (OwnContent)
+ if (Own && OwnContent)
{
int len = (int)eina_array_count_custom_export_mono(h);
for (int i = 0; i < len; ++i)
return;
}
- if (OwnContent)
+ if (Own && OwnContent)
{
for (IntPtr curr = h; curr != IntPtr.Zero; curr = InternalNext(curr))
{
public int W;
/// <summary>Height of the rectangle in pixels.</summary>
public int H;
- ///<summary>Constructor for Rect.</summary>
+ /// <summary>Constructor for Rect.</summary>
+ /// <param name="X">X coordinate of the rectangle, from the top-left corner.</param>;
+ /// <param name="Y">Y coordinate of the rectangle, from the top-left corner.</param>;
+ /// <param name="W">Width of the rectangle in pixels.</param>;
+ /// <param name="H">Height of the rectangle in pixels.</param>;
public Rect(
int X = default(int),
int Y = default(int),
this.H = H;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 Rect(IntPtr ptr)
{
var tmp = (Rect.NativeStruct)Marshal.PtrToStructure(ptr, typeof(Rect.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct Rect.</summary>
+ /// <summary>Internal wrapper for struct Rect.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
public int W;
public int H;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator Rect.NativeStruct(Rect _external_struct)
{
var _internal_struct = new Rect.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator Rect(Rect.NativeStruct _internal_struct)
{
var _external_struct = new Rect();
public int X;
/// <summary>Y position in pixels, from the top-left corner.</summary>
public int Y;
- ///<summary>Constructor for Position2D.</summary>
+ /// <summary>Constructor for Position2D.</summary>
+ /// <param name="X">X position in pixels, from the top-left corner.</param>;
+ /// <param name="Y">Y position in pixels, from the top-left corner.</param>;
public Position2D(
int X = default(int),
int Y = default(int) )
this.Y = Y;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 Position2D(IntPtr ptr)
{
var tmp = (Position2D.NativeStruct)Marshal.PtrToStructure(ptr, typeof(Position2D.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct Position2D.</summary>
+ /// <summary>Internal wrapper for struct Position2D.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
public int X;
public int Y;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator Position2D.NativeStruct(Position2D _external_struct)
{
var _internal_struct = new Position2D.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator Position2D(Position2D.NativeStruct _internal_struct)
{
var _external_struct = new Position2D();
public int W;
/// <summary>Y position in pixels, from the top-left corner.</summary>
public int H;
- ///<summary>Constructor for Size2D.</summary>
+ /// <summary>Constructor for Size2D.</summary>
+ /// <param name="W">X position in pixels, from the top-left corner.</param>;
+ /// <param name="H">Y position in pixels, from the top-left corner.</param>;
public Size2D(
int W = default(int),
int H = default(int) )
this.H = H;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 Size2D(IntPtr ptr)
{
var tmp = (Size2D.NativeStruct)Marshal.PtrToStructure(ptr, typeof(Size2D.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct Size2D.</summary>
+ /// <summary>Internal wrapper for struct Size2D.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
public int W;
public int H;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator Size2D.NativeStruct(Size2D _external_struct)
{
var _internal_struct = new Size2D.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator Size2D(Size2D.NativeStruct _internal_struct)
{
var _external_struct = new Size2D();
[Efl.Eo.BindingEntity]
public struct File
{
- ///<summary>Placeholder field</summary>
+ /// <summary>Placeholder field</summary>
public IntPtr field;
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 File(IntPtr ptr)
{
var tmp = (File.NativeStruct)Marshal.PtrToStructure(ptr, typeof(File.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct File.</summary>
+ /// <summary>Internal wrapper for struct File.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
internal IntPtr field;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator File.NativeStruct(File _external_struct)
{
var _internal_struct = new File.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator File(File.NativeStruct _internal_struct)
{
var _external_struct = new File();
public double X;
/// <summary>Y coordinate.</summary>
public double Y;
- ///<summary>Constructor for Vector2.</summary>
+ /// <summary>Constructor for Vector2.</summary>
+ /// <param name="X">X coordinate.</param>;
+ /// <param name="Y">Y coordinate.</param>;
public Vector2(
double X = default(double),
double Y = default(double) )
this.Y = Y;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 Vector2(IntPtr ptr)
{
var tmp = (Vector2.NativeStruct)Marshal.PtrToStructure(ptr, typeof(Vector2.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct Vector2.</summary>
+ /// <summary>Internal wrapper for struct Vector2.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
public double X;
public double Y;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator Vector2.NativeStruct(Vector2 _external_struct)
{
var _internal_struct = new Vector2.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator Vector2(Vector2.NativeStruct _internal_struct)
{
var _external_struct = new Vector2();
public double Zy;
/// <summary>ZZ matrix value</summary>
public double Zz;
- ///<summary>Constructor for Matrix3.</summary>
+ /// <summary>Constructor for Matrix3.</summary>
+ /// <param name="Xx">XX matrix value</param>;
+ /// <param name="Xy">XY matrix value</param>;
+ /// <param name="Xz">XZ matrix value</param>;
+ /// <param name="Yx">YX matrix value</param>;
+ /// <param name="Yy">YY matrix value</param>;
+ /// <param name="Yz">YZ matrix value</param>;
+ /// <param name="Zx">ZX matrix value</param>;
+ /// <param name="Zy">ZY matrix value</param>;
+ /// <param name="Zz">ZZ matrix value</param>;
public Matrix3(
double Xx = default(double),
double Xy = default(double),
this.Zz = Zz;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 Matrix3(IntPtr ptr)
{
var tmp = (Matrix3.NativeStruct)Marshal.PtrToStructure(ptr, typeof(Matrix3.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct Matrix3.</summary>
+ /// <summary>Internal wrapper for struct Matrix3.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
public double Zy;
public double Zz;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator Matrix3.NativeStruct(Matrix3 _external_struct)
{
var _internal_struct = new Matrix3.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator Matrix3(Matrix3.NativeStruct _internal_struct)
{
var _external_struct = new Matrix3();
[Efl.Eo.BindingEntity]
public struct FileDirectInfo
{
- ///<summary>Placeholder field</summary>
+ /// <summary>Placeholder field</summary>
public IntPtr field;
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 FileDirectInfo(IntPtr ptr)
{
var tmp = (FileDirectInfo.NativeStruct)Marshal.PtrToStructure(ptr, typeof(FileDirectInfo.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct FileDirectInfo.</summary>
+ /// <summary>Internal wrapper for struct FileDirectInfo.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
internal IntPtr field;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator FileDirectInfo.NativeStruct(FileDirectInfo _external_struct)
{
var _internal_struct = new FileDirectInfo.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator FileDirectInfo(FileDirectInfo.NativeStruct _internal_struct)
{
var _external_struct = new FileDirectInfo();
public uint Ctime;
/// <summary>The nano version of the timestmap when the file was created</summary>
public uint Ctimensec;
- ///<summary>Constructor for Stat.</summary>
+ /// <summary>Constructor for Stat.</summary>
+ /// <param name="Dev">The device where this file is located</param>;
+ /// <param name="Ino">The inode</param>;
+ /// <param name="Mode">The mode</param>;
+ /// <param name="Nlink">The link number</param>;
+ /// <param name="Uid">The owner user id</param>;
+ /// <param name="Gid">The owner group id</param>;
+ /// <param name="Rdev">The remote device</param>;
+ /// <param name="Size">The file size in bytes</param>;
+ /// <param name="Blksize">The block size in bytes</param>;
+ /// <param name="Blocks">The number of blocks allocated</param>;
+ /// <param name="Atime">The tilestamp when the file was last accessed</param>;
+ /// <param name="Atimensec">The nano version of the timestmap when the file was last accessed</param>;
+ /// <param name="Mtime">The tilestamp when the file was modified</param>;
+ /// <param name="Mtimensec">The nano version of the timestmap when the file was modified</param>;
+ /// <param name="Ctime">The tilestamp when the file was created</param>;
+ /// <param name="Ctimensec">The nano version of the timestmap when the file was created</param>;
public Stat(
uint Dev = default(uint),
uint Ino = default(uint),
this.Ctimensec = Ctimensec;
}
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 Stat(IntPtr ptr)
{
var tmp = (Stat.NativeStruct)Marshal.PtrToStructure(ptr, typeof(Stat.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct Stat.</summary>
+ /// <summary>Internal wrapper for struct Stat.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
public uint Ctime;
public uint Ctimensec;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator Stat.NativeStruct(Stat _external_struct)
{
var _internal_struct = new Stat.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator Stat(Stat.NativeStruct _internal_struct)
{
var _external_struct = new Stat();
#define CODE_ANALYSIS
using System;
+using System.ComponentModel;
using System.Linq;
using System.Runtime.InteropServices;
using System.Collections.Generic;
internal static extern IntPtr type_array();
[DllImport(efl.Libs.CustomExports)]
internal static extern IntPtr type_list();
+ [DllImport(efl.Libs.CustomExports)]
+ internal static extern IntPtr type_hash();
// Optional
[DllImport(efl.Libs.CustomExports)]
}
}
+/// <summary>Boxing class for custom marshalling of ValueType enums.
+///
+/// <para>As custom marshalling of enums (and other value types) is not supported, use
+/// use this boxing class as an intermediate at the Marshalling API level (like in
+/// marshall_type_impl.hh in the generator). User-facing API still uses Eina.ValueType
+/// normally.</para>
+/// </summary>
+[EditorBrowsable(EditorBrowsableState.Never)]
+public class ValueTypeBox
+{
+ public ValueType _payload;
+
+ public ValueTypeBox(ValueType v)
+ {
+ _payload = v;
+ }
+
+ public static implicit operator ValueTypeBox(ValueType v)
+ {
+ return new ValueTypeBox(v);
+ }
+
+ public static implicit operator ValueType(ValueTypeBox box)
+ {
+ if (box == null)
+ {
+ return Eina.ValueType.Empty;
+ }
+
+ return box._payload;
+ }
+}
+
static class ValueTypeBridge
{
private static Dictionary<ValueType, IntPtr> ManagedToNative = new Dictionary<ValueType, IntPtr>();
ManagedToNative.Add(ValueType.List, type_list());
NativeToManaged.Add(type_list(), ValueType.List);
+ ManagedToNative.Add(ValueType.Hash, type_hash());
+ NativeToManaged.Add(type_hash(), ValueType.Hash);
+
ManagedToNative.Add(ValueType.Optional, type_optional());
NativeToManaged.Add(type_optional(), ValueType.Optional);
/// <summary> Custom marshaler to convert value pointers to managed values and back,
/// without changing ownership.</summary>
+[EditorBrowsable(EditorBrowsableState.Never)]
public class ValueMarshaler : ICustomMarshaler
{
/// <summary>Creates a managed value from a C pointer, whitout taking ownership of it.</summary>
static private ValueMarshalerOwn marshaler;
}
+/// <summary> Custom marshaler to convert value type pointers to managed boxed enum values
+/// and back.</summary>
+public class ValueTypeMarshaler : ICustomMarshaler
+{
+ /// <summary>Creates a boxed ValueType enum value from a C pointer.</summary>
+ public object MarshalNativeToManaged(IntPtr pNativeData)
+ {
+ var r = ValueTypeBridge.GetManaged(pNativeData);
+ return new ValueTypeBox(r);
+ }
+ public static Eina.ValueType vtype;
+
+ /// <summary>Retrieves the C pointer from a given boxed enum value type.</summary>
+ public IntPtr MarshalManagedToNative(object managedObj)
+ {
+ ValueTypeBox v = (ValueTypeBox)managedObj;
+ return ValueTypeBridge.GetNative(v);
+ }
+
+ public void CleanUpNativeData(IntPtr pNativeData)
+ {
+ }
+
+ public void CleanUpManagedData(object managedObj)
+ {
+ }
+
+ public int GetNativeDataSize()
+ {
+ return -1;
+ }
+
+ public static ICustomMarshaler GetInstance(string cookie)
+ {
+ if (marshaler == null)
+ {
+ marshaler = new ValueTypeMarshaler();
+ }
+
+ return marshaler;
+ }
+
+ static private ValueTypeMarshaler marshaler;
+}
+
}
[Efl.Eo.BindingEntity]
public struct ValidateContent
{
- ///<summary>Placeholder field</summary>
+ /// <summary>Placeholder field</summary>
public IntPtr field;
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 ValidateContent(IntPtr ptr)
{
var tmp = (ValidateContent.NativeStruct)Marshal.PtrToStructure(ptr, typeof(ValidateContent.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct ValidateContent.</summary>
+ /// <summary>Internal wrapper for struct ValidateContent.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
internal IntPtr field;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator ValidateContent.NativeStruct(ValidateContent _external_struct)
{
var _internal_struct = new ValidateContent.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator ValidateContent(ValidateContent.NativeStruct _internal_struct)
{
var _external_struct = new ValidateContent();
[Efl.Eo.BindingEntity]
public struct EntryAnchorInfo
{
- ///<summary>Placeholder field</summary>
+ /// <summary>Placeholder field</summary>
public IntPtr field;
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 EntryAnchorInfo(IntPtr ptr)
{
var tmp = (EntryAnchorInfo.NativeStruct)Marshal.PtrToStructure(ptr, typeof(EntryAnchorInfo.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct EntryAnchorInfo.</summary>
+ /// <summary>Internal wrapper for struct EntryAnchorInfo.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
internal IntPtr field;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator EntryAnchorInfo.NativeStruct(EntryAnchorInfo _external_struct)
{
var _internal_struct = new EntryAnchorInfo.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator EntryAnchorInfo(EntryAnchorInfo.NativeStruct _internal_struct)
{
var _external_struct = new EntryAnchorInfo();
[Efl.Eo.BindingEntity]
public struct EntryAnchorHoverInfo
{
- ///<summary>Placeholder field</summary>
+ /// <summary>Placeholder field</summary>
public IntPtr field;
- ///<summary>Implicit conversion to the managed representation from a native pointer.</summary>
- ///<param name="ptr">Native pointer to be converted.</param>
+ /// <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 EntryAnchorHoverInfo(IntPtr ptr)
{
var tmp = (EntryAnchorHoverInfo.NativeStruct)Marshal.PtrToStructure(ptr, typeof(EntryAnchorHoverInfo.NativeStruct));
#pragma warning disable CS1591
- ///<summary>Internal wrapper for struct EntryAnchorHoverInfo.</summary>
+ /// <summary>Internal wrapper for struct EntryAnchorHoverInfo.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
internal IntPtr field;
- ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
public static implicit operator EntryAnchorHoverInfo.NativeStruct(EntryAnchorHoverInfo _external_struct)
{
var _internal_struct = new EntryAnchorHoverInfo.NativeStruct();
return _internal_struct;
}
- ///<summary>Implicit conversion to the managed representation.</summary>
+ /// <summary>Implicit conversion to the managed representation.</summary>
public static implicit operator EntryAnchorHoverInfo(EntryAnchorHoverInfo.NativeStruct _internal_struct)
{
var _external_struct = new EntryAnchorHoverInfo();
+++ /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 Elm {
-
-/// <summary>Elm scrollable mixin</summary>
-[Elm.IInterfaceScrollableConcrete.NativeMethods]
-[Efl.Eo.BindingEntity]
-public interface IInterfaceScrollable :
- Efl.Ui.IScrollable ,
- Efl.Ui.IWidgetFocusManager ,
- Efl.Ui.Focus.IManagerSub ,
- Efl.Eo.IWrapper, IDisposable
-{
- /// <summary>Control scrolling gravity on the scrollable
-/// The gravity defines how the scroller will adjust its view when the size of the scroller contents increases.
-///
-/// The scroller will adjust the view to glue itself as follows.
-///
-/// x=0.0, for staying where it is relative to the left edge of the content x=1.0, for staying where it is relative to the right edge of the content y=0.0, for staying where it is relative to the top edge of the content y=1.0, for staying where it is relative to the bottom edge of the content
-///
-/// Default values for x and y are 0.0</summary>
-/// <param name="x">Horizontal scrolling gravity</param>
-/// <param name="y">Vertical scrolling gravity</param>
-void GetGravity(out double x, out double y);
- /// <summary>Control scrolling gravity on the scrollable
-/// The gravity defines how the scroller will adjust its view when the size of the scroller contents increases.
-///
-/// The scroller will adjust the view to glue itself as follows.
-///
-/// x=0.0, for staying where it is relative to the left edge of the content x=1.0, for staying where it is relative to the right edge of the content y=0.0, for staying where it is relative to the top edge of the content y=1.0, for staying where it is relative to the bottom edge of the content
-///
-/// Default values for x and y are 0.0</summary>
-/// <param name="x">Horizontal scrolling gravity</param>
-/// <param name="y">Vertical scrolling gravity</param>
-void SetGravity(double x, double y);
- /// <summary>Bouncing behavior
-/// When scrolling, the scroller may "bounce" when reaching an edge of the content object. This is a visual way to indicate the end has been reached. This is enabled by default for both axis. This API will set if it is enabled for the given axis with the boolean parameters for each axis.</summary>
-/// <param name="horiz">Horizontal bounce policy.</param>
-/// <param name="vert">Vertical bounce policy.</param>
-void GetBounceAllow(out bool horiz, out bool vert);
- /// <summary>Bouncing behavior
-/// When scrolling, the scroller may "bounce" when reaching an edge of the content object. This is a visual way to indicate the end has been reached. This is enabled by default for both axis. This API will set if it is enabled for the given axis with the boolean parameters for each axis.</summary>
-/// <param name="horiz">Horizontal bounce policy.</param>
-/// <param name="vert">Vertical bounce policy.</param>
-void SetBounceAllow(bool horiz, bool vert);
- /// <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>
-bool GetWheelDisabled();
- /// <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>
-void SetWheelDisabled(bool disabled);
- /// <summary>Blocking of scrolling (per axis)
-/// This function will block scrolling movement (by input of a user) in a given direction. One 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.
-///
-/// 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>
-Efl.Ui.ScrollBlock GetMovementBlock();
- /// <summary>Blocking of scrolling (per axis)
-/// This function will block scrolling movement (by input of a user) in a given direction. One 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.
-///
-/// 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>
-void SetMovementBlock(Efl.Ui.ScrollBlock block);
- /// <summary>Momentum animator</summary>
-/// <returns><c>true</c> if disabled, <c>false</c> otherwise</returns>
-bool GetMomentumAnimatorDisabled();
- /// <summary>Momentum animator</summary>
-/// <param name="disabled"><c>true</c> if disabled, <c>false</c> otherwise</param>
-void SetMomentumAnimatorDisabled(bool disabled);
- /// <summary>Scrollbar visibility policy
-/// #ELM_SCROLLER_POLICY_AUTO means the scrollbar is made visible if it is needed, and otherwise kept hidden. #ELM_SCROLLER_POLICY_ON turns it on all the time, and #ELM_SCROLLER_POLICY_OFF always keeps it off. This applies respectively for the horizontal and vertical scrollbars.</summary>
-/// <param name="hbar">Horizontal scrollbar policy</param>
-/// <param name="vbar">Vertical scrollbar policy</param>
-void GetPolicy(out Elm.Scroller.Policy hbar, out Elm.Scroller.Policy vbar);
- /// <summary>Scrollbar visibility policy
-/// #ELM_SCROLLER_POLICY_AUTO means the scrollbar is made visible if it is needed, and otherwise kept hidden. #ELM_SCROLLER_POLICY_ON turns it on all the time, and #ELM_SCROLLER_POLICY_OFF always keeps it off. This applies respectively for the horizontal and vertical scrollbars.</summary>
-/// <param name="hbar">Horizontal scrollbar policy</param>
-/// <param name="vbar">Vertical scrollbar policy</param>
-void SetPolicy(Elm.Scroller.Policy hbar, Elm.Scroller.Policy vbar);
- /// <summary>Currently visible content region
-/// This gets the current region in the content object that is visible through the scroller. The region co-ordinates are returned in the <c>x</c>, <c>y</c>, <c>w</c>, <c>h</c> values pointed to.
-///
-/// Note: All coordinates are relative to the content.
-///
-/// See: <see cref="Elm.IInterfaceScrollable.ShowContentRegion"/>.</summary>
-/// <param name="x">X coordinate of the region</param>
-/// <param name="y">Y coordinate of the region</param>
-/// <param name="w">Width of the region</param>
-/// <param name="h">Height of the region</param>
-void GetContentRegion(out int x, out int y, out int w, out int h);
- /// <summary>Currently visible content region
-/// This gets the current region in the content object that is visible through the scroller. The region co-ordinates are returned in the <c>x</c>, <c>y</c>, <c>w</c>, <c>h</c> values pointed to.
-///
-/// Note: All coordinates are relative to the content.
-///
-/// See: <see cref="Elm.IInterfaceScrollable.ShowContentRegion"/>.</summary>
-/// <param name="x">X coordinate of the region</param>
-/// <param name="y">Y coordinate of the region</param>
-/// <param name="w">Width of the region</param>
-/// <param name="h">Height of the region</param>
-void SetContentRegion(int x, int y, int w, int h);
- /// <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>
-bool GetContentEvents();
- /// <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>
-void SetContentEvents(bool repeat_events);
- /// <summary>Scroll page size relative to viewport size.
-/// The scroller is capable of limiting scrolling by the user to "pages". That is to jump by and only show a "whole page" at a time as if the continuous area of the scroller content is split into page sized pieces. This sets the size of a page relative to the viewport of the scroller. 1.0 is "1 viewport" is size (horizontally or vertically). 0.0 turns it off in that axis. This is mutually exclusive with page size (see <see cref="Elm.IInterfaceScrollable.GetPageSize"/> for more information). Likewise 0.5 is "half a viewport". Sane usable values are normally between 0.0 and 1.0 including 1.0. If you only want 1 axis to be page "limited", use 0.0 for the other axis.</summary>
-/// <param name="x">The horizontal page relative size</param>
-/// <param name="y">The vertical page relative size</param>
-void GetPageSize(out int x, out int y);
- /// <summary>Scroll page size relative to viewport size.
-/// The scroller is capable of limiting scrolling by the user to "pages". That is to jump by and only show a "whole page" at a time as if the continuous area of the scroller content is split into page sized pieces. This sets the size of a page relative to the viewport of the scroller. 1.0 is "1 viewport" is size (horizontally or vertically). 0.0 turns it off in that axis. This is mutually exclusive with page size (see <see cref="Elm.IInterfaceScrollable.GetPageSize"/> for more information). Likewise 0.5 is "half a viewport". Sane usable values are normally between 0.0 and 1.0 including 1.0. If you only want 1 axis to be page "limited", use 0.0 for the other axis.</summary>
-/// <param name="x">The horizontal page relative size</param>
-/// <param name="y">The vertical page relative size</param>
-void SetPageSize(int x, int y);
- /// <summary>Bounce animator</summary>
-/// <returns><c>true</c> if bounce animation is disabled, <c>false</c> otherwise</returns>
-bool GetBounceAnimatorDisabled();
- /// <summary>Bounce animator</summary>
-/// <param name="disabled"><c>true</c> if bounce animation is disabled, <c>false</c> otherwise</param>
-void SetBounceAnimatorDisabled(bool disabled);
- /// <summary>Page scroll limit</summary>
-/// <param name="page_limit_h">Page limit horizontal</param>
-/// <param name="page_limit_v">Page limit vertical</param>
-void GetPageScrollLimit(out int page_limit_h, out int page_limit_v);
- /// <summary>Page scroll limit</summary>
-/// <param name="page_limit_h">Page limit horizontal</param>
-/// <param name="page_limit_v">Page limit vertical</param>
-void SetPageScrollLimit(int page_limit_h, int page_limit_v);
- /// <summary>Page snapping behavior
-/// When scrolling, if a scroller is paged (see elm_scroller_page_size_set() and elm_scroller_page_relative_set()), the scroller may snap to pages when being scrolled, i.e., even if it had momentum to scroll further, it will stop at the next page boundaries. This is disabled, by default, for both axis. This function will set if it that is enabled or not, for each axis.
-///
-/// Note: If <c>obj</c> is not set to have pages, nothing will happen after this call.</summary>
-/// <param name="horiz">Allow snap horizontally</param>
-/// <param name="vert">Allow snap vertically</param>
-void GetPageSnapAllow(out bool horiz, out bool vert);
- /// <summary>Page snapping behavior
-/// When scrolling, if a scroller is paged (see elm_scroller_page_size_set() and elm_scroller_page_relative_set()), the scroller may snap to pages when being scrolled, i.e., even if it had momentum to scroll further, it will stop at the next page boundaries. This is disabled, by default, for both axis. This function will set if it that is enabled or not, for each axis.
-///
-/// Note: If <c>obj</c> is not set to have pages, nothing will happen after this call.</summary>
-/// <param name="horiz">Allow snap horizontally</param>
-/// <param name="vert">Allow snap vertically</param>
-void SetPageSnapAllow(bool horiz, bool vert);
- /// <summary>Pagin property</summary>
-/// <param name="pagerel_h">Page relation horizontal</param>
-/// <param name="pagerel_v">Page relation vertical</param>
-/// <param name="pagesize_h">Page size horizontal</param>
-/// <param name="pagesize_v">Page size vertical</param>
-void GetPaging(out double pagerel_h, out double pagerel_v, out int pagesize_h, out int pagesize_v);
- /// <summary>Pagin property</summary>
-/// <param name="pagerel_h">Page relation horizontal</param>
-/// <param name="pagerel_v">Page relation vertical</param>
-/// <param name="pagesize_h">Page size horizontal</param>
-/// <param name="pagesize_v">Page size vertical</param>
-void SetPaging(double pagerel_h, double pagerel_v, int pagesize_h, int pagesize_v);
- /// <summary>Single direction scroll configuration
-/// This makes it possible to restrict scrolling to a single direction, with a "soft" or "hard" behavior.
-///
-/// 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>
-Elm.Scroller.SingleDirection GetSingleDirection();
- /// <summary>Single direction scroll configuration
-/// This makes it possible to restrict scrolling to a single direction, with a "soft" or "hard" behavior.
-///
-/// 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>
-void SetSingleDirection(Elm.Scroller.SingleDirection single_dir);
- /// <summary>Step size</summary>
-/// <param name="x">X coordinate</param>
-/// <param name="y">Y coordinate</param>
-void GetStepSize(out int x, out int y);
- /// <summary>Step size</summary>
-/// <param name="x">X coordinate</param>
-/// <param name="y">Y coordinate</param>
-void SetStepSize(int x, int y);
- /// <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>
-void GetContentLoop(out bool loop_h, out bool loop_v);
- /// <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>
-void SetContentLoop(bool loop_h, bool loop_v);
- /// <summary>Set the callback to run when the content has been moved up.</summary>
-/// <param name="scroll_up_cb">The callback</param>
-void SetScrollUpCb(ElmInterfaceScrollableCb scroll_up_cb);
- /// <summary>Set the callback to run when the horizontal scrollbar is dragged.</summary>
-/// <param name="hbar_drag_cb">The callback</param>
-void SetHbarDragCb(ElmInterfaceScrollableCb hbar_drag_cb);
- /// <summary>Set the callback to run when dragging of the contents has started.</summary>
-/// <param name="drag_start_cb">The callback</param>
-void SetDragStartCb(ElmInterfaceScrollableCb drag_start_cb);
- /// <summary>Set the callback to run when scrolling of the contents has started.</summary>
-/// <param name="scroll_start_cb">The callback</param>
-void SetScrollStartCb(ElmInterfaceScrollableCb scroll_start_cb);
- /// <summary>Freeze property</summary>
-/// <param name="freeze"><c>true</c> if freeze, <c>false</c> otherwise</param>
-void SetFreeze(bool freeze);
- /// <summary>When the viewport is resized, the callback is called.</summary>
-/// <param name="viewport_resize_cb">The callback</param>
-void SetContentViewportResizeCb(ElmInterfaceScrollableResizeCb viewport_resize_cb);
- /// <summary>Set the callback to run when the content has been moved to the left</summary>
-/// <param name="scroll_left_cb">The callback</param>
-void SetScrollLeftCb(ElmInterfaceScrollableCb scroll_left_cb);
- /// <summary>Set the callback to run when the vertical scrollbar is pressed.</summary>
-/// <param name="vbar_press_cb">The callback</param>
-void SetVbarPressCb(ElmInterfaceScrollableCb vbar_press_cb);
- /// <summary>Set the callback to run when the horizontal scrollbar is pressed.</summary>
-/// <param name="hbar_press_cb">The callback</param>
-void SetHbarPressCb(ElmInterfaceScrollableCb hbar_press_cb);
- /// <summary>Set the callback to run when the horizontal scrollbar is unpressed.</summary>
-/// <param name="hbar_unpress_cb">The callback</param>
-void SetHbarUnpressCb(ElmInterfaceScrollableCb hbar_unpress_cb);
- /// <summary>Set the callback to run when dragging of the contents has stopped.</summary>
-/// <param name="drag_stop_cb">The callback</param>
-void SetDragStopCb(ElmInterfaceScrollableCb drag_stop_cb);
- /// <summary>Set the callback to run when scrolling of the contents has stopped.</summary>
-/// <param name="scroll_stop_cb">The callback</param>
-void SetScrollStopCb(ElmInterfaceScrollableCb scroll_stop_cb);
- /// <summary>Extern pan</summary>
-/// <param name="pan">Pan object</param>
-void SetExternPan(Efl.Canvas.Object pan);
- /// <summary>Set the callback to run when the visible page changes.</summary>
-/// <param name="page_change_cb">The callback</param>
-void SetPageChangeCb(ElmInterfaceScrollableCb page_change_cb);
- /// <summary>Hold property</summary>
-/// <param name="hold"><c>true</c> if hold, <c>false</c> otherwise</param>
-void SetHold(bool hold);
- /// <summary>Set the callback to run when the scrolling animation has started.</summary>
-/// <param name="animate_start_cb">The callback</param>
-void SetAnimateStartCb(ElmInterfaceScrollableCb animate_start_cb);
- /// <summary>Set the callback to run when the content has been moved down.</summary>
-/// <param name="scroll_down_cb">The callback</param>
-void SetScrollDownCb(ElmInterfaceScrollableCb scroll_down_cb);
- /// <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>
-void SetPageRelative(double h_pagerel, double v_pagerel);
- /// <summary>Set the callback to run when the content has been moved.</summary>
-/// <param name="scroll_cb">The callback</param>
-void SetScrollCb(ElmInterfaceScrollableCb scroll_cb);
- /// <summary>Set the callback to run when the scrolling animation has stopped.</summary>
-/// <param name="animate_stop_cb">The callback</param>
-void SetAnimateStopCb(ElmInterfaceScrollableCb animate_stop_cb);
- /// <summary>set the callback to run on minimal limit content</summary>
-/// <param name="min_limit_cb">The callback</param>
-void SetContentMinLimitCb(ElmInterfaceScrollableMinLimitCb min_limit_cb);
- /// <summary>Set the callback to run when the content has been moved to the right.</summary>
-/// <param name="scroll_right_cb">The callback</param>
-void SetScrollRightCb(ElmInterfaceScrollableCb scroll_right_cb);
- /// <summary>Content property</summary>
-/// <param name="content">Content object</param>
-void SetScrollableContent(Efl.Canvas.Object content);
- /// <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>
-void SetEdgeLeftCb(ElmInterfaceScrollableCb edge_left_cb);
- /// <summary>Set the callback to run when the horizontal scrollbar is dragged.</summary>
-/// <param name="vbar_drag_cb">The callback</param>
-void SetVbarDragCb(ElmInterfaceScrollableCb vbar_drag_cb);
- /// <summary>Set the callback to run when the horizontal scrollbar is unpressed.</summary>
-/// <param name="vbar_unpress_cb">The callback</param>
-void SetVbarUnpressCb(ElmInterfaceScrollableCb vbar_unpress_cb);
- /// <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>
-void SetEdgeBottomCb(ElmInterfaceScrollableCb edge_bottom_cb);
- /// <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>
-void SetEdgeRightCb(ElmInterfaceScrollableCb edge_right_cb);
- /// <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>
-void SetEdgeTopCb(ElmInterfaceScrollableCb edge_top_cb);
- /// <summary>Object property</summary>
-/// <param name="edje_object">Edje object</param>
-/// <param name="hit_rectangle">Evas object</param>
-void SetObjects(Efl.Canvas.Object edje_object, Efl.Canvas.Object hit_rectangle);
- /// <summary>Get scroll last page number.
-/// The page number starts from 0. 0 is the first page. This returns the last page number among the pages.
-///
-/// See: <see cref="Elm.IInterfaceScrollable.GetCurrentPage"/>, <see cref="Elm.IInterfaceScrollable.ShowPage"/> and <see cref="Elm.IInterfaceScrollable.PageBringIn"/>.</summary>
-/// <param name="pagenumber_h">The horizontal page number</param>
-/// <param name="pagenumber_v">The vertical page number</param>
-void GetLastPage(out int pagenumber_h, out int pagenumber_v);
- /// <summary>Get scroll current page number.
-/// The page number starts from 0. 0 is the first page. Current page means the page which meets the top-left of the viewport. If there are two or more pages in the viewport, it returns the number of the page which meets the top-left of the viewport.
-///
-/// See: <see cref="Elm.IInterfaceScrollable.GetLastPage"/>, <see cref="Elm.IInterfaceScrollable.ShowPage"/> and <see cref="Elm.IInterfaceScrollable.PageBringIn"/>.</summary>
-/// <param name="pagenumber_h">The horizontal page number</param>
-/// <param name="pagenumber_v">The vertical page number</param>
-void GetCurrentPage(out int pagenumber_h, out int pagenumber_v);
- /// <summary>Content viewport geometry</summary>
-/// <param name="x">X coordinate</param>
-/// <param name="y">Y coordinate</param>
-/// <param name="w">Width</param>
-/// <param name="h">Height</param>
-void GetContentViewportGeometry(out int x, out int y, out int w, out int h);
- /// <summary>Get the size of the content object
-/// This gets the size of the content object of the scroller.</summary>
-/// <param name="w">Width of the content object.</param>
-/// <param name="h">Height of the content object.</param>
-void GetContentSize(out int w, out int h);
- /// <summary>Whether scrolling should loop around.</summary>
-/// <returns>True to enable looping.</returns>
-bool GetItemLoopEnabled();
- /// <summary>Whether scrolling should loop around.</summary>
-/// <param name="enable">True to enable looping.</param>
-void SetItemLoopEnabled(bool enable);
- /// <summary>Set the content position</summary>
-/// <param name="x">X coordinate</param>
-/// <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>
-void SetContentPos(int x, int y, bool sig);
- /// <summary>Get content position</summary>
-/// <param name="x">X coordinate</param>
-/// <param name="y">Y coordinate</param>
-void GetContentPos(out int x, out int y);
- /// <summary>Show a specific virtual region within the scroller content object by page number.
-/// 0, 0 of the indicated page is located at the top-left of the viewport. This will jump to the page directly without animation.
-///
-/// See <see cref="Elm.IInterfaceScrollable.PageBringIn"/>.</summary>
-/// <param name="pagenumber_h">The horizontal page number</param>
-/// <param name="pagenumber_v">The vertical page number</param>
-void ShowPage(int pagenumber_h, int pagenumber_v);
- /// <summary>Show a specific virtual region within the scroller content object.
-/// This will ensure all (or part if it does not fit) of the designated region in the virtual content object (0, 0 starting at the top-left of the virtual content object) is shown within the scroller. Unlike elm_scroller_region_show(), this allows the scroller to "smoothly slide" to this location (if configuration in general calls for transitions). It may not jump immediately to the new location and make take a while and show other content along the way.
-///
-/// See <see cref="Elm.IInterfaceScrollable.ShowContentRegion"/></summary>
-/// <param name="x">X coordinate of the region</param>
-/// <param name="y">Y coordinate of the region</param>
-/// <param name="w">Width of the region</param>
-/// <param name="h">Height of the region</param>
-void RegionBringIn(int x, int y, int w, int h);
- /// <summary>Show a specific virtual region within the scroller content object by page number.
-/// 0, 0 of the indicated page is located at the top-left of the viewport. This will slide to the page with animation.
-///
-/// <see cref="Elm.IInterfaceScrollable.ShowPage"/></summary>
-/// <param name="pagenumber_h">The horizontal page number</param>
-/// <param name="pagenumber_v">The vertical page number</param>
-void PageBringIn(int pagenumber_h, int pagenumber_v);
- /// <summary>Show a specific virtual region within the scroller content object
-/// This will ensure all (or part if it does not fit) of the designated region in the virtual content object (0, 0 starting at the top-left of the virtual content object) is shown within the scroller.</summary>
-/// <param name="x">X coordinate of the region</param>
-/// <param name="y">Y coordinate of the region</param>
-/// <param name="w">Width of the region</param>
-/// <param name="h">Height of the region</param>
-void ShowContentRegion(int x, int y, int w, int h);
- /// <summary>Prevent the scrollable from being smaller than the minimum size of the content.
-/// By default the scroller will be as small as its design allows, irrespective of its content. This will make the scroller minimum size the right size horizontally and/or vertically to perfectly fit its content in that direction.</summary>
-/// <param name="w">Whether to limit the minimum horizontal size</param>
-/// <param name="h">Whether to limit the minimum vertical size</param>
-void ContentMinLimit(bool w, bool h);
- void SetWantedRegion(int x, int y);
- void CustomPanPosAdjust(int x, int y);
- /// <summary>Called when content changed</summary>
- event EventHandler ChangedEvt;
- /// <summary>Control Wheel disable Enable or disable mouse wheel to be used to scroll the scroller content. heel is enabled by default.</summary>
- /// <value><c>true</c> if wheel is disabled, <c>false</c> otherwise</value>
- bool WheelDisabled {
- get ;
- set ;
- }
- /// <summary>Blocking of scrolling (per axis)
- /// This function will block scrolling movement (by input of a user) in a given direction. One 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.
- ///
- /// 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>
- /// <value>Which axis (or axes) to block</value>
- Efl.Ui.ScrollBlock MovementBlock {
- get ;
- set ;
- }
- /// <summary>Momentum animator</summary>
- /// <value><c>true</c> if disabled, <c>false</c> otherwise</value>
- bool MomentumAnimatorDisabled {
- get ;
- set ;
- }
- /// <summary>It decides whether the scrollable object propagates the events to content object or not.</summary>
- /// <value><c>true</c> if events are propagated, <c>false</c> otherwise</value>
- bool ContentEvents {
- get ;
- set ;
- }
- /// <summary>Bounce animator</summary>
- /// <value><c>true</c> if bounce animation is disabled, <c>false</c> otherwise</value>
- bool BounceAnimatorDisabled {
- get ;
- set ;
- }
- /// <summary>Single direction scroll configuration
- /// This makes it possible to restrict scrolling to a single direction, with a "soft" or "hard" behavior.
- ///
- /// 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>
- /// <value>The single direction scroll policy</value>
- Elm.Scroller.SingleDirection SingleDirection {
- get ;
- set ;
- }
- /// <summary>Set the callback to run when the content has been moved up.</summary>
- /// <value>The callback</value>
- ElmInterfaceScrollableCb ScrollUpCb {
- set ;
- }
- /// <summary>Set the callback to run when the horizontal scrollbar is dragged.</summary>
- /// <value>The callback</value>
- ElmInterfaceScrollableCb HbarDragCb {
- set ;
- }
- /// <summary>Set the callback to run when dragging of the contents has started.</summary>
- /// <value>The callback</value>
- ElmInterfaceScrollableCb DragStartCb {
- set ;
- }
- /// <summary>Set the callback to run when scrolling of the contents has started.</summary>
- /// <value>The callback</value>
- ElmInterfaceScrollableCb ScrollStartCb {
- set ;
- }
- /// <summary>Freeze property</summary>
- /// <value><c>true</c> if freeze, <c>false</c> otherwise</value>
- bool Freeze {
- set ;
- }
- /// <summary>When the viewport is resized, the callback is called.</summary>
- /// <value>The callback</value>
- ElmInterfaceScrollableResizeCb ContentViewportResizeCb {
- set ;
- }
- /// <summary>Set the callback to run when the content has been moved to the left</summary>
- /// <value>The callback</value>
- ElmInterfaceScrollableCb ScrollLeftCb {
- set ;
- }
- /// <summary>Set the callback to run when the vertical scrollbar is pressed.</summary>
- /// <value>The callback</value>
- ElmInterfaceScrollableCb VbarPressCb {
- set ;
- }
- /// <summary>Set the callback to run when the horizontal scrollbar is pressed.</summary>
- /// <value>The callback</value>
- ElmInterfaceScrollableCb HbarPressCb {
- set ;
- }
- /// <summary>Set the callback to run when the horizontal scrollbar is unpressed.</summary>
- /// <value>The callback</value>
- ElmInterfaceScrollableCb HbarUnpressCb {
- set ;
- }
- /// <summary>Set the callback to run when dragging of the contents has stopped.</summary>
- /// <value>The callback</value>
- ElmInterfaceScrollableCb DragStopCb {
- set ;
- }
- /// <summary>Set the callback to run when scrolling of the contents has stopped.</summary>
- /// <value>The callback</value>
- ElmInterfaceScrollableCb ScrollStopCb {
- set ;
- }
- /// <summary>Extern pan</summary>
- /// <value>Pan object</value>
- Efl.Canvas.Object ExternPan {
- set ;
- }
- /// <summary>Set the callback to run when the visible page changes.</summary>
- /// <value>The callback</value>
- ElmInterfaceScrollableCb PageChangeCb {
- set ;
- }
- /// <summary>Hold property</summary>
- /// <value><c>true</c> if hold, <c>false</c> otherwise</value>
- bool Hold {
- set ;
- }
- /// <summary>Set the callback to run when the scrolling animation has started.</summary>
- /// <value>The callback</value>
- ElmInterfaceScrollableCb AnimateStartCb {
- set ;
- }
- /// <summary>Set the callback to run when the content has been moved down.</summary>
- /// <value>The callback</value>
- ElmInterfaceScrollableCb ScrollDownCb {
- set ;
- }
- /// <summary>Set the callback to run when the content has been moved.</summary>
- /// <value>The callback</value>
- ElmInterfaceScrollableCb ScrollCb {
- set ;
- }
- /// <summary>Set the callback to run when the scrolling animation has stopped.</summary>
- /// <value>The callback</value>
- ElmInterfaceScrollableCb AnimateStopCb {
- set ;
- }
- /// <summary>set the callback to run on minimal limit content</summary>
- /// <value>The callback</value>
- ElmInterfaceScrollableMinLimitCb ContentMinLimitCb {
- set ;
- }
- /// <summary>Set the callback to run when the content has been moved to the right.</summary>
- /// <value>The callback</value>
- ElmInterfaceScrollableCb ScrollRightCb {
- set ;
- }
- /// <summary>Content property</summary>
- /// <value>Content object</value>
- Efl.Canvas.Object ScrollableContent {
- set ;
- }
- /// <summary>Set the callback to run when the left edge of the content has been reached.</summary>
- /// <value>The callback</value>
- ElmInterfaceScrollableCb EdgeLeftCb {
- set ;
- }
- /// <summary>Set the callback to run when the horizontal scrollbar is dragged.</summary>
- /// <value>The callback</value>
- ElmInterfaceScrollableCb VbarDragCb {
- set ;
- }
- /// <summary>Set the callback to run when the horizontal scrollbar is unpressed.</summary>
- /// <value>The callback</value>
- ElmInterfaceScrollableCb VbarUnpressCb {
- set ;
- }
- /// <summary>Set the callback to run when the bottom edge of the content has been reached.</summary>
- /// <value>The callback</value>
- ElmInterfaceScrollableCb EdgeBottomCb {
- set ;
- }
- /// <summary>Set the callback to run when the right edge of the content has been reached.</summary>
- /// <value>The callback</value>
- ElmInterfaceScrollableCb EdgeRightCb {
- set ;
- }
- /// <summary>Set the callback to run when the top edge of the content has been reached.</summary>
- /// <value>The callback</value>
- ElmInterfaceScrollableCb EdgeTopCb {
- set ;
- }
- /// <summary>Whether scrolling should loop around.</summary>
- /// <value>True to enable looping.</value>
- bool ItemLoopEnabled {
- get ;
- set ;
- }
-}
-/// <summary>Elm scrollable mixin</summary>
-sealed public class IInterfaceScrollableConcrete :
- Efl.Eo.EoWrapper
- , IInterfaceScrollable
- , Efl.Ui.IScrollable, Efl.Ui.IWidgetFocusManager, Efl.Ui.Focus.IManager, Efl.Ui.Focus.IManagerSub
-{
- ///<summary>Pointer to the native class description.</summary>
- public override System.IntPtr NativeClass
- {
- get
- {
- if (((object)this).GetType() == typeof(IInterfaceScrollableConcrete))
- {
- return GetEflClassStatic();
- }
- else
- {
- return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
- }
- }
- }
-
- /// <summary>Constructor to be used when objects 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>
- /// <param name="wh">The native pointer to be wrapped.</param>
- private IInterfaceScrollableConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
- {
- }
-
- /// <summary>Called when content changed</summary>
- public event EventHandler ChangedEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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 = "_ELM_INTERFACE_SCROLLABLE_EVENT_CHANGED";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_ELM_INTERFACE_SCROLLABLE_EVENT_CHANGED";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ChangedEvt.</summary>
- public void OnChangedEvt(EventArgs e)
- {
- var key = "_ELM_INTERFACE_SCROLLABLE_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>Called when scroll operation starts</summary>
- public event EventHandler ScrollStartEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SCROLL_START";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SCROLL_START";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ScrollStartEvt.</summary>
- public void OnScrollStartEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SCROLL_START";
- 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>Called when scrolling</summary>
- public event EventHandler ScrollEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SCROLL";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SCROLL";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ScrollEvt.</summary>
- public void OnScrollEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SCROLL";
- 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>Called when scroll operation stops</summary>
- public event EventHandler ScrollStopEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SCROLL_STOP";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SCROLL_STOP";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ScrollStopEvt.</summary>
- public void OnScrollStopEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SCROLL_STOP";
- 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>Called when scrolling upwards</summary>
- public event EventHandler ScrollUpEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SCROLL_UP";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SCROLL_UP";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ScrollUpEvt.</summary>
- public void OnScrollUpEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SCROLL_UP";
- 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>Called when scrolling downwards</summary>
- public event EventHandler ScrollDownEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SCROLL_DOWN";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SCROLL_DOWN";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ScrollDownEvt.</summary>
- public void OnScrollDownEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SCROLL_DOWN";
- 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>Called when scrolling left</summary>
- public event EventHandler ScrollLeftEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SCROLL_LEFT";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SCROLL_LEFT";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ScrollLeftEvt.</summary>
- public void OnScrollLeftEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SCROLL_LEFT";
- 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>Called when scrolling right</summary>
- public event EventHandler ScrollRightEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SCROLL_RIGHT";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SCROLL_RIGHT";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ScrollRightEvt.</summary>
- public void OnScrollRightEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SCROLL_RIGHT";
- 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>Called when hitting the top edge</summary>
- public event EventHandler EdgeUpEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_EDGE_UP";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_EDGE_UP";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event EdgeUpEvt.</summary>
- public void OnEdgeUpEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_EDGE_UP";
- 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>Called when hitting the bottom edge</summary>
- public event EventHandler EdgeDownEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_EDGE_DOWN";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_EDGE_DOWN";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event EdgeDownEvt.</summary>
- public void OnEdgeDownEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_EDGE_DOWN";
- 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>Called when hitting the left edge</summary>
- public event EventHandler EdgeLeftEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_EDGE_LEFT";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_EDGE_LEFT";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event EdgeLeftEvt.</summary>
- public void OnEdgeLeftEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_EDGE_LEFT";
- 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>Called when hitting the right edge</summary>
- public event EventHandler EdgeRightEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_EDGE_RIGHT";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_EDGE_RIGHT";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event EdgeRightEvt.</summary>
- public void OnEdgeRightEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_EDGE_RIGHT";
- 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>Called when scroll animation starts</summary>
- public event EventHandler ScrollAnimStartEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SCROLL_ANIM_START";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SCROLL_ANIM_START";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ScrollAnimStartEvt.</summary>
- public void OnScrollAnimStartEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SCROLL_ANIM_START";
- 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>Called when scroll animation stopps</summary>
- public event EventHandler ScrollAnimStopEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SCROLL_ANIM_STOP";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ScrollAnimStopEvt.</summary>
- public void OnScrollAnimStopEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP";
- 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>Called when scroll drag starts</summary>
- public event EventHandler ScrollDragStartEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SCROLL_DRAG_START";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SCROLL_DRAG_START";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ScrollDragStartEvt.</summary>
- public void OnScrollDragStartEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SCROLL_DRAG_START";
- 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>Called when scroll drag stops</summary>
- public event EventHandler ScrollDragStopEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_EVENT_SCROLL_DRAG_STOP";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ScrollDragStopEvt.</summary>
- public void OnScrollDragStopEvt(EventArgs e)
- {
- var key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP";
- 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>Redirect object has changed, the old manager is passed as an event argument.
- /// (Since EFL 1.22)</summary>
- public event EventHandler<Efl.Ui.Focus.IManagerRedirectChangedEvt_Args> RedirectChangedEvt
- {
- 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.Focus.IManagerRedirectChangedEvt_Args args = new Efl.Ui.Focus.IManagerRedirectChangedEvt_Args();
- args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Ui.Focus.IManagerConcrete);
- try
- {
- value?.Invoke(obj, args);
- }
- catch (Exception e)
- {
- Eina.Log.Error(e.ToString());
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
- }
- };
-
- string key = "_EFL_UI_FOCUS_MANAGER_EVENT_REDIRECT_CHANGED";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_FOCUS_MANAGER_EVENT_REDIRECT_CHANGED";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event RedirectChangedEvt.</summary>
- public void OnRedirectChangedEvt(Efl.Ui.Focus.IManagerRedirectChangedEvt_Args e)
- {
- var key = "_EFL_UI_FOCUS_MANAGER_EVENT_REDIRECT_CHANGED";
- 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 = e.arg.NativeHandle;
- Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
- }
- /// <summary>After this event, the manager object will calculate relations in the graph. Can be used to add / remove children in a lazy fashion.
- /// (Since EFL 1.22)</summary>
- public event EventHandler FlushPreEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_FOCUS_MANAGER_EVENT_FLUSH_PRE";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_FOCUS_MANAGER_EVENT_FLUSH_PRE";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event FlushPreEvt.</summary>
- public void OnFlushPreEvt(EventArgs e)
- {
- var key = "_EFL_UI_FOCUS_MANAGER_EVENT_FLUSH_PRE";
- 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>Cached relationship calculation results have been invalidated.
- /// (Since EFL 1.22)</summary>
- public event EventHandler CoordsDirtyEvt
- {
- add
- {
- lock (eflBindingEventLock)
- {
- 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_FOCUS_MANAGER_EVENT_COORDS_DIRTY";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_FOCUS_MANAGER_EVENT_COORDS_DIRTY";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event CoordsDirtyEvt.</summary>
- public void OnCoordsDirtyEvt(EventArgs e)
- {
- var key = "_EFL_UI_FOCUS_MANAGER_EVENT_COORDS_DIRTY";
- 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>The manager_focus property has changed. The previously focused object is passed as an event argument.
- /// (Since EFL 1.22)</summary>
- public event EventHandler<Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args> ManagerFocusChangedEvt
- {
- 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.Focus.IManagerManagerFocusChangedEvt_Args args = new Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args();
- args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Ui.Focus.IObjectConcrete);
- try
- {
- value?.Invoke(obj, args);
- }
- catch (Exception e)
- {
- Eina.Log.Error(e.ToString());
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
- }
- };
-
- string key = "_EFL_UI_FOCUS_MANAGER_EVENT_MANAGER_FOCUS_CHANGED";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_FOCUS_MANAGER_EVENT_MANAGER_FOCUS_CHANGED";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event ManagerFocusChangedEvt.</summary>
- public void OnManagerFocusChangedEvt(Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args e)
- {
- var key = "_EFL_UI_FOCUS_MANAGER_EVENT_MANAGER_FOCUS_CHANGED";
- 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 = e.arg.NativeHandle;
- Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
- }
- /// <summary>Called when this focus manager is frozen or thawed, even_info being <c>true</c> indicates that it is now frozen, <c>false</c> indicates that it is thawed.
- /// (Since EFL 1.22)</summary>
- public event EventHandler<Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args> DirtyLogicFreezeChangedEvt
- {
- 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.Focus.IManagerDirtyLogicFreezeChangedEvt_Args args = new Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args();
- args.arg = Marshal.ReadByte(evt.Info) != 0;
- try
- {
- value?.Invoke(obj, args);
- }
- catch (Exception e)
- {
- Eina.Log.Error(e.ToString());
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
- }
- };
-
- string key = "_EFL_UI_FOCUS_MANAGER_EVENT_DIRTY_LOGIC_FREEZE_CHANGED";
- AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
- }
- }
-
- remove
- {
- lock (eflBindingEventLock)
- {
- string key = "_EFL_UI_FOCUS_MANAGER_EVENT_DIRTY_LOGIC_FREEZE_CHANGED";
- RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
- }
- }
- }
- ///<summary>Method to raise event DirtyLogicFreezeChangedEvt.</summary>
- public void OnDirtyLogicFreezeChangedEvt(Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args e)
- {
- var key = "_EFL_UI_FOCUS_MANAGER_EVENT_DIRTY_LOGIC_FREEZE_CHANGED";
- 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 ? (byte) 1 : (byte) 0);
- try
- {
- Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
- }
- finally
- {
- Marshal.FreeHGlobal(info);
- }
- }
- /// <summary>Control scrolling gravity on the scrollable
- /// The gravity defines how the scroller will adjust its view when the size of the scroller contents increases.
- ///
- /// The scroller will adjust the view to glue itself as follows.
- ///
- /// x=0.0, for staying where it is relative to the left edge of the content x=1.0, for staying where it is relative to the right edge of the content y=0.0, for staying where it is relative to the top edge of the content y=1.0, for staying where it is relative to the bottom edge of the content
- ///
- /// Default values for x and y are 0.0</summary>
- /// <param name="x">Horizontal scrolling gravity</param>
- /// <param name="y">Vertical scrolling gravity</param>
- public void GetGravity(out double x, out double y) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_gravity_get_ptr.Value.Delegate(this.NativeHandle,out x, out y);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Control scrolling gravity on the scrollable
- /// The gravity defines how the scroller will adjust its view when the size of the scroller contents increases.
- ///
- /// The scroller will adjust the view to glue itself as follows.
- ///
- /// x=0.0, for staying where it is relative to the left edge of the content x=1.0, for staying where it is relative to the right edge of the content y=0.0, for staying where it is relative to the top edge of the content y=1.0, for staying where it is relative to the bottom edge of the content
- ///
- /// Default values for x and y are 0.0</summary>
- /// <param name="x">Horizontal scrolling gravity</param>
- /// <param name="y">Vertical scrolling gravity</param>
- public void SetGravity(double x, double y) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_gravity_set_ptr.Value.Delegate(this.NativeHandle,x, y);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Bouncing behavior
- /// When scrolling, the scroller may "bounce" when reaching an edge of the content object. This is a visual way to indicate the end has been reached. This is enabled by default for both axis. This API will set if it is enabled for the given axis with the boolean parameters for each axis.</summary>
- /// <param name="horiz">Horizontal bounce policy.</param>
- /// <param name="vert">Vertical bounce policy.</param>
- public void GetBounceAllow(out bool horiz, out bool vert) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_bounce_allow_get_ptr.Value.Delegate(this.NativeHandle,out horiz, out vert);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Bouncing behavior
- /// When scrolling, the scroller may "bounce" when reaching an edge of the content object. This is a visual way to indicate the end has been reached. This is enabled by default for both axis. This API will set if it is enabled for the given axis with the boolean parameters for each axis.</summary>
- /// <param name="horiz">Horizontal bounce policy.</param>
- /// <param name="vert">Vertical bounce policy.</param>
- public void SetBounceAllow(bool horiz, bool vert) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_bounce_allow_set_ptr.Value.Delegate(this.NativeHandle,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>
- public bool GetWheelDisabled() {
- var _ret_var = Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_wheel_disabled_get_ptr.Value.Delegate(this.NativeHandle);
- 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>
- public void SetWheelDisabled(bool disabled) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_wheel_disabled_set_ptr.Value.Delegate(this.NativeHandle,disabled);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Blocking of scrolling (per axis)
- /// This function will block scrolling movement (by input of a user) in a given direction. One 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.
- ///
- /// 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>
- public Efl.Ui.ScrollBlock GetMovementBlock() {
- var _ret_var = Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_movement_block_get_ptr.Value.Delegate(this.NativeHandle);
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Blocking of scrolling (per axis)
- /// This function will block scrolling movement (by input of a user) in a given direction. One 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.
- ///
- /// 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>
- public void SetMovementBlock(Efl.Ui.ScrollBlock block) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_movement_block_set_ptr.Value.Delegate(this.NativeHandle,block);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Momentum animator</summary>
- /// <returns><c>true</c> if disabled, <c>false</c> otherwise</returns>
- public bool GetMomentumAnimatorDisabled() {
- var _ret_var = Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_momentum_animator_disabled_get_ptr.Value.Delegate(this.NativeHandle);
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Momentum animator</summary>
- /// <param name="disabled"><c>true</c> if disabled, <c>false</c> otherwise</param>
- public void SetMomentumAnimatorDisabled(bool disabled) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_momentum_animator_disabled_set_ptr.Value.Delegate(this.NativeHandle,disabled);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Scrollbar visibility policy
- /// #ELM_SCROLLER_POLICY_AUTO means the scrollbar is made visible if it is needed, and otherwise kept hidden. #ELM_SCROLLER_POLICY_ON turns it on all the time, and #ELM_SCROLLER_POLICY_OFF always keeps it off. This applies respectively for the horizontal and vertical scrollbars.</summary>
- /// <param name="hbar">Horizontal scrollbar policy</param>
- /// <param name="vbar">Vertical scrollbar policy</param>
- public void GetPolicy(out Elm.Scroller.Policy hbar, out Elm.Scroller.Policy vbar) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_policy_get_ptr.Value.Delegate(this.NativeHandle,out hbar, out vbar);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Scrollbar visibility policy
- /// #ELM_SCROLLER_POLICY_AUTO means the scrollbar is made visible if it is needed, and otherwise kept hidden. #ELM_SCROLLER_POLICY_ON turns it on all the time, and #ELM_SCROLLER_POLICY_OFF always keeps it off. This applies respectively for the horizontal and vertical scrollbars.</summary>
- /// <param name="hbar">Horizontal scrollbar policy</param>
- /// <param name="vbar">Vertical scrollbar policy</param>
- public void SetPolicy(Elm.Scroller.Policy hbar, Elm.Scroller.Policy vbar) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_policy_set_ptr.Value.Delegate(this.NativeHandle,hbar, vbar);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Currently visible content region
- /// This gets the current region in the content object that is visible through the scroller. The region co-ordinates are returned in the <c>x</c>, <c>y</c>, <c>w</c>, <c>h</c> values pointed to.
- ///
- /// Note: All coordinates are relative to the content.
- ///
- /// See: <see cref="Elm.IInterfaceScrollable.ShowContentRegion"/>.</summary>
- /// <param name="x">X coordinate of the region</param>
- /// <param name="y">Y coordinate of the region</param>
- /// <param name="w">Width of the region</param>
- /// <param name="h">Height of the region</param>
- 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(this.NativeHandle,out x, out y, out w, out h);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Currently visible content region
- /// This gets the current region in the content object that is visible through the scroller. The region co-ordinates are returned in the <c>x</c>, <c>y</c>, <c>w</c>, <c>h</c> values pointed to.
- ///
- /// Note: All coordinates are relative to the content.
- ///
- /// See: <see cref="Elm.IInterfaceScrollable.ShowContentRegion"/>.</summary>
- /// <param name="x">X coordinate of the region</param>
- /// <param name="y">Y coordinate of the region</param>
- /// <param name="w">Width of the region</param>
- /// <param name="h">Height of the region</param>
- public void SetContentRegion(int x, int y, int w, int h) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_region_set_ptr.Value.Delegate(this.NativeHandle,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>
- public bool GetContentEvents() {
- var _ret_var = Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_events_get_ptr.Value.Delegate(this.NativeHandle);
- 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>
- public void SetContentEvents(bool repeat_events) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_events_set_ptr.Value.Delegate(this.NativeHandle,repeat_events);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Scroll page size relative to viewport size.
- /// The scroller is capable of limiting scrolling by the user to "pages". That is to jump by and only show a "whole page" at a time as if the continuous area of the scroller content is split into page sized pieces. This sets the size of a page relative to the viewport of the scroller. 1.0 is "1 viewport" is size (horizontally or vertically). 0.0 turns it off in that axis. This is mutually exclusive with page size (see <see cref="Elm.IInterfaceScrollable.GetPageSize"/> for more information). Likewise 0.5 is "half a viewport". Sane usable values are normally between 0.0 and 1.0 including 1.0. If you only want 1 axis to be page "limited", use 0.0 for the other axis.</summary>
- /// <param name="x">The horizontal page relative size</param>
- /// <param name="y">The vertical page relative size</param>
- public void GetPageSize(out int x, out int y) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_page_size_get_ptr.Value.Delegate(this.NativeHandle,out x, out y);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Scroll page size relative to viewport size.
- /// The scroller is capable of limiting scrolling by the user to "pages". That is to jump by and only show a "whole page" at a time as if the continuous area of the scroller content is split into page sized pieces. This sets the size of a page relative to the viewport of the scroller. 1.0 is "1 viewport" is size (horizontally or vertically). 0.0 turns it off in that axis. This is mutually exclusive with page size (see <see cref="Elm.IInterfaceScrollable.GetPageSize"/> for more information). Likewise 0.5 is "half a viewport". Sane usable values are normally between 0.0 and 1.0 including 1.0. If you only want 1 axis to be page "limited", use 0.0 for the other axis.</summary>
- /// <param name="x">The horizontal page relative size</param>
- /// <param name="y">The vertical page relative size</param>
- public void SetPageSize(int x, int y) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_page_size_set_ptr.Value.Delegate(this.NativeHandle,x, y);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Bounce animator</summary>
- /// <returns><c>true</c> if bounce animation is disabled, <c>false</c> otherwise</returns>
- public bool GetBounceAnimatorDisabled() {
- var _ret_var = Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_bounce_animator_disabled_get_ptr.Value.Delegate(this.NativeHandle);
- 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>
- public void SetBounceAnimatorDisabled(bool disabled) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_bounce_animator_disabled_set_ptr.Value.Delegate(this.NativeHandle,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>
- 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(this.NativeHandle,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>
- public void SetPageScrollLimit(int page_limit_h, int page_limit_v) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_page_scroll_limit_set_ptr.Value.Delegate(this.NativeHandle,page_limit_h, page_limit_v);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Page snapping behavior
- /// When scrolling, if a scroller is paged (see elm_scroller_page_size_set() and elm_scroller_page_relative_set()), the scroller may snap to pages when being scrolled, i.e., even if it had momentum to scroll further, it will stop at the next page boundaries. This is disabled, by default, for both axis. This function will set if it that is enabled or not, for each axis.
- ///
- /// Note: If <c>obj</c> is not set to have pages, nothing will happen after this call.</summary>
- /// <param name="horiz">Allow snap horizontally</param>
- /// <param name="vert">Allow snap vertically</param>
- public void GetPageSnapAllow(out bool horiz, out bool vert) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_page_snap_allow_get_ptr.Value.Delegate(this.NativeHandle,out horiz, out vert);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Page snapping behavior
- /// When scrolling, if a scroller is paged (see elm_scroller_page_size_set() and elm_scroller_page_relative_set()), the scroller may snap to pages when being scrolled, i.e., even if it had momentum to scroll further, it will stop at the next page boundaries. This is disabled, by default, for both axis. This function will set if it that is enabled or not, for each axis.
- ///
- /// Note: If <c>obj</c> is not set to have pages, nothing will happen after this call.</summary>
- /// <param name="horiz">Allow snap horizontally</param>
- /// <param name="vert">Allow snap vertically</param>
- public void SetPageSnapAllow(bool horiz, bool vert) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_page_snap_allow_set_ptr.Value.Delegate(this.NativeHandle,horiz, vert);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Pagin property</summary>
- /// <param name="pagerel_h">Page relation horizontal</param>
- /// <param name="pagerel_v">Page relation vertical</param>
- /// <param name="pagesize_h">Page size horizontal</param>
- /// <param name="pagesize_v">Page size vertical</param>
- 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(this.NativeHandle,out pagerel_h, out pagerel_v, out pagesize_h, out pagesize_v);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Pagin property</summary>
- /// <param name="pagerel_h">Page relation horizontal</param>
- /// <param name="pagerel_v">Page relation vertical</param>
- /// <param name="pagesize_h">Page size horizontal</param>
- /// <param name="pagesize_v">Page size vertical</param>
- 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(this.NativeHandle,pagerel_h, pagerel_v, pagesize_h, pagesize_v);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Single direction scroll configuration
- /// This makes it possible to restrict scrolling to a single direction, with a "soft" or "hard" behavior.
- ///
- /// 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>
- public Elm.Scroller.SingleDirection GetSingleDirection() {
- var _ret_var = Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_single_direction_get_ptr.Value.Delegate(this.NativeHandle);
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Single direction scroll configuration
- /// This makes it possible to restrict scrolling to a single direction, with a "soft" or "hard" behavior.
- ///
- /// 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>
- public void SetSingleDirection(Elm.Scroller.SingleDirection single_dir) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_single_direction_set_ptr.Value.Delegate(this.NativeHandle,single_dir);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Step size</summary>
- /// <param name="x">X coordinate</param>
- /// <param name="y">Y coordinate</param>
- public void GetStepSize(out int x, out int y) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_step_size_get_ptr.Value.Delegate(this.NativeHandle,out x, out y);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Step size</summary>
- /// <param name="x">X coordinate</param>
- /// <param name="y">Y coordinate</param>
- public void SetStepSize(int x, int y) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_step_size_set_ptr.Value.Delegate(this.NativeHandle,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>
- public void GetContentLoop(out bool loop_h, out bool loop_v) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_loop_get_ptr.Value.Delegate(this.NativeHandle,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>
- public void SetContentLoop(bool loop_h, bool loop_v) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_loop_set_ptr.Value.Delegate(this.NativeHandle,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>
- public void SetScrollUpCb(ElmInterfaceScrollableCb scroll_up_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_scroll_up_cb_set_ptr.Value.Delegate(this.NativeHandle,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>
- public void SetHbarDragCb(ElmInterfaceScrollableCb hbar_drag_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_hbar_drag_cb_set_ptr.Value.Delegate(this.NativeHandle,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>
- public void SetDragStartCb(ElmInterfaceScrollableCb drag_start_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_drag_start_cb_set_ptr.Value.Delegate(this.NativeHandle,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>
- public void SetScrollStartCb(ElmInterfaceScrollableCb scroll_start_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_scroll_start_cb_set_ptr.Value.Delegate(this.NativeHandle,scroll_start_cb);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Freeze property</summary>
- /// <param name="freeze"><c>true</c> if freeze, <c>false</c> otherwise</param>
- public void SetFreeze(bool freeze) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_freeze_set_ptr.Value.Delegate(this.NativeHandle,freeze);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>When the viewport is resized, the callback is called.</summary>
- /// <param name="viewport_resize_cb">The callback</param>
- public void SetContentViewportResizeCb(ElmInterfaceScrollableResizeCb viewport_resize_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_viewport_resize_cb_set_ptr.Value.Delegate(this.NativeHandle,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>
- public void SetScrollLeftCb(ElmInterfaceScrollableCb scroll_left_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_scroll_left_cb_set_ptr.Value.Delegate(this.NativeHandle,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>
- public void SetVbarPressCb(ElmInterfaceScrollableCb vbar_press_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_vbar_press_cb_set_ptr.Value.Delegate(this.NativeHandle,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>
- public void SetHbarPressCb(ElmInterfaceScrollableCb hbar_press_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_hbar_press_cb_set_ptr.Value.Delegate(this.NativeHandle,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>
- public void SetHbarUnpressCb(ElmInterfaceScrollableCb hbar_unpress_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_hbar_unpress_cb_set_ptr.Value.Delegate(this.NativeHandle,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>
- public void SetDragStopCb(ElmInterfaceScrollableCb drag_stop_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_drag_stop_cb_set_ptr.Value.Delegate(this.NativeHandle,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>
- public void SetScrollStopCb(ElmInterfaceScrollableCb scroll_stop_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_scroll_stop_cb_set_ptr.Value.Delegate(this.NativeHandle,scroll_stop_cb);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Extern pan</summary>
- /// <param name="pan">Pan object</param>
- public void SetExternPan(Efl.Canvas.Object pan) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_extern_pan_set_ptr.Value.Delegate(this.NativeHandle,pan);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Set the callback to run when the visible page changes.</summary>
- /// <param name="page_change_cb">The callback</param>
- public void SetPageChangeCb(ElmInterfaceScrollableCb page_change_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_page_change_cb_set_ptr.Value.Delegate(this.NativeHandle,page_change_cb);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Hold property</summary>
- /// <param name="hold"><c>true</c> if hold, <c>false</c> otherwise</param>
- public void SetHold(bool hold) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_hold_set_ptr.Value.Delegate(this.NativeHandle,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>
- public void SetAnimateStartCb(ElmInterfaceScrollableCb animate_start_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_animate_start_cb_set_ptr.Value.Delegate(this.NativeHandle,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>
- public void SetScrollDownCb(ElmInterfaceScrollableCb scroll_down_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_scroll_down_cb_set_ptr.Value.Delegate(this.NativeHandle,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>
- public void SetPageRelative(double h_pagerel, double v_pagerel) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_page_relative_set_ptr.Value.Delegate(this.NativeHandle,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>
- public void SetScrollCb(ElmInterfaceScrollableCb scroll_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_scroll_cb_set_ptr.Value.Delegate(this.NativeHandle,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>
- public void SetAnimateStopCb(ElmInterfaceScrollableCb animate_stop_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_animate_stop_cb_set_ptr.Value.Delegate(this.NativeHandle,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>
- public void SetContentMinLimitCb(ElmInterfaceScrollableMinLimitCb min_limit_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_min_limit_cb_set_ptr.Value.Delegate(this.NativeHandle,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>
- public void SetScrollRightCb(ElmInterfaceScrollableCb scroll_right_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_scroll_right_cb_set_ptr.Value.Delegate(this.NativeHandle,scroll_right_cb);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Content property</summary>
- /// <param name="content">Content object</param>
- public void SetScrollableContent(Efl.Canvas.Object content) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_set_ptr.Value.Delegate(this.NativeHandle,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>
- public void SetEdgeLeftCb(ElmInterfaceScrollableCb edge_left_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_edge_left_cb_set_ptr.Value.Delegate(this.NativeHandle,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>
- public void SetVbarDragCb(ElmInterfaceScrollableCb vbar_drag_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_vbar_drag_cb_set_ptr.Value.Delegate(this.NativeHandle,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>
- public void SetVbarUnpressCb(ElmInterfaceScrollableCb vbar_unpress_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_vbar_unpress_cb_set_ptr.Value.Delegate(this.NativeHandle,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>
- public void SetEdgeBottomCb(ElmInterfaceScrollableCb edge_bottom_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_edge_bottom_cb_set_ptr.Value.Delegate(this.NativeHandle,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>
- public void SetEdgeRightCb(ElmInterfaceScrollableCb edge_right_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_edge_right_cb_set_ptr.Value.Delegate(this.NativeHandle,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>
- public void SetEdgeTopCb(ElmInterfaceScrollableCb edge_top_cb) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_edge_top_cb_set_ptr.Value.Delegate(this.NativeHandle,edge_top_cb);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Object property</summary>
- /// <param name="edje_object">Edje object</param>
- /// <param name="hit_rectangle">Evas object</param>
- public void SetObjects(Efl.Canvas.Object edje_object, Efl.Canvas.Object hit_rectangle) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_objects_set_ptr.Value.Delegate(this.NativeHandle,edje_object, hit_rectangle);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Get scroll last page number.
- /// The page number starts from 0. 0 is the first page. This returns the last page number among the pages.
- ///
- /// See: <see cref="Elm.IInterfaceScrollable.GetCurrentPage"/>, <see cref="Elm.IInterfaceScrollable.ShowPage"/> and <see cref="Elm.IInterfaceScrollable.PageBringIn"/>.</summary>
- /// <param name="pagenumber_h">The horizontal page number</param>
- /// <param name="pagenumber_v">The vertical page number</param>
- public void GetLastPage(out int pagenumber_h, out int pagenumber_v) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_last_page_get_ptr.Value.Delegate(this.NativeHandle,out pagenumber_h, out pagenumber_v);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Get scroll current page number.
- /// The page number starts from 0. 0 is the first page. Current page means the page which meets the top-left of the viewport. If there are two or more pages in the viewport, it returns the number of the page which meets the top-left of the viewport.
- ///
- /// See: <see cref="Elm.IInterfaceScrollable.GetLastPage"/>, <see cref="Elm.IInterfaceScrollable.ShowPage"/> and <see cref="Elm.IInterfaceScrollable.PageBringIn"/>.</summary>
- /// <param name="pagenumber_h">The horizontal page number</param>
- /// <param name="pagenumber_v">The vertical page number</param>
- public void GetCurrentPage(out int pagenumber_h, out int pagenumber_v) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_current_page_get_ptr.Value.Delegate(this.NativeHandle,out pagenumber_h, out pagenumber_v);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Content viewport geometry</summary>
- /// <param name="x">X coordinate</param>
- /// <param name="y">Y coordinate</param>
- /// <param name="w">Width</param>
- /// <param name="h">Height</param>
- 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(this.NativeHandle,out x, out y, out w, out h);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Get the size of the content object
- /// This gets the size of the content object of the scroller.</summary>
- /// <param name="w">Width of the content object.</param>
- /// <param name="h">Height of the content object.</param>
- public void GetContentSize(out int w, out int h) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_size_get_ptr.Value.Delegate(this.NativeHandle,out w, out h);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Whether scrolling should loop around.</summary>
- /// <returns>True to enable looping.</returns>
- public bool GetItemLoopEnabled() {
- var _ret_var = Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_item_loop_enabled_get_ptr.Value.Delegate(this.NativeHandle);
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Whether scrolling should loop around.</summary>
- /// <param name="enable">True to enable looping.</param>
- public void SetItemLoopEnabled(bool enable) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_item_loop_enabled_set_ptr.Value.Delegate(this.NativeHandle,enable);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Set the content position</summary>
- /// <param name="x">X coordinate</param>
- /// <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>
- public void SetContentPos(int x, int y, bool sig) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_pos_set_ptr.Value.Delegate(this.NativeHandle,x, y, sig);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Get content position</summary>
- /// <param name="x">X coordinate</param>
- /// <param name="y">Y coordinate</param>
- public void GetContentPos(out int x, out int y) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_pos_get_ptr.Value.Delegate(this.NativeHandle,out x, out y);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Show a specific virtual region within the scroller content object by page number.
- /// 0, 0 of the indicated page is located at the top-left of the viewport. This will jump to the page directly without animation.
- ///
- /// See <see cref="Elm.IInterfaceScrollable.PageBringIn"/>.</summary>
- /// <param name="pagenumber_h">The horizontal page number</param>
- /// <param name="pagenumber_v">The vertical page number</param>
- public void ShowPage(int pagenumber_h, int pagenumber_v) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_page_show_ptr.Value.Delegate(this.NativeHandle,pagenumber_h, pagenumber_v);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Show a specific virtual region within the scroller content object.
- /// This will ensure all (or part if it does not fit) of the designated region in the virtual content object (0, 0 starting at the top-left of the virtual content object) is shown within the scroller. Unlike elm_scroller_region_show(), this allows the scroller to "smoothly slide" to this location (if configuration in general calls for transitions). It may not jump immediately to the new location and make take a while and show other content along the way.
- ///
- /// See <see cref="Elm.IInterfaceScrollable.ShowContentRegion"/></summary>
- /// <param name="x">X coordinate of the region</param>
- /// <param name="y">Y coordinate of the region</param>
- /// <param name="w">Width of the region</param>
- /// <param name="h">Height of the region</param>
- public void RegionBringIn(int x, int y, int w, int h) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_region_bring_in_ptr.Value.Delegate(this.NativeHandle,x, y, w, h);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Show a specific virtual region within the scroller content object by page number.
- /// 0, 0 of the indicated page is located at the top-left of the viewport. This will slide to the page with animation.
- ///
- /// <see cref="Elm.IInterfaceScrollable.ShowPage"/></summary>
- /// <param name="pagenumber_h">The horizontal page number</param>
- /// <param name="pagenumber_v">The vertical page number</param>
- public void PageBringIn(int pagenumber_h, int pagenumber_v) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_page_bring_in_ptr.Value.Delegate(this.NativeHandle,pagenumber_h, pagenumber_v);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Show a specific virtual region within the scroller content object
- /// This will ensure all (or part if it does not fit) of the designated region in the virtual content object (0, 0 starting at the top-left of the virtual content object) is shown within the scroller.</summary>
- /// <param name="x">X coordinate of the region</param>
- /// <param name="y">Y coordinate of the region</param>
- /// <param name="w">Width of the region</param>
- /// <param name="h">Height of the region</param>
- public void ShowContentRegion(int x, int y, int w, int h) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_region_show_ptr.Value.Delegate(this.NativeHandle,x, y, w, h);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Prevent the scrollable from being smaller than the minimum size of the content.
- /// By default the scroller will be as small as its design allows, irrespective of its content. This will make the scroller minimum size the right size horizontally and/or vertically to perfectly fit its content in that direction.</summary>
- /// <param name="w">Whether to limit the minimum horizontal size</param>
- /// <param name="h">Whether to limit the minimum vertical size</param>
- public void ContentMinLimit(bool w, bool h) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_min_limit_ptr.Value.Delegate(this.NativeHandle,w, h);
- Eina.Error.RaiseIfUnhandledException();
- }
- public void SetWantedRegion(int x, int y) {
- Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_wanted_region_set_ptr.Value.Delegate(this.NativeHandle,x, y);
- Eina.Error.RaiseIfUnhandledException();
- }
- 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(this.NativeHandle,_in_x, _in_y);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>If the widget needs a focus manager, this function will be called.
- /// It can be used and overriden to inject your own manager or set custom options on the focus manager.
- /// (Since EFL 1.22)</summary>
- /// <param name="root">The logical root object for focus.</param>
- /// <returns>The focus manager.</returns>
- 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(this.NativeHandle,root);
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>The element which is currently focused by this manager
- /// Use this property to retrieve the object currently being focused, or to set the focus to a new one. When <c>focus</c> is a logical child (which cannot receive focus), the next non-logical object is selected instead. If there is no such object, focus does not change.
- /// (Since EFL 1.22)</summary>
- /// <returns>Currently focused element.</returns>
- public Efl.Ui.Focus.IObject GetManagerFocus() {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_focus_get_ptr.Value.Delegate(this.NativeHandle);
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>The element which is currently focused by this manager
- /// Use this property to retrieve the object currently being focused, or to set the focus to a new one. When <c>focus</c> is a logical child (which cannot receive focus), the next non-logical object is selected instead. If there is no such object, focus does not change.
- /// (Since EFL 1.22)</summary>
- /// <param name="focus">Currently focused element.</param>
- public void SetManagerFocus(Efl.Ui.Focus.IObject focus) {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_focus_set_ptr.Value.Delegate(this.NativeHandle,focus);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Add another manager to serve the move requests.
- /// If this value is set, all move requests are redirected to this manager object. Set it to <c>null</c> once nothing should be redirected anymore.
- /// (Since EFL 1.22)</summary>
- /// <returns>The redirect manager.</returns>
- public Efl.Ui.Focus.IManager GetRedirect() {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_redirect_get_ptr.Value.Delegate(this.NativeHandle);
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Add another manager to serve the move requests.
- /// If this value is set, all move requests are redirected to this manager object. Set it to <c>null</c> once nothing should be redirected anymore.
- /// (Since EFL 1.22)</summary>
- /// <param name="redirect">The redirect manager.</param>
- public void SetRedirect(Efl.Ui.Focus.IManager redirect) {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_redirect_set_ptr.Value.Delegate(this.NativeHandle,redirect);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>The list of elements which are at the border of the graph.
- /// This means one of the relations right,left or down,up are not set. This call flushes all changes. See <see cref="Efl.Ui.Focus.IManager.Move"/>
- /// (Since EFL 1.22)</summary>
- /// <returns>An iterator over the border objects.</returns>
- 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);
- }
- /// <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.
- /// (Since EFL 1.22)</summary>
- /// <param name="viewport">The rectangle defining the viewport.</param>
- /// <returns>The list of border objects.</returns>
- 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(this.NativeHandle,_in_viewport);
- Eina.Error.RaiseIfUnhandledException();
- 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>
- public Efl.Ui.Focus.IObject GetRoot() {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_root_get_ptr.Value.Delegate(this.NativeHandle);
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Root node for all logical subtrees.
- /// This property can only be set once.
- /// (Since EFL 1.22)</summary>
- /// <param name="root">Will be registered into this manager object.</param>
- /// <returns>If <c>true</c>, this is the root node</returns>
- 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(this.NativeHandle,root);
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Move the focus in the given direction.
- /// This call flushes all changes. This means all changes between the last flush and now are computed.
- /// (Since EFL 1.22)</summary>
- /// <param name="direction">The direction to move to.</param>
- /// <returns>The element which is now focused.</returns>
- 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(this.NativeHandle,direction);
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Return the object in the <c>direction</c> from <c>child</c>.
- /// (Since EFL 1.22)</summary>
- /// <param name="direction">Direction to move focus.</param>
- /// <param name="child">The child to move from. Pass <c>null</c> to indicate the currently focused child.</param>
- /// <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>
- 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(this.NativeHandle,direction, child, logical);
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Return the widget in the direction next.
- /// The returned widget is a child of <c>root</c>. It's guaranteed that child will not be prepared once again, so you can call this function inside a <see cref="Efl.Ui.Focus.IObject.SetupOrder"/> call.
- /// (Since EFL 1.22)</summary>
- /// <param name="root">Parent for returned child.</param>
- /// <returns>Child of passed parameter.</returns>
- 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(this.NativeHandle,root);
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>This will fetch the data from a registered node.
- /// Be aware this function will trigger a computation of all dirty nodes.
- /// (Since EFL 1.22)</summary>
- /// <param name="child">The child object to inspect.</param>
- /// <returns>The list of relations starting from <c>child</c>.</returns>
- 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(this.NativeHandle,child);
- Eina.Error.RaiseIfUnhandledException();
- var __ret_tmp = Eina.PrimitiveConversion.PointerToManaged<Efl.Ui.Focus.Relations>(_ret_var);
- Marshal.FreeHGlobal(_ret_var);
- return __ret_tmp;
- }
- /// <summary>Return the last logical object.
- /// The returned object is the last object that would be returned if you start at the root and move the direction into next.
- /// (Since EFL 1.22)</summary>
- /// <returns>Last object.</returns>
- public Efl.Ui.Focus.ManagerLogicalEndDetail LogicalEnd() {
- var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_logical_end_ptr.Value.Delegate(this.NativeHandle);
- Eina.Error.RaiseIfUnhandledException();
- return _ret_var;
- }
- /// <summary>Reset the history stack of this manager object. This means the uppermost element will be unfocused, and all other elements will be removed from the remembered list.
- /// You should focus another element immediately after calling this, in order to always have a focused object.
- /// (Since EFL 1.22)</summary>
- public void ResetHistory() {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_reset_history_ptr.Value.Delegate(this.NativeHandle);
- 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>
- public void PopHistoryStack() {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_pop_history_stack_ptr.Value.Delegate(this.NativeHandle);
- Eina.Error.RaiseIfUnhandledException();
- }
- /// <summary>Called when this manager is set as redirect.
- /// In case that this is called as an result of a move call, <c>direction</c> and <c>entry</c> will be set to the direction of the move call, and the <c>entry</c> object will be set to the object that had this manager as redirect property.
- /// (Since EFL 1.22)</summary>
- /// <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>
- 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(this.NativeHandle,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>
- public void FreezeDirtyLogic() {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_dirty_logic_freeze_ptr.Value.Delegate(this.NativeHandle);
- 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>
- public void DirtyLogicUnfreeze() {
- Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_dirty_logic_unfreeze_ptr.Value.Delegate(this.NativeHandle);
- 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>
- /// <value><c>true</c> if wheel is disabled, <c>false</c> otherwise</value>
- public bool WheelDisabled {
- get { return GetWheelDisabled(); }
- set { SetWheelDisabled(value); }
- }
- /// <summary>Blocking of scrolling (per axis)
- /// This function will block scrolling movement (by input of a user) in a given direction. One 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.
- ///
- /// 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>
- /// <value>Which axis (or axes) to block</value>
- public Efl.Ui.ScrollBlock MovementBlock {
- get { return GetMovementBlock(); }
- set { SetMovementBlock(value); }
- }
- /// <summary>Momentum animator</summary>
- /// <value><c>true</c> if disabled, <c>false</c> otherwise</value>
- public bool MomentumAnimatorDisabled {
- get { return GetMomentumAnimatorDisabled(); }
- set { SetMomentumAnimatorDisabled(value); }
- }
- /// <summary>It decides whether the scrollable object propagates the events to content object or not.</summary>
- /// <value><c>true</c> if events are propagated, <c>false</c> otherwise</value>
- public bool ContentEvents {
- get { return GetContentEvents(); }
- set { SetContentEvents(value); }
- }
- /// <summary>Bounce animator</summary>
- /// <value><c>true</c> if bounce animation is disabled, <c>false</c> otherwise</value>
- public bool BounceAnimatorDisabled {
- get { return GetBounceAnimatorDisabled(); }
- set { SetBounceAnimatorDisabled(value); }
- }
- /// <summary>Single direction scroll configuration
- /// This makes it possible to restrict scrolling to a single direction, with a "soft" or "hard" behavior.
- ///
- /// 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>
- /// <value>The single direction scroll policy</value>
- public Elm.Scroller.SingleDirection SingleDirection {
- get { return GetSingleDirection(); }
- set { SetSingleDirection(value); }
- }
- /// <summary>Set the callback to run when the content has been moved up.</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableCb ScrollUpCb {
- set { SetScrollUpCb(value); }
- }
- /// <summary>Set the callback to run when the horizontal scrollbar is dragged.</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableCb HbarDragCb {
- set { SetHbarDragCb(value); }
- }
- /// <summary>Set the callback to run when dragging of the contents has started.</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableCb DragStartCb {
- set { SetDragStartCb(value); }
- }
- /// <summary>Set the callback to run when scrolling of the contents has started.</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableCb ScrollStartCb {
- set { SetScrollStartCb(value); }
- }
- /// <summary>Freeze property</summary>
- /// <value><c>true</c> if freeze, <c>false</c> otherwise</value>
- public bool Freeze {
- set { SetFreeze(value); }
- }
- /// <summary>When the viewport is resized, the callback is called.</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableResizeCb ContentViewportResizeCb {
- set { SetContentViewportResizeCb(value); }
- }
- /// <summary>Set the callback to run when the content has been moved to the left</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableCb ScrollLeftCb {
- set { SetScrollLeftCb(value); }
- }
- /// <summary>Set the callback to run when the vertical scrollbar is pressed.</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableCb VbarPressCb {
- set { SetVbarPressCb(value); }
- }
- /// <summary>Set the callback to run when the horizontal scrollbar is pressed.</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableCb HbarPressCb {
- set { SetHbarPressCb(value); }
- }
- /// <summary>Set the callback to run when the horizontal scrollbar is unpressed.</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableCb HbarUnpressCb {
- set { SetHbarUnpressCb(value); }
- }
- /// <summary>Set the callback to run when dragging of the contents has stopped.</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableCb DragStopCb {
- set { SetDragStopCb(value); }
- }
- /// <summary>Set the callback to run when scrolling of the contents has stopped.</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableCb ScrollStopCb {
- set { SetScrollStopCb(value); }
- }
- /// <summary>Extern pan</summary>
- /// <value>Pan object</value>
- public Efl.Canvas.Object ExternPan {
- set { SetExternPan(value); }
- }
- /// <summary>Set the callback to run when the visible page changes.</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableCb PageChangeCb {
- set { SetPageChangeCb(value); }
- }
- /// <summary>Hold property</summary>
- /// <value><c>true</c> if hold, <c>false</c> otherwise</value>
- public bool Hold {
- set { SetHold(value); }
- }
- /// <summary>Set the callback to run when the scrolling animation has started.</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableCb AnimateStartCb {
- set { SetAnimateStartCb(value); }
- }
- /// <summary>Set the callback to run when the content has been moved down.</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableCb ScrollDownCb {
- set { SetScrollDownCb(value); }
- }
- /// <summary>Set the callback to run when the content has been moved.</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableCb ScrollCb {
- set { SetScrollCb(value); }
- }
- /// <summary>Set the callback to run when the scrolling animation has stopped.</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableCb AnimateStopCb {
- set { SetAnimateStopCb(value); }
- }
- /// <summary>set the callback to run on minimal limit content</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableMinLimitCb ContentMinLimitCb {
- set { SetContentMinLimitCb(value); }
- }
- /// <summary>Set the callback to run when the content has been moved to the right.</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableCb ScrollRightCb {
- set { SetScrollRightCb(value); }
- }
- /// <summary>Content property</summary>
- /// <value>Content object</value>
- public Efl.Canvas.Object ScrollableContent {
- set { SetScrollableContent(value); }
- }
- /// <summary>Set the callback to run when the left edge of the content has been reached.</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableCb EdgeLeftCb {
- set { SetEdgeLeftCb(value); }
- }
- /// <summary>Set the callback to run when the horizontal scrollbar is dragged.</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableCb VbarDragCb {
- set { SetVbarDragCb(value); }
- }
- /// <summary>Set the callback to run when the horizontal scrollbar is unpressed.</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableCb VbarUnpressCb {
- set { SetVbarUnpressCb(value); }
- }
- /// <summary>Set the callback to run when the bottom edge of the content has been reached.</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableCb EdgeBottomCb {
- set { SetEdgeBottomCb(value); }
- }
- /// <summary>Set the callback to run when the right edge of the content has been reached.</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableCb EdgeRightCb {
- set { SetEdgeRightCb(value); }
- }
- /// <summary>Set the callback to run when the top edge of the content has been reached.</summary>
- /// <value>The callback</value>
- public ElmInterfaceScrollableCb EdgeTopCb {
- set { SetEdgeTopCb(value); }
- }
- /// <summary>Whether scrolling should loop around.</summary>
- /// <value>True to enable looping.</value>
- public bool ItemLoopEnabled {
- get { return GetItemLoopEnabled(); }
- set { SetItemLoopEnabled(value); }
- }
- /// <summary>The element which is currently focused by this manager
- /// Use this property to retrieve the object currently being focused, or to set the focus to a new one. When <c>focus</c> is a logical child (which cannot receive focus), the next non-logical object is selected instead. If there is no such object, focus does not change.
- /// (Since EFL 1.22)</summary>
- /// <value>Currently focused element.</value>
- public Efl.Ui.Focus.IObject ManagerFocus {
- get { return GetManagerFocus(); }
- set { SetManagerFocus(value); }
- }
- /// <summary>Add another manager to serve the move requests.
- /// If this value is set, all move requests are redirected to this manager object. Set it to <c>null</c> once nothing should be redirected anymore.
- /// (Since EFL 1.22)</summary>
- /// <value>The redirect manager.</value>
- public Efl.Ui.Focus.IManager Redirect {
- get { return GetRedirect(); }
- set { SetRedirect(value); }
- }
- /// <summary>The list of elements which are at the border of the graph.
- /// This means one of the relations right,left or down,up are not set. This call flushes all changes. See <see cref="Efl.Ui.Focus.IManager.Move"/>
- /// (Since EFL 1.22)</summary>
- /// <value>An iterator over the border objects.</value>
- public Eina.Iterator<Efl.Ui.Focus.IObject> BorderElements {
- get { return GetBorderElements(); }
- }
- /// <summary>Root node for all logical subtrees.
- /// This property can only be set once.
- /// (Since EFL 1.22)</summary>
- /// <value>Will be registered into this manager object.</value>
- public Efl.Ui.Focus.IObject Root {
- get { return GetRoot(); }
- set { SetRoot(value); }
- }
- private static IntPtr GetEflClassStatic()
- {
- return Elm.IInterfaceScrollableConcrete.elm_interface_scrollable_mixin_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>();
- var methods = Efl.Eo.Globals.GetUserMethods(type);
-
- if (elm_interface_scrollable_gravity_get_static_delegate == null)
- {
- elm_interface_scrollable_gravity_get_static_delegate = new elm_interface_scrollable_gravity_get_delegate(gravity_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetGravity") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_gravity_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_gravity_get_static_delegate) });
- }
-
- if (elm_interface_scrollable_gravity_set_static_delegate == null)
- {
- elm_interface_scrollable_gravity_set_static_delegate = new elm_interface_scrollable_gravity_set_delegate(gravity_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetGravity") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_gravity_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_gravity_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_bounce_allow_get_static_delegate == null)
- {
- elm_interface_scrollable_bounce_allow_get_static_delegate = new elm_interface_scrollable_bounce_allow_get_delegate(bounce_allow_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetBounceAllow") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_bounce_allow_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_bounce_allow_get_static_delegate) });
- }
-
- if (elm_interface_scrollable_bounce_allow_set_static_delegate == null)
- {
- elm_interface_scrollable_bounce_allow_set_static_delegate = new elm_interface_scrollable_bounce_allow_set_delegate(bounce_allow_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetBounceAllow") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_bounce_allow_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_bounce_allow_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_wheel_disabled_get_static_delegate == null)
- {
- elm_interface_scrollable_wheel_disabled_get_static_delegate = new elm_interface_scrollable_wheel_disabled_get_delegate(wheel_disabled_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetWheelDisabled") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_wheel_disabled_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_wheel_disabled_get_static_delegate) });
- }
-
- if (elm_interface_scrollable_wheel_disabled_set_static_delegate == null)
- {
- elm_interface_scrollable_wheel_disabled_set_static_delegate = new elm_interface_scrollable_wheel_disabled_set_delegate(wheel_disabled_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetWheelDisabled") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_wheel_disabled_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_wheel_disabled_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_movement_block_get_static_delegate == null)
- {
- elm_interface_scrollable_movement_block_get_static_delegate = new elm_interface_scrollable_movement_block_get_delegate(movement_block_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetMovementBlock") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_movement_block_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_movement_block_get_static_delegate) });
- }
-
- if (elm_interface_scrollable_movement_block_set_static_delegate == null)
- {
- elm_interface_scrollable_movement_block_set_static_delegate = new elm_interface_scrollable_movement_block_set_delegate(movement_block_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetMovementBlock") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_movement_block_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_movement_block_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_momentum_animator_disabled_get_static_delegate == null)
- {
- elm_interface_scrollable_momentum_animator_disabled_get_static_delegate = new elm_interface_scrollable_momentum_animator_disabled_get_delegate(momentum_animator_disabled_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetMomentumAnimatorDisabled") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_momentum_animator_disabled_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_momentum_animator_disabled_get_static_delegate) });
- }
-
- if (elm_interface_scrollable_momentum_animator_disabled_set_static_delegate == null)
- {
- elm_interface_scrollable_momentum_animator_disabled_set_static_delegate = new elm_interface_scrollable_momentum_animator_disabled_set_delegate(momentum_animator_disabled_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetMomentumAnimatorDisabled") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_momentum_animator_disabled_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_momentum_animator_disabled_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_policy_get_static_delegate == null)
- {
- elm_interface_scrollable_policy_get_static_delegate = new elm_interface_scrollable_policy_get_delegate(policy_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetPolicy") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_policy_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_policy_get_static_delegate) });
- }
-
- if (elm_interface_scrollable_policy_set_static_delegate == null)
- {
- elm_interface_scrollable_policy_set_static_delegate = new elm_interface_scrollable_policy_set_delegate(policy_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetPolicy") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_policy_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_policy_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_content_region_get_static_delegate == null)
- {
- elm_interface_scrollable_content_region_get_static_delegate = new elm_interface_scrollable_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, "elm_interface_scrollable_content_region_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_content_region_get_static_delegate) });
- }
-
- if (elm_interface_scrollable_content_region_set_static_delegate == null)
- {
- elm_interface_scrollable_content_region_set_static_delegate = new elm_interface_scrollable_content_region_set_delegate(content_region_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetContentRegion") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_content_region_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_content_region_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_content_events_get_static_delegate == null)
- {
- elm_interface_scrollable_content_events_get_static_delegate = new elm_interface_scrollable_content_events_get_delegate(content_events_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetContentEvents") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_content_events_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_content_events_get_static_delegate) });
- }
-
- if (elm_interface_scrollable_content_events_set_static_delegate == null)
- {
- elm_interface_scrollable_content_events_set_static_delegate = new elm_interface_scrollable_content_events_set_delegate(content_events_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetContentEvents") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_content_events_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_content_events_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_page_size_get_static_delegate == null)
- {
- elm_interface_scrollable_page_size_get_static_delegate = new elm_interface_scrollable_page_size_get_delegate(page_size_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetPageSize") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_page_size_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_page_size_get_static_delegate) });
- }
-
- if (elm_interface_scrollable_page_size_set_static_delegate == null)
- {
- elm_interface_scrollable_page_size_set_static_delegate = new elm_interface_scrollable_page_size_set_delegate(page_size_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetPageSize") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_page_size_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_page_size_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_bounce_animator_disabled_get_static_delegate == null)
- {
- elm_interface_scrollable_bounce_animator_disabled_get_static_delegate = new elm_interface_scrollable_bounce_animator_disabled_get_delegate(bounce_animator_disabled_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetBounceAnimatorDisabled") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_bounce_animator_disabled_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_bounce_animator_disabled_get_static_delegate) });
- }
-
- if (elm_interface_scrollable_bounce_animator_disabled_set_static_delegate == null)
- {
- elm_interface_scrollable_bounce_animator_disabled_set_static_delegate = new elm_interface_scrollable_bounce_animator_disabled_set_delegate(bounce_animator_disabled_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetBounceAnimatorDisabled") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_bounce_animator_disabled_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_bounce_animator_disabled_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_page_scroll_limit_get_static_delegate == null)
- {
- elm_interface_scrollable_page_scroll_limit_get_static_delegate = new elm_interface_scrollable_page_scroll_limit_get_delegate(page_scroll_limit_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetPageScrollLimit") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_page_scroll_limit_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_page_scroll_limit_get_static_delegate) });
- }
-
- if (elm_interface_scrollable_page_scroll_limit_set_static_delegate == null)
- {
- elm_interface_scrollable_page_scroll_limit_set_static_delegate = new elm_interface_scrollable_page_scroll_limit_set_delegate(page_scroll_limit_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetPageScrollLimit") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_page_scroll_limit_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_page_scroll_limit_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_page_snap_allow_get_static_delegate == null)
- {
- elm_interface_scrollable_page_snap_allow_get_static_delegate = new elm_interface_scrollable_page_snap_allow_get_delegate(page_snap_allow_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetPageSnapAllow") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_page_snap_allow_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_page_snap_allow_get_static_delegate) });
- }
-
- if (elm_interface_scrollable_page_snap_allow_set_static_delegate == null)
- {
- elm_interface_scrollable_page_snap_allow_set_static_delegate = new elm_interface_scrollable_page_snap_allow_set_delegate(page_snap_allow_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetPageSnapAllow") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_page_snap_allow_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_page_snap_allow_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_paging_get_static_delegate == null)
- {
- elm_interface_scrollable_paging_get_static_delegate = new elm_interface_scrollable_paging_get_delegate(paging_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetPaging") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_paging_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_paging_get_static_delegate) });
- }
-
- if (elm_interface_scrollable_paging_set_static_delegate == null)
- {
- elm_interface_scrollable_paging_set_static_delegate = new elm_interface_scrollable_paging_set_delegate(paging_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetPaging") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_paging_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_paging_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_single_direction_get_static_delegate == null)
- {
- elm_interface_scrollable_single_direction_get_static_delegate = new elm_interface_scrollable_single_direction_get_delegate(single_direction_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetSingleDirection") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_single_direction_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_single_direction_get_static_delegate) });
- }
-
- if (elm_interface_scrollable_single_direction_set_static_delegate == null)
- {
- elm_interface_scrollable_single_direction_set_static_delegate = new elm_interface_scrollable_single_direction_set_delegate(single_direction_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetSingleDirection") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_single_direction_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_single_direction_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_step_size_get_static_delegate == null)
- {
- elm_interface_scrollable_step_size_get_static_delegate = new elm_interface_scrollable_step_size_get_delegate(step_size_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetStepSize") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_step_size_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_step_size_get_static_delegate) });
- }
-
- if (elm_interface_scrollable_step_size_set_static_delegate == null)
- {
- elm_interface_scrollable_step_size_set_static_delegate = new elm_interface_scrollable_step_size_set_delegate(step_size_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetStepSize") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_step_size_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_step_size_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_content_loop_get_static_delegate == null)
- {
- elm_interface_scrollable_content_loop_get_static_delegate = new elm_interface_scrollable_content_loop_get_delegate(content_loop_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetContentLoop") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_content_loop_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_content_loop_get_static_delegate) });
- }
-
- if (elm_interface_scrollable_content_loop_set_static_delegate == null)
- {
- elm_interface_scrollable_content_loop_set_static_delegate = new elm_interface_scrollable_content_loop_set_delegate(content_loop_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetContentLoop") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_content_loop_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_content_loop_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_scroll_up_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_scroll_up_cb_set_static_delegate = new elm_interface_scrollable_scroll_up_cb_set_delegate(scroll_up_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetScrollUpCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_scroll_up_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_scroll_up_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_hbar_drag_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_hbar_drag_cb_set_static_delegate = new elm_interface_scrollable_hbar_drag_cb_set_delegate(hbar_drag_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetHbarDragCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_hbar_drag_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_hbar_drag_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_drag_start_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_drag_start_cb_set_static_delegate = new elm_interface_scrollable_drag_start_cb_set_delegate(drag_start_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetDragStartCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_drag_start_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_drag_start_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_scroll_start_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_scroll_start_cb_set_static_delegate = new elm_interface_scrollable_scroll_start_cb_set_delegate(scroll_start_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetScrollStartCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_scroll_start_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_scroll_start_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_freeze_set_static_delegate == null)
- {
- elm_interface_scrollable_freeze_set_static_delegate = new elm_interface_scrollable_freeze_set_delegate(freeze_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetFreeze") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_freeze_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_freeze_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_content_viewport_resize_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_content_viewport_resize_cb_set_static_delegate = new elm_interface_scrollable_content_viewport_resize_cb_set_delegate(content_viewport_resize_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetContentViewportResizeCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_content_viewport_resize_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_content_viewport_resize_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_scroll_left_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_scroll_left_cb_set_static_delegate = new elm_interface_scrollable_scroll_left_cb_set_delegate(scroll_left_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetScrollLeftCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_scroll_left_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_scroll_left_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_vbar_press_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_vbar_press_cb_set_static_delegate = new elm_interface_scrollable_vbar_press_cb_set_delegate(vbar_press_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetVbarPressCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_vbar_press_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_vbar_press_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_hbar_press_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_hbar_press_cb_set_static_delegate = new elm_interface_scrollable_hbar_press_cb_set_delegate(hbar_press_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetHbarPressCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_hbar_press_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_hbar_press_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_hbar_unpress_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_hbar_unpress_cb_set_static_delegate = new elm_interface_scrollable_hbar_unpress_cb_set_delegate(hbar_unpress_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetHbarUnpressCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_hbar_unpress_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_hbar_unpress_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_drag_stop_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_drag_stop_cb_set_static_delegate = new elm_interface_scrollable_drag_stop_cb_set_delegate(drag_stop_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetDragStopCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_drag_stop_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_drag_stop_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_scroll_stop_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_scroll_stop_cb_set_static_delegate = new elm_interface_scrollable_scroll_stop_cb_set_delegate(scroll_stop_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetScrollStopCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_scroll_stop_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_scroll_stop_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_extern_pan_set_static_delegate == null)
- {
- elm_interface_scrollable_extern_pan_set_static_delegate = new elm_interface_scrollable_extern_pan_set_delegate(extern_pan_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetExternPan") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_extern_pan_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_extern_pan_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_page_change_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_page_change_cb_set_static_delegate = new elm_interface_scrollable_page_change_cb_set_delegate(page_change_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetPageChangeCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_page_change_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_page_change_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_hold_set_static_delegate == null)
- {
- elm_interface_scrollable_hold_set_static_delegate = new elm_interface_scrollable_hold_set_delegate(hold_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetHold") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_hold_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_hold_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_animate_start_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_animate_start_cb_set_static_delegate = new elm_interface_scrollable_animate_start_cb_set_delegate(animate_start_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetAnimateStartCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_animate_start_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_animate_start_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_scroll_down_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_scroll_down_cb_set_static_delegate = new elm_interface_scrollable_scroll_down_cb_set_delegate(scroll_down_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetScrollDownCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_scroll_down_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_scroll_down_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_page_relative_set_static_delegate == null)
- {
- elm_interface_scrollable_page_relative_set_static_delegate = new elm_interface_scrollable_page_relative_set_delegate(page_relative_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetPageRelative") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_page_relative_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_page_relative_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_scroll_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_scroll_cb_set_static_delegate = new elm_interface_scrollable_scroll_cb_set_delegate(scroll_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetScrollCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_scroll_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_scroll_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_animate_stop_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_animate_stop_cb_set_static_delegate = new elm_interface_scrollable_animate_stop_cb_set_delegate(animate_stop_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetAnimateStopCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_animate_stop_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_animate_stop_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_content_min_limit_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_content_min_limit_cb_set_static_delegate = new elm_interface_scrollable_content_min_limit_cb_set_delegate(content_min_limit_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetContentMinLimitCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_content_min_limit_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_content_min_limit_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_scroll_right_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_scroll_right_cb_set_static_delegate = new elm_interface_scrollable_scroll_right_cb_set_delegate(scroll_right_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetScrollRightCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_scroll_right_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_scroll_right_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_content_set_static_delegate == null)
- {
- elm_interface_scrollable_content_set_static_delegate = new elm_interface_scrollable_content_set_delegate(scrollable_content_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetScrollableContent") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_content_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_content_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_edge_left_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_edge_left_cb_set_static_delegate = new elm_interface_scrollable_edge_left_cb_set_delegate(edge_left_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetEdgeLeftCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_edge_left_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_edge_left_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_vbar_drag_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_vbar_drag_cb_set_static_delegate = new elm_interface_scrollable_vbar_drag_cb_set_delegate(vbar_drag_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetVbarDragCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_vbar_drag_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_vbar_drag_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_vbar_unpress_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_vbar_unpress_cb_set_static_delegate = new elm_interface_scrollable_vbar_unpress_cb_set_delegate(vbar_unpress_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetVbarUnpressCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_vbar_unpress_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_vbar_unpress_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_edge_bottom_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_edge_bottom_cb_set_static_delegate = new elm_interface_scrollable_edge_bottom_cb_set_delegate(edge_bottom_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetEdgeBottomCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_edge_bottom_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_edge_bottom_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_edge_right_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_edge_right_cb_set_static_delegate = new elm_interface_scrollable_edge_right_cb_set_delegate(edge_right_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetEdgeRightCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_edge_right_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_edge_right_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_edge_top_cb_set_static_delegate == null)
- {
- elm_interface_scrollable_edge_top_cb_set_static_delegate = new elm_interface_scrollable_edge_top_cb_set_delegate(edge_top_cb_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetEdgeTopCb") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_edge_top_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_edge_top_cb_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_objects_set_static_delegate == null)
- {
- elm_interface_scrollable_objects_set_static_delegate = new elm_interface_scrollable_objects_set_delegate(objects_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetObjects") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_objects_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_objects_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_last_page_get_static_delegate == null)
- {
- elm_interface_scrollable_last_page_get_static_delegate = new elm_interface_scrollable_last_page_get_delegate(last_page_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetLastPage") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_last_page_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_last_page_get_static_delegate) });
- }
-
- if (elm_interface_scrollable_current_page_get_static_delegate == null)
- {
- elm_interface_scrollable_current_page_get_static_delegate = new elm_interface_scrollable_current_page_get_delegate(current_page_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetCurrentPage") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_current_page_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_current_page_get_static_delegate) });
- }
-
- if (elm_interface_scrollable_content_viewport_geometry_get_static_delegate == null)
- {
- elm_interface_scrollable_content_viewport_geometry_get_static_delegate = new elm_interface_scrollable_content_viewport_geometry_get_delegate(content_viewport_geometry_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetContentViewportGeometry") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_content_viewport_geometry_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_content_viewport_geometry_get_static_delegate) });
- }
-
- if (elm_interface_scrollable_content_size_get_static_delegate == null)
- {
- elm_interface_scrollable_content_size_get_static_delegate = new elm_interface_scrollable_content_size_get_delegate(content_size_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetContentSize") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_content_size_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_content_size_get_static_delegate) });
- }
-
- if (elm_interface_scrollable_item_loop_enabled_get_static_delegate == null)
- {
- elm_interface_scrollable_item_loop_enabled_get_static_delegate = new elm_interface_scrollable_item_loop_enabled_get_delegate(item_loop_enabled_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetItemLoopEnabled") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_item_loop_enabled_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_item_loop_enabled_get_static_delegate) });
- }
-
- if (elm_interface_scrollable_item_loop_enabled_set_static_delegate == null)
- {
- elm_interface_scrollable_item_loop_enabled_set_static_delegate = new elm_interface_scrollable_item_loop_enabled_set_delegate(item_loop_enabled_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetItemLoopEnabled") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_item_loop_enabled_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_item_loop_enabled_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_content_pos_set_static_delegate == null)
- {
- elm_interface_scrollable_content_pos_set_static_delegate = new elm_interface_scrollable_content_pos_set_delegate(content_pos_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetContentPos") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_content_pos_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_content_pos_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_content_pos_get_static_delegate == null)
- {
- elm_interface_scrollable_content_pos_get_static_delegate = new elm_interface_scrollable_content_pos_get_delegate(content_pos_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetContentPos") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_content_pos_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_content_pos_get_static_delegate) });
- }
-
- if (elm_interface_scrollable_page_show_static_delegate == null)
- {
- elm_interface_scrollable_page_show_static_delegate = new elm_interface_scrollable_page_show_delegate(page_show);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "ShowPage") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_page_show"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_page_show_static_delegate) });
- }
-
- if (elm_interface_scrollable_region_bring_in_static_delegate == null)
- {
- elm_interface_scrollable_region_bring_in_static_delegate = new elm_interface_scrollable_region_bring_in_delegate(region_bring_in);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "RegionBringIn") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_region_bring_in"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_region_bring_in_static_delegate) });
- }
-
- if (elm_interface_scrollable_page_bring_in_static_delegate == null)
- {
- elm_interface_scrollable_page_bring_in_static_delegate = new elm_interface_scrollable_page_bring_in_delegate(page_bring_in);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "PageBringIn") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_page_bring_in"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_page_bring_in_static_delegate) });
- }
-
- if (elm_interface_scrollable_content_region_show_static_delegate == null)
- {
- elm_interface_scrollable_content_region_show_static_delegate = new elm_interface_scrollable_content_region_show_delegate(content_region_show);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "ShowContentRegion") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_content_region_show"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_content_region_show_static_delegate) });
- }
-
- if (elm_interface_scrollable_content_min_limit_static_delegate == null)
- {
- elm_interface_scrollable_content_min_limit_static_delegate = new elm_interface_scrollable_content_min_limit_delegate(content_min_limit);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "ContentMinLimit") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_content_min_limit"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_content_min_limit_static_delegate) });
- }
-
- if (elm_interface_scrollable_wanted_region_set_static_delegate == null)
- {
- elm_interface_scrollable_wanted_region_set_static_delegate = new elm_interface_scrollable_wanted_region_set_delegate(wanted_region_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetWantedRegion") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_wanted_region_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_wanted_region_set_static_delegate) });
- }
-
- if (elm_interface_scrollable_custom_pan_pos_adjust_static_delegate == null)
- {
- elm_interface_scrollable_custom_pan_pos_adjust_static_delegate = new elm_interface_scrollable_custom_pan_pos_adjust_delegate(custom_pan_pos_adjust);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "CustomPanPosAdjust") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_custom_pan_pos_adjust"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_custom_pan_pos_adjust_static_delegate) });
- }
-
- if (efl_ui_widget_focus_manager_create_static_delegate == null)
- {
- efl_ui_widget_focus_manager_create_static_delegate = new efl_ui_widget_focus_manager_create_delegate(focus_manager_create);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "FocusManagerCreate") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_widget_focus_manager_create"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_widget_focus_manager_create_static_delegate) });
- }
-
- if (efl_ui_focus_manager_focus_get_static_delegate == null)
- {
- efl_ui_focus_manager_focus_get_static_delegate = new efl_ui_focus_manager_focus_get_delegate(manager_focus_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetManagerFocus") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_focus_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_focus_get_static_delegate) });
- }
-
- if (efl_ui_focus_manager_focus_set_static_delegate == null)
- {
- efl_ui_focus_manager_focus_set_static_delegate = new efl_ui_focus_manager_focus_set_delegate(manager_focus_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetManagerFocus") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_focus_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_focus_set_static_delegate) });
- }
-
- if (efl_ui_focus_manager_redirect_get_static_delegate == null)
- {
- efl_ui_focus_manager_redirect_get_static_delegate = new efl_ui_focus_manager_redirect_get_delegate(redirect_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetRedirect") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_redirect_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_redirect_get_static_delegate) });
- }
-
- if (efl_ui_focus_manager_redirect_set_static_delegate == null)
- {
- efl_ui_focus_manager_redirect_set_static_delegate = new efl_ui_focus_manager_redirect_set_delegate(redirect_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetRedirect") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_redirect_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_redirect_set_static_delegate) });
- }
-
- if (efl_ui_focus_manager_border_elements_get_static_delegate == null)
- {
- efl_ui_focus_manager_border_elements_get_static_delegate = new efl_ui_focus_manager_border_elements_get_delegate(border_elements_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetBorderElements") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_border_elements_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_border_elements_get_static_delegate) });
- }
-
- if (efl_ui_focus_manager_viewport_elements_get_static_delegate == null)
- {
- efl_ui_focus_manager_viewport_elements_get_static_delegate = new efl_ui_focus_manager_viewport_elements_get_delegate(viewport_elements_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetViewportElements") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_viewport_elements_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_viewport_elements_get_static_delegate) });
- }
-
- if (efl_ui_focus_manager_root_get_static_delegate == null)
- {
- efl_ui_focus_manager_root_get_static_delegate = new efl_ui_focus_manager_root_get_delegate(root_get);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "GetRoot") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_root_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_root_get_static_delegate) });
- }
-
- if (efl_ui_focus_manager_root_set_static_delegate == null)
- {
- efl_ui_focus_manager_root_set_static_delegate = new efl_ui_focus_manager_root_set_delegate(root_set);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetRoot") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_root_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_root_set_static_delegate) });
- }
-
- if (efl_ui_focus_manager_move_static_delegate == null)
- {
- efl_ui_focus_manager_move_static_delegate = new efl_ui_focus_manager_move_delegate(move);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "Move") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_move"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_move_static_delegate) });
- }
-
- if (efl_ui_focus_manager_request_move_static_delegate == null)
- {
- efl_ui_focus_manager_request_move_static_delegate = new efl_ui_focus_manager_request_move_delegate(request_move);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "MoveRequest") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_request_move"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_request_move_static_delegate) });
- }
-
- if (efl_ui_focus_manager_request_subchild_static_delegate == null)
- {
- efl_ui_focus_manager_request_subchild_static_delegate = new efl_ui_focus_manager_request_subchild_delegate(request_subchild);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "RequestSubchild") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_request_subchild"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_request_subchild_static_delegate) });
- }
-
- if (efl_ui_focus_manager_fetch_static_delegate == null)
- {
- efl_ui_focus_manager_fetch_static_delegate = new efl_ui_focus_manager_fetch_delegate(fetch);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "Fetch") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_fetch"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_fetch_static_delegate) });
- }
-
- if (efl_ui_focus_manager_logical_end_static_delegate == null)
- {
- efl_ui_focus_manager_logical_end_static_delegate = new efl_ui_focus_manager_logical_end_delegate(logical_end);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "LogicalEnd") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_logical_end"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_logical_end_static_delegate) });
- }
-
- if (efl_ui_focus_manager_reset_history_static_delegate == null)
- {
- efl_ui_focus_manager_reset_history_static_delegate = new efl_ui_focus_manager_reset_history_delegate(reset_history);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "ResetHistory") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_reset_history"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_reset_history_static_delegate) });
- }
-
- if (efl_ui_focus_manager_pop_history_stack_static_delegate == null)
- {
- efl_ui_focus_manager_pop_history_stack_static_delegate = new efl_ui_focus_manager_pop_history_stack_delegate(pop_history_stack);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "PopHistoryStack") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_pop_history_stack"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_pop_history_stack_static_delegate) });
- }
-
- if (efl_ui_focus_manager_setup_on_first_touch_static_delegate == null)
- {
- efl_ui_focus_manager_setup_on_first_touch_static_delegate = new efl_ui_focus_manager_setup_on_first_touch_delegate(setup_on_first_touch);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "SetupOnFirstTouch") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_setup_on_first_touch"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_setup_on_first_touch_static_delegate) });
- }
-
- if (efl_ui_focus_manager_dirty_logic_freeze_static_delegate == null)
- {
- efl_ui_focus_manager_dirty_logic_freeze_static_delegate = new efl_ui_focus_manager_dirty_logic_freeze_delegate(dirty_logic_freeze);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "FreezeDirtyLogic") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_dirty_logic_freeze"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_dirty_logic_freeze_static_delegate) });
- }
-
- if (efl_ui_focus_manager_dirty_logic_unfreeze_static_delegate == null)
- {
- efl_ui_focus_manager_dirty_logic_unfreeze_static_delegate = new efl_ui_focus_manager_dirty_logic_unfreeze_delegate(dirty_logic_unfreeze);
- }
-
- if (methods.FirstOrDefault(m => m.Name == "DirtyLogicUnfreeze") != null)
- {
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_dirty_logic_unfreeze"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_dirty_logic_unfreeze_static_delegate) });
- }
-
- 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 Elm.IInterfaceScrollableConcrete.elm_interface_scrollable_mixin_get();
- }
-
- #pragma warning disable CA1707, CS1591, SA1300, SA1600
-
-
- private delegate void elm_interface_scrollable_gravity_get_delegate(System.IntPtr obj, System.IntPtr pd, out double x, out double y);
-
-
- public delegate void elm_interface_scrollable_gravity_get_api_delegate(System.IntPtr obj, out double x, out double y);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_gravity_get_api_delegate> elm_interface_scrollable_gravity_get_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_gravity_get_api_delegate>(Module, "elm_interface_scrollable_gravity_get");
-
- private static void gravity_get(System.IntPtr obj, System.IntPtr pd, out double x, out double y)
- {
- Eina.Log.Debug("function elm_interface_scrollable_gravity_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- x = default(double); y = default(double);
- try
- {
- ((IInterfaceScrollable)ws.Target).GetGravity(out x, out y);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_gravity_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out x, out y);
- }
- }
-
- private static elm_interface_scrollable_gravity_get_delegate elm_interface_scrollable_gravity_get_static_delegate;
-
-
- private delegate void elm_interface_scrollable_gravity_set_delegate(System.IntPtr obj, System.IntPtr pd, double x, double y);
-
-
- public delegate void elm_interface_scrollable_gravity_set_api_delegate(System.IntPtr obj, double x, double y);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_gravity_set_api_delegate> elm_interface_scrollable_gravity_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_gravity_set_api_delegate>(Module, "elm_interface_scrollable_gravity_set");
-
- private static void gravity_set(System.IntPtr obj, System.IntPtr pd, double x, double y)
- {
- Eina.Log.Debug("function elm_interface_scrollable_gravity_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetGravity(x, y);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_gravity_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y);
- }
- }
-
- private static elm_interface_scrollable_gravity_set_delegate elm_interface_scrollable_gravity_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_bounce_allow_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] out bool horiz, [MarshalAs(UnmanagedType.U1)] out bool vert);
-
-
- public delegate void elm_interface_scrollable_bounce_allow_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] out bool horiz, [MarshalAs(UnmanagedType.U1)] out bool vert);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_bounce_allow_get_api_delegate> elm_interface_scrollable_bounce_allow_get_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_bounce_allow_get_api_delegate>(Module, "elm_interface_scrollable_bounce_allow_get");
-
- private static void bounce_allow_get(System.IntPtr obj, System.IntPtr pd, out bool horiz, out bool vert)
- {
- Eina.Log.Debug("function elm_interface_scrollable_bounce_allow_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- horiz = default(bool); vert = default(bool);
- try
- {
- ((IInterfaceScrollable)ws.Target).GetBounceAllow(out horiz, out vert);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_bounce_allow_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out horiz, out vert);
- }
- }
-
- private static elm_interface_scrollable_bounce_allow_get_delegate elm_interface_scrollable_bounce_allow_get_static_delegate;
-
-
- private delegate void elm_interface_scrollable_bounce_allow_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool horiz, [MarshalAs(UnmanagedType.U1)] bool vert);
-
-
- public delegate void elm_interface_scrollable_bounce_allow_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool horiz, [MarshalAs(UnmanagedType.U1)] bool vert);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_bounce_allow_set_api_delegate> elm_interface_scrollable_bounce_allow_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_bounce_allow_set_api_delegate>(Module, "elm_interface_scrollable_bounce_allow_set");
-
- private static void bounce_allow_set(System.IntPtr obj, System.IntPtr pd, bool horiz, bool vert)
- {
- Eina.Log.Debug("function elm_interface_scrollable_bounce_allow_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetBounceAllow(horiz, vert);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_bounce_allow_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), horiz, vert);
- }
- }
-
- private static elm_interface_scrollable_bounce_allow_set_delegate elm_interface_scrollable_bounce_allow_set_static_delegate;
-
- [return: MarshalAs(UnmanagedType.U1)]
- private delegate bool elm_interface_scrollable_wheel_disabled_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- [return: MarshalAs(UnmanagedType.U1)]
- public delegate bool elm_interface_scrollable_wheel_disabled_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_wheel_disabled_get_api_delegate> elm_interface_scrollable_wheel_disabled_get_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_wheel_disabled_get_api_delegate>(Module, "elm_interface_scrollable_wheel_disabled_get");
-
- private static bool wheel_disabled_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function elm_interface_scrollable_wheel_disabled_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- bool _ret_var = default(bool);
- try
- {
- _ret_var = ((IInterfaceScrollable)ws.Target).GetWheelDisabled();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return elm_interface_scrollable_wheel_disabled_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static elm_interface_scrollable_wheel_disabled_get_delegate elm_interface_scrollable_wheel_disabled_get_static_delegate;
-
-
- private delegate void elm_interface_scrollable_wheel_disabled_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool disabled);
-
-
- public delegate void elm_interface_scrollable_wheel_disabled_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool disabled);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_wheel_disabled_set_api_delegate> elm_interface_scrollable_wheel_disabled_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_wheel_disabled_set_api_delegate>(Module, "elm_interface_scrollable_wheel_disabled_set");
-
- private static void wheel_disabled_set(System.IntPtr obj, System.IntPtr pd, bool disabled)
- {
- Eina.Log.Debug("function elm_interface_scrollable_wheel_disabled_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetWheelDisabled(disabled);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_wheel_disabled_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), disabled);
- }
- }
-
- private static elm_interface_scrollable_wheel_disabled_set_delegate elm_interface_scrollable_wheel_disabled_set_static_delegate;
-
-
- private delegate Efl.Ui.ScrollBlock elm_interface_scrollable_movement_block_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate Efl.Ui.ScrollBlock elm_interface_scrollable_movement_block_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_movement_block_get_api_delegate> elm_interface_scrollable_movement_block_get_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_movement_block_get_api_delegate>(Module, "elm_interface_scrollable_movement_block_get");
-
- private static Efl.Ui.ScrollBlock movement_block_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function elm_interface_scrollable_movement_block_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Efl.Ui.ScrollBlock _ret_var = default(Efl.Ui.ScrollBlock);
- try
- {
- _ret_var = ((IInterfaceScrollable)ws.Target).GetMovementBlock();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return elm_interface_scrollable_movement_block_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static elm_interface_scrollable_movement_block_get_delegate elm_interface_scrollable_movement_block_get_static_delegate;
-
-
- private delegate void elm_interface_scrollable_movement_block_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ScrollBlock block);
-
-
- public delegate void elm_interface_scrollable_movement_block_set_api_delegate(System.IntPtr obj, Efl.Ui.ScrollBlock block);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_movement_block_set_api_delegate> elm_interface_scrollable_movement_block_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_movement_block_set_api_delegate>(Module, "elm_interface_scrollable_movement_block_set");
-
- private static void movement_block_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ScrollBlock block)
- {
- Eina.Log.Debug("function elm_interface_scrollable_movement_block_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetMovementBlock(block);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_movement_block_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), block);
- }
- }
-
- private static elm_interface_scrollable_movement_block_set_delegate elm_interface_scrollable_movement_block_set_static_delegate;
-
- [return: MarshalAs(UnmanagedType.U1)]
- private delegate bool elm_interface_scrollable_momentum_animator_disabled_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- [return: MarshalAs(UnmanagedType.U1)]
- public delegate bool elm_interface_scrollable_momentum_animator_disabled_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_momentum_animator_disabled_get_api_delegate> elm_interface_scrollable_momentum_animator_disabled_get_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_momentum_animator_disabled_get_api_delegate>(Module, "elm_interface_scrollable_momentum_animator_disabled_get");
-
- private static bool momentum_animator_disabled_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function elm_interface_scrollable_momentum_animator_disabled_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- bool _ret_var = default(bool);
- try
- {
- _ret_var = ((IInterfaceScrollable)ws.Target).GetMomentumAnimatorDisabled();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return elm_interface_scrollable_momentum_animator_disabled_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static elm_interface_scrollable_momentum_animator_disabled_get_delegate elm_interface_scrollable_momentum_animator_disabled_get_static_delegate;
-
-
- private delegate void elm_interface_scrollable_momentum_animator_disabled_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool disabled);
-
-
- public delegate void elm_interface_scrollable_momentum_animator_disabled_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool disabled);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_momentum_animator_disabled_set_api_delegate> elm_interface_scrollable_momentum_animator_disabled_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_momentum_animator_disabled_set_api_delegate>(Module, "elm_interface_scrollable_momentum_animator_disabled_set");
-
- private static void momentum_animator_disabled_set(System.IntPtr obj, System.IntPtr pd, bool disabled)
- {
- Eina.Log.Debug("function elm_interface_scrollable_momentum_animator_disabled_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetMomentumAnimatorDisabled(disabled);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_momentum_animator_disabled_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), disabled);
- }
- }
-
- private static elm_interface_scrollable_momentum_animator_disabled_set_delegate elm_interface_scrollable_momentum_animator_disabled_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_policy_get_delegate(System.IntPtr obj, System.IntPtr pd, out Elm.Scroller.Policy hbar, out Elm.Scroller.Policy vbar);
-
-
- public delegate void elm_interface_scrollable_policy_get_api_delegate(System.IntPtr obj, out Elm.Scroller.Policy hbar, out Elm.Scroller.Policy vbar);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_policy_get_api_delegate> elm_interface_scrollable_policy_get_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_policy_get_api_delegate>(Module, "elm_interface_scrollable_policy_get");
-
- private static void policy_get(System.IntPtr obj, System.IntPtr pd, out Elm.Scroller.Policy hbar, out Elm.Scroller.Policy vbar)
- {
- Eina.Log.Debug("function elm_interface_scrollable_policy_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- hbar = default(Elm.Scroller.Policy); vbar = default(Elm.Scroller.Policy);
- try
- {
- ((IInterfaceScrollable)ws.Target).GetPolicy(out hbar, out vbar);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_policy_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out hbar, out vbar);
- }
- }
-
- private static elm_interface_scrollable_policy_get_delegate elm_interface_scrollable_policy_get_static_delegate;
-
-
- private delegate void elm_interface_scrollable_policy_set_delegate(System.IntPtr obj, System.IntPtr pd, Elm.Scroller.Policy hbar, Elm.Scroller.Policy vbar);
-
-
- public delegate void elm_interface_scrollable_policy_set_api_delegate(System.IntPtr obj, Elm.Scroller.Policy hbar, Elm.Scroller.Policy vbar);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_policy_set_api_delegate> elm_interface_scrollable_policy_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_policy_set_api_delegate>(Module, "elm_interface_scrollable_policy_set");
-
- private static void policy_set(System.IntPtr obj, System.IntPtr pd, Elm.Scroller.Policy hbar, Elm.Scroller.Policy vbar)
- {
- Eina.Log.Debug("function elm_interface_scrollable_policy_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetPolicy(hbar, vbar);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_policy_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), hbar, vbar);
- }
- }
-
- private static elm_interface_scrollable_policy_set_delegate elm_interface_scrollable_policy_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_content_region_get_delegate(System.IntPtr obj, System.IntPtr pd, out int x, out int y, out int w, out int h);
-
-
- public delegate void elm_interface_scrollable_content_region_get_api_delegate(System.IntPtr obj, out int x, out int y, out int w, out int h);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_region_get_api_delegate> elm_interface_scrollable_content_region_get_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_region_get_api_delegate>(Module, "elm_interface_scrollable_content_region_get");
-
- private static void content_region_get(System.IntPtr obj, System.IntPtr pd, out int x, out int y, out int w, out int h)
- {
- Eina.Log.Debug("function elm_interface_scrollable_content_region_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- x = default(int); y = default(int); w = default(int); h = default(int);
- try
- {
- ((IInterfaceScrollable)ws.Target).GetContentRegion(out x, out y, out w, out h);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_content_region_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out x, out y, out w, out h);
- }
- }
-
- private static elm_interface_scrollable_content_region_get_delegate elm_interface_scrollable_content_region_get_static_delegate;
-
-
- private delegate void elm_interface_scrollable_content_region_set_delegate(System.IntPtr obj, System.IntPtr pd, int x, int y, int w, int h);
-
-
- public delegate void elm_interface_scrollable_content_region_set_api_delegate(System.IntPtr obj, int x, int y, int w, int h);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_region_set_api_delegate> elm_interface_scrollable_content_region_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_region_set_api_delegate>(Module, "elm_interface_scrollable_content_region_set");
-
- private static void content_region_set(System.IntPtr obj, System.IntPtr pd, int x, int y, int w, int h)
- {
- Eina.Log.Debug("function elm_interface_scrollable_content_region_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetContentRegion(x, y, w, h);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_content_region_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y, w, h);
- }
- }
-
- private static elm_interface_scrollable_content_region_set_delegate elm_interface_scrollable_content_region_set_static_delegate;
-
- [return: MarshalAs(UnmanagedType.U1)]
- private delegate bool elm_interface_scrollable_content_events_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- [return: MarshalAs(UnmanagedType.U1)]
- public delegate bool elm_interface_scrollable_content_events_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_events_get_api_delegate> elm_interface_scrollable_content_events_get_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_events_get_api_delegate>(Module, "elm_interface_scrollable_content_events_get");
-
- private static bool content_events_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function elm_interface_scrollable_content_events_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- bool _ret_var = default(bool);
- try
- {
- _ret_var = ((IInterfaceScrollable)ws.Target).GetContentEvents();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return elm_interface_scrollable_content_events_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static elm_interface_scrollable_content_events_get_delegate elm_interface_scrollable_content_events_get_static_delegate;
-
-
- private delegate void elm_interface_scrollable_content_events_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool repeat_events);
-
-
- public delegate void elm_interface_scrollable_content_events_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool repeat_events);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_events_set_api_delegate> elm_interface_scrollable_content_events_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_events_set_api_delegate>(Module, "elm_interface_scrollable_content_events_set");
-
- private static void content_events_set(System.IntPtr obj, System.IntPtr pd, bool repeat_events)
- {
- Eina.Log.Debug("function elm_interface_scrollable_content_events_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetContentEvents(repeat_events);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_content_events_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), repeat_events);
- }
- }
-
- private static elm_interface_scrollable_content_events_set_delegate elm_interface_scrollable_content_events_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_page_size_get_delegate(System.IntPtr obj, System.IntPtr pd, out int x, out int y);
-
-
- public delegate void elm_interface_scrollable_page_size_get_api_delegate(System.IntPtr obj, out int x, out int y);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_page_size_get_api_delegate> elm_interface_scrollable_page_size_get_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_page_size_get_api_delegate>(Module, "elm_interface_scrollable_page_size_get");
-
- private static void page_size_get(System.IntPtr obj, System.IntPtr pd, out int x, out int y)
- {
- Eina.Log.Debug("function elm_interface_scrollable_page_size_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- x = default(int); y = default(int);
- try
- {
- ((IInterfaceScrollable)ws.Target).GetPageSize(out x, out y);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_page_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out x, out y);
- }
- }
-
- private static elm_interface_scrollable_page_size_get_delegate elm_interface_scrollable_page_size_get_static_delegate;
-
-
- private delegate void elm_interface_scrollable_page_size_set_delegate(System.IntPtr obj, System.IntPtr pd, int x, int y);
-
-
- public delegate void elm_interface_scrollable_page_size_set_api_delegate(System.IntPtr obj, int x, int y);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_page_size_set_api_delegate> elm_interface_scrollable_page_size_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_page_size_set_api_delegate>(Module, "elm_interface_scrollable_page_size_set");
-
- private static void page_size_set(System.IntPtr obj, System.IntPtr pd, int x, int y)
- {
- Eina.Log.Debug("function elm_interface_scrollable_page_size_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetPageSize(x, y);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_page_size_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y);
- }
- }
-
- private static elm_interface_scrollable_page_size_set_delegate elm_interface_scrollable_page_size_set_static_delegate;
-
- [return: MarshalAs(UnmanagedType.U1)]
- private delegate bool elm_interface_scrollable_bounce_animator_disabled_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- [return: MarshalAs(UnmanagedType.U1)]
- public delegate bool elm_interface_scrollable_bounce_animator_disabled_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_bounce_animator_disabled_get_api_delegate> elm_interface_scrollable_bounce_animator_disabled_get_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_bounce_animator_disabled_get_api_delegate>(Module, "elm_interface_scrollable_bounce_animator_disabled_get");
-
- private static bool bounce_animator_disabled_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function elm_interface_scrollable_bounce_animator_disabled_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- bool _ret_var = default(bool);
- try
- {
- _ret_var = ((IInterfaceScrollable)ws.Target).GetBounceAnimatorDisabled();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return elm_interface_scrollable_bounce_animator_disabled_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static elm_interface_scrollable_bounce_animator_disabled_get_delegate elm_interface_scrollable_bounce_animator_disabled_get_static_delegate;
-
-
- private delegate void elm_interface_scrollable_bounce_animator_disabled_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool disabled);
-
-
- public delegate void elm_interface_scrollable_bounce_animator_disabled_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool disabled);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_bounce_animator_disabled_set_api_delegate> elm_interface_scrollable_bounce_animator_disabled_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_bounce_animator_disabled_set_api_delegate>(Module, "elm_interface_scrollable_bounce_animator_disabled_set");
-
- private static void bounce_animator_disabled_set(System.IntPtr obj, System.IntPtr pd, bool disabled)
- {
- Eina.Log.Debug("function elm_interface_scrollable_bounce_animator_disabled_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetBounceAnimatorDisabled(disabled);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_bounce_animator_disabled_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), disabled);
- }
- }
-
- private static elm_interface_scrollable_bounce_animator_disabled_set_delegate elm_interface_scrollable_bounce_animator_disabled_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_page_scroll_limit_get_delegate(System.IntPtr obj, System.IntPtr pd, out int page_limit_h, out int page_limit_v);
-
-
- public delegate void elm_interface_scrollable_page_scroll_limit_get_api_delegate(System.IntPtr obj, out int page_limit_h, out int page_limit_v);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_page_scroll_limit_get_api_delegate> elm_interface_scrollable_page_scroll_limit_get_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_page_scroll_limit_get_api_delegate>(Module, "elm_interface_scrollable_page_scroll_limit_get");
-
- private static void page_scroll_limit_get(System.IntPtr obj, System.IntPtr pd, out int page_limit_h, out int page_limit_v)
- {
- Eina.Log.Debug("function elm_interface_scrollable_page_scroll_limit_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- page_limit_h = default(int); page_limit_v = default(int);
- try
- {
- ((IInterfaceScrollable)ws.Target).GetPageScrollLimit(out page_limit_h, out page_limit_v);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_page_scroll_limit_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out page_limit_h, out page_limit_v);
- }
- }
-
- private static elm_interface_scrollable_page_scroll_limit_get_delegate elm_interface_scrollable_page_scroll_limit_get_static_delegate;
-
-
- private delegate void elm_interface_scrollable_page_scroll_limit_set_delegate(System.IntPtr obj, System.IntPtr pd, int page_limit_h, int page_limit_v);
-
-
- public delegate void elm_interface_scrollable_page_scroll_limit_set_api_delegate(System.IntPtr obj, int page_limit_h, int page_limit_v);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_page_scroll_limit_set_api_delegate> elm_interface_scrollable_page_scroll_limit_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_page_scroll_limit_set_api_delegate>(Module, "elm_interface_scrollable_page_scroll_limit_set");
-
- private static void page_scroll_limit_set(System.IntPtr obj, System.IntPtr pd, int page_limit_h, int page_limit_v)
- {
- Eina.Log.Debug("function elm_interface_scrollable_page_scroll_limit_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetPageScrollLimit(page_limit_h, page_limit_v);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_page_scroll_limit_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), page_limit_h, page_limit_v);
- }
- }
-
- private static elm_interface_scrollable_page_scroll_limit_set_delegate elm_interface_scrollable_page_scroll_limit_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_page_snap_allow_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] out bool horiz, [MarshalAs(UnmanagedType.U1)] out bool vert);
-
-
- public delegate void elm_interface_scrollable_page_snap_allow_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] out bool horiz, [MarshalAs(UnmanagedType.U1)] out bool vert);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_page_snap_allow_get_api_delegate> elm_interface_scrollable_page_snap_allow_get_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_page_snap_allow_get_api_delegate>(Module, "elm_interface_scrollable_page_snap_allow_get");
-
- private static void page_snap_allow_get(System.IntPtr obj, System.IntPtr pd, out bool horiz, out bool vert)
- {
- Eina.Log.Debug("function elm_interface_scrollable_page_snap_allow_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- horiz = default(bool); vert = default(bool);
- try
- {
- ((IInterfaceScrollable)ws.Target).GetPageSnapAllow(out horiz, out vert);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_page_snap_allow_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out horiz, out vert);
- }
- }
-
- private static elm_interface_scrollable_page_snap_allow_get_delegate elm_interface_scrollable_page_snap_allow_get_static_delegate;
-
-
- private delegate void elm_interface_scrollable_page_snap_allow_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool horiz, [MarshalAs(UnmanagedType.U1)] bool vert);
-
-
- public delegate void elm_interface_scrollable_page_snap_allow_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool horiz, [MarshalAs(UnmanagedType.U1)] bool vert);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_page_snap_allow_set_api_delegate> elm_interface_scrollable_page_snap_allow_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_page_snap_allow_set_api_delegate>(Module, "elm_interface_scrollable_page_snap_allow_set");
-
- private static void page_snap_allow_set(System.IntPtr obj, System.IntPtr pd, bool horiz, bool vert)
- {
- Eina.Log.Debug("function elm_interface_scrollable_page_snap_allow_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetPageSnapAllow(horiz, vert);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_page_snap_allow_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), horiz, vert);
- }
- }
-
- private static elm_interface_scrollable_page_snap_allow_set_delegate elm_interface_scrollable_page_snap_allow_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_paging_get_delegate(System.IntPtr obj, System.IntPtr pd, out double pagerel_h, out double pagerel_v, out int pagesize_h, out int pagesize_v);
-
-
- public delegate void elm_interface_scrollable_paging_get_api_delegate(System.IntPtr obj, out double pagerel_h, out double pagerel_v, out int pagesize_h, out int pagesize_v);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_paging_get_api_delegate> elm_interface_scrollable_paging_get_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_paging_get_api_delegate>(Module, "elm_interface_scrollable_paging_get");
-
- private static void paging_get(System.IntPtr obj, System.IntPtr pd, out double pagerel_h, out double pagerel_v, out int pagesize_h, out int pagesize_v)
- {
- Eina.Log.Debug("function elm_interface_scrollable_paging_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- pagerel_h = default(double); pagerel_v = default(double); pagesize_h = default(int); pagesize_v = default(int);
- try
- {
- ((IInterfaceScrollable)ws.Target).GetPaging(out pagerel_h, out pagerel_v, out pagesize_h, out pagesize_v);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_paging_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out pagerel_h, out pagerel_v, out pagesize_h, out pagesize_v);
- }
- }
-
- private static elm_interface_scrollable_paging_get_delegate elm_interface_scrollable_paging_get_static_delegate;
-
-
- private delegate void elm_interface_scrollable_paging_set_delegate(System.IntPtr obj, System.IntPtr pd, double pagerel_h, double pagerel_v, int pagesize_h, int pagesize_v);
-
-
- public delegate void elm_interface_scrollable_paging_set_api_delegate(System.IntPtr obj, double pagerel_h, double pagerel_v, int pagesize_h, int pagesize_v);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_paging_set_api_delegate> elm_interface_scrollable_paging_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_paging_set_api_delegate>(Module, "elm_interface_scrollable_paging_set");
-
- private static void paging_set(System.IntPtr obj, System.IntPtr pd, double pagerel_h, double pagerel_v, int pagesize_h, int pagesize_v)
- {
- Eina.Log.Debug("function elm_interface_scrollable_paging_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetPaging(pagerel_h, pagerel_v, pagesize_h, pagesize_v);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_paging_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), pagerel_h, pagerel_v, pagesize_h, pagesize_v);
- }
- }
-
- private static elm_interface_scrollable_paging_set_delegate elm_interface_scrollable_paging_set_static_delegate;
-
-
- private delegate Elm.Scroller.SingleDirection elm_interface_scrollable_single_direction_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate Elm.Scroller.SingleDirection elm_interface_scrollable_single_direction_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_single_direction_get_api_delegate> elm_interface_scrollable_single_direction_get_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_single_direction_get_api_delegate>(Module, "elm_interface_scrollable_single_direction_get");
-
- private static Elm.Scroller.SingleDirection single_direction_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function elm_interface_scrollable_single_direction_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Elm.Scroller.SingleDirection _ret_var = default(Elm.Scroller.SingleDirection);
- try
- {
- _ret_var = ((IInterfaceScrollable)ws.Target).GetSingleDirection();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return elm_interface_scrollable_single_direction_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static elm_interface_scrollable_single_direction_get_delegate elm_interface_scrollable_single_direction_get_static_delegate;
-
-
- private delegate void elm_interface_scrollable_single_direction_set_delegate(System.IntPtr obj, System.IntPtr pd, Elm.Scroller.SingleDirection single_dir);
-
-
- public delegate void elm_interface_scrollable_single_direction_set_api_delegate(System.IntPtr obj, Elm.Scroller.SingleDirection single_dir);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_single_direction_set_api_delegate> elm_interface_scrollable_single_direction_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_single_direction_set_api_delegate>(Module, "elm_interface_scrollable_single_direction_set");
-
- private static void single_direction_set(System.IntPtr obj, System.IntPtr pd, Elm.Scroller.SingleDirection single_dir)
- {
- Eina.Log.Debug("function elm_interface_scrollable_single_direction_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetSingleDirection(single_dir);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_single_direction_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), single_dir);
- }
- }
-
- private static elm_interface_scrollable_single_direction_set_delegate elm_interface_scrollable_single_direction_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_step_size_get_delegate(System.IntPtr obj, System.IntPtr pd, out int x, out int y);
-
-
- public delegate void elm_interface_scrollable_step_size_get_api_delegate(System.IntPtr obj, out int x, out int y);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_step_size_get_api_delegate> elm_interface_scrollable_step_size_get_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_step_size_get_api_delegate>(Module, "elm_interface_scrollable_step_size_get");
-
- private static void step_size_get(System.IntPtr obj, System.IntPtr pd, out int x, out int y)
- {
- Eina.Log.Debug("function elm_interface_scrollable_step_size_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- x = default(int); y = default(int);
- try
- {
- ((IInterfaceScrollable)ws.Target).GetStepSize(out x, out y);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_step_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out x, out y);
- }
- }
-
- private static elm_interface_scrollable_step_size_get_delegate elm_interface_scrollable_step_size_get_static_delegate;
-
-
- private delegate void elm_interface_scrollable_step_size_set_delegate(System.IntPtr obj, System.IntPtr pd, int x, int y);
-
-
- public delegate void elm_interface_scrollable_step_size_set_api_delegate(System.IntPtr obj, int x, int y);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_step_size_set_api_delegate> elm_interface_scrollable_step_size_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_step_size_set_api_delegate>(Module, "elm_interface_scrollable_step_size_set");
-
- private static void step_size_set(System.IntPtr obj, System.IntPtr pd, int x, int y)
- {
- Eina.Log.Debug("function elm_interface_scrollable_step_size_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetStepSize(x, y);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_step_size_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y);
- }
- }
-
- private static elm_interface_scrollable_step_size_set_delegate elm_interface_scrollable_step_size_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_content_loop_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] out bool loop_h, [MarshalAs(UnmanagedType.U1)] out bool loop_v);
-
-
- public delegate void elm_interface_scrollable_content_loop_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] out bool loop_h, [MarshalAs(UnmanagedType.U1)] out bool loop_v);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_loop_get_api_delegate> elm_interface_scrollable_content_loop_get_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_loop_get_api_delegate>(Module, "elm_interface_scrollable_content_loop_get");
-
- private static void content_loop_get(System.IntPtr obj, System.IntPtr pd, out bool loop_h, out bool loop_v)
- {
- Eina.Log.Debug("function elm_interface_scrollable_content_loop_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- loop_h = default(bool); loop_v = default(bool);
- try
- {
- ((IInterfaceScrollable)ws.Target).GetContentLoop(out loop_h, out loop_v);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_content_loop_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out loop_h, out loop_v);
- }
- }
-
- private static elm_interface_scrollable_content_loop_get_delegate elm_interface_scrollable_content_loop_get_static_delegate;
-
-
- private delegate void elm_interface_scrollable_content_loop_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool loop_h, [MarshalAs(UnmanagedType.U1)] bool loop_v);
-
-
- public delegate void elm_interface_scrollable_content_loop_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool loop_h, [MarshalAs(UnmanagedType.U1)] bool loop_v);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_loop_set_api_delegate> elm_interface_scrollable_content_loop_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_loop_set_api_delegate>(Module, "elm_interface_scrollable_content_loop_set");
-
- private static void content_loop_set(System.IntPtr obj, System.IntPtr pd, bool loop_h, bool loop_v)
- {
- Eina.Log.Debug("function elm_interface_scrollable_content_loop_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetContentLoop(loop_h, loop_v);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_content_loop_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), loop_h, loop_v);
- }
- }
-
- private static elm_interface_scrollable_content_loop_set_delegate elm_interface_scrollable_content_loop_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_scroll_up_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb scroll_up_cb);
-
-
- public delegate void elm_interface_scrollable_scroll_up_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb scroll_up_cb);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_scroll_up_cb_set_api_delegate> elm_interface_scrollable_scroll_up_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_scroll_up_cb_set_api_delegate>(Module, "elm_interface_scrollable_scroll_up_cb_set");
-
- private static void scroll_up_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb scroll_up_cb)
- {
- Eina.Log.Debug("function elm_interface_scrollable_scroll_up_cb_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetScrollUpCb(scroll_up_cb);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_scroll_up_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), scroll_up_cb);
- }
- }
-
- private static elm_interface_scrollable_scroll_up_cb_set_delegate elm_interface_scrollable_scroll_up_cb_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_hbar_drag_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb hbar_drag_cb);
-
-
- public delegate void elm_interface_scrollable_hbar_drag_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb hbar_drag_cb);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_hbar_drag_cb_set_api_delegate> elm_interface_scrollable_hbar_drag_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_hbar_drag_cb_set_api_delegate>(Module, "elm_interface_scrollable_hbar_drag_cb_set");
-
- private static void hbar_drag_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb hbar_drag_cb)
- {
- Eina.Log.Debug("function elm_interface_scrollable_hbar_drag_cb_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetHbarDragCb(hbar_drag_cb);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_hbar_drag_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), hbar_drag_cb);
- }
- }
-
- private static elm_interface_scrollable_hbar_drag_cb_set_delegate elm_interface_scrollable_hbar_drag_cb_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_drag_start_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb drag_start_cb);
-
-
- public delegate void elm_interface_scrollable_drag_start_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb drag_start_cb);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_drag_start_cb_set_api_delegate> elm_interface_scrollable_drag_start_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_drag_start_cb_set_api_delegate>(Module, "elm_interface_scrollable_drag_start_cb_set");
-
- private static void drag_start_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb drag_start_cb)
- {
- Eina.Log.Debug("function elm_interface_scrollable_drag_start_cb_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetDragStartCb(drag_start_cb);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_drag_start_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), drag_start_cb);
- }
- }
-
- private static elm_interface_scrollable_drag_start_cb_set_delegate elm_interface_scrollable_drag_start_cb_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_scroll_start_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb scroll_start_cb);
-
-
- public delegate void elm_interface_scrollable_scroll_start_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb scroll_start_cb);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_scroll_start_cb_set_api_delegate> elm_interface_scrollable_scroll_start_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_scroll_start_cb_set_api_delegate>(Module, "elm_interface_scrollable_scroll_start_cb_set");
-
- private static void scroll_start_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb scroll_start_cb)
- {
- Eina.Log.Debug("function elm_interface_scrollable_scroll_start_cb_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetScrollStartCb(scroll_start_cb);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_scroll_start_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), scroll_start_cb);
- }
- }
-
- private static elm_interface_scrollable_scroll_start_cb_set_delegate elm_interface_scrollable_scroll_start_cb_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_freeze_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool freeze);
-
-
- public delegate void elm_interface_scrollable_freeze_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool freeze);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_freeze_set_api_delegate> elm_interface_scrollable_freeze_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_freeze_set_api_delegate>(Module, "elm_interface_scrollable_freeze_set");
-
- private static void freeze_set(System.IntPtr obj, System.IntPtr pd, bool freeze)
- {
- Eina.Log.Debug("function elm_interface_scrollable_freeze_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetFreeze(freeze);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_freeze_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), freeze);
- }
- }
-
- private static elm_interface_scrollable_freeze_set_delegate elm_interface_scrollable_freeze_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_content_viewport_resize_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableResizeCb viewport_resize_cb);
-
-
- public delegate void elm_interface_scrollable_content_viewport_resize_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableResizeCb viewport_resize_cb);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_viewport_resize_cb_set_api_delegate> elm_interface_scrollable_content_viewport_resize_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_viewport_resize_cb_set_api_delegate>(Module, "elm_interface_scrollable_content_viewport_resize_cb_set");
-
- private static void content_viewport_resize_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableResizeCb viewport_resize_cb)
- {
- Eina.Log.Debug("function elm_interface_scrollable_content_viewport_resize_cb_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetContentViewportResizeCb(viewport_resize_cb);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_content_viewport_resize_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), viewport_resize_cb);
- }
- }
-
- private static elm_interface_scrollable_content_viewport_resize_cb_set_delegate elm_interface_scrollable_content_viewport_resize_cb_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_scroll_left_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb scroll_left_cb);
-
-
- public delegate void elm_interface_scrollable_scroll_left_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb scroll_left_cb);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_scroll_left_cb_set_api_delegate> elm_interface_scrollable_scroll_left_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_scroll_left_cb_set_api_delegate>(Module, "elm_interface_scrollable_scroll_left_cb_set");
-
- private static void scroll_left_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb scroll_left_cb)
- {
- Eina.Log.Debug("function elm_interface_scrollable_scroll_left_cb_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetScrollLeftCb(scroll_left_cb);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_scroll_left_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), scroll_left_cb);
- }
- }
-
- private static elm_interface_scrollable_scroll_left_cb_set_delegate elm_interface_scrollable_scroll_left_cb_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_vbar_press_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb vbar_press_cb);
-
-
- public delegate void elm_interface_scrollable_vbar_press_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb vbar_press_cb);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_vbar_press_cb_set_api_delegate> elm_interface_scrollable_vbar_press_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_vbar_press_cb_set_api_delegate>(Module, "elm_interface_scrollable_vbar_press_cb_set");
-
- private static void vbar_press_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb vbar_press_cb)
- {
- Eina.Log.Debug("function elm_interface_scrollable_vbar_press_cb_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetVbarPressCb(vbar_press_cb);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_vbar_press_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), vbar_press_cb);
- }
- }
-
- private static elm_interface_scrollable_vbar_press_cb_set_delegate elm_interface_scrollable_vbar_press_cb_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_hbar_press_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb hbar_press_cb);
-
-
- public delegate void elm_interface_scrollable_hbar_press_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb hbar_press_cb);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_hbar_press_cb_set_api_delegate> elm_interface_scrollable_hbar_press_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_hbar_press_cb_set_api_delegate>(Module, "elm_interface_scrollable_hbar_press_cb_set");
-
- private static void hbar_press_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb hbar_press_cb)
- {
- Eina.Log.Debug("function elm_interface_scrollable_hbar_press_cb_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetHbarPressCb(hbar_press_cb);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_hbar_press_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), hbar_press_cb);
- }
- }
-
- private static elm_interface_scrollable_hbar_press_cb_set_delegate elm_interface_scrollable_hbar_press_cb_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_hbar_unpress_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb hbar_unpress_cb);
-
-
- public delegate void elm_interface_scrollable_hbar_unpress_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb hbar_unpress_cb);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_hbar_unpress_cb_set_api_delegate> elm_interface_scrollable_hbar_unpress_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_hbar_unpress_cb_set_api_delegate>(Module, "elm_interface_scrollable_hbar_unpress_cb_set");
-
- private static void hbar_unpress_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb hbar_unpress_cb)
- {
- Eina.Log.Debug("function elm_interface_scrollable_hbar_unpress_cb_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetHbarUnpressCb(hbar_unpress_cb);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_hbar_unpress_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), hbar_unpress_cb);
- }
- }
-
- private static elm_interface_scrollable_hbar_unpress_cb_set_delegate elm_interface_scrollable_hbar_unpress_cb_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_drag_stop_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb drag_stop_cb);
-
-
- public delegate void elm_interface_scrollable_drag_stop_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb drag_stop_cb);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_drag_stop_cb_set_api_delegate> elm_interface_scrollable_drag_stop_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_drag_stop_cb_set_api_delegate>(Module, "elm_interface_scrollable_drag_stop_cb_set");
-
- private static void drag_stop_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb drag_stop_cb)
- {
- Eina.Log.Debug("function elm_interface_scrollable_drag_stop_cb_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetDragStopCb(drag_stop_cb);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_drag_stop_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), drag_stop_cb);
- }
- }
-
- private static elm_interface_scrollable_drag_stop_cb_set_delegate elm_interface_scrollable_drag_stop_cb_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_scroll_stop_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb scroll_stop_cb);
-
-
- public delegate void elm_interface_scrollable_scroll_stop_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb scroll_stop_cb);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_scroll_stop_cb_set_api_delegate> elm_interface_scrollable_scroll_stop_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_scroll_stop_cb_set_api_delegate>(Module, "elm_interface_scrollable_scroll_stop_cb_set");
-
- private static void scroll_stop_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb scroll_stop_cb)
- {
- Eina.Log.Debug("function elm_interface_scrollable_scroll_stop_cb_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetScrollStopCb(scroll_stop_cb);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_scroll_stop_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), scroll_stop_cb);
- }
- }
-
- private static elm_interface_scrollable_scroll_stop_cb_set_delegate elm_interface_scrollable_scroll_stop_cb_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_extern_pan_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Object pan);
-
-
- public delegate void elm_interface_scrollable_extern_pan_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Object pan);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_extern_pan_set_api_delegate> elm_interface_scrollable_extern_pan_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_extern_pan_set_api_delegate>(Module, "elm_interface_scrollable_extern_pan_set");
-
- private static void extern_pan_set(System.IntPtr obj, System.IntPtr pd, Efl.Canvas.Object pan)
- {
- Eina.Log.Debug("function elm_interface_scrollable_extern_pan_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetExternPan(pan);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_extern_pan_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), pan);
- }
- }
-
- private static elm_interface_scrollable_extern_pan_set_delegate elm_interface_scrollable_extern_pan_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_page_change_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb page_change_cb);
-
-
- public delegate void elm_interface_scrollable_page_change_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb page_change_cb);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_page_change_cb_set_api_delegate> elm_interface_scrollable_page_change_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_page_change_cb_set_api_delegate>(Module, "elm_interface_scrollable_page_change_cb_set");
-
- private static void page_change_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb page_change_cb)
- {
- Eina.Log.Debug("function elm_interface_scrollable_page_change_cb_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetPageChangeCb(page_change_cb);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_page_change_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), page_change_cb);
- }
- }
-
- private static elm_interface_scrollable_page_change_cb_set_delegate elm_interface_scrollable_page_change_cb_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_hold_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool hold);
-
-
- public delegate void elm_interface_scrollable_hold_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool hold);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_hold_set_api_delegate> elm_interface_scrollable_hold_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_hold_set_api_delegate>(Module, "elm_interface_scrollable_hold_set");
-
- private static void hold_set(System.IntPtr obj, System.IntPtr pd, bool hold)
- {
- Eina.Log.Debug("function elm_interface_scrollable_hold_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetHold(hold);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_hold_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), hold);
- }
- }
-
- private static elm_interface_scrollable_hold_set_delegate elm_interface_scrollable_hold_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_animate_start_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb animate_start_cb);
-
-
- public delegate void elm_interface_scrollable_animate_start_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb animate_start_cb);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_animate_start_cb_set_api_delegate> elm_interface_scrollable_animate_start_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_animate_start_cb_set_api_delegate>(Module, "elm_interface_scrollable_animate_start_cb_set");
-
- private static void animate_start_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb animate_start_cb)
- {
- Eina.Log.Debug("function elm_interface_scrollable_animate_start_cb_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetAnimateStartCb(animate_start_cb);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_animate_start_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), animate_start_cb);
- }
- }
-
- private static elm_interface_scrollable_animate_start_cb_set_delegate elm_interface_scrollable_animate_start_cb_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_scroll_down_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb scroll_down_cb);
-
-
- public delegate void elm_interface_scrollable_scroll_down_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb scroll_down_cb);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_scroll_down_cb_set_api_delegate> elm_interface_scrollable_scroll_down_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_scroll_down_cb_set_api_delegate>(Module, "elm_interface_scrollable_scroll_down_cb_set");
-
- private static void scroll_down_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb scroll_down_cb)
- {
- Eina.Log.Debug("function elm_interface_scrollable_scroll_down_cb_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetScrollDownCb(scroll_down_cb);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_scroll_down_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), scroll_down_cb);
- }
- }
-
- private static elm_interface_scrollable_scroll_down_cb_set_delegate elm_interface_scrollable_scroll_down_cb_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_page_relative_set_delegate(System.IntPtr obj, System.IntPtr pd, double h_pagerel, double v_pagerel);
-
-
- public delegate void elm_interface_scrollable_page_relative_set_api_delegate(System.IntPtr obj, double h_pagerel, double v_pagerel);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_page_relative_set_api_delegate> elm_interface_scrollable_page_relative_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_page_relative_set_api_delegate>(Module, "elm_interface_scrollable_page_relative_set");
-
- private static void page_relative_set(System.IntPtr obj, System.IntPtr pd, double h_pagerel, double v_pagerel)
- {
- Eina.Log.Debug("function elm_interface_scrollable_page_relative_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetPageRelative(h_pagerel, v_pagerel);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_page_relative_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), h_pagerel, v_pagerel);
- }
- }
-
- private static elm_interface_scrollable_page_relative_set_delegate elm_interface_scrollable_page_relative_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_scroll_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb scroll_cb);
-
-
- public delegate void elm_interface_scrollable_scroll_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb scroll_cb);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_scroll_cb_set_api_delegate> elm_interface_scrollable_scroll_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_scroll_cb_set_api_delegate>(Module, "elm_interface_scrollable_scroll_cb_set");
-
- private static void scroll_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb scroll_cb)
- {
- Eina.Log.Debug("function elm_interface_scrollable_scroll_cb_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetScrollCb(scroll_cb);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_scroll_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), scroll_cb);
- }
- }
-
- private static elm_interface_scrollable_scroll_cb_set_delegate elm_interface_scrollable_scroll_cb_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_animate_stop_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb animate_stop_cb);
-
-
- public delegate void elm_interface_scrollable_animate_stop_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb animate_stop_cb);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_animate_stop_cb_set_api_delegate> elm_interface_scrollable_animate_stop_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_animate_stop_cb_set_api_delegate>(Module, "elm_interface_scrollable_animate_stop_cb_set");
-
- private static void animate_stop_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb animate_stop_cb)
- {
- Eina.Log.Debug("function elm_interface_scrollable_animate_stop_cb_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetAnimateStopCb(animate_stop_cb);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_animate_stop_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), animate_stop_cb);
- }
- }
-
- private static elm_interface_scrollable_animate_stop_cb_set_delegate elm_interface_scrollable_animate_stop_cb_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_content_min_limit_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableMinLimitCb min_limit_cb);
-
-
- public delegate void elm_interface_scrollable_content_min_limit_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableMinLimitCb min_limit_cb);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_min_limit_cb_set_api_delegate> elm_interface_scrollable_content_min_limit_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_min_limit_cb_set_api_delegate>(Module, "elm_interface_scrollable_content_min_limit_cb_set");
-
- private static void content_min_limit_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableMinLimitCb min_limit_cb)
- {
- Eina.Log.Debug("function elm_interface_scrollable_content_min_limit_cb_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetContentMinLimitCb(min_limit_cb);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_content_min_limit_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), min_limit_cb);
- }
- }
-
- private static elm_interface_scrollable_content_min_limit_cb_set_delegate elm_interface_scrollable_content_min_limit_cb_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_scroll_right_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb scroll_right_cb);
-
-
- public delegate void elm_interface_scrollable_scroll_right_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb scroll_right_cb);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_scroll_right_cb_set_api_delegate> elm_interface_scrollable_scroll_right_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_scroll_right_cb_set_api_delegate>(Module, "elm_interface_scrollable_scroll_right_cb_set");
-
- private static void scroll_right_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb scroll_right_cb)
- {
- Eina.Log.Debug("function elm_interface_scrollable_scroll_right_cb_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetScrollRightCb(scroll_right_cb);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_scroll_right_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), scroll_right_cb);
- }
- }
-
- private static elm_interface_scrollable_scroll_right_cb_set_delegate elm_interface_scrollable_scroll_right_cb_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_content_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Object content);
-
-
- public delegate void elm_interface_scrollable_content_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Object content);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_set_api_delegate> elm_interface_scrollable_content_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_set_api_delegate>(Module, "elm_interface_scrollable_content_set");
-
- private static void scrollable_content_set(System.IntPtr obj, System.IntPtr pd, Efl.Canvas.Object content)
- {
- Eina.Log.Debug("function elm_interface_scrollable_content_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetScrollableContent(content);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_content_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), content);
- }
- }
-
- private static elm_interface_scrollable_content_set_delegate elm_interface_scrollable_content_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_edge_left_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb edge_left_cb);
-
-
- public delegate void elm_interface_scrollable_edge_left_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb edge_left_cb);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_edge_left_cb_set_api_delegate> elm_interface_scrollable_edge_left_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_edge_left_cb_set_api_delegate>(Module, "elm_interface_scrollable_edge_left_cb_set");
-
- private static void edge_left_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb edge_left_cb)
- {
- Eina.Log.Debug("function elm_interface_scrollable_edge_left_cb_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetEdgeLeftCb(edge_left_cb);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_edge_left_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), edge_left_cb);
- }
- }
-
- private static elm_interface_scrollable_edge_left_cb_set_delegate elm_interface_scrollable_edge_left_cb_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_vbar_drag_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb vbar_drag_cb);
-
-
- public delegate void elm_interface_scrollable_vbar_drag_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb vbar_drag_cb);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_vbar_drag_cb_set_api_delegate> elm_interface_scrollable_vbar_drag_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_vbar_drag_cb_set_api_delegate>(Module, "elm_interface_scrollable_vbar_drag_cb_set");
-
- private static void vbar_drag_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb vbar_drag_cb)
- {
- Eina.Log.Debug("function elm_interface_scrollable_vbar_drag_cb_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetVbarDragCb(vbar_drag_cb);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_vbar_drag_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), vbar_drag_cb);
- }
- }
-
- private static elm_interface_scrollable_vbar_drag_cb_set_delegate elm_interface_scrollable_vbar_drag_cb_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_vbar_unpress_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb vbar_unpress_cb);
-
-
- public delegate void elm_interface_scrollable_vbar_unpress_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb vbar_unpress_cb);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_vbar_unpress_cb_set_api_delegate> elm_interface_scrollable_vbar_unpress_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_vbar_unpress_cb_set_api_delegate>(Module, "elm_interface_scrollable_vbar_unpress_cb_set");
-
- private static void vbar_unpress_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb vbar_unpress_cb)
- {
- Eina.Log.Debug("function elm_interface_scrollable_vbar_unpress_cb_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetVbarUnpressCb(vbar_unpress_cb);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_vbar_unpress_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), vbar_unpress_cb);
- }
- }
-
- private static elm_interface_scrollable_vbar_unpress_cb_set_delegate elm_interface_scrollable_vbar_unpress_cb_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_edge_bottom_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb edge_bottom_cb);
-
-
- public delegate void elm_interface_scrollable_edge_bottom_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb edge_bottom_cb);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_edge_bottom_cb_set_api_delegate> elm_interface_scrollable_edge_bottom_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_edge_bottom_cb_set_api_delegate>(Module, "elm_interface_scrollable_edge_bottom_cb_set");
-
- private static void edge_bottom_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb edge_bottom_cb)
- {
- Eina.Log.Debug("function elm_interface_scrollable_edge_bottom_cb_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetEdgeBottomCb(edge_bottom_cb);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_edge_bottom_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), edge_bottom_cb);
- }
- }
-
- private static elm_interface_scrollable_edge_bottom_cb_set_delegate elm_interface_scrollable_edge_bottom_cb_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_edge_right_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb edge_right_cb);
-
-
- public delegate void elm_interface_scrollable_edge_right_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb edge_right_cb);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_edge_right_cb_set_api_delegate> elm_interface_scrollable_edge_right_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_edge_right_cb_set_api_delegate>(Module, "elm_interface_scrollable_edge_right_cb_set");
-
- private static void edge_right_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb edge_right_cb)
- {
- Eina.Log.Debug("function elm_interface_scrollable_edge_right_cb_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetEdgeRightCb(edge_right_cb);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_edge_right_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), edge_right_cb);
- }
- }
-
- private static elm_interface_scrollable_edge_right_cb_set_delegate elm_interface_scrollable_edge_right_cb_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_edge_top_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb edge_top_cb);
-
-
- public delegate void elm_interface_scrollable_edge_top_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb edge_top_cb);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_edge_top_cb_set_api_delegate> elm_interface_scrollable_edge_top_cb_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_edge_top_cb_set_api_delegate>(Module, "elm_interface_scrollable_edge_top_cb_set");
-
- private static void edge_top_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb edge_top_cb)
- {
- Eina.Log.Debug("function elm_interface_scrollable_edge_top_cb_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetEdgeTopCb(edge_top_cb);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_edge_top_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), edge_top_cb);
- }
- }
-
- private static elm_interface_scrollable_edge_top_cb_set_delegate elm_interface_scrollable_edge_top_cb_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_objects_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Object edje_object, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Object hit_rectangle);
-
-
- public delegate void elm_interface_scrollable_objects_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Object edje_object, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Object hit_rectangle);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_objects_set_api_delegate> elm_interface_scrollable_objects_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_objects_set_api_delegate>(Module, "elm_interface_scrollable_objects_set");
-
- private static void objects_set(System.IntPtr obj, System.IntPtr pd, Efl.Canvas.Object edje_object, Efl.Canvas.Object hit_rectangle)
- {
- Eina.Log.Debug("function elm_interface_scrollable_objects_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetObjects(edje_object, hit_rectangle);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_objects_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), edje_object, hit_rectangle);
- }
- }
-
- private static elm_interface_scrollable_objects_set_delegate elm_interface_scrollable_objects_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_last_page_get_delegate(System.IntPtr obj, System.IntPtr pd, out int pagenumber_h, out int pagenumber_v);
-
-
- public delegate void elm_interface_scrollable_last_page_get_api_delegate(System.IntPtr obj, out int pagenumber_h, out int pagenumber_v);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_last_page_get_api_delegate> elm_interface_scrollable_last_page_get_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_last_page_get_api_delegate>(Module, "elm_interface_scrollable_last_page_get");
-
- private static void last_page_get(System.IntPtr obj, System.IntPtr pd, out int pagenumber_h, out int pagenumber_v)
- {
- Eina.Log.Debug("function elm_interface_scrollable_last_page_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- pagenumber_h = default(int); pagenumber_v = default(int);
- try
- {
- ((IInterfaceScrollable)ws.Target).GetLastPage(out pagenumber_h, out pagenumber_v);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_last_page_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out pagenumber_h, out pagenumber_v);
- }
- }
-
- private static elm_interface_scrollable_last_page_get_delegate elm_interface_scrollable_last_page_get_static_delegate;
-
-
- private delegate void elm_interface_scrollable_current_page_get_delegate(System.IntPtr obj, System.IntPtr pd, out int pagenumber_h, out int pagenumber_v);
-
-
- public delegate void elm_interface_scrollable_current_page_get_api_delegate(System.IntPtr obj, out int pagenumber_h, out int pagenumber_v);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_current_page_get_api_delegate> elm_interface_scrollable_current_page_get_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_current_page_get_api_delegate>(Module, "elm_interface_scrollable_current_page_get");
-
- private static void current_page_get(System.IntPtr obj, System.IntPtr pd, out int pagenumber_h, out int pagenumber_v)
- {
- Eina.Log.Debug("function elm_interface_scrollable_current_page_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- pagenumber_h = default(int); pagenumber_v = default(int);
- try
- {
- ((IInterfaceScrollable)ws.Target).GetCurrentPage(out pagenumber_h, out pagenumber_v);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_current_page_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out pagenumber_h, out pagenumber_v);
- }
- }
-
- private static elm_interface_scrollable_current_page_get_delegate elm_interface_scrollable_current_page_get_static_delegate;
-
-
- private delegate void elm_interface_scrollable_content_viewport_geometry_get_delegate(System.IntPtr obj, System.IntPtr pd, out int x, out int y, out int w, out int h);
-
-
- public delegate void elm_interface_scrollable_content_viewport_geometry_get_api_delegate(System.IntPtr obj, out int x, out int y, out int w, out int h);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_viewport_geometry_get_api_delegate> elm_interface_scrollable_content_viewport_geometry_get_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_viewport_geometry_get_api_delegate>(Module, "elm_interface_scrollable_content_viewport_geometry_get");
-
- private static void content_viewport_geometry_get(System.IntPtr obj, System.IntPtr pd, out int x, out int y, out int w, out int h)
- {
- Eina.Log.Debug("function elm_interface_scrollable_content_viewport_geometry_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- x = default(int); y = default(int); w = default(int); h = default(int);
- try
- {
- ((IInterfaceScrollable)ws.Target).GetContentViewportGeometry(out x, out y, out w, out h);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_content_viewport_geometry_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out x, out y, out w, out h);
- }
- }
-
- private static elm_interface_scrollable_content_viewport_geometry_get_delegate elm_interface_scrollable_content_viewport_geometry_get_static_delegate;
-
-
- private delegate void elm_interface_scrollable_content_size_get_delegate(System.IntPtr obj, System.IntPtr pd, out int w, out int h);
-
-
- public delegate void elm_interface_scrollable_content_size_get_api_delegate(System.IntPtr obj, out int w, out int h);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_size_get_api_delegate> elm_interface_scrollable_content_size_get_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_size_get_api_delegate>(Module, "elm_interface_scrollable_content_size_get");
-
- private static void content_size_get(System.IntPtr obj, System.IntPtr pd, out int w, out int h)
- {
- Eina.Log.Debug("function elm_interface_scrollable_content_size_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- w = default(int); h = default(int);
- try
- {
- ((IInterfaceScrollable)ws.Target).GetContentSize(out w, out h);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_content_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out w, out h);
- }
- }
-
- private static elm_interface_scrollable_content_size_get_delegate elm_interface_scrollable_content_size_get_static_delegate;
-
- [return: MarshalAs(UnmanagedType.U1)]
- private delegate bool elm_interface_scrollable_item_loop_enabled_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- [return: MarshalAs(UnmanagedType.U1)]
- public delegate bool elm_interface_scrollable_item_loop_enabled_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_item_loop_enabled_get_api_delegate> elm_interface_scrollable_item_loop_enabled_get_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_item_loop_enabled_get_api_delegate>(Module, "elm_interface_scrollable_item_loop_enabled_get");
-
- private static bool item_loop_enabled_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function elm_interface_scrollable_item_loop_enabled_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- bool _ret_var = default(bool);
- try
- {
- _ret_var = ((IInterfaceScrollable)ws.Target).GetItemLoopEnabled();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return elm_interface_scrollable_item_loop_enabled_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static elm_interface_scrollable_item_loop_enabled_get_delegate elm_interface_scrollable_item_loop_enabled_get_static_delegate;
-
-
- private delegate void elm_interface_scrollable_item_loop_enabled_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool enable);
-
-
- public delegate void elm_interface_scrollable_item_loop_enabled_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool enable);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_item_loop_enabled_set_api_delegate> elm_interface_scrollable_item_loop_enabled_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_item_loop_enabled_set_api_delegate>(Module, "elm_interface_scrollable_item_loop_enabled_set");
-
- private static void item_loop_enabled_set(System.IntPtr obj, System.IntPtr pd, bool enable)
- {
- Eina.Log.Debug("function elm_interface_scrollable_item_loop_enabled_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetItemLoopEnabled(enable);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_item_loop_enabled_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), enable);
- }
- }
-
- private static elm_interface_scrollable_item_loop_enabled_set_delegate elm_interface_scrollable_item_loop_enabled_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_content_pos_set_delegate(System.IntPtr obj, System.IntPtr pd, int x, int y, [MarshalAs(UnmanagedType.U1)] bool sig);
-
-
- public delegate void elm_interface_scrollable_content_pos_set_api_delegate(System.IntPtr obj, int x, int y, [MarshalAs(UnmanagedType.U1)] bool sig);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_pos_set_api_delegate> elm_interface_scrollable_content_pos_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_pos_set_api_delegate>(Module, "elm_interface_scrollable_content_pos_set");
-
- private static void content_pos_set(System.IntPtr obj, System.IntPtr pd, int x, int y, bool sig)
- {
- Eina.Log.Debug("function elm_interface_scrollable_content_pos_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetContentPos(x, y, sig);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_content_pos_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y, sig);
- }
- }
-
- private static elm_interface_scrollable_content_pos_set_delegate elm_interface_scrollable_content_pos_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_content_pos_get_delegate(System.IntPtr obj, System.IntPtr pd, out int x, out int y);
-
-
- public delegate void elm_interface_scrollable_content_pos_get_api_delegate(System.IntPtr obj, out int x, out int y);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_pos_get_api_delegate> elm_interface_scrollable_content_pos_get_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_pos_get_api_delegate>(Module, "elm_interface_scrollable_content_pos_get");
-
- private static void content_pos_get(System.IntPtr obj, System.IntPtr pd, out int x, out int y)
- {
- Eina.Log.Debug("function elm_interface_scrollable_content_pos_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- x = default(int); y = default(int);
- try
- {
- ((IInterfaceScrollable)ws.Target).GetContentPos(out x, out y);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_content_pos_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out x, out y);
- }
- }
-
- private static elm_interface_scrollable_content_pos_get_delegate elm_interface_scrollable_content_pos_get_static_delegate;
-
-
- private delegate void elm_interface_scrollable_page_show_delegate(System.IntPtr obj, System.IntPtr pd, int pagenumber_h, int pagenumber_v);
-
-
- public delegate void elm_interface_scrollable_page_show_api_delegate(System.IntPtr obj, int pagenumber_h, int pagenumber_v);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_page_show_api_delegate> elm_interface_scrollable_page_show_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_page_show_api_delegate>(Module, "elm_interface_scrollable_page_show");
-
- private static void page_show(System.IntPtr obj, System.IntPtr pd, int pagenumber_h, int pagenumber_v)
- {
- Eina.Log.Debug("function elm_interface_scrollable_page_show was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).ShowPage(pagenumber_h, pagenumber_v);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_page_show_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), pagenumber_h, pagenumber_v);
- }
- }
-
- private static elm_interface_scrollable_page_show_delegate elm_interface_scrollable_page_show_static_delegate;
-
-
- private delegate void elm_interface_scrollable_region_bring_in_delegate(System.IntPtr obj, System.IntPtr pd, int x, int y, int w, int h);
-
-
- public delegate void elm_interface_scrollable_region_bring_in_api_delegate(System.IntPtr obj, int x, int y, int w, int h);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_region_bring_in_api_delegate> elm_interface_scrollable_region_bring_in_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_region_bring_in_api_delegate>(Module, "elm_interface_scrollable_region_bring_in");
-
- private static void region_bring_in(System.IntPtr obj, System.IntPtr pd, int x, int y, int w, int h)
- {
- Eina.Log.Debug("function elm_interface_scrollable_region_bring_in was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).RegionBringIn(x, y, w, h);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_region_bring_in_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y, w, h);
- }
- }
-
- private static elm_interface_scrollable_region_bring_in_delegate elm_interface_scrollable_region_bring_in_static_delegate;
-
-
- private delegate void elm_interface_scrollable_page_bring_in_delegate(System.IntPtr obj, System.IntPtr pd, int pagenumber_h, int pagenumber_v);
-
-
- public delegate void elm_interface_scrollable_page_bring_in_api_delegate(System.IntPtr obj, int pagenumber_h, int pagenumber_v);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_page_bring_in_api_delegate> elm_interface_scrollable_page_bring_in_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_page_bring_in_api_delegate>(Module, "elm_interface_scrollable_page_bring_in");
-
- private static void page_bring_in(System.IntPtr obj, System.IntPtr pd, int pagenumber_h, int pagenumber_v)
- {
- Eina.Log.Debug("function elm_interface_scrollable_page_bring_in was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).PageBringIn(pagenumber_h, pagenumber_v);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_page_bring_in_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), pagenumber_h, pagenumber_v);
- }
- }
-
- private static elm_interface_scrollable_page_bring_in_delegate elm_interface_scrollable_page_bring_in_static_delegate;
-
-
- private delegate void elm_interface_scrollable_content_region_show_delegate(System.IntPtr obj, System.IntPtr pd, int x, int y, int w, int h);
-
-
- public delegate void elm_interface_scrollable_content_region_show_api_delegate(System.IntPtr obj, int x, int y, int w, int h);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_region_show_api_delegate> elm_interface_scrollable_content_region_show_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_region_show_api_delegate>(Module, "elm_interface_scrollable_content_region_show");
-
- private static void content_region_show(System.IntPtr obj, System.IntPtr pd, int x, int y, int w, int h)
- {
- Eina.Log.Debug("function elm_interface_scrollable_content_region_show was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).ShowContentRegion(x, y, w, h);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_content_region_show_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y, w, h);
- }
- }
-
- private static elm_interface_scrollable_content_region_show_delegate elm_interface_scrollable_content_region_show_static_delegate;
-
-
- private delegate void elm_interface_scrollable_content_min_limit_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool w, [MarshalAs(UnmanagedType.U1)] bool h);
-
-
- public delegate void elm_interface_scrollable_content_min_limit_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool w, [MarshalAs(UnmanagedType.U1)] bool h);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_min_limit_api_delegate> elm_interface_scrollable_content_min_limit_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_content_min_limit_api_delegate>(Module, "elm_interface_scrollable_content_min_limit");
-
- private static void content_min_limit(System.IntPtr obj, System.IntPtr pd, bool w, bool h)
- {
- Eina.Log.Debug("function elm_interface_scrollable_content_min_limit was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).ContentMinLimit(w, h);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_content_min_limit_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), w, h);
- }
- }
-
- private static elm_interface_scrollable_content_min_limit_delegate elm_interface_scrollable_content_min_limit_static_delegate;
-
-
- private delegate void elm_interface_scrollable_wanted_region_set_delegate(System.IntPtr obj, System.IntPtr pd, int x, int y);
-
-
- public delegate void elm_interface_scrollable_wanted_region_set_api_delegate(System.IntPtr obj, int x, int y);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_wanted_region_set_api_delegate> elm_interface_scrollable_wanted_region_set_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_wanted_region_set_api_delegate>(Module, "elm_interface_scrollable_wanted_region_set");
-
- private static void wanted_region_set(System.IntPtr obj, System.IntPtr pd, int x, int y)
- {
- Eina.Log.Debug("function elm_interface_scrollable_wanted_region_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetWantedRegion(x, y);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_wanted_region_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y);
- }
- }
-
- private static elm_interface_scrollable_wanted_region_set_delegate elm_interface_scrollable_wanted_region_set_static_delegate;
-
-
- private delegate void elm_interface_scrollable_custom_pan_pos_adjust_delegate(System.IntPtr obj, System.IntPtr pd, System.IntPtr x, System.IntPtr y);
-
-
- public delegate void elm_interface_scrollable_custom_pan_pos_adjust_api_delegate(System.IntPtr obj, System.IntPtr x, System.IntPtr y);
-
- public static Efl.Eo.FunctionWrapper<elm_interface_scrollable_custom_pan_pos_adjust_api_delegate> elm_interface_scrollable_custom_pan_pos_adjust_ptr = new Efl.Eo.FunctionWrapper<elm_interface_scrollable_custom_pan_pos_adjust_api_delegate>(Module, "elm_interface_scrollable_custom_pan_pos_adjust");
-
- private static void custom_pan_pos_adjust(System.IntPtr obj, System.IntPtr pd, System.IntPtr x, System.IntPtr y)
- {
- Eina.Log.Debug("function elm_interface_scrollable_custom_pan_pos_adjust was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- var _in_x = Eina.PrimitiveConversion.PointerToManaged<int>(x);
- var _in_y = Eina.PrimitiveConversion.PointerToManaged<int>(y);
-
- try
- {
- ((IInterfaceScrollable)ws.Target).CustomPanPosAdjust(_in_x, _in_y);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- elm_interface_scrollable_custom_pan_pos_adjust_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y);
- }
- }
-
- private static elm_interface_scrollable_custom_pan_pos_adjust_delegate elm_interface_scrollable_custom_pan_pos_adjust_static_delegate;
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- private delegate Efl.Ui.Focus.IManager efl_ui_widget_focus_manager_create_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject root);
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- public delegate Efl.Ui.Focus.IManager efl_ui_widget_focus_manager_create_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject root);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_widget_focus_manager_create_api_delegate> efl_ui_widget_focus_manager_create_ptr = new Efl.Eo.FunctionWrapper<efl_ui_widget_focus_manager_create_api_delegate>(Module, "efl_ui_widget_focus_manager_create");
-
- private static Efl.Ui.Focus.IManager focus_manager_create(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IObject root)
- {
- Eina.Log.Debug("function efl_ui_widget_focus_manager_create was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Efl.Ui.Focus.IManager _ret_var = default(Efl.Ui.Focus.IManager);
- try
- {
- _ret_var = ((IInterfaceScrollable)ws.Target).FocusManagerCreate(root);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_widget_focus_manager_create_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), root);
- }
- }
-
- private static efl_ui_widget_focus_manager_create_delegate efl_ui_widget_focus_manager_create_static_delegate;
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- private delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_focus_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- public delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_focus_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_focus_get_api_delegate> efl_ui_focus_manager_focus_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_focus_get_api_delegate>(Module, "efl_ui_focus_manager_focus_get");
-
- private static Efl.Ui.Focus.IObject manager_focus_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_focus_manager_focus_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject);
- try
- {
- _ret_var = ((IInterfaceScrollable)ws.Target).GetManagerFocus();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_focus_manager_focus_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_focus_manager_focus_get_delegate efl_ui_focus_manager_focus_get_static_delegate;
-
-
- private delegate void efl_ui_focus_manager_focus_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject focus);
-
-
- public delegate void efl_ui_focus_manager_focus_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject focus);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_focus_set_api_delegate> efl_ui_focus_manager_focus_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_focus_set_api_delegate>(Module, "efl_ui_focus_manager_focus_set");
-
- private static void manager_focus_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IObject focus)
- {
- Eina.Log.Debug("function efl_ui_focus_manager_focus_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetManagerFocus(focus);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_focus_manager_focus_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), focus);
- }
- }
-
- private static efl_ui_focus_manager_focus_set_delegate efl_ui_focus_manager_focus_set_static_delegate;
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- private delegate Efl.Ui.Focus.IManager efl_ui_focus_manager_redirect_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- public delegate Efl.Ui.Focus.IManager efl_ui_focus_manager_redirect_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_redirect_get_api_delegate> efl_ui_focus_manager_redirect_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_redirect_get_api_delegate>(Module, "efl_ui_focus_manager_redirect_get");
-
- private static Efl.Ui.Focus.IManager redirect_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_focus_manager_redirect_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Efl.Ui.Focus.IManager _ret_var = default(Efl.Ui.Focus.IManager);
- try
- {
- _ret_var = ((IInterfaceScrollable)ws.Target).GetRedirect();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_focus_manager_redirect_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_focus_manager_redirect_get_delegate efl_ui_focus_manager_redirect_get_static_delegate;
-
-
- private delegate void efl_ui_focus_manager_redirect_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IManager redirect);
-
-
- public delegate void efl_ui_focus_manager_redirect_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IManager redirect);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_redirect_set_api_delegate> efl_ui_focus_manager_redirect_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_redirect_set_api_delegate>(Module, "efl_ui_focus_manager_redirect_set");
-
- private static void redirect_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IManager redirect)
- {
- Eina.Log.Debug("function efl_ui_focus_manager_redirect_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetRedirect(redirect);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_focus_manager_redirect_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), redirect);
- }
- }
-
- private static efl_ui_focus_manager_redirect_set_delegate efl_ui_focus_manager_redirect_set_static_delegate;
-
-
- private delegate System.IntPtr efl_ui_focus_manager_border_elements_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate System.IntPtr efl_ui_focus_manager_border_elements_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_border_elements_get_api_delegate> efl_ui_focus_manager_border_elements_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_border_elements_get_api_delegate>(Module, "efl_ui_focus_manager_border_elements_get");
-
- private static System.IntPtr border_elements_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_focus_manager_border_elements_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Eina.Iterator<Efl.Ui.Focus.IObject> _ret_var = default(Eina.Iterator<Efl.Ui.Focus.IObject>);
- try
- {
- _ret_var = ((IInterfaceScrollable)ws.Target).GetBorderElements();
- }
- 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_focus_manager_border_elements_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_focus_manager_border_elements_get_delegate efl_ui_focus_manager_border_elements_get_static_delegate;
-
-
- private delegate System.IntPtr efl_ui_focus_manager_viewport_elements_get_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct viewport);
-
-
- public delegate System.IntPtr efl_ui_focus_manager_viewport_elements_get_api_delegate(System.IntPtr obj, Eina.Rect.NativeStruct viewport);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_viewport_elements_get_api_delegate> efl_ui_focus_manager_viewport_elements_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_viewport_elements_get_api_delegate>(Module, "efl_ui_focus_manager_viewport_elements_get");
-
- private static System.IntPtr viewport_elements_get(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct viewport)
- {
- Eina.Log.Debug("function efl_ui_focus_manager_viewport_elements_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Eina.Rect _in_viewport = viewport;
- Eina.Iterator<Efl.Ui.Focus.IObject> _ret_var = default(Eina.Iterator<Efl.Ui.Focus.IObject>);
- try
- {
- _ret_var = ((IInterfaceScrollable)ws.Target).GetViewportElements(_in_viewport);
- }
- 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_focus_manager_viewport_elements_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), viewport);
- }
- }
-
- private static efl_ui_focus_manager_viewport_elements_get_delegate efl_ui_focus_manager_viewport_elements_get_static_delegate;
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- private delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_root_get_delegate(System.IntPtr obj, System.IntPtr pd);
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- public delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_root_get_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_root_get_api_delegate> efl_ui_focus_manager_root_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_root_get_api_delegate>(Module, "efl_ui_focus_manager_root_get");
-
- private static Efl.Ui.Focus.IObject root_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_focus_manager_root_get was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject);
- try
- {
- _ret_var = ((IInterfaceScrollable)ws.Target).GetRoot();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_focus_manager_root_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_focus_manager_root_get_delegate efl_ui_focus_manager_root_get_static_delegate;
-
- [return: MarshalAs(UnmanagedType.U1)]
- private delegate bool efl_ui_focus_manager_root_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject root);
-
- [return: MarshalAs(UnmanagedType.U1)]
- public delegate bool efl_ui_focus_manager_root_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject root);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_root_set_api_delegate> efl_ui_focus_manager_root_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_root_set_api_delegate>(Module, "efl_ui_focus_manager_root_set");
-
- private static bool root_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IObject root)
- {
- Eina.Log.Debug("function efl_ui_focus_manager_root_set was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- bool _ret_var = default(bool);
- try
- {
- _ret_var = ((IInterfaceScrollable)ws.Target).SetRoot(root);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_focus_manager_root_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), root);
- }
- }
-
- private static efl_ui_focus_manager_root_set_delegate efl_ui_focus_manager_root_set_static_delegate;
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- private delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_move_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.Direction direction);
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- public delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_move_api_delegate(System.IntPtr obj, Efl.Ui.Focus.Direction direction);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_move_api_delegate> efl_ui_focus_manager_move_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_move_api_delegate>(Module, "efl_ui_focus_manager_move");
-
- private static Efl.Ui.Focus.IObject move(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.Direction direction)
- {
- Eina.Log.Debug("function efl_ui_focus_manager_move was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject);
- try
- {
- _ret_var = ((IInterfaceScrollable)ws.Target).Move(direction);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_focus_manager_move_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), direction);
- }
- }
-
- private static efl_ui_focus_manager_move_delegate efl_ui_focus_manager_move_static_delegate;
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- private delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_request_move_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.Direction direction, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject child, [MarshalAs(UnmanagedType.U1)] bool logical);
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- public delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_request_move_api_delegate(System.IntPtr obj, Efl.Ui.Focus.Direction direction, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject child, [MarshalAs(UnmanagedType.U1)] bool logical);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_request_move_api_delegate> efl_ui_focus_manager_request_move_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_request_move_api_delegate>(Module, "efl_ui_focus_manager_request_move");
-
- private static Efl.Ui.Focus.IObject request_move(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.Direction direction, Efl.Ui.Focus.IObject child, bool logical)
- {
- Eina.Log.Debug("function efl_ui_focus_manager_request_move was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject);
- try
- {
- _ret_var = ((IInterfaceScrollable)ws.Target).MoveRequest(direction, child, logical);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_focus_manager_request_move_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), direction, child, logical);
- }
- }
-
- private static efl_ui_focus_manager_request_move_delegate efl_ui_focus_manager_request_move_static_delegate;
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- private delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_request_subchild_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject root);
-
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
- public delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_request_subchild_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject root);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_request_subchild_api_delegate> efl_ui_focus_manager_request_subchild_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_request_subchild_api_delegate>(Module, "efl_ui_focus_manager_request_subchild");
-
- private static Efl.Ui.Focus.IObject request_subchild(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IObject root)
- {
- Eina.Log.Debug("function efl_ui_focus_manager_request_subchild was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject);
- try
- {
- _ret_var = ((IInterfaceScrollable)ws.Target).RequestSubchild(root);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_focus_manager_request_subchild_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), root);
- }
- }
-
- private static efl_ui_focus_manager_request_subchild_delegate efl_ui_focus_manager_request_subchild_static_delegate;
-
-
- private delegate System.IntPtr efl_ui_focus_manager_fetch_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject child);
-
-
- public delegate System.IntPtr efl_ui_focus_manager_fetch_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject child);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_fetch_api_delegate> efl_ui_focus_manager_fetch_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_fetch_api_delegate>(Module, "efl_ui_focus_manager_fetch");
-
- private static System.IntPtr fetch(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IObject child)
- {
- Eina.Log.Debug("function efl_ui_focus_manager_fetch was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Efl.Ui.Focus.Relations _ret_var = default(Efl.Ui.Focus.Relations);
- try
- {
- _ret_var = ((IInterfaceScrollable)ws.Target).Fetch(child);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return Eina.PrimitiveConversion.ManagedToPointerAlloc(_ret_var);
-
- }
- else
- {
- return efl_ui_focus_manager_fetch_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), child);
- }
- }
-
- private static efl_ui_focus_manager_fetch_delegate efl_ui_focus_manager_fetch_static_delegate;
-
-
- private delegate Efl.Ui.Focus.ManagerLogicalEndDetail.NativeStruct efl_ui_focus_manager_logical_end_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate Efl.Ui.Focus.ManagerLogicalEndDetail.NativeStruct efl_ui_focus_manager_logical_end_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_logical_end_api_delegate> efl_ui_focus_manager_logical_end_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_logical_end_api_delegate>(Module, "efl_ui_focus_manager_logical_end");
-
- private static Efl.Ui.Focus.ManagerLogicalEndDetail.NativeStruct logical_end(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_focus_manager_logical_end was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
- Efl.Ui.Focus.ManagerLogicalEndDetail _ret_var = default(Efl.Ui.Focus.ManagerLogicalEndDetail);
- try
- {
- _ret_var = ((IInterfaceScrollable)ws.Target).LogicalEnd();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
- return _ret_var;
-
- }
- else
- {
- return efl_ui_focus_manager_logical_end_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_focus_manager_logical_end_delegate efl_ui_focus_manager_logical_end_static_delegate;
-
-
- private delegate void efl_ui_focus_manager_reset_history_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate void efl_ui_focus_manager_reset_history_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_reset_history_api_delegate> efl_ui_focus_manager_reset_history_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_reset_history_api_delegate>(Module, "efl_ui_focus_manager_reset_history");
-
- private static void reset_history(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_focus_manager_reset_history was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).ResetHistory();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_focus_manager_reset_history_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_focus_manager_reset_history_delegate efl_ui_focus_manager_reset_history_static_delegate;
-
-
- private delegate void efl_ui_focus_manager_pop_history_stack_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate void efl_ui_focus_manager_pop_history_stack_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_pop_history_stack_api_delegate> efl_ui_focus_manager_pop_history_stack_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_pop_history_stack_api_delegate>(Module, "efl_ui_focus_manager_pop_history_stack");
-
- private static void pop_history_stack(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_focus_manager_pop_history_stack was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).PopHistoryStack();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_focus_manager_pop_history_stack_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_focus_manager_pop_history_stack_delegate efl_ui_focus_manager_pop_history_stack_static_delegate;
-
-
- private delegate void efl_ui_focus_manager_setup_on_first_touch_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.Direction direction, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject entry);
-
-
- public delegate void efl_ui_focus_manager_setup_on_first_touch_api_delegate(System.IntPtr obj, Efl.Ui.Focus.Direction direction, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject entry);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_setup_on_first_touch_api_delegate> efl_ui_focus_manager_setup_on_first_touch_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_setup_on_first_touch_api_delegate>(Module, "efl_ui_focus_manager_setup_on_first_touch");
-
- private static void setup_on_first_touch(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.Direction direction, Efl.Ui.Focus.IObject entry)
- {
- Eina.Log.Debug("function efl_ui_focus_manager_setup_on_first_touch was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).SetupOnFirstTouch(direction, entry);
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_focus_manager_setup_on_first_touch_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), direction, entry);
- }
- }
-
- private static efl_ui_focus_manager_setup_on_first_touch_delegate efl_ui_focus_manager_setup_on_first_touch_static_delegate;
-
-
- private delegate void efl_ui_focus_manager_dirty_logic_freeze_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate void efl_ui_focus_manager_dirty_logic_freeze_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_dirty_logic_freeze_api_delegate> efl_ui_focus_manager_dirty_logic_freeze_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_dirty_logic_freeze_api_delegate>(Module, "efl_ui_focus_manager_dirty_logic_freeze");
-
- private static void dirty_logic_freeze(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_focus_manager_dirty_logic_freeze was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).FreezeDirtyLogic();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_focus_manager_dirty_logic_freeze_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_focus_manager_dirty_logic_freeze_delegate efl_ui_focus_manager_dirty_logic_freeze_static_delegate;
-
-
- private delegate void efl_ui_focus_manager_dirty_logic_unfreeze_delegate(System.IntPtr obj, System.IntPtr pd);
-
-
- public delegate void efl_ui_focus_manager_dirty_logic_unfreeze_api_delegate(System.IntPtr obj);
-
- public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_dirty_logic_unfreeze_api_delegate> efl_ui_focus_manager_dirty_logic_unfreeze_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_dirty_logic_unfreeze_api_delegate>(Module, "efl_ui_focus_manager_dirty_logic_unfreeze");
-
- private static void dirty_logic_unfreeze(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_ui_focus_manager_dirty_logic_unfreeze was called");
- var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
- if (ws != null)
- {
-
- try
- {
- ((IInterfaceScrollable)ws.Target).DirtyLogicUnfreeze();
- }
- catch (Exception e)
- {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
-
-
- }
- else
- {
- efl_ui_focus_manager_dirty_logic_unfreeze_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
-
- private static efl_ui_focus_manager_dirty_logic_unfreeze_delegate efl_ui_focus_manager_dirty_logic_unfreeze_static_delegate;
-
- #pragma warning restore CA1707, CS1591, SA1300, SA1600
-
-}
-}
-}
-
-namespace Elm {
-
-namespace Scroller {
-
-/// <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>
-Auto = 0,
-/// <summary>Always show scrollbars</summary>
-On = 1,
-/// <summary>Never show scrollbars</summary>
-Off = 2,
-/// <summary>Sentinel value to indicate last enum field during iteration</summary>
-Last = 3,
-}
-
-}
-
-}
-
-namespace Elm {
-
-namespace Scroller {
-
-/// <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>
-None = 0,
-/// <summary>Scroll single direction if the direction is certain</summary>
-Soft = 1,
-/// <summary>Scroll only single direction</summary>
-Hard = 2,
-/// <summary>Sentinel value to indicate last enum field during iteration</summary>
-Last = 3,
-}
-
-}
-
-}
-
/// <summary>Creates a new wrapper for the given Eo id.
///
- /// <para>If the Eo was created from a non-generated class (i.e. C#-pure class), it returns
- /// the C# instance handle stored in the Eo's private data.</para>
- ///
- /// <para>For generated-class Eo instance, we use reflection to get the correct C# type to re-wrap
- /// it.</para>
+ /// <para>If the Eo have a WrapperSupervisor, it returns the C# instance handle stored in its
+ /// WrapperSupervisor. otherwise, we use reflection to get the correct C# type to re-wrap it.</para>
/// </summary>
///
/// <param name="handle">The Eo id to be wrapped.</param>
}
};
+/// <summary>
+/// A parameter passed in event callbacks holding extra event parameters.
+/// 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.
+ /// (Since EFL 1.22)</summary>
+ public Efl.Object Object;
+
+ /// <summary>The event description.
+ /// (Since EFL 1.22)</summary>
+ public Efl.EventDescription Desc;
+
+ /// <summary>Extra event information passed by the event caller.
+ /// Must be cast to the event type declared in the EO file. Keep in mind that:
+ /// 1) Objects are passed as a normal Eo*. Event subscribers can call functions on these objects.
+ /// 2) Structs, built-in types and containers are passed as const pointers, with one level of indirection.
+ /// (Since EFL 1.22)</summary>
+ public System.IntPtr Info;
+
+ /// <summary>Constructor for Event.</summary>
+ public Event(
+ Efl.Object obj = default(Efl.Object),
+ Efl.EventDescription desc = default(Efl.EventDescription),
+ System.IntPtr info = default(System.IntPtr))
+ {
+ this.Object = obj;
+ this.Desc = desc;
+ this.Info = info;
+ }
+
+ /// <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 Event(IntPtr ptr)
+ {
+ var tmp = (Event.NativeStruct) Marshal.PtrToStructure(ptr, typeof(Event.NativeStruct));
+ return tmp;
+ }
+
+ /// <summary>Internal wrapper for struct Event.</summary>
+ [StructLayout(LayoutKind.Sequential)]
+ public struct NativeStruct
+ {
+ /// <summary>Internal wrapper for field Object</summary>
+ public System.IntPtr Object;
+
+ /// <summary>Internal wrapper for field Desc</summary>
+ public System.IntPtr Desc;
+
+ /// <summary>Internal wrapper for field Info</summary>
+ public System.IntPtr Info;
+
+ /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
+ /// <param name="externalStruct">Managed struct to be converted.</param>
+ /// <returns>Native representation of the managed struct.</returns>
+ public static implicit operator Event.NativeStruct(Event externalStruct)
+ {
+ var internalStruct = new Event.NativeStruct();
+ internalStruct.Object = externalStruct.Object?.NativeHandle ?? System.IntPtr.Zero;
+ internalStruct.Desc = Eina.PrimitiveConversion.ManagedToPointerAlloc(externalStruct.Desc);
+ internalStruct.Info = externalStruct.Info;
+ return internalStruct;
+ }
+
+ /// <summary>Implicit conversion to the managed representation.</summary>
+ /// <param name="internalStruct">Native struct to be converted.</param>
+ /// <returns>Managed representation of the native struct.</returns>
+ public static implicit operator Event(Event.NativeStruct internalStruct)
+ {
+ var externalStruct = new Event();
+ externalStruct.Object = (Efl.Object) Efl.Eo.Globals.CreateWrapperFor(internalStruct.Object);
+ externalStruct.Desc = Eina.PrimitiveConversion.PointerToManaged<Efl.EventDescription>(internalStruct.Desc);
+ externalStruct.Info = internalStruct.Info;
+ return externalStruct;
+ }
+ }
+}
+
public delegate void EventCb(System.IntPtr data, ref Event.NativeStruct evt);
public delegate void FreeWrapperSupervisorCb(System.IntPtr obj);